/* =====================================================================
   G ORIGIN — Editorial Dual-Zone
   Design contract: DESIGN.md
   Fonts: Hanken Grotesk (Suisse Int'l role) · Fraunces Italic (Editorial New role)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --porcelain: #F6F4F1;
  --sand:      #E7E1DA;
  --ash:       #C8C5BF;
  --steel:     #47525D;
  --anthracite:#2D3136;
  --slate:     #181F24;
  --jet:       #0B0010;
  --teal:      #003B3D;

  /* Accent */
  --copper:    #B45A1D;
  --bronze:    #8C5A3D;

  /* Pure-white + near-black canvas (no beige) */
  --white:     #FFFFFF;
  --near-white:#F7F6F4;
  --black:     #0B0010;  /* hero / deepest */

  /* Roles */
  --bg:        var(--white);
  --ink:       var(--anthracite);
  --ink-soft:  var(--steel);

  /* Type */
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --serif: "Fraunces", Georgia, serif;

  /* Spacing (8px base) */
  --gutter: 80px;
  --maxw: 1280px;
  --readw: 640px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 96px; }
.section--tight { padding-block: 56px; }
.hero.section { padding-block: 120px 88px; }

/* ---------- Surfaces ---------- */
.surface--slate { background: var(--slate); color: var(--porcelain); }
.surface--teal  { background: var(--teal);  color: var(--porcelain); }
.surface--sand  { background: var(--sand);  color: var(--ink); }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 20px;
}
.eyebrow--ondark { color: var(--ash); }

.h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
  max-width: 16ch;
}
.h2--ondark { color: var(--porcelain); max-width: 22ch; }

.lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--steel);
  max-width: var(--readw);
  margin: 24px 0 0;
}
.lead--ondark { color: var(--ash); }

/* ---------- Section-end CTA (small pill, sits in normal flow) ---------- */
.btn--sm { padding: 11px 22px; font-size: 14px; }
.section-cta { margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .2px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn--primary { background: var(--copper); color: var(--white); }
.btn--primary:hover { background: var(--bronze); }
.btn--block { width: 100%; }
.btn--pill { border-radius: 999px; }
.btn--nav { padding: 11px 22px; font-size: 13px; }
.btn__arrow { transition: transform .2s var(--ease); }
.btn--primary:hover .btn__arrow { transform: translateX(3px); }

/* ===================================================================
   NAV  — floating pill, glass-blur on scroll
   =================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px var(--gutter) 0;
}
.nav__pill {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 14px 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
}
.nav.is-scrolled .nav__pill {
  background: rgba(255,255,255,0.7);
  backdrop-filter: saturate(150%) blur(20px);
  border-color: rgba(0,0,0,0.06);
  box-shadow: 0 8px 30px rgba(11,16,19,0.06);
}
.nav__logo { display: flex; align-items: center; gap: 9px; }
.nav__logo-mark-img { height: 26px; width: auto; display: block; }
.nav__logo-mark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -1px;
  color: var(--copper);
}
.nav__logo-word {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--white);
  transition: color .3s var(--ease);
}
.nav.is-scrolled .nav__logo-word { color: var(--ink); }

.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .5px;
  color: rgba(255,255,255,0.66);
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav.is-scrolled .nav__links a { color: var(--steel); }
.nav.is-scrolled .nav__links a:hover { color: var(--ink); }
.nav__toggle { display: none; }
.nav__toggle span { background: var(--white); }
.nav.is-scrolled .nav__toggle span { background: var(--ink); }

/* ===================================================================
   HERO — full-viewport black cinematic plane
   =================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding-block: 0 88px;
  isolation: isolate;
}

/* --- Video media (full-bleed, rounded, dark-graded) --- */
.hero__media {
  position: absolute;
  inset: 8px;
  z-index: -1;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  /* Fallback so the panel looks designed even before/without the video */
  background: linear-gradient(155deg, #181c20 0%, #0f1316 50%, var(--black) 100%);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.04);
  will-change: transform;
}
.hero__media-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 75%);
}
.hero__media-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 80% 22%, rgba(180,90,29,0.16) 0%, transparent 58%),
    linear-gradient(to top, rgba(8,8,12,0.86) 0%, rgba(8,8,12,0.30) 42%, transparent 72%),
    linear-gradient(to right, rgba(8,8,12,0.78) 0%, rgba(8,8,12,0.18) 48%, transparent 78%);
}
.hero__media-grain {
  position: absolute; inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Content --- */
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 8px;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 28px;
  opacity: 0;
  animation: heroFade .8s var(--ease) .15s forwards;
}
.hero__h1 {
  font-size: clamp(34px, 4.8vw, 66px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin: 0 0 28px;
  max-width: 800px;
  color: var(--white);
}
.hero__h1 .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__h1 .line__inner {
  display: block;
  transform: translateY(110%);
  animation: heroLineUp .9s var(--ease) forwards;
}
.hero__h1 .line:nth-child(1) .line__inner { animation-delay: .28s; }
.hero__h1 .line:nth-child(2) .line__inner { animation-delay: .40s; }
.hero__h1 .line:nth-child(3) .line__inner { animation-delay: .52s; }
.hero__h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #E8D9CC;
}
.hero__sub {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: rgba(246,244,241,0.72);
  max-width: 46ch;
  margin: 0 0 40px;
  opacity: 0;
  animation: heroFade .8s var(--ease) .7s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
  opacity: 0;
  animation: heroFade .8s var(--ease) .82s forwards;
}
.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(246,244,241,0.55);
  margin: 0;
  opacity: 0;
  animation: heroFade .8s var(--ease) .94s forwards;
}
.hero__proof-rule { width: 40px; height: 1px; background: var(--copper); flex: none; }

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
  opacity: 0;
  animation: heroFade 1s var(--ease) 1.2s forwards;
}
.hero__scroll-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(246,244,241,0.5);
}
.hero__scroll-track {
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
}
.hero__scroll-dot {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 14px;
  background: var(--copper);
  animation: heroScroll 1.8s var(--ease) infinite;
}

