/* CigarClub landing page. Tokens follow docs/design-spec.md (Cedar Lounge + Hygrometer). */
:root {
  --bg: #17110D;
  --s1: #231A14;
  --s2: #2E231B;
  --raised: #3A2B20;
  --chip-on: #3A2A1C;
  --line: #3B2D23;
  --line2: #4A3829;
  --bar: #120D0A;
  --tx: #F2E8D9;
  --tx2: #CBBBA6;
  --tx3: #A08E7A;
  --amber: #D9A25A;
  --on-amber: #1C130C;
  --sage: #A9C79B;
  --zone: #3C4A34;
  --warn: #E8875C;
  --warn-bg: #3A2318;
  --warn-line: #6B3A26;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8L3.5 9.7l5.9-.9z'/%3E%3C/svg%3E");
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .88 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: var(--on-amber); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: -999px; top: 12px; z-index: 300; background: var(--amber); color: var(--on-amber); padding: 12px 18px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.skip:focus { left: 16px; }

.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .04em; }
.amber { color: var(--amber); }
.muted { color: var(--tx3); }
.small { font-size: 13px; }

.eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.h2 {
  font: 600 clamp(40px, 5.6vw, 78px)/1.02 var(--serif);
  letter-spacing: -.01em;
  margin-top: 18px;
  text-wrap: balance;
}
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--tx2); max-width: 34em; text-wrap: pretty; }
.fine { font-size: 13px; color: var(--tx3); margin-top: 22px; }
.section-head { max-width: var(--max); margin: 0 auto; }
.section-head .h2 { max-width: 15ch; }
.section-lede { margin-top: 22px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 800 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s, border-color .25s, box-shadow .25s, color .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--amber); color: var(--on-amber); box-shadow: 0 14px 34px -14px rgba(217, 162, 90, .7); }
.btn-primary:hover { background: #E4B06A; box-shadow: 0 18px 40px -12px rgba(217, 162, 90, .8); }
.btn-ghost { border-color: var(--line2); color: var(--tx); background: rgba(35, 26, 20, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--amber); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Grain and progress */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  background-image: var(--noise);
  opacity: .07;
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-1%, 3%); }
  100% { transform: translate(3%, -1%); }
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 95; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #8A5A36, var(--amber)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Age gate */
.gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--gut); background: rgba(10, 7, 5, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.gate[hidden] { display: none; }
.gate-card { max-width: 460px; text-align: center; background: var(--s1); border: 1px solid var(--line); border-radius: 28px; padding: 40px 30px 34px; box-shadow: 0 40px 100px -30px #000; }
.gate-mark { position: relative; display: block; width: 104px; height: 104px; margin: 0 auto 24px; border-radius: 50%; background: var(--amber); overflow: hidden; box-shadow: 0 0 0 6px #F7F0E4; transform: rotate(-4deg); }
.gate-mark img { position: absolute; left: -8px; top: 4px; width: 120px; height: 120px; max-width: none; }
.gate-card h2 { font: 600 34px/1.1 var(--serif); margin: 16px 0 12px; text-wrap: balance; }
.gate-copy { color: var(--tx2); }
.gate-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.gate-no { margin-top: 24px; color: var(--tx2); font: italic 500 22px/1.3 var(--serif); }

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gut);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(18, 13, 10, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: rgba(59, 45, 35, .6); padding-top: 10px; padding-bottom: 10px; }
.nav.is-hidden { transform: translateY(-110%); }
.nav { transition: transform .5s var(--ease), background-color .4s, border-color .4s, padding .4s; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 26px/1 var(--serif); min-height: 44px; }
.brand-mark { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--amber); overflow: hidden; box-shadow: 0 0 0 2px #F7F0E4; }
.brand-mark img { position: absolute; left: -4px; top: 1px; width: 46px; height: 46px; max-width: none; }
.brand em, .end-word em { display: inline-block; transform: rotate(-4deg); font-style: italic; font-weight: 600; color: var(--amber); }
.nav nav { display: flex; gap: 6px; }
.nav nav a { text-decoration: none; color: var(--tx2); font-weight: 600; font-size: 14px; padding: 12px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav nav a:hover { color: var(--tx); background: rgba(46, 35, 27, .7); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px var(--gut) 90px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow {
  position: absolute;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(38% 42% at 72% 46%, rgba(217, 162, 90, .20), transparent 70%),
    radial-gradient(30% 34% at 12% 85%, rgba(232, 135, 92, .10), transparent 70%),
    radial-gradient(60% 50% at 50% 0%, rgba(90, 56, 34, .35), transparent 70%);
  animation: breathe 10s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .75; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
.spot { position: absolute; z-index: -1; left: var(--mx, 70%); top: var(--my, 40%); width: 720px; height: 720px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(217, 162, 90, .09), transparent 62%); pointer-events: none; }
.hero-inner { width: 100%; max-width: var(--max); display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(217, 162, 90, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(217, 162, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 162, 90, 0); } }
.hero-title { font: 600 clamp(58px, 8.6vw, 128px)/.9 var(--serif); letter-spacing: -.025em; margin: 22px 0 26px; }
.hero-title em { font-style: italic; font-weight: 500; color: var(--amber); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 34px; color: var(--tx3); font-size: 14px; font-weight: 600; }
.hero-meta li { display: inline-flex; align-items: center; }
.hero-meta li + li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--line2); margin-right: 14px; }

.js:not(.ready) .hero-copy, .js:not(.ready) .hero-stage { visibility: hidden; }
.hero-stage { position: relative; height: min(720px, 86svh); display: grid; place-items: center; perspective: 1400px; }

/* Phone frame */
.phone {
  --pw: 300px;
  position: relative;
  width: var(--pw);
  padding: calc(var(--pw) * .035);
  border-radius: calc(var(--pw) * .17);
  background: linear-gradient(150deg, #4a3f37 0%, #1d1713 22%, #0b0907 60%, #2a221d 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 236, 210, .14),
    inset 0 0 0 5px #0b0907,
    0 0 0 1px #000,
    0 60px 120px -30px rgba(0, 0, 0, .9),
    0 0 120px -20px rgba(217, 162, 90, .22);
  transform-style: preserve-3d;
}
.phone-screen { position: relative; aspect-ratio: 390 / 844; border-radius: calc(var(--pw) * .135); overflow: hidden; background: var(--bg); isolation: isolate; }
.phone-screen > img, .phone-screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-screen::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 9%; background: linear-gradient(var(--bg) 35%, rgba(23, 17, 13, 0)); z-index: 2; pointer-events: none; }
.status { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 6.2%; display: flex; align-items: center; justify-content: space-between; padding: 0 9.5% 0 12%; font: 700 calc(var(--pw) * .046)/1 var(--sans); color: var(--tx); pointer-events: none; }
.sb { width: 24%; height: 34%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 12'%3E%3Cg fill='%23F2E8D9'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='5' y='5.5' width='3' height='6.5' rx='1'/%3E%3Crect x='10' y='3' width='3' height='9' rx='1'/%3E%3Crect x='15' y='0' width='3' height='12' rx='1'/%3E%3Cpath d='M30.5 3.4a9.4 9.4 0 0 1 12 0l-1.5 1.7a7.1 7.1 0 0 0-9 0z M33.2 6.5a5.2 5.2 0 0 1 6.6 0l-1.5 1.7a2.9 2.9 0 0 0-3.6 0z M36.5 9.6l1.4 1.5-1.4 1.1-1.4-1.1z'/%3E%3Crect x='49.5' y='3' width='14.5' height='6' rx='1.4'/%3E%3Crect x='67.6' y='4.5' width='1.6' height='3' rx='.8'/%3E%3C/g%3E%3Crect x='47.8' y='1.3' width='18.4' height='9.4' rx='2.8' fill='none' stroke='%23F2E8D9' stroke-opacity='.5'/%3E%3C/svg%3E") no-repeat right center / contain; }
.island { position: absolute; z-index: 4; top: 1.45%; left: 50%; width: 31%; height: 3.7%; transform: translateX(-50%); background: #000; border-radius: 999px; pointer-events: none; }
.hero-phone { --pw: clamp(250px, 23vw, 318px); transform: rotateY(-14deg) rotateX(6deg) rotateZ(1.5deg); }

/* Floating widgets */
.float {
  position: absolute;
  z-index: 5;
  background: rgba(35, 26, 20, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(74, 56, 41, .8);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8);
  animation: bob 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes bob { 50% { translate: 0 -10px; } }
.float-gauge { left: 0; top: 18%; width: 196px; display: grid; gap: 8px; animation-delay: -2s; }
.float-island { right: -4%; top: 3%; display: flex; align-items: center; gap: 10px; background: #000; border-color: #000; border-radius: 999px; padding: 7px 18px 7px 7px; animation-delay: -4s; }
.float-island .ring { width: 30px; height: 30px; }
.island-name { font-size: 13px; color: var(--tx2); font-weight: 600; }
.island-time { font: 600 16px/1 var(--mono); color: var(--amber); font-variant-numeric: tabular-nums; }
.float-thirds { right: -2%; bottom: 16%; width: 238px; animation-delay: -1s; }
.ft-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.stars-sm { color: var(--amber); font-family: var(--mono); font-weight: 500; }
.ft-chart { width: 100%; height: auto; }
.ft-axis { display: flex; justify-content: space-between; padding: 0 2px; font-size: 11px; color: var(--tx3); font-weight: 600; }
.float-match { left: 4%; bottom: 14%; display: inline-flex; align-items: center; gap: 10px; background: var(--amber); color: var(--on-amber); border-color: var(--amber); border-radius: 999px; padding: 10px 18px 10px 12px; font-size: 14px; font-weight: 700; animation-delay: -3s; box-shadow: 0 20px 50px -16px rgba(217, 162, 90, .6); }
.float-match svg { width: 22px; height: 22px; }

.label { font: 700 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); }
.gauge-val { font: 500 30px/1 var(--mono); font-variant-numeric: tabular-nums; }
.gauge-val small { font-size: 15px; color: var(--tx2); margin-left: 2px; }
.range { position: relative; height: 6px; border-radius: 3px; background: var(--s2); margin-top: 4px; }
.range .zone { position: absolute; top: 0; bottom: 0; background: var(--zone); border-radius: 3px; }
.range .marker { position: absolute; top: -4px; width: 2px; height: 14px; margin-left: -1px; background: var(--tx); border-radius: 1px; }
.gauge-cap { font: 500 11px/1.2 var(--mono); letter-spacing: .04em; }
.ok { color: var(--sage); }
.warn { color: var(--warn); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--tx3); font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--amber), transparent); background-size: 100% 200%; animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { background-position: 0 -100%; } to { background-position: 0 100%; } }

.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-toggle { position: absolute; left: var(--gut); bottom: 22px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(23, 17, 13, .6); color: var(--tx2); font: 600 13px/1 var(--sans); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.motion-toggle:hover { color: var(--tx); border-color: var(--amber); }
.motion-toggle svg { width: 14px; height: 14px; }
.motion-toggle[aria-pressed="true"] svg rect { display: none; }
.motion-toggle[aria-pressed="true"] svg { background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10-6.5z' fill='%23CBBBA6'/%3E%3C/svg%3E"); }

/* ---------- Flavors marquee ---------- */
.flavors { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, rgba(35, 26, 20, .0), rgba(35, 26, 20, .5)); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; font: italic 500 clamp(52px, 8.4vw, 128px)/1.12 var(--serif); letter-spacing: -.01em; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; padding-right: .5em; }
.marquee-track span::after { content: ''; width: .14em; height: .14em; margin-left: .5em; border-radius: 50%; background: var(--amber); }
.marquee-track .o { color: transparent; -webkit-text-stroke: 1.2px var(--tx3); }

/* ---------- Film ---------- */
.film { padding: 60px var(--gut) clamp(100px, 14vh, 160px); }
.player { max-width: var(--max); margin: 22px auto 0; }
.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 70% 40%, #241a13 0%, #110c09 60%);
  border: 1px solid var(--line);
  box-shadow: 0 70px 140px -50px rgba(0, 0, 0, .95), 0 0 0 6px rgba(35, 26, 20, .5);
}
.player-frame.portrait { aspect-ratio: 4 / 5; }
.stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; transform: scale(var(--s, 1)); }
.stage.portrait { width: 720px; height: 900px; }
.scene { position: absolute; inset: 0; display: flex; align-items: center; gap: 56px; padding: 70px 90px; opacity: 0; visibility: hidden; isolation: isolate; }
.scene::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(48% 62% at 70% 50%, rgba(217, 162, 90, .13), transparent 70%); }
.cap { flex: 0 0 370px; }
.cap-num { font: 500 16px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.cap-title { font: 600 74px/.98 var(--serif); letter-spacing: -.02em; margin: 20px 0 18px; }
.cap-sub { font: 500 22px/1.4 var(--sans); color: var(--tx2); }
.vis { flex: 1; position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stage.portrait .scene { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 34px; padding: 64px 52px; }
.stage.portrait .cap { flex: none; }
.stage.portrait .cap-title { font-size: 70px; }
.stage.portrait .vis { flex: 1; height: auto; }

/* Scene 1 */
.scan-box { position: relative; width: 640px; padding: 40px 0; }
.cigar { width: 640px; height: 140px; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)); }
.vf { position: absolute; width: 34px; height: 34px; border: 0 solid var(--amber); }
.vf.tl { left: 376px; top: 44px; border-left-width: 3px; border-top-width: 3px; border-top-left-radius: 10px; }
.vf.tr { left: 486px; top: 44px; border-right-width: 3px; border-top-width: 3px; border-top-right-radius: 10px; }
.vf.bl { left: 376px; top: 142px; border-left-width: 3px; border-bottom-width: 3px; border-bottom-left-radius: 10px; }
.vf.br { left: 486px; top: 142px; border-right-width: 3px; border-bottom-width: 3px; border-bottom-right-radius: 10px; }
.beam { position: absolute; left: 380px; top: 48px; width: 136px; height: 2px; background: var(--amber); box-shadow: 0 0 18px 4px rgba(217, 162, 90, .6); opacity: 0; }
.reading { font: 500 18px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tx2); margin-top: 8px; }
.match-card { position: absolute; right: 0; bottom: 40px; width: 340px; background: var(--s1); border: 1px solid var(--line2); border-radius: 24px; padding: 22px 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.match-card .mono { font-size: 14px; letter-spacing: .12em; }
.mc-name { font: 600 34px/1.05 var(--serif); margin: 10px 0 6px; }
.mc-meta { color: var(--tx2); font-size: 16px; }
.bar { height: 8px; border-radius: 4px; background: var(--s2); margin-top: 16px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--amber); border-radius: 4px; }
.stage.portrait .scan-box { transform: scale(.94); transform-origin: 50% 0; }
.stage.portrait .s-scan .vis { justify-content: flex-start; }
.stage.portrait .match-card { position: relative; right: auto; bottom: auto; margin-top: 30px; width: 100%; }

/* Scene 2 */
.s-session .vis { flex-direction: row; gap: 54px; }
.ring-wrap { position: relative; width: 300px; height: 300px; flex: none; }
.big-ring { width: 100%; height: 100%; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-center .mono { letter-spacing: .16em; color: var(--tx3); }
.timer { font: 600 80px/1 var(--serif); font-variant-numeric: tabular-nums; margin: 10px 0 8px; }
.ring-third { color: var(--amber); font-weight: 700; font-size: 16px; }
.thirds-col { display: flex; flex-direction: column; gap: 22px; width: 360px; }
.seg { height: 8px; border-radius: 2px; background: var(--s2); overflow: hidden; }
.seg i { display: block; height: 100%; width: 0; background: var(--amber); }
.t-name { font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); margin: 12px 0 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--amber); background: var(--chip-on); color: var(--tx); font-weight: 700; font-size: 16px; }
.stage.portrait .s-session .vis { flex-direction: column; gap: 34px; }
.stage.portrait .ring-wrap { width: 260px; height: 260px; }
.stage.portrait .thirds-col { width: 100%; }

/* Scene 3 */
.entry-card { width: 600px; background: var(--s1); border: 1px solid var(--line); border-radius: 28px; padding: 30px 34px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.entry-card .mono { font-size: 13px; letter-spacing: .1em; }
.ec-name { font: 600 46px/1 var(--serif); margin: 12px 0 12px; }
.ec-stars { display: flex; align-items: center; gap: 6px; }
.ec-stars b { font-size: 18px; margin-left: 10px; font-weight: 500; }
.st { position: relative; width: 30px; height: 30px; background: var(--raised); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.st i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--amber); }
.ec-chart { width: 100%; height: auto; margin: 16px 0 6px; }
.axis-n text, .axis-d text { font: 500 14px var(--mono); }
.ec-quote { font: italic 500 30px/1.25 var(--serif); min-height: 40px; color: var(--tx); }
.caret { display: inline-block; width: 2px; height: 28px; background: var(--amber); vertical-align: -4px; margin-left: 3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ec-tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ec-tags span { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--tx2); font-size: 14px; font-weight: 600; }
.stage.portrait .entry-card { width: 100%; }

/* Scene 4 */
.care-vis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 640px; align-content: center; }
.gtile { background: var(--s1); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 10px; }
.gtile .gauge-val { font-size: 46px; }
.gtile .gauge-val small { font-size: 20px; }
.gtile .label { font-size: 12px; }
.gtile .range { height: 8px; }
.gtile .range .marker { height: 18px; top: -5px; width: 3px; }
.gtile .gauge-cap { font-size: 13px; }
.g-hum { transition: border-color .4s; }
.g-hum.is-warn { border-color: var(--warn-line); background: linear-gradient(var(--warn-bg), var(--s1)); }
.aging { grid-column: span 2; background: var(--s1); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 14px; }
.aging-bar { display: flex; gap: 3px; height: 12px; }
.aging-bar i { flex: var(--w) 1 0; border-radius: 3px; transform-origin: 0 50%; }
.a1 { background: #5A4636; }
.a2 { background: #9C8670; }
.a3 { background: var(--amber); }
.aging-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--tx2); }
.aging-legend span { display: inline-flex; align-items: center; gap: 8px; }
.aging-legend em { font-style: normal; color: var(--tx); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.pack-chip { grid-column: span 2; justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn); font-weight: 700; font-size: 16px; }
.pack-chip svg { width: 20px; height: 20px; }
.stage.portrait .care-vis { width: 100%; }

/* Scene 5 */
.club-vis { display: flex; flex-direction: column; gap: 16px; width: 640px; justify-content: center; align-items: stretch; }
.event-card { position: relative; display: flex; gap: 22px; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-right: 22px; border-right: 1px solid var(--line); font: 500 14px/1.2 var(--mono); color: var(--tx3); letter-spacing: .08em; }
.ev-date b { font: 500 44px/1.1 var(--mono); color: var(--tx); }
.ev-body { flex: 1; }
.ev-name { font: 600 34px/1 var(--serif); }
.ev-meta { color: var(--tx2); font-size: 16px; margin-top: 6px; }
.cap-row { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; letter-spacing: .08em; }
.event-card .bar { margin-top: 8px; height: 6px; }
.event-card .bar i { transition: width .6s var(--ease); }
.avatars { display: flex; margin-top: 14px; padding-left: 8px; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; margin-left: -8px; background: #3E2E21; border: 2px solid var(--s1); display: grid; place-items: center; font: 700 12px/1 var(--sans); color: var(--tx); }
.avatars .me { background: var(--amber); color: var(--on-amber); }
.going-pill { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); color: var(--tx2); font-weight: 700; font-size: 15px; transition: all .3s; }
.going-pill.on { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.group-card { background: var(--s1); border: 1px solid var(--line); border-radius: 24px; padding: 18px 24px; }
.group-chart { width: 100%; height: auto; margin-top: 8px; }
.legend { display: flex; gap: 20px; font-size: 14px; color: var(--tx2); margin-top: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.ln { display: inline-block; width: 22px; border-top: 3px solid var(--amber); }
.ln.avg { border-top: 2px dashed #E8DCC8; }
.ln.mem { border-top: 2px solid #5E4A3A; }
.stage.portrait .club-vis { width: 100%; }
.stage.portrait .label, .stage.portrait .gtile .label { font-size: 21px; }
.stage.portrait .gauge-cap, .stage.portrait .gtile .gauge-cap { font-size: 21px; }
.stage.portrait .cap-sub { font-size: 30px; }
.stage.portrait .cap-num { font-size: 22px; }
.stage.portrait .mc-meta, .stage.portrait .ev-meta { font-size: 24px; }
.stage.portrait .match-card .mono, .stage.portrait .entry-card .mono, .stage.portrait .reading { font-size: 21px; }
.stage.portrait .chips span { height: 50px; padding: 0 20px; font-size: 24px; }
.stage.portrait .t-name { font-size: 21px; }
.stage.portrait .ring-center .mono, .stage.portrait .ring-third { font-size: 22px; }
.stage.portrait .ec-tags span { height: 44px; font-size: 21px; }
.stage.portrait .aging-legend { font-size: 22px; }
.stage.portrait .pack-chip { font-size: 22px; }
.stage.portrait .cap-row { font-size: 20px; }
.stage.portrait .legend { font-size: 21px; }
.stage.portrait .avatars span { width: 52px; height: 52px; font-size: 17px; }
.stage.portrait .going-pill { height: 50px; font-size: 21px; }

/* End card */
.s-end { justify-content: center; }
.s-end::before { background: radial-gradient(40% 50% at 50% 50%, rgba(217, 162, 90, .16), transparent 70%); }
.end { text-align: center; display: flex; flex-direction: column; align-items: center; }
.end-sticker { position: relative; width: 168px; height: 168px; border-radius: 50%; background: var(--amber); overflow: hidden; box-shadow: 0 0 0 9px #F7F0E4, 8px 12px 0 9px rgba(0, 0, 0, .45); transform: rotate(-4deg); }
.end-sticker img { position: absolute; left: -12px; top: 8px; width: 192px; height: 192px; max-width: none; }
.end-word { font: 600 118px/1 var(--serif); letter-spacing: -.02em; margin: 18px 0 10px; }
.end-line-txt { font: italic 500 36px/1.2 var(--serif); color: var(--tx2); margin-bottom: 26px; }
.end .mono { letter-spacing: .2em; font-size: 14px; }
.stage.portrait .end-word { font-size: 96px; }

.film-grain { position: absolute; inset: 0; pointer-events: none; background-image: var(--noise); opacity: .06; mix-blend-mode: screen; }
.film-grain::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55)); }

.big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  border: 0;
  background: var(--amber);
  color: var(--on-amber);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px rgba(217, 162, 90, .18), 0 30px 60px -20px rgba(0, 0, 0, .8);
  transition: transform .4s var(--ease), opacity .4s;
  z-index: 3;
}
.big-play svg { width: 36px; height: 36px; margin-left: 5px; }
.big-play:hover { transform: scale(1.06); }
.player.is-playing .big-play, .player.has-played .big-play { opacity: 0; pointer-events: none; transform: scale(.8); }
.player.has-played:not(.is-playing) .big-play { opacity: 1; pointer-events: auto; transform: none; }
.player.is-playing .big-play { visibility: hidden; }
.player.is-ended .big-play { top: auto; bottom: 26px; width: 64px; height: 64px; margin: 0 0 0 -32px; box-shadow: 0 0 0 8px rgba(217, 162, 90, .18); }
.player.is-ended .big-play svg { width: 26px; height: 26px; margin-left: 3px; }

.controls { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.ctl-play { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); background: var(--s1); display: grid; place-items: center; transition: border-color .2s; }
.ctl-play:hover { border-color: var(--amber); }
.ctl-play svg { width: 20px; height: 20px; }
.ctl-play .i-pause { display: none; }
.player.is-playing .ctl-play .i-pause { display: block; }
.player.is-playing .ctl-play .i-play { display: none; }
.chapters { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.chap { background: none; border: 0; text-align: left; padding: 10px 0 8px; min-height: 44px; color: var(--tx3); font-weight: 700; font-size: 13px; transition: color .2s; }
.chap i { display: block; height: 3px; border-radius: 2px; background: var(--s2); overflow: hidden; margin-bottom: 10px; }
.chap b { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }
.chap.is-on, .chap:hover { color: var(--tx); }
.time { flex: none; font-size: 13px; color: var(--tx3); font-variant-numeric: tabular-nums; }

/* ---------- Story ---------- */
.story { padding: clamp(100px, 14vh, 160px) var(--gut) 60px; }
.story-grid { max-width: var(--max); margin: 30px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; max-width: 500px; transition: opacity .6s var(--ease); }
.has-gsap .step:not(.is-on) { opacity: .22; }
.step-num { font: 500 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--tx3); }
.step-num span { color: var(--amber); }
.step h3 { font: 600 clamp(42px, 4.6vw, 64px)/1 var(--serif); letter-spacing: -.015em; margin: 18px 0 20px; }
.step p:not(.step-num) { color: var(--tx2); font-size: 18px; }
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--chip-on); box-shadow: inset 0 0 0 1px var(--amber); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.step-shot { display: none; }
.story-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.story-phone-wrap { position: relative; display: grid; place-items: center; perspective: 1400px; }
.story-orbit { position: absolute; width: 150%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(217, 162, 90, .22); background: radial-gradient(closest-side, rgba(217, 162, 90, .16), transparent 70%); animation: spin 80s linear infinite; }
.story-orbit::after { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 20px 4px rgba(217, 162, 90, .6); }
@keyframes spin { to { transform: rotate(360deg); } }
.story-phone { --pw: clamp(260px, 25vw, 330px); }
.shot { opacity: 0; transform: scale(1.06) translateY(2%); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.shot.is-on { opacity: 1; transform: none; }
.story-rail { position: absolute; right: -54px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.story-rail i { width: 3px; height: 30px; border-radius: 2px; background: var(--line); transition: background-color .4s, height .4s; }
.story-rail i.is-on { background: var(--amber); height: 46px; }

/* ---------- Live Activity ---------- */
.live { padding: clamp(100px, 14vh, 160px) var(--gut); background: linear-gradient(180deg, transparent, rgba(35, 26, 20, .45) 40%, transparent); }
.live-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.live-copy .lede { margin-top: 22px; }
.seg-ctl { display: inline-flex; background: var(--s1); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 30px; }
.seg-ctl button { min-height: 44px; padding: 0 24px; border-radius: 999px; border: 0; background: none; color: var(--tx3); font-weight: 700; font-size: 15px; transition: background-color .3s, color .3s; }
.seg-ctl button[aria-selected="true"] { background: var(--raised); color: var(--tx); }
.seg-ctl.small { margin-top: 18px; }
.seg-ctl.small button { padding: 0 18px; font-size: 14px; }
.live-stage { display: grid; justify-items: center; gap: 18px; }
.lock { position: relative; width: min(380px, 100%); aspect-ratio: 390 / 640; border-radius: 56px 56px 0 0; overflow: hidden; border: 10px solid #0b0907; border-bottom: 0; box-shadow: 0 0 0 1px #3a322c, 0 60px 120px -40px rgba(0, 0, 0, .9); -webkit-mask: linear-gradient(#000 78%, transparent); mask: linear-gradient(#000 78%, transparent); }
.lock-wall { position: absolute; inset: 0; background:
  radial-gradient(90% 60% at 30% 10%, rgba(217, 162, 90, .35), transparent 60%),
  radial-gradient(80% 60% at 90% 70%, rgba(232, 135, 92, .25), transparent 60%),
  repeating-linear-gradient(97deg, rgba(0, 0, 0, .0) 0 14px, rgba(0, 0, 0, .12) 14px 15px),
  linear-gradient(180deg, #4b2f1d, #24170f 55%, #150e0a); }
.lock-date { position: absolute; top: 15%; width: 100%; text-align: center; font-weight: 700; font-size: 17px; color: rgba(242, 232, 217, .85); transition: opacity .4s; }
.lock-time { position: absolute; top: 19%; width: 100%; text-align: center; font: 800 86px/1 var(--sans); letter-spacing: -.03em; color: rgba(242, 232, 217, .92); transition: opacity .4s; }
.di {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 124px;
  height: 36px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 22px;
  overflow: hidden;
}
.di[data-di="compact"], .di[data-di="paused"] { width: 214px; }
.di[data-di="expanded"] { width: calc(100% - 22px); height: 192px; border-radius: 42px; }
.di-compact { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 7px; transition: opacity .25s; }
.di-compact .ring { width: 24px; height: 24px; }
.di-time { font: 600 15px/1 var(--mono); color: var(--amber); font-variant-numeric: tabular-nums; transition: color .3s; }
.di[data-di="paused"] .di-time { color: var(--tx3); }
.di-expanded { position: absolute; inset: 0; padding: 20px 22px; opacity: 0; transition: opacity .25s; }
.di[data-di="expanded"] .di-compact { opacity: 0; }
.di[data-di="expanded"] .di-expanded { opacity: 1; transition-delay: .2s; }
.di-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.di-small { font-size: 10.5px; color: var(--tx3); letter-spacing: .1em; white-space: nowrap; }
.di-name { font: 600 19px/1.15 var(--serif); margin-top: 6px; }
.di-big { font: 500 26px/1 var(--mono); color: var(--amber); font-variant-numeric: tabular-nums; }
.di-thirds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 14px 0; }
.di-thirds i { height: 6px; border-radius: 2px; background: rgba(242, 232, 217, .14); }
.di-thirds i.f { background: var(--amber); }
.di-thirds i.p { background: linear-gradient(90deg, var(--amber) 42%, rgba(242, 232, 217, .14) 42%); }
.di-btns { display: flex; gap: 8px; }
.di-btn { flex: 1; height: 38px; border-radius: 999px; background: var(--s2); color: var(--tx); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.di-btn.amber { background: var(--amber); color: var(--on-amber); }
.lock-card { position: absolute; left: 4.5%; right: 4.5%; top: 47%; background: rgba(20, 14, 10, .62); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); border: 1px solid rgba(255, 236, 210, .08); border-radius: 26px; padding: 16px 18px; transition: opacity .4s, transform .5s var(--ease); }
.lc-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.lc-top .mono { color: var(--amber); font-size: 15px; }
.lc-app { display: inline-flex; align-items: center; gap: 8px; color: var(--tx2); font-weight: 700; font-size: 13px; }
.lc-icon { width: 20px; height: 20px; border-radius: 5px; display: block; }
.lc-name { font: 600 23px/1.1 var(--serif); margin-top: 8px; }
.lc-sub { font-size: 11px; color: var(--tx3); letter-spacing: .1em; }
.android { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .4s; }
.a-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px 0; }
.a-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--amber); color: var(--on-amber); font: 600 13px/1 var(--mono); }
.a-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--on-amber); animation: pulse-d 1.6s infinite; }
@keyframes pulse-d { 50% { opacity: .35; } }
.a-icons { font-size: 10px; color: var(--tx2); letter-spacing: 4px; }
.a-note { position: absolute; left: 4%; right: 4%; top: 13%; background: rgba(35, 26, 20, .94); border: 1px solid var(--line); border-radius: 28px; padding: 18px; transform: translateY(-16px); transition: transform .6s var(--ease); }
.a-note .di-btn { background: transparent; color: var(--amber); }
[data-platform-stage="android"] .android { opacity: 1; }
[data-platform-stage="android"] .a-note { transform: none; }
[data-platform-stage="android"] .di, [data-platform-stage="android"] .lock-card { opacity: 0; transform: translateY(14px); }
[data-platform-stage="android"] .lock-time, [data-platform-stage="android"] .lock-date { opacity: 0; }
.di { transition: width .6s cubic-bezier(.34, 1.35, .5, 1), height .6s cubic-bezier(.34, 1.35, .5, 1), border-radius .6s, opacity .3s; }
.live-caption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx3); min-height: 1.2em; }

/* ---------- Seal ---------- */
.seal { padding: clamp(100px, 14vh, 160px) var(--gut); }
.seal-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.seal-vis { display: grid; justify-items: center; gap: 26px; }
.seal-strip {
  position: relative;
  width: min(560px, 100%);
  height: 128px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #EFE6D0, #DCCFB2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(0, 0, 0, .12);
  transform: rotate(-3deg);
}
.guilloche { position: absolute; inset: 0; opacity: .9; background:
  repeating-radial-gradient(circle at 30% 50%, transparent 0 5px, rgba(80, 104, 72, .22) 5px 6px),
  repeating-radial-gradient(circle at 72% 50%, transparent 0 5px, rgba(140, 92, 48, .2) 5px 6px),
  linear-gradient(90deg, rgba(120, 140, 100, .15), rgba(190, 140, 80, .18)); }
.barcode { position: absolute; left: 22px; top: 18px; bottom: 18px; width: 176px; background: #F7F2E6; padding: 8px 10px 20px; display: flex; align-items: stretch; gap: 0; border-radius: 3px; }
.barcode b { display: block; background: #1a1410; height: 100%; }
.barcode::after { content: '4471268399150'; position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: 500 10px/1 var(--mono); letter-spacing: .22em; color: #1a1410; }
.seal-beam { position: absolute; top: 10px; bottom: 10px; left: 18px; width: 3px; background: #E8875C; box-shadow: 0 0 14px 4px rgba(232, 135, 92, .7); opacity: 0; }
.holo { position: absolute; right: 26px; top: 50%; width: 84px; height: 84px; margin-top: -42px; border-radius: 50%; background: conic-gradient(from var(--hue, 0deg), #d9a25a, #a9c79b, #7fb6c9, #b39ad6, #e8875c, #d9a25a); filter: saturate(.75) brightness(1.05); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .5), 0 4px 12px rgba(0, 0, 0, .25); overflow: hidden; }
.holo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .8) 48%, transparent 66%); transform: translateX(-120%); animation: sheen 3.2s ease-in-out infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(120%); } }
.seal-code { font-size: clamp(24px, 3vw, 36px); letter-spacing: .16em; color: var(--tx); min-height: 1.3em; }
.seal-steps-vis { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sv { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--tx3); font-size: 13px; font-weight: 700; transition: all .4s; }
.sv.on { border-color: var(--sage); color: var(--sage); background: rgba(60, 74, 52, .35); }
.seal-list { counter-reset: s; margin-top: 30px; display: grid; gap: 22px; }
.seal-list li { counter-increment: s; position: relative; padding-left: 62px; color: var(--tx2); font-size: 17px; }
.seal-list li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--amber); color: var(--amber); display: grid; place-items: center; font: 600 22px/1 var(--serif); }
.seal-list b { color: var(--tx); display: block; font-size: 18px; margin-bottom: 2px; }

/* ---------- Bento ---------- */
.bento-sec { padding: clamp(100px, 14vh, 160px) var(--gut); }
.bento {
  max-width: var(--max);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "climate climate aging pair"
    "climate climate stars privacy"
    "quiet org map map";
  gap: 18px;
}
.tile { position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; padding: 24px; overflow: hidden; min-height: 240px; transition: border-color .3s; isolation: isolate; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(340px circle at var(--x, 50%) var(--y, 50%), rgba(217, 162, 90, .1), transparent 60%); opacity: 0; transition: opacity .3s; }
.tile:hover { border-color: var(--line2); }
.tile:hover::before { opacity: 1; }
.tile-head h3 { font: 600 28px/1.05 var(--serif); }
.tile-head p { color: var(--tx2); font-size: 15px; margin-top: 8px; max-width: 30em; }
.t-climate { grid-area: climate; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.climate-chart { width: 100%; height: auto; }
.cl-now { display: grid; gap: 8px; margin-top: auto; }
.cl-now .gauge-val { font-size: clamp(56px, 6vw, 84px); line-height: .95; }
.cl-now .gauge-val small { font-size: .36em; }
.cl-now .mono { font-size: 12px; letter-spacing: .12em; }
.cl-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--tx2); }
.cl-legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.ok-bg { background: var(--sage); }
.warn-bg { background: var(--warn); }
.band-key { width: 18px; height: 10px; border-radius: 3px; background: var(--zone); }
.t-aging { grid-area: aging; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.aging.big { background: none; border: 0; padding: 0; grid-column: auto; }
.aging.big .aging-bar { height: 16px; }
.aging.big .aging-legend { flex-direction: column; gap: 6px; font-size: 14px; }
.t-pair { grid-area: pair; }
.pair-list { margin-top: 12px; }
.pair-list li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.pair-list b { font: 600 20px/1.1 var(--serif); }
.pair-list span { color: var(--tx3); font-size: 13px; }
.t-stars { grid-area: stars; display: flex; flex-direction: column; }
.rate { display: flex; gap: 0; margin-top: auto; padding-top: 18px; }
.rstar { width: 48px; height: 48px; border: 0; background: none; padding: 7px; border-radius: 12px; }
.rstar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--amber) var(--f, 0%), var(--raised) var(--f, 0%)); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; transition: transform .25s var(--ease); }
.rstar:hover i { transform: scale(1.12); }
.rate-val { color: var(--tx2); font-size: 13px; margin-top: 8px; }
.t-privacy { grid-area: privacy; display: flex; flex-direction: column; }
.share-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 10px 10px 10px 16px; background: var(--s2); border-radius: 16px; font-weight: 700; font-size: 15px; }
.switch { position: relative; width: 52px; height: 44px; border: 0; background: none; padding: 0; flex: none; }
.switch::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 32px; border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line2); transition: background-color .3s; }
.switch i { position: absolute; left: 4px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--tx3); transition: transform .35s var(--ease), background-color .3s; }
.switch[aria-checked="true"]::before { background: var(--amber); box-shadow: none; }
.switch[aria-checked="true"] i { transform: translateX(20px); background: var(--on-amber); }
.share-note { font-size: 11px; color: var(--tx3); margin-top: 10px; letter-spacing: .1em; transition: color .3s; }
.share-note.on { color: var(--amber); }
.t-quiet { grid-area: quiet; display: flex; flex-direction: column; }
.quiet { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.quiet li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--s2); border: 1px solid var(--line); border-radius: 16px; }
.quiet img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.quiet span { display: grid; gap: 1px; min-width: 0; color: var(--tx3); font-size: 13px; line-height: 1.35; }
.quiet b { color: var(--tx); font-size: 14px; font-weight: 700; }
.t-org { grid-area: org; }
.approve { margin-top: 14px; }
.approve li { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.av { width: 34px; height: 34px; border-radius: 50%; background: #3E2E21; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.ok-btn { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: none; color: var(--tx3); display: grid; place-items: center; transition: all .3s var(--ease); }
.ok-btn svg { width: 20px; height: 20px; }
.ok-btn:hover { border-color: var(--sage); color: var(--sage); }
.ok-btn.done { background: var(--sage); border-color: var(--sage); color: var(--bg); }
.t-map { grid-area: map; display: flex; flex-direction: column; gap: 16px; }
.map { position: relative; flex: 1; min-height: 180px; border-radius: 16px; overflow: hidden; background: #1A130F; border: 1px solid var(--line); }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; display: block; transform: translate(-50%, -100%); }
.pin i { display: block; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--amber); box-shadow: 0 0 0 5px rgba(217, 162, 90, .18); }
.pin b { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 800; background: var(--bar); color: var(--tx); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); }

/* ---------- Principles ---------- */
.principles { padding: clamp(100px, 14vh, 160px) var(--gut); }
.never { max-width: var(--max); margin: 50px auto 0; }
.never li { border-top: 1px solid var(--line); padding: 22px 0 24px; font: 600 clamp(30px, 5vw, 72px)/1.08 var(--serif); letter-spacing: -.01em; }
.never li:last-child { border-bottom: 1px solid var(--line); }
.never span {
  --k: 0%;
  background-image: linear-gradient(var(--warn), var(--warn));
  background-repeat: no-repeat;
  background-size: var(--k) .06em;
  background-position: 0 56%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: color .4s;
}
.never li.is-struck span { color: var(--tx3); }
.never-close { max-width: var(--max); margin: 64px auto 0; font: italic 500 clamp(26px, 3.2vw, 44px)/1.2 var(--serif); color: var(--amber); }

/* ---------- Try ---------- */
.try { padding: clamp(100px, 14vh, 160px) var(--gut); }
.try-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.try-copy .lede { margin-top: 22px; }
.try-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; max-width: 520px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--tx2); font-weight: 600; font-size: 14px; transition: all .25s; }
.chip:hover { border-color: var(--line2); color: var(--tx); }
.chip.is-on { border-color: var(--amber); background: var(--chip-on); color: var(--tx); font-weight: 700; }
.try-phone { --pwn: 360; --pw: calc(var(--pwn) * 1px); }
.try-phone iframe { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; transform: scale(calc(var(--pwn) * .93 / 390)); background: var(--bg); }
.try-phone .phone-screen::after { display: none; }

/* ---------- Waitlist ---------- */
.waitlist { position: relative; padding: clamp(120px, 18vh, 200px) var(--gut); text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.wl-band { position: absolute; left: 50%; top: 50%; width: min(1100px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; opacity: .5; }
.wl-band svg { width: 100%; height: 100%; animation: spin 90s linear infinite; }
.wl-band text { font: 500 13.5px var(--mono); letter-spacing: .3em; fill: var(--tx3); }
.waitlist::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(40% 50% at 50% 50%, rgba(217, 162, 90, .14), transparent 70%); }
.wl-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.wl-sticker { position: relative; width: 132px; height: 132px; margin-bottom: 34px; }
.wl-sticker::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 8px #F7F0E4, 7px 10px 0 8px rgba(0, 0, 0, .45); transform: rotate(-5deg); }
.wl-sticker img { position: absolute; left: -10px; top: 6px; width: 152px; height: 152px; max-width: none; clip-path: circle(66px at 76px 60px); }
.wl-sticker span { position: absolute; right: -78px; top: -8px; padding: 6px 16px 9px; border-radius: 999px; background: #F7F0E4; color: #17110D; border: 3px solid #120D0A; box-shadow: 4px 4px 0 #120D0A; font: italic 600 26px/1 var(--serif); transform: rotate(9deg); white-space: nowrap; }
.wl-title { font: 600 clamp(64px, 10vw, 150px)/.92 var(--serif); letter-spacing: -.025em; margin: 22px 0 24px; }
.wl-inner .lede { margin: 0 auto; }
.wl-form { display: flex; gap: 8px; width: 100%; max-width: 540px; margin-top: 36px; padding: 6px; background: var(--s1); border: 1px solid var(--line2); border-radius: 999px; transition: border-color .25s, box-shadow .25s; }
.wl-form:focus-within { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(217, 162, 90, .14); }
.wl-form input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; background: transparent; border: 0; color: var(--tx); font: 500 16px var(--sans); outline: none; }
.wl-form input::placeholder { color: var(--tx3); }
.wl { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 540px; margin-top: 36px; }
.wl .wl-form { margin-top: 0; }
.wl-form .btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.wl-age { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 16px; padding: 4px 10px 4px 4px; border-radius: 12px; color: var(--tx2); font-weight: 600; font-size: 15px; text-align: left; cursor: pointer; }
.wl-age input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wl-age i { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; border: 1.5px solid var(--line2); background: var(--s1); color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.wl-age i svg { width: 18px; height: 18px; }
.wl-age:hover i { border-color: var(--tx3); }
.wl-age input:checked + i { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.wl-age input:focus-visible + i { outline: 2px solid var(--amber); outline-offset: 3px; }
.wl-age input[aria-invalid="true"] + i { border-color: var(--warn); }
.wl-note { margin-top: 6px; color: var(--tx3); font-size: 14px; }
.wl-check { display: flex; justify-content: center; width: 100%; }
.wl-check:not(:empty) { margin-top: 14px; }
.wl-msg { min-height: 1.6em; margin-top: 16px; font-weight: 700; color: var(--sage); text-wrap: pretty; }
.wl-msg.err { color: var(--warn); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px var(--gut) 44px; }
.foot-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot nav a { text-decoration: none; color: var(--tx3); font-weight: 600; font-size: 14px; padding: 12px 10px; }
.foot nav a:hover { color: var(--tx); }
.foot .mono { font-size: 12px; letter-spacing: .14em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav nav { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "climate climate" "aging pair" "stars privacy" "quiet org" "map map"; }
}
@media (max-width: 960px) {
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero-stage { height: 620px; }
  .hero-phone { --pw: 270px; transform: rotateY(-8deg) rotateX(4deg); }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-sticky { display: none; }
  .step { min-height: 0; padding: 50px 0; max-width: none; border-top: 1px solid var(--line); }
  .step, .has-gsap .step:not(.is-on) { opacity: 1; }
  .step-shot { display: block; width: min(300px, 78vw); height: auto; margin-top: 34px; border-radius: 34px; border: 8px solid #0b0907; box-shadow: 0 0 0 1px #3a322c, 0 40px 80px -30px #000; }
  .live-grid, .seal-grid, .try-grid { grid-template-columns: 1fr; gap: 50px; }
  .seal-vis { order: 2; }
  .try-stage { justify-self: center; }
}
@media (max-width: 640px) {
  .controls { flex-wrap: wrap; gap: 12px; }
  .chapters { order: 3; flex-basis: 100%; }
  .chap span { font-size: 12px; }
  .time { margin-left: auto; }
  .player-frame { border-radius: 20px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "climate" "aging" "pair" "stars" "privacy" "quiet" "org" "map"; }
  .hero-stage { height: 560px; margin: 0 -8px; }
  .hero-phone { --pw: 240px; }
  .float { transform-origin: center; }
  .float-gauge { width: 168px; left: 0; top: 12%; padding: 12px; }
  .float-gauge .gauge-val { font-size: 24px; }
  .float-thirds { display: none; }
  .float-island { right: 0; top: 2%; }
  .float-match { left: auto; right: 0; bottom: 10%; }
  .try-phone { --pwn: 300; }
  .wl-form { flex-direction: column; border-radius: 26px; }
  .wl-form input { flex: none; }
  .wl-band { width: 240vw; opacity: .28; }
  .hero-meta { gap: 6px 16px; }
  .hero-meta li + li::before { display: none; }
  .wl-form .btn { width: 100%; }
  .story-rail { display: none; }
  .never li { padding: 18px 0 20px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 52px; }
  .try-phone { --pwn: 280; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .step, .has-gsap .step:not(.is-on) { opacity: 1; }
}
