/* ============================================================
   Alternative Regulatory Solutions — Design System v2
   Brand palette: ARS navy (#0A192F) + ARS blue (#2251FF)
   Type: Source Serif 4 (display) · Inter (UI/body) · JetBrains Mono (labels)
   ============================================================ */

:root {
  /* ---- Brand ---- */
  --navy-950: #050e1c;       /* deepest — footer */
  --navy-900: #0a192f;       /* primary dark — brand navy */
  --navy-800: #102544;       /* raised surface on navy */
  --navy-700: #17325b;       /* borders / hover on navy */
  --navy-600: #1f4176;

  --blue: #2251ff;           /* ARS accent blue */
  --blue-600: #1a41d8;       /* pressed */
  --blue-400: #5c81ff;       /* accent on dark */
  --blue-300: #93aeff;
  --blue-50: #eef2ff;        /* tint wash */

  /* ---- Neutrals (slate) ---- */
  --ink: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --paper: #f8fafc;
  --white: #ffffff;

  /* On-navy text */
  --mist: #a8b6c9;
  --mist-bright: #cfd9e6;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --maxw: 1200px;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.07), 0 12px 32px -8px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 8px 24px -6px rgba(10, 25, 47, 0.12), 0 32px 64px -16px rgba(10, 25, 47, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue); color: var(--white); }

/* Anchor targets clear the fixed header */
#main, section[id], .bio-section { scroll-margin-top: 114px; }

/* ---------- Utilities ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 22px; } }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 20px; font-size: 0.875rem;
}
.skip-link:focus { left: 0; }

/* Kicker — small mono section label */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--blue); }
.on-dark .kicker { color: var(--blue-400); }
.on-dark .kicker::before { background: var(--blue-400); }

/* Headings */
h1, h2, h3, .display { font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; color: var(--ink); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.h-xl { font-size: clamp(2.6rem, 5.4vw, 4.25rem); }
.h-lg { font-size: clamp(2rem, 3.7vw, 2.9rem); }
.h-md { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.h-sm { font-size: 1.25rem; }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.62; color: var(--slate-600); max-width: 44em; font-weight: 400; }
.on-dark .lead { color: var(--mist-bright); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.005em;
  transition: all 0.25s var(--ease); border: 1px solid transparent; white-space: nowrap;
}
.btn .arrow { transition: transform 0.28s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
/* Restrained neutral shadow rather than a saturated blue glow — the colour
   shift carries the hover state, the shadow just lifts the button. */
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: 0 1px 2px rgba(10, 25, 47, 0.10); }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); box-shadow: 0 3px 10px -3px rgba(10, 25, 47, 0.26); transform: translateY(-1px); }
.btn-dark { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.btn-dark:hover { background: var(--navy-700); border-color: var(--navy-700); transform: translateY(-1px); }
.btn-outline { border-color: var(--slate-300); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline-light { border-color: rgba(255,255,255,0.3); color: var(--white); background: rgba(255,255,255,0.04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* Text link with arrow */
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 5px; position: relative;
  transition: color 0.22s, gap 0.28s var(--ease);
}
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--blue); transform-origin: left; transition: transform 0.32s var(--ease);
}
.text-link:hover { color: var(--blue); gap: 13px; }
.on-dark .text-link { color: var(--white); }
.on-dark .text-link::after { background: var(--blue-400); }
.on-dark .text-link:hover { color: var(--blue-300); }

/* ============================================================
   Header — transparent over the hero, solid once scrolled
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 25, 47, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px -12px rgba(5, 14, 28, 0.6);
}
/* Mobile menu open: always solid so the panel reads as one surface.
   Short duration so the bar and the panel land together. */
.nav-open .site-header {
  background: var(--navy-900); border-bottom-color: rgba(255,255,255,0.1);
  transition-duration: 0.12s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 94px; gap: 28px; }

/* Logo lockup — full ARS mark (wings + wordmark), same asset as the footer */
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 76px; width: auto; }
@media (max-width: 480px) { .brand img { height: 56px; } }

/* Top-level nav matches the hero kicker: mono, uppercase, wide tracking.
   Selectors are scoped with `> li >` so the dropdown links below are NOT
   caught by these rules. */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > li { position: relative; }
