/* Road to New York — Ninth Studio · v2
   "A pocket documentary magazine with the soul of a terminal." */

/* ------------------------------------------------------------ fonts */

@font-face { font-family: "Anton"; src: url("../fonts/Anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DotGothic16"; src: url("../fonts/DotGothic16.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("../fonts/PermanentMarker.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ------------------------------------------------------------ tokens */

:root {
  --bg: #0A0A0A;
  --bg-2: #121212;
  --ink: #EDE6DA;
  --ink-2: #9A948B;
  --line: rgba(237, 230, 218, 0.14);
  --accent: #E8640A;
  --accent-hi: #FF7A1A;
  --paper: #E9E3D8;
  --paper-ink: #0A0A0A;
  --paper-ink-2: #4A453E;

  --f-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --f-dot: "DotGothic16", "JetBrains Mono", ui-monospace, monospace;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-hand: "Permanent Marker", "Comic Sans MS", cursive;

  --t-xl: clamp(4.5rem, 17vw, 16rem);
  --t-l: clamp(3rem, 9vw, 8rem);
  --t-m: clamp(2.25rem, 5vw, 4.5rem);
  --t-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --t-label: 0.75rem;

  --max: 1440px;
  --pad: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 12vw, 160px);
  --nav-h: 64px;
  --ticker-h: 38px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}

/* ------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: #3a3632 var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--t-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip; caret-color: var(--accent);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--pad); top: -5rem; z-index: 200; background: var(--ink); color: var(--bg); padding: 12px 16px; font-family: var(--f-dot); }
.skip:focus { top: 8px; }
.defs { position: absolute; width: 0; height: 0; }
.i { width: 1em; height: 1em; flex: none; }

/* type roles */
.d-xl, .d-l, .d-m { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: 0.88; letter-spacing: -0.01em; }
.d-xl { font-size: var(--t-xl); }
.d-l { font-size: var(--t-l); }
.d-m { font-size: var(--t-m); }
.lbl { font-family: var(--f-mono); font-size: var(--t-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5; }
.dot-label { font-family: var(--f-dot); letter-spacing: 0.12em; text-transform: uppercase; }
.mono { font-family: var(--f-mono); }
.hand { font-family: var(--f-hand); text-transform: none; display: inline-block; transform: rotate(-3deg); letter-spacing: 0; line-height: 1; }
.body-copy { max-width: 62ch; color: var(--ink); }
.body-copy p + p { margin-top: 1em; }
.accent { color: var(--accent); }
.rule { display: inline-block; width: 32px; height: 1px; background: var(--ink-2); vertical-align: middle; margin-right: 12px; }

/* grain (Nexus DNA) */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ------------------------------------------------------------ ticker */

.ticker {
  height: var(--ticker-h); overflow: hidden; position: relative; z-index: 60;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
}
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(to right, var(--bg-2), rgb(18 18 18 / 0)); }
.ticker::after { right: 0; background: linear-gradient(to left, var(--bg-2), rgb(18 18 18 / 0)); }
.ticker__track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__run { display: flex; align-items: center; white-space: nowrap; font-family: var(--f-dot); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--ink-2); }
.ticker__run span:not(.tk-sep) { padding-right: 1.4em; }
.tk-sep { color: var(--accent); padding-right: 0.9em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ nav */

.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); transition: background-color 240ms ease, border-color 240ms ease; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav--solid { background: rgb(10 10 10 / 0.92); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(8px)) { .nav.is-scrolled, .nav--solid { background: rgb(10 10 10 / 0.8); backdrop-filter: blur(10px); } }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-dot); font-size: 1rem; letter-spacing: 0.12em; }
.logo img { height: 30px; width: auto; }
.nav__links { display: none; }
.nav__links ul { display: flex; gap: 32px; }
.nav__link { font-family: var(--f-dot); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--ink-2); text-decoration: none; position: relative; padding: 6px 0; transition: color 200ms ease; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.nav__link:hover, .nav__link:focus-visible { color: var(--ink); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

.btn-sm {
  display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  font-family: var(--f-dot); font-size: 0.78rem; letter-spacing: 0.1em; text-decoration: none;
  border: 1px solid var(--ink); color: var(--ink);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.btn-sm .i { transition: transform 200ms var(--ease-out); }
.btn-sm:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-sm:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
  .btn-sm:hover .i { transform: translateX(4px); }
}
.nav--solid .btn-sm { display: inline-flex; }
.btn-sm--ghost { border-color: var(--line); }

.nav__menu {
  min-height: 44px; padding: 0 14px; background: none; border: 1px solid var(--line); cursor: pointer;
  font-family: var(--f-dot); font-size: 0.8rem; letter-spacing: 0.14em;
}

.menu { position: fixed; inset: 0; z-index: 120; background: var(--bg); display: grid; grid-template-rows: var(--nav-h) 1fr auto; }
.menu[hidden] { display: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu__list { display: grid; align-content: center; height: 100%; }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; text-decoration: none; }
.menu__list .dot-label { font-size: 0.8rem; color: var(--accent); }
.menu__list .d-l { font-size: clamp(2.6rem, 13vw, 5rem); }
.menu__foot { padding-block: 20px; color: var(--ink-2); }
.js .menu.is-open .menu__list li { animation: menu-in 420ms var(--ease) both; }
.js .menu.is-open .menu__list li:nth-child(2) { animation-delay: 60ms; }
.js .menu.is-open .menu__list li:nth-child(3) { animation-delay: 120ms; }
.js .menu.is-open .menu__list li:nth-child(4) { animation-delay: 180ms; }
@keyframes menu-in { from { opacity: 0; transform: translateY(16px); } }

@media (min-width: 64em) {
  .nav__links { display: block; }
  .btn-sm { display: inline-flex; }
  .nav__menu { display: none; }
}

/* ------------------------------------------------------------ buttons & links */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 56px; padding: 0 24px;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  font-family: var(--f-dot); font-size: 0.95rem; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.btn .i { transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
  .btn:hover .i:last-child { transform: translateX(4px); }
  .btn:hover .i:first-child:not(:last-child) { transform: translateX(-4px); }
}
.btn[disabled] { cursor: progress; background: var(--ink-2); border-color: var(--ink-2); transform: none; }
.btn--auto { width: auto; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.arrow-link .i { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .arrow-link:hover { color: var(--accent); } .arrow-link:hover .i { transform: translateX(4px); } }

/* ------------------------------------------------------------ hero */

.hero { margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); position: relative; overflow: hidden; }
.hero__in { display: grid; gap: 24px; padding-top: 24px; padding-bottom: 32px; }
.hero__corners { display: flex; flex-direction: column; gap: 4px; color: var(--ink-2); }
.hero__next { display: inline-flex; align-items: center; gap: 10px; }
.hero__next .i--globe { width: 28px; height: 28px; color: var(--ink); }

/* The title is sized from Anton's measured widths so its widest line fills the column exactly:
   mobile  ROAD / TO NEW / YORK  -> widest "TO NEW"   = 2.678em
   >=48em  ROAD TO / NEW YORK    -> widest "NEW YORK" = 3.657em
   The spire is drawn twice: the back copy sits behind the letters, the front copy is clipped
   to the part above the last line(s), so the needle crosses in front while the tower hides behind. */
.hero__stage { container-type: inline-size; border-bottom: 1px solid var(--line); }
.hero__frame {
  --f: calc(100cqi / 2.69);          /* title font-size */
  --lines: 3;
  --spire-h: 3.05;                   /* spire height, in title ems */
  --spire-x: 2.24;                   /* spire centre, in title ems from the left */
  --front-cut: 1.76;                 /* height (em) kept behind the letters, from the bottom */
  position: relative;
  padding-top: calc(var(--f) * (var(--spire-h) - var(--lines) * 0.88));
}
.hero__title {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; column-gap: 0.224em;
  font-size: var(--f); line-height: 0.88;
}
.hero__title .w { display: block; overflow: hidden; }
.hero__title .w > span { display: block; padding-top: 0.06em; margin-top: -0.06em; }
.br { flex-basis: 100%; height: 0; }
.br-d { display: none; }
.hero__spire {
  position: absolute; bottom: 0; pointer-events: none;
  height: calc(var(--f) * var(--spire-h)); width: auto;
  left: calc(var(--f) * var(--spire-x)); transform: translateX(-50%);
}
.hero__spire--back { z-index: 0; }
.hero__spire--front { z-index: 2; clip-path: inset(0 0 calc(var(--front-cut) / var(--spire-h) * 100%) 0); }

.hero__body { display: grid; gap: 40px; padding-top: 8px; }
.hero__lede { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem); line-height: 1.4; max-width: 30ch; }
.slogan { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.slogan__mono { font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); }
.hand--slogan { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); color: var(--accent); transform: rotate(-4deg) translateY(-2px); }

