/* Whatta Match Media — design system
   Layout: dark-first editorial grid; Ink grounds every page, Cream sections punctuate,
   the gradient wave is the only loud element per screen. */
:root {
  --ink: #14284A;
  --ink-deep: #0E1D38;
  --ink-raised: #1D3762;
  --ink-line: rgba(243, 238, 228, 0.14);
  --cream: #F3EEE4;
  --cream-dim: rgba(243, 238, 228, 0.72);
  --orange: #FF5F1F;
  --amber: #FF8A3D;
  --sky: #9FB8E8;
  --ember: #B8390A;
  --wave: linear-gradient(90deg, #FF8A3D 0%, #FF5F1F 100%);

  --f-display: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-text: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Red Hat Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1280px;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-deep);
  color: var(--cream);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { max-width: 100%; display: block; }
/* One ink gradient behind the whole site, fixed so it stays put as you scroll */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(42, 74, 128, 0.55) 0%, rgba(42, 74, 128, 0) 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(29, 55, 98, 0.6) 0%, rgba(29, 55, 98, 0) 65%),
    linear-gradient(160deg, #1A3158 0%, #14284A 38%, #0E1D38 72%, #0A1529 100%);
}
/* Depth: a perspective grid receding to the horizon, plus fine film grain over everything */
body::after {
  content: ""; position: fixed; z-index: 0; pointer-events: none;
  left: -60%; right: -60%; top: 44%; height: 110%;
  background-image:
    linear-gradient(rgba(159, 184, 232, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 184, 232, 0.1) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center top;
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 22%, #000 60%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 22%, #000 60%);
  opacity: .9;
}
html::after {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
a { color: inherit; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.display { font-weight: 900; font-size: clamp(48px, 9vw, 148px); letter-spacing: -0.035em; line-height: 0.94; }
.h1 { font-weight: 900; font-size: clamp(42px, 6.4vw, 104px); letter-spacing: -0.03em; line-height: 0.98; }
.h2 { font-size: clamp(34px, 4.6vw, 68px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.01em; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--amber); }
.serif--cream { color: var(--cream); }
.eyebrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin: 0 0 18px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--wave); }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--cream-dim); max-width: 60ch; margin: 0; }
p { margin: 0; max-width: 66ch; }
.mono { font-family: var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.muted { color: var(--cream-dim); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease); background: rgba(14, 29, 56, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-solid { border-color: var(--ink-line); }
.site-header.is-solid::before { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: block; width: 172px; flex: none; }
.brand svg { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--cream); opacity: .82; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink-line); color: var(--cream); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--f-text); cursor: pointer; }
@media (max-width: 960px) {
  .nav-links { position: fixed; inset: 0; top: 0; flex-direction: column; justify-content: center; gap: 22px; background: linear-gradient(160deg, #1A3158 0%, #0E1D38 100%); transform: translateY(-100%); transition: transform .5s var(--ease); padding: 90px var(--gutter) 40px; }
  .nav-links.is-open { transform: none; }
  .nav-links a { font-family: var(--f-display); font-weight: 800; font-size: 34px; }
  .nav-toggle { display: inline-block; position: relative; z-index: 2; }
  .brand { width: 150px; position: relative; z-index: 2; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font: 700 16px var(--f-text); text-decoration: none; border: 0; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s; will-change: transform; }
.btn-primary { background: var(--wave); color: var(--ink); }
.btn-primary:hover { background: var(--amber); }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243,238,228,.45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link { color: var(--sky); text-decoration: none; font-weight: 600; border-bottom: 1.5px solid rgba(159,184,232,.4); }
.link:hover { border-color: var(--sky); }

/* ---------- Sections ---------- */
main { position: relative; z-index: 2; }
.sec { position: relative; padding-block: clamp(72px, 9vw, 140px); }

.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); max-width: 900px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 3D canvas ---------- */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
.wave-fallback { width: 100%; }
.has-gl .wave-fallback, .has-gl .hero-art { display: none !important; }

/* ---------- Home: hero (type left, the line right) ---------- */
.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-start; padding-block: clamp(118px, 15vh, 156px) 96px; }
.hero-art { position: absolute; right: 5vw; top: 50%; width: min(40vw, 560px); transform: translateY(-50%); }
.hero-inner { display: grid; gap: 30px; justify-items: start; }
.hero-inner > * { max-width: min(100%, 640px); }
.hero .display { font-size: clamp(46px, 6.6vw, 108px); max-width: 9ch; }
.hero-foot { display: grid; gap: 26px; }
.hero .scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); }
@media (max-width: 900px) {
  .hero { align-items: flex-end; padding-top: 48vh; padding-bottom: 72px; }
  .hero-art { top: 14vh; right: 10vw; width: 80vw; transform: none; }
  .hero .display { font-size: clamp(44px, 12vw, 72px); }
  .hero .scroll-cue { display: none; }
}
.scroll-cue { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); display: flex; align-items: center; gap: 12px; }
.scroll-cue span { width: 1.5px; height: 42px; background: linear-gradient(var(--amber), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Manifesto */
.manifesto { min-height: 90vh; display: flex; align-items: center; }
.manifesto p { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 66px); line-height: 1.08; letter-spacing: -0.02em; max-width: 20ch; color: var(--cream); }
.manifesto p + p { margin-top: .5em; }
.manifesto .word { opacity: .16; transition: opacity .5s var(--ease); }
.manifesto .word.on { opacity: 1; }

/* Match moment: the line faces you full-on above the line of type */
.match { text-align: center; }
.match-inner { display: grid; justify-items: center; gap: 22px; padding-top: 44vh; }
.match-labels { position: absolute; top: 18vh; left: var(--gutter); right: var(--gutter); max-width: calc(var(--maxw) - 2 * var(--gutter)); margin-inline: auto; display: flex; justify-content: space-between; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--sky); }
.match .lede { margin-inline: auto; }
@media (max-width: 900px) { .match-inner { padding-top: 34vh; } .match-labels { display: none; } }