.main-nav > li > a, .main-nav > li > .nav-btn {
  display: flex; align-items: center; gap: 7px; padding: 11px 13px;
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--mist-bright);
  border-radius: var(--radius); transition: color 0.2s, background 0.2s;
}
.main-nav > li > a:hover, .main-nav > li > .nav-btn:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.main-nav > li > a[aria-current="page"] { color: var(--white); font-weight: 600; }
.main-nav > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--blue-400);
}
.nav-btn .caret { transition: transform 0.24s var(--ease); opacity: 0.7; }
.has-dropdown.open .caret, .has-dropdown:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 0; transform: translateY(8px);
  min-width: 296px; background: var(--white); border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 8px;
  opacity: 0; visibility: hidden; transition: all 0.24s var(--ease);
}
.dropdown::before {
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Dropdown uses the body sans — deliberately not the mono nav face */
.dropdown a {
  display: block; padding: 12px 14px; border-radius: var(--radius);
  border-left: 2px solid transparent; transition: all 0.2s;
  font-family: var(--sans); letter-spacing: normal; text-transform: none;
}
.dropdown a:hover { background: var(--slate-100); border-left-color: var(--blue); }
.dropdown .dd-title { font-family: var(--sans); font-weight: 600; font-size: 0.925rem; color: var(--ink); display: flex; align-items: center; gap: 11px; white-space: nowrap; letter-spacing: -0.005em; }
.dropdown .dd-num { font-family: var(--mono); font-size: 0.65rem; font-weight: 500; color: var(--blue); letter-spacing: 0.1em; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-cta .btn { padding: 12px 24px; font-size: 0.875rem; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white);
  transition: all 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .main-nav, .header-cta .btn-primary { display: none; }
  .nav-toggle { display: block; }
  /* Nine links, two labels and a CTA have to clear a 94px header on a short
     phone. Spacing is tightened so the CTA stays above the fold rather than
     being pushed off the bottom, and the panel scrolls if it still cannot fit. */
  .mobile-nav {
    display: none; position: fixed; inset: 94px 0 0 0; background: var(--navy-900);
    z-index: 99; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 14px 32px calc(28px + env(safe-area-inset-bottom, 0px));
    color: var(--white); overscroll-behavior: contain;
  }
  .nav-open .mobile-nav { display: block; }
  .mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.02rem; font-weight: 500; color: var(--mist-bright); }
  .mobile-nav a:hover { color: var(--white); }
  .mobile-nav .mn-label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-400); padding: 16px 0 4px; }
  .mobile-nav .btn { margin-top: 20px; width: 100%; border-bottom: 0; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1041px) { .mobile-nav { display: none !important; } }

/* ============================================================
   Hero — architectural photography
   ============================================================ */
.hero { position: relative; background: var(--navy-900); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.32; filter: contrast(1.08); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, var(--navy-900) 0%, rgba(10,25,47,0.94) 38%, rgba(10,25,47,0.62) 68%, rgba(10,25,47,0.78) 100%);
}
.hero::after {
  content: ""; position: absolute; top: -25%; right: -8%; width: 55%; height: 120%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(34, 81, 255, 0.22) 0%, transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; }