.hero__scroll { justify-self: center; display: inline-flex; gap: 8px; color: var(--ink-2); text-decoration: none; padding: 8px; }
.hero__scroll:hover { color: var(--ink); }

@media (min-width: 48em) {
  .hero__corners { flex-direction: row; justify-content: space-between; }
  .hero__frame { --f: calc(100cqi / 3.67); --lines: 2; --spire-h: 2.45; --spire-x: 1.74; --front-cut: 0.88; }
  .br-m { display: none; }
  .br-d { display: block; }
}
@media (min-width: 64em) {
  .hero__in { gap: 28px; padding-top: 32px; }
  .hero__body { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .hero__text { grid-column: 1 / span 6; padding-top: 8px; }
  .hero__body .signup-cell { grid-column: 8 / -1; }
}

/* hero intro: words rise out of their line masks, the spire fades in */
.js .hero__title .w > span { animation: rise 760ms var(--ease) both; }
.js .hero__title .w2 > span { animation-delay: 80ms; }
.js .hero__title .w3 > span { animation-delay: 160ms; }
.js .hero__title .w4 > span { animation-delay: 240ms; }
.js .hero__spire { animation: fade 700ms ease 380ms both; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; } }

/* ------------------------------------------------------------ cells (FRAMEFORM grid with lines) */

