/* Purispira site, brand kit v2 (29 Sep 2026): a black gallery, one spotlight per object, a thin blue
   horizon line, brass the only warm colour. Outfit 300 display / 400 text, IBM Plex Mono labels in capitals.
   Two page themes: .t-dark (marketing, default) and .t-light (store pages: ink on paper).
   Radius rule: controls are pills, surfaces 24px, inputs 12px. */

:root {
  --void: #000000;
  --carbon: #07090D;
  --graphite: #10141C;
  --graphite-2: #161B25;
  --line-d: #1E2633;
  --midnight: #0F192D;
  --depth: #30466C;
  --air-blue: #7896C1;
  --air-white: #DAE9F8;
  --brass: #BD9864;
  --ink: #15171A;
  --paper: #F6F3ED;
  --paper-2: #EDE9E1;
  --danger: #E5484D;
  --glow: #7FA8FF;

  --font: "Outfit", "Avenir Next", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --r-surface: 24px;
  --r-input: 12px;
  --nav-h: 52px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --z-subnav: 40; --z-nav: 50; --z-flyout: 60; --z-menu: 70; --z-intro: 90; --z-toast: 80;
}

/* Theme tokens */
.t-dark {
  --bg: var(--void); --bg-2: var(--carbon); --card: var(--graphite); --card-2: var(--graphite-2);
  --fg: var(--air-white); --fg-2: #93A1B5; --fg-3: #66758B;
  --line: var(--line-d); --line-2: #2A3445;
  --accent: var(--air-blue); --accent-strong: #A9C3E6;
  --btn: var(--air-white); --btn-fg: var(--void); --btn-hover: #FFFFFF;
  --nav-bg: rgba(0, 0, 0, .72); --field: var(--graphite); --stage: var(--carbon);
  color-scheme: dark;
}
/* Light: Apple-style near-white with a trace of the kit's Air blue, grey tiles, blue controls. */
.t-light {
  --bg: #FBFCFD; --bg-2: #F4F6F9; --card: #F2F4F7; --card-2: #E9EDF2;
  --fg: var(--ink); --fg-2: #5F6570; --fg-3: #868B94;
  --line: #E3E6EB; --line-2: #D0D5DD;
  --accent: #2E5C9E; --accent-strong: #1F4478;
  --btn: #2E5C9E; --btn-fg: #FFFFFF; --btn-hover: #244E8C;
  --nav-bg: rgba(251, 252, 253, .82); --field: #FFFFFF; --stage: #F2F4F7;
  color-scheme: light;
}
/* White cards on the grey alternate sections, and on the store pages (Apple Store: white cards on light grey) */
.t-light .bg-2 { --card: #FFFFFF; }
body.t-light[data-page-theme="light"] { --bg: #F5F6F8; --card: #FFFFFF; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 60px); background: var(--void); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-weight: 400; font-size: 17px; line-height: 1.5; letter-spacing: .003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--depth); color: var(--air-white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-fg); padding: 10px 16px; border-radius: 999px; font-size: 14px; }
.skip:focus { top: 10px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--fg-2); }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display { font-family: var(--font); font-weight: 300; letter-spacing: -0.025em; margin: 0; }
.h-hero { font-size: clamp(44px, 7.2vw, 104px); line-height: 1.02; letter-spacing: -0.035em; }
.h-xl { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -0.03em; }
.h-lg { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.07; }
.h-md { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; }
.h-sm { font-size: clamp(21px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 400; }
.lede { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.42; color: var(--fg-2); font-weight: 300; letter-spacing: 0; }
.lede strong, .body-lg strong { color: var(--fg); font-weight: 400; }
.body-lg { font-size: 19px; line-height: 1.55; color: var(--fg-2); font-weight: 300; }
.label { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.label.brass { color: var(--brass); }
.fine { font-size: 12px; line-height: 1.55; color: var(--fg-3); }
.brass-t { color: var(--brass); }
.tnum { font-variant-numeric: tabular-nums; }

/* The horizon line: the brand's one line of light */
.horizon { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--air-blue) 18%, var(--glow) 50%, var(--air-blue) 82%, transparent); box-shadow: 0 0 18px 1px rgba(120, 150, 193, .45); opacity: .9; }
.t-light .horizon { box-shadow: none; opacity: .6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 400; letter-spacing: .01em; white-space: nowrap;
  transition: background-color .25s, color .25s, transform .15s var(--ease), border-color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--btn); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.btn-brass { background: var(--brass); color: #16110A; }
.btn-brass:hover { background: #CFAB78; }
.btn-sm { min-height: 32px; padding: 0 15px; font-size: 13px; }
.btn-lg { min-height: 54px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .38; pointer-events: none; }
.link { color: var(--accent); display: inline-flex; align-items: center; gap: 5px; font-weight: 400; transition: color .2s; }
.link:hover { color: var(--accent-strong); }
.link i { font-size: .85em; transition: transform .25s var(--ease); }
.link:hover i { transform: translateX(3px); }
.ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.center .ctas, .ctas.center { justify-content: center; }

/* ---------- Global nav ---------- */
.gn { position: sticky; top: 0; z-index: var(--z-nav); height: var(--nav-h); background: var(--nav-bg); -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px); border-bottom: 1px solid var(--line); }
@media (prefers-reduced-transparency: reduce) { .gn, .subnav { background: var(--bg); } }
.gn-in { max-width: 1080px; margin: 0 auto; height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gn-logo { display: inline-flex; align-items: center; gap: 9px; height: 100%; }
.gn-logo .spira { width: 22px; height: 21px; }
.gn-logo .wm { height: 17px; width: auto; }
.t-dark .wm-ink, .t-light .wm-air, .t-dark .spira-ink, .t-light .spira-air { display: none; }
.gn-links { display: flex; gap: clamp(18px, 3vw, 38px); list-style: none; margin: 0; padding: 0; }
.gn-links a { font-size: 13px; color: var(--fg-2); transition: color .2s; letter-spacing: .02em; }
.gn-links a:hover, .gn-links a[aria-current="page"] { color: var(--fg); }
.gn-tools { display: flex; align-items: center; gap: 4px; }
.gn-icon { position: relative; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 999px; font-size: 20px; color: var(--fg-2); transition: color .2s, background-color .2s; }
.gn-icon:hover { color: var(--fg); background: rgba(120, 150, 193, .1); }
.gn-badge { position: absolute; right: 2px; bottom: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--brass); color: #16110A; font-size: 10px; font-weight: 500; line-height: 16px; text-align: center; transform: scale(0); transition: transform .35s var(--ease); }
.gn-badge.on { transform: scale(1); }
.gn-burger { display: none; }
@media (max-width: 833px) { .gn-links { display: none; } .gn-burger { display: inline-grid; } }

/* Flyouts */
.flyout { position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: var(--z-flyout); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
.flyout.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease); }
.flyout-in { max-width: 1080px; margin: 0 auto; padding: 36px var(--gutter) 44px; display: grid; gap: 20px; }
.flyout h2 { font-size: 30px; }
.fly-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fly-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; }
.fly-item img { width: 56px; height: 70px; object-fit: contain; background: var(--card); border-radius: 12px; }
.fly-item b { font-weight: 400; display: block; font-size: 15px; }
.fly-item span { font-size: 13px; color: var(--fg-2); }
.fly-links { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.fly-links a { font-size: 14px; color: var(--fg-2); display: inline-flex; gap: 10px; align-items: center; transition: color .2s; }
.fly-links a:hover { color: var(--fg); }
.fly-links i { font-size: 18px; }
.scrim { position: fixed; inset: var(--nav-h) 0 0 0; z-index: calc(var(--z-flyout) - 1); background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.t-light .scrim { background: rgba(21, 23, 26, .18); }
.scrim.open { opacity: 1; visibility: visible; transition: opacity .3s; }

.menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: var(--z-menu); background: var(--bg); padding: 24px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
.menu.open { opacity: 1; visibility: visible; transition: opacity .25s; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { opacity: 0; transform: translateY(-6px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 35ms); }
.menu.open li { opacity: 1; transform: none; }
.menu a { display: block; padding: 8px 0; font-weight: 300; font-size: 30px; letter-spacing: -0.02em; }
.menu .menu-small { margin-top: 28px; }
.menu .menu-small a { font-size: 15px; font-weight: 400; color: var(--fg-2); padding: 6px 0; letter-spacing: 0; }

/* ---------- Sub-nav ---------- */
.subnav { position: sticky; top: 0; z-index: var(--z-subnav); background: var(--nav-bg); -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px); border-bottom: 1px solid var(--line); }
.subnav-in { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subnav-title { font-weight: 400; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.subnav-links { display: flex; align-items: center; gap: 24px; }
.subnav-links a:not(.btn) { font-size: 12.5px; color: var(--fg-2); transition: color .2s; }
.subnav-links a:not(.btn):hover { color: var(--fg); }
.subnav-links a[aria-current="page"] { color: var(--fg-3); pointer-events: none; }
@media (max-width: 600px) { .subnav-links a:not(.btn) { display: none; } .subnav-title { font-size: 17px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 12vw, 170px) 0; position: relative; }
.section-tight { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.bg-2 { background: var(--bg-2); }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 34px; }
.measure { max-width: 700px; }
.center .measure { margin-left: auto; margin-right: auto; }

/* ---------- Intro (plays once per session) ---------- */
.intro { position: fixed; inset: 0; z-index: var(--z-intro); background: var(--void); display: grid; place-items: center; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.intro video { width: min(100vw, 177.78vh); height: auto; }
.intro.done { opacity: 0; visibility: hidden; }
.intro-skip { position: absolute; right: 20px; bottom: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); padding: 10px 14px; border-radius: 999px; }
.intro-skip:hover { color: var(--fg); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: calc(100dvh - var(--nav-h)); overflow: hidden; display: grid; grid-template-rows: auto 1fr; justify-items: center; padding-top: clamp(40px, 7vh, 84px); isolation: isolate; }
.hero-copy { text-align: center; padding: 0 var(--gutter); position: relative; z-index: 2; }
.hero-copy .lede { margin-top: 16px; }
.hero-copy .ctas { margin-top: 28px; }
.hero-media { position: absolute; inset: 26% 0 0 0; z-index: 0; }
@media (max-width: 833px) { .hero-media { inset: 34% 0 0 0; } }
.hero-media img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; width: auto; max-width: none; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .35) 26%, rgba(0, 0, 0, 0) 45%), radial-gradient(120% 70% at 50% 100%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .7) 100%); }
@media (max-aspect-ratio: 1/1) { .hero-media img { height: 88%; } }

/* Transparent cut-outs get a spotlight pool and a horizon */
.pool { position: relative; isolation: isolate; }
.pool::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: -2%; height: 48%; z-index: -1; background: radial-gradient(50% 50% at 50% 70%, rgba(48, 70, 108, .55), rgba(48, 70, 108, 0)); filter: blur(10px); }
.pool::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 4.6%; height: 3%; z-index: 2; background: radial-gradient(closest-side, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0)); pointer-events: none; mix-blend-mode: multiply; }
.fx-stage.pool::after, .buy-stage.pool::after { bottom: 9.6%; }
.t-light .pool::before { display: none; }
.t-light .pool::after { background: radial-gradient(closest-side, rgba(21, 23, 26, .32), rgba(21, 23, 26, 0)); }

