﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #0f1923;
    --ink-soft: #2c3e50;
    --ink-muted: #5a6a7a;
    --river: #1a5f7a;
    --river-mid: #2980b9;
    --river-light: #d6eaf8;
    --gold: #b8860b;
    --gold-light: #f9e4a0;
    --cream: #faf8f3;
    --white: #ffffff;
    --rule: #c8d6df;
    --shadow: rgba(26,95,122,0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Serif 4', Georgia, serif;
    background: var(--cream);
    color: var(--ink);
    font-size: 18px;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ── NEWSPAPER HEADER ──────────────────────────────── */
.masthead {
    background: var(--ink);
    color: var(--white);
    /*background: #FFF5CC;*/ /* ← light yellow */
    /*color: #CC4400;*/
    text-align: center;
    padding: 18px 20px 14px;
    position: relative;
    overflow: hidden;
}

    .masthead::before {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( 90deg, transparent, transparent 60px, rgba(255,255,255,0.03) 60px, rgba(255,255,255,0.03) 61px );
    }

.masthead-top {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    /*color: rgba(255,255,255,0.5);*/
    color: #FFD700; /* ← golden yellow */
    margin-bottom: 10px;
}

.masthead-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(13px, 3vw, 18px);
    font-weight: 400;
    letter-spacing: 2px;
    /*color: rgba(255,255,255,0.7);*/
    color: #FFD700; /* ← golden yellow */
    margin-bottom: 6px;
}

.masthead-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 8px 0;
}

    .masthead-divider span {
        height: 1px;
        flex: 1;
        max-width: 120px;
        /*background: rgba(255,255,255,0.3);*/
        background: rgba(255,215,0,0.5); /* ← golden yellow line */
    }

    .masthead-divider i {
        /*color: var(--gold);*/
        color: #FFD700; /* ← golden yellow star */
        font-style: normal;
        font-size: 14px;
    }

.masthead-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    /*color: rgba(255,255,255,0.4);*/
    color: #FFD700; /* ← golden yellow */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 8px;
}

/* ── HERO ──────────────────────────────────────────── */
/*.hero {
    background: linear-gradient(160deg, #0f2535 0%, #1a5f7a 55%, #0d3349 100%);
    position: relative;
    padding: 80px 24px 70px;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -40%;
        right: -10%;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(41,128,185,0.25) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--gold), #f0c040, var(--gold));
    }

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 28px;
}

    .hero-eyebrow::before {
        content: '';
        display: inline-block;
        width: 30px;
        height: 2px;
        background: var(--gold);
    }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 6vw, 58px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
}

    .hero h1 em {
        font-style: italic;
        color: #7dd3f5;
    }

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(15px, 2.5vw, 22px);
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    margin-top: 14px;
    margin-bottom: 36px;
    max-width: 640px;
    line-height: 1.5;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 22px;
}

.hero-meta-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
}

    .hero-meta-item strong {
        display: block;
        font-size: 14px;
        color: rgba(255,255,255,0.85);
        font-weight: 500;
        letter-spacing: 0;
    }*/

.hero {
    background: linear-gradient(160deg, #0f2535 0%, #1a5f7a 55%, #0d3349 100%);
    position: relative;
    padding: 80px 24px 70px;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -40%;
        right: -10%;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(41,128,185,0.25) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--gold), #f0c040, var(--gold));
    }

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── KEY FIX: text left, image right ── */
/*.hero-layout {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-direction: row;
}

.hero-text {
    flex: 1;
    min-width: 0;
    order: 1;
}

.hero-portrait {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 2;
}*/
.hero-layout {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-direction: row-reverse; /* ← THIS pushes image to right */
}

