/* ============================================================================
   Lyon Innovations: site styles.
   scrollcraft.css (the engine's floor) loads first. This file sets the tokens,
   then styles this site's own markup. It never restyles .sc-stage or any
   [data-sc-*] mechanism.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------- tokens -- */
:root {
  /* The home ground. Black and white, like the lion: the brand is
     monochrome, so the "accent" is white and nothing else is invented. */
  --sc-canvas:     #0a0a0b;
  --sc-surface:    #141416;
  --sc-ink:        #f4f4f1;
  --sc-ink-soft:   #a3a39f;
  --sc-accent:     #ffffff;
  --sc-accent-ink: #0a0a0b;
  --sc-font-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-text:    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-mono:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --sc-shadow-color: 240 6% 3%;

  /* Light world (AtListen). Neutral on purpose: the product's own colours
     live only in its screenshots. */
  --light-ground: #f3f2f6;
  --light-ink:    #17161c;
  --light-soft:   #55535d;

  --bar-h: 72px;
  --device-h: min(80svh, 940px);
  --device-w: calc(var(--device-h) * 9 / 16);
  --r-media: 20px;

  /* The key light on the stage's wall: neutral, never a colour. Shared by the home
     hero and the inner pages so every stage is lit the same way. */
  --key-light: radial-gradient(closest-side at 40% 42%,
    rgb(236 236 232 / 0.15) 0%, rgb(236 236 232 / 0.085) 34%,
    rgb(236 236 232 / 0.035) 62%, rgb(236 236 232 / 0.01) 84%, transparent 100%);
}

/* -------------------------------------------------------------- base -- */
body {
  /* Light type on a dark ground needs more weight, air and leading than the
     same metrics on paper, or it reads thin and blurry. */
  font-weight: 420;
  letter-spacing: 0;
  line-height: 1.66;
  background: var(--sc-canvas);
}
.sc-grain::before { background-image: url("/img/grain.png"); background-size: 192px 192px; }
.sc-grain { opacity: 0.035; z-index: 70; }

.skip {
  position: fixed; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--sc-ink); color: var(--sc-canvas); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.display {
  font-family: var(--sc-font-display);
  font-weight: 640;
  letter-spacing: -0.038em;
  line-height: 0.97;
  text-wrap: balance;
  margin: 0;
}
.display--hero { font-size: clamp(2.9rem, 1.2rem + 5.4vw, 6.6rem); letter-spacing: -0.048em; line-height: 0.93; }
.display--xl   { font-size: clamp(3.2rem, 1.6rem + 6.2vw, 8.2rem); letter-spacing: -0.05em; line-height: 0.92; }
.display--lg   { font-size: clamp(2.2rem, 1.3rem + 3.3vw, 4.6rem); }
.display--md   { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 3rem); letter-spacing: -0.03em; line-height: 1.02; }

/* The full stop: a true circle standing in for the period, which is still
   there for copy-and-paste and screen readers. It is the seed every world
   grows from, so it is drawn rather than typeset. */
.stop {
  display: inline-block;
  width: 0.17em; height: 0.17em;
  margin-left: 0.05em;
  border-radius: 50%;
  background: var(--stop-ink, var(--sc-ink));
  color: transparent;
  overflow: hidden;
  line-height: 0;
  vertical-align: baseline;
}

.world-name {
  margin: 0 0 var(--sc-4);
  font-size: var(--sc-t-sm);
  font-weight: 560;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--sc-ink) 82%, transparent);
}
.world-lede {
  margin: var(--sc-5) 0 0;
  max-width: 34rem;
  font-size: var(--sc-t-lg);
  line-height: 1.5;
  color: color-mix(in oklab, var(--sc-ink) 86%, transparent);
  text-wrap: pretty;
}

/* --------------------------------------------------------------- the bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  height: var(--bar-h);
  display: flex; align-items: center;
  padding: 0 var(--sc-gutter);
  color: var(--bar-ink, var(--sc-ink));
  --bar-soft: color-mix(in oklab, var(--bar-ink, var(--sc-ink)) 64%, transparent);
  transition: color var(--sc-d-base) var(--sc-ease-out);
}
.bar__scrim {
  position: absolute; inset: 0 0 -36px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom,
    color-mix(in oklab, var(--bar-ground, var(--sc-canvas)) 78%, transparent) 0%,
    color-mix(in oklab, var(--bar-ground, var(--sc-canvas)) 40%, transparent) 55%,
    transparent 100%);
  transition: opacity var(--sc-d-base) var(--sc-ease-out);
}
html[data-tone="light"] .bar { --bar-ink: var(--light-ink); --bar-ground: var(--light-ground); }
/* Over the home ground, copy scrolls up under the bar, so the bar gets a near-solid
   backing there: nothing passing beneath collides with its links. Over the worlds the
   lighter scrim keeps the imagery. */
