/* Aureatis Capital — site styles
   Palette inspired by the brand mark: gold gradient on white, paired with
   deep navy for institutional finance feel. Reference layouts:
     - climatevcfund.com/about (primary)
     - fisherfunds.co.nz, smartinvest.co.nz
*/

:root {
    /* Color */
    --color-primary:        #0a1f44;   /* deep navy */
    --color-primary-dark:   #06122b;
    --color-accent:         #c9a961;   /* logo gold (lower end of gradient) */
    --color-accent-light:   #e6c98c;
    --color-text:           #1a1a1a;
    --color-text-light:     #3d3d3d;
    --color-text-muted:     #6b6b6b;
    --color-bg:             #ffffff;
    --color-bg-alt:         #fafaf7;   /* warm paper */
    --color-bg-dark:        #0a1f44;
    --color-border:         #e8e3d6;   /* warm neutral */
    --color-border-strong:  #c9a961;

    /* Typography */
    --font-heading: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
    --font-body:    'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-eyebrow: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;

    --font-scale-h1: clamp(2.5rem, 4.5vw + 1rem, 4.25rem);
    --font-scale-h2: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
    --font-scale-h3: 1.5rem;

    /* Layout */
    --max-width:        1200px;
    --max-width-narrow: 760px;
    --max-width-text:   680px;
    --section-py:       clamp(4rem, 7vw, 7rem);

    /* Shape */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    /* Depth */
    --shadow-sm: 0 1px 2px rgba(10,31,68,.04);
    --shadow-md: 0 6px 24px rgba(10,31,68,.08);
    --shadow-lg: 0 24px 60px rgba(10,31,68,.12);
}

/* ─── Base ───────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: var(--max-width-narrow); }
.container.text   { max-width: var(--max-width-text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-primary);
    letter-spacing: -.005em;
}
h1 { font-size: var(--font-scale-h1); font-weight: 500; }
h2 { font-size: var(--font-scale-h2); }
h3 { font-size: var(--font-scale-h3); font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Editorial eyebrow above headings */
.eyebrow {
    font-family: var(--font-eyebrow);
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: .85rem;
    display: inline-block;
}

/* Underline accent for the gold thin rule */
.rule-gold {
    width: 64px;
    height: 2px;
    background: var(--color-accent);
    margin: 1.5rem 0;
    border: none;
}
.rule-gold.center { margin-inline: auto; }

