/* ==========================================================================
   MEGA Vape — "Noir" design system
   Dark · cinematic · mobile-first · zero framework
   ========================================================================== */

:root, .is-dark {
  --ink-rgb: 255 255 255;
  --bg-rgb: 6 6 8;
  --surface-rgb: 17 17 22;
  --fg: #fff;
  --on-fg: #050505;
  --bg: #060608;
  --bg-2: #0b0b0f;
  --surface: #111116;
  --surface-2: #17171d;
  --surface-3: #1f1f26;
  --line: rgb(var(--ink-rgb) / .08);
  --line-2: rgb(var(--ink-rgb) / .16);
  --text: #f5f5f7;
  --text-2: #b6b6c0;
  --muted: #7d7d89;
  --blue: #2b9bff;
  --blue-2: #6fc0ff;
  --mint: #3cc98a;
  --accent: var(--blue);
  --ok: #3fd18a;
  --bad: #ff6b6b;

  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* layout tokens live on :root only so .is-dark islands inherit them */
:root { --container: 1280px; --gutter: clamp(16px, 4.2vw, 64px); --nav-h: 68px; }
@media (min-width: 768px) { :root { --nav-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--bg); color-scheme: dark; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--fg); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--fg); color: var(--on-fg); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - var(--gutter) * 2); }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- Type ---------- */
.logo { font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: .04em; text-decoration: none; color: var(--text); }
.logo--lg { font-size: 56px; }
.logo--light { color: var(--fg); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.center .eyebrow, .eyebrow.center, .section__head.center .eyebrow { justify-content: center; }
.eyebrow--light { color: rgb(var(--ink-rgb) / .75); }
.section__title, .h-display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .95; font-size: clamp(40px, 6vw, 80px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); line-height: 1.6; }
.lead--light { color: var(--text-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--text); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(4px); }
.grad { background: linear-gradient(90deg, var(--fg) 0%, var(--blue-2) 60%, var(--mint) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px rgb(var(--ink-rgb) / .14); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:active { transform: scale(.98); }
.btn--dark, .btn--light { background: var(--fg); color: var(--on-fg); }
.btn--dark:hover, .btn--light:hover { box-shadow: 0 10px 40px -8px rgb(var(--ink-rgb) / .45); transform: translateY(-2px); }
.btn--accent { background: var(--blue); color: var(--fg); }
.btn--accent:hover { box-shadow: 0 10px 40px -8px rgba(43, 155, 255, .7); transform: translateY(-2px); }
.btn--ghost, .btn--outline-light { border-color: var(--line-2); color: var(--text); background: rgb(var(--ink-rgb) / .02); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover, .btn--outline-light:hover { border-color: var(--fg); background: rgb(var(--ink-rgb) / .06); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; margin-top: 28px; }
@media (max-width: 480px) { .btn-row > .btn { flex: 1 1 100%; } }

/* ---------- Age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.age-gate[hidden] { display: none; }
.age-gate__box { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(36px, 6vw, 56px) clamp(24px, 5vw, 48px); width: 100%; max-width: 480px; text-align: center; box-shadow: var(--shadow); animation: pop .5s var(--ease); }
.age-gate__box::before { content: ""; position: absolute; left: 50%; top: -120px; width: 320px; height: 240px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(43, 155, 255, .45), transparent); pointer-events: none; }
.age-gate__box > * { position: relative; }
.age-gate__box h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 4vw, 36px); margin: 18px 0 10px; }
.age-gate__box p { color: var(--text-2); font-size: 15px; }
.age-gate__actions { display: grid; gap: 10px; margin: 26px 0 10px; }
.age-gate__denied { color: var(--bad) !important; font-weight: 600; }
.age-gate__fine { font-size: 12px !important; color: var(--muted) !important; margin: 16px 0 0; }
.gate-open { overflow: hidden; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ---------- Nicotine warning (FDA: black on white) ---------- */
.warning-bar { position: relative; z-index: 101; background: var(--fg); color: var(--on-fg); border-bottom: 2px solid #000; text-align: center; font-weight: 800; font-size: clamp(13px, 1.9vw, 18px); line-height: 1.3; padding: 12px 16px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgb(var(--bg-rgb) / .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgb(var(--bg-rgb) / .88); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: none; margin-right: -10px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__links { position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; background: var(--bg); padding: 8px var(--gutter) 32px; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__links > a, .nav__drop > button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; text-decoration: none; font-family: var(--display); text-transform: uppercase; font-size: 26px; font-weight: 400; letter-spacing: .02em; color: var(--text); }
.nav__drop > button::after { content: ""; width: 9px; height: 9px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.nav__drop.is-open > button::after { transform: rotate(-135deg); }
.nav__menu { display: none; padding: 10px 0 14px; }
.nav__drop.is-open .nav__menu { display: grid; gap: 4px; }
.nav__menu a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; }
.nav__menu a:hover { background: var(--surface-2); }
.nav__menu b { font-weight: 600; }
.nav__menu small { color: var(--muted); font-size: 13px; }
.nav__product { flex-direction: row !important; align-items: center; gap: 14px; }
.nav__product .dimg { width: 56px; height: 64px; display: grid; place-items: center; background: radial-gradient(circle at 50% 70%, rgb(var(--ink-rgb) / .1), transparent 70%); border-radius: 12px; }
.nav__product .dimg img { max-height: 56px; width: auto; }
.nav__product span { display: flex; flex-direction: column; }
.nav__all { font-weight: 600; font-size: 14px; color: var(--blue-2); }
.nav__cta { margin-top: 22px; min-height: 54px; }
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__links { position: static; flex-direction: row; align-items: center; gap: 34px; padding: 0; background: none; overflow: visible; opacity: 1; visibility: visible; transform: none; }
  .nav__links > a, .nav__drop > button { width: auto; padding: 8px 0; border: 0; font-family: var(--font); text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--text-2); position: relative; }
  .nav__links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav__links > a:hover, .nav__drop > button:hover, .nav__links > a[aria-current="page"] { color: var(--fg); }
  .nav__links > a:hover::after, .nav__links > a[aria-current="page"]::after { transform: none; }
  .nav__drop { position: relative; }
  .nav__drop > button { gap: 8px; }
  .nav__drop > button::after { width: 6px; height: 6px; border-width: 1.5px; margin-top: -3px; }
  .nav__drop::before { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 24px; }
  .nav__menu { display: grid !important; gap: 2px; position: absolute; top: calc(100% + 20px); left: 50%; min-width: 290px; padding: 10px; background: rgb(var(--surface-rgb) / .96); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: var(--radius-md); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .nav__menu--products { min-width: 380px; }
  .nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav__links > a.nav__cta { margin: 0 0 0 4px; min-height: 42px; padding: 0 22px; font-size: 12px; background: var(--fg); color: var(--on-fg); }
  .nav__links > a.nav__cta::after { content: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--dark { background: var(--bg); }
.section__head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row .section__title { margin: 0; }

/* ---------- Shared scene effects ---------- */
.beam { position: absolute; left: 50%; top: -10%; width: min(900px, 120%); height: 120%; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, color-mix(in srgb, var(--accent) 45%, transparent) 180deg, transparent 200deg); filter: blur(30px); opacity: .9; pointer-events: none; mask: linear-gradient(#000 40%, transparent); -webkit-mask: linear-gradient(#000 40%, transparent); }
.floor { position: absolute; left: 50%; bottom: 8%; width: 80%; height: 90px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent); filter: blur(8px); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; background: var(--accent); filter: blur(90px); opacity: .35; pointer-events: none; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgb(var(--ink-rgb) / .06) 1px, transparent 1px); background-size: 3px 3px; opacity: .25; mix-blend-mode: overlay; }
.reflect img { -webkit-box-reflect: below 2px linear-gradient(transparent 72%, rgb(var(--ink-rgb) / .22)); }
.dimg img { filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .55)); }

/* ---------- HERO (cinematic slider) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; }
.hero__track { display: grid; touch-action: pan-y; }
.scene { grid-area: 1 / 1; position: relative; overflow: hidden; min-height: clamp(620px, calc(100svh - var(--nav-h) - 48px), 900px); opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.scene.is-active { opacity: 1; visibility: visible; z-index: 1; }
.scene__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 70% 55%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--bg); }
.scene__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%) scale(1.06); font-family: var(--display); font-size: clamp(180px, 30vw, 520px); line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--ink-rgb) / .07); letter-spacing: .02em; transition: transform 2s var(--ease); pointer-events: none; user-select: none; }
.scene.is-active .scene__word { transform: translate(-50%, -52%); }
.scene__inner { position: relative; display: grid; align-items: center; gap: 12px; min-height: inherit; padding: 32px 0 120px; }
.scene__copy > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.scene.is-active .scene__copy > * { opacity: 1; transform: none; }
.scene.is-active .scene__copy > :nth-child(2) { transition-delay: .1s; }
.scene.is-active .scene__copy > :nth-child(3) { transition-delay: .2s; }
.scene.is-active .scene__copy > :nth-child(4) { transition-delay: .3s; }
.scene.is-active .scene__copy > :nth-child(5) { transition-delay: .4s; }
.scene__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.scene__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 18px var(--accent); }
.scene__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 10vw, 150px); line-height: .86; letter-spacing: .005em; margin-bottom: 18px; }
.scene__title span { display: block; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.scene__tag { font-size: clamp(17px, 1.8vw, 22px); color: var(--text-2); max-width: 470px; margin-bottom: 26px; }
.chips-glass { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-glass li { font-size: 13px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(var(--ink-rgb) / .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text-2); }
.chips-glass b { color: var(--fg); font-weight: 700; }
.scene__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-inline: auto; order: -1; display: grid; place-items: center; }
.scene__stage .beam { top: -30%; }
.stage__dev { position: absolute; transition: transform 1.3s var(--ease), opacity 1s, filter 1s; opacity: 0; }
.stage__dev img { width: 100%; height: auto; }
.stage__dev--c { width: 36%; left: 32%; bottom: 14%; z-index: 3; transform: translateY(80px) scale(.92); }
.stage__dev--l { width: 26%; left: 10%; bottom: 20%; z-index: 2; transform: translateX(60px) rotate(0); filter: brightness(.55) blur(1px); }
.stage__dev--r { width: 26%; right: 10%; bottom: 20%; z-index: 2; transform: translateX(-60px) rotate(0); filter: brightness(.55) blur(1px); }
.dimg--4k.stage__dev--c { width: 30%; left: 35%; }
.dimg--4k.stage__dev--l, .dimg--4k.stage__dev--r { width: 22%; }
.scene.is-active .stage__dev { opacity: 1; }
.scene.is-active .stage__dev--c { transform: rotate(-6deg); transition-delay: .15s; animation: float 7s ease-in-out 1.4s infinite; }
.scene.is-active .stage__dev--l { transform: rotate(-14deg); transition-delay: .35s; }
.scene.is-active .stage__dev--r { transform: rotate(12deg); transition-delay: .45s; }
@keyframes float { 50% { translate: 0 -16px; } }
.stage__fan { position: absolute; inset: 0; }
.stage__fan .dimg { position: absolute; left: calc(50% - 11%); bottom: 16%; width: 22%; transform-origin: 50% 230%; transform: rotate(0); opacity: 0; transition: transform 1.3s var(--ease), opacity .8s; transition-delay: calc((var(--i) + 3) * 70ms); }
.scene.is-active .stage__fan .dimg { transform: rotate(calc(var(--i) * 9deg)); opacity: 1; }
.scene__badge { position: absolute; z-index: 5; right: 4%; top: 14%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(var(--surface-rgb) / .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; color: var(--text-2); opacity: 0; transform: translateY(16px); transition: .9s var(--ease) .8s; }
.scene.is-active .scene__badge { opacity: 1; transform: none; }
.scene__badge b { color: var(--fg); display: block; font-size: 15px; }
.scene__badge svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--accent); color: var(--on-fg); }
@media (min-width: 960px) {
  .scene__inner { grid-template-columns: .95fr 1.05fr; gap: 32px; padding: 24px 0 120px; }
  .scene__stage { order: 0; }
}
@media (max-width: 959px) {
  .scene__inner { padding-bottom: 130px; }
  .scene__stage { max-width: 420px; margin-bottom: -20px; }
  .scene__badge { right: 0; top: 6%; }
}
.hero__ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; border-top: 1px solid var(--line); background: linear-gradient(transparent, rgba(0, 0, 0, .4)); }
.hero__ui .container { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; }
.hero__tabs { display: flex; flex: 1; }
.hero__tabs button { position: relative; flex: 1; max-width: 260px; display: flex; align-items: baseline; gap: 12px; padding: 22px 16px 22px 0; border: 0; background: none; text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: color .3s; }
.hero__tabs button em { font-style: normal; font-family: var(--display); font-size: 18px; letter-spacing: .04em; }
.hero__tabs button:hover, .hero__tabs button.is-active { color: var(--fg); }
.hero__tabs button span { position: absolute; left: 0; right: 16px; top: -1px; height: 2px; background: transparent; overflow: hidden; }
.hero__tabs button.is-active span::after { content: ""; position: absolute; inset: 0; background: var(--accent-ui, #fff); transform-origin: left; animation: progress var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__tabs span::after { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 8px; align-items: center; }
.hero__arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--fg); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.hero__arrows button:hover { background: rgb(var(--ink-rgb) / .08); border-color: var(--fg); }
@media (max-width: 640px) { .hero__tabs button { padding-right: 8px; font-size: 11px; gap: 6px; } .hero__tabs button strong { display: none; } .hero__arrows button { width: 40px; height: 40px; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; background: var(--bg); border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track span { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: .02em; white-space: nowrap; padding: 0 30px; position: relative; color: transparent; -webkit-text-stroke: 1px rgb(var(--ink-rgb) / .35); }
.marquee__track span:nth-child(3n + 1) { color: var(--fg); -webkit-text-stroke: 0; }
.marquee__track span::after { content: "✦"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--blue); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Lineup cards ---------- */
.lineup { display: grid; gap: 20px; }
@media (min-width: 860px) { .lineup { grid-template-columns: 1fr 1fr; gap: 24px; } }
.lcard { --accent: var(--blue); position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 640px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(80% 60% at 50% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), var(--surface); text-decoration: none; transition: transform .5s var(--ease), border-color .4s; }
.lcard:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.lcard__word { position: absolute; right: -4%; top: 4%; z-index: -1; font-family: var(--display); font-size: clamp(160px, 18vw, 280px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--ink-rgb) / .06); }
.lcard__tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.lcard h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 6vw, 84px); line-height: .9; margin: 22px 0 6px; }
.lcard__sub { color: var(--text-2); font-size: 17px; }
.lcard__media { position: relative; flex: 1; display: grid; place-items: center; margin: 12px 0 24px; min-height: 280px; }
.lcard__media .dimg { width: 42%; transition: transform .7s var(--ease); }
.lcard__media .dimg--4k { width: 34%; }
.lcard:hover .lcard__media .dimg { transform: rotate(-6deg) translateY(-14px) scale(1.04); }
.lcard__specs { list-style: none; padding: 20px 0 0; margin: 0 0 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lcard__specs b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: .01em; }
.lcard__specs span { font-size: 12px; color: var(--muted); }
.lcard__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* product cards (products page alias) */
.pcard { display: none; }