/* Services: a pinned chapter. The list and copy sit left, the line takes each discipline's shape on the right */
.svc-track { height: 500vh; position: relative; }
.svc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.svc-side { display: grid; gap: 18px; max-width: 600px; }
.svc-side .h2 { font-size: clamp(32px, 3.5vw, 52px); }
.svc-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.svc-list li { font-family: var(--f-display); font-weight: 800; font-size: clamp(18px, 1.65vw, 24px); letter-spacing: -0.01em; opacity: .3; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.svc-list li.on { opacity: 1; transform: translateX(12px); }
.svc-list li.on a { background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-list li a { text-decoration: none; }
.svc-panels { display: grid; }
.svc-panel { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; padding-left: 18px; border-left: 2px solid var(--orange);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s; }
.svc-panel.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .1s, transform .7s var(--ease) .1s, visibility 0s; }
.svc-panel h3 { display: none; font-size: 24px; }
.svc-panel p { color: var(--cream-dim); }
.svc-panel .match-tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.svc-count { font-family: var(--f-mono); font-size: 13px; color: var(--cream-dim); letter-spacing: .08em; }
@media (max-width: 900px) {
  .svc-stage { align-items: flex-end; padding-bottom: 48px; }
  .svc-side { gap: 16px; }
  .svc-side .h2 { font-size: clamp(30px, 8vw, 44px); }
  .svc-list { display: none; }
  .svc-panel h3 { display: block; }
}
@media (min-width: 901px) { .svc-mobile { display: none; } }

/* Cards */
.card { background: rgba(29, 55, 98, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.card h3 { font-size: 22px; }
.card p { color: var(--cream-dim); font-size: 16px; }

/* Work cards */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .work-grid { grid-template-columns: minmax(0,1fr); } }
.work-card { position: relative; border-radius: var(--radius); overflow: hidden; background: rgba(29, 55, 98, 0.55); border: 1px solid var(--ink-line); aspect-ratio: 4 / 5; max-width: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; text-decoration: none; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.work-card .art { position: absolute; inset: 30% 18% 38%; opacity: .9; display: grid; place-items: center; }
.work-card .art svg { width: 100%; height: 100%; }
.work-card .tag { position: relative; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.work-card h3 { position: relative; font-size: 24px; }
.work-card .soon { position: relative; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
@media (max-width: 860px) { .numbers { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.num { border-top: 1px solid var(--ink-line); padding-top: 22px; display: grid; gap: 8px; }
.num b { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 7vw, 108px); line-height: .9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.num span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Global */
.globe-sec { min-height: 130vh; display: flex; align-items: center; }
.cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.cities li { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(159,184,232,.35); color: var(--sky); }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 3px; border-radius: 3px; background: var(--wave); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1.4s var(--ease); }
.process li { display: grid; gap: 12px; padding-right: 18px; position: relative; }
.process .dot { width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; font-weight: 600; position: relative; }
.process h3 { font-size: 22px; }
.process p { font-size: 15px; }
@media (max-width: 900px) {
  .process { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .process::before { left: 23px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(#FF8A3D, #FF5F1F); }
  .process li { grid-template-columns: 48px minmax(0,1fr); column-gap: 18px; }
  .process li > :not(.dot) { grid-column: 2; }
}

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
@media (max-width: 760px) { .founders { grid-template-columns: minmax(0,1fr); } }
.founder { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 22px; align-items: center; }
.portrait { width: 120px; aspect-ratio: 4/5; border-radius: 14px; background: rgba(29, 55, 98, 0.7); display: grid; place-items: end center; overflow: hidden; max-width: 100%; }
.portrait svg { width: 100%; height: auto; }
.quote { font-family: var(--f-serif); font-style: italic; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.15; max-width: 26ch; margin: 0 0 56px; }

/* Contact finale */
.finale { min-height: 88vh; display: flex; align-items: center; text-align: left; }

/* Forms */
.form { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); }
.field input, .field textarea, .field select { width: 100%; font: 400 17px var(--f-text); color: var(--cream); background: rgba(14,29,56,.6); border: 1px solid rgba(243,238,228,.22); border-radius: 12px; padding: 14px 16px; transition: border-color .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(243,238,228,.3); font-size: 15px; transition: all .2s; }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 14px; color: var(--cream-dim); }
.form-status { font-weight: 600; color: var(--amber); min-height: 1.5em; }

/* Brief builder */
.brief { background: rgba(29, 55, 98, 0.55); border: 1px solid var(--ink-line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 24px; }
.brief-step { display: grid; gap: 18px; }
.brief-progress { display: flex; gap: 6px; }
.brief-progress i { flex: 1; height: 4px; border-radius: 4px; background: rgba(243,238,228,.15); }
.brief-progress i.on { background: var(--wave); }
.brief-result ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.brief-result li { background: rgba(14, 29, 56, 0.7); border-radius: 12px; padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brief-nav { display: flex; gap: 12px; flex-wrap: wrap; }

/* Inner pages */
.page-hero { padding-block: clamp(128px, 12vw, 176px) clamp(52px, 7vw, 96px); position: relative; overflow-x: clip; }
.page-hero--full { min-height: 80vh; display: flex; align-items: center; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero .wave-mark { width: clamp(120px, 14vw, 190px); margin-bottom: 30px; }
.page-hero .wave-mark path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* The Match Line sweeps in from the right edge of every page header */
.ph-line { position: absolute; z-index: 0; pointer-events: none; right: -12vw; top: 56%; width: min(46vw, 760px); translate: 0 -50%; rotate: -9deg; overflow: visible; animation: phfloat 9s ease-in-out 2.6s infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.ph-line path { stroke-dasharray: 1; stroke-dashoffset: -1; animation: phdraw 2.6s var(--ease) .15s forwards; }
@keyframes phdraw { to { stroke-dashoffset: 0; } }
@keyframes phfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (min-width: 1001px) { .page-hero > .wrap > * { max-width: min(100%, 56vw); } .page-hero > .wrap > .h1, .page-hero > .wrap > h1 { max-width: min(16ch, 56vw); } .page-hero > .wrap > .lede { max-width: min(100%, 44vw); } }
@media (max-width: 1000px) {
  .ph-line { top: 84px; translate: none; right: -38vw; width: 100vw; opacity: .22; rotate: -6deg; }
}
.page-hero .h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 26px; }
.page-hero .lede { margin-top: 26px; }
.prose { display: grid; gap: 20px; max-width: 72ch; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 24px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.faq { border-top: 1px solid var(--ink-line); }
.faq details { border-bottom: 1px solid var(--ink-line); padding-block: 22px; }
.faq summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 28px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; counter-reset: st; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0,1fr); } }
.steps li { counter-increment: st; border-top: 3px solid var(--orange); padding-top: 18px; display: grid; gap: 8px; }
.steps li::before { content: "Step " counter(st); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter button { font: 600 14px var(--f-text); color: var(--cream); background: transparent; border: 1px solid rgba(243,238,228,.3); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.meta-row { display: flex; flex-wrap: wrap; gap: 28px; padding-block: 24px; border-block: 1px solid var(--ink-line); }
.meta-row div { display: grid; gap: 4px; }
.placeholder { border: 1.5px dashed rgba(243,238,228,.28); border-radius: var(--radius); padding: 28px; color: var(--cream-dim); }
.article-list { display: grid; gap: 0; border-top: 1px solid var(--ink-line); }
.article-list a { display: grid; grid-template-columns: 160px minmax(0,1fr) auto; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--ink-line); text-decoration: none; align-items: baseline; }
.article-list a:hover h3 { color: var(--amber); }
@media (max-width: 700px) { .article-list a { grid-template-columns: minmax(0,1fr); gap: 8px; } }

/* Footer */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--ink-line); padding-block: 80px calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0,1fr)); gap: 40px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: repeat(2, minmax(0,1fr)); } .footer-top > :first-child { grid-column: 1 / -1; } }
.footer-logo { width: 220px; margin-bottom: 22px; }
.site-footer h4 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: var(--amber); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--cream-dim); }
.newsletter { display: flex; gap: 10px; margin-top: 18px; max-width: 380px; }
.newsletter input { flex: 1; min-width: 0; font: 400 15px var(--f-text); color: var(--cream); background: transparent; border: 1px solid rgba(243,238,228,.25); border-radius: 999px; padding: 12px 16px; }
.newsletter button { padding: 12px 18px; font-size: 14px; }

/* Cursor node */
.cursor { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--wave); pointer-events: none; z-index: 90; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s; opacity: 0; mix-blend-mode: normal; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; opacity: .35; }
@media (hover: none) { .cursor { display: none; } }

/* Reveal */
.reveal { transform: translateY(24px); opacity: .001; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.reveal.in { transform: none; opacity: 1; }
.no-js .reveal { transform: none; opacity: 1; }

/* Cookie bar */
.cookie { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80; max-width: 560px; background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 16px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.cookie p { font-size: 14px; }
.cookie .btn { padding: 10px 18px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { transform: none; opacity: 1; }
  .manifesto .word { opacity: 1; }
  .page-hero .wave-mark path, .ph-line path { stroke-dashoffset: 0; animation: none; }
  .ph-line { animation: none; }
}

/* Services hub: each tile carries its discipline's symbol, bottom right */
.svc-tile { position: relative; padding-bottom: 84px; }
.svc-tile .svc-ico { position: absolute; right: 24px; bottom: 22px; width: 52px; height: 52px; transition: transform .5s var(--ease); }
.svc-tile .svc-ico .fill { fill: #FF6F2A; stroke: none; }
.svc-tile:hover .svc-ico { transform: translateY(-4px) rotate(-6deg); }
.svc-tile .link { position: absolute; left: 28px; bottom: 34px; }
@media (min-width: 901px) { .svc-hub > .svc-tile:first-child { grid-column: span 2; } .svc-hub > .svc-tile:first-child p { max-width: 52ch; } }
.svc-tile--cta { border-color: rgba(255, 138, 61, 0.45); background: linear-gradient(140deg, rgba(255, 138, 61, 0.14), rgba(29, 55, 98, 0.55) 60%); }

/* ===== Work projects ===== */
.work-card.project { gap: 16px; }
.work-card.project::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 34%, rgba(255,138,61,.16), transparent 60%); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.work-card.project:hover::before, .work-card.project:focus-visible::before { opacity: 1; }
.work-card.project .art { inset: 17% 14% 47%; opacity: 1; }
.brand-logo { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; transition: transform .6s var(--ease); }
.work-card.project:hover .brand-logo { transform: scale(1.05); }
.brand-word { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.03em; line-height: .95; color: var(--cream); text-align: center; }
.card-foot { position: relative; display: grid; gap: 8px; }
.card-line { margin: 0; font-size: 15px; line-height: 1.45; color: var(--cream-dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work-card .origin { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.filter button { transition: background .3s, color .3s, border-color .3s; }
.filter button:hover { border-color: var(--cream); }
[data-cat][hidden] { display: none !important; }

/* Case study hero panel */
.cs-hero { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; background: radial-gradient(90% 120% at 30% 20%, var(--ink-raised), var(--ink-deep)); border: 1px solid var(--ink-line); display: grid; place-items: center; }
.cs-hero-mark { position: relative; z-index: 1; width: min(46%, 520px); height: 42%; display: grid; place-items: center; }
.brand-logo--xl { max-height: 100%; }
.cs-hero-mark .brand-word { font-size: clamp(44px, 7vw, 110px); }
.cs-hero .cs-wave { position: absolute; right: -6%; bottom: -18%; width: 52%; opacity: .35; }
@media (max-width: 700px) { .cs-hero { aspect-ratio: 4 / 3; } .cs-hero-mark { width: 72%; } }
.sec .quote.reveal { max-width: 34ch; font-size: clamp(26px, 2.8vw, 42px); margin-bottom: 0; }
.next-project { display: grid; gap: 10px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--ink-line); background: rgba(29,55,98,.45); text-decoration: none; color: var(--cream); transition: border-color .4s; }
.next-project:hover { border-color: var(--amber); }
.next-name { font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 5vw, 72px); letter-spacing: -0.03em; line-height: 1; }

/* Logo wall */
.logos { padding-block: clamp(56px, 7vw, 110px); overflow: hidden; }
.logos .sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(44px, 6vw, 88px); align-items: center; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; height: clamp(30px, 3.4vw, 46px); display: grid; place-items: center; }
.marquee-track img { height: 100%; width: auto; max-width: 190px; object-fit: contain; opacity: .78; transition: opacity .3s; }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); row-gap: 32px; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}

/* Team */
.team-grid { display: grid; gap: 20px; }
.team-grid + .team-grid { margin-top: 20px; }
.team-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.team-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.team-card { display: grid; gap: 22px; align-content: start; background: rgba(29,55,98,.45); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 18px 18px 28px; min-width: 0; }
.team-card--big { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; padding: 18px; }
.team-card--big .team-body { padding: 0 10px 10px 0; }
.team-body { display: grid; gap: 10px; padding-inline: 8px; }
.team-body p { margin: 0; font-size: 16px; }
.portrait-lg { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: radial-gradient(80% 70% at 50% 42%, var(--ink-raised), var(--ink-deep)); }
.portrait-lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-lg img.colour { opacity: 0; transition: opacity .6s var(--ease); }
.team-card:hover .portrait-lg img.colour { opacity: 1; }
.portrait-lg--mono { display: grid; place-items: center; }
.portrait-lg--mono span { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 7vw, 96px); letter-spacing: -0.04em; background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1000px) { .team-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } .team-card--big { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 640px) { .team-grid--2, .team-grid--3 { grid-template-columns: minmax(0,1fr); } }

