/*
Theme Name: D.A. Twum Jnr. Fellowship
Theme URI: https://datwumfellowship.org
Author: Ramic Digital Solutions
Author URI: https://ramicconsult.com
Description: Official WordPress theme for the D.A. Twum Jnr. Fellowship — a 3-month creative industry fellowship programme in Accra, Ghana.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: datwum-fellowship
Tags: fellowship, education, ghana, creative-industry
*/
/* ============================================================
   CUSTOM FONTS — self-hosted variable fonts
   Lexend : all text including headings
   Lexend         : body text, UI, buttons, labels
   Geologica      : supporting text, captions, mono-style labels
   ============================================================ */
@font-face {
    font-family: 'Lexend';
    src: url('fonts/FunnelDisplay-VariableFont.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('fonts/Lexend-VariableFont.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geologica';
    src: url('fonts/Geologica-VariableFont.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}



/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --green-dark:    #0d3320;
    --green-mid:     #1a4731;
    --green-light:   #1f5238;
    --gold:          #c9a84c;
    --gold-dark:     #a8893a;
    --white:         #ffffff;
    --off-white:     #f5f3ee;
    --text-body:     #e8e4db;
    --text-dark:     #0d3320;
    --border-light:  rgba(255,255,255,0.12);
    --font-display:  'Lexend', sans-serif;   /* Headers — bold weight */
    --font-body:     'Lexend', sans-serif;   /* Body — regular/medium */
    --font-mono:     'Lexend', sans-serif;   /* Supporting text */
    --max-width:     1280px;
    --section-pad:   100px;
    --nav-height:    80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* prevent any element causing page-wide horizontal scroll */
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background: var(--green-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* belt and braces — no horizontal scroll on body */
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 700;
}

.display-xl  { font-size: clamp(3rem, 6vw, 6rem); font-family: 'Lexend', sans-serif !important; font-weight: 900; }
.display-lg  { font-size: clamp(2rem, 4vw, 3.5rem); font-family: 'Lexend', sans-serif !important; }
.display-md  { font-size: clamp(1.5rem, 3vw, 2.5rem); font-family: 'Lexend', sans-serif !important; }
.label-sm    { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.label-md    { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.body-sm     { font-size: 0.9rem; line-height: 1.7; }
.body-md     { font-size: 1rem; line-height: 1.75; }
.body-lg     { font-size: 1.125rem; line-height: 1.8; }

.text-gold   { color: var(--gold); }
.text-white  { color: var(--white); }
.text-dark   { color: var(--text-dark); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.section { padding: var(--section-pad) 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 140px 0; }

.bg-dark  { background: var(--green-dark); }
.bg-mid   { background: var(--green-mid); }
.bg-white { background: var(--white); color: var(--text-dark); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

/* ============================================================
   SIGNATURE DIVIDER — dashed green + gold pattern
   ============================================================ */
.divider-dashed {
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--gold)      0px,
        var(--gold)      18px,
        var(--green-mid) 18px,
        var(--green-mid) 22px,
        var(--gold)      22px,
        var(--gold)      28px,
        transparent      28px,
        transparent      32px,
        var(--green-mid) 32px,
        var(--green-mid) 50px,
        transparent      50px,
        transparent      54px
    );
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: var(--green-dark);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-dark {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}
.btn-dark:hover {
    background: var(--green-mid);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--green-dark);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--green-dark);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}
.btn-outline-dark:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--green-dark);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s ease;
}

#site-header.scrolled {
    background: rgba(13, 51, 32, 0.97);
    backdrop-filter: blur(12px);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img,
.nav-logo .custom-logo {
    height: 52px; /* default — overridden by Customizer logo size slider */
    width: auto;
    max-width: none;
    display: block;
    object-fit: contain;
    transition: height 0.2s ease;
}

.nav-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu .btn-primary {
    padding: 10px 24px;
    font-size: 0.78rem;
    border-radius: 0;
}
.nav-menu .btn-primary::after { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
    z-index: 1001;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* ============================================================
   PAGE HERO — shared across pages
   ============================================================ */
.page-hero {
    position: relative;
    min-height: 450px;
    max-height: 450px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: var(--nav-height);
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
}

.page-hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 51, 32, 0.55) 0%,
        rgba(13, 51, 32, 0.78) 100%
    );
}

/* ============================================================
   HOME PAGE HERO
   ============================================================ */
.home-hero {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: var(--nav-height);
    width: 100%;
    box-sizing: border-box;
}

.home-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.home-hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(13, 51, 32, 0.82) 0%,
        rgba(13, 51, 32, 0.55) 55%,
        rgba(13, 51, 32, 0.3) 100%
    );
}

.home-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 40px 52px;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: end; /* bottom of stats box lines up with buttons */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.2);
    border: 1px solid var(--gold);
    padding: 5px 14px;
    margin-bottom: 16px;
}

.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
}

.hero-badge span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-family: 'Lexend', sans-serif !important;
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.5;
}

