/* ==========================================================================
   AUM Research — site stylesheet
   Brand: navy #0C233F · teal #0E6B60 · ochre #B68B2C · Poppins
   ========================================================================== */

:root {
  /* Brand */
  --navy: #0C233F;
  --navy-2: #163456;
  --teal: #0E6B60;
  --teal-2: #0B5a51;
  --ochre: #B68B2C;
  --ochre-ink: #84641B;      /* ochre darkened for small text: 5.5:1 on white, 4.9:1 on mist */

  /* Neutrals */
  --ink: #0C233F;
  --text: #33455A;
  --muted: #5B6B7D;
  --line: #D8DFE5;
  --line-dark: rgba(255, 255, 255, 0.16);
  --mist: #EFF3F4;
  --paper: #FFFFFF;

  /* Type */
  --f-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-h1: clamp(2.5rem, 5.2vw, 4.4rem);
  --fs-h2: clamp(1.85rem, 3.3vw, 2.75rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.125rem, 1.6vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.78rem;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --radius: 3px;
  --header-h: 76px;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }

::selection { background: var(--ochre); color: #fff; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px;
  font-family: var(--f-display); font-size: 0.875rem; border-radius: var(--radius);
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Layout primitives ---------- */

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-top: 0; }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(32px, 6vw, 96px);
}
.section-head--split .eyebrow { grid-column: 1 / -1; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head--compact { margin-bottom: 28px; }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.72); }

/* Eyebrow — tracked caps echo the RESEARCH line of the wordmark; the
   small triangle is the ochre centre of the mark. */