/* Top padding clears the fixed 86px header */
.hero-inner { padding: clamp(180px, 14vw, 242px) 0 clamp(76px, 9vw, 116px); max-width: 820px; }
.hero h1 { margin: 26px 0 30px; letter-spacing: -0.028em; }
.hero .lead { margin-bottom: 44px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero credential strip */
.hero-strip { border-top: 1px solid rgba(255,255,255,0.12); position: relative; background: rgba(5, 14, 28, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip .strip-item {
  padding: 28px 26px 28px 0; margin-right: 26px;
  border-right: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem; line-height: 1.55; color: var(--mist-bright);
  display: flex; align-items: flex-start; gap: 12px;
}
.hero-strip .strip-item:last-child { border-right: 0; margin-right: 0; }
.hero-strip .tick { color: var(--blue-400); flex: 0 0 auto; margin-top: 3px; }
@media (max-width: 940px) {
  .hero-strip .container { grid-template-columns: 1fr 1fr; }
  .hero-strip .strip-item:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 580px) {
  .hero-strip .container { grid-template-columns: 1fr; }
  .hero-strip .strip-item { border-right: 0; margin-right: 0; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
  .hero-strip .strip-item:last-child { border-bottom: 0; }
}

/* Stats band */
.stats-band { background: var(--white); border-bottom: 1px solid var(--slate-200); }
.stats-band .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 52px 40px 52px 0; border-right: 1px solid var(--slate-200); margin-right: 40px; }
.stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat-value { font-family: var(--serif); font-size: clamp(2.2rem, 3.8vw, 3.25rem); font-weight: 600; color: var(--navy-900); line-height: 1; letter-spacing: -0.03em; }
.stat-value .accent { color: var(--blue); }
.stat-label { margin-top: 12px; font-size: 0.9rem; color: var(--slate-500); max-width: 24em; line-height: 1.55; }
@media (max-width: 880px) {
  .stats-band .container { grid-template-columns: 1fr; }
  .stat { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--slate-200); padding: 30px 0; }
  .stat:last-child { border-bottom: 0; }
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-head { max-width: 740px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { margin: 22px 0 20px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }
.section-head.split {
  max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap;
}
.section-head.split > div { max-width: 660px; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--slate-200); border: 1px solid var(--slate-200); }
.service-card {
  background: var(--white); padding: clamp(34px, 4vw, 52px);
  display: flex; flex-direction: column; gap: 16px; position: relative;
  transition: background 0.35s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { background: var(--paper); }
.service-card:hover::before { transform: scaleY(1); }
.service-card .num {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--blue); font-weight: 500; text-transform: uppercase;
}
.service-card h3 { font-size: clamp(1.35rem, 1.9vw, 1.65rem); }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { color: var(--slate-600); font-size: 0.975rem; flex: 1; }
.service-card .text-link { align-self: flex-start; position: relative; z-index: 1; }
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(26px, 3vw, 44px); }
.cap { padding-top: 26px; border-top: 1px solid var(--slate-300); position: relative; }
.cap::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 3px; background: var(--blue); }
.cap .num { font-family: var(--mono); font-size: 0.7rem; color: var(--slate-400); letter-spacing: 0.16em; }
.cap h3 { font-size: 1.15rem; margin: 12px 0 11px; }
.cap p { font-size: 0.925rem; color: var(--slate-600); }
@media (max-width: 980px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

/* Why ARS — two-column with checklist */
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(44px, 6vw, 96px); align-items: start; }
.why-copy h2 { margin: 22px 0 22px; }
.why-copy p { color: var(--slate-600); margin-bottom: 20px; }
.checklist { display: flex; flex-direction: column; }
.checklist li {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--slate-200);
  font-size: 0.98rem; line-height: 1.58; align-items: flex-start; color: var(--slate-700);
}
.checklist li:first-child { border-top: 1px solid var(--slate-200); }
.checklist .tick { color: var(--blue); flex: 0 0 auto; margin-top: 4px; }
.on-dark .checklist li { border-color: var(--navy-700); color: var(--mist-bright); }
.on-dark .checklist .tick { color: var(--blue-400); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* Philosophy / quote band */
.quote-band { position: relative; overflow: hidden; }
.quote-band::before {
  content: ""; position: absolute; top: -20%; left: -8%; width: 52%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(34,81,255,0.18) 0%, transparent 62%);
}
.quote-band .container { position: relative; max-width: 960px; }
.quote-mark { font-family: var(--serif); font-size: 6rem; line-height: 0.55; color: var(--blue-400); margin-bottom: 34px; opacity: 0.9; }
.quote-band blockquote p {
  font-family: var(--serif); font-size: clamp(1.55rem, 2.9vw, 2.3rem);
  line-height: 1.38; font-weight: 400; font-style: italic; color: var(--white); letter-spacing: -0.015em;
}
.quote-band cite {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 38px;
  font-family: var(--mono); font-style: normal; font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue-400);
}
.quote-band cite::before { content: ""; width: 36px; height: 2px; background: var(--blue-400); }

