/* NANOPONS — the landing page.
 *
 * A dark full-bleed video hero with the headline pinned left under a hard
 * gradient, a rotated yellow marquee cutting across the seam, then alternating
 * cream and ink sections, a hot-orange gallery and a yellow closing panel.
 *
 * Every photograph on it is a render of the actual game, taken by
 * tools/shoot.html — the entire joke is a head no camera could photograph, so
 * stock imagery was never an option and the site can never drift from the build.
 *
 * NO WEBFONT
 *   The reference asks for Inter and falls back to the system sans when it does
 *   not arrive. Since the fallback is what most visitors see anyway, this ships
 *   the fallback deliberately: SF Pro on Apple, Segoe on Windows, Roboto on
 *   Android. Zero font bytes, no layout shift, no third-party request. Display
 *   type is Arial Black, which is on effectively every desktop and degrades to
 *   Impact and then to a heavy sans.
 *
 * ⚠ EVERY SECTION SETS ITS OWN BACKGROUND. The page alternates paper/ink/orange
 *   and several sections are only distinguishable by that fill; one that
 *   inherits shows the section above it running underneath its own text.
 */

:root {
  --ink: #0d0e11;
  --paper: #f3efe3;
  --yellow: #ffd22f;
  --orange: #ff6b2b;
  --pink: #ff4fa3;
  --teal: #2de1d1;
  --lavender: #bba4dc;
  --burnt: #ef5d2e;
  --roof: #519a45;

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  --display: "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  color: #111113;
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

/* ⚠ BOTH html and body. Overflow set on body alone is only propagated to the
   viewport while html's own overflow is `visible`, and pairing `clip` on one
   axis with `visible` on the other makes the visible axis compute to `auto` —
   so body ends up a scroll container and the document keeps its sideways
   scrollbar anyway. Setting the pair on both elements is the version that
   actually holds. */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  /* ⚠ The ticker is rotated AND scaled past 100% width so its ends never show,
     which puts its corners outside the viewport and gives the whole document a
     sideways scrollbar. `clip` rather than `hidden`: hidden makes body a scroll
     container and silently kills `position: sticky` anywhere inside it. */
  overflow-x: clip;
}

button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img, video { max-width: 100%; }
::selection { color: var(--ink); background: var(--yellow); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

/* Skip link — the hero is a full screen of video before the first real content,
   and a keyboard user should not have to tab through the whole header to reach
   the thing the page is for. */
.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 900;
}
.skip:focus { left: 16px; top: 16px; }

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

/* ================================================================== header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -.04em;
  color: #fff;
  text-decoration: none;
}

/* The logo is a square illustration with its own background, so it is treated
   like an app icon: fixed box, rounded, clipped. Fitting it with `contain` and
   no radius leaves a hard blue square floating on the header. */
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 9px; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark img { transform: scale(1.08); }

.site-header nav { justify-self: center; display: flex; gap: clamp(14px, 2.4vw, 34px); }
.site-header nav a {
  padding: 8px 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}
.site-header nav a:hover { color: #fff; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: clamp(8px, 1.2vw, 14px); }

.header-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.header-x:hover { background: rgba(255, 255, 255, .12); }

.header-play {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.header-play:hover { background: #ffdb59; }

/* The quiet twin of .header-play. Outlined rather than filled, so the one live
   action in the header is the only thing with a fill on it. */
.header-buy {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

/* ==================================================================== hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 94svh;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-video,
.hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ⚠ The <video> has a poster that is a real render, so the hero is complete
   before — and without — any video file. Drop media/hero.mp4 in and it plays;
   leave it out and the poster simply stays. Nothing here errors either way. */
.hero-video { object-fit: cover; object-position: 62% center; }

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, .92) 0%, rgba(5, 6, 8, .62) 46%, rgba(5, 6, 8, .12) 78%),
    linear-gradient(rgba(5, 6, 8, 0) 52%, rgba(5, 6, 8, .74) 100%),
    linear-gradient(rgba(5, 6, 8, .55) 0%, rgba(5, 6, 8, 0) 26%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(760px, 92vw);
  padding: 132px clamp(20px, 7vw, 112px) 124px;
}

.eyebrow, .section-label, .card-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .72);
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 225, 209, .22);
}

