/* OriginIT brand portal */
@font-face { font-family: "Poppins"; src: url(/assets/fonts/poppins-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/assets/fonts/poppins-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/assets/fonts/poppins-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/assets/fonts/poppins-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --orange: #FF7A00; --orange-lt: #FFA23A; --orange-dk: #E65C00; --orange-50: #FFF2E5;
  --night: #0B0B0B; --ink: #111111; --gray: #6B6B6B; --gray-2: #9A9AA0; --line: #E6E6E8; --tint: #F7F7F7; --white: #FFFFFF;
  --grad: linear-gradient(135deg, var(--orange-lt) 0%, var(--orange) 50%, var(--orange-dk) 100%);
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 8px 24px rgb(0 0 0 / .06);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / .06), 0 20px 48px rgb(0 0 0 / .12);
  --gutter: clamp(16px, 4vw, 40px);
  --grid: repeating-conic-gradient(#ECECEE 0% 25%, #FFFFFF 0% 50%) 0 0 / 18px 18px;
  --topbar: 64px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 15px/1.6 "Poppins", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--gray); }
.small { font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px;
  font: 600 14px/1 "Poppins", system-ui, sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgb(255 122 0 / .28); }
.btn-primary:hover { background: var(--orange-dk); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .28); }
.btn-ghost:hover { background: rgb(255 255 255 / .16); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-note { font-weight: 500; font-size: 11px; opacity: .75; letter-spacing: .02em; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; flex: none; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg, .file-row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--tint); border: 1px solid var(--line); font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #444; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: var(--topbar); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; }
.brand-tag { font-size: 12px; font-weight: 600; color: var(--gray); padding-left: 10px; border-left: 1px solid var(--line); }
.nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #333; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a.active { background: var(--tint); color: var(--ink); }
.nav a.active { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--night) var(--hero) center bottom / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 11 11 / .35) 0%, transparent 40%); pointer-events: none; }
.hero-inner { position: relative; padding: clamp(56px, 9vw, 110px) var(--gutter) clamp(170px, 24vw, 300px); display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero-logo { width: min(760px, 92%); height: auto; }
.hero-lead { max-width: 620px; color: #D8D8DC; font-size: clamp(15px, 1.8vw, 17px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }
.hero-meta { font-size: 12px; color: #9C9CA3; letter-spacing: .04em; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.eyebrow.on-dark { color: var(--orange-lt); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--night); color: #fff; }
.section-dark .lead { color: #BDBDC3; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head > div:first-child { max-width: 720px; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lead { color: var(--gray); font-size: 16px; margin-top: 12px; }
.subsection + .subsection { margin-top: 44px; }
.sub-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sub-head p { color: var(--gray); font-size: 14px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* ---------- grids & asset cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.asset { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.asset:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: #D6D6DA; }
.section-dark .asset { background: #151517; border-color: #26262A; }
.asset-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.asset-preview { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.asset-preview img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; transition: transform .3s; }
.asset:hover .asset-preview img { transform: scale(1.03); }
.grid-3 .asset-preview { aspect-ratio: 16 / 9; }
.grid-3 .asset-preview img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.bg-light { background: var(--tint); } .bg-dark { background: var(--night); } .bg-grid { background: var(--grid); }
.asset-meta { display: grid; gap: 2px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.section-dark .asset-meta { border-color: #26262A; }
.asset-title { font-weight: 600; font-size: 14.5px; }
.asset-sub { font-size: 12.5px; color: var(--gray); line-height: 1.45; }
.section-dark .asset-sub { color: #9C9CA3; }
.asset-tags { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.section-dark .tag { background: #222226; border-color: #333338; color: #CFCFD4; }
.asset-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.asset:hover .asset-actions, .asset:focus-within .asset-actions { opacity: 1; transform: none; }
.asset-actions .icon-btn { width: 34px; height: 34px; background: rgb(255 255 255 / .94); border-color: transparent; box-shadow: var(--shadow); }
@media (hover: none) { .asset-actions { opacity: 1; transform: none; } }

/* ---------- concept ---------- */
.concept { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.concept-art { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 56px); display: grid; place-items: center; }
.concept-art img { width: 100%; max-width: 440px; }
.meaning { list-style: none; counter-reset: m; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.meaning li { counter-increment: m; display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; }
.meaning li::before { content: counter(m); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.meaning b { font-weight: 600; }
.meaning span { color: var(--gray); font-size: 14px; }

/* ---------- colour ---------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.swatch { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.chip { position: relative; height: 120px; padding: 16px; display: flex; align-items: flex-end; }
.chip-name { font-weight: 600; font-size: 16px; }
.chip-line { position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); }
.swatch-primary .chip { height: 150px; }
.swatch-body { padding: 14px 16px 16px; display: grid; gap: 12px; }
.swatch-use { font-size: 12.5px; color: var(--gray); }
.codes { display: grid; gap: 6px; }
.code { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: 500 12px/1.2 "Poppins", system-ui; cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s; }
.code span { color: var(--gray-2); font-size: 10.5px; letter-spacing: .08em; }
.code b { font-weight: 600; font-variant-numeric: tabular-nums; }
.code:hover { border-color: var(--orange); background: var(--orange-50); }
.contrast { display: flex; gap: 6px; flex-wrap: wrap; }
.aa { font-size: 10.5px; font-weight: 600; padding: 3px 7px; border-radius: 6px; }
.aa.pass { background: #E7F7EC; color: #17753A; } .aa.large { background: #FFF4DE; color: #8A5A00; } .aa.fail { background: #F4F4F5; color: #8B8B90; }
.colour-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 20px; }
.colour-extras h3 { margin-bottom: 14px; }
.colour-extras .muted { margin-top: 10px; font-size: 13px; }
.gradient-bar { height: 84px; border-radius: 12px; background: var(--grad); display: flex; justify-content: space-between; align-items: flex-end; padding: 10px 12px; color: #fff; font-size: 11px; font-weight: 600; }
.ratio { display: flex; height: 84px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.ratio span { display: flex; align-items: flex-end; padding: 10px; }
.ratio span:nth-child(1) { background: var(--tint); } .ratio span:nth-child(2) { background: var(--night); color: #fff; } .ratio span:nth-child(3) { background: var(--orange); color: #fff; }
.code-panel { margin-top: 20px; padding: 0; overflow: hidden; }
.code-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.code-actions { display: flex; gap: 8px; flex-wrap: wrap; }
pre { margin: 0; padding: 18px 20px; overflow-x: auto; background: #0F0F11; color: #E8E8EC; font: 12.5px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* ---------- type ---------- */
.type-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px; }
.specimen { display: grid; align-content: start; gap: 18px; }
.aa-big { font-size: clamp(96px, 14vw, 150px); font-weight: 700; line-height: .9; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0; }
.glyphs { color: #333; font-size: 14px; letter-spacing: .04em; line-height: 1.9; }
.weights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.weights span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.scale { display: grid; padding: 8px 24px; }
.scale-row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.scale-row:last-child { border: 0; }
.spec { font-size: 12px; color: var(--gray); }
.s-display { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.s-h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.s-h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; }
.s-h3 { font-size: 20px; font-weight: 600; }
.s-body { font-size: 15px; }
.s-tag { font-size: 17px; font-weight: 500; letter-spacing: .18em; }
.s-eye { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--orange); }
.type-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; margin-top: 20px; }
.type-files .code-panel { margin-top: 0; }
.type-files h3 { margin-bottom: 12px; }
.file-list { display: grid; gap: 6px; }
.file-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-size: 13.5px; transition: border-color .15s; }
.file-row:hover { border-color: var(--ink); }
.file-row .muted { font-size: 12px; }

/* ---------- guidelines ---------- */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.rule h3 { margin-bottom: 16px; }
.rule .muted { margin-top: 14px; font-size: 13.5px; }
.clearspace { background: var(--tint); border-radius: 12px; padding: 22px; display: grid; place-items: center; }
.cs-box { position: relative; padding: 18px; outline: 1.5px dashed var(--orange); outline-offset: 0; background: repeating-linear-gradient(45deg, rgb(255 122 0 / .07) 0 6px, transparent 6px 12px); }
.cs-box img { display: block; width: 220px; max-width: 100%; background: var(--tint); }
.minsize { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; background: var(--tint); border-radius: 12px; padding: 22px; }
.minsize div { display: grid; gap: 8px; justify-items: start; font-size: 12px; color: var(--gray); }
.minsize b { color: var(--ink); font-weight: 600; }
.bgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bg-tile { aspect-ratio: 16 / 9; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); overflow: hidden; }
.bg-tile img { width: 70%; }
.donts-title { margin: 44px 0 16px; }
.donts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.donts figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dont-art { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--tint); overflow: hidden; }
.dont-art img { width: 62%; }
.dont-art::after { content: ""; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: #E5484D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 14px no-repeat; }
.donts figcaption { padding: 12px 16px; font-size: 13.5px; font-weight: 500; }
.values { margin-top: 44px; background: var(--night); color: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.values h3 { margin-bottom: 20px; }
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.values-row div { display: grid; gap: 4px; padding: 6px 20px; border-left: 1px solid rgb(255 122 0 / .45); }
.values-row div:first-child { border-left: 0; padding-left: 0; }
.values-row b { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-lt); }
.values-row span { color: #BDBDC3; font-size: 14px; }
.messages { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #26262A; color: #E8E8EC; font-weight: 500; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: #9C9CA3; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.footer-tag { color: #fff; font-weight: 500; letter-spacing: .1em; }
.footer i { color: var(--orange); font-style: normal; padding: 0 4px; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgb(11 11 11 / .55); backdrop-filter: blur(3px); animation: fade .2s; }
.drawer-panel { position: absolute; inset: 0 0 0 auto; width: min(1100px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 400px; background: #fff; box-shadow: var(--shadow-lg); animation: slide .25s cubic-bezier(.2, .8, .2, 1); }
.d-stage { position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 0; border-right: 1px solid var(--line); }
.d-bgs { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.d-bgs button { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 12.5px "Poppins", system-ui; cursor: pointer; white-space: nowrap; }
.d-bgs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.d-preview { display: grid; place-items: center; padding: clamp(20px, 5vw, 56px); min-height: 0; transition: background .25s; overflow: hidden; }
.d-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.d-preview.light { background: #fff; } .d-preview.dark { background: var(--night); } .d-preview.grid { background: var(--grid); }
.d-preview.horizon { background: var(--night) var(--hero) center bottom / cover; }
.d-side { display: flex; flex-direction: column; gap: 18px; padding: 22px; overflow-y: auto; }
.d-head { display: flex; justify-content: space-between; gap: 12px; }
.d-head h2 { font-size: 20px; letter-spacing: -.01em; }
.d-head p { font-size: 13px; margin-top: 4px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--tint); border-radius: 12px; }
.tabs button { flex: 1; padding: 9px; border: 0; border-radius: 9px; background: none; font: 500 13px "Poppins", system-ui; cursor: pointer; color: var(--gray); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.pane { display: grid; gap: 16px; }
.pane[hidden] { display: none; }
.formats { display: grid; gap: 6px; }
.format { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.format:hover { border-color: #C9C9CE; }
.format[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-50); }
.format .f-label { font-size: 13.5px; font-weight: 500; }
.format .f-meta { font-size: 11.5px; color: var(--gray); }
.d-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.links { display: grid; gap: 6px; padding: 16px; background: var(--tint); border-radius: 14px; }
.links-title { font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.links-title:first-child { margin-top: 0; }
.links-title .muted { font-weight: 400; }
.copy-field { display: flex; gap: 6px; }
.copy-field input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 12px ui-monospace, Menlo, Consolas, monospace; color: #333; }
.field-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.field-row label, .field { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; }
.field-row input, .field select { height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: 500 14px "Poppins", system-ui; background: #fff; width: 100%; }
.field input[type="range"] { accent-color: var(--orange); }
.lock { height: 42px; width: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.lock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lock[aria-pressed="true"] { background: var(--orange-50); border-color: var(--orange); color: var(--orange-dk); }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }
.presets button { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 12px "Poppins", system-ui; cursor: pointer; }
.presets button:hover { border-color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-lg); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes fade { from { opacity: 0 } }
@keyframes slide { from { transform: translateX(40px); opacity: 0 } }
body.locked { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .type-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .values-row div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  :root { --topbar: 104px; }
  .topbar-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 0; gap: 8px 16px; }
  .topbar-inner .btn { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; }
  .concept { grid-template-columns: 1fr; }
  .drawer-panel { grid-template-columns: 1fr; grid-template-rows: minmax(220px, 38vh) 1fr; }
  .d-stage { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .scale-row { grid-template-columns: 1fr; gap: 4px; }
  .section-head .btn, .head-actions { width: 100%; }
  .head-actions .btn { flex: 1; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr; }
  .values-row div { border-left: 0; padding-left: 0; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
