/* ============================================================
   NovaForge Studios — style.css
   Palette: night ink / bone / Swiss ember
   Type: Bricolage Grotesque (display) · Instrument Sans (body)
         Newsreader italic (narrator interludes)
   ============================================================ */

:root {
  --ink: #0b0d12;
  --ink-2: #10131b;
  --panel: #151925;
  --line: #232837;
  --steel: #a8afbd;
  --bone: #ece9e1;
  --ember: #e23b2e;
  --ember-warm: #f2803d;

  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --pad: clamp(1.25rem, 5vw, 4rem);
  --measure: 62ch;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--steel);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bone); text-decoration-color: rgba(226, 59, 46, 0.55); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--ember); }
h1, h2, h3 { font-family: var(--display); color: var(--bone); line-height: 1.08; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, figure { margin: 0; padding: 0; }
li { list-style: none; }

::selection { background: var(--ember); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ember);
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Cinematic letterbox intro ---------- */
.letterbox {
  position: fixed;
  left: 0;
  right: 0;
  height: 50vh;
  background: #000;
  z-index: 90;
  pointer-events: none;
  transition: transform 1.1s var(--ease) 0.15s;
}
.letterbox--top { top: 0; transform: translateY(0); }
.letterbox--bottom { bottom: 0; transform: translateY(0); }
body.curtain-open .letterbox--top { transform: translateY(-100%); }
body.curtain-open .letterbox--bottom { transform: translateY(100%); }
body.curtain-done .letterbox { display: none; }

/* ---------- Scroll seam (signature) ---------- */
.seam {
  position: fixed;
  top: 0;
  bottom: 0;
  left: clamp(0.5rem, 1.6vw, 1.4rem);
  width: 2px;
  background: var(--line);
  z-index: 60;
}
.seam__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--ember-warm), var(--ember));
  box-shadow: 0 0 12px rgba(226, 59, 46, 0.7);
}
@media (max-width: 720px) { .seam { display: none; } }

/* ---------- Header ---------- */
.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: linear-gradient(rgba(11, 13, 18, 0.92), rgba(11, 13, 18, 0.75));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  max-width: 82rem;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--ember);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bone);
  letter-spacing: 0.01em;
}
.brand__name em { font-style: normal; font-weight: 300; color: var(--steel); }

