/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
    --color-bg:           #08090f;
    --color-bg-card:      rgba(14, 16, 26, 0.9);
    --color-bg-card-solid:#0e1019;
    --color-bg-surface:   #111420;
    --color-gold:         #c9a84c;
    --color-gold-light:   #dfc07a;
    --color-gold-dark:    #9a7a32;
    --color-gold-subtle:  rgba(201, 168, 76, 0.08);
    --color-crimson:      #8c1c2e;
    --color-crimson-light:#b02438;
    --color-text:         #dde0e8;
    --color-text-muted:   #7a8298;
    --color-text-dim:     #4a5068;
    --color-border:       rgba(201, 168, 76, 0.14);
    --color-border-hover: rgba(201, 168, 76, 0.35);
    --color-border-hard:  rgba(201, 168, 76, 0.55);
    --font-heading:       'Cormorant Garamond', 'Playfair Display', serif;
    --font-ui:            'Inter', sans-serif;
    --font-body:          'Inter', sans-serif;
    --nav-height:         72px;
    --radius-lg:          4px;
    --radius-md:          3px;
    --radius-sm:          2px;
    --shadow-card:        0 12px 48px rgba(0, 0, 0, 0.65);
    --shadow-gold:        0 0 24px rgba(201, 168, 76, 0.1);
    --transition:         0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width:          1120px;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.75;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
p { font-size: 0.975rem; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-gold-dark); }

/* ===========================
   TYPOGRAPHY SCALE
   =========================== */
.t-overline {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.t-heading-xl {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #fff;
}
.t-heading-lg {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
}
.t-heading-md {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
}
.t-body {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.85;
}
.t-caption {
    font-size: 0.78rem;
    color: var(--color-text-dim);
    letter-spacing: 0.04em;
}

/* ===========================
   LAYOUT
   =========================== */
.container  { max-width: var(--max-width); margin: 0 auto; padding: 0 5%; }
.section    { padding: 7rem 0; }
.section-sm { padding: 4.5rem 0; }

/* ===========================
   SEPARATORS & ORNAMENTS
   =========================== */
.rule-gold {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.6;
}
.rule-gold-lg {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-crimson-light), var(--color-gold));
    opacity: 0.8;
}
.ornament-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.4rem;
}
.section-header { margin-bottom: 4rem; }
.section-header.centered { text-align: center; }
.section-header.centered .ornament-row { justify-content: center; }
.section-header.centered .rule-gold-lg { margin: 1rem auto 0; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    padding: 0 5%;
    transition: background var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(8, 9, 15, 0.97);
    border-bottom-color: var(--color-border);
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.nav-logo-emblem {
    width: 28px; height: 28px;
    border: 1px solid var(--color-gold);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav-logo-emblem svg { width: 14px; height: 14px; fill: var(--color-gold); }
.nav-logo-name { color: #fff; }
.nav-logo-name span { color: var(--color-gold); }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.8rem;
    margin-left: auto;
}
.nav-link {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition);
    padding: 3px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--color-gold);
    transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--color-gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.hamburger span {
    display: block; width: 24px; height: 1px;
    background: var(--color-text-muted);
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero_banner.png');
    background-size: cover;
    background-position: center 40%;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(8,9,15,0.88) 0%,
        rgba(8,9,15,0.7) 45%,
        rgba(8,9,15,0.82) 100%
    );
}
/* Vertical gold rule on the hero */
.hero::after {
    content: '';
    position: absolute;
    left: 5%; top: 25%; bottom: 25%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
    opacity: 0.3;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 760px;
    margin-left: 5%;
    animation: fadeUp 1s ease-out both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-dates {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: fadeUp 1s ease-out 0.15s both;
}
.hero-dates::before {
    content: '';
    display: inline-block;
    width: 32px; height: 1px;
    background: var(--color-gold);
    opacity: 0.5;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 600;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 0.5rem;
    animation: fadeUp 1s ease-out 0.25s both;
}
.hero-title-sub {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(221, 224, 232, 0.55);
    margin-bottom: 2.2rem;
    animation: fadeUp 1s ease-out 0.35s both;
}
.hero-description {
    font-size: 0.98rem;
    color: rgba(221, 224, 232, 0.65);
    line-height: 1.9;
    max-width: 520px;
    margin-bottom: 3rem;
    animation: fadeUp 1s ease-out 0.45s both;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeUp 1s ease-out 0.55s both;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary {
    background: var(--color-gold);
    color: #08090f;
}
.btn-primary:hover { background: var(--color-gold-light); transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border-hover);
}
.btn-ghost:hover { color: var(--color-gold); border-color: var(--color-gold); }
.btn-arrow {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: transform var(--transition);
}
.btn:hover .btn-arrow { transform: translateX(3px); opacity: 1; }

/* ===========================
   HERO SCROLL INDICATOR
   =========================== */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem; right: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: fadeUp 1s ease-out 1s both;
}
.scroll-line {
    width: 1px; height: 56px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
    40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    80%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.scroll-label {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    writing-mode: vertical-lr;
}

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left {
    opacity: 0; transform: translateX(-22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0; transform: translateX(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ===========================
   STATS BAND
   =========================== */
.stats-band {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-surface);
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}
.stat-item {
    padding: 2.4rem 1.5rem;
    text-align: center;
    position: relative;
}
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--color-border);
}
.stat-numeral {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

/* ===========================
   ACHIEVEMENT GRID
   =========================== */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
}
.achievement-cell {
    background: var(--color-bg-surface);
    padding: 2.4rem 2rem;
    position: relative;
    overflow: hidden;
    transition: background var(--transition);
}
.achievement-cell:hover { background: var(--color-bg-card-solid); }
.achievement-cell::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-crimson), var(--color-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.achievement-cell:hover::before { transform: scaleX(1); }
.achievement-numeral {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--color-gold);
    opacity: 0.5;
    margin-bottom: 1.2rem;
    font-style: italic;
}
.achievement-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}
.achievement-text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}
.achievement-category {
    display: inline-block;
    margin-top: 1.4rem;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    border-top: 1px solid var(--color-border);
    padding-top: 0.85rem;
    width: 100%;
}

