/* =========================================================================
   GothamIP v2 — red & white brand theme (minimal: no decorative motion
   outside the Home hero and the Home / About footer)
   White pages, near-black type, GothamIP red. Editorial serif display,
   tight grotesk body, mono labels. Red panels host the Three.js scenes.
   Two reds: --red-brand is the logo red (decorative / large type only);
   --red is the same hue a step deeper so white text on it passes WCAG AA.
   ========================================================================= */

:root {
  --paper: #FFFFFF;
  --paper-2: #F6F4F3;
  --card: #FAFAFA;
  --ink: #141414;
  --ink-2: #3A3A3A;
  --ink-3: #646464;
  --line: rgba(20, 20, 20, .12);
  --line-strong: rgba(20, 20, 20, .28);
  --red: #D72F25;
  --red-brand: #F2392F;
  --accent: var(--red);
  --accent-em: var(--red);
  --focus: var(--red);
  --on-red: #FFFFFF;

  --f-display: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --f-sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --r: 18px;
  --r-lg: 28px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --nav-h: 72px;
}

/* Red panel context — every token flips, so components adapt automatically.
   All text stays pure white: lighter tints of white fall below 4.5:1 on red. */
.panel {
  --paper: var(--red);
  --ink: var(--on-red);
  --ink-2: var(--on-red);
  --ink-3: var(--on-red);
  --line: rgba(255, 255, 255, .22);
  --line-strong: rgba(255, 255, 255, .45);
  --accent-em: var(--on-red);
  --focus: var(--on-red);
  background: var(--red);
  color: var(--on-red);
}
/* italic accents in big headlines on red read as black, echoing the logo */
.panel .display em, .panel .h2 em { color: #141414; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* scrollbar-gutter: opening the menu locks scrolling; keeping the scrollbar's space stops the whole page re-flowing (and jumping) on Windows */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scrollbar-gutter: stable; }
body {
  margin: 0; min-height: 100vh;
  background: var(--paper); color: var(--ink);
  font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 1100;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px;
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 16px; }

/* Lenis smooth scrolling (recommended base styles) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.ico {
  width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
main { padding-top: calc(var(--nav-h) + 12px); }
.section { padding-block: clamp(88px, 11vw, 168px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.center { text-align: center; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.7rem, 8.4vw, 8rem); line-height: .94; letter-spacing: -.025em;
}
.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1; letter-spacing: -.02em;
}
.h3 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.6rem, 2.1vw, 1.95rem); line-height: 1.08; letter-spacing: -.01em;
}
.display em, .h2 em, .h3 em { font-style: italic; color: var(--accent-em); }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.26rem); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.label {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); line-height: 1.5;
}
.body-2 { color: var(--ink-2); }

/* ---------- Brand ---------- */
/* the logo image links home everywhere; a white version sits on red */
.brand { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.brand__logo { display: block; height: 28px; width: auto; }
.brand__logo--light { position: absolute; left: 0; top: 50%; translate: 0 -50%; opacity: 0; transition: opacity .3s; }
.brand__logo--dark { transition: opacity .3s; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid transparent;
  font-weight: 500; font-size: .98rem; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, scale .2s var(--ease-out);
  touch-action: manipulation;
}
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover { --bg: var(--accent); --fg: #fff; }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { scale: .97; }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { --bg: var(--ink); --fg: var(--paper); border-color: var(--ink); }
.panel .btn:hover { --bg: #141414; --fg: #fff; border-color: #141414; }
.panel .btn--line:hover { --bg: var(--on-red); --fg: var(--red); border-color: var(--on-red); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 6px; left: 12px; right: 12px; z-index: 100;
  height: var(--nav-h); border-radius: 18px; display: flex; align-items: center;
  transition: background-color .35s, box-shadow .35s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--line), 0 14px 34px -22px rgba(20, 20, 20, .35);
}
.nav__inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: clamp(10px, 2vw, 20px); }
.nav__cta { min-height: 44px; padding: 0 18px; font-size: .9rem; margin-left: auto; } /* sits beside the Menu button */
/* Menu toggle — in the fixed nav on every page and every screen size */
.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 5px 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .6);
  font-size: .92rem; font-weight: 500; color: var(--ink); flex-shrink: 0;
  transition: color .3s, border-color .3s, background-color .3s, scale .2s var(--ease-out);
}
.menu-toggle:active { scale: .96; }
.menu-toggle:hover { border-color: var(--red); color: var(--red); }
.menu-toggle__icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); transition: background-color .3s; }
.menu-toggle__icon span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff;
  transition: transform .45s var(--ease-out), background-color .3s;
}
.menu-toggle__icon span:nth-child(1) { top: 13.5px; }
.menu-toggle__icon span:nth-child(2) { top: 19px; }
.menu-toggle:hover .menu-toggle__icon { background: var(--red); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }
@media (max-width: 640px) { .nav__cta { display: none; } } /* phones: logo + Menu only */

