/* =========================================================
   YoungStars Hope Foundation-Africa — Design Tokens
   Palette: charcoal #2D221E, cream #FAF6F0, sand #EFE9E0,
            terracotta #D95D39, terracotta-dark #C94F2E, gold #F2A65E
   Type: Playfair Display (display) / Inter (body) / IBM Plex Mono (data)
   Signature: constellation of rising stars
   ========================================================= */

:root {
    --ink: #2D221E;
    --ink-soft: #3A2C25;
    --cream: #FAF6F0;
    --cream-deep: #EFE9E0;
    --terracotta: #D95D39;
    --terracotta-deep: #C94F2E;
    --gold: #F2A65E;
    --forest: #C94F2E;
    --text: #2D221E;
    --text-muted: rgba(45, 34, 30, 0.66);
    --on-dark: #FAF6F0;
    --on-dark-muted: rgba(250, 246, 240, 0.72);

    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-soft: 0 20px 50px rgba(45, 34, 30, 0.10);
    --shadow-lift: 0 24px 60px rgba(45, 34, 30, 0.16);
    --container-max: 1180px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ===== Reset / base ===== */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--ink); color: var(--on-dark); padding: 0.9rem 1.4rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== Shared type helpers ===== */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.eyebrow-light { color: var(--gold); }
.eyebrow.justify-center { display: flex; justify-content: center; }
.tag-dot {
    width: 26px; height: 1px; position: relative; background: currentColor; opacity: 0.5;
}
.tag-dot::after {
    content: ""; position: absolute; right: -3px; top: -2px; width: 5px; height: 5px;
    border-radius: 50%; background: currentColor; opacity: 1;
}
.section-title { font-size: 3rem; font-weight: 700; line-height: 1.15; }
.section-title .accent { color: var(--terracotta); font-style: italic; font-weight: 500; }
.section-sub { color: var(--text-muted); max-width: 620px; margin: 1rem auto 0; }
.lede { font-size: 1.25rem; color: var(--text-muted); margin-top: 1.2rem; max-width: 520px; }
.section-head { margin-bottom: 3rem; }

@media (max-width: 991.98px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
}

.pull-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink);
    border-left: 3px solid var(--terracotta);
    padding-left: 1.2rem;
    margin: 1.6rem 0;
}
.text-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-weight: 600; color: var(--terracotta); border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, gap 0.2s ease;
}
.text-link:hover { border-color: var(--terracotta); gap: 0.8rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
    padding: 0.95rem 2.1rem; border-radius: 999px; border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}
.btn-primary-warm {
    background: var(--terracotta); color: var(--cream);
    box-shadow: 0 12px 26px rgba(217, 93, 57, 0.32);
}
.btn-primary-warm:hover { background: var(--terracotta-deep); transform: translateY(-2px); color: var(--cream); }
.btn-outline-light { border-color: rgba(250, 246, 240, 0.5); color: var(--on-dark); }
.btn-outline-light:hover { background: rgba(250, 246, 240, 0.12); color: var(--on-dark); transform: translateY(-2px); }
.btn-outline-dark { border-color: rgba(45, 34, 30, 0.25); color: var(--ink); }
.btn-outline-dark:hover { background: rgba(45, 34, 30, 0.06); transform: translateY(-2px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* ===== Header ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(250, 246, 240, 0.0);
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    padding: 1.1rem 0;
}
.site-header.is-scrolled {
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 30px rgba(45, 34, 30, 0.08);
    padding: 0.6rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark { border-radius: 8px; }
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* space between the two lines */
}
.brand-name {
    font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--on-dark);
    transition: color 0.35s ease;
}
.brand-sub {
  font-family: var(--font-sans); /* switch to a clean sans-serif */
  font-size: 0.75rem;            /* slightly larger for legibility */
  letter-spacing: 0.05em;        /* reduce spacing for tighter clarity */
  color: var(--gold);            /* keep your gold color */
  font-weight: 500;              /* add medium weight for visibility */
  text-transform: uppercase;     /* retain uppercase styling */
}
.site-header.is-scrolled .brand-name { color: var(--ink); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--on-dark); transition: background 0.3s ease; }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
    font-size: 0.92rem; font-weight: 600; color: var(--on-dark-muted);
    transition: color 0.25s ease; position: relative; padding-bottom: 3px;
}
.site-header.is-scrolled .nav-link { color: var(--text-muted); }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.site-header.is-scrolled .nav-link:hover, .site-header.is-scrolled .nav-link.active { color: var(--terracotta); }
.nav-cta { margin-left: 0.4rem; }
.btn-donate {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--terracotta); color: var(--cream); border: none;
    font-weight: 700; font-size: 0.88rem; padding: 0.65rem 1.5rem; border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.btn-donate:hover { background: var(--terracotta-deep); transform: translateY(-2px); }

/* ===== Accordion Navigation — 3 grouped buttons ===== */
:root {
    --gap-major: 2.4rem; /* breathing room between the three accordion buttons */
}

.accordion-menu { gap: var(--gap-major); }
.accordion-item { position: relative; list-style: none; }

.accordion-toggle {
    display: flex; align-items: center; gap: 0.45rem;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
    color: var(--on-dark-muted); padding: 0.4rem 0.1rem;
    transition: color 0.25s ease;
}
.site-header.is-scrolled .accordion-toggle { color: var(--text-muted); }

.accordion-toggle i { font-size: 0.65rem; color: var(--gold); transition: transform 0.3s ease; }
.accordion-toggle:hover,
.accordion-item.open .accordion-toggle,
.accordion-item.has-active .accordion-toggle { color: var(--gold); }
.site-header.is-scrolled .accordion-toggle:hover,
.site-header.is-scrolled .accordion-item.open .accordion-toggle,
.site-header.is-scrolled .accordion-item.has-active .accordion-toggle { color: var(--terracotta); }
.accordion-item.open .accordion-toggle i { transform: rotate(180deg); }

.accordion-panel {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -8px);
    min-width: 190px; list-style: none; margin: 0; padding: 0.5rem;
    background: var(--cream); border-radius: var(--radius-md); box-shadow: var(--shadow-lift);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.accordion-item.open .accordion-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }

.accordion-panel .nav-link {
    display: block; padding: 0.55rem 0.8rem; border-radius: 8px;
    color: var(--text); font-size: 0.9rem; font-weight: 600;
}
.accordion-panel .nav-link:hover { background: var(--cream-deep); color: var(--terracotta); }
.accordion-panel .nav-link.active { background: rgba(217, 93, 57, 0.1); color: var(--terracotta); }

/* ===== Floating Donate button — detached, always visible ===== */
.btn-donate-float {
    position: fixed; bottom: 5.8rem; right: 1.8rem; z-index: 950;
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: var(--terracotta); color: var(--cream); border: none;
    font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
    padding: 0.85rem 1.7rem; border-radius: 999px;
    box-shadow: 0 14px 30px rgba(217, 93, 57, 0.38);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-donate-float:hover {
    background: var(--terracotta-deep); color: var(--cream);
    transform: translateY(-3px); box-shadow: 0 18px 36px rgba(217, 93, 57, 0.44);
}
.btn-donate-float i { font-size: 0.85rem; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden; background: var(--ink);
}
.hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0.4;
}
.hero-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(45, 34, 30, 0.94) 0%, rgba(45, 34, 30, 0.78) 45%, rgba(217, 93, 57, 0.35) 100%);
}
.hero-constellation {
    position: absolute; top: 0; right: -4%; width: min(48vw, 640px); height: auto; opacity: 0.85;
    pointer-events: none;
}
.hero-constellation .star { animation: twinkle 4.5s ease-in-out infinite; transform-origin: center; }
.hero-constellation .star:nth-child(2) { animation-delay: 0.6s; }
.hero-constellation .star:nth-child(3) { animation-delay: 1.4s; }
.hero-constellation .star:nth-child(4) { animation-delay: 2.1s; }
.hero-constellation .star:nth-child(5) { animation-delay: 0.9s; }
.hero-constellation .star:nth-child(6) { animation-delay: 1.8s; }
.hero-constellation .star:nth-child(7) { animation-delay: 0.3s; }
@keyframes twinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.35); }
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-title {
    font-size: 4.5rem; font-weight: 700; line-height: 1.1; color: var(--on-dark);
    margin-top: 0.4rem;
}
.hero-title em { color: var(--gold); font-style: italic; font-weight: 500; }
.hero-lead { font-size: 1.25rem; color: var(--on-dark-muted); max-width: 520px; margin-top: 1.4rem; }
.hero-facts {
    display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2.6rem;
    font-family: var(--font-mono); font-size: 0.82rem; color: var(--on-dark-muted);
}
.hero-facts i { color: var(--gold); margin-right: 0.45rem; }