/* Partner */
.partner-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); border: 1px solid var(--ink-line); background: linear-gradient(135deg, rgba(29,55,98,.7), rgba(14,29,56,.4)); }
.partner-name { color: var(--cream); text-decoration: none; background-image: var(--wave); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .6s var(--ease); }
.partner-name:hover { background-size: 100% 3px; }
.partner-copy { display: grid; gap: 14px; }
.partner-copy p { margin: 0; }
@media (max-width: 800px) { .partner-card { grid-template-columns: minmax(0,1fr); } }

/* Locations infographic */
.loc-visual { border-radius: var(--radius); border: 1px solid var(--ink-line); background: rgba(14,29,56,.55); padding: clamp(10px, 2vw, 24px); }
.loc-map { width: 100%; height: auto; display: block; overflow: visible; }
.loc-map .tz { stroke: rgba(159,184,232,.28); stroke-width: 1; stroke-dasharray: 3 6; }
.loc-map .tzl { fill: var(--sky); font: 500 13px var(--f-mono); letter-spacing: .06em; text-anchor: middle; }
.loc-map .route { fill: none; stroke: url(#locg); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 10; animation: route 2.4s linear infinite; }
.loc-map .route--long { stroke-width: 2; opacity: .55; }
@keyframes route { to { stroke-dashoffset: -36; } }
.loc-map .pulse { fill: none; stroke: var(--orange); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.loc-map .city { fill: var(--cream); font: 900 26px var(--f-display); letter-spacing: -0.02em; }
.loc-map .role { fill: var(--amber); font: 500 11px var(--f-mono); letter-spacing: .1em; }
.loc-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-block: clamp(28px, 4vw, 48px); }
.loc-stats div { border-top: 1px solid var(--ink-line); padding-top: 18px; display: grid; gap: 6px; }
.loc-stats b { font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 5.4vw, 80px); line-height: .9; letter-spacing: -0.04em; }
.loc-stats span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); }
.loc-card p { margin: 0; }
.clock { display: flex; align-items: baseline; gap: 12px; margin-top: auto !important; padding-top: 10px; border-top: 1px solid var(--ink-line); }
.clock [data-tz] { font-family: var(--f-display); font-weight: 800; font-size: 26px; color: var(--cream); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .loc-map .city { font-size: 34px; } .loc-map .role { font-size: 15px; } .loc-map .tzl { font-size: 17px; } .loc-stats { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) { .loc-map .route, .loc-map .pulse { animation: none; } }
.brand-logo { width: 100%; height: 100%; }
.team-join { text-decoration: none; color: var(--cream); border-style: dashed; transition: border-color .4s; }
.team-join:hover { border-color: var(--amber); }
.team-join-art { aspect-ratio: 4 / 5; border-radius: 12px; display: grid; place-items: center; font: 200 clamp(80px, 9vw, 140px)/1 var(--f-display); color: var(--amber); background: radial-gradient(80% 70% at 50% 42%, rgba(29,55,98,.6), rgba(14,29,56,.6)); }
.work-card.project .card-foot { min-height: 46%; align-content: end; }
@media (max-width: 700px) {
  .loc-map .city { font-size: 52px; }
  .loc-map .role, .loc-map .tzl { display: none; }
  .loc-stats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
  .loc-stats b { font-size: 38px; }
  .loc-stats span { font-size: 10px; }
}

/* ===== Round 3 fixes ===== */
/* Section rhythm: tighter vertical spacing */
.sec { padding-block: clamp(52px, 6vw, 96px); }
.sec-head { margin-bottom: clamp(30px, 3.6vw, 52px); }
.page-hero + .sec { padding-top: clamp(20px, 3vw, 40px); }

/* Logo grid: every logo fully visible */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); }
.logo-grid li { display: grid; place-items: center; padding: clamp(18px, 2.4vw, 32px) clamp(14px, 2vw, 28px); border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); aspect-ratio: 16 / 9; min-width: 0; }
.logo-grid img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: .82; transition: opacity .3s; }
.logo-grid li:hover img { opacity: 1; }
@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 620px) { .logo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } .logo-grid li { padding: 14px 10px; } }

