:root {
  --black: #000;
  --abyss: #001a24;
  --deep: #00293a;
  --steel: #004e6b;
  --blue: #00aeef;
  --ice: #7fdfff;
  --white: #fff;
  --gray: #8a9ba3;
  --yellow: #ffd400;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Montserrat", Arial, sans-serif;
  --ease: cubic-bezier(.22, .78, .24, 1);
  --side: clamp(1.25rem, 4.25vw, 5.5rem);
  --header-h: 6rem;
}

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

/* The `hidden` attribute must always win. Any author rule that sets `display`
   (e.g. `.sp-draft { display: inline-block }`) silently beats the UA
   stylesheet, which leaves supposedly-hidden elements on screen — that is how
   the local-only pricing note reached the live site. */
[hidden] { display: none !important; }

html {
  background: var(--black);
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-color: var(--steel) var(--black);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.js body:not(.is-ready) { overflow: hidden; }

::selection { background: var(--blue); color: var(--black); }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 1rem;
  left: 1rem;
  padding: .65rem 1rem;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--black);
  font-size: .75rem;
  font-weight: 600;
  transition: transform .3s var(--ease);
}

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

.section-shell {
  width: min(100%, 112rem);
  margin: 0 auto;
  padding-inline: var(--side);
}

.section-black { background: var(--black); }

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--gray);
  font-size: clamp(.62rem, .6vw, .75rem);
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-kicker { display: flex; align-items: center; gap: 1rem; }
.section-kicker span { color: var(--blue); }
.section-kicker::after { width: clamp(3rem, 8vw, 9rem); height: 1px; background: var(--steel); content: ""; }

[data-reveal], [data-line-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

[data-reveal].is-visible, [data-line-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js [data-line-reveal] { opacity: 1; transform: none; }

/* Loader */
.loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  gap: 1.25rem;
  padding: var(--side);
  background: var(--black);
  transition: opacity .8s var(--ease), visibility .8s;
}

.loader::before {
  position: absolute;
  inset: 12% 18%;
  background: radial-gradient(circle, rgba(0, 174, 239, .08), transparent 66%);
  content: "";
  pointer-events: none;
}

.loader.is-complete { opacity: 0; visibility: hidden; pointer-events: none; }
.no-js .loader { display: none; }

.loader__identity {
  position: relative;
  grid-column: 1 / -1;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: clamp(8rem, 16vw, 10.5rem);
  height: clamp(8rem, 16vw, 10.5rem);
}

.loader__identity img { display: block; width: 100%; height: 100%; animation: loader-breathe 2.4s var(--ease) infinite; }
/* Cyan arc orbiting the badge — a loading cue that echoes the badge's own ring. */
.loader__identity i { position: absolute; inset: -11%; border: 1px solid var(--rule); border-radius: 50%; }
.loader__identity i::after {
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-top-color: var(--blue);
  border-radius: 50%;
  content: "";
  animation: loader-orbit 1.1s linear infinite;
}
@keyframes loader-orbit { to { transform: rotate(360deg); } }
@keyframes loader-breathe { 50% { transform: scale(.965); } }

.loader__track { position: relative; grid-column: 1 / -1; height: 1px; overflow: hidden; background: var(--steel); }
.loader__track span { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--blue); transition: transform .16s linear; }
.loader__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--gray); font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.loader__meta span:last-child { color: var(--white); font-variant-numeric: tabular-nums; }

/* Navigation */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-h);
  padding: .9rem var(--side);
  border-bottom: 1px solid transparent;
  transition: background .7s var(--ease), border-color .7s var(--ease), backdrop-filter .7s var(--ease), transform .7s var(--ease);
}

.site-header.is-scrolled {
  border-color: rgba(0, 78, 107, .55);
  background: rgba(0, 26, 36, .74);
  backdrop-filter: blur(18px);
}

.wordmark { display: inline-flex; align-items: center; gap: .9rem; }
.wordmark__name { font-family: var(--display); font-size: .95rem; letter-spacing: .11em; line-height: .88; text-transform: uppercase; }

