/* ═══════════════════════════════════════════════════════════════
   OCEANTIC — THE AGENCY PAGE
   Design system:
     · near-black #030712 / panel navy, white / #f4f4f5 canvas
       rotation, teal #0d9488 as the only accent
     · Hanken Grotesk 500–600 with negative tracking at display sizes,
       IBM Plex Mono for every parenthetical label and figure
     · a plain O ring in the lockups — nothing inside it
     · straight section edges, sticky stacks, flip cards
   The enquiry form's select and textarea; the sent state that replaces
   it; the questions section; the founder-mail pill; the skip link.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* the brand palette — nothing invented here, every value is a token
     the main site already publishes (see styles.css / brand/README.md) */
  --black: #030712;            /* the brand near-black: ink on light, ground on dark */
  --ink: #090d16;              /* raised panel navy */
  --panel: #111827;            /* the higher panel */
  --white: #fff;
  --paper: #f4f4f5;

  --grey3: #111827;
  /* teal-600: 3.75:1 on white and 5.4:1 on the navy — one shade that holds
     on both canvases, so the ring, the dots and the cursor never wash out */
  --accent: #0d9488;
  --accent-text: #0f766e;      /* 5.5:1 on white, where the accent must be small text */
  --b12: rgba(3, 7, 18, .12);

  --w14: rgba(255, 255, 255, .14);
  --w24: rgba(255, 255, 255, .24);
  --w30: rgba(255, 255, 255, .3);
  --w60: rgba(255, 255, 255, .6);
  --w88: rgba(255, 255, 255, .88);

  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: 30px;
  --maxw: 1400px;
  --r: 10px;

  --shadow-pill:
    -1.1px 1.2px .1px rgba(9,13,22,.01), -2.2px 2.4px .3px rgba(9,13,22,.02),
    -4.6px 5.1px .7px rgba(9,13,22,.03), -7.6px 8.4px 1.3px rgba(9,13,22,.03),
    -14.7px 16.2px 3.2px rgba(9,13,22,.03), -23px 25.4px 6px rgba(9,13,22,.04),
    -37.8px 41.8px 11.3px rgba(9,13,22,.04);
}

/* the brand accent owns selection and focus, everywhere, once. The bright
   cut owns the dark grounds; the focus ring takes the AA cut so it also
   holds on white */
::selection { background: var(--accent); color: var(--black); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--black);
  color: var(--black);
  font-family: var(--font);
  font-size: 16px;
  overflow-x: clip;
}
body.lock { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; }
.container.narrow { max-width: 950px; }

/* several components here set their own display, and an author rule beats
   the UA's [hidden] mapping — the attribute has to actually win */
[hidden] { display: none !important; }

/* ── type scale ─────────────────────────────────────────────── */
/* every parenthetical label is set like a drawing's title block: mono,
   uppercase, tracked out. The parens live in the copy, not the CSS. */
.lbl {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.4;
  display: inline-block;
}
.lbl.light { color: var(--white); opacity: .62; }