/* ---------- Collection banners ---------- */
.cbanners { display: grid; gap: 20px; }
@media (min-width: 900px) { .cbanners { grid-template-columns: 1fr 1fr; } .cbanner--wide { grid-column: 1 / -1; } }
.cbanner { --accent: var(--blue); position: relative; overflow: hidden; isolation: isolate; display: grid; text-decoration: none; border-radius: var(--radius); border: 1px solid var(--line); min-height: 520px; padding: clamp(28px, 4vw, 48px); transition: transform .5s var(--ease), border-color .4s; }
.cbanner:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.cbanner__copy { position: relative; z-index: 3; max-width: 360px; align-self: start; }
.cbanner__kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .2); margin-bottom: 18px; }
.cbanner h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 5.4vw, 76px); line-height: .9; margin-bottom: 14px; }
.cbanner p { color: rgb(var(--ink-rgb) / .78); margin-bottom: 20px; max-width: 300px; }
.cbanner__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 13px 20px; border-radius: 999px; background: var(--fg); color: var(--on-fg); }
.cbanner__cta .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.cbanner:hover .cbanner__cta .icon { transform: translateX(4px); }
.cbanner__art { position: absolute; z-index: 1; right: 0; bottom: 0; width: 62%; height: 78%; }
.cb__dev { position: absolute; width: 30%; transition: transform .8s var(--ease); }
.cb__dev--1 { left: 8%; bottom: 10%; transform: rotate(-14deg); }
.cb__dev--2 { left: 34%; bottom: 18%; width: 34%; transform: rotate(-3deg); z-index: 2; }
.cb__dev--3 { left: 62%; bottom: 8%; transform: rotate(13deg); }
.cbanner:hover .cb__dev--1 { transform: rotate(-20deg) translateY(-14px); }
.cbanner:hover .cb__dev--2 { transform: rotate(2deg) translateY(-26px); }
.cbanner:hover .cb__dev--3 { transform: rotate(19deg) translateY(-14px); }
.cbanner--ice { --accent: #5aa2ff; background: radial-gradient(90% 80% at 75% 85%, #2f7de0 0%, #12325f 45%, #0a1426 100%); }
.cbanner--ice::before { content: ""; position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(115deg, rgb(var(--ink-rgb) / .05) 0 1px, transparent 1px 22px), radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 70% 20%, #fff, transparent), radial-gradient(2px 2px at 85% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 70%, #fff, transparent); opacity: .7; }
.cbanner--fruit { --accent: #ff7a5a; background: radial-gradient(90% 80% at 75% 85%, #ff6a4d 0%, #7a1f3d 50%, #1f0a14 100%); }
.cbanner--fruit::before { content: ""; position: absolute; right: -10%; top: -25%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 190, 120, .35), transparent 70%); }
.cbanner--wide { --accent: var(--mint); min-height: 420px; background: radial-gradient(60% 120% at 78% 50%, #1b6b4e 0%, #0c2a20 45%, #070a09 100%); }
.cbanner--wide .cbanner__copy { max-width: 440px; align-self: center; }
.cbanner__art--wide { width: 60%; height: 100%; }
.cb__dev--wide1 { left: 52%; bottom: 12%; width: 18%; transform: rotate(-10deg); z-index: 2; }
.cb__dev--wide2 { left: 70%; bottom: 20%; width: 16%; transform: rotate(10deg); }
.cbanner--wide:hover .cb__dev--wide1 { transform: rotate(-4deg) translateY(-16px); }
.cbanner--wide:hover .cb__dev--wide2 { transform: rotate(16deg) translateY(-10px); }
.battery { position: absolute; left: 2%; top: 50%; transform: translateY(-50%); display: grid; grid-template-columns: auto auto; align-items: center; row-gap: 14px; }
.battery__body { position: relative; width: clamp(150px, 15vw, 210px); height: clamp(70px, 7vw, 92px); border: 3px solid rgb(var(--ink-rgb) / .85); border-radius: 18px; padding: 6px; }
.battery__fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, #3cc98a, #9be8c4); box-shadow: 0 0 34px rgba(60, 201, 138, .7); animation: charge 3.2s var(--ease) infinite; transform-origin: left; }
.battery__cap { width: 10px; height: 30%; background: rgb(var(--ink-rgb) / .85); border-radius: 0 6px 6px 0; }
.battery__bolt { position: absolute; inset: 0; margin: auto; width: 36px; height: 36px; color: var(--fg); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.battery__label { grid-column: 1 / -1; margin: 0; font-size: 14px; color: rgb(var(--ink-rgb) / .7); }
.battery__label b { color: var(--fg); font-size: 18px; }
@keyframes charge { 0% { transform: scaleX(.08); } 70%, 100% { transform: scaleX(1); } }
@media (max-width: 899px) {
  .cbanner { min-height: 600px; }
  .cbanner__copy, .cbanner p { max-width: none; }
  .cbanner__art { width: 100%; height: 50%; }
  .cbanner--wide { min-height: 620px; }
  .cbanner__art--wide { height: 52%; }
  .battery { left: 6%; top: 26%; }
  .cb__dev--wide1 { left: 50%; width: 22%; } .cb__dev--wide2 { left: 72%; width: 19%; }
}

/* ---------- Stats band ---------- */
.stats-band { position: relative; overflow: hidden; background: var(--bg-2); border-block: 1px solid var(--line); padding: clamp(60px, 8vw, 100px) 0; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats li + li { border-left: 1px solid var(--line); padding-left: 32px; } }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 7vw, 104px); line-height: .9; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--fg) 30%, rgb(var(--ink-rgb) / .35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Flavor studio ---------- */
.studio { --fc: #ff5d6c; position: relative; overflow: hidden; background: var(--bg); padding: clamp(80px, 10vw, 140px) 0; }
.studio::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 70% at 72% 50%, color-mix(in srgb, var(--fc) 40%, transparent), transparent 70%); transition: background .8s var(--ease); }
.studio::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(var(--ink-rgb) / .08) 1px, transparent 1px); background-size: 26px 26px; mask: radial-gradient(70% 70% at 70% 50%, #000, transparent); -webkit-mask: radial-gradient(70% 70% at 70% 50%, #000, transparent); pointer-events: none; }
.studio__inner { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .studio__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; } }
.studio__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 7vw, 100px); line-height: .9; margin-bottom: 28px; }
.studio__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-bottom: 26px; background: rgb(var(--ink-rgb) / .04); border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; }
.studio__tabs::-webkit-scrollbar { display: none; }
.studio__tab { flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; transition: .25s; }
.studio__tab:hover { color: var(--fg); }
.studio__tab.is-active { background: var(--fg); color: var(--on-fg); }
.studio__list { list-style: none; padding: 0 0 40px; margin: 0; display: grid; gap: 0; max-height: 440px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgb(var(--ink-rgb) / .2) transparent; mask: linear-gradient(#000 85%, transparent); -webkit-mask: linear-gradient(#000 85%, transparent); }
.studio__list li[hidden] { display: none; }
.studio__list li { animation: rise .45s var(--ease) both; animation-delay: calc(var(--n, 0) * 30ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.studio__flavor { display: flex; align-items: center; gap: 16px; width: 100%; padding: 8px 0; border: 0; background: none; text-align: left; font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: .01em; color: rgb(var(--ink-rgb) / .22); transition: color .25s, transform .3s var(--ease); }
.studio__flavor i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; opacity: .4; transition: .3s; }
.studio__flavor:hover { color: rgb(var(--ink-rgb) / .7); transform: translateX(6px); }
.studio__flavor.is-active { color: var(--fg); transform: translateX(10px); }
.studio__flavor.is-active i { opacity: 1; box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 30%, transparent), 0 0 18px var(--c); }
.studio__stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 620px; margin-inline: auto; }
.studio__glow { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--fc); filter: blur(80px); opacity: .5; transition: background .8s var(--ease); }
.studio__rings span { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgb(var(--ink-rgb) / .1); animation: spin 30s linear infinite; }
.studio__rings span:nth-child(1) { width: 54%; height: 54%; border-style: dashed; }
.studio__rings span:nth-child(2) { width: 74%; height: 74%; animation-direction: reverse; animation-duration: 45s; }
.studio__rings span:nth-child(3) { width: 94%; height: 94%; border-color: rgb(var(--ink-rgb) / .05); }
@keyframes spin { to { transform: rotate(360deg); } }
.studio__device { position: relative; z-index: 2; width: 30%; margin-top: -26%; transition: transform .45s var(--ease), opacity .3s; }
.studio__device.is-4k { width: 28%; }
.studio__device.is-swapping { transform: scale(.9) rotate(-4deg); opacity: .2; }
.studio__device .dimg { transform: rotate(-7deg); animation: float 7s ease-in-out infinite; }
.studio__info { position: absolute; z-index: 4; left: 0; right: 0; bottom: 2%; text-align: center; }
.studio__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 3.6vw, 48px); line-height: 1; margin: 0 0 6px; }
.studio__meta { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
@media (max-width: 999px) {
  .studio__list { display: flex; gap: 8px; overflow-x: auto; max-height: none; mask: none; -webkit-mask: none; padding-bottom: 6px; }
  .studio__flavor { font-family: var(--font); text-transform: none; font-size: 14px; font-weight: 600; white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: rgb(var(--ink-rgb) / .06); gap: 8px; color: var(--text-2); }
  .studio__flavor:hover, .studio__flavor.is-active { transform: none; }
  .studio__flavor.is-active { background: rgb(var(--ink-rgb) / .16); }
  .studio__flavor i { width: 10px; height: 10px; }
  .studio__device { width: 34%; }
  .studio__stage { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; padding: 48px 0 0; }
  .studio__device, .studio__device.is-4k { margin-top: 0; width: min(34%, 190px); }
  .studio__device.is-4k { width: min(28%, 160px); }
  .studio__glow { top: 10%; }
  .studio__rings span:nth-child(1) { width: 56vw; height: 56vw; max-width: 340px; max-height: 340px; top: 0; bottom: auto; }
  .studio__rings span:nth-child(2), .studio__rings span:nth-child(3) { display: none; }
  .studio__info { position: static; margin-top: 30px; }
}

/* ---------- Statement ---------- */
.statement { padding: clamp(100px, 14vw, 190px) 0; }
.statement__text { font-family: var(--display); text-transform: uppercase; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.02; letter-spacing: .005em; text-align: center; margin: 8px 0 44px; }
.statement__text .w { opacity: .14; transition: opacity .35s, color .35s; }
.statement__text .w.is-on { opacity: 1; }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: 1fr 1fr; } .bento__item--flavors, .bento__item--wholesale { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(280px, auto); } .bento__item--flavors { grid-column: 1 / 3; } .bento__item--buy { grid-column: 3; } .bento__item--use { grid-column: 4; } .bento__item--wholesale { grid-column: 1 / -1; } }
.bento__item { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: clamp(26px, 3vw, 38px); min-height: 280px; transition: transform .45s var(--ease), border-color .4s; }
.bento__item:hover { transform: translateY(-6px); border-color: var(--line-2); }
.bento__item h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 2.8vw, 40px); line-height: .95; margin: auto 0 10px; position: relative; }
.bento__item p { color: var(--text-2); max-width: 420px; position: relative; }
.bento__item .link-arrow { margin-top: 6px; position: relative; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.bento__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgb(var(--ink-rgb) / .06); border: 1px solid var(--line); margin-bottom: 30px; position: relative; }
.bento__icon .icon { width: 24px; height: 24px; }
.bento__item--flavors { background: radial-gradient(90% 120% at 90% 100%, rgba(255, 126, 182, .55), rgba(143, 91, 215, .35) 40%, transparent 70%), var(--surface); }
.bento__fan { position: absolute; right: 2%; bottom: -10%; width: 50%; height: 100%; pointer-events: none; z-index: -1; }
.bento__fan .dimg { position: absolute; left: 40%; bottom: 0; width: 20%; transform-origin: 50% 190%; transform: rotate(calc(var(--i) * 12deg)); transition: transform .7s var(--ease); }
.bento__item--flavors:hover .bento__fan .dimg { transform: rotate(calc(var(--i) * 17deg)) translateY(-10px); }
.bento__item--flavors h3, .bento__item--flavors p, .bento__item--flavors .link-arrow { max-width: 50%; }
.bento__item--buy { background: radial-gradient(100% 100% at 100% 100%, rgba(60, 201, 138, .35), transparent 60%), var(--surface); }
.bento__item--use { background: radial-gradient(100% 100% at 100% 100%, rgba(255, 176, 32, .3), transparent 60%), var(--surface); }
.bento__item--wholesale { min-height: 320px; background: radial-gradient(70% 140% at 85% 50%, rgba(43, 155, 255, .45), transparent 60%), var(--surface); }
.bento__dev { position: absolute; z-index: -1; right: 6%; bottom: -18%; width: clamp(140px, 18%, 230px); transform: rotate(-12deg); transition: transform .6s var(--ease); }
.bento__item--wholesale:hover .bento__dev { transform: rotate(-4deg) translateY(-16px); }
@media (max-width: 639px) { .bento__fan { opacity: .5; width: 80%; right: -16%; } .bento__item--flavors h3, .bento__item--flavors p, .bento__item--flavors .link-arrow { max-width: none; } .bento__dev { opacity: .45; } }