html[data-world="home"]:not([data-tone="light"]) .bar__scrim,
html[data-bar="solid"]:not([data-tone="light"]) .bar__scrim {
  /* Solid to the bar's own bottom edge, then a short 14 px fade: a long fade below the bar
     let copy show through right under the links. */
  inset: 0 0 -14px 0;
  background: linear-gradient(to bottom,
    color-mix(in oklab, var(--sc-canvas) 97%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 96%, transparent) 83%,
    transparent 100%);
}
html[data-world="jungle"]:not([data-tone="light"]) .bar { --bar-ground: #0a1a0c; }
html[data-world="viking"]:not([data-tone="light"]) .bar { --bar-ground: #070c14; }

.bar__brand {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px;
  color: inherit; text-decoration: none;
  font-weight: 600; letter-spacing: -0.01em;
}
/* The traced marks keep their own proportions (lion 0.898:1, wordmark 14.14:1, both
   with even padding baked into the viewBox), so only a height is ever set. */
.bar__mark { width: auto; height: 32px; transition: filter var(--sc-d-base) var(--sc-ease-out); }
html[data-tone="light"] .bar__mark { filter: invert(1); }
/* The logo's own wordmark, not a font imitating it. At 12px its capitals stand 10px
   tall, the cap height of the nav links beside it. */
.bar__name { width: auto; height: 12px; transition: filter var(--sc-d-base) var(--sc-ease-out); }
html[data-tone="light"] .bar__name { filter: invert(1); }
.bar__index { position: relative; margin-left: auto; }
.bar__index ol { display: flex; gap: clamp(16px, 2.4vw, 34px); margin: 0; padding: 0; list-style: none; }
.bar__index a {
  display: flex; align-items: center; min-height: 44px;
  font-size: var(--sc-t-sm); font-weight: 500;
  color: var(--bar-soft); text-decoration: none;
  transition: color var(--sc-d-fast) var(--sc-ease-out);
}
.bar__index a[aria-current="true"] { color: inherit; }
.bar__dot {
  position: absolute; left: 0; top: 0;
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: currentColor;
  pointer-events: none;
  opacity: 0;
  transition: transform 520ms var(--sc-ease-out), opacity 260ms var(--sc-ease-out);
}
.bar__cta {
  display: inline-flex; align-items: center; min-height: 40px;
  margin-left: clamp(18px, 3vw, 44px);
  padding: 0 18px; border-radius: 999px;
  background: var(--bar-ink, var(--sc-ink)); color: var(--bar-ground, var(--sc-canvas));
  font-size: var(--sc-t-sm); font-weight: 600; text-decoration: none;
  transition: transform 140ms var(--sc-ease-out), background-color var(--sc-d-base) var(--sc-ease-out), color var(--sc-d-base) var(--sc-ease-out);
}
.bar__cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .bar__index a:hover { color: inherit; }
  .bar__cta:hover { background: color-mix(in oklab, var(--bar-ink, var(--sc-ink)) 82%, var(--bar-ground, var(--sc-canvas))); }
}

/* ------------------------------------------------------------- stages -- */
.act { position: relative; }
.stage--home { background: var(--sc-canvas); }
.stage--clear { background: transparent; }

/* ---------------------------------------------------------- 1 threshold -- */
.hero {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: var(--bar-h) var(--sc-gutter) 0;
  pointer-events: none;
}
/* The cue sits on the text block alone, so its box never takes in the lion. Wide enough
   that the headline holds two lines up to its largest size. */
.hero__copy { width: min(46rem, 52vw); pointer-events: auto; }
.display--hero { max-width: 11.5em; }

/* The stage. The brief's vibe is "a theatre's dark stage between acts", so the lion
   stands in a key light from the upper left: the wall behind it is lit, and it casts a
   soft shadow down and to the right. Every plane is positioned in the lion's own box, so
   the light holds at any viewport. --lights is the house lights going down (0 lit,
   1 dark), driven by the act's own progress, before the full stop opens. --mx and --my
   are the pointer (-1 to 1), written by site.js on desktop only. The lion itself is
   never filtered, recoloured or redrawn. */
.hero__room {
  --mx: 0; --my: 0;
  --lights: clamp(0, calc(var(--sc-p, 0) * 3.2), 1);
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero__subject {
  /* Centred on its true height: the box is 1.1132 times as tall as it is wide. */
  --hl-w: min(36vw, 54svh, 560px);
  position: absolute;
  right: calc(var(--sc-gutter) + 2vw); top: 50%;
  width: var(--hl-w); aspect-ratio: 652 / 725;
  margin-top: calc(var(--hl-w) * -0.5566 + var(--bar-h) * 0.4);
  transform-origin: 50% 55%;
}
/* Back plane: a pool of neutral light on the wall, centred up and left of the lion. */
.hero__wall {
  position: absolute; left: -75%; top: -55%; width: 230%; height: 200%;
  background: var(--key-light);
  opacity: calc(1 - var(--lights));
}
/* The lion's cast shadow on that wall: its own silhouette, black and soft, offset away
   from the light. On the unlit ground it disappears, as a real shadow does. */
.hero__shadow {
  position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none;
  filter: brightness(0) blur(calc(var(--hl-w) * 0.014));
  opacity: calc(0.92 * (1 - var(--lights)));
  transform: translate3d(calc(var(--hl-w) * 0.045), calc(var(--hl-w) * 0.06), 0);
}
.hero__lion {
  position: relative; display: block; width: 100%; height: auto;
  opacity: calc(1 - var(--sc-p, 0) * 1.6);
}
/* Front plane: a faint shaft of the same key light in the air before the lion. */
.hero__shaft {
  position: absolute; left: -120%; top: -95%; width: 260%; height: 240%;
  background: linear-gradient(122deg, transparent 36%, rgb(255 255 255 / 0.05) 44%,
    rgb(255 255 255 / 0.022) 50%, transparent 57%);
  -webkit-mask-image: radial-gradient(closest-side at 44% 42%, #000 22%, transparent 100%);
  mask-image: radial-gradient(closest-side at 44% 42%, #000 22%, transparent 100%);
  mix-blend-mode: screen;
  opacity: clamp(0, calc(1 - var(--lights) * 1.6), 1);
}
/* Tablets and small laptops: a little smaller, so the mane keeps clear of the headline. */
@media (min-width: 861px) and (max-width: 1180px) { .hero__subject { --hl-w: min(32vw, 54svh); } }
@media (prefers-reduced-motion: no-preference) {
  /* The whole stage recedes as the full stop opens, the way a far thing does. */
  .hero__subject { transform: translate3d(0, calc(var(--sc-p, 0) * -4vh), 0) scale(calc(1 - var(--sc-p, 0) * 0.28)); }
  /* Near and far planes answer the pointer at different rates: the lion is nearest, the
     wall and its shadow are far, and the shadow lengthens as the light goes down. */
  .hero__lion { transform: translate3d(calc(var(--mx) * -7px), calc(var(--my) * -6px), 0); }
  .hero__wall { transform: translate3d(calc(var(--mx) * 3px), calc(var(--my) * 3px), 0); }
  .hero__shadow {
    transform: translate3d(
      calc(var(--hl-w) * (0.045 + 0.05 * var(--lights)) + var(--mx) * 3px),
      calc(var(--hl-w) * (0.06 + 0.08 * var(--lights)) + var(--my) * 3px), 0);
  }
}
.hero__sub {
  margin: var(--sc-6) 0 0;
  max-width: 30rem;
  font-size: var(--sc-t-lg); line-height: 1.5;
  color: var(--sc-ink-soft);
}
@media (prefers-reduced-motion: no-preference) {
  #stop-hero { animation: stop-breathe 3.2s var(--sc-ease-in-out) infinite; }
}
@keyframes stop-breathe { 50% { transform: scale(1.14); } }

/* A portal is a world clipped to a circle that grows out of a full stop.
   site.js writes the clip. Before it does, the world is closed. */
.portal {
  position: absolute; inset: 0; z-index: 2;
  overflow: hidden;
  clip-path: circle(0 at 50% 50%);
  visibility: hidden;
  pointer-events: none;
}
.portal__fill { position: absolute; inset: 0; background: var(--sc-ink); }
/* Holds a link, so it is never visibility:hidden (see site.js). */
.atl-world { visibility: visible; }
/* Reduced motion: a world switches in at one point (site.js) with a short fade. */
@media (prefers-reduced-motion: reduce) { .portal { transition: opacity 260ms var(--sc-ease-out); } }
/* A soft portal is drawn by a feathered mask (site.js), never by the default clip. */
.portal[data-portal-soft] { clip-path: none; }

/* The jungle is fixed to the viewport for its whole chapter. */
.jb-world { position: fixed; inset: 0; background: #1b2a17; }
.jb-world__inner { position: absolute; inset: 0; overflow: hidden; }
.jb-plane { position: absolute; pointer-events: none; will-change: transform, opacity; }
.jb-plane--far, .jb-plane--soft {
  inset: -5%;
  width: 110%; height: 110%; max-width: none;
  object-fit: cover; object-position: 50% 62%;
  filter: saturate(1.14) contrast(1.06);
}
.jb-plane--soft { opacity: 0; }
.jb-rays {
  inset: 0;
  background:
    linear-gradient(104deg, transparent 22%, rgb(255 244 200 / 0.07) 30%, transparent 37%),
    linear-gradient(98deg, transparent 46%, rgb(255 238 186 / 0.09) 53%, transparent 61%),
    linear-gradient(108deg, transparent 63%, rgb(255 246 210 / 0.06) 69%, transparent 76%);
  mix-blend-mode: screen;
}
.jb-monkey { left: 61%; top: 9%; width: clamp(150px, 16vw, 290px); transform-origin: 50% 2%; }
.jb-monkey img { width: 100%; height: auto; max-width: none; }
.jb-mist {
  inset: auto 0 0 0; height: 46%;
  background: linear-gradient(to top, rgb(222 236 196 / 0.16), transparent);
}
.jb-leaves { width: clamp(300px, 36vw, 660px); height: auto; max-width: none; bottom: -12%; }
.jb-leaves--l { left: -7%; }
.jb-leaves--r { right: -7%; }
.jb-dim { inset: 0; background: #0b170d; opacity: 0; }
.jb-shade {
  inset: 0; opacity: 0;
  background: linear-gradient(90deg,
    rgb(7 15 8 / 0.88) 0%, rgb(7 15 8 / 0.5) 30%, rgb(7 15 8 / 0.28) 42%,
    rgb(7 15 8 / 0.28) 58%, rgb(7 15 8 / 0.5) 70%, rgb(7 15 8 / 0.88) 100%);
}

/* Copy over the jungle sits on a corner scrim, a sibling so the contrast
   pass sees it, faded in from the act's own progress. */
.jb-scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to top right,
    rgb(8 18 9 / 0.95) 0%, rgb(8 18 9 / 0.88) 34%, rgb(8 18 9 / 0.6) 52%, rgb(8 18 9 / 0.2) 70%, transparent 86%);
  /* Full by 0.583, when its copy is; gone in the last 1.7% of the act, before the stage
     moves, so its edge never sweeps up the screen. */
  opacity: min(clamp(0, calc((var(--sc-p, 0) - 0.5) * 12), 1), clamp(0, calc((1 - var(--sc-p, 0)) * 60), 1));
}
.world-copy {
  position: absolute; z-index: 4;
  left: var(--sc-gutter); right: var(--sc-gutter);
  bottom: clamp(3rem, 11vh, 8rem);
  max-width: 44rem;
}

/* -------------------------------------------------------------- 3 burst -- */
.burst__device {
  position: absolute; z-index: 2;
  left: 50%; top: 50%;
  height: var(--device-h); width: var(--device-w);
  transform: translate(-50%, -50%);
  padding: 9px;
  border-radius: 46px;
  /* --bezel (site.js) falls to 0 as the camera pushes into the screen at the impact, so the
     shot fills the view instead of a phone in a blur. It grows from its left edge, at the
     explosion's height, into the empty right half: scaled about its centre it reached into
     "Pull back. Let go." and took that line to 3:1. The trail line arrives once it eases back. */
  transform-origin: 0% 59%;
  background: rgb(11 12 14 / var(--bezel, 1));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / calc(0.10 * var(--bezel, 1))),
    0 4px 10px hsl(130 40% 3% / calc(0.32 * var(--bezel, 1))),
    0 22px 46px -14px hsl(130 40% 3% / calc(0.6 * var(--bezel, 1)));
}
.burst__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 37px; overflow: hidden;
  background: #1b2a17;
}
.burst__screen picture { display: contents; }
.burst__copy {
  position: absolute; z-index: 3; top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.burst__copy--lead  { left: var(--sc-gutter); right: calc(50% + var(--device-w) / 2 + clamp(1.5rem, 4vw, 4.5rem)); }
.burst__copy--trail { left: calc(50% + var(--device-w) / 2 + clamp(1.5rem, 4vw, 4.5rem)); right: var(--sc-gutter); }
.burst__copy--trail .world-lede { font-size: var(--sc-t-base); }
.burst__scrim { display: none; position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* ------------------------------------------------------------- 4 bosses -- */
.rail {
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  height: 100%;
  padding: var(--bar-h) var(--sc-gutter) 0;
}
/* The heading sits outside the rail. On desktop an empty first item of the same width keeps
   the cards' starting place, and the heading fades as the first card slides over it (gone by
   0.185, before the harness's 0.212 sample). On phones it holds above the cards. */
.bosses__head {
  position: absolute; z-index: 0; left: var(--sc-gutter); top: 0; bottom: 0;
  width: calc(min(30rem, 78vw) - clamp(1rem, 3vw, 3rem));
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--bar-h);
}
@media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
  .bosses__head { opacity: clamp(0, calc(1 - (var(--sc-p, 0) - 0.06) * 8), 1); }
}
.act--bosses .rail { position: relative; z-index: 1; }
.rail__lead { flex: 0 0 min(30rem, 78vw); padding-right: clamp(1rem, 3vw, 3rem); }
.rail__tail { flex: 0 0 min(25rem, 78vw); padding-left: clamp(1rem, 3vw, 3rem); }
.boss { flex: 0 0 clamp(15rem, 23vw, 24rem); margin: 0; }
.boss img {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  border-radius: var(--r-media);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 2px 6px hsl(130 40% 3% / 0.4), 0 22px 44px -14px hsl(130 40% 3% / 0.6);
}
.boss h3 { margin: var(--sc-4) 0 0; font-size: var(--sc-t-lg); font-weight: 620; letter-spacing: -0.015em; line-height: 1.2; }
.boss p { margin: 2px 0 0; font-size: var(--sc-t-sm); color: color-mix(in oklab, var(--sc-ink) 84%, transparent); line-height: 1.45; }
.boss p span { display: block; color: color-mix(in oklab, var(--sc-ink) 66%, transparent); }
.boss:nth-child(2) { --i: 1; } .boss:nth-child(3) { --i: 2; } .boss:nth-child(4) { --i: 3; }
.boss:nth-child(5) { --i: 4; } .boss:nth-child(6) { --i: 5; }
@media (prefers-reduced-motion: no-preference) {
  /* Each boss settles in turn as the rail travels, so the rail reads as a
     drawer being pulled rather than a slideshow on rails. */
  .boss {
    --k: clamp(0, calc(var(--sc-p, 0) * 6.2 - var(--i) + 1.7), 1);
    opacity: calc(0.55 + 0.45 * var(--k));
    transform: translate3d(0, calc((1 - var(--k)) * 26px), 0);
  }
}

/* ----------------------------------------------------------- 5 atlisten -- */
.title-card {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--bar-h) var(--sc-gutter) 0;
}
.title-card__sub { margin: var(--sc-5) 0 0; font-size: var(--sc-t-lg); color: var(--sc-ink-soft); }
.atl-world__ground {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 40%, #fbfbfd 0%, var(--light-ground) 55%, #e9e8ee 100%);
}
.atl-step, .atl-screen, .atl-study { position: absolute; z-index: 3; }
/* The engine hands pointer events to a cue only while it is legible, and children inherit
   that, so nothing in this world is clickable while it is faded out. */
.atl-world :focus-visible { outline-color: var(--light-ink); }
.atl-step {
  left: var(--sc-gutter); width: min(30rem, 36vw);
  top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--light-ink);
  font-weight: 400;
}
.atl-step p { margin: var(--sc-4) 0 0; font-size: var(--sc-t-lg); line-height: 1.5; color: var(--light-soft); max-width: 28rem; }
.atl-link { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: var(--sc-6) !important; }
.atl-link span { font-size: var(--sc-t-sm); color: var(--light-soft); }
.link-out {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: 0 22px; border-radius: 999px;
  background: var(--light-ink); color: #fff;
  font-size: var(--sc-t-base); font-weight: 600; text-decoration: none;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.link-out::after { content: "\2197"; margin-left: 8px; font-weight: 500; }
.link-out:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .link-out:hover { background: #2b2933; } }
/* One window onto the real upload screen, zoomed so its own text is readable (about 0.46
   of the capture at 1440). --cam (0 to 1, site.js) moves the view from the drop zone down
   to the study depth and AI model: a vertical pan over a 1504 px wide region of the
   1600x1726 capture, from y 40 to y 723. */
.atl-screen { margin: 0; right: var(--sc-gutter); top: 0; bottom: 0; width: min(48vw, 46rem); display: flex; align-items: center; }
.atl-screen__view {
  position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: 18px; background: #fff; border: 1px solid #e3e2e8;
  box-shadow: 0 2px 6px hsl(250 20% 30% / 0.06), 0 30px 70px -24px hsl(250 30% 30% / 0.3);
}
.atl-screen__img {
  --x: -3%; --y0: -2.317%; --y1: -41.889%;
  position: absolute; left: 0; top: 0; max-width: none; height: auto;
  width: calc(100% * 1600 / 1504);
  transform: translate3d(var(--x), calc(var(--y0) + (var(--y1) - var(--y0)) * var(--cam, 0)), 0);
}
/* What comes back: a practice question behind a flashcard that turns over. Both are the
   app's own captures, its starry theme, clipped to their own rounded corners. */
.atl-study { right: var(--sc-gutter); top: 0; bottom: 0; width: min(46vw, 44rem); perspective: 1800px; }
.atl-study__quiz {
  position: absolute; right: 0; top: 50%; width: 70%; height: auto;
  border-radius: 2.2% / 3.1%;
  transform: translate(2%, -96%) rotate(3deg);
  box-shadow: 0 2px 6px hsl(250 30% 20% / 0.1), 0 24px 50px -20px hsl(250 40% 20% / 0.4);
}
.atl-flip {
  position: absolute; left: 0; top: 50%; width: 86%; aspect-ratio: 16 / 9;
  margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 14px;
  transform: translateY(-34%);
  -webkit-tap-highlight-color: transparent;
}
.atl-flip:focus-visible { outline-offset: 6px; }
.atl-flip__card { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; }
.atl-flip__face {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 2.34% / 4.17%;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 2px 8px hsl(250 30% 20% / 0.14), 0 34px 70px -22px hsl(250 40% 20% / 0.5);
}
.atl-flip__face--back { transform: rotateY(180deg); }
/* Reduced motion: the card never turns. The faces cross-fade instead. */
@media (prefers-reduced-motion: reduce) {
  .atl-flip__face { transition: opacity 200ms var(--sc-ease-out); }
  .atl-flip__face--back { transform: none; opacity: 0; }
  .atl-flip.is-turned .atl-flip__face--back { opacity: 1; }
  .atl-flip.is-turned .atl-flip__face--front { opacity: 0; }
}

/* Reduced motion on wide screens: every boss in one view, rather than a sideways scroll
   region nobody is told about. The heading holds top left and the tail top right. */
@media (prefers-reduced-motion: reduce) and (min-width: 861px) {
  .act--bosses [data-sc-stage] { overflow: hidden; }
  .bosses__head { top: calc(var(--bar-h) + 3svh); bottom: auto; padding-top: 0; }
  .act--bosses .rail {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-content: end;
    column-gap: 20px; max-width: calc(130svh + 80px + 2 * var(--sc-gutter));
    padding: 0 var(--sc-gutter) 6svh;
  }
  .act--bosses .rail__lead { display: none; }
  .act--bosses .rail__tail { position: absolute; right: var(--sc-gutter); top: calc(var(--bar-h) + 3svh); width: min(25rem, 32vw); padding: 0; }
}

/* --------------------------------------------------------- 6 reel viking -- */
.rv-world { background: #0b1220; }
.rv-world picture { display: contents; }
/* First-person frames: Bjorn's hands are at the bottom, so any crop keeps the bottom. */
.rv-plane { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.rv-storm { position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) {
  .rv-storm { opacity: clamp(0, calc((var(--sc-p, 0) - 0.6) * 4), 1); }
}
.rv-scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  /* The copy sits in the sky, top left, so the hands at the bottom stay clear: a corner of
     density sized to the copy, not a band across the frame. */
  background: radial-gradient(130% 105% at 0% 0%, rgb(5 9 16 / 0.92) 0%, rgb(5 9 16 / 0.84) 34%, rgb(5 9 16 / 0.5) 58%, rgb(5 9 16 / 0.14) 76%, transparent 86%);
  opacity: clamp(0, calc((var(--sc-p, 0) - 0.25) * 8), 1);   /* full by 0.375, before its copy */
}
.rv-copy {
  position: absolute; z-index: 4;
  left: var(--sc-gutter); right: var(--sc-gutter);
  top: calc(var(--bar-h) + clamp(1.25rem, 6vh, 4.5rem));
  max-width: 44rem;
}

/* ------------------------------------------------------------- 6½ video -- */
/* The reel's own world: its dark concrete hall, softened into ambient light, with the
   reel's first frame standing in it like a screen. The screen and "Play the reel" open
   the intro's player with sound (intro.js). */
html[data-world="video"]:not([data-tone="light"]) .bar { --bar-ground: #040507; }
.vid-world { background: #040507; }
.vid-world .portal__fill { z-index: 3; }
.vid-ambient {
  position: absolute; inset: -8%;
  width: 116%; height: 116%; max-width: none;
  object-fit: cover; object-position: 50% 42%;
  opacity: 0.7;
}
/* The hall falls away to black at its edges, so the screen is the brightest thing in it. */
.vid-world::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(90% 110% at 62% 50%, transparent 0%, rgb(4 5 7 / 0.3) 55%, rgb(4 5 7 / 0.8) 100%);
}
.vid-screen {
  position: absolute; z-index: 2;
  right: max(var(--sc-gutter), calc(50% - 38rem)); top: 50%;
  width: var(--device-w); height: var(--device-h);
  transform: translateY(-50%);
  border-radius: var(--r-media); overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.07), 0 50px 120px -30px rgb(0 0 0 / 0.95);
  pointer-events: auto; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vid-screen picture { display: contents; }
.vid-screen img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--sc-ease-out), filter 400ms var(--sc-ease-out); }
/* The play ring sits on the wet floor below the car, never over it. */
.vid-screen__ring {
  position: absolute; left: 50%; top: 73%;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.85);
  background: rgb(0 0 0 / 0.3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform 240ms var(--sc-ease-out), background-color 240ms var(--sc-ease-out);
}
.vid-screen__ring svg { width: 30px; height: 30px; fill: #fff; }
@media (hover: hover) and (pointer: fine) {
  .vid-screen:hover img { transform: scale(1.03); filter: brightness(1.1); }
  .vid-screen:hover .vid-screen__ring { transform: scale(1.08); background: rgb(255 255 255 / 0.14); }
}
.vid-scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgb(4 5 7 / 0.9) 0%, rgb(4 5 7 / 0.72) 34%, rgb(4 5 7 / 0.2) 58%, transparent 72%);
  opacity: clamp(0, calc((var(--sc-p, 0) - 0.21) * 8), 1);   /* full by 0.335, before its copy */
}
/* The hold is never a still: the hall settles and the screen rises a little through the act. */
@media (prefers-reduced-motion: no-preference) {
  .vid-ambient { transform: scale(calc(1.1 - var(--sc-p, 0) * 0.1)); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
  .vid-screen { transform: translateY(calc(-50% + (0.5 - var(--sc-p, 0)) * 6vh)); }
}
/* No transform here: the engine's cue owns this element's transform. */
.vid-copy {
  position: absolute; z-index: 4;
  left: var(--sc-gutter); top: 0; bottom: 0;
  width: min(34rem, calc(100% - var(--device-w) - 3 * var(--sc-gutter)));
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--bar-h);
}
.vid-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-3) var(--sc-5); margin: var(--sc-6) 0 0; }
.vid-actions > span { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.button--play::before {
  content: ""; flex: none; position: relative; z-index: 2;
  width: 0.7em; height: 0.8em; margin: 0 12px 0 -4px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.vid-note { margin: var(--sc-5) 0 0; max-width: 30rem; font-size: var(--sc-t-sm); line-height: 1.5; color: color-mix(in oklab, var(--sc-ink) 62%, transparent); }

/* Phones: the screen stands above the copy, as large as the copy leaves room for. On a
   short phone it gives way, and the hall itself is the picture. */
@media (max-width: 860px) {
  .vid-screen {
    --sh: min(46svh, calc(100svh - var(--bar-h) - 25.5rem));
    left: 50%; right: auto; top: calc(var(--bar-h) + 2svh);
    width: calc(var(--sh) * 9 / 16); height: var(--sh);
    transform: translateX(-50%);
    border-radius: 14px;
  }
  .vid-screen__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .vid-screen__ring svg { width: 22px; height: 22px; }
  .vid-world::after { background: radial-gradient(90% 60% at 50% 30%, transparent 0%, rgb(4 5 7 / 0.55) 60%, rgb(4 5 7 / 0.92) 100%); }
  .vid-scrim { background: linear-gradient(to top, rgb(4 5 7 / 0.94) 0%, rgb(4 5 7 / 0.82) 38%, rgb(4 5 7 / 0.3) 60%, transparent 72%); }
  .vid-copy { top: auto; bottom: max(4svh, 16px); right: var(--sc-gutter); width: auto; display: block; padding-top: 0; }
  .vid-copy .display--lg { font-size: clamp(2rem, 9vw, 2.8rem); }
  .vid-copy .world-lede { margin-top: var(--sc-4); }
  .vid-actions { margin-top: var(--sc-5); }
  .vid-note { margin-top: var(--sc-4); }
}
/* Phones have no room for a fourth nav link: the section is a scroll away, and About links it. */
@media (max-width: 860px) {
  .bar__index .bar__wide { display: none; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .vid-screen { display: none; }
  .vid-ambient { opacity: 0.8; }
}

/* ------------------------------------------------------------ 7 studio -- */
.studio { position: relative; z-index: 1; background: var(--sc-canvas); }
.studio__grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 7vw, 8rem); align-items: start;
}
.studio__intro { margin: var(--sc-6) 0 0; max-width: 32rem; font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); }
.studio__list { margin: 0; padding-top: var(--sc-2); }
.studio__list > div { padding: var(--sc-5) 0; border-top: 1px solid var(--sc-hairline); }
.studio__list > div:last-child { border-bottom: 1px solid var(--sc-hairline); }
.studio__list dt { font-size: var(--sc-t-lg); font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.studio__list dd { margin: var(--sc-2) 0 0; max-width: 40ch; color: var(--sc-ink-soft); }

/* ------------------------------------------------------------- 8 close -- */
.close__inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding: var(--bar-h) var(--sc-gutter) 6rem;
}
/* The company's own mark, opened by the last full stop on the page. It is Will's full
   logo to its own proportions: the box is the wordmark's width, and every share below is
   measured from "Lyon Innovations LLC Logo.png" by tools/trace-brand.mjs. Percentage
   margins resolve against the box's width, so the lockup holds at every size. */
