/* ==========================================================================
   The Ndekei Family — stylesheet
   An editorial, heirloom-quality layout.
   ========================================================================== */

:root {
    /* Parchment palette (light) */
    --bg: #F3ECDE;
    --bg-soft: #EDE4D1;
    --bg-sunk: #E6DCC5;
    --ink: #1A1613;
    --ink-soft: #3E332A;
    --muted: #8C7D6A;
    --rule: #CBBFA7;
    --gold: #A8804A;
    --gold-soft: #C9A26B;
    --forest: #3A4A39;

    /* Type */
    --serif: 'Fraunces', 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    --serif-alt: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Space */
    --space-section: clamp(96px, 14vw, 180px);
    --container: 1160px;
    --container-narrow: 760px;

    /* Motion */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
    --bg: #12100E;
    --bg-soft: #17140F;
    --bg-sunk: #0E0C0A;
    --ink: #ECE3D1;
    --ink-soft: #C9BFA8;
    --muted: #8A7E6B;
    --rule: #3A3228;
    --gold: #C9A26B;
    --gold-soft: #E0BC85;
    --forest: #A7B89E;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    transition: background .5s var(--ease), color .5s var(--ease);
}

/* Paper grain overlay ------------------------------------------------------ */
.grain {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: .06;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[data-theme="dark"] .grain { opacity: .08; mix-blend-mode: screen; }

/* Selection */
::selection { background: var(--gold); color: var(--bg); }

/* Links */
a { color: inherit; text-decoration: none; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px clamp(20px, 4vw, 56px);
    background: color-mix(in oklab, var(--bg) 82%, transparent);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid color-mix(in oklab, var(--rule) 55%, transparent);
    transition: background .4s var(--ease), border-color .4s var(--ease);
}

.nav-mark {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--ink);
}
.nav-crest { color: var(--ink); transition: transform .5s var(--ease); }
.nav-mark:hover .nav-crest { transform: rotate(-6deg); }
.nav-wordmark {
    font-family: var(--serif);
    font-size: 19px; letter-spacing: .02em; font-weight: 500;
    font-style: italic;
}

