/* Twopixels — design tokens ------------------------------------------- */

@font-face { font-family: "Geist"; src: url("assets/fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("assets/fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("assets/fonts/geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* Single light palette. Ink-on-white needs higher opacity than white-on-ink
   for equal contrast, so the quiet tones sit at .64/.72 rather than .58/.4. */
:root {
  --bg: #ffffff; --text: #221f20; --frame: #eef1f4;
  --line: rgba(34,31,32,0.14);
  --body: rgba(34,31,32,0.72);
  --mono: rgba(34,31,32,0.64);
  --mono-quiet: rgba(34,31,32,0.38); /* large-scale / decorative only, never body text */
  --stripe: rgba(34,31,32,0.06); --stripe-0: rgba(34,31,32,0);
  --acc: #2f6ea8;        /* sky blue, pulled from the crystal renders */
  --acc-on: #ffffff; --acc-hover: #1d4a74;
  --acc-2: #ae5a13;      /* warm counterpoint for eyebrows/labels */
  --banner-bg: #221f20; --banner-line: #f0f6a7;
  --cbg: #221f20; --ctext: #ffffff; --cmono: rgba(255,255,255,0.68); --cline: rgba(255,255,255,0.35); --chover: #f0f6a7;
  --focus-ring: #2f6ea8;

  /* One rhythm for the whole page. Section gaps used to come from two rules
     stacking — a grid's padding-bottom plus the next section's padding-top —
     which doubled them to ~192px in places. Spacing now comes from the top of
     each section only, so every seam is the same. */
  --gap-section: 88px;
  --gap-block: 56px;
}

/* Base ------------------------------------------------------------------ */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2 { font-weight: 600; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--acc); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--acc); color: var(--acc-on);
  padding: 10px 16px; font-family: "Geist Mono", monospace; font-size: 12px;
  transition: top 150ms ease;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
::selection { background: var(--acc); color: var(--acc-on); }

.eyebrow {
  margin: 0; font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mono);
}
.eyebrow.accent { color: var(--acc-2); }
.eyebrow.accent-2 { color: #f0f6a7; }
.eyebrow.muted { color: var(--mono); }

/* Header ------------------------------------------------------------------ */
/* Fully transparent over the film, solid white once the page reaches the
   Visuals section. [data-solid] is set from script.js. */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 32px; height: 76px;
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: background-color 260ms ease, border-color 260ms ease;
}
.site-header[data-solid] {
  background: var(--bg);
  border-bottom-color: var(--line);
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}

/* Nothing behind the nav over the film — no bar, no glow. Deliberate: the
   band crosses deep blue sky where the ink nav measures 2.56:1, under the
   4.5:1 minimum, so legibility dips on the darkest frames. Chosen for the
   look over the measurement. */
.brand { display: flex; align-items: center; height: 34px; color: var(--text); }
.brand:hover { color: var(--text); opacity: 0.75; }
.brand-mark { height: 34px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0;
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--acc-2); }

.lang-switch {
  display: flex; align-items: center; gap: 6px;
  padding-left: 24px; border-left: 2px solid var(--line);
}
.lang-btn {
  cursor: pointer; background: none; border: 0; display: inline-flex; align-items: center;
  min-height: 44px; padding: 4px 4px 6px;
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
  color: var(--mono); border-bottom: 2px solid transparent;
}
.lang-btn[aria-pressed="true"] { color: var(--acc-2); border-bottom-color: var(--acc-2); }
.lang-btn:hover { color: var(--acc-2); }

/* Layout helpers ---------------------------------------------------------- */
main { display: block; }
section { padding: var(--gap-section) 32px 0; }
#contact { padding: var(--gap-section) 32px 32px; }