/* ---------- Tiles ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(4, 1fr); } .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px 26px; transition: border-color .3s, transform .4s var(--ease); }
.tile:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tile::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); opacity: 0; transition: opacity .4s; }
.tile:hover::before { opacity: 1; }
.tile__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); margin-bottom: 20px; }
.tile__icon .icon { width: 24px; height: 24px; }
.tile h3 { font-size: 18px; margin-bottom: 8px; }
.tile p { color: var(--text-2); font-size: 15px; margin: 0; }

/* ---------- Flavor cards ---------- */
.flavor-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.flavor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .flavor-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 900px) { .flavor-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .flavor-grid { grid-template-columns: repeat(5, 1fr); } }
.flavor { --c: #888; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 14px 22px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.flavor::before { content: ""; position: absolute; left: 50%; top: 42%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--c); filter: blur(40px); opacity: .28; z-index: -1; transition: opacity .4s; }
.flavor:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.flavor:hover::before { opacity: .5; }
.flavor[hidden] { display: none; }
.flavor .dimg { height: 170px; width: auto; margin-bottom: 18px; transition: transform .6s var(--ease); filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .5)); }
.flavor:hover .dimg { transform: rotate(-6deg) translateY(-6px); }
.flavor h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.flavor__lines { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.flavor-controls { display: grid; gap: 14px; margin-bottom: 20px; }
@media (min-width: 900px) { .flavor-controls { grid-template-columns: auto 1fr; align-items: center; } .flavor-controls .search { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .flavor-controls { grid-template-columns: auto auto 1fr; } .flavor-controls .search { grid-column: auto; } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; transition: .2s; }
.chip:hover { color: var(--fg); border-color: var(--fg); }
.chip.is-active { background: var(--fg); border-color: var(--fg); color: var(--on-fg); }
.chip--sm { min-height: 36px; padding: 0 14px; font-size: 12px; }
.search { width: 100%; min-height: 48px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--text); }
.search::placeholder { color: var(--muted); }
.search:focus { outline: none; border-color: var(--fg); }
.search--select { max-width: 360px; appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 20px center; }
.flavor-count { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--muted); }

/* ---------- Split ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 60%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), var(--surface); }
.split__media .stage__dev { opacity: 1; }
.split__media .stage__dev--c { transform: rotate(-6deg); }
.split__media .stage__dev--l { transform: rotate(-14deg); }
.split__media .stage__dev--r { transform: rotate(12deg); }

/* ---------- Dark step list ---------- */
.verify-steps { list-style: none; padding: 0; display: grid; gap: 14px; }
.verify-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.verify-steps .icon { width: 28px; height: 28px; color: var(--blue-2); margin-top: 2px; }
.verify-steps b { display: block; font-size: 17px; margin-bottom: 2px; }
.verify-steps span { color: var(--text-2); font-size: 15px; }

/* ---------- Accordion ---------- */
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 600; font-size: clamp(16px, 1.6vw, 19px); transition: color .2s; }
.accordion summary:hover { color: var(--blue-2); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center; transition: transform .3s var(--ease), background-color .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); background-color: rgb(var(--ink-rgb) / .08); }
.accordion details > div { padding: 0 52px 24px 0; color: var(--text-2); }

/* ---------- CTA band ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 28px; padding: clamp(40px, 6vw, 80px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.band::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 155, 255, .45), transparent); }
.band::after { content: "MEGA"; position: absolute; z-index: -1; right: 2%; bottom: -18%; font-family: var(--display); font-size: clamp(120px, 18vw, 260px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--ink-rgb) / .06); }
.band h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.4vw, 72px); line-height: .92; margin-bottom: 12px; }
.band p { color: var(--text-2); max-width: 560px; margin: 0; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- Inner page hero ---------- */
.page-hero { --accent: var(--blue); position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 9vw, 130px) 0 clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--line); background: radial-gradient(60% 90% at 85% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%), var(--bg); }
.page-hero::before { content: attr(data-word); position: absolute; z-index: -1; right: -2%; bottom: -14%; font-family: var(--display); font-size: clamp(140px, 22vw, 360px); line-height: .85; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--ink-rgb) / .06); }
.page-hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 8.4vw, 124px); line-height: .9; max-width: 1000px; margin-bottom: 22px; }
.page-hero__intro { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--text-2); }
.crumbs a:hover { color: var(--fg); }

