/* ============================================================
   Old Growth Harbor LLC — site styles
   Brand: Deep Evergreen + Ivory; Copper / Steel Blue accents.
   Type: Instrument Serif (display) + Geist (text)
   ============================================================ */

@font-face {
    font-family: "Geist";
    src: url("assets/fonts/geist-latin-400-500.woff2") format("woff2");
    font-weight: 400 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("assets/fonts/instrument-serif-latin-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("assets/fonts/instrument-serif-latin-italic-400.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    /* palette */
    --evergreen: #0F2A24;
    --evergreen-2: #15362E;
    --ivory: #F4F1EB;
    --ivory-2: #ECE7DD;
    --charcoal: #1F1F1F;
    --copper: #A67C52;
    --steel: #3E5C76;
    --rule: rgba(15, 42, 36, 0.14);
    --muted: rgba(15, 42, 36, 0.62);

    /* applied via theme classes */
    --bg: var(--ivory);
    --bg-alt: var(--ivory-2);
    --fg: var(--evergreen);
    --fg-soft: rgba(15, 42, 36, 0.72);
    --fg-mute: rgba(15, 42, 36, 0.5);
    --rule-c: var(--rule);
    --accent: var(--copper);

    /* type */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

    /* density (overridable) */
    --pad-section: clamp(96px, 12vw, 168px);
    --gutter: clamp(24px, 4vw, 56px);
    --gap-stack: 1.25rem;

    /* layout */
    --maxw: 1320px;
    --content-w: 1180px;
}

/* theme variants */
.theme-ivory {
    --bg: var(--ivory);
    --bg-alt: var(--ivory-2);
    --fg: var(--evergreen);
    --fg-soft: rgba(15, 42, 36, 0.72);
    --fg-mute: rgba(15, 42, 36, 0.5);
    --rule-c: rgba(15, 42, 36, 0.14);
}
.theme-evergreen {
    --bg: var(--evergreen);
    --bg-alt: var(--evergreen-2);
    --fg: var(--ivory);
    --fg-soft: rgba(244, 241, 235, 0.78);
    --fg-mute: rgba(244, 241, 235, 0.5);
    --rule-c: rgba(244, 241, 235, 0.18);
}
.theme-charcoal {
    --bg: #FAFAF7;
    --bg-alt: #F0EEE8;
    --fg: var(--charcoal);
    --fg-soft: rgba(31, 31, 31, 0.74);
    --fg-mute: rgba(31, 31, 31, 0.5);
    --rule-c: rgba(31, 31, 31, 0.14);
}

/* density variants */
.density-spacious {
    --pad-section: clamp(140px, 16vw, 220px);
    --gap-stack: 1.5rem;
}
.density-standard {
    --pad-section: clamp(96px, 12vw, 168px);
    --gap-stack: 1.25rem;
}
.density-tight {
    --pad-section: clamp(64px, 8vw, 120px);
    --gap-stack: 1rem;
}

/* accent variants */
.accent-copper { --accent: var(--copper); }
.accent-steel  { --accent: var(--steel); }
.accent-none   { --accent: currentColor; }

/* serif variants */
.serif-instrument { --font-display: 'Instrument Serif', Georgia, serif; }

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "ss02", "kern";
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

button { font: inherit; cursor: pointer; }

/* type */
.serif {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.005em;
    line-height: 1.04;
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--fg-soft);
}

.eyebrow .dot {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--accent);
    margin-right: 12px;
    transform: translateY(-2px);
}

.label-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--fg-mute);
    text-transform: uppercase;
}

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

.shell-narrow {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in oklab, var(--bg) 88%, transparent);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--rule-c);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: -0.01em;
}
.topbar-brand .mark {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
}
.topbar-brand .mark svg { width: 100%; height: 100%; }
.topbar-brand .lockup { display: inline-flex; flex-direction: column; line-height: 1; }
.topbar-brand .lockup .one { font-size: 17px; }
.topbar-brand .lockup .two {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-top: 4px;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.topnav a {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-soft);
    font-weight: 500;
}
.topnav a:hover { color: var(--fg); }
.topnav .contact-link {
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    color: var(--fg);
}

@media (max-width: 720px) {
    .topnav { gap: 18px; }
    .topnav a:not(.contact-link) { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    border-bottom: 1px solid var(--rule-c);
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(40px, 6vw, 80px);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: stretch;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 0 8px;
    min-height: 520px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--fg-soft);
}

.hero-eyebrow .stroke {
    flex: 0 0 56px;
    height: 1px;
    background: var(--accent);
}

.hero-headline {
    font-size: clamp(56px, 7vw, 112px);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.018em;
    margin-top: 36px;
    text-wrap: balance;
}
.hero-headline em {
    font-style: italic;
    color: var(--fg-soft);
}