.nav-links {
    display: flex; gap: clamp(18px, 2.4vw, 34px);
    font-size: 13.5px; letter-spacing: .02em;
}
.nav-links a {
    color: var(--ink-soft);
    position: relative; padding: 4px 0;
    transition: color .3s var(--ease);
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--rule);
    background: transparent; color: var(--ink);
    border-radius: 999px; cursor: pointer;
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.theme-toggle:hover { background: var(--bg-soft); border-color: var(--ink-soft); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: inline; }
[data-theme="dark"] .theme-toggle .sun { display: inline; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.menu-toggle {
    display: none;
    width: 36px; height: 36px; background: transparent;
    border: 1px solid var(--rule); border-radius: 999px;
    cursor: pointer; padding: 0; position: relative;
}
.menu-toggle span {
    position: absolute; left: 9px; right: 9px; height: 1.25px;
    background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle.is-open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { top: 17px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 49; background: var(--bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 22px;
    padding: 96px 24px 40px;
    font-family: var(--serif); font-size: 28px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a { color: var(--ink); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 140px 24px 120px;
    text-align: center;
    position: relative;
    background:
        radial-gradient(1200px 500px at 50% 0%, color-mix(in oklab, var(--gold) 9%, transparent), transparent 70%),
        radial-gradient(900px 400px at 50% 100%, color-mix(in oklab, var(--forest) 6%, transparent), transparent 70%),
        var(--bg);
}

.hero-inner { max-width: 780px; width: 100%; }

.hero-crest {
    display: inline-block;
    color: var(--ink);
    margin-bottom: 36px;
    opacity: .96;
}
.hero-crest svg { display: block; margin: 0 auto; }

.eyebrow {
    font-family: var(--sans);
    font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
    color: var(--muted); font-weight: 500;
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(48px, 8vw, 104px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-variation-settings: "opsz" 96, "SOFT" 40;
    margin-bottom: 26px;
}
.hero-title::first-line { font-style: italic; }

.hero-lede {
    font-family: var(--serif);
    font-weight: 300; font-style: italic;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 580px;
    margin: 0 auto 48px;
}

.hero-scripture {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    color: var(--muted);
}
.hero-scripture .rule {
    width: 48px; height: 1px; background: var(--gold-soft); display: block;
}
.hero-scripture p {
    font-family: var(--serif-alt); font-style: italic;
    font-size: 16px; color: var(--ink-soft);
}
.hero-scripture cite {
    font-family: var(--sans); font-style: normal;
    font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--muted);
}

.scroll-cue {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--muted);
    font-size: 10px; letter-spacing: .32em; text-transform: uppercase;
    transition: color .3s var(--ease), transform .3s var(--ease);
}
.scroll-cue:hover { color: var(--ink); }
.scroll-cue svg { animation: drift 2.2s ease-in-out infinite; }
@keyframes drift {
    0%, 100% { transform: translateY(0); opacity: .6; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* ==========================================================================
   SECTIONS — shared
   ========================================================================== */
.section { padding: var(--space-section) 24px; position: relative; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}
.container--narrow { max-width: var(--container-narrow); }

.section-head { text-align: center; margin-bottom: 72px; }

.chapter {
    display: inline-block;
    font-family: var(--serif);
    font-style: italic; font-weight: 400;
    font-size: 15px; color: var(--gold);
    margin-bottom: 14px;
}
.section-head .eyebrow { margin-bottom: 14px; }

.section-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 5.4vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.015em;
    color: var(--ink);
    font-variation-settings: "opsz" 72, "SOFT" 30;
}
.section-sub {
    font-family: var(--serif-alt); font-style: italic;
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--muted); margin-top: 18px;
    max-width: 560px; margin-left: auto; margin-right: auto;
}

/* ==========================================================================
   MISSION / VISION
   ========================================================================== */
.section--mission {
    background: var(--bg-soft);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.mission-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}
.mission-grid::before {
    content: '';
    position: absolute;
    top: 12%; bottom: 12%;
    left: 50%;
    width: 1px;
    background: color-mix(in oklab, var(--gold) 45%, transparent);
}

.mission-card {
    padding: 8px clamp(20px, 4vw, 56px);
    background: transparent;
    border: none;
    text-align: left;
}
.mission-card:first-child { padding-left: 0; }
.mission-card:last-child { padding-right: 0; }

.mission-label {
    font-family: var(--sans);
    font-size: 10.5px; letter-spacing: .36em; text-transform: uppercase;
    color: var(--gold); font-weight: 500;
    margin-bottom: 20px;
}

.mission-body {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.65;
    letter-spacing: 0;
    color: var(--ink);
    font-variation-settings: "opsz" 20, "SOFT" 30;
    max-width: 38ch;
}

/* ==========================================================================
   WHO WE ARE
   ========================================================================== */
/* Calling — the manifesto block that anchors Who We Are */
.calling {
    max-width: 680px;
    margin: 0 auto clamp(80px, 10vw, 128px);
    text-align: center;
    padding: 0 8px;
}
.calling-eyebrow {
    font-family: var(--sans);
    font-size: 10.5px; letter-spacing: .36em; text-transform: uppercase;
    color: var(--gold); font-weight: 500;
    margin-bottom: 32px;
}
.calling-body p {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(17px, 1.55vw, 20px);
    line-height: 1.62;
    letter-spacing: -0.003em;
    color: var(--ink);
    font-variation-settings: "opsz" 24, "SOFT" 40;
}
.calling-body p + p { margin-top: 20px; }
.calling-emphasis {
    font-style: italic !important;
    color: var(--ink) !important;
    font-size: clamp(20px, 1.8vw, 23px) !important;
    letter-spacing: -0.005em !important;
}
.calling-rule {
    display: block;
    width: 48px; height: 1px;
    background: color-mix(in oklab, var(--gold) 55%, transparent);
    margin: 48px auto 40px;
}
.calling-benediction {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.45;
    color: var(--ink);
    font-variation-settings: "opsz" 36, "SOFT" 50;
    max-width: 520px;
    margin: 0 auto;
}
.calling-benediction em {
    font-style: italic;
    color: var(--gold);
    display: inline-block;
    margin-top: 2px;
}
.calling-cite {
    display: block;
    margin-top: 24px;
    font-family: var(--sans);
    font-style: normal;
    font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase;
    color: var(--muted); font-weight: 500;
}

.who-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    margin-bottom: 72px;
}

.who-card { text-align: left; }

.who-portrait {
    aspect-ratio: 4 / 5;
    background: linear-gradient(160deg, var(--bg-soft), var(--bg-sunk));
    border: 1px solid var(--rule);
    position: relative;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px;
    overflow: hidden;
}
.who-portrait::before {
    content: ''; position: absolute; inset: 14px;
    border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
    z-index: 2;
    pointer-events: none;
}

.who-portrait--photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 1.2s var(--ease), filter .6s var(--ease);
    filter: saturate(0.96) contrast(1.02);
}
.who-card:hover .who-portrait--photo img {
    transform: scale(1.025);
}
[data-theme="dark"] .who-portrait--photo img {
    filter: saturate(0.9) contrast(1.02) brightness(0.9);
}
.who-initial {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(120px, 18vw, 200px);
    font-weight: 300;
    color: color-mix(in oklab, var(--gold) 60%, var(--ink) 25%);
    font-variation-settings: "opsz" 144, "SOFT" 60;
    line-height: 1;
    opacity: .7;
}
.who-portrait-tag {
    position: absolute; bottom: 22px; left: 22px;
    font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
    color: var(--muted); font-weight: 500;
}

.who-name {
    font-family: var(--serif);
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 6px;
    font-variation-settings: "opsz" 48, "SOFT" 30;
}

.who-role {
    font-family: var(--sans);
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--gold); font-weight: 500;
    margin-bottom: 22px;
}