.eyebrow {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--f-display); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ochre-ink);
}
.eyebrow::before {
  content: ""; width: 9px; height: 8px; flex: none; background: var(--ochre);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.section--navy .eyebrow { color: #E0B85A; }
.band .eyebrow { color: #fff; }

.mono { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: 0.02em; }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-family: var(--f-display); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: var(--radius);
  position: relative; isolation: isolate; overflow: hidden;
  transition: color .35s ease, border-color .35s ease, scale .15s ease;
  cursor: pointer;
}
/* Hover: a fill sweeps in from the left */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--teal));
  transform: scaleX(0); transform-origin: right center; transition: transform .45s cubic-bezier(.65,0,.25,1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:active { scale: .97; }
.btn--primary { background: var(--navy); color: #fff; --fill: var(--teal); }
.btn--primary:hover { color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; --fill: var(--navy); }
.btn--ghost:hover { color: #fff; }
.btn--light { background: #fff; color: var(--navy); --fill: var(--navy); }
.btn--light:hover { color: #fff; }
.btn--line-light { border-color: rgba(255,255,255,.6); color: #fff; --fill: #fff; }
.btn--line-light:hover { color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-size: 0.9375rem; font-weight: 600;
  color: var(--navy); text-decoration: none;
}
.arrow-link::after { content: "→"; transition: transform .18s ease; }
.arrow-link:hover { color: var(--teal); }
.arrow-link:hover::after { transform: translateX(4px); }
.section--navy .arrow-link { color: #fff; }
.section--navy .arrow-link:hover { color: #E0B85A; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: block; flex: none; }
.brand img { width: 118px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; }
.nav ul a {
  position: relative; display: block; padding: 8px 0;
  font-family: var(--f-display); font-size: 0.9375rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--ochre); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav .btn { min-height: 44px; padding: 0 20px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: -8px;
  background: none; border: 0; cursor: pointer; color: var(--navy);
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 2px; margin: 0 auto; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand img { width: 104px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; background: #fff;
    overflow-y: auto; visibility: hidden; opacity: 0;
    transition: opacity .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity .2s ease; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 16px 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--teal); }
  .nav .btn { margin-top: 24px; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { position: relative; display: grid; gap: 22px; }
.page-hero h1 { max-width: 15ch; }
.page-hero .lead { max-width: 60ch; color: var(--muted); }

/* The corner wedge from the AUM letterhead */
.wedge { position: absolute; top: 0; right: 0; width: min(38vw, 460px); height: auto; pointer-events: none; }

/* ---------- Home hero ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy h1 { max-width: 11ch; }
.hero-copy .lead { max-width: 34em; }
.hero-copy .btn-row { margin-top: 6px; }

/* ---------- Cartogram (signature) ---------- */

.cartogram-figure { margin: 0; display: grid; gap: 18px; }

.cartogram {
  --gap: clamp(3px, 0.5vw, 5px);
  display: grid; grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: repeat(7, auto);
  gap: var(--gap); list-style: none; margin: 0; padding: 0;
}
.tile {
  position: relative; aspect-ratio: 1;
  display: flex; align-items: flex-start; justify-content: flex-start;
  padding: 12%;
  background: var(--navy); color: rgba(255, 255, 255, 0.86);
  font-family: var(--f-mono); font-size: clamp(0.56rem, 0.95vw, 0.74rem); font-weight: 500; line-height: 1;
  border-radius: 2px;
  translate: 0 calc(var(--prox, 0) * -5px);
  scale: calc(1 + var(--prox, 0) * 0.07);
  filter: brightness(calc(1 + var(--prox, 0) * 0.5));
  transition: background-color .2s ease, translate .25s ease, scale .25s ease, filter .25s ease;
}
.tile.is-city::after {
  content: ""; position: absolute; right: 12%; bottom: 12%;
  width: 30%; aspect-ratio: 1.1; background: var(--ochre);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tile.is-hq { background: var(--teal); }
.tile:hover, .tile.is-lit { background: var(--teal); }
.tile.is-lit { translate: 0 -3px; }
.cartogram.is-dimmed .tile:not(.is-lit) { background: #C9D2DB; color: rgba(12,35,63,.55); }
.cartogram.is-dimmed .tile:not(.is-lit)::after { background: rgba(12,35,63,.3); }

.js .cartogram.is-pending .tile { opacity: 0; transform: scale(.6); }
.js .cartogram.is-live .tile {
  animation: tile-in .5s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: calc(var(--d, 0) * 55ms);
}
@keyframes tile-in {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: none; }
}

.cartogram-caption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--muted);
}
.cartogram-caption strong { font-weight: 500; color: var(--ink); }
.cartogram-readout { min-height: 1.4em; color: var(--ink); }
.key { display: inline-flex; align-items: center; gap: 8px; }
.key::before { content: ""; width: 10px; height: 9px; background: var(--ochre); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.key--hq::before { width: 10px; height: 10px; clip-path: none; background: var(--teal); border-radius: 1px; }

/* ---------- Client strip ---------- */

.clients { padding: 24px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.clients-label { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.marquee-toggle {
  padding: 4px 10px; font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted);
  background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
}
.marquee-toggle:hover { color: var(--navy); border-color: var(--navy); }
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; list-style: none; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: -0.01em; color: var(--ink);
  transition: color .2s ease;
}
.marquee-track li::after { content: ""; width: 9px; height: 8px; margin: 0 clamp(24px, 3vw, 44px); background: var(--ochre); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.marquee-track li:hover { color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- A · U · M pillars ---------- */

.aum-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.aum { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-content: start; }
.aum-mark { grid-row: span 3; width: 64px; }
.aum-letter {
  font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em;
}
.aum--a .aum-letter { color: var(--navy); }
.aum--u .aum-letter { color: var(--teal); }
.aum--m .aum-letter { color: var(--ochre-ink); }
.aum h3 { font-size: 1.125rem; }
.aum p { color: var(--muted); font-size: var(--fs-small); }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.value { padding: 24px 24px 0 0; }
.value + .value { padding-left: 24px; border-left: 1px solid var(--line); }
.value h3 { font-size: 1rem; margin-bottom: 6px; }
.value p { font-size: var(--fs-small); color: var(--muted); }

/* ---------- Cards / grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }

.card {
  --pad: clamp(24px, 2.6vw, 32px);
  position: relative; display: grid; gap: 12px; align-content: start;
  padding: var(--pad);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.section--mist .card { border-color: transparent; }
.card h3 { font-size: 1.125rem; }
.card p { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
.card-tag { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--teal); }

.card--dark { background: var(--navy-2); border-color: transparent; }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.72); }

.section-foot { margin-top: clamp(32px, 4vw, 48px); }

/* Service list: definition-style rows */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); list-style: none; }
.service-list li { display: grid; gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); }
.service-list h3 { font-size: 1.25rem; }
.service-list p { color: var(--muted); }
.service-list .inc { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--teal); line-height: 1.6; margin-top: 4px; }

/* Plain two-column rows (name | description) */
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px 40px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.rows h3 { font-size: 1.05rem; }
.rows p { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Field operations band ---------- */

.ops-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.figures li { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line-dark); }
.figures li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.figure-num { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.05; color: #fff; letter-spacing: -0.02em; }
.figure-label { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: var(--fs-mono); color: rgba(255,255,255,.66); }

.figures--light { border-top-color: var(--line); }
.figures--light li { border-color: var(--line); }
.figures--light .figure-num { color: var(--navy); }
.figures--light .figure-label { color: var(--muted); }
.figures--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.figures--5 li, .figures--5 li:nth-child(even) { padding: 22px 16px 22px 20px; border-left: 1px solid var(--line); }
.figures--5 li:first-child { padding-left: 0; border-left: 0; }

.zones { display: grid; gap: 4px; }
.zones-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; font-family: var(--f-mono); font-size: var(--fs-mono); color: rgba(255,255,255,.66); border-bottom: 1px solid var(--line-dark); }
.zone { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.zone-name { font-family: var(--f-display); font-weight: 600; color: #fff; }
.zone-bar { height: 10px; background: rgba(255,255,255,.08); border-radius: 1px; }
.zone-bar span { display: block; height: 100%; width: var(--w); background: var(--ochre); border-radius: 1px; transition: background-color .2s ease; }
.zone-count { font-family: var(--f-display); font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; text-align: right; min-width: 3.2em; }
.zone-cities { grid-column: 2 / -1; font-family: var(--f-mono); font-size: var(--fs-mono); color: rgba(255,255,255,.6); }

/* Zone table on light background (Reach page) */
.zones--light .zones-head { color: var(--muted); border-color: var(--line); }
.zones--light .zone { border-color: var(--line); cursor: default; }
.zones--light .zone-name, .zones--light .zone-count { color: var(--navy); }
.zones--light .zone-bar { background: var(--mist); }
.zones--light .zone-cities { color: var(--muted); }
.zones--light .zone:hover .zone-bar span, .zones--light .zone:focus-within .zone-bar span { background: var(--teal); }

/* ---------- Study cards ---------- */

.studies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.study {
  --pad: clamp(24px, 2.8vw, 36px);
  position: relative; overflow: hidden;
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px;
  padding: 0 0 var(--pad);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.study > :not(.study-media) { margin-inline: var(--pad); }
.study-media { aspect-ratio: 16 / 9; margin-bottom: 10px; }
.section--mist .study { border-color: transparent; }
.study-client { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--teal); }
.study h3 { font-size: 1.25rem; }
.study p { color: var(--muted); font-size: var(--fs-small); }
.study-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 20px; margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.study-meta div { display: grid; gap: 4px; }
.study-meta dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.study-meta dd { margin: 0; font-family: var(--f-display); font-size: 0.9rem; font-weight: 500; color: var(--ink); line-height: 1.4; }

/* ---------- Data table ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--fs-small); }
.data-table th {
  padding: 0 16px 14px 0; text-align: left; vertical-align: bottom;
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1.5px solid var(--navy);
}
.data-table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table td:first-child { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 0.975rem; line-height: 1.4; width: 38%; }
.data-table td.num, .data-table th.num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.data-table td.num { font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.data-table .period { font-family: var(--f-mono); font-size: var(--fs-mono); white-space: nowrap; }

/* ---------- Sequences (real order) ---------- */

.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; counter-reset: phase; }
.phase { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 24px 0 0; border-top: 2px solid var(--navy); }
.phase + .phase { padding-left: 24px; }
.phase::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px;
  background: var(--ochre); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.phase + .phase::before { left: 24px; }
.phase-no { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--teal); }
.phase h3 { font-size: 1.1rem; }
.phase p { font-size: var(--fs-small); color: var(--muted); }
.phase .deliverables { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: var(--fs-mono); line-height: 1.6; color: var(--ink); }
.phase .deliverables b { display: block; margin-bottom: 4px; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); list-style: none; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.step-no { grid-row: span 2; font-family: var(--f-mono); font-size: 0.85rem; color: var(--ochre-ink); padding-top: 2px; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: var(--fs-small); color: var(--muted); }

/* Evaluation cycle */
.cycle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; margin-bottom: clamp(40px, 5vw, 56px); }
.cycle li { position: relative; display: grid; gap: 8px; align-content: start; padding: 28px clamp(20px, 2.4vw, 32px); background: var(--paper); }
.cycle li + li { border-left: 1px solid var(--line); }
.cycle li:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; right: -9px; top: 32px; width: 16px; height: 16px;
  background: var(--paper); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg);
}
.cycle-when { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--teal); }
.cycle h3 { font-size: 1.15rem; }
.cycle p { font-size: var(--fs-small); color: var(--muted); }

/* CAPI pipeline */
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin-bottom: clamp(40px, 5vw, 56px); }
.pipeline li {
  position: relative; padding: 18px 20px; background: var(--navy); color: #fff;
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
}
.pipeline li:nth-child(2) { background: var(--navy-2); }
.pipeline li:nth-child(3) { background: var(--teal-2); }
.pipeline li:nth-child(4) { background: var(--teal); }
.pipeline li span { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 0.7rem; color: rgba(255,255,255,.66); margin-bottom: 4px; }
.pipeline li:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; right: -11px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: inherit; clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- Quote ---------- */

.quote { max-width: 30ch; margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.quote-wrap { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.quote-mark { width: clamp(44px, 5vw, 64px); }

/* ---------- Mission / vision ---------- */

.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.mv > div { display: grid; gap: 14px; align-content: start; padding: 32px clamp(24px, 4vw, 56px) 0 0; }
.mv > div + div { padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line); }
.mv .label { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; }
.mv h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.mv p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Fact sheet ---------- */

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--f-display); font-weight: 500; color: var(--ink); }

/* ---------- Partnerships ---------- */

.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.partner { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); background: var(--paper); border-radius: var(--radius); }
.partner p { color: var(--muted); font-size: var(--fs-small); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 6px; }
.chips li { padding: 5px 10px; font-family: var(--f-mono); font-size: 0.74rem; color: var(--navy); background: var(--mist); border-radius: 2px; }

