/* AWAKEN, next. A black room with one light source: the display. Colour on the page comes from its LEDs (js/next.mjs
   writes --room-left, --room-right and --room-strip several times a second) or from footage of the real thing.
   Type is Anybody, whose width and weight are axes: the headline wakes with the strip, thin and narrow to full. */
:root {
  --bg: #000;
  --bg-2: #000;
  --bg-3: #06070a;
  --ink: #eceef2;
  --ink-2: #a4a9b2;
  --ink-3: #6e737c;
  --line: rgb(236 238 242 / .1);
  --line-2: rgb(236 238 242 / .2);
  --panel: rgb(236 238 242 / .04);
  --panel-2: rgb(236 238 242 / .075);
  --room-left: 120 120 140;
  --room-right: 140 120 140;
  --room-strip: linear-gradient(90deg, #ff4d12, #ffb020, #00a2ff, #2a3cff, #ff4d12);
  --font-display: 'Anybody', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 18px;
  --head: 72px;
  --wake: cubic-bezier(.2, .75, .12, 1);
}

body.next { background: #000; color: var(--ink); font-size: 17px; line-height: 1.6; }
body.next::after { display: none; }
/* Light from the two sides of the strip, falling on whatever is on the page. */
body.next::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55vw 65vh at -10% 40%, rgb(var(--room-left) / .13), transparent 70%),
    radial-gradient(55vw 65vh at 110% 60%, rgb(var(--room-right) / .13), transparent 70%);
}
.next main, .next .footer { position: relative; z-index: 1; }
.next ::selection { background: rgb(236 238 242 / .9); color: #000; }

/* ---- Type ---- */
.hero__title, .h2, .h3, .wordmark, .sum__total, .sum__parts { font-family: var(--font-display); }
.hero__title {
  margin: 0;
  font-size: clamp(46px, 6.3vw, 122px);
  line-height: .9;
  letter-spacing: -.035em;
}
/* One line per span, so the words don't re-wrap as they widen. */
.hero__title span {
  display: block;
  white-space: nowrap;
  font-variation-settings: "wdth" 58, "wght" 230;
  color: rgb(236 238 242 / .3);
  transition: font-variation-settings 1.9s var(--wake), color 1.4s ease;
}
.hero__title span:nth-child(2) { transition-delay: .12s; }
.hero__title span:nth-child(3) { transition-delay: .24s; }
.hero__title span:nth-child(4) { transition-delay: .36s; }
.hero__title.is-awake span { font-variation-settings: "wdth" 104, "wght" 820; color: var(--ink); }
.h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 78px);
  font-variation-settings: "wdth" 102, "wght" 780;
  line-height: .94;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 36px);
  font-variation-settings: "wdth" 100, "wght" 720;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.say { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 52ch; margin: 22px 0 0; }
.fine { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; max-width: 58ch; margin: 16px 0 0; }
.textlink { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(236 238 242 / .35); text-underline-offset: 4px; }
.textlink:hover { text-decoration-color: currentColor; }
.next code { font-family: var(--font-mono); font-size: .88em; color: var(--ink); background: var(--panel-2); padding: .1em .35em; border-radius: 4px; }