.who-bio {
    font-size: 15.5px; line-height: 1.72;
    color: var(--ink-soft);
    max-width: 42ch;
}

.who-union {
    text-align: center;
    font-family: var(--serif); font-style: italic;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--muted);
    padding-top: 40px;
    border-top: 1px solid var(--rule);
}
.who-union .amp { color: var(--gold); padding: 0 4px; }
.who-union .year { letter-spacing: .1em; }

/* ==========================================================================
   VALUES
   ========================================================================== */
.section--values { background: var(--bg-sunk); }

.values-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}

.value-card {
    padding: clamp(28px, 3vw, 42px);
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
    position: relative;
    transition: background .4s var(--ease);
}
.value-card:hover { background: var(--bg-soft); }

.value-num {
    font-family: var(--serif); font-style: italic;
    font-size: 14px; color: var(--gold);
    display: block; margin-bottom: 18px;
    letter-spacing: .06em;
}

.value-name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(24px, 2.4vw, 30px);
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 12px;
    font-variation-settings: "opsz" 48, "SOFT" 40;
}

.value-desc {
    font-size: 14.5px; line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.value-scripture {
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    font-family: var(--serif-alt); font-style: italic;
    font-size: 13.5px; line-height: 1.5;
    color: var(--muted);
}

/* ==========================================================================
   THE CHILDREN — pillars
   ========================================================================== */
.pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(32px, 5vw, 72px);
    row-gap: clamp(48px, 6vw, 80px);
    margin-top: 16px;
}

.pillar {
    display: block;
    padding: 0;
    border: none;
    position: relative;
}

.pillar-num {
    display: block;
    font-family: var(--serif); font-style: italic;
    font-size: clamp(44px, 5.2vw, 64px);
    line-height: 1;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 22px;
    font-variation-settings: "opsz" 96, "SOFT" 60;
    letter-spacing: -0.01em;
}
.pillar-num::after {
    content: '';
    display: block;
    width: 36px; height: 1px;
    background: color-mix(in oklab, var(--gold) 50%, transparent);
    margin-top: 18px;
}

.pillar-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 14px;
    font-variation-settings: "opsz" 36, "SOFT" 40;
    letter-spacing: -0.01em;
}

.pillar-body {
    font-size: 15.5px; line-height: 1.72;
    color: var(--ink-soft);
    max-width: 48ch;
}

/* ==========================================================================
   THE ROAD
   ========================================================================== */
.section--road { background: var(--bg-soft); }

.road-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
}

.road-col {
    padding: clamp(32px, 4vw, 48px);
    background: var(--bg);
    border: 1px solid var(--rule);
}

.road-label {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--sans);
    font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--gold); font-weight: 500;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
}
.road-dot {
    width: 6px; height: 6px; border-radius: 999px; background: var(--gold);
    display: inline-block;
}

.road-list { list-style: none; display: grid; gap: 24px; }
.road-list li {
    display: flex; flex-direction: column; gap: 4px;
}
.road-list li span {
    font-family: var(--serif);
    font-size: 19px; line-height: 1.3;
    color: var(--ink); font-weight: 500;
    font-variation-settings: "opsz" 30, "SOFT" 30;
}
.road-list li em {
    font-family: var(--serif-alt); font-style: italic;
    font-size: 14.5px; line-height: 1.55;
    color: var(--muted);
}

/* ==========================================================================
   LEGACY / LETTER
   ========================================================================== */
.letter {
    padding: clamp(36px, 6vw, 72px);
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    position: relative;
}
.letter::before {
    content: ''; position: absolute; inset: 14px;
    border: 1px solid color-mix(in oklab, var(--gold) 25%, transparent);
    pointer-events: none;
}

.letter p {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.72;
    color: var(--ink-soft);
    margin-bottom: 22px;
    font-variation-settings: "opsz" 24, "SOFT" 40;
}
.letter p em { color: var(--ink); font-style: italic; }

.letter-salutation {
    font-family: var(--serif) !important;
    font-style: italic;
    font-size: clamp(22px, 2.2vw, 28px) !important;
    color: var(--ink) !important;
    margin-bottom: 32px !important;
}

.letter-signoff {
    margin-top: 32px !important;
    font-style: italic;
    color: var(--muted) !important;
}