/* ---------- Product tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-surface); min-height: clamp(580px, 64vw, 780px); display: grid; grid-template-rows: auto 1fr; justify-items: center; text-align: center; padding: clamp(40px, 5vw, 60px) 24px 0; background: var(--card); isolation: isolate; }
.tile h2 { font-size: clamp(34px, 3.8vw, 52px); }
.tile p { margin: 8px 0 0; font-size: clamp(18px, 1.7vw, 21px); color: var(--fg-2); font-weight: 300; }
.tile .ctas { margin-top: 20px; }
.tile-bg { position: absolute; inset: 0; z-index: -1; }
.tile-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.tile-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0) 38%); }
.tile:hover .tile-bg img, .tile:hover .tile-media img { transform: scale(1.03); }
.tile-media { align-self: end; width: 100%; display: flex; justify-content: center; }
.tile-media img { width: auto; height: clamp(360px, 40vw, 560px); object-fit: contain; transition: transform 1.6s var(--ease); }
@media (max-width: 833px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Media frames ---------- */
.frame { border-radius: var(--r-surface); overflow: hidden; background: var(--bg-2); position: relative; }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.ratio-16x9 { aspect-ratio: 16 / 9; } .ratio-4x5 { aspect-ratio: 4 / 5; } .ratio-1 { aspect-ratio: 1 / 1; }
.video-ctrl { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: rgba(16, 20, 28, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--air-white); font-size: 16px; }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 833px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