.desktop-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.3vw, 2.8rem); }
.desktop-nav a { position: relative; color: #d6e0e4; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: color .35s ease; }
.desktop-nav a:not(.nav-cta)::after { position: absolute; left: 0; bottom: -.45rem; width: 100%; height: 1px; transform: scaleX(0); transform-origin: right; background: var(--blue); content: ""; transition: transform .45s var(--ease); }
.desktop-nav a:hover { color: var(--white); }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav .nav-cta { padding: .7rem 1.05rem; border: 1px solid var(--blue); border-radius: 999px; color: var(--white); }
.desktop-nav .nav-cta:hover { background: rgba(0, 174, 239, .1); }

.menu-toggle { display: none; width: 3rem; height: 3rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 1.75rem; height: 1px; margin: .45rem auto; background: var(--white); transition: transform .5s var(--ease); }
.menu-toggle[aria-expanded="true"] > span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu { position: fixed; z-index: 900; inset: 0; display: grid; align-content: center; padding: calc(var(--header-h) + 3rem) var(--side) 3rem; visibility: hidden; opacity: 0; background: rgba(0, 13, 18, .98); transition: opacity .6s var(--ease), visibility .6s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu nav { display: grid; border-top: 1px solid var(--steel); }
.mobile-menu nav a { display: flex; gap: 1.5rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px solid var(--steel); font-family: var(--display); font-size: clamp(3.25rem, 15vw, 6rem); line-height: 1; text-transform: uppercase; }
.mobile-menu nav a span { color: var(--blue); font-family: var(--body); font-size: .6rem; letter-spacing: .14em; }
.mobile-menu > p { align-self: end; margin: 3rem 0 0; color: var(--gray); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }

/* Hero — camera-explode video that fades into the showreel */
.hero { position: relative; height: 100vh; min-height: 40rem; overflow: hidden; background: #05070a; }
.hero__stage { position: absolute; inset: 0; overflow: hidden; }
.hero__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: #05070a; }
.hero__video--camera { z-index: 2; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero.is-live .hero__video--camera { opacity: 1; }
.hero__video--reel { z-index: 1; opacity: 0; transition: opacity 1.5s var(--ease); }
.hero.is-reel .hero__video--camera { opacity: 0; }
.hero.is-reel .hero__video--reel { z-index: 3; opacity: 1; }
.hero__vignette { position: absolute; z-index: 4; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 34%, rgba(0,0,0,.28)), linear-gradient(90deg, rgba(0,0,0,.5), transparent 30%, transparent 72%, rgba(0,0,0,.42)); pointer-events: none; }
.hero__vignette::before { position: absolute; inset: 12% 8%; background: radial-gradient(circle at 50% 52%, rgba(0,174,239,.10), transparent 52%); content: ""; }

.hero__copy { position: absolute; z-index: 5; inset-inline: var(--side); pointer-events: none; }
.hero__copy--intro { top: 50%; transform: translateY(-50%); text-align: center; opacity: 0; transition: opacity 1.2s var(--ease) .3s; }
.hero.is-live .hero__copy--intro { opacity: 1; }
.hero__copy .eyebrow { margin-bottom: clamp(1rem, 2vh, 2rem); color: #d3dde2; letter-spacing: .36em; }
.hero__copy .eyebrow span { color: var(--blue); }
.hero h1 { margin: 0; color: var(--white); font-family: var(--display); font-size: clamp(5.5rem, 15.2vw, 18.5rem); font-weight: 400; letter-spacing: -.025em; line-height: .66; text-transform: uppercase; text-wrap: balance; }
.hero h1 span { display: inline-block; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); }
.hero__tagline { max-width: 40rem; margin: clamp(1.5rem, 3.4vh, 3rem) auto 0; color: #cdd8de; font-family: var(--body); font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: .01em; line-height: 1.5; text-transform: none; }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 1.5rem; display: grid; place-items: center; gap: .65rem; transform: translateX(-50%); color: var(--gray); font-size: .55rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: opacity .6s ease; }
.scroll-cue i { position: relative; width: 1px; height: 2.5rem; overflow: hidden; background: var(--steel); }
.scroll-cue i::after { position: absolute; top: 0; left: 0; width: 1px; height: 50%; background: var(--blue); content: ""; animation: scroll-line 2.2s var(--ease) infinite; }
.scroll-cue.is-hidden { opacity: 0; }
@keyframes scroll-line { 0% { transform: translateY(-110%); } 50%, 100% { transform: translateY(210%); } }

@media (max-width: 1024px) {
  :root { --header-h: 5.25rem; }
  .desktop-nav { gap: 1.25rem; }
}

@media (max-width: 767px) {
  :root { --side: 1.25rem; --header-h: 4.75rem; }
  body { font-size: 15px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .site-header { min-height: var(--header-h); }
  .wordmark__name { font-size: .78rem; }
  .hero { height: 100vh; min-height: 34rem; }
  .hero__vignette { background: linear-gradient(0deg, rgba(0,0,0,.82), transparent 44%, rgba(0,0,0,.3)); }
  .hero__copy--intro { top: 50%; text-align: center; }
  .hero__copy .eyebrow { max-width: 16rem; letter-spacing: .2em; line-height: 1.8; }
  .hero h1 { font-size: clamp(4.25rem, 22vw, 8.4rem); line-height: .72; }
  .hero__copy--resolve { justify-content: flex-start; bottom: 7rem; text-align: left; }
  .hero__copy--resolve p { font-size: clamp(2.75rem, 13vw, 4.5rem); }
  .hero__chapter { display: none; }
  .scroll-cue { left: var(--side); transform: none; place-items: start; }
  .scroll-cue i { margin-left: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .js body:not(.is-ready) { overflow: auto; }
  .hero { height: 100vh; min-height: 42rem; }
  #heroCanvas, .hero__fallback { display: none; }
  .hero__static { display: block; }
  .hero__copy--resolve { display: none; }
  [data-reveal], [data-line-reveal] { opacity: 1; transform: none; }
}

.reduced-motion { scroll-behavior: auto; }
.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
.reduced-motion .loader { display: none; }
.reduced-motion body:not(.is-ready) { overflow: auto; }
.reduced-motion .hero { height: 100vh; min-height: 42rem; }
.reduced-motion #heroCanvas, .reduced-motion .hero__fallback { display: none; }
.reduced-motion .hero__static { display: block; }
.reduced-motion .hero__copy--resolve { display: none; }
.reduced-motion [data-reveal], .reduced-motion [data-line-reveal] { opacity: 1; transform: none; }

/* =====================================================================
   LIGHT THEME — overrides the dark cinematic base.
   The hero keeps its dark video stage; everything below goes light.
   ===================================================================== */
:root {
  --paper: #eef2f5;
  --paper-2: #e5ebf0;
  --ink: #0d1b24;
  --muted: #55656e;
  --rule: rgba(10, 30, 40, .14);
  --blue-ink: #0b7bb0;
  --danger: #c0392b;
}

html { background: var(--paper); color-scheme: light; scrollbar-color: #b6c4cd var(--paper); }
body { background: var(--paper); color: var(--ink); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline-color: var(--blue-ink); }

/* Loader (brief) — light so it doesn't flash black on a light site */
.loader { background: var(--paper); }
.loader::before { background: radial-gradient(circle, rgba(0, 174, 239, .10), transparent 66%); }
.loader__track { background: var(--rule); }
.loader__track span { background: var(--blue); }
.loader__meta { color: var(--muted); }
.loader__meta span:last-child { color: var(--ink); }

/* Header — white type over the dark hero, dark type once scrolled onto light */
.wordmark__name { color: #fff; }
.desktop-nav a { color: #e9eef1; }
.desktop-nav a:hover { color: #fff; }
.desktop-nav .nav-cta { color: #fff; border-color: rgba(255, 255, 255, .6); }
.desktop-nav .nav-cta:hover { background: rgba(255, 255, 255, .12); }
.menu-toggle > span:not(.sr-only) { background: #fff; }

.site-header.is-scrolled { background: rgba(240, 244, 247, .9); border-color: var(--rule); backdrop-filter: blur(18px); }
.site-header.is-scrolled .wordmark__name { color: var(--ink); }
.site-header.is-scrolled .desktop-nav a { color: var(--ink); }
.site-header.is-scrolled .desktop-nav a:hover { color: var(--blue-ink); }
.site-header.is-scrolled .desktop-nav .nav-cta { color: var(--blue-ink); border-color: var(--blue); }
.site-header.is-scrolled .menu-toggle > span:not(.sr-only) { background: var(--ink); }

/* Mobile menu */
.mobile-menu { background: rgba(238, 242, 245, .98); }
.mobile-menu nav { border-color: var(--rule); }
.mobile-menu nav a { color: var(--ink); border-color: var(--rule); }
.mobile-menu nav a span { color: var(--blue-ink); }
.mobile-menu > p { color: var(--muted); }


/* =====================================================================
   BELOW-THE-HERO SECTIONS — ported from the preview page, rebuilt on the
   site's light system (paper + ink + brand cyan, Bebas Neue / Montserrat).
   Everything is namespaced `mc-` so nothing collides with hero/header CSS.
   ===================================================================== */
:root {
  --card: #ffffff;
  /* Brand cyan darkened just enough to pass 4.5:1 as small text on paper.
     #00aeef itself is kept for fills, rules, and large display type. */
  --blue-text: #086a98;
}

/* ---------- Shared type ---------- */
.mc-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.4rem;
  color: var(--blue-text);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.mc-kicker::before { width: 2.2rem; height: 1px; flex: none; background: var(--blue); content: ""; }

.mc-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3.4rem, 8.4vw, 8.6rem);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .88;
  text-transform: uppercase;
}
.mc-title em { color: var(--blue-ink); font-style: normal; }

.mc-sub {
  max-width: 36rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.1vw, 1.08rem);
  line-height: 1.75;
}
.mc-accent { color: var(--blue); }

/* ---------- Marquee ---------- */
/* Solid brand-cyan band — the first colour block after the dark hero. Ink
   type on #00aeef is ~8:1, so it reads as strongly as black on white. */
.mc-marquee {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 0 1.2rem;
  background: var(--blue);
}
.mc-marquee__row { overflow: hidden; white-space: nowrap; }
.mc-marquee__row + .mc-marquee__row { margin-top: .2rem; }
/* Two identical spans; sliding the track by exactly -50% loops seamlessly. */
.mc-marquee__track { display: inline-flex; width: max-content; animation: mc-marquee 40s linear infinite; }
.mc-marquee__row--outline .mc-marquee__track { animation-duration: 48s; animation-direction: reverse; }
.mc-marquee__track span {
  flex: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.2vw, 5.4rem);
  letter-spacing: .01em;
  line-height: 1.02;
  text-transform: uppercase;
}
.mc-marquee__track b { padding: 0 .45em; color: #fff; font-weight: 400; }
.mc-marquee__row--outline span { color: transparent; -webkit-text-stroke: 1.2px rgba(4, 34, 47, .78); }
.mc-marquee__row--outline b { color: #fff; -webkit-text-stroke: 0; }
@keyframes mc-marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.mc-services { padding: clamp(7rem, 16vh, 12rem) 0; background: var(--paper); }
/* Studio now sits directly above Services on the same paper colour, so their
   stacked paddings read as one big void (~310px). Trim both sides of the seam
   and mark it with a hairline instead. */
.mc-about + .mc-services {
  padding-top: clamp(3.5rem, 8vh, 5.5rem);
  border-top: 1px solid var(--rule);
}
.mc-services__head { margin-bottom: clamp(3.5rem, 8vh, 6rem); }
.mc-svc-stack { display: grid; gap: 1.6rem; }

/* Each card: the SERVICE NAME is the headline (left column, huge), the
   details sit beside it. The name is what a visitor scans for. */
.mc-svc {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, .85fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  padding: clamp(2.2rem, 4vw, 4rem);
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(13, 27, 36, .04), 0 18px 40px -28px rgba(13, 27, 36, .28);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), opacity 1s var(--ease);
}
/* Tilt + lift are driven by custom properties (--rx/--ry set by app.js from
   the cursor position), so hover, tilt and the reveal never fight over
   `transform`. */
.mc-svc.is-visible {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
}
.mc-svc.is-visible:hover {
  --lift: -4px;
  border-color: rgba(0, 174, 239, .55);
  box-shadow: 0 28px 60px -30px rgba(0, 110, 160, .35);
}
.mc-svc__head { align-self: start; }
.mc-svc__no {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--blue-text);
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  letter-spacing: .08em;
  line-height: 1;
}
.mc-svc__no::after { width: 2.6rem; height: 2px; background: var(--blue); content: ""; }
.mc-svc__name {
  margin: .75rem 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 6rem);
  font-weight: 400;
  letter-spacing: .004em;
  line-height: .86;
  text-transform: uppercase;
}
/* Thick brand bar under the name; it stretches when the card is hovered. */
.mc-svc__name::after {
  display: block;
  width: 4.5rem;
  height: 6px;
  margin-top: 1.1rem;
  border-radius: 3px;
  background: var(--blue);
  content: "";
  transition: width .55s var(--ease);
}
.mc-svc.is-visible:hover .mc-svc__name::after { width: 9rem; }
/* Draw the bar in as the card arrives. Scoped to .js so no-JS visitors
   still get the full bar. */
.js .mc-svc:not(.is-visible) .mc-svc__name::after { width: 0; }
.mc-svc.is-visible .mc-svc__name::after { transition-delay: .35s; }
.mc-svc.is-visible:hover .mc-svc__name::after { transition-delay: 0s; }
.mc-svc__body { align-self: center; max-width: 44rem; }
.mc-svc__lead {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  font-weight: 600;
  line-height: 1.4;
}
.mc-svc__desc { margin: 0 0 1.4rem; color: var(--muted); line-height: 1.75; }
.mc-svc__list { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.mc-svc__list li { position: relative; padding-left: 1rem; color: var(--ink); font-size: .84rem; font-weight: 500; }
.mc-svc__list li::before { position: absolute; left: 0; color: var(--blue); content: "▸"; }
.mc-svc__why {
  margin: 0 0 1.6rem;
  padding-left: 1rem;
  border-left: 2px solid var(--blue);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}
.mc-svc__why b { color: var(--ink); font-weight: 600; }
.mc-svc__cta {
  display: inline-flex;
  gap: .6rem;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--blue);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mc-svc__cta span { transition: transform .25s var(--ease); }
.mc-svc__cta:hover span { transform: translateX(5px); }

/* ---------- Work: filmstrip ----------
   Default (no JS, mobile, reduced motion) is a plain swipeable row.
   JS adds .is-pinned on desktop: the section grows tall, the inner pin
   sticks, and scroll drives the track sideways. No GSAP needed. */
.mc-work { position: relative; border-block: 1px solid var(--rule); background: var(--paper-2); }
.mc-work__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 5vh, 3.5rem);
  padding-block: clamp(6rem, 14vh, 9rem);
}
.mc-work.is-pinned .mc-work__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 38rem;
  overflow: hidden;
  padding-block: var(--header-h) 2rem;
}
.mc-filmstrip {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Without this, snapping aligns frames to the raw edge and eats the gutter. */
  scroll-padding-inline: var(--side);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mc-filmstrip::-webkit-scrollbar { display: none; }
.mc-work.is-pinned .mc-filmstrip { overflow: hidden; scroll-snap-type: none; }
.mc-film-track { display: flex; gap: 1.4rem; width: max-content; padding-inline: var(--side); will-change: transform; }

.mc-frame { flex: 0 0 auto; width: clamp(15rem, 23vw, 21rem); margin: 0; scroll-snap-align: start; }
.mc-frame__open { display: block; color: inherit; text-decoration: none; }
.mc-frame__open:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 16px; }
.mc-frame__poster {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 24px 50px -34px rgba(0, 30, 45, .6);
}
.mc-frame__poster::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .46));
  content: "";
  transition: opacity .35s var(--ease);
}
.mc-frame:hover .mc-frame__poster::before { opacity: .45; }
.mc-frame__big {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}
.mc-frame__play {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  color: #fff;
  font-size: .75rem;
  transition: background .25s, border-color .25s, color .25s;
}
.mc-frame:hover .mc-frame__play { border-color: var(--blue); background: var(--blue); color: #04222f; }
.mc-frame figcaption { display: grid; gap: .25rem; padding-top: .9rem; }
.mc-frame__cat { color: var(--blue-text); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.mc-frame__client { color: var(--ink); font-size: .98rem; font-weight: 600; }

/* The still sits under every other poster layer. It is pulled from the video
   itself, so it is softer than a shot still — the gradient beneath and the
   ::before wash above are what keep the title legible over it. */
.mc-frame__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
  transform: scale(1.01);
  transition: transform .6s var(--ease), filter .35s var(--ease);
}
.mc-frame:hover .mc-frame__still { transform: scale(1.06); filter: saturate(1) contrast(1.06); }
/* The wash is a ::before, so it paints BEFORE the <img> element and would sit
   underneath it. Lift it above the still; .mc-frame__big/__scan/__play all
   carry z-index 1 and come later in the DOM, so they still read on top. */
.mc-frame__poster:has(.mc-frame__still)::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 18, 26, .12), rgba(3, 18, 26, .58));
}
.mc-frame:hover .mc-frame__poster:has(.mc-frame__still)::before { opacity: .8; }
/* These frames are the films' own title cards — they already carry the client's
   name in the artwork. A second name stamped over it reads as a mistake, so the
   caption below the poster does the naming instead. */
