@font-face {
  font-family: Clash;
  src: url("assets/fonts/ClashDisplay-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Clash;
  src: url("assets/fonts/ClashDisplay-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Switzer;
  src: url("assets/fonts/Switzer-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Switzer;
  src: url("assets/fonts/Switzer-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Switzer;
  src: url("assets/fonts/Switzer-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: PlexMono;
  src: url("assets/fonts/PlexMono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: PlexMono;
  src: url("assets/fonts/PlexMono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --carbon: #0c0d10;
  --surface: #121318;
  --panel: #171920;
  --light: #f6f4ef;
  --white: #f5f3ef;
  --ink: #141418;
  --muted: #a1a3ad;
  --accent: #f97316;
  --accent-soft: #fb923c;
  --gold: #f59e0b;
  --emerald: #10b981;
  --line: #272932;
  --gutter: clamp(20px, 3.6vw, 56px);
  --nav-height: 70px;
  --section-padding: clamp(80px, 9vw, 144px);
  --display: Clash, Arial, sans-serif;
  --body: Switzer, Arial, sans-serif;
  --mono: PlexMono, ui-monospace, SFMono-Regular, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--carbon);
  color: var(--white);
  font: 400 1rem/1.58 var(--body);
  -webkit-font-smoothing: antialiased;
}

body,
h1,
h2,
h3,
p,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  color: inherit;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

section[id],
article[id],
main[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

#stage,
#beat-0 {
  scroll-margin-top: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 40;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-padding);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-header h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  line-height: 1.01;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-header p:not(.section-label) {
  color: var(--muted);
  max-width: 50ch;
  margin-top: 16px;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.section-label,
.media-label {
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-label {
  margin-bottom: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #0c0d10;
  border: 1px solid transparent;
}

.button-primary:hover {
  background: var(--accent-soft);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  z-index: 25;
  inset: 0 0 auto;
  background: rgba(12, 13, 16, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 48, 58, 0.72);
}

.header-inner {
  width: 100%;
  max-width: 1520px;
  margin: auto;
  height: var(--nav-height);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand img {
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 36px);
}

.site-header nav a {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  color: #c7c8d0;
  transition: color 0.18s ease;
}

.site-header nav a:hover {
  color: var(--white);
}

.site-header nav .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  font-weight: 600;
}

.site-header nav .nav-contact:hover {
  color: var(--ink);
  background: #fed7aa;
}

.menu-toggle {
  display: none;
}

/* =========================================================
   FULL-WIDTH TECHNICAL 3D TELEMETRY STAGE (DESKTOP STICKY TRACK)
   ========================================================= */
.story-stage {
  position: relative;
  padding-top: var(--nav-height);
  height: 360svh;
  min-height: 2150px;
  background: var(--carbon);
}

.stage-viewport {
  position: sticky;
  top: var(--nav-height);
  height: calc(100svh - var(--nav-height));
  min-height: 540px;
  width: 100%;
  background:
    radial-gradient(ellipse 52% 48% at 68% 44%, rgba(249, 115, 22, 0.085) 0%, rgba(32, 27, 24, 0.18) 50%, transparent 74%),
    var(--carbon);
}

/* Layer 0: Full-width transparent 3D canvas (no box, no border) */
.stage-canvas-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.shot-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.shot-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Layer 1: Desktop 3D-projected leader line + single live telemetry readout */
.telemetry-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

.telemetry-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#telemetry-line {
  stroke: rgba(251, 146, 60, 0.72);
  stroke-width: 1.15;
}

#telemetry-dot {
  fill: var(--accent-soft);
}

.telemetry-card {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 6px 11px;
  border-left: 1.5px solid var(--accent-soft);
  background: rgba(12, 13, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  will-change: transform;
}

.telemetry-eyebrow {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #9e9ea8;
}

.telemetry-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #d6d4cf;
  font-variant-numeric: tabular-nums;
}

.telemetry-metric strong {
  color: var(--white);
  font-weight: 500;
  font-size: 0.92rem;
}

.mobile-telemetry {
  display: none;
}

/* Layer 2: Spatially choreographed semantic chapters integrated with 3D motion */
.stage-copy-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.chapter {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: min(440px, 36vw);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.chapter.is-active {
  pointer-events: auto;
}

/* Soft dark gradient veil strictly behind copy area for guaranteed contrast */
.chapter::before {
  content: "";
  position: absolute;
  inset: -44px -52px;
  z-index: -1;
  background: radial-gradient(ellipse 75% 70% at 45% 50%, rgba(12, 13, 16, 0.76) 0%, rgba(12, 13, 16, 0.34) 60%, transparent 100%);
  pointer-events: none;
}

/* Beat 0: Left-anchored (~7% left, centered ~53% stage height) */
.chapter-release {
  left: clamp(28px, 6.8vw, 112px);
  top: 53%;
  transform: translateY(-50%);
  opacity: 1;
}

/* Beat 1: Raised higher (~9.5% left, ~37% down) to meet the climbing arc apex */
.chapter-calibrate {
  left: clamp(28px, 9.2vw, 148px);
  top: 38%;
  transform: translateY(-50%);
}

/* Beat 2: Right-hand negative space (~60% left) while hoop & bounce frame in the left half */
.chapter-replay {
  left: 60%;
  top: 50%;
  width: min(430px, 35vw);
  transform: translateY(-50%);
}

.chapter-kicker {
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chapter h1,
.chapter h2 {
  margin-block: 14px 18px;
  font-size: clamp(2.65rem, 4.45vw, 4.65rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.chapter .kinetic-line {
  display: inline-block;
  color: var(--accent-soft);
  font-style: normal;
  will-change: transform, letter-spacing;
}

.chapter-lead {
  max-width: 40ch;
  color: #c2c3cc;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.58;
}

/* Plain architectural underlined text links in Beat 0 (zero floating pill/box clutter) */
.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #d6d5d0;
  border-bottom: 1.5px solid rgba(214, 213, 208, 0.34);
  transition: color 0.18s ease, border-color 0.18s ease, gap 0.18s ease;
}

.text-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.text-link-primary {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.text-link-primary:hover {
  color: var(--accent-soft);
  border-bottom-color: var(--accent-soft);
  gap: 13px;
}

/* =========================================================
   CAPABILITIES TICKER
   ========================================================= */
.ticker {
  position: relative;
  overflow: hidden;
  background: #14151a;
  border-block: 1px solid var(--line);
  color: #d5d3ce;
}

.ticker-window {
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker-track,
.ticker-group {
  width: max-content;
  display: flex;
  align-items: center;
}

.ticker-track.is-moving {
  will-change: transform;
}

.ticker-group span {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4.4vw, 72px);
  font-size: 0.9rem;
  font-weight: 500;
  padding-block: 16px;
  padding-right: clamp(24px, 4.4vw, 72px);
}

.ticker-group span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

/* =========================================================
   REAL FOOTAGE SHOWCASE (SPACIOUS ALTERNATING EDITORIAL LAYOUT)
   ========================================================= */
.footage-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--carbon) 100%);
}

.films {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 7.5vw, 112px);
}

.film {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4.6vw, 76px);
}

.film-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
}

.film-reverse .film-frame {
  order: 2;
}

.film-reverse .film-copy {
  order: 1;
}

.film-frame {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #101116;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
}

.video-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f1014;
}

.video-image video {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.film-copy {
  max-width: 44ch;
}

.film-copy h3,
.project-copy h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 10px 0 14px;
  text-wrap: balance;
}

.film-copy p:not(.media-label),
.project-copy p:not(.media-label) {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.62;
}

/* =========================================================
   WARM BONE ALABASTER CONTRAST BAND: CLIENTS + HOW WE BUILD
   ========================================================= */
.light-band {
  background: var(--light);
  color: var(--ink);
  color-scheme: light;
  --muted: #555660;
  --accent: #c2410c;
  --accent-soft: #c2410c;
}

.clients-section {
  padding-top: clamp(72px, 8vw, 128px);
}

.clients-section .section-header {
  max-width: none;
}

.client-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #e2ddd3;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(20, 20, 24, 0.045);
}

.client-grid li {
  display: grid;
  place-items: center;
  min-height: clamp(128px, 13vw, 180px);
  padding: 24px;
}

.client-grid li + li {
  border-left: 1px solid #e2ddd3;
}

.client-grid img {
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-grid .logo-coursecast {
  width: min(72%, 206px);
  filter: brightness(0);
  opacity: 0.88;
}

.logo-mustard {
  max-width: 74%;
  max-height: 76px;
  mix-blend-mode: multiply;
}

.logo-move {
  max-width: 68%;
  max-height: 108px;
  filter: invert(1);
  mix-blend-mode: multiply;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(28px, 6.5vw, 102px);
  align-items: start;
}

.approach-intro {
  position: sticky;
  top: calc(var(--nav-height) + 36px);
  margin: 0;
}

.approach-intro h2 {
  text-wrap: initial;
}

.process {
  position: relative;
  list-style: none;
  display: grid;
  margin: 0;
  padding: 0 0 0 26px;
}

.process::before {
  content: "";
  position: absolute;
  left: 4px;
  inset-block: 24px;
  width: 2px;
  background: linear-gradient(#c2410c 0 var(--rail-height, 0px), #dcd6ca var(--rail-height, 0px));
}

.process-step {
  position: relative;
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(68px, 8.5vw, 108px);
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e2ddd3;
  padding: 22px 0 22px 12px;
}

.process-step:last-child {
  border-bottom: 1px solid #e2ddd3;
}

.process-step::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid #b5aea1;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.process-step.is-active::before,
.process-step.is-past::before {
  background: #c2410c;
  border-color: #c2410c;
  box-shadow: 0 0 0 5px rgba(194, 65, 12, 0.14);
}

.process h3,
.deployment-grid h3 {
  font-size: clamp(1.18rem, 1.7vw, 1.58rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.process p,
.deployment-grid p {
  margin-top: 7px;
  color: var(--muted);
}

.process svg {
  width: 100%;
  fill: none;
  stroke: #9b9589;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagram-active {
  stroke: #c2410c;
  stroke-width: 2;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  transition: stroke-dashoffset 0.75s ease;
}

.process-step:is(.is-active, .is-past) .diagram-active {
  stroke-dashoffset: 0;
}

.diagram-node {
  fill: #c2410c;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.process-step:is(.is-active, .is-past) .diagram-node {
  opacity: 1;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(48px, 6vw, 88px);
}

.deployment-grid article {
  background: #ffffff;
  border: 1px solid #e2ddd3;
  padding: clamp(22px, 2.4vw, 34px);
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(20, 20, 24, 0.035);
}

.deployment-grid article > span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: #c2410c;
  margin-bottom: 18px;
}

.deployment-grid article:nth-child(2) > span {
  background: #0f766e;
}

.deployment-grid article:nth-child(3) > span {
  background: #b45309;
}

/* =========================================================
   SELECTED PROJECTS (PURE AUTOPLAY, ZERO OVERLAYS)
   ========================================================= */
.projects-section {
  background: var(--carbon);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.8vw, 36px);
}

.project {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.project:hover {
  border-color: rgba(249, 115, 22, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.project-frame {
  border-bottom: 1px solid var(--line);
}

.project-copy {
  padding: clamp(20px, 2.3vw, 28px);
}

.project-copy h3 {
  font-size: clamp(1.3rem, 2.05vw, 1.82rem);
  margin: 8px 0 10px;
}

/* =========================================================
   DIRECT CONTACT + FOOTER
   ========================================================= */
.contact-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(249, 115, 22, 0.11) 0%, transparent 65%),
    var(--surface);
}

.contact-layout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: clamp(72px, 8.5vw, 128px);
}

.contact-layout h2 {
  font-size: clamp(3rem, 6.8vw, 6.4rem);
  letter-spacing: -0.042em;
  line-height: 0.94;
}

.contact-layout p:not(.section-label) {
  margin-top: 16px;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  color: #b7b8c2;
  max-width: 44ch;
}

.contact-cta {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 1rem;
}

.site-footer {
  padding-block: 36px;
  background: var(--carbon);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px 36px;
}

.footer-layout nav {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
}

.footer-brand p,
.footer-layout nav,
.footer-email {
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-brand p {
  margin-top: 8px;
}

.footer-layout nav a:hover,
.footer-email:hover {
  color: var(--accent-soft);
}

.footer-email {
  white-space: nowrap;
  font-weight: 500;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1180px) {
  .chapter {
    width: min(370px, 37vw);
  }

  .chapter h1,
  .chapter h2 {
    font-size: clamp(2.35rem, 4.1vw, 3.6rem);
  }

  .chapter-replay {
    left: 58%;
    width: min(370px, 38vw);
  }
}

@media (max-width: 1150px) {
  .footer-layout {
    grid-template-columns: 1fr auto;
  }

  .footer-layout nav {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .story-stage {
    height: auto;
    min-height: 0;
    padding-bottom: 52px;
  }

  .stage-viewport {
    position: static;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: 26px;
  }

  .stage-copy-layer {
    position: static;
    display: contents;
    pointer-events: auto;
  }

  .chapter {
    position: static;
    width: 100%;
    max-width: none;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto;
    padding-inline: var(--gutter);
  }

  .chapter::before {
    display: none;
  }

  .chapter .kinetic-line {
    transform: none !important;
    letter-spacing: normal !important;
  }

  .chapter-release {
    order: 1;
    padding-bottom: 20px;
  }

  .stage-canvas-layer {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: clamp(230px, 76vw, 420px);
  }

  .telemetry-layer {
    display: none !important;
  }

  .mobile-telemetry {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    padding: 12px var(--gutter) 28px;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: #d6d4cf;
    font-variant-numeric: tabular-nums;
    border-bottom: 1px solid rgba(39, 41, 50, 0.7);
  }

  .mobile-telemetry-sep {
    color: var(--accent-soft);
  }

  .chapter-calibrate {
    order: 4;
    padding-top: 30px;
  }

  .chapter-replay {
    order: 5;
    padding-top: 32px;
  }

  .chapter-calibrate h2,
  .chapter-replay h2 {
    font-size: clamp(1.9rem, 7.6vw, 2.6rem);
    margin-block: 10px 12px;
  }

  .film,
  .film-reverse {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .film-reverse .film-frame,
  .film-reverse .film-copy {
    order: initial;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-height: 62px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid #353844;
    border-radius: 8px;
    background: #16181f;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.18s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .site-header nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 20px;
    background: #111216;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.48);
    max-height: calc(100dvh - var(--nav-height));
    overflow: auto;
  }

  .site-header nav.is-open {
    display: grid;
  }

  .site-header nav a {
    padding: 13px 0;
    border-bottom: 1px solid #22242d;
  }

  .site-header nav .nav-contact {
    width: max-content;
    margin-top: 14px;
    padding: 10px 18px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 18px;
  }

  .chapter-release h1 {
    font-size: clamp(2.45rem, 10.6vw, 3.6rem);
    margin-block: 12px 14px;
  }

  .films {
    gap: 52px;
  }

  .approach-layout,
  .deployment-grid,
  .project-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .client-grid li {
    min-height: 112px;
  }

  .client-grid li + li {
    border-left: 0;
    border-top: 1px solid #e2ddd3;
  }

  .logo-mustard {
    max-height: 60px;
  }

  .logo-move {
    max-height: 82px;
  }

  .approach-intro {
    position: static;
  }

  .contact-layout {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-layout nav {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chapter .kinetic-line {
    transform: none !important;
    letter-spacing: normal !important;
  }
}
