/* ============================================================
   FORMA — disciplined print-poster maximalism
   paper #f2f0eb · red #e03616 · ink #111
   Anton (slabs) · Archivo Black (sub-slabs) · Archivo (text)
   ============================================================ */

:root {
  --paper: #f2f0eb;
  --paper-dim: #e6e3da;
  --red: #e03616;        /* display red — large type, shadows, fills only */
  --red-press: #c72d10;  /* press red — backgrounds carrying paper body text (4.8:1) */
  --red-deep: #b32a10;   /* deep red — small red text on paper (5.6:1) */
  --ink: #111111;
  --ink-soft: #2b2a28;
  --grey: #5d5b55;
  --slab: "Anton", "Arial Narrow", sans-serif;
  --black: "Archivo Black", "Arial Black", sans-serif;
  --text: "Archivo", "Helvetica Neue", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --rule: 3px solid var(--ink);
  /* halftone textures */
  --dots-ink: radial-gradient(circle, rgba(17,17,17,.16) 1.1px, transparent 1.4px);
  --dots-red: radial-gradient(circle, rgba(224,54,22,.34) 1.3px, transparent 1.6px);
  --dots-paper: radial-gradient(circle, rgba(242,240,235,.16) 1.1px, transparent 1.4px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; } /* Lenis owns scrolling when active */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

main section { scroll-margin-top: 5rem; } /* fixed nav clearance on anchor jumps */

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--paper); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip {
  position: fixed; top: -100%; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--paper);
  font-family: var(--black); font-size: .8rem; letter-spacing: .08em;
  padding: .8rem 1.2rem; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 1rem; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--black);
  font-size: clamp(.78rem, 1.1vw, .92rem);
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 1rem 1.6rem;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--red); }
.btn-solid:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--red); }
.btn-solid:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--red); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .9rem var(--gutter);
  background: var(--paper);
  border-bottom: var(--rule);
}
.nav-mark {
  font-family: var(--slab);
  font-size: 1.6rem;
  letter-spacing: .04em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  display: inline-flex; align-items: baseline; gap: .3rem;
}
.nav-dot { width: .5em; height: .5em; background: var(--red); display: inline-block; }
.nav-links { display: flex; gap: clamp(.9rem, 2.5vw, 2.2rem); }
.nav-links a {
  font-family: var(--black); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: .3rem 0;
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-size: 0% 3px;
  background-position: left bottom;
  transition: background-size .18s ease;
}
.nav-links a:hover { background-size: 100% 3px; }
.nav-cta {
  font-family: var(--black); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  background: var(--red); color: var(--paper);
  padding: .7rem 1.1rem;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }

/* ---------- section head (Swiss rule + index) ---------- */
.section-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 0 var(--gutter);
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-index {
  font-family: var(--slab); font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--red); line-height: 1;
}
.section-name {
  font-family: var(--black); font-size: clamp(.8rem, 1.4vw, 1rem);
  letter-spacing: .18em;
}
.section-rule { flex: 1; height: 3px; background: var(--ink); }
.section-head--paper .section-name { color: var(--paper); }
.section-head--paper .section-rule { background: var(--paper); }

/* ---------- slam type primitives ---------- */
.slam-stack { display: block; }
.slam-line { display: block; overflow: hidden; padding-block: .04em; }
.slam-inner {
  display: inline-block;
  font-family: var(--slab);
  line-height: .92;
  letter-spacing: .01em;
  will-change: transform;
}
.slam-inner.accent { color: var(--red); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  padding: calc(4.5rem + 3px) var(--gutter) 0;
  display: flex; flex-direction: column;
  position: relative;
  background-color: var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-ink);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(120% 90% at 85% 20%, #000 0%, transparent 62%);
          mask-image: radial-gradient(120% 90% at 85% 20%, #000 0%, transparent 62%);
  pointer-events: none;
}
.hero-frame {
  flex: 1; display: flex; flex-direction: column;
  border-left: var(--rule); border-right: var(--rule);
  position: relative;
}
.hero-meta {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--black); font-size: .68rem; letter-spacing: .14em;
  padding: 1rem 1.25rem;
  border-bottom: var(--rule);
}
.hero-meta span:nth-child(2) { color: var(--red-deep); }
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vh, 4rem) 1.25rem;
  position: relative;
}
.hero-title .slam-inner { font-size: clamp(3.2rem, 9.5vw, 9rem); }
.hero-sub {
  max-width: 46ch;
  margin-top: clamp(1.2rem, 2.5vh, 2rem);
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  color: var(--ink-soft);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: clamp(1.4rem, 3vh, 2.4rem); }