/* ─── Header ─────────────────────────────────────────── */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1.1rem 0;
    position: sticky; top: 0; z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav > a {
    font-family: var(--font-body);
    color: var(--color-text);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .02em;
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.site-nav > a:hover, .site-nav > a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-left: .75rem;
    padding-left: 1rem;
    border-left: 1px solid var(--color-border);
    font-size: .85rem;
    letter-spacing: .04em;
    line-height: 1;
}
.lang-toggle .lang-current {
    color: var(--color-primary);
    font-weight: 600;
    font-family: var(--font-body);
    white-space: nowrap;
}
.lang-toggle .lang-alt {
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color .15s, border-color .15s;
}
.lang-toggle .lang-alt:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-primary); }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,.75);
    padding: 4rem 0 1.5rem;
    margin-top: 6rem;
    font-size: .9rem;
    line-height: 1.65;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.site-footer h4 {
    color: #fff;
    font-family: var(--font-eyebrow);
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}
.site-footer p, .site-footer a { color: rgba(255,255,255,.75); margin-bottom: .35rem; display: block; }
.site-footer a:hover { color: var(--color-accent-light); }
.footer-brand img { height: 60px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1) opacity(.95); }
.footer-brand .footer-tagline { font-style: italic; opacity: .8; max-width: 360px; }
.footer-regulatory {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 1.5rem;
    margin-top: 1rem;
}
.footer-regulatory p { font-size: .78rem; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: .75rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.25rem;
    text-align: center;
    font-size: .78rem;
    color: rgba(255,255,255,.5);
}
.footer-bottom p {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}
.footer-sep { opacity: .5; }
.footer-credit a {
    display: inline;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    border-bottom: 0;
    margin-bottom: 0;
    transition: color .15s;
}
.footer-credit a:hover {
    color: var(--color-accent-light);
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.75rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .9rem; font-weight: 500;
    letter-spacing: .04em;
    cursor: pointer;
    text-decoration: none;
    transition: all .18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-accent  { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #b89a52; color: #fff; box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-ghost   { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-lg { padding: 1.05rem 2.25rem; font-size: .95rem; }

/* ─── Forms ──────────────────────────────────────────── */
.form-row { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .35rem; color: var(--color-text); }
.form-label .req { color: var(--color-accent); margin-left: 2px; }
.form-input, .form-textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: .95rem;
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201,169,97,.15);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-check { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .85rem; }
.form-check input[type="checkbox"] { margin-top: .3rem; flex-shrink: 0; accent-color: var(--color-accent); }
.form-check label { font-size: .9rem; color: var(--color-text-light); line-height: 1.5; }
.form-success {
    background: #f1f8f4; border-left: 3px solid #7ba684;
    padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem;
    color: #2d4d34; font-size: .9rem;
}
.form-error {
    background: #fdf2f2; border-left: 3px solid #c14e4e;
    padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem;
    color: #6e2727; font-size: .9rem;
}

/* ─── Sections ───────────────────────────────────────── */
.section      { padding: var(--section-py) 0; }
.section-alt  { background: var(--color-bg-alt); }
.section-dark { background: var(--color-bg-dark); color: rgba(255,255,255,.92); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--color-accent-light); }

.section-head        { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head h2     { margin-bottom: 1rem; }
.section-head p      { color: var(--color-text-muted); font-size: 1.05rem; }

/* ─── Hero (text-only, no image — financial restraint) ─ */
.hero {
    position: relative;
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
    background: var(--color-bg-alt);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(201,169,97,.10), transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(10,31,68,.06), transparent 50%);
    pointer-events: none;
}
.hero-inner { position: relative; max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 1.5rem; }
.hero-title    { margin-bottom: 1.25rem; line-height: 1.1; }
.hero-subtitle { font-size: clamp(1.05rem, 1.2vw + .6rem, 1.3rem); color: var(--color-text-light); margin-bottom: 2rem; max-width: 56ch; line-height: 1.55; }
.hero-ctas     { display: flex; gap: .9rem; flex-wrap: wrap; }

/* Hero variant with full-bleed image background. */
.hero-image {
    background: url('/assets/images/home-hero.webp') center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: clamp(6rem, 12vw, 10rem) 0;
}
.hero-image::before { content: none; }
.hero-image .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,31,68,.45) 0%, rgba(10,31,68,.78) 100%);
}
.hero-image .hero-inner { color: #fff; max-width: var(--max-width); }
.hero-image .hero-title { color: #fff; max-width: 22ch; }

/* ─── Inner page title (lightweight, no banner — climatevcfund-style) ── */
.page-title {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.25rem, 2.5vw, 2rem);
}
.page-title h1 {
    margin: 0 auto;
    max-width: 22ch;
    line-height: 1.1;
}
.page-title .rule-gold {
    margin: 1.5rem auto 0;
}

/* ─── Key facts (NZBN / FSP small badge row) ─────────── */
.facts-row {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-block: 1px solid var(--color-border);
    padding: 2rem 0;
}
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem 2rem;
    text-align: left;
}
.fact-item .fact-label {
    font-family: var(--font-eyebrow);
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: .25rem;
}
.fact-item .fact-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary);
}