/* ---------- Product page ---------- */
.pdp-hero { --accent: var(--blue); position: relative; overflow: hidden; isolation: isolate; padding: 28px 0 0; background: var(--bg); }
.pdp-hero__word { position: absolute; z-index: -1; left: 50%; top: 52%; transform: translate(-50%, -50%); font-family: var(--display); font-size: clamp(260px, 44vw, 700px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--ink-rgb) / .06); pointer-events: none; }
.pdp-hero__glow { position: absolute; z-index: -1; left: 50%; top: 55%; width: 60%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 40%, transparent), transparent); }
.pdp-hero__head { text-align: center; position: relative; z-index: 3; }
.pdp-hero__head h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(72px, 12vw, 180px); line-height: .85; margin: 6px 0 12px; }
.pdp-hero__tag { font-size: clamp(18px, 2vw, 24px); color: var(--text-2); margin-bottom: 0; }
.pdp-hero__stage { position: relative; display: grid; place-items: center; min-height: clamp(460px, 56vw, 720px); --p: 0; }
.pdp-hero__stage .beam { top: -40%; }
.pdp-hero__dev { position: relative; z-index: 2; width: clamp(180px, 24vw, 330px); transform: translateY(calc(var(--p) * -40px)) rotate(calc(-6deg + var(--p) * -4deg)); }
.pdp-hero__dev.dimg--4k { width: clamp(150px, 19vw, 270px); }
.callouts { list-style: none; padding: 0; margin: 0; position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.callout { background: rgb(var(--surface-rgb) / .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: var(--radius-md); padding: 18px 20px; }
.callout b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; }
.callout span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 899px) { .pdp-hero__stage { grid-template-rows: auto auto; gap: 24px; padding-bottom: 40px; } }
@media (min-width: 900px) {
  .callouts { position: absolute; inset: 0; display: block; }
  .callout { position: absolute; min-width: 210px; }
  .callout::before { content: ""; position: absolute; top: 50%; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
  .callout::after { content: ""; position: absolute; top: calc(50% - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
  .callout--0 { left: 6%; top: 18%; } .callout--0::before { right: -46px; } .callout--0::after { right: -52px; }
  .callout--1 { left: 2%; bottom: 20%; } .callout--1::before { right: -46px; } .callout--1::after { right: -52px; }
  .callout--2 { right: 6%; top: 22%; } .callout--2::before { left: -46px; transform: scaleX(-1); } .callout--2::after { left: -52px; }
  .callout--3 { right: 2%; bottom: 16%; } .callout--3::before { left: -46px; transform: scaleX(-1); } .callout--3::after { left: -52px; }
}
.pdp-hero__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 0 clamp(56px, 7vw, 90px); position: relative; z-index: 3; }

.pdp { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.gallery__main { --fc: var(--accent); position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; padding: 10%; background: radial-gradient(55% 55% at 50% 58%, color-mix(in srgb, var(--fc) 45%, transparent), transparent 72%), var(--surface); transition: background .6s; }
.gallery__main::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 10%; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); z-index: -1; }
.gallery__main img { max-height: 100%; width: auto; object-fit: contain; transition: opacity .25s, transform .5s var(--ease); }
.gallery__main.is-photo { background: radial-gradient(circle at 50% 45%, #fff, #e8e8ee); padding: 6%; }
.gallery__main.is-photo::after { content: none; }
.gallery__main:not(.is-photo) img { width: auto; height: auto; max-width: 50%; max-height: none; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .6)); transform: rotate(-6deg); }
.gallery__main.is-photo img { width: 100%; height: auto; max-height: none; }
@media (max-width: 899px) {
  .pdp-hero__dev, .pdp-hero__dev.dimg--4k { width: 150px; transform: rotate(-6deg); margin-top: 12px; }
  .pdp-hero__stage { min-height: 0; }
}
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery__thumbs button { flex: none; width: 78px; height: 78px; padding: 6px; border-radius: 14px; background: #f1f1f4; border: 2px solid transparent; transition: border-color .2s; }
.gallery__thumbs button.is-dev { background: var(--surface-2); }
.gallery__thumbs button.is-active { border-color: var(--fg); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 960px) { .gallery { position: sticky; top: calc(var(--nav-h) + 24px); } }
.pdp__copy h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 5vw, 68px); line-height: .92; margin-bottom: 14px; }
.pdp__tagline { font-size: 18px; font-weight: 600; color: var(--accent); }
.keyspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0; }
.keyspecs div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.keyspecs b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.keyspecs span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.picker { margin: 0 0 30px; }
.picker__label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.picker__label output { color: var(--fg); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .15s, transform .15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--fg); }
.pdp__note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 500; }
.spec-table thead th { color: var(--fg); font-weight: 700; }
.inbox { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.inbox h3 { font-size: 16px; }
.steps { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 860px) { .steps:not(.steps--stack) { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.steps li { counter-increment: s; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 26px; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--display); font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgb(var(--ink-rgb) / .4); margin-bottom: 16px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--text-2); margin: 0; }
.steps--stack li { padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
.steps--stack li::before { grid-row: span 2; margin: 0; font-size: 34px; }
.steps--stack h3 { margin-bottom: 2px; }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 25%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center; }
.xsell { --accent: var(--blue); position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 20px; align-items: center; text-decoration: none; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(60% 120% at 10% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), var(--surface); padding: clamp(26px, 4vw, 44px); transition: transform .45s var(--ease), border-color .3s; }
.xsell:hover { transform: translateY(-5px); border-color: var(--line-2); }
.xsell .dimg { width: 110px; transform: rotate(-8deg); }
.xsell h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 48px); line-height: .95; }
.xsell p { color: var(--text-2); margin: 0; }
@media (min-width: 760px) { .xsell { grid-template-columns: auto 1fr auto; gap: 40px; } }