/* rep counter */
.hero-right {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 380px;
  height: 100%;
}
.barpath {
  position: absolute; inset: 0; height: 100%; width: 100%;
  max-width: 240px; margin-inline: auto;
  opacity: .9;
}
.bp-plumb { stroke: rgba(17,17,17,.18); stroke-width: 1; stroke-dasharray: 2 6; }
.bp-path { stroke: var(--red); stroke-width: 4; stroke-linecap: round; }
.bp-node { fill: none; stroke: var(--ink); stroke-width: 3; }
.bp-node--fill { fill: var(--red); stroke: var(--ink); }
.bp-label { font-family: var(--black); font-size: 11px; letter-spacing: .12em; fill: var(--ink); }

.counter {
  position: relative;
  text-align: center;
  background: var(--paper);
  border: var(--rule);
  box-shadow: 10px 10px 0 var(--red);
  padding: clamp(1.2rem, 2.5vw, 2rem) clamp(1.4rem, 3vw, 2.6rem);
  max-width: 100%;
}
.counter::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-ink);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 42%);
          mask-image: linear-gradient(200deg, #000 0%, transparent 42%);
  pointer-events: none;
}
.counter-kicker {
  font-family: var(--black); font-size: clamp(.66rem, 1vw, .78rem);
  letter-spacing: .16em; color: var(--red-deep);
}
.counter-set {
  display: flex; align-items: baseline; justify-content: center; gap: .35em;
  margin-top: .4rem;
}
.counter-word { font-family: var(--slab); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
.counter-num-mask { display: inline-block; overflow: hidden; line-height: .95; }
.counter-num {
  display: inline-block;
  font-family: var(--slab);
  font-size: clamp(5.5rem, 12vw, 11rem);
  line-height: .95;
  color: var(--ink);
  will-change: transform;
}
.counter-reps { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.pip {
  width: clamp(16px, 2vw, 22px); height: clamp(16px, 2vw, 22px);
  border: 3px solid var(--ink);
  background: transparent;
  transition: background .15s ease;
}
.pip.on { background: var(--red); }
.counter-note {
  margin-top: 1rem;
  font-family: var(--black); font-size: clamp(.6rem, .9vw, .72rem);
  letter-spacing: .12em; color: var(--ink-soft);
}
.hero-foot {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: var(--rule);
}
.hero-foot-rule { flex: 1; height: 3px; background: var(--ink); }
.hero-foot-label { font-family: var(--black); font-size: .66rem; letter-spacing: .2em; }

/* ============================================================
   RED BAND MARQUEE
   ============================================================ */
.band {
  background: var(--red);
  border-block: var(--rule);
  overflow: hidden;
  padding: .7rem 0;
  position: relative;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-paper);
  background-size: 8px 8px;
  pointer-events: none;
}
.band-track { display: flex; width: max-content; }
.band-track span {
  font-family: var(--slab); font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--paper); white-space: nowrap; line-height: 1;
  padding-right: .5rem;
}
@keyframes band-scroll { to { transform: translateX(-50%); } }
.band-track.run { animation: band-scroll 22s linear infinite; }
.band-track.paused { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .band-track.run { animation: none; } }

/* ============================================================
   01 DOCTRINE
   ============================================================ */