.scroll-cue {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    text-align: center; color: var(--on-dark-muted); z-index: 2;
}
.scroll-cue span { display: block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; }
.scroll-cue i { display: block; margin-top: 0.4rem; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ===== About brief ===== */
.about-brief { padding: 7rem 0; background: var(--cream); }
.stat-cluster {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; padding: 1.5rem;
}
.stat-cluster-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.stat-tile {
    position: relative; z-index: 1; background: #fff; border-radius: var(--radius-md);
    padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow-soft);
    border: 1px solid rgba(217, 93, 57, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.stat-tile i { font-size: 1.6rem; color: var(--terracotta); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--ink); margin-top: 0.6rem; }
.stat-label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ===== Programs teaser ===== */
.programs-teaser { padding: 6rem 0; background: var(--cream-deep); }
.program-card {
    display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius-md);
    padding: 2.2rem 1.7rem; box-shadow: var(--shadow-soft); border: 1px solid rgba(217, 93, 57, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(217, 93, 57, 0.28); }
.program-icon {
    width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--terracotta); color: var(--terracotta); font-size: 1.3rem; margin-bottom: 1.3rem;
}
.program-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.6rem; }
.program-card p { color: var(--text-muted); font-size: 0.92rem; flex-grow: 1; }
.card-link {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.3rem;
    font-weight: 700; font-size: 0.85rem; color: var(--terracotta);
}

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Impact band ===== */
.impact-band { background: var(--ink); padding: 5rem 0; text-align: center; }
.impact-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.impact-item { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.impact-num { font-family: var(--font-mono); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 500; color: var(--gold); }
.impact-label { font-size: 0.82rem; color: var(--on-dark-muted); margin-top: 0.3rem; }
.impact-dots {
    width: 46px; height: 1px; background-image: radial-gradient(circle, rgba(242, 166, 94, 0.55) 1.5px, transparent 1.5px);
    background-size: 8px 1px; background-repeat: repeat-x;
}

/* ===== CTA / Contact ===== */
.cta-section { padding: 7rem 0; background: var(--cream); }
.contact-card {
    background: #fff; border-radius: var(--radius-md); padding: 2.4rem; box-shadow: var(--shadow-soft);
    border: 1px solid rgba(217, 93, 57, 0.08);
}
.contact-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.2rem; }
.contact-card p { margin-bottom: 0.85rem; color: var(--text-muted); font-size: 0.95rem; }
.contact-card i { color: var(--terracotta); width: 22px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 4.5rem 0 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand img { border-radius: 8px; }
.footer-name { display: block; font-family: var(--font-display); font-weight: 700; color: var(--on-dark); font-size: 1.05rem; }
.footer-sub { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }
.footer-blurb { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.social-links { display: flex; gap: 0.8rem; margin-top: 1.3rem; }
.social-links a {
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(250, 246, 240, 0.08); color: var(--on-dark-muted); transition: background 0.2s ease, color 0.2s ease;
}
.social-links a:hover { background: var(--terracotta); color: var(--cream); }
.site-footer h4 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.site-footer li { margin-bottom: 0.7rem; }
.site-footer ul a { color: var(--on-dark-muted); transition: color 0.2s ease; }
.site-footer ul a:hover { color: var(--gold); }
.footer-contact i { color: var(--terracotta); margin-right: 0.5rem; width: 16px; }
.site-footer hr { border-color: rgba(250, 246, 240, 0.12); margin: 2.4rem 0 1.6rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; font-size: 0.82rem; }
.footer-bottom a { margin-left: 1.1rem; color: var(--on-dark-muted); }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--gold); }

/* ===== Donation modal ===== */
.donation-modal-content { border-radius: var(--radius-lg); border: none; background: var(--cream); }
.donation-modal-content .modal-title {
    font-family: var(--font-display); font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 0.6rem;
}
.donation-modal-content .modal-title i { color: var(--terracotta); }
.modal-intro { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.4rem; }
.form-label { font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.form-control, .input-group-text {
    background: #fff; border: 1px solid rgba(45, 34, 30, 0.15); color: var(--text); border-radius: var(--radius-sm);
}
.form-control:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(217, 93, 57, 0.14); }
.required { color: var(--terracotta); }
/* ===== Form status (success / error) ===== */
.form-status { display: block; margin-top: 0.85rem; font-weight: 600; font-size: 0.95rem; padding: 0.5rem 0.75rem; border-radius: 10px; }
.form-status.form-status-center, .form-status-center { text-align: center; }
.form-status.success, .form-status.form-status-success, .form-status.is-success {
    color: #1b5e20; background: rgba(27,94,32,0.06); border: 1px solid rgba(27,94,32,0.12);
}
.form-status.error, .form-status.form-status-error, .form-status.is-error {
    color: #7f1d1d; background: rgba(127,29,29,0.05); border: 1px solid rgba(127,29,29,0.12);
}
.form-status[role="status"] { line-height: 1.3; }
.amount-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.amount-btn {
    border: 1.5px solid rgba(45, 34, 30, 0.18); background: #fff; color: var(--text);
    padding: 0.55rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
    transition: all 0.2s ease;
}
.amount-btn:hover { border-color: var(--terracotta); }
.amount-btn.is-active { background: var(--terracotta); border-color: var(--terracotta); color: var(--cream); }
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.donation-status { margin-top: 1rem; text-align: center; font-size: 0.92rem; min-height: 1.2rem; }
.donation-status.success { color: var(--forest); }
.donation-status.error { color: var(--terracotta-deep); }
.modal-fallback { text-align: center; color: var(--text-muted); font-size: 0.82rem; margin-bottom: 0; }
.modal-fallback i { color: var(--terracotta); margin-right: 0.35rem; }
.is-invalid { border-color: var(--terracotta-deep) !important; }
.is-invalid ~ .invalid-feedback { display: block; }

/* ===== Back to top ===== */
.back-to-top {
    position: fixed; bottom: 1.8rem; right: 1.8rem; width: 48px; height: 48px; border-radius: 50%;
    background: var(--ink); color: var(--gold); border: none; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 900; box-shadow: 0 12px 26px rgba(45, 34, 30, 0.25);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--terracotta); color: var(--cream); }

/* ===== Page banner (inner pages) ===== */
.page-banner {
    position: relative; min-height: 62vh; display: flex; align-items: flex-end;
    overflow: hidden; background: var(--ink); padding: 8rem 0 4.5rem;
}
.page-banner .hero-bg { opacity: 0.35; }
.banner-constellation { top: auto; bottom: -6%; right: -6%; width: min(46vw, 560px); opacity: 0.7; }
.banner-inner { position: relative; z-index: 2; max-width: 700px; }
.breadcrumb {
    font-family: var(--font-mono); font-size: 0.78rem; color: var(--on-dark-muted);
    margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.5rem;
}
.breadcrumb a { color: var(--on-dark-muted); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: 0.5; }
.page-title {
    font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.1; color: var(--on-dark);
}
.page-title em { color: var(--gold); font-style: italic; font-weight: 500; }

