/* ==========================================================================
   BluePoint Advisory — Design option "Dusk"
   The happy medium between the quiet-institutional light system and the
   Midnight Prospectus: a light body with midnight used as punctuation.
   Dark hero and stats open each page, the body runs white with blue-tinted
   structure, and a dark CTA band closes. Lora display + Hanken Grotesk,
   IBM Plex Mono labels carried over from Midnight. Square corners,
   hairlines. All tokens as --dk-* custom properties.
   ========================================================================== */

:root {
    /* Light grounds (body) */
    --dk-white: #ffffff;
    --dk-wash: #f0f5fc;
    --dk-pale: #eef3fb;

    /* Light hairlines */
    --dk-line: #dbe5f3;
    --dk-line-strong: #cdddf5;
    --dk-line-soft: #d9e4f5;
    --dk-line-band: #c9d9f2;

    /* Text on light */
    --dk-text: #1e2939;
    --dk-text-muted: #46536a;
    --dk-text-secondary: #647082;
    --dk-navy: #0d1b2e;

    /* Night band (hero, CTA, footer) */
    --dk-night: #0d1b2e;
    --dk-night-line: rgba(169, 200, 245, 0.16);
    --dk-night-line-soft: rgba(169, 200, 245, 0.10);
    --dk-night-line-strong: rgba(169, 200, 245, 0.30);
    --dk-night-text: #e9eef6;
    --dk-night-bright: #f4f7fc;
    --dk-night-muted: #9fb0cd;
    --dk-night-faint: #6d7f9f;

    /* Accents */
    --dk-accent: #a9c8f5;
    --dk-accent-strong: #c8ddf9;
    --dk-blue: #2f48a8;
    --dk-blue-dark: #24397e;

    /* Type */
    --dk-font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --dk-display: 'Lora', Georgia, 'Times New Roman', serif;
    --dk-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    /* Rhythm */
    --dk-radius: 0;
    --dk-gutter: clamp(20px, 5vw, 128px);
    --dk-maxw: 100%;
    --dk-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--dk-font);
    color: var(--dk-text);
    background: var(--dk-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--dk-display); font-weight: 500; color: var(--dk-navy); line-height: 1.15; }

a { color: inherit; text-decoration: none; }

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

.wrap { max-width: var(--dk-maxw); margin: 0 auto; padding: 0 var(--dk-gutter); }

/* --------------------------------------------------------------------------
   Shared: eyebrow, text-link, buttons
   -------------------------------------------------------------------------- */
.eyebrow {
    font-family: var(--dk-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dk-blue);
    font-weight: 500;
}

.text-link {
    display: inline-block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dk-blue);
    border-bottom: 1px solid var(--dk-blue);
    padding-bottom: 3px;
    transition: color 0.25s ease, border-color 0.25s ease;
}
.text-link:hover { color: var(--dk-blue-dark); border-color: var(--dk-blue-dark); }

.btn {
    display: inline-block;
    border: 0;
    border-radius: var(--dk-radius);
    font-family: var(--dk-font);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}