.section-head { border-top: 2px solid var(--line); padding-top: 24px; margin-bottom: 24px; }
.section-head--wide { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; margin-bottom: 40px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-2.align-start { align-items: start; }
.about-copy {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start;
  margin-top: 80px;
}

/* Loading screen ------------------------------------------------------------
   The frame sequence must preload for the scrub to be smooth, so the wait is
   staged instead of hidden. Removed from the DOM once the sequence is ready. */
.loader {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--bg); color: var(--text);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.loader[data-hidden] { opacity: 0; pointer-events: none; }
.loader-label {
  font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--mono);
}
.loader-pct { font-size: clamp(56px, 12vw, 140px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.loader-bar { width: min(260px, 60vw); height: 2px; background: var(--line); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0%; background: var(--text); }

/* Scroll-scrub story --------------------------------------------------------
   .story is a tall track whose height IS the scroll distance the sequence is
   scrubbed across; .story-pin sticks to the viewport for that whole distance,
   so the canvas holds still while the frames advance and chapters cross-fade. */
.story { position: relative; height: 560vh; }
.story-pin {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden; isolation: isolate;
}
.story-canvas,
.story-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; background: var(--frame);
}
.story-canvas { z-index: 0; }
/* Static first frame behind the canvas: what shows before the sequence is
   ready, and the whole picture under prefers-reduced-motion. */
.story-fallback { z-index: -1; }
.story-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(12,28,44,0.72) 0%,
    rgba(12,28,44,0.42) 34%,
    rgba(12,28,44,0.10) 70%,
    rgba(12,28,44,0) 100%
  );
}

