/* Meridian Research & Advisory: public site */
:root {
  --bg: #F4F6FA;
  --bg-tint: #EAEFF6;
  --ink: #0C1B33;
  --ink-2: #24344E;
  --muted: #53627A;
  --card: #FFFFFF;
  --card-line: rgba(12,27,51,.10);
  --line: rgba(12,27,51,.12);
  --surface: #FFFFFF;
  --accent: #8F6510;
  --gold: #D9A93F;
  --gold-2: #E8C471;
  --navy: #060E1C;
  --navy-2: #0B1A30;
  --chip-on-bg: #0C1B33;
  --chip-on-ink: #FFFFFF;
  --fill-dim: rgba(12,27,51,.18);
  --shadow: 0 1px 2px rgba(12,27,51,.04), 0 12px 32px -12px rgba(12,27,51,.14);
  --shadow-lg: 0 30px 80px -30px rgba(6,14,28,.45);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Calibri, Arial, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08111F;
    --bg-tint: #0B1627;
    --ink: #EAF0F8;
    --ink-2: #C9D5E6;
    --muted: #9DB0C8;
    --card: rgba(255,255,255,.04);
    --card-line: rgba(255,255,255,.10);
    --line: rgba(255,255,255,.12);
    --surface: #0F1B2E;
    --accent: #E2BC63;
    --chip-on-bg: #E2BC63;
    --chip-on-ink: #08111F;
    --fill-dim: rgba(234,240,248,.18);
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  --bg: #08111F; --bg-tint: #0B1627; --ink: #EAF0F8; --ink-2: #C9D5E6; --muted: #9DB0C8;
  --card: rgba(255,255,255,.04); --card-line: rgba(255,255,255,.10); --line: rgba(255,255,255,.12);
  --surface: #0F1B2E; --accent: #E2BC63; --chip-on-bg: #E2BC63; --chip-on-ink: #08111F; --fill-dim: rgba(234,240,248,.18); --shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 18px; } }
.g { width: 1.1em; height: 1.1em; flex: none; }
.ico { width: 28px; height: 28px; }
.ico.sm { width: 16px; height: 16px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .005em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s; }
.pill .g { transition: transform .25s var(--ease); }
.pill:hover .g { transform: translateX(3px); }
.pill.gold { background: var(--gold); color: #0C1B33; box-shadow: 0 10px 30px -12px rgba(217,169,63,.8); }
.pill.gold:hover { background: #E6BB55; transform: translateY(-2px); }
.pill.ghost { border-color: rgba(255,255,255,.26); color: #EAF0F8; }
.pill.ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.pill.outline { border-color: var(--line); color: var(--ink); background: transparent; }
.pill.outline:hover { border-color: var(--accent); }
.pill.dark-pill { background: var(--chip-on-bg); color: var(--chip-on-ink); }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Eyebrows & headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow.on-dark { color: var(--gold-2); }
h2.sec { font-family: var(--serif); font-weight: 350; font-variation-settings: "opsz" 144; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
.sec-head { display: grid; gap: 18px 56px; margin-bottom: 48px; align-items: end; }
@media (min-width: 960px) { .sec-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.sec-intro { color: var(--muted); margin: 0; font-size: 1.08rem; max-width: 36em; }
.section { padding: 112px 0; position: relative; }
.section.tint { background: var(--bg-tint); }
@media (max-width: 720px) { .section { padding: 80px 0; } .sec-head { margin-bottom: 36px; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 40; left: 50%; transform: translateX(-50%);
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  width: min(1120px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(8,17,31,.55); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.13); color: #EAF0F8;
  transition: background .3s, box-shadow .3s, top .3s;
}
.nav.scrolled { background: rgba(6,14,28,.86); box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; flex: none; }
.mark-svg, .mark-img { width: 28px; height: 28px; object-fit: contain; }
.nav-links { margin-left: auto; }
.nav-links ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 600; color: #B9C7DA; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.09); color: #fff; }
.nav-cta { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--gold); color: #0C1B33; font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s, transform .2s; }
.nav-cta:hover { background: #E6BB55; transform: translateY(-1px); }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .g { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
.mnav { position: fixed; inset: 0; z-index: 35; background: rgba(6,14,28,.97); padding: 110px 28px 40px; display: flex; flex-direction: column; gap: 28px; color: #EAF0F8; }
.mnav[hidden] { display: none; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mnav li a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.9rem; font-weight: 350; text-decoration: none; }
.mnav .pill { align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #EAF0F8; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 120px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% 45%, rgba(48,110,170,.22), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(217,169,63,.08), transparent 70%),
    linear-gradient(180deg, #060E1C 0%, #071226 100%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; gap: 24px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 16px; } }
.hero-eyebrow { animation: fadeIn 1s .1s ease both; }
.hero h1 { font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 144; font-size: clamp(3.1rem, 8vw, 6.4rem); line-height: 1; letter-spacing: -.028em; margin: 0 0 28px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero h1 .line > span { display: block; animation: rise 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .16s; font-style: italic; color: var(--gold-2); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero .lede { font-size: 1.14rem; line-height: 1.68; color: #A9BBD2; max-width: 33em; margin: 0 0 34px; animation: fadeIn 1s .55s ease both; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeIn 1s .7s ease both; }
.status { display: inline-flex; align-items: flex-start; gap: 12px; margin: 36px 0 0; padding: 12px 18px 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: #C3D1E3; max-width: 34em; animation: fadeIn 1s .9s ease both; }
.pulse { position: relative; flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: #4ADE80; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #4ADE80; opacity: 0; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.globe-wrap { position: relative; width: min(620px, 100%); aspect-ratio: 1; margin: 0 auto; animation: fadeIn 1.6s .2s ease both; }
.halo { position: absolute; inset: -6%; background: radial-gradient(closest-side, rgba(70,140,200,.30), rgba(70,140,200,0) 72%); pointer-events: none; }
#globe { position: relative; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#globe:active { cursor: grabbing; }
.hint { position: absolute; left: 0; right: 0; bottom: 2%; text-align: center; font-size: .8rem; color: #7F93AE; pointer-events: none; }
@media (max-width: 979px) { .hero { min-height: auto; padding-bottom: 96px; } .globe-wrap { width: min(460px, 100%); } }

/* ---------- Stats band ---------- */
.stats { position: relative; z-index: 2; padding: 0; }
.hero + .stats { margin-top: -64px; }
.stats-grid { margin: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--card-line); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 30px 28px; border-left: 1px solid var(--card-line); }
.stat:first-child { border-left: 0; }
.stat dd { margin: 0; font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 144; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.stat .suf { color: var(--gold); }
.stat dt { font-size: .9rem; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-left: 0; border-top: 1px solid var(--card-line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--card-line); }
  .stat:last-child:nth-child(odd) { grid-column: span 2; }
}

/* ---------- Sector marquee ---------- */
.marquee { overflow: hidden; padding: 34px 0; border-bottom: 1px solid var(--card-line); }
.stats + .marquee { margin-top: 56px; border-top: 1px solid var(--card-line); }
.track { display: flex; width: max-content; animation: slide 52s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.set { display: flex; align-items: center; flex: none; }
.set span { font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(1.6rem, 3.4vw, 2.5rem); white-space: nowrap; padding: 0 24px; }
.set svg { width: 24px; height: 24px; flex: none; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.svc-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.svc { position: relative; overflow: hidden; isolation: isolate; padding: 30px 28px 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .25s; }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(217,169,63,.16), transparent 65%); }
.svc:hover { border-color: rgba(217,169,63,.5); }
.svc:hover::after { opacity: 1; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.svc-icon { width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; color: var(--accent); background: linear-gradient(145deg, rgba(217,169,63,.18), rgba(217,169,63,.04)); border: 1px solid rgba(217,169,63,.28); }
.svc-num { font-family: var(--serif); font-size: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc h3 { font-family: var(--serif); font-weight: 450; font-size: 1.55rem; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 10px; }
.svc > p { color: var(--muted); margin: 0 0 20px; }
.ticks { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--card-line); display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink-2); line-height: 1.45; }
.ticks .g { color: var(--gold); margin-top: 2px; }

/* ---------- Approach ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; position: relative; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(217,169,63,.15)); }
}
.step { position: relative; }
.step-n { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-family: var(--serif); font-size: 1.2rem; border: 2px solid var(--gold); margin-bottom: 20px; }
.step h3 { font-family: var(--serif); font-weight: 450; font-size: 1.35rem; margin: 0 0 8px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 959px) {
  .steps { padding-left: 64px; }
  .steps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(217,169,63,.15)); }
  .step-n { position: absolute; left: -64px; top: -6px; }
}

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; transition: border-color .2s, background .2s, color .2s; }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--chip-on-bg); color: var(--chip-on-ink); border-color: var(--chip-on-bg); }

/* ---------- Work / case studies ---------- */
.work-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); grid-auto-flow: dense; }
.proj { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.proj:hover { transform: translateY(-4px); border-color: rgba(217,169,63,.55); box-shadow: 0 24px 50px -24px rgba(12,27,51,.3); }
.proj[hidden] { display: none; }
.proj-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 24px; flex: 1; }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.chip { font-weight: 700; font-size: .78rem; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.proj h3 { font-family: var(--serif); font-weight: 450; font-size: 1.42rem; line-height: 1.18; letter-spacing: -.01em; margin: 4px 0 0; }
.stretch { all: unset; cursor: pointer; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretch:focus-visible { outline: none; }
.proj:has(.stretch:focus-visible), .card:has(.stretch:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.proj-meta { margin: 0; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.dotsep { margin: 0 8px; color: var(--gold); }
.proj-sum { margin: 0; color: var(--muted); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.proj-metrics { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--card-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.proj-metrics div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; min-width: 0; }
.proj-metrics dd { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; letter-spacing: -.01em; }
.proj-metrics dt { font-size: .76rem; color: var(--muted); line-height: 1.3; }
.proj-more { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--accent); }
.proj:hover .proj-more .g { transform: translateX(3px); }
.proj-more .g { transition: transform .25s var(--ease); }
.proj-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-tint); }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj:hover .proj-img img { transform: scale(1.04); }
@media (min-width: 760px) {
  .proj.featured { grid-column: span 2; background: var(--navy); border-color: rgba(217,169,63,.35); color: #EAF0F8; }
  .proj.featured .proj-body { padding: 36px; gap: 14px; }
  .proj.featured h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; max-width: 22em; }
  .proj.featured .chip { color: var(--gold-2); border-color: rgba(255,255,255,.18); }
  .proj.featured .proj-top, .proj.featured .proj-sum, .proj.featured .proj-metrics dt { color: #A9BBD2; }
  .proj.featured .proj-meta { color: #D5E0EE; }
  .proj.featured .proj-sum { -webkit-line-clamp: 4; font-size: 1.04rem; max-width: 40em; }
  .proj.featured .proj-metrics { border-color: rgba(255,255,255,.12); }
  .proj.featured .proj-metrics dd { font-size: 2rem; color: var(--gold-2); }
  .proj.featured .proj-more { color: var(--gold-2); }
  .proj.featured::before { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(217,169,63,.18); box-shadow: 0 0 0 40px rgba(217,169,63,.04), 0 0 0 80px rgba(217,169,63,.025); pointer-events: none; }
  .proj.featured.has-img { display: grid; grid-template-columns: 1fr 1fr; }
  .proj.featured.has-img .proj-img { aspect-ratio: auto; height: 100%; order: 2; }
}

/* ---------- Coverage (dark) ---------- */
.section.dark { background: var(--navy); color: #EAF0F8; overflow: hidden; isolation: isolate; }
.section.dark .sec-intro { color: #A9BBD2; }
.section.dark .eyebrow { color: var(--gold-2); }
.cov-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(700px 500px at 0% 100%, rgba(48,110,170,.2), transparent 60%), radial-gradient(500px 400px at 100% 0%, rgba(217,169,63,.08), transparent 60%); }
.cov-grid { display: grid; gap: 56px; }
@media (min-width: 980px) { .cov-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 80px; align-items: start; } .cov-grid .sec-head { grid-template-columns: 1fr; } }
.cov-total { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 40px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.cov-total .big { font-family: var(--serif); font-weight: 340; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; color: var(--gold-2); letter-spacing: -.03em; }
.cov-total .lbl { color: #A9BBD2; max-width: 14em; font-size: 1.02rem; }
.langs p { margin: 0; color: #D5E0EE; line-height: 1.8; }
.langs .eyebrow { margin-bottom: 10px; }
.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.region-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.rname { font-family: var(--serif); font-size: 1.28rem; font-weight: 400; }
.rval { font-family: var(--serif); font-size: 1.28rem; color: var(--gold-2); white-space: nowrap; }
.rval small { font-family: var(--sans); font-size: .8rem; color: #8DA2BE; }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #B8862A, var(--gold-2)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0ms); }
.region.in .bar span, .no-js .bar span { transform: scaleX(1); }
.rnote { margin: 8px 0 0; font-size: .86rem; color: #8DA2BE; }

/* ---------- Quality ---------- */
.q-grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line); }
.q { padding: 32px 28px 8px 0; }
@media (min-width: 700px) { .q + .q { padding-left: 28px; border-left: 1px solid var(--line); } }
.q-val { margin: 0 0 14px; font-family: var(--serif); font-weight: 340; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.025em; color: var(--accent); }
.q h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 700; }
.q p:last-child { margin: 0; color: var(--muted); font-size: .96rem; }
.standards { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.standards li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-line); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.standards .ico { color: var(--gold); }

/* ---------- Clients ---------- */
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client { display: flex; gap: 18px; align-items: flex-start; padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.client:hover { background: var(--card); }
.client-ico { flex: none; width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--gold-2); }
.client-ico .ico { width: 24px; height: 24px; }
.client h3 { margin: 2px 0 4px; font-family: var(--serif); font-weight: 450; font-size: 1.3rem; letter-spacing: -.01em; }
.client p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.quote { margin: 0; position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.qmark { width: 38px; height: 28px; color: var(--gold); margin-bottom: 20px; }
.quote blockquote { margin: 0 0 26px; flex: 1; }
.quote blockquote p { margin: 0; font-family: var(--serif); font-weight: 350; font-size: 1.28rem; line-height: 1.5; letter-spacing: -.005em; }
.quote figcaption { padding-top: 18px; border-top: 1px solid var(--card-line); font-size: .9rem; }
.quote figcaption b { display: block; font-weight: 700; }
.quote .who { color: var(--muted); }

/* ---------- About ---------- */
.statement { font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 144; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.16; letter-spacing: -.022em; margin: 0 0 64px; max-width: 24em; }
.statement .w { color: var(--fill-dim); transition: color .35s ease; }
.statement .w.on { color: var(--ink); }
.about-row { display: grid; gap: 40px; margin-bottom: 72px; align-items: start; }
@media (min-width: 960px) { .about-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.who { color: var(--muted); font-size: 1.12rem; margin: 0; max-width: 34em; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 20px; }
.facts div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.facts dt { font-size: .84rem; color: var(--muted); }
.values { display: grid; gap: 32px 40px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .values { grid-template-columns: repeat(4, 1fr); } }
.values div { border-top: 2px solid var(--gold); padding-top: 18px; }
.values dt { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin-bottom: 6px; }
.values dd { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.person { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); padding: 28px; background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .25s; }
.person::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(217,169,63,.16), transparent 65%); }
.person:hover { border-color: rgba(217,169,63,.5); }
.person:hover::after { opacity: 1; }
.person-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: #08111F; background: linear-gradient(145deg, var(--gold-2), #B8862A); }
.avatar.photo { object-fit: cover; background: var(--bg-tint); border: 2px solid rgba(217,169,63,.5); }
.person-link { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: color .2s, border-color .2s; }
.person-link:hover { color: var(--accent); border-color: var(--accent); }
.person h3 { font-family: var(--serif); font-weight: 500; font-size: 1.38rem; margin: 0 0 2px; letter-spacing: -.01em; }
.person .role { color: var(--accent); font-weight: 700; font-size: .88rem; margin: 0 0 14px; }
.person .bio { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* ---------- Journal ---------- */
.post-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { position: relative; overflow: hidden; isolation: isolate; grid-column: span 12; min-height: 270px; padding: 28px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .25s; }
.card[hidden] { display: none; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(217,169,63,.2), transparent 65%); }
.card:hover { border-color: rgba(217,169,63,.55); }
.card:hover::after { opacity: 1; }
@media (min-width: 900px) {
  .card.s7 { grid-column: span 7; } .card.s5 { grid-column: span 5; } .card.s6 { grid-column: span 6; } .card.s12 { grid-column: span 12; min-height: 300px; }
}
.motif { position: absolute; right: 22px; top: 20px; width: 100px; height: 100px; color: var(--gold); opacity: .55; transition: opacity .3s, transform .6s var(--ease); z-index: -1; }
.motif svg { width: 100%; height: 100%; }
.card:hover .motif { opacity: 1; transform: rotate(8deg) scale(1.06); }
.card .top { display: flex; align-items: center; align-content: flex-start; gap: 10px; font-size: .86rem; color: var(--muted); max-width: calc(100% - 130px); flex-wrap: wrap; min-height: 84px; }
.card .topic { font-weight: 700; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 72; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.14; letter-spacing: -.01em; margin: 0 0 10px; }
.card.s7 h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.card p { margin: 0; color: var(--muted); max-width: 44em; }
.card .foot { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .88rem; font-weight: 700; color: var(--accent); }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt.hovering { transition: transform .08s linear, border-color .25s; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 112px; }
.section + .cta-band { padding-top: 0; }
.cta-card { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 28px; align-items: center; padding: clamp(36px, 6vw, 64px); border-radius: 30px; background: var(--navy); color: #EAF0F8; border: 1px solid rgba(217,169,63,.22); }
@media (min-width: 900px) { .cta-card { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(circle at 100% 50%, transparent 0 120px, rgba(217,169,63,.14) 121px 122px, transparent 123px 200px, rgba(217,169,63,.1) 201px 202px, transparent 203px 290px, rgba(217,169,63,.07) 291px 292px, transparent 293px),
  radial-gradient(600px 300px at 0% 0%, rgba(48,110,170,.25), transparent 70%); }
.cta-card h2 { font-family: var(--serif); font-weight: 350; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; max-width: 18em; text-wrap: balance; }
.cta-card p { margin: 0; color: #A9BBD2; font-size: 1.06rem; max-width: 38em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } .contact-info .sec-head { grid-template-columns: 1fr; } }
.contact-info .sec-head { margin-bottom: 36px; }
.cinfo { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cinfo li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cinfo li:first-child { border-top: 1px solid var(--line); }
.ci { flex: none; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--card-line); color: var(--accent); }
.cinfo small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.cinfo a, .cinfo span { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.cinfo a:hover { color: var(--accent); }
.response { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; color: var(--muted); font-size: .94rem; }
.cform { position: relative; padding: clamp(26px, 4vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--card-line); box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.cform h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -.01em; }
.row2 { display: grid; gap: 18px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }
.fld { display: grid; gap: 7px; align-content: start; }
.fld label { font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.fld label em { color: #C2410C; font-style: normal; }
.fld input, .fld textarea, .fld select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.fld textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217,169,63,.18); background: var(--surface); }
.fld [aria-invalid="true"] { border-color: #DC2626; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.err { color: #DC2626; font-size: .8rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.submit { justify-self: start; border: 0; }
.submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-status { margin: 0; font-size: .92rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: #15803D; }
.form-status.bad { color: #DC2626; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px; }
.form-done[hidden] { display: none; }
.done-ico { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(21,128,61,.12); color: #15803D; }
.done-ico .g { width: 30px; height: 30px; }
.done-msg { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; max-width: 22em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #A9BBD2; padding: 80px 0 40px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; } }
.footer .mark { color: #fff; margin-bottom: 16px; }
.foot-brand p { margin: 0 0 20px; max-width: 26em; font-size: .95rem; }
.footer h4 { margin: 4px 0 16px; color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold-2); }
.foot-contact li { overflow-wrap: anywhere; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; color: #D5E0EE; }
.socials a:hover { border-color: var(--gold); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-top: 28px; font-size: .88rem; }
.foot-bottom p { margin: 0; }
.footer .tagline { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-2); }

/* ---------- Modals ---------- */
.modal { border: 0; padding: 0; width: min(720px, calc(100% - 24px)); max-height: calc(100% - 24px); background: var(--surface); color: var(--ink); border-radius: 26px; overflow: auto; box-shadow: var(--shadow-lg); }
.modal.wide { width: min(860px, calc(100% - 24px)); }
.modal[open] { animation: pop .32s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.modal::backdrop { background: rgba(4,10,20,.74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-inner { position: relative; padding: 48px 44px 40px; border-top: 4px solid var(--gold); }
@media (max-width: 560px) { .modal-inner { padding: 36px 22px 28px; } }
.modal-x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.modal-x:hover { border-color: var(--accent); }
.modal .meta { color: var(--muted); font-size: .88rem; margin: 0 0 12px; font-weight: 600; }
.modal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 22px; padding-right: 36px; }
.prose p { font-family: var(--serif); font-weight: 350; font-size: 1.2rem; line-height: 1.72; margin: 0 0 18px; }
.reader .pill { margin-top: 10px; }
.case-img { margin: -48px -44px 32px; aspect-ratio: 21/9; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .case-img { margin: -36px -22px 24px; } }
.case-sum { font-size: 1.12rem; color: var(--ink-2); margin: -6px 0 26px; }
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-facts div { padding: 14px 16px 14px 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.case-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 0; font-weight: 700; font-size: .96rem; }
.case-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 32px; }
.case-metrics div { padding: 18px 20px; border-radius: 16px; background: var(--navy); color: #EAF0F8; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.case-metrics dd { margin: 0; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold-2); }
.case-metrics dt { font-size: .82rem; color: #A9BBD2; }
.case-body h3 { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 26px 0 8px; }
.case-body p { margin: 0; font-family: var(--serif); font-weight: 350; font-size: 1.12rem; line-height: 1.7; }
.case-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Preview mode (dashboard iframe) ---------- */
.is-preview .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
.is-preview .hero h1 .line > span, .is-preview .hero .lede, .is-preview .cta, .is-preview .status, .is-preview .globe-wrap, .is-preview .hero-eyebrow { animation: none !important; }
.is-preview .bar span { transform: scaleX(1); transition: none; }
.is-preview [data-edit] { outline: 2px dashed transparent; outline-offset: 4px; }
.edit-on [data-edit] { cursor: pointer; }
.edit-on [data-edit]:hover { outline-color: #D9A93F; }
.edit-tag { position: fixed; z-index: 9999; pointer-events: none; padding: 4px 10px; border-radius: 8px; background: #D9A93F; color: #0C1B33; font: 700 12px/1.4 var(--sans); box-shadow: 0 6px 18px rgba(0,0,0,.25); transform: translateY(-100%); white-space: nowrap; }
.edit-tag[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .line > span, .hero .lede, .cta, .globe-wrap, .status, .hero-eyebrow { animation: none; }
  .pulse::after { animation: none; }
  .track { animation: none; flex-wrap: wrap; width: auto; }
  .set:nth-child(2) { display: none; }
  .set { flex-wrap: wrap; }
  .tilt, .tilt.hovering, .proj { transition: none; transform: none !important; }
  .modal[open] { animation: none; }
  .statement .w { transition: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .bar span { transition: none; transform: scaleX(1); }
}