/* On light: brand blue */
.btn--primary { background: var(--dk-blue); color: #fff; padding: 16px 32px; font-size: 14.5px; }
.btn--primary:hover { background: var(--dk-blue-dark); }
/* On night bands: light blue */
.btn--accent { background: var(--dk-accent); color: var(--dk-navy); padding: 16px 32px; font-size: 14.5px; }
.btn--accent:hover { background: var(--dk-accent-strong); }

.nav-cta { padding: 12px 24px; font-size: 14.5px; margin-left: 8px; }

/* --------------------------------------------------------------------------
   Header / navigation (light, as in the current site)
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dk-white);
    border-bottom: 1px solid var(--dk-line);
}
.nav-inner {
    max-width: var(--dk-maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px var(--dk-gutter);
    transition: padding 0.25s ease;
}
.site-header.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }

.nav-logo img { height: 34px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 36px; font-size: 16.5px; font-weight: 500; }
.nav-links > a {
    position: relative;
    color: var(--dk-text-muted);
    transition: color 0.2s ease;
}
.nav-links > a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--dk-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.nav-links > a:hover { color: var(--dk-blue); }
.nav-links a.active { color: var(--dk-blue); font-weight: 700; }
.nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--dk-navy); transition: transform 0.3s ease, opacity 0.3s ease; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 80vw);
    background: var(--dk-white);
    border-left: 1px solid var(--dk-line);
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s var(--dk-ease);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a { padding: 14px 4px; font-size: 17px; color: var(--dk-navy); border-bottom: 1px solid var(--dk-line); }
.mobile-menu a:hover { color: var(--dk-blue); }
.mobile-menu .btn { margin-top: 20px; text-align: center; border-bottom: 0; }
.mobile-menu a.btn--primary { color: #fff; }
.mobile-menu a.btn--primary:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Hero (the midnight moment)
   -------------------------------------------------------------------------- */
.hero { background: var(--dk-night); padding: clamp(72px, 8vw, 130px) 0 clamp(48px, 5vw, 84px); }
.hero .eyebrow { display: block; color: var(--dk-accent); margin-bottom: clamp(26px, 2.4vw, 40px); }
.hero h1 {
    font-size: clamp(44px, 5.4vw, 104px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 20ch;
    margin: 0;
    color: var(--dk-night-bright);
}
.hero h1 .accent { color: var(--dk-accent); font-style: italic; }
.hero-sub {
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.75;
    color: var(--dk-night-muted);
    max-width: 56ch;
    margin-top: clamp(24px, 2.4vw, 38px);
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: clamp(30px, 3vw, 44px);
}
.hero .text-link { color: var(--dk-accent); border-color: var(--dk-accent); }
.hero .text-link:hover { color: var(--dk-accent-strong); border-color: var(--dk-accent-strong); }
.hero-rule {
    margin-top: clamp(44px, 4.5vw, 64px);
    height: 1px;
    background: linear-gradient(90deg, var(--dk-night-line-strong), rgba(169, 200, 245, 0));
    transform-origin: left;
    animation: dkRuleDraw 1.5s var(--dk-ease) 0.55s both;
}
@keyframes dkRuleDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero .eyebrow, .hero h1, .hero-sub, .hero-actions { animation: dkFadeUp 0.8s var(--dk-ease) both; }
.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero-sub { animation-delay: 0.28s; }
.hero-actions { animation-delay: 0.38s; }
@keyframes dkFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* Stats continue the night band, then the page turns light */
.stats-strip { background: var(--dk-night); border-top: 1px solid var(--dk-night-line-soft); }
.stats-inner { max-width: var(--dk-maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-cell {
    padding: 26px 0 32px 32px;
    border-left: 1px solid var(--dk-night-line-soft);
}
.stat-cell:first-child { padding-left: var(--dk-gutter); border-left: 0; }
.stat-cell:last-child { padding-right: var(--dk-gutter); }
.stat-cell .num { display: block; font-family: var(--dk-display); font-size: clamp(28px, 2.1vw, 44px); font-weight: 500; color: var(--dk-accent-strong); white-space: nowrap; }
.stat-cell .lbl { font-family: var(--dk-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dk-night-faint); }

/* --------------------------------------------------------------------------
   Services (light editorial list)
   -------------------------------------------------------------------------- */
.services { padding: clamp(64px, 6.5vw, 110px) 0; }
.services-grid { display: grid; grid-template-columns: minmax(320px, 480px) minmax(0, 1fr); gap: clamp(48px, 5vw, 120px); align-items: start; }
.services-intro { position: sticky; top: 108px; }
.services-intro .eyebrow { display: block; margin-bottom: 22px; }
.services-intro h2 { font-size: clamp(28px, 3vw, 46px); line-height: 1.16; letter-spacing: -0.01em; margin-bottom: 22px; }

.svc-list { border-top: 1px solid var(--dk-line-strong); width: 100%; max-width: 1040px; margin-left: auto; }
.svc-row {
    display: grid;
    grid-template-columns: 56px 1fr 40px;
    gap: 24px;
    align-items: center;
    padding: 24px 8px;
    border-bottom: 1px solid var(--dk-line);
    transition: background 0.25s ease;
}
.svc-row:hover { background: var(--dk-pale); }
.svc-row .svc-num { font-family: var(--dk-mono); font-size: 12px; font-weight: 500; color: var(--dk-text-secondary); }
.svc-row .svc-title { font-family: var(--dk-display); font-size: clamp(20px, 1.4vw, 27px); font-weight: 500; color: var(--dk-navy); }
.svc-row .svc-desc { font-size: 14px; line-height: 1.55; color: var(--dk-text-secondary); margin-top: 4px; }
.svc-row .svc-arrow { font-size: 20px; color: var(--dk-blue); text-align: right; }

/* --------------------------------------------------------------------------
   Firm band + leadership (pale tint)
   -------------------------------------------------------------------------- */
.firm-band { background: var(--dk-pale); border-top: 1px solid var(--dk-line-soft); border-bottom: 1px solid var(--dk-line-soft); padding: clamp(64px, 7vw, 100px) 0; }
.firm-statement {
    font-family: var(--dk-display);
    font-weight: 500;
    font-size: clamp(28px, 3vw, 50px);
    line-height: 1.28;
    letter-spacing: -0.01em;
    color: var(--dk-navy);
    max-width: 24ch;
    margin-bottom: clamp(36px, 3vw, 48px);
}
.firm-statement .accent { color: var(--dk-blue); }
.firm-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(48px, 6vw, 110px); align-items: start; }
.firm-pillars { display: grid; gap: 26px; }
/* Hairline tops draw in as their column reveals (shared fade-in observer adds .visible) */
.firm-col { border-top: 0; position: relative; padding-top: 20px; }
.firm-col::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: var(--dk-line-band);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1s var(--dk-ease) 0.2s;
}
.firm-col.visible::before { transform: scaleX(1); }
.firm-col h3 { font-family: var(--dk-font); font-size: 15px; font-weight: 700; color: var(--dk-navy); margin-bottom: 8px; }
.firm-col p { font-size: 14.5px; line-height: 1.7; color: var(--dk-text-muted); }

.firm-leaders { width: 100%; max-width: 520px; justify-self: end; }
.firm-leaders-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.firm-leaders-label { font-family: var(--dk-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--dk-text-secondary); }
.firm-leaders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 22px; }
.leader-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--dk-navy); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: grayscale(100%) contrast(1.05); }
.leader-photo::after { content: ''; position: absolute; inset: 0; background: rgba(47, 72, 168, 0.18); mix-blend-mode: multiply; }
.leader-meta { border-top: 2px solid var(--dk-blue); margin-top: 10px; padding-top: 9px; }
.leader-name { font-family: var(--dk-display); font-size: 16px; font-weight: 500; color: var(--dk-navy); }
.leader-role { font-family: var(--dk-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dk-text-secondary); margin-top: 3px; }