/* ===========================
   QUOTE SECTION
   =========================== */
.quote-section {
    background: var(--color-bg-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.quote-section::before {
    content: '"';
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-55%);
    font-family: var(--font-heading);
    font-size: 22rem;
    line-height: 1;
    color: rgba(201, 168, 76, 0.04);
    pointer-events: none;
    user-select: none;
}
.quote-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 5%;
}
.quote-slide { display: none; }
.quote-slide.active { display: block; animation: quoteFade 0.5s ease; }
@keyframes quoteFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.quote-mark {
    display: block;
    width: 24px; height: 18px;
    margin-bottom: 2rem;
}
.quote-mark svg { fill: var(--color-gold); opacity: 0.6; }
.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 400;
    font-style: italic;
    color: #fff;
    line-height: 1.65;
    margin-bottom: 2rem;
}
.quote-attribution {
    display: flex;
    align-items: center;
    gap: 14px;
}
.quote-attribution-line { width: 28px; height: 1px; background: var(--color-gold); opacity: 0.5; }
.quote-author-name {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.quote-author-title {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-left: 4px;
}
.quote-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 3rem;
}
.quote-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}
.quote-btn:hover { border-color: var(--color-gold); color: var(--color-gold); }
.quote-index {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
}
.quote-index span { color: var(--color-gold); }

/* ===========================
   GEORGIA SECTION
   =========================== */
.georgia-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.georgia-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}
.georgia-body p strong { color: var(--color-text); font-weight: 500; }
.georgia-features { display: flex; flex-direction: column; }
.georgia-feature {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.2rem;
    align-items: start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}