.hero-sub {
    max-width: 460px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--fg-soft);
    margin-top: 28px;
    text-wrap: pretty;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--rule-c);
}
.hero-meta dt {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-bottom: 8px;
}
.hero-meta dd {
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.2;
    color: var(--fg);
}

/* hero image */
.hero-figure {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: var(--bg-alt);
}
.hero-figure img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.92);
}
.hero-figure-caption {
    position: absolute;
    bottom: 18px; left: 20px; right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: var(--ivory);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    mix-blend-mode: difference;
    opacity: 0.95;
}

/* hero layout variants */
.hero.layout-image-right .hero-inner { grid-template-columns: 1.05fr 1fr; }
.hero.layout-image-right .hero-text { order: 1; }
.hero.layout-image-right .hero-figure { order: 2; }

.hero.layout-split .hero-inner { grid-template-columns: 1fr 1fr; }
.hero.layout-split .hero-figure { order: 1; }
.hero.layout-split .hero-text { order: 2; padding-left: 0; }

.hero.layout-bleed { padding: 0; border-bottom: none; }
.hero.layout-bleed .hero-inner {
    display: block;
    position: relative;
    height: clamp(560px, 78vh, 820px);
}
.hero.layout-bleed .hero-figure {
    position: absolute; inset: 0;
    min-height: 0;
}
.hero.layout-bleed .hero-figure::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,42,36,0.05) 0%, rgba(15,42,36,0.55) 100%);
}
.hero.layout-bleed .hero-text {
    position: absolute; inset: 0;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(40px, 8vh, 96px) var(--gutter);
    color: var(--ivory);
    min-height: 0;
    justify-content: flex-end;
}
.hero.layout-bleed .hero-text .hero-eyebrow,
.hero.layout-bleed .hero-text .hero-sub { color: rgba(244,241,235,0.86); }
.hero.layout-bleed .hero-meta { border-color: rgba(244,241,235,0.25); }
.hero.layout-bleed .hero-meta dt { color: rgba(244,241,235,0.6); }
.hero.layout-bleed .hero-meta dd { color: var(--ivory); }
.hero.layout-bleed .hero-figure-caption { color: var(--ivory); mix-blend-mode: normal; }

@media (max-width: 880px) {
    .hero-inner { grid-template-columns: 1fr !important; }
    .hero-text { min-height: 0; }
    .hero-figure { min-height: 360px; order: -1 !important; }
    .hero-meta { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Section primitives
   ============================================================ */
section {
    padding: var(--pad-section) 0;
    border-bottom: 1px solid var(--rule-c);
    position: relative;
}

.section-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--gutter);
    margin-bottom: clamp(48px, 8vw, 96px);
    align-items: end;
}
.section-head .idx {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-mute);
}
.section-head h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-wrap: balance;
}
.section-head h2 em { font-style: italic; color: var(--fg-soft); }

@media (max-width: 720px) {
    .section-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================
   Practice
   ============================================================ */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule-c);
    border-top: 1px solid var(--rule-c);
    border-bottom: 1px solid var(--rule-c);
}
.practice-cell {
    background: var(--bg);
    padding: clamp(28px, 3.5vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-height: 320px;
}
.practice-cell .num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent);
}
.practice-cell h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-top: auto;
}
.practice-cell p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--fg-soft);
    max-width: 38ch;
}

@media (max-width: 880px) {
    .practice-grid { grid-template-columns: 1fr; }
    .practice-cell { min-height: 240px; }
}

/* ============================================================
   Break image
   ============================================================ */
.break-image {
    padding: 0;
    border-bottom: 1px solid var(--rule-c);
    background: var(--bg-alt);
}
.break-image-inner {
    position: relative;
    height: clamp(360px, 50vh, 560px);
    overflow: hidden;
}
.break-image img {
    width: 100%; height: 100%; object-fit: cover;
}
.break-image-overlay {
    position: absolute;
    left: var(--gutter);
    bottom: 28px;
    color: var(--ivory);
    max-width: 520px;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.15;
    text-wrap: balance;
}
.break-image-caption {
    position: absolute;
    right: var(--gutter);
    bottom: 28px;
    color: var(--ivory);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
}

/* ============================================================
   Paper section
   ============================================================ */
.paper-head {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: var(--gutter);
    align-items: start;
    margin-bottom: clamp(48px, 6vw, 80px);
}
.paper-head .meta-stack { display: flex; flex-direction: column; gap: 22px; }
.paper-head .meta-row { display: flex; flex-direction: column; gap: 6px; }
.paper-head .meta-row dt {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-mute);
}
.paper-head .meta-row dd {
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1.35;
}
.paper-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.013em;
    text-wrap: balance;
}
.paper-title em { font-style: italic; color: var(--fg-soft); }