.mc-frame__poster:has(.mc-frame__still) .mc-frame__big { display: none; }

/* Poster gradients. Still the backdrop while a photo loads, and the whole
   poster for any frame that has no still yet. */
.mc-p1 { background: linear-gradient(145deg, #0b2531, #1f6484); }
.mc-p2 { background: linear-gradient(145deg, #13202e, #3a6f8c); }
.mc-p3 { background: linear-gradient(145deg, #171c30, #45609a); }
.mc-p4 { background: linear-gradient(145deg, #0c2628, #1f6f6a); }
.mc-p5 { background: linear-gradient(145deg, #1a222c, #4d6679); }
.mc-p6 { background: linear-gradient(145deg, #08202e, #007cab); }

.mc-frame--cta { display: flex; align-items: center; width: clamp(14rem, 20vw, 18rem); }
.mc-frame--cta a { display: grid; gap: 1rem; }
.mc-frame--cta strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: .88;
  text-transform: uppercase;
}
.mc-frame--cta strong b { color: var(--blue); font-weight: 400; }
.mc-frame--cta em { color: var(--blue-text); font-size: .82rem; font-style: normal; font-weight: 600; letter-spacing: .08em; }
.mc-frame--cta a:hover em { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Reel lightbox ---------- */
.mc-lightbox {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.mc-lightbox__scrim { position: absolute; inset: 0; background: rgba(3, 14, 20, .88); backdrop-filter: blur(6px); }
.mc-lightbox__panel {
  position: relative;
  width: min(100%, 68rem);
  display: grid;
  gap: .85rem;
  animation: mc-lightbox-in .32s var(--ease) both;
}
@keyframes mc-lightbox-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.mc-lightbox__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: #000;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}
.mc-lightbox__stage iframe { width: 100%; height: 100%; border: 0; }
.mc-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mc-lightbox__title {
  margin: 0;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.mc-lightbox__close {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: .5rem 1rem;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap; /* "CLOSE ✕" must never break inside the pill */
  flex: 0 0 auto;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.mc-lightbox__close:hover { border-color: var(--blue); background: var(--blue); color: #04222f; }
.mc-lightbox__close:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* The REC cursor is decorative; over a video it just gets in the way. */
body.lightbox-open .mc-cursor,
body.lightbox-open .mc-cursor-ring,
body.lightbox-open .mc-hud { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .mc-lightbox__panel { animation: none; }
}

/* ---------- Studio ---------- */
.mc-about { padding: clamp(8rem, 18vh, 14rem) 0 clamp(4rem, 8vh, 6rem); background: var(--paper); }
.mc-about__statement {
  max-width: 21ch;
  margin: 0 0 clamp(3rem, 7vh, 5rem);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3rem, 6.4vw, 6.6rem);
  font-weight: 400;
  line-height: .94;
  text-transform: uppercase;
}
.mc-about__statement em { color: var(--blue-ink); font-style: normal; }
.mc-about__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 60rem;
  color: var(--muted);
  line-height: 1.85;
}
.mc-about__cols p { margin: 0; }
.mc-badges { display: flex; flex-wrap: wrap; gap: .7rem; margin: clamp(3rem, 7vh, 4.5rem) 0 0; padding: 0; list-style: none; }
.mc-badges li {
  padding: .65rem 1.15rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: border-color .25s, color .25s, opacity 1s var(--ease), transform 1s var(--ease);
}
.mc-badges li:hover { border-color: var(--blue); color: var(--blue-text); }

/* ---------- Contact: the call sheet ---------- */
.mc-contact { padding: clamp(7rem, 16vh, 12rem) 0; border-top: 1px solid var(--rule); background: var(--paper-2); }
.mc-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.mc-contact__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.mc-socials { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.mc-socials a {
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--blue);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  transition: color .2s;
}
.mc-socials a:hover { color: var(--blue-text); }

.mc-callsheet {
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.6rem, 3vw, 2.8rem);
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 30px 60px -40px rgba(13, 27, 36, .35);
}
.mc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
/* align-content: start keeps fields in a row level — otherwise a field without
   an error line stretches its rows to match its neighbour and drops lower. */
.mc-field { display: grid; align-content: start; gap: .45rem; }
.mc-field > span,
.mc-callsheet legend {
  color: var(--muted);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.mc-field input,
.mc-field textarea {
  width: 100%;
  padding: .7rem .1rem;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: .98rem;
  transition: border-color .25s;
}
.mc-field textarea { min-height: 6.5rem; padding: .8rem .9rem; border: 1px solid var(--rule); border-radius: 10px; resize: vertical; }
.mc-field input:focus,
.mc-field textarea:focus { border-color: var(--blue); outline: 0; }
.mc-field input:focus-visible,
.mc-field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--blue); }
.mc-field input[aria-invalid="true"] { border-color: var(--danger); }
.mc-err { min-height: .9rem; color: var(--danger); font-size: .7rem; }

.mc-callsheet fieldset { margin: 0; padding: 0; border: 0; }
.mc-callsheet legend { margin-bottom: .8rem; padding: 0; }
.mc-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.mc-chip { position: relative; cursor: pointer; }
.mc-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mc-chip span {
  display: inline-block;
  padding: .6rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.mc-chip:hover span { border-color: var(--blue); }
.mc-chip input:checked + span { border-color: var(--blue); background: var(--blue); color: #04222f; font-weight: 600; }
.mc-chip input:focus-visible + span { outline: 2px solid var(--blue-ink); outline-offset: 3px; }

.mc-submit {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .9rem;
  padding: 1rem 1.6rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #04222f;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.mc-submit i { font-style: normal; }
.mc-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 174, 239, .85); }
.mc-submit:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.mc-note { min-height: 1.3rem; margin: 0; color: var(--muted); font-size: .85rem; }
.mc-note.is-error { color: var(--danger); }
.mc-note.is-success { color: var(--blue-text); font-weight: 600; }
.mc-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.mc-footer { padding: clamp(4.5rem, 10vh, 7rem) 0 3rem; border-top: 1px solid var(--rule); background: var(--paper); }
.mc-footer__inner { display: grid; justify-items: center; gap: 1.2rem; text-align: center; }
.mc-footer .wordmark__name { color: var(--ink); }
.mc-footer .wordmark__logo { width: 4.5rem; height: 4.5rem; }
.mc-footer__tag { margin: .4rem 0 0; color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.mc-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.mc-footer__links a {
  padding-bottom: .2rem;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  transition: border-color .2s, color .2s;
}
.mc-footer__links a:hover { border-color: var(--blue); color: var(--blue-text); }
.mc-footer__copy { margin: 0; color: var(--muted); font-size: .75rem; }
.mc-footer__top {
  margin-top: .6rem;
  padding: .7rem 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.mc-footer__top:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ---------- Header logo (badge replaces the old MC diamond) ---------- */
.wordmark__logo {
  display: block;
  flex: none;
  width: 3.6rem;
  height: 3.6rem;
  transition: width .35s var(--ease), height .35s var(--ease);
}
/* A touch smaller once the header condenses over the light sections. */
.site-header.is-scrolled .wordmark__logo { width: 3rem; height: 3rem; }

/* ---------- Chrome: channel HUD, REC cursor, grain ---------- */
.mc-hud {
  position: fixed;
  z-index: 800;
  top: 50%;
  right: 1.3rem;
  display: flex;
  gap: .8rem;
  color: rgba(255, 255, 255, .8);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .26em;
  pointer-events: none;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  transition: color .4s var(--ease);
}
.mc-hud__no { color: var(--blue); }
body.is-past-hero .mc-hud { color: var(--muted); }
body.is-past-hero .mc-hud__no { color: var(--blue-text); }

.mc-cursor,
.mc-cursor-ring { position: fixed; z-index: 9500; top: 0; left: 0; opacity: 0; pointer-events: none; }
.mc-cursor { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.mc-cursor__label { position: absolute; top: -5px; left: 14px; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.mc-cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 174, 239, .55);
  border-radius: 50%;
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, opacity .3s;
}
.mc-cursor-ring.is-hot { width: 62px; height: 62px; border-color: var(--blue); }
.has-mc-cursor .mc-cursor,
.has-mc-cursor .mc-cursor-ring { opacity: 1; }
.has-mc-cursor body,
.has-mc-cursor a,
.has-mc-cursor button,
.has-mc-cursor .mc-chip { cursor: none; }

.mc-grain {
  position: fixed;
  z-index: 700;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  transition: opacity .6s var(--ease);
}
body.is-past-hero .mc-grain { opacity: .06; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .mc-contact__inner { grid-template-columns: 1fr; }
  .mc-contact__intro { position: static; }
}
@media (max-width: 767px) {
  .mc-svc { grid-template-columns: 1fr; gap: 1.6rem; padding: 2rem 1.4rem 1.8rem; }
  .mc-svc__name { font-size: clamp(2.8rem, 13vw, 4rem); }
  .mc-about__cols, .mc-row2 { grid-template-columns: 1fr; }
  .mc-frame { width: 72vw; }
  .mc-hud { display: none; }
  .wordmark__logo,
  .site-header.is-scrolled .wordmark__logo { width: 2.8rem; height: 2.8rem; }
}

/* =====================================================================
   BRAND POLISH — cyan colour blocking, badge-derived graphics, motion.
   Everything here layers onto the light sections; nothing turns them dark.
   ===================================================================== */

/* Animatable colour for the viewfinder brackets (so hover fades, not snaps). */
@property --vf {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(0, 174, 239, .38);
}

/* ---------- 1. Colour blocking: soft cyan light washes ----------
   Sized in px, not %: these sections are thousands of px tall, and % radii
   stretch the glow into a tall streak. */
.mc-about,
.mc-services,
.mc-contact { position: relative; }
/* clip (not hidden): keeps the big rings from causing sideways scroll without
   breaking the sticky contact intro. */
.mc-about,
.mc-contact { overflow: clip; }

.mc-about::before,
.mc-services::before,
.mc-contact::before,
.mc-work__pin::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}
.mc-about::before { background: radial-gradient(720px 520px at 92% 18%, rgba(0, 174, 239, .16), transparent 70%); }
.mc-services::before { background: radial-gradient(760px 480px at 0% 0%, rgba(0, 174, 239, .13), transparent 70%); }
.mc-contact::before {
  background:
    radial-gradient(720px 520px at 6% 96%, rgba(0, 174, 239, .15), transparent 70%),
    radial-gradient(560px 420px at 98% 4%, rgba(0, 174, 239, .10), transparent 70%);
}
.mc-work__pin { position: relative; }
.mc-work.is-pinned .mc-work__pin { position: sticky; }
.mc-work__pin::before { background: radial-gradient(900px 460px at 50% 64%, rgba(0, 174, 239, .14), transparent 70%); }

/* Keep real content above the washes and rings. */
.mc-about > .section-shell,
.mc-services > .section-shell,
.mc-contact > .section-shell,
.mc-work__pin > * { position: relative; z-index: 1; }

/* ---------- 2. Badge-derived graphics ---------- */
/* The badge's solid-arc + dotted-arc ring, drawn large and faint, turning slowly. */
.mc-about::after,
.mc-contact::after {
  position: absolute;
  z-index: 0;
  aspect-ratio: 1;
  background: url("/brand/ring.svg") center / contain no-repeat;
  pointer-events: none;
  content: "";
  animation: mc-spin 110s linear infinite;
}
.mc-about::after { top: clamp(2rem, 7vh, 5rem); right: -9vw; width: clamp(22rem, 44vw, 42rem); opacity: .34; }
.mc-contact::after { bottom: -12vw; left: -10vw; width: clamp(20rem, 38vw, 36rem); opacity: .26; animation-direction: reverse; }
@keyframes mc-spin { to { transform: rotate(360deg); } }

/* Camera viewfinder corner brackets on cards — drawn with 8 background layers
   so they cost no extra markup. --vf is the bracket colour. */
.mc-svc,
.mc-callsheet {
  --vf-size: 22px;
  --vf-in: 14px;
  background:
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) top var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) top var(--vf-in) / 2px var(--vf-size) no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) top var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) top var(--vf-in) / 2px var(--vf-size) no-repeat,
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) bottom var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) bottom var(--vf-in) / 2px var(--vf-size) no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) bottom var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) bottom var(--vf-in) / 2px var(--vf-size) no-repeat,
    var(--card);
  transition: --vf .4s var(--ease), border-color .35s var(--ease), transform .45s var(--ease), box-shadow .35s var(--ease), opacity 1s var(--ease);
}
.mc-svc.is-visible:hover,
.mc-callsheet:focus-within { --vf: var(--blue); }

/* Film-sprocket edges on the Reel strip (they travel with the frames). */
.mc-film-track {
  padding-block: 32px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14'%3E%3Crect x='5' y='3' width='16' height='8' rx='2' fill='%230d1b24' fill-opacity='.2'/%3E%3C/svg%3E") left top / 26px 14px repeat-x,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14'%3E%3Crect x='5' y='3' width='16' height='8' rx='2' fill='%230d1b24' fill-opacity='.2'/%3E%3C/svg%3E") left bottom / 26px 14px repeat-x;
}

/* Viewfinder brackets on Reel posters, drawn in on hover. */
.mc-frame__poster::after {
  --vf: rgba(255, 255, 255, .9);
  --vf-size: 20px;
  --vf-in: 20px;
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) top var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) top var(--vf-in) / 2px var(--vf-size) no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) top var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) top var(--vf-in) / 2px var(--vf-size) no-repeat,
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) bottom var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) bottom var(--vf-in) / 2px var(--vf-size) no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) bottom var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) bottom var(--vf-in) / 2px var(--vf-size) no-repeat;
  opacity: 0;
  pointer-events: none;
  content: "";
  transition: opacity .35s var(--ease);
}
.mc-frame:hover .mc-frame__poster::after { --vf-in: 12px; opacity: 1; }