.cells { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); min-width: 0; }

.section { padding-block: var(--section) 0; }
.section:last-of-type { padding-bottom: var(--section); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; padding-bottom: 24px; }
.sec-head__l { display: flex; align-items: baseline; gap: 16px; }
.sec-head__r { display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--ink-2); }
.sec-num { color: var(--accent); font-size: 0.85rem; }
.sec-title { font-size: clamp(1.1rem, 0.9rem + 0.9vw, 1.6rem); }

/* ------------------------------------------------------------ echo band (used once) */

.echo { padding-top: var(--section); text-align: center; }
.echo__words { position: relative; display: grid; justify-items: center; overflow: hidden; padding-block: 0.5em; font-size: var(--t-l); line-height: 0.88; }
.echo__words > span { grid-area: 1 / 1; white-space: nowrap; }
.echo__main { position: relative; z-index: 1; }
.echo__ghost { opacity: 0.3; }
.echo__ghost--top { transform: translate(-2%, -58%); clip-path: inset(0 0 46% 0); }
.echo__ghost--bottom { transform: translate(2%, 58%); clip-path: inset(46% 0 0 0); }
.echo__line { margin-top: 40px; max-width: 64ch; color: var(--ink-2); }

/* ------------------------------------------------------------ 01 who */

.cells--who { grid-template-columns: 1fr; }
.who__text { display: grid; align-content: start; gap: 20px; }
.who__sign { color: var(--ink-2); margin-top: 8px; }
.who__photo { display: grid; place-items: center; background: var(--bg-2); }
.taped { position: relative; width: min(100%, 320px); padding: 10px 10px 36px; background: var(--paper); transform: rotate(1.5deg); }
.who__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.tape { position: absolute; z-index: 1; top: -12px; right: -18px; width: 104px; height: 30px; background: rgb(233 227 216 / 0.62); transform: rotate(32deg); box-shadow: 0 1px 3px rgb(0 0 0 / 0.25); }
.idcard { display: grid; gap: 24px; padding: 20px; border: 1px solid var(--ink); }
.idcard__code { display: grid; gap: 8px; }
.barcode { width: 100%; height: 56px; color: var(--ink); }
.spec { display: grid; gap: 10px; font-size: 0.82rem; letter-spacing: 0.08em; }
.spec div { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.spec dt { color: var(--ink-2); }
.spec dd { color: var(--ink); }
.toggle-row { display: flex; align-items: center; gap: 12px; }
.toggle { flex: none; width: 52px; height: 28px; border: 1.5px solid var(--ink); border-radius: 14px; position: relative; }
.toggle__knob { position: absolute; top: 3px; right: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--accent); }
@media (min-width: 48em) {
  .cells--who { grid-template-columns: repeat(6, 1fr); }
  .who__text { grid-column: 1 / -1; }
  .who__photo { grid-column: 1 / span 3; }
  .who__card { grid-column: 4 / -1; }
}
@media (min-width: 64em) {
  .cells--who { grid-template-columns: repeat(12, 1fr); }
  .who__text { grid-column: 1 / span 5; }
  .who__photo { grid-column: 6 / span 3; }
  .who__card { grid-column: 9 / -1; }
}