/* Air steps beside the airflow film */
.air-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; }
.air-steps li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; }
.air-steps li:last-child { border-bottom: 1px solid var(--line); }
.air-steps .label { color: var(--fg-3); }
.air-steps p { margin: 0; font-size: 19px; font-weight: 300; }

/* ---------- Exploded scroll sequence ---------- */
.seq { position: relative; height: 320vh; }
.seq-sticky { position: sticky; top: var(--nav-h); height: calc(100dvh - var(--nav-h)); display: grid; grid-template-rows: auto 1fr auto; align-items: center; overflow: hidden; }
.seq-head { text-align: center; padding: clamp(24px, 5vh, 56px) var(--gutter) 0; }
.seq canvas { width: min(100%, 1500px); height: auto; margin: 0 auto; aspect-ratio: 1600 / 686; }
.seq-foot { text-align: center; padding: 0 var(--gutter) clamp(24px, 5vh, 48px); min-height: 60px; }
.seq-foot p { margin: 0; color: var(--fg-2); font-weight: 300; font-size: 19px; transition: opacity .4s; }

/* ---------- Statement numbers ---------- */
.stat-big { font-weight: 200; font-size: clamp(88px, 14vw, 210px); letter-spacing: -0.06em; line-height: .9; color: var(--fg); }
.stat-big small { font-size: .2em; letter-spacing: 0; color: var(--fg-2); margin-left: 8px; font-weight: 300; }
.stat-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.stat-side { display: grid; gap: 28px; }
.stat-side b { display: block; font-weight: 300; font-size: 48px; letter-spacing: -0.04em; color: var(--air-blue); line-height: 1; }
.stat-side span { color: var(--fg-2); font-size: 15px; }
@media (max-width: 833px) { .stat-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Finish explorer ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.fx-stage { position: relative; border-radius: var(--r-surface); background: radial-gradient(90% 60% at 50% 100%, #111a2b 0%, var(--carbon) 60%); aspect-ratio: 4 / 5; overflow: hidden; }
.t-light .fx-stage { background: var(--stage); }
.fx-stage img { position: absolute; inset: 5% 9%; width: 82%; height: 90%; object-fit: contain; opacity: 0; transform: scale(.985); transition: opacity .7s var(--ease), transform .9s var(--ease); z-index: 1; }
.fx-stage img.on { opacity: 1; transform: none; }
.fx-stage .horizon { position: absolute; left: 0; right: 0; bottom: 9%; }
.fx-name { font-size: 24px; font-weight: 300; min-height: 1.4em; }
@media (max-width: 833px) { .explorer { grid-template-columns: minmax(0, 1fr); } }

.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { min-height: 34px; padding: 0 18px; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--btn); color: var(--btn-fg); }
.swatches { display: flex; gap: 16px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 999px; position: relative; background: var(--c); box-shadow: inset 0 0 0 1px rgba(218, 233, 248, .22); transition: transform .25s var(--ease); }
.t-light .swatch { box-shadow: inset 0 0 0 1px rgba(21, 23, 26, .18); }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 999px; border: 1.5px solid transparent; transition: border-color .2s; }
.swatch[aria-pressed="true"]::after { border-color: var(--fg); }
.swatch:hover { transform: scale(1.07); }
.swatch-lg { width: 44px; height: 44px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cell { position: relative; overflow: hidden; border-radius: var(--r-surface); background: var(--card); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; min-height: 300px; isolation: isolate; }
.cell h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.cell p { margin: 0; color: var(--fg-2); font-size: 16.5px; font-weight: 300; max-width: 40ch; }
.cell-bg { position: absolute; inset: 0; z-index: -1; }
.cell-bg img, .cell-bg video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cell:hover .cell-bg img { transform: scale(1.03); }
.cell-bg.fade-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0) 45%); }
.cell-bg.fade-bottom::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, 0) 50%); }
.cell.end { justify-content: flex-end; }
.cell-icon { font-size: 32px; color: var(--accent); }
.c-2 { grid-column: span 2; } .c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; }
.r-2 { grid-row: span 2; }
.h-tall { min-height: 560px; }
@media (max-width: 833px) { .bento { grid-template-columns: minmax(0, 1fr); } .c-2, .c-3, .c-4, .c-6 { grid-column: auto; } .r-2 { grid-row: auto; } .h-tall { min-height: 460px; } }

/* ---------- Horizontal gallery ---------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 38%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 20px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { border-radius: var(--r-surface); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--card); }
.gallery figcaption { margin-top: 14px; font-size: 15px; color: var(--fg-2); font-weight: 300; max-width: 40ch; }
.gallery figcaption b { color: var(--fg); font-weight: 400; }
.gallery-nav { display: flex; gap: 10px; justify-content: flex-end; }
.round { width: 42px; height: 42px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font-size: 18px; color: var(--fg-2); transition: color .2s, box-shadow .2s; }
.round:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg-3); }
@media (max-width: 833px) { .gallery { grid-auto-columns: 80%; } }

/* ---------- Product page ---------- */
.p-hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); isolation: isolate; }
.p-hero .name { font-size: clamp(21px, 2.2vw, 28px); font-weight: 400; color: var(--fg); }
.p-hero h1 { margin-top: 8px; }
.p-hero .price-line { margin-top: 18px; font-size: 17px; color: var(--fg-2); }
.p-hero .ctas { margin-top: 22px; }
.p-hero-img { margin: clamp(10px, 2vw, 30px) auto 0; width: min(100%, 980px); display: flex; justify-content: center; }
.p-hero-img img { width: auto; height: min(76vh, 880px); object-fit: contain; }

