/* Styles for wesamamer.com - Teaching page design */

:root {
    --paper: #F4F1EA;
    --card: #FBF9F4;
    --line: #D9D3C5;
    --ink: #14202B;
    --ink-soft: #2B3742;
    --muted: #46525C;
    --teal: #17454A;
    --terra: #A63D24;
    --terra-light: #E2A592;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
}

.page-wrapper {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
}

a {
    color: var(--teal);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--terra);
}

a:focus-visible {
    outline: 2px solid var(--terra);
    outline-offset: 2px;
}

/* Header / Nav */
.site-header {
    border-bottom: 1px solid var(--line);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 14px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-links a.nav-active,
.nav-links a[aria-current="page"] {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--terra);
    padding-bottom: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px;
}

/* Hero */
.hero-section {
    background: var(--paper);
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    padding: 72px 32px;
}

.hero-content {
    flex: 1 1 460px;
    min-width: 0;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.eyebrow-large {
    font-size: 16px;
}

.section-eyebrow {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1.08;
    margin: 16px 0 24px;
    color: var(--ink);
}

h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 500;
    font-size: 38px;
    line-height: 1.15;
    margin: 8px 0 16px;
    color: var(--ink);
}

h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 23px;
    line-height: 1.25;
    margin: 0;
    color: var(--ink);
}

.hero-lead {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 560px;
}

.hero-text {
    margin: 0 0 32px;
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 6px;
}

.btn-primary {
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
}

.btn-secondary {
    border: 1.5px solid var(--ink);
    color: var(--ink);
    background: transparent;
}

.btn-light {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--paper);
}

.btn-outline-light {
    border: 1.5px solid var(--paper);
    color: var(--paper);
    background: transparent;
}