/* --------------------------------------------------------------------------
   CTA band (night bookend)
   -------------------------------------------------------------------------- */
.cta-band { background: var(--dk-night); }
.cta-inner {
    max-width: var(--dk-maxw); margin: 0 auto;
    padding: clamp(56px, 6vw, 84px) var(--dk-gutter);
    display: flex; justify-content: space-between; align-items: center; gap: 64px;
}
.cta-band h2 { font-size: clamp(28px, 3vw, 52px); line-height: 1.15; color: var(--dk-night-bright); margin-bottom: 14px; max-width: 28ch; text-wrap: balance; }
.cta-band p { font-size: 16px; color: var(--dk-night-muted); max-width: 56ch; }
.cta-band .btn { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Slim footer (night)
   -------------------------------------------------------------------------- */
.site-footer { background: var(--dk-night); border-top: 1px solid var(--dk-night-line); }
.footer-inner {
    max-width: var(--dk-maxw); margin: 0 auto;
    padding: 24px var(--dk-gutter);
    display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.footer-inner > a, .footer-inner > span { font-size: 13px; color: var(--dk-night-faint); }
.footer-inner > a:hover { color: var(--dk-accent); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--dk-ease), transform 0.8s var(--dk-ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.d1 { transition-delay: 0.06s; }
.fade-in.d2 { transition-delay: 0.12s; }
.fade-in.d3 { transition-delay: 0.18s; }
.fade-in.d4 { transition-delay: 0.24s; }
.fade-in.d5 { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .fade-in { opacity: 1; transform: none; }
    .hero-rule, .firm-col::before, .process-step::before, .value-col::before { animation: none !important; transition: none !important; transform: none; }
    html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Interior pages: dark page hero + light sections
   -------------------------------------------------------------------------- */
.page-hero { background: var(--dk-night); padding: clamp(64px, 7vw, 110px) 0 clamp(44px, 4.5vw, 72px); }
.page-hero .eyebrow { display: block; color: var(--dk-accent); margin-bottom: 28px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 76px); line-height: 1.08; letter-spacing: -0.02em; max-width: 20ch; margin-bottom: 24px; color: var(--dk-night-bright); }
.page-hero .dek { font-size: clamp(17px, 1.25vw, 21px); line-height: 1.75; color: var(--dk-night-muted); max-width: 60ch; }
.page-hero .hero-rule { margin-top: clamp(36px, 3.5vw, 52px); }

.section { padding: clamp(64px, 6.5vw, 96px) 0; }
.section--pale { background: var(--dk-pale); border-top: 1px solid var(--dk-line-soft); border-bottom: 1px solid var(--dk-line-soft); }
.section-eyebrow { display: block; margin-bottom: 22px; }
.section-title { font-size: clamp(28px, 3vw, 46px); line-height: 1.18; letter-spacing: -0.01em; margin-bottom: 20px; }
.section-intro { font-size: 17px; line-height: 1.7; color: var(--dk-text-muted); max-width: 640px; }

/* ---- Services: detail sections ---- */
.svc-detail { padding: clamp(64px, 6.5vw, 96px) 0; }
.svc-detail--wash { background: var(--dk-wash); border-top: 1px solid var(--dk-line-soft); border-bottom: 1px solid var(--dk-line-soft); }
.svc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.svc-detail-grid.reverse .svc-copy { order: 2; }
.svc-detail-grid.reverse .svc-aside { order: 1; }
.svc-label { display: block; font-family: var(--dk-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dk-blue); font-weight: 500; margin-bottom: 18px; }
.svc-copy h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 20px; }
.svc-copy p { font-size: 16px; line-height: 1.75; color: var(--dk-text-muted); margin-bottom: 16px; max-width: 560px; }

/* Data Insights: expandable Selected case studies band */
.cs-toggle {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--dk-blue);
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
    padding: 0 0 3px;
}
.cs-arrow { display: inline-block; transition: transform 0.3s var(--dk-ease); }
.cs-toggle[aria-expanded="true"] .cs-arrow { transform: rotate(180deg); }
.cs-reveal {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.55s var(--dk-ease);
}
.cs-reveal.open { grid-template-rows: 1fr; }
.cs-band { overflow: hidden; min-height: 0; }
.cs-band > .cs-eyebrow {
    display: block;
    font-family: var(--dk-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dk-blue);
    font-weight: 500;
    padding-top: clamp(48px, 5vw, 72px);
    margin-bottom: 44px;
}
.cs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.cs-item { border-top: 1px solid var(--dk-line-strong); position: relative; padding-top: 26px; display: flex; flex-direction: column; }
.cs-item::before { content: ''; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; background: var(--dk-blue); }
.cs-num { display: block; font-family: var(--dk-mono); font-size: 12px; color: var(--dk-text-secondary); margin-bottom: 10px; }
.cs-head { font-size: 22px; margin-bottom: 20px; }
.cs-card { border: 1px solid var(--dk-line); background: var(--dk-white); padding: 26px 26px 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.cs-client {
    font-family: var(--dk-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dk-text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}
.cs-stat { font-family: var(--dk-display); font-size: 40px; font-weight: 500; color: var(--dk-blue); line-height: 1; margin-bottom: 8px; }
.cs-stat-lbl {
    font-family: var(--dk-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dk-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.cs-card p { font-size: 14.5px; line-height: 1.7; color: var(--dk-text-muted); margin-bottom: 20px; }
.cs-tag {
    font-family: var(--dk-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dk-blue);
    border-top: 1px solid var(--dk-line);
    padding-top: 14px;
    margin-top: auto;
    width: 100%;
}

.incl-card { border: 1px solid var(--dk-line); padding: 32px 34px; background: var(--dk-white); }
.incl-card h3 { font-family: var(--dk-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dk-text-secondary); font-weight: 500; margin-bottom: 20px; }
.incl-list { list-style: none; }
.incl-list li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-top: 1px solid var(--dk-line); font-size: 15px; color: var(--dk-text); }
.incl-list li:first-child { border-top: 0; }
.incl-list li::before { content: ''; width: 7px; height: 7px; background: var(--dk-blue); margin-top: 7px; flex-shrink: 0; }

/* ---- Process (How we work) ---- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 52px; }
.process-step { border-top: 0; position: relative; padding-top: 22px; }
.process-step::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: var(--dk-line-band);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1s var(--dk-ease) 0.2s;
}
.process-step.visible::before { transform: scaleX(1); }
.process-step .step-num { font-family: var(--dk-mono); font-size: 13px; color: var(--dk-text-secondary); display: block; margin-bottom: 12px; }
.process-step h3 { font-family: var(--dk-display); font-size: 20px; font-weight: 500; color: var(--dk-navy); margin-bottom: 8px; }
.process-step p { font-size: 14.5px; line-height: 1.7; color: var(--dk-text-muted); }

/* ---- Team bios (light cards) ---- */
.bio-list { display: flex; flex-direction: column; gap: 24px; }
.bio-card { display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--dk-line); background: var(--dk-white); }
.bio-photo { position: relative; overflow: hidden; background: var(--dk-navy); min-height: 340px; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); }
.bio-photo::after { content: ''; position: absolute; inset: 0; background: rgba(47, 72, 168, 0.18); mix-blend-mode: multiply; }
.bio-photo .initials-lg {
    display: flex; align-items: center; justify-content: center; height: 100%; min-height: 340px;
    background: linear-gradient(150deg, var(--dk-blue) 0%, var(--dk-navy) 100%);
    font-family: var(--dk-display); font-size: 64px; font-weight: 500; color: var(--dk-accent);
}
.bio-body { padding: 40px 44px; }
.bio-body h2 { font-size: 28px; font-weight: 500; margin-bottom: 4px; }
.bio-role { font-family: var(--dk-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dk-blue); font-weight: 500; margin-bottom: 20px; }
.bio-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag { font-size: 12px; font-weight: 600; color: var(--dk-text-muted); border: 1px solid var(--dk-line); padding: 5px 11px; }
.tag--accent { color: var(--dk-blue); border-color: var(--dk-blue); }
.bio-body p { font-size: 15px; line-height: 1.75; color: var(--dk-text-muted); margin-bottom: 14px; }
.bio-body p:last-child { margin-bottom: 0; }
.bio-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.bio-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--dk-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--dk-blue); border-bottom: 1px solid var(--dk-line-strong); padding-bottom: 3px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.bio-link svg { width: 14px; height: 14px; }
.bio-link:hover { color: var(--dk-blue-dark); border-color: var(--dk-blue); }

/* ---- Values columns ---- */
.values-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 52px; }
.value-col { border-top: 0; position: relative; padding-top: 22px; }
.value-col::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: var(--dk-line-band);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1s var(--dk-ease) 0.2s;
}
.value-col.visible::before { transform: scaleX(1); }
.value-col h3 { font-family: var(--dk-display); font-size: 20px; font-weight: 500; color: var(--dk-navy); margin-bottom: 10px; }
.value-col p { font-size: 14.5px; line-height: 1.7; color: var(--dk-text-muted); }