.doctrine {
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(4rem, 9vh, 7rem);
  position: relative;
}
.doctrine::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-red);
  background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(70% 60% at 12% 78%, #000 0%, transparent 65%);
          mask-image: radial-gradient(70% 60% at 12% 78%, #000 0%, transparent 65%);
  pointer-events: none;
}
.doctrine-stack { padding: 0 var(--gutter); position: relative; }
.doctrine-line .slam-inner { font-size: clamp(2.6rem, 11vw, 10.5rem); }
.doctrine-copy {
  padding: 0 var(--gutter);
  margin-top: clamp(2rem, 5vh, 3.5rem);
  max-width: 62ch;
  margin-left: auto;
  display: grid;
  gap: 1rem;
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  color: var(--ink-soft);
}
.doctrine-copy p:first-child::first-letter {
  font-family: var(--black); color: var(--red); font-size: 1.6em; line-height: 1;
}

/* ============================================================
   02 PROGRAMS — poster wall
   ============================================================ */
.programs { padding: clamp(3rem, 8vh, 6rem) 0; }
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--rule); border-bottom: var(--rule);
}
.program-card {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 2.4rem);
  min-height: clamp(340px, 44vh, 460px);
  display: flex; flex-direction: column;
  border-right: var(--rule);
  overflow: hidden;
}
.program-card:last-child { border-right: none; }
.program-card::after { /* loading-bar accent on hover */
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 8px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.program-card[data-tone="red"]::after { background: var(--ink); }
@media (hover: hover) {
  .program-card:hover::after { transform: scaleX(1); }
  .program-card:hover .program-no { opacity: .6; }
  .program-card .program-no { transition: opacity .22s ease; }
}
.program-card[data-tone="ink"] { background: var(--ink); color: var(--paper); }
.program-card[data-tone="red"] { background: var(--red-press); color: var(--paper); }
.program-card[data-tone="paper"] { background: var(--paper); color: var(--ink); }
.program-card::before {
  content: ""; position: absolute; inset: 0;
  background-size: 8px 8px;
  pointer-events: none;
}
.program-card[data-tone="ink"]::before,
.program-card[data-tone="red"]::before {
  background-image: var(--dots-paper);
  -webkit-mask-image: linear-gradient(160deg, transparent 45%, #000 100%);
          mask-image: linear-gradient(160deg, transparent 45%, #000 100%);
}
.program-card[data-tone="paper"]::before {
  background-image: var(--dots-ink);
  -webkit-mask-image: linear-gradient(160deg, transparent 45%, #000 100%);
          mask-image: linear-gradient(160deg, transparent 45%, #000 100%);
}
.program-no {
  font-family: var(--slab);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: .9;
  opacity: .32;
}
.program-card[data-tone="red"] .program-no { opacity: .5; }
.program-title {
  font-family: var(--slab);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: .95;
  margin-top: auto;
}
.program-desc { margin-top: .9rem; font-size: clamp(.85rem, 1vw, .95rem); line-height: 1.55; opacity: .92; }
.program-spec {
  margin-top: 1.1rem; padding-top: .8rem;
  border-top: 2px solid currentColor;
  font-family: var(--black); font-size: .64rem; letter-spacing: .12em;
}

/* ============================================================
   03 SCORESHEET
   ============================================================ */
.scoresheet {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 10vh, 7rem) 0;
  position: relative;
}
.scoresheet::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-paper);
  background-size: 10px 10px;
  -webkit-mask-image: radial-gradient(80% 70% at 90% 10%, #000 0%, transparent 60%);
          mask-image: radial-gradient(80% 70% at 90% 10%, #000 0%, transparent 60%);
  pointer-events: none;
}
.scoresheet .section-index { color: var(--red); }
.sheet-frame {
  margin: 0 var(--gutter);
  background: var(--paper);
  color: var(--ink);
  border: var(--rule);
  box-shadow: 12px 12px 0 var(--red);
  position: relative;
}
.sheet-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem;
  padding: 1.1rem 1.4rem;
  border-bottom: var(--rule);
}
.sheet-title { font-family: var(--slab); font-size: clamp(1.2rem, 2.4vw, 2rem); line-height: 1; }
.sheet-sub { font-family: var(--black); font-size: .62rem; letter-spacing: .14em; color: var(--red-deep); }
.sheet-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sheet { width: 100%; min-width: 720px; border-collapse: collapse; }
.sheet th, .sheet td {
  text-align: left;
  padding: .95rem 1.4rem;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(.8rem, 1vw, .92rem);
}
.sheet thead th {
  font-family: var(--black); font-size: .64rem; letter-spacing: .12em;
  background: var(--ink); color: var(--paper);
}
.sheet tbody th {
  font-family: var(--slab); font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  color: var(--red-deep); line-height: 1;
  width: 5.5rem;
}
.sheet tbody td { font-family: var(--black); font-size: .78rem; letter-spacing: .04em; }
.sheet tbody tr:last-child th, .sheet tbody tr:last-child td { border-bottom: none; }
.coach { font-family: var(--text); font-weight: 500; color: var(--grey); letter-spacing: 0; }
.sheet-rest { color: var(--grey); }
.sheet-lights { white-space: nowrap; }
.sheet-lights i {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2.5px solid var(--ink); margin-right: 5px;
  background: var(--paper);
}
.sheet tbody tr.lit .sheet-lights i { background: var(--ink); }
.sheet tbody tr.lit .sheet-lights--red i { background: var(--red); }
.sheet-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.4rem;
  border-top: var(--rule);
  font-family: var(--black); font-size: .6rem; letter-spacing: .12em;
  color: var(--ink-soft);
}
.sheet-stamp {
  font-family: var(--slab);
  font-size: 1.4rem;
  color: var(--red);
  border: 3px solid var(--red);
  padding: .1em .5em;
  transform: rotate(-7deg);
  letter-spacing: .1em;
  opacity: .9;
}

/* ============================================================
   04 ROOMS
   ============================================================ */
.rooms { padding: clamp(4rem, 9vh, 7rem) 0 clamp(3rem, 7vh, 5rem); }
.rooms-list { border-top: var(--rule); margin: 0 var(--gutter); }
.room {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.4rem, 3vh, 2.2rem) 0;
  border-bottom: var(--rule);
}
.room-name { font-family: var(--slab); font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: .95; }
.room-add { font-family: var(--black); font-size: .68rem; letter-spacing: .1em; color: var(--ink-soft); line-height: 1.7; }
.room-stats { display: flex; gap: clamp(1rem, 2vw, 2rem); justify-content: flex-end; }
.room-stats div { text-align: right; }
.room-stats dt { font-family: var(--black); font-size: .56rem; letter-spacing: .14em; color: var(--grey); }
.room-stats dd { font-family: var(--slab); font-size: clamp(1.25rem, 1.8vw, 1.6rem); color: var(--red-deep); line-height: 1.1; }

/* ============================================================
   THE WALL — numbers strip
   ============================================================ */
.wall { border-top: var(--rule); }
.wall-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.wall-stat {
  text-align: center;
  padding: clamp(1.6rem, 4vh, 2.8rem) 1rem;
  border-right: var(--rule);
}
.wall-stat:last-child { border-right: none; }
.wall-num { font-family: var(--slab); font-size: clamp(2.6rem, 7vw, 6rem); line-height: .95; }
.wall-stat:nth-child(2) .wall-num { color: var(--red-deep); }
.wall-label { font-family: var(--black); font-size: clamp(.56rem, .9vw, .68rem); letter-spacing: .16em; margin-top: .5rem; color: var(--ink-soft); }
@media (max-width: 720px) {
  .wall-grid { grid-template-columns: 1fr; }
  .wall-stat { border-right: none; border-bottom: var(--rule); }
  .wall-stat:last-child { border-bottom: none; }
}

/* ============================================================
   05 TRIAL
   ============================================================ */
.trial {
  background: var(--red-press);
  color: var(--paper);
  border-block: var(--rule);
  padding: clamp(4rem, 10vh, 8rem) 0;
  position: relative;
}
.trial::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-paper);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(100% 80% at 15% 15%, #000 0%, transparent 60%);
          mask-image: radial-gradient(100% 80% at 15% 15%, #000 0%, transparent 60%);
  pointer-events: none;
}
.trial .section-index { color: var(--ink); }
.trial .section-name { color: var(--paper); }
.trial .section-rule { background: var(--paper); }
.trial-inner { position: relative; }
.trial-title { padding: 0 var(--gutter); }
.trial-title .slam-inner { font-size: clamp(3rem, 10vw, 9rem); color: var(--paper); }
.trial-title .slam-inner.accent { color: var(--ink); }
.trial-sub {
  padding: 0 var(--gutter);
  margin-top: 1.4rem;
  max-width: 58ch;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
}
.trial-form {
  margin: clamp(2rem, 5vh, 3.5rem) var(--gutter) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem clamp(1.2rem, 3vw, 2.4rem);
  max-width: 880px;
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-family: var(--black); font-size: .62rem; letter-spacing: .16em; }
.field input, .field select {
  font-family: var(--black); font-size: .85rem; letter-spacing: .04em;
  padding: .95rem 1rem;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  appearance: none;
  width: 100%;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='M1 1l6 7 6-7' fill='none' stroke='%23111' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}
.field input::placeholder { color: var(--grey); }
.field.error input, .field.error select { border-color: var(--paper); box-shadow: 0 0 0 3px var(--ink); }
.trial-submit { grid-column: 1 / -1; justify-self: start; background: var(--ink); box-shadow: 6px 6px 0 var(--paper); }
.trial-submit:hover { box-shadow: 3px 3px 0 var(--paper); }
.trial-submit:active { box-shadow: 0 0 0 var(--paper); }
.trial-confirm {
  padding: 0 var(--gutter);
  margin-top: 1.4rem;
  font-family: var(--black);
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  letter-spacing: .04em;
  min-height: 1.5em;
}
.trial-fine {
  padding: 0 var(--gutter);
  margin-top: .8rem;
  font-size: .82rem;
  opacity: .85;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--paper); overflow: hidden; }