/* ---------- Compare ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.compare th, .compare td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; letter-spacing: .01em; background: var(--surface-2); }
.compare thead th .dimg { width: 44px; margin-bottom: 10px; }
.compare tbody th { color: var(--muted); font-weight: 500; width: 30%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:hover > * { background: rgb(var(--ink-rgb) / .02); }

/* ---------- Forms ---------- */
.panel { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.panel__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 42px); line-height: 1; margin-bottom: 26px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.field label span { color: var(--bad); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--text); font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; color-scheme: dark; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select { appearance: none; padding-right: 44px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field select option { background: var(--surface); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(43, 155, 255, .15); background: var(--surface); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field__err { color: var(--bad); font-size: 13px; margin: 6px 0 0; }
.field__err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.check a { color: var(--fg); }
.check--light { color: var(--text-2); }
.form-alert:empty { display: none; }
.form-alert { padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; }
.form-alert.is-ok { background: rgba(63, 209, 138, .12); color: var(--ok); border: 1px solid rgba(63, 209, 138, .3); }
.form-alert.is-bad { background: rgba(255, 107, 107, .1); color: var(--bad); border: 1px solid rgba(255, 107, 107, .3); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact { grid-template-columns: 380px 1fr; gap: 56px; align-items: start; } }
.contact__info { display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.info-item .icon { width: 46px; height: 46px; padding: 12px; border-radius: 12px; background: rgba(43, 155, 255, .14); color: var(--blue-2); }
.info-item b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-item a, .info-item span { color: var(--text); text-decoration: none; word-break: break-word; font-weight: 500; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.info-card h3 { font-size: 17px; }
.link-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.link-list a { text-decoration: none; color: var(--text-2); font-weight: 500; }
.link-list a:hover { color: var(--fg); }

/* ---------- Stores ---------- */
.stores { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.store { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.store[hidden] { display: none; }
.store h3 { font-size: 17px; margin-bottom: 6px; }
.store p { color: var(--text-2); font-size: 14px; margin-bottom: 10px; }
.notice { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 24px; border-radius: var(--radius-md); background: rgba(43, 155, 255, .08); border: 1px solid rgba(43, 155, 255, .25); }
.notice .icon { width: 26px; height: 26px; margin-top: 2px; color: var(--blue-2); }
.notice p { margin: 0; color: var(--text-2); }
.notice strong { color: var(--fg); }

/* ---------- FAQ page ---------- */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 260px 1fr; gap: 72px; align-items: start; } .faq-nav { position: sticky; top: calc(var(--nav-h) + 24px); } }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 960px) { .faq-nav { flex-direction: column; } .faq-nav .btn { margin-top: 14px; align-self: flex-start; } }
.faq-nav a:not(.btn) { text-decoration: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 13px; color: var(--text-2); }
@media (min-width: 960px) { .faq-nav a:not(.btn) { border: 0; padding: 6px 0; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; } .faq-nav a:not(.btn):hover { color: var(--fg); } }
.faq-group { margin-bottom: 56px; }
.faq-group h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 36px; margin-bottom: 10px; }

/* ---------- Prose ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--fg); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 1em; }
.prose a { color: var(--blue-2); }
.updated { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }

/* ---------- Error pages ---------- */
.error-page { position: relative; overflow: hidden; padding: clamp(90px, 14vw, 190px) 0; background: radial-gradient(50% 60% at 50% 40%, rgba(43, 155, 255, .25), transparent 70%); }
.error-page__code { font-family: var(--display); font-size: clamp(140px, 26vw, 300px); line-height: .9; margin: 0 0 18px; color: transparent; -webkit-text-stroke: 2px rgb(var(--ink-rgb) / .5); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: #030304; color: var(--text-2); font-size: 14px; padding: clamp(56px, 7vw, 96px) 0 28px; border-top: 1px solid var(--line); }
.footer::before { content: "MEGA"; position: absolute; left: 50%; bottom: -4vw; transform: translateX(-50%); font-family: var(--display); font-size: 30vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgb(var(--ink-rgb) / .04); pointer-events: none; }
.footer > .container { position: relative; }
.footer a { color: var(--text-2); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--fg); }
.footer__news { display: grid; gap: 24px; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.footer__news h2 { color: var(--fg); font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 4.4vw, 60px); line-height: .95; margin-bottom: 10px; }
.footer__news p { margin: 0; }
@media (min-width: 900px) { .footer__news { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } }
.news-form { display: grid; gap: 12px; }
.news-form__row { display: flex; gap: 8px; flex-wrap: wrap; }
.news-form input[type="email"] { flex: 1 1 220px; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); font-size: 16px; }
.news-form input[type="email"]::placeholder { color: var(--muted); }
.news-form input[type="email"]:focus { outline: none; border-color: var(--fg); }
.news-form .btn { min-height: 54px; flex: 1 1 auto; }
@media (min-width: 480px) { .news-form .btn { flex: 0 0 auto; } }
.form-status { margin: 0; font-weight: 600; color: var(--fg); }
.form-status:empty { display: none; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer__about { grid-column: 1 / -1; }
.footer__about p { max-width: 340px; margin-top: 14px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer__about { grid-column: auto; } }
.footer h3 { color: var(--fg); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); }
.footer__social .icon { width: 18px; height: 18px; }
.footer__legal { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.footer__legal p { margin: 0; }
.footer__legal strong { color: var(--text-2); }
.footer__legal a { text-decoration: underline; }
.footer__warn { background: var(--fg); color: var(--on-fg) !important; font-weight: 800; font-size: clamp(14px, 1.8vw, 17px); text-align: center; padding: 14px 18px; margin-bottom: 8px !important; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }


/* ---------- Technology cards ---------- */
.tech { display: grid; gap: 18px; }
@media (min-width: 900px) { .tech { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .tech__card { min-height: 440px; } .tech__media { min-height: 250px; } }
.tech__card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 560px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .5s var(--ease), border-color .4s; }
.tech__card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.tech__media { position: relative; flex: 1; min-height: 340px; overflow: hidden; background: radial-gradient(60% 70% at 50% 70%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); }
.tech__dev { position: absolute; left: 50%; bottom: -12%; width: 38%; transform: translateX(-50%) rotate(-8deg); transition: transform .8s var(--ease); }
.tech__dev.dimg--4k { width: 31%; }
.tech__card:hover .tech__dev { transform: translateX(-50%) rotate(-2deg) translateY(-18px); }
.tech__body { position: relative; padding: 26px 28px 30px; border-top: 1px solid var(--line); background: var(--surface); }
.tech__label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.tech__body h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3vw, 40px); line-height: 1; margin-bottom: 10px; }
.tech__body p { color: var(--text-2); margin: 0; }
/* mesh coil glow */
.tech__coil { position: absolute; left: 6%; right: 6%; top: 8%; width: 88%; color: var(--accent); filter: drop-shadow(0 0 10px var(--accent)); stroke-dasharray: 520; animation: coil 3.2s ease-in-out infinite; }
@keyframes coil { 0% { stroke-dashoffset: 520; opacity: .3; } 50% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -520; opacity: .3; } }
/* draw sensor pulse */
.tech__pulse { position: absolute; left: 50%; top: 22%; width: 0; height: 0; }
.tech__pulse span { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: pulseRing 2.4s ease-out infinite; }
.tech__pulse span:nth-child(2) { animation-delay: .8s; }
.tech__pulse span:nth-child(3) { animation-delay: 1.6s; }
@keyframes pulseRing { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
/* sealed tank */
.tech__tank { position: absolute; right: 12%; top: 14%; width: 46px; height: 130px; border-radius: 23px; border: 2px solid rgb(var(--ink-rgb) / .35); padding: 5px; overflow: hidden; }
.tech__liquid { position: absolute; left: 5px; right: 5px; bottom: 5px; height: 78%; border-radius: 18px; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 60%, #fff)); box-shadow: 0 0 20px var(--accent); animation: fill 4s ease-in-out infinite; }
.tech__liquid::before { content: ""; position: absolute; left: -50%; top: -6px; width: 200%; height: 12px; border-radius: 40%; background: color-mix(in srgb, var(--accent) 60%, #fff); animation: wave 2s linear infinite; }
@keyframes fill { 0%, 100% { height: 82%; } 50% { height: 70%; } }
@keyframes wave { to { transform: translateX(25%); } }

/* ---------- Featured flavors carousel ---------- */
.rail__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rail__arrows { display: flex; gap: 8px; }
.rail__arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: grid; place-items: center; transition: .2s; }
.rail__arrows button:hover { border-color: var(--fg); background: rgb(var(--ink-rgb) / .06); }
@media (max-width: 640px) { .rail__arrows { display: none; } }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 24px; scroll-padding-left: max(var(--gutter), (100% - var(--container)) / 2); }
.rail::-webkit-scrollbar { display: none; }
.rail__track { display: flex; gap: 16px; padding-inline: max(var(--gutter), (100% - var(--container)) / 2); width: max-content; }
.fcard { --c: #888; position: relative; overflow: hidden; isolation: isolate; flex: none; width: clamp(240px, 24vw, 300px); scroll-snap-align: start; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: transform .45s var(--ease), border-color .3s; animation: rise .5s var(--ease) both; }
.fcard[hidden] { display: none; }
.fcard:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.fcard__media { position: relative; height: 300px; display: grid; place-items: center; background: radial-gradient(55% 55% at 50% 60%, color-mix(in srgb, var(--c) 45%, transparent), transparent 75%); }
.fcard__media .dimg { width: 42%; transform: rotate(-8deg); transition: transform .6s var(--ease); }
.fcard__media .dimg--4k { width: 34%; }
.fcard:hover .fcard__media .dimg { transform: rotate(0) scale(1.06); }
.fcard__body { padding: 20px 22px 24px; border-top: 1px solid var(--line); }
.fcard__line { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fcard h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0 0 6px; }
.fcard__cats { font-size: 13px; color: var(--text-2); margin: 0; }
.fcard__go { position: absolute; right: 18px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--on-fg); transform: scale(.6); opacity: 0; transition: .35s var(--ease); }
.fcard__go .icon { width: 18px; height: 18px; }
.fcard:hover .fcard__go { transform: none; opacity: 1; }

/* ---------- Mega 4K showcase ---------- */
.showcase { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 25% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--bg); padding: clamp(80px, 10vw, 140px) 0; }
.showcase__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .showcase__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }
.showcase__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; display: grid; place-items: center; }
.showcase__rings span { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgb(var(--ink-rgb) / .12); }
.showcase__rings span:nth-child(1) { width: 50%; height: 50%; border-color: color-mix(in srgb, var(--accent) 50%, transparent); border-style: dashed; animation: spin 24s linear infinite; }
.showcase__rings span:nth-child(2) { width: 72%; height: 72%; animation: spin 40s linear infinite reverse; border-top-color: var(--accent); }
.showcase__rings span:nth-child(3) { width: 94%; height: 94%; }
.showcase__glow { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); filter: blur(80px); opacity: .45; }
.showcase__dev { position: relative; z-index: 2; width: 34%; transform: rotate(-8deg); animation: float 7s ease-in-out infinite; }
.showcase__chip { position: absolute; z-index: 3; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(var(--surface-rgb) / .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; color: var(--text-2); }
.showcase__chip b { color: var(--fg); }
.showcase__chip--a { left: 2%; top: 22%; }
.showcase__chip--b { right: 4%; bottom: 24%; }
.srows { list-style: none; padding: 0; margin: 32px 0 36px; display: grid; }
.srow { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.srow:last-child { border-bottom: 1px solid var(--line); }
.srow b { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.srow h3 { font-size: 17px; margin-bottom: 4px; }
.srow p { color: var(--text-2); font-size: 15px; margin: 0; }
@media (max-width: 520px) { .srow { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Device wall ---------- */
.wall { position: relative; overflow: hidden; background: var(--bg); padding: clamp(70px, 9vw, 120px) 0; }
.wall__rows { display: grid; gap: 22px; transform: rotate(-4deg) scale(1.08); opacity: .9; }
.wall__row { display: flex; gap: 22px; width: max-content; }
.wall__row--a { animation: wallA 70s linear infinite; }
.wall__row--b { animation: wallB 70s linear infinite; }
@keyframes wallA { to { transform: translateX(-50%); } }
@keyframes wallB { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.wall__dev { height: clamp(120px, 14vw, 190px); width: auto; flex: none; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .5)); }
.wall::after { content: ""; position: absolute; inset: 0; background: radial-gradient(38% 50% at 50% 50%, rgb(var(--bg-rgb) / .85), rgb(var(--bg-rgb) / .35) 70%, transparent 100%), linear-gradient(90deg, var(--bg), transparent 15%, transparent 85%, var(--bg)); pointer-events: none; }
.wall__copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); }
.wall__copy .eyebrow { justify-content: center; }
.wall__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 8vw, 120px); line-height: .9; margin-bottom: 28px; text-shadow: 0 6px 40px rgb(var(--bg-rgb) / .9); }
.wall__title span { -webkit-text-stroke-width: 2px !important; }
.wall__title span { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--fg); }

/* ==========================================================================
   Responsive layer — tuned per breakpoint
   ≤380 small phones · <600 phones · 600–959 tablets · 960–1279 laptops · ≥1700 large screens
   ========================================================================== */

/* Grid/flex children may shrink below their content (prevents sideways overflow) */
:where(.pdp, .split, .lineup, .scene__inner, .studio__inner, .showcase__inner, .contact, .faq-layout, .cbanners, .tech, .bento, .tiles, .form__row, .footer__grid, .footer__news, .band, .stats, .steps, .flavor-grid, .keyspecs, .lcard__specs, .flavor-controls) > * { min-width: 0; }
.gallery__thumbs, .chips, .studio__tabs, .studio__list, .mood__tabs { max-width: 100%; }
h1, h2, h3, .section__title, .scene__title, .lcard h3, .cbanner h3, .tech__body h3, .fcard h3 { overflow-wrap: break-word; }

/* ---------- Large screens ---------- */
@media (min-width: 1700px) {
  :root { --container: 1480px; }
  body { font-size: 17px; }
  .scene { min-height: clamp(760px, calc(100svh - var(--nav-h) - 48px), 1000px); }
  .scene__stage, .studio__stage, .showcase__stage { max-width: 720px; }
  .lcard { min-height: 720px; }
  .tech__card { min-height: 620px; }
  .fcard { width: 320px; }
}

/* ---------- Laptops (960–1279) ---------- */
@media (min-width: 960px) and (max-width: 1279px) {
  .nav__links { gap: 22px; }
  .scene__title { font-size: clamp(64px, 8.4vw, 110px); }
  .callout { min-width: 170px; padding: 14px 16px; }
  .callout--0, .callout--2 { top: 10%; }
  .cbanner h3 { font-size: clamp(44px, 4.6vw, 60px); }
  .cbanner__art { width: 58%; }
}