.hero h1, .manifesto h2, .specs h2, .yard h2, .gallery h2, .final-cta h2 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -.07em;
  text-transform: uppercase;
}

/* ⚠ max-width is in `ch` and the copy has to be chosen to fit it. Four short
   lines is the whole shape of this hero; at 9ch this headline broke to six and
   pushed the buttons and the intro off the bottom of the screen. Change the
   words and re-check the wrap, at 1280 and at 390. */
.hero h1 { max-width: 11ch; font-size: clamp(54px, 8.4vw, 124px); line-height: .84; }
.hero h1 span {
  display: block;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--yellow);
  transform: rotate(-1deg);
}

.hero-intro {
  max-width: 520px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 500;
  line-height: 1.45;
}

.hero-actions, .final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The buttons. One filled, one outlined, one quiet — the same three everywhere
   they appear on the page. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .12s cubic-bezier(.2,.8,.2,1), background-color .15s linear;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-go { background: var(--yellow); color: var(--ink); }
.btn-go:hover { background: #ffdb59; }
.btn-line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .12); }
.btn-ink { background: var(--ink); color: #fff; }
/* For a "soon" control sitting on dark film: present, legible, clearly not the
   thing you are meant to press yet. */
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .82); }
.btn-ink:hover { background: #1b1e25; }

.hero-footnote {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}
.hero-footnote > span { color: var(--yellow); font-weight: 900; }
.hero-footnote button {
  display: flex;
  align-items: center;
  gap: 14px;
  /* Padded so it is a real target. Unpadded this is a 13px-tall strip of text
     that happens to be a button, which is under half what a thumb needs. */
  padding: 9px 12px;
  margin: -9px -12px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .78);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
}
.hero-footnote strong { color: #fff; font-size: 10px; }

.scroll-cue {
  position: absolute;
  left: clamp(20px, 7vw, 112px);
  bottom: 34px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .55);
}

/* ================================================================== ticker */

.ticker {
  position: relative;
  z-index: 5;
  overflow: hidden;
  color: var(--ink);
  background: var(--yellow);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: rotate(-1deg) scale(1.02);
}
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex-shrink: 0; align-items: center; }
.ticker span {
  display: flex;
  align-items: center;
  padding: 15px 28px;
  font-family: var(--display);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: -.03em;
  white-space: nowrap;
}
.ticker span::after { content: "●"; margin-left: 56px; font-size: 12px; color: var(--pink); }

/* ⚠ Translate by exactly -50%, and render the group TWICE. The track is two
   identical halves, so at -50% the second half is exactly where the first
   started and the loop is seamless. Any other distance visibly jumps. */
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================================================================== soon
 *
 * Buy and Copy-CA are deliberately inert: there is no market and no deployed
 * contract, and the page says so rather than linking somewhere plausible.
 *
 * ⚠ NOT `pointer-events: none`. That removes the element from hit-testing but
 * leaves it in the tab order, so a keyboard user still lands on it and gets
 * nothing, with no explanation. `aria-disabled` + a cursor + a visible SOON
 * badge tells everybody the same thing, and src/site.js swallows the activation
 * for both mouse and keyboard. */

.is-soon {
  position: relative;
  cursor: not-allowed;
  opacity: .62;
  filter: saturate(.55);
}
.is-soon::after {
  content: attr(data-soon);
  position: absolute;
  top: -9px;
  right: -8px;
  padding: 2px 6px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
}
.is-soon[data-soon=""]::after,
.is-soon:not([data-soon])::after { content: none; }
.is-soon:hover { transform: none; }

.hero-footnote button.is-soon { opacity: .7; }
.hero-footnote button.is-soon::after { content: none; }

.soon-dot { color: var(--orange) !important; }

/* The empty address slot. A dash in a monospace box, sized like the real thing
   so the layout does not jump when an address eventually lands in it. */
.ca-slot {
  margin: 0 0 18px !important;
  padding: 14px 16px;
  border: 2px dashed rgba(13, 14, 17, .38);
  background: rgba(255, 255, 255, .34);
  font-family: var(--mono);
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: .04em;
  word-break: break-all;
  color: rgba(13, 14, 17, .55);
}