/* Ghost CTA (hero) */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* --- Hero keyframes --- */
@keyframes heroLineUp { to { transform: translateY(0); } }
@keyframes heroFade { to { opacity: 1; } }
@keyframes heroDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-4%, 3%); }
}
@keyframes heroScroll {
  0%   { transform: translateY(-14px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(44px); opacity: 0; }
}

/* Portrait placeholder (used by founder section) */
.imgslot {
  position: relative;
  margin: 0;
  background:
    repeating-linear-gradient(135deg, rgba(180,90,29,0.05) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, var(--anthracite), var(--slate));
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--ash);
}
.imgslot--portrait { aspect-ratio: 3 / 4; }
.imgslot__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--porcelain);
}
.imgslot__spec {
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--ash);
  max-width: 24ch;
}

/* ===================================================================
   SCROLLY — pinned hero → problem sequence
   =================================================================== */
.scrolly {
  position: relative;
  height: 420vh;             /* scroll track length — extra hold on resolved state */
  background: var(--white);
}
.scrolly__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}

/* White backdrop fades in as sequence resolves */
.scrolly__white {
  position: absolute; inset: 0;
  background: var(--white);
  opacity: 0;            /* driven by JS */
  z-index: 1;
}

/* Center media */
.scrolly__media {
  position: absolute;
  inset: 8px;
  z-index: 4;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  background: linear-gradient(155deg, #181c20 0%, #0f1316 50%, var(--black) 100%);
  transform-origin: center center;
  will-change: transform;
}
.scrolly__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.04);
}
.scrolly__media-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 75%);
}
.scrolly__media-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 80% 22%, rgba(180,90,29,0.16) 0%, transparent 58%),
    linear-gradient(to top, rgba(8,8,12,0.86) 0%, rgba(8,8,12,0.30) 42%, transparent 72%),
    linear-gradient(to right, rgba(8,8,12,0.78) 0%, rgba(8,8,12,0.18) 48%, transparent 78%);
  will-change: opacity;
}
.scrolly__media-grain {
  position: absolute; inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Gallery tiles */
.scrolly__tiles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.scrolly__tile {
  position: absolute;
  top: 0; left: 0;
  width: 9vw;
  max-width: 130px;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(11,16,19,0.10);
  background:
    repeating-linear-gradient(135deg, rgba(180,90,29,0.06) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #2b3036, #14181c);
  box-shadow: 0 18px 40px rgba(11,16,19,0.18);
  display: flex;
  align-items: flex-end;
  opacity: 0;            /* driven by JS */
  will-change: transform, opacity;
}
.scrolly__tile span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.3;
  color: rgba(246,244,241,0.7);
  padding: 12px;
}
.scrolly__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Headline group */
.scrolly__headline {
  position: absolute;
  left: 0; right: 0;
  bottom: 12vh;
  z-index: 6;
  will-change: transform, opacity;
}
.scrolly__headline .hero__actions { margin-top: 36px; margin-bottom: 0; opacity: 1; animation: none; }

/* Intermediate sub line */
.scrolly__sub {
  position: absolute;
  left: 0; right: 0;
  bottom: 14vh;
  z-index: 6;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--ink);
  opacity: 0;            /* driven by JS */
  will-change: transform, opacity;
}
.scrolly__sub span {
  display: inline-block;
  max-width: 26ch;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Section 2 — Problem resolves centered */
.scrolly__problem {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, 24px);
  width: min(680px, 86vw);
  text-align: center;
  z-index: 5;
  opacity: 0;            /* driven by JS */
  will-change: transform, opacity;
  padding-bottom: 56px;
}
.scrolly__problem .eyebrow { color: var(--steel); }
.scrolly__problem .h2 { max-width: none; margin-inline: auto; font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.5px; }
.scrolly__problem .lead { color: var(--steel); margin-inline: auto; font-size: 17px; line-height: 1.7; }