.close__logo.portal {
  --lockup-w: min(36vw, 540px, 70svh);
  position: relative; inset: auto; z-index: 1;
  display: block;
  flex: 0 0 auto;
  width: var(--lockup-w);
  overflow: visible;
}
.close__lion { display: block; width: 63.779%; height: auto; margin-left: 17.819%; }
.close__wordmark { display: block; width: 100%; max-width: none; height: auto; margin-top: 1.206%; }
.close__text { max-width: 30rem; }
.close__lede { margin: var(--sc-5) 0 var(--sc-6); font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); }
.close__text > p:last-child { margin: 0; }
.button {
  display: inline-flex; align-items: center; min-height: 52px;
  padding: 0 28px; border-radius: 999px;
  background: var(--sc-accent); color: var(--sc-accent-ink);
  font-size: var(--sc-t-base); font-weight: 620; text-decoration: none;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.12), 0 1px 2px hsl(240 6% 3% / 0.4), 0 10px 24px -10px hsl(240 6% 3% / 0.7);
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .button:hover { background: #dcdcd8; } }
.foot {
  position: absolute; left: var(--sc-gutter); right: var(--sc-gutter); bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sc-4);
  min-height: 64px;
  border-top: 1px solid var(--sc-hairline);
  font-size: var(--sc-t-sm); color: var(--sc-ink-soft);
}
.foot ul { display: flex; gap: var(--sc-5); margin: 0; padding: 0; list-style: none; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--sc-ink); } }