/* Hero Card */
.hero-card {
    flex: 1 1 400px;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card-title {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.country-list {
    display: flex;
    flex-direction: column;
}

.country-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.country-row-last {
    border-bottom: 1px solid var(--line);
}

.country-name {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.2;
    color: var(--ink);
}

.country-detail {
    font-size: 14px;
    color: var(--muted);
    text-align: right;
}

.country-note {
    font-size: 14px;
    color: var(--muted);
}

/* Sections */
.section {
    background: var(--paper);
    padding: 72px 0;
}

.section-alt {
    background: var(--card);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-intro {
    margin: 0 0 40px;
    max-width: 720px;
    color: var(--ink-soft);
}

/* Experience */
.experience-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.experience-item {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.experience-period {
    flex: 0 0 180px;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.2;
    color: var(--terra);
}

.experience-org {
    flex: 1 1 280px;
    min-width: 0;
}

.experience-inst {
    font-weight: 600;
    color: var(--ink);
}

.experience-meta {
    font-size: 14px;
    color: var(--muted);
}

.experience-desc {
    flex: 2 1 360px;
    min-width: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

/* Palestine card */
.palestine-card {
    margin-top: 32px;
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 4px solid var(--terra);
    border-radius: 6px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.palestine-card h3 {
    font-weight: 600;
    font-size: 23px;
}

.palestine-card p {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
    max-width: 760px;
}

.muted-italic {
    color: var(--muted);
    font-style: italic;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    border: 1px solid #B8B1A0;
    border-radius: 999px;
    padding: 4px 16px;
    font-size: 14px;
    color: var(--ink);
}

.palestine-note {
    font-size: 14px;
    color: var(--muted);
}

/* Clusters */
.clusters-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.cluster-card {
    flex: 1 1 340px;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cluster-card-ink {
    border-top: 4px solid var(--ink);
}

.cluster-card-teal {
    border-top: 4px solid var(--teal);
}

.cluster-card-terra {
    border-top: 4px solid var(--terra);
}

.cluster-num {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.cluster-num-teal {
    color: var(--teal);
}

.cluster-num-terra {
    color: var(--terra);
}

.cluster-title {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 23px;
    line-height: 1.25;
    color: var(--ink);
}

.cluster-text {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
}

.cluster-courses {
    margin-top: auto;
    font-size: 14px;
    color: var(--muted);
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.cluster-courses strong {
    color: var(--ink);
}

/* Approach */
.approach-lead {
    margin: 0 0 40px;
    max-width: 720px;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.4;
    color: var(--ink);
}

.approach-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0 48px;
}

.approach-col {
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.approach-item {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.approach-item-last {
    border-bottom: 1px solid var(--line);
}

.approach-num {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--terra);
}

.approach-title {
    margin: 4px 0 8px;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 23px;
    color: var(--ink);
}

.approach-text {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
}

.approach-note {
    margin: 32px 0 0;
    max-width: 720px;
    font-size: 15px;
    color: var(--muted);
}

/* Supervision */
.supervision-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.supervision-intro {
    flex: 1 1 360px;
    min-width: 0;
}

.supervision-intro p {
    margin: 0 0 16px;
    color: var(--ink-soft);
}

.supervision-note {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

.supervision-list {
    flex: 1.4 1 480px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.supervision-row {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
}

.supervision-row-last {
    border-bottom: 1px solid var(--line);
}

.supervision-label {
    flex: 0 0 200px;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 23px;
    line-height: 1.25;
    color: var(--ink);
}

.supervision-text {
    flex: 1 1 260px;
    min-width: 0;
    font-size: 15px;
    color: var(--ink-soft);
}

/* Engagement */
.engagement-band {
    background: var(--ink);
    color: var(--paper);
}

.engagement-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 72px 32px;
}

.engagement-content {
    flex: 1 1 520px;
    min-width: 0;
}

.engagement-eyebrow {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--terra-light);
}

.engagement-content h2 {
    color: var(--paper);
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 500;
    font-size: 38px;
    line-height: 1.15;
    margin: 8px 0 24px;
}

.engagement-content p {
    margin: 0 0 16px;
    color: #D9DEE3;
    max-width: 640px;
}

.engagement-note {
    margin: 0;
    color: #B5BEC7;
    font-size: 15px;
    max-width: 640px;
}

.engagement-note a {
    color: var(--paper);
}

.engagement-actions {
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 240px;
}

.engagement-link {
    color: var(--paper);
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    font-size: 14px;
    color: var(--muted);
}

/* New Footer */
.site-footer-new {
    border-top: 1px solid var(--line);
    background: var(--card);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
}

.footer-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.footer-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.footer-link:hover {
    color: var(--terra);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .footer-container {
        padding: 32px 20px 24px;
    }
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .footer-container {
        padding: 32px 16px 24px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }
    .nav-links {
        gap: 8px 16px;
    }
    .container {
        padding: 48px 20px;
    }
    .hero-grid {
        padding: 48px 20px;
        gap: 32px;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }
    .experience-item {
        flex-direction: column;
        gap: 8px;
    }
    .experience-period {
        flex: 1 1 auto;
    }
    .experience-org,
    .experience-desc {
        flex: 1 1 auto;
    }
    .supervision-row {
        flex-direction: column;
        gap: 8px;
    }
    .supervision-label,
    .supervision-text {
        flex: 1 1 auto;
    }
    .footer-grid {
        flex-direction: column;
        padding: 24px 20px;
    }
    .btn {
        width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 36px;
    }
    .container,
    .hero-grid,
    .engagement-grid {
        padding: 48px 20px;
    }
}

@media (max-width: 390px) {
    h1 {
        font-size: 34px;
    }
    .nav-container {
        padding: 16px 16px;
    }
    .container,
    .hero-grid,
    .engagement-grid {
        padding: 48px 16px;
    }
}

/* Research page */
.eyebrow-terra {
    color: var(--terra);
}

.research-hero {
    background: var(--paper);
}

.research-hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px 64px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.research-hero-content {
    flex: 1 1 460px;
    min-width: 0;
}

.research-hero-lead {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 560px;
}

.research-hero-text {
    margin: 0 0 32px;
    font-size: 15px;
    color: var(--muted);
    max-width: 560px;
}

.btn-sm {
    padding: 13px 22px;
    border-radius: 4px;
}

/* Diagram */
.research-diagram {
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.diagram-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.diagram-col {
    flex: 1 1 230px;
    min-width: 0;
    border-radius: 6px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.diagram-col-a {
    background: #E3ECEA;
    border: 1px solid #B9CDC9;
}

.diagram-col-b {
    background: #F3DDD5;
    border: 1px solid #E2BDB0;
}

.diagram-eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.diagram-eyebrow-a {
    color: var(--teal);
}

.diagram-eyebrow-b {
    color: var(--terra);
}

.diagram-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 500;
    color: var(--ink);
}

.diagram-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--ink-soft);
}

.diagram-num-a {
    color: var(--teal);
}

.diagram-num-b {
    color: var(--terra);
}

.diagram-pill-wrap {
    align-self: center;
}

.diagram-pill {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 999px;
}

.diagram-pill-a {
    background: var(--teal);
    color: var(--paper);
}

.diagram-pill-b {
    background: var(--terra);
    color: #FFFFFF;
}

.diagram-band {
    margin-top: 16px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 6px;
    padding: 16px 20px;
    text-align: center;
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-size: 19px;
}

/* Pillars */
.pillars-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.pillar-card {
    flex: 1 1 320px;
    min-width: 0;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pillar-card-a {
    border-top: 4px solid var(--teal);
}

.pillar-card-b {
    border-top: 4px solid var(--terra);
}

.pillar-num {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 44px;
    line-height: 1;
}

.pillar-num-a {
    color: var(--teal);
}

.pillar-num-b {
    color: var(--terra);
}

.pillar-title {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 23px;
    line-height: 1.25;
    color: var(--ink);
}

.pillar-text {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.pillar-sub {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.pillar-list {
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    color: var(--ink-soft);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pillar-evidence {
    font-size: 14px;
    color: var(--muted);
    padding-top: 4px;
}

.pillar-evidence strong {
    color: var(--ink);
}

/* Frameworks */
.frameworks-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.framework-panel {
    flex: 1 1 440px;
    min-width: 0;
    border-radius: 8px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.framework-panel-teal {
    background: var(--teal);
    color: var(--paper);
}

.framework-panel-terra {
    background: var(--terra);
    color: #FFFFFF;
}

.framework-badge {
    align-self: flex-start;
    border: 1px solid rgba(255,255,255,0.4);
    color: #F4F1EA;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}

.framework-title {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2;
    color: var(--paper);
}

.framework-panel p {
    margin: 0;
    color: #E3EDEB;
    max-width: 100%;
}

.framework-panel-terra p {
    color: #FDEEE9;
}

.framework-link {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 15px;
}

/* Methods */
.methods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.methods-col {
    flex: 1 1 380px;
    min-width: 0;
}

.methods-sub {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 12px;
}

.ruled-block {
    display: flex;
    flex-direction: column;
}

.ruled-item {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.ruled-item-last {
    border-bottom: 1px solid var(--line);
}

.ruled-desc {
    font-size: 14px;
    color: var(--muted);
}

.tools-sub {
    margin-top: 20px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pill {
    border: 1px solid #B8B1A0;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 14px;
    color: var(--ink);
}

/* Projects */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.project-card {
    flex: 1 1 480px;
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 4px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card-teal {
    border-top: 4px solid var(--teal);
}

.project-card-terra {
    border-top: 4px solid var(--terra);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-num {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 15px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.status-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

.status-pill-teal {
    background: #E3ECEA;
    color: var(--teal);
}

.status-pill-terra {
    background: #F3DDD5;
    color: #8F3520;
}

.status-pill-neutral {
    background: #ECE8DD;
    color: var(--muted);
}

.project-title {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 26px;
    color: var(--ink);
}

.project-sub {
    font-weight: 500;
    color: var(--ink);
}

.project-text {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
}

.project-link {
    font-weight: 600;
    font-size: 15px;
}

.project-evidence {
    font-size: 14px;
    color: var(--muted);
    padding-top: 4px;
}

.project-evidence strong {
    color: var(--ink);
}

@media (max-width: 768px) {
    .research-hero-grid {
        padding: 48px 20px 48px;
        gap: 32px;
    }
    .diagram-row {
        flex-direction: column;
    }
    .projects-grid {
        flex-direction: column;
    }
    .project-card {
        flex: 1 1 auto;
    }
}

@media (max-width: 640px) {
    .research-hero-grid {
        padding: 48px 20px 48px;
    }
}

/* Publications abstracts */
.pub-abstract {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.pub-abstract-toggle {
    background: none;
    border: none;
    color: var(--teal);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pub-abstract-toggle:hover {
    color: var(--terra);
}

.pub-abstract-toggle:focus-visible {
    outline: 2px solid var(--terra);
    outline-offset: 2px;
}

.pub-abstract-content {
    margin-top: 10px;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.pub-abstract-content p {
    margin: 0 0 12px;
}

.pub-abstract-content p:last-child {
    margin-bottom: 0;
}

.pub-abstract[open] .pub-abstract-arrow {
    transform: rotate(90deg);
}

.pub-abstract-arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}

/* Publications */
.pub-hero {
    background: var(--paper);
}

.pub-hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.pub-hero-content {
    flex: 1 1 460px;
    min-width: 0;
}

.pub-hero-lead {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 560px;
}

.pub-hero-text {
    margin: 0 0 32px;
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
}

.pub-card {
    flex: 1 1 400px;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pub-card-title {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.pub-stats {
    display: flex;
    flex-direction: column;
}

.pub-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
}

.pub-stat-row-last {
    border-bottom: 1px solid var(--line);
}

.pub-stat-num {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 30px;
    line-height: 1.1;
    color: var(--teal);
}

/* Legend */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 40px;
}

.dot {
    font-weight: bold;
}

.dot-a {
    color: var(--teal);
}

.dot-b {
    color: var(--terra);
}

.dot-c {
    color: var(--ink);
}

/* Pub grid */
.pub-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.pub-item {
    flex: 1 1 340px;
    min-width: 0;
    background: #F4F1EA;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pub-item-a {
    border-top: 4px solid var(--teal);
}

.pub-item-b {
    border-top: 4px solid var(--terra);
}

.pub-item-c {
    border-top: 4px solid var(--ink);
}

.pub-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.pub-type {
    background: #E3ECEA;
    color: var(--teal);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

.pub-type-a {
    background: #E3ECEA;
    color: var(--teal);
}

.pub-type-c {
    background: #ECE8DD;
    color: var(--muted);
}

.pub-year {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1;
    color: var(--teal);
}

.pub-year-b {
    color: var(--terra);
}

.pub-year-c {
    color: var(--ink);
}

.pub-item-title {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 23px;
    line-height: 1.25;
    color: var(--ink);
}

.pub-meta {
    font-size: 14px;
    color: var(--muted);
}

.pub-item-text {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
}

.pub-item-link {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    font-weight: 600;
    font-size: 14px;
}

/* All pubs */
.pub-section {
    padding-top: 48px;
}

.pub-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 8px;
}

.pub-section-header h3 {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.2;
    color: var(--ink);
}

.pub-count {
    font-size: 14px;
    color: var(--muted);
}

.pub-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

.pub-row-year {
    flex: 0 0 72px;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.2;
    color: var(--terra);
}

.pub-row-content {
    flex: 1 1 420px;
    min-width: 0;
}

.pub-row-title {
    font-weight: 500;
    color: var(--ink);
}

.pub-row-meta {
    font-size: 14px;
    color: var(--muted);
}

.pub-row-link {
    flex: 0 0 120px;
    text-align: right;
}

.pub-row-doi {
    font-size: 14px;
    font-weight: 600;
    margin-right: 16px;
}

html {
    scroll-padding-top: 24px;
}

@media (max-width: 768px) {
    .pub-hero-grid {
        padding: 48px 20px;
        gap: 32px;
    }
    .pub-row {
        flex-direction: column;
        gap: 8px;
    }
    .pub-row-year,
    .pub-row-content,
    .pub-row-link {
        flex: 1 1 auto;
    }
    .pub-row-link {
        text-align: left;
    }
}

/* Leadership galleries */
.conference-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.conference-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.conference-title {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.25;
    color: var(--ink);
}

.conference-meta {
    font-size: 15px;
    color: var(--ink-soft);
}

.service-gallery {
    margin-top: 24px;
}

.service-figure {
    margin: 0;
}

.service-figure img {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
}

@media (max-width: 768px) {
    .conference-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Leadership */
#faculty {
    scroll-margin-top: 24px;
}

.glance-list {
    display: flex;
    flex-direction: column;
}

.glance-row {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.glance-row-last {
    border-bottom: 1px solid var(--line);
}

.glance-period {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.25;
    color: var(--terra);
}

.glance-title {
    font-weight: 600;
    color: var(--ink);
}

.glance-meta {
    font-size: 14px;
    color: var(--muted);
}

.faculty-period {
    margin: 0 0 8px;
    font-weight: 600;
    color: var(--terra);
}

.outcomes-grid {
    margin-bottom: 40px;
}

.cluster-num-ink {
    color: var(--ink);
}

.review-grid {
    gap: 48px;
}

.review-col {
    flex: 1 1 420px;
}

.pill-list-flush {
    margin-top: 0;
}

.pill-lg {
    padding: 4px 16px;
}

.journal-list {
    display: flex;
    flex-direction: column;
}

.journal-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.journal-row-last {
    border-bottom: 1px solid var(--line);
}

.journal-name {
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--ink);
}

.journal-link {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    align-self: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.featured-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 4px solid var(--teal);
    border-radius: 6px;
    padding: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
    align-items: center;
}

.featured-main {
    flex: 1 1 480px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-badge {
    align-self: flex-start;
    background: #E3ECEA;
    color: var(--teal);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

.featured-title {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.2;
    color: var(--ink);
}

.featured-meta {
    font-size: 14px;
    color: var(--muted);
}

.featured-text {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
}

.featured-side {
    flex: 0 1 280px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-note {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

.funding-intro {
    margin-bottom: 24px;
}

.funding-note {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
}

.engagement-links {
    color: var(--paper);
    text-align: center;
    font-weight: 500;
    font-size: 15px;
}

.engagement-links a {
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* Section containers: the section already supplies vertical padding */
.section > .container {
    padding-top: 0;
    padding-bottom: 0;
}

#services,
#frontline {
    scroll-margin-top: 24px;
}

/* Services */
.cluster-card-paper {
    background: var(--paper);
}

.cluster-card-narrow {
    flex-basis: 240px;
}

.who-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.who-row {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.25;
    color: var(--ink);
}

.who-row-last {
    border-bottom: 1px solid var(--line);
}

.split-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.split-grid-flush {
    gap: 32px 48px;
}

.split-col {
    flex: 1 1 400px;
    min-width: 0;
}

.split-intro {
    margin: 0 0 24px;
    color: var(--ink-soft);
}

.theme-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.theme-row {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
}

.theme-row-last {
    border-bottom: 1px solid var(--line);
}

.training-card {
    align-self: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 4px solid var(--terra);
    border-radius: 6px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge-start {
    align-self: flex-start;
}

.training-text {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
}

.training-note {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.training-action {
    margin-top: 8px;
}

.steps-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.step {
    flex: 1 1 240px;
    min-width: 0;
    border-top: 4px solid var(--ink);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

ul.pill-list {
    list-style: none;
}

.pill-note {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--muted);
}

@media (max-width: 640px) {
    .section,
    .section-card {
        padding: 48px 0;
    }
}

/* Contact */
.contact-gallery {
    margin-top: 32px;
}

.contact-figure {
    margin: 0;
}

.contact-figure img {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
}

/* Contact */
#form {
    scroll-margin-top: 24px;
}

.detail-list {
    display: flex;
    flex-direction: column;
}

.detail-row {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.detail-row-last {
    border-bottom: 1px solid var(--line);
}

.detail-row dt {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.detail-row dd {
    margin: 2px 0 0;
    font-size: 16px;
}

.detail-note {
    color: var(--muted);
}

.route-list {
    list-style: none;
}

.form-intro {
    flex-basis: 320px;
}

.form-intro-text {
    margin: 0;
    color: var(--ink-soft);
    max-width: 420px;
}

.form-card {
    flex: 2 1 560px;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 32px;
}

.form-card form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-field {
    flex: 1 1 240px;
    min-width: 0;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-hint {
    font-weight: 400;
    color: var(--muted);
}

.form-control {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    color: var(--ink);
    background: #FFFFFF;
    border: 1px solid #8C8678;
    border-radius: 6px;
}

.form-control-area {
    min-height: 160px;
    resize: vertical;
}

.form-control[aria-invalid="true"] {
    border-color: var(--terra);
}

.form-control:focus-visible,
.consent-box:focus-visible {
    outline: 2px solid var(--terra);
    outline-offset: 2px;
}

.form-error {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--terra);
}

.form-summary {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--terra);
    border: 1px solid var(--terra);
    border-radius: 6px;
}

.form-success {
    margin: 0;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--teal);
    border-radius: 6px;
    max-width: 100%;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.consent-box {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 3px 0 0;
    accent-color: var(--teal);
}

.consent-label {
    font-size: 14px;
    color: var(--ink-soft);
}

button.btn {
    font-family: 'Inter', system-ui, sans-serif;
    cursor: pointer;
}

.profile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0 48px;
}

.profile-list {
    flex: 1 1 440px;
    min-width: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.profile-row-last {
    border-bottom: 1px solid var(--line);
}

.profile-text {
    min-width: 0;
}

.profile-name {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--ink);
}

.profile-meta {
    font-size: 14px;
    color: var(--muted);
}

.profile-note {
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .form-card {
        padding: 20px;
    }
}

/* News & Engagement */
.news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.news-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 4px solid var(--ink);
    border-radius: 6px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item-featured {
    background: var(--paper);
    border-top-color: var(--teal);
    padding: 32px;
}

.news-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.news-item-date {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.2;
    color: var(--terra);
}

.news-item-title {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 23px;
    line-height: 1.25;
    color: var(--ink);
}

.news-item-featured .news-item-title {
    font-size: 30px;
    line-height: 1.2;
}

.news-item-role {
    font-size: 14px;
    color: var(--muted);
}

.news-item-text {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
    max-width: 720px;
}

.news-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
}

.news-links a {
    font-size: 14px;
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.news-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: auto;
    padding-top: 4px;
}

.news-figure {
    margin: 0;
    min-width: 0;
}

.news-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.news-figure figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
}

/* Featured gallery matches the width of the archive card galleries */
.news-item-featured .news-gallery {
    max-width: 500px;
}

@media (max-width: 768px) {
    .news-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .news-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .news-item,
    .news-item-featured {
        padding: 20px;
    }
}

/* About */
.h1-tight {
    margin-bottom: 8px;
}

.about-role {
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-size: 23px;
    color: var(--teal);
    margin-bottom: 24px;
}

.about-lead {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 600px;
}

.about-text {
    margin: 0 0 32px;
    font-size: 16px;
    color: var(--muted);
    max-width: 600px;
}

.profile-panel {
    flex: 1 1 400px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.profile-photo {
    flex: 0 0 140px;
    margin: 0;
    aspect-ratio: 3 / 4;
}

.profile-photo img,
.profile-photo-slot {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.profile-photo img {
    display: block;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid var(--line);
}

.profile-photo-slot {
    background: #ECE8DD;
    border: 1.5px dashed #B8B1A0;
    color: var(--muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fact-list {
    flex: 1 1 200px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.fact-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.fact-row-last {
    border-bottom: 1px solid var(--line);
}

.fact-row dt {
    font-size: 14px;
    color: var(--muted);
}

.fact-row dd {
    margin: 0;
    font-size: 15px;
    text-align: right;
}

.profile-alias {
    font-size: 14px;
    color: var(--muted);
}

/* About - In brief */
.brief-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 64px;
}

.brief-label-col {
    flex: 0 1 260px;
    min-width: 200px;
}

.brief-text-col {
    flex: 1 1 560px;
    min-width: 0;
}

.brief-paragraph {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: var(--ink);
    font-family: 'Newsreader', Georgia, serif;
    max-width: 820px;
}

/* About - Journey */
.journey-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.journey-col {
    flex: 1 1 440px;
    min-width: 0;
}

.journey-col p {
    margin: 0 0 16px;
    color: var(--ink-soft);
}

/* About - Biography */
.bio-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
}

.bio-card {
    flex: 1 1 440px;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bio-card-teal {
    border-top: 4px solid var(--teal);
}

.bio-card-terra {
    border-top: 4px solid var(--terra);
}

.bio-card h3 {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
}

.bio-card p {
    margin: 0;
    color: var(--ink-soft);
}

.bio-foot {
    margin-top: 8px;
}

.bio-split {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
    margin-bottom: 48px;
}

.bio-split-col {
    flex: 1 1 440px;
    min-width: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.bio-split-col h3 {
    margin: 0 0 12px;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
}

.bio-split-col p {
    margin: 0 0 16px;
    color: var(--ink-soft);
}

.agenda-card {
    background: var(--ink);
    color: var(--paper);
    border-radius: 6px;
    padding: 40px;
}

.agenda-eyebrow {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--terra-light);
}

.agenda-lead {
    margin: 12px 0 16px;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 26px;
    line-height: 1.35;
    max-width: 900px;
}

.agenda-card p {
    margin: 0 0 12px;
    color: #D9DEE3;
    max-width: 900px;
}

.agenda-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .brief-grid {
        gap: 24px;
    }
    .journey-grid {
        gap: 32px;
    }
    .bio-cards {
        gap: 16px;
    }
    .bio-card {
        padding: 24px;
    }
    .agenda-card {
        padding: 28px;
    }
    .brief-paragraph {
        font-size: 18px;
    }
}

.text-flush {
    margin-bottom: 0;
}

.story-col {
    flex-basis: 460px;
}

.pull-quote {
    margin: 0;
    border-left: 3px solid var(--terra);
    padding: 4px 0 4px 24px;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 26px;
    line-height: 1.35;
    font-style: italic;
}

.cluster-card-third {
    flex-basis: 320px;
}

.cluster-card-half {
    flex-basis: 480px;
}

.drives-grid {
    margin-bottom: 24px;
}

.band-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.band-foot-text {
    margin: 0;
    flex: 1 1 560px;
    color: var(--ink-soft);
    max-width: 100%;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid #B8B1A0;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--teal);
    background: #FFFFFF;
}

.pill-link:hover {
    color: var(--terra);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.card-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.journey-col {
    flex-basis: 460px;
}

.col-title {
    margin: 0 0 16px;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 26px;
    color: var(--ink);
}

.timeline {
    list-style: none;
    border-top: 1px solid var(--line);
}

.timeline-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.timeline-period {
    flex: 0 0 150px;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 23px;
    line-height: 1.2;
    color: var(--terra);
}

.timeline-body {
    flex: 1 1 300px;
    min-width: 0;
}

.timeline-title {
    font-weight: 500;
    color: var(--ink);
}

.timeline-meta {
    font-size: 14px;
    color: var(--muted);
}

.recognition-note {
    margin: 24px 0 0;
    font-size: 15px;
    color: var(--muted);
}

.fellowship-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.fellowship-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.fellowship-logo-wrap {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}

.fellowship-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fellowship-logo-placeholder {
    font-size: 12px;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
}

.fellowship-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fellowship-period {
    font-size: 14px;
    color: var(--terra);
    font-weight: 600;
}

.fellowship-title {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25;
    color: var(--ink);
}

.fellowship-meta {
    font-size: 14px;
    color: var(--muted);
}

.fellowship-link {
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
    align-self: flex-start;
}

@media (max-width: 968px) {
    .fellowship-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .fellowship-card {
        flex-direction: column;
    }
}

.explore-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.explore-grid li {
    flex: 1 1 240px;
}

.explore-link {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
}

.explore-link:hover {
    color: var(--terra);
}

.explore-arrow {
    color: var(--terra);
}

@media (max-width: 768px) {
    .timeline-period {
        flex-basis: 100%;
    }
}

/* Home highlights */
.highlight-hero {
    background: #F3DDD5;
    color: var(--terra);
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
}

/* Home */
.hero-wide {
    flex-basis: 520px;
}

.home-lead {
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 620px;
}

.home-text {
    margin: 0 0 32px;
    font-size: 16px;
    color: var(--muted);
    max-width: 620px;
}

.hero-subtitle {
    font-family: 'Newsreader', Georgia, serif;
    font-style: italic;
    font-size: 26px;
    line-height: 1.3;
    color: var(--teal);
    margin-bottom: 24px;
}

.profile-card-hero {
    flex: 1 1 440px;
    min-width: 0;
}

.profile-photo-sm {
    flex-basis: 200px;
}

.credentials {
    background: var(--card);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.credentials-grid {
    padding-top: 32px;
    padding-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.cred-item {
    flex: 1 1 200px;
    min-width: 0;
    border-left: 1px solid var(--line);
    padding: 4px 0 4px 20px;
}

.cred-name {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 26px;
    line-height: 1.2;
    color: var(--teal);
}

.cred-meta {
    font-size: 14px;
    color: var(--muted);
}

/* Eyebrow tags */
.eyebrow-tag {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid;
}

.eyebrow-tag--teal {
    color: var(--teal);
    background: #E3ECEA;
    border-color: #B9CDC9;
}

.eyebrow-tag--neutral {
    color: var(--ink);
    background: #ECE8DD;
    border-color: var(--line);
}

/* Figures band */
.figures-band {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px;
}

.figures-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.figure-item {
    flex: 1 1 220px;
    min-width: 0;
    border-top: 4px solid var(--terra);
    padding-top: 16px;
}

.figure-number {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 500;
    font-size: 64px;
    line-height: 1;
    color: var(--ink);
}

.figure-label {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

@media (max-width: 768px) {
    .figure-number {
        font-size: 48px;
    }
}

@media (max-width: 640px) {
    .figures-band {
        padding: 48px 20px;
    }
}

@media (max-width: 390px) {
    .figures-band {
        padding: 48px 16px;
    }
}

.cluster-title-lg {
    font-size: 26px;
    line-height: 1.2;
}

.cluster-title-sm {
    font-size: 21px;
}

.cluster-card-tight {
    gap: 8px;
}

.card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    margin-top: auto;
    padding-top: 8px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--teal);
}

.text-link:hover {
    color: var(--terra);
}

.grid-mb-32 {
    margin-bottom: 32px;
}

.grid-mb-24 {
    margin-bottom: 24px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.skill-col {
    flex: 1 1 280px;
    min-width: 0;
}

.skill-head {
    padding-top: 16px;
}

.skill-head-teal {
    border-top: 4px solid var(--teal);
}

.skill-head-ink {
    border-top: 4px solid var(--ink);
}

.skill-head-terra {
    border-top: 4px solid var(--terra);
}

.skill-title {
    margin: 0 0 12px;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 23px;
    color: var(--ink);
}

.skill-list {
    list-style: none;
    font-size: 15px;
    color: var(--ink-soft);
}

.skill-list li {
    padding: 8px 0;
    border-top: 1px solid var(--line);
}

.lang-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    align-items: center;
}

.lang-label {
    font-size: 14px;
    font-weight: 600;
    margin-right: 8px;
}

.pill-white {
    background: #FFFFFF;
}

.timeline-period-sm {
    flex-basis: 90px;
}

.timeline-body-wide {
    flex-basis: 360px;
}

.row-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: var(--teal);
}

.row-link:hover {
    color: var(--terra);
}

.section-foot {
    margin-top: 24px;
}

.card-date {
    font-size: 14px;
    color: var(--terra);
    font-weight: 600;
}

/* News home cards */
.news-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-home-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--ink);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-home-card:hover {
    box-shadow: 0 4px 12px rgba(20, 32, 43, 0.08);
    transform: translateY(-2px);
}

.news-home-card:hover .news-home-title {
    color: var(--terra);
}

.news-home-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #ECE8DD;
}

.news-home-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-home-date-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--terra);
    color: var(--paper);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.news-home-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-home-type {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}

.news-home-title {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25;
    color: var(--ink);
    margin: 0;
}

.news-home-text {
    font-size: 15px;
    color: var(--ink-soft);
    margin: 0;
    flex: 1;
}

.news-home-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--teal);
    margin-top: auto;
    padding-top: 8px;
}

.news-home-card:hover .news-home-link {
    color: var(--terra);
}

@media (max-width: 968px) {
    .news-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .news-home-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Latest news strip */
.tk {
    background: var(--card);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: stretch;
}

.tk-label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: var(--ink);
    color: var(--paper);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}

.tk-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.tk-track {
    display: inline-flex;
    white-space: nowrap;
    animation: tk-scroll 60s linear infinite;
}

.tk:hover .tk-track,
.tk:focus-within .tk-track {
    animation-play-state: paused;
}

@keyframes tk-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.tk-item {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-right: 48px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--ink);
    font-size: 15px;
}

.tk-photo {
    display: block;
    width: 56px;
    height: 42px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-right: 4px;
}

.tk-item:hover .tk-title {
    color: var(--terra);
}

.tk-item:focus-visible {
    outline-offset: -2px;
}

.tk-date {
    color: var(--terra);
    font-weight: 600;
}

.tk-type {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.tk-title {
    font-weight: 500;
}

.tk-all {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: var(--teal);
    border-left: 1px solid var(--line);
    background: var(--card);
}

.tk-all:hover {
    color: var(--terra);
}

@media (prefers-reduced-motion: reduce) {
    .tk-track {
        animation: none;
    }
    .tk-viewport {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .tk-label {
        padding: 16px;
    }
    .tk-all {
        display: none;
    }
}