.scrolly__stage .hero__scroll { z-index: 6; }

/* Reduced motion / mobile / no-JS fallback: cinematic full-bleed hero */
.scrolly.is-static {
  height: auto;
  background: var(--black);
}
.scrolly.is-static .scrolly__stage {
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
}
.scrolly.is-static .scrolly__white { display: none; }
.scrolly.is-static .scrolly__tiles { display: none; }
.scrolly.is-static .scrolly__sub { display: none; }
.scrolly.is-static .scrolly__media {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100svh;
  border-radius: 0;
  transform: none !important;
  z-index: 2;
}
.scrolly.is-static .scrolly__media-overlay {
  opacity: 1 !important;
  background:
    linear-gradient(to top, rgba(8,8,12,0.90) 0%, rgba(8,8,12,0.52) 40%, rgba(8,8,12,0.18) 75%, transparent 100%),
    linear-gradient(to right, rgba(8,8,12,0.60) 0%, transparent 65%);
}
.scrolly.is-static .scrolly__headline {
  position: relative;
  bottom: auto;
  z-index: 6;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter, 22px) 56px;
  opacity: 1 !important;
  transform: none !important;
}
.scrolly.is-static .scrolly__headline .hero__eyebrow {
  opacity: 1;
  animation: none;
}
.scrolly.is-static .scrolly__headline .hero__h1 .line__inner {
  transform: none;
  animation: none;
}
.scrolly.is-static .scrolly__headline .hero__actions {
  opacity: 1;
  animation: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 0;
}
.scrolly.is-static .scrolly__headline .hero__actions .btn {
  width: 100%;
  border-radius: 999px;
  text-align: center;
  justify-content: center;
}
.scrolly.is-static .scrolly__headline .btn--ghost {
  display: none;
}
/* Problem section below the hero in static mode */
.scrolly.is-static .scrolly__problem {
  position: relative;
  left: auto; top: auto;
  z-index: 0;
  transform: none;
  opacity: 1;
  width: 100%;
  flex: none;
  text-align: left;
  padding: 72px var(--gutter, 22px);
  background: var(--white);
}
.scrolly.is-static .scrolly__problem .eyebrow { color: var(--steel); }
.scrolly.is-static .scrolly__problem .h2 { color: var(--ink); margin-inline: 0; max-width: none; }
.scrolly.is-static .scrolly__problem .lead { color: var(--steel); margin-inline: 0; }
.scrolly.is-static .hero__scroll { display: none; }

/* ===================================================================
   CLIENTS — marquee ticker with side fade
   =================================================================== */
.clients {
  background: var(--porcelain);
  overflow: hidden;
  padding-block: 72px;
  text-align: center;
}

.clients__top  { margin-bottom: 36px; }
.clients__bottom { margin-top: 28px; }

.clients__ticker-wrap {
  position: relative;
  overflow: hidden;
}

.clients__track {
  display: flex;
  align-items: center;
  gap: 0 52px;
  width: max-content;
  animation: clientsMarquee 22s linear infinite;
  padding-block: 10px;
}

@keyframes clientsMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.clients__item {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--anthracite);
  white-space: nowrap;
  flex-shrink: 0;
}

.clients__sep {
  color: var(--copper);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Side gradient fade */
.clients__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}
.clients__fade--left  { left:  0; background: linear-gradient(to right, var(--porcelain) 15%, transparent); }
.clients__fade--right { right: 0; background: linear-gradient(to left,  var(--porcelain) 15%, transparent); }

.clients__geo {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; }
}

/* ===================================================================
   PROBLEM
   =================================================================== */
.problem__inner { max-width: 760px; }
.scrolly__problem-cta { margin-top: 32px; display: inline-block; }
.problem .h2 { max-width: 18ch; }
.problem .lead { font-size: 21px; }

/* ===================================================================
   ORIGIN CONTROL MODEL v2 — sticky image + scrolling stages (Waabi pattern)
   =================================================================== */
.model2 {
  padding-block: 140px;
  background: var(--white);
  /* Entry state — children animate in on .is-in */
}