/* ------------------------------------------------------------- phones -- */
@media (max-width: 860px) {
  :root { --bar-h: 60px; }
  .bar__name { display: none; }
  .bar__index ol { gap: 16px; }
  .bar__index a { font-size: 0.84rem; }
  /* The one action stays in the nav on phones, as the brief promises: a compact pill
     with a hit area of 44 px. */
  .bar__index a, .bar__cta { white-space: nowrap; }
  .bar__cta { position: relative; min-height: 32px; margin-left: 14px; padding: 0 12px; font-size: 0.8rem; }
  .bar__cta::before { content: ""; position: absolute; inset: -6px -4px; }

  .hero { justify-content: flex-end; padding-bottom: 14vh; }
  .hero__copy { width: 100%; }

  .jb-plane--far, .jb-plane--soft { object-position: 50% 50%; }
  .jb-monkey { left: 54%; top: 10%; width: 38vw; }
  .jb-leaves { width: 64vw; bottom: -8%; }
  .jb-leaves--l { left: -16%; }
  .jb-leaves--r { right: -16%; }
  .jb-scrim {
    background: linear-gradient(to top, rgb(8 18 9 / 0.95) 0%, rgb(8 18 9 / 0.86) 34%, rgb(8 18 9 / 0.56) 52%, rgb(8 18 9 / 0.16) 66%, transparent 76%);
  }

  /* The phone IS the device: the clip goes full-bleed and the copy moves to
     the top, because the cannon lives at the bottom of the frame. */
  .burst__device { inset: 0; left: 0; top: 0; width: auto; height: auto; transform: none; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .burst__screen { border-radius: 0; }
  .burst__copy { z-index: 4; top: var(--bar-h); bottom: auto; padding-top: var(--sc-4); justify-content: flex-start; }
  .burst__copy--lead, .burst__copy--trail { left: var(--sc-gutter); right: var(--sc-gutter); }
  .burst__copy .display--lg { font-size: clamp(2.2rem, 10vw, 3rem); }
  .burst__copy .display--md { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  /* On a phone the clip itself moves with the stage, so a scrim attached to
     the stage stays attached to the picture under the copy. */
  .burst__scrim--lead { display: block; z-index: 3; background: linear-gradient(to bottom, rgb(7 15 8 / 0.94) 0%, rgb(7 15 8 / 0.86) 26%, rgb(7 15 8 / 0.5) 40%, rgb(7 15 8 / 0.14) 52%, transparent 60%); }

  .boss { flex-basis: 64vw; }
  .rail__tail { flex-basis: 76vw; }
  .rail__lead { display: none; }
  .bosses__head { top: calc(var(--bar-h) + 12px); bottom: auto; right: var(--sc-gutter); width: auto; padding-top: 0; }
  .act--bosses .rail { align-items: flex-end; padding-bottom: max(5svh, 20px); }

  .atl-step { width: auto; right: var(--sc-gutter); top: calc(var(--bar-h) + 8px); bottom: auto; justify-content: flex-start; }
  .atl-step .display--md { font-size: clamp(1.6rem, 7.4vw, 2.2rem); }
  .atl-step p { font-size: var(--sc-t-base); }
  /* Phones: the window is square and closer in (a 1100 px region from x 250), so the
     app's text stays readable. The pan runs from y 150 to y 600. */
  .atl-screen { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: auto; bottom: max(4svh, 16px); display: block; }
  .atl-screen__view { width: min(100%, 50svh); margin: 0 auto; aspect-ratio: 1 / 1; }
  /* A close-up of a wider screen: soften the side edges, so the crop reads as a lens and
     not as a label sliced in half. */
  .atl-screen__img { -webkit-mask-image: linear-gradient(90deg, transparent 15.7%, #000 20.5%, #000 79.5%, transparent 84.3%); mask-image: linear-gradient(90deg, transparent 15.7%, #000 20.5%, #000 79.5%, transparent 84.3%); }
  .atl-screen__img { --x: -15.625%; --y0: -8.691%; --y1: -34.762%; width: calc(100% * 1600 / 1100); }
  .atl-study { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: auto; bottom: max(5svh, 20px); height: min(44svh, 112vw); }
  .atl-study__quiz { width: 76%; top: auto; bottom: 34%; transform: rotate(3deg); }
  .atl-flip { width: 100%; top: auto; bottom: 0; transform: none; }

  .rv-plane { object-position: 50% 100%; }
  .rv-scrim { background: linear-gradient(to bottom, rgb(5 9 16 / 0.9) 0%, rgb(5 9 16 / 0.78) 30%, rgb(5 9 16 / 0.36) 50%, transparent 64%); }
  .rv-copy .display--lg { font-size: clamp(2rem, 9vw, 2.8rem); }

  .studio__grid { grid-template-columns: 1fr; }

  /* Phones: the stage above, the copy below. The lion takes the space above the copy
     (at most 29svh wide, so with its shadow it clears the headline at 360x640). */
  .hero__subject { --hl-w: min(60vw, 29svh); left: 50%; right: auto; top: calc(var(--bar-h) + 4svh); margin: 0 0 0 calc(var(--hl-w) * -0.5); }
  .close__inner { flex-direction: column; justify-content: center; gap: var(--sc-6); padding-bottom: 7rem; text-align: center; }
  /* The lockup stands at most 28svh tall (its height is 0.7928 of its width). */
  .close__logo.portal { --lockup-w: min(58vw, 35svh); }
  .foot { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: var(--sc-3) 0; }
}
@media (max-width: 420px) {
  .bar__index ol { gap: 11px; }
  .bar__index a { font-size: 0.76rem; }
  .bar__cta { margin-left: 10px; padding: 0 10px; font-size: 0.76rem; }
}
@media (max-width: 380px) {
  .bar__brand { gap: 8px; }
  .bar__index ol { gap: 9px; }
  .bar__index a, .bar__cta { font-size: 0.72rem; }
  .bar__cta { margin-left: 8px; padding: 0 9px; }
}
@media (max-width: 365px) {
  .bar__index ol { gap: 8px; }
  .bar__index a, .bar__cta { font-size: 0.69rem; }
}
@media (max-width: 339px) {
  .bar__mark { height: 26px; }
  .bar__index ol { gap: 6px; }
  .bar__index a, .bar__cta { font-size: 0.64rem; }
  .bar__cta { margin-left: 5px; padding: 0 7px; }
}

/* ------------------------------------------------------------- no js -- */
/* Without the engine nothing pins and nothing cues, so the page falls back
   to a plain document: every line visible, every image in order. */
.no-js [data-sc-cue], .no-js [data-sc-in], .no-js [data-sc-stagger] > * { opacity: 1; transform: none; }
.no-js [data-sc-stage] {
  position: relative; min-height: 0;
  display: flex; flex-direction: column; gap: 2rem;
  padding: calc(var(--bar-h) + 3rem) var(--sc-gutter) 3rem;
}
.no-js [data-sc-stage] > *, .no-js .rail > * { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; transform: none; }
.no-js .hero__room { position: relative; height: auto; }
.no-js .hero__subject { position: relative; inset: auto; margin: 0 auto; --hl-w: min(56vw, 320px); }
.no-js .jb-world, .no-js .jb-scrim, .no-js .rv-scrim, .no-js .burst__scrim, .no-js .portal__fill { display: none; }
.no-js .portal { clip-path: none; visibility: visible; height: 56vw; max-height: 70vh; }
.no-js .burst__device { width: min(80vw, 420px); height: auto; aspect-ratio: 9 / 16; }
/* Without the engine the clip never loads, so its empty <video> must not take up room
   under the poster: the poster stands for the shot, inside its device. */
.no-js .burst__screen video { display: none; }
/* The engine sizes the poster through .sc-stage, which it adds at mount. Without it the
   poster's height attribute (1600) applied under a CSS width, so override both. */
.no-js .burst__screen { height: auto; aspect-ratio: 9 / 16; }
.no-js .burst__screen .sc-stage__poster { display: block; width: 100%; height: 100%; object-fit: cover; }
/* AtListen: without the engine its world is a plain light panel holding the three steps,
   the real upload screen and both faces of the flashcard, in reading order. */
.no-js .atl-world { display: block; height: auto; max-height: none; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-media); background: var(--light-ground); }
.no-js .atl-world > * { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; }
.no-js .atl-world__ground, .no-js .atl-study__quiz { display: none; }
.no-js .atl-step { display: block; width: auto; }
.no-js .atl-step + .atl-step { margin-top: 2rem; }
.no-js .atl-screen { display: block; width: min(100%, 40rem); margin: 2.5rem 0 0; }
.no-js .atl-screen__view { aspect-ratio: auto; }
.no-js .atl-screen__img { position: static; width: 100%; transform: none; -webkit-mask-image: none; mask-image: none; }
.no-js .atl-study { width: min(100%, 40rem); height: auto; margin-top: 1.5rem; perspective: none; }
.no-js .atl-flip { position: static; width: 100%; aspect-ratio: auto; transform: none; cursor: default; }
.no-js .atl-flip__card { height: auto; transform: none; }
.no-js .atl-flip__face { position: static; height: auto; }
.no-js .atl-flip__face--back { transform: none; margin-top: 1rem; }
.no-js .rail { flex-wrap: wrap; height: auto; padding: 0; }
.no-js .rail__lead { display: none; }
.no-js .atl-step { color: var(--light-ink); }
.no-js .atl-step p { color: var(--light-soft); }
.no-js .close__inner { position: relative; }
.no-js .close__logo.portal { height: auto; max-height: none; }
.no-js .foot { position: relative; }

/* ======================================================= inner pages == */
/* About, Contact and 404 share the home page's ground, type and stage. They run no
   JavaScript, so everything here is static CSS: the lit stage holds its light, with no
   scroll or pointer response. */
.page-wrap { min-height: 100svh; display: flex; flex-direction: column; }
.page-wrap .bar { position: absolute; }
/* Full width, so its edges are the viewport's: the stage's light spills past the column and
   is clipped only where the screen ends, never on a visible line. The content column is
   the padding. */
.inner {
  flex: 1 0 auto;
  width: 100%;
  padding: calc(var(--bar-h) + clamp(1.5rem, 5vw, 4rem)) max(var(--sc-gutter), (100% - 82rem) / 2) clamp(4rem, 9vw, 7rem);
  overflow-x: hidden; overflow-x: clip;
}
.inner-hero {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center; gap: clamp(2rem, 6vw, 6rem);
  min-height: min(64svh, 600px);
}
.inner-hero__lede { margin: var(--sc-6) 0 0; max-width: 34rem; font-size: var(--sc-t-lg); line-height: 1.55; color: var(--sc-ink-soft); text-wrap: pretty; }
.inner-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-4) var(--sc-6); margin: var(--sc-7) 0 0; }

/* The lit stage, still: the same key light and cast shadow as the home hero. */
.lit-stage { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 652 / 725; }
.lit-stage__wall { position: absolute; left: -75%; top: -55%; width: 230%; height: 200%; background: var(--key-light); pointer-events: none; }
.lit-stage__shadow, .lit-stage__mark { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; }
.lit-stage__shadow { filter: brightness(0) blur(clamp(3px, 0.45vw, 6px)); opacity: 0.92; transform: translate(4.5%, 5.4%); }
/* 404: the house lights are down, one dim light left on the stage. The mark stays white. */
.lit-stage--dim .lit-stage__wall { opacity: 0.45; }
.lit-stage--dim .lit-stage__shadow { opacity: 0.6; }

/* Contact: Will's full lockup on the stage, to its own proportions (as at the close). */
.lit-stage--lockup { aspect-ratio: 1021.5 / 809.8; width: min(100%, 420px); }
.lockup { position: absolute; inset: 0; }
.lockup img { display: block; height: auto; max-width: none; }
.lockup__lion { width: 63.779%; margin-left: 17.819%; }
.lockup__word { width: 100%; margin-top: 1.206%; }
.lockup--shadow { filter: brightness(0) blur(clamp(3px, 0.45vw, 6px)); opacity: 0.9; transform: translate(3.6%, 3.4%); }

/* What we make: one ledger row per product, each in its own world's imagery. */
.ledger { margin-top: clamp(3.5rem, 9vw, 7rem); }
.ledger__title { margin-bottom: var(--sc-7); }
.ledger__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sc-hairline); }
.ledger__item {
  display: grid; grid-template-columns: minmax(11rem, 17rem) minmax(0, 40rem);
  gap: clamp(1.5rem, 5vw, 5rem); align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--sc-hairline);
}
.ledger__media {
  margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-media);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 2px 6px hsl(240 6% 3% / 0.4), 0 22px 44px -16px hsl(240 6% 3% / 0.7);
}
.ledger__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ledger__item--jb .ledger__media img { object-position: 50% 58%; }
.ledger__item--rv .ledger__media img { object-position: 50% 80%; }
/* AtListen is a light, orderly product: its real upload screen sits on its own ground. */
.ledger__item--atl .ledger__media { background: radial-gradient(120% 90% at 70% 30%, #fbfbfd 0%, var(--light-ground) 60%, #e6e5ec 100%); display: grid; place-items: center; padding: 9%; }
.ledger__item--atl .ledger__media img { height: auto; object-fit: contain; border-radius: 10px; border: 1px solid #e3e2e8; box-shadow: 0 2px 6px hsl(250 20% 30% / 0.08), 0 18px 40px -16px hsl(250 30% 30% / 0.28); }
.ledger__text h3 { margin: 0; font-size: var(--sc-t-2xl); font-weight: 640; letter-spacing: -0.03em; line-height: 1.05; }
.ledger__meta { margin: var(--sc-2) 0 0; font-size: var(--sc-t-sm); font-weight: 520; letter-spacing: 0.02em; color: color-mix(in oklab, var(--sc-ink) 70%, transparent); }
.ledger__text > p:not(.ledger__meta):not(.ledger__links) { margin: var(--sc-4) 0 0; max-width: 36rem; color: color-mix(in oklab, var(--sc-ink) 80%, transparent); }
.ledger__links { display: flex; flex-wrap: wrap; gap: var(--sc-2) var(--sc-6); margin: var(--sc-5) 0 0; }

.inner-section { margin-top: clamp(3.5rem, 9vw, 7rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.inner-section > p, .inner-section .inner-prose { max-width: 40rem; color: color-mix(in oklab, var(--sc-ink) 80%, transparent); }
.inner-section .studio__list { margin: 0; }
.inner-prose p { margin: 0 0 var(--sc-4); }
.inner-hero__also { margin: var(--sc-5) 0 0; max-width: 34rem; color: var(--sc-ink-soft); }
/* Short links in running text never wrap: a link split over two lines is scrolled into
   view by its first line only, so its second half can sit below the fold while focused. */
.inner-hero__also a, .inner .studio__list a, .inner-prose p a { white-space: nowrap; }
/* Room for the focus ring when Tab scrolls a link into view at the edge of the screen. */
.inner a, .page-foot a { scroll-margin-block: 2.5rem; }
/* Contact: which product the message is about, one row each, so a reader can pick. */
.inner-apps { list-style: none; margin: var(--sc-6) 0 0; padding: 0; border-top: 1px solid var(--sc-hairline); }
.inner-apps li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 var(--sc-4); border-bottom: 1px solid var(--sc-hairline); }
.inner-apps a { display: inline-flex; align-items: center; min-height: 52px; font-size: var(--sc-t-lg); font-weight: 600; letter-spacing: -0.012em; }
.inner-apps span { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

/* Links in running text on the inner pages: ink, with a white underline (the brand's
   one accent is white). */
.inner a:not(.button):not(.email) { color: var(--sc-ink); text-decoration-color: color-mix(in oklab, var(--sc-ink) 55%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; transition: text-decoration-color 140ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) { .inner a:not(.button):not(.email):hover { text-decoration-color: var(--sc-ink); } }
.ledger__links a::after { content: " \2192"; }
.ledger__links a[href^="http"]::after { content: " \2197"; }
.email {
  display: inline-block; color: var(--sc-ink);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.25rem); font-weight: 620; letter-spacing: -0.025em; line-height: 1.2;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}
.inner-hero__actions .email { margin: 0; }

@media (max-width: 860px) {
  .inner-hero { grid-template-columns: 1fr; min-height: 0; gap: var(--sc-7); }
  .inner-hero .lit-stage { order: -1; width: min(52vw, 240px); }
  .inner-hero .lit-stage--lockup { width: min(70vw, 300px); }
  .ledger__item { grid-template-columns: 1fr; gap: var(--sc-5); }
  .ledger__media { aspect-ratio: 16 / 10; }
  .ledger__item--atl .ledger__media { padding: 5% 14%; }
  .inner-section { grid-template-columns: 1fr; gap: var(--sc-5); }
}
.page-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sc-4);
  margin: 0 var(--sc-gutter);
  min-height: 72px;
  border-top: 1px solid var(--sc-hairline);
  font-size: var(--sc-t-sm); color: var(--sc-ink-soft);
}
.page-foot ul { display: flex; gap: var(--sc-5); margin: 0; padding: 0; list-style: none; }
.page-foot__brand { display: inline-flex; align-items: center; gap: 10px; }
.page-foot__brand img { width: auto; height: 22px; }
.page-foot a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .page-foot a:hover { color: var(--sc-ink); } }

/* ============================================================ the intro == */
/* The black screen and the film (intro.js). It exists only while html.intro-on, which
   js-on.js sets before first paint for the first look of a session, and intro.js sets for a
   replay. States, in order: gate, loading, playing (or paused), end, reveal, closing. */
.intro { display: none; }
html.intro-on .intro {
  display: block;
  position: fixed; inset: 0; z-index: 65;   /* over the bar (60), under the grain (70) */
  color: var(--sc-ink);
  overscroll-behavior: contain;
  -webkit-tap-highlight-color: transparent;
}
.intro:focus { outline: none; }
/* The page under the film holds still. The gutter is kept, so nothing shifts when it goes. */
html.intro-on.intro-live { overflow: hidden; scrollbar-gutter: stable; }
/* For a moment after it closes, the page ignores the pointer: Skip sits where "Get in touch" is. */
html.intro-cooldown body > :not(.intro) { pointer-events: none; }
/* If intro.js never runs, the black screen gives way on its own: it can never trap anyone. */
html.intro-on:not(.intro-live) .intro { animation: intro-failsafe 400ms 10s both; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

.intro__curtain { position: absolute; inset: 0; background: #000; }
.intro.is-replay .intro__curtain { animation: intro-fade 320ms var(--sc-ease-out) both; }
html.intro-on .intro.is-leaving { opacity: 0; transition: opacity 480ms var(--sc-ease-out); }

/* --- the gate: the lion in its key light, and Play with sound */
.intro__gate {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--sc-gutter);
  text-align: center;
  transition: opacity 520ms var(--sc-ease-out), transform 900ms var(--sc-ease-out), visibility 0s 900ms;
}
.intro:not([data-state="gate"]) .intro__gate { opacity: 0; transform: scale(0.96); visibility: hidden; pointer-events: none; }
.intro__key {
  position: absolute; left: 50%; top: 50%;
  width: min(130vw, 1200px); aspect-ratio: 1;
  transform: translate(-50%, -62%);
  /* The stage's key light, centred on the lion here. */
  background: radial-gradient(closest-side,
    rgb(236 236 232 / 0.15) 0%, rgb(236 236 232 / 0.085) 34%,
    rgb(236 236 232 / 0.035) 62%, rgb(236 236 232 / 0.01) 84%, transparent 100%);
  pointer-events: none;
}
.intro__lion { position: relative; width: auto; height: clamp(76px, 14svh, 132px); }
.intro__presents {
  position: relative; margin: var(--sc-5) 0 0;
  padding-left: 0.34em;   /* the tracking's trailing space, so the line stays centred */
  font-size: var(--sc-t-sm); font-weight: 560; letter-spacing: 0.34em; text-transform: uppercase;
}
.intro__presents span { color: var(--sc-ink-soft); }
.intro__play {
  position: relative; margin-top: clamp(2rem, 7svh, 4rem);
  display: flex; flex-direction: column; align-items: center; gap: var(--sc-3);
  padding: 8px 18px 6px; border: 0; border-radius: 18px;
  background: none; color: inherit; font: inherit; cursor: pointer;
}
.intro__disc {
  position: relative; display: block;
  width: 88px; height: 88px; border-radius: 50%;
  transition: transform 260ms var(--sc-ease-out), background-color 260ms var(--sc-ease-out);
}
.intro__ring { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.intro__ring circle { fill: none; stroke: var(--sc-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 0; }
/* The path's centroid is the box's centre (M8.5 5.5v13L19 12z), so the triangle sits on the disc's
   true centre with no nudge. */
.intro__tri { position: absolute; left: 50%; top: 50%; z-index: 2; width: 34px; height: 34px; transform: translate(-50%, -50%); fill: #141416; }
.intro__play-label { font-size: var(--sc-t-base); font-weight: 600; letter-spacing: -0.005em; }
.intro__play:active .intro__disc { transform: scale(0.94); }
/* Pressed: the ring swells and goes as the gate falls away. */
.intro:not([data-state="gate"]) .intro__disc { transform: scale(1.4); transition-duration: 800ms; }

/* --- the film */
.intro__glow {
  position: absolute; left: 50%; top: 50%;
  width: min(160vw, 94svh * 9 / 16 * 3.4); height: 120svh;
  transform: translate(-50%, -50%);
  filter: blur(80px) saturate(1.1);
  opacity: 0; transition: opacity 1600ms var(--sc-ease-out);
  pointer-events: none;
}
.intro[data-state="playing"] .intro__glow, .intro[data-state="paused"] .intro__glow { opacity: 0.55; }
/* Portrait screens: the film fills the width, so there is no black beside it to light. */
@media (max-aspect-ratio: 3 / 4) { .intro__glow { display: none; } }

.intro__frame {
  position: absolute; left: 50%; top: 50%;
  height: min(94vh, 177.78vw);
  height: min(94svh, 177.78vw);
  aspect-ratio: 9 / 16;
  transform: translate(-50%, -50%);
  background: #000;
  opacity: 0; transition: opacity 320ms var(--sc-ease-out);
}
.intro[data-state="playing"] .intro__frame, .intro[data-state="paused"] .intro__frame { opacity: 1; cursor: pointer; }
.intro[data-state="end"] .intro__frame, .intro[data-state="reveal"] .intro__frame { opacity: 0; transition-duration: 500ms; }
.intro__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (prefers-reduced-motion: reduce) {
  .intro__gate { transition: opacity 160ms linear, visibility 0s 160ms; }
}
@media (prefers-reduced-motion: no-preference) {
  /* It opens like a shutter, from a slit across the middle, and settles from a slight push. */
  .intro__frame { clip-path: inset(50% 0 50% 0); }
  .intro[data-state="playing"] .intro__frame, .intro[data-state="paused"] .intro__frame,
  .intro[data-state="end"] .intro__frame, .intro[data-state="reveal"] .intro__frame,
  .intro[data-state="closing"] .intro__frame { clip-path: inset(0); }
  .intro[data-state="playing"] .intro__frame { transition: opacity 320ms var(--sc-ease-out), clip-path 1100ms cubic-bezier(0.16, 1, 0.3, 1); }
  .intro__video { transform: scale(1.05); transition: transform 2000ms var(--sc-ease-out); }
  .intro[data-state="playing"] .intro__video, .intro[data-state="paused"] .intro__video { transform: none; }
}
.intro__resume {
  position: absolute; left: 50%; top: 50%;
  width: 76px; height: 76px; margin: -38px 0 0 -38px;
  display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.9);
  background: rgb(0 0 0 / 0.35); color: var(--sc-ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 200ms var(--sc-ease-out), visibility 0s 200ms;
  cursor: pointer;
}
.intro__resume svg { width: 28px; height: 28px; fill: currentColor; }
.intro[data-state="paused"] .intro__resume { opacity: 1; visibility: visible; transition-delay: 0s; }
.intro__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgb(255 255 255 / 0.14);
  opacity: 0; transition: opacity 400ms var(--sc-ease-out);
}
.intro__progress span { display: block; height: 100%; background: rgb(255 255 255 / 0.85); transform: scaleX(0); transform-origin: 0 50%; }
.intro[data-state="playing"] .intro__progress, .intro[data-state="paused"] .intro__progress { opacity: 1; transition-delay: 900ms; }
.intro__spin {
  position: absolute; left: 50%; top: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.18); border-top-color: var(--sc-ink);
  opacity: 0; transition: opacity 240ms var(--sc-ease-out);
  pointer-events: none;
}
.intro.is-slow .intro__spin { opacity: 1; animation: intro-spin 900ms linear infinite; }

/* --- Mute and Skip, top right, clear of the notch */
.intro__hud {
  position: absolute;
  top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right));
  display: flex; gap: 10px;
}
.intro__chip {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 0.22); border-radius: 999px;
  background: rgb(10 10 11 / 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--sc-ink); font: inherit; font-size: var(--sc-t-sm); font-weight: 560;
  cursor: pointer;
  transition: opacity 300ms var(--sc-ease-out), visibility 0s, background-color 160ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .intro__chip:hover { background: rgb(255 255 255 / 0.12); } }
.intro__chip:active { transform: scale(0.97); }
.intro__mute { opacity: 0; visibility: hidden; }
.intro[data-state="playing"] .intro__mute, .intro[data-state="paused"] .intro__mute { opacity: 1; visibility: visible; }
.intro[data-state="end"] .intro__chip, .intro[data-state="reveal"] .intro__chip, .intro[data-state="closing"] .intro__chip {
  opacity: 0; visibility: hidden; transition: opacity 300ms var(--sc-ease-out), visibility 0s 300ms;
}

/* --- the end: one line, then its full stop opens onto the page (intro.js) */
.intro__end {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sc-gutter);
  text-align: center;
  pointer-events: none;
  opacity: 0; visibility: hidden;
}
.intro[data-state="end"] .intro__end, .intro[data-state="reveal"] .intro__end { opacity: 1; visibility: visible; transition: opacity 900ms 350ms var(--sc-ease-out); }
.intro__line { max-width: 15em; }
.intro__line .nowrap { white-space: nowrap; }
.intro__words { transition: opacity 380ms var(--sc-ease-out); }
.intro__line .stop { transform-origin: 50% 50%; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .intro[data-state="end"] .intro__line { animation: intro-rise 1200ms 350ms both var(--sc-ease-out); }
}