/* Insights cards */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.5vw, 34px); }
.insight-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 34px 32px; display: flex; flex-direction: column; gap: 15px; position: relative;
  transition: all 0.34s var(--ease);
}
.insight-card:hover { border-color: var(--blue); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.insight-meta { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; }
.insight-meta .cat { color: var(--blue); font-weight: 600; }
.insight-meta .date { color: var(--slate-400); }
.insight-card h3 { font-size: 1.24rem; line-height: 1.34; }
.insight-card h3 a::after { content: ""; position: absolute; inset: 0; }
.insight-card p { font-size: 0.92rem; color: var(--slate-600); flex: 1; }
.insight-card .text-link { align-self: flex-start; }
@media (max-width: 940px) { .insight-grid { grid-template-columns: 1fr; } }

/* Featured insight (listing page) */
.insight-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--navy-900); color: var(--white); margin-bottom: clamp(30px, 4vw, 48px);
  overflow: hidden; border-radius: var(--radius);
}
.insight-featured .feat-copy { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; justify-content: center; }
.insight-featured h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.26; }
.insight-featured h2 a:hover { color: var(--blue-300); }
.insight-featured p { color: var(--mist-bright); font-size: 0.975rem; }
.insight-featured .feat-visual { position: relative; min-height: 320px; overflow: hidden; }
.insight-featured .feat-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.insight-featured .feat-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(10,25,47,0.35) 45%, rgba(34,81,255,0.22) 100%);
}
@media (max-width: 860px) { .insight-featured { grid-template-columns: 1fr; } .insight-featured .feat-visual { min-height: 190px; order: -1; } }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: 0.2; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--navy-900) 0%, rgba(10,25,47,0.92) 45%, rgba(10,25,47,0.7) 100%);
}
.page-hero::after {
  content: ""; position: absolute; top: -30%; right: -6%; width: 50%; height: 130%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(34,81,255,0.2) 0%, transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero-inner { padding: clamp(154px, 11vw, 198px) 0 clamp(68px, 9vw, 112px); max-width: 860px; }
.page-hero h1 { margin: 22px 0 22px; }
.page-hero .lead { color: var(--mist-bright); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); margin-bottom: 28px; }
.breadcrumbs a { transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs .sep { color: var(--blue-400); }
.breadcrumbs [aria-current] { color: var(--blue-300); }

/* ============================================================
   Service detail layout
   ============================================================ */
.service-layout { display: grid; grid-template-columns: 1fr 350px; gap: clamp(44px, 5vw, 80px); align-items: start; }
.service-body > section + section { margin-top: clamp(44px, 5vw, 60px); }
.service-body h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 16px; }
.service-body p { color: var(--slate-600); margin-bottom: 15px; }
.service-body ul.bullets { margin: 4px 0 15px; }
.service-body ul.bullets li { position: relative; padding: 7px 0 7px 26px; color: var(--slate-600); }
.service-body ul.bullets li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 2px; background: var(--blue); }

.service-aside { position: sticky; top: 114px; display: flex; flex-direction: column; gap: 26px; }
.aside-card { border: 1px solid var(--slate-200); background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.aside-card.dark { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); box-shadow: var(--shadow-md); }
.aside-card h3 { font-size: 1.18rem; margin-bottom: 12px; }
.aside-card p { font-size: 0.9rem; color: var(--slate-600); margin-bottom: 22px; }
.aside-card.dark p { color: var(--mist-bright); }
.aside-card .btn { width: 100%; }
.aside-list { display: flex; flex-direction: column; }
.aside-list li { display: flex; gap: 12px; padding: 10px 0; font-size: 0.9rem; border-bottom: 1px solid var(--slate-200); align-items: flex-start; color: var(--slate-700); }
.aside-list li:last-child { border-bottom: 0; }
.aside-list .tick { color: var(--blue); flex: 0 0 auto; margin-top: 4px; }
.aside-links { display: flex; flex-direction: column; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 0; font-size: 0.92rem; font-weight: 500; border-bottom: 1px solid var(--slate-200); color: var(--ink); transition: color 0.2s; }
.aside-links a:last-child { border-bottom: 0; }
.aside-links a:hover { color: var(--blue); }
@media (max-width: 980px) { .service-layout { grid-template-columns: 1fr; } .service-aside { position: static; } }