/* ---------- Reach layout ---------- */

.reach-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }

/* ---------- Team ---------- */

.org { display: grid; gap: 0; justify-items: center; }
.org-lead { display: grid; gap: 2px; justify-items: center; padding: 18px 28px; background: var(--navy); color: #fff; border-radius: var(--radius); text-align: center; }
.org-lead .org-role { color: rgba(255,255,255,.7); }
.org-lead .org-name { color: #fff; font-size: 1.1rem; }
.org-stem { width: 1.5px; height: 28px; background: var(--navy); }
.org-branches { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); width: 100%; padding-top: 28px; }
.org-branches::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 1.5px; background: var(--navy); }
.org-branch { position: relative; display: grid; gap: 0; align-content: start; }
.org-branch::before { content: ""; position: absolute; top: -28px; left: 50%; width: 1.5px; height: 28px; background: var(--navy); }
.org-branch h3 { padding: 14px 18px; background: var(--teal); color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; border-radius: var(--radius) var(--radius) 0 0; }
.org-branch:last-child h3 { background: var(--ochre-ink); }
.org-branch ul { list-style: none; background: var(--paper); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.org-branch li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.org-branch li:first-child { border-top: 0; }
.org-name { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.org-role { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--muted); text-align: right; }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(32px, 4vw, 56px); list-style: none; }
.person { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; gap: 6px 24px; align-content: start; }
.person-photo {
  grid-row: 1 / -1; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; border-radius: var(--radius);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1) contrast(1.04); transition: filter .5s ease, scale .6s cubic-bezier(.2,.7,.2,1); }