/* ---------- 3. Motion & texture ---------- */
/* Cursor spotlight inside each service card (position set by app.js). */
.mc-svc::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 174, 239, .13), transparent 60%);
  opacity: 0;
  pointer-events: none;
  content: "";
  transition: opacity .4s var(--ease);
}
.mc-svc.is-visible:hover::before { opacity: 1; }
.mc-svc__head,
.mc-svc__body { position: relative; z-index: 1; }

/* Reel posters: a cyan scan line sweeps the frame and the title eases open. */
.mc-frame__scan {
  position: absolute;
  z-index: 1;
  top: -20%;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 174, 239, .28) 70%, rgba(127, 223, 255, .95) 97%, transparent 100%);
  opacity: 0;
  pointer-events: none;
}
.mc-frame:hover .mc-frame__scan { opacity: 1; animation: mc-scan 1.9s linear infinite; }
@keyframes mc-scan { to { top: 100%; } }
.mc-frame__big { transition: transform .6s var(--ease), letter-spacing .6s var(--ease); }
.mc-frame:hover .mc-frame__big { transform: scale(1.06); letter-spacing: .08em; }

/* Kicker rules and the Studio highlight draw in as they scroll into view.
   Both are scoped to .js so no-JS visitors see the finished state. */
.mc-kicker::before { transform-origin: left; transition: transform .9s var(--ease) .15s; }
.js .mc-kicker:not(.is-visible)::before { transform: scaleX(0); }