/* ---- Contact ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact-info h2 { font-size: 28px; margin-bottom: 16px; }
.contact-info > p { font-size: 16px; line-height: 1.75; color: var(--dk-text-muted); max-width: 420px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--dk-line); }
.contact-item .ico { width: 20px; height: 20px; color: var(--dk-blue); flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-family: var(--dk-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dk-text-secondary); font-weight: 500; margin-bottom: 4px; }
.contact-item a, .contact-item .val { font-size: 16px; color: var(--dk-navy); }
.contact-item a:hover { color: var(--dk-blue); }

.contact-form-card { border: 1px solid var(--dk-line); background: var(--dk-white); padding: 40px 44px; }
.contact-form-card h2 { font-size: 24px; margin-bottom: 8px; }
.contact-form-card > p { font-size: 15px; color: var(--dk-text-muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-group label { font-family: var(--dk-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dk-text-secondary); font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    font-family: var(--dk-font); font-size: 15px; color: var(--dk-text);
    background: var(--dk-wash); border: 1px solid var(--dk-line); border-radius: 0;
    padding: 13px 15px; width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--dk-blue); box-shadow: 0 0 0 4px rgba(47, 72, 168, 0.1);
}
.contact-form-card .btn { margin-top: 6px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-intro { position: static; }
    .svc-list { max-width: none; }
    .firm-grid { grid-template-columns: 1fr; gap: 52px; }
    .firm-leaders { justify-self: start; }
    .process-grid, .values-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
    .cs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: flex; }
    .nav-inner { padding: 12px var(--dk-gutter); }
    .site-header.scrolled .nav-inner { padding-top: 10px; padding-bottom: 10px; }
    .nav-logo img { height: 29px; }

    .hero { padding: 52px 0 40px; }
    .hero .eyebrow { margin-bottom: 18px; }
    .hero-actions { gap: 20px; }

    .stats-inner { grid-template-columns: 1fr 1fr; }
    .stat-cell { padding: 20px 0 20px 24px; }
    .stat-cell:nth-child(odd) { padding-left: var(--dk-gutter); border-left: 0; }
    .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-top: 1px solid var(--dk-night-line-soft); }

    .services { padding: 52px 0; }
    .firm-band { padding: 52px 0; }
    .firm-statement { margin-bottom: 28px; }
    .section, .svc-detail { padding: 52px 0; }
    .cs-grid { grid-template-columns: 1fr; gap: 36px; }
    .section-eyebrow { margin-bottom: 14px; }
    .page-hero { padding: 48px 0 36px; }
    .page-hero .eyebrow { margin-bottom: 16px; }

    .svc-detail-grid { grid-template-columns: 1fr; gap: 36px; }
    .svc-detail-grid.reverse .svc-copy { order: 1; }
    .svc-detail-grid.reverse .svc-aside { order: 2; }
    .process-grid, .values-cols { grid-template-columns: 1fr; }
    .bio-card { grid-template-columns: 1fr; }
    .bio-photo { min-height: 320px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; padding: 48px var(--dk-gutter); }
}

@media (max-width: 480px) {
    .stats-inner { grid-template-columns: 1fr; }
    .stat-cell, .stat-cell:nth-child(odd) { padding-left: var(--dk-gutter); border-left: 0; border-top: 1px solid var(--dk-night-line-soft); }
    .stat-cell:first-child { border-top: 0; }
    .firm-leaders-grid { gap: 22px 16px; }
    .svc-row { grid-template-columns: 40px 1fr 24px; gap: 14px; }
    .bio-body { padding: 28px 24px; }
    .contact-form-card { padding: 28px 24px; }
}