/* ------------------------------------------------------------ 02 gallery: cinematic cards */

.cards { display: grid; gap: 16px; }
.card { min-width: 0; }
.card__btn {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2);
  border-radius: 6px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; text-align: left; color: var(--ink);
}
.card__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(10 10 10 / 0.78) 0%, rgb(10 10 10 / 0.18) 42%, rgb(10 10 10 / 0) 60%), linear-gradient(to bottom, rgb(10 10 10 / 0.55) 0, rgb(10 10 10 / 0) 90px); pointer-events: none; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 700ms var(--ease-out), filter 500ms ease; }
.pos-0 .card__img { object-position: 60% 50%; }
.pos-1 .card__img { object-position: 62% 50%; }
.pos-2 .card__img { object-position: 72% 50%; }
.pos-3 .card__img { object-position: 50% 50%; }
.card__line { position: absolute; z-index: 1; top: 0; bottom: 0; left: 30%; width: 2px; background: var(--accent); }
.card__meta { position: absolute; z-index: 2; top: 20px; left: 20px; right: 20px; }
.card__title { position: absolute; z-index: 2; left: 20px; bottom: 20px; max-width: 70%; transition: transform 300ms var(--ease-out); }
.card__view { position: absolute; z-index: 2; right: 20px; bottom: 24px; }
@media (hover: hover) and (pointer: fine) {
  .card__btn:hover .card__img { transform: scale(1.03); filter: grayscale(0.7) contrast(1.05); }
  .card__btn:hover .card__title { transform: translateY(-4px); }
}
@media (min-width: 48em) {
  .cards { grid-template-columns: 1fr 1fr; gap: 24px; }
  .card--wide { grid-column: 1 / -1; }
  .card__btn { aspect-ratio: 16 / 9; }
  .card--wide .card__btn { aspect-ratio: 21 / 9; }
  .pos-0 .card__img { object-position: 50% 40%; }
  .pos-1 .card__img { object-position: 50% 55%; }
  .pos-2 .card__img { object-position: 50% 45%; }
  .pos-3 .card__img { object-position: 50% 62%; }
  .card__meta { top: 28px; left: 28px; }
  .card__title { left: 28px; bottom: 28px; }
  .card__view { right: 28px; bottom: 32px; }
}