/* ── char / word split primitives ───────────────────────────── */
.wd { display: inline-block; white-space: nowrap; }
.ch-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; }
.ch-in {
  display: inline-block;
  transform: translateY(105%); opacity: 0;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.in .ch-in, .is-on .ch-in { transform: none; opacity: 1; }

.w { opacity: .22; transition: opacity .4s ease; }
.w.on { opacity: 1; }

/* a gentle container reveal for the blocks marked .reveal; the observer
   in agency.js adds .in once they enter the viewport */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── skip link ──────────────────────────────────────────────── */
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  padding: 10px 16px; border-radius: 99px; background: var(--white); color: var(--black);
  font-size: 14px; font-weight: 600; letter-spacing: -.5px;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus-visible { transform: none; outline: 2px solid var(--black); }

/* ═══ crosshair cursor ══════════════════════════════════════ */
.cursor { position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor .cx, .cursor .cy { position: absolute; background: var(--b12); transition: background .3s; }
.cursor .cx { left: 0; right: 0; height: 1px; transform: translateY(var(--y, 50vh)); }
.cursor .cy { top: 0; bottom: 0; width: 1px; transform: translateX(var(--x, 50vw)); }
.cdot {
  position: absolute; width: 9px; height: 9px; border-radius: 99px; background: var(--black);
  transform: translate(calc(var(--x, 50vw) - 4.5px), calc(var(--y, 50vh) - 4.5px));
  transition: width .25s var(--ease), height .25s var(--ease), background .3s;
}
.clabel {
  position: absolute; padding: 6px 12px; border-radius: 99px; background: var(--accent); color: var(--black);
  font-size: 13px; font-weight: 600; letter-spacing: -.4px; white-space: nowrap;
  transform: translate(calc(var(--x, 50vw) - 20px), calc(var(--y, 50vh) - 10px)) scale(.6);
  opacity: 0; transition: opacity .25s, transform .25s var(--ease);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.cursor.label .cdot { width: 0; height: 0; }
.cursor.label .clabel { opacity: 1; transform: translate(calc(var(--x,50vw) - 20px), calc(var(--y,50vh) - 10px)) scale(1); }
.cursor.dark .cx, .cursor.dark .cy { background: rgba(255,255,255,.14); }
.cursor.dark .cdot { background: var(--accent); }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* ═══ preloader ═════════════════════════════════════════════ */
/* one gesture: the O draws itself, from the top, and the page lifts.
   Nothing else happens here, on purpose */
.pre {
  position: fixed; inset: 0; z-index: 500; background: var(--black);
  display: grid; place-items: center;
  transition: transform 1s var(--ease), filter .8s ease, opacity .6s ease .4s;
}
.pre.done { transform: translateY(-101%); filter: blur(14px); opacity: 0; pointer-events: none; }
.pre-mk { width: 88px; height: 88px; }
/* the ring: circumference ≈ 104 in the 48 box, 110 covers it */
.mk-draw { stroke-dasharray: 110; stroke-dashoffset: 110; transition: stroke-dashoffset .7s var(--ease) .05s; }
.pre.play .mk-draw { stroke-dashoffset: 0; }

/* ═══ the O, in lockup weight ════════════════════════════════ */
/* a plain ring in the accent, nothing inside it. It reads as the
   letter at any size the page uses, down to the favicon */
.brandmk {
  width: 24px; height: 24px; flex: none;
  transition: transform .3s var(--ease);
}
.o-ring { fill: none; stroke: var(--accent); }
.logo:focus-visible .brandmk { transform: scale(1.08); }
@media (hover: hover) and (pointer: fine) {
  .logo:hover .brandmk { transform: scale(1.08); }
}

/* ═══ top nav ═══════════════════════════════════════════════ */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 20px var(--pad);
  transition: opacity .4s ease, transform .5s var(--ease), background .4s ease;
}
.topnav.hide { opacity: 0; transform: translateY(-100%); pointer-events: none; }
/* once the page moves, the nav gets a glass band so it stays readable over
   both the light and the dark canvases */
.topnav.scrolled { background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.topnav.scrolled.on-dark { background: rgba(3,7,18,.6); }
.tn-grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 10px; align-items: center;
}
.tn-links { grid-column: span 2; display: flex; justify-content: space-between; align-items: center; }
.burger { justify-self: end; width: 56px; height: 44px; position: relative; transition: transform .16s var(--ease); }
.burger:active { transform: scale(.9); }
/* exact properties, never `all` — the bars each own their own motion.
   The button is a full 44px tap target; the bars stay small inside it */
.burger i {
  position: absolute; left: 5px; right: 5px; height: 2px; background: var(--black);
  transition: top .3s var(--ease), bottom .3s var(--ease), transform .3s var(--ease);
}
.burger i:first-child { top: 16px; }
.burger i:last-child { bottom: 16px; }
.burger:hover i:first-child { top: 13px; }
.burger:hover i:last-child { bottom: 13px; }
.burger.open i:first-child { top: 20px; transform: rotate(45deg); }
.burger.open i:last-child { bottom: 20px; transform: rotate(-45deg); }
.topnav.on-dark .burger i { background: var(--white); }
.topnav.on-dark .dotlink span { color: var(--white); }
.topnav.on-dark .dotlink i { background: var(--white); }
.topnav.on-dark .logo-roll b { color: var(--white); }

/* dot-bullet link */
.dotlink { display: inline-flex; align-items: center; gap: 6px; overflow: hidden; padding: 4px 0; }
.dotlink i {
  width: 11px; height: 11px; border-radius: 99px; background: var(--black); flex: none;
  transform: translateX(-17px); transition: transform .45s var(--ease);
}
.dotlink span {
  font-size: 19px; font-weight: 600; letter-spacing: -.7px; line-height: 1.1;
  transform: translateX(-17px); transition: transform .45s var(--ease);
}
.dotlink:hover i, .dotlink:hover span { transform: none; }
.dotlink.lt i { background: var(--white); }
.dotlink.lt span { color: var(--white); font-size: 16px; letter-spacing: -.5px; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-roll { display: block; height: 21px; overflow: hidden; position: relative; width: max-content; }
.logo-roll b {
  display: block; height: 21px; line-height: 21px;
  font-size: 19px; font-weight: 600; letter-spacing: 0; white-space: nowrap;
  transition: transform .5s var(--ease);
}
.logo:hover .logo-roll b { transform: translateY(-21px); }
.logo.sm .brandmk { width: 20px; height: 20px; }
.logo.sm .logo-roll, .logo.sm .logo-roll b { height: 19px; line-height: 19px; font-size: 17px; }
.logo.sm b { font-size: 17px; font-weight: 600; letter-spacing: -.4px; }
.logo.light b, .logo.light .logo-roll b { color: var(--white); }

/* ═══ sidebar ═══════════════════════════════════════════════ */
/* -webkit- prefixes keep the glass on Safari, where the unprefixed
   property alone still fails */
/* translateZ promotes the blur to its own layer: without it, anything
   repainting above the scrim (hover rolls, the crosshair cursor) forces
   the backdrop blur to re-rasterise every frame, which reads as the
   panel's shadow flickering */
.scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.1);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transform: translateZ(0);
  opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
.scrim.on { opacity: 1; pointer-events: auto; }
/* the crosshair rides above everything, so while the menu is open it
   hides — its lines sweeping the blur band were half the flicker.
   Must sit after .cursor.on to win the specificity tie */
body.lock .cursor { opacity: 0; }
/* while the drawer is open its own close control — the burger, now an X —
   has to stay above the drawer it closes, and the nav links it would
   strand under the panel hide */
body.lock .topnav { z-index: 90; }
body.lock .tn-links { visibility: hidden; }
.sidebar {
  position: fixed; top: 0; right: 0; z-index: 80; width: 640px; max-width: 92vw; height: 100vh; height: 100svh;
  background: var(--black); padding: 112px 0 32px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  transform: translateX(101%); visibility: hidden;
  transition: transform .7s var(--ease), visibility 0s .7s;
}
.sidebar.on { transform: none; visibility: visible; transition-delay: 0s; }
.sb-links { width: 100%; padding: 0 120px; display: flex; flex-direction: column; gap: 20px; }
.sb-link { display: block; }
.roll2 { display: block; height: 48px; overflow: hidden; }
.roll2 b {
  display: block; height: 48px; line-height: 48px;
  font-size: 48px; font-weight: 500; letter-spacing: -2px; color: var(--paper);
  transition: transform .45s var(--ease);
}
.sb-link:hover .roll2 b { transform: translateY(-48px); }
.ul { display: block; height: 1px; background: var(--w30); position: relative; margin-top: 2px; }
/* scaleX, never `right`: an inset animation is layout, and every layout
   frame repaints the panel sitting on the blurred scrim */
.ul::after {
  content: ""; position: absolute; inset: 0; background: var(--paper);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .5s var(--ease);
}
.sb-link:hover .ul::after, .under:hover .ul::after { transform: scaleX(1); }

.sb-foot { width: 100%; padding: 0 120px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.talkcard {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 26px;
  border: 1px solid var(--w14); border-radius: 999px; background: rgba(255,255,255,.04);
  transition: transform .14s var(--ease), border-color .3s ease;
}
.talkcard:active { transform: scale(.97); }
.talkcard:hover { border-color: var(--w30); }
.talkcard img { width: 55px; height: 55px; border-radius: 999px; object-fit: cover; }
.tc-txt { display: flex; flex-direction: column; }
.tc-txt b { color: var(--white); font-size: 16px; font-weight: 600; letter-spacing: -.5px; }
.tc-roll { display: block; height: 18px; overflow: hidden; }
.tc-roll em {
  display: block; height: 18px; line-height: 18px; font-style: normal;
  color: var(--white); opacity: .65; font-size: 14px; font-weight: 600; letter-spacing: -.5px;
  transition: transform .4s var(--ease);
}
.talkcard:hover .tc-roll em { transform: translateY(-18px); }

/* ═══ buttons ═══════════════════════════════════════════════ */
/* press feedback first: 140ms, ease-out, subtle scale — the interface
   hears the press before the fill arrives */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px; border-radius: 999px; overflow: hidden;
  font-size: 16px; font-weight: 500; letter-spacing: -.6px;
  background: var(--black); color: var(--white); box-shadow: var(--shadow-pill);
  transition: transform .14s var(--ease), color .3s ease;
}
.btn:active { transform: scale(.97); }
/* the hover fill is the accent, with the label flipping to ink */
.btn::before {
  /* scaleY from the bottom edge, never an inset animation — same sweep,
   composited instead of layouted */
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--black); }
.btn > span { position: relative; z-index: 2; display: inline-flex; }
.btn-grey { background: var(--grey3); }
.btn.right { justify-self: end; }

/* split-letter roll */
.btn .ch { display: inline-block; overflow: hidden; height: 1em; line-height: 1em; vertical-align: bottom; }
.btn .roll { display: block; will-change: transform; transition: transform .55s var(--ease); }
.btn .roll span { display: block; height: 1em; line-height: 1em; }
.btn:hover .roll { transform: translateY(-1em); }

.under { display: inline-block; }
.under .roll2 { height: 20px; }
.under .roll2 b { height: 20px; line-height: 20px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--black); }
.under:hover .roll2 b { transform: translateY(-20px); }
.under .ul { background: #b2b2b2; }
.under .ul::after { background: var(--black); }

/* dots */
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--black); display: inline-block; }
.dot.lt { background: var(--white); }
.dotcell { display: flex; align-items: center; }