.mc-about__statement em {
  background: linear-gradient(rgba(0, 174, 239, .26), rgba(0, 174, 239, .26)) left 90% / 100% .24em no-repeat;
  transition: background-size 1.3s var(--ease) .45s;
}
.js .mc-about__statement:not(.is-visible) em { background-size: 0% .24em; }

/* A little more tooth on the paper grain. */
body.is-past-hero .mc-grain { opacity: .09; }

@media (max-width: 767px) {
  .mc-about::after { right: -30vw; width: 90vw; opacity: .22; }
  .mc-contact::after { display: none; }
  .mc-svc,
  .mc-callsheet { --vf-in: 10px; --vf-size: 16px; }
}

/* =====================================================================
   SERVICE DETAIL PAGES (/services/<slug>/) — built by
   tools/build-service-pages.js. Same system as the home page: a dark stage
   up top (so the header behaves exactly as it does over the hero), then
   light paper sections with brand cyan.
   ===================================================================== */
.page-service { background: var(--paper); }

/* ---------- Dark title stage ---------- */
.sp-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 54rem);
  overflow: clip;
  padding: calc(var(--header-h) + 3rem) 0 clamp(3.5rem, 8vh, 6rem);
  background:
    radial-gradient(760px 520px at 82% 30%, rgba(0, 174, 239, .22), transparent 70%),
    radial-gradient(640px 420px at 8% 100%, rgba(0, 78, 107, .5), transparent 72%),
    #05070a;
  color: #fff;
}
.sp-hero::after {
  position: absolute;
  top: 50%;
  right: -8vw;
  width: clamp(22rem, 46vw, 46rem);
  aspect-ratio: 1;
  background: url("/brand/ring.svg") center / contain no-repeat;
  opacity: .55;
  pointer-events: none;
  content: "";
  transform: translateY(-50%);
  animation: sp-spin 120s linear infinite;
}
@keyframes sp-spin { to { transform: translateY(-50%) rotate(360deg); } }
.sp-hero__inner { position: relative; z-index: 1; }