@media (prefers-reduced-motion: no-preference) {
  /* The gate's entrance: the lion comes up out of the dark, the line draws its tracking in,
     then the ring draws itself around the play mark. Tied to the gate state, so pressing
     Play early simply ends it. */
  .intro[data-state="gate"] .intro__key { animation: intro-fade 1800ms 150ms both var(--sc-ease-out); }
  .intro[data-state="gate"] .intro__lion { animation: intro-lion 1500ms 250ms both var(--sc-ease-out); }
  .intro[data-state="gate"] .intro__presents { animation: intro-track 1700ms 750ms both var(--sc-ease-out); }
  .intro[data-state="gate"] .intro__ring circle { animation: intro-ring 1300ms 1150ms both var(--sc-ease-in-out); }
  .intro[data-state="gate"] .intro__tri,
  .intro[data-state="gate"] .intro__play-label { animation: intro-fade 800ms 1750ms both var(--sc-ease-out); }
  /* The silver face fills the ring once it has drawn. */
  .intro[data-state="gate"] .intro__disc .flame__face { animation: intro-fade 700ms 1650ms both var(--sc-ease-out); }
  .intro[data-state="gate"] .intro__skip { animation: intro-fade 700ms 2100ms both var(--sc-ease-out); }
}
@keyframes intro-fade { from { opacity: 0; } }
@keyframes intro-lion { from { opacity: 0; filter: blur(14px); transform: translateY(14px) scale(0.97); } }
@keyframes intro-track { from { opacity: 0; letter-spacing: 0.75em; padding-left: 0.75em; } }
@keyframes intro-ring { from { stroke-dashoffset: 100; } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(16px); filter: blur(8px); } }
@keyframes intro-spin { to { transform: rotate(360deg); } }