.letter-signature {
    font-family: var(--serif) !important;
    font-size: 16.5px !important;
    line-height: 1.7 !important;
    color: var(--ink) !important;
    margin-top: 18px !important;
}
.letter-signature span {
    display: block;
    font-family: var(--serif); font-style: italic;
}
.letter-signature span:first-of-type {
    font-size: 22px; color: var(--ink);
    font-variation-settings: "opsz" 36, "SOFT" 40;
}
.letter-place {
    font-family: var(--sans) !important;
    font-style: normal !important;
    font-size: 11px !important; letter-spacing: .3em; text-transform: uppercase;
    color: var(--muted) !important;
    margin-top: 8px;
}

/* ==========================================================================
   TREE
   ========================================================================== */
.section--tree { background: var(--bg-soft); border-top: 1px solid var(--rule); }

.tree { text-align: center; padding-top: 16px; }

.tree-row { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }

.tree-node {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 22px 28px;
    background: var(--bg);
    border: 1px solid var(--rule);
    min-width: 200px;
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.tree-node:hover { border-color: var(--gold-soft); }
.tree-node--future { opacity: .55; border-style: dashed; }

.tree-name {
    font-family: var(--serif);
    font-size: 20px; font-weight: 500; color: var(--ink);
    font-variation-settings: "opsz" 30, "SOFT" 30;
}
.tree-meta {
    font-family: var(--sans);
    font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase;
    color: var(--muted); margin-top: 6px;
}

.tree-and {
    font-family: var(--serif); font-style: italic;
    font-size: 28px; color: var(--gold);
}

.tree-union {
    font-family: var(--serif); font-style: italic;
    font-size: 15px;
    color: var(--muted);
    margin: 28px 0 40px;
}

.tree-branch { position: relative; padding-top: 40px; }
.tree-line {
    position: absolute; top: 0; left: 50%;
    width: 1px; height: 32px;
    background: var(--rule);
    transform: translateX(-0.5px);
}
.tree-branch::before {
    content: '';
    position: absolute; top: 32px;
    left: 18%; right: 18%;
    height: 1px; background: var(--rule);
}
.tree-row--children { gap: 16px; }
.tree-row--children .tree-node { min-width: 160px; padding: 16px 20px; }
.tree-row--children .tree-node::before {
    content: ''; position: absolute; top: -8px; left: 50%;
    width: 1px; height: 8px; background: var(--rule);
    transform: translateX(-0.5px);
}
.tree-row--children .tree-node { position: relative; }

/* ==========================================================================
   CLOSING
   ========================================================================== */
.closing {
    padding: var(--space-section) 24px;
    text-align: center;
    background:
        radial-gradient(700px 400px at 50% 50%, color-mix(in oklab, var(--gold) 7%, transparent), transparent 70%),
        var(--bg);
    border-top: 1px solid var(--rule);
}

.closing-crest {
    color: var(--ink);
    opacity: .85;
    margin-bottom: 36px;
}

.closing-verse {
    font-family: var(--serif);
    font-style: italic; font-weight: 400;
    font-size: clamp(20px, 2.6vw, 28px);
    line-height: 1.5;
    color: var(--ink);
    max-width: 620px; margin: 0 auto 20px;
    font-variation-settings: "opsz" 36, "SOFT" 50;
}
.closing-cite {
    font-family: var(--sans); font-style: normal;
    font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--gold);
}
.closing-line {
    margin-top: 64px;
    font-family: var(--sans);
    font-size: 10.5px; letter-spacing: .36em; text-transform: uppercase;
    color: var(--muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 32px 24px;
    border-top: 1px solid var(--rule);
    background: var(--bg-sunk);
}
.footer-inner {
    display: flex; justify-content: center; align-items: center;
    font-size: 11.5px; letter-spacing: .06em;
    color: var(--muted);
    text-align: center;
}
.footer a:hover { color: var(--ink); }

/* ==========================================================================
   REVEAL MOTION
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
    opacity: 1; transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .scroll-cue svg { animation: none; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
    .mission-grid,
    .who-grid,
    .road-grid,
    .pillars { grid-template-columns: 1fr; }
    .mission-grid::before { display: none; }
    .mission-card { padding: 0; }
    .mission-card + .mission-card {
        margin-top: 48px;
        padding-top: 48px;
        border-top: 1px solid color-mix(in oklab, var(--gold) 30%, transparent);
    }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars { row-gap: 56px; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .hero { padding: 120px 20px 100px; }
    .hero-crest svg { width: 200px; height: 200px; }
    .values-grid { grid-template-columns: 1fr; }
    .section-head { margin-bottom: 48px; }
    .footer-inner { flex-direction: column; gap: 12px; }
    .tree-row--parents { flex-direction: column; }
    .tree-branch::before { left: 8%; right: 8%; }
    .letter { padding: 32px 24px; }
}