.sp-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: clamp(2rem, 6vh, 4rem);
  color: #9fb4bd;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.sp-crumbs a { transition: color .25s ease; }
.sp-crumbs a:hover { color: var(--blue); }
.sp-crumbs [aria-current] { color: #fff; }

.sp-hero__no {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: .08em;
  line-height: 1;
}
.sp-hero__no::after { width: 3.5rem; height: 2px; background: var(--blue); content: ""; }

.sp-hero__name {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.4rem, 12vw, 12.5rem);
  font-weight: 400;
  letter-spacing: .004em;
  line-height: .84;
  text-transform: uppercase;
}
.sp-hero__headline {
  max-width: 34ch;
  margin: 1.8rem 0 0;
  color: #d2e4ea;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
}
.sp-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2.4rem; }
.sp-ghost {
  display: inline-flex;
  gap: .6rem;
  padding-bottom: .25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: border-color .25s ease, color .25s ease;
}
.sp-ghost i { font-style: normal; }
.sp-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Shared section rhythm ---------- */
.sp-intro,
.sp-offers,
.sp-why,
.sp-invest { position: relative; padding: clamp(5rem, 12vh, 9rem) 0; }
.sp-offers,
.sp-invest { background: var(--paper-2); border-block: 1px solid var(--rule); }
.sp-title { font-size: clamp(3rem, 7vw, 6.4rem); margin-bottom: clamp(2.2rem, 5vh, 3.6rem); }