/* ─── Anchor nav (jumps inside about/fund pages) ─────── */
.anchor-nav {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 70px; /* below site-header */
    z-index: 50;
}
.anchor-nav .container { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.anchor-nav a {
    font-size: .85rem;
    color: var(--color-text-muted);
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.anchor-nav a:hover, .anchor-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

/* ─── Editorial prose block (long body paragraphs) ───── */
.prose {
    max-width: var(--max-width-text);
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.75;
}
.prose p { margin-bottom: 1.25rem; }
.prose h2 { margin-top: 3rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2.5rem; margin-bottom: .75rem; color: var(--color-primary); }
.prose blockquote {
    border-left: 3px solid var(--color-accent);
    padding: .25rem 0 .25rem 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary);
    line-height: 1.5;
    font-style: italic;
}
.prose blockquote cite {
    display: block;
    font-family: var(--font-body);
    font-size: .9rem;
    font-style: normal;
    color: var(--color-text-muted);
    margin-top: 1rem;
    letter-spacing: .04em;
}

/* ─── Partner brand grid (about page — gallery-style, climatevcfund-inspired) ─ */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    margin-top: 2rem;
}
.partner-card {
    background: var(--color-bg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: background .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.partner-card:hover {
    background: var(--color-bg-alt);
}
.partner-card img {
    height: 80px;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    object-position: center;
    margin-bottom: 1rem;
    transition: transform .2s;
}
.partner-card:hover img {
    transform: scale(1.04);
}
.partner-card .partner-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0;
}
.partner-card .partner-domain {
    display: none;       /* hide domain — climatevcfund shows logos only */
}

/* ─── Section figure (image attached to a content section) ─ */
.section-figure {
    max-width: var(--max-width-narrow);
    margin: 0 auto 2.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.section-figure img { width: 100%; height: auto; display: block; }

/* ─── Photo strip (multi-photo grid for fund overview) ─ */
.photo-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 0 auto 3rem;
    max-width: var(--max-width);
}
.photo-strip img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* ─── Phase image hero (above each phase block) ───────── */
.phase-block .phase-image {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-height: 480px;
}
.phase-block .phase-image img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* ─── Dual figure (two photos side-by-side, e.g. about slide 4) ─ */
.dual-figure {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0 auto 3rem;
    max-width: var(--max-width);
}
.dual-figure figure { margin: 0; }
.dual-figure img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}
.dual-figure figcaption {
    margin-top: .75rem;
    font-size: .8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-style: italic;
}
@media (max-width: 720px) {
    .dual-figure { grid-template-columns: 1fr; }
}

/* ─── Alternating image/text row (about slide 4) ───────── */
.alt-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    max-width: var(--max-width);
    margin: 0 auto;
}
.alt-row + .alt-row { margin-top: clamp(2.5rem, 5vw, 4rem); }
.alt-row__media { margin: 0; }
.alt-row__media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}
.alt-row__media figcaption {
    margin-top: .75rem;
    font-size: .8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-style: italic;
}
.alt-row__body.prose { margin: 0; max-width: none; }
.alt-row__body.prose p:last-child { margin-bottom: 0; }
.alt-row--reverse .alt-row__media { order: 2; }
@media (max-width: 720px) {
    .alt-row { grid-template-columns: 1fr; gap: 1.25rem; }
    .alt-row + .alt-row { margin-top: 2.5rem; }
    .alt-row--reverse .alt-row__media { order: 0; }
}

/* ─── Home navigation cards (4 entry tiles below intro) ─── */
.home-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: var(--max-width);
    margin: 0 auto;
}
.home-card {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 2rem 1.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
    overflow: hidden;
}
.home-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--color-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .25s ease;
}
.home-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-strong);
    color: var(--color-text);
}
.home-card:hover::before { transform: scaleY(1); }
.home-card__index {
    font-family: var(--font-eyebrow);
    font-size: .75rem;
    letter-spacing: .18em;
    color: var(--color-accent);
    font-weight: 600;
}
.home-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.2;
}
.home-card__desc {
    color: var(--color-text-muted);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.home-card__cta {
    margin-top: .25rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: .02em;
    display: inline-flex;
    gap: .4rem;
    transition: gap .2s ease, color .15s ease;
}
.home-card:hover .home-card__cta {
    gap: .7rem;
    color: var(--color-accent);
}
@media (max-width: 960px) {
    .home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .home-cards { grid-template-columns: 1fr; }
}

/* ─── PM timeline (slide 5 — three handshake photos with dates) ─ */
.pm-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: var(--max-width);
    margin: 0 auto;
}
.pm-card {
    margin: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.pm-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}