.model2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ---- Left: sticky image column ---- */
.model2__col-left {
  position: sticky;
  top: 120px;
}

.model2__frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--sand);
  /* Entry: scale up + rise */
  opacity: 0;
  transform: translateY(56px) scale(0.90);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.model2.is-in .model2__frame {
  opacity: 1;
  transform: none;
}

.model2__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

/* ---- Right: scrolling content ---- */
.model2__intro {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease) 0.18s, transform 0.8s var(--ease) 0.18s;
}
.model2.is-in .model2__intro {
  opacity: 1;
  transform: none;
}

.model2__h2 { max-width: 20ch; margin-top: 14px; }
.model2__lead { margin-top: 20px; max-width: 46ch; }

.model2__stages { display: flex; flex-direction: column; }

.model2__stage {
  padding: 48px 0;
  border-top: 1px solid var(--ash);
}
.model2__stage:last-child { border-bottom: 1px solid var(--ash); }

.model2__num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--copper);
  margin-bottom: 16px;
}

.model2__name {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--anthracite);
  margin: 0 0 16px;
}

.model2__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--steel);
  max-width: 42ch;
  margin: 0;
}

/* ===================================================================
   SAFETY → QUALITY → DELIVERY → COST — dark operating-system flow
   =================================================================== */
.sqdc2 { overflow: hidden; }
.sqdc2__h2 { margin-top: 14px; }
.sqdc2__lead { margin-top: 20px; }

.sqdc2__flow {
  display: flex;
  align-items: center;
  margin-top: 64px;
}

.sqdc2__node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: none;
  background: transparent;
  border: none;
  padding: 4px 0;
  text-align: left;
}

.sqdc2__node-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--steel);
  transition: color 0.3s var(--ease);
}

.sqdc2__node-label {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.1;
  color: var(--ash);
  transition: color 0.3s var(--ease);
}

.sqdc2__node:hover .sqdc2__node-label { color: var(--porcelain); }

.sqdc2__node.is-active .sqdc2__node-num,
.sqdc2__node.is-active .sqdc2__node-label { color: var(--copper); }

.sqdc2__line {
  flex: 1 1 auto;
  height: 1px;
  margin: 0 24px;
  background: var(--anthracite);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.sqdc2__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(180, 90, 29, 0.65), transparent);
  background-size: 60% 100%;
  background-repeat: no-repeat;
  animation: sqdc-breathe 3.6s ease-in-out infinite;
}
.sqdc2__line[data-line="1"]::after { animation-delay: 0.5s; }
.sqdc2__line[data-line="2"]::after { animation-delay: 1s; }
.sqdc2__line.is-filled { background: var(--copper); }
.sqdc2__line.is-filled::after { animation: none; display: none; }

@keyframes sqdc-breathe {
  0%   { background-position: -60% 0; opacity: 0; }
  15%  { opacity: 1; }
  50%  { background-position: 130% 0; opacity: 1; }
  85%  { opacity: 0; }
  100% { background-position: 130% 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sqdc2__line::after { animation: none; display: none; }
}

.sqdc2__panel {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--anthracite);
  max-width: 640px;
}

.sqdc2__desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ash);
  margin: 0;
}

@media (max-width: 680px) {
  .sqdc2__flow { flex-direction: column; align-items: flex-start; gap: 22px; }
  .sqdc2__line { display: none; }
}

/* ===================================================================
   WHO THIS IS FOR — carousel
   =================================================================== */
.fit__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}
.fit__heading-wrap .h2 { max-width: 18ch; }

.fit__arrows { display: flex; gap: 10px; flex-shrink: 0; }
.fit__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ash);
  background: transparent;
  color: var(--anthracite);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.fit__arrow:hover:not(:disabled) { border-color: var(--copper); color: var(--copper); }
.fit__arrow:disabled { opacity: 0.3; cursor: default; }

.fit__carousel-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.fit__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.35s ease;
}
.fit__fade--left  { left: 0;  background: linear-gradient(to right, var(--white) 0%, transparent 100%); }
.fit__fade--right { right: 0; background: linear-gradient(to left,  var(--white) 0%, transparent 100%); }

.fit__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-bottom: 12px;
}
.fit__track::-webkit-scrollbar { display: none; }

.fit__card {
  flex: 0 0 420px;
}
.fit__card-img {
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--sand);
}
.fit__card-img img,
.fit__card-img video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
  display: block;
}
.fit__card:hover .fit__card-img img,
.fit__card:hover .fit__card-img video { transform: scale(1.04); }

.fit__card-title {
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -.3px;
  color: var(--anthracite);
  margin: 0 0 10px;
  line-height: 1.25;
}
.fit__card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--steel);
  margin: 0;
}