.paper-abstract {
    column-count: 2;
    column-gap: var(--gutter);
    font-size: 16px;
    line-height: 1.65;
    color: var(--fg-soft);
    max-width: 1100px;
    margin: 0 auto clamp(64px, 8vw, 120px);
}
.paper-abstract p {
    break-inside: avoid;
    margin-bottom: 1em;
    text-wrap: pretty;
}
.paper-abstract p:first-child::first-line {
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: 0.02em;
    color: var(--fg);
}
@media (max-width: 880px) {
    .paper-abstract { column-count: 1; }
    .paper-head { grid-template-columns: 1fr; }
}

/* findings table */
.findings {
    margin: clamp(48px, 6vw, 80px) 0;
}
.findings-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 24px;
}
.findings-head h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(22px, 2.4vw, 30px);
    letter-spacing: -0.005em;
}
.findings-head .note {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--fg-mute);
    text-transform: uppercase;
}

.findings-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-sans);
    font-size: 14px;
    border-top: 1px solid var(--fg);
    border-bottom: 1px solid var(--fg);
}
.findings-table thead th {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-soft);
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--rule-c);
    font-weight: 500;
}
.findings-table thead th.num,
.findings-table tbody td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mono);
}
.findings-table tbody td {
    padding: 18px 12px;
    border-bottom: 1px solid var(--rule-c);
    color: var(--fg);
    vertical-align: top;
}
.findings-table tbody tr:last-child td { border-bottom: none; }
.findings-table tbody tr.row-stitched td {
    background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.findings-table .delta-pos { color: var(--accent); }
.findings-table .delta-neg { color: var(--fg-mute); }
.findings-table .row-label {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.2;
}
.findings-table .row-sub {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--fg-mute);
    margin-top: 4px;
    letter-spacing: 0.01em;
}

/* figure: regime windows */
.figure {
    margin: clamp(48px, 6vw, 80px) 0;
    border: 1px solid var(--rule-c);
    padding: clamp(28px, 3vw, 44px);
    background: var(--bg-alt);
}
.figure-caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 22px;
    gap: 24px;
}
.figure-caption .fig-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--fg-mute);
    text-transform: uppercase;
    flex: 0 0 auto;
}
.figure-caption h5 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.15;
    letter-spacing: -0.005em;
    flex: 1;
}
.figure-note {
    font-family: var(--font-sans);
    font-size: 12.5px;
    color: var(--fg-mute);
    margin-top: 18px;
    line-height: 1.5;
    max-width: 70ch;
}

/* regime windows visual */
.regime-track {
    position: relative;
    height: 220px;
    margin-top: 32px;
}
.regime-axis {
    position: absolute;
    left: 0; right: 0;
    bottom: 36px;
    height: 1px;
    background: var(--fg);
    opacity: 0.7;
}
.regime-tick {
    position: absolute;
    bottom: 24px;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--fg-mute);
}
.regime-tick::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 1px; height: 6px;
    background: var(--fg);
    opacity: 0.7;
}
.regime-band {
    position: absolute;
    bottom: 36px;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.regime-band.bear {
    background: color-mix(in oklab, var(--steel) 22%, transparent);
    border-left: 2px solid var(--steel);
    border-right: 2px solid var(--steel);
    color: var(--steel);
}
.regime-band.benign {
    background: color-mix(in oklab, var(--copper) 18%, transparent);
    border-left: 2px solid var(--copper);
    border-right: 2px solid var(--copper);
    color: var(--copper);
}
.regime-band.live {
    background: color-mix(in oklab, var(--fg) 12%, transparent);
    border-left: 2px solid var(--fg);
    border-right: 2px solid var(--fg);
    color: var(--fg);
}
.regime-label {
    position: absolute;
    bottom: 80px;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.15;
    text-wrap: balance;
}
.regime-label .sub {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--fg-mute);
    margin-top: 4px;
    text-transform: uppercase;
}
.regime-window-a { left: 8%; width: 18%; }
.regime-window-b { left: 52%; width: 18%; }
.regime-window-live { left: 86%; width: 10%; }
.regime-window-live-label {
    left: 86%;
    width: 14%;
    text-align: right;
}
.tick-2020 { left: 2%; }
.tick-2022 { left: 20%; }
.tick-2023 { left: 40%; }
.tick-2024 { left: 60%; }
.tick-2025 { left: 80%; }
.tick-2026 { left: 98%; }
.regime-spy {
    position: absolute;
    left: 0; right: 0;
    top: 14px;
    height: 60px;
    pointer-events: none;
}
.regime-spy svg { width: 100%; height: 100%; overflow: visible; }
.regime-legend {
    margin-top: 24px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-soft);
}
.regime-legend .sw {
    display: inline-block;
    width: 14px; height: 2px;
    margin-right: 8px;
    vertical-align: middle;
}
.regime-legend .sw-bear { background: var(--steel); }
.regime-legend .sw-benign { background: var(--copper); }
.regime-legend .sw-live { background: var(--fg); }