.footer-top { border-bottom: 2px solid rgba(242,240,235,.25); }
.footer-mark {
  font-family: var(--slab);
  font-size: clamp(5rem, 22vw, 22rem);
  line-height: .82;
  text-align: center;
  letter-spacing: .02em;
  color: var(--paper);
  transform: translateY(.08em);
  user-select: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 2rem var(--gutter) 2.5rem;
  font-size: .82rem;
}
.footer-grid nav { display: grid; gap: .35rem; justify-items: start; }
.footer-grid a { color: var(--paper); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.footer-grid a:hover { color: var(--red); }
.footer-fine { color: #a5a29b; }
.footer-fine a { color: var(--paper); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card:nth-child(2n) { border-right: none; }
  .program-card:nth-child(-n+2) { border-bottom: var(--rule); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 1.5rem; }
  .hero-right { min-height: 320px; margin-top: .5rem; }
  .room { grid-template-columns: 1fr; gap: .8rem; }
  .room-stats { justify-content: flex-start; }
  .room-stats div { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .trial-form { grid-template-columns: 1fr; }
  .hero-meta span:nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  .program-grid { grid-template-columns: 1fr; }
  .program-card { border-right: none !important; border-bottom: var(--rule); min-height: 300px; }
  .program-card:last-child { border-bottom: none; }
  .hero-meta { font-size: .58rem; }
  .counter { box-shadow: 6px 6px 0 var(--red); }
  .sheet-frame { box-shadow: 7px 7px 0 var(--red); margin: 0 1rem; }
}

/* ============================================================
   REDUCED MOTION — static but complete
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .btn, .nav-cta, .nav-links a { transition: none; }
  .pip { transition: none; }
}