.fit__footer { margin-top: 52px; }
.fit__not {
  padding-top: 28px;
  border-top: 1px solid var(--ash);
  font-size: 15px;
  color: var(--steel);
  max-width: 60ch;
  margin: 0;
}

@media (max-width: 860px) {
  .fit__card { flex: 0 0 340px; }
}
@media (max-width: 680px) {
  .fit__header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .fit__card { flex: 0 0 78vw; }
}

/* ===================================================================
   FOUNDER BENTO
   =================================================================== */
.founder2 { background: var(--white); }

.founder2__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 32px;
}
.founder2__h2 { max-width: 15ch; margin-top: 14px; }
.founder2__bio {
  font-size: 18px;
  line-height: 1.7;
  color: var(--steel);
  max-width: 48ch;
  margin: 0;
}

/* Bento grid */
.founder2__bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 560px;
}

/* Base card */
.f2card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

/* Grid positions */
.f2card--A { grid-column: 1; grid-row: 1; }
.f2card--B { grid-column: 2; grid-row: 1; }
.f2card--C { grid-column: 3; grid-row: 1 / 3; }
.f2card--D { grid-column: 1; grid-row: 2; }
.f2card--E { grid-column: 2; grid-row: 2; }

/* Image cards */
.f2card--img { background: var(--sand); }
.f2card--img img,
.f2card--img video,
.f2card--img .imgslot--fill {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  aspect-ratio: unset;
  border: none;
}

/* Stat cards */
.f2card--stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  gap: 10px;
}
.f2card--teal   { background: var(--teal);   }
.f2card--copper { background: var(--copper); }

.f2card__num {
  font-size: clamp(60px, 6.5vw, 92px);
  font-weight: 700;
  letter-spacing: -3px;
  color: var(--porcelain);
  line-height: 1;
  display: block;
}
.f2card__sup {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: -1px;
  vertical-align: super;
}
.f2card__markets {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  line-height: 1;
  display: block;
}
.f2card__label {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246,244,241,0.70);
  margin: 0;
  max-width: 30ch;
}
.f2card__clients {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 4px;
}
.f2card__clients span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

@media (max-width: 1024px) {
  .founder2__bento { height: 480px; }
}
@media (max-width: 860px) {
  .founder2__header { grid-template-columns: 1fr; gap: 20px; }
  .founder2__bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 240px 260px;
    height: auto;
  }
  .f2card--A { grid-column: 1 / 3; grid-row: 1; }
  .f2card--B { grid-column: 1;     grid-row: 2; }
  .f2card--C { grid-column: 2;     grid-row: 2 / 4; }
  .f2card--D { grid-column: 1;     grid-row: 3; }
  .f2card--E { display: none; }
}
@media (max-width: 680px) {
  .founder2__bento {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 220px 220px 300px;
    height: auto;
  }
  .f2card--A { grid-column: 1; grid-row: 1; }
  .f2card--B { grid-column: 1; grid-row: 2; }
  .f2card--C { grid-column: 1; grid-row: 4; }
  .f2card--D { grid-column: 1; grid-row: 3; }
  .f2card--E { display: none; }
}

/* ===================================================================
   IMPACT STAT
   =================================================================== */
.impact {
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding-block: 80px;
  text-align: center;
}
.impact__stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 20px 0 24px;
  line-height: 1;
}
.impact__prefix,
.impact__suffix {
  font-size: clamp(44px, 7.5vw, 100px);
  font-weight: 700;
  letter-spacing: -3px;
  color: var(--anthracite);
}
.impact__desc {
  font-size: 17px;
  color: var(--steel);
  max-width: 48ch;
  margin: 0 auto;
  line-height: 1.65;
}
.impact__note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ash);
}