/* =============================================================== manifesto */

.manifesto, .yard { padding: clamp(88px, 11vw, 160px) clamp(20px, 6vw, 96px); }

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: end;
  gap: 8vw;
  margin-top: 24px;
}

.manifesto h2, .yard h2 { font-size: clamp(48px, 8vw, 124px); line-height: .88; }
.manifesto h2 em { display: inline-block; font-style: normal; color: var(--orange); transform: rotate(-2deg); }

.manifesto-copy { display: grid; gap: 24px; font-size: 17px; line-height: 1.65; }
.manifesto-copy p { margin: 0; }
.manifesto-copy a { color: var(--ink); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ⚠ desk.jpg is PORTRAIT (1400x2426). Stretched across a full-width 16:8 banner
   it has to be scaled UP about 1.4x and then cropped to a sliver, so you get a
   huge blurry fragment of a roof and no photograph. The box is bounded instead,
   at a ratio close enough to the source that the image is scaled DOWN and the
   whole subject survives the crop. Check this again if the picture is ever
   swapped for a landscape one. */
.story-image {
  position: relative;
  max-width: min(680px, 100%);
  margin-top: clamp(48px, 6vw, 84px);
  border: 3px solid var(--ink);
}
.story-image img {
  display: block;
  width: 100%;
  /* ⚠ height:auto is REQUIRED for aspect-ratio to govern an <img> that carries
     width/height attributes. Those attributes are a presentational hint for
     `height`, and a specified height beats aspect-ratio every time — which is
     why this picture rendered 2426px tall with a 5/4 ratio sitting right there
     in the computed styles, doing nothing. */
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 30%;
}

.image-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sticker-note {
  position: absolute;
  top: -22px;
  right: -14px;
  max-width: 180px;
  padding: 14px 16px;
  background: var(--lavender);
  border: 3px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
  transform: rotate(3deg);
}

/* ================================================================ variants
 *
 * A full-bleed band: copy on the left, the four-up lineup running to the right
 * edge. The photograph is on black, so the section is on black too — a dark
 * image inside a cream section reads as a floating rectangle. */

.variants {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.6fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(72px, 9vw, 130px) 0 clamp(72px, 9vw, 130px) clamp(20px, 6vw, 96px);
  color: #fff;
  background: #07080a;
  overflow: hidden;
}
.variants-copy h2 {
  margin: 14px 0 18px;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 76px);
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.variants-copy p { margin: 0; max-width: 40ch; color: rgba(255, 255, 255, .62); font-size: 16px; line-height: 1.6; }
.variants img { display: block; width: 100%; height: auto; }

/* =================================================================== specs */

.specs { color: #fff; background: var(--ink); padding: clamp(88px, 11vw, 156px) clamp(20px, 6vw, 96px); }
.section-label.light { color: var(--yellow); }

.specs-heading { display: grid; grid-template-columns: 180px 1fr 280px; align-items: end; gap: 4vw; }
.specs h2, .gallery h2 { font-size: clamp(46px, 7vw, 100px); line-height: .88; }
.specs-heading > p { margin: 0 0 6px; color: rgba(255, 255, 255, .64); font-size: 17px; line-height: 1.55; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}
.spec-grid article { min-height: 280px; padding: 34px 24px; border-right: 1px solid rgba(255, 255, 255, .24); }
.spec-grid article:last-child { border-right: 0; }
.spec-grid b {
  display: block;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 62px);
  letter-spacing: -.06em;
  line-height: 1;
  color: var(--yellow);
}
.spec-grid h3 { margin: 50px 0 6px; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.spec-grid p { margin: 0; color: rgba(255, 255, 255, .48); font-size: 13px; line-height: 1.5; }

.moves { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; margin-top: clamp(72px, 9vw, 130px); }
.moves-copy > span,
.gallery figcaption,
.gallery-title > span,
.final-cta > div > span,
.how-heading > span { font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.moves-copy h3 {
  margin: 16px 0 24px;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: .94;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.moves-copy p { margin: 0 0 20px; color: rgba(255, 255, 255, .64); font-size: 16px; line-height: 1.6; }
.moves-copy a { color: var(--yellow); font-weight: 800; }

.moves-list { border-top: 1px solid rgba(255, 255, 255, .3); }
.moves-list > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.moves-list i { font-family: var(--mono); font-size: 11px; font-weight: 800; font-style: normal; color: var(--teal); }
.moves-list h4 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.01em; }
.moves-list p { margin: 0; color: rgba(255, 255, 255, .56); font-size: 14px; line-height: 1.55; }

/* ==================================================================== yard */

.yard-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4vw; }
/* A medallion: the cut-out on a yellow disc with a hard ink ring. It is the one
   place on a cream page where the mascot can go big without a photograph
   competing with it. */
.yard-logo {
  display: grid;
  place-items: center;
  align-self: end;
  justify-self: end;
  width: clamp(170px, 24vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: radial-gradient(circle at 50% 34%, #ffe27a 0%, var(--yellow) 58%, #f0bf1c 100%);
  overflow: hidden;
}
/* ⚠ Sized by HEIGHT, and it is the HEAD crop, not the full figure. The full
   figure is 403x760: at any width that fills a 300px disc it is ~443px tall, so
   its element box hung 147px below the medallion and geometrically collided
   with the strip underneath. overflow:hidden made that invisible, which is
   worse — no layout check can tell it from a real collision. The head crop is
   nearly square, fits a circle properly, and is the more iconic mark anyway. */
/* ⚠ Sized by WIDTH, not a percentage height. A percentage height on a grid item
   resolves against a grid area that has no definite height here, so `height:86%`
   silently collapsed to a third of the intended size. The head crop is nearly
   square (401x444), so a width percentage is both predictable and safe: 74% of
   the disc is 222x246 inside a 300px circle. */
.yard-logo img { display: block; width: 74%; height: auto; }

/* The live strip. It is the reference's market row, reading the realm instead of
   a market — same shape, and every number in it is something this page can
   actually check. When the relay is unreachable the values fall back to a dash
   rather than a zero: "0 ducks" and "we could not ask" are different facts. */
.live-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: clamp(44px, 5vw, 72px);
  padding: 26px clamp(20px, 3vw, 34px);
  background: var(--ink);
  color: #fff;
}
.live-strip div span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.live-strip div b { font-family: var(--display); font-size: clamp(19px, 2.2vw, 28px); letter-spacing: -.04em; }
.live-strip .btn { justify-self: end; }

.yard-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 16px; }

.enter-card, .facts-card { padding: clamp(28px, 3vw, 42px); border: 3px solid var(--ink); }
.enter-card { background: var(--yellow); }
.enter-card h3 { margin: 14px 0 12px; font-family: var(--display); font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.05em; line-height: .96; text-transform: uppercase; }
.enter-card p { margin: 0 0 22px; font-size: 15px; line-height: 1.6; max-width: 48ch; }
.enter-card .btn { border: 0; font-family: inherit; }
.enter-card .btn + .btn { margin-left: 10px; }

.facts-card { background: #fff; }
.facts-card dl { display: grid; grid-template-columns: 1fr auto; gap: 16px 12px; margin: 18px 0 0; font-size: 14px; }
.facts-card dt { font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6d6962; align-self: center; }
.facts-card dd { margin: 0; font-weight: 800; text-align: right; }

.how-to { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; margin-top: clamp(72px, 9vw, 120px); }
.how-heading h3 { margin: 16px 0 0; font-family: var(--display); font-size: clamp(34px, 4.4vw, 60px); line-height: .94; letter-spacing: -.06em; text-transform: uppercase; }
.how-to ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(13, 14, 17, .18); }
.how-to li { display: grid; grid-template-columns: 54px 1fr auto; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid rgba(13, 14, 17, .18); }
.how-to li i { font-family: var(--mono); font-size: 11px; font-weight: 800; font-style: normal; color: var(--burnt); }
.how-to li h4 { margin: 0 0 5px; font-size: 19px; }
.how-to li p { margin: 0; color: #6d6962; font-size: 14px; line-height: 1.55; max-width: 52ch; }

/* ================================================================= gallery */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1.2fr .8fr;
  gap: 14px;
  padding: clamp(88px, 10vw, 150px) clamp(20px, 4vw, 64px);
  color: #fff;
  background: var(--burnt);
}
.gallery-title { align-self: end; padding: 24px 28px 34px 0; }
.gallery h2 { margin-top: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border: 3px solid var(--ink); background: var(--ink); }
.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 14px 16px; background: var(--ink); color: #fff; }
.gallery-tall img { object-position: 58% center; }

/* =============================================================== final CTA
 *
 * ⚠ The copy block has its own class. `.final-cta > div` also matched
 * `.final-figure` — it is a div too — so the centring and the 104px padding
 * meant for the text were being applied to the mascot as well. That is what made
 * this panel look thrown together: the figure was inset and vertically centred
 * when it is supposed to be flush and standing on the floor.
 */

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  min-height: 620px;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 84px) 0;
  overflow: hidden;
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
}