/* Project cards: logo sits in its own row, never behind text */
.work-card.project { display: flex; flex-direction: column; justify-content: flex-start; gap: 0; }
.work-card.project .art { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 22px 10%; }
.work-card.project .brand-logo { width: auto; height: auto; max-width: 100%; max-height: 120px; }
.work-card.project .brand-word { font-size: clamp(28px, 2.8vw, 40px); }
.work-card.project .card-foot { min-height: 0; flex: none; }

/* Location cards: rows line up across all three */
.loc-card { display: flex; flex-direction: column; gap: 14px; }
.loc-card .loc-addr { flex: 1 1 auto; min-height: 3.2em; }
.loc-card .clock { margin-top: 0 !important; }
.loc-stats div { text-align: center; justify-items: center; }
.loc-stats { margin-block: clamp(24px, 3vw, 40px); }
.loc-visual { padding: clamp(8px, 1.5vw, 18px); }
.loc-map .city { font-size: 24px; }
.loc-map .role { font-size: 11px; }
@media (max-width: 700px) { .loc-map .city { font-size: 46px; } .loc-map .role { display: none; } }

/* ===== Case-study visuals ===== */
.cs-hero { aspect-ratio: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: stretch; place-items: stretch; min-height: clamp(300px, 34vw, 440px); }
.cs-hero-mark { width: auto; height: auto; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px); border-right: 1px solid var(--ink-line); }
.cs-hero-mark .brand-logo { width: auto; height: auto; max-width: min(100%, 420px); max-height: 180px; }
.cs-hero-side { position: relative; z-index: 1; display: grid; align-content: center; gap: 18px; padding: clamp(24px, 4vw, 52px); }
.cs-hero-side p { margin: 0; }
.cs-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chips li { font: 600 14px var(--f-text); padding: 8px 14px; border-radius: 999px; background: rgba(243,238,228,.08); border: 1px solid var(--ink-line); }
.cs-icons { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 18px; border-top: 1px solid var(--ink-line); }
.cs-icon { display: grid; justify-items: center; gap: 6px; width: 84px; text-align: center; }
.cs-icon svg { width: 44px; height: 44px; }
.cs-icon em { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--cream-dim); }
.cs-hero .cs-wave { width: 34%; right: -4%; bottom: -14%; opacity: .22; }
@media (max-width: 800px) { .cs-hero { grid-template-columns: minmax(0,1fr); } .cs-hero-mark { border-right: 0; border-bottom: 1px solid var(--ink-line); min-height: 200px; } }