.person h3 { font-size: 1.15rem; }
.person-role { font-family: var(--f-display); font-size: 0.9rem; font-weight: 500; color: var(--teal); }
.person-cred { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--muted); }
.person p + p { margin-top: 0; }
.person p:last-child { margin-top: 8px; font-size: var(--fs-small); color: var(--text); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-display); font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-family: var(--f-display); font-size: 0.975rem; color: var(--ink);
  background: #fff; border: 1.5px solid #B9C5D0; border-radius: var(--radius);
  transition: border-color .15s ease;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,107,96,.18); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { font-family: var(--f-display); font-size: 0.8125rem; color: #B3261E; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { font-size: var(--fs-small); color: var(--muted); }
.form-status { grid-column: 1 / -1; font-family: var(--f-display); font-size: 0.9375rem; color: var(--teal); min-height: 1.5em; }

.contact-card { display: grid; gap: 0; padding: clamp(28px, 3vw, 40px); background: var(--navy); color: rgba(255,255,255,.8); border-radius: var(--radius); }
.contact-card h2 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.contact-card dl { margin: 0; }
.contact-card dl div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-card dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #E0B85A; }
.contact-card dd { margin: 0; font-family: var(--f-display); font-size: 1rem; color: #fff; }
.contact-card a { color: #fff; text-decoration: none; }
.contact-card a:hover { color: #E0B85A; text-decoration: underline; }
.contact-card address { font-style: normal; font-family: var(--f-display); color: #fff; line-height: 1.55; }

/* ---------- CTA band ---------- */

.band { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0; background: var(--teal); color: rgba(255,255,255,.85); }
.band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px 64px; align-items: end; }
.band h2 { color: #fff; max-width: 18ch; }
.band p { margin-top: 16px; max-width: 46ch; color: rgba(255,255,255,.82); }
.band .btn-row { justify-content: flex-end; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: rgba(255,255,255,.7); font-family: var(--f-display); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1.2fr); gap: 40px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: 48px; }
.footer-brand img { width: 128px; margin-bottom: 20px; }
.footer-brand p { max-width: 30ch; color: rgba(255,255,255,.7); font-family: var(--f-body); font-size: 1rem; }
.footer-col h2 { margin-bottom: 16px; font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #E0B85A; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.86); text-decoration: none; }
.footer-col a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease, color .2s ease; }
.footer-col a:hover { color: #fff; background-size: 100% 1px; }
.footer-col address { font-style: normal; line-height: 1.6; color: rgba(255,255,255,.86); }
.footer-col address + p { margin-top: 12px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 0.74rem; color: rgba(255,255,255,.55); }

/* ---------- Anchor chips ---------- */

.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 8px; }
.jump a {
  display: inline-block; padding: 8px 14px; font-family: var(--f-display); font-size: 0.875rem; font-weight: 500;
  color: var(--navy); text-decoration: none; border: 1px solid var(--line); border-radius: 2px;
}
.jump a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.subhead h3 { font-size: 1.35rem; }
.subhead .mono { color: var(--muted); }
.block + .block, .spaced { margin-top: clamp(56px, 7vw, 88px); }

/* ==========================================================================
   Photography
   ========================================================================== */

.media { position: relative; margin: 0; overflow: hidden; background: #E3E9EC; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card--dark .media, .section--navy .media { background: #1B3A5C; }

/* Images fade in once loaded; a soft shimmer holds the space meanwhile */
.js .media img { opacity: 0; transition: opacity .8s ease, scale .9s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.js .media img.is-loaded, .no-reveal .media img { opacity: 1; }
.js .media:not(.is-loaded) {
  background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  background-size: 250% 100%; animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }

/* Parallax image: oversized, moved by site.js via --pimg */
.parallax-img { overflow: hidden; }
.parallax-img img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; translate: 0 var(--pimg, 0); will-change: translate; }
[data-depth] { translate: 0 var(--py, 0); }

/* Inner page hero photo */
.hero-media-wrap { margin-top: clamp(20px, 3vw, 36px); }
.hero-media { height: clamp(220px, 34vw, 460px); border-radius: var(--radius); }

/* Home: full-bleed photo band with the field quote */
.photo-band { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: clamp(400px, 64vh, 640px); color: #fff; }
.photo-band-media { position: absolute; inset: 0; z-index: -2; }
.photo-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,35,63,0) 20%, rgba(12,35,63,.45) 55%, rgba(12,35,63,.9) 100%);
}
.photo-band-inner { display: grid; gap: 18px; padding-block: clamp(48px, 7vw, 88px); }
.photo-band .eyebrow { color: #fff; }
.photo-band-quote {
  max-width: 24ch; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.2; letter-spacing: -0.02em; color: #fff; text-wrap: balance;
}

/* Home: about split with photo collage */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.collage { position: relative; isolation: isolate; padding: 0 14% 14% 0; }
.collage-main { aspect-ratio: 5 / 6; border-radius: var(--radius); }
.collage-inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border: 8px solid #fff; border-radius: var(--radius); box-shadow: 0 28px 56px -28px rgba(12,35,63,.5);
}
.collage-shape { position: absolute; z-index: 2; left: -4%; top: -5%; width: 15%; fill: var(--ochre); pointer-events: none; }
.aum-stack { display: grid; gap: 26px; }
.about-copy .section-head { margin-bottom: 36px; }

/* Navy section with a photographic backdrop */
.section--photo { position: relative; isolation: isolate; overflow: hidden; }
.section-bg { position: absolute; inset: 0; z-index: -1; }
.section-bg img { opacity: .2; filter: grayscale(1) contrast(1.15); }
.section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy) 0%, rgba(12,35,63,.55) 45%, rgba(12,35,63,.92) 100%); }