/* ===== Read more button on teaser cards ===== */
.read-more-btn {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.3rem;
    font-weight: 700; font-size: 0.85rem; color: var(--terracotta);
    border-bottom: 1px solid rgba(217, 93, 57, 0.35); padding-bottom: 2px;
    transition: gap 0.2s ease, border-color 0.2s ease;
}
.read-more-btn:hover { gap: 0.8rem; border-color: var(--terracotta); }

/* ===== Program detail sections ===== */
.program-detail {
    padding: 6.5rem 0; background: var(--cream); scroll-margin-top: 100px;
}
.program-detail.alt { background: var(--cream-deep); }
.detail-media {
    position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift);
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.detail-badge {
    position: absolute; left: 1.4rem; bottom: 1.4rem;
    background: rgba(45, 34, 30, 0.82); color: var(--on-dark);
    font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em;
    padding: 0.6rem 1.1rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.5rem;
    backdrop-filter: blur(4px);
}
.detail-badge i { color: var(--gold); }
.detail-body { color: var(--text-muted); margin-top: 1.1rem; max-width: 540px; }
.detail-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.detail-list li {
    display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.75rem;
    color: var(--text); font-size: 0.96rem;
}
.detail-list i { color: var(--forest); margin-top: 0.28rem; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.2rem; }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .nav-toggle { display: flex; }
    .navbar-collapse {
        background: var(--cream); margin-top: 1rem; border-radius: var(--radius-md); padding: 1.2rem 1.5rem;
        box-shadow: var(--shadow-soft);
    }
    .nav-links { flex-direction: column; align-items: flex-start; gap: 0.9rem; width: 100%; }
    .nav-link { color: var(--text); }
    .nav-cta { width: 100%; }
    .btn-donate { width: 100%; justify-content: center; }
    .hero-constellation { width: 70vw; opacity: 0.5; }
    .stat-cluster { grid-template-columns: 1fr 1fr; }

    /* Accordion menu stacks vertically inside the mobile drawer */
    .accordion-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .accordion-item { border-bottom: 1px solid rgba(45, 34, 30, 0.08); }
    .accordion-item:last-child { border-bottom: none; }
    .accordion-toggle { width: 100%; justify-content: space-between; padding: 0.9rem 0.1rem; color: var(--text); }
    .accordion-item.has-active .accordion-toggle { color: var(--terracotta); }

    .accordion-panel {
        position: static; transform: none; max-height: 0; overflow: hidden;
        opacity: 1; visibility: visible; pointer-events: auto;
        background: transparent; box-shadow: none; padding: 0 0 0 0.6rem;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    .accordion-item.open .accordion-panel { max-height: 260px; padding: 0.2rem 0 0.7rem 0.6rem; }
    .accordion-panel .nav-link { color: var(--text); }

    /* Floating Donate button tucks in closer on small screens */
    .btn-donate-float { bottom: 1.4rem; right: 1.4rem; padding: 0.7rem 1.3rem; font-size: 0.85rem; }
}

@media (max-width: 767.98px) {
    .about-brief, .programs-teaser, .cta-section { padding: 4.5rem 0; }
    .impact-band { padding: 3.5rem 0; }
    .impact-row { gap: 1rem; }
    .impact-dots { display: none; }
    .hero { min-height: 92vh; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
    .page-banner { min-height: 46vh; padding: 7rem 0 3rem; align-items: center; }
    .program-detail { padding: 4rem 0; }
    .detail-actions { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
}

@media (max-width: 575.98px) {
    .container { padding: 0 1.1rem; }
    .stat-cluster { grid-template-columns: 1fr; }
    .hero-facts { gap: 1rem; }
}
/* =========================================================
   ABOUT PAGE ADDITIONS — append this whole block to the end
   of your existing main.min.css (nothing here redefines or
   overrides your current rules; it only adds new classes
   used by about.html).

   Requires these tokens to already exist in :root (they were
   part of the shared design system used by index/programs):
   --ink, --cream, --cream-deep, --terracotta, --gold, --on-dark,
   --on-dark-muted, --text-muted, --radius-md, --radius-lg,
   --shadow-soft, --shadow-lift, --font-display
   If your main.min.css doesn't have those yet, ask and I'll
   give you the token block too.
   ========================================================= */

/* ===== About page banner background (kept out of inline style for CSP) ===== */
.banner-bg-about {
    background-image: url('https://images.unsplash.com/photo-1548102249-acdce64fffbd?auto=format&fit=crop&w=1920&q=80');
}

/* ===== Feature chips (Who We Are) ===== */
.feature-chips { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; }
.feature-chip { display: flex; align-items: center; gap: 0.9rem; }
.feature-chip-icon {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(217, 93, 57, 0.1); color: var(--terracotta); font-size: 1.05rem;
}
.feature-chip h6 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin: 0; }
.feature-chip small { color: var(--text-muted); font-size: 0.82rem; }

/* ===== About media + floating stat card ===== */
.about-media-wrap { position: relative; }
.about-media-wrap img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
}
.floating-stat-card {
    position: absolute; left: -1.2rem; bottom: -1.6rem; right: -1.2rem;
    margin: 0 1.6rem; background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lift); padding: 1.3rem 1rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
    border: 1px solid rgba(217, 93, 57, 0.08);
}
.mini-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mini-stat i { color: var(--terracotta); font-size: 1.1rem; margin-bottom: 0.4rem; }
.mini-stat span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.mini-stat small { color: var(--text-muted); font-size: 0.68rem; margin-top: 0.15rem; line-height: 1.2; }

/* ===== Mission & vision band ===== */
.mission-band { position: relative; padding: 7rem 0 5rem; overflow: hidden; background: var(--ink); }
.mission-band-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center 25%;
    background-image: url('https://images.unsplash.com/photo-1632215861513-130b66fe97f4?auto=format&fit=crop&w=1920&q=80');
    opacity: 0.28;
}
.mission-band-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45, 34, 30, 0.94) 0%, rgba(45, 34, 30, 0.88) 100%); }
.mission-band-inner { position: relative; z-index: 2; }
.section-title.on-dark { color: var(--on-dark); }
.accent-gold { color: var(--gold); font-style: italic; font-weight: 500; }
.mission-lead { max-width: 640px; margin: 1.2rem auto 0; text-align: center; }
.justify-center { justify-content: center; }

.pillar-card {
    background: rgba(250, 246, 240, 0.06); border: 1px solid rgba(250, 246, 240, 0.12);
    border-radius: var(--radius-md); padding: 2rem 1.4rem; text-align: center; height: 100%;
    transition: transform 0.25s ease, background 0.25s ease;
}
.pillar-card:hover { transform: translateY(-4px); background: rgba(250, 246, 240, 0.1); }
.pillar-card i { font-size: 1.7rem; color: var(--gold); }
.pillar-card h6 { color: var(--on-dark); font-weight: 700; margin: 0.9rem 0 0.4rem; }
.pillar-card p { color: var(--on-dark-muted); font-size: 0.88rem; margin: 0; }

.vision-block { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid rgba(250, 246, 240, 0.14); }
.vision-statement {
    font-family: var(--font-display); font-style: italic; font-weight: 500;
    font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--on-dark); max-width: 700px; margin: 0.6rem auto 0;
}

/* ===== Flagship initiatives ===== */
.initiatives-banner { position: relative; padding: 5.5rem 0; overflow: hidden; background: var(--ink); }
.initiatives-banner-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    background-image: url('https://images.unsplash.com/photo-1655720348590-c739c860beed?auto=format&fit=crop&w=1920&q=80');
    opacity: 0.32;
}
.initiatives-banner-scrim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(45, 34, 30, 0.95) 0%, rgba(45, 34, 30, 0.75) 100%); }
.initiatives-banner-inner { position: relative; z-index: 2; max-width: 680px; }