/* ---------- Overview ---------- */
.sp-intro__lead {
  max-width: 30ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 1.02;
  text-transform: uppercase;
}
.sp-intro__body {
  max-width: 44rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.8;
}

/* ---------- What we offer ---------- */
.sp-offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.2rem;
}
.sp-offer {
  --vf-size: 18px;
  --vf-in: 12px;
  position: relative;
  padding: 2rem 1.8rem 1.9rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background:
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) top var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) top var(--vf-in) / 2px var(--vf-size) no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) bottom var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) bottom var(--vf-in) / 2px var(--vf-size) no-repeat,
    var(--card);
  transition: --vf .4s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), opacity 1s var(--ease);
}
.sp-offer.is-visible:hover {
  --vf: var(--blue);
  border-color: rgba(0, 174, 239, .5);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(0, 110, 160, .4);
}
.sp-offer__no { display: block; margin-bottom: 1.4rem; color: var(--blue-text); font-family: var(--display); font-size: 1.4rem; letter-spacing: .08em; }
.sp-offer__title {
  margin: 0 0 .8rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
}
.sp-offer p { margin: 0; color: var(--muted); line-height: 1.7; }

/* ---------- Why it matters ---------- */
.sp-why__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 0 clamp(2rem, 5vw, 5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: why;
}
.sp-why__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem 1.4rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
  counter-increment: why;
}
.sp-why__list li::before {
  grid-row: span 2;
  color: var(--blue);
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: .85;
  content: counter(why, decimal-leading-zero);
}
.sp-why__list strong { color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.sp-why__list span { color: var(--muted); line-height: 1.65; }

/* ---------- Investment ---------- */
.sp-draft {
  display: inline-block;
  margin: 0 0 2rem;
  padding: .55rem 1rem;
  border: 1px dashed #c98a00;
  border-radius: 8px;
  background: #fff6dc;
  color: #6b4a00;
  font-size: .78rem;
  font-weight: 600;
}
.sp-invest .mc-sub { margin: -1.4rem 0 clamp(2.4rem, 5vh, 3.6rem); }

.sp-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.sp-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.9rem 2rem;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(13, 27, 36, .04), 0 18px 40px -28px rgba(13, 27, 36, .28);
}
/* The recommended tier is marked by its label — and the label explains why
   it looks different, which an unexplained tint does not. */
.sp-tier--featured {
  border: 2px solid var(--blue);
  box-shadow: 0 30px 60px -32px rgba(0, 110, 160, .5);
}
.sp-tier__flag {
  position: absolute;
  top: 0;
  left: 1.9rem;
  margin: 0;
  padding: .35rem .8rem;
  border-radius: 0 0 8px 8px;
  background: var(--blue);
  color: #04222f;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.sp-tier--featured .sp-tier__name { margin-top: .9rem; }
.sp-tier__name {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
}
.sp-tier__blurb { min-height: 3.2em; margin: .6rem 0 1.4rem; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.sp-tier__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .6rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
}
.sp-tier__price small { width: 100%; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.sp-tier__price strong { color: var(--ink); font-family: var(--display); font-size: clamp(3rem, 4.4vw, 4.2rem); font-weight: 400; line-height: .9; }
.sp-tier__price span { color: var(--muted); font-size: .85rem; }
.sp-tier__list { flex: 1; display: grid; gap: .7rem; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.sp-tier__list li { position: relative; padding-left: 1.6rem; color: var(--ink); font-size: .92rem; line-height: 1.5; }
.sp-tier__list li::before {
  position: absolute;
  top: .42em;
  left: 0;
  width: .7rem;
  height: .38rem;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  content: "";
  transform: rotate(-45deg);
}
.sp-tier__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sp-tier__cta i { font-style: normal; }
.sp-tier__cta:not(.mc-submit):hover { background: var(--ink); color: #fff; }
.sp-tier__cta.mc-submit { justify-self: stretch; }

.sp-extras {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.6rem, 6vh, 4rem);
}
.sp-extras__title {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
}
.sp-addons, .sp-notes { margin: 0; padding: 0; list-style: none; }
.sp-addons li {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: .8rem 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-size: .95rem;
}
/* Dotted leader between the add-on and its price, like a rate card. */
/* The label may wrap (long add-on names on phones); the price never does. */
.sp-addons li span { flex: 0 1 auto; min-width: 0; }
.sp-addons li::after { flex: 1 0 1.5rem; order: 1; border-bottom: 1px dotted rgba(13, 27, 36, .3); content: ""; }
.sp-addons li b { order: 2; flex: none; color: var(--blue-text); font-weight: 700; }
.sp-notes li { position: relative; padding: .8rem 0 .8rem 1.2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .92rem; line-height: 1.6; }
.sp-notes li::before { position: absolute; top: 1.45rem; left: 0; width: .4rem; height: .4rem; border-radius: 50%; background: var(--blue); content: ""; }

/* ---------- Cyan call-to-action band ---------- */
.sp-cta { padding: clamp(4.5rem, 11vh, 8rem) 0; background: var(--blue); color: #04222f; }
.sp-cta__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem clamp(2rem, 6vw, 6rem); }
.sp-cta__title { margin: 0; font-family: var(--display); font-size: clamp(4rem, 10vw, 9.5rem); font-weight: 400; line-height: .84; text-transform: uppercase; }
.sp-cta p { max-width: 30rem; margin: 0 0 1.8rem; font-size: 1.1rem; font-weight: 500; line-height: 1.6; }
.sp-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: 1.05rem 1.7rem;
  border-radius: 999px;
  background: #04222f;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sp-cta__btn i { font-style: normal; color: var(--blue); }
.sp-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(4, 34, 47, .8); }

/* ---------- Other services ---------- */
.sp-more { padding: clamp(4rem, 10vh, 7rem) 0; background: var(--paper); }
.sp-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sp-more__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--card);
  transition: border-color .3s ease, transform .3s var(--ease);
}
.sp-more__link span { color: var(--blue-text); font-family: var(--display); font-size: 1.3rem; }
.sp-more__link strong { color: var(--ink); font-family: var(--display); font-size: 1.6rem; font-weight: 400; line-height: .95; text-transform: uppercase; }
.sp-more__link i { color: var(--blue); font-style: normal; transition: transform .3s var(--ease); }
.sp-more__link:hover { border-color: var(--blue); transform: translateY(-3px); }
.sp-more__link:hover i { transform: translateX(4px); }