/* sharpe comparison chart */
.sharpe-chart {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(20px, 3vw, 48px);
    margin-top: 28px;
}
.sharpe-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--fg);
}
.sharpe-col .col-title {
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.005em;
}
.sharpe-col .col-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--fg-mute);
    text-transform: uppercase;
}
.sharpe-bars {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    margin-top: 14px;
}
.sharpe-bars .name {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    color: var(--fg-soft);
}
.sharpe-bars .bar {
    height: 8px;
    background: color-mix(in oklab, var(--fg) 14%, transparent);
    position: relative;
}
.sharpe-bars .bar .fill {
    position: absolute; top: 0; bottom: 0; left: 0;
    background: var(--fg);
}
.sharpe-bars .bar.conv .fill { background: var(--accent); }
.sharpe-bars .fill-35 { width: 35%; }
.sharpe-bars .fill-51 { width: 51%; }
.sharpe-bars .fill-53 { width: 53%; }
.sharpe-bars .fill-58 { width: 58%; }
.sharpe-bars .val {
    font-family: var(--font-mono);
    font-size: 12px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.sharpe-col.stitched {
    border-top: 2px solid var(--accent);
}
.sharpe-col.stitched .col-title { color: var(--accent); }
.sharpe-stitch-big {
    font-family: var(--font-display);
    font-size: clamp(56px, 6vw, 88px);
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    margin-top: 12px;
    color: var(--accent);
}
.sharpe-stitch-note {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--fg-soft);
    line-height: 1.5;
    margin-top: 6px;
    max-width: 26ch;
}
.sharpe-col .note-tight { margin-top: 16px; }

@media (max-width: 880px) {
    .sharpe-chart { grid-template-columns: 1fr; }
}

/* infrastructure list */
.infra {
    margin: clamp(48px, 6vw, 80px) 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--gutter);
}
.infra h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.1;
    letter-spacing: -0.008em;
    text-wrap: balance;
}
.infra-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--fg);
}
.infra-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule-c);
}
.infra-row .step {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent);
    padding-top: 4px;
}
.infra-row .title {
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.25;
    margin-bottom: 6px;
}
.infra-row .desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--fg-soft);
    max-width: 56ch;
}
@media (max-width: 880px) {
    .infra { grid-template-columns: 1fr; }
}

/* findings inline narrative */
.findings-narrative {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gutter);
    margin: clamp(48px, 6vw, 80px) 0;
}
.findings-narrative .col {
    border-top: 1px solid var(--fg);
    padding-top: 18px;
}
.findings-narrative h4 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.005em;
}
.findings-narrative p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--fg-soft);
}
@media (max-width: 720px) {
    .findings-narrative { grid-template-columns: 1fr; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact-section {
    background: var(--bg-alt);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gutter);
    align-items: end;
}
.contact-headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(48px, 6vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.018em;
    text-wrap: balance;
}
.contact-headline em { font-style: italic; color: var(--fg-soft); }

.contact-card {
    border-top: 1px solid var(--fg);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-card dl {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px 22px;
    font-size: 15px;
}
.contact-card dt {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: var(--fg-mute);
    text-transform: uppercase;
    padding-top: 4px;
}
.contact-card dd { font-family: var(--font-display); font-size: 19px; line-height: 1.3; }
.contact-card a.email {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 30px);
    border-bottom: 1px solid var(--fg);
    align-self: flex-start;
    padding-bottom: 4px;
}
.contact-card a.email:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 880px) {
    .contact-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer {
    background: var(--evergreen);
    color: var(--ivory);
    padding: 80px 0 32px;
    border-bottom: none;
}
.theme-charcoal footer.site-footer { background: var(--charcoal); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--gutter);
    align-items: start;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(244, 241, 235, 0.18);
}
.footer-brand .mark {
    width: 36px; height: 36px;
    display: inline-block;
    margin-bottom: 16px;
}
.footer-brand .name {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1;
}
.footer-brand .name .sub {
    display: block;
    font-family: var(--font-sans);
    font-size: 9.5px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(244, 241, 235, 0.6);
    margin-top: 6px;
}

.footer-col h6 {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244, 241, 235, 0.55);
    font-weight: 500;
    margin-bottom: 14px;
}
.footer-col p, .footer-col a {
    color: rgba(244, 241, 235, 0.88);
    font-size: 14px;
    line-height: 1.6;
}
.footer-col a:hover { color: var(--copper); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244, 241, 235, 0.55);
}

.disclosure {
    grid-column: 1 / -1;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(244, 241, 235, 0.12);
    color: rgba(244, 241, 235, 0.55);
    font-size: 12px;
    line-height: 1.65;
    max-width: 980px;
}

@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}
.reveal.in {
    opacity: 1;
    transform: none;
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; opacity: 1; transform: none; }
}