/* menu open: nav sits on the red menu — white logo, white toggle, desktop links step aside */
.menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav .brand__logo--dark { opacity: 0; }
.menu-open .nav .brand__logo--light { opacity: 1; }
.menu-open .nav__cta { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.menu-open .menu-toggle { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.menu-open .menu-toggle__icon { background: #fff; }
.menu-open .menu-toggle__icon span { background: var(--red); }

/* ---------- Menu ----------
   A red overlay with the page links; the fixed nav stays on top with the Close button. */
.site { position: relative; }
.offcanvas {
  position: fixed; inset: 0; z-index: 99; overflow: hidden; visibility: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.menu-open .offcanvas { visibility: visible; }
.offcanvas__menu { width: 100%; padding: calc(var(--nav-h) * .6) clamp(16px, 3vw, 40px) 0; }
.oc-row { position: relative; display: flex; }
.oc-r1 { justify-content: flex-end; font-size: min(9.4vw, 15vh); }
.oc-r2 { justify-content: flex-end; padding-right: 2vw; font-size: min(7.6vw, 12.5vh); }
.oc-r3 { font-size: min(7.6vw, 12.5vh); }
.oc-r4 { justify-content: space-between; padding-left: 1vw; font-size: min(8.6vw, 16vh); }
.oc-r5 { justify-content: space-between; padding-left: .5vw; font-size: min(6.6vw, 12.5vh); }
.oc-link {
  display: inline-block; font-family: var(--f-sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: -.04em; line-height: .94; color: #fff; transition: color .25s, translate .35s var(--ease-out);
}
.oc-link:hover, .oc-link:focus-visible { color: #141414; }
.oc-link:focus-visible { outline-offset: 6px; }
.oc-link[aria-current="page"] { font-family: var(--f-display); font-weight: 400; font-style: italic; text-transform: none; letter-spacing: -.025em; }
.offcanvas__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(18px, 4vh, 32px);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
}
.offcanvas__foot a { min-height: 32px; display: inline-flex; align-items: center; }
.offcanvas__foot a:hover { color: #141414; }
@media (max-width: 760px) {
  .oc-r1 { font-size: 13vw; } .oc-r2, .oc-r3 { font-size: 11vw; }
  .oc-r4 { font-size: 9.6vw; } .oc-r5 { font-size: 7.6vw; }
}

/* ---------- Night frames (heroes) ---------- */
.frame { position: relative; margin-inline: 12px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: -2; }
.scene canvas { width: 100%; height: 100%; }
.shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(130% 95% at 0% 100%, rgba(215, 47, 37, .95) 0%, rgba(215, 47, 37, .65) 42%, rgba(215, 47, 37, 0) 72%),
    linear-gradient(180deg, rgba(215, 47, 37, .4) 0%, rgba(215, 47, 37, 0) 30%);
}
.hero, .pagehero {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(96px, 14vh, 160px) clamp(24px, 5vw, 72px) clamp(28px, 5vw, 64px);
}
.hero { min-height: calc(100svh - var(--nav-h) - 24px); }
.pagehero { min-height: min(80svh, 780px); }
.hero__top {
  position: absolute; top: clamp(22px, 3vw, 36px); left: clamp(24px, 5vw, 72px); right: clamp(24px, 5vw, 72px);
  display: flex; justify-content: space-between; gap: 16px;
}
.hero__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 56px; margin-top: clamp(28px, 4.5vw, 56px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pagehero .display { max-width: 14ch; }
.pagehero .lead { margin-top: clamp(22px, 3vw, 32px); }

/* ---------- Marquee ---------- */
.marquee {
  display: flex; overflow: hidden; user-select: none;
  border-block: 1px solid var(--line); padding-block: clamp(22px, 3vw, 36px); margin-top: clamp(40px, 6vw, 72px);
}
.marquee__group {
  display: flex; flex-shrink: 0; align-items: center; gap: clamp(28px, 4vw, 56px);
  padding-right: clamp(28px, 4vw, 56px); animation: marquee 42s linear infinite;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 56px);
  font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.1; white-space: nowrap;
}
.marquee__item:nth-child(even) { font-style: italic; color: var(--ink-3); }
.marquee__item::after { content: ''; width: 9px; height: 9px; background: var(--accent); rotate: 45deg; flex-shrink: 0; }
.marquee:hover .marquee__group { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
/* Home: brand logo slideshow. Each logo carries its balanced size (--w × --h, in px at desktop) */
.marquee--logos { --u: 1px; }
.marquee--logos .marquee__group { gap: clamp(44px, 5.5vw, 88px); padding-right: clamp(44px, 5.5vw, 88px); }
.marquee--logos .marquee__item { gap: 0; }
.marquee--logos .marquee__item::after { display: none; }
.marquee__logo { width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); max-width: none; object-fit: contain; }
@media (max-width: 640px) { .marquee--logos { --u: .72px; } }

/* About: press names as a simple static list */
.press {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 6vw, 72px); padding-block: clamp(22px, 3vw, 36px); border-block: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.1;
}
.press li:nth-child(even) { font-style: italic; color: var(--ink-3); }

/* ---------- Section heads ---------- */
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px);
}
.sec-index {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.sec-index b { color: var(--accent-em); font-weight: 500; }
.sec-head--stack { grid-template-columns: 1fr; }
.sec-head--stack .lead { margin-top: -4px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Stats ledger ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 32px clamp(16px, 2vw, 28px) 4px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--f-display); font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat__num small { font-size: .36em; letter-spacing: 0; margin-left: .2em; color: var(--ink-3); }
.stat .label { margin-top: 14px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 340px;
  padding: clamp(24px, 2.4vw, 32px); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color .2s;
}
.card:hover { border-color: var(--line-strong); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
/* company logos at the top of a portfolio card (balanced sizes, like the slideshow) */
.card__logos { --u: .78px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; min-height: 56px; }
.card__logos img { width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); max-width: 100%; object-fit: contain; object-position: left center; }
/* a Gotham operating brand (Gotham Sweets, Gotham Pizza) leads on its own line; the franchise brands follow */
.card__break { flex-basis: 100%; height: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: background-color .35s, border-color .35s, color .35s;
}
.card__icon .ico { width: 22px; height: 22px; }
.card:hover .card__icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.card .h3 { margin-top: auto; padding-top: 32px; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px;
  font-weight: 500; font-size: .95rem; align-self: flex-start;
}
.card__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card__link .ico { width: 16px; height: 16px; }
.card:hover .card__link { color: var(--accent); }
.card--short { min-height: 280px; }

/* ---------- Feature ledger ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 28px 0 40px; border-top: 1px solid var(--line); }
.feature__ico { color: var(--accent-em); }
.feature__ico .ico { width: 28px; height: 28px; }
.feature h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.feature p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 1080px) { .features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features, .features--4, .features--2 { grid-template-columns: 1fr; } }

/* ---------- Split + visual ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.visual {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line);
}
.visual--wide { aspect-ratio: 4 / 3; }
.visual__cap {
  position: absolute; left: 24px; right: 24px; bottom: 20px;
  display: flex; justify-content: space-between; gap: 12px;
}
@media (max-width: 900px) { .visual { aspect-ratio: 4 / 3; } }

.numlist { counter-reset: n; margin-top: 32px; }
.numlist li {
  display: grid; grid-template-columns: 52px 1fr; align-items: baseline; gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.04rem;
}
.numlist li:last-child { border-bottom: 1px solid var(--line); }
.numlist li::before {
  counter-increment: n; content: counter(n, decimal-leading-zero);
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; color: var(--accent-em);
}

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; color: var(--ink-2);
}

/* ---------- Bands (night CTA panels inside the container) ---------- */
.band { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; padding: clamp(32px, 6vw, 80px); }
.band .h2 { max-width: 18ch; }
.band--center { text-align: center; }
.band--center .h2, .band--center .lead { margin-inline: auto; }

/* ---------- Steps timeline ---------- */
.steps-wrap { position: relative; padding-top: 56px; }
.steps__track { position: absolute; top: 18px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.steps__fill { position: absolute; inset: 0; background: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.step {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 2.4vw, 30px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
}
.step::before {
  content: ''; position: absolute; top: -44px; left: clamp(24px, 2.4vw, 30px);
  width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 1px solid var(--accent);
}
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; margin-top: 18px; }
.step p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 900px) {
  .steps-wrap { padding-top: 0; padding-left: 36px; }
  .steps__track { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .steps { grid-template-columns: 1fr; }
  .step::before { top: 32px; left: -36px; }
}

/* ---------- Team ---------- */
.member {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
}
.avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 28px;
  background: var(--ink); color: var(--paper); font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .02em;
  transition: background-color .35s;
}
.member h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.member__role { color: var(--ink-2); font-size: .95rem; }
.member .label { margin-top: 10px; }

.founder { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.founder__portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 28px;
}
.founder__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__mono { font-family: var(--f-display); font-style: italic; font-size: clamp(7rem, 16vw, 13rem); line-height: .8; color: #fff; letter-spacing: -.04em; align-self: flex-end; margin-top: auto; }
.founder__body p + p { margin-top: 18px; }
.founder__body .label { margin: 32px 0 14px; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } .founder__portrait { aspect-ratio: 16 / 11; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; padding-block: 12px; }
.field label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.field .req { color: var(--accent); }
.field__ctl { position: relative; }
.field__ctl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.field__ctl:focus-within::after, .field.has-error .field__ctl::after { transform: scaleX(1); }
.field input, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: 10px 0 12px;
  font: inherit; font-size: 1.08rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #8A8A8A; }
.field select {
  display: block; width: 100%; min-height: 50px; padding: 10px 28px 12px 0; appearance: none; -webkit-appearance: none;
  font: inherit; font-size: 1.08rem; color: var(--ink); border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646464' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 2px center / 18px no-repeat;
}
.field select:focus { outline: none; }
.field input[type="file"] { padding-top: 12px; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s;
}
.field input[type="file"]::file-selector-button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.field__hint { font-size: .86rem; color: var(--ink-3); }
.field__err { font-size: .86rem; color: var(--accent); }
.field__err:empty { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 20px; }
.form__status { font-size: .95rem; color: var(--ink-2); }
.form__trap { display: none !important; } /* honeypot: people never see it, bots fill it in */
.btn[disabled] { opacity: .55; cursor: progress; }

.info { display: grid; }
.info li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.info li:last-child { border-bottom: 1px solid var(--line); }
.info__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--accent-em); }
.info__ico .ico { width: 20px; height: 20px; }
.info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.info p { color: var(--ink-2); }

/* ---------- Locations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: .94rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--ink); }
.filter__n { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); transition: color .25s; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.filter[aria-pressed="true"] .filter__n { color: #fff; }
.loc-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.loc {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
}
.loc[hidden] { display: none; }
.loc__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.loc__brand::before { content: ''; width: 7px; height: 7px; background: var(--accent); rotate: 45deg; }
.loc__tag { font-family: var(--f-sans); text-transform: none; letter-spacing: 0; font-size: .74rem; padding: 2px 9px; border-radius: 999px; background: rgba(215, 47, 37, .09); color: var(--accent); }
.loc h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.65rem; line-height: 1.1; }
.loc__addr { color: var(--ink-2); font-size: .95rem; }
.loc__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; align-self: flex-start; font-weight: 500; font-size: .95rem; color: var(--accent); }
.loc__tel::before {
  content: ''; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.loc__tel:hover { text-decoration: underline; text-underline-offset: 3px; }
.address-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.address-band__main { display: flex; align-items: center; gap: 20px; }
.address-band p:last-child { font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; margin-top: 4px; }


/* ---------- Centred single-column section (Home "Our approach") ---------- */
.sec-index--center { justify-content: center; }
.solo { max-width: 46rem; margin-inline: auto; text-align: center; }
.solo .lead { margin-inline: auto; }
.solo .numlist { max-width: 34rem; margin-inline: auto; }
.solo .numlist li { display: flex; justify-content: center; align-items: baseline; gap: 14px; }

/* ---------- Static visuals (in place of the old 3D scenes) ---------- */
.visual__logo { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(62%, 320px); height: auto; }
.visual--brand { background: #fff; }
.visual__brand { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: min(80%, 440px); height: auto; }

/* ---------- Simple footer (Companies, Outsourcing, Locations, Careers) ---------- */
.foot { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px; }
.foot__brand { display: inline-flex; align-items: center; min-height: 44px; }
.foot__brand img { height: 22px; width: auto; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: .92rem; color: var(--ink-2); }
.foot__nav a { display: inline-flex; align-items: center; min-height: 36px; }
.foot__nav a:hover, .foot__nav a[aria-current="page"] { color: var(--accent); }
.foot__copy { font-size: .84rem; color: var(--ink-3); }
@media (max-width: 760px) { .foot__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee { flex-wrap: wrap; }
  .marquee__group { animation: none; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); row-gap: 12px; }
  .marquee__group[aria-hidden="true"] { display: none; }
}