.hero-text {
    flex: 1;
    min-width: 0;
}
/* Mobile: stack portrait on top, text below */
@media (max-width: 680px) {
    .hero-layout {
        flex-direction: column;
    }

    .portrait-frame {
        width: 160px;
    }

        .portrait-frame img {
            width: 160px;
            height: 160px;
        }
}
.hero-portrait {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* ── Portrait frame ── */
.portrait-frame {
    position: relative;
    width: 300px;
}

    .portrait-frame::before {
        content: '';
        position: absolute;
        inset: -6px;
        border: 2px solid var(--gold);
        border-radius: 50%;
        z-index: 0;
    }

    .portrait-frame::after {
        content: '';
        position: absolute;
        inset: -14px;
        border: 1px solid rgba(184,134,11,0.3);
        border-radius: 50%;
        z-index: 0;
    }

    .portrait-frame img {
        width: 300px;
        height: 300px;
        border-radius: 50%;
        object-fit: cover;
        object-position: top center;
        display: block;
        position: relative;
        z-index: 1;
        border: 4px solid rgba(255,255,255,0.15);
        box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    }

.portrait-caption {
    margin-top: 16px;
    text-align: center;
}

    .portrait-caption span {
        display: block;
        font-family: 'Playfair Display', serif;
        font-size: 14px;
        font-weight: 700;
        color: rgba(255,255,255,0.9);
        letter-spacing: 0.5px;
    }

    .portrait-caption em {
        display: block;
        font-family: 'DM Sans', sans-serif;
        font-size: 11px;
        font-style: normal;
        color: var(--gold-light);
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-top: 3px;
    }

/* ── Responsive: stack on mobile ── */
@media (max-width: 680px) {
    .hero-layout {
        flex-direction: column;
    }

    .hero-text {
        order: 2;
    }

    .hero-portrait {
        order: 1;
    }

    .portrait-frame {
        width: 160px;
    }

        .portrait-frame img {
            width: 160px;
            height: 160px;
        }
}

/* ── Remaining hero styles ── */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 28px;
}

    .hero-eyebrow::before {
        content: '';
        display: inline-block;
        width: 30px;
        height: 2px;
        background: var(--gold);
    }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 6vw, 58px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
}

    .hero h1 em {
        font-style: italic;
        color: #7dd3f5;
    }

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(15px, 2.5vw, 22px);
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    margin-top: 14px;
    margin-bottom: 36px;
    max-width: 640px;
    line-height: 1.5;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 22px;
}

.hero-meta-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
}

    .hero-meta-item strong {
        display: block;
        font-size: 14px;
        color: rgba(255,255,255,0.85);
        font-weight: 500;
        letter-spacing: 0;
    }
/* ── PROFILE CARD ──────────────────────────────────── */
.profile-strip {
    background: var(--white);
    border-bottom: 3px solid var(--river);
    padding: 32px 24px;
}

.profile-strip-inner {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.profile-fact {
    border-left: 3px solid var(--river-light);
    padding-left: 14px;
}

    .profile-fact .fact-label {
        display: block;
        font-family: 'DM Sans', sans-serif;
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: var(--ink-muted);
        margin-bottom: 4px;
    }

    .profile-fact .fact-value {
        display: block;
        font-family: 'Playfair Display', serif;
        font-size: 16px;
        font-weight: 700;
        color: var(--river);
        line-height: 1.3;
    }

/* ── CONTENT LAYOUT ────────────────────────────────── */
.content-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* ── INTRO DROP-CAP ────────────────────────────────── */
.intro-section p:first-child::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 5.2em;
    font-weight: 900;
    color: var(--river);
    float: left;
    line-height: 0.72;
    margin-right: 10px;
    margin-top: 8px;
}