.initiatives-list { padding: 4.5rem 0 6.5rem; background: var(--cream-deep); }
.initiatives-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.initiative-card {
    background: #fff; border-radius: var(--radius-md); padding: 1.8rem 1.5rem;
    box-shadow: var(--shadow-soft); border: 1px solid rgba(217, 93, 57, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.initiative-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.initiative-card i { font-size: 1.4rem; color: var(--terracotta); }
.initiative-card h6 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0.9rem 0 0.5rem; }
.initiative-card p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* ===== CTA with photo background ===== */
.cta-photo { position: relative; padding: 7rem 0; overflow: hidden; background: var(--ink); }
.cta-photo-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center 30%;
    background-image: url('https://images.unsplash.com/photo-1534597422092-8a84f1b45a9c?auto=format&fit=crop&w=1920&q=80');
    opacity: 0.35;
}
.cta-photo-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45, 34, 30, 0.9) 0%, rgba(217, 93, 57, 0.55) 100%); }
.cta-photo-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-photo-lead { max-width: 560px; margin: 1.2rem auto 0; }

/* ===== About page responsive tweaks ===== */
@media (max-width: 991.98px) {
    .initiatives-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
    .floating-stat-card { position: static; margin: 1.4rem 0 0; grid-template-columns: repeat(2, 1fr); }
    .about-media-wrap { margin-bottom: 0; }
    .mission-band, .cta-photo { padding: 4.5rem 0; }
    .initiatives-banner { padding: 4rem 0; }
    .initiatives-list { padding: 3rem 0 4rem; }
    .initiatives-grid { grid-template-columns: 1fr; }
    .pillar-card { margin-bottom: 0.5rem; }
}
/* =========================================================
   TERMS OF SERVICE PAGE ADDITIONS — append to the end of
   assets/css/main.min.css. Purely additive; nothing here
   overrides existing rules.
   ========================================================= */

/* ===== No-photo banner variant (fast-loading legal pages) ===== */
.page-banner.no-photo {
    background: linear-gradient(135deg, var(--ink) 0%, #3A2C25 100%);
}
.page-banner.no-photo .hero-scrim { background: none; }
.legal-updated {
    font-family: var(--font-mono); font-size: 0.8rem; color: var(--on-dark-muted);
    margin-top: 1.2rem;
}

/* ===== Legal document layout ===== */
.legal-section { padding: 5rem 0 6rem; background: var(--cream); }

.legal-notice {
    display: flex; gap: 0.9rem; align-items: flex-start;
    background: var(--cream-deep); border: 1px solid rgba(217, 93, 57, 0.15);
    border-radius: var(--radius-md); padding: 1.2rem 1.4rem; margin-bottom: 2.6rem;
}
.legal-notice i { color: var(--terracotta); margin-top: 0.2rem; }
.legal-notice p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* Table of contents (sticky on desktop) */
.legal-toc { position: sticky; top: 6.5rem; }
.legal-toc-title {
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--terracotta); margin-bottom: 1rem;
}
.legal-toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgba(217, 93, 57, 0.12); }
.legal-toc-link {
    display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -2px; border-left: 2px solid transparent;
    font-size: 0.86rem; color: var(--text-muted); transition: color 0.2s ease, border-color 0.2s ease;
}
.legal-toc-link:hover { color: var(--terracotta); }
.legal-toc-link.is-active { color: var(--terracotta); border-left-color: var(--terracotta); font-weight: 700; }

/* Document body */
.legal-doc section { scroll-margin-top: 6.5rem; padding-bottom: 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid rgba(45, 34, 30, 0.08); }
.legal-doc section:last-child { border-bottom: none; margin-bottom: 0; }
.legal-doc h2 {
    font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem;
}
.legal-doc p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.legal-doc p:last-child { margin-bottom: 0; }
.legal-doc ul { color: var(--text-muted); padding-left: 1.3rem; margin-bottom: 1rem; line-height: 1.75; }
.legal-doc li { margin-bottom: 0.5rem; }
.legal-doc a { color: var(--terracotta); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-contact-list { list-style: none; padding: 0; }
.legal-contact-list li { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.legal-contact-list i { color: var(--terracotta); width: 18px; }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .legal-toc { position: static; margin-bottom: 2.5rem; border: 1px solid rgba(217, 93, 57, 0.12); border-radius: var(--radius-md); padding: 1.2rem 1.4rem; }
}
@media (max-width: 767.98px) {
    .legal-section { padding: 3.5rem 0 4rem; }
    .legal-doc h2 { font-size: 1.18rem; }
}
/* =========================================================
   PRIVACY PAGE ADDITIONS — append to the end of
   assets/css/main.min.css.

   Note: privacy.html reuses .page-banner.no-photo, .legal-section,
   .legal-toc, .legal-doc, .legal-notice, .legal-contact-list, etc.
   from terms.css — if you've already appended that file, you only
   need the table styles below. If you haven't appended terms.css
   yet, do that first or this page will look unstyled.
   ========================================================= */

.legal-table-wrap { overflow-x: auto; margin-bottom: 1.4rem; border-radius: var(--radius-md); border: 1px solid rgba(45, 34, 30, 0.08); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
.legal-table th, .legal-table td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: top; }
.legal-table thead th {
    background: var(--cream-deep); font-family: var(--font-mono); font-size: 0.72rem;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--terracotta);
    border-bottom: 1px solid rgba(217, 93, 57, 0.15);
}
.legal-table tbody tr:not(:last-child) td { border-bottom: 1px solid rgba(45, 34, 30, 0.06); }
.legal-table tbody td { color: var(--text-muted); }
.legal-table tbody tr:hover td { background: rgba(217, 93, 57, 0.03); }
/* =========================================================
   EVENTS PAGE STYLES — YoungStars Hope Foundation-Africa
   Merge this block into assets/css/main.min.css

   Site palette (matches the rest of the project):
     Primary (charcoal)        #2D221E
     Secondary (terracotta-dark) #C94F2E
     Accent (terracotta)       #D95D39
     Background                #FFFFFF
     Alt background             #FAF6F0
     Body text                  #2D221E

   Only the photo hero (.page-banner) stays dark — it has its
   own image backdrop and gradient, so white text there is
   correct. Everything below it uses the light site theme so
   text and cards actually read against the page background.
   ========================================================= */

/* ---------- Upcoming events section ---------- */
.events-list {
    background: linear-gradient(180deg, #ffffff 0%, #faf6f0 100%);
}

.event-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #efe9e0;
    aspect-ratio: 16/10;
}

.event-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45, 34, 30, 0) 55%, rgba(45, 34, 30, 0.55) 100%);
    pointer-events: none;
}

.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.event-card:hover .event-media img {
    transform: scale(1.05);
}
.event-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #efe9e0;
    box-shadow: 0 2px 10px rgba(45, 34, 30, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 93, 57, 0.45);
    box-shadow: 0 14px 30px rgba(45, 34, 30, 0.14);
}

.event-body {
    padding: 1.5rem;
}

.event-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #2d221e;
    margin-bottom: 0.5rem;
}

.event-body p {
    color: #2d221e;
    font-size: 0.9rem;
    line-height: 1.6;
}

.event-meta {
    font-size: 0.8rem !important;
    color: #2d221e !important;
    font-weight: 600;
}

.event-meta i {
    margin-right: 0.4rem;
    color: #d95d39;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #c94f2e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.card-link:hover {
    gap: 0.8rem;
    color: #C94F2E;
}

.event-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #d95d39;
    border-radius: 12px;
    padding: 0.4rem 0.8rem;
    text-align: center;
    min-width: 55px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.event-date-badge strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #2d221e;
    font-family: var(--font-display);
}

.event-date-badge small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2d221e;
    font-weight: 600;
}

/* ---------- Section heads (shared, light theme) ---------- */
.section-sub {
    max-width: 600px;
    margin: 0 auto;
    color: #6e5f55;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: #2d221e;
}

.section-title .accent {
    color: #d95d39;
}