/* Without JavaScript the Video act is a plain block: the hall and its screen, then the copy,
   whose "Play the reel" is a link to the file itself. */
.no-js .vid-scrim { display: none; }
.no-js .vid-world { display: grid; place-items: center; }
.no-js .vid-screen { position: relative; inset: auto; transform: none; height: 92%; width: auto; aspect-ratio: 9 / 16; }
.no-js .vid-copy { display: block; width: auto; padding-top: 0; }

/* About: the reel's first frame in its ledger row. */
.ledger__item--vid .ledger__media { background: #040507; }
.ledger__item--vid .ledger__media img { object-position: 50% 44%; }

/* ================================================================= flame == */
/* The play buttons' light (intro.js, "flame"), after the FlameButton Will picked on 2026-11-15:
   a silver face, a white-hot spot that follows the pointer across it, and a glow that flares
   past the edge the pointer nears. The reference burns orange; here the light is white, because
   the brand is monochrome. Layers, back to front: glow (outside the face), face (silver, clips
   the spot), then the button's own content. */
[data-flame] { position: relative; isolation: isolate; }
.flame__glow {
  position: absolute; inset: -6px; z-index: 0;
  border-radius: inherit;
  filter: blur(7px);
  opacity: 0;
  pointer-events: none;
}
.flame__face {
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit; overflow: hidden;
  background: linear-gradient(100deg, #cfcfcf 0%, #d6d6d6 40%, #e3e3e1 70%, #efefed 100%);
  pointer-events: none;
}
.flame__spot, .flame__haze {
  position: absolute; left: 0; top: 50%;
  border-radius: 50%;
  opacity: 0; transition: opacity 150ms ease-out;
  pointer-events: none;
}
[data-flame].is-lit .flame__spot, [data-flame].is-lit .flame__haze { opacity: 1; }
.flame__spot {
  --s: var(--flame-spot, 121px);
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background: radial-gradient(50% 50% at 50% 50%, #ffffff 3.5%, rgb(255 255 255 / 0.95) 26.5%, #f4f4f1 37.5%, rgb(255 255 255 / 0.45) 49%, rgb(255 255 255 / 0) 92.5%);
}
.flame__haze {
  --w: var(--flame-haze-w, 204px); --h: var(--flame-haze-h, 103px);
  width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  filter: blur(5px);
  background: radial-gradient(43.3% 44.23% at 50% 49.51%, #ffffff 29%, #fbfbf8 48.5%, #e9e9e6 60.71%, rgb(214 214 212 / 0) 100%);
}
/* The gate's disc: a smaller light for a round face. */
.intro__disc { --flame-spot: 96px; --flame-haze-w: 150px; --flame-haze-h: 110px; }
/* "Play the reel": silver even before the script runs; once the flame layers are in, the face
   carries the silver and the pill itself goes clear so the glow can show around it. */
.button--play { background: linear-gradient(100deg, #cfcfcf 0%, #d6d6d6 40%, #e3e3e1 70%, #efefed 100%); color: #141416; }
.button--play.has-flame { background: transparent; }
.button--play .button__label { position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) { .button--play:hover { background: transparent; } .button--play:not(.has-flame):hover { background: #dcdcd8; } }