.intro-section p {
    font-size: 19px;
    line-height: 1.85;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

/* ── PULL QUOTE ─────────────────────────────────────── */
.pull-quote {
    border-left: 5px solid var(--gold);
    background: linear-gradient(135deg, #fdfaf2 0%, #f5f0e0 100%);
    margin: 48px 0;
    padding: 28px 36px;
    position: relative;
    border-radius: 0 8px 8px 0;
}

    .pull-quote::before {
        content: '\201C';
        font-family: 'Playfair Display', serif;
        font-size: 96px;
        color: var(--gold);
        opacity: 0.3;
        position: absolute;
        top: -10px;
        left: 12px;
        line-height: 1;
    }

    .pull-quote p {
        font-family: 'Playfair Display', serif;
        font-size: clamp(18px, 2.8vw, 24px);
        font-style: italic;
        font-weight: 400;
        color: var(--ink);
        line-height: 1.55;
        position: relative;
        z-index: 1;
    }

    .pull-quote cite {
        display: block;
        font-family: 'DM Sans', sans-serif;
        font-size: 12px;
        font-style: normal;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--ink-muted);
        margin-top: 14px;
    }

/* ── SECTION HEADING ───────────────────────────────── */
.section-heading {
    margin: 56px 0 22px;
    position: relative;
}

    .section-heading h2 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(22px, 4vw, 32px);
        font-weight: 700;
        color: var(--river);
        line-height: 1.2;
    }

    .section-heading .rule {
        display: block;
        width: 48px;
        height: 3px;
        background: var(--gold);
        margin-top: 10px;
        border-radius: 2px;
    }

    .section-heading h3 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(17px, 2.5vw, 22px);
        font-weight: 700;
        font-style: italic;
        color: var(--ink);
        margin: 40px 0 14px;
        border-left: 4px solid var(--river-light);
        padding-left: 14px;
    }

/* ── BODY TEXT ─────────────────────────────────────── */
.body-text p {
    font-size: 17.5px;
    line-height: 1.85;
    color: var(--ink-soft);
    margin-bottom: 20px;
    text-align: justify;
    hyphens: auto;
}

/* ── ROLE TABLE ─────────────────────────────────────── */
.role-table-wrap {
    overflow-x: auto;
    margin: 36px 0;
    border-radius: 10px;
    box-shadow: 0 4px 24px var(--shadow);
}

.role-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
}

    .role-table thead tr {
        background: var(--river);
        color: var(--white);
    }

    .role-table thead th {
        padding: 14px 20px;
        text-align: left;
        font-weight: 500;
        letter-spacing: 0.5px;
        font-size: 13px;
        text-transform: uppercase;
    }

    .role-table tbody tr {
        border-bottom: 1px solid var(--rule);
        transition: background 0.15s;
    }

        .role-table tbody tr:last-child {
            border-bottom: none;
        }

        .role-table tbody tr:hover {
            background: var(--river-light);
        }

        .role-table tbody tr:nth-child(even) {
            background: #f4f9fd;
        }

            .role-table tbody tr:nth-child(even):hover {
                background: var(--river-light);
            }

    .role-table td {
        padding: 14px 20px;
        vertical-align: top;
        line-height: 1.6;
        color: var(--ink-soft);
    }

        .role-table td:first-child {
            font-weight: 600;
            color: var(--river);
            white-space: nowrap;
        }

/* ── TIMELINE ───────────────────────────────────────── */
.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 40px;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--river), var(--gold), var(--river));
        border-radius: 2px;
    }

.timeline-item {
    position: relative;
    margin-bottom: 36px;
    animation: fadeSlideIn 0.6s ease both;
}

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -34px;
        top: 6px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--river);
        border: 3px solid var(--cream);
        box-shadow: 0 0 0 2px var(--river);
    }

.timeline-period {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--river);
    margin-bottom: 6px;
}

.timeline-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-muted);
}