/* ---------- Tablets (600–959) ---------- */
@media (min-width: 600px) and (max-width: 959px) {
  .section { padding: clamp(72px, 9vw, 110px) 0; }
  /* hero: copy first on tablets reads better, stage sized to the viewport */
  .scene { min-height: 0; }
  .scene__inner { grid-template-columns: 1fr; gap: 0; padding: 8px 0 110px; }
  .scene__stage { order: -1; max-width: 500px; margin: 0 auto -40px; }
  .scene__copy { max-width: 600px; }
  .scene__title { font-size: clamp(80px, 13vw, 112px); }
  .scene__tag { font-size: 18px; max-width: 540px; }
  .scene__badge { top: 10%; right: 0; }
  .chips-glass li { font-size: 12px; padding: 7px 11px; }
  /* lineup + tech side by side */
  .lineup { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lcard { min-height: 560px; padding: 28px; }
  .lcard h3 { font-size: 48px; }
  .lcard__specs b { font-size: 22px; }
  .tech { grid-template-columns: 1fr 1fr; }
  .tech__card:last-child { grid-column: 1 / -1; min-height: 420px; flex-direction: row; }
  .tech__card:last-child .tech__media { flex: 1; min-height: 0; }
  .tech__card:last-child .tech__body { width: 50%; border-top: 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
  /* collection banners: copy left, devices right */
  .cbanner { min-height: 440px; }
  .cbanner .cbanner__copy, .cbanner--wide .cbanner__copy { max-width: 44%; align-self: center; }
  .cbanner p { max-width: none; }
  .cbanner__art { width: 54%; height: 88%; }
  .cbanner--wide { min-height: 460px; }
  .cbanner__art--wide { width: 54%; height: 100%; }
  .battery { left: auto; right: 6%; top: 12%; transform: none; }
  .battery__body { width: 130px; height: 62px; }
  .cb__dev--wide1 { left: 14%; width: 30%; bottom: 8%; } .cb__dev--wide2 { left: 50%; width: 26%; bottom: 14%; }
  /* showcase + studio */
  .showcase__stage { max-width: 460px; }
  .studio__stage { max-width: 480px; }
  .bento__item--flavors h3, .bento__item--flavors p, .bento__item--flavors .link-arrow { max-width: 58%; }
  .pdp-hero__stage { min-height: 520px; }
  .pdp { gap: 40px; }
  .contact { gap: 32px; }
  .contact__info { grid-template-columns: 1fr 1fr; }
  .contact__info .info-card { grid-column: 1 / -1; }
}

/* ---------- Phones (<600) ---------- */
@media (max-width: 599px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 44px 0; }
  .section__head { margin-bottom: 32px; }
  .section__head--row { align-items: flex-start; }
  .section__title { font-size: clamp(38px, 11vw, 52px); }
  .lead { font-size: 16px; }
  /* comfortable tap targets */
  .chip, .chip--sm, .studio__tab { min-height: 42px; }
  .rail__controls { width: 100%; }
  .rail__controls .chips { width: 100%; }
  /* hero */
  .scene__inner { padding: 12px 0 104px; gap: 4px; }
  .scene__stage { max-width: 340px; margin-bottom: -28px; }
  .scene__title { font-size: clamp(56px, 17vw, 76px); margin-bottom: 14px; }
  .scene__tag { font-size: 16px; margin-bottom: 18px; }
  .chips-glass { margin-bottom: 22px; gap: 6px; }
  .chips-glass li { font-size: 12px; padding: 7px 11px; }
  .scene__badge { display: none; }
  .hero__tabs button { padding: 18px 6px 18px 0; }
  .marquee { padding: 16px 0; }
  /* cards */
  .lcard { min-height: 0; padding: 26px 22px; }
  .lcard__media { min-height: 230px; }
  .lcard__specs b { font-size: 22px; }
  .tech__card { min-height: 420px; }
  .tech__media { min-height: 240px; }
  .cbanner { min-height: 540px; padding: 26px 22px; }
  .cbanner--wide { min-height: 600px; }
  .cbanner--wide .cbanner__copy { align-self: start; }
  .cbanner--wide .cbanner__art--wide { height: 46%; }
  .cbanner--wide .battery { left: 0; top: 0; transform: none; }
  .cbanner--wide .battery__body { width: 118px; height: 56px; border-radius: 14px; }
  .cbanner--wide .battery__label { font-size: 12px; }
  .cbanner--wide .cb__dev--wide1 { left: 44%; width: 26%; bottom: 6%; }
  .cbanner--wide .cb__dev--wide2 { left: 70%; width: 23%; bottom: 12%; }
  .fcard { width: 74vw; max-width: 280px; }
  .fcard__media { height: 250px; }
  .showcase__stage { max-width: 320px; }
  .showcase__chip { font-size: 11px; padding: 8px 12px; }
  .srow b { font-size: 40px; }
  .studio__stage { max-width: 340px; }
  .studio__title { font-size: 52px; }
  .wall { padding: 56px 0; }
  .wall__title { font-size: clamp(44px, 13vw, 60px); }
  .statement__text { font-size: clamp(30px, 9vw, 44px); }
  .bento__item { min-height: 240px; padding: 24px; }
  .band { padding: 32px 24px; }
  /* product page */
  .pdp-hero__head h1 { font-size: clamp(64px, 19vw, 96px); }
  .callout { padding: 14px 16px; }
  .callout b { font-size: 28px; }
  .gallery__thumbs button { width: 64px; height: 64px; }
  .keyspecs div { padding: 14px 16px; }
  .keyspecs b { font-size: 26px; }
  .xsell { text-align: left; }
  .xsell .dimg { width: 80px; }
  .compare th, .compare td { padding: 14px 16px; }
  /* page hero */
  .page-hero { padding: 48px 0 52px; }
  .page-hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .page-hero::before { font-size: 42vw; bottom: -6%; }
  /* forms & panels */
  .panel { padding: 24px 20px; border-radius: var(--radius-md); }
  .accordion details > div { padding-right: 0; }
  .footer__grid { gap: 28px; }
}

/* ---------- Small phones (≤380) ---------- */
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .logo { font-size: 26px; }
  .theme-toggle { width: 40px; height: 40px; }
  .scene__title { font-size: 54px; }
  .chips-glass li:nth-child(n + 4) { display: none; }
  .btn { padding: 0 20px; letter-spacing: .02em; }
  .lcard h3 { font-size: 46px; }
  .lcard__specs { gap: 8px; }
  .lcard__specs b { font-size: 19px; }
  .cbanner h3 { font-size: 44px; }
  .pdp-hero__head h1 { font-size: 60px; }
  .callouts { gap: 8px; }
  .callout b { font-size: 24px; }
  .callout span { font-size: 10px; letter-spacing: .08em; }
  .keyspecs { gap: 8px; }
  .keyspecs b { font-size: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__tabs button em { font-size: 15px; }
}

/* Landscape phones: keep the hero within one screen */
@media (max-height: 520px) and (orientation: landscape) {
  .scene { min-height: 0; }
  .scene__inner { grid-template-columns: 1fr 1fr; padding: 16px 0 90px; }
  .scene__stage { order: 0; max-width: 300px; }
  .scene__title { font-size: 56px; }
  .nav__links { padding-bottom: 80px; }
}

/* ---------- Light theme ---------- */
.is-light {
  color-scheme: light;
  --ink-rgb: 11 11 13;
  --bg-rgb: 246 246 244;
  --surface-rgb: 255 255 255;
  --fg: #0b0b0d;
  --on-fg: #fff;
  --bg: #f6f6f4;
  --bg-2: #eeeeeb;
  --surface: #ffffff;
  --surface-2: #f2f2ef;
  --surface-3: #e8e8e4;
  --text: #0b0b0d;
  --text-2: #4b4b54;
  --muted: #6f6f7a;
  --blue-2: #0f6fd1;
  --ok: #157347;
  --bad: #c62828;
  --shadow: 0 40px 80px -40px rgba(11, 11, 13, .25);
}
.is-dark { color-scheme: dark; color: var(--text); }
.is-light .dimg img { filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .22)); }
.is-light .is-dark .dimg img { filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .55)); }
.is-light .accordion summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230b0b0d' stroke-width='1.6'/%3E%3C/svg%3E"); }
.is-light .field select, .is-light .search--select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b0b0d' stroke-width='1.5'/%3E%3C/svg%3E"); }
.is-light .nav__toggle span { background: var(--fg); }
.is-light .flavor::before { opacity: .22; }
.is-light .lcard, .is-light .tile, .is-light .panel, .is-light .flavor, .is-light .bento__item, .is-light .keyspecs div, .is-light .compare { box-shadow: 0 1px 2px rgba(11, 11, 13, .04), 0 20px 40px -30px rgba(11, 11, 13, .25); }
.is-light .grain::after { display: none; }

/* Required warnings stay black-on-white in every theme */
.warning-bar, .footer__warn { background: #fff !important; color: #000 !important; }

/* ---------- Theme toggle ---------- */
.theme-toggle { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); transition: background .2s, border-color .2s, transform .3s var(--ease); }
.theme-toggle:hover { border-color: var(--fg); background: rgb(var(--ink-rgb) / .06); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { position: absolute; width: 20px; height: 20px; transition: transform .5s var(--ease), opacity .3s; }
.theme-toggle .sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.is-light .theme-toggle .sun { opacity: 1; transform: none; }
.is-light .theme-toggle .moon { opacity: 0; transform: rotate(90deg) scale(.5); }
.nav__tools { display: flex; align-items: center; gap: 10px; }
@media (min-width: 1024px) { .nav__tools { order: 2; } }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .4s ease, color .4s ease, border-color .4s ease, fill .4s ease !important; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .nav, .age-gate, .footer__news, .marquee, .band, .hero__ui { display: none !important; } body { background: var(--fg); color: var(--on-fg); } }

/* ==========================================================================
   Statement: floating devices + gradient sign-off
   ========================================================================== */
.statement { position: relative; overflow: hidden; isolation: isolate; }
.statement__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.statement__glow { position: absolute; left: 50%; top: 50%; width: min(900px, 90vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 22%, transparent), color-mix(in srgb, var(--mint) 10%, transparent) 60%, transparent); filter: blur(30px); }
.statement__dev { position: absolute; width: clamp(70px, 8vw, 120px); opacity: .9; animation: float 8s ease-in-out infinite; }
.statement__dev--a { left: 5%; top: 12%; rotate: -18deg; }
.statement__dev--b { right: 6%; top: 8%; width: clamp(60px, 6.4vw, 96px); rotate: 14deg; animation-delay: -2s; }
.statement__dev--c { left: 10%; bottom: 8%; width: clamp(56px, 6vw, 90px); rotate: 12deg; animation-delay: -4s; filter: blur(1.5px); opacity: .7; }
.statement__dev--d { right: 11%; bottom: 10%; rotate: -10deg; animation-delay: -6s; }
.statement__text .w { display: inline-block; transition: opacity .35s, transform .5s var(--ease); transform: translateY(6px); }
.statement__text .w.is-on { transform: none; }
.statement__text .w:nth-last-child(-n + 2) { background: linear-gradient(90deg, var(--blue), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
@media (max-width: 959px) {
  .statement__dev--c, .statement__dev--d { display: none; }
  .statement__dev--a { left: -2%; top: 4%; }
  .statement__dev--b { right: -1%; top: auto; bottom: 4%; }
  .statement__dev { opacity: .45; }
}

/* ==========================================================================
   Home FAQ: two columns, card accordion
   ========================================================================== */
.faq-home { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) {
  .faq-home { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; }
  .faq-home__head { position: sticky; top: calc(var(--nav-h) + 32px); }
}
.faq-home__head .section__title { margin-bottom: 16px; }
.faq-home__head .lead { max-width: 420px; margin-bottom: 32px; }
.faq-home__card { position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius-md); border: 1px solid var(--line); background: linear-gradient(140deg, color-mix(in srgb, var(--blue) 16%, var(--surface)), var(--surface) 60%); }
.faq-home__card::after { content: "?"; position: absolute; right: 14px; top: -14px; font-family: var(--display); font-size: 150px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--ink-rgb) / .08); pointer-events: none; }
.faq-home__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--fg); color: var(--on-fg); margin-bottom: 18px; }
.faq-home__card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; letter-spacing: .01em; margin-bottom: 6px; }
.faq-home__card p { color: var(--text-2); margin-bottom: 20px; }
.accordion--cards { display: grid; gap: 12px; }
.accordion--cards details, .accordion--cards details:first-child { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: border-color .3s, box-shadow .3s, background .3s; }
.accordion--cards details:hover { border-color: var(--line-2); }
.accordion--cards details[open] { border-color: color-mix(in srgb, var(--blue) 55%, transparent); box-shadow: 0 24px 50px -32px color-mix(in srgb, var(--blue) 60%, transparent); }
.accordion--cards summary { padding: 22px 24px; gap: 18px; justify-content: flex-start; }
.accordion--cards summary::after { margin-left: auto; }
.accordion--cards details[open] summary::after { background-color: var(--blue); border-color: var(--blue); }
.acc__num { flex: none; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .04em; color: var(--muted); min-width: 30px; transition: color .3s; }
.accordion--cards details[open] .acc__num { color: var(--blue-2); }
.accordion--cards details > div { padding: 0 24px 24px 72px; }
.accordion--cards details > div p { margin: 0; }
@media (max-width: 599px) {
  .accordion--cards summary { padding: 18px; gap: 12px; }
  .accordion--cards details > div { padding: 0 18px 20px; }
  .acc__num { font-size: 18px; min-width: 24px; }
  .faq-home__card { padding: 22px; }
}