/* ---- Buttons ---- */
.next .btn { border-radius: 999px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.btn--light { background: var(--ink); color: #000; border: 1px solid var(--ink); position: relative; isolation: isolate; }
/* The strip's own light, round the edge of the one button that matters. */
.btn--light::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 22px rgb(var(--room-left) / .45), 0 0 34px rgb(var(--room-right) / .3);
  opacity: .8;
  transition: opacity .3s ease;
}
.btn--light:hover { background: #fff; }
.btn--light:hover::after { opacity: 1; }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--line:hover { background: var(--panel-2); border-color: rgb(236 238 242 / .4); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.next .btn--lg { padding: 16px 30px; font-size: 16px; }

/* ---- Header ---- */
.announce:empty { display: none; }
.next .announce { background: #000; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.next .announce::after { display: none; }
.next .nav { background: rgb(0 0 0 / .5); border-bottom: 0; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.next .nav__inner { position: relative; }
/* The real AWAKEN symbol and wordmark, white versions cut from the lockup (assets/img/awaken-*-white.svg). */
.next .brand { gap: 12px; }
.next .brand__mark { width: 27px; height: auto; filter: none; }
.brand__word { display: block; width: 112px; height: auto; }
.next .footer__lockup { display: block; width: 172px; height: auto; margin: -6px 0 12px -8px; filter: none; }
.wordmark { font-variation-settings: "wdth" 150, "wght" 800; font-size: 19px; letter-spacing: .04em; line-height: 1; color: var(--ink); }
.wordmark--big { display: block; font-size: clamp(40px, 6vw, 72px); letter-spacing: .02em; margin-bottom: 16px; }
.next .nav__links a { color: var(--ink-2); font-size: 14.5px; }
.next .nav__links a:hover { color: var(--ink); }
.led-strip { position: absolute; inset: auto 0 -1px 0; display: block; width: 100%; height: 2px; opacity: .95; image-rendering: auto; }
.next .nav .led-strip { width: 100vw; left: 50%; transform: translateX(-50%); }
.next .cart-btn { border-radius: 999px; }

/* ---- The room ---- */
.room { position: relative; margin-top: calc(var(--head) * -1); }
.room__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; background: #000; }
.room__model { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.room--on .room__model { opacity: 1; }
.room__model canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.room--aim .room__model canvas { cursor: crosshair; }

/* Keep the fine type readable while the window and the lamps pass behind it on orbit.
   The desk and the display remain visible to the right. The order form takes the other side. */
@media (min-width: 901px) {
  .room--pinned .room__stage::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgb(3 4 7 / .87), rgb(3 4 7 / .76) 31%, rgb(3 4 7 / .52) 45%, transparent 65%);
    opacity: 0;
    transition: opacity .35s ease;
  }
  .room--pinned.room--words .room__stage::after { opacity: 1; }
  .room--pinned.room--on:not(.room--words) .room__stage::after {
    background: linear-gradient(90deg, transparent 35%, rgb(3 4 7 / .60) 52%, rgb(3 4 7 / .84) 67%, rgb(3 4 7 / .89));
    opacity: 1;
  }
  .room--pinned .beat__copy .fine,
  .room--pinned .hero__aim,
  .room--pinned .mosaic__caption { color: #bac0c8; }
}

/* With a mouse, the pointer is the lamp: a small warm light where it aims. */
.lamp {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  width: 132px;
  height: 132px;
  margin: -66px 0 0 -66px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgb(255 251 244 / .95) 0 3.5%, rgb(255 246 232 / .35) 9%, rgb(255 240 222 / .1) 26%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .3s ease;
  will-change: transform;
}
.lamp.is-on { opacity: 1; }
@media (pointer: fine) { .room--aim .room__model canvas { cursor: none; } }
.mosaic__canvas { cursor: pointer; touch-action: pan-y; }
.room__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.room--film .room__film { display: block; }
.room--film .only-3d, .room--film .room__hint, .room--film .hero__aim { display: none; }
.room__hint { position: absolute; right: clamp(20px, 4vw, 52px); bottom: clamp(18px, 3vh, 34px); margin: 0; font-size: 14px; color: var(--ink-3); opacity: 0; transition: opacity .8s ease 1.6s; }
.room--on .room__hint { opacity: 1; }
.room__hint.is-used, .room__hint.is-past, .room--aim .room__hint { opacity: 0; transition: opacity .4s ease; }

/* Five real cards were photographed on the stand. While the light is the visitor's, they can pick which one it lights. */
.room__cards {
  position: absolute;
  left: 71%;
  bottom: clamp(18px, 3.4vh, 36px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility 0s .5s;
}
.room--on.room--cards .room__cards { opacity: 1; visibility: visible; transition: opacity .6s ease .2s; }
.room__cardsLabel { color: var(--ink-3); font-size: 13px; margin-right: 6px; white-space: nowrap; }
.room__cards button {
  flex: none;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(0 0 0 / .55);
  color: var(--ink-2);
  font: 600 13px/1 var(--font-body);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color .2s, border-color .2s, background-color .2s;
}
.room__cards button:hover { color: var(--ink); border-color: rgb(236 238 242 / .45); }
.room__cards button[aria-pressed="true"] { color: #000; background: var(--ink); border-color: var(--ink); }
.room__cards button[aria-busy="true"] { animation: card-wait 1s ease-in-out infinite; }
@keyframes card-wait { 50% { opacity: .45; } }
.room__cards button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.room__beats { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.beat { display: flex; align-items: center; min-height: 100vh; padding: 0 var(--pad); }
.beat--hero { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--head) + 20px); }
.beat__copy { width: min(40vw, 600px); pointer-events: auto; }
.beat--hero .beat__copy { width: min(46vw, 760px); }
.beat--long { min-height: 165vh; }

.hero__say { max-width: 40ch; }
.hero__aim { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--ink-3); font-size: 14.5px; opacity: 0; transition: opacity .8s ease 2.2s; }
.room--on .hero__aim { opacity: 1; }
.hero__aimDot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 10px 2px rgb(var(--room-left) / .9), 0 0 18px 4px rgb(var(--room-right) / .6); animation: aim-pulse 2.4s ease-in-out infinite; }
@keyframes aim-pulse { 50% { transform: scale(.55); opacity: .6; } }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.hero__price { color: var(--ink-2); font-size: 14.5px; line-height: 1.35; max-width: 24ch; }
.hero__price b { display: block; color: var(--ink); font-family: var(--font-display); font-variation-settings: "wdth" 110, "wght" 760; font-size: 26px; line-height: 1.1; }

/* The 68 photographs. Drawn by js/next.mjs, each tile as bright as its LED is right now. */
.mosaic { margin: 30px 0 0; }
.mosaic__canvas { display: block; width: 100%; height: auto; aspect-ratio: 1428 / 468; border-radius: 4px; background: #000; }
.mosaic__caption { display: flex; gap: 12px; align-items: baseline; margin-top: 12px; color: var(--ink-3); font-size: 13.5px; line-height: 1.45; max-width: 60ch; }
.mosaic__led { flex: none; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); padding: 2px 7px; border: 1px solid var(--line-2); border-radius: 4px; font-variant-numeric: tabular-nums; }

/* ---- Order: the room's last step, the display at rest beside the form ---- */
#buy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 84px 30px;
  scroll-margin-top: calc(-1 * (var(--nav-h) + 16px));
  background: #000;
  border-block: 0;
  pointer-events: auto;
  transition: background-color .35s ease;
  overflow-anchor: none;
}
.room--on #buy:not(.is-still) { background: transparent; pointer-events: none; }
.room--on #buy:not(.is-still) .buy__media, .room--on #buy:not(.is-still) .buy__mediaNote { visibility: hidden; }
.buy__form { pointer-events: auto; }
.buy__form .dim { color: #a5acb6; }
.buy__mediaCol { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.buy__hint { display: none; position: absolute; inset: calc(100svh - 118px) 0 auto; margin: 0; color: var(--ink-3); font-size: 14px; text-align: center; }
.room--on #buy:not(.is-still) .buy__hint { display: block; }
.buy { width: 100%; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); align-items: center; }
.buy__media, .buy__media .media-slot { border: 0; border-radius: 0; background: none; }
.buy__media { max-width: min(100%, calc((100svh - 130px) * .8)); margin-inline: auto; }
.buy__media img { object-fit: contain; }
.buy__mediaNote { text-align: center; }
.buy__form .h2 { font-size: clamp(32px, 3.4vw, 54px); margin-bottom: 16px; }
.buy__form .opt-label { margin: 18px 0 8px; }
.next .opt-label { font-family: var(--font-body); letter-spacing: .02em; text-transform: none; font-size: 14px; color: var(--ink-2); }
.next .opt-label b { font-family: var(--font-body); letter-spacing: 0; font-weight: 600; }
.buy__note { font-size: 13px; margin-top: 10px; max-width: 62ch; }
.buy__note a { text-decoration: underline; text-underline-offset: 3px; }
.buy__finishNote, .buy__insertNote { font-size: 12.5px; margin-top: 8px; }
.variant--insert[aria-pressed="true"] .variant__extra { display: none; }
.buy__total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.buy__total .price-row { margin-bottom: 0; }
.next .price { font-family: var(--font-display); font-variation-settings: "wdth" 108, "wght" 780; font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -.02em; }
.buy__form .buy__actions { margin-top: 14px; }
.buy ul.trust { margin-block: 16px 0; }
#buy .models { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.next .model-card { border-radius: var(--r); }
.model-card__thumb { display: none; }
.model-card__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.model-card__price { font-size: 15px; font-weight: 600; }
#buy .model-card { padding: 11px 13px; }
#buy .model-card__specs { margin-top: 3px; }
.next .variant { border-radius: 999px; }

/* ---- After the room ---- */
.part { position: relative; padding: clamp(96px, 12vw, 180px) 0; }
.part--tight { padding-block: clamp(64px, 8vw, 110px); }
.part__head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 64px); }
.part__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px clamp(30px, 6vw, 100px); align-items: end; }
.part__head--split .say { margin: 0; }
.wrap--wide { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--pad); }
/* A line of the strip's own colour starts each section after the room. */
.part::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--pad);
  width: min(240px, 30vw);
  height: 2px;
  background: var(--room-strip);
  opacity: .8;
}
.part--tight::before, #explore::before { display: none; }