.spin-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.spin { position: relative; border-radius: var(--r-surface); background: var(--void); aspect-ratio: 4 / 5; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: inset 0 0 0 1px var(--line); }
.spin:active { cursor: grabbing; }
.spin img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.spin-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: rgba(16, 20, 28, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); transition: opacity .5s; }
.spin.used .spin-hint { opacity: 0; }
.spin-loading { position: absolute; left: 0; bottom: 0; height: 1px; background: var(--air-blue); box-shadow: 0 0 10px var(--air-blue); transition: width .2s, opacity .5s; }
@media (max-width: 833px) { .spin-wrap { grid-template-columns: minmax(0, 1fr); } }

/* How it works: sticky image, stepping copy */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); }
.how-media { position: sticky; top: calc(var(--nav-h) + 76px); align-self: start; border-radius: var(--r-surface); background: radial-gradient(90% 60% at 50% 100%, #111a2b 0%, var(--carbon) 60%); aspect-ratio: 4 / 5; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.how-media img { position: absolute; inset: 6% 10%; width: 80%; height: 88%; object-fit: contain; }
.how-step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .6s var(--ease); }
.how-step.on { opacity: 1; }
.how-step h3 { font-size: clamp(30px, 3.4vw, 46px); margin: 12px 0 14px; }
.how-step p { margin: 0; font-size: 19px; color: var(--fg-2); font-weight: 300; max-width: 32ch; }
.air { position: absolute; inset: 0; pointer-events: none; }
.air .band { position: absolute; left: 7%; right: 7%; display: flex; justify-content: space-between; opacity: 0; transition: opacity .6s var(--ease); }
.air .band i { font-size: 30px; filter: drop-shadow(0 0 8px currentColor); }
.air .band.in { top: 64%; color: #C9B8A0; }
.air .band.out { top: 36%; color: var(--glow); }
.air .band.filter { top: 72%; justify-content: center; color: var(--air-white); }
.air .band.fan { top: 46%; justify-content: center; color: var(--air-white); }
.how-media[data-step="1"] .band.in, .how-media[data-step="2"] .band.filter, .how-media[data-step="3"] .band.fan, .how-media[data-step="4"] .band.out { opacity: 1; }
.air .band.in i:first-child, .air .band.out i:last-child { animation: nudgeR 1.8s var(--ease) infinite; }
.air .band.in i:last-child, .air .band.out i:first-child { animation: nudgeL 1.8s var(--ease) infinite; }
.air .band.filter i, .air .band.fan i { animation: nudgeU 1.8s var(--ease) infinite; }
@keyframes nudgeR { 0% { transform: translateX(-6px); opacity: .25; } 60% { opacity: 1; } 100% { transform: translateX(9px); opacity: .25; } }
@keyframes nudgeL { 0% { transform: translateX(6px); opacity: .25; } 60% { opacity: 1; } 100% { transform: translateX(-9px); opacity: .25; } }
@keyframes nudgeU { 0% { transform: translateY(9px); opacity: .25; } 60% { opacity: 1; } 100% { transform: translateY(-9px); opacity: .25; } }
@media (max-width: 833px) { .how { grid-template-columns: minmax(0, 1fr); } .how-media { top: calc(var(--nav-h) + 62px); aspect-ratio: 1 / 1; z-index: 1; } .how-step { min-height: 60vh; } }

.rituals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ritual { border-radius: var(--r-surface); background: var(--card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.ritual-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--void); }
.ritual-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.ritual:hover .ritual-img img { transform: scale(1.03); }
.ritual-copy { padding: clamp(26px, 3vw, 42px); }
.ritual-copy h3 { font-size: clamp(24px, 2.4vw, 32px); }
.ritual-copy ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.ritual-copy li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--fg-2); font-size: 16px; font-weight: 300; }
.ritual-copy li::before { content: counter(s); width: 22px; height: 22px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--brass); color: var(--brass); font-family: var(--mono); font-size: 11px; display: grid; place-items: center; margin-top: 2px; }
@media (max-width: 833px) { .rituals { grid-template-columns: minmax(0, 1fr); } }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 72px; }
.feature { display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.feature i { font-size: 30px; color: var(--accent); }
.feature h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.feature p { margin: 6px 0 0; color: var(--fg-2); font-weight: 300; }
@media (max-width: 700px) { .features { grid-template-columns: minmax(0, 1fr); } }

.buyband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.buyband-img img { width: 100%; max-width: 440px; margin: 0 auto; }
@media (max-width: 833px) { .buyband { grid-template-columns: minmax(0, 1fr); text-align: center; } .buyband .ctas, .buyband .swatches { justify-content: center; } }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; }
.cmp-col { text-align: center; }
.cmp-col .cmp-img { height: clamp(300px, 38vw, 500px); display: flex; justify-content: center; }
.cmp-col .cmp-img img { height: 100%; width: auto; }
.cmp-col h2 { font-size: clamp(28px, 3vw, 42px); margin-top: 18px; }
.cmp-col .swatches { justify-content: center; margin-top: 16px; }
.cmp-rows { margin-top: 56px; }
.cmp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding: 30px 0; border-top: 1px solid var(--line); text-align: center; }
.cmp-row h4 { grid-column: 1 / -1; margin: 0 0 -8px; }
.cmp-row div { font-size: 17px; font-weight: 300; color: var(--fg-2); }
.cmp-row div b { display: block; color: var(--fg); font-weight: 400; font-size: 19px; margin-bottom: 4px; }
.cmp-row i { display: block; font-size: 30px; color: var(--accent); margin: 0 auto 10px; }
.cmp-row .same { grid-column: 1 / -1; }