.hero-body {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.75;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.hero-ctas .btn {
    padding: 12px 22px;
    font-size: 0.72rem;
    white-space: nowrap;
}

.hero-stats {
    background: rgba(10, 38, 22, 0.88);
    border: 1px solid rgba(201, 168, 76, 0.5);
    backdrop-filter: blur(16px);
    min-width: 300px;
    align-self: end;
}

.hero-stat-item {
    padding: 20px 28px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.35);
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 20px;
}

.hero-stat-item:last-child { border-bottom: none; }

.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2px;
    display: block;
}

.stat-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.45;
}

/* Ticker bar */
.ticker-bar {
    background: var(--gold);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-dark);
}

.ticker-item::after {
    content: '●';
    font-size: 0.5rem;
    opacity: 0.6;
}

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

/* ============================================================
   OVERVIEW CARDS (Home page section 2)
   ============================================================ */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.overview-card {
    padding: 48px 40px;
    border: 1px solid transparent;
    position: relative;
}

.overview-card:first-child {
    background: var(--green-mid);
    border-color: var(--gold);
    color: var(--white);
}

.overview-card:not(:first-child) {
    background: var(--white);
    color: var(--text-dark);
}

.overview-card-title {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid currentColor;
    opacity: 0.9;
}

.overview-card-body {
    font-size: 0.92rem;
    line-height: 1.75;
    opacity: 0.85;
}

/* ============================================================
   WHAT FELLOWS GAIN
   ============================================================ */
.fellows-gain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

.fellows-gain-image {
    position: relative;
    overflow: hidden;
}

.fellows-gain-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.fellows-gain-content {
    padding: 80px 60px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 40px;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.pillar-item {
    padding: 32px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    border-right: 1px solid rgba(201, 168, 76, 0.2);
}

.pillar-item:nth-child(even) { border-right: none; }
.pillar-item:nth-child(3),
.pillar-item:nth-child(4) { border-bottom: none; }

.pillar-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    fill: var(--gold);
}

.pillar-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* ============================================================
   PROGRAM TIMELINE (Home teaser)
   ============================================================ */
.timeline-hero {
    position: relative;
    padding: 120px 0;
}

.timeline-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.timeline-hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 51, 32, 0.82);
}

.timeline-hero .container { position: relative; z-index: 2; }

.timeline-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.timeline-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.timeline-label span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
}

.month-card {
    background: rgba(201, 168, 76, 0.72);
    backdrop-filter: blur(8px);
    padding: 48px 40px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    position: relative;
    overflow: hidden;
}

.month-card::before {
    content: attr(data-roman);
    position: absolute;
    top: 0; right: 0;
    font-family: var(--font-display);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    transform: translate(10px, -20px);
    pointer-events: none;
}

.month-numeral {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.month-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 8px;
}

.month-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.month-body {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
}

.timeline-cta {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* ============================================================
   CTA BAND (Home — Ready to Begin)
   ============================================================ */
.cta-band {
    padding: 120px 0;
    text-align: center;
    background: var(--white);
}

.cta-band h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: 'Lexend', sans-serif !important;
    color: var(--green-dark);
    margin-bottom: 16px;
}

.cta-band p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-mid);
    margin-bottom: 48px;
}

.cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background: var(--green-dark);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-light);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img,
.footer-logo .custom-logo { height: 70px; width: auto; max-width: 200px; object-fit: contain; }

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}

.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

.footer-initiative {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.1em;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.legacy-section {
    padding: 100px 0;
    background: var(--green-dark);
}

.legacy-header {
    text-align: center;
    margin-bottom: 80px;
}

.legacy-header .gold-label {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.bio-photo {
    position: relative;
}

.bio-photo img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.bio-photo::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    z-index: -1;
}

.bio-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 8px;
}

.bio-tagline {
    font-size: 1rem;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
}

.bio-text-section {
    margin-bottom: 28px;
}

.bio-text-section h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.bio-text-section p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
}

.ninani-band {
    background: var(--white);
    padding: 60px 80px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    border-top: 4px solid var(--gold);
    border-bottom: 4px solid var(--gold);
    margin: 0 -40px;
}

.ninani-band h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--green-dark);
}

.ninani-band p {
    font-size: 0.92rem;
    color: rgba(13, 51, 32, 0.72);
    line-height: 1.8;
}

/* People slider */
.people-section { padding: 100px 0; }

.people-section h2 {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 60px;
    line-height: 1.2;
}

.people-slider {
    position: relative;
}

.people-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.person-card {
    display: flex;
    flex-direction: column;
}

.person-photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.person-info {
    background: var(--white);
    color: var(--text-dark);
    padding: 20px 24px;
}

.person-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.person-role {
    font-size: 0.78rem;
    color: rgba(13, 51, 32, 0.55);
}

.person-bio-card {
    background: var(--green-mid);
    padding: 24px;
    flex: 1;
    border: 1px solid var(--border-light);
}

.person-bio-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.person-linkedin {
    background: var(--white);
    padding: 14px 24px;
    display: flex;
    align-items: center;
}

.person-linkedin a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--green-dark);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    transition: background 0.2s;
}