/* scrollspy: the section you're in carries the accent */
.dotlink.act i { background: var(--accent); }
.tn-links .dotlink.act span { color: var(--accent-text); }
.topnav.on-dark .tn-links .dotlink.act span { color: var(--accent); }

/* ═══ 1 · HERO ══════════════════════════════════════════════ */
/* every pinned surface sizes to the small viewport height where it exists,
   so the collapsing mobile URL bar can never reveal the next section */
.hero { position: relative; height: 300vh; background: var(--ink); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-wrap { position: relative; height: 100vh; height: 100svh; background: var(--ink); }

.ticker { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; }
.tick-up { left: 0; }
.tick-down { right: 0; }
.tk-track { display: flex; flex-direction: column; gap: 44px; padding: 0 22px; will-change: transform; }
.tk-track img { width: 100%; height: 400px; object-fit: cover; }
.tick-down .tk-track img { height: 340px; }

.hero-main {
  position: absolute; inset: 0; z-index: 5; background: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 112px var(--pad) 50px;
  transform-origin: 50% 50%;
  will-change: transform, border-radius;
}
.hm-top { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 10px; }
.svc-list li {
  font-size: 16px; font-weight: 600; letter-spacing: -.5px; line-height: 1.3; padding: 3px 0;
}
/* each service carries the lit plate's dot — the same accent the nav uses */
.svc-list li::before {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 99px;
  background: var(--accent); margin-right: 10px; vertical-align: 2.5px;
}
.hm-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.hm-copy p { font-size: 16px; font-weight: 600; letter-spacing: -.5px; line-height: 1.3; }
.hm-dots { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 10px; margin: 60px 0; }
.hm-bottom { display: flex; flex-direction: column; gap: 0; }
.hm-meta { display: flex; justify-content: flex-end; padding-bottom: 8px; }
/* .58 keeps the 11px line on the safe side of 4.5:1 on the white panel */
.hm-meta small {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; opacity: .58;
}
.hm-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hm-title h1, .hm-title h2 {
  font-size: clamp(42px, 8.4vw, 140px); font-weight: 600; letter-spacing: -.05em; line-height: .85;
  white-space: nowrap;
}
/* "Studio" is the repeat to "Oceantic"'s pass: drawn, not built — an outline
   word where the fallback keeps it solid ink */
@supports (-webkit-text-stroke: 1px #000) {
  .hm-title h2 { color: transparent; -webkit-text-stroke: 1.5px var(--black); }
}

.scroll-badge {
  position: absolute; z-index: 6; bottom: 50px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 7px; border-radius: 7px; background: rgba(9,13,22,.78);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.scroll-badge span { color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: -.5px; }
.sb-bar { display: block; width: 64px; height: 2px; background: rgba(135,148,168,.5); overflow: hidden; }
.sb-bar b { display: block; height: 100%; background: var(--accent); transform: translateX(-100%); }
.hero-spacer { height: 1px; }

/* ═══ 2 · WORK ══════════════════════════════════════════════ */
.work-sec { background: var(--paper); padding: 150px var(--pad); position: relative; z-index: 2; }
.work-sec .container { display: flex; flex-direction: column; gap: 150px; }

.partners { display: flex; flex-direction: column; gap: 50px; }
.p-head { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 10px; align-items: center; }
/* fixed rows so a long wordmark can never make one card taller than its row */
.logo-grid {
  display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr));
  grid-auto-rows: 140px; align-items: stretch; gap: 5px;
}
.lcard { height: 140px; min-height: 140px; perspective: 500px; }
.lcard-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.lcard.is-flipped .lcard-in { transform: rotateY(180deg); }
.lface {
  position: absolute; inset: 0; backface-visibility: hidden; background: var(--white); border-radius: var(--r);
  display: grid; place-items: center; padding: 10px; overflow: hidden;
}
.lface .wordmark { white-space: nowrap; font-size: clamp(15px, 1.5vw, 22px); }
/* the back face is the drawing behind the word: navy ground, the rule in
   the accent, set like the labels */
.lface.back {
  transform: rotateY(180deg); background: linear-gradient(#111827, #090d16);
}
.lface.back .wordmark {
  font-family: var(--mono); font-weight: 500; text-transform: uppercase;
  letter-spacing: .06em; color: #2dd4bf; font-size: clamp(12px, 1.2vw, 16px);
}
.wordmark { font-size: 22px; font-weight: 700; letter-spacing: -1px; }
.wordmark.light { color: var(--white); }
.wordmark.big { font-size: 30px; }

/* one grid so the sticky header column and the card stack sit side by side */
.works { display: grid; grid-template-columns: repeat(3, minmax(50px, 1fr)); gap: 16px; align-items: start; }
.w-headin {
  grid-column: 1; position: sticky; top: 50px; min-height: 500px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
}
.wh-top { display: flex; flex-direction: column; gap: 15px; }
.w-title { display: flex; align-items: flex-end; gap: 10px; }
.w-title h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 600; letter-spacing: -2px; line-height: 1.1; }
.w-title small { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent-text); padding-bottom: 10px; }
.wh-sub { font-size: 16px; font-weight: 600; letter-spacing: -.5px; line-height: 1.35; opacity: .6; max-width: 92%; }
.w-stack { grid-column: 2 / span 2; display: flex; flex-direction: column; gap: 16px; }
/* the slot is what sticks — cards then layer over one another */
.w-slot { position: sticky; top: 64px; }
.wcard { position: relative; display: block; height: 80vh; border-radius: 12px; overflow: hidden; }
.wc-img { position: absolute; inset: 0; overflow: hidden; }
.wc-img img { width: 100%; height: 105%; object-fit: cover; transition: transform 1.2s var(--ease); }
/* a press reads instantly, even under the slow drift: the active state
   overrides the duration, not just the transform */