/* Sector cards with photos */
.card--media { overflow: hidden; }
.card-media { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 10px; aspect-ratio: 16 / 10; }

/* Contact: India Gate above the details card */
.contact-aside { display: grid; }
.contact-media { aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; }
.contact-aside .contact-card { border-radius: 0 0 var(--radius) var(--radius); }

/* Team: headshot mosaic */
.mosaic { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: clamp(4px, .6vw, 8px); list-style: none; padding-bottom: 20px; }
.mosaic li { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--mist); }
.mosaic li:nth-child(even) { translate: 0 20px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1); transition: filter .5s ease, scale .6s cubic-bezier(.2,.7,.2,1); }

/* CTA band: large outline of the mark, drifting on scroll */
.band-mark {
  position: absolute; right: -3%; top: 50%; transform: translateY(-50%);
  width: clamp(260px, 34vw, 480px); fill: none; stroke: rgba(255,255,255,.16); stroke-width: 5; pointer-events: none;
}

/* ==========================================================================
   Hover
   ========================================================================== */

@media (hover: hover) {
  .card, .study, .partner { transition: translate .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .3s ease; }
  .card:hover, .study:hover, .partner:hover { translate: 0 -6px; box-shadow: 0 24px 48px -24px rgba(12,35,63,.38); }
  .card--dark:hover { box-shadow: 0 24px 48px -20px rgba(0,0,0,.55); }

  .study:hover .study-media img, .card--media:hover .card-media img { scale: 1.07; }
  .person:hover .person-photo img, .mosaic li:hover img { filter: none; scale: 1.05; }
  .collage-main:hover img, .hero-media:hover img { scale: 1.03; }

  .service-list li h3, .rows li h3 { transition: color .25s ease, translate .3s ease; }
  .service-list li:hover h3, .rows li:hover h3 { color: var(--teal); translate: 6px 0; }

  .aum-mark { transition: rotate .5s cubic-bezier(.2,.7,.2,1), scale .5s cubic-bezier(.2,.7,.2,1); }
  .aum:hover .aum-mark { rotate: -8deg; scale: 1.08; }

  .step-no, .phase-no { transition: color .25s ease; }
  .step:hover .step-no { color: var(--teal); }
}