/* ── CHALLENGE CARDS ────────────────────────────────── */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.challenge-card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-top: 4px solid var(--river);
    border-radius: 8px;
    padding: 22px 20px;
    box-shadow: 0 2px 12px var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .challenge-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px var(--shadow);
    }

    .challenge-card .icon {
        font-size: 26px;
        margin-bottom: 10px;
        display: block;
    }

    .challenge-card h4 {
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: var(--river);
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .challenge-card p {
        font-size: 13.5px;
        color: var(--ink-muted);
        line-height: 1.65;
    }

/* ── FIELD ACTION BANNER ────────────────────────────── */
.field-action {
    background: linear-gradient(135deg, #0f2535 0%, #1a5f7a 100%);
    border-radius: 12px;
    padding: 40px 36px;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

    .field-action::before {
        content: '';
        position: absolute;
        bottom: -30px;
        right: -30px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(41,128,185,0.2);
    }

    .field-action h3 {
        font-family: 'Playfair Display', serif;
        font-size: 22px;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 18px;
        position: relative;
        z-index: 1;
    }

    .field-action .action-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 14px;
        position: relative;
        z-index: 1;
    }

    .field-action .action-icon {
        font-size: 20px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .field-action .action-text {
        font-family: 'DM Sans', sans-serif;
        font-size: 15px;
        color: rgba(255,255,255,0.82);
        line-height: 1.6;
    }

        .field-action .action-text strong {
            color: var(--gold-light);
            font-weight: 600;
            display: block;
            margin-bottom: 2px;
        }

/* ── CONCLUSION CALLOUT ─────────────────────────────── */
.conclusion-box {
    background: var(--white);
    border: 2px solid var(--river);
    border-radius: 12px;
    padding: 40px 36px;
    margin: 48px 0 0;
    position: relative;
}

    .conclusion-box::before {
        content: 'CONCLUSION';
        position: absolute;
        top: -14px;
        left: 30px;
        background: var(--river);
        color: var(--white);
        font-family: 'DM Sans', sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 3px;
        padding: 4px 14px;
        border-radius: 30px;
    }

    .conclusion-box p {
        font-family: 'Source Serif 4', serif;
        font-size: 17px;
        line-height: 1.85;
        color: var(--ink-soft);
        margin-bottom: 18px;
        text-align: justify;
    }

        .conclusion-box p:last-child {
            margin-bottom: 0;
        }

/* ── SOURCES ─────────────────────────────────────────── */
.sources {
    margin-top: 60px;
    border-top: 1px solid var(--rule);
    padding-top: 24px;
}

    .sources h5 {
        font-family: 'DM Sans', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--ink-muted);
        margin-bottom: 12px;
    }

    .sources p {
        font-family: 'DM Sans', sans-serif;
        font-size: 12px;
        color: var(--ink-muted);
        line-height: 1.7;
    }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.4);
    text-align: center;
    padding: 28px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrap > * {
    animation: fadeSlideIn 0.7s ease both;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 600px) {
    .pull-quote {
        padding: 20px 22px;
    }

    .field-action {
        padding: 28px 22px;
    }

    .conclusion-box {
        padding: 32px 22px;
    }

    .profile-strip-inner {
        grid-template-columns: 1fr 1fr;
    }

    .timeline {
        padding-left: 28px;
    }
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-portrait {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portrait-frame {
    position: relative;
    width: 220px;
}

    .portrait-frame::before {
        content: '';
        position: absolute;
        inset: -6px;
        border: 2px solid var(--gold);
        border-radius: 50%;
        z-index: 0;
    }

    .portrait-frame::after {
        content: '';
        position: absolute;
        inset: -14px;
        border: 1px solid rgba(184,134,11,0.3);
        border-radius: 50%;
        z-index: 0;
    }

    .portrait-frame img {
        width: 220px;
        height: 220px;
        border-radius: 50%;
        object-fit: cover;
        object-position: top center;
        display: block;
        position: relative;
        z-index: 1;
        border: 4px solid rgba(255,255,255,0.15);
        box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    }

.portrait-caption {
    margin-top: 16px;
    text-align: center;
}

    .portrait-caption span {
        display: block;
        font-family: 'Playfair Display', serif;
        font-size: 14px;
        font-weight: 700;
        color: rgba(255,255,255,0.9);
        letter-spacing: 0.5px;
    }

    .portrait-caption em {
        display: block;
        font-family: 'DM Sans', sans-serif;
        font-size: 11px;
        font-style: normal;
        color: var(--gold-light);
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-top: 3px;
    }

@media (max-width: 680px) {
    .hero-layout {
        flex-direction: column-reverse;
        gap: 28px;
    }

    .portrait-frame img {
        width: 160px;
        height: 160px;
    }

    .portrait-frame {
        width: 160px;
    }
}