.georgia-feature:first-child { border-top: 1px solid var(--color-border); }
.georgia-feature:hover .georgia-feature-index { color: var(--color-gold); }
.georgia-feature-index {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-dim);
    padding-top: 2px;
    transition: var(--transition);
}
.georgia-feature-title {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}
.georgia-feature-text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: #050609;
    border-top: 1px solid var(--color-border);
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3.5rem 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.footer-logo span { color: var(--color-gold); }
.footer-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
}
.footer-nav a {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-gold); }
.footer-copy {
    font-size: 0.72rem;
    color: var(--color-text-dim);
    white-space: nowrap;
    letter-spacing: 0.08em;
    text-align: right;
}
.footer-divider {
    grid-column: 1 / -1;
    height: 1px;
    background: var(--color-border);
    margin: 0;
}

/* ===========================
   PAGE BANNER (Biography)
   =========================== */
.page-banner {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
    padding-top: calc(var(--nav-height) + 2rem);
    overflow: hidden;
}
.page-banner-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/biography_banner.png');
    background-size: cover;
    background-position: center 30%;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8,9,15,0.7) 0%,
        rgba(8,9,15,0.75) 40%,
        rgba(8,9,15,0.97) 100%
    );
}
.page-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
    border-left: 2px solid var(--color-gold);
    padding-left: calc(5% + 1.5rem);
}
.page-banner-overline {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.6rem;
}
.page-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.05;
    text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.page-banner-subtitle {
    font-size: 0.9rem;
    color: rgba(221,224,232,0.5);
    margin-top: 0.6rem;
    letter-spacing: 0.04em;
}

/* ===========================
   BIO INTRO
   =========================== */
.bio-intro {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.bio-intro p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.9;
}
.bio-intro strong { color: var(--color-text); font-weight: 500; }
.bio-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    border: 1px solid var(--color-border);
    padding: 0.65rem 1.2rem;
}
.bio-hint-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--color-gold);
    flex-shrink: 0;
}

/* ===========================
   TIMELINE
   =========================== */
.timeline-section { padding: 5rem 0 6rem; }
.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
}
/* Center spine */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-border), var(--color-border), transparent);
}
.timeline-era {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    margin-bottom: 3rem;
    min-height: 1px;
}
.timeline-era.left  .timeline-card-wrap { grid-column: 1; grid-row: 1; padding-right: 2.5rem; text-align: right; }
.timeline-era.right .timeline-card-wrap { grid-column: 3; grid-row: 1; padding-left:  2.5rem; text-align: left; }
.timeline-era.left  .timeline-spacer    { grid-column: 3; }
.timeline-era.right .timeline-spacer    { grid-column: 1; }
.timeline-spine {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
    position: relative;
    z-index: 2;
}
.timeline-node {
    width: 12px; height: 12px;
    border: 1px solid var(--color-gold-dark);
    background: var(--color-bg);
    transform: rotate(45deg);
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}
.timeline-era:hover .timeline-node,
.timeline-era.active .timeline-node {
    background: var(--color-gold);
    border-color: var(--color-gold);
    box-shadow: 0 0 12px rgba(201,168,76,0.5);
}
.timeline-card {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    padding: 1.8rem;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    position: relative;
}
.timeline-card:hover,
.timeline-era.active .timeline-card {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-solid);
}
/* Connector line from card to spine */
.timeline-era.left .timeline-card::after {
    content: '';
    position: absolute;
    right: -2.5rem; top: 1.75rem;
    width: 2.5rem; height: 1px;
    background: var(--color-border);
}
.timeline-era.right .timeline-card::after {
    content: '';
    position: absolute;
    left: -2.5rem; top: 1.75rem;
    width: 2.5rem; height: 1px;
    background: var(--color-border);
}
.timeline-era.active .timeline-card::after,
.timeline-era:hover .timeline-card::after {
    background: var(--color-gold-dark);
}
.timeline-year-badge {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-style: italic;
    color: var(--color-gold);
    opacity: 0.8;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
    display: block;
}
.timeline-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}
.timeline-card-text {
    font-size: 0.86rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 1.1rem;
}
.timeline-read-more {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.timeline-read-more:hover { color: var(--color-gold); }
.timeline-era.left .timeline-read-more { flex-direction: row-reverse; }
.t-arrow {
    display: inline-block;
    width: 18px; height: 1px;
    background: currentColor;
    position: relative;
    vertical-align: middle;
}
.t-arrow::after {
    content: '';
    position: absolute;
    right: 0; top: -3px;
    border: 3px solid transparent;
    border-left: 4px solid currentColor;
}
.timeline-era.left .t-arrow {
    transform: scaleX(-1);
}

/* ===========================
   FACTS GRID (Biography)
   =========================== */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
}
.fact-cell {
    background: var(--color-bg-surface);
    padding: 2rem 1.75rem;
    transition: background var(--transition);
}
.fact-cell:hover { background: var(--color-bg-card-solid); }
.fact-label {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--color-border);
}
.fact-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}
.fact-desc {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===========================
   DETAIL DRAWER
   =========================== */
.drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(8,9,15,0.75);
    z-index: 1100;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.detail-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 100%; max-width: 500px;
    background: var(--color-bg-card-solid);
    border-left: 1px solid var(--color-border);
    z-index: 1200;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.detail-drawer.open { transform: translateX(0); }
.drawer-header {
    padding: 2.4rem 2rem 2rem;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: var(--color-bg-card-solid);
    z-index: 1;
}
.drawer-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 32px; height: 32px;
    border: 1px solid var(--color-border);
    background: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}