/* ==========================================================================
   Light theme: bright hero + showcase, footer polish
   ========================================================================== */
.is-light .hero.is-dark,
.is-light .showcase.is-dark {
  color-scheme: light;
  --ink-rgb: 11 11 13; --bg-rgb: 239 239 235; --surface-rgb: 255 255 255;
  --fg: #0b0b0d; --on-fg: #fff;
  --bg: #efefeb; --bg-2: #e8e8e3; --surface: #fff; --surface-2: #f2f2ef; --surface-3: #e8e8e4;
  --text: #0b0b0d; --text-2: #4b4b54; --muted: #6f6f7a; --blue-2: #0f6fd1;
}
.is-light .hero .scene__bg { background: radial-gradient(60% 70% at 72% 52%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), radial-gradient(40% 50% at 10% 10%, #fff, transparent 70%), linear-gradient(180deg, #f6f6f3, #e9e9e4); }
.is-light .scene__title span { -webkit-text-stroke-color: var(--fg); }
.is-light .hero__ui { background: linear-gradient(transparent, rgb(255 255 255 / .55)); }
.is-light .hero { --accent-ui: var(--fg); }
.is-light .hero .stage__dev--l, .is-light .hero .stage__dev--r { filter: brightness(.95) saturate(.9) blur(1px); }
.is-light .hero .dimg img, .is-light .showcase .dimg img { filter: drop-shadow(0 34px 34px rgb(30 30 50 / .28)); }
.is-light .hero .reflect img, .is-light .showcase .reflect img { -webkit-box-reflect: below 2px linear-gradient(transparent 76%, rgb(0 0 0 / .14)); }
.is-light .hero .glow, .is-light .showcase__glow { opacity: .28; }
.is-light .hero .beam { opacity: .5; }
.is-light .scene__kicker::before { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.is-light .showcase { background: radial-gradient(60% 80% at 25% 50%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), linear-gradient(180deg, #f3f3f0, #e8ece8); }
.is-light .showcase .srow b { color: #12955f; }
.is-light .statement__dev img { filter: drop-shadow(0 20px 22px rgb(0 0 0 / .18)); }
.is-light .accordion--cards details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E"); }
.is-light .accordion--cards details { box-shadow: 0 1px 2px rgb(11 11 13 / .04); }
.is-light .faq-home__card { background: linear-gradient(140deg, #dcecff, #fff 62%); }
.footer .logo { color: #fff; }


/* ==========================================================================
   Scroll story: pinned product reveal driven by scroll (--a, --b, --c set in main.js)
   ========================================================================== */
.story { --a: 1; --b: 1; --c: 1; position: relative; background: #050507; }
.story.is-live { --a: 0; --b: 0; --c: 0; height: 340vh; }
.story__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; }
.story.is-live .story__pin { position: sticky; top: 0; }
.story__bg { position: absolute; inset: 0; z-index: -4; background:
  radial-gradient(42% 38% at 50% 40%, color-mix(in srgb, var(--accent) 55%, #fff 8%), transparent 70%),
  linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, #08080c) 0%, color-mix(in srgb, var(--accent) 38%, #0c0c12) 58%, color-mix(in srgb, var(--accent) 55%, #050507) 100%); }
.story__hills span { position: absolute; z-index: -3; border-radius: 50% 50% 0 0 / 100% 100% 0 0; height: 70vh; transform: translateY(calc((1 - var(--b)) * (14vh + var(--k) * 9vh))); }
.story__hills span:nth-child(1) { --k: 0; left: -20%; right: 35%; bottom: -46vh; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 52%, #1a1a22), #050507 60%); }
.story__hills span:nth-child(2) { --k: 1; left: 30%; right: -25%; bottom: -50vh; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 38%, #121218), #050507 55%); }
.story__hills span:nth-child(3) { --k: 2; left: -40%; right: -40%; bottom: -58vh; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 24%, #0a0a0f), #050507 45%); box-shadow: inset 0 2px 0 rgb(255 255 255 / .08); }
.story__curtain { position: absolute; inset: 0; z-index: -1; background: #050507; opacity: calc(.9 * (1 - var(--b))); pointer-events: none; }
.story__num { position: absolute; z-index: -2; left: 50%; top: 50%; margin: 0; text-align: center; white-space: nowrap; pointer-events: none; line-height: .8;
  opacity: var(--b);
  transform: translate(-50%, calc(-50% + (1 - var(--b)) * 6vh - var(--c) * 17vh)) scale(calc(1.18 - var(--b) * .18 - var(--c) * .3)); }
.story__digits { display: block; font-family: var(--display); font-size: clamp(130px, 30vw, 500px); letter-spacing: -.005em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 30%, #fff) 0%, var(--accent) 48%, color-mix(in srgb, var(--accent) 50%, #000) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__digits b { font-weight: inherit; }
.story__num small { display: block; margin-bottom: 1.6em; font-size: clamp(12px, 1.1vw, 15px); font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: rgb(255 255 255 / .8); }
.story__dev { position: absolute; z-index: 1; left: 50%; top: 50%; width: clamp(120px, 16vw, 240px); pointer-events: none;
  transform: translate(-50%, calc(-50% + var(--dy, 0vh) + (1 - var(--b)) * 16vh - var(--c) * 5vh)) rotate(calc(-28deg + var(--b) * 12deg)) scale(calc(.92 + var(--b) * .1 - var(--c) * .14));
  filter: brightness(calc(.28 + var(--b) * .72)); }
.story__dev .dimg { animation: float 6s ease-in-out infinite; }
.story__dev img { width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgb(0 0 0 / .55)); }
.story__intro { position: absolute; z-index: 2; inset-inline: 0; top: 50%; padding: 0 var(--gutter); text-align: center; pointer-events: none;
  opacity: calc(1 - var(--a)); transform: translateY(calc(-50% - var(--a) * 80px)); filter: blur(calc(var(--a) * 8px)); }
.story__kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 55%, #fff); }
.story__title { margin: 0 auto; max-width: 13ch; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(46px, 8vw, 128px); line-height: .92;
  background: linear-gradient(180deg, #fff 20%, color-mix(in srgb, var(--accent) 50%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__end { position: absolute; z-index: 2; inset-inline: 0; bottom: clamp(22px, 5vh, 56px); display: grid; justify-items: center; gap: 16px; padding: 0 var(--gutter); opacity: var(--c); pointer-events: none; }
.story.is-end .story__end, .story:not(.is-live) .story__end { pointer-events: auto; }
.story__stats { list-style: none; margin: 0; padding: 0; width: min(760px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.story__stats li { --s: clamp(0, calc(var(--c) * 2 - var(--k) * .45), 1); opacity: var(--s); transform: translateY(calc((1 - var(--s)) * 30px));
  padding: 16px 14px; border-radius: var(--radius-sm); text-align: center; background: rgb(10 10 14 / .42); border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.story__stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.2vw, 44px); line-height: 1; color: #fff; }
.story__stats span { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
.story__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.story__fine { margin: 0; font-size: 11px; color: rgb(255 255 255 / .5); }
.story__hint { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgb(255 255 255 / .6); opacity: calc(1 - var(--a) * 3); pointer-events: none; }
.story__hint span { width: 1px; height: 40px; background: linear-gradient(#fff, transparent); animation: storyHint 1.8s var(--ease) infinite; }
.story:not(.is-live) .story__hint { display: none; }
@keyframes storyHint { 0% { transform: translateY(-50%) scaleY(0); } 50% { transform: none; } 100% { transform: translateY(50%) scaleY(0); } }
@media (max-width: 599px) {
  .story__digits { font-size: 34vw; }
  .story__dev { width: 26vw; --dy: 9vh; }
  .story__stats { gap: 8px; }
  .story__stats li { padding: 12px 6px; }
  .story__stats span { font-size: 10px; letter-spacing: .08em; }
  .story__cta .btn { flex: 1 1 0; padding-inline: 12px; }
}
@media (max-height: 640px) { .story__fine { display: none; } .story__stats li { padding: 10px 6px; } }

/* ==========================================================================
   Flavors page: hero with 3D device ring + richer library
   ========================================================================== */
.fhero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(36px, 5vw, 80px) 0 clamp(32px, 5vw, 72px); border-bottom: 1px solid var(--line); background: var(--bg); }
.fhero__blobs span { position: absolute; z-index: -1; width: 44vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; background: var(--c); filter: blur(100px); opacity: .26; animation: blob 18s ease-in-out infinite; animation-delay: calc(var(--i) * -4.5s); }
.fhero__blobs span:nth-child(1) { left: -12%; top: -30%; }
.fhero__blobs span:nth-child(2) { right: -8%; top: -20%; }
.fhero__blobs span:nth-child(3) { left: 28%; bottom: -50%; }
.fhero__blobs span:nth-child(4) { right: 6%; bottom: -40%; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(6vw, 5vh) scale(1.15); } 66% { transform: translate(-5vw, -4vh) scale(.9); } }
.fhero__inner { display: grid; gap: 12px; align-items: center; }
@media (min-width: 960px) { .fhero__inner { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.fhero__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 8vw, 120px); line-height: .9; margin-bottom: 22px; }
.fhero__title span { background: linear-gradient(90deg, #ff6b9a, #ffb020 30%, #4fcf9c 60%, #3d7dff 80%, #ff6b9a); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 8s linear infinite; }
@keyframes gradShift { to { background-position: -200% 0; } }
.fhero__intro { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 560px; margin: 0; }
.fhero__stats { list-style: none; padding: 0; margin: 30px 0; display: flex; gap: clamp(24px, 4vw, 52px); }
.fhero__stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.fhero__stats span { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fhero__jump { display: flex; flex-wrap: wrap; gap: 8px; }
.fhero__jump a { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--text-2); background: rgb(var(--ink-rgb) / .03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: .2s; }
.fhero__jump a:hover { background: var(--fg); border-color: var(--fg); color: var(--on-fg); }
.is-light .fhero__blobs span { opacity: .2; }

.flib { padding-top: clamp(36px, 5vw, 64px); }
.fbar__sentinel { height: 1px; }
@media (min-width: 900px) {
  .fbar { position: sticky; top: var(--nav-h); z-index: 20; padding-top: 14px; margin-bottom: 6px; }
  .fbar::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: rgb(var(--bg-rgb) / .82); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
  .fbar.is-stuck::before { opacity: 1; }
  .flavor-controls .search-wrap { grid-column: 1 / -1; }
}
@media (min-width: 1200px) { .flavor-controls { grid-template-columns: auto minmax(0, 1fr) 240px; } .flavor-controls .search-wrap { grid-column: auto; } }
.search-wrap { position: relative; }
.search-wrap__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-wrap .search { padding-left: 46px; }
.chip__n { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); font-size: 11px; letter-spacing: 0; }
.chip.is-empty { opacity: .4; }
.chip[data-line]:not([data-line="all"])::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--c); vertical-align: middle; box-shadow: 0 0 10px var(--c); }

/* richer flavor cards */
.flavor::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--c) 20%, transparent), transparent); opacity: .55; transition: opacity .4s; }
.flavor:hover::after { opacity: 1; }
.flavor__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.flavor--link { text-decoration: none; color: inherit; }
.flavor-grid--lib .flavor { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; }
.flavor-grid--lib .flavor:hover { --ty: -6px; transition: transform .15s linear, border-color .3s, box-shadow .4s; box-shadow: 0 34px 60px -34px color-mix(in srgb, var(--c) 70%, transparent); }
.flavor-grid--lib .flavor:hover .flavor__glare { opacity: 1; }
.flavor.is-enter { animation: flavorIn .55s var(--ease) var(--d, 0ms) backwards; }
@keyframes flavorIn { from { opacity: 0; translate: 0 26px; scale: .96; } }
.flavor__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 10px 0 0; }
.flavor__tags span { padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .06em; color: var(--text-2); background: color-mix(in srgb, var(--c) 16%, transparent); }
.flavor__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.flavor__go .icon { width: 14px; height: 14px; }
.flavor--link:hover .flavor__go, .flavor--link:focus-visible .flavor__go { opacity: 1; transform: none; }
@media (hover: none) { .flavor__go { opacity: .75; transform: none; } }
.empty[hidden] { display: none; }
.empty .btn { margin-top: 4px; }
.fspot { --c: #ff6b9a; position: relative; height: clamp(360px, 40vw, 540px); display: grid; place-items: center; isolation: isolate; }
.fspot__glow { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--c); filter: blur(70px); opacity: .5; transition: background-color .8s var(--ease); z-index: -2; }
.fspot__ring { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(var(--ink-rgb) / .14); z-index: -1; }
.fspot__ring::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px dashed rgb(var(--ink-rgb) / .1); animation: spin 50s linear infinite; }
.fspot__word { position: absolute; z-index: -1; top: 6%; inset-inline: -10%; text-align: center; white-space: nowrap; overflow: hidden; font-family: var(--display); text-transform: uppercase; font-size: clamp(56px, 7vw, 110px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--ink-rgb) / .12); transition: opacity .4s; }
.fspot__stage { position: relative; width: clamp(110px, 12vw, 170px); aspect-ratio: 360 / 470; margin-top: -4%; }
.fspot__item { position: absolute; inset: 0; transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s var(--ease); will-change: transform; }
.fspot__item .dimg { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 28px rgb(0 0 0 / .5)); }
.fspot__item[data-pos="0"] { z-index: 5; transform: none; }
.fspot__item[data-pos="0"] .dimg { animation: float 5s ease-in-out infinite; }
.fspot__item[data-pos="-1"] { z-index: 4; transform: translateX(-88%) scale(.72) rotate(-10deg); opacity: .8; filter: blur(.5px) brightness(.8); }
.fspot__item[data-pos="1"]  { z-index: 4; transform: translateX(88%) scale(.72) rotate(10deg); opacity: .8; filter: blur(.5px) brightness(.8); }
.fspot__item[data-pos="-2"] { z-index: 3; transform: translateX(-155%) scale(.5) rotate(-16deg); opacity: .4; filter: blur(2px) brightness(.65); }
.fspot__item[data-pos="2"]  { z-index: 3; transform: translateX(155%) scale(.5) rotate(16deg); opacity: .4; filter: blur(2px) brightness(.65); }
.fspot__item[data-pos="off"] { z-index: 1; transform: scale(.3); opacity: 0; }
.fspot__label { position: absolute; bottom: 4%; inset-inline: 0; text-align: center; }
.fspot__name { margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.01em; }
.fspot__meta { margin: 4px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.fspot__label.is-swap { animation: rise .5s var(--ease); }
.fspot__bar { position: absolute; bottom: 0; left: 50%; width: 120px; height: 2px; transform: translateX(-50%); border-radius: 2px; background: rgb(var(--ink-rgb) / .12); overflow: hidden; }
.fspot__bar span { display: block; height: 100%; background: var(--c); transform-origin: left; transform: scaleX(0); transition: background-color .8s; }
.fspot.is-playing .fspot__bar span { animation: progress var(--fspot-ms, 2600ms) linear forwards; }
.fspot:hover .fspot__bar span { animation-play-state: paused; }
@media (max-width: 959px) { .fspot { height: clamp(320px, 88vw, 440px); margin-top: 12px; } .fspot__stage { width: clamp(96px, 26vw, 140px); } }
.is-light .fspot__glow { opacity: .35; }
.is-light .fspot__item .dimg { filter: drop-shadow(0 24px 22px rgb(0 0 0 / .2)); }
.fspot__item:not([data-pos="0"]) { cursor: pointer; }

/* Light sections: colour tokens come from .is-light above */
.is-light { background: var(--bg); color: var(--text); }
.is-light.section--tint { background: var(--bg-2); }
.nav { background: rgb(6 6 8 / .9); }

/* ==========================================================================
   Product cards (home lineup): rich "silk" scene + outlined pills
   ========================================================================== */
.pcards { display: grid; gap: 28px; }
@media (min-width: 900px) { .pcards { grid-template-columns: 1fr 1fr; gap: 24px; } }
.pcard { --pc: #2b9bff; display: block; text-decoration: none; color: inherit; }
.pcard__scene { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 10; border-radius: clamp(28px, 3.4vw, 48px);
  background:
    radial-gradient(60% 70% at 30% 20%, color-mix(in srgb, var(--pc) 35%, #fff) 0%, transparent 60%),
    radial-gradient(80% 90% at 85% 100%, color-mix(in srgb, var(--pc) 70%, #000) 0%, transparent 65%),
    linear-gradient(140deg, color-mix(in srgb, var(--pc) 55%, #fff) 0%, var(--pc) 45%, color-mix(in srgb, var(--pc) 55%, #000) 100%);
  box-shadow: 0 40px 70px -40px color-mix(in srgb, var(--pc) 70%, #000); }
/* soft silk folds: blurred diagonal light/shadow bands that drift slowly */
.pcard__silk { position: absolute; inset: -40%; z-index: -1; filter: blur(22px); opacity: .9;
  background:
    repeating-linear-gradient(118deg, transparent 0 60px, rgb(255 255 255 / .38) 95px, transparent 140px, rgb(0 0 0 / .22) 185px, transparent 230px),
    repeating-linear-gradient(64deg, transparent 0 120px, rgb(255 255 255 / .16) 170px, transparent 240px);
  transform: rotate(-6deg); animation: silk 16s ease-in-out infinite alternate; }
@keyframes silk { to { transform: rotate(4deg) translate(4%, -3%) scale(1.06); } }
.pcard__word { position: absolute; z-index: -1; right: -2%; bottom: -12%; font-family: var(--display); font-size: clamp(160px, 22vw, 340px); line-height: .8; color: rgb(255 255 255 / .12); pointer-events: none; }
.pcard__tag { position: absolute; left: clamp(20px, 2.6vw, 34px); top: clamp(20px, 2.6vw, 34px); padding: 8px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pcard__devs { position: absolute; inset: 0; display: grid; place-items: center; }
.pcard__dev { position: absolute; transition: transform .8s var(--ease); }
.pcard__dev img { width: 100%; height: auto; }
.pcard__dev--front { width: 23%; transform: translate(8%, 6%) rotate(-12deg); z-index: 2; }
.pcard__dev--front img { filter: drop-shadow(0 40px 34px rgb(0 0 0 / .45)); animation: float 7s ease-in-out infinite; }
.pcard__dev--back { width: 18%; transform: translate(-72%, -2%) rotate(14deg); z-index: 1; opacity: .9; }
.pcard__dev--back img { filter: blur(1.5px) drop-shadow(0 30px 26px rgb(0 0 0 / .35)); }
.pcard:hover .pcard__dev--front { transform: translate(8%, 2%) rotate(-6deg) scale(1.05); }
.pcard:hover .pcard__dev--back { transform: translate(-80%, -6%) rotate(18deg); }
.pcard__go { position: absolute; right: clamp(20px, 2.6vw, 34px); bottom: clamp(20px, 2.6vw, 34px); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b0b0d; transition: transform .4s var(--ease); }
.pcard__go .icon { width: 20px; height: 20px; }
.pcard:hover .pcard__go { transform: rotate(-45deg) scale(1.06); }
.pcard__body { padding: 26px 6px 0; }
.pcard__body h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.2vw, 46px); line-height: 1; margin: 0 0 8px; }
.pcard__sub { color: var(--text-2); margin: 0 0 18px; }
.pcard__pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pcard__pills li { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--text); font-size: 14px; font-weight: 500; transition: background .25s, color .25s; }
.pcard:hover .pcard__pills li:first-child { background: var(--text); color: var(--bg); }
@media (max-width: 599px) { .pcard__pills li { font-size: 12px; padding: 7px 13px; } .pcard__go { width: 42px; height: 42px; } }
.pcard__dev--front.dimg--4k { width: 19%; } .pcard__dev--back.dimg--4k { width: 15%; }

/* ==========================================================================
   UX polish: mobile menu height, progress line, back-to-top, buy bar
   ========================================================================== */
/* The nav's backdrop-filter makes it the containing block for the fixed menu
   panel, so "bottom: 0" collapsed it to nothing. Give it an explicit height. */
@media (max-width: 1023px) {
  .nav__links { bottom: auto; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); }
}
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, #2b9bff, #3cc98a, #ff6b9a); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.to-top { position: fixed; z-index: 90; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .18); background: rgb(17 17 22 / .85); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 30px -12px rgb(0 0 0 / .6); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, bottom .3s var(--ease); }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #fff; color: #0b0b0d; }
.gate-open .to-top { display: none; }
.buybar { display: none; }
@media (max-width: 899px) {
  .buybar { position: fixed; z-index: 95; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 20px; background: rgb(17 17 22 / .92); color: #fff; border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -16px rgb(0 0 0 / .7); transform: translateY(140%); transition: transform .45s var(--ease); }
  .buybar.is-on { transform: none; }
  .buybar img { width: 28px; height: auto; flex: none; }
  .buybar__name { flex: 1; min-width: 0; line-height: 1.2; }
  .buybar__name b { display: block; font-size: 15px; }
  .buybar__name span { display: block; font-size: 12px; color: rgb(255 255 255 / .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .btn { flex: none; min-height: 40px; }
  .has-buybar .to-top { bottom: 92px; }
}
/* shorter scroll story so it doesn't drag, especially on phones */
.story.is-live { height: 290vh; }
@media (max-width: 599px) { .story.is-live { height: 230vh; } }

/* Phones held sideways: keep the hero's device and buttons on one screen */
@media (max-height: 520px) and (orientation: landscape) {
  .scene__stage { max-width: min(300px, 62vh); align-self: center; }
  .scene__tag { font-size: 15px; margin-bottom: 14px; }
  .chips-glass { display: none; }
  .scene__inner { align-items: center; }
}