/* Brand triangle tucks into the corner of a hovered card */
.card::after, .study::after, .partner::after {
  content: ""; position: absolute; top: 0; right: 0; z-index: 2; width: 22px; height: 22px;
  background: var(--ochre); clip-path: polygon(0 0, 100% 0, 100% 100%);
  scale: 0; transform-origin: 100% 0; transition: scale .35s cubic-bezier(.2,.7,.2,1); pointer-events: none;
}
.partner { position: relative; }
@media (hover: hover) {
  .card:hover::after, .study:hover::after, .partner:hover::after { scale: 1; }
}

/* ==========================================================================
   Loading, entrance and scroll-reveal motion
   ========================================================================== */

:root { --intro: 1.1s; }
:root.no-loader { --intro: 0s; }

/* Scroll progress along the header's bottom edge */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--ochre); transform-origin: left center; transform: scaleX(0); }

/* First-visit loader: the three facets assemble, then the panel lifts away.
   Pure CSS, so it clears itself even if JavaScript fails. */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; align-content: center; gap: 26px;
  background: #fff; animation: loader-out .75s cubic-bezier(.7,0,.2,1) 1.05s forwards;
}
.no-loader .loader { display: none; }
.loader-mark { width: 84px; overflow: visible; }
.lf { transform-box: fill-box; transform-origin: center; animation: lf-in .65s cubic-bezier(.2,.8,.2,1) both; }
.lf-a { --fx: -70%; --fy: -35%; animation-delay: .05s; }
.lf-u { --fx: 70%; --fy: -35%; animation-delay: .15s; }
.lf-m { --fx: 0%; --fy: 70%; animation-delay: .25s; }
.lf-i { animation: lf-pop .5s cubic-bezier(.3,1.6,.5,1) .55s both; }
.loader-bar { width: 120px; height: 2px; background: var(--line); overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: var(--navy); transform-origin: left center; animation: grow-x .95s cubic-bezier(.6,0,.2,1) both; }
@keyframes lf-in { from { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes lf-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loader-out { to { transform: translateY(-100%); visibility: hidden; } }

@media (prefers-reduced-motion: no-preference) {
  /* Headlines reveal word by word (site.js wraps the words) */
  .js:not(.no-reveal) :is(.hero-copy, .page-hero) h1:not(.split) { opacity: 0; }
  .split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
  .split .word > span { display: inline-block; animation: word-up 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--intro) + var(--wi, 0) * 75ms); }

  /* Supporting hero lines rise in after the headline */
  .js .hero-copy > :not(h1),
  .js .page-hero > .wrap:not(.hero-media-wrap) > :not(h1) { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--intro) + .3s + var(--ri, 0) * 110ms); }
  :is(.hero-copy, .page-hero > .wrap) > :nth-child(3) { --ri: 1; }
  :is(.hero-copy, .page-hero > .wrap) > :nth-child(4) { --ri: 2; }
  .js .cartogram-figure { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--intro) + .2s); }

  /* Letterhead wedge slides in from the corner */
  .wedge polygon { transform-box: fill-box; animation: wedge-in 1.1s cubic-bezier(.2,.8,.2,1) both; }
  .wedge polygon:nth-child(1) { animation-delay: calc(var(--intro) + .05s); }
  .wedge polygon:nth-child(2) { animation-delay: calc(var(--intro) + .18s); }
  .wedge polygon:nth-child(3) { animation-delay: calc(var(--intro) + .31s); }

  /* Scroll reveal. Elements start hidden only while JS is running; the head
     script's failsafe (.no-reveal) shows everything if site.js never loads. */
  .js:not(.no-reveal) :is(.section-head, .card, .study, .aum, .value, .person, .partner, .service-list li, .rows li,
    .mv > div, .facts > div, .cycle li, .step, .org-lead, .org-branch, .data-table tbody tr, .subhead, .section-foot,
    .contact-card, .form, .quote-wrap, .figures li, .phase, .zone, .zones-head, .pipeline li, .photo-band-inner > *,
    .mosaic li, .band .wrap > *, .clients-head, .cartogram-caption):not(.revealed) { opacity: 0; }
  .js:not(.no-reveal) :is(.hero-media, .collage-main, .collage-inset, .contact-media):not(.revealed) { clip-path: inset(100% 0 0 0); }

  .is-in { animation: rv-up .9s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms) both; }
  :is(.hero-media, .collage-main, .collage-inset, .contact-media).is-in { animation: rv-media 1.25s cubic-bezier(.7,0,.2,1) var(--rd, 0ms) both; }
  :is(.hero-media, .collage-main, .collage-inset, .contact-media).is-in img { animation: rv-img 1.8s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms) both; }

  /* Zone bars grow; the process line draws across; triangles pop */
  .js:not(.no-reveal) .zone:not(.revealed) .zone-bar span { width: 0; }
  .zone.is-in .zone-bar span { animation: bar-grow 1.3s cubic-bezier(.2,.7,.2,1) calc(var(--rd, 0ms) + .2s) both; }
  .phase { border-top-color: transparent; background: linear-gradient(var(--navy), var(--navy)) 0 0 / 100% 2px no-repeat; }
  .phase.is-in { animation: rv-up .9s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms) both, line-draw 1.1s cubic-bezier(.6,0,.2,1) var(--rd, 0ms) both; }
  .phase.is-in::before { animation: tri-pop .5s cubic-bezier(.3,1.6,.5,1) calc(var(--rd, 0ms) + .6s) both; }
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes word-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes wedge-in { from { opacity: 0; transform: translate(35%, -35%); } to { opacity: 1; transform: none; } }
@keyframes rv-up { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes rv-media { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rv-img { from { scale: 1.2; } to { scale: 1; } }
@keyframes bar-grow { from { width: 0; } to { width: var(--w); } }
@keyframes line-draw { from { background-size: 0% 2px; } to { background-size: 100% 2px; } }
@keyframes tri-pop { from { opacity: 0; scale: 0; } to { opacity: 1; scale: 1; } }

/* Cross-document page transitions (Chrome, Edge, Safari 18.2+) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .45s cubic-bezier(.2,.7,.2,1) both; }
.site-header { view-transition-name: site-header; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }


/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid, .ops-grid, .reach-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: 14ch; }
  .cartogram-figure { max-width: 560px; }
  .about-split { grid-template-columns: minmax(0, 1fr); }
  .collage { max-width: 560px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .phase:nth-child(3) { padding-left: 0; }
  .phase:nth-child(3)::before { left: 0; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .band .btn-row { justify-content: flex-start; }
}

@media (max-width: 760px) {
  :root { --fs-body: 1.03rem; }
  .eyebrow { letter-spacing: 0.16em; }
  .figures--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures--5 li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 8px; }
  .mosaic li:nth-child(even) { translate: 0 12px; }
  .photo-band { min-height: 420px; }
  .band-mark { opacity: .6; right: -20%; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .grid-3, .grid-2, .studies, .partners, .service-list, .aum-grid, .mv { grid-template-columns: minmax(0, 1fr); }
  .aum-grid { gap: 32px; }
  .mv > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .rows li { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cycle, .pipeline { grid-template-columns: minmax(0, 1fr); }
  .cycle li + li { border-left: 0; border-top: 1px solid var(--line); }
  .cycle li:not(:last-child)::after { right: auto; left: 32px; top: auto; bottom: -9px; transform: rotate(135deg); }
  .pipeline li:not(:last-child)::after { right: auto; left: 24px; top: auto; bottom: -11px; margin-top: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); }
  .pipeline li { padding-bottom: 22px; }
  .org-branches { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 28px; }
  .org-branches::before, .org-branch::before { display: none; }
  .org-stem { height: 20px; }
  .org-branch:first-child { margin-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .value, .value + .value { padding-left: 0; border-left: 0; }
  .value + .value { border-top: 1px solid var(--line); margin-top: 24px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .quote-wrap { grid-template-columns: minmax(0, 1fr); }
  .study-meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dd { overflow-wrap: anywhere; }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase, .phase + .phase { padding-left: 0; }
  .phase::before, .phase + .phase::before { left: 0; }
  .figures { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 16px; }
  .person-photo { grid-row: 1 / 4; }
  .person-cred { align-self: start; }
  .person p:last-child { grid-column: 1 / -1; }
  .btn-row .btn { flex: 1 1 auto; }
  .zone { grid-template-columns: 52px minmax(0, 1fr) auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .js .cartogram.is-pending .tile { opacity: 1; transform: none; }
  .loader, .marquee-toggle { display: none; }
  :root { --intro: 0s; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; row-gap: 10px; padding: 0 var(--gutter); }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .parallax-img img, [data-depth] { translate: none; }
}

@media print {
  .site-header, .band, .nav-toggle { display: none; }
  .section--navy { background: #fff; color: var(--text); }
}