.viz-stack { display: grid; gap: 20px; }
.viz { margin: 0; border: 1px solid var(--ink-line); border-radius: var(--radius); background: radial-gradient(120% 120% at 0% 0%, rgba(29,55,98,.75), rgba(14,29,56,.55)); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: clamp(20px, 3vw, 36px); }
.viz figcaption { display: grid; gap: 6px; }
.viz figcaption .eyebrow { margin: 0; }
/* hub */
.viz-hub { width: 100%; height: auto; display: block; }
.viz-hub .hub-line { stroke: rgba(255,138,61,.55); stroke-width: 2; stroke-dasharray: 5 7; animation: route 3s linear infinite; }
.viz-hub .hub-ring { fill: none; stroke: rgba(255,138,61,.35); stroke-width: 1.5; }
.viz-hub .hub-c1 { fill: #fff; font: 900 26px var(--f-display); text-anchor: middle; letter-spacing: -0.02em; }
.viz-hub .hub-c2 { fill: rgba(255,255,255,.9); font: 500 14px var(--f-text); text-anchor: middle; }
.viz-hub .hub-node rect { fill: #1D3762; stroke: rgba(159,184,232,.35); }
.viz-hub .hub-node text { fill: var(--cream); font: 600 15px var(--f-text); text-anchor: middle; }
.viz-hub-list { display: none; }
@media (max-width: 700px) {
  .viz-hub { display: none; }
  .viz-hub-list { display: grid; gap: 14px; }
  .hub-center { margin: 0; font: 900 26px var(--f-display); background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hub-center span { font: 500 15px var(--f-text); color: var(--cream-dim); -webkit-text-fill-color: var(--cream-dim); }
  .viz-hub-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .viz-hub-list li { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(159,184,232,.35); background: #1D3762; font-weight: 600; font-size: 14px; }
}
/* flow */
.viz-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0,1fr)); gap: 16px; position: relative; }
.viz-flow::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--wave); opacity: .7; }
.viz-flow li { position: relative; display: grid; gap: 8px; align-content: start; }
.viz-flow .flow-dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--f-mono); color: var(--ink-deep); background: var(--wave); box-shadow: 0 0 0 6px rgba(14,29,56,.9); }
.viz-flow b { font: 800 19px var(--f-display); letter-spacing: -0.01em; margin-top: 8px; }
.viz-flow .muted { font-size: 15px; }
@media (max-width: 760px) {
  .viz-flow { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .viz-flow::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .viz-flow li { grid-template-columns: 46px minmax(0,1fr); column-gap: 16px; }
  .viz-flow b { margin-top: 0; align-self: center; }
  .viz-flow .muted { grid-column: 2; }
}
/* tiles */
.viz-tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.viz-tiles .tile { border-radius: 14px; padding: clamp(18px, 2.4vw, 28px); background: rgba(14,29,56,.6); border: 1px solid var(--ink-line); display: grid; gap: 10px; align-content: start; }
.viz-tiles .tile:first-child { background: var(--wave); border-color: transparent; }
.viz-tiles .tile:first-child b, .viz-tiles .tile:first-child span { color: var(--ink-deep); }
.viz-tiles b { font: 900 clamp(30px, 3.4vw, 46px)/1 var(--f-display); letter-spacing: -0.03em; }
.viz-tiles span { font-size: 15px; color: var(--cream-dim); }
@media (max-width: 900px) { .viz-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* split */
.viz-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr) minmax(0,1fr); gap: 14px; align-items: stretch; }
.split-col, .split-mid { border-radius: 14px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--ink-line); background: rgba(14,29,56,.6); display: grid; gap: 14px; align-content: start; }
.split-head { font: 900 clamp(34px, 4vw, 54px)/1 var(--f-display); letter-spacing: -0.03em; }
.split-mid { background: var(--wave); border-color: transparent; color: var(--ink-deep); }
.split-mid .mono { color: var(--ink-deep); }
.viz-split ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.viz-split li { padding-left: 18px; position: relative; }
.viz-split li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.split-mid li { font-weight: 600; }
.split-mid li::before { background: var(--ink-deep); }
@media (max-width: 800px) { .viz-split { grid-template-columns: minmax(0,1fr); } }
/* stat */
.viz--stat { grid-template-columns: auto minmax(0,1fr); align-items: center; gap: clamp(20px, 4vw, 56px); }
.viz-stat { display: contents; }
.viz-stat > b { font: 900 clamp(64px, 9vw, 140px)/.9 var(--f-display); letter-spacing: -0.05em; background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 600px) { .viz--stat { grid-template-columns: minmax(0,1fr); } }
/* challenge / insight */
.cs-ci { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.cs-ci .card { padding: clamp(24px, 3vw, 40px); }
.cs-ci .card p:last-child { font-size: 18px; line-height: 1.55; color: var(--cream-dim); margin: 0; }
.card--accent { border-color: rgba(255,138,61,.45); }
@media (max-width: 800px) { .cs-ci { grid-template-columns: minmax(0,1fr); } }
/* what we did line */
.did-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; position: relative; }
.did-line::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--ink-line); }
.did-line li { position: relative; display: grid; gap: 10px; align-content: start; }
.did-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--f-mono); border: 1px solid var(--amber); color: var(--amber); background: var(--ink-deep); }
.did-line h3 { font-size: 20px; margin: 6px 0 0; }
.did-line p { margin: 0; color: var(--cream-dim); font-size: 16px; }
@media (max-width: 900px) { .did-line { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 32px; } .did-line::before { display: none; } }
@media (max-width: 560px) { .did-line { grid-template-columns: minmax(0,1fr); } }
.outcome { border-left: 3px solid var(--orange); padding-left: clamp(20px, 3vw, 40px); }
.outcome .quote { margin: 0; max-width: 34ch; font-size: clamp(26px, 2.8vw, 40px); }
.sec + .sec { padding-top: 0; }
.viz-hub .hub-c2 { font-size: 13px; }
.cs-hero { min-height: clamp(260px, 28vw, 380px); }