/* ---------- Gallery / "Moments That Inspire Us" section ---------- */
.highlights-band {
    padding: 4rem 0;
    background: #faf6f0;
    border-top: 1px solid #efe9e0;
    border-bottom: 1px solid #efe9e0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #efe9e0;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(45, 34, 30, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(45, 34, 30, 0.22);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* This overlay sits directly on the photo, not the page background,
   so a dark gradient + white text stays correct here regardless of
   the section behind it. */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(45, 34, 30, 0.95) 0%, rgba(45, 34, 30, 0.55) 45%, transparent 100%);
    color: #ffffff;
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-family: var(--font-display);
    color: #ffffff;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.92;
    margin-bottom: 0;
    font-weight: 400;
    color: #ffffff;
}

.gallery-overlay .tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #d95d39;
    color: #2d221e;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
    padding: 0.8rem 2.2rem;
    background: #d95d39;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(217, 93, 57, 0.3);
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.view-gallery-btn:hover {
    background: #2d221e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 34, 30, 0.3);
}

.view-gallery-btn i {
    transition: transform 0.3s ease;
}

.view-gallery-btn:hover i {
    transform: translateX(4px);
}

/* ---------- CTA section ---------- */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #faf6f0 0%, #ffffff 60%);
}

.btn-primary-warm {
    background: #d95d39;
    color: #ffffff;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-warm:hover {
    background: #2d221e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 34, 30, 0.25);
}

.btn-outline-dark {
    background: transparent;
    color: #2d221e;
    border: 2px solid #2d221e;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: #2d221e;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #efe9e0;
    border-radius: 20px;
    padding: 2rem;
    color: #2d221e;
    box-shadow: 0 4px 20px rgba(45, 34, 30, 0.08);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #2d221e;
}

.contact-card p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #2d221e;
}

.contact-card p i {
    width: 1.5rem;
    color: #d95d39;
}

.text-link {
    color: #c94f2e;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.text-link:hover {
    gap: 0.8rem;
    color: #C94F2E;
}

.lede {
    font-size: 1.1rem;
    color: #6e5f55;
    max-width: 500px;
}

/* ---------- Page banner / hero (kept dark — has its own photo backdrop) ---------- */
.page-banner {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
    min-height: 400px;
}

.banner-bg-events {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(80deg, rgba(45, 34, 30, 0.88) 0%, rgba(45, 34, 30, 0.82) 100%),
        url("../img/get-involved.jpeg") center/cover no-repeat;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(217, 93, 57, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.banner-constellation {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    opacity: 0.35;
    z-index: 1;
}

.banner-inner {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #F2A65E;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #F2A65E;
    margin-bottom: 0.5rem;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.72);
}

.eyebrow.justify-center {
    justify-content: center;
}

.tag-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F2A65E;
}

.page-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.page-title em {
    color: #F2A65E;
    font-style: normal;
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 550px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .banner-constellation {
        width: 60%;
        opacity: 0.18;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .event-date-badge strong {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .gallery-overlay h4 {
        font-size: 0.9rem;
    }

    .gallery-overlay p {
        font-size: 0.7rem;
    }

    .event-body {
        padding: 1rem;
    }

    .contact-card {
        padding: 1.25rem;
    }
}

/* =========================================================
   GET INVOLVED PAGE ADDITIONS — append to the end of
   assets/css/main.min.css. Purely additive; nothing here
   overrides existing rules.

   Note: reuses .page-banner, .hero-bg, .hero-scrim, .program-card,
   .card-link, .fade-up, .form-control, .honeypot, .is-invalid,
   .required, .accent-gold, .section-title from earlier in the
   file — only the classes new to get-involved.html are defined
   below.
   ========================================================= */

/* ===== Get Involved banner background ===== */
.banner-bg-involved {
  background-image: url("../img/get-involved.jpeg");
  background-size: cover;
  background-position: center;
  min-height: 300px; /* ensures visibility */
}

/* ===== "Donate" option card rendered as a <button> ===== */
.option-card-btn {
    background: #fff; border: 1px solid rgba(217, 93, 57, 0.06); text-align: left;
    font-family: inherit; cursor: pointer; width: 100%;
}

/* ===== Volunteer section image =====
   The form beside it runs long (6 fields + textarea + consent),
   so instead of guessing a height, the left column becomes a
   flex column: heading take their natural height, then the
   image flex-grows to fill exactly what's left — so its bottom
   edge always lines up with the form panel's bottom edge, no
   matter how tall the form ends up being. */
.volunteer-row { align-items: stretch; }
.volunteer-copy-col { display: flex; flex-direction: column; }
.volunteer-media-wrap { flex: 1 1 auto; display: flex; margin-top: 2rem; min-height: 320px; }
.volunteer-media-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
}

/* ===== Volunteer application form panel ===== */
.form-panel {
    background: #fff; border-radius: var(--radius-lg); padding: 2.4rem 2.2rem;
    box-shadow: var(--shadow-soft); border: 1px solid rgba(217, 93, 57, 0.08);
}
.form-select {
    background: #fff; border: 1px solid rgba(45, 34, 30, 0.15); color: var(--text); border-radius: var(--radius-sm);
}
.form-select:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(217, 93, 57, 0.14); }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-check-input {
    width: 1.05em; height: 1.05em; margin-top: 0.2em; border: 1.5px solid rgba(45, 34, 30, 0.25);
    flex-shrink: 0;
}
.form-check-input:checked { background-color: var(--terracotta); border-color: var(--terracotta); }
.form-check-input:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(217, 93, 57, 0.14); }
.form-check-label { font-size: 0.86rem; color: var(--text-muted); }

/* Generic inline status message for the volunteer + newsletter forms
   (same visual language as .donation-status). */
.form-status { margin-top: 1rem; font-size: 0.92rem; min-height: 1.2rem; }
.form-status.success { color: var(--forest); }
.form-status.error { color: var(--terracotta-deep); }
.form-status-center { text-align: center; }

/* ===== Newsletter band =====
   Plain default section styling — no custom background, no on-dark
   text theme, no accent color overrides. Matches the site's normal
   light sections (.about-brief, .form-panel, etc). */
.newsletter-band {
    padding: 6.5rem 0; position: relative; overflow: hidden;
}
.newsletter-band .eyebrow-light { color: var(--terracotta); }
.newsletter-band .section-title.on-dark { color: var(--text); }
.newsletter-band .accent-gold { color: var(--terracotta); font-style: italic; font-weight: 500; }
.newsletter-band .hero-lead.newsletter-lead { color: var(--text-muted); }

.newsletter-card {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2.5rem;
    background: #fff; border: 1px solid rgba(217, 93, 57, 0.08);
    border-radius: var(--radius-lg); padding: 3rem 3.2rem; box-shadow: var(--shadow-soft);
}
.newsletter-copy { flex: 1 1 380px; }
.newsletter-lead { margin-top: 1rem; max-width: 460px; }
.newsletter-form { flex: 1 1 340px; display: flex; flex-direction: column; gap: 0.9rem; max-width: 400px; }
.newsletter-fineprint {
    text-align: center; color: var(--text-muted); font-size: 0.78rem; margin-top: 1.4rem;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .newsletter-card { padding: 2.4rem; }
}
@media (max-width: 767.98px) {
    .newsletter-band { padding: 4.5rem 0; }
    .newsletter-card { padding: 2rem 1.6rem; flex-direction: column; align-items: stretch; }
    .newsletter-form { max-width: none; }
    .form-panel { padding: 1.8rem 1.5rem; }
}
.banner-bg-gallery {
    background-image: url('https://images.unsplash.com/photo-1509099836639-18ba1795216d?auto=format&fit=crop&w=1920&q=80');
}

/* =========================================================
   CONTACT PAGE ADDITIONS — append to the end of
   assets/css/main.min.css.
 
   Note: contact.html reuses .page-banner, .hero-scrim,
   .banner-constellation, .contact-card, .form-panel,
   .form-control, .form-select, .form-check*, .form-status,
   .honeypot, .is-invalid, .required, .social-links,
   .section-title, .eyebrow, .accent, .fade-up — all already
   defined earlier in this file (get-involved.html uses the
   same form classes; events.html's CTA uses .contact-card).
   Only what's new to contact.html is below.
   ========================================================= */
 