.nav__list { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.8rem); }
.nav__list a {
  text-decoration: none;
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav__list a:hover { color: var(--bone); }
.nav__cta {
  border: 1px solid var(--ember);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  color: var(--bone) !important;
}
.nav__cta:hover { background: var(--ember); color: #fff !important; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--bone);
  font: 600 0.8rem var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}
.nav-toggle__line {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--bone);
  transition: transform 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:first-child { transform: translateY(2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 0;
    top: 3.6rem;
    background: rgba(11, 13, 18, 0.97);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    padding: var(--pad);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .nav__list a { font-size: 1.4rem; font-family: var(--display); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 600 0.95rem var(--body);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn--solid {
  background: var(--ember);
  color: #fff;
  border: 1px solid var(--ember);
}
.btn--solid:hover { background: #c72f24; border-color: #c72f24; color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ember); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media img { object-fit: cover; object-position: 62% 30%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,13,18,0.55) 0%, rgba(11,13,18,0.1) 35%, rgba(11,13,18,0.55) 70%, var(--ink) 100%),
    linear-gradient(100deg, rgba(11,13,18,0.72) 0%, rgba(11,13,18,0.15) 55%);
}
.hero__stage {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) clamp(5rem, 12vh, 8rem);
  max-width: 82rem;
  margin-inline: auto;
  width: 100%;
}
.hero__slate {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.2rem;
}
.hero__slate span { position: relative; }
.hero__slate span + span::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--ember);
  transform: translateY(-50%) rotate(45deg);
}
.hero__title {
  font-size: clamp(2.6rem, 8.5vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.hero__line { display: block; }
.hero__line--accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
}
.hero__standfirst {
  max-width: 52ch;
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #c6ccd8;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.hero__scrollcue {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: 1.6rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--steel);
  writing-mode: vertical-rl;
}
.hero__scrollcue-track {
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(var(--ember), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero load choreography */
.hero__slate, .hero__title .hero__line, .hero__standfirst, .hero__actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
body.curtain-open .hero__slate { opacity: 1; transform: none; transition-delay: 0.5s; }
body.curtain-open .hero__line:first-child { opacity: 1; transform: none; transition-delay: 0.65s; }
body.curtain-open .hero__line--accent { opacity: 1; transform: none; transition-delay: 0.8s; }
body.curtain-open .hero__standfirst { opacity: 1; transform: none; transition-delay: 0.95s; }
body.curtain-open .hero__actions { opacity: 1; transform: none; transition-delay: 1.1s; }

/* ---------- Chapters (shared scaffolding) ---------- */
.chapter { padding: clamp(4.5rem, 10vw, 8rem) var(--pad); }
.chapter > * { max-width: 82rem; margin-inline: auto; }
.chapter__head { margin-bottom: clamp(2.2rem, 5vw, 3.8rem); text-align: center; }
.chapter__head--left { text-align: left; margin-inline: 0; }
.chapter__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.9rem;
}
.chapter__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.chapter__intro {
  max-width: var(--measure);
  margin: 1.2rem auto 0;
  color: var(--steel);
}
.chapter__head--left .chapter__intro { margin-inline: 0; }

/* ---------- Narrator interludes ---------- */
.narrator {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  color: #cfd4de;
  text-align: center;
  max-width: 34ch;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad);
}
.narrator em { color: var(--ember-warm); font-style: italic; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}
.about__lede {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--bone);
  line-height: 1.35;
}
.about__figure img { border-radius: var(--radius); }
.about__figure figcaption, .concept__figure figcaption, .mocap__figure figcaption {
  font-size: 0.85rem;
  color: #7d8494;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  margin-top: 0.9rem;
}
.about__ledger { border-top: 1px solid var(--line); }
.about__ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.about__ledger-row dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7d8494;
}
.about__ledger-row dd { margin: 0; color: var(--bone); text-align: right; }

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
  .about__text { grid-column: 1; grid-row: 1 / span 2; }
  .about__figure { grid-column: 2; grid-row: 1; }
  .about__ledger { grid-column: 2; grid-row: 2; }
}

/* ---------- Pipeline ---------- */
.pipeline { background: var(--ink-2); }
.pipeline__track {
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
  padding-left: 3.4rem;
  counter-reset: stage;
}
.pipeline__track::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--line);
}
.pipeline__stage {
  position: relative;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}
.pipeline__stage:last-child { padding-bottom: 0; }
.pipeline__num {
  position: absolute;
  left: -3.4rem;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bone);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.pipeline__stage.is-lit .pipeline__num {
  border-color: var(--ember);
  color: var(--ember-warm);
  box-shadow: 0 0 14px rgba(226, 59, 46, 0.35);
}
.pipeline__stage h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pipeline__stage p { max-width: var(--measure); }

/* ---------- Technology ---------- */
.tech__sheet { border-top: 1px solid var(--line); }
.tech__row {
  display: grid;
  gap: 0.5rem 2rem;
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}
.tech__row h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; }
.tech__row p { max-width: var(--measure); }
.tech__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember-warm);
}
@media (min-width: 900px) {
  .tech__row { grid-template-columns: 18rem 1fr 9rem; align-items: baseline; }
  .tech__tag { text-align: right; }
}

/* ---------- Concept art ---------- */
.concept { background: var(--ink-2); }
.concept__grid, .mocap__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.concept__figure img, .mocap__figure img { border-radius: var(--radius); }
.textlink {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 600;
}
@media (min-width: 900px) {
  .concept__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .mocap__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

/* ---------- Motion capture ---------- */
.mocap__readout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.mocap__readout dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7d8494;
}
.mocap__readout dd {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-weight: 600;
  color: var(--bone);
}

/* ---------- Projects ---------- */
.projects { position: relative; }
.projects__index { border-top: 1px solid var(--line); }
.projects__item { border-bottom: 1px solid var(--line); }
.projects__link {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.4rem, 3.5vw, 2.4rem) 0;
  text-decoration: none;
  transition: padding-left 0.35s var(--ease);
}
.projects__link:hover, .projects__link:focus-visible { padding-left: clamp(0.4rem, 1.5vw, 1.2rem); }
.projects__meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember-warm);
}
.projects__name {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--bone);
  letter-spacing: -0.015em;
  line-height: 1.05;
  transition: color 0.3s;
}
.projects__link:hover .projects__name { color: #fff; }
.projects__desc { max-width: var(--measure); color: var(--steel); }
.projects__preview {
  display: none;
  position: fixed;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%) scale(0.97);
  width: min(26vw, 24rem);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.projects__preview img {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
@media (min-width: 1100px) {
  .projects__preview { display: block; }
  .projects__preview.is-visible { opacity: 1; transform: translateY(-50%) scale(1); }
  .projects__link { max-width: 60%; }
}

/* ---------- Team ---------- */
.team { background: var(--ink-2); }
.team__credits {
  display: grid;
  gap: clamp(1.8rem, 3.5vw, 2.8rem) clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: 1fr;
}
.team__credit {
  border-left: 2px solid var(--line);
  padding-left: 1.2rem;
  transition: border-color 0.3s;
}
.team__credit:hover { border-color: var(--ember); }
.team__role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7d8494;
  margin-bottom: 0.35rem;
}
.team__name {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 0.45rem;
}
.team__bio { font-size: 0.97rem; }
@media (min-width: 700px) { .team__credits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .team__credits { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Careers ---------- */
.careers__band { max-width: 82rem; margin-inline: auto; }
.careers__list { border-top: 1px solid var(--line); margin-top: 1rem; }
.careers__job {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: clamp(1.3rem, 3vw, 1.9rem) 0;
  border-bottom: 1px solid var(--line);
}
.careers__job h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.35rem; }
.careers__job > div { max-width: var(--measure); }
.careers__open { margin-top: 1.6rem; color: var(--steel); }

/* ---------- FAQ ---------- */
.faq { background: var(--ink-2); }
.faq__list { max-width: 50rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--bone);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ember);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 1.3rem; max-width: var(--measure); }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.contact__lede { font-size: 1.15rem; color: #c6ccd8; max-width: 40ch; }
.contact__address { font-style: normal; margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.contact__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7d8494;
  margin-bottom: 0.2rem;
}
.contact__address a { text-decoration: none; }
.contact__address a:hover { text-decoration: underline; }

.contact__form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.1rem;
}
.contact__form-hint { color: var(--steel); font-size: 0.95rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--bone);
  font: 1rem var(--body);
  padding: 0.75rem 0.9rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--ember);
  outline-offset: 1px;
  border-color: var(--ember);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field__error { color: var(--ember-warm); font-size: 0.85rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--ember); }
.contact__form-status { font-size: 0.92rem; color: var(--ember-warm); min-height: 1.2em; }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
}

/* ---------- Footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: #080a0f;
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2rem;
}
.site-foot__inner {
  max-width: 82rem;
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
}
.site-foot__brand p { margin-top: 1rem; max-width: 34ch; font-size: 0.95rem; }
.site-foot__col h2 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7d8494;
  margin-bottom: 0.9rem;
}
.site-foot__col li { margin-bottom: 0.55rem; }
.site-foot__col a { text-decoration: none; font-size: 0.95rem; color: var(--steel); }
.site-foot__col a:hover { color: var(--bone); }
.site-foot__legal {
  max-width: 82rem;
  margin: 2.5rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: #6b7280;
}
@media (min-width: 800px) {
  .site-foot__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 8rem var(--pad) 4rem; max-width: 48rem; margin-inline: auto; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.4rem; }
.legal-page .legal-updated { color: #7d8494; font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal-page h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.2rem 0 0.7rem;
}
.legal-page ul { padding-left: 1.2rem; margin-bottom: 1em; }
.legal-page ul li { list-style: disc; margin-bottom: 0.4rem; }

/* ---------- Scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .letterbox { display: none; }
  .reveal, .hero__slate, .hero__title .hero__line, .hero__standfirst, .hero__actions {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero__scrollcue-track { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