/* ------------------------------------------------------------ the one paper section: organic cut-outs */

.paper { margin-top: var(--section); background: var(--paper); color: var(--paper-ink); padding-block: clamp(64px, 9vw, 120px); }
.paper :focus-visible { outline-color: var(--paper-ink); }
.paper__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; padding-bottom: 32px; border-bottom: 1px solid rgb(10 10 10 / 0.2); }
.paper__head .lbl { color: var(--paper-ink-2); }
.blobs {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 32px 4px 8px;
  margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--paper-ink-2) transparent;
}
.blob { flex: 0 0 72%; scroll-snap-align: start; display: grid; gap: 12px; }
.blob__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.blob__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter 500ms ease; }
.blob__img--b1 { clip-path: url(#b1); }
.blob__img--b2 { clip-path: url(#b2); }
.blob__img--b3 { clip-path: url(#b3); }
.blob__img--b4 { clip-path: url(#b4); }
.blob__note { display: flex; align-items: center; gap: 10px; color: var(--paper-ink); }
.blob__rule { display: inline-block; width: 40px; height: 1px; background: var(--accent); position: relative; }
.blob__rule::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (hover: hover) and (pointer: fine) { .blob__btn:hover .blob__img { filter: grayscale(0.7) contrast(1.1); } }

@media (min-width: 64em) {
  .blobs {
    display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 0 var(--pad);
    overflow: visible; margin-inline: 0; padding: 48px 0 0;
  }
  .blob { position: relative; display: block; }
  .blob--1 { grid-column: 1 / span 4; grid-row: 1; }
  .blob--2 { grid-column: 5 / span 4; grid-row: 1; margin-top: 18%; }
  .blob--3 { grid-column: 9 / span 4; grid-row: 1; margin-top: -2%; }
  .blob--4 { grid-column: 4 / span 6; grid-row: 2; margin-top: -10%; }
  .blob--4 .blob__img { aspect-ratio: 16 / 10; }
  .blob__note { position: absolute; }
  .blob--1 .blob__note { right: -6%; top: 14%; }
  .blob--2 .blob__note { left: -14%; bottom: 22%; flex-direction: row-reverse; }
  .blob--3 .blob__note { left: -8%; top: 62%; flex-direction: row-reverse; }
  .blob--4 .blob__note { right: -18%; top: 40%; }
  .blob__note .blob__rule { width: 72px; }
  .blob__note { background: var(--paper); padding: 2px 6px; }
}

/* mosaic */
.mosaic { display: grid; gap: 16px; padding-top: var(--section); }
.mosaic__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in; overflow: hidden; }
.mosaic__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 500ms ease, transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mosaic__btn:hover .mosaic__img { filter: grayscale(0.7) contrast(1.05); transform: scale(1.02); } }
@media (min-width: 48em) {
  .mosaic { grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; }
  .mosaic__item:last-child .mosaic__img { aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------ 03 project */

.project__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 clamp(16px, 3vw, 40px); font-weight: 400; padding-block: 8px 32px; }
.hand--project { font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); color: var(--ink); }
.project__intro { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); padding-bottom: 48px; }
.cells--steps { grid-template-columns: 1fr; }
.step { display: grid; align-content: start; gap: 14px; }
.step__n { color: var(--accent); font-size: 0.8rem; }
.step__t { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); letter-spacing: 0.08em; }
.step .body-copy { color: var(--ink-2); max-width: 36ch; }
.cells--data { grid-template-columns: 1fr; border-top: 0; }
.data { display: grid; gap: 20px; }
.spec--big { font-size: clamp(0.85rem, 0.8rem + 0.3vw, 1.05rem); gap: 14px; }
.spec--big dd { font-weight: 500; }
.data__note { color: var(--ink-2); font-size: 0.95rem; }
.data__stamp { display: grid; place-items: center; min-height: 240px; }
@media (min-width: 48em) {
  .cells--steps { grid-template-columns: repeat(3, 1fr); }
  .cells--data { grid-template-columns: 2fr 1fr; }
}

.stamp { position: relative; width: clamp(160px, 18vw, 210px); aspect-ratio: 1; }
.stamp__ring { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp__ring text { font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; fill: var(--ink); }
.stamp__center { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: clamp(2.4rem, 3vw, 3rem); color: var(--accent); }
.stamp::before { content: ""; position: absolute; inset: 24%; border: 1px solid var(--line); border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ 04 truth */

.truth__body { display: grid; gap: 0.8em; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3.1rem); line-height: 1.18; font-weight: 500; max-width: 30ch; padding-top: 24px; letter-spacing: -0.01em; }
.truth__body p:last-child { color: var(--ink); }
.truth__body p:not(:last-child) { color: var(--ink-2); }
.hand--sign { font-size: clamp(2.6rem, 2rem + 2.4vw, 4.4rem); margin-top: 40px; color: var(--ink); }
.truth__by { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; color: var(--ink-2); }

/* ------------------------------------------------------------ 05 join */

.cells--join { grid-template-columns: 1fr; }
.join__l { display: grid; align-content: space-between; gap: 32px; }
.join__q { color: var(--ink-2); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); max-width: 36ch; }
.join__r .signup-cell { border: 0; padding: 0; }
.join__note { margin-top: 24px; color: var(--ink-2); }
@media (min-width: 64em) { .cells--join { grid-template-columns: 7fr 5fr; } }

/* ------------------------------------------------------------ form component */

.signup-cell { border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 32px); background: rgb(10 10 10 / 0.6); }
.signup__title { font-size: 0.95rem; margin-bottom: 24px; }
.field { position: relative; display: grid; gap: 4px; margin-bottom: 20px; }
.field .lbl { color: var(--ink-2); }
.field__input {
  width: 100%; min-height: 48px; padding: 10px 18px 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem;
  transition: border-color 200ms ease;
}
.field__input::placeholder { color: #7d776f; }
.field__input:hover { border-bottom-color: rgb(237 230 218 / 0.35); }
.field__input:focus { outline: none; border-bottom-color: var(--ink); }
.field__input:focus-visible { outline: none; box-shadow: 0 2px 0 0 var(--ink); }
.field::after { content: ""; position: absolute; right: 2px; bottom: 20px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(0.6); transition: opacity 200ms ease, transform 200ms var(--ease-out); }
.field:focus-within::after { opacity: 1; transform: none; }
.field__input[aria-invalid="true"] { border-bottom-color: var(--accent); }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); margin: 8px 0 12px; cursor: pointer; }
.check a { color: var(--ink); }
.check__box {
  appearance: none; -webkit-appearance: none; margin: 1px 0 0; width: 22px; height: 22px;
  border: 1.5px solid var(--ink); border-radius: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: border-color 160ms ease;
}
.check__box::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform 180ms var(--ease-out); }
.check__box:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.check__box:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.check__box[aria-invalid="true"] { border-color: var(--accent); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--accent); margin: -12px 0 14px; }
.err:empty { display: none; }
.form-status { margin: 12px 0 0; }
.signup .btn { margin-top: 8px; }
.micro { margin-top: 12px; font-size: 0.85rem; color: var(--ink-2); }