.banner-bg-contact {
    background-image: url('https://images.unsplash.com/photo-1605896163420-830698e44fb1?auto=format&fit=crop&w=1920&q=80');
}
 
.contact-section { padding: 6.5rem 0; background: var(--cream); }
.contact-info-col .contact-card:first-of-type { margin-top: 2rem; }
 
/* .social-links is styled for the dark footer (translucent cream
   circles on var(--ink)); this section sits on the light page
   background, so give the icons dark-on-light colors instead. */
.contact-social a {
    background: rgba(45, 34, 30, 0.06); color: var(--text-muted);
}
.contact-social a:hover { background: var(--terracotta); color: #fff; }
 
@media (max-width: 767.98px) {
    .contact-section { padding: 4.5rem 0; }
}
/* =========================================================
   FAQ PAGE ADDITIONS — append to the end of assets/css/main.min.css.

   Note: faq.html reuses .page-banner, .hero-scrim, .banner-constellation,
   .cta-section, .contact-card, .section-title, .eyebrow, .accent,
   .hero-actions, .form-control, .visually-hidden already defined
   earlier in main.min.css. Only what's new to faq.html is below.
   ========================================================= */

.banner-bg-faq {
    background-image: url('https://images.unsplash.com/photo-1511376979163-f804dff7ad7b?auto=format&fit=crop&w=1920&q=80');
}

.faq-section { padding: 6.5rem 0 7rem; background: var(--cream); }

/* ===== Search box ===== */
.faq-search { max-width: 560px; margin: 0 auto 2rem; }
.faq-search .input-group-text {
    background: #fff; border-color: rgba(45, 34, 30, 0.15); color: var(--text-muted);
}
.faq-search .form-control { border-left: none; }
.faq-search .input-group-text ~ .form-control:focus { box-shadow: none; border-color: rgba(45, 34, 30, 0.15); }
.faq-search .input-group:focus-within .input-group-text,
.faq-search .input-group:focus-within .form-control { border-color: var(--terracotta); }

/* ===== Category filter pills ===== */
.faq-filters {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 3rem;
}
.faq-filter-btn {
    font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid rgba(45, 34, 30, 0.15);
    background: #fff; color: var(--text-muted); cursor: pointer; transition: all 0.2s ease;
}
.faq-filter-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.faq-filter-btn.is-active { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

/* ===== Accordion ===== */
.faq-accordion { max-width: 820px; margin: 0 auto; }
.faq-accordion .accordion-item {
    background: #fff; border: 1px solid rgba(217, 93, 57, 0.1); border-radius: var(--radius-md) !important;
    margin-bottom: 0.9rem; overflow: hidden; box-shadow: var(--shadow-soft);
}
.faq-accordion .accordion-button {
    font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
    padding: 1.3rem 1.6rem; background: #fff; box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--terracotta-deep); background: rgba(217, 93, 57, 0.04); }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(217, 93, 57, 0.14); border-color: transparent; }
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B9502A'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.faq-accordion .accordion-body { padding: 0 1.6rem 1.5rem; color: var(--text-muted); font-size: 0.96rem; line-height: 1.7; }
.faq-accordion .accordion-body a { color: var(--terracotta); font-weight: 600; }

.faq-item.d-none { display: none; }

.faq-empty-state {
    max-width: 820px; margin: 2rem auto 0; text-align: center; color: var(--text-muted); font-size: 0.96rem;
}
.faq-empty-state a { color: var(--terracotta); font-weight: 600; }

@media (max-width: 767.98px) {
    .faq-section { padding: 4.5rem 0 5rem; }
    .faq-filters { gap: 0.45rem; margin-bottom: 2.2rem; }
    .faq-accordion .accordion-button { padding: 1.1rem 1.2rem; font-size: 0.96rem; }
    .faq-accordion .accordion-body { padding: 0 1.2rem 1.2rem; }
}
/* =========================================================
   YoungStars Hope Foundation-Africa — donate.css
   Dedicated stylesheet for donate.html ONLY.

   Load order matters: this file assumes assets/css/main.min.css
   is already loaded on the page, since it uses the design tokens
   (--terracotta, --ink, --cream, --font-display, --radius-*, etc.)
   defined in that file's :root block, plus these shared classes
   from main.min.css: .site-header, .site-footer, .btn-donate,
   .btn-primary-warm, .btn-outline-dark, .form-control, .form-check*,
   .form-status, .honeypot, .required, .eyebrow, .tag-dot,
   .section-title, .section-sub, .accent, .fade-up, .visually-hidden.

   Everything below is specific to the donate page: hero, stats,
   story cards, impact breakdown bars, donation method panels,
   testimonial slider, and the mini FAQ accordion skin.
   ========================================================= */

/* =========================================================
   1. HERO
   ========================================================= */
.donate-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 8rem 0 5rem;
}

.donate-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1473649085228-583485e6e4d7?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.02);
}

.donate-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45, 34, 30, 0.55) 0%, rgba(45, 34, 30, 0.72) 55%, rgba(45, 34, 30, 0.88) 100%);
}

.donate-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.donate-hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--on-dark);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.08;
    margin: 0.9rem 0 1.4rem;
}

.donate-hero-title em {
    font-style: italic;
    color: var(--gold);
}

.donate-hero-lead {
    color: var(--on-dark-muted);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 2.2rem;
}

.donate-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1.5px solid rgba(250, 246, 240, 0.5);
    color: var(--on-dark);
    background: transparent;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-outline-light:hover {
    background: rgba(250, 246, 240, 0.12);
    border-color: rgba(250, 246, 240, 0.85);
    color: var(--on-dark);
}

/* =========================================================
   2. IMPACT STATS
   ========================================================= */
.donate-stats {
    background: var(--ink);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(250, 246, 240, 0.08);
}

.donate-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.donate-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.donate-stat-num {
    font-family: var(--font-mono);
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 500;
    color: var(--gold);
}

.donate-stat-label {
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: var(--on-dark-muted);
}

/* =========================================================
   3. STORY CARDS
   ========================================================= */
.donate-stories {
    padding: 7rem 0;
    background: var(--cream);
}

.donate-story-list {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    max-width: 980px;
    margin: 0 auto;
}

.donate-story-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(217, 93, 57, 0.08);
}

.donate-story-card:nth-child(even) {
    grid-template-columns: 1fr 320px;
}
.donate-story-card:nth-child(even) .donate-story-media {
    order: 2;
}

.donate-story-media { position: relative; min-height: 260px; }
.donate-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.donate-story-body {
    padding: 2.2rem 2.4rem;
    display: flex;
    flex-direction: column;
}

.donate-story-tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: rgba(217, 93, 57, 0.08);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.9rem;
}

.donate-story-body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.donate-story-teaser {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.donate-story-full {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.45s ease;
    margin-top: 0;
}

.donate-story-full p:last-child { margin-bottom: 0; }

.donate-story-card.is-open .donate-story-full {
    max-height: 900px;
    opacity: 1;
    margin-top: 1rem;
}

.donate-story-card.is-open .donate-story-teaser {
    display: none;
}

.donate-story-toggle {
    align-self: flex-start;
    margin-top: 1.4rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--terracotta);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.donate-story-toggle:hover { color: var(--terracotta-deep); }
.donate-story-toggle i { transition: transform 0.3s ease; font-size: 0.78rem; }
.donate-story-card.is-open .donate-story-toggle i { transform: rotate(180deg); }

/* =========================================================
   4. IMPACT BREAKDOWN BARS
   ========================================================= */
.donate-breakdown {
    padding: 6.5rem 0;
    background: #fff;
}

.donate-breakdown-bars {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.donate-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.55rem;
}

.donate-bar-pct {
    font-family: var(--font-mono);
    color: var(--terracotta);
}

.donate-bar-track {
    width: 100%;
    height: 10px;
    background: rgba(45, 34, 30, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.donate-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--terracotta) 0%, var(--gold) 100%);
    transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   5. DONATION METHOD PANELS
   ========================================================= */
.donate-methods {
    padding: 7rem 0;
    background: var(--cream);
}

.donate-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1040px;
    margin: 0 auto;
    align-items: start;
}