.person-linkedin a:hover { background: var(--gold); color: var(--green-dark); }

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    color: var(--green-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
    z-index: 5;
}

.slider-btn:hover { background: var(--gold); }
.slider-btn.prev { left: -64px; }
.slider-btn.next { right: -64px; }

/* Green people section */
.people-section-dark {
    background: var(--green-mid);
}

.people-section-white {
    background: var(--white);
}

.people-section-white h2 { color: var(--text-dark); }
.people-section-white .person-info { background: var(--green-dark); color: var(--white); }
.people-section-white .person-name { color: var(--white); }
.people-section-white .person-role { color: rgba(255,255,255,0.55); }
.people-section-white .person-linkedin { background: var(--green-dark); }

/* ============================================================
   PROGRAM PAGE
   ============================================================ */
.program-intro {
    padding: 80px 0;
    background: var(--green-dark);
}

.program-intro h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.program-intro h2 em {
    color: var(--gold);
    font-style: normal;
}

.months-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 48px;
}

.months-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}

.months-table tr:hover { background: rgba(255,255,255,0.03); }

.months-table td {
    padding: 40px;
    vertical-align: top;
}

.months-table .col-month {
    width: 160px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    padding-right: 20px;
}

.months-table .col-title {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
}

.months-table .col-body {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
}

.months-table .col-image {
    width: 160px;
}

.months-table .col-image img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.fellows-gain-band {
    border: 1px solid var(--gold);
    padding: 60px 80px;
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.fellows-gain-band h3 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.gain-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gain-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
}

.gain-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    flex-shrink: 0;
    transform: rotate(45deg);
}

/* Awards section */
.awards-section {
    background: var(--white);
    padding: 100px 0;
    color: var(--text-dark);
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

.awards-col {
    padding: 48px 40px;
    border-right: 1px solid rgba(13, 51, 32, 0.1);
}

.awards-col:last-child { border-right: none; background: var(--green-dark); color: var(--white); }

.awards-col h3 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: inherit;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gold);
}

/* Who Can Apply table */
.eligibility-section {
    padding: 100px 0;
    background: var(--green-dark);
}

.eligibility-table {
    margin-top: 48px;
    border: 1px solid rgba(255,255,255,0.1);
}

.elig-row {
    display: grid;
    grid-template-columns: 220px 1fr 200px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.elig-row:last-child { border-bottom: none; }

.elig-category {
    padding: 40px 32px;
    background: rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: flex-start;
}

.elig-category span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.elig-content {
    padding: 40px 40px 40px 40px;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.elig-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    margin-bottom: 12px;
}

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

.elig-image {
    overflow: hidden;
}

.elig-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    filter: saturate(0.7) sepia(0.3);
    mix-blend-mode: luminosity;
}

/* Selection box */
.selection-box {
    border: 1px solid var(--gold);
    padding: 60px;
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.selection-left {
    background: var(--white);
    padding: 40px;
    color: var(--text-dark);
}

.selection-left h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.selection-criteria {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.selection-criteria li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: rgba(13, 51, 32, 0.8);
}

.selection-criteria li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green-dark);
    flex-shrink: 0;
    transform: rotate(45deg);
}

.selection-right h3 {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.selection-right p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ============================================================
   APPLY PAGE
   ============================================================ */
.apply-intro {
    padding: 80px 0 60px;
    background: var(--green-dark);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 48px;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.track-card {
    padding: 40px 32px;
    border-right: 1px solid rgba(201, 168, 76, 0.3);
}

.track-card:last-child { border-right: none; }

.track-card h3 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.track-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.75;
}

/* Application form */
.application-form-section {
    background: var(--white);
    padding: 80px 0;
}

.form-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
}

.form-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(13, 51, 32, 0.15);
}