.btn.is-sending .btn__label::after { content: "▍"; margin-left: 6px; animation: blink 900ms steps(1) infinite; }
.btn.is-sending .i { display: none; }
@keyframes blink { 50% { opacity: 0; } }

.done { display: grid; gap: 12px; padding-block: 8px; }
.done:focus { outline: none; }
.done__head { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.14em; color: var(--accent); font-size: 1rem; }
.done__msg { font-size: 1.15rem; line-height: 1.45; }
.done__hint { color: var(--ink-2); font-size: 0.95rem; }
.js .done { animation: done-in 520ms var(--ease) both; }
@keyframes done-in { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } }

/* ------------------------------------------------------------ footer */

.foot { border-top: 1px solid var(--line); padding-block: 48px 32px; }
.foot__grid { display: grid; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot__brand { font-family: var(--f-dot); font-size: 1.1rem; letter-spacing: 0.12em; }
.foot__grid .lbl { color: var(--ink-2); }
.foot__slogan { font-size: 0.9rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot__links a { color: var(--ink); text-decoration: none; }
.foot__links a:hover { color: var(--accent); }
.foot__mail { text-transform: none; letter-spacing: 0.04em; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; color: var(--ink-2); font-size: 0.68rem; }
.foot__base a { color: var(--ink-2); text-decoration: none; }
.foot__base a:hover { color: var(--accent); }
@media (min-width: 64em) {
  .foot__grid { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .foot__slogan { text-align: center; }
  .foot__links { justify-content: flex-end; }
}

/* ------------------------------------------------------------ lightbox */

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 10 10 / 0.97); color: var(--ink); }
.lightbox::backdrop { background: rgb(10 10 10 / 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.js .lightbox[open] { animation: fade 240ms ease; }
.lb__bar, .lb__nav { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--pad); }
.lb__nav { justify-content: center; gap: 16px; padding-bottom: 20px; }
.lb__count { color: var(--ink-2); }
.lb__stage { display: grid; place-items: center; min-height: 0; padding: 0 var(--pad); }
.lb__stage img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.icon-btn .i { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { border-color: var(--accent); } }

/* ------------------------------------------------------------ secondary pages */

.page { padding-block: clamp(48px, 8vw, 112px) var(--section); }
.page__kick { color: var(--ink-2); margin-bottom: 16px; }
.page__title { margin-bottom: 48px; }
.legal { max-width: 70ch; font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); }
.legal p { color: var(--ink-2); margin-bottom: 1em; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); }
.legal h2 { font-size: 0.95rem; color: var(--ink); margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h2::first-letter { color: var(--accent); }

.cells--thanks { grid-template-columns: 1fr; border-left: 0; border-top: 0; }
.cells--thanks .cell { border: 0; padding: 0; }
.thanks__text { display: grid; align-content: center; gap: 20px; }
.thanks__title { font-size: clamp(4.5rem, 20vw, 12rem); }
.hand--thanks { font-size: clamp(2rem, 1.4rem + 2vw, 3.4rem); color: var(--accent); }
.thanks .body-copy { color: var(--ink-2); max-width: 46ch; }
.thanks__photo { margin-top: 40px; }
.thanks__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; filter: grayscale(1) contrast(1.05); }
@media (min-width: 64em) {
  .cells--thanks { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
  .thanks__photo { margin-top: 0; }
}
.nf .container { display: grid; justify-items: start; gap: 24px; }
.nf__title { font-size: clamp(6rem, 30vw, 18rem); }
.hand--nf { font-size: clamp(2rem, 1.4rem + 2vw, 3.4rem); color: var(--accent); margin-top: -0.3em; }
.nf .body-copy { color: var(--ink-2); }

/* ------------------------------------------------------------ scroll reveal */

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ cursor (desktop, Nexus DNA) */

#cursor-dot, #cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity 200ms ease; }
#cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--accent); }
#cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1.5px solid rgb(232 100 10 / 0.5); transition: opacity 200ms ease, width 200ms var(--ease-out), height 200ms var(--ease-out), margin 200ms var(--ease-out), border-color 200ms ease; }
.cursor-on #cursor-dot, .cursor-on #cursor-ring { opacity: 1; }
.cursor-hover #cursor-ring { width: 48px; height: 48px; margin: -24px 0 0 -24px; border-color: var(--accent); }

/* ------------------------------------------------------------ reduced motion: everything still */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .stamp__ring { animation: none; }
}
