/* Page scenes, top to bottom. */

/* ---------- Hero ---------- */
/* Round, glass play button beside the beta button: opens the film. */
.play-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .45s var(--ease-out), background-color .3s, box-shadow .3s; }
.play-btn svg { width: 15px; height: 15px; margin-left: 2px; }
.play-btn:hover { transform: scale(1.06); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 24px -6px rgba(255, 255, 255, .35); }
.play-btn:active { transform: scale(.96); }
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 64px) 0 80px; overflow: hidden; isolation: isolate; }
.hero__wall {
  position: absolute; inset: -12% -16% -12% 40%; z-index: -2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
  transform: rotate(-14deg); opacity: .3; filter: saturate(.7); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(transparent, #000 14%, #000 70%, transparent 92%);
  mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(transparent, #000 14%, #000 70%, transparent 92%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero__col { display: grid; gap: 22px; align-content: start; will-change: transform; }
.hero__col .a-poster { aspect-ratio: 2 / 3; border-radius: 6px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #000 34%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .35)), linear-gradient(transparent 70%, #000); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -30%; width: 1200px; height: 700px; margin-left: -600px; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 255, 255, .06), transparent); }
.hero__inner { display: grid; gap: 56px; align-items: center; }
.hero__copy { max-width: 560px; }
.hero__title { font-size: var(--size-hero); font-weight: 560; letter-spacing: -.04em; line-height: 1.02; }
.hero__line { display: block; }
.hero__line:first-child { color: #7d7d7d; }
.hero__line--type { min-height: 1em; }
.hero__line--type.is-typing::after { content: ""; display: inline-block; width: .055em; height: .8em; margin-left: .06em; vertical-align: -.04em; background: #fff; animation: caret 1s steps(1) infinite; }
.hero__lede { margin-top: 24px; max-width: 450px; color: var(--muted); font-size: clamp(1.02rem, .98rem + .2vw, 1.14rem); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__device { position: relative; justify-self: center; }
.phone--hero { --pw: min(78vw, 330px); }
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 24px; min-height: calc(100svh - var(--header-h) - 144px); }
  .phone--hero { --pw: min(336px, calc((100svh - var(--header-h) - 96px) * .4736)); }
}

/* ---------- Spotlight: mockups float in a pool of light and fade into the dark, no frames ---------- */
.spot { position: relative; isolation: isolate; }
/* A soft beam from above, like a projector catching the screen. */
.spot::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -18%; width: 220%; height: 120%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(42% 48% at 50% 26%, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025) 48%, transparent 72%); }
/* A floor glow the phone stands on. */
.spot::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -6%; width: 120%; height: 18%; transform: translateX(-50%); pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent); filter: blur(14px); }
.spot .phone__body { box-shadow: 0 0 0 .3cqw #000, inset 0 0 0 .5cqw rgba(255, 255, 255, .14), 0 80px 120px -50px rgba(0, 0, 0, 1), 0 0 90px -30px rgba(255, 255, 255, .12); }

/* ---------- The question: full-bleed rows that dissolve at every edge ---------- */
.question { position: relative; height: 250vh; }
.question__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.question__rows { position: absolute; inset: 10vh -4vw 4vh; display: grid; align-content: center; gap: clamp(16px, 2.6vh, 26px); transform: rotate(-4deg) scale(1.06); opacity: .42; filter: saturate(.6);
  -webkit-mask-image: radial-gradient(62% 58% at 50% 54%, #000 18%, rgba(0, 0, 0, .55) 52%, transparent 82%); mask-image: radial-gradient(62% 58% at 50% 54%, #000 18%, rgba(0, 0, 0, .55) 52%, transparent 82%); }
.question__veil { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; background: radial-gradient(ellipse 60% 55% at 50% 58%, rgba(0, 0, 0, .62), rgba(0, 0, 0, .9) 70%, #000); }
.q-row__strip { display: flex; gap: 12px; width: max-content; will-change: transform; }
.q-row__strip .a-poster { flex: none; width: clamp(92px, 9vw, 136px); aspect-ratio: 2 / 3; border-radius: 6px; }
/* Headline, command bar and answer move as one group, centred in the frame. */
.question__stage { position: relative; z-index: 2; display: grid; justify-items: center; gap: clamp(22px, 3.4vh, 34px); width: 100%; padding: 0 var(--gutter); will-change: transform; }
.question__title { display: grid; justify-items: center; text-align: center; font-size: var(--size-h2); letter-spacing: -.04em; line-height: 1.04; text-shadow: 0 6px 60px rgba(0, 0, 0, .9); }
.question__line { grid-area: 1 / 1; max-width: 16ch; opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s var(--ease-out); }
.question__line.is-on { opacity: 1; transform: none; filter: none; }
.question__command { position: relative; z-index: 3; display: flex; align-items: center; gap: 14px; width: min(560px, calc(100% - 40px)); height: 58px; padding: 0 12px 0 20px; border-radius: 16px; background: rgba(14, 14, 16, .78); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 120px -20px rgba(0, 0, 0, 1); opacity: 0; transform: scale(.96); will-change: transform, opacity; }
.question__noir { flex: none; width: 56px; height: 16px; color: #fff; }
.question__command::after { content: ""; position: absolute; left: 90px; top: 18px; bottom: 18px; width: 1px; background: var(--line-strong); }
.question__query { flex: 1; min-width: 0; margin-left: 12px; color: var(--text); padding: 4px 0; font: 450 clamp(15px, 1.3vw, 17px)/1.4 var(--display); white-space: nowrap; overflow: hidden; }
.question__query::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: #fff; animation: caret 1s steps(1) infinite; }
.question kbd { display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 7px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); font: 500 13px/1 var(--display); }
.question__answer { position: absolute; z-index: 4; left: 50%; top: calc(100% + 18px); width: min(600px, calc(100% - 32px)); opacity: 0; transform: translate(-50%, var(--land-y, 28px)) scale(var(--land-s, .97)); transform-origin: 50% 0; will-change: transform, opacity; }
.q-answer { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), rgba(12, 12, 14, .82); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .09), 0 50px 120px -30px rgba(0, 0, 0, 1); }
.q-answer .a-poster { width: clamp(104px, 10vw, 140px); aspect-ratio: 2 / 3; border-radius: 10px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.q-answer__body { display: flex; flex-direction: column; min-width: 0; padding: 4px 4px 2px 0; }
.q-answer__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font: 500 12px/1 var(--display); }
.q-answer__tag svg { width: 12px; height: 12px; color: #fff; }
.q-answer h3 { margin-top: 14px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.q-answer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); font: 500 13.5px/1.3 var(--display); }
.q-answer__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.q-answer__meta svg { width: 12px; height: 12px; color: #F5C74D; }
.q-answer__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; }
.q-answer__service { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; color: var(--muted); font: 500 13px/1 var(--display); }
.q-answer__service img { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.q-answer__service strong { color: var(--text); font-weight: 500; }
.q-answer__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 99px; background: #fff; color: #000; font: 560 13px/1 var(--display); }
.q-answer__btn svg { width: 10px; height: 10px; }
@media (max-width: 700px) {
  .q-answer { gap: 14px; padding: 12px; border-radius: 18px; }
  .q-answer .a-poster { width: 78px; border-radius: 8px; }
  .q-answer h3 { margin-top: 8px; font-size: 19px; }
  .q-answer__meta { font-size: 12px; gap: 6px; }
  .q-answer__service span { display: none; }
  .q-answer__foot { padding-top: 10px; gap: 8px; }
  .q-answer__btn { height: 30px; padding: 0 12px; font-size: 12px; }
  .question__command { width: 100%; height: 52px; gap: 10px; padding: 0 16px 0 14px; }
  .question kbd { display: none; }
  .question__noir { width: 48px; }
  .question__command::after { left: 74px; }
  .question__query { margin-left: 8px; font-size: 14px; }
}

/* ---------- Manifesto ---------- */
.manifesto { position: relative; padding: 8vh 0; overflow: hidden; isolation: isolate; }
.manifesto__film { position: absolute; inset: 0; z-index: -1; }
.manifesto__film video { position: sticky; top: 0; width: 100%; height: 100svh; max-width: none; object-fit: cover; opacity: .2; filter: grayscale(.4) contrast(1.1); }
.manifesto__film { -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.manifesto__inner { display: grid; gap: 7vh; max-width: 1040px; }
.manifesto__mark { color: #fff; opacity: .9; }
.manifesto__text { font: 520 clamp(1.9rem, 1rem + 3.4vw, 3.7rem)/1.12 var(--display); letter-spacing: -.03em; }
.word { display: inline; opacity: var(--o, .16); transition: opacity .25s linear; }



/* ---------- Headline rise: words lift out from behind a mask ---------- */
.rise-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rise-w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.is-risen .rise-w > span { transform: none; }

/* ---------- Pinned sections: sticky copy, a spotlit phone, driven by scroll ---------- */
.pinned { --steps: 3; position: relative; height: calc(var(--steps) * 52svh + 100svh); }
/* Pinned copy sits mid-screen, which leaves an empty band above and below it; let neighbours tuck into it. */
@media (min-width: 980px) {
  #time, #title { margin-top: -12vh; }
  #time { margin-bottom: -8vh; }
}
.pinned__sticky { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; gap: 72px; grid-template-columns: .85fr 1.15fr; padding-top: var(--header-h); }
.pinned__copy { min-width: 0; max-width: 440px; }
.pinned__title { font-size: var(--size-h2); letter-spacing: -.04em; line-height: 1.04; }
.pinned__lede { margin-top: 16px; color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); }
.pinned__device { position: relative; display: grid; place-items: center; height: calc(100svh - var(--header-h) - 40px); will-change: transform, opacity; }
.pinned__device .phone { --pw: min(330px, calc((100svh - var(--header-h) - 90px) * .4736)); }
.pinned__device--wide .timedial { width: min(100%, 440px); }
/* The dial's grid melts into the floor instead of ending on a hard edge. */
.pinned__device--wide .timedial__grid { -webkit-mask-image: linear-gradient(#000 55%, transparent 98%); mask-image: linear-gradient(#000 55%, transparent 98%); }
.pinned__device--wide .timedial__caption { display: none; }

/* Steps: titles on a thin rail with a progress fill. */
.steps { position: relative; display: grid; margin: 44px 0 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.steps__item { position: relative; display: flex; align-items: center; gap: 18px; padding: 11px 0; }
.steps__num { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #0b0b0c; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--faint); font: 500 11.5px/1 var(--display); font-variant-numeric: tabular-nums; transition: color .4s, box-shadow .4s, background-color .4s; }
.steps__item.is-on .steps__num { background: #fff; color: #000; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 0 24px rgba(255, 255, 255, .25); }
.steps__item strong { color: var(--faint); font: 520 clamp(16px, 1.3vw, 19px)/1.3 var(--display); letter-spacing: -.015em; transition: color .4s, transform .5s var(--ease-out); }
.steps__item.is-on strong { color: var(--text); transform: translateX(4px); }
.steps__bar { position: absolute; left: 13px; top: 40px; bottom: -11px; width: 1px; overflow: hidden; opacity: 0; transition: opacity .3s; }
.steps__item:last-child .steps__bar { display: none; }
.steps__item.is-on .steps__bar { opacity: 1; }
.steps__bar i { display: block; width: 100%; height: 100%; transform: scaleY(var(--t, 0)); transform-origin: 50% 0; background: linear-gradient(#fff, rgba(255, 255, 255, .4)); }
.time-readout { display: grid; gap: 6px; margin-top: 40px; }
.time-readout span { font: 560 clamp(34px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.time-readout small { color: var(--faint); font: 500 15px/1 var(--display); }
.time-readout span, .time-readout small { transition: opacity .35s, transform .5s var(--ease-out), filter .35s; }
.time-readout.is-swapping span, .time-readout.is-swapping small { opacity: 0; transform: translateY(8px); filter: blur(4px); }

/* Callouts: dark tooltips with a hairline leader to the control */
.callout { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px 8px 11px; border-radius: 10px; background: rgba(18, 18, 20, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 40px -14px rgba(0, 0, 0, .95); color: var(--text); font: 500 13px/1.1 var(--display); white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), top .6s var(--ease-out), left .6s var(--ease-out); pointer-events: none; }
.callout.is-on { opacity: 1; transform: none; }
.callout__dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8); }
.callout::before { content: ""; position: absolute; top: 50%; right: 100%; width: var(--leader, 36px); height: 1px; background: linear-gradient(-90deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .2)); }
.callout::after { content: ""; position: absolute; top: 50%; right: calc(100% + var(--leader, 36px) - 3px); width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.callout--detail { left: 0; top: 0; }
.pinned--detail .pinned__device { place-items: center start; padding-left: clamp(0px, 8%, 80px); }

@media (max-width: 979px) {
  .pinned__sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: stretch; gap: 10px; padding-top: calc(var(--header-h) + 22px); padding-bottom: 12px; }
  .pinned__copy { justify-self: center; width: 100%; max-width: 560px; text-align: center; }
  .pinned__title { font-size: clamp(1.7rem, 7.4vw, 2.6rem); }
  .pinned__lede, .steps__bar, .callout--detail, .steps::before { display: none; }
  /* Steps become a segmented progress bar: one segment per step, each with a short caption under it. */
  .steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; width: 100%; margin-top: 18px; }
  .steps__item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 6px; row-gap: 10px; padding: 0; text-align: left; }
  .steps__bar, .steps__item:last-child .steps__bar { display: block; position: static; grid-column: 1 / -1; grid-row: 1; width: 100%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); opacity: 1; }
  .steps__bar i { transform: scaleX(0); transform-origin: 0 50%; background: #fff; transition: transform .2s linear; }
  .steps__item.is-on .steps__bar i { transform: scaleX(var(--t, 0)); }
  .steps__item.is-done .steps__bar i { transform: none; }
  .steps__num, .steps__item.is-on .steps__num { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; font-size: 11px; line-height: 1.35; }
  .steps__item.is-on .steps__num { color: #fff; }
  .steps__item strong { font-size: 12.5px; line-height: 1.35; }
  .steps__item.is-on strong { transform: none; }
  .time-readout { margin-top: 14px; grid-auto-flow: column; justify-content: center; align-items: baseline; gap: 10px; }
  .time-readout span { font-size: 26px; }
  .pinned__device { height: auto; }
  .pinned__device .phone { --pw: min(74vw, calc((100svh - var(--header-h) - 170px) * .4736)); }
  .pinned--detail .pinned__device { place-items: center; padding-left: 0; }
}

/* Onboarding ends on Home: the tab bar arrives with it, the home indicator leaves. */
[data-phone="onboarding"] .a-tabbar { opacity: 0; transform: translate(-50%, 24px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
[data-phone="onboarding"] .a-homebar { transition: opacity .3s; }
[data-phone="onboarding"] .app.is-home .a-tabbar { opacity: 1; transform: translateX(-50%); }
[data-phone="onboarding"] .app.is-home .a-homebar { opacity: 0; }

/* ---------- Feature sections ---------- */
.feature { padding: 6vh 0 1vh; }
.feature__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 28px; }
.feature__title { font-size: var(--size-h2); letter-spacing: -.04em; line-height: 1.04; }
.preview-note { color: var(--faint); font: 500 13px/1.3 var(--display); }
.feature--genres { --g: 1.2; }
@media (min-width: 900px) { .feature--genres { --g: 1.45; } }
.collections { display: grid; gap: 20px; }
.collections .marquee::before, .collections .marquee::after { width: min(8vw, 90px); }
.pause-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); font: 500 13px/1 var(--display); cursor: pointer; transition: color .2s, background-color .2s; }
.pause-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.pause-btn svg { width: 12px; height: 12px; }
/* ---------- Trending: a strip of 35mm film, pulled sideways by scroll ---------- */
.filmstrip { --u: 1; --film: #0e0d0c; --print: rgba(255, 206, 150, .5); position: relative; height: calc(500px * var(--u)); margin-top: -24px; overflow: hidden; }
@media (max-width: 700px) { .filmstrip { --u: .7; } }
.filmstrip__strip { position: absolute; left: 0; right: 0; top: 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.filmstrip__strip--front { z-index: 2; transform: translateY(-50%) rotate(-3deg); filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .8)); }
.filmstrip__strip--back { z-index: 1; transform: translateY(-50%) rotate(5deg) scale(.7); opacity: .26; }
.filmstrip__strip--back img { filter: grayscale(.6); }
.filmstrip__track { display: flex; width: max-content; will-change: transform; }

.film-frame { --pitch: calc(29px * var(--u)); --band: calc(52px * var(--u)); position: relative; flex: none; display: grid; grid-template-rows: var(--band) auto var(--band);
  width: calc(var(--pitch) * 8); }
.film-frame__edge { position: relative; display: flex; justify-content: space-between; padding: 0 calc(14px * var(--u)); background: var(--film);
  color: var(--print); font: 600 calc(9.5px * var(--u))/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .18em; white-space: nowrap;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='52'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M0 0h29v52H0z M11 10h7a3.5 3.5 0 0 1 3.5 3.5v13a3.5 3.5 0 0 1-3.5 3.5h-7a3.5 3.5 0 0 1-3.5-3.5v-13A3.5 3.5 0 0 1 11 10z'/%3E%3C/svg%3E") 0 0 / var(--pitch) var(--band) repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='52'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M0 0h29v52H0z M11 10h7a3.5 3.5 0 0 1 3.5 3.5v13a3.5 3.5 0 0 1-3.5 3.5h-7a3.5 3.5 0 0 1-3.5-3.5v-13A3.5 3.5 0 0 1 11 10z'/%3E%3C/svg%3E") 0 0 / var(--pitch) var(--band) repeat-x; }
.film-frame__edge--top { align-items: flex-end; padding-bottom: calc(8px * var(--u)); }
.film-frame__edge--bottom { align-items: flex-start; padding-top: calc(8px * var(--u)); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='52'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M0 0h29v52H0z M11 22h7a3.5 3.5 0 0 1 3.5 3.5v13a3.5 3.5 0 0 1-3.5 3.5h-7a3.5 3.5 0 0 1-3.5-3.5v-13A3.5 3.5 0 0 1 11 22z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='52'%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M0 0h29v52H0z M11 22h7a3.5 3.5 0 0 1 3.5 3.5v13a3.5 3.5 0 0 1-3.5 3.5h-7a3.5 3.5 0 0 1-3.5-3.5v-13A3.5 3.5 0 0 1 11 22z'/%3E%3C/svg%3E"); }
.film-frame__gate { position: relative; display: block; height: calc(var(--pitch) * 8 * 1.32); padding: 0 calc(10px * var(--u)); background: var(--film); }
.film-frame__gate img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(5px * var(--u)); filter: brightness(.9) contrast(1.04); }
/* A faint sheen across the base, as light catches the film. */
.film-frame__gate::after { content: ""; position: absolute; inset: 0 calc(10px * var(--u)); border-radius: calc(5px * var(--u)); background: linear-gradient(115deg, rgba(255, 255, 255, .09), transparent 32%, transparent 70%, rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 40px rgba(0, 0, 0, .45); pointer-events: none; }
.film-frame__rank { color: #fff; font: 700 calc(13px * var(--u))/1 var(--display); letter-spacing: .04em; }
.film-frame__title { overflow: hidden; max-width: 70%; text-overflow: ellipsis; text-transform: uppercase; }
/* The leader: a projectionist's countdown frame before the first title. */
.film-leader { position: relative; display: grid; place-items: center; height: 100%; border-radius: calc(5px * var(--u)); background: radial-gradient(circle at 50% 50%, #262421, #121110 72%); overflow: hidden; }
.film-leader__ring { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), inset 0 0 0 calc(10px * var(--u)) rgba(255, 255, 255, .03), 0 0 0 calc(14px * var(--u)) rgba(255, 255, 255, .02); }
.film-leader__cross { position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) center / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) center / 100% 1px no-repeat; }
.film-leader__text { position: relative; display: grid; gap: calc(6px * var(--u)); justify-items: center; padding: calc(10px * var(--u)) calc(6px * var(--u)); background: #141312; }
.film-leader__text strong { font: 600 calc(30px * var(--u))/1 var(--display); letter-spacing: -.03em; }
.film-leader__text small { color: var(--print); font: 600 calc(10px * var(--u))/1 ui-monospace, Menlo, monospace; letter-spacing: .24em; text-transform: uppercase; }
.filmstrip.is-static { height: auto; padding: 20px 0; }
.filmstrip.is-static .filmstrip__strip--back { display: none; }
.filmstrip.is-static .filmstrip__strip--front { position: relative; top: 0; transform: none; overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
[data-glide] > .marquee { will-change: transform, opacity; }

/* ---------- Ticker: everything else Noir does, at a glance ---------- */
.ticker { padding: 4vh 0 3vh; overflow: hidden; }
.ticker__rows { display: grid; gap: 6px; transform: rotate(-3deg); }
.ticker .marquee::before, .ticker .marquee::after { width: min(14vw, 160px); }
.tick { flex: none; display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); padding-right: clamp(18px, 2.4vw, 34px); font: 560 clamp(2.4rem, 1.4rem + 4.2vw, 5.6rem)/1.08 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.tick::after { content: ""; width: .18em; height: .18em; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.tick--ghost { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .28); }

/* ---------- Founder's note ---------- */
.founder { padding: 6vh 0 4vh; }
.founder__inner { max-width: 940px; text-align: center; }
.founder__note { margin: 0; color: #ededed; font: 480 clamp(1.35rem, .95rem + 1.5vw, 2.2rem)/1.32 var(--display); letter-spacing: -.026em; }
.founder__note p + p { margin-top: .7em; }
.founder__note p:first-child::before { content: "“"; } .founder__note p:last-child::after { content: "”"; }
.founder__sign { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; }
/* The signature: a scan, revealed along the direction it was written. */
@property --sig { syntax: "<percentage>"; inherits: false; initial-value: -20%; }
.signature { width: 150px; height: auto; opacity: .92; --sig: -20%;
  -webkit-mask-image: linear-gradient(105deg, #000 var(--sig), transparent calc(var(--sig) + 18%)); mask-image: linear-gradient(105deg, #000 var(--sig), transparent calc(var(--sig) + 18%));
  transition: --sig 2.2s var(--ease-in-out); }
.founder__sign.is-in .signature { --sig: 120%; }
.founder__who { display: grid; gap: 2px; }
.founder__who strong { font: 560 15px/1.3 var(--display); }
.founder__who span { color: var(--faint); font-size: 13.5px; }

/* ---------- Finale: a beam of light, the mark, one action ---------- */
.finale { position: relative; display: grid; justify-items: center; align-content: center; padding: 10vh var(--gutter) 12vh; text-align: center; overflow: hidden; isolation: isolate; }
.finale__beam { position: absolute; z-index: -1; left: 50%; top: -10%; width: min(1400px, 160vw); height: 110%; transform: translateX(-50%); background: radial-gradient(30% 22% at 50% 0%, rgba(255, 255, 255, .22), transparent 70%), conic-gradient(from 152deg at 50% 0%, transparent 0deg, rgba(255, 255, 255, .06) 14deg, rgba(255, 255, 255, .15) 28deg, rgba(255, 255, 255, .06) 42deg, transparent 56deg, transparent 360deg); -webkit-mask-image: linear-gradient(#000 30%, transparent 78%); mask-image: linear-gradient(#000 30%, transparent 78%); opacity: var(--beam, 0); filter: blur(6px); transition: opacity 1.6s var(--ease-out); }
.finale.is-lit .finale__beam { --beam: 1; }
.finale__mark { width: clamp(150px, 16vw, 220px); height: auto; aspect-ratio: 122 / 33.6; color: #fff; filter: drop-shadow(0 0 30px rgba(255, 255, 255, .25)); }
.finale__time { margin-top: 34px; color: var(--faint); font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .22em; text-transform: uppercase; }
.finale__time span { color: var(--muted); }
.finale__title { margin-top: 18px; font-size: var(--size-h2); letter-spacing: -.04em; }
.finale__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.finale__fine { margin-top: 18px; color: var(--faint); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  .question { height: auto; }
  .question__sticky { position: relative; height: 100svh; }
  .question__line { transition: none; }
  .rise-w > span { transform: none; }
  .word { opacity: 1; }
  .signature { --sig: 120%; transition: none; }
  .finale__beam { --beam: 1; }
}

/* ---------- Ambient light: one soft glow behind the page that takes each section's colour ---------- */
@property --amb { syntax: "<color>"; inherits: true; initial-value: rgba(0, 0, 0, 0); }
@property --amb2 { syntax: "<color>"; inherits: true; initial-value: rgba(0, 0, 0, 0); }
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 108%, var(--amb), transparent 72%), radial-gradient(45% 40% at 88% -6%, var(--amb2), transparent 70%), radial-gradient(520px circle at var(--mx, 50%) var(--my, -40%), rgba(255, 255, 255, .035), transparent 70%);
  transition: --amb 1.6s var(--ease-out), --amb2 1.6s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .ambient { transition: none; } }

/* ---------- Phones and tablets: one centred column, so copy lines up with the centred mockups ---------- */
@media (max-width: 979px) {
  .hero { padding-bottom: 40px; }
  .hero__copy { max-width: 620px; margin-inline: auto; text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__wall { inset: -8% -30% 0; opacity: .2;
    -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 55%, transparent 85%); mask-image: linear-gradient(transparent, #000 20%, #000 55%, transparent 85%); }
  .hero::before { background: radial-gradient(90% 55% at 50% 30%, rgba(0, 0, 0, .9), rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .35)), linear-gradient(transparent 70%, #000); }
  .manifesto__inner { text-align: center; }
  .feature__head { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  /* Portrait screens: let the question's poster rows fill more of the height. */
  .question__rows { inset: 4vh -6vw; -webkit-mask-image: radial-gradient(90% 62% at 50% 50%, #000 20%, rgba(0, 0, 0, .55) 55%, transparent 85%); mask-image: radial-gradient(90% 62% at 50% 50%, #000 20%, rgba(0, 0, 0, .55) 55%, transparent 85%); }
}
@media (max-width: 600px) {
  .steps__num { display: none; }
  .steps__item { grid-template-columns: minmax(0, 1fr); }
  .phone--hero { --pw: min(72vw, 300px); }
  .hero__inner { gap: 44px; }
  .finale__actions { flex-direction: column; align-items: stretch; width: min(100%, 300px); }
  .finale__actions .button { justify-content: center; }
}
/* Phones on their side: copy and phone sit side by side, sized to the short screen. */
@media (max-width: 979px) and (max-height: 520px) and (orientation: landscape) {
  .pinned__sticky { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; align-items: center; gap: 24px; padding-top: var(--header-h); padding-bottom: 0; }
  .pinned__copy { text-align: left; }
  .pinned__device { height: calc(100svh - var(--header-h) - 16px); }
  .pinned__device .phone { --pw: calc((100svh - var(--header-h) - 40px) * .4736); }
  .pinned__device--wide .timedial { width: 100%; }
  .time-readout { justify-content: start; }
  .hero__inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero__copy { text-align: left; }
  .hero__lede { margin-inline: 0; }
  .hero__actions { justify-content: flex-start; }
  .phone--hero { --pw: calc((100svh - 40px) * .4736); }
  .hero__title { font-size: clamp(2.2rem, 12vh, 3.4rem); }
  .question__title { font-size: clamp(1.6rem, 9vh, 2.2rem); }
  .question__stage { gap: 14px; }
  .q-answer .a-poster { width: 64px; }
}