.drawer-close:hover { border-color: var(--color-gold); color: var(--color-gold); }
.drawer-badge {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 0.6rem;
    display: block;
    letter-spacing: 0.06em;
}
.drawer-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    padding-right: 2rem;
}
.drawer-body { padding: 2rem; }
.drawer-body p {
    font-size: 0.93rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 1rem;
}
.drawer-body strong { color: var(--color-text); font-weight: 500; }
.drawer-facts-label {
    font-family: var(--font-ui);
    font-size: 0.67rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--color-border);
}
.drawer-facts { display: flex; flex-direction: column; gap: 0; }
.drawer-fact {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border);
    align-items: baseline;
}
.drawer-fact-key {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    padding-top: 1px;
}
.drawer-fact-val {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}
.drawer-fact-val strong { color: var(--color-text); font-weight: 500; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 960px) {
    .achievement-grid { grid-template-columns: 1fr 1fr; }
    .facts-grid { grid-template-columns: 1fr 1fr; }
    .stats-inner { grid-template-columns: repeat(3, 1fr); }
    .stats-inner .stat-item:nth-child(4) { border-top: 1px solid var(--color-border); }
    .stats-inner .stat-item:nth-child(5) { border-top: 1px solid var(--color-border); }
    .georgia-layout { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 780px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(8,9,15,0.98);
        border-top: 1px solid var(--color-border);
        flex-direction: column;
        padding: 2rem 5%;
        gap: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .nav-menu.open { 
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-link { font-size: 0.9rem; }

    /* Mobile timeline - single column */
    .timeline-container::before { left: 22px; }
    .timeline-era { grid-template-columns: 44px 1fr; }
    .timeline-era.left .timeline-card-wrap,
    .timeline-era.right .timeline-card-wrap {
        grid-column: 2; grid-row: 1;
        padding-left: 1.5rem; padding-right: 0;
        text-align: left;
    }
    .timeline-spine { grid-column: 1; grid-row: 1; padding-top: 1.5rem; }
    .timeline-era.left .timeline-spacer,
    .timeline-era.right .timeline-spacer { display: none; }
    .timeline-era.left .timeline-card::after,
    .timeline-era.right .timeline-card::after {
        left: -1.5rem; right: auto;
        width: 1.5rem;
    }
    .timeline-era.left .timeline-read-more { flex-direction: row; }
    .timeline-era.left .t-arrow { transform: scaleX(1); }

    .achievement-grid { grid-template-columns: 1fr; }
    .facts-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-copy { text-align: center; }
    .footer-nav { justify-content: center; flex-wrap: wrap; gap: 1.25rem; }
    .detail-drawer { max-width: 100%; }
    .hero-content { margin-left: 0; }
}
@media (max-width: 480px) {
    .stats-inner { grid-template-columns: 1fr; }
    .stat-item + .stat-item::before { display: none; }
    .stat-item + .stat-item { border-top: 1px solid var(--color-border); }
}