.form-section-head {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(13, 51, 32, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.full { grid-template-columns: 1fr; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.form-control {
    background: var(--green-dark);
    color: rgba(255,255,255,0.8);
    border: none;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: background 0.2s;
    width: 100%;
}

.form-control::placeholder { color: rgba(255,255,255,0.4); }
.form-control:focus { background: var(--green-mid); }

select.form-control { appearance: none; cursor: pointer; }

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-upload {
    border: 2px dashed rgba(13, 51, 32, 0.25);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.form-upload:hover { border-color: var(--green-dark); }

.form-upload p {
    font-size: 0.85rem;
    color: rgba(13, 51, 32, 0.5);
}

.form-upload input[type="file"] { display: none; }

.form-divider {
    height: 1px;
    background: rgba(13, 51, 32, 0.1);
    margin: 40px 0;
}

.form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.form-checkbox-item {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.form-checkbox-item input[type="checkbox"],
.form-checkbox-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green-dark);
    cursor: pointer;
}

.form-checkbox-item span {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.availability-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.avail-step {
    background: var(--green-dark);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.avail-arrow {
    color: var(--green-dark);
    font-size: 1.2rem;
}

.form-commit {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 20px;
}

.commit-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.commit-option input { width: 20px; height: 20px; }
.commit-option span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.declaration-box {
    background: rgba(13, 51, 32, 0.05);
    border-left: 3px solid var(--green-dark);
    padding: 28px 32px;
    margin-bottom: 24px;
}

.declaration-box p {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.7;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ============================================================
   FELLOWS PAGE (placeholder)
   ============================================================ */
.fellows-page-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fellows-coming-soon {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    :root { --section-pad: 72px; }
    .container { padding: 0 24px; }
    .grid-3, .overview-cards, .months-grid, .tracks-grid { grid-template-columns: 1fr 1fr; }
    .fellows-gain, .bio-grid { grid-template-columns: 1fr; }
    .fellows-gain-image { display: none; }
    .bio-photo::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-grid > *:first-child { grid-column: 1 / -1; }
    /* Hero: on tablet show stats below the content in a compact row */
    .home-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }

    /* Show stats on tablet as a horizontal 3-column row */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        min-width: unset;
        width: 100%;
        align-self: auto;
    }

    .hero-stat-item {
        border-bottom: none;
        border-right: 1px solid rgba(201, 168, 76, 0.55);
        grid-template-columns: 1fr;
        padding: 14px 20px;
        gap: 4px;
    }

    .hero-stat-item:last-child { border-right: none; }
    .elig-row { grid-template-columns: 160px 1fr; }
    .elig-image { display: none; }
    .ninani-band { padding: 40px; margin: 0; }
    .selection-box { grid-template-columns: 1fr; }
    .awards-grid { grid-template-columns: 1fr; }
    .slider-btn.prev { left: 0; }
    .slider-btn.next { right: 0; }
}

@media (max-width: 768px) {
    :root { --section-pad: 56px; --nav-height: 64px; }

    /* NAV — keep everything within viewport width */
    #site-header { width: 100%; box-sizing: border-box; }

    .nav-inner {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-logo img,
    .nav-logo .custom-logo {
        max-height: 44px;
    }

    .nav-menu { display: none; }

    /* Hamburger — always visible, right edge of nav */
    .nav-toggle {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* Mobile menu dropdown */
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        width: 100%;
        background: var(--green-dark);
        padding: 32px 24px;
        gap: 24px;
        border-top: 1px solid var(--border-light);
        z-index: 999;
        box-sizing: border-box;
        align-items: center;
        text-align: center;
    }

    .nav-menu.open .btn-primary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* GENERAL LAYOUT */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .overview-cards, .months-grid, .tracks-grid { grid-template-columns: 1fr; }
    .people-track { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .fellows-gain-content { padding: 40px 24px; }
    .fellows-gain-band { grid-template-columns: 1fr; padding: 40px 24px; }
    .cta-btns { flex-direction: column; align-items: stretch; }
    .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }

    /* Hero on mobile — hide stats panel, stack content */
    .hero-stats { display: none !important; }

    .home-hero .hero-content {
        padding: 32px 20px 48px;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.72rem;
        box-sizing: border-box;
    }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .elig-row { grid-template-columns: 1fr; }
    .elig-category { padding: 20px 24px; }
    .months-table td { padding: 24px 16px; }
    .months-table .col-image { display: none; }
    .month-numeral { font-size: 1.8rem; }
    .availability-flow { flex-direction: column; align-items: flex-start; }
    .form-commit { flex-direction: column; gap: 16px; }

    /* Container — no overflow */
    .container, .container-narrow {
        padding: 0 20px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================================
   FELLOWS FAQ ACCORDION
   ============================================================ */
.fellows-faq-section {
    padding: 100px 0 80px;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-heading {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.2;
}

.faq-heading em {
    font-style: normal;
    color: var(--gold);
}

.faq-list {
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid rgba(201, 168, 76, 0.35);
}

.faq-item {
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.faq-trigger:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.5;
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--green-mid);
    border: 1px solid rgba(201, 168, 76, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: transform 0.3s ease, background 0.2s ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    background: var(--gold);
    color: var(--green-dark);
    border-color: var(--gold);
}

.faq-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-panel:not([hidden]) {
    max-height: 400px;
    opacity: 1;
}

/* When hidden attribute is present, fully collapse */
.faq-panel[hidden] {
    display: block !important; /* override [hidden] so CSS transition works */
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.faq-answer {
    padding: 4px 36px 28px 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-answer p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq-trigger {
        padding: 20px 20px;
    }
    .faq-answer {
        padding: 4px 20px 20px 20px;
    }
    .faq-question {
        font-size: 0.92rem;
    }
}

/* ============================================================
   PERSON CARDS — variant system
   pc--patron  : dark green bg, outlined card, white name bar
   pc--faculty : white bg, dark green name bar overlaid on photo
   pc--team    : dark green bg, white name bar, darker bio
   ============================================================ */

/* Shared structure */
.pc {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
}

.pc-image-wrap {
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

.pc-photo,
.pc-image-wrap img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.pc-photo--placeholder {
    background: var(--green-mid);
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-photo--placeholder span {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.15);
}

/* Bio text area */
.pc-body {
    flex: 1;
    padding: 24px 24px 16px;
}

.pc-body p {
    font-size: 0.86rem;
    line-height: 1.75;
}

.pc-body--white   { background: var(--white); }
.pc-body--white p { color: rgba(13, 51, 32, 0.72); }

.pc-body--mid     { background: var(--green-mid); }
.pc-body--mid p   { color: rgba(255,255,255,0.68); }

.pc-body--dark    { background: var(--green-mid); }
.pc-body--dark p  { color: rgba(255,255,255,0.68); }

/* LinkedIn footer row */
.pc-footer {
    padding: 16px 24px 20px;
    display: flex;
    align-items: center;
}

.pc-footer--white { background: var(--white); }
.pc-footer--mid   { background: var(--green-mid); }
.pc-footer--dark  { background: var(--green-mid); }

.pc-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid currentColor;
    transition: background 0.2s, color 0.2s;
}

.pc-footer--white .pc-linkedin {
    color: var(--green-dark);
    border-color: var(--green-dark);
}
.pc-footer--white .pc-linkedin:hover {
    background: var(--green-dark);
    color: var(--white);
}

.pc-footer--mid .pc-linkedin,
.pc-footer--dark .pc-linkedin {
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.pc-footer--mid .pc-linkedin:hover,
.pc-footer--dark .pc-linkedin:hover {
    background: var(--gold);
    color: var(--green-dark);
    border-color: var(--gold);
}

/* ── PATRON variant ─────────────────────────────────── */
.pc--patron {
    border-color: rgba(255,255,255,0.2);
}

.pc--patron .pc-info {
    background: var(--white);
    padding: 18px 24px;
}

.pc--patron .pc-info .pc-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.pc--patron .pc-info .pc-role {
    font-size: 0.78rem;
    color: rgba(13, 51, 32, 0.55);
}

/* ── FACULTY variant ────────────────────────────────── */
.pc--faculty {
    border-color: rgba(13, 51, 32, 0.12);
    background: var(--white);
}

/* Name bar sits as a block below the photo, dark green background */
.pc--faculty .pc-namebar {
    background: var(--green-mid);
    padding: 16px 20px;
}

.pc--faculty .pc-namebar .pc-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.pc--faculty .pc-namebar .pc-role {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
}

.pc--faculty .pc-body--white {
    border-left: 1px solid rgba(13, 51, 32, 0.1);
    border-right: 1px solid rgba(13, 51, 32, 0.1);
}

.pc--faculty .pc-footer--white {
    border: 1px solid rgba(13, 51, 32, 0.1);
    border-top: none;
}

/* ── TEAM variant ───────────────────────────────────── */
.pc--team {
    border-color: rgba(255,255,255,0.18);
}

.pc--team .pc-info--light {
    background: var(--white);
    padding: 18px 24px;
}

.pc--team .pc-info--light .pc-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.pc--team .pc-info--light .pc-role {
    font-size: 0.78rem;
    color: rgba(13, 51, 32, 0.55);
}

/* ── SECTION WRAPPERS ───────────────────────────────── */
.people-section-v2 {
    padding: 80px 0;
    position: relative;
}

.people-section-v2 .section-heading {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 48px;
    line-height: 1.2;
}

/* Widen section container for 4-column grid */
.people-section-v2 .container {
    max-width: 1400px;
}

/* Patron & Team on dark green */
.people-section-v2.bg-dark  .section-heading { color: var(--white); }

/* Faculty on white */
.people-section-v2.bg-white .section-heading { color: var(--text-dark); }

/* Card grid */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

/* Slider nav buttons */
.pc-slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

/* Patron & Team: white circle on dark bg */
.bg-dark  .pc-slider-btn { background: var(--white); color: var(--green-dark); }
.bg-dark  .pc-slider-btn:hover { background: var(--gold); color: var(--green-dark); }

/* Faculty: dark circle on white bg */
.bg-white .pc-slider-btn { background: var(--green-dark); color: var(--white); }
.bg-white .pc-slider-btn:hover { background: var(--gold); color: var(--green-dark); }

.pc-slider-btn:disabled { opacity: 0.25; cursor: not-allowed; }

/* Slider wrapper — buttons sit beside the grid, always in flow */
.pc-slider-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-slider-wrap .pc-grid {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .people-section-v2 { padding: 48px 0; }

    /* Stack slider wrap vertically, no overflow */
    .pc-slider-wrap {
        flex-direction: column;
        gap: 0;
        width: 100%;
        overflow: hidden;
    }

    /* Hide arrow buttons on mobile */
    .pc-slider-btn { display: none !important; }

    /* Single column — full width, no overflow */
    .pc-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        width: 100%;
        overflow: hidden;
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* Each card full width */
    .pc-grid .pc {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        box-sizing: border-box;
    }

    /* Photo — landscape ratio on mobile */
    .pc-grid .pc .pc-photo,
    .pc-grid .pc .pc-image-wrap img,
    .pc-grid .pc .pc-photo--placeholder {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: top center;
    }

    /* All card sections fill width */
    .pc-grid .pc .pc-namebar,
    .pc-grid .pc .pc-info,
    .pc-grid .pc .pc-info--light,
    .pc-grid .pc .pc-body,
    .pc-grid .pc .pc-footer {
        width: 100%;
        box-sizing: border-box;
    }

    /* Show counter as page indicator */
    .pc-counter { display: block; margin-top: 16px; text-align: center; }

    /* Hide scroll hint */
    .pc-scroll-hint { display: none !important; }
}

/* ============================================================
   PROGRAM PAGE — YOUR WAY IN CTA BANNER
   ============================================================ */
.program-cta-banner {
    background: var(--green-dark);
    padding: 120px 40px;
    text-align: center;
}

.program-cta-heading {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 32px;
}

.program-cta-body {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    max-width: 780px;
    margin: 0 auto 48px;
}

.program-cta-banner .btn-outline-gold {
    padding: 16px 48px;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
}

@media (max-width: 768px) {
    .program-cta-banner { padding: 80px 24px; }
    .program-cta-body { font-size: 0.92rem; }
}

/* ============================================================
   PEOPLE SLIDER — counter + button visibility fixes
   ============================================================ */

/* Counter "1–3 of 6" */
.pc-counter {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    margin-top: 28px;
}

.bg-dark  .pc-counter { color: rgba(255,255,255,0.45); }
.bg-white .pc-counter { color: rgba(13, 51, 32, 0.45); }

/* Ensure cards in grid don't show more than 3 across */
.pc-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ============================================================
   ABOUT PAGE — MOBILE FIXES
   ============================================================ */
@media (max-width: 768px) {

    /* Bio section — stack photo above content */
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bio-photo::after { display: none; }

    .bio-name { font-size: 2rem; }

    /* Ninani band — stack columns */
    .ninani-band {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 16px;
        margin: 0;
    }

    /* People sections — full width heading */
    .people-section-v2 .section-heading {
        font-size: 0.75rem;
        margin-bottom: 32px;
    }

    /* Scroll hint — only show on mobile */
    .pc-scroll-hint {
        display: block;
    }
}

@media (min-width: 769px) {
    /* Hide scroll hint on desktop */
    .pc-scroll-hint { display: none; }
}

/* ============================================================
   PERSON CARD — READ MORE BUTTON & MODAL
   ============================================================ */

/* Read more button — sits inside the bio area */
.pc-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.pc-read-more:hover { opacity: 0.7; }

.pc-read-more--light { color: var(--gold); }
.pc-read-more--dark  { color: var(--green-dark); }

/* ── MODAL OVERLAY ── */
.pc-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pc-modal[hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Dark semi-transparent backdrop */
.pc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
}

/* Modal box */
.pc-modal-box {
    position: relative;
    background: var(--green-dark);
    border: 1px solid rgba(201, 168, 76, 0.35);
    max-width: 680px;
    width: calc(100vw - 40px);
    max-height: 85vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 1;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Close button */
.pc-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    padding: 4px 8px;
    transition: color 0.2s;
}
.pc-modal-close:hover { color: var(--white); }

.pc-modal-content {
    padding: 36px 44px 36px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
}

.pc-modal-name {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 6px;
    padding-right: 40px;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

.pc-modal-role {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    line-height: 1.5;
    word-break: normal;
}

.pc-modal-bio {
    flex: 1;
    overflow-y: auto;
}

.pc-modal-bio p + p {
    margin-top: 12px;
}

.pc-modal-bio p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: break-word;
    margin-bottom: 0;
}

.pc-modal-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.2s;
}

.pc-modal-linkedin:hover { opacity: 0.75; }

/* Lock body scroll when modal open */
body.modal-open {
    overflow: hidden;
}

/* ── MOBILE modal ── */
@media (max-width: 600px) {
    .pc-modal {
        padding: 12px;
    }

    .pc-modal-box {
        width: 100%;
        max-height: 88vh;
    }

    .pc-modal-content {
        padding: 28px 24px 28px;
    }

    .pc-modal-name { font-size: 1.3rem; }

    .pc-modal-role { font-size: 0.72rem; }

    .pc-modal-bio p { font-size: 0.88rem; }
}

/* ============================================================
   FULL-WIDTH LAYOUT FIX
   WordPress block editor injects max-width constraints and gray
   backgrounds on .entry-content, .wp-block-group etc.
   Our custom page templates need full bleed — override all of it.
   ============================================================ */

/* Remove gray background WordPress sometimes adds to body/main */
.tmpl-page-about,
.tmpl-page-program,
.tmpl-page-apply,
.tmpl-page-fellows,
.tmpl-front-page,
.tmpl-default {
    background: var(--green-dark);
}

/* Strip block editor layout constraints from all custom templates */
.tmpl-page-about .entry-content,
.tmpl-page-about .wp-block-group,
.tmpl-page-about .wp-block-group__inner-container,
.tmpl-page-program .entry-content,
.tmpl-page-apply .entry-content,
.tmpl-page-fellows .entry-content,
.tmpl-front-page .entry-content {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove any sidebar/content column layout WordPress might apply */
.tmpl-page-about #page,
.tmpl-page-about #content,
.tmpl-page-about #primary,
.tmpl-page-about .site-main,
.tmpl-page-program #page,
.tmpl-page-program #primary,
.tmpl-page-apply #primary,
.tmpl-page-fellows #primary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Block editor sometimes wraps content in a constrained layout group */
.wp-block-template-part,
.wp-site-blocks {
    padding: 0 !important;
}

/* Elementor full-width override */
.tmpl-page-about .elementor-section-boxed > .elementor-container {
    max-width: var(--max-width);
}

/* ============================================================
   HEADING SIZE CONSISTENCY — force all section label headings
   ============================================================ */

/* Catch-all for any uppercase section heading with gold color
   that might still be using the old small size */
.legacy-header .gold-label,
.people-section-v2 .section-heading,
.people-section h2,
.faq-header .faq-heading,
.ninani-band h3,
.program-intro h2,
.eligibility-section h2,
.awards-section .awards-col h3,
.fellows-faq-section .faq-header h2 {
    font-size: clamp(1.1rem, 2.2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.2;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Intro */
.contact-intro {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 80px;
}

.contact-intro-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.contact-intro-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-intro-body {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
}

/* Main grid */
.contact-main {
    padding-bottom: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

/* Detail blocks */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-detail-block {
    padding: 28px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.contact-detail-block:first-child {
    padding-top: 0;
}

.contact-block-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.contact-detail-link {
    font-size: 0.95rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}

.contact-detail-link:hover { color: var(--gold); }

.contact-detail-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
}

/* Social links */
.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-social-link:hover { color: var(--gold); }

.contact-social-link svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.contact-social-link:hover svg { opacity: 1; }

/* Contact form */
.contact-form-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.2);
    padding: 48px 44px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

.contact-input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
}

.contact-input::placeholder { color: rgba(255,255,255,0.3); }

.contact-input:focus {
    border-color: rgba(201,168,76,0.6);
    background: rgba(255,255,255,0.08);
}

textarea.contact-input { resize: vertical; min-height: 140px; }

select.contact-input { cursor: pointer; }

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .contact-intro { padding-bottom: 48px; }
    .contact-main  { padding-bottom: 72px; }
}

/* ============================================================
   FORCE FUNNEL DISPLAY ON ALL HEADINGS — highest specificity
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.hero-title, .bio-name, .bio-tagline,
.pc-modal-name, .contact-intro-heading,
.program-cta-heading, .cta-band h2,
.faq-heading, .people-section h2,
.people-section-v2 .section-heading,
.legacy-header .gold-label,
.display-xl, .display-lg, .display-md,
.timeline-hero h2, section h2, section h1, section h3,
.gallery-heading, .contact-intro-heading {
    font-family: 'Lexend', sans-serif !important;
}

/* ============================================================
   FACULTY SLIM SLIDER — horizontal, name + LinkedIn only
   ============================================================ */
.faculty-slim-section {
    background: var(--white);
    padding: 72px 0 80px;
}

.faculty-slim-section .container {
    padding-left: 40px;
    padding-right: 40px;
}

.faculty-slim-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    padding: 0; /* ensure within container edges */
    width: 100%;
}

.faculty-slim-header .section-heading {
    margin-bottom: 0;
    color: var(--text-dark) !important;
}

.faculty-cohort-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--green-mid);
    padding: 6px 16px;
}

/* Slider wrapper */
.fsc-slider-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
}

/* Track — horizontal flex */
.fsc-track {
    display: flex;
    gap: 16px;
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

/* Individual slim card */
.fsc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 calc(25% - 12px);
    min-width: 0;
    border: 1px solid rgba(13,51,32,0.1);
    background: var(--white);
    transition: border-color 0.2s;
}

.fsc-card:hover { border-color: var(--gold); }

.fsc-photo-wrap {
    width: 100%;
    overflow: hidden;
}

.fsc-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.fsc-photo--placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--green-mid);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fsc-photo--placeholder span {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.2);
}

.fsc-info {
    width: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--green-dark);
}

.fsc-name {
    font-family: 'Lexend', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    flex: 1;
}

.fsc-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.fsc-linkedin:hover {
    background: var(--gold);
    color: var(--green-dark);
}

/* Slider nav buttons */
.fsc-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background 0.2s;
}

.fsc-btn:hover { background: var(--gold); color: var(--green-dark); }
.fsc-btn:disabled { opacity: 0.25; cursor: not-allowed; }

/* Mobile — 2 columns */
@media (max-width: 768px) {
    .faculty-slim-section { padding: 48px 0; }

    .faculty-slim-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 32px;
    }

    .fsc-slider-wrap { flex-direction: column; gap: 0; }
    .fsc-btn { display: none; }

    .fsc-track {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        overflow: visible;
    }

    .fsc-card { flex: none; width: 100%; }
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.gallery-heading {
    font-family: 'Lexend', sans-serif !important;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
}

.gallery-intro-body {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* Gallery section */
.gallery-section {
    padding: 0 0 100px;
    background: var(--green-dark);
}

.gallery-content-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── WordPress default gallery block styles ── */
/* Ensure gallery images have consistent hover effect */
.gallery-content-wrap .wp-block-gallery {
    margin: 0;
}

.gallery-content-wrap .wp-block-gallery .wp-block-image img,
.gallery-content-wrap figure.gallery-item img,
.gallery-content-wrap .gallery-item img {
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
    width: 100%;
}

.gallery-content-wrap .wp-block-gallery .wp-block-image:hover img,
.gallery-content-wrap figure.gallery-item:hover img,
.gallery-content-wrap .gallery-item:hover img {
    transform: scale(1.03);
    filter: brightness(0.85);
}

/* Caption styling */
.gallery-content-wrap .wp-block-gallery figcaption,
.gallery-content-wrap .gallery-caption {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 6px 8px;
    background: rgba(0,0,0,0.4);
}

/* Legacy WP shortcode gallery */
.gallery-content-wrap .gallery {
    display: grid;
    gap: 12px;
    margin: 0 auto;
}
.gallery-content-wrap .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-content-wrap .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-content-wrap .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-content-wrap .gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-content-wrap .gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }

.gallery-content-wrap .gallery-item {
    overflow: hidden;
    margin: 0;
}

.gallery-content-wrap .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-content-wrap .gallery-item:hover img {
    transform: scale(1.04);
}

/* Empty state */
.gallery-empty {
    text-align: center;
    padding: 100px 0;
    color: rgba(255,255,255,0.35);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .gallery-content-wrap { padding: 0 16px; }
    .gallery-content-wrap .gallery-columns-4,
    .gallery-content-wrap .gallery-columns-5,
    .gallery-content-wrap .gallery-columns-6 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Lightbox ── */
#gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#gallery-lightbox[hidden] { display: none !important; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.94);
    cursor: pointer;
}

.lightbox-box {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.lightbox-img-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lightbox-img {
    max-height: 85vh;
    max-width: 100%;
    object-fit: contain;
    display: block;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }

.lightbox-nav {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.lightbox-nav:hover   { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.lightbox-nav:disabled{ opacity: 0.15; pointer-events: none; }

.lightbox-caption {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    min-height: 20px;
}

/* Responsive */
@media (max-width: 1100px) { .gallery-grid { columns: 4; } }
@media (max-width: 800px)  { .gallery-grid { columns: 3; } }
@media (max-width: 560px)  {
    .gallery-grid { columns: 2; column-gap: 8px; }
    .gallery-item { margin-bottom: 8px; }
    .lightbox-box { flex-direction: column; gap: 12px; }
    .lightbox-nav { width: 44px; height: 44px; }
    .lightbox-img { max-height: 65vh; }
}

/* Required field asterisk */
.req-star {
    color: var(--gold);
    font-weight: 700;
    margin-left: 2px;
}

/* ============================================================
   STATIC PEOPLE GRIDS — 4 columns, all cards visible, no slider
   ============================================================ */
.people-static-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Cards in static grid inherit full .pc styling — just need height */
.people-static-grid .pc {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.people-static-grid .pc-body {
    flex: 1;
}

/* Photo fixed height so cards align */
.people-static-grid .pc-image-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.people-static-grid .pc-photo,
.people-static-grid .pc-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Faculty slim static grid — same 4 columns */
.fsc-static-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) {
    .people-static-grid { grid-template-columns: repeat(3, 1fr); }
    .fsc-static-grid    { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .people-static-grid { grid-template-columns: repeat(2, 1fr); }
    .fsc-static-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .people-static-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .fsc-static-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Contact page FAQ section spacing */
.contact-faq-section {
    padding-top: 0;
    padding-bottom: 72px;
}

.contact-faq-section .faq-header {
    margin-bottom: 40px;
}

/* Bio modal — strip ALL WordPress paragraph spacing, control manually */
.pc-modal-bio * {
    margin: 0 !important;
    padding: 0 !important;
}

.pc-modal-bio p,
.pc-modal-bio .bio-para {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 12px !important;
}

.pc-modal-bio p:last-child,
.pc-modal-bio .bio-para:last-child {
    margin-bottom: 0 !important;
}

/* Kill WordPress injected blank paragraphs and excess br tags */
.pc-modal-bio p:empty,
.pc-modal-bio br {
    display: none !important;
}

/* Faculty slim card info bar */
.fsc-info {
    width: 100%;
    padding: 12px 16px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 8px;
    background: var(--green-dark);
}

/* Name spans full width on first row */
.fsc-name {
    grid-column: 1 / -1;
    grid-row: 1;
    font-family: var(--font-body) !important;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 6px;
}

/* Read Bio — second row left */
.fsc-read-bio {
    grid-column: 1;
    grid-row: 2;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    font-family: var(--font-body) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--gold) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-align: left;
    transition: opacity 0.2s;
    line-height: 1;
    display: inline-block;
    -webkit-appearance: none;
    appearance: none;
}
.fsc-read-bio:hover { opacity: 0.65; }

/* LinkedIn — second row right, aligned to bottom of name */
.fsc-linkedin {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}