.donate-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.6rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(217, 93, 57, 0.08);
}

.donate-panel h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}
.donate-panel h3 i { color: var(--terracotta); }

.donate-panel-sub {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.6rem;
}

/* Amount selector — same visual language as the old donation modal */
.donate-amount-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    margin-bottom: 1.4rem;
}

.donate-amount-btn {
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(45, 34, 30, 0.15);
    background: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.2s ease;
}
.donate-amount-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.donate-amount-btn.is-active {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: #fff;
}

/* Paybill card */
.donate-paybill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--cream);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
}

.donate-paybill-field { display: flex; flex-direction: column; gap: 0.15rem; }
.donate-paybill-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.donate-paybill-value {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.03em;
}

.donate-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1.5px solid rgba(45, 34, 30, 0.15);
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 96px;
    justify-content: center;
}
.donate-copy-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.donate-copy-btn.is-copied {
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
}

.donate-paybill-steps {
    margin: 1.6rem 0 1.4rem;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.9;
}
.donate-paybill-steps strong { color: var(--ink); }

.donate-paybill-note {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(45, 34, 30, 0.08);
}
.donate-paybill-note a { color: var(--terracotta); font-weight: 600; }

/* =========================================================
   6. TESTIMONIAL SLIDER
   ========================================================= */
.donate-testimonials {
    padding: 6.5rem 0;
    background: #fff;
}

.donate-testimonial-slider {
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.donate-testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.donate-testimonial-slide {
    flex: 0 0 100%;
    text-align: center;
    padding: 0 1.5rem;
    margin: 0;
}

.donate-testimonial-slide p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 1.2rem;
}

.donate-testimonial-slide cite {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: var(--terracotta);
}

.donate-testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 2.2rem;
}

.donate-testimonial-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(45, 34, 30, 0.15);
    background: #fff;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.donate-testimonial-arrow:hover { border-color: var(--terracotta); color: var(--terracotta); }

.donate-testimonial-dots { display: flex; gap: 0.55rem; }
.donate-testimonial-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(45, 34, 30, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.donate-testimonial-dot.is-active {
    background: var(--terracotta);
    transform: scale(1.2);
}

/* =========================================================
   7. DONATION MINI-FAQ
   ========================================================= */
.donate-faq {
    padding: 6rem 0 7rem;
    background: var(--cream);
}

.donate-faq-accordion {
    max-width: 760px;
    margin: 0 auto;
}

.donate-faq-accordion .accordion-item {
    background: #fff;
    border: 1px solid rgba(217, 93, 57, 0.1);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.8rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.donate-faq-accordion .accordion-button {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink);
    padding: 1.15rem 1.5rem;
    background: #fff;
    box-shadow: none;
}
.donate-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--terracotta-deep);
    background: rgba(217, 93, 57, 0.04);
}
.donate-faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(217, 93, 57, 0.14);
    border-color: transparent;
}
.donate-faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B9502A'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.donate-faq-accordion .accordion-body {
    padding: 0 1.5rem 1.35rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.donate-faq-accordion .accordion-body a { color: var(--terracotta); font-weight: 600; }

/* =========================================================
   8. RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
    .donate-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }

    .donate-story-card,
    .donate-story-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .donate-story-card:nth-child(even) .donate-story-media { order: 0; }
    .donate-story-media { min-height: 220px; }

    .donate-methods-grid { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 767.98px) {
    .donate-hero { min-height: auto; padding: 7rem 0 4rem; }
    .donate-hero-actions { flex-direction: column; align-items: stretch; }
    .donate-hero-actions .btn { justify-content: center; text-align: center; }

    .donate-stories { padding: 4.5rem 0; }
    .donate-story-body { padding: 1.6rem 1.5rem; }

    .donate-breakdown { padding: 4.5rem 0; }
    .donate-methods { padding: 4.5rem 0; }
    .donate-panel { padding: 1.8rem 1.5rem; }
    .donate-amount-group { grid-template-columns: repeat(2, 1fr); }

    .donate-paybill-row { flex-direction: column; align-items: stretch; text-align: center; }
    .donate-copy-btn { width: 100%; }

    .donate-testimonials { padding: 4.5rem 0; }
    .donate-testimonial-slide p { font-size: 1.1rem; }

    .donate-faq { padding: 4rem 0 4.5rem; }
}
/* =========================================================
   YoungStars Hope Foundation-Africa — team.css
   Dedicated stylesheet for team.html ONLY.

   Load order matters: this file assumes assets/css/main.min.css
   is already loaded on the page, since it uses the design tokens
   (--terracotta, --ink, --cream, --font-display, --radius-*, etc.)
   defined in that file's :root block, plus these shared classes
   from main.min.css: .site-header, .site-footer, .page-banner,
   .hero-scrim, .banner-constellation, .breadcrumb, .eyebrow,
   .tag-dot, .section-title, .section-sub, .accent, .fade-up,
   .visually-hidden.

   Everything below is specific to the team page: the banner
   image, the 3D flip-card grid, the executive-board role cards,
   and the closing commitment band.
   ========================================================= */

.banner-bg-team {
    background-image: url('https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=1920&q=80');
}

/* =========================================================
   1. FLIP-CARD GRID
   ========================================================= */
.team-grid-section { padding: 6.5rem 0 7rem; background: var(--cream); }

.team-flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
    gap: 2.2rem;
    max-width: 1040px;
    margin: 0 auto;
}

/* Perspective lives on the outer card; the inner element is what
   actually rotates, so both faces can be positioned absolutely
   inside it and hidden via backface-visibility. */
.team-flip-card {
    perspective: 1600px;
    height: 380px;
    cursor: pointer;
    outline: none;
}

.team-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

/* Hover flips on devices that support hover (desktop/trackpad).
   Touch devices get a tap-to-flip via the .is-flipped class,
   added by team.js — see the JS file for the touch fallback. */
.team-flip-card:hover .team-flip-inner,
.team-flip-card:focus-within .team-flip-inner,
.team-flip-card.is-flipped .team-flip-inner {
    transform: rotateY(180deg);
}

.team-flip-card:focus-visible,
.team-flip-readmore:focus-visible {
    box-shadow: 0 0 0 3px rgba(217, 93, 57, 0.35);
    border-radius: var(--radius-lg);
}

.team-flip-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 2.4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.team-flip-front {
    background: #fff;
    border: 1px solid rgba(217, 93, 57, 0.1);
}

.team-flip-back {
    background: linear-gradient(150deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
    color: #fff;
    transform: rotateY(180deg);
}

.team-flip-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.2rem;
}

/* If a real <img> replaces the initials placeholder, it should
   still fill this same circular frame. */
.team-flip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-flip-front h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.team-flip-role {
    color: var(--terracotta);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.team-flip-hint {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.team-flip-hint i { font-size: 0.7rem; }

.team-flip-quote-icon {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.8rem;
}

.team-flip-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
}

.team-flip-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.86rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.team-flip-readmore:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

/* =========================================================
   2. EXECUTIVE BOARD ROLE CARDS
   ========================================================= */
.board-roles-section { padding: 0 0 7rem; background: var(--cream); }

.board-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.board-role-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(217, 93, 57, 0.08);
    position: relative;
}

.board-role-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(217, 93, 57, 0.08);
    color: var(--terracotta);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.board-role-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.board-role-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.board-role-card li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}
.board-role-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--terracotta);
}

/* Patron sits apart conceptually from the six executive roles, so
   it spans the full row and gets a slightly different accent. */