/* FAQ accordion */
.faq { border-top: 1px solid var(--slate-200); }
.faq details { border-bottom: 1px solid var(--slate-200); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.14rem; font-weight: 600; line-height: 1.4; color: var(--ink);
  transition: color 0.2s;
}
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-icon {
  flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--slate-300); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: all 0.28s var(--ease);
}
.faq summary .faq-icon::before, .faq summary .faq-icon::after {
  content: ""; position: absolute; background: var(--slate-600); transition: all 0.28s var(--ease);
}
.faq summary .faq-icon::before { width: 12px; height: 1.5px; }
.faq summary .faq-icon::after { width: 1.5px; height: 12px; }
.faq details[open] summary { color: var(--blue); }
.faq details[open] summary .faq-icon { background: var(--blue); border-color: var(--blue); transform: rotate(90deg); }
.faq details[open] summary .faq-icon::before { background: var(--white); }
.faq details[open] summary .faq-icon::after { opacity: 0; }
.faq .faq-answer { padding: 0 46px 28px 0; color: var(--slate-600); }
.faq .faq-answer p + p { margin-top: 13px; }

/* ============================================================
   About page
   ============================================================ */
.prose { max-width: 780px; }
.prose p { color: var(--slate-600); margin-bottom: 21px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose h2 { margin: 44px 0 18px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.prose ul.bullets li { position: relative; padding: 8px 0 8px 28px; color: var(--slate-600); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 11px; height: 2px; background: var(--blue); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--slate-200); border: 1px solid var(--slate-200); }
.value-card { background: var(--white); padding: clamp(32px, 3.5vw, 48px); transition: background 0.3s; }
.value-card:hover { background: var(--paper); }
.value-card .val-icon {
  width: 52px; height: 52px; border: 1px solid var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--blue); margin-bottom: 24px;
  background: var(--blue-50);
}
.value-card h3 { font-size: 1.25rem; margin-bottom: 13px; }
.value-card p { font-size: 0.94rem; color: var(--slate-600); }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Team page
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.5vw, 34px); }
.team-card {
  border: 1px solid var(--slate-200); background: var(--white); overflow: hidden;
  transition: all 0.34s var(--ease); display: flex; flex-direction: column;
  border-radius: var(--radius);
}
.team-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-photo {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-900); position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 0.6s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
/* Monogram fallback for members without a headshot */
.team-photo.monogram { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 60%); }
.team-photo.monogram::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(34,81,255,0.3) 0%, transparent 62%);
}
.team-photo.monogram span {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--white);
  letter-spacing: 0.02em; position: relative; opacity: 0.95;
}
.team-info { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.team-card h3 { font-size: 1.26rem; margin-bottom: 5px; }
.team-card .role { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); line-height: 1.5; margin-bottom: 16px; }
.team-card .bio-link { margin-top: auto; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }

.bio-section { border-top: 1px solid var(--slate-200); padding-top: clamp(44px, 5vw, 60px); margin-top: clamp(44px, 5vw, 60px); scroll-margin-top: 114px; }
.bio-section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.bio-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
.bio-side { position: sticky; top: 114px; }
.bio-portrait { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); margin-bottom: 22px; background: var(--navy-900); position: relative; }
.bio-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.bio-portrait.monogram { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 60%); }
.bio-portrait.monogram::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(34,81,255,0.3) 0%, transparent 62%); }
.bio-portrait.monogram span { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--white); position: relative; }
.bio-side h2 { font-size: 1.6rem; margin-bottom: 7px; }
.bio-side .role { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); line-height: 1.6; }
.bio-body p { color: var(--slate-600); margin-bottom: 17px; }
@media (max-width: 840px) { .bio-layout { grid-template-columns: 1fr; } .bio-side { position: static; } .bio-portrait { max-width: 280px; } }

/* ============================================================
   Insights article
   ============================================================ */
.article-layout { max-width: 800px; margin: 0 auto; }
.article-body { font-size: 1.08rem; line-height: 1.78; }
.article-body > * + * { margin-top: 21px; }
.article-body h2 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); margin-top: 50px; }
.article-body h3 { font-size: 1.22rem; margin-top: 34px; }
.article-body p { color: var(--slate-700); }
.article-body ul, .article-body ol { padding-left: 2px; }
.article-body ul li, .article-body ol li { position: relative; padding: 7px 0 7px 28px; color: var(--slate-700); }
.article-body ul li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 11px; height: 2px; background: var(--blue); }
.article-body ol { counter-reset: item; }
.article-body ol li { counter-increment: item; }
.article-body ol li::before {
  content: counter(item) "."; position: absolute; left: 0; top: 7px;
  font-family: var(--mono); font-size: 0.85rem; color: var(--blue); font-weight: 600;
}
.article-body .callout {
  border-left: 3px solid var(--blue); background: var(--blue-50); padding: 26px 30px; margin-top: 32px; border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body .callout p { margin: 0; font-size: 0.98rem; color: var(--slate-700); }
.article-body .callout p + p { margin-top: 11px; }
.article-body a[href] { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a[href]:hover { color: var(--blue-600); }
.article-disclaimer { font-size: 0.85rem; color: var(--slate-400); font-style: italic; border-bottom: 1px solid var(--slate-200); padding-bottom: 26px; }

.back-link { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mist); margin-bottom: 26px; transition: color 0.2s, gap 0.25s var(--ease); }
.back-link:hover { color: var(--white); gap: 13px; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(44px, 5vw, 80px); align-items: start; }
.form-card { border: 1px solid var(--slate-200); background: var(--white); padding: clamp(30px, 4vw, 48px); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.55rem; margin-bottom: 10px; }
.form-card > p { color: var(--slate-500); font-size: 0.94rem; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); }
.form-field label .req { color: var(--blue); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 14px 15px; border: 1px solid var(--slate-300); border-radius: var(--radius); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--slate-400); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(34, 81, 255, 0.13);
}
.form-field textarea { min-height: 132px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 26px; }
.form-note { font-size: 0.8rem; color: var(--slate-400); margin-top: 16px; text-align: center; }
.form-note a { color: var(--blue); }
/* Honeypot — off-screen rather than display:none, which some bots skip */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 500; display: none; }
.form-status.ok { display: block; color: #15803d; }
.form-status.err { display: block; color: #b91c1c; }

.contact-side { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 26px; border-bottom: 1px solid var(--slate-200); }
.contact-item:last-of-type { border-bottom: 0; }
.contact-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--blue); background: var(--blue-50);
}
.contact-item h3 { font-size: 1.05rem; margin-bottom: 5px; }
.contact-item p, .contact-item a { color: var(--slate-600); font-size: 0.96rem; }
.contact-item a:hover { color: var(--blue); }
.contact-item .muted { font-size: 0.85rem; color: var(--slate-400); }
@media (max-width: 940px) { .contact-layout { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-body { max-width: 800px; }
.legal-body .updated { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 40px; }
.legal-body h2 { font-size: 1.45rem; margin: 44px 0 16px; }
.legal-body h3 { font-size: 1.12rem; margin: 30px 0 11px; }
.legal-body p { color: var(--slate-600); margin-bottom: 15px; font-size: 0.98rem; }
.legal-body ul { margin: 6px 0 18px; }
.legal-body ul li { position: relative; padding: 6px 0 6px 26px; color: var(--slate-600); font-size: 0.98rem; }
.legal-body ul li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 10px; height: 2px; background: var(--blue); }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; top: -40%; right: -8%; width: 52%; height: 180%;
  background: radial-gradient(ellipse at center, rgba(34, 81, 255, 0.22) 0%, transparent 60%);
}
.cta-band::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, rgba(34,81,255,0.15) 45%, transparent 100%);
}
.cta-band .container {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  gap: 48px; flex-wrap: wrap; padding-top: clamp(64px, 8vw, 100px); padding-bottom: clamp(64px, 8vw, 100px);
}
.cta-band h2 { max-width: 15em; margin-top: 20px; }
.cta-band p { color: var(--mist-bright); max-width: 34em; margin-top: 16px; }
.cta-band .btn { flex: 0 0 auto; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-950); color: var(--mist); font-size: 0.92rem; }
.footer-main { padding: clamp(64px, 8vw, 92px) 0 44px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(34px, 4vw, 60px); }
.footer-brand .brand { margin-bottom: 24px; }
.footer-brand .brand img { height: 52px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.68; max-width: 30em; color: var(--mist); }
.footer-col h3 {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue-400); margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-style: normal; line-height: 1.72; }
.footer-col address a { display: block; margin-top: 7px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 26px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; }
.footer-legal { display: flex; gap: 26px; }
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .cta-band, .site-footer, .nav-toggle { display: none; }
}