/* Team: compact cards, whole team in one screen */
.team-grid { gap: 16px; }
.team-grid + .team-grid { margin-top: 16px; }
.team-card, .team-card--big { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; padding: 20px 22px 22px; align-items: start; align-content: start; }
.team-head { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; align-items: center; }
.team-head > div { display: grid; gap: 4px; justify-items: start; }
.team-head .h3 { font-size: clamp(19px, 1.6vw, 23px); margin: 0; }
.team-head .mono { margin: 0; font-size: 11px; }
.team-head .link { font-size: 14px; margin-top: 4px; }
.team-bio { margin: 0; font-size: 15px; line-height: 1.5; }
.portrait-c { position: relative; margin: 0; width: 92px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(80% 70% at 50% 42%, var(--ink-raised), var(--ink-deep)); box-shadow: 0 0 0 1px var(--ink-line); flex: none; }
.team-card--big .portrait-c { width: 116px; }
.portrait-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-c img.colour { opacity: 0; transition: opacity .5s var(--ease); }
.team-card:hover .portrait-c img.colour { opacity: 1; }
.team-card:hover .portrait-c { box-shadow: 0 0 0 2px var(--amber); }
.portrait-c--mono { display: grid; place-items: center; }
.portrait-c--mono span { font: 900 32px var(--f-display); color: var(--amber); }
@media (max-width: 1000px) { .team-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .team-grid--2, .team-grid--3 { grid-template-columns: minmax(0,1fr); } }
.logo-grid li { aspect-ratio: auto; height: clamp(84px, 8vw, 116px); padding: 14px 18px; }
.logo-grid img { max-height: 46px; max-width: 78%; }
.logo-grid img[src*="irctc"], .logo-grid img[src*="vtp"], .logo-grid img[src*="kolte"], .logo-grid img[src*="jk-tyre"], .logo-grid img[src*="haldirams"], .logo-grid img[src*="bni"], .logo-grid img[src*="au-bank"] { max-height: 58px; }
.work-card.project .art { flex: 0 0 clamp(150px, 15vw, 210px); }
.work-card.project .card-foot { margin-top: 4px; }
@media (max-width: 620px) { .logo-grid li { height: 78px; } .logo-grid img { max-height: 38px; } }
.work-card.project { aspect-ratio: auto; min-height: 0; }
.viz-tiles b { font-size: clamp(24px, 2.3vw, 34px); }
@media (max-width: 1000px) {
  .team-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .team-grid--3 .team-head { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .team-grid--3 .team-bio { font-size: 14px; }
}
@media (max-width: 680px) { .team-grid--2, .team-grid--3 { grid-template-columns: minmax(0,1fr); } .team-grid--3 .team-head { grid-template-columns: auto minmax(0,1fr); } }

/* Round 4 */
.partner-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "eye eye" "title copy"; align-items: center; row-gap: 18px; }
.partner-eyebrow { grid-area: eye; margin: 0; }
.partner-title { grid-area: title; margin: 0; }
.partner-copy { grid-area: copy; }
.partner-name { color: var(--amber); background-image: var(--wave); }
.partner-name:hover { color: var(--orange); }
@media (max-width: 800px) { .partner-card { grid-template-columns: minmax(0,1fr); grid-template-areas: "eye" "title" "copy"; } }
.loc-card .link, .site-footer a[href*="dreodigital"] { color: var(--amber); border-color: rgba(255,138,61,.45); }
.loc-card .link:hover { border-color: var(--amber); }
.team-head .h3 { color: var(--amber); }
.loc-map text { paint-order: stroke; stroke: #0E1D38; stroke-width: 7px; stroke-linejoin: round; }
.loc-map .role { font-weight: 600; fill: #FFA866; }
.work-card.project .card-foot { position: static; }
.badge-current { position: absolute; top: 18px; right: 18px; font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-deep); background: var(--wave); padding: 6px 10px; border-radius: 999px; }
.work-card.project .tag { padding-right: 130px; }
.viz-tiles { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.team-head .h3 { color: var(--cream); transition: color .35s var(--ease); }
.team-card:hover .team-head .h3, .team-card:focus-within .team-head .h3 { color: var(--amber); }

/* next project: real brand logo */
.next-name { display: inline-flex; align-items: center; gap: .6em; }
.next-name .next-logo { height: clamp(48px, 6vw, 80px); width: auto; max-width: 320px; object-fit: contain; }
.next-name .brand-word.next-logo { height: auto; }

/* case study back link */
.back-link { display: flex; width: fit-content; align-items: center; gap: .5em; margin-bottom: 1.4rem; padding: .5rem 1rem;
  border: 1px solid rgba(243,238,228,.25); border-radius: 999px; color: var(--cream, #F3EEE4);
  font-size: .9rem; text-decoration: none; transition: border-color .2s, color .2s; }
.back-link span { transition: transform .2s; }
.back-link:hover, .back-link:focus-visible { border-color: #F28C38; color: #F28C38; }
.back-link:hover span { transform: translateX(-3px); }