/* Chapters stack in the same place and cross-fade on scroll progress. */
.chapters { position: absolute; inset: 0; z-index: 2; }
.chapter {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  /* Left padding clears the chapter rail rather than sitting on top of it. */
  padding: 48px 48px 64px 232px;
  max-width: min(100%, 1180px);
  color: #ffffff;
  opacity: 0; transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  pointer-events: none;
}
.chapter[data-active] { opacity: 1; transform: none; pointer-events: auto; }
.chapter .eyebrow { color: rgba(255,255,255,0.82); margin-bottom: 14px; }
.chapter h1 {
  font-size: clamp(32px, 5.2vw, 76px); line-height: 1.0;
  text-wrap: balance; text-shadow: 0 2px 24px rgba(10,24,38,0.35);
}
.chapter-lede {
  font-size: clamp(20px, 2.6vw, 34px); font-weight: 500;
  line-height: 1.24; letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(10,24,38,0.35);
  /* text-wrap: pretty is dropped — it fights the justifier. */
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Chapters with no capability strip at the bottom reserve its height (36px
   + 40px margin) so every chapter's copy lands on the same baseline as the
   "What we do" one, instead of sitting 76px lower. */
.chapter--raise { padding-bottom: 140px; }
.chapter-quote {
  font-size: clamp(20px, 2.4vw, 32px); font-weight: 500;
  line-height: 1.2; letter-spacing: -0.02em; max-width: 34ch;
  text-shadow: 0 2px 20px rgba(10,24,38,0.35);
}
.chapter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.chapter .btn-line { color: #ffffff; border-bottom-color: rgba(255,255,255,0.7); }
.chapter .btn-line:hover { color: #f0f6a7; border-bottom-color: #f0f6a7; }
.chapter .capability-strip { border-top-color: rgba(255,255,255,0.28); }
.chapter .capability-strip li { color: rgba(255,255,255,0.86); }
.chapter .team-row { margin-top: 28px; max-width: 420px; }
.chapter .team-name { color: #ffffff; }
.chapter .frame { border-color: rgba(255,255,255,0.3); }

/* Long-form chapters over the sky.
   Two columns with NO height cap: CSS columns given a max-height do not
   scroll, they overflow sideways out of the element box — which is how the
   copy escaped its panel before. Four paragraphs fit a frame outright. */
/* Bottom-aligned like every other chapter, so the panel sits at the same
   height as the lede chapters instead of floating mid-frame. */
.chapter--read { max-width: min(100%, 1180px); }
.chapter-cols {
  column-count: 2; column-gap: 40px;
  padding: 26px 30px;
  background: rgba(10,22,36,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.16);
}
.chapter-cols p {
  font-size: clamp(13px, 1.02vw, 15px); line-height: 1.58;
  margin: 0 0 12px; break-inside: avoid;
  color: rgba(255,255,255,0.92);
  /* Justified: both edges flush. hyphens keeps word spacing even — without
     it a narrow column opens rivers of white between words. */
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.chapter-cols p:last-child { margin-bottom: 0; }

/* Chapter rail + frame counter */
.chapter-rail {
  position: absolute; left: 48px; top: 50%; transform: translateY(-50%); z-index: 3;
  display: flex; flex-direction: column; gap: 14px;
  width: 150px;
}
.rail-item {
  display: flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-family: "Geist Mono", monospace; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); text-align: left;
}
.rail-item:hover { color: #ffffff; }
.rail-item[data-active] { color: #ffffff; }
.rail-num { opacity: 0.7; }
.rail-label { position: relative; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.rail-item[data-active] .rail-label { border-bottom-color: #f0f6a7; }

.frame-counter {
  position: absolute; right: 48px; bottom: 48px; z-index: 3; margin: 0;
  font-family: "Geist Mono", monospace; font-size: 10px;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.55);
}

.btn-fill {
  display: inline-flex; align-items: center; background: var(--acc); color: var(--acc-on);
  padding: 13px 22px; font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.btn-fill:hover { background: var(--acc-hover); color: var(--acc-on); }
.btn-line {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--acc-2); border-bottom: 2px solid var(--acc-2);
  padding-bottom: 6px; align-self: flex-end;
}
.btn-line:hover { color: var(--acc); border-bottom-color: var(--acc); }

/* No scrub without motion: the chapters stack and read as normal sections
   over a single held frame. */
@media (prefers-reduced-motion: reduce) {
  .story { height: auto; }
  .story-pin { position: relative; height: auto; }
  .story-canvas { display: none; }
  .story-fallback { position: absolute; z-index: -1; }
  .chapters { position: relative; inset: auto; }
  .chapter {
    position: relative; inset: auto; opacity: 1; transform: none;
    pointer-events: auto; min-height: 60vh; transition: none;
  }
  .chapter-rail, .frame-counter { display: none; }
}
.btn-fill {
  display: inline-flex; align-items: center; background: var(--acc); color: var(--acc-on);
  padding: 13px 22px; font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.btn-fill:hover { background: var(--acc-hover); color: var(--acc-on); }
.btn-line {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--acc-2); border-bottom: 2px solid var(--acc-2);
  padding-bottom: 6px; align-self: flex-end;
}
.btn-line:hover { color: var(--acc); border-bottom-color: var(--acc); }

.capability-strip {
  list-style: none; margin: 40px 0 0; padding: 20px 0 0; border-top: 2px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 32px;
}
.capability-strip li {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mono);
}

/* Frames / media ------------------------------------------------------------ */
.frame {
  position: relative; width: 100%; background: var(--frame);
  border: 2px solid var(--line); overflow: hidden;
}
.frame-media, .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-9-16 { aspect-ratio: 9 / 16; }
.frame-caption {
  position: absolute; left: 20px; bottom: 18px; z-index: 1; margin: 0;
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(247,249,252,0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.lede {
  margin: 0; font-size: clamp(20px, 2.1vw, 30px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.24; text-wrap: pretty;
}
.copy-stack { display: grid; gap: 24px; align-content: start; }
.copy-stack p {
  font-size: 17px; line-height: 1.6; color: var(--body);
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}

.team-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  align-content: start;
}
.team-row figure { margin: 0; }
.team-row figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px;
}
.team-name { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }

.pull-quote {
  margin: 72px 0 0; max-width: 34ch; font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; text-wrap: pretty;
}

.visual-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }

/* Portfolio ------------------------------------------------------------------ */
.project {
  display: grid; grid-template-columns: 1fr 3fr; gap: 32px;
  padding-top: 20px; border-top: 2px solid var(--line); margin-bottom: var(--gap-block);
  color: var(--text);
}
.project-link:hover { opacity: 0.72; }
.project-link:hover .project-media img { transform: scale(1.02); }
.project-info h2 { font-size: 22px; margin: 0 0 8px; }
.project-index { margin: 0 0 12px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--mono); }
.view-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mono);
}
.project-media { aspect-ratio: 2582 / 620; }
.project-media img { transition: transform 320ms ease; }
@media (prefers-reduced-motion: reduce) { .project-media img { transition: none; } }
.project-media--trio { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; aspect-ratio: 2582 / 620; }
.project-media--trio .frame { aspect-ratio: auto; }

/* Three 9:16 cards across a full-width grid stand ~790px tall, which dwarfs
   the landscape project rows above them. Capping the track width keeps them
   in proportion with the rest of the page. */
.reel-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 260px));
  justify-content: center; gap: 20px;
  padding-top: 20px; border-top: 2px solid var(--line);
}
.ig-frame iframe { position: absolute; top: 0; left: 0; width: 340px; border: 0; display: block; transform-origin: top left; background: var(--frame); }

/* Contact ------------------------------------------------------------------ */
/* The label used to occupy a whole 1fr column beside the content, which left
   a third of the panel empty and forced its height up. Stacked instead: one
   label, one hairline, one even three-column row across the full width. */