.board-role-card-patron {
    grid-column: 1 / -1;
    background: var(--ink);
    border-color: transparent;
}
.board-role-card-patron .board-role-num {
    background: rgba(242, 166, 94, 0.16);
    color: var(--gold);
}
.board-role-card-patron h3 { color: var(--on-dark); }
.board-role-card-patron li { color: var(--on-dark-muted); }
.board-role-card-patron li::before { background: var(--gold); }
.board-role-card-patron ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 0.55rem;
}

/* =========================================================
   3. COMMITMENT BAND
   ========================================================= */
.commitment-band {
    background: var(--ink);
    padding: 5rem 0;
    text-align: center;
}

.commitment-text {
    max-width: 760px;
    margin: 0 auto 1.4rem;
    color: var(--on-dark-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.commitment-theme {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--gold);
    margin: 0;
}

/* =========================================================
   4. RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
    .board-roles-grid { grid-template-columns: repeat(2, 1fr); }
    .board-role-card-patron ul { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .team-grid-section { padding: 4.5rem 0 5rem; }
    .team-flip-card { height: 340px; }
    .team-flip-face { padding: 1.8rem 1.5rem; }

    .board-roles-section { padding: 0 0 4.5rem; }
    .board-roles-grid { grid-template-columns: 1fr; }

    .commitment-band { padding: 3.5rem 0; }
    .commitment-text { font-size: 0.94rem; }
}
/* ===== Team teaser (about.html) ===== */
.team-teaser { padding: 4rem 0; background: var(--cream); }
.team-teaser-inner {
    display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
    background: #fff; border-radius: var(--radius-lg); padding: 2.4rem 2.8rem;
    box-shadow: var(--shadow-soft); border: 1px solid rgba(217, 93, 57, 0.08);
}
.team-teaser-avatar {
    flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff;
}
.team-teaser-text { flex: 1 1 380px; }
.team-teaser-text .eyebrow { margin-bottom: 0.5rem; }
.team-teaser-text .section-title { font-size: 1.6rem; margin-bottom: 0.5rem; }
.team-teaser-text .lede { margin-bottom: 0; }
.team-teaser-btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 767.98px) {
    .team-teaser-inner { padding: 1.8rem; text-align: center; flex-direction: column; }
    .team-teaser-btn { width: 100%; justify-content: center; }
}

/* ===== James Mutie bio page (james-mutie.html) ===== */
.founder-header { background: var(--ink); padding: 7.5rem 0 3.5rem; text-align: center; }
.breadcrumb-on-dark, .breadcrumb-on-dark a { color: var(--on-dark-muted); }
.breadcrumb-on-dark a:hover { color: var(--gold); }
.breadcrumb-on-dark span { margin: 0 0.5rem; }

.founder-avatar-lg {
    width: 128px; height: 128px; border-radius: 50%; margin: 1.6rem auto 1.4rem;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: #fff;
}
.founder-avatar-lg img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.founder-name { font-family: var(--font-display); font-weight: 700; color: var(--on-dark); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.5rem; }
.founder-title { color: var(--gold); font-size: 0.95rem; font-weight: 600; margin: 0; }

.founder-article-section { background: #fff; padding: 5rem 0 6.5rem; }
.founder-article { max-width: 720px; margin: 0 auto; }
.founder-article h2 {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink);
    margin: 2.6rem 0 1.2rem;
}
.founder-article h2:first-child { margin-top: 0; }
.founder-article p { color: var(--text-muted); font-size: 1rem; line-height: 1.85; margin-bottom: 1.3rem; }
.founder-article ul { margin: 0 0 1.3rem; padding: 0; list-style: none; }
.founder-article ul li {
    position: relative;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    padding-left: 1.4rem;
    margin-bottom: 0.9rem;
}
.founder-article ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
}
.founder-article ul li strong { color: var(--ink); }
.founder-article-divider { border: none; border-top: 1px solid rgba(45, 34, 30, 0.1); margin: 3rem 0; }
.founder-article-emphasis {
    font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--terracotta-deep);
    border-left: 3px solid var(--terracotta); padding-left: 1.2rem; margin: 1.8rem 0;
}
.founder-signature { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--ink); margin-top: 2rem; }
.founder-article-back { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(45, 34, 30, 0.1); }

@media (max-width: 767.98px) {
    .founder-header { padding: 6.5rem 0 3rem; }
    .founder-avatar-lg { width: 100px; height: 100px; font-size: 2rem; }
    .founder-article-section { padding: 3.5rem 0 4.5rem; }
    .founder-article h2 { font-size: 1.3rem; }
}
/* ===== Professional/secondary email label (justine-mwero.html) ===== */

/* ===================================
   JUSTINE MWERO LEVI PHOTO
=================================== */

.team-flip-avatar{
    width:180px;
    height:180px;
    margin:0 auto 1.25rem;
    border-radius:50%;
    overflow:hidden;
    border:5px solid #fff;
    background:#faf6f0;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all .35s ease;
}

.team-flip-front:hover .team-flip-avatar{
    transform:scale(1.05);
    box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.team-flip-avatar img,
.justin-img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center 15%; /* Move face slightly upward */
    transition:transform .4s ease;
}

.team-flip-front:hover .justin-img{
    transform:scale(1.08);
}

/* Responsive */

@media (max-width:768px){
    .team-flip-avatar{
        width:160px;
        height:160px;
    }
}

@media (max-width:576px){
    .team-flip-avatar{
        width:140px;
        height:140px;
    }
}
/* =========================================================
   HEADER.CSS — simplified flat nav (accordion removed)
   Uses the site's existing tokens from main.min.css
   (falls back to literal values if main.min.css isn't loaded)
   ========================================================= */

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--cream, #FAF6F0);
    background: rgba(250, 246, 240, 0);
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    padding: 1.1rem 0;
}

.site-header.is-scrolled {
    background: rgba(250, 246, 240, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 30px rgba(45, 34, 30, 0.08);
    padding: 0.6rem 0;
}

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

.navbar-brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-name {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-weight: 700; font-size: 1.15rem; color: var(--on-dark, #FAF6F0);
    transition: color 0.35s ease;
}
.brand-sub {
    display: block; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--gold, #F2A65E); font-weight: 500;
}
.site-header.is-scrolled .brand-name { color: var(--ink, #2D221E); }

.navbar-toggler { border: 0; padding: 0.4rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { color: var(--on-dark, #FAF6F0); font-size: 1.4rem; transition: color 0.3s ease; }
.site-header.is-scrolled .navbar-toggler i { color: var(--ink, #2D221E); }

.navbar-nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-link {
    font-size: 0.92rem; font-weight: 600; color: var(--on-dark-muted, rgba(250, 246, 240, 0.72));
    transition: color 0.25s ease; padding: 0.4rem 0 !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold, #F2A65E) !important;
}
.site-header.is-scrolled .nav-link { color: var(--text-muted, rgba(45, 34, 30, 0.66)); }
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.active {
    color: var(--terracotta, #D95D39) !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius-md, 18px);
        background: var(--cream, #FAF6F0);
        box-shadow: var(--shadow-lift, 0 24px 60px rgba(45, 34, 30, 0.16));
    }
    .navbar-nav { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .nav-link { color: var(--text, #2D221E) !important; width: 100%; padding: 0.65rem 0 !important; }
    .nav-link:hover, .nav-link.active { color: var(--terracotta, #D95D39) !important; }
}
@media (max-width: 576px) {
  /* Stop relying on vertical centering to clear the fixed header —
     centering only applies half of any padding-top, which left the
     eyebrow text tucked under the logo. Switch to flex-start and push
     content down by the header's real height instead. */
  .hero {
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 120px; /* clears logo + two-line brand text + header padding */
    padding-bottom: 3rem;
    box-sizing: border-box;
  }

  .hero-inner {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
  }

  .eyebrow-light {
    display: block;
    position: relative;
    z-index: 1;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8.5vw, 2.5rem);
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
  }

  .hero-lead {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  /* Extra-narrow phones (SE, small Android) need a touch more headroom
     and a slightly smaller floor on the title. */
  .hero {
    padding-top: 130px;
  }
  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
}