/* Misclo logged-out site · v6 candidate (8 Nov 2026). Same brand as v5 (graphite/ivory, cobalt for Theo, coral for Lumi, Space Grotesk
   and Manrope, sculpted surfaces), with more motion and more product on screen: a floating glass header, the entrance film on the first
   visit, game-like reveals and state changes, a phone that runs the adaptation, a week board, a companion select and a compact film card.
   Every animation has a reduced-motion state (static, complete, nothing hidden). Tokens come from tokens.css (unchanged). */
@font-face { font-family: 'Space Grotesk'; src: url('../fonts/SpaceGrotesk-Variable.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Variable.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
:root { --gut: 16px; --maxw: 1180px; --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); --r: 22px; --soft: #f1efe9; --ink2: #3a3f48; }
@media (min-width: 900px) { :root { --gut: 32px; } }
body { margin: 0; background: var(--ivory); color: var(--graphite); font: 500 16px/1.55 var(--font-body); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.on-dark :focus-visible, .sec--dark :focus-visible { outline-color: var(--cobalt-on-dark); }
[hidden] { display: none !important; }
.wrap { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--graphite); color: var(--ivory); font-weight: 700; }
.skip:focus { top: 10px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 14px;
  border: 1.5px solid transparent; font: 750 16px/1.1 var(--font-body); text-decoration: none; cursor: pointer; background: none; white-space: nowrap; overflow: hidden;
  transition: transform .18s var(--ease), background .18s, box-shadow .18s, color .18s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--lg { min-height: 56px; padding: 0 10px 0 22px; font-size: 17px; }
.btn--primary { background: var(--graphite); color: var(--ivory); box-shadow: 0 14px 30px -18px #1d2128; }
.btn--primary:hover { background: var(--graphite-light); box-shadow: 0 18px 36px -18px #1d2128; }
.on-dark .btn--primary { background: var(--ivory); color: var(--graphite); box-shadow: 0 14px 34px -16px #000; }
.on-dark .btn--primary:hover { background: #fff; }
.btn .chip { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #ffffff1f; transition: transform .25s var(--spring); }
.btn:hover .chip { transform: translateX(3px); }
.on-dark .btn--primary .chip { background: #1d212812; }
.btn--secondary { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--secondary:hover { background: var(--plaster); }
.on-dark .btn--secondary { border-color: #ffffffa0; color: var(--ivory); }
.on-dark .btn--secondary:hover { background: #ffffff14; }
.btn--ghost { color: var(--graphite); }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 15px; border-radius: 12px; }
/* the main action's sheen: a light sweep every few seconds (none with reduced motion) */
.btn--glow::after { content: ''; position: absolute; inset: -2px; background: linear-gradient(100deg, transparent 30%, #ffffff55 45%, transparent 60%); transform: translateX(-120%); animation: sheen 4.8s 2.2s var(--ease) infinite; pointer-events: none; }
.on-dark .btn--glow::after { background: linear-gradient(100deg, transparent 30%, #8ea6ff40 45%, #ff9a9733 52%, transparent 62%); }
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.link { font-weight: 750; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 800 12px/1.3 var(--font-body); letter-spacing: .02em; background: var(--plaster); color: var(--graphite); white-space: nowrap; }
.tag--m { background: var(--graphite); color: var(--ivory); }
.tag--soon { background: transparent; border: 1px dashed var(--line-strong); color: var(--slate); }
.tag--sample { background: #1d21280d; color: var(--slate); }
.kicker { font: 800 13px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.on-dark .kicker { color: var(--ink-on-dark-muted); }
.lede { font-size: 17px; line-height: 1.55; color: var(--ink2); max-width: 58ch; }
.on-dark .lede { color: #d6d9de; }
.small { font-size: 14px; line-height: 1.5; color: var(--slate); }
.on-dark .small { color: var(--ink-on-dark-muted); }
.face { width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--plaster) center/cover no-repeat; box-shadow: 0 0 0 2px var(--coral); }
.face--theo { background-image: url('../media/companions/theo-mini-idle-128.webp'); box-shadow: 0 0 0 2px var(--cobalt); }
.face--lumi { background-image: url('../media/companions/lumi-mini-idle-128.webp'); }
[data-state="pending"] .face--theo.talk, .phone[data-state="pending"] .face--theo { background-image: url('../media/companions/theo-mini-proposing-128.webp'); }
[data-state="pending"] .face--lumi.talk, .phone[data-state="pending"] .face--lumi { background-image: url('../media/companions/lumi-mini-proposing-128.webp'); }

/* ---------------------------------------------------------------- header: a floating glass bar */
.hdr { position: fixed; top: 10px; left: 0; right: 0; z-index: 40; pointer-events: none; transition: transform .35s var(--ease), top .35s var(--ease); }
.hdr-in { pointer-events: auto; width: min(100% - 20px, 1240px); margin: 0 auto; height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 16px; border-radius: 18px;
  background: #14171b8c; color: var(--ivory); border: 1px solid #ffffff1f; box-shadow: 0 18px 40px -24px #000c, inset 0 1px 0 #ffffff14;
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); transition: background .35s, color .35s, border-color .35s, height .3s var(--ease), box-shadow .35s; }
.hdr[data-tone="light"] .hdr-in { background: #fbfaf7d6; color: var(--graphite); border-color: #1d21281a; box-shadow: 0 18px 40px -26px #1d212866, inset 0 1px 0 #fff; }
.hdr.compact .hdr-in { height: 52px; }
.wm { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 24px/1 var(--font-display); letter-spacing: -.04em; text-decoration: none; }
.wm .eyes { display: inline-flex; gap: 3px; }
.wm .eyes i { width: 7px; height: 7px; border-radius: 50%; background: var(--eye); box-shadow: 0 0 8px 1px #ffd6a080; animation: blink 7s infinite; transform-origin: center; }
.hdr[data-tone="light"] .wm .eyes i { background: var(--graphite); box-shadow: none; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
.hdr-nav { display: none; }
.hdr-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--ivory); color: var(--graphite); font-weight: 800; font-size: 15px; text-decoration: none;
  box-shadow: 0 10px 24px -14px #000; transition: transform .2s var(--ease), background .2s; }
.hdr-cta:hover { transform: translateY(-1px); }
.hdr-cta .i { transition: transform .25s var(--spring); }
.hdr-cta:hover .i { transform: translateX(3px); }
.hdr[data-tone="light"] .hdr-cta { background: var(--graphite); color: var(--ivory); }
.menu-b { width: 44px; height: 44px; border-radius: 12px; border: 1px solid currentColor; background: none; cursor: pointer; display: grid; place-items: center; color: inherit; }
.menu-b .bars { width: 18px; height: 12px; position: relative; }
.menu-b .bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-b .bars i:first-child { top: 1px; } .menu-b .bars i:last-child { top: 9px; }
.menu-b[aria-expanded="true"] .bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-b[aria-expanded="true"] .bars i:last-child { top: 5px; transform: rotate(-45deg); }
@media (max-width: 899.98px) { .hdr-cta .long { display: none; } }
@media (min-width: 900px) {
  .hdr { top: 14px; }
  .hdr-in { height: 62px; gap: 28px; padding: 0 9px 0 22px; }
  .hdr.compact .hdr-in { height: 54px; }
  .hdr-nav { position: relative; display: flex; gap: 4px; font-weight: 700; font-size: 15px; }
  .hdr-nav a { position: relative; z-index: 1; text-decoration: none; min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 10px; opacity: .82; transition: opacity .2s; }
  .hdr-nav a:hover, .hdr-nav a[aria-current] { opacity: 1; }
  .hdr-nav .spy { position: absolute; top: 0; height: 40px; border-radius: 10px; background: #ffffff1a; opacity: 0; transition: left .35s var(--ease), width .35s var(--ease), opacity .25s; pointer-events: none; }
  .hdr[data-tone="light"] .hdr-nav .spy { background: #1d21280f; }
  .menu-b { display: none; }
  .hdr-cta .short { display: none; }
  .hdr-cta { padding: 0 16px; }
}
.menu { position: fixed; inset: 0; z-index: 39; padding: 92px var(--gut) 28px; background: var(--ivory); display: grid; align-content: start; gap: 18px; overflow: auto; }
.menu nav { display: grid; }
.menu a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 60px; font: 700 26px/1.2 var(--font-display); letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu .btn { width: 100%; }
.menu > *, .menu nav > * { animation: menuIn .45s var(--ease) both; animation-delay: calc(var(--k, 0) * 45ms); }
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }
html.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- hero */
/* Clip the film without creating an internally scrollable focus container. */
.hero { position: relative; isolation: isolate; overflow: clip; background: #15181e; color: var(--ivory); min-height: max(100svh, 720px); display: flex; }
.hero .media { position: absolute; inset: 0; z-index: -1; }
.hero .still, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero .still { animation: drift 24s var(--ease) infinite alternate; transform-origin: 50% 80%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.04); } }
.hero video { opacity: 0; transition: opacity .5s; }
/* first visit: the film starts from black, so the finished still waits until the film ends, is skipped, or can't start */
html.intro .hero .still { opacity: 0; transition: opacity .9s var(--ease); }
html.intro .hero.still-on .still { opacity: 1; }
.hero[data-film="on"] video { opacity: 1; }
.hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, #14171bf0 0%, #14171bd8 30%, #14171b70 46%, #14171b00 56%), linear-gradient(0deg, #14171bb0 0%, #14171b00 18%); }
.hero .glow { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(60px); opacity: .0; pointer-events: none; }
.hero .g1 { left: -20vmax; top: -30vmax; background: radial-gradient(circle, #3e6bef44, transparent 60%); }
.hero .g2 { right: -25vmax; bottom: -30vmax; background: radial-gradient(circle, #ed707333, transparent 60%); }
html.settled .hero .glow { opacity: .9; transition: opacity 2s; }
.hero .in { position: relative; width: min(100% - var(--gut) * 2, var(--maxw)); margin: 0 auto; padding: 92px 0 140px; display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font-size: clamp(34px, 9vw, 72px); line-height: 1.02; font-weight: 650; letter-spacing: -.035em; max-width: 13ch; }
.hero h1 .w { display: inline-block; }
.hero .lede { font-size: 16px; max-width: 40ch; color: #dfe2e6; }
.hero .cta { display: grid; gap: 10px; justify-items: start; margin-top: 6px; }
.hero .micro { font-size: 13.5px; line-height: 1.45; color: #c9ccd2; font-weight: 650; }
.hero .micro a { color: var(--ivory); text-underline-offset: 3px; display: inline-block; padding: 6px 0; margin: -6px 0; }
.hud { display: none; }
.hero-foot { position: absolute; right: var(--gut); bottom: 16px; display: flex; gap: 8px; }
.replay, .skip-intro { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #ffffff40; background: #14171b80; color: var(--ivory); font-weight: 750; font-size: 14px; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, opacity .4s; }
.replay:hover, .skip-intro:hover { background: #14171bcc; }
.skip-intro { display: none; }
html.intro .hero .skip-intro { display: inline-flex; }
html.intro .hero .replay { display: none; }
@media (max-width: 559.98px) { .replay span { display: none; } .replay { width: 44px; padding: 0; justify-content: center; } }
.cue { position: absolute; left: 50%; bottom: 18px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border-radius: 50%; color: var(--ivory); opacity: .75; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 559.98px) { .cue { display: none; } }
/* Film-time choreography: clear eyes opening, then a staggered reveal at the composition's cue. */
.rise { transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
html.intro .hero:not(.copy-in) .in { visibility: hidden; }
html.intro .hero:not(.copy-in) .rise { opacity: 0; transform: translateY(22px); filter: blur(8px); transition: none; }
html.intro .hero:not(.copy-in) .hud li { opacity: 0; transition: none; }
html.intro .hero:not(.copy-in) .cue, html.intro .hero[data-film="on"] .cue { opacity: 0; }
html.intro .hdr:not(.shown) { transform: translateY(-120%); visibility: hidden; transition: none; }
.hero .scrim, .hero .media::before { transition: opacity .8s var(--ease); }
html.intro .hero:not(.copy-in) .scrim, html.intro .hero:not(.copy-in) .media::before { opacity: 0; transition: none; }
/* phones: the pair stands in the lower half of the frame; the copy keeps to the top half (tested at 375×667 and 393×852) */
@media (max-width: 559.98px) {
  .hero { min-height: max(100svh, 800px); }
  .hero .in { padding-top: 84px; gap: 12px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 40px); max-width: none; }
  .hero h1 .w { display: inline; }
  .hero .lede { font-size: 15.5px; line-height: 1.45; }
  .hero .micro .price-link { display: none; } /* phones: the price sits on the membership card and in the menu, not over the pair */
}
@media (min-width: 560px) and (max-width: 899.98px) { .hero h1 { font-size: clamp(40px, 6.4vw, 54px); max-width: 19ch; } .hero .in { padding-top: 96px; gap: 12px; } .hero .lede { font-size: 17px; } }
@media (min-width: 900px) {
  .hero { min-height: max(min(100svh, 940px), 680px); }
  .hero .media { top: 0; }
  /* the pair's heads sit at the top edge of the desktop frame: the still starts below the floating header, so the bar never covers them */
  .hero .still, .hero video { object-position: 66% 0%; top: 84px; height: calc(100% - 84px); }
  .hero .media::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 170px; background: linear-gradient(180deg, #15181e 0, #15181e 84px, #15181e00 170px); z-index: 1; }
  .hero .scrim { background: linear-gradient(90deg, #14171bf6 0%, #14171be0 30%, #14171b30 54%, #14171b00 62%), linear-gradient(0deg, #14171bb0 0%, #14171b00 20%); }
  .hero .in { justify-content: center; padding: 120px 0 120px; gap: 20px; }
  .hero .lede { font-size: 18.5px; }
  .hero .cta { grid-auto-flow: row; }
  .hero-foot { right: max(var(--gut), calc((100% - var(--maxw)) / 2)); bottom: 28px; }
}
/* short landscape screens (a phone turned sideways): copy on the left, the pair on the right, the action in the first screen */
@media (orientation: landscape) and (max-height: 560px) and (min-width: 560px) {
  .hero { min-height: max(100svh, 360px); }
  .hero .still, .hero video { object-position: 74% 0%; top: 66px; height: calc(100% - 66px); }
  .hero .media::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, #15181e 0, #15181e 66px, #15181e00 120px); z-index: 1; }
  .hero .scrim { background: linear-gradient(90deg, #14171bf6 0%, #14171be6 38%, #14171b20 58%, #14171b00 66%); }
  .hero .in { padding: 74px 0 20px; gap: 8px; justify-content: center; }
  .hero h1 { font-size: clamp(24px, 4vw, 32px); max-width: 16ch; }
  .hero .lede { font-size: 14px; max-width: 32ch; }
  .hero .cta { gap: 6px; margin-top: 2px; }
  .hero .btn--lg { min-height: 48px; }
  .hero .micro .price-link, .hero .cue, .hero .kicker { display: none; }
  .hero-foot { bottom: 10px; }
}
@media (min-width: 1100px) {
  .hud { display: block; position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
  .hud li { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; font-weight: 700; color: var(--ivory);
    background: #14171b70; border: 1px solid #ffffff26; box-shadow: 0 16px 34px -18px #000; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transition: opacity .7s var(--ease) calc(1.2s + var(--d) * .25s); animation: bob 6s var(--ease) infinite alternate; animation-delay: calc(var(--d) * -2s); }
  .hud li b { color: var(--ink-on-dark-muted); font-weight: 800; }
  .hud .h1c { left: 47%; top: 38%; }
  .hud .h2c { right: 3%; top: 58%; }
  .hud .h3c { left: 53%; bottom: 13%; }
  .hud .dot { width: 8px; height: 8px; border-radius: 50%; }
  .hud .dot--c { background: var(--cobalt-on-dark); box-shadow: 0 0 10px var(--cobalt); }
  .hud .dot--r { background: var(--coral-on-dark); box-shadow: 0 0 10px var(--coral); }
  .hud .xp { font: 800 12px/1 var(--font-body); padding: 5px 7px; border-radius: 8px; background: var(--brass); color: #2a1d06; }
}
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ---------------------------------------------------------------- sections and reveal */
.sec { position: relative; padding: 64px 0; }
.sec--soft { background: var(--soft); }
.sec--dark { background: #121418; color: var(--ivory); overflow: hidden; }
.sec .head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 760px; }
.sec .head--row { max-width: none; }
.sec h2 { font-size: clamp(30px, 6.8vw, 52px); line-height: 1.04; font-weight: 650; letter-spacing: -.03em; }
@media (min-width: 900px) {
  .sec { padding: 104px 0; }
  .sec .head { margin-bottom: 44px; }
  .sec .head--row { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
  .sec .head--row .lede { justify-self: end; }
}
.card { border-radius: var(--r); background: #fff; box-shadow: var(--sculpt); padding: 20px; }
.sec--soft .card { background: var(--ivory); }
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js [data-reveal].in-view { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 2 · the adaptation, in a phone */
.adapt { display: grid; gap: 28px; }
@media (min-width: 900px) { .adapt { grid-template-columns: 1fr 420px; gap: 72px; align-items: center; } }
.beats { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: b; }
.beats li { counter-increment: b; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; font-size: 16px; line-height: 1.45; color: var(--ink2); }
.beats li::before { content: counter(b); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--graphite); color: var(--ivory); font: 700 17px/1 var(--font-display); }
.beats b { color: var(--graphite); display: block; font-size: 17px; }
.phone { position: relative; justify-self: center; width: min(100%, 400px); border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2c3139, #14171b); box-shadow: 0 50px 80px -40px #1d2128a0, inset 0 1px 0 #ffffff26, 0 0 0 1px #00000040; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #0c0d10; z-index: 2; }
.screen { position: relative; border-radius: 34px; background: var(--stage); padding: 52px 14px 16px; display: grid; gap: 10px; min-height: 600px; align-content: start; overflow: hidden; }
.app-top { display: flex; align-items: center; gap: 10px; }
.app-top b { display: block; font-size: 15px; }
.app-top small { display: block; font-size: 12px; color: var(--slate); font-weight: 650; }
.app-top .when { margin-left: auto; font: 800 12px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.day { display: grid; gap: 6px; }
.slot { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, box-shadow .4s; }
.slot .t { font: 700 14px/1 var(--font-display); color: var(--slate); }
.slot b { display: block; font-size: 15px; }
.slot small { display: block; font-size: 13px; color: var(--slate); font-weight: 650; }
.slot.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: inset 0 0 0 2px var(--accent, var(--coral)); background: var(--accent-soft, var(--coral-soft)); } 100% { box-shadow: inset 0 0 0 1px var(--line); background: #fff; } }
.phone[data-companion="theo"] { --accent: var(--cobalt); --accent-soft: var(--cobalt-soft); }
.phone[data-companion="lumi"] { --accent: var(--coral); --accent-soft: var(--coral-soft); }
.phone .bubble { justify-self: end; max-width: 30ch; padding: 10px 13px; border-radius: 16px 16px 4px 16px; background: var(--graphite); color: var(--ivory); font-size: 14.5px; line-height: 1.4; }
.phone .bubble small { display: block; color: var(--ink-on-dark-muted); font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.phone .typing { display: flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #fff; justify-self: start; box-shadow: inset 0 0 0 1px var(--line); }
.phone .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate); animation: dot 1s infinite; }
.phone .typing i:nth-child(2) { animation-delay: .15s; } .phone .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.prop { border-radius: 18px; background: #fff; box-shadow: 0 18px 30px -22px #1d212870, inset 0 0 0 1.5px var(--line); padding: 12px; display: grid; gap: 10px; }
.prop-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prop-top b { font: 700 15px/1.2 var(--font-display); }
.status { font: 800 12px/1.2 var(--font-body); padding: 4px 9px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-text); white-space: nowrap; }
[data-companion="theo"] .status { background: var(--cobalt-soft); color: var(--cobalt-text); }
[data-state="accepted"] .status { background: #e3efe2; color: #285c2c; }
[data-state="kept"] .status { background: var(--plaster); color: var(--graphite); }
.swap { display: grid; grid-template-columns: 1fr 22px 1fr; align-items: stretch; gap: 6px; }
.swap .k { grid-column: 1 / -1; font: 800 12px/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.swap .a, .swap .b { border-radius: 12px; padding: 8px 10px; font-size: 13.5px; line-height: 1.3; min-height: 48px; display: flex; flex-direction: column; justify-content: center; transition: opacity .4s, transform .4s var(--ease); }
.swap .a { background: var(--soft); color: var(--ink2); }
.swap .b { background: var(--coral-soft); color: var(--graphite); font-weight: 750; }
[data-companion="theo"] .swap .b { background: var(--cobalt-soft); }
[data-state="kept"] .swap .b { opacity: .45; }
[data-state="accepted"] .swap .a { opacity: .45; text-decoration: line-through; }
[data-state="accepted"] .swap .b { transform: scale(1.02); }
.swap .arr { align-self: center; justify-self: center; color: var(--slate); }
.why-d { border-radius: 12px; background: var(--soft); padding: 0 12px; }
.why-d summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; font-weight: 750; font-size: 14px; }
.why-d summary::-webkit-details-marker { display: none; }
.why-d summary .i { transition: transform .2s; }
.why-d[open] summary .i { transform: rotate(90deg); }
.why-d ul { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 3px; font-size: 14px; line-height: 1.4; }
.decide { display: flex; gap: 8px; }
.decide .btn { flex: 1 1 0; min-height: 46px; padding: 0 12px; }
.done { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--soft); font-weight: 700; font-size: 14.5px; }
.toast { position: absolute; left: 14px; right: 14px; top: 46px; z-index: 3; padding: 10px 14px; border-radius: 14px; background: var(--graphite); color: var(--ivory); font-weight: 750; font-size: 14px; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(-24px); transition: transform .45s var(--spring), opacity .3s; pointer-events: none; }
.toast.on { opacity: 1; transform: none; }
.scripted { font-size: 13px; color: var(--slate); text-align: center; margin-top: 12px; }
/* the scripted run-in (site.js steps data-play 0 → 3 when the phone scrolls into view; reduced motion starts at 3) */
.phone .bubble, .phone .typing, .phone .prop { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.phone[data-play="0"] .bubble, .phone[data-play="0"] .typing, .phone[data-play="0"] .prop, .phone[data-play="1"] .typing, .phone[data-play="1"] .prop { opacity: 0; transform: translateY(16px); }
.phone[data-play="2"] .prop, .phone[data-play="3"] .typing { opacity: 0; transform: translateY(16px); }
.phone[data-play="3"] .typing { display: none; }
.phone[data-play="2"] .typing { display: flex; }

/* ---------------------------------------------------------------- 3 · the week board */
.board { display: grid; gap: 14px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.dd { border: 0; cursor: pointer; border-radius: 14px; padding: 10px 4px; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 3px; justify-items: center; align-content: start; font-size: 12px; line-height: 1.2; min-height: 84px; color: var(--graphite);
  transition: transform .25s var(--spring), box-shadow .2s, background .2s; }
.dd b { font: 800 12px/1 var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: var(--slate); }
.dd span { font-weight: 750; text-align: center; }
.dd small { color: var(--slate); font-weight: 650; }
.dd.on { background: var(--graphite); color: var(--ivory); box-shadow: none; }
.dd.on b, .dd.on small { color: var(--ink-on-dark-muted); }
.dd.walk { background: var(--plaster); }
.dd.prep { background: #fff; box-shadow: inset 0 0 0 1.5px var(--graphite); }
.dd:hover { transform: translateY(-2px); }
.dd[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ivory), 0 0 0 5px var(--graphite); transform: translateY(-3px); }
html.js .board.in-view .dd { animation: tileIn .6s var(--spring) both; animation-delay: calc(var(--k) * 60ms + 150ms); }
@keyframes tileIn { from { opacity: 0; transform: translateY(14px) scale(.92); } }
/* phones: the week is a swipeable strip of readable tiles (no text under 12 px) */
@media (max-width: 559.98px) {
  .days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 6px 10px; margin: 0 -6px; scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .dd { scroll-snap-align: start; min-height: 84px; font-size: 12.5px; }
  .dd[aria-pressed="true"] { transform: none; }
}
.day-view { display: grid; gap: 14px; }
@media (min-width: 900px) { .day-view { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 18px; } }
.day-view .card { transition: opacity .3s, transform .3s var(--ease); }
.day-view.swapping .card { opacity: 0; transform: translateY(8px); }
.session h3, .recipe h3 { font-size: 22px; line-height: 1.15; }
.sc-head { display: grid; gap: 4px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--slate); font-weight: 650; }
.moves { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.moves > li { border-bottom: 1px solid var(--line); }
.moves details summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 10px; min-height: 48px; padding: 6px 0; }
.moves details summary::-webkit-details-marker { display: none; }
.moves summary b { font-size: 15.5px; }
.moves summary .dose { font-size: 14px; font-weight: 750; white-space: nowrap; }
.moves summary .i { transition: transform .2s; color: var(--slate); }
.moves details[open] summary .i { transform: rotate(90deg); }
.moves .body { padding: 0 0 12px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
.effort { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; line-height: 1.45; }
.sec--soft .effort { background: var(--stage); }
.log { margin-top: 14px; display: grid; gap: 10px; }
@media (min-width: 560px) { .log { grid-template-columns: auto 1fr; align-items: center; } }
.xpbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.xpbar .lvl { padding: 4px 8px; border-radius: 8px; background: var(--graphite); color: var(--ivory); }
.xpbar .track { position: relative; height: 10px; border-radius: 6px; background: var(--plaster); overflow: hidden; }
.xpbar .track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--brass-shade), var(--brass), var(--brass-light)); transition: width 1.1s var(--ease); }
.xpbar .pts { color: var(--slate); min-width: 9ch; text-align: right; }
.log.earned .xpbar .lvl { background: var(--brass); color: #2a1d06; }
.xp-note { margin-top: 8px; }
.xp-pop { position: absolute; font: 800 14px/1 var(--font-body); color: #2a1d06; background: var(--brass); padding: 6px 9px; border-radius: 9px; pointer-events: none; animation: xpPop 1.4s var(--ease) forwards; box-shadow: 0 10px 20px -10px #7a541c; }
@keyframes xpPop { 0% { opacity: 0; transform: translateY(6px) scale(.8); } 20% { opacity: 1; transform: translateY(-6px) scale(1.06); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-34px); } }
.recipe .ph { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--plaster); position: relative; margin: -4px -4px 14px; }
.recipe .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.recipe:hover .ph img { transform: scale(1.04); }
.macros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.macros div { border-radius: 12px; background: var(--soft); padding: 8px 4px; text-align: center; font-size: 12px; color: var(--slate); font-weight: 700; }
.sec--soft .macros div { background: var(--stage); }
.macros b { display: block; font: 700 19px/1.2 var(--font-display); color: var(--graphite); }
.dt { margin-top: 12px; border-top: 1px solid var(--line); }
.dt summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; font-weight: 750; list-style: none; }
.dt summary::-webkit-details-marker { display: none; }
.dt summary::after { content: '+'; font: 600 22px/1 var(--font-display); color: var(--slate); }
.dt[open] summary::after { content: '–'; }
.dt ul, .dt ol { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 4px; font-size: 14.5px; }
.week-cta { margin-top: 22px; display: grid; gap: 14px; align-items: center; border-radius: var(--r); background: var(--graphite); color: var(--ivory); padding: 20px; }
.week-cta .small { color: var(--ink-on-dark-muted); display: block; margin-top: 4px; }
.week-cta .btn--primary { background: var(--ivory); color: var(--graphite); justify-self: start; }
.week-cta .btn--primary .chip { background: #1d212812; }
@media (min-width: 900px) { .week-cta { grid-template-columns: 1fr auto; padding: 22px 26px; } }

/* ---------------------------------------------------------------- 4 · see it in action: companion select and the film card */
.amb { position: absolute; inset: 0; pointer-events: none; }
.amb i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(80px); opacity: .55; animation: amb 18s var(--ease) infinite alternate; }
.amb .a1 { left: -35vmax; top: -20vmax; background: radial-gradient(circle, #3e6bef55, transparent 62%); }
.amb .a2 { right: -35vmax; bottom: -30vmax; background: radial-gradient(circle, #ed707344, transparent 62%); animation-delay: -9s; }
@keyframes amb { to { transform: translate(8vmax, 6vmax) scale(1.1); } }
.sec--dark .wrap { position: relative; }
.select { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.pick-card { --c: var(--coral); --c2: var(--coral-on-dark); position: relative; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--ivory); border-radius: 26px; overflow: hidden; background: #0d0f12; aspect-ratio: 3 / 4.1;
  box-shadow: inset 0 0 0 1px #ffffff1a, 0 30px 60px -36px #000; transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s; }
.pick-card.theo { --c: var(--cobalt); --c2: var(--cobalt-on-dark); }
.pick-card .art { position: absolute; inset: 0; }
.pick-card .art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; transition: transform .8s var(--ease), filter .5s; filter: saturate(.92) brightness(.9); }
.pick-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0d0f12f2 0%, #0d0f1240 38%, transparent 60%), radial-gradient(120% 60% at 50% 110%, color-mix(in srgb, var(--c) 45%, transparent), transparent 60%); pointer-events: none; }
.pick-card .txt { position: absolute; left: 16px; right: 16px; bottom: 66px; z-index: 1; display: grid; gap: 2px; }
.pick-card .txt b { font: 700 clamp(24px, 5vw, 34px)/1 var(--font-display); letter-spacing: -.03em; }
.pick-card .txt small { color: #d6d9de; font-weight: 650; font-size: 14px; }
.pick-card .go { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; background: #fbfaf7; color: var(--graphite); font-weight: 800; font-size: 15px; transition: background .2s, transform .25s var(--spring); }
.pick-card .go .i { color: var(--c); }
.pick-card:hover, .pick-card:focus-visible { box-shadow: inset 0 0 0 2px var(--c2), 0 30px 70px -30px color-mix(in srgb, var(--c) 70%, #000); }
.pick-card:hover .art img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.pick-card:hover .go { transform: translateY(-2px); }
@media (max-width: 559.98px) { .pick-card .txt { left: 12px; bottom: 62px; } .pick-card .go { font-size: 14px; } .pick-card .go span { font-size: 13.5px; } }
.film-card { grid-column: 1 / -1; border-radius: 26px; overflow: hidden; background: #0d0f12; box-shadow: inset 0 0 0 1px #ffffff1a; display: grid; }
.film-hit { position: relative; border: 0; padding: 0; cursor: pointer; display: block; aspect-ratio: 16 / 9; background: #000; color: var(--ivory); text-align: left; }
.film-hit .frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease), transform 6s linear; transform: scale(1.02); }
.film-hit .frames img.on { opacity: 1; transform: scale(1.08); }
.film-hit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0d0f12e6 0%, #0d0f1210 55%); }
.film-meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: flex; align-items: center; gap: 12px; }
.film-meta b { display: block; font: 700 19px/1.2 var(--font-display); }
.film-meta small { display: block; color: #d6d9de; font-weight: 650; font-size: 13px; }
.pbtn { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--graphite); box-shadow: 0 0 0 0 #fbfaf766; animation: ping 2.6s infinite; }
.pbtn .i { width: 20px; height: 20px; margin-left: 3px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #fbfaf766; } 70%, 100% { box-shadow: 0 0 0 16px #fbfaf700; } }
.chapters { margin: 0; padding: 10px; list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chapters::-webkit-scrollbar { display: none; }
.chapters button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #ffffff2a; background: #ffffff0d; color: #e7e9ec; font-weight: 750; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s; }
.chapters button:hover { background: #ffffff1f; border-color: #ffffff55; }
@media (min-width: 900px) {
  .select { grid-template-columns: 1fr 1fr 1.6fr; gap: 18px; align-items: stretch; }
  .pick-card { aspect-ratio: auto; min-height: 460px; }
  .film-card { grid-column: auto; grid-template-rows: 1fr auto; }
  .film-hit { aspect-ratio: auto; min-height: 380px; }
  .film-meta b { font-size: 22px; }
}

/* ---------------------------------------------------------------- 5 · what's inside (bento) */
.bento { display: grid; gap: 14px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(6, 1fr); } .t-train, .t-ai { grid-column: span 3; } .t-food, .t-prog { grid-column: span 3; } .t-soon { grid-column: 1 / -1; } }
.tile2 { border-radius: var(--r); background: #fff; box-shadow: var(--sculpt); padding: 20px; display: grid; gap: 12px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; }
.tile2:hover { transform: translateY(-3px); box-shadow: var(--sculpt-raised); }
.tile2 h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tile2 .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--graphite); color: var(--ivory); }
.tile2 .ico .i { width: 22px; height: 22px; }
.tile2 ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tile2 li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 15px; line-height: 1.35; }
.tile2 li small { grid-column: 1 / -1; color: var(--slate); font-size: 13.5px; line-height: 1.4; }
.t-soon { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); border: 0; }
.t-soon .ico { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.t-soon .soon { gap: 12px; }
@media (min-width: 760px) { .t-soon .soon { grid-template-columns: repeat(3, 1fr); gap: 18px; } .t-soon { grid-column: 1 / -1; } }
.t-soon li { grid-template-columns: 1fr; }

/* ---------------------------------------------------------------- 6 · membership and questions */
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1.25fr; align-items: stretch; gap: 22px; } }
.plan { position: relative; border-radius: 26px; background: #fff; box-shadow: var(--sculpt); padding: 22px; display: grid; gap: 14px; align-content: start; }
.plan--member { box-shadow: var(--sculpt-raised); }
.plan--member::before { content: ''; position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: linear-gradient(120deg, var(--cobalt), var(--graphite) 35%, var(--graphite) 65%, var(--coral)); background-size: 200% 200%; animation: rim 8s var(--ease) infinite alternate;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
@keyframes rim { to { background-position: 100% 100%; } }
.plan .name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 800 13px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan .price b { font: 700 48px/1 var(--font-display); letter-spacing: -.03em; }
.plan .price span { font-weight: 700; color: var(--ink2); }
.plan .cond { font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.plan li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.4; }
.plan li::before { content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--plaster); }
.plan li::after { content: ''; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 9px; border: solid var(--graphite); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan li.no::after { display: none; }
.plan li.no::before { background: transparent; border: 1.5px dashed var(--line-strong); }
.plan li small { display: block; color: var(--slate); font-size: 13.5px; }
.terms { border-radius: 14px; background: var(--soft); padding: 12px 14px; font-size: 14.5px; line-height: 1.5; }
.plan .btn { width: 100%; }
.region { font-size: 14px; color: var(--ink2); line-height: 1.45; }
.blocker { border-radius: 12px; border: 1.5px dashed var(--line-strong); background: #fff8e8; padding: 10px 12px; font-size: 14px; line-height: 1.45; font-weight: 650; }
.blocker:empty { display: none; }
.faqs { margin-top: 28px; display: grid; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .faqs { grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; } .faqs details { border-top: 1px solid var(--line); } }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { cursor: pointer; list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 17px/1.3 var(--font-display); padding: 8px 0; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: '+'; font: 600 24px/1 var(--font-display); color: var(--slate); transition: transform .25s var(--ease); }
.faqs details[open] summary::after { transform: rotate(45deg); }
.faqs .a { padding: 0 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--ink2); max-width: 70ch; display: grid; gap: 8px; }

/* ---------------------------------------------------------------- footer, dock, notice */
.ftr { background: var(--graphite-deep); color: #d6d9de; padding: 44px 0 110px; font-size: 14.5px; }
.ftr .cols { display: grid; gap: 22px; }
@media (min-width: 900px) { .ftr .cols { grid-template-columns: 1.2fr 1fr 1fr; } .ftr { padding-bottom: 48px; } }
.ftr .wm { color: var(--ivory); margin-bottom: 6px; }
.ftr a { color: var(--ivory); text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.ftr a:hover { text-decoration: underline; }
.ftr ul { margin: 0; padding: 0; list-style: none; display: grid; }
.ftr .fine { margin-top: 22px; border-top: 1px solid var(--line-on-dark); padding-top: 18px; display: grid; gap: 6px; color: var(--ink-on-dark-muted); font-size: 13.5px; }
.ftr .fine a { display: inline; min-height: 0; text-decoration: underline; }
.dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; transform: translateY(160%); transition: transform .4s var(--spring); }
.dock[data-on="1"] { transform: none; }
.dock .btn { flex: 1; min-height: 54px; border-radius: 16px; padding: 0 8px 0 20px; box-shadow: 0 20px 40px -16px #1d2128b0; justify-content: space-between; }
@media (min-width: 900px) { .dock { display: none; } }
.notice { position: fixed; left: 50%; bottom: 24px; z-index: 80; width: min(560px, calc(100% - 24px)); transform: translateX(-50%); border-radius: 16px; background: var(--graphite); color: var(--ivory); padding: 14px 16px; font-size: 14.5px; line-height: 1.45; box-shadow: 0 24px 50px -20px #000c; animation: notice .4s var(--spring); }
@keyframes notice { from { opacity: 0; transform: translate(-50%, 20px); } }
.notice b { display: block; margin-bottom: 2px; }

/* ---------------------------------------------------------------- overlays: the preview flow and the demo/film experience */
.ov { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--ivory); animation: ovIn .35s var(--ease); }
@keyframes ovIn { from { opacity: 0; transform: translateY(14px); } }
html.ov-open { overflow: hidden; }
.ov-bar { flex: none; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 var(--gut); border-bottom: 1px solid var(--line); }
.ov-bar .t { font: 700 16px/1.2 var(--font-display); }
.ov-bar .x { margin-left: auto; min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; font-weight: 750; cursor: pointer; border-radius: 12px; }
.ov-bar .x:hover { background: var(--plaster); }
.xp { background: #000; }
.xp iframe { flex: 1; width: 100%; border: 0; display: block; background: var(--graphite-deep); }
.xp .load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ivory); font-weight: 700; background: var(--graphite-deep); pointer-events: none; transition: opacity .3s; }
.xp[data-ready="1"] .load { opacity: 0; }
.xp[data-out="1"] { opacity: 0; transition: opacity .35s; }
.pv { overflow: auto; overscroll-behavior: contain; }
.pv-bar { position: sticky; top: 0; z-index: 2; background: color-mix(in srgb, var(--ivory) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pv-prog { display: flex; gap: 6px; padding: 0 var(--gut) 10px; }
.pv-prog i { flex: 1; height: 5px; border-radius: 3px; background: var(--plaster); overflow: hidden; position: relative; }
.pv-prog i::after { content: ''; position: absolute; inset: 0; background: var(--graphite); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.pv-prog i.on::after { transform: none; }
.pv-body { width: min(100% - var(--gut) * 2, 760px); margin: 0 auto; padding: 18px 0 48px; display: grid; gap: 16px; }
.pv[data-step="result"] .pv-body { padding-bottom: 120px; }
.pv-step { display: grid; gap: 8px; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } }
.pv-step h2 { font-size: clamp(26px, 6.5vw, 38px); line-height: 1.08; letter-spacing: -.03em; }
.pv-step .hint { font-size: 15px; color: var(--ink2); line-height: 1.5; }
.opts { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.opts legend { font: 800 13px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; padding: 0; }
.opt { position: relative; display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); cursor: pointer;
  transition: transform .2s var(--spring), box-shadow .2s; animation: optIn .45s var(--ease) both; animation-delay: calc(var(--k, 0) * 50ms); }
@keyframes optIn { from { opacity: 0; transform: translateY(10px); } }
.opt:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--graphite); }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt b { display: block; font-size: 17px; line-height: 1.25; }
.opt small { display: block; font-size: 14px; color: var(--slate); line-height: 1.35; margin-top: 2px; }
.opt .tick { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); display: grid; place-items: center; transition: background .2s; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--graphite); transform: scale(1.01); }
.opt:has(input:checked) .tick { background: var(--graphite); box-shadow: none; }
.opt:has(input:checked) .tick::after { content: ''; width: 5px; height: 9px; border: solid var(--ivory); border-width: 0 2px 2px 0; transform: translate(0, -1px) rotate(45deg); }
.opt:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg .opt { grid-template-columns: 1fr; text-align: center; min-height: 60px; padding: 10px 6px; }
.seg .opt .tick { display: none; }
.pv-nav { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.pv-nav .btn--primary { margin-left: auto; }
/* the result: a compact payoff first */
.res { display: grid; gap: 14px; animation: stepIn .5s var(--ease); }
.res-head { display: grid; gap: 6px; }
.res-head .tag { justify-self: start; }
.res-head h2 { font-size: clamp(24px, 6vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.res-sub { font-size: 14.5px; color: var(--ink2); font-weight: 650; }
.answers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.answers button { min-height: 40px; padding: 0 10px 0 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 700; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.answers button .i { width: 15px; height: 15px; color: var(--slate); }
.answers button:hover { border-color: var(--graphite); }
.wk { border-radius: 20px; background: #fff; box-shadow: var(--sculpt); padding: 10px; display: grid; gap: 8px; }
.wk .weekstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.wk .d { border: 0; border-radius: 12px; padding: 8px 2px; text-align: center; background: var(--soft); min-height: 70px; display: grid; align-content: start; justify-items: center; gap: 3px; font-size: 11.5px; line-height: 1.2; color: var(--graphite); cursor: default; }
.wk button.d { cursor: pointer; }
.wk .d b { font: 800 11.5px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.wk .d span { font-weight: 750; }
.wk .d small { font-size: 11.5px; font-weight: 800; }
.wk .d.on { background: var(--graphite); color: var(--ivory); }
.wk .d.on b { color: var(--ink-on-dark-muted); }
.wk .d.walk { background: var(--plaster); }
.wk .d.prep { background: #fff; box-shadow: inset 0 0 0 1.5px var(--graphite); }
.wk .d.rest span { color: var(--slate); font-weight: 650; }
.wk .d.changed { box-shadow: 0 0 0 2.5px var(--coral); }
.pv:has([data-companion="theo"]) .wk .d.changed { box-shadow: 0 0 0 2.5px var(--cobalt); }
.wk .d.pop { animation: pop .7s var(--spring); }
@keyframes pop { 0% { transform: scale(.85); } 60% { transform: scale(1.08); } 100% { transform: none; } }
.wk .d[aria-pressed="true"] { outline: 2px solid var(--graphite); outline-offset: 2px; }
/* phones: the week as a short list of the days that have something on them, in order */
@media (max-width: 559.98px) {
  .wk .weekstrip { grid-template-columns: 1fr; gap: 5px; }
  .wk .d { min-height: 44px; grid-template-columns: 48px 1fr auto; align-items: center; justify-items: start; text-align: left; padding: 8px 12px; gap: 8px; font-size: 14.5px; }
  .wk .d b { font-size: 12.5px; }
  .wk .d small { font-size: 14px; }
  .wk .d.rest { display: none; }
}
.day-panel { padding: 4px 6px 2px; display: grid; gap: 2px; font-size: 14.5px; }
.badge-ok { display: inline-block; font: 800 11.5px/1.2 var(--font-body); padding: 3px 7px; border-radius: 999px; background: #e3efe2; color: #285c2c; margin-left: 4px; }
.res-cta { display: grid; gap: 6px; justify-items: start; }
.res-cta .btn { width: 100%; justify-content: space-between; }
.notes { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #fff8e8; border: 1px solid #e8d9b0; font-size: 14.5px; line-height: 1.45; }
.notes b { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.notes .btn { justify-self: start; }
.res-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .res-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.changed-note { margin-top: 8px; font-weight: 800; font-size: 13px; color: #285c2c; }
.res .change { border-radius: 22px; background: var(--ivory); box-shadow: var(--sculpt-raised); padding: 16px; display: grid; gap: 12px; border: 1px solid var(--line); }
.res .change .bubble { justify-self: end; max-width: 30ch; padding: 10px 13px; border-radius: 16px 16px 4px 16px; background: var(--graphite); color: var(--ivory); font-size: 14.5px; line-height: 1.4; }
.res .change .bubble small { display: block; color: var(--ink-on-dark-muted); font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.res .prop-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.res .prop-top p { font-size: 14px; line-height: 1.35; }
.res .prop-top .say { color: var(--ink2); }
.res .why { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.res .why b { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.res .why ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; font-size: 14px; line-height: 1.4; }
.mini { margin: 0 0 8px; padding-left: 20px; font-size: 14.5px; display: grid; gap: 2px; }
.why-d.card { padding: 0 16px; }
.why-d.card summary { font-size: 15.5px; min-height: 54px; }
.whyfit { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.whyfit li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15px; line-height: 1.45; }
.whyfit li::before { content: ''; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--graphite); -webkit-mask: radial-gradient(circle, #000 35%, transparent 37%); mask: radial-gradient(circle, #000 35%, transparent 37%); }
.adds { border-radius: 20px; background: var(--graphite); color: var(--ivory); padding: 18px; display: grid; gap: 8px; }
.adds h3 { font-size: 20px; }
.adds p { color: #d6d9de; font-size: 15px; line-height: 1.5; }
.adds .link { color: var(--ivory); }
.res .foot { margin-top: 2px; }
.pv-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; gap: 8px; align-items: center; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--ivory) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); animation: dockIn .5s .3s var(--spring) both; }
@keyframes dockIn { from { transform: translateY(110%); } }
.pv-dock .btn--primary { flex: 1; min-height: 52px; justify-content: space-between; padding: 0 8px 0 18px; max-width: 520px; margin-left: auto; }
.pv-dock .btn--ghost { min-height: 52px; padding: 0 12px; margin-right: auto; text-decoration: underline; text-underline-offset: 4px; }
.pv.pv-typing .pv-dock { display: none; }
.pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.carry { border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; display: grid; gap: 6px; }
.gets { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.gets li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; }
.gets li::before { content: ''; position: absolute; left: 0; top: .15em; width: 18px; height: 18px; border-radius: 50%; background: var(--graphite); -webkit-mask: radial-gradient(circle, #000 35%, transparent 37%); mask: radial-gradient(circle, #000 35%, transparent 37%); }
.fixture { border: 2px dashed #b58439; background: #fbe7be55; border-radius: 14px; padding: 12px; display: grid; gap: 8px; margin: 0; }
.fixture legend { padding: 0 4px; }
.fixture .badge, .sent .badge { justify-self: start; font: 800 12px/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: #7a541c; background: var(--brass-light); padding: 3px 8px; border-radius: 6px; }
.fixture .row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #b58439; font-weight: 700; font-size: 14px; cursor: pointer; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 750; font-size: 15px; }
.field input[type="email"], .field input[type="password"], .field input[type="text"] { min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 16px; }
.field input:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 1px; border-color: var(--graphite); }
.field .err { color: #a8363f; font-size: 14px; font-weight: 700; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--graphite); }
.blocker.on { animation: shake .4s var(--ease); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
[aria-busy="true"] { opacity: .75; cursor: progress; }

/* ---------------------------------------------------------------- library pages (Academy, Recipes) */
.lib-hero { padding: 104px 0 24px; display: grid; gap: 12px; }
.lib-hero h1 { font-size: clamp(34px, 8vw, 60px); line-height: 1.03; font-weight: 650; letter-spacing: -.035em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.filters button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 750; cursor: pointer; transition: background .2s, color .2s; }
.filters button[aria-pressed="true"] { background: var(--graphite); color: var(--ivory); border-color: var(--graphite); }
.tiles { display: grid; gap: 14px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { border-radius: var(--r); background: #fff; box-shadow: var(--sculpt); padding: 18px; display: grid; gap: 10px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; animation: optIn .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 50ms); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--sculpt-raised); }
.tile h3 { font-size: 20px; line-height: 1.2; }
.tile .art { display: flex; align-items: center; gap: 10px; color: var(--slate); font-weight: 700; font-size: 13.5px; }
.tile .art span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--graphite); }
.tile dl { margin: 0; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.45; }
.tile dt { font: 800 12px/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.tile dd { margin: 0 0 4px; }
.recipe .ph .lbl { display: none; }
.typo { aspect-ratio: auto; min-height: 120px; display: grid; place-items: center; background: linear-gradient(135deg, var(--plaster), var(--soft)); color: var(--slate); }
.typo svg { width: 48px; height: 48px; stroke-width: 1.6; }
.gate { margin-top: 18px; border-radius: 26px; background: var(--graphite); color: var(--ivory); padding: 24px; display: grid; gap: 12px; position: relative; overflow: hidden; }
.gate::before { content: ''; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, #3e6bef40, transparent 65%); }
.gate::after { content: ''; position: absolute; left: -100px; bottom: -140px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, #ed707333, transparent 65%); }
.gate > * { position: relative; z-index: 1; }
.gate h2 { font-size: clamp(24px, 5.6vw, 34px); line-height: 1.1; }
.gate .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.locked { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 700px) { .locked { grid-template-columns: repeat(3, 1fr); } }
.locked div { height: 76px; border-radius: 16px; background: #ffffff10; border: 1px dashed #ffffff30; display: grid; place-items: center; color: var(--ink-on-dark-muted); font-weight: 700; font-size: 13.5px; }
.progs { display: grid; gap: 14px; }
@media (min-width: 900px) { .progs { grid-template-columns: repeat(2, 1fr); } }
.label-bar { border-radius: 14px; background: var(--soft); padding: 10px 14px; font-size: 14px; line-height: 1.45; color: var(--ink2); }

/* staging-only aids */
.stg { position: fixed; right: 10px; bottom: 90px; z-index: 70; max-width: min(360px, calc(100% - 20px)); max-height: 40vh; overflow: auto; border-radius: 12px; background: #14171bf0; color: #d6d9de; font: 600 12px/1.4 ui-monospace, monospace; padding: 10px; }

/* ---------------------------------------------------------------- WCAG 2.2.2 (pause, stop, hide): no decorative motion that starts by
   itself runs longer than 5 seconds. The intro film has Skip; every loop below plays a bounded number of times and then rests. */
.hero .still { animation: settle 4.6s var(--ease) 1 both; }
@keyframes settle { from { transform: scale(1.045); } to { transform: scale(1); } }
.btn--glow::after { animation: sheen 2.4s 1.2s var(--ease) 1 both; }
@keyframes sheen { 0% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.hud li { animation: bob 2.3s var(--ease) 2 alternate; }
.amb i { animation: amb 4.6s var(--ease) 1 both; }
.pbtn { animation: ping 2.3s 2; }
.cue { animation: cue 2.3s var(--ease) 2; }
.wm .eyes i { animation: blink 4.6s 1; }

/* ---------------------------------------------------------------- reduced motion: everything complete and still */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .btn--glow::after, .amb, .hero .glow { display: none; }
  .hero .still { animation: none; }
}

/* ---------------------------------------------------------------- the result's "What you'll work on" (v6.1, 8 Nov) */
.focus { display: grid; gap: 12px; }
.focus > h3 { font-size: clamp(22px, 5vw, 28px); letter-spacing: -.02em; }
.focus-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .focus-grid { grid-template-columns: 1fr 1fr; } .fc-main { grid-column: 1 / -1; } }
.fc { border-radius: 20px; background: #fff; box-shadow: var(--sculpt); padding: 16px; display: grid; gap: 10px; align-content: start; animation: optIn .5s var(--ease) both; }
.fc-main { background: var(--graphite); color: var(--ivory); box-shadow: 0 24px 40px -26px #1d2128; }
.fc-main .kicker, .fc-main .small { color: var(--ink-on-dark-muted); }
.fc-big { font: 700 clamp(24px, 6vw, 32px)/1.08 var(--font-display); letter-spacing: -.03em; }
.fc-facts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fc-facts li { border-radius: 14px; background: #ffffff12; padding: 10px; display: grid; gap: 2px; align-content: start; }
.fc-facts b { font: 700 19px/1.1 var(--font-display); }
.fc-facts span { font-size: 12.5px; line-height: 1.3; color: #d6d9de; }
@media (max-width: 380px) { .fc-facts { grid-template-columns: 1fr; } }
.bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 9.5em 1fr 4em; align-items: center; gap: 10px; font-size: 14px; }
.bars .bl { font-weight: 700; }
.bars .bt { height: 10px; border-radius: 6px; background: var(--plaster); overflow: hidden; }
.bars .bt i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--graphite), var(--graphite-light)); animation: barIn .9s var(--ease) both; animation-delay: calc(var(--k) * 70ms + 150ms); transform-origin: left; }
@keyframes barIn { from { transform: scaleX(0); } }
.bars b { text-align: right; font-size: 13px; }
.pv[data-step="result"] .res[data-state] .bars .bt i { background: linear-gradient(90deg, var(--graphite), #5a606b); }
.skills { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--line); }
.skills li { border-bottom: 1px solid var(--line); }
.skills summary { list-style: none; cursor: pointer; display: grid; gap: 1px; padding: 9px 26px 9px 0; position: relative; min-height: 44px; }
.skills summary::-webkit-details-marker { display: none; }
.skills summary::after { content: '+'; position: absolute; right: 2px; top: 10px; font: 600 20px/1 var(--font-display); color: var(--slate); }
.skills details[open] summary::after { content: '–'; }
.skills summary b { font-size: 15px; }
.skills summary span { font-size: 13.5px; color: var(--ink2); }
.skills details p { font-size: 14px; line-height: 1.45; color: var(--ink2); padding: 0 0 8px; }
.fc-q { font-weight: 750; }
.quest { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.quest li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.4; }
.qbox { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--brass-shade); background: #fbe7be55; margin-top: 1px; }
.food-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.focus-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.swipe-hint { display: none; }
.focus-grid:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: 22px; }
/* phones: the five cards are a swipeable row (each one whole on screen), so the result stays short */
@media (max-width: 699.98px) {
  .swipe-hint { display: block; }
  .focus-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 88%; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 2px 2px 14px; margin: 0 -2px; scrollbar-width: none; }
  .focus-grid::-webkit-scrollbar { display: none; }
  .focus-grid > .fc { scroll-snap-align: start; }
  .fc-main { grid-column: auto; }
  .fc-facts { grid-template-columns: 1fr 1fr 1fr; }
}

/* headings that receive focus when a view opens: no ring for pointer users; the keyboard ring still shows */
h1[tabindex="-1"]:focus:not(:focus-visible), h2[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.drw-body h2[tabindex="-1"]:focus { outline: none; }

/* ---------------------------------------------------------------- v7 · the founding reservation (8 Nov 2026): monthly or annual,
   refundable until launch, a places-left line only from a real count, and the honest "reservations open soon" state */
.billing { margin: 0; padding: 4px; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.billing label { position: relative; cursor: pointer; }
.billing input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.billing span { display: grid; place-items: center; min-height: 44px; border-radius: 10px; font: 750 15px/1 var(--font-body); color: var(--ink2); transition: background .25s, color .25s, box-shadow .25s; }
.billing input:checked + span { background: var(--graphite); color: var(--ivory); box-shadow: 0 8px 18px -12px #1d2128; }
.billing input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.pl-opt { display: grid; gap: 8px; animation: optIn .35s var(--ease) both; }
.refund { display: flex; align-items: flex-start; gap: 10px; border-radius: 14px; background: #e3efe2; color: #1f4a22; padding: 10px 12px; font-size: 14.5px; line-height: 1.45; }
.refund .i { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.seats { font: 800 14px/1.3 var(--font-body); color: var(--graphite); }
.blocker p { margin: 0; }
.blocker p + p { margin-top: 8px; }
.blocker .btn { width: auto; }

/* Full-frame entrance while the camera is close to Theo; the settled crop returns with the copy. */
html.intro .hero:not(.copy-in) video { top: 0; height: 100%; object-position: 64% 25%; }
@media (max-aspect-ratio: 95/100) {
  html.intro .hero:not(.copy-in) video { object-position: 50% 100%; }
}