.wcard:active .wc-img img { transform: scale(.98); transition-duration: .18s; }
.wc-tag {
  position: absolute; bottom: 20px; right: 20px; z-index: 2;
  display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 4px; background: var(--white);
  font-size: 16px; font-weight: 600; letter-spacing: -.5px;
}
.wc-tag em { font-style: normal; opacity: .55; font-family: var(--mono); font-size: 13px; }

/* hover-only transforms are gated to real pointers — touch latches :hover
   after a tap and these would stick */
@media (hover: hover) and (pointer: fine) {
  .wcard:hover .wc-img img { transform: scale(1.04); }
}

/* ═══ 3 · WHO WE ARE ════════════════════════════════════════ */
.who-sec { background: var(--white); padding: 264px var(--pad) 150px; position: relative; z-index: 2; }
.who-sec .container { display: flex; flex-direction: column; gap: 70px; }
.who-head { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 10px; align-items: start; }
.who-title { grid-column: span 3; display: flex; flex-direction: column; gap: 15px; }
.who-title h2 { font-size: clamp(30px, 4.6vw, 64px); font-weight: 600; letter-spacing: -2px; line-height: 1.1; }
.who-dots { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 10px; }
.who-dots .dot { justify-self: start; }

.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bento-col { display: flex; flex-direction: column; gap: 20px; }
.bcard { position: relative; border-radius: var(--r); padding: 25px; overflow: hidden; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.bcard-dark { background: linear-gradient(#131c31, #090d16); color: var(--white); }
.bcard-light { background: linear-gradient(#fafafa 0%, #f6f7f9 60%, #e3e6ec 100%); }
.bc-corner { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.bcard-light .bc-corner { flex-direction: row-reverse; }
.metrics { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.metrics b { font-size: 19px; font-weight: 600; letter-spacing: -.7px; }
.bc-body { position: relative; z-index: 2; }
.big { font-size: clamp(48px, 6.6vw, 96px); font-weight: 500; letter-spacing: -1.3px; line-height: 1.1; }
/* the accent's full stop — one cyan period carries the whole colour */
.bcard-dark .big::after { content: "."; color: var(--accent); }
.mid { font-size: clamp(19px, 2vw, 27px); font-weight: 500; letter-spacing: -1px; line-height: 1.1; max-width: 200px; }
.mid2 { font-size: clamp(19px, 2vw, 27px); font-weight: 600; letter-spacing: -1px; line-height: 1.1; max-width: 274px; }
.bc-globe {
  position: absolute; left: 0; right: 0; bottom: -46%; height: 325px; z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(13,148,136,.15), transparent 62%),
    repeating-linear-gradient(0deg, rgba(135,148,168,.26) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgba(135,148,168,.26) 0 1px, transparent 1px 9px);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  -webkit-mask-image: radial-gradient(ellipse at 50% 10%, #000 30%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 10%, #000 30%, transparent 72%);
}
.bcard-light .btn { align-self: flex-start; }

/* collaboration card */
.collab {
  position: relative; border-radius: var(--r); overflow: hidden; padding: 65px;
  display: flex; flex-direction: column; align-items: center; gap: 20px; min-height: 620px;
}
.collab-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.collab-veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(50% 50%, rgba(0,0,0,.72), rgba(0,0,0,.85)); }
.lbl.center { position: relative; z-index: 2; text-align: center; width: 100%; }
.chat {
  position: relative; z-index: 2; width: 100%; max-width: 430px; margin-top: auto;
  padding: 25px 25px 35px; border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.24); background: rgba(3,7,18,.62);
  -webkit-backdrop-filter: blur(34px); backdrop-filter: blur(34px);
  display: flex; flex-direction: column; gap: 4px;
}
.chat-time {
  text-align: center; color: var(--white); opacity: .75; padding: 10px 0;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
}
.chat-row { display: flex; align-items: center; gap: 4px; opacity: 0; transform: translateY(14px); }
.chat-row.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.chat-row.indent { padding-left: 44px; }
.chat-row.right { justify-content: flex-end; }
.chat-row.right.pad { padding-right: 26px; }
.chat-row.pad2 { padding-left: 44px; }
.cav { width: 40px; height: 40px; border-radius: 99px; object-fit: cover; }
/* the client side of the chat mockup is the reader, not a stock face */
.cav.you {
  display: grid; place-items: center; flex: none;
  background: var(--w88); color: var(--black);
  font-size: 13px; font-weight: 600; letter-spacing: -.4px;
}
.bub {
  padding: 0 16px; height: 40px; display: inline-flex; align-items: center; border-radius: 99px;
  background: var(--w88); color: var(--black); font-size: 14px; font-weight: 600; letter-spacing: -.5px;
  border: 1px solid var(--w88);
}
/* the studio's side of the conversation carries the lit plate */
.bub.dark { background: var(--accent); color: var(--black); border-color: rgba(3,7,18,.12); }

/* ═══ 4 · VISION ════════════════════════════════════════════ */
.vision { position: relative; height: 500vh; background: linear-gradient(#0a0f1e 0%, #060a17 54%, #030712 100%); }
.v-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding: 30px; overflow: hidden; }
/* the drafting sheet under the four gates: blueprint ink at a whisper,
   fading to nothing before the edges */
.v-sticky::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(135,148,168,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135,148,168,.06) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(62% 62% at 50% 50%, #000 28%, transparent 100%);
  mask-image: radial-gradient(62% 62% at 50% 50%, #000 28%, transparent 100%);
}
.lbl.light.top { position: absolute; top: 30px; left: 0; right: 0; text-align: center; }
.lbl.light.bot { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; opacity: .6; }
.v-image { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; }
.v-image img { width: 105%; height: 100vh; height: 100svh; object-fit: cover; transform: scale(0); will-change: transform; }
.v-lines { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; }
.vline {
  grid-area: 1 / 1; color: var(--white); text-align: center; white-space: nowrap;
  font-size: clamp(32px, 6.8vw, 96px); font-weight: 500; letter-spacing: -.03em; line-height: 1.3;
  opacity: 0; pointer-events: none;
}
.vline.is-on { opacity: 1; }
/* the last gate is the promise, and it lands in the accent */
.vline:last-child.is-on { color: var(--accent); }

/* ═══ 5 · SERVICES ══════════════════════════════════════════ */
.services { background: var(--white); padding: 150px var(--pad); position: relative; z-index: 2; }
.services .container { display: flex; flex-direction: column; gap: 60px; }
.s-head { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 10px; align-items: center; }
.s-body { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 16px; align-items: start; }
.s-list { grid-column: span 3; }
.s-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 0 0 3px;
  /* .56 is the dimmest resting state that still passes 4.5:1 on white
     (≈4.8:1); the active row goes to full ink with the teal number, so
     the spotlight is carried by weight and colour, not by illegibility */
  opacity: .56; transition: opacity .5s var(--ease);
}
.s-item.is-on { opacity: 1; }
.s-item em {
  font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .02em; padding-top: 12px; flex: none;
}
.s-item.is-on em { color: var(--accent-text); }
.s-item span {
  font-size: clamp(26px, 4.6vw, 66px); font-weight: 600; letter-spacing: -2px; line-height: 1.15;
  white-space: nowrap;
}
.s-preview { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.sp-img { width: 100%; aspect-ratio: 1.42 / 1; overflow: hidden; border-radius: 2px; }
.sp-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.s-preview p { font-size: 16px; font-weight: 600; letter-spacing: -.5px; line-height: 1.3; transition: opacity .35s ease; }
.s-preview.swap .sp-img img, .s-preview.swap p { opacity: 0; }

/* ═══ 6 · SHOWREEL ══════════════════════════════════════════ */
.showreel { position: relative; height: 400vh; background: var(--black); }
.sr-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.sr-grid {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(3, 1fr);
  gap: 8px; padding: 10px; will-change: transform; transform: scale(3.25);
}
.sr-cell { position: relative; border-radius: 8px; overflow: hidden; }
.sr-cell.c6 { grid-column: span 6; }
.sr-cell.c4 { grid-column: span 4; }
.sr-cell video, .sr-cell img { width: 100%; height: 100%; object-fit: cover; }
.grain, .ct-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.sr-title {
  position: relative; z-index: 2; color: var(--white); text-align: center;
  font-size: clamp(32px, 6.8vw, 96px); font-weight: 500; letter-spacing: -3px; line-height: 1.3;
}
.sr-play {
  position: absolute; z-index: 3; top: 50%; left: 50%; width: 100px; height: 100px; border-radius: 999px;
  background: var(--accent); transform: translate(-50%, -50%) scale(.7); opacity: 0;
  /* visibility, not just opacity: an invisible 100px button must not sit
     in the tab order for two and a half viewports of pinned scrolling */
  visibility: hidden;
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s;
  display: grid; place-items: center;
}
.sr-play.on { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); transition-delay: 0s; }
.sr-play.on:hover { transform: translate(-50%, -50%) scale(1.08); }
.sr-play.on:active { transform: translate(-50%, -50%) scale(.94); }
.sr-play i {
  width: 0; height: 0; border-left: 14px solid var(--black);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px;
}
.sr-spacer { height: 1px; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: none; place-items: center; }
.lightbox.on { display: grid; }
.lightbox video { width: 85%; max-width: 1470px; aspect-ratio: 16/9; border-radius: 4px; }
.lb-close { position: fixed; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 4px; color: var(--white); font-size: 16px; }

/* ═══ 7 · PRICING + FAQ ═════════════════════════════════════ */
.pricing { background: var(--white); padding: 150px var(--pad); position: relative; z-index: 2; }
.pricing .container { display: flex; flex-direction: column; gap: 120px; }
.pr-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.pr-h { font-size: clamp(36px, 7vw, 96px); font-weight: 600; letter-spacing: -2px; line-height: 1.1; }
.pr-head p { font-size: 16px; font-weight: 600; letter-spacing: -.5px; }

.pr-card { display: flex; gap: 20px; padding: 20px; border-radius: var(--r); background: var(--paper); }
.plan { position: relative; flex: 1; display: flex; flex-direction: column; gap: 30px; padding: 40px 50px; border-radius: var(--r); }
.plan-alt { background: var(--white); }
.pl-top { display: flex; flex-direction: column; gap: 10px; }
.pl-top > b { font-size: 19px; font-weight: 600; letter-spacing: -.7px; }
.pl-top p { max-width: 80%; opacity: .5; font-size: 16px; font-weight: 500; letter-spacing: -.5px; line-height: 1.3; }
.price { display: flex; align-items: flex-end; gap: 15px; padding-top: 20px; }
.price span { font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -3px; line-height: 1.1; }
.price em { font-style: normal; font-size: 16px; font-weight: 600; letter-spacing: -.5px; padding-bottom: 6px; }
.pl-div { display: block; height: 1px; background: var(--b12); }
.pl-list { display: flex; flex-direction: column; gap: 20px; }
.pl-list .lbl { opacity: .5; font-weight: 500; }
.pl-list ul { display: flex; flex-direction: column; gap: 13px; }
.pl-list li { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 500; letter-spacing: -.5px; opacity: .68; }
.pl-list li i { width: 8px; height: 8px; border-radius: 99px; background: var(--black); opacity: .52; flex: none; }
.pl-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; }
.pl-foot .lbl { opacity: .41; display: block; font-weight: 500; }
.pl-foot b { font-size: 16px; font-weight: 500; letter-spacing: -.5px; }

/* the questions section: the FAQ blocks on a paper band, same blocks
   the hidden pricing page uses */
.faqsec { background: var(--paper); padding: 150px var(--pad); position: relative; z-index: 2; }
.faqsec .container { display: flex; flex-direction: column; gap: 90px; }

.faq-wrap { display: flex; flex-direction: column; gap: 40px; }
.faq-head { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 10px; align-items: center; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.fq { background: var(--white); border-radius: var(--r); overflow: hidden; }
.fq-q { width: 100%; display: flex; align-items: center; gap: 7px; padding: 20px; text-align: left; }
.num {
  width: 32px; height: 32px; border-radius: 99px; background: var(--paper); flex: none;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  transition: background .3s ease, color .3s ease;
}
.fq.open .num { background: var(--accent); color: var(--black); }
.qt { flex: 1; font-size: 14px; font-weight: 600; letter-spacing: -.5px; line-height: 1.3; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--black); transition: transform .4s var(--ease); }
.plus::before { left: 0; right: 0; top: 50%; height: 1px; }
.plus::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.fq.open .plus::after { transform: scaleY(0); }
.fq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.fq.open .fq-a { grid-template-rows: 1fr; }
.fq-a p { overflow: hidden; padding: 0 20px; font-size: 14px; font-weight: 500; letter-spacing: -.4px; line-height: 1.5; opacity: .62; }
.fq.open .fq-a p { padding: 0 20px 30px; }

.more { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; max-width: 500px; margin-inline: auto; }
.more h4 { font-size: clamp(19px, 2.2vw, 27px); font-weight: 600; letter-spacing: -1px; line-height: 1.1; }

/* ═══ 8 · TESTIMONIALS ══════════════════════════════════════ */
/* taller than the other pinned blocks so each card gets real scroll distance
   — at 500vh the hand-off between cards read as a flicker */
.tst { position: relative; height: 720vh; background: var(--paper); }
.tst-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; padding: 0 var(--pad); }
.tst-split { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2; overflow: hidden; will-change: transform; }
.tst-split.l { left: 0; }
.tst-split.r { right: 0; }
.tst-split img { width: 100%; height: 100%; object-fit: cover; }
.tst .lbl.top { position: absolute; top: 30px; left: 0; right: 0; text-align: center; z-index: 4; }
.tst .lbl.bot { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; z-index: 4; opacity: .62; }

.tst-cards { position: relative; z-index: 3; width: 400px; max-width: 100%; height: 450px; }
.tcard {
  position: absolute; inset: 0; padding: 35px; border-radius: var(--r); background: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  transform-origin: 50% 100%; will-change: transform, opacity;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.10);
}
.tcard.dark { background: var(--ink); color: var(--white); }
.tc-top { display: flex; justify-content: space-between; align-items: center; }
.pips { display: flex; gap: 3px; }
.pips i { width: 8px; height: 8px; border-radius: 99px; background: var(--black); opacity: .15; }
.pips i.on { opacity: 1; background: var(--accent-text); }
.pips.lt i { background: var(--white); }
.pips.lt i.on { background: var(--accent); }
.tcard p { font-size: 19px; font-weight: 600; letter-spacing: -.7px; line-height: 1.3; }
.tc-by { display: flex; align-items: center; gap: 10px; padding-top: 5px; }
.tc-by span { display: flex; flex-direction: column; }
.tc-by b { font-size: 16px; font-weight: 600; letter-spacing: -.5px; }
.tc-by em { font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: -.5px; opacity: .62; }
.tc-by.light b, .tc-by.light em { color: var(--white); }
.tst-count {
  position: absolute; z-index: 4; bottom: 30px; right: var(--pad); display: flex; gap: 2px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
}
.tst-count span:last-child { opacity: .62; }

/* ═══ 9 · STATS ═════════════════════════════════════════════ */
.stats { background: var(--black); color: var(--white); padding: 150px var(--pad); position: relative; z-index: 2; }
.stats .container { display: flex; flex-direction: column; gap: 60px; }
.st-head { display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; max-width: 600px; margin-inline: auto; }
.st-title { position: relative; }
.st-title h2 { font-size: clamp(30px, 4.6vw, 64px); font-weight: 600; letter-spacing: -2px; line-height: 1.1; }
.st-head p { max-width: 82%; opacity: .8; font-size: 16px; font-weight: 600; letter-spacing: -.5px; line-height: 1.3; padding-top: 15px; }
.st-head .btn { margin-top: 25px; }

.st-cards { display: flex; gap: 20px; align-items: flex-start; }
.st-col { flex: 1; }
.st-col.off1 { padding-top: 200px; }
.st-col.off2 { padding-top: 400px; }
.st-col.off3 { padding-top: 600px; }
.flip { position: sticky; top: 100px; height: 320px; perspective: 1200px; }
.f-face {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--r); padding: 20px 20px 10px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .9s var(--ease);
}
.f-front { background: linear-gradient(#131c31, #090d16); transform: rotateY(0); }
.f-back { background: var(--white); color: var(--black); transform: rotateY(180deg); gap: 20px; }
.flip.flipped .f-front { transform: rotateY(-180deg); }
.flip.flipped .f-back { transform: rotateY(0); }
.f-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.f-top .lbl { opacity: .65; }
/* word fronts: sized down from the persona numbers so long words like
   "Modernising" wrap inside the card instead of spilling out */
.f-bot h3 {
  font-size: clamp(28px, 3vw, 46px); font-weight: 500; letter-spacing: -1px; line-height: 1.05;
  max-width: 100%; overflow-wrap: break-word;
}
.f-bot p { opacity: .7; font-size: 16px; font-weight: 600; letter-spacing: -.5px; line-height: 1.3; padding-top: 7px; }
.f-back .f-bot p { opacity: .8; font-size: 15px; }
.f-mid b { font-size: 16px; font-weight: 600; letter-spacing: -.5px; }

.st-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-height: 70vh; }
.sq-img { position: relative; border-radius: 20px; overflow: hidden; background: var(--ink); }
.sq-img img { width: 100%; height: 105%; object-fit: cover; }
.sq-img .wordmark { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--white); mix-blend-mode: difference; }
.sq-card { background: var(--ink); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.sq-card h3 { font-size: clamp(18px, 1.9vw, 27px); font-weight: 600; letter-spacing: -1px; line-height: 1.3; }

/* ═══ 10 · BLOG ═════════════════════════════════════════════ */
.blog { background: var(--white); padding: 150px var(--pad); position: relative; z-index: 2; }
.blog .container { display: flex; flex-direction: column; gap: 60px; }
.bl-head { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 10px; align-items: center; }
.bl-head h2 { grid-column: 2 / span 2; font-size: clamp(30px, 4.6vw, 64px); font-weight: 600; letter-spacing: -2px; line-height: 1.1; }
.bl-head .btn { justify-self: end; }
.bl-grid { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 15px; }
.post {
  display: flex; flex-direction: column; gap: 15px; padding: 15px; border-radius: 7px;
  background: linear-gradient(var(--white), var(--paper));
  transition: background .4s ease, transform .16s var(--ease);
}
.post:hover { background: linear-gradient(var(--paper), #ebebeb); }
.post:active { transform: scale(.985); }
.po-ico {
  position: relative; aspect-ratio: 1.3 / 1; border-radius: 7px; overflow: hidden;
  background: linear-gradient(var(--white), var(--paper));
  border: 1px solid var(--b12);
  display: grid; place-items: center;
}
.po-ico svg {
  width: 46px; height: 46px; color: var(--black); opacity: .85;
  transition: transform .45s var(--ease);
}

/* the icon lift and the arrow nudge are pointer-only motion; the arrow
   flips to ink on the accent chip — white on teal would vanish */
@media (hover: hover) and (pointer: fine) {
  .post:hover .po-ico svg { transform: translateY(-4px) scale(1.05); }
}
.post small { font-size: 14px; font-weight: 600; letter-spacing: -.5px; opacity: .62; }
.post p { font-size: 19px; font-weight: 600; letter-spacing: -.7px; line-height: 1.3; max-width: 85%; }

/* ═══ 11 · CONTACT ═══════════════════════════════════════════ */
/* one clean glass card, centred over the dark working photo */
.contact {
  position: relative; min-height: 100vh; min-height: 100svh; background: var(--black);
  display: flex; align-items: center; padding: 0 var(--pad); overflow: hidden;
}
.ct-bg { position: absolute; inset: -10% 0 0; z-index: 0; }
.ct-bg img { width: 100%; height: 120%; object-fit: cover; opacity: .25; transform: scale(1.15); will-change: transform; }
.ct-grain { z-index: 1; opacity: .1; }
.contact .container {
  position: relative; z-index: 2; max-width: 640px;
  display: flex; flex-direction: column; padding-block: 110px 90px;
}
.ct-slot { display: flex; flex-direction: column; gap: 20px; max-width: 100%; }
.ct-card {
  width: 100%; padding: 25px; border-radius: var(--r);
  background: var(--w14); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
  display: flex; flex-direction: column; gap: 15px;
}
.ct-card h2 { color: var(--white); font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -1.3px; line-height: 1.3; padding-bottom: 15px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ct-card input {
  width: 100%; height: 52px; padding: 8px 15px; border-radius: 6px;
  border: 1px solid var(--w24); background: transparent; color: var(--white);
  font-family: var(--font); font-size: 16px; font-weight: 500; letter-spacing: -.5px;
}
.ct-card input::placeholder { color: rgba(255, 255, 255, .8); }
.ct-card input:focus { outline: none; border-color: var(--accent); }
.ct-card select, .ct-card textarea {
  width: 100%; border-radius: 6px; border: 1px solid var(--w24); background: transparent; color: var(--white);
  font-family: var(--font); font-size: 16px; font-weight: 500; letter-spacing: -.5px;
}
.ct-card select {
  height: 52px; padding: 8px 15px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-opacity='.6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.ct-card select:invalid { color: rgba(255, 255, 255, .8); }
.ct-card select option { color: var(--black); background: var(--white); }
.ct-card select:focus, .ct-card textarea:focus { outline: none; border-color: var(--accent); }
.ct-card textarea { min-height: 118px; padding: 12px 15px; resize: vertical; line-height: 1.4; }
.ct-card textarea::placeholder { color: rgba(255, 255, 255, .8); }
/* the primary conversion action carries the accent — a near-black button
   on a dark card was the quietest element on the page at the moment that
   matters most. Ink label on teal holds 5.6:1 */
.btn-submit {
  height: 48px; border-radius: 999px; background: var(--accent); color: var(--black);
  font-size: 16px; font-weight: 600; letter-spacing: -.6px;
  transition: background .3s ease, color .3s ease, transform .14s var(--ease), opacity .2s ease;
}
.btn-submit:hover { background: var(--accent-text); color: var(--white); }
.btn-submit:active { transform: scale(.97); }
.btn-submit:disabled { opacity: .55; cursor: default; }
.ct-card small { color: var(--white); opacity: .78; font-size: 14px; font-weight: 600; letter-spacing: -.5px; }
.ct-card small a { text-decoration: underline; }

/* the sent state: same glass card the form wore, the O landing its check.
   The ring draws first, the check lands inside it a beat later */
.ct-sent {
  align-items: center; text-align: center; gap: 14px;
  padding-block: 46px 42px;
}
/* the container's padding is sized for the tall form; the short panel
   would sit biased inside it, so the section's centering gets a level
   context while the confirmation is up */
.contact.is-sent .container { padding-block: 40px; }
.cs-mk { width: 76px; height: 76px; }
.cs-ring, .cs-check { fill: none; stroke: var(--accent); }
.cs-ring { stroke-dasharray: 110; stroke-dashoffset: 110; transition: stroke-dashoffset .55s var(--ease) .1s; }
.cs-check { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .35s var(--ease) .55s; }
.ct-sent.in .cs-ring, .ct-sent.in .cs-check { stroke-dashoffset: 0; }
.ct-sent h2 { color: var(--white); padding-bottom: 0; }
.ct-sent p { color: var(--white); opacity: .72; font-size: 15px; font-weight: 500; letter-spacing: -.4px; line-height: 1.5; max-width: 40ch; }
.btn-again {
  height: 46px; margin-top: 10px; padding: 0 24px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45); color: var(--white);
  font-size: 15px; font-weight: 600; letter-spacing: -.5px;
  transition: border-color .25s ease, background .25s ease, color .25s ease, transform .14s var(--ease);
}
.btn-again:hover { border-color: var(--accent); background: var(--accent); color: var(--black); }
.btn-again:active { transform: scale(.97); }

.turnstile { display: flex; flex-direction: column; gap: 4px; }
.ct-msg { color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: -.5px; min-height: 18px; }
.ct-msg a { text-decoration: underline; }
.ct-msg:empty { display: none; }

/* ═══ 12 · FOOTER ═══════════════════════════════════════════ */
.ft { background: var(--black); color: var(--white); padding: 30px var(--pad) 72px; }
.ft-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: 120px 0 50px; border-bottom: 1px solid var(--w14);
}
.ft-cta h3 { max-width: 400px; font-size: clamp(19px, 2.2vw, 27px); font-weight: 500; letter-spacing: -1.1px; line-height: 1.1; }
.ft-cta .w { opacity: .22; }
.ft-body { display: flex; gap: 70px; }
.ft-left { flex: 1; max-width: 400px; display: flex; flex-direction: column; gap: 70px; padding: 50px 50px 0 0; }
.news { display: flex; flex-direction: column; gap: 20px; }
/* the grounding line under the founder promise: no bio, no photo — just
   enough truth about who reads the inbox to lower the perceived risk */
.news-sub {
  color: var(--white); opacity: .62; font-size: 14px; font-weight: 500;
  letter-spacing: -.3px; line-height: 1.45; max-width: 36ch;
}
.news h4 { font-size: clamp(19px, 2.2vw, 27px); font-weight: 500; letter-spacing: -1.1px; line-height: 1.1; }
/* the founder-mail pill: the newsletter field's silhouette, but an honest
   mailto rather than a signup there is no backend for */
.news-mail {
  display: flex; align-items: center; height: 64px; padding: 8px 8px 8px 25px; border-radius: 999px;
  background: rgba(245,245,245,.25); color: var(--white);
  font-size: 16px; font-weight: 600; letter-spacing: -.6px;
  transition: background .3s;
}
.news-mail:hover { background: rgba(245,245,245,.34); }
.news-mail span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-mail b {
  flex: none; padding: 0 22px; height: 48px; border-radius: 999px;
  background: var(--black); display: inline-flex; align-items: center;
  font-weight: 600; letter-spacing: -.6px;
  transition: background .3s ease, color .3s ease;
}
.news-mail:hover b { background: var(--accent); color: var(--black); }
.note { display: flex; align-items: center; gap: 5px; padding-left: 5px; opacity: .7; font-size: 14px; font-weight: 600; letter-spacing: -.5px; }
.note .dot { width: 8px; height: 8px; background: var(--accent); }
.copy { opacity: .55; font-size: 14px; font-weight: 600; letter-spacing: -.5px; }
.ft-div { width: 1px; align-self: stretch; background: var(--w14); }
.ft-right { flex: 1; display: flex; flex-direction: column; gap: 50px; padding: 50px 50px 0 0; }
.ft-pages { display: flex; flex-direction: column; gap: 20px; }
.pg-grid { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 30px; }
.pg-grid div { display: flex; flex-direction: column; gap: 3px; }
.nojs-mail {
  display: none; align-items: center; justify-content: center; height: 48px;
  border-radius: 999px; border: 1px solid var(--w30); color: var(--white);
  font-size: 14px; font-weight: 600; letter-spacing: -.5px;
}

/* ═══ 13 · dock ═════════════════════════════════════════════ */
/* hidden for now — delete this rule to bring the floating bottom nav back */
.dock { display: none !important; }

.dock {
  position: fixed; z-index: 55; bottom: 15px; left: 50%;
  width: 570px; max-width: calc(100vw - 40px); height: 60px; padding: 15px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--white); border: 1px solid var(--white); border-radius: 12px;
  box-shadow: 0 -1px 0 rgba(0,0,0,.12), 0 12px 30px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.59);
  transform: translate(-50%, 120px); opacity: 0;
  transition: transform .6s var(--ease), opacity .5s ease;
}
.dock.on { transform: translate(-50%, 0); opacity: 1; }
.dk-side { flex: 1; display: flex; align-items: center; gap: 20px; }
.dk-side.right { justify-content: flex-end; }

/* ═══ responsive ════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --pad: 15px; }
  .tn-links { display: none; }
  /* the 4-col grid squeezes the wordmark once the links are gone */
  .tn-grid { display: flex; justify-content: space-between; align-items: center; }
  .sb-links, .sb-foot { padding: 0 40px; }
  .bento, .st-quote { grid-template-columns: 1fr; }
  .ct-card { max-width: 100%; }
  /* stacked cards must fill the width: flex-start is right for the row
     layout but collapses the column layout to content width */
  .st-cards { flex-direction: column; align-items: stretch; }
  .st-col.off1, .st-col.off2, .st-col.off3 { padding-top: 0; }
  .flip { position: relative; top: 0; }
  .bl-grid { grid-template-columns: 1fr 1fr; }
  .pr-card { flex-direction: column; }
  .plan { padding: 30px 25px; }
  .ft-body { flex-direction: column; gap: 25px; }
  .ft-left, .ft-right { max-width: 100%; padding: 25px 0 0; }
  .ft-div { width: 100%; height: 1px; }
  .pg-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .works { grid-template-columns: 1fr; }
  .w-headin, .w-stack { grid-column: 1; }
  .w-headin { min-height: 200px; gap: 25px; }
  .wcard { height: 60vh; }
  .w-headin { position: relative; top: 0; }
  .s-body { grid-template-columns: 1fr; }
  .s-list { grid-column: 1; }
  .s-preview { position: relative; top: 0; max-width: 320px; }
  .faq-grid { grid-template-columns: 1fr; }
  .hero-main { padding: 90px var(--pad) 30px; }
  .hm-top { grid-template-columns: 1fr; gap: 40px; }
  .who-head, .who-title { grid-template-columns: 1fr; }
  .who-title { grid-column: 1; }
  .dock { width: auto; }
  .dk-side { gap: 12px; }
  .dock .dotlink span { font-size: 15px; }
  .collab { padding: 30px 15px; min-height: 520px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .vision { height: 400vh; }
  .tst-cards { width: 100%; height: 380px; }
  .tcard { padding: 25px; }
}
@media (max-width: 700px) {
  .bl-grid { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 1fr; }
  .who-dots, .p-head, .faq-head, .s-head, .bl-head { grid-template-columns: repeat(2, 1fr); }
  .bl-head h2 { grid-column: 1 / span 2; }
  /* the work-list items are nowrap by design; at phone widths the longest
     one ("Engineering & foundations") would overflow, so they shrink */
  .s-item span { font-size: clamp(21px, 6.4vw, 26px); letter-spacing: -1.2px; }
  .s-item em { padding-top: 6px; }
  /* hero has to fit one screen on a phone: drop the decorative row,
     stack the wordmark and keep the badge clear of the title */
  .hm-dots { display: none; }
  .hm-top { gap: 24px; }
  .hm-title { flex-direction: column; align-items: flex-start; gap: 0; }
  .hm-title h1, .hm-title h2 { font-size: clamp(38px, 15vw, 64px); }
  .hm-meta { justify-content: flex-start; }
  .scroll-badge { bottom: 14px; left: auto; right: var(--pad); transform: none; }
  .work-sec, .who-sec, .services, .pricing, .faqsec, .stats, .blog { padding-block: 68px; }
  .who-sec { padding-top: 135px; }
  .contact .container { padding-block: 80px 60px; }
  .ft-cta { flex-direction: column; align-items: flex-start; padding: 60px 0 25px; }
}

/* ═══ reduced motion / instant capture ══════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }

  /* the pinned sections exist to be scrolled through — four of them hold
     19 viewport-heights of scroll distance between them. Without motion
     that is just a very long page, so each pin releases: sections shrink
     to their content and show their settled state instead. The char cells
     come in too, or every split heading would render as empty space */
  .ch-in { transform: none !important; opacity: 1 !important; }
  .hero { height: auto; }
  .hero-sticky { position: relative; }
  .scroll-badge { display: none; }

  .vision { height: auto; }
  .v-sticky { position: relative; padding-block: 90px 70px; }
  .v-lines { display: block; }
  .vline { opacity: 1; white-space: normal; margin: 16px 0; }
  .lbl.light.bot { display: none; }

  .showreel { height: auto; }
  .sr-sticky { position: relative; min-height: 82vh; }
  .sr-grid { transform: none; }
  .sr-title { opacity: 1; }
  .sr-play { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
  .s-item { opacity: 1; }

  .tst { height: auto; }
  .tst-sticky { position: relative; padding-block: 110px 50px; }
  .tst-split { display: none; }
  .tst-cards {
    position: relative; width: min(420px, 100%); height: auto;
    display: flex; flex-direction: column; gap: 20px;
  }
  .tcard { position: relative; opacity: 1; visibility: visible; transform: none; }
  .tst-count { display: none; }
}
html.instant *, html.instant *::before, html.instant *::after {
  transition: none !important; animation: none !important;
}
html.instant .ch-in { transform: none !important; opacity: 1 !important; }
html.instant .w { opacity: 1 !important; }
html.instant .pre { display: none !important; }
html.instant .chat-row { opacity: 1 !important; transform: none !important; }