.contact-panel {
  background: var(--cbg); color: var(--ctext);
  padding: 34px 40px 38px;
}
.contact-panel .eyebrow {
  color: var(--cmono);
  padding-bottom: 18px; margin-bottom: 26px;
  border-bottom: 1px solid var(--cline);
}

.contact-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 48px; margin: 0;
}
/* No rule under each label — the panel already has one above the row, and
   stacking both made the block read as a table. */
.contact-meta dt {
  font-family: "Geist Mono", monospace; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cmono);
  margin-bottom: 10px;
}
.contact-meta dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ctext); }

.contact-email {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ctext);
}
.contact-email:hover { color: var(--chover); }
.contact-email-arrow {
  font-size: 0.8em;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-email:hover .contact-email-arrow { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) {
  .contact-email-arrow { transition: none; }
}

.social-row { display: flex; flex-wrap: wrap; gap: 18px; }
.social-row a {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ctext); border-bottom: 2px solid var(--cline); padding-bottom: 4px;
}
.social-row a:hover { color: var(--chover); border-bottom-color: var(--chover); }

/* Footer ---------------------------------------------------------------------- */
.site-footer {
  padding: 24px 32px 48px; border-top: 2px solid var(--line); margin: 0 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin: -10px 0; }
.footer-links a, .link-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 0;
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mono);
  background: none; border: 0; cursor: pointer;
}
.footer-links a:hover, .link-btn:hover { color: var(--acc-2); }

/* Cookie banner ---------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--banner-bg); border-top: 2px solid var(--banner-line);
  padding: 24px 32px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cookie-banner[hidden] { display: none; }
.cookie-body { margin-top: 8px; max-width: 80ch; font-size: 14px; line-height: 1.5; color: rgba(247,249,252,0.75); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline, .btn-solid {
  cursor: pointer; padding: 12px 18px; font-family: "Geist Mono", monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; text-align: left;
}
.btn-outline { background: none; border: 2px solid rgba(247,249,252,0.35); color: #F7F9FC; }
.btn-outline:hover { border-color: #f0f6a7; color: #f0f6a7; }
.btn-solid { background: #f0f6a7; border: 2px solid #f0f6a7; color: #221f20; }
.btn-solid:hover { background: #221f20; border-color: #F7F9FC; color: #F7F9FC; }

/* Scroll reveal ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* On-load entrance choreography (hero only — one composition, not repeated site-wide) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(4vh) scale(1.03); } to { opacity: 1; transform: none; } }
.anim-fade-up { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: var(--d, 0ms); }
.anim-rise-in { animation: riseIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-rise-in { animation-duration: 0.01ms; animation-delay: 0s; }
}

/* Responsive ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .visual-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-frame { aspect-ratio: 9/16; }
}

@media (max-width: 860px) {
  section { padding: 64px 20px 0; }
  #contact { padding: 64px 20px 24px; }
  .site-header { padding: 0 20px; height: 68px; }
  .site-nav { gap: 16px; }
  .lang-switch { padding-left: 14px; gap: 8px; }
  .grid-2, .about-copy, .section-head--wide, .project, .project-media--trio { grid-template-columns: 1fr; }
  .about-copy { margin-top: 56px; }
  .team-row { max-width: 320px; margin-top: 40px; }
  /* Shorter track and no rail on small screens — the sequence still scrubs,
     but the narrative is not stretched over five phone-height chapters. */
  .story { height: 460vh; }
  .chapter { padding: 24px 20px 48px; max-width: none; }
  .chapter-rail { display: none; }
  .frame-counter { right: 20px; bottom: 20px; }
  .chapter-cols { column-count: 1; padding: 18px 20px; }
  .chapter .team-row { max-width: 300px; margin-top: 20px; }
  .project { gap: 20px; margin-bottom: 40px; }
  .project-media { aspect-ratio: 16/9; }
  .site-footer { margin: 0 20px; }
}

@media (max-width: 560px) {
  .site-header { flex-wrap: wrap; height: auto; padding: 12px 16px; row-gap: 10px; }
  .site-nav { gap: 8px 12px; flex-wrap: wrap; width: 100%; justify-content: flex-start; }
  .site-nav a { font-size: 10px; min-height: 40px; }
  .lang-switch { padding-left: 0; border-left: 0; margin-left: auto; }
  .lang-btn { min-height: 40px; }
  .visual-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .reel-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .contact-meta { grid-template-columns: 1fr; gap: 20px; }
  .contact-panel { padding: 28px 20px 32px; }
  .cookie-banner { grid-template-columns: 1fr; padding: 20px; }
}