@media (max-width: 1024px) {
  .sp-tiers { grid-template-columns: 1fr; max-width: 34rem; }
  .sp-tier__blurb { min-height: 0; }
  .sp-more__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .sp-hero { min-height: 78vh; }
  .sp-hero::after { right: -40vw; width: 100vw; opacity: .35; }
  .sp-extras, .sp-cta__inner { grid-template-columns: 1fr; }
  .sp-why__list { grid-template-columns: 1fr; }
}

/* ---------- Service pages: lanes ("What we make", split by audience) ---------- */
.sp-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.sp-lane {
  --vf-size: 20px;
  --vf-in: 14px;
  position: relative;
  padding: clamp(2rem, 3.4vw, 3rem);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background:
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) top var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) left var(--vf-in) top var(--vf-in) / 2px var(--vf-size) no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) bottom var(--vf-in) / var(--vf-size) 2px no-repeat,
    linear-gradient(var(--vf), var(--vf)) right var(--vf-in) bottom var(--vf-in) / 2px var(--vf-size) no-repeat,
    var(--card);
  transition: --vf .4s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), opacity 1s var(--ease), transform 1s var(--ease);
}
.sp-lane.is-visible:hover { --vf: var(--blue); border-color: rgba(0, 174, 239, .5); box-shadow: 0 24px 50px -30px rgba(0, 110, 160, .4); }
.sp-lane__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
  font-weight: 400;
  line-height: .88;
  text-transform: uppercase;
}
.sp-lane__title::after { display: block; width: 3.5rem; height: 5px; margin-top: .9rem; border-radius: 3px; background: var(--blue); content: ""; }
.sp-lane__lead { max-width: 42ch; margin: 1.2rem 0 1.6rem; color: var(--muted); line-height: 1.7; }
.sp-lane__list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 1.8rem; }
.sp-lane__list li {
  position: relative;
  padding: .6rem 0 .6rem 1.6rem;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  break-inside: avoid;
}
.sp-lane__list li::before {
  position: absolute;
  top: 1.02em;
  left: 0;
  width: .7rem;
  height: .38rem;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  content: "";
  transform: rotate(-45deg);
}

/* ---------- Service pages: "How we work" ---------- */
.sp-approach { position: relative; padding: clamp(5rem, 12vh, 9rem) 0; background: var(--paper); }
.sp-approach + .sp-why { background: var(--paper-2); border-top: 1px solid var(--rule); }
.sp-approach__intro { margin: -1.4rem 0 clamp(2.4rem, 5vh, 3.4rem); }

/* Before → after: the visitor's own words, then where MooCow gets them. */
.sp-shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 1.2rem;
  margin-bottom: clamp(2.6rem, 6vh, 4rem);
}
.sp-shift blockquote { margin: 0; padding: clamp(1.6rem, 2.6vw, 2.4rem); border-radius: 16px; }
.sp-shift span { display: block; margin-bottom: .9rem; font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.sp-shift p { margin: 0; font-family: var(--display); font-size: clamp(1.9rem, 2.9vw, 2.9rem); line-height: 1; text-transform: uppercase; }
.sp-shift__from { border: 1px dashed rgba(13, 27, 36, .28); background: var(--card); color: var(--muted); }
.sp-shift__to { background: var(--blue); color: #04222f; box-shadow: 0 26px 50px -30px rgba(0, 110, 160, .6); }
.sp-shift__to span { color: rgba(4, 34, 47, .72); }
.sp-shift__arrow { align-self: center; color: var(--blue); font-family: var(--display); font-size: 3rem; font-style: normal; line-height: 1; }

/* Fixed 3 / 2 / 1 columns: auto-fit put five in a row and orphaned the sixth. */
.sp-approach__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pts;
}
.sp-approach__points li {
  position: relative;
  padding: 1.15rem 1.2rem 1.15rem 3.4rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  counter-increment: pts;
}
.sp-approach__points li::before {
  position: absolute;
  top: 50%;
  left: 1.2rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  content: counter(pts, decimal-leading-zero);
  transform: translateY(-50%);
}

/* Three lanes sit in one row on wide screens (a 2-column grid would orphan the
   third). Cards are narrower there, so each checklist drops to one column. */
.sp-lanes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-lanes--3 .sp-lane__list { columns: 1; }
/* Keep every title on one line so the three leads and checklists line up. */
.sp-lanes--3 .sp-lane__title { font-size: clamp(2.3rem, 2.9vw, 3.2rem); white-space: nowrap; }
/* Subgrid: each card's number / title / lead / checklist share row tracks with
   its neighbours, so the checklists start level however long each lead runs.
   Browsers without subgrid just fall back to independent cards. */
.sp-lanes--3 { grid-template-rows: repeat(4, auto); }
.sp-lanes--3 .sp-lane {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  align-content: start;
  row-gap: 0;
}
@media (max-width: 1200px) {
  .sp-lanes--3 .sp-lane__title { font-size: clamp(2.6rem, 4.2vw, 4.2rem); white-space: normal; }
  .sp-lanes--3 { grid-template-rows: none; }
  .sp-lanes--3 .sp-lane { display: block; grid-row: auto; }
  .sp-lanes--3 { grid-template-columns: 1fr; }
  .sp-lanes--3 .sp-lane__list { columns: 2; }
}

@media (max-width: 1024px) {
  .sp-lanes { grid-template-columns: 1fr; }
  .sp-approach__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .sp-approach__points { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .sp-shift { grid-template-columns: 1fr; }
  .sp-shift__arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 480px) {
  .sp-lane__list,
  .sp-lanes--3 .sp-lane__list { columns: 1; }
}

/* Turnstile ("I am human" check) — only visible when keys are configured. */
.mc-turnstile { margin: .4rem 0 -.4rem; }