/* The filmed presets. Each tile is a real clip of the real display; they play while on screen. */
.reel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, .9vw, 14px); }
.reel__item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  margin: 0;
  background: #050506;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
  color: var(--ink);
  text-align: left;
  font: inherit;
}
.reel__item video, .reel__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--wake); }
.reel__item:hover video, .reel__item:focus-visible video { transform: scale(1.04); }
.reel__label {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgb(0 0 0 / .78));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.reel__num { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* A preset's backlit clip (the same preset with the frame turned round) fades in over its tile under a mouse or the keyboard focus. */
.reel__item .reel__back { opacity: 0; transition: opacity .35s ease, transform .6s var(--wake); }
.reel__item.is-back .reel__back { opacity: 1; }
.reel__mode {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgb(0 0 0 / .62);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.reel__item.is-back .reel__mode { opacity: 1; }
.reel__item:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.types { margin-top: clamp(64px, 8vw, 120px); }
.types__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(30px, 6vw, 100px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.types__head .say { margin: 0; }
.reel--types { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.reel__note { margin-top: 26px; }

/* The larger view. */
.viewer { width: min(92vw, 980px); max-height: 92vh; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #000; color: var(--ink); overflow: hidden; }
.viewer::backdrop { background: rgb(0 0 0 / .82); backdrop-filter: blur(6px); }
.viewer[open] { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.viewer__frame { aspect-ratio: 4 / 5; background: #000; max-height: 92vh; }
.viewer__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewer__meta { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(20px, 3vw, 36px); }
.viewer__meta .btn { align-self: flex-start; margin-top: 12px; }
.viewer__num { margin: 0; font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }

/* The two ways to drive it: the panel in the base, and the phone. Real recordings, in plain dark frames. */
.control { display: grid; grid-template-columns: minmax(0, 464px) minmax(0, 300px); justify-content: center; gap: clamp(24px, 7vw, 104px); align-items: center; }
.control figure { margin: 0; }
.control__glass { width: min(100%, 464px); justify-self: center; }
.control figcaption { margin-top: 14px; color: var(--ink-3); font-size: 14.5px; line-height: 1.45; }
.control figcaption b { display: block; color: var(--ink); font-weight: 600; }
.control__bezel { padding: clamp(10px, 1.4vw, 18px); border-radius: clamp(14px, 1.8vw, 24px); background: #050506; border: 1px solid var(--line-2); box-shadow: 0 0 60px rgb(var(--room-left) / .12), 0 0 90px rgb(var(--room-right) / .08); }
.control__bezel video { display: block; width: 100%; aspect-ratio: 960 / 516; border-radius: 6px; background: #000; }
.control__handset { width: min(100%, 300px); margin-inline: auto; padding: 10px; border-radius: 34px; background: #050506; border: 1px solid var(--line-2); }
.control__handset video { display: block; width: 100%; aspect-ratio: 480 / 1038; border-radius: 26px; background: #000; object-fit: cover; }
.control__phone figcaption { text-align: center; }

/* The sum, set as large as it can go, lit by the strip itself. */
.sum { display: grid; gap: 6px; margin: clamp(40px, 6vw, 80px) 0 0; }
.sum__parts { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; font-variation-settings: "wdth" 110, "wght" 700; font-size: clamp(22px, 2.6vw, 40px); color: var(--ink-2); }
.sum__parts small { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--ink-3); margin-left: 6px; }
.sum__total {
  margin: 0;
  font-variation-settings: "wdth" 120, "wght" 900;
  font-size: clamp(66px, 16vw, 300px);
  line-height: .92;
  letter-spacing: -.035em;
  background: var(--room-strip);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sum .say { margin-top: 6px; }
.sum__note { color: var(--ink-3); font-size: 15px; line-height: 1.6; max-width: 70ch; margin: 18px 0 0; }

/* The last word before the questions. */
.close__title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 168px);
  font-variation-settings: "wdth" 108, "wght" 840;
  line-height: .9;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.close .hero__cta { margin-top: clamp(26px, 3vw, 44px); }

/* The brand film beside the last word: real footage, so it gets a plain frame and no device chrome. */
.close { display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.close .close__title { font-size: clamp(52px, 7.2vw, 136px); }
.film { margin: 0; }
.film__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), -24px 30px 110px -40px rgb(var(--room-left) / .55), 24px 30px 110px -40px rgb(var(--room-right) / .55); transition: box-shadow .4s; }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__sound {
  position: absolute; right: 12px; bottom: 12px; padding: 8px 13px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22);
  background: rgb(0 0 0 / .55); color: var(--ink); font: 600 13px/1 var(--font-body, inherit); cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.film__sound:hover { border-color: rgb(255 255 255 / .45); }
.film__sound:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.film__note { margin: 12px 2px 0; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 900px) {
  .close { grid-template-columns: 1fr; gap: 34px; }
  .film { width: min(100%, 360px); margin: 0 auto; }
  .close .close__title { font-size: clamp(48px, 13vw, 96px); }
}

/* The studio. */
.next .pg-embed { background: #000; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.next .pg-embed__bar { background: #000; border-bottom: 1px solid var(--line); }

/* A real sequence, so it's numbered. */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin: 0; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-variation-settings: "wdth" 120, "wght" 800; font-size: clamp(56px, 7vw, 110px); line-height: 1; color: rgb(236 238 242 / .16); margin-bottom: 18px; }
.steps h3 { font-family: var(--font-display); font-variation-settings: "wdth" 104, "wght" 720; font-size: 23px; margin: 0 0 10px; letter-spacing: -.01em; }
.steps p { color: var(--ink-2); margin: 0; }

/* The build, in order, sideways. */
.bench { display: flex; gap: clamp(10px, 1.2vw, 16px); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 14px; scrollbar-width: thin; }
.bench figure { flex: 0 0 min(72vw, 420px); margin: 0; scroll-snap-align: start; }
.bench .media-slot { border-radius: var(--r); overflow: hidden; }
.bench figcaption { color: var(--ink-3); font-size: 14.5px; padding-top: 10px; }
.bench figcaption b { display: block; color: var(--ink); font-weight: 600; }
.media-fig__tag { display: none; }

/* Questions. */
#faq { background: transparent; }
.next .faq summary { font-family: var(--font-display); font-variation-settings: "wdth" 100, "wght" 650; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; }
.next .faq__a p { color: var(--ink-2); }

.next .waitlist { text-align: center; background: none; border: 0; padding: 0; }
.next .waitlist::before { display: none; }
.next .waitlist .say { margin-inline: auto; }
.waitlist__mail { display: flex; justify-content: center; margin-top: 26px; }

.next .footer { background: #000; border-top: 1px solid var(--line); }
.footer__about { font-size: 14px; max-width: 34ch; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.next .footer h3 { font-family: var(--font-body); }

.toast:not(.is-up) { visibility: hidden; }

/* ---- The other pages (specs, the build, the policies) share the type and the black ---- */
.big { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 78px); font-variation-settings: "wdth" 102, "wght" 780; line-height: .94; letter-spacing: -.03em; text-wrap: balance; }
.mid { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); font-variation-settings: "wdth" 100, "wght" 720; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.next .specs, .next .compare-wrap, .next .spec { background: transparent; }
.next .spec:hover { background: var(--panel); }
.next .spec dd { font-size: 16px; font-weight: 600; color: var(--ink); }
.next .spec dt { font-family: var(--font-body); letter-spacing: .02em; text-transform: none; font-size: 13px; color: var(--ink-3); }
.next table.compare thead th { font-family: var(--font-display); font-variation-settings: "wdth" 104, "wght" 720; letter-spacing: -.01em; text-transform: none; font-size: 16px; }
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 96px); align-items: start; }
.room__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 34px; }
.room__price { color: var(--ink-2); font-size: 15px; max-width: 24ch; line-height: 1.35; }
.room__price b { display: block; color: var(--ink); font-family: var(--font-display); font-variation-settings: "wdth" 110, "wght" 760; font-size: 24px; line-height: 1.15; }
.next .doc h1 { font-family: var(--font-display); font-variation-settings: "wdth" 104, "wght" 780; letter-spacing: -.03em; }
.next .doc h2 { font-family: var(--font-display); font-variation-settings: "wdth" 100, "wght" 700; letter-spacing: -.01em; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* ---- The phone's buy bar ---- */
.buybar { display: none; }
@media (max-width: 1060px) {
  .buybar {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: rgb(0 0 0 / .94);
    border-top: 1px solid var(--line);
    visibility: hidden;
    transform: translateY(100%);
    transition: transform .3s var(--ease-out), visibility 0s .3s;
  }
  .buybar.is-up { visibility: visible; transform: none; transition: transform .3s var(--ease-out); }
  .buybar__what { color: var(--ink-2); font-size: 14px; line-height: 1.25; }
  .buybar__what b { display: block; color: var(--ink); font-family: var(--font-display); font-variation-settings: "wdth" 108, "wght" 760; font-size: 19px; }
  .reel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .reel--types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .reel--card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero__title { font-size: clamp(34px, 10.4vw, 64px); }
  .room__hint { display: none; }
  .beat { align-items: flex-end; padding-bottom: 7vh; }
  .beat__copy, .beat--hero .beat__copy { width: 100%; }
  .beat__copy { background: linear-gradient(transparent, rgb(0 0 0 / .86) 16%); padding: 54px 0 8px; }
  .hero__cta { flex-wrap: nowrap; gap: 14px; margin-top: 18px; }
  .hero__cta .btn { flex: none; }
  .hero__price { font-size: 13px; }
  .part__head--split, .types__head { grid-template-columns: 1fr; }
  .control { grid-template-columns: 1fr; }
  .control__handset { width: min(70vw, 260px); }
  .steps { grid-template-columns: 1fr; }
  .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel--types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reel--card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viewer[open] { grid-template-columns: 1fr; }
  .viewer__frame { max-height: 64vh; aspect-ratio: auto; }
  .viewer__meta { padding: 18px; }
  /* The display stays in its window at the top, and the form rises over it. */
  #buy { display: block; padding-block: 0; }
  .buy { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .buy__mediaCol { height: var(--buy-window, 62svh); padding-top: var(--head); }
  .buy__media { width: 100%; max-width: calc((var(--buy-window, 62svh) - var(--head) - 30px) * .8); }
  .room--on #buy:not(.is-still) .buy__hint { display: none; }
  .buy__form { margin-inline: calc(var(--pad) * -1); padding: 20px var(--pad) 34px; background: #000; }
  #buy .models { grid-template-columns: 1fr; }
  #buy .model-card { flex-direction: row; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; }
  .model-card__thumb { display: block; flex: none; width: 52px; height: 65px; border-radius: 8px; object-fit: cover; }
  .model-card__text { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; }
  .model-card__price { grid-column: 2; grid-row: 1; }
  .model-card__tagline, .model-card__specs { grid-column: 1 / -1; }
  #buy .model-card__specs { display: none; }
  .buy__form .buy__actions .btn { flex: 1 1 0; }
}

/* On a phone each step's words wait at the top, under the header, while the display plays that step out in the room below
   them. Scrolling on swaps in the next step's words. js/next.mjs picks the step and measures the room each step's words
   leave (--band-bottom follows the step that's up) and the window the order section keeps for the display. */
@media (max-width: 900px) {
  .room--pinned .beat { display: block; min-height: 100vh; min-height: 100svh; padding: 0; }
  .room--pinned .beat--long { min-height: 165vh; min-height: 165svh; }
  .room--pinned .beat__copy {
    position: fixed;
    top: calc(var(--head) + 14px);
    left: var(--pad);
    right: var(--pad);
    width: auto;
    padding: 0;
    background: none;
    opacity: 0;
    transform: translateY(22px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
  }
  .room--pinned .beat.is-past .beat__copy { transform: translateY(-22px); }
  .room--pinned .beat.is-current .beat__copy { opacity: 1; transform: none; pointer-events: auto; transition: opacity .5s ease .14s, transform .6s var(--ease-out) .14s; }
  .room--pinned .beat .h2 { font-size: clamp(27px, 7.4vw, 42px); }
  .room--pinned .beat .say { font-size: 15.5px; line-height: 1.5; margin-top: 10px; }
  .room--pinned .beat .fine { font-size: 13px; line-height: 1.45; margin-top: 8px; }
  .room--pinned .hero__aim { margin-top: 12px; font-size: 13.5px; }
  .room--pinned .hero__cta { margin-top: 14px; }
  .room--pinned .mosaic { margin-top: 12px; }
  .room--pinned .mosaic__caption { font-size: 12px; margin-top: 8px; }
  /* The words sit on black. A step that comes in close reaches up under them and fades out. */
  .room--pinned .room__stage::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: calc(var(--band-bottom, 45%) + 36px);
    background: linear-gradient(#000 calc(100% - 52px), rgb(0 0 0 / 0));
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s ease, height .5s var(--ease-out);
  }
  .room--pinned.room--words .room__stage::after { opacity: 1; }
  .room--pinned .room__film { inset: var(--band-bottom, 45%) 0 var(--story-bottom, 0); height: auto; }
  /* The card chips sit along the bottom of the display's room, and scroll sideways if they don't fit. */
  .room__cards { left: 0; right: 0; bottom: calc(var(--story-bottom, 0px) + 10px); transform: none; overflow-x: auto; padding: 4px var(--pad); scrollbar-width: none; }
  /* In the opening the buy bar is away, so the chips take its place below the display rather than covering it. */
  .room--hero .room__cards { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .room__cards::-webkit-scrollbar { display: none; }
  .room__cardsLabel { display: none; }
}
/* A short phone has room for the headline and the display, not the paragraph as well. */
@media (max-width: 900px) and (max-height: 720px) {
  .room--pinned .hero__say { display: none; }
}

@media (max-width: 560px) {
  .nav__links { display: none; }
  .reel__label { font-size: 13px; padding: 24px 10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .room__model, .room__hint, .hero__aim { transition: none; }
  .hero__title span { transition: none; }
  .hero__aimDot { animation: none; }
  .room--pinned .beat__copy, .room--pinned .beat.is-past .beat__copy, .room--pinned .beat.is-current .beat__copy { transform: none; transition: opacity .2s ease; }
  .reel__item video, .reel__item .reel__back, .reel__mode { transition: none; }
}

@media (max-width: 600px) { .drawer.is-open ~ .toast { bottom: 170px; } }