/* AnimateNumber — vanilla port (same CSS as the React original) */
.an-root {
  --an-spring: linear(
    0, 0.028 2.5%, 0.0995 5%, 0.198 7.5%, 0.3106 10%, 0.4272 12.5%, 0.5405 15%,
    0.6454 17.5%, 0.7387 20%, 0.819 22.5%, 0.8856 25%, 0.9391 27.5%, 0.9803 30%,
    1.0107 32.5%, 1.0317 35%, 1.045 37.5%, 1.052 40%, 1.0543 42.5%, 1.053 45%,
    1.0493 47.5%, 1.044 50%, 1.0379 52.5%, 1.0316 55%, 1.0254 57.5%, 1.0197 60%,
    1.0146 62.5%, 1.0102 65%, 1.0065 67.5%, 1.0035 70%, 1.0012 72.5%, 0.9995 75%,
    0.9984 77.5%, 0.9976 80%, 0.9972 82.5%, 0.9971 85%, 0.9971 87.5%, 0.9973 90%,
    0.9976 92.5%, 0.9979 95%, 0.9983 97.5%, 1
  );
  --an-dist: 0.55em;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 7.5vw, 100px);
  font-weight: 700;
  letter-spacing: -3px;
  color: var(--anthracite);
}
.an-slot { position: relative; display: inline-block; }
.an-layer { display: inline-block; will-change: transform, opacity, filter; }
.an-out  { position: absolute; inset: 0; }
.an-in {
  animation:
    an-slide-in var(--an-dur, 450ms) var(--an-spring) both,
    an-resolve  var(--an-dur, 450ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.an-out {
  animation:
    an-slide-out var(--an-dur, 450ms) cubic-bezier(0.4, 0, 1, 1) both,
    an-dissolve  var(--an-dur, 450ms) cubic-bezier(0.4, 0, 1, 1) both;
}
@keyframes an-slide-in  { from { transform: translateY(calc(var(--an-dir,1) * var(--an-dist))); } to { transform: translateY(0); } }
@keyframes an-slide-out { from { transform: translateY(0); } to { transform: translateY(calc(var(--an-dir,1) * var(--an-dist) * -1)); } }
@keyframes an-resolve   { from { opacity: 0; filter: blur(var(--an-blur,21px)); } to { opacity: 1; filter: blur(0); } }
@keyframes an-dissolve  { from { opacity: 1; filter: blur(0); } to { opacity: 0; filter: blur(var(--an-blur,21px)); } }
@media (prefers-reduced-motion: reduce) {
  .an-in  { animation: none; }
  .an-out { animation: none; display: none; }
}

/* ===================================================================
   VERTICALS
   =================================================================== */
.verticals__h2 { margin-bottom: 56px; max-width: 20ch; }
.verticals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.vertical { padding-top: 24px; }
.vertical__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ash);
  margin-bottom: 24px;
}
.vertical__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.3px;
  margin: 0 0 14px;
  color: var(--ink);
}
.vertical__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--steel);
  margin: 0;
}

/* ===================================================================
   SECOND CTA (Slate)
   =================================================================== */
.cta2__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.cta2__line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  color: var(--porcelain);
  margin: 0 0 36px;
}

/* ===================================================================
   CONTACT FORM
   =================================================================== */
.contact { border-top: 1px solid var(--sand); }

.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.contact__intro { position: sticky; top: 120px; }
.contact__intro .h2 { max-width: 14ch; }
.contact__trust {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--sand);
  font-size: 14px;
  color: var(--steel);
  max-width: 40ch;
  line-height: 1.7;
}

/* Floating form card */
.contact__formwrap {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04), 0 8px 48px rgba(0,0,0,0.03);
}

/* Field system */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label, .checks legend {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
  padding: 0;
}
.field .opt { color: var(--ash); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ash);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ash); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(180, 90, 29, 0.08);
}
.field textarea { resize: vertical; }

/* Custom checkboxes */
.checks { border: 0; margin: 0 0 24px; padding: 0; }
.checks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.check span { line-height: 1; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  flex-shrink: 0;
  align-self: center;
  margin: 0;
  border: 1.5px solid var(--ash);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease);
  position: relative;
}
.check input:checked { background: var(--copper); border-color: var(--copper); }
.check input:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: 0; border-left: 0;
  transform: translate(-50%, -60%) rotate(45deg);
}
.check input:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

/* Submit */
.btn--block {
  width: 100%;
  padding-top: 17px;
  padding-bottom: 17px;
  font-size: 15px;
  margin-top: 8px;
}

/* Success state */
.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
}
.form__success-mark {
  width: 52px; height: 52px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  background: var(--teal);
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
}
.form__success-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--steel);
  max-width: 44ch;
  margin: 0 auto;
}
.form__error {
  margin-top: 12px;
  font-size: 14px;
  color: #c0392b;
  text-align: center;
}

/* ===================================================================
   OFFICES — Anthracite panel (sits above the Slate footer)
   Led by a dot-matrix world map. The DESIGN.md ban on maps was
   explicitly overridden by the client for this section.
   =================================================================== */
.surface--anthracite { background: var(--anthracite); color: var(--porcelain); }

.offices { padding-block: 88px; }

.offices__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246, 244, 241, 0.14);
}
.offices__head .h2 { max-width: 18ch; text-wrap: balance; }
/* --- Dot-matrix world map ---------------------------------------
   Generated from Natural Earth 110m data (2,355 land squares in one
   path; ~0.9 KB gzipped). Inline so it inherits brand tokens and
   needs no extra request. --------------------------------------- */