/* ---------- Specs ---------- */
.spec-group { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.spec-group h2 { font-size: 26px; font-weight: 300; }
.spec-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 44px; }
.spec-cards div b { display: block; font-weight: 300; font-size: 32px; letter-spacing: -0.03em; }
.spec-cards div span { color: var(--fg-2); font-size: 15px; font-weight: 300; }
.spec-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; color: var(--fg); font-weight: 300; }
.spec-list li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.spec-list i { color: var(--accent); margin-top: 4px; }
@media (max-width: 833px) { .spec-group { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .spec-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Buy ---------- */
.buy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-top: 40px; padding-bottom: 120px; }
.buy-media { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.buy-stage { position: relative; border-radius: var(--r-surface); background: var(--stage); aspect-ratio: 4 / 5; overflow: hidden; }
.buy-stage img { position: absolute; inset: 5% 9%; width: 82%; height: 90%; object-fit: contain; opacity: 0; transition: opacity .55s var(--ease); }
.buy-stage img.on { opacity: 1; }
.buy-stage img.cover { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buy-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.buy-thumbs button { width: 66px; height: 66px; border-radius: 14px; overflow: hidden; background: var(--stage); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.buy-thumbs button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--fg); }
.buy-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-panel h1 { font-size: clamp(36px, 3.8vw, 52px); }
.buy-step { padding: 30px 0; border-top: 1px solid var(--line); }
.buy-step:first-of-type { border-top: 0; }
.buy-step h2 { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.buy-step h2 span { color: var(--fg-2); font-weight: 300; }
.choices { display: grid; gap: 12px; margin-top: 16px; }
.choice { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); text-align: left; transition: box-shadow .2s; }
.choice:hover { box-shadow: inset 0 0 0 1px var(--fg-3); }
.choice[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.choice b { font-weight: 400; font-size: 17px; display: block; }
.choice span { font-size: 14px; color: var(--fg-2); font-weight: 300; }
.choice .price { font-size: 15px; color: var(--fg); white-space: nowrap; }
.choice.with-img { grid-template-columns: 60px 1fr auto; }
.choice.with-img img { width: 60px; height: 76px; object-fit: contain; }
.buy-finish-name { margin-top: 14px; font-size: 15px; color: var(--fg-2); }
.buy-summary { position: sticky; bottom: 0; margin-top: 12px; padding: 24px 0 8px; background: linear-gradient(to bottom, transparent, var(--bg) 22%); }
.sum-line { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.sum-line b { font-weight: 300; font-size: 32px; letter-spacing: -0.03em; }
.perks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.perks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; color: var(--fg-2); }
.perks i { font-size: 20px; color: var(--fg); }
.perks b { color: var(--fg); font-weight: 400; display: block; }
@media (max-width: 900px) { .buy { grid-template-columns: minmax(0, 1fr); } .buy-media { position: static; } }

/* ---------- Bag ---------- */
.page-head { padding: 64px 0 28px; text-align: center; }
.bag-lines { list-style: none; margin: 0; padding: 0; }
.bag-line { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 28px; padding: 36px 0; border-top: 1px solid var(--line); align-items: start; }
.bag-line img { width: 140px; height: 175px; object-fit: contain; background: var(--stage); border-radius: 16px; }
.bag-line h3 { font-size: 26px; }
.bag-line .meta { color: var(--fg-2); font-size: 15px; margin-top: 4px; }
.bag-line .row { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.bag-line .line-price { font-weight: 300; font-size: 24px; letter-spacing: -0.02em; text-align: right; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; font-size: 16px; border-radius: 999px; }
.qty button:hover { background: var(--bg-2); }
.qty output { min-width: 26px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.textbtn { color: var(--accent); font-size: 15px; }
.textbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.bag-sum { border-top: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; }
.bag-sum dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; font-size: 17px; }
.bag-sum dt { color: var(--fg-2); }
.bag-sum dd { margin: 0; text-align: right; }
.bag-sum .total { font-weight: 300; font-size: 28px; letter-spacing: -0.03em; padding-top: 14px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 40px 0 120px; }
.empty .spira-big { width: 72px; margin: 0 auto 20px; opacity: .5; }
@media (max-width: 700px) {
  .bag-line { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  .bag-line img { width: 96px; height: 120px; }
  .bag-line .line-price { grid-column: 2; text-align: left; }
  .bag-sum { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; color: var(--fg); }
.input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-input); background: var(--field); border: 1px solid var(--line-2); font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(48, 70, 108, .16); }
.t-dark .input:focus { box-shadow: 0 0 0 4px rgba(120, 150, 193, .2); }
.input::placeholder { color: var(--fg-3); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.help { font-size: 13px; color: var(--fg-2); }
.err { font-size: 13px; color: var(--danger); }
.t-light .err { color: #B3261E; }
.err:empty { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fg-2); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--depth); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--fg-3); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.notice { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--fg-2); }
.notice i { font-size: 20px; color: var(--accent); }
.notice b { color: var(--fg); font-weight: 500; }

/* ---------- Auth ---------- */
.auth { max-width: 460px; margin: 0 auto; padding: 72px var(--gutter) 120px; }
.auth-mark { width: 48px; margin: 0 auto 20px; }
.auth h1 { text-align: center; font-size: clamp(32px, 3.4vw, 42px); }
.auth .sub { text-align: center; color: var(--fg-2); margin: 10px 0 30px; font-weight: 300; }
.auth form { display: grid; gap: 16px; }
.auth .alt { text-align: center; font-size: 15px; color: var(--fg-2); margin-top: 22px; }
.email-chip { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: var(--r-input); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }

/* ---------- Account ---------- */
.acct-head { padding: 60px 0 32px; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.acct-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-bottom: 120px; }
.acct-nav { display: grid; gap: 4px; align-self: start; position: sticky; top: calc(var(--nav-h) + 24px); }
.acct-nav button { text-align: left; padding: 10px 14px; border-radius: 12px; font-size: 15px; color: var(--fg-2); display: flex; gap: 10px; align-items: center; }
.acct-nav button i { font-size: 18px; }
.acct-nav button[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.acct-panel h2 { font-size: 30px; margin-bottom: 22px; }
.order { border-radius: var(--r-surface); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: 24px; display: grid; gap: 16px; }
.order + .order { margin-top: 14px; }
.order-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.order-top b { font-size: 19px; font-weight: 400; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--bg-2); font-size: 13px; color: var(--fg); }
.pill i { color: var(--brass); }
.order-items { display: flex; gap: 12px; flex-wrap: wrap; }
.order-items img { width: 60px; height: 75px; object-fit: contain; background: var(--stage); border-radius: 12px; }
@media (max-width: 760px) { .acct-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .acct-nav { position: static; grid-auto-flow: column; overflow-x: auto; } }

/* ---------- Checkout ---------- */
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); gap: clamp(28px, 5vw, 80px); padding-top: 48px; padding-bottom: 120px; }
.co-step { padding: 30px 0; border-top: 1px solid var(--line); }
.co-step:first-child { border-top: 0; padding-top: 0; }
.co-step h2 { font-size: 26px; margin-bottom: 18px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.co-step h2 small { font-size: 14px; color: var(--fg-2); }
.co-side { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; border-radius: var(--r-surface); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; }
.co-side h3 { font-size: 22px; margin-bottom: 16px; }
.co-lines { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.co-lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co-lines img { width: 52px; height: 64px; object-fit: contain; background: var(--stage); border-radius: 10px; }
.co-lines span { color: var(--fg-2); display: block; font-size: 13px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
@media (max-width: 900px) { .co { grid-template-columns: minmax(0, 1fr); } .co-side { position: static; order: -1; } }

/* ---------- Accessories ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-card { border-radius: var(--r-surface); background: var(--card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.product-card .pc-img { aspect-ratio: 1 / 1; background: var(--void); overflow: hidden; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.product-card:hover .pc-img img { transform: scale(1.03); }
.product-card .pc-body { padding: 30px; display: grid; gap: 18px; align-content: space-between; }
.product-card h3 { font-size: 28px; }
.product-card p { margin: 8px 0 0; color: var(--fg-2); font-weight: 300; }
.product-card .pc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-card .pc-foot b { font-size: 20px; font-weight: 400; }
@media (max-width: 760px) { .shop-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Support ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 300; font-size: 22px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 20px; transition: transform .35s var(--ease); flex: none; margin-top: 4px; color: var(--fg-2); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .ans { padding: 0 0 28px; color: var(--fg-2); max-width: 70ch; font-weight: 300; }
.faq .ans p { margin: 0 0 10px; }
.help-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.help-card { border-radius: var(--r-surface); background: var(--card); padding: 30px; display: grid; gap: 10px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.help-card:hover { box-shadow: inset 0 0 0 1px var(--fg-3); transform: translateY(-2px); }
.help-card i { font-size: 30px; color: var(--accent); }
.help-card h3 { font-size: 21px; font-weight: 400; }
.help-card p { margin: 0; color: var(--fg-2); font-size: 15px; font-weight: 300; }
@media (max-width: 833px) { .help-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Updates ---------- */
.updates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; align-items: end; }
.updates form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.updates .status { grid-column: 1 / -1; font-size: 14px; min-height: 20px; color: var(--fg-2); }
@media (max-width: 760px) { .updates { grid-template-columns: minmax(0, 1fr); } .updates form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.gf { background: var(--bg); color: var(--fg-3); font-size: 12px; line-height: 1.55; border-top: 1px solid var(--line); }
.gf-in { max-width: 1080px; margin: 0 auto; padding: 24px var(--gutter) 30px; }
.gf-notes { padding-bottom: 18px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.gf-notes p { margin: 0; }
.gf-cols { display: grid; grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); gap: 24px; padding: 26px 0; }
.gf-brand img { height: 16px; width: auto; }
.gf-brand p { margin: 12px 0 0; max-width: 24ch; }
.gf-cols h3 { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 12px; }
.gf-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.gf-cols a { transition: color .2s; }
.gf-cols a:hover { color: var(--fg); }
.gf-base { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gf-base a:hover { color: var(--fg); }
@media (max-width: 860px) { .gf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gf-brand { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast); transform: translate(-50%, 20px); opacity: 0; display: inline-flex; gap: 12px; align-items: center; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--graphite); color: var(--air-white); font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-d), 0 20px 40px -12px rgba(0, 0, 0, .6); transition: opacity .3s var(--ease), transform .45s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast i { font-size: 18px; color: var(--brass); }
.toast a { color: var(--air-blue); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .rv.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
  .hero-media img { animation: heroIn 2.4s var(--ease) both; }
  .horizon.draw { transform-origin: 50% 50%; animation: draw 1.8s var(--ease) both; animation-delay: .4s; }
  @supports (animation-timeline: view()) {
    .scrub-zoom { animation: zoomIn linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .scrub-rise { animation: riseScrub linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: translateX(-50%) scale(1.06); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes draw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: .9; } }
@keyframes zoomIn { from { transform: scale(.88); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes riseScrub { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .how-step { opacity: 1; }
  .seq { height: auto; } .seq-sticky { position: static; height: auto; }
}

/* ---------- Design-director pass (Fable review, 29 Sep) ---------- */
h1, h2, .h-xl, .h-lg, .h-hero { text-wrap: balance; }
.h-xl { max-width: 16ch; } .center .h-xl, .h-xl.center { margin-left: auto; margin-right: auto; }
.ctas-links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: 19px; }
.ctas-links .link { font-size: inherit; }

/* Home hero: the Jali in Midnight on the horizon */
.hero-cad { position: relative; display: flex; justify-content: center; align-items: flex-end; margin-top: clamp(8px, 2vh, 24px); }
.hero-cad img { height: min(60vh, 680px); width: auto; position: relative; z-index: 1; }
.hero-cad .horizon { position: absolute; left: -10vw; right: -10vw; bottom: 6.2%; z-index: 0; }
.hero-cad::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 70vw; max-width: 900px; height: 70%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 85%, rgba(48, 70, 108, .6), rgba(48, 70, 108, 0)); filter: blur(12px); }

/* Tiles: CAD on graphite, text above, horizon under */
.tile .horizon { position: absolute; left: 0; right: 0; bottom: 7%; z-index: 0; opacity: .7; }
.tile .tile-media { position: relative; z-index: 1; }

/* Delhi numbers in one row */
.delhi-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: end; }
.delhi-row .label { margin-bottom: 14px; }
.delhi-row .n { font-weight: 200; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.delhi-row .n.big { font-size: clamp(96px, 14vw, 210px); color: var(--fg); }
.delhi-row .n.small { font-size: clamp(56px, 6vw, 96px); color: var(--air-blue); }
.delhi-row .u { display: block; margin-top: 12px; color: var(--fg-2); font-size: 15px; font-weight: 300; }
@media (max-width: 760px) { .delhi-row { grid-template-columns: 1fr 1fr; } .delhi-row > :first-child { grid-column: 1 / -1; } }

/* Inside band (product pages point to How it works) */
.inside-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.inside-band ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.inside-band li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--fg-2); font-weight: 300; }
.inside-band li i { color: var(--accent); font-size: 20px; margin-top: 2px; }
@media (max-width: 833px) { .inside-band { grid-template-columns: minmax(0, 1fr); } }

/* Buy: summary in flow, floating bar when it scrolls away */
.buy-summary { position: static; background: none; padding: 30px 0 8px; border-top: 1px solid var(--line); }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-subnav); background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .45s var(--ease); }
.buy-bar.on { transform: none; }
.buy-bar-in { max-width: 1180px; margin: 0 auto; padding: 12px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.buy-bar-in span { font-size: 15px; color: var(--fg-2); }
.buy-bar-in b { font-weight: 400; color: var(--fg); margin-left: 8px; }
.pin-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 16px; }
.pin-msg { margin: 10px 0 0; font-size: 14px; }
.pin-msg.yes { color: #2E6B45; } .pin-msg.no { color: var(--fg-2); }

/* Rituals as films */
.ritual-img video { width: 100%; height: 100%; object-fit: cover; }
.ritual-img { aspect-ratio: 4 / 5; }

/* Reveal the scroll sequence poster before frames load */
.seq { height: 300vh; }
.seq canvas { background: center / contain no-repeat var(--poster, none); }

/* Pro stage on home */
.pro-stage { position: relative; overflow: hidden; }
.pro-stage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.pro-stage:hover img { transform: scale(1.02); }
.pro-copy { position: absolute; left: clamp(24px, 6vw, 96px); top: 50%; transform: translateY(-50%); max-width: 460px; }
@media (max-width: 760px) {
  .pro-stage { aspect-ratio: 4 / 5 !important; }
  .pro-stage img { object-position: 78% 50% !important; }
  .pro-copy { top: auto; bottom: 28px; transform: none; right: 24px; }
}

/* Compare: three models */
.compare.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.cmp-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) {
  .compare.three { grid-template-columns: repeat(3, minmax(200px, 1fr)); overflow-x: auto; }
  .cmp-scroll { overflow-x: auto; scrollbar-width: none; }
  .cmp-scroll > * { min-width: 660px; }
}

/* Fixes after review */
.center.measure, .measure.center { margin-left: auto; margin-right: auto; }
.hero-cad img { height: clamp(320px, calc(100dvh - var(--nav-h) - 430px), 700px); }
.p-hero .hero-cad img { height: clamp(360px, calc(100dvh - var(--nav-h) - 420px), 820px); }
@media (max-width: 833px) { .hero-cad img, .p-hero .hero-cad img { height: min(62vh, 520px); } }

/* Exploded CAD sequence: the stack is tall and narrow, so size by height and crop the empty sides */
.seq-sticky { justify-items: center; }
.seq canvas { width: auto !important; max-width: none; height: clamp(320px, calc(100dvh - var(--nav-h) - 190px), 900px); justify-self: center; }
.seq-sticky > canvas { margin: 0 auto; }
.seq-sticky { grid-template-columns: 100%; justify-items: stretch; }
.seq-sticky > canvas { justify-self: center; }
.seq-head, .seq-foot { width: 100%; }

/* ---------- Light version of the marketing pages (toggle in the nav, ?theme=light) ---------- */
.t-dark, .t-light { color: var(--fg); }
.t-dark .theme-toggle .ph-moon, .t-light .theme-toggle .ph-sun { display: none; }
body[data-page-theme="light"] .theme-toggle { display: none; }
body { transition: background-color .5s var(--ease), color .5s var(--ease); }
.t-light .hero-cad::before { background: radial-gradient(40% 30% at 50% 94%, rgba(21, 23, 26, .10), rgba(21, 23, 26, 0)); }
.t-light .fx-stage, .t-light .how-media { background: radial-gradient(90% 60% at 50% 100%, #E7EBF0 0%, var(--stage) 62%); }
.t-light .tile { background: var(--stage); box-shadow: none; }
.t-light .gn-icon:hover { background: rgba(21, 23, 26, .06); }
.t-light .spin { box-shadow: none; }
.t-light .delhi-row .n.small, .t-light .stat-side b { color: var(--accent); }
.t-light .gn-badge { background: var(--accent); color: #FFFFFF; }
.t-light .intro { background: var(--void); }
.t-light .label { color: var(--accent); }
.t-light .label.brass, .t-light .brass-t { color: #8C6A3A; }
.t-light .t-dark .label { color: var(--accent); }
.t-light .t-dark .label.brass { color: var(--brass); }
.t-light .t-dark .horizon { box-shadow: 0 0 18px 1px rgba(120, 150, 193, .45); opacity: .9; }

/* ---------- Store (Apple Store pattern) ---------- */
.store-head { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 3vw, 40px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.store-head h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.02; max-width: 12ch; }
.store-head h1 span { color: var(--fg-2); }
.store-help { display: grid; gap: 10px; font-size: 14px; color: var(--fg-2); }
.store-help a { color: var(--accent); }
.shelf-title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; letter-spacing: -0.015em; margin: clamp(40px, 5vw, 64px) 0 18px; }
.shelf-title span { color: var(--fg-2); font-weight: 300; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 380px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 36px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.shelf-card { scroll-snap-align: start; position: relative; border-radius: var(--r-surface); background: var(--card); padding: 28px 28px 24px; min-height: 500px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 4px 24px rgba(21, 23, 26, .07); transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.shelf-card:hover { transform: scale(1.012); box-shadow: 0 14px 40px rgba(21, 23, 26, .12); }
.shelf-card .label { margin-bottom: 4px; }
.shelf-card h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.015em; }
.shelf-card p { margin: 0; color: var(--fg-2); font-weight: 300; font-size: 15px; }
.shelf-card .shelf-img { flex: 1; display: grid; place-items: center; margin: 12px -28px 0; min-height: 260px; }
.shelf-card .shelf-img img { max-height: 290px; width: auto; object-fit: contain; }
.shelf-card .shelf-img.dark { background: #000; margin-bottom: -24px; }
.shelf-card .shelf-img.dark img { max-height: none; width: 100%; height: 100%; object-fit: cover; }
.shelf-card .price { margin-top: 12px; font-size: 15px; color: var(--fg); }
.shelf-card.wide { grid-column: span 2; }
.why-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 320px); gap: 20px; overflow-x: auto; padding: 8px var(--gutter) 36px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.why-card { border-radius: var(--r-surface); background: var(--card); padding: 28px; min-height: 220px; display: grid; align-content: start; gap: 10px; box-shadow: 0 4px 24px rgba(21, 23, 26, .07); }
.why-card i { font-size: 32px; color: var(--accent); }
.why-card h3 { font-size: 21px; font-weight: 400; }
.why-card p { margin: 0; color: var(--fg-2); font-size: 15px; font-weight: 300; }

/* Item detail page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: 40px 0 100px; }
.pdp-media { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.pdp-stage { border-radius: var(--r-surface); background: #000; aspect-ratio: 1 / 1; overflow: hidden; }
.pdp-stage img { width: 100%; height: 100%; object-fit: cover; }
.pdp-panel h1 { font-size: clamp(34px, 3.6vw, 50px); }
.pdp-price { font-size: 21px; margin-top: 12px; }
.pdp-block { padding: 26px 0; border-top: 1px solid var(--line); }
.pdp-block:first-of-type { margin-top: 28px; }
.pdp-block h2 { font-size: 20px; font-weight: 400; margin-bottom: 12px; }
.pdp-block p { margin: 0 0 10px; color: var(--fg-2); font-weight: 300; }
.fits { display: flex; gap: 12px; flex-wrap: wrap; }
.fits a { display: grid; justify-items: center; gap: 6px; width: 110px; padding: 12px 8px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; text-align: center; }
.fits img { height: 84px; width: auto; }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); } .pdp-media { position: static; } }

/* Model chooser (/buy/) */
.chooser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 100px; }
.chooser a { border-radius: var(--r-surface); background: var(--card); padding: 32px 24px 28px; display: grid; justify-items: center; text-align: center; gap: 8px; box-shadow: 0 4px 24px rgba(21, 23, 26, .07); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.chooser a:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(21, 23, 26, .12); }
.chooser img { height: clamp(260px, 30vw, 380px); width: auto; margin-bottom: 10px; }
.chooser h2 { font-size: 28px; font-weight: 400; }
.chooser p { margin: 0; color: var(--fg-2); font-weight: 300; }
.chooser .btn { margin-top: 12px; }
@media (max-width: 833px) { .chooser { grid-template-columns: minmax(0, 1fr); } }

/* Light: Apple-style pill calls to action in heroes and tiles (first filled, second outlined) */
.t-light :is(.hero, .p-hero, .tile) .ctas-links { gap: 14px; }
.t-light :is(.hero, .p-hero, .tile) .ctas-links .link { min-height: 42px; padding: 0 22px; border-radius: 999px; background: var(--btn); color: var(--btn-fg); font-size: 17px; transition: background-color .25s; }
.t-light :is(.hero, .p-hero, .tile) .ctas-links .link:hover { background: var(--btn-hover); color: var(--btn-fg); text-decoration: none; }
.t-light :is(.hero, .p-hero, .tile) .ctas-links .link + .link { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.t-light :is(.hero, .p-hero, .tile) .ctas-links .link + .link:hover { background: var(--accent); color: #FFFFFF; }
.t-light :is(.hero, .p-hero, .tile) .ctas-links .link i { display: none; }
.t-light .btn-ghost { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.t-light .btn-ghost:hover { background: var(--accent); color: #FFFFFF; box-shadow: none; }
.t-light .spin, .t-light .ritual-img { background: var(--stage); }
.t-light .shelf-card, .t-light .why-card, .t-light .chooser a { box-shadow: 0 2px 16px rgba(21, 23, 26, .05); }
.swap-bg { background: #000; }
.t-light .swap-bg { background: var(--stage); }
.t-light .seq canvas { background-color: transparent; }
.t-light .seq { background: var(--stage); }
.t-light .spin-hint { background: rgba(255, 255, 255, .85); color: var(--fg-2); box-shadow: 0 1px 6px rgba(21, 23, 26, .08); }

/* Pro is shown only in its photographs (New photos, 29 Sep): full-bleed, never as a cut-out */
.fx-stage img.cover, .buy-stage img.cover { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-frame { border-radius: var(--r-surface); overflow: hidden; background: #0B111C; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.pro-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; border-radius: var(--r-surface); overflow: hidden; background: linear-gradient(180deg, #16202E 0%, #05070E 100%); min-height: 560px; }
.pro-split .pro-copy { position: static; transform: none; align-self: center; padding: clamp(28px, 6vw, 88px); max-width: none; }
.pro-split img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .pro-split { grid-template-columns: minmax(0, 1fr); } .pro-split img { aspect-ratio: 1 / 1; height: auto; } }