.pm-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.pm-card figcaption {
    padding: 1rem 1.15rem 1.15rem;
    line-height: 1.5;
}
.pm-card .pm-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: .15rem;
    line-height: 1;
}
.pm-card .pm-caption {
    font-size: .85rem;
    color: var(--color-text-light);
}
@media (max-width: 800px) {
    .pm-timeline { grid-template-columns: 1fr; }
}

/* ─── Chairman's Message block (portrait + quote) ────── */
.message-block {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
}
.chairman-portrait { margin: 0; text-align: center; }
.chairman-portrait img {
    width: 100%;
    border-radius: var(--radius-md);
    aspect-ratio: 3/4;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}
.chairman-portrait figcaption {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-primary);
    line-height: 1.4;
}
.chairman-portrait figcaption small {
    display: block;
    font-family: var(--font-body);
    font-size: .8rem;
    color: var(--color-text-muted);
    margin-top: .25rem;
}
@media (max-width: 800px) {
    .message-block { grid-template-columns: 1fr; gap: 2rem; max-width: 480px; }
    .chairman-portrait img { max-width: 280px; margin-inline: auto; }
}

/* ─── Tree-style anchor nav (multi-level, e.g. fund page) ─ */
.anchor-nav.tree { padding: 1.25rem 0 1rem; }
.anchor-nav.tree .container { display: block; }
.anchor-nav.tree a {
    display: block;
    padding: .35rem 0;
    border-bottom: none;
}
.anchor-nav.tree .a-parent {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    font-family: var(--font-heading);
}
.anchor-nav.tree .a-parent:hover { color: var(--color-accent); }
.anchor-nav.tree .a-child {
    margin-left: 1.5rem;
    font-size: .9rem;
    color: var(--color-text-light);
    position: relative;
    padding-left: 1.75rem;
}
.anchor-nav.tree .a-child::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}
.anchor-nav.tree .a-child:hover,
.anchor-nav.tree .a-child.active {
    color: var(--color-primary);
}

/* ─── Phase cards (fund page) ────────────────────────── */
.phase-block {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    align-items: start;
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}
.phase-block:first-of-type { border-top: none; }
.phase-block .phase-tag {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 1.5rem;
    line-height: 1.1;
}
.phase-block .phase-tag small {
    display: block;
    font-family: var(--font-eyebrow);
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: .35rem;
}
.phase-block h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.phase-block p  { color: var(--color-text-light); }

/* ─── Resource list ──────────────────────────────────── */
.resource-list { max-width: var(--max-width-narrow); margin: 0 auto; }
.resource-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    gap: 1rem;
}
.resource-item:first-child { border-top: 1px solid var(--color-border); }
.resource-item h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.15rem;
    margin-bottom: .25rem;
}
.resource-item p { font-size: .85rem; color: var(--color-text-muted); margin: 0; word-break: break-all; }
.resource-item .arrow {
    color: var(--color-accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ─── Contact block ──────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}
.contact-info p { margin-bottom: 1.25rem; line-height: 1.6; color: var(--color-text-light); }
.contact-info strong {
    display: block;
    font-family: var(--font-eyebrow);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: .25rem;
}
.contact-info a { color: var(--color-primary); border-bottom: 1px solid var(--color-accent); }
.contact-info a:hover { color: var(--color-accent); }

/* ─── Mobile ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .phase-block { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--color-bg); flex-direction: column; align-items: flex-start;
        padding: 1.5rem; border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md); gap: 1rem;
    }
    .site-nav.open { display: flex; }
    .anchor-nav { top: 64px; }
    .anchor-nav .container { gap: 1rem; }
}