.final-copy { padding-bottom: clamp(48px, 6vw, 88px); }
.final-cta h2 { margin-top: 18px; color: var(--ink); font-size: clamp(44px, 5.6vw, 92px); line-height: .86; }
.final-cta p { margin: 22px 0 0; max-width: 44ch; font-size: 16px; line-height: 1.6; }

/* ⚠ NO `mix-blend-mode: multiply`. That was for a photograph on a pale ground;
   the mascot is a cut-out with real alpha, and multiplying it against the yellow
   turns its white body to mustard.
   Sized by HEIGHT: the natural aspect is about 1:1.9, so a width-driven rule
   that reads as generous leaves a small character in a very large rectangle. */
.final-figure {
  position: relative;
  align-self: end;
  justify-self: center;
  display: grid;
  place-items: end center;
}

/* One soft bloom and one hard ring, centred on the FIGURE and sized off it so
   the two always scale together. */
.final-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 126%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(13, 14, 17, 0) 60.2%, rgba(13, 14, 17, .16) 60.8%,
      rgba(13, 14, 17, .16) 62.2%, rgba(13, 14, 17, 0) 62.8%),
    radial-gradient(circle,
      rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .15) 44%, rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
}

/* Contact shadow — a cut-out with nothing under it floats. */
.final-figure::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 76%;
  aspect-ratio: 1 / .18;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(13, 14, 17, .3) 0%, rgba(13, 14, 17, 0) 72%);
  pointer-events: none;
}

.final-figure picture { position: relative; display: block; }
.final-figure img {
  position: relative;
  display: block;
  width: auto;
  max-width: 100%;
  /* The feet land ON the panel's bottom rule, not through it. */
  margin-bottom: 0;
  height: clamp(300px, 36vw, 540px);
  filter: drop-shadow(0 16px 22px rgba(13, 14, 17, .22));
}


footer {
  display: grid;
  grid-template-columns: .6fr 1fr 1.4fr;
  align-items: start;
  gap: 6vw;
  padding: 54px clamp(20px, 5vw, 80px);
  color: rgba(255, 255, 255, .72);
  background: var(--ink);
}
.footer-brand { font-family: var(--display); font-size: 26px; letter-spacing: -.05em; color: #fff; text-decoration: none; }
.footer-links { display: grid; gap: 2px; }
/* ⚠ Padded, not just spaced. A 13px text link is a 15px-tall tap target, which
   is half the 44px a thumb actually needs — and these are the only navigation
   on the page below 1000px, where the header nav is hidden. The padding is what
   makes them hittable; the gap between them is reduced to compensate. */
.footer-links a {
  width: fit-content;
  padding: 11px 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.footer-links a:hover { color: var(--yellow); }
footer p { margin: 0 0 12px; font-size: 11px; line-height: 1.7; }
footer p:last-child { margin-bottom: 0; }
footer a.inline { color: rgba(255, 255, 255, .92); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ================================================================= reveal
 *
 * Sections fade up once as they arrive. Guarded on a class the script adds, so
 * with JavaScript off nothing is ever left invisible — the most common way a
 * scroll animation breaks a page is by hiding content that then never unhides. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* the nudge a "soon" control gives when you press it anyway */
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-3px); }
  75%      { transform: translateX(3px); }
}
.is-nudge { animation: nudge .34s ease-in-out 2; }

/* ================================================================= narrow
 *
 * The reference is a desktop shot and says nothing about a phone. Below the
 * breakpoints here every multi-column grid becomes one column, in an order that
 * keeps the point of each section first.
 *
 * ⚠ Every absolutely-positioned element in the hero shares one bottom edge:
 * the footnote (right), the scroll cue (left) and, once the grid stacks, the
 * mascot. They do not collide at 1280 and all three land on top of each other
 * at 380. Each is dealt with explicitly below rather than left to luck. */

@media (max-width: 1080px) {
  .site-header nav { display: none; }
  .specs-heading, .manifesto-grid, .moves, .how-to, .yard-top { grid-template-columns: 1fr; gap: 34px; }
  .specs-heading > p { max-width: 560px; }
  .yard-grid { grid-template-columns: 1fr; }
  .yard-logo { justify-self: start; }
  .live-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .live-strip .btn { grid-column: 1 / -1; justify-self: start; }
  .variants { grid-template-columns: 1fr; padding-right: clamp(20px, 6vw, 96px); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-title { grid-column: 1 / -1; padding-right: 0; }
  .final-cta { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(36px, 7vw, 64px); }
  .final-copy { padding-bottom: clamp(36px, 7vw, 64px); }
  .final-figure { justify-self: center; order: -1; }
  .final-figure img { height: clamp(260px, 56vw, 400px); }
  footer { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 880px) {
  .hero-copy { width: 100%; padding: 104px 20px 96px; }
  .hero-video { object-position: 62% center; }
  .hero-shade {
    background:
      linear-gradient(rgba(5, 6, 8, .72) 0%, rgba(5, 6, 8, .52) 38%, rgba(5, 6, 8, .88) 100%);
  }
  .hero h1 { font-size: clamp(44px, 12.5vw, 84px); max-width: 100%; }
  .hero-intro { font-size: 16px; max-width: 46ch; }
  /* The cue is the expendable one when the bottom edge gets crowded. */
  .scroll-cue { display: none; }
  .hero-footnote { left: 20px; right: 20px; bottom: 22px; justify-content: flex-start; }
  .hero-footnote button { flex: 1; justify-content: space-between; }
}

@media (max-width: 720px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid article { min-height: 200px; padding: 24px 16px; }
  .spec-grid article:nth-child(2) { border-right: 0; }
  .spec-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .24); }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { min-height: 340px; }
  /* The sticker is absolutely placed over the photo's top-right corner on
     desktop; at this width it covers a third of the image. */
  .sticker-note { position: static; max-width: none; margin-top: 14px; transform: none; }
  .moves-list > div, .how-to li { grid-template-columns: 30px 1fr; gap: 14px; }
  .how-to li .btn { grid-column: 2; justify-self: start; margin-top: 10px; }
  .story-image img { aspect-ratio: 4 / 5; }
  .story-image { max-width: 100%; }
  .enter-card .btn { display: flex; justify-content: center; }
  .enter-card .btn + .btn { margin: 10px 0 0; }
  .variants-copy h2 { font-size: clamp(32px, 9vw, 52px); }
}

@media (max-width: 480px) {
  /* The SOON badge hangs off the top-right corner of its control. On a
     full-width button that corner is at the screen edge, so it is pulled back
     inside rather than clipped by the page's overflow-x. */
  .is-soon::after { top: -7px; right: 4px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .final-actions .btn { flex: 1 1 100%; justify-content: center; }
  .live-strip { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; }
  .live-strip .btn { justify-content: center; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid article { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .24); min-height: 0; }
  .spec-grid article:last-child { border-bottom: 0; }
  .brand { font-size: 15px; }
  .header-play { padding: 9px 12px; font-size: 11px; }
  /* ⚠ Three controls plus a wordmark do not fit across 320px. The X icon and
     the muted Buy are the two that have a home further down the page (the
     footer and the token section), so they are the ones that go. */
  .header-x, .header-buy { display: none; }
  .site-header { min-height: 68px; }
  .hero-footnote { font-size: 10px; }
  .ca-slot { font-size: 11px; }
}