.worldmap {
  position: relative;
  margin: 48px 0 0;
}
.worldmap__svg { display: block; width: 100%; height: auto; }
.worldmap__land { fill: rgba(246, 244, 241, 0.28); }

/* Zero-size anchors sit on the exact projected coordinate, so the marker
   stays registered to the map at every width. */
.worldmap__pin { position: absolute; width: 0; height: 0; }
.worldmap__pin--pune   { left: 70.520%; top: 44.409%; }
.worldmap__pin--epping { left: 91.970%; top: 83.468%; }

/* Office blocks, seated on the coordinate rather than centred on it */
.worldmap__icon {
  position: absolute;
  left: 0; top: 0;
  width: 16px; height: 18px;
  margin: -18px 0 0 -8px;
  fill: var(--copper);
}

.worldmap__label {
  position: absolute;
  top: -22px;
  left: 12px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--porcelain);
}
.worldmap__pin--epping .worldmap__label { left: auto; right: 12px; }

.offices__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* The divider is the grid, not a border on the card */
.offices__grid > .office + .office {
  border-left: 1px solid rgba(246, 244, 241, 0.14);
  padding-left: 56px;
}
.offices__grid > .office { padding-top: 48px; padding-right: 56px; }

.office__city {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--porcelain);
  margin: 0 0 26px;
}

.office__entity {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: var(--porcelain);
  margin: 0 0 8px;
}
.office__addr {
  font-style: normal;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ash);
  margin: 0 0 28px;
  max-width: 36ch;
}
.office__contact { display: grid; gap: 12px; }
.office__contact li {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  color: var(--porcelain);
}
.office__k {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ash);
}
.office__contact a {
  color: var(--porcelain);
  /* Grid items stretch by default, which would run the underline the full
     column width and read as a divider rule. Shrink to the text. */
  justify-self: start;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(246, 244, 241, 0.22);
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.office__contact a:hover { color: var(--copper); border-bottom-color: var(--copper); }


/* ===================================================================
   FOOTER
   =================================================================== */
.footer { padding-block: 56px; }
.footer__inner { display: flex; flex-direction: column; gap: 14px; }
.footer__brand { display: flex; align-items: center; gap: 9px; }
.footer__logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--porcelain);
  border-radius: 7px;
  padding: 4px 5px;
}
.footer__logo-mark-img { height: 18px; width: auto; display: block; }
.footer__line { font-size: 14px; color: var(--ash); margin: 0; }
.footer__copy { font-size: 13px; color: var(--steel); margin: 0; }


