/* BOXER — ingeniería contra incendios
   Tokens: the hi-vis vest. Black ground, warm white ink, BOXER amber on the action, fire red as one field. */
:root {
  --bg: #0e0d0b;
  --surface: #1a1815;
  --surface-2: #24211d;
  --ink: #f2f1ee;
  --muted: #bdb6a9;
  --accent: #f5b301;
  --accent-ink: #0e0d0b;
  --fire: #b31d16;
  --fire-ink: #ffffff;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --t-small: 0.875rem;                       /* 14px */
  --t-body: 1.0625rem;                       /* 17px */
  --t-h2: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); /* 28–40px */
  --t-statement: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); /* 24–36px */

  --m: clamp(16px, 2.2vw, 32px);             /* outer margin */
  --gap: clamp(120px, 14vw, 220px);          /* section rhythm */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.sr { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: normal; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

.h2 { font-size: var(--t-h2); font-weight: 750; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.statement { font-size: var(--t-statement); line-height: 1.2; letter-spacing: -0.01em; font-weight: 450; }
.body { font-size: var(--t-body); line-height: 1.55; max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-size: 14px; font-weight: 650; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:active, .cell:active, .picker__opts button:active, .tabs button:active { transform: scale(0.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--paper  { background: var(--ink); color: var(--bg); }
.btn--ink    { background: var(--bg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: #ffc629; }
  .btn--paper:hover  { background: var(--accent); }
  .btn--ink:hover    { background: #2b2722; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--m);
  color: #fff;
  transition: background-color 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.nav.is-solid { background: var(--bg); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand img { width: 44px; height: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav__links a { position: relative; text-decoration: none; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); } }
.nav__menu { display: none; font-size: 14px; font-weight: 650; padding: 10px 0; margin-left: auto; }
.nav__cta { min-height: 42px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 175svh; background: var(--bg); }
.hero__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero__media {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 0);
  will-change: clip-path;
}
.hero__video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  transform: scale(1.12); transform-origin: 50% 40%;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: auto 0 0 0; height: 70%;
  background: linear-gradient(to top, rgba(14,13,11,0.85) 30%, rgba(14,13,11,0)); /* taste-skill-ignore: scrim over video */
  pointer-events: none;
}
.hero__media::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14,13,11,0.55), rgba(14,13,11,0)); /* taste-skill-ignore: scrim under nav */
}
.hero__name {
  position: absolute; left: var(--m); right: var(--m); bottom: 18px;
  font-weight: 850; font-variation-settings: "wdth" 112;
  line-height: 0.8; letter-spacing: -0.035em; color: var(--ink);
  will-change: transform;
}
.fit { display: inline-block; white-space: nowrap; font-size: 7.6vw; }
.hero__copy {
  position: absolute; left: var(--m); right: var(--m);
  bottom: calc(18px + 21vw);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  will-change: transform, opacity;
}
.hero__lede { font-size: 17px; line-height: 1.4; max-width: 34ch; color: #fff; font-weight: 500; }
.hero__sound {
  position: absolute; right: var(--m); top: 86px;
  font-size: 14px; color: #fff; padding: 8px 0; opacity: 0.9;
}
.hero__sound:hover { opacity: 1; }

/* load-in */
.hero__name .fit { animation: rise 600ms var(--ease-out) both; }
.hero__copy { animation: fade-up 700ms var(--ease-out) 350ms both; }
@keyframes rise { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-up { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- intro ---------- */
.intro { padding: var(--gap) var(--m) calc(var(--gap) * 0.6); }
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; }
.intro__years { grid-column: 1 / 5; }
.intro__num {
  font-size: clamp(160px, 22vw, 360px); font-weight: 850; line-height: 0.78;
  letter-spacing: -0.06em; color: var(--accent); font-variation-settings: "wdth" 112;
}
.intro__unit { margin-top: 20px; max-width: 24ch; font-size: var(--t-body); }
.intro__text { grid-column: 6 / 13; display: grid; gap: 32px; padding-top: 12px; }
.intro__text .statement { max-width: 40ch; }
@media (max-width: 1024px) { .intro__text .statement { font-size: 22px; } }

/* ---------- pinned projects ---------- */
.pinned { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; padding: 0 var(--m) var(--gap); }
.pinned__title {
  grid-column: 1 / 6; grid-row: 1; align-self: start;
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.pinned__h {
  font-size: clamp(72px, 10vw, 160px); font-weight: 850; line-height: 0.85;
  letter-spacing: -0.045em; font-variation-settings: "wdth" 112; color: var(--accent);
}
.pinned__h span { display: block; }
.pinned__now { font-size: var(--t-body); max-width: 30ch; min-height: 3em; transition: opacity 200ms ease; }
.pinned__now.is-swapping { opacity: 0; }
.pinned__list { grid-column: 6 / 13; grid-row: 1; display: grid; grid-template-columns: repeat(7, 1fr); column-gap: 24px; row-gap: 14svh; padding: 26svh 0 0; }
.plate { grid-column: 1 / span 5; }
.plate--b { grid-column: 3 / span 5; }
.plate .media { aspect-ratio: 4 / 3; }
.plate .media .ph { height: 100%; }
.plate figcaption { margin-top: 14px; max-width: 34ch; font-size: 14px; line-height: 1.45; color: var(--ink); padding: 0 0 4px; }
.plate figcaption strong { display: block; font-size: 17px; font-weight: 700; }
.plate figcaption span { display: block; color: var(--muted); margin-bottom: 6px; }

/* ---------- services ---------- */
.services { padding: var(--gap) var(--m); background: var(--surface); }
.services .h2 { margin-bottom: 96px; }
.services__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; align-items: start; }
.services__col { grid-column: span 3; }
.services__col h3 { font-size: 17px; font-weight: 700; margin-bottom: 1.25em; }
.services__col li + li { margin-top: 2px; }
.services__col button {
  display: block; text-align: left; font-size: 17px; line-height: 1.3; color: var(--muted);
  padding: 4px 0; transition: color 150ms ease, transform 150ms var(--ease-out);
}
.services__col button[aria-current="true"], .services__col button:focus-visible { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .services__col button:hover { color: var(--ink); transform: translateX(4px); }
}
.services__desc {
  grid-column: 10 / 13; grid-row: 1; font-size: 17px; line-height: 1.45; color: var(--ink);
  position: sticky; top: 100px; min-height: 6em;
  transition: opacity 180ms ease;
}
.services__desc.is-swapping { opacity: 0; }

/* ---------- showcase plate ---------- */
.plateau { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--bg); }
.plateau__img { padding: 40px; display: grid; place-items: center; }
.plateau__frame { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.plateau__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1600ms ease, transform 6000ms linear;
}
.plateau__frame img.is-on { opacity: 1; transform: scale(1); }
.plateau__text { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 40px var(--m) 40px 24px; }
.tabs { display: flex; gap: 28px; }
.tabs button { font-size: 17px; color: var(--muted); padding: 6px 0; transition: color 150ms ease, transform 160ms var(--ease-out); }
.tabs button[aria-selected="true"] { color: var(--accent); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .tabs button:hover { color: var(--ink); } }
[data-panel] .h2 { margin-bottom: 48px; }
[data-panel] .body { max-width: 38ch; }
[data-panel].is-swapping { opacity: 0; transform: translateY(8px); }
[data-panel] { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.plateau__actions { display: grid; grid-template-columns: 1fr 1fr; }
.cell {
  display: flex; align-items: center; padding: 0 22px; min-height: 72px;
  text-decoration: none; font-weight: 650; font-size: 17px;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.cell--ink { background: var(--ink); color: var(--bg); }
.cell--tone { background: var(--surface-2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .cell--ink:hover { background: var(--accent); }
  .cell--tone:hover { background: #312d27; }
}

/* ---------- extinguisher picker (amber field) ---------- */
.picker { background: var(--accent); color: var(--accent-ink); padding: var(--gap) var(--m); }
.picker__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; }
.picker__ask { grid-column: 1 / 7; display: grid; gap: 20px; align-content: start; }
.picker__opts { display: grid; gap: 10px; margin-top: 16px; }
.picker__opts button {
  display: grid; grid-template-columns: 72px 1fr; align-items: center; text-align: left;
  min-height: 84px; background: rgba(14,13,11,0.08); color: var(--accent-ink);
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.picker__opts b { font-size: 40px; font-weight: 850; text-align: center; font-variation-settings: "wdth" 112; }
.picker__opts span { font-size: 17px; font-weight: 550; padding-right: 16px; }
.picker__opts button[aria-pressed="true"] { background: var(--accent-ink); color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .picker__opts button[aria-pressed="false"]:hover { background: rgba(14,13,11,0.16); }
}
.picker__answer { grid-column: 8 / 13; display: grid; gap: 28px; align-content: start; padding-top: 8px; }
.picker__list li {
  padding: 18px 20px; background: rgba(14,13,11,0.08);
  transition: background-color 250ms ease, color 250ms ease, transform 250ms var(--ease-out);
}
.picker__list li + li { margin-top: 8px; }
.picker__list b { display: block; font-size: 17px; font-weight: 750; line-height: 1.25; }
.picker__list span { display: block; font-size: 14px; margin-top: 4px; }
.picker__list li.is-fit { background: var(--accent-ink); color: var(--ink); }
.picker__list li.is-out { background: transparent; }
.picker__mix { font-size: 17px; font-weight: 650; max-width: 44ch; }
.picker__note { font-size: 14px; max-width: 44ch; }
.picker__extra { margin-top: 96px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 24px; }
.picker__extra h3 { grid-column: 1 / 5; font-size: 17px; font-weight: 750; line-height: 1.2; }
.picker__extra ul { grid-column: 5 / 13; columns: 3; column-gap: 24px; font-size: 17px; line-height: 1.6; }

/* ---------- prints dropped on headline (fire field) ---------- */
.prints { position: relative; background: var(--fire); color: var(--fire-ink); overflow: hidden; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; min-height: 100svh; grid-template-rows: 1fr auto; padding: 96px var(--m) 32px; }
.prints__h { grid-column: 1 / 7; align-self: start; font-weight: 850; font-size: clamp(88px, 10.5vw, 170px); line-height: 0.85; letter-spacing: -0.045em; }
.prints__h span { display: block; }
.prints__note { grid-column: 1 / 6; grid-row: 2; align-self: end; max-width: 34ch; font-size: 17px; font-weight: 500; }
.prints__pile { grid-column: 7 / 13; grid-row: 1 / 3; position: relative; min-height: 78svh; }
.print { position: absolute; background: var(--fire-ink); padding: 8px; z-index: 1; transition: transform 250ms var(--ease-out); }
.print img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.print--1 { width: 44%; left: 2%; top: 8%; transform: rotate(-6deg); }
.print--2 { width: 44%; right: 4%; top: 16%; transform: rotate(5deg); }
.print--3 { width: 42%; left: 24%; bottom: 2%; transform: rotate(-2deg); z-index: 2; }
.print--3 img { aspect-ratio: 4 / 3; }
@media (hover: hover) and (pointer: fine) {
  .print:hover { transform: rotate(0deg) scale(1.02); z-index: 3; }
}

/* ---------- helipads: pinned, sideways ----------
   Purpose: explanation (a walk across the platform). Seen once per visit.
   One transform on the track per frame; each photo drifts inside its frame. */
.heli { position: relative; background: #0f3b2e; color: #ffffff; }
.heli__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.heli__track { display: flex; align-items: center; gap: 4vw; padding: 0 var(--m); will-change: transform; }
.heli__intro { flex: 0 0 clamp(320px, 34vw, 520px); display: grid; gap: 24px; align-content: center; }
.heli__intro .body { color: #ffffff; }
.heli__intro .btn { justify-self: start; }
.heli__list { font-size: var(--t-body); line-height: 1.45; display: grid; gap: 6px; color: #d9e6df; }
.heli__list li { padding-left: 20px; position: relative; }
.heli__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.heli__shot { flex: 0 0 auto; width: calc(min(66svh, 600px) * 4 / 3); }
.heli__shot:nth-of-type(even) { margin-top: 12svh; }
.heli__shot:nth-of-type(odd) { margin-bottom: 12svh; }
.heli__shot .media { aspect-ratio: 4 / 3; }
.heli__shot .media .ph { animation: none; }
.heli__shot figcaption { margin-top: 12px; font-size: 14px; color: #d9e6df; max-width: 40ch; }
@media (hover: hover) and (pointer: fine) {
  .heli__shot .media.is-in .ph { transition: transform 700ms var(--ease-out); }
  .heli__shot:hover .media .ph { transform: scale(1.18); }
}

/* ---------- store ----------
   Purpose: spatial (the two shop-front photos slide in from opposite sides, like shutters opening)
   and delight (the counter tilts toward the pointer). Transform and opacity only. */
.store { padding: var(--gap) var(--m); background: var(--bg); overflow: hidden; }
.store__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: center; }
.store__main { grid-column: 1 / 7; }
.store__main .media { aspect-ratio: 1087 / 976; }
.store__text { grid-column: 8 / 13; display: grid; gap: 24px; }
.dot-list { font-size: var(--t-body); line-height: 1.45; display: grid; gap: 6px; }
.dot-list li { padding-left: 20px; position: relative; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.store__list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.store__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.store__band { margin-top: clamp(80px, 9vw, 140px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.store__wide .media { aspect-ratio: 1531 / 688; }
@supports (animation-timeline: view()) {
  .store__wide { animation: shutter-l linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  .store__wide--r { animation-name: shutter-r; }
  @keyframes shutter-l { from { translate: -14% 0; } to { translate: 0 0; } }
  @keyframes shutter-r { from { translate: 14% 0; } to { translate: 0 0; } }
}
.store__products { margin-top: clamp(80px, 9vw, 140px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: center; }
.store__stage {
  grid-column: 1 / 7; background: #ffffff; aspect-ratio: 4 / 3;
  display: grid; place-items: center; perspective: 900px; overflow: hidden;
}
.store__items {
  width: auto; height: 86%; object-fit: contain;
  transform-style: preserve-3d; will-change: transform;
}
.js .store__items { scale: 0.9; transition: scale 900ms var(--ease-out); }
.js .store__stage.is-in .store__items { scale: 1; }
.store__products-text { grid-column: 8 / 13; display: grid; gap: 20px; }
.store__h3 { font-size: var(--t-h2); font-weight: 750; line-height: 1.05; letter-spacing: -0.02em; }
@media (hover: hover) and (pointer: fine) {
  .store__main:hover .media .ph, .store__wide:hover .media .ph { transform: scale(1.18); }
  .store__main .media.is-in .ph, .store__wide .media.is-in .ph { transition: transform 700ms var(--ease-out); }
}
@media (max-width: 1024px) {
  .store__main, .store__text, .store__stage, .store__products-text { grid-column: 1 / 13; }
}
@media (max-width: 760px) {
  .store__band { grid-template-columns: 1fr; gap: 16px; }
  .store__list { grid-template-columns: 1fr; }
}

/* ---------- lineup table ---------- */
.lineup { padding: calc(var(--gap) * 0.7) var(--m) calc(var(--gap) * 0.6); }
.lineup .h2 { margin-bottom: 24px; }
.lineup__day {
  position: sticky; top: 70px; z-index: 2; background: var(--bg);
  color: var(--accent); font-weight: 650;
  font-size: clamp(20px, 2.1vw, 30px); line-height: 1.5; padding: 72px 0 20px;
}
.lineup__rows li {
  display: grid; grid-template-columns: 32% 1fr 26%; column-gap: 24px; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.5;
}
.lineup__rows li span:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.lineup__rows li span:nth-child(2) { color: var(--muted); }

/* ---------- names ---------- */
.names { padding: calc(var(--gap) * 0.7) var(--m) var(--gap); background: var(--surface); }
.names__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: start; }
.names .h2 { grid-column: 1 / 13; grid-row: 1; }
.names__run { grid-column: 1 / 10; grid-row: 2; font-size: var(--t-statement); line-height: 1.25; font-weight: 600; color: #8f887c; letter-spacing: -0.01em; }
.names__run span { transition: color 400ms ease; }
.names__run span.is-lit { color: var(--ink); }
.names__img { grid-column: 7 / 13; grid-row: 3; margin-top: 56px; }
.names__img--2 { grid-column: 1 / 7; grid-row: 3; }
.names__img .media { aspect-ratio: 3 / 2; }
.names__img .media .ph { height: 100%; }
.names__img figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- contact rows ---------- */
.contact { position: relative; z-index: 1; background: var(--bg); padding-top: calc(var(--gap) * 0.5); }
.row {
  display: flex; align-items: flex-end; min-height: clamp(84px, 10vw, 150px);
  padding: 0 var(--m) 0.18em; font-size: clamp(36px, 6vw, 88px); font-weight: 500; line-height: 1;
  letter-spacing: -0.03em; text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}
.row:nth-of-type(even) { background: var(--surface); }
.row--icon { gap: 0.35em; align-items: center; padding-top: 0.2em; }
.row__icon { width: 0.72em; height: 0.72em; flex: none; color: var(--accent); }
/* WhatsApp form on the amber band */
.wa-form { background: var(--accent); color: var(--accent-ink); padding: 48px var(--m) 56px; }
.wa-form__title { font-size: clamp(36px, 6vw, 88px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; margin-bottom: 32px; }
.wa-form__fields { display: grid; grid-template-columns: 1fr 1fr 1.3fr auto; gap: 16px 24px; align-items: end; }
.field { display: grid; gap: 8px; font-size: 17px; font-weight: 650; }
.field input, .field select {
  font: inherit; font-weight: 500; font-size: 19px; color: var(--accent-ink);
  min-height: 56px; padding: 0 14px; border: 0; border-radius: 0;
  background: rgba(14,13,11,0.1);
  box-shadow: inset 0 -2px 0 var(--accent-ink); /* taste-skill-ignore: form field underline */
  transition: background-color 150ms ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230e0d0b' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field input::placeholder { color: rgba(14,13,11,0.6); }
.field input:focus, .field select:focus { outline: none; background-color: rgba(14,13,11,0.18); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.wa-form__send { min-height: 56px; gap: 14px; font-size: 17px; }
.wa-form__send .go { width: 1.2em; height: 1.2em; background: var(--accent); color: var(--accent-ink); font-size: 1em; }
@media (hover: hover) and (pointer: fine) { .wa-form__send:hover .go { transform: translateX(4px); } }
.wa-form__note { margin-top: 16px; font-size: 14px; }
@media (max-width: 1024px) { .wa-form__fields { grid-template-columns: 1fr 1fr; } .wa-form__send { grid-column: 1 / -1; } }
@media (max-width: 760px) { .wa-form__fields { grid-template-columns: 1fr; } }

.row--head { font-weight: 800; color: var(--accent); }
a.row { cursor: pointer; }
@media (hover: hover) and (pointer: fine) { a.row:hover { background: var(--surface-2); } a.row--go:hover { background: #ffc629; } }
.row--go { background: var(--accent) !important; color: var(--accent-ink); gap: 24px; align-items: center; padding-top: 0.2em; }
.go {
  display: inline-grid; place-items: center; width: 0.9em; height: 0.9em; border-radius: 50%;
  background: var(--accent-ink); color: var(--accent); font-size: 0.8em;
  transition: transform 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .row--go:hover .go { transform: translateX(8px); } }

/* ---------- footer (amber patch, uncovered) ---------- */
.foot {
  position: relative;
  display: grid; grid-template-rows: auto auto; gap: 96px;
  background: var(--ink); color: var(--bg); padding: 56px var(--m) 24px;
}
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; font-size: 14px; line-height: 1.6; }
.foot__cols > div { display: flex; flex-direction: column; }
.foot__cols p:first-child { font-weight: 750; }
.foot__cols a { text-decoration: none; width: fit-content; }
.foot__cols a:hover { text-decoration: underline; }
.foot__mark { grid-row: 2; }
.foot__mark .fit { font-weight: 850; font-variation-settings: "wdth" 112; line-height: 0.8; letter-spacing: -0.035em; }
.foot__legal { margin-top: 20px; font-size: 14px; }
main { position: relative; z-index: 1; background: var(--bg); }

/* ---------- image effects ----------
   Purpose: photos arrive (spatial: where they come from) instead of popping in.
   Marketing page, seen once per visit → the delight tier. Transform, opacity and clip-path only. */
.media { position: relative; overflow: hidden; background: var(--surface); isolation: isolate; }
.media .ph {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.06) saturate(0.9);          /* one grade for photos shot on many phones */
  transform: scale(1.12);
}
/* amber panel: the BOXER patch wipes off the photo */
.media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
}
.js .media::after { transform: scaleX(1); }
.js .media .ph { transform: scale(1.28); }
.js .media.is-in::after { transform: scaleX(0); transition: transform 800ms var(--ease-in-out) 120ms; }
.js .media.is-in .ph { transform: scale(1.12); transition: transform 1500ms var(--ease-out) 120ms; }
.media--frame::after { z-index: 3; }

/* drift: the photo moves a little slower than the page, on the compositor (no scroll listener) */
@supports (animation-timeline: view()) {
  .media .ph { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes drift { from { translate: 0 -4%; } to { translate: 0 4%; } }
}

/* hover: a slow push-in, only with a real pointer */
@media (hover: hover) and (pointer: fine) {
  .plate .media.is-in .ph, .names__img .media.is-in .ph { transition: transform 700ms var(--ease-out); }
  .plate:hover .media .ph, .names__img:hover .media .ph { transform: scale(1.18); }
}

/* prints: dropped onto the red field one after another */
.js .print { opacity: 0; translate: 0 -48px; }
.js .prints.is-in .print {
  opacity: 1; translate: 0 0;
  transition: opacity 400ms var(--ease-out), translate 900ms var(--ease-out), transform 250ms var(--ease-out);
}
.js .prints.is-in .print--2 { transition-delay: 140ms, 140ms, 0ms; }
.js .prints.is-in .print--3 { transition-delay: 280ms, 280ms, 0ms; }
.print img { filter: contrast(1.06) saturate(0.9); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .nav__links { gap: 18px; }
  .services__col { grid-column: span 4; }
  .services__desc { grid-column: 1 / 13; grid-row: auto; position: static; min-height: 0; }
  .picker__ask, .picker__answer { grid-column: 1 / 13; }
  .picker__extra h3, .picker__extra ul { grid-column: 1 / 13; }
  .picker__extra ul { columns: 2; }
  .names .h2, .names__run { grid-column: 1 / 13; grid-row: auto; }
  .names__img { grid-column: 1 / 7; grid-row: auto; }
  .names__img--2 { grid-column: 7 / 13; grid-row: auto; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .nav { gap: 14px; }
  .nav__menu { display: block; }
  .nav__cta { min-height: 38px; padding: 0 14px; }
  .nav__links {
    position: absolute; top: 100%; right: var(--m); left: var(--m);
    flex-direction: column; gap: 0; padding: 8px 20px; background: var(--bg); color: var(--ink); font-size: 20px;
    transform-origin: top right; opacity: 0; transform: scale(0.96); pointer-events: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4); /* taste-skill-ignore: floating menu */
  }
  .nav__links a { padding: 12px 0; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: var(--bg); }

  .hero { height: 150svh; }
  .hero__video { object-position: 62% 50%; }
  .fit { font-size: 12vw; }
  .hero__copy { flex-direction: column; align-items: flex-start; bottom: calc(18px + 22vw); }
  .hero__lede { font-size: 14px; }
  .hero__sound { top: auto; bottom: calc(18px + 22vw); right: var(--m); }

  .intro__years, .intro__text { grid-column: 1 / 13; }
  .intro__text { margin-top: 40px; }

  .pinned__title { grid-column: 1 / 13; position: static; height: auto; padding-top: 64px; gap: 16px; }
  .pinned__h { font-size: 17vw; }
  .pinned__now { display: none; }
  .pinned__list { grid-column: 1 / 13; grid-row: 2; grid-template-columns: repeat(12, 1fr); row-gap: 48px; padding: 40px 0 0; }
  .plate { grid-column: 1 / span 11; }
  .plate--b { grid-column: 2 / span 11; }

  .services .h2 { margin-bottom: 48px; }
  .services__col { grid-column: 1 / 13; }
  .services__col button { font-size: 17px; line-height: 1.4; }

  .plateau { grid-template-columns: 1fr; }
  .plateau__img { padding: 16px; }
  .plateau__text { padding: 16px var(--m) 48px; gap: 32px; }
  [data-panel] .h2 { margin-bottom: 20px; }
  .plateau__actions { grid-template-columns: 1fr; gap: 8px; }
  .cell { min-height: 60px; }

  .picker__opts button { grid-template-columns: 56px 1fr; min-height: 72px; }
  .picker__opts span { font-size: 17px; }
  .picker__extra { margin-top: 64px; }
  .picker__extra ul { columns: 1; }

  .prints { min-height: 0; padding: 72px var(--m) 32px; row-gap: 32px; }
  .prints__h { grid-column: 1 / 13; font-size: 22vw; }
  .prints__pile { grid-column: 1 / 13; grid-row: auto; min-height: 92vw; }
  .prints__note { grid-column: 1 / 13; grid-row: auto; }
  .prints { grid-template-rows: none; }

  .heli { height: auto !important; }
  .heli__stage { position: static; height: auto; display: block; padding: 72px 0 48px; }
  .heli__track { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; transform: none !important; align-items: flex-start; flex-direction: column; overflow: visible; }
  .heli__intro { flex: none; width: 100%; }
  .heli__shot { width: 100%; margin: 0 !important; }

  .lineup__day { top: 60px; }
  .lineup__rows li { grid-template-columns: 1fr auto; font-size: 20px; line-height: 1.3; margin-bottom: 18px; }
  .lineup__rows li span:nth-child(2) { grid-row: 2; grid-column: 1 / 3; font-size: 14px; }
  .lineup__rows li span:last-child { font-size: 14px; align-self: center; padding-left: 12px; }

  .names__img, .names__img--2 { grid-column: 1 / 13; }
  .row { font-size: 8.4vw; min-height: 84px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- reduced motion: keep fades, drop travel ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__name .fit, .hero__copy { animation: fade 400ms ease both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .hero__video { transform: none; }
  .js .reveal { transform: none; transition: opacity 400ms ease; }
  .plateau__frame img { transform: none; transition: opacity 400ms ease; }
  .print, .services__col button, .go { transition: none; }
  .js .media, .js .media.is-in { clip-path: none; transition: opacity 400ms ease; }
  .js .media { opacity: 0; } .js .media.is-in { opacity: 1; }
  .media::after, .js .media::after { display: none; }
  .media .ph, .js .media .ph, .js .media.is-in .ph { transform: none; animation: none; translate: none; }
  .js .print { translate: none; }
  .store__wide { animation: none; }
  .js .store__items { scale: none; }
  .heli { height: auto !important; }
  .heli__stage { position: static; height: auto; padding: 96px 0; }
  .heli__track { flex-wrap: wrap; transform: none !important; }
}