/* ===================================================================
   MOTION (reveal)
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__eyebrow, .hero__sub, .hero__actions, .hero__scroll { opacity: 1; animation: none; }
  .hero__h1 .line__inner { transform: none; animation: none; }
  .hero__video, .hero__scroll-dot { animation: none; }
  .marquee__track { animation: none; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  :root { --gutter: 48px; }
  .hero__h1 { letter-spacing: -2px; }
  .founder__grid { grid-template-columns: 1fr; gap: 40px; }
  .founder__visual { max-width: 420px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__intro { position: static; }
}

@media (max-width: 860px) {
  .model2__grid { grid-template-columns: 1fr; gap: 48px; }
  .model2__col-left { position: static; }
  .model2__frame { aspect-ratio: 16 / 9; }
  .verticals__grid { grid-template-columns: 1fr; gap: 0; }
  .fit__grid { grid-template-columns: 1fr; gap: 32px; }
  /* Two columns would squeeze the long email addresses — collapse here.
     The divider becomes horizontal so the rule grammar survives. */
  .offices__grid { grid-template-columns: 1fr; }
  .offices__grid > .office { padding-right: 0; }
  .offices__grid > .office + .office {
    border-left: 0;
    border-top: 1px solid rgba(246, 244, 241, 0.14);
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  :root { --gutter: 22px; }
  .section { padding-block: 64px; }

  /* Offices panel */
  .offices { padding-block: 64px; }
  .offices__head { padding-bottom: 28px; gap: 12px; }
  .offices__grid > .office { padding-top: 36px; }
  .office__city { margin-bottom: 22px; }
  .worldmap { margin-top: 32px; }
  .worldmap__icon { width: 12px; height: 13.5px; margin: -13.5px 0 0 -6px; }
  .worldmap__label { font-size: 9.5px; letter-spacing: .08em; top: -14px; left: 9px; }
  .worldmap__pin--epping .worldmap__label { left: auto; right: 9px; }
  .office__contact { gap: 16px; }
  .office__contact li { grid-template-columns: 1fr; gap: 2px; }
  /* Roomier tap targets for tel:/mailto: on touch */
  .office__contact a { padding-block: 6px; }
  .hero.section { padding-block: 88px 64px; }

  /* Mobile nav — pill + dropdown panel */
  .nav { padding-top: 24px; }
  .nav__pill {
    background: rgba(11,16,19,0.55);
    backdrop-filter: saturate(150%) blur(16px);
    border-color: rgba(255,255,255,0.1);
    padding: 10px 12px 10px 18px;
  }
  .nav.is-scrolled .nav__pill { background: rgba(255,255,255,0.82); }
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter); right: var(--gutter);
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 8px 20px;
    box-shadow: 0 20px 50px rgba(11,16,19,0.18);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s var(--ease);
    margin-left: 0;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 16px 0; color: var(--ink); border-bottom: 1px solid rgba(0,0,0,0.06); }
  .nav__links a:last-child { border-bottom: 0; }
  .btn--nav { display: none; }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 44px; height: 44px;
    background: none;
    border: 0;
  }
  .nav__toggle span {
    display: block;
    width: 22px; height: 2px;
    margin-inline: auto;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav__toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .hero { min-height: 100svh; padding-bottom: 72px; }
  .hero__media { inset: 6px; border-radius: 24px; }
  .hero__h1 { letter-spacing: -1.5px; line-height: 1.0; }
  .hero__media-grid { background-size: 64px 64px; }
  .hero__scroll { display: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .checks__grid { grid-template-columns: 1fr; }
  .contact__formwrap { padding: 28px 24px; border-radius: 16px; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

@media (max-width: 759px) {
  .scrolly.is-static .scrolly__headline {
    padding-bottom: 48px;
  }
  .scrolly.is-static .hero__h1 {
    font-size: clamp(32px, 9vw, 44px);
    letter-spacing: -1px;
    line-height: 1.05;
  }
}

/* ===================================================================
   MOBILE PUNCH — premium mobile experience improvements
   =================================================================== */

@keyframes mobileSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes mobileTileIn {
  from { opacity: 0; transform: translateY(12px) scale(0.86); }
  to   { opacity: 1; transform: none; }
}

/* — Hero: re-enable entry animations in is-static (mobile) mode — */
@media (max-width: 759px) {
  .scrolly.is-static .scrolly__headline .hero__eyebrow {
    animation: mobileSlideUp 0.55s var(--ease) 0.20s both !important;
  }
  .scrolly.is-static .scrolly__headline .hero__h1 .line__inner {
    animation: mobileSlideUp 0.65s var(--ease) 0.38s both !important;
    transform: none !important;
  }
  .scrolly.is-static .scrolly__headline .hero__actions {
    animation: mobileSlideUp 0.65s var(--ease) 0.62s both !important;
  }
  /* Stronger gradient so text is crisp regardless of which video frame is visible */
  .scrolly.is-static .scrolly__media-overlay {
    background:
      linear-gradient(to top,  rgba(8,8,12,0.96) 0%, rgba(8,8,12,0.62) 45%, rgba(8,8,12,0.18) 100%),
      linear-gradient(to right, rgba(8,8,12,0.68) 0%, transparent 82%) !important;
  }
  /* Show 2 tile decorations in the hero — top-right and mid-right corners */
  .scrolly.is-static .scrolly__tiles { display: block !important; }
  .scrolly.is-static .scrolly__tile  { display: none; }
  .scrolly.is-static .scrolly__tile:nth-child(5) {
    display: flex;
    top: 13vh; left: auto; right: 18px;
    width: 64px; max-width: 64px;
    opacity: 0;
    transform: none !important;
    animation: mobileTileIn 0.7s var(--ease) 0.90s both !important;
  }
  .scrolly.is-static .scrolly__tile:nth-child(6) {
    display: flex;
    top: 47vh; left: auto; right: 18px;
    width: 64px; max-width: 64px;
    opacity: 0;
    transform: none !important;
    animation: mobileTileIn 0.7s var(--ease) 1.10s both !important;
  }
}

@media (max-width: 680px) {
  /* Carousel: 160px fades cover half a 375px viewport — reduce dramatically */
  .fit__fade { width: 48px; }

  /* Founder bento: fix vertical portrait head cropping */
  .f2card--C img { object-position: top center; }

  /* Founder bento: taller portrait card row for stronger visual presence */
  .founder2__bento {
    grid-template-rows: 280px 200px 200px 360px;
  }

  /* Model section: 280px padding on mobile is excessive */
  .model2 { padding-block: 64px; }

  /* Model stages: tighten divider spacing on small screens */
  .model2__stage { padding: 36px 0; }

  /* Model photo: 4:3 gives better visual mass than 16:9 at 375px */
  .model2__frame { aspect-ratio: 4 / 3; }
}
