/* =====================================================================
   Happy Kids Happy Life — Editorial design system
   Sober palette · Montserrat (titles) · Poppins (body) · RTL-aware
   ===================================================================== */

:root {
    /* Sober nonprofit palette — primarily neutrals with a single restrained accent */
    --c-primary:        #163E3D;          /* deep forest-teal — used very sparingly */
    --c-primary-dark:   #0E2A29;
    --c-primary-soft:   #E7EEED;
    --c-accent:         #BC7A3D;          /* muted ochre, quieter than amber */
    --c-accent-soft:    #F4E8D8;

    --c-emergency:      #9C3B33;
    --c-success:        #2E6A37;
    --c-warning:        #A4842E;

    --c-ink:            #1A1A1A;
    --c-ink-soft:       #4A4A4A;
    --c-ink-muted:      #7A7A7A;
    --c-line:           #E8E4DC;
    --c-line-strong:    #CFCAC0;
    --c-bg:             #FBFAF6;          /* warm paper */
    --c-bg-surface:     #FFFFFF;
    --c-bg-deep:        #14211F;          /* near-black surface for hero overlay */

    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 2px rgba(20,30,28,.06);
    --shadow:    0 4px 16px rgba(20,30,28,.08);
    --shadow-lg: 0 24px 48px rgba(20,30,28,.16);

    --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --font-body:    "Poppins", "Helvetica Neue", Arial, sans-serif;
    --font-ajami:   "Noto Naskh Arabic", "Amiri", serif;

    --max-w: 1280px;
    --max-w-text: 720px;

    --gap:    1.5rem;
    --gap-lg: 3rem;
    --gap-xl: 5rem;
}

/* =====================================================================
   Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;        /* prevent x-scroll, keep body scroll natural */
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-ink-soft);
    background: var(--c-bg);
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body { font-family: var(--font-ajami); font-size: 19px; line-height: 1.85; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--c-ink);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0 0 .6em;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: var(--font-ajami); letter-spacing: normal; }

h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-primary); text-decoration: none; border-bottom: 1px solid currentColor; transition: color .15s ease, border-color .15s ease; }
a:hover { color: var(--c-accent); }
a:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 2px; }

img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--gap-lg) 0; }

/* Accessibility */
.skip-link {
    position: absolute; left: -9999px; top: 0; padding: .75rem 1rem;
    background: var(--c-ink); color: #fff; z-index: 1000; font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
    position: absolute !important; clip: rect(1px,1px,1px,1px);
    overflow: hidden; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0;
}

/* =====================================================================
   Layout
   ===================================================================== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 900px) { .container { padding: 0 2.5rem; } }

section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 6rem 0; } }
@media (min-width: 1200px) { section { padding: 7rem 0; } }

.section-narrow .container { max-width: var(--max-w-text); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 900px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================================
   Header & nav
   ===================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251,250,246,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-line);
}
.site-header-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: .5rem 1rem; gap: .5rem;
    min-width: 0;
}
@media (min-width: 768px) { .site-header-row { padding: .65rem 1.5rem; gap: 1rem; } }
@media (min-width: 1024px) { .site-header-row { padding: .8rem 2.5rem; } }
.header-actions { min-width: 0; flex-wrap: nowrap; justify-content: flex-end; }

.site-logo {
    display: flex; align-items: center; gap: .65rem;
    border: 0; color: var(--c-ink);
}
.site-logo:hover { color: var(--c-primary); }
.site-logo .mark {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--c-primary);
    color: #fff; display: grid; place-items: center;
    font-weight: 800; font-family: var(--font-display); font-size: 1rem;
    flex: 0 0 auto;
}
.site-logo .name {
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
    line-height: 1.15; letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    max-width: 0;
    transition: max-width .15s ease;
}
@media (min-width: 480px)  { .site-logo .name { max-width: 200px; } }
@media (min-width: 1024px) { .site-logo .name { max-width: none; }
    .site-logo .mark { width: 36px; height: 36px; }
}

.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.main-nav a {
    color: var(--c-ink-soft); border: 0; font-weight: 500; font-size: .92rem;
    padding: .35rem 0; position: relative; letter-spacing: 0;
}
.main-nav a.is-active::after,
.main-nav a:hover::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--c-primary);
}
.main-nav a:hover { color: var(--c-primary); }

.header-actions { display: flex; align-items: center; gap: .65rem; }

.lang-switcher summary {
    list-style: none; cursor: pointer; padding: .35rem .5rem; border: 1px solid transparent;
    border-radius: var(--radius-sm); font-size: 1rem; display: inline-flex; align-items: center;
    background: transparent; color: var(--c-ink-soft); font-weight: 500;
    min-height: 34px; min-width: 34px; justify-content: center;
}
.lang-switcher summary:hover { background: var(--c-bg); color: var(--c-ink); }
.lang-label { display: none; }   /* globe icon only — clean, universal */
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher[open] summary { border-color: var(--c-primary); }
.lang-menu {
    position: absolute; top: calc(100% + .5rem); inset-inline-end: 0;
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: .35rem; min-width: 180px; z-index: 60;
}
.lang-menu a {
    display: block; padding: .55rem .65rem; border-radius: var(--radius-sm);
    border: 0; color: var(--c-ink); font-size: .9rem;
}
.lang-menu a[aria-current="true"] { background: var(--c-primary-soft); color: var(--c-primary); font-weight: 600; }
.lang-menu a:hover { background: var(--c-bg); }
.lang-switcher { position: relative; }

/* Floating Quick Exit — per CDCF §5.3, top-right desktop, bottom-right mobile */
.qe-float {
    position: fixed; z-index: 90;
    bottom: 1rem; right: 1rem;
    background: var(--c-emergency); color: #fff; border: 0;
    padding: .65rem .85rem;
    border-radius: 999px;
    font-family: var(--font-display); font-weight: 700; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .08em;
    display: inline-flex; align-items: center; gap: .4rem;
    box-shadow: 0 6px 18px rgba(156,59,51,.35), 0 0 0 2px rgba(255,255,255,.6);
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}
.qe-float:hover { background: #7C2D26; transform: translateY(-1px); }
.qe-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.qe-float .qe-float-label { display: inline; }
[dir="rtl"] .qe-float { right: auto; left: 1rem; }
@media (min-width: 1024px) {
    .qe-float { bottom: auto; top: 1rem; right: 1.25rem; }
    [dir="rtl"] .qe-float { top: 1rem; right: auto; left: 1.25rem; }
}
@media (max-width: 380px) {
    .qe-float .qe-float-label { display: none; }
    .qe-float { padding: .65rem; }
}

/* Donate CTA in header — refined, sober, single source of truth */
.btn-donate-head {
    background: var(--c-ink); color: #fff;
    padding: .45rem .95rem; min-height: 34px;
    display: inline-flex; align-items: center;
    border: 0; border-radius: 999px;
    font-family: var(--font-body); font-weight: 600; font-size: .88rem;
    letter-spacing: .01em; text-decoration: none;
    transition: background-color .15s ease;
}
.btn-donate-head:hover { background: var(--c-accent); color: #fff; }

.menu-toggle {
    background: none; border: 1px solid transparent; border-radius: var(--radius-sm);
    padding: .35rem; display: inline-flex; color: var(--c-ink-soft);
    min-width: 34px; min-height: 34px; justify-content: center; align-items: center;
}
.menu-toggle:hover { background: var(--c-bg); color: var(--c-ink); }
.menu-toggle svg { width: 22px; height: 22px; }

#mobile-nav { display: none; padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--c-line); background: var(--c-bg-surface); }
#mobile-nav.open { display: block; }
#mobile-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
#mobile-nav a {
    display: block; padding: .75rem .5rem; border: 0;
    color: var(--c-ink); font-weight: 500; border-radius: var(--radius-sm);
}
#mobile-nav a.is-active, #mobile-nav a:hover { background: var(--c-primary-soft); color: var(--c-primary); }

@media (min-width: 1024px) {
    .main-nav { display: block; }
    .menu-toggle { display: none; }
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 50px; padding: .9rem 1.5rem;
    border: 0; border-radius: var(--radius);
    background: var(--c-primary); color: #fff;
    font-family: var(--font-display); font-weight: 600; font-size: .88rem;
    text-transform: uppercase; letter-spacing: .08em;
    text-decoration: none;
    transition: background-color .2s ease, transform .15s ease;
}
.btn:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-accent { background: var(--c-accent); }
.btn-accent:hover { background: #9D662F; }

.btn-outline { background: transparent; color: var(--c-primary); box-shadow: inset 0 0 0 2px var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; box-shadow: none; }

.btn-on-dark { background: #fff; color: var(--c-ink); }
.btn-on-dark:hover { background: var(--c-bg); color: var(--c-ink); }

.btn-outline-on-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.btn-outline-on-dark:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn-ghost { background: transparent; color: var(--c-ink); }
.btn-ghost:hover { background: var(--c-bg); color: var(--c-ink); }

.btn-lg { font-size: .92rem; min-height: 58px; padding: 1.1rem 1.85rem; }
.btn-block { width: 100%; }

/* Text link with arrow */
.link-arrow {
    display: inline-flex; align-items: center; gap: .35rem;
    font-family: var(--font-display); font-weight: 600; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--c-primary);
    border: 0;
    padding: .25rem 0; border-bottom: 2px solid currentColor;
}
.link-arrow:hover { color: var(--c-accent); }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
[dir="rtl"] .link-arrow::after { content: "←"; }

/* =====================================================================
   Forms
   ===================================================================== */
.field { margin-bottom: 1.5rem; }
.field label, .field > .lbl {
    display: block; font-family: var(--font-body); font-weight: 600;
    font-size: .92rem; letter-spacing: 0;
    color: var(--c-ink); margin-bottom: .4rem;
}
.field .hint { display: block; color: var(--c-ink-muted); font-size: .85rem; margin-bottom: .4rem; }
.field .warn { display: block; color: var(--c-warning); font-size: .85rem; margin-top: .35rem; font-weight: 500; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="password"],
.field input[type="date"],
.field input[type="datetime-local"],
.field input[type="url"],
.field input[type="search"],
.field select,
.field textarea {
    width: 100%; min-height: 50px; padding: .75rem .9rem;
    border: 1px solid var(--c-line-strong); border-radius: var(--radius);
    background: var(--c-bg-surface); color: var(--c-ink);
    font: 400 1rem/1.5 var(--font-body);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 3px solid var(--c-accent-soft); outline-offset: 0; border-color: var(--c-primary);
}
.field-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } }

.checkbox, .radio {
    display: flex; gap: .65rem; align-items: flex-start; padding: .5rem 0;
    cursor: pointer; font-size: .95rem;
}
.checkbox input, .radio input { margin-top: .2rem; width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--c-primary); }
.option-list { display: grid; gap: .25rem; }

.alert {
    padding: 1.1rem 1.25rem; border-radius: var(--radius); margin: 1.5rem 0;
    background: var(--c-primary-soft); color: var(--c-primary-dark);
    border-inline-start: 4px solid var(--c-primary);
    font-size: .95rem;
}
.alert-success { background: #DCEDD5; color: #1F5722; border-color: var(--c-success); }
.alert-error   { background: #F8D7D5; color: #6E2A23; border-color: var(--c-emergency); }
.alert-warn    { background: #FCEFCC; color: #6B4F1A; border-color: var(--c-warning); }

/* =====================================================================
   Emergency utility strip — minimal weight, single line
   ===================================================================== */
.emergency-banner {
    background: var(--c-bg-surface);
    color: var(--c-ink-soft);
    border-bottom: 1px solid var(--c-line);
    padding: .35rem 0;
    font-size: .78rem; line-height: 1.3;
}
.emergency-banner .container {
    display: flex; align-items: center; justify-content: flex-end;
    gap: .5rem; padding: 0 1rem;
}
.emergency-banner strong {
    color: var(--c-emergency); font-family: var(--font-body); font-weight: 600;
    font-size: .78rem;
}
.emergency-banner a {
    color: var(--c-ink); font-weight: 600; border: 0;
    text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px;
}
.emergency-banner a:hover { color: var(--c-emergency); }
.emergency-banner .eb-short { display: inline; }
.emergency-banner .eb-full  { display: none; }
@media (min-width: 768px) {
    .emergency-banner .eb-short { display: none; }
    .emergency-banner .eb-full  { display: inline; }
    .emergency-banner .container { padding: 0 1.5rem; }
}

/* =====================================================================
   Hero — editorial full-bleed
   ===================================================================== */
.hero {
    position: relative;
    min-height: clamp(520px, 78vh, 720px);
    display: grid;
    align-items: center;
    color: #fff;
    background: var(--c-bg-deep) center / cover no-repeat;
    overflow: hidden;
}
/* Asymmetric overlay: keep the left readable for text, let the photo breathe on the right */
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(14,28,27,.85) 0%, rgba(14,28,27,.55) 45%, rgba(14,28,27,.15) 75%, rgba(14,28,27,.05) 100%);
}
/* Subtle bottom vignette so footer-side CTAs stay readable */
.hero::after {
    content: "";
    position: absolute; inset: auto 0 0 0; height: 30%;
    background: linear-gradient(180deg, transparent, rgba(14,28,27,.4));
    pointer-events: none;
}
.hero > .container { width: 100%; }
.hero-text { max-width: 620px; }

/* Scroll cue */
.scroll-cue {
    position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
    color: rgba(255,255,255,.7); font-family: var(--font-display); font-size: .72rem;
    text-transform: uppercase; letter-spacing: .18em;
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    z-index: 2;
}
.scroll-cue::after {
    content: ""; width: 1px; height: 32px; background: rgba(255,255,255,.5);
    animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
    50%      { transform: scaleY(1);  transform-origin: top; opacity: 1; }
}
@media (max-width: 600px) { .scroll-cue { display: none; } }

/* Hero decorative blob — floats with parallax for depth */
.hero-blob {
    position: absolute; top: -10%; right: -8%;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(228,123,61,.32), rgba(228,123,61,0) 65%);
    pointer-events: none;
    filter: blur(20px);
    z-index: 1;
}
.hero > .container, .hero .scroll-cue { z-index: 2; position: relative; }

/* Tilt glare overlay (set on data-tilt elements) */
.tilt-glare {
    position: absolute; inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
    border-radius: inherit;
    z-index: 3;
    mix-blend-mode: overlay;
}

/* Custom cursor — minimal, sober */
@media (hover: hover) {
    body { cursor: none; }
    a, button, input, select, textarea, label, [data-tilt] { cursor: none; }
}
.cursor-halo, .cursor-dot {
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transition: opacity .2s ease, width .15s ease, height .15s ease, border-color .15s ease;
}
.cursor-halo {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid rgba(15, 60, 58, .35);
    backdrop-filter: invert(8%);
}
.cursor-halo.is-hot {
    width: 56px; height: 56px;
    margin: -10px 0 0 -10px;
    border-color: var(--c-accent);
    background: rgba(228,123,61,.08);
}
.cursor-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-primary);
}
@media (hover: none) {
    .cursor-halo, .cursor-dot { display: none !important; }
}
.hero > .container { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 5rem; }

.hero .kicker {
    color: var(--c-accent-soft);
    font-family: var(--font-display); font-weight: 600;
    text-transform: uppercase; letter-spacing: .18em;
    font-size: .82rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}
.hero .kicker::before { content: ""; display: inline-block; width: 32px; height: 1px; background: currentColor; margin-inline-end: .75rem; vertical-align: middle; }

.hero h1 {
    color: #fff; font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.02;
    max-width: 18ch;
    margin-bottom: 1.5rem;
}
.hero .lede {
    color: rgba(255,255,255,.92);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    max-width: 52ch;
    line-height: 1.6;
    margin-bottom: 2.25rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* =====================================================================
   Section heading
   ===================================================================== */
.section-eyebrow {
    display: inline-flex; align-items: center; gap: .65rem;
    font-family: var(--font-display); font-weight: 600;
    text-transform: uppercase; letter-spacing: .18em; font-size: .8rem;
    color: var(--c-accent); margin-bottom: 1rem;
}
.section-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.section-title { margin-bottom: 3rem; max-width: var(--max-w-text); }
.section-title.text-center { margin-inline: auto; }
.section-title h2 { margin: 0 0 1rem; }
.section-title p { color: var(--c-ink-soft); font-size: 1.1rem; }

.divider { width: 60px; height: 2px; background: var(--c-accent); margin: 1.5rem 0; }
.text-center .divider { margin-inline: auto; }

/* =====================================================================
   Programs / cards (heroines-style)
   ===================================================================== */
.program-card {
    background: var(--c-bg-surface);
    border: 1px solid var(--c-line);
    display: flex; flex-direction: column;
    overflow: hidden; position: relative;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.program-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--c-line-strong);
}
.program-card .pc-media {
    aspect-ratio: 4/3; background: var(--c-bg) center / cover no-repeat;
    position: relative;
}
.program-card .pc-icon {
    position: absolute; bottom: -22px; left: 1.5rem;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--c-bg-surface);
    border: 1px solid var(--c-line);
    display: grid; place-items: center;
    font-size: 1.4rem;
}
.program-card .pc-body { padding: 2rem 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; gap: .65rem; }
.program-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.program-card p { color: var(--c-ink-soft); margin: 0; flex: 1; font-size: .94rem; }
.program-card .pc-link { margin-top: 1rem; }
.program-card a.stretched { position: absolute; inset: 0; opacity: 0; }

/* Who-we-serve cards — now with photo, immersive depth */
.who-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--c-bg-surface);
    border: 1px solid var(--c-line);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    transform-style: preserve-3d;
}
.who-card.has-photo { padding: 0; display: flex; flex-direction: column; }
.who-card .who-photo {
    aspect-ratio: 4/3;
    background-position: center; background-size: cover; background-repeat: no-repeat;
    position: relative;
}
.who-card.has-photo h3 { margin: 1.5rem 1.5rem .5rem; font-size: 1.15rem; }
.who-card.has-photo p  { margin: 0 1.5rem 1.75rem; color: var(--c-ink-soft); font-size: .94rem; }
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.who-card:hover .who-photo { transform: scale(1.03); }
.who-card .who-photo { transition: transform .6s ease; }

/* Fallback (no photo) */
.who-card .who-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--c-primary-soft); color: var(--c-primary);
    margin: 0 auto 1.25rem; display: grid; place-items: center; font-size: 1.6rem;
}
.who-card:not(.has-photo) { text-align: center; }
.who-card:not(.has-photo) h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.who-card:not(.has-photo) p  { color: var(--c-ink-soft); margin: 0; font-size: .94rem; }

/* Editorial side-by-side block */
.editorial {
    display: grid; gap: 3rem; align-items: center;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) { .editorial { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.editorial.reverse > :first-child { order: 2; }
@media (max-width: 899px) { .editorial.reverse > :first-child { order: 0; } }

.editorial-media {
    aspect-ratio: 4/5;
    background: var(--c-bg) center / cover no-repeat;
    position: relative;
}
.editorial-media::after {
    content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem;
    border: 1px solid var(--c-line-strong);
    pointer-events: none; z-index: -1;
}
.editorial-body h2 { margin-bottom: 1.25rem; }
.editorial-body p { color: var(--c-ink-soft); font-size: 1.05rem; }
.editorial-body .link-arrow { margin-top: 1rem; }

/* =====================================================================
   Impact strip
   ===================================================================== */
.impact-strip {
    background: var(--c-bg-deep); color: #fff;
    padding: 5rem 0; position: relative;
}
.impact-strip .container { position: relative; z-index: 2; }
.impact-strip h2 { color: #fff; text-align: center; }
.impact-strip .lede { text-align: center; color: rgba(255,255,255,.85); max-width: 60ch; margin: 0 auto 3rem; }

.kpi-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
    border-top: 1px solid rgba(255,255,255,.15);
}
@media (min-width: 768px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi {
    text-align: center; padding: 2.5rem 1rem 1rem;
}
.kpi + .kpi { border-inline-start: 1px solid rgba(255,255,255,.15); }
@media (max-width: 767px) { .kpi + .kpi { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; } }
.kpi .num {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    display: block; line-height: 1; color: #fff;
}
.kpi .lbl {
    font-size: .82rem; color: rgba(255,255,255,.85); margin-top: .65rem;
    text-transform: uppercase; letter-spacing: .12em; font-weight: 500; display: block;
}

/* =====================================================================
   Testimonials
   ===================================================================== */
.tcard {
    background: var(--c-bg-surface);
    border: 1px solid var(--c-line);
    padding: 2rem 1.75rem;
    display: flex; flex-direction: column; gap: 1.25rem;
    position: relative;
}
.tcard::before {
    content: "\201C"; /* opening curly quote */
    font-family: var(--font-display); font-size: 4.5rem;
    line-height: 1; color: var(--c-accent);
    position: absolute; top: -1rem; inset-inline-start: 1.5rem;
}
.tcard blockquote {
    margin: 0; font-family: var(--font-body);
    font-size: 1.02rem; line-height: 1.6; color: var(--c-ink);
}
.tcard cite { font-style: normal; font-size: .85rem; color: var(--c-ink-muted); }
.tcard cite strong {
    display: block; color: var(--c-ink); font-weight: 600; font-style: normal;
    font-family: var(--font-display); font-size: .95rem; margin-bottom: .15rem;
}

/* =====================================================================
   Give section (suggested gift levels)
   ===================================================================== */
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin: 2.5rem 0; }
.give-card {
    border: 1px solid var(--c-line-strong); padding: 2rem 1.5rem;
    background: var(--c-bg-surface);
    display: flex; flex-direction: column; gap: .75rem;
    text-decoration: none; color: inherit; border-radius: 0;
    transition: border-color .15s ease, transform .15s ease;
    border-bottom: 4px solid transparent;
}
.give-card { border: 1px solid var(--c-line); border-bottom: 4px solid var(--c-primary); }
.give-card:hover { transform: translateY(-2px); border-bottom-color: var(--c-accent); }
.give-card .amount {
    font-family: var(--font-display); font-size: 2rem; font-weight: 800;
    color: var(--c-ink); line-height: 1;
}
.give-card .impact { color: var(--c-ink-soft); font-size: .92rem; }

/* =====================================================================
   Stand-with-us CTA cards
   ===================================================================== */
.stand-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}
.stand-card {
    background: var(--c-bg-surface); padding: 2.5rem 1.75rem;
    border: 1px solid var(--c-line);
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column; gap: .65rem;
    transition: background-color .2s ease, border-color .2s ease, transform .3s ease, box-shadow .3s ease;
    border-radius: 0;
}
.stand-card.has-photo {
    position: relative; min-height: 360px;
    background-size: cover; background-position: center;
    color: #fff; overflow: hidden;
    padding: 0;
    transform-style: preserve-3d;
}
.stand-card.has-photo .stand-veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,28,27,.25) 0%, rgba(14,28,27,.55) 55%, rgba(14,28,27,.92) 100%);
    transition: background .3s ease;
    z-index: 1;
}
.stand-card.has-photo .stand-inner {
    position: relative; z-index: 2;
    margin-top: auto; padding: 1.75rem;
    display: flex; flex-direction: column; gap: .55rem;
    transform: translateZ(20px);
}
.stand-card.has-photo h3 { color: #fff; margin: 0; }
.stand-card.has-photo p  { color: rgba(255,255,255,.92); margin: 0; font-size: .92rem; }
.stand-card.has-photo .section-eyebrow { color: rgba(255,255,255,.85); }
.stand-card.has-photo:hover .stand-veil {
    background: linear-gradient(180deg, rgba(228,103,52,.2) 0%, rgba(14,28,27,.7) 55%, rgba(14,28,27,.95) 100%);
}
.stand-card.has-photo:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.stand-card:not(.has-photo):hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.stand-card:hover h3,
.stand-card:hover p { color: inherit; }
.stand-card h3 { margin: 0; }
.stand-card p { color: var(--c-ink-soft); margin: 0; font-size: .92rem; }
.stand-card .arrow {
    font-size: 1.5rem; margin-top: auto;
    font-family: var(--font-display); font-weight: 700;
}

/* =====================================================================
   News cards
   ===================================================================== */
.news-card {
    background: var(--c-bg-surface); border: 1px solid var(--c-line);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.news-card .nc-media { aspect-ratio: 3/2; background: var(--c-bg-soft, var(--c-bg)) center / cover no-repeat; }
.news-card .nc-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.news-card .nc-meta {
    font-family: var(--font-display); font-size: .76rem;
    text-transform: uppercase; letter-spacing: .12em; color: var(--c-accent); font-weight: 600;
}
.news-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.35; }
.news-card p { color: var(--c-ink-soft); margin: 0; flex: 1; font-size: .92rem; }

/* =====================================================================
   Page header (interior pages)
   ===================================================================== */
.page-header {
    background: var(--c-bg-surface);
    padding: 4.5rem 0 3rem;
    border-bottom: 1px solid var(--c-line);
}
.page-header.has-media {
    background: var(--c-bg-deep) center / cover no-repeat;
    color: #fff;
    position: relative; min-height: 380px;
    display: grid; align-items: end;
    padding-bottom: 4rem;
}
.page-header.has-media::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,33,31,.4) 0%, rgba(20,33,31,.8) 100%);
}
.page-header.has-media > .container { position: relative; z-index: 2; }
.page-header.has-media h1,
.page-header.has-media .crumbs,
.page-header.has-media .kicker,
.page-header.has-media p { color: #fff; }
.page-header.has-media .crumbs a,
.page-header.has-media p { color: rgba(255,255,255,.85); }

.page-header .kicker {
    font-family: var(--font-display); font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em;
    font-size: .8rem; color: var(--c-accent); margin-bottom: 1rem;
    display: inline-block;
}
.page-header h1 { margin: 0 0 .75rem; }
.page-header > .container > p { font-size: 1.1rem; color: var(--c-ink-soft); max-width: 60ch; }
.crumbs { font-size: .82rem; color: var(--c-ink-muted); margin-bottom: 1rem; }
.crumbs a { color: inherit; border: 0; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
    background: var(--c-bg-deep); color: rgba(255,255,255,.85);
    padding: 5rem 0 2rem; margin-top: 0;
}
.site-footer a { color: rgba(255,255,255,.85); border: 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 {
    color: #fff; font-size: .8rem; margin: 0 0 1.25rem;
    text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12); margin-top: 4rem; padding-top: 2rem;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
    font-size: .82rem;
}

/* =====================================================================
   Cookie banner
   ===================================================================== */
.cookie-banner {
    position: fixed; bottom: 1rem; inset-inline: 1rem; max-width: 720px; margin: auto;
    background: var(--c-bg-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
    padding: 1rem 1.25rem; box-shadow: var(--shadow-lg); z-index: 80;
    display: flex; flex-direction: column; gap: .75rem;
}
@media (min-width: 600px) { .cookie-banner { flex-direction: row; align-items: center; } }
.cookie-banner p { margin: 0; flex: 1; font-size: .9rem; color: var(--c-ink-soft); }

/* =====================================================================
   Donate page specifics
   ===================================================================== */
.donate-tabs { display: flex; gap: 0; margin-bottom: 2rem; border-bottom: 2px solid var(--c-line); }
.donate-tabs button {
    background: none; border: 0; padding: 1rem 1.5rem;
    font-family: var(--font-display); font-weight: 600; font-size: .85rem;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--c-ink-muted); border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.donate-tabs button[aria-selected="true"] { color: var(--c-primary); border-bottom-color: var(--c-primary); }

.amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .75rem; }
.amount-grid label {
    border: 1px solid var(--c-line-strong); padding: 1.1rem .75rem; text-align: center;
    cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
    background: var(--c-bg-surface); min-height: 70px;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .15s ease, background-color .15s ease;
}
.amount-grid input { position: absolute; opacity: 0; pointer-events: none; }
.amount-grid input:checked + label {
    border-color: var(--c-primary); background: var(--c-primary); color: #fff;
}
.amount-grid label:hover { border-color: var(--c-primary); }

.trust-row {
    display: flex; gap: 1.5rem; flex-wrap: wrap; padding: 1.25rem;
    background: var(--c-bg); border-radius: var(--radius);
    margin: 1.5rem 0; align-items: center;
    font-size: .9rem; color: var(--c-ink-soft);
    border: 1px solid var(--c-line);
}
.trust-row .pill { display: inline-flex; align-items: center; gap: .5rem; }

/* =====================================================================
   Admin & portal
   ===================================================================== */
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 1024px) { .admin-shell { grid-template-columns: 260px 1fr; } }
.admin-sidebar { background: var(--c-bg-deep); color: #fff; padding: 1.75rem 1.5rem; }
.admin-sidebar h2 {
    color: #fff; font-size: .78rem; margin: 1.5rem 0 .75rem;
    text-transform: uppercase; letter-spacing: .14em;
}
.admin-sidebar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .15rem; }
.admin-sidebar a {
    color: rgba(255,255,255,.85); border: 0; display: block;
    padding: .6rem .75rem; border-radius: var(--radius-sm); font-size: .92rem;
}
.admin-sidebar a.is-active, .admin-sidebar a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-main { padding: 2rem; background: var(--c-bg); }
@media (min-width: 768px) { .admin-main { padding: 2.5rem 3rem; } }
.admin-main h1 { margin-top: 0; }

.data-table { width: 100%; border-collapse: collapse; background: var(--c-bg-surface); box-shadow: var(--shadow-sm); }
.data-table th, .data-table td {
    padding: .9rem 1.1rem; text-align: start; border-bottom: 1px solid var(--c-line);
    font-size: .9rem; vertical-align: top;
}
.data-table th {
    background: var(--c-bg); color: var(--c-ink-muted); font-weight: 600;
    font-family: var(--font-display); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
}
.data-table tr:hover td { background: var(--c-bg); }

.tag {
    display: inline-block; padding: .25rem .65rem; border-radius: 999px;
    font-size: .72rem; font-weight: 600; background: var(--c-bg);
    color: var(--c-ink-muted); font-family: var(--font-display);
    text-transform: uppercase; letter-spacing: .06em;
}
.tag-new      { background: #FCEFCC; color: #6B4F1A; }
.tag-assigned { background: var(--c-primary-soft); color: var(--c-primary); }
.tag-active, .tag-completed   { background: #DCEDD5; color: #1F5722; }
.tag-pending  { background: #FCEFCC; color: #6B4F1A; }
.tag-cancelled,.tag-failed,.tag-declined { background: #F5D8D4; color: #7A2C25; }
.tag-closed   { background: var(--c-bg); color: var(--c-ink-muted); }

.stat-card {
    background: var(--c-bg-surface); border: 1px solid var(--c-line);
    padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem;
}
.stat-card .stat-value {
    font-family: var(--font-display); font-weight: 800; font-size: 2rem;
    color: var(--c-primary); line-height: 1;
}
.stat-card .stat-label {
    color: var(--c-ink-muted); font-size: .82rem; text-transform: uppercase;
    letter-spacing: .08em; font-weight: 600; font-family: var(--font-display);
}
.stat-card a { font-size: .85rem; }

/* =====================================================================
   Utilities
   ===================================================================== */
.text-center { text-align: center; }
.muted { color: var(--c-ink-muted); }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.flex { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.flex-col { display: flex; flex-direction: column; gap: .5rem; }
.bg-paper { background: var(--c-bg); }
.bg-surface { background: var(--c-bg-surface); }
.bg-dark { background: var(--c-bg-deep); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p, .bg-dark a { color: rgba(255,255,255,.92); }

/* =====================================================================
   RTL
   ===================================================================== */
[dir="rtl"] .hero h1,
[dir="rtl"] .page-header h1 { text-align: right; }
[dir="rtl"] .main-nav a.is-active::after,
[dir="rtl"] .main-nav a:hover::after { transform: scaleX(-1); }
[dir="rtl"] .lang-switcher .lang-menu { inset-inline-end: auto; inset-inline-start: 0; }
[dir="rtl"] .program-card .pc-icon { left: auto; right: 1.5rem; }

/* =====================================================================
   Print
   ===================================================================== */
@media print {
    .site-header, .site-footer, .quick-exit-btn, .cookie-banner, .menu-toggle, .emergency-banner { display: none !important; }
    a { color: #000; }
    body { background: #fff; color: #000; }
}

/* =====================================================================
   HTML Sitemap page
   ===================================================================== */
.sitemap-anchors {
    display: flex; flex-wrap: wrap; gap: .5rem .75rem;
    padding: 1rem 1.25rem;
    background: var(--c-bg-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-size: .9rem;
    align-items: baseline;
}
.sitemap-anchors strong { color: var(--c-ink-soft); margin-inline-end: .25rem; }
.sitemap-anchors a {
    color: var(--c-primary); border: 0; font-weight: 500;
    padding: .15rem .45rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--c-line);
    text-decoration: none;
}
.sitemap-anchors a:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 800px)  { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .sitemap-grid { grid-template-columns: repeat(3, 1fr); } }

.sitemap-group {
    scroll-margin-top: 5rem;
}
.sitemap-group h2 {
    font-size: 1.15rem;
    font-family: var(--font-display);
    color: var(--c-primary);
    border-bottom: 2px solid var(--c-accent);
    padding-bottom: .5rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sitemap-list li {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--c-line);
}
.sitemap-list li:last-child { border-bottom: 0; }
.sitemap-list li > a {
    color: var(--c-ink);
    border: 0;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
}
.sitemap-list li > a:hover {
    color: var(--c-primary);
    text-decoration: underline;
}
.sitemap-list li > span {
    color: var(--c-ink-soft);
    font-size: .87rem;
    line-height: 1.4;
}
.sitemap-list-compact li {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: .4rem;
}
.sitemap-list-compact li > span { font-size: .8rem; }

/* =====================================================================
   News page ("In the press")
   ===================================================================== */
.news-topics {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--c-line);
}
.news-topics a {
    padding: .35rem .85rem;
    border-radius: 999px;
    background: var(--c-bg-surface);
    border: 1px solid var(--c-line);
    color: var(--c-ink-soft);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
}
.news-topics a.is-active,
.news-topics a:hover {
    background: var(--c-ink);
    color: #fff;
    border-color: var(--c-ink);
}

.news-day {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--c-ink-muted);
    border-bottom: 2px solid var(--c-line);
    padding-bottom: .35rem;
    margin: 2.5rem 0 1.25rem;
    font-family: var(--font-display);
    font-weight: 600;
}

.news-list { list-style: none; padding: 0; margin: 0; }
.news-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--c-line);
}
.news-item:last-child { border-bottom: 0; }
.news-meta {
    font-size: .78rem;
    color: var(--c-ink-muted);
    margin: 0 0 .35rem;
}
.news-topic-tag {
    display: inline-block;
    padding: .1rem .5rem;
    border-radius: 999px;
    background: var(--c-bg-surface);
    border: 1px solid var(--c-line);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--c-ink-soft);
}
.news-item h3 {
    font-size: 1.1rem;
    margin: 0 0 .5rem;
    line-height: 1.35;
}
.news-item h3 a {
    color: var(--c-ink);
    text-decoration: none;
    border: 0;
}
.news-item h3 a:hover { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.news-summary {
    color: var(--c-ink-soft);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0 0 .5rem;
}
.news-actions { margin: 0; }

/* =====================================================================
   Admin top bar
   ===================================================================== */
.admin-topbar {
    position: sticky; top: 0; z-index: 60;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    padding: .5rem 1rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    font-size: .85rem;
}
.admin-mode-label {
    color: var(--c-ink-muted);
    font-weight: 500;
}
.admin-topbar-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.admin-topbar-btn {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: var(--c-primary);
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    border: 0;
}
.admin-topbar-btn:hover { background: var(--c-accent); color: #fff; text-decoration: none; }

/* The admin shell already exists — adjust grid to start below the topbar */
.admin-shell { min-height: calc(100vh - 40px); }

/* =====================================================================
   Page hero banner — cinematic, full-bleed, Ken Burns animated
   ===================================================================== */
.page-hero-banner {
    position: relative;
    min-height: clamp(420px, 65vh, 720px);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-color: var(--c-bg-deep);
    isolation: isolate;
}

/* The image lives on a separate layer so we can animate it without touching text */
.page-hero-banner::before {
    content: "";
    position: absolute; inset: -4%;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -2;
    animation: kenburns 28s ease-in-out infinite alternate;
    will-change: transform;
}
/* Hide the redundant background image on the parent — only the animated ::before shows */
.page-hero-banner { background-image: none !important; }

/* Multi-layer overlay for cinematic depth */
.page-hero-banner::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(14,28,27,.25) 0%, rgba(14,28,27,.40) 40%, rgba(14,28,27,.85) 100%),
        linear-gradient(90deg,  rgba(14,28,27,.45) 0%, rgba(14,28,27,.05) 60%);
    z-index: -1;
}

@keyframes kenburns {
    0%   { transform: scale(1)    translate(0, 0); }
    50%  { transform: scale(1.12) translate(-1%, -1.5%); }
    100% { transform: scale(1.06) translate(1.5%, 1%); }
}
@media (prefers-reduced-motion: reduce) {
    .page-hero-banner::before { animation: none; }
}

.page-hero-banner .container {
    max-width: 980px;
    padding-top:    clamp(4rem, 10vw, 7rem);
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
    position: relative;
    z-index: 1;
}
.page-hero-banner .page-hero-kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .8rem; text-transform: uppercase;
    letter-spacing: .16em; font-weight: 700;
    color: #fff;
    padding: .35rem .9rem;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.page-hero-banner .page-hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: -.02em;
    line-height: 1.02;
    font-weight: 800;
    text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.page-hero-banner .page-hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    color: rgba(255,255,255,.92);
    max-width: 60ch; margin: 0; line-height: 1.55;
    font-weight: 400;
}

/* Scroll indicator at the bottom of every page hero */
.page-hero-banner .container::after {
    content: "";
    display: block;
    width: 1px; height: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,.4), transparent);
    margin: 2rem auto 0;
    animation: pulseDown 2s ease-in-out infinite;
}
@keyframes pulseDown {
    0%, 100% { opacity: .4; transform: translateY(0); }
    50%      { opacity: 1;  transform: translateY(6px); }
}

/* When a page-hero is rendered, hide the duplicate .page-header below it */
.page-hero-banner + .page-header { display: none; }

/* =====================================================================
   Testimonial carousel (auto-rotating)
   ===================================================================== */
.testimonial-carousel {
    position: relative;
    min-height: 280px;
    max-width: 720px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}
.testimonial-carousel .tcard {
    position: absolute; inset: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s ease, transform .6s ease;
    pointer-events: none;
    text-align: center;
}
.testimonial-carousel .tcard.is-active {
    opacity: 1; transform: none; pointer-events: auto; position: relative;
}
.testimonial-carousel blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    color: var(--c-ink);
    line-height: 1.5;
    margin: 0 auto 1.25rem;
    max-width: 60ch;
    border: 0;
}
.testimonial-carousel cite {
    display: block;
    font-style: normal;
    color: var(--c-ink-soft);
    font-size: .9rem;
}
.testimonial-carousel cite strong {
    display: block;
    color: var(--c-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .15rem;
}
.carousel-dots {
    position: absolute; bottom: .5rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: .5rem;
}
.carousel-dots button {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--c-line);
    border: 0; cursor: pointer; padding: 0;
    transition: background-color .2s ease, transform .2s ease;
}
.carousel-dots button.is-active {
    background: var(--c-primary);
    transform: scale(1.3);
}
.carousel-dots button:hover { background: var(--c-accent); }

/* =====================================================================
   Press card (Latest from the press)
   ===================================================================== */
.press-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.press-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.press-card .pc-meta {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--c-ink-muted);
    margin: 0;
}
.press-card h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin: .25rem 0 .35rem;
}
.press-card h3 a {
    color: var(--c-ink);
    text-decoration: none;
    border: 0;
}
.press-card h3 a:hover {
    color: var(--c-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.press-card .pc-summary {
    color: var(--c-ink-soft);
    font-size: .9rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* =====================================================================
   News items with thumbnails (rich layout)
   ===================================================================== */
.news-item-rich {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.25rem;
    align-items: start;
}
.news-item-rich .news-thumb {
    display: block;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    border: 0;
    transition: transform .35s ease, box-shadow .35s ease;
}
.news-item-rich .news-thumb:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}
.news-item-rich .news-body { min-width: 0; }
@media (max-width: 640px) {
    .news-item-rich { grid-template-columns: 1fr; }
    .news-item-rich .news-thumb { aspect-ratio: 16/9; }
}

/* Press card with thumbnail (home widget) */
.press-card-rich {
    padding: 0;
    overflow: hidden;
}
.press-card-rich .pc-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border: 0;
    border-bottom: 1px solid var(--c-line);
    transition: transform .4s ease;
}
.press-card-rich:hover .pc-thumb {
    transform: scale(1.04);
}
.press-card-rich .pc-body {
    padding: 1rem 1.25rem 1.25rem;
    display: flex; flex-direction: column; gap: .4rem;
}

/* =====================================================================
   Editorial inline images
   ===================================================================== */
.inline-photo {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: var(--c-bg-surface);
    position: relative;
    box-shadow: var(--shadow);
    transition: transform .4s ease;
}
.inline-photo:hover { transform: scale(1.01); }
.inline-photo[data-caption]::after {
    content: attr(data-caption);
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.25rem 1.5rem;
    color: #fff;
    font-size: .85rem;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.65));
    font-style: italic;
}

/* 3-up photo grid */
.photo-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}
@media (min-width: 700px) {
    .photo-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.photo-grid-3 > div {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    transition: transform .4s ease;
}
.photo-grid-3 > div:hover { transform: scale(1.02); }

/* Side-by-side editorial block */
.editorial-block {
    display: grid;
    gap: 2rem;
    align-items: center;
    grid-template-columns: 1fr;
    margin: 3rem 0;
}
@media (min-width: 900px) {
    .editorial-block { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
    .editorial-block.reverse > :first-child { order: 2; }
}
.editorial-block .eb-photo {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: transform .5s ease;
}
.editorial-block:hover .eb-photo { transform: translateY(-4px) scale(1.01); }

/* Photo mosaic (gallery) */
.photo-mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 120px;
    gap: .5rem;
    margin: 2rem 0 0;
}
.photo-mosaic > a {
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    border: 0;
    overflow: hidden;
    position: relative;
    transition: transform .4s ease;
}
.photo-mosaic > a::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(20,33,31,.0);
    transition: background-color .3s ease;
}
.photo-mosaic > a:hover {
    transform: scale(1.02);
    z-index: 1;
}
.photo-mosaic > a:hover::after { background: rgba(20,33,31,.15); }
.photo-mosaic .m-l { grid-column: span 3; grid-row: span 2; }
.photo-mosaic .m-m { grid-column: span 2; grid-row: span 2; }
.photo-mosaic .m-s { grid-column: span 1; grid-row: span 1; }
@media (max-width: 700px) {
    .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
    .photo-mosaic .m-l { grid-column: span 2; grid-row: span 2; }
    .photo-mosaic .m-m { grid-column: span 2; grid-row: span 1; }
    .photo-mosaic .m-s { grid-column: span 1; grid-row: span 1; }
}

/* =====================================================================
   Home hero Ken Burns animation
   ===================================================================== */
.hero.hero-kenburns {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero.hero-kenburns::before {
    content: "";
    position: absolute; inset: -4%;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: kenburns 30s ease-in-out infinite alternate;
    will-change: transform;
}
/* Hide the duplicate inline bg-image (we keep it for SSR fallback only) */
.hero.hero-kenburns { background-image: none !important; }
.hero.hero-kenburns::after { content: ""; position: absolute; inset:0; z-index:-1;
    background: linear-gradient(120deg, rgba(14,28,27,.62) 0%, rgba(14,28,27,.38) 55%, rgba(14,28,27,.10) 100%);
}

/* =====================================================================
   Cinematic full-bleed sections (SpaceX-style)
   ===================================================================== */
.cinema-section {
    position: relative;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    padding: clamp(4rem, 10vw, 8rem) 0;
}
.cinema-section .cs-bg {
    position: absolute; inset: -4%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform-origin: center;
    transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.cinema-section.is-in-view .cs-bg {
    transform: scale(1.06);
}
.cinema-section::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(14,28,27,.5) 0%, rgba(14,28,27,.78) 100%);
}
.cinema-section .container { max-width: 1100px; position: relative; z-index: 1; }
.cinema-section .cs-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .8rem; text-transform: uppercase; letter-spacing: .2em;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    padding: .4rem 1rem;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    margin-bottom: 1.5rem;
    opacity: 0; transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}
.cinema-section .cs-title {
    color: #fff;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1;
    margin: 0 0 1.5rem;
    max-width: 14ch;
    opacity: 0; transform: translateY(30px);
    transition: opacity .8s ease .15s, transform .8s ease .15s;
}
.cinema-section .cs-body {
    color: rgba(255,255,255,.92);
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.55;
    max-width: 56ch;
    opacity: 0; transform: translateY(30px);
    transition: opacity .8s ease .3s, transform .8s ease .3s;
}
.cinema-section .cs-cta {
    margin-top: 2rem;
    opacity: 0; transform: translateY(30px);
    transition: opacity .8s ease .45s, transform .8s ease .45s;
}
.cinema-section.is-in-view .cs-eyebrow,
.cinema-section.is-in-view .cs-title,
.cinema-section.is-in-view .cs-body,
.cinema-section.is-in-view .cs-cta {
    opacity: 1; transform: none;
}
.cinema-section.cs-center { text-align: center; }
.cinema-section.cs-center .cs-title,
.cinema-section.cs-center .cs-body { margin-inline: auto; max-width: 18ch; }
.cinema-section.cs-center .cs-body { max-width: 56ch; }

/* =====================================================================
   Sticky storytelling — cinematic, dramatic, never fade
   ===================================================================== */
.sticky-story {
    position: relative;
    background: #060B0A;                 /* true near-black */
    color: #fff;
    /* overflow: clip lets position:sticky descendants work, unlike `hidden` */
    overflow: clip;
    padding: 0;
    isolation: isolate;
}
/* Faint dotted grid overlay (tech-feel) — clipped to the header only so it
   doesn't repeat through every panel's blank area */
.sticky-story .ss-header {
    position: relative; z-index: 2;
}
.sticky-story .ss-header::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}
/* Section eyebrow header (top of the block) */
.sticky-story .ss-header {
    position: relative; z-index: 2;
    text-align: center;
    padding: clamp(4rem, 8vw, 7rem) 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.sticky-story .ss-header .ss-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .8rem; text-transform: uppercase; letter-spacing: .2em;
    font-weight: 700;
    color: var(--c-accent);
    padding: .4rem 1rem;
    border: 1px solid rgba(188,122,61,.4);
    background: rgba(188,122,61,.08);
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.sticky-story .ss-header h2 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.05;
}

.sticky-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    z-index: 1;
}
@media (min-width: 900px) {
    .sticky-story-grid { grid-template-columns: 1fr 1fr; }
}

/* MEDIA side — always visible, becomes sticky on desktop */
.sticky-story-media {
    position: relative;
    background: #000;
    overflow: hidden;
    aspect-ratio: 4/5;
    min-height: 480px;
}
@media (min-width: 900px) {
    .sticky-story-media {
        position: sticky;
        top: 0;
        height: 100vh;
        min-height: 100vh;
        aspect-ratio: auto;
    }
}
.sticky-story-media .ssm-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 8s ease-out;
}
.sticky-story-media .ssm-img.is-active {
    opacity: 1;
    transform: scale(1);
}
/* Always show first image as fallback (in case JS doesn't run) */
.sticky-story-media .ssm-img:first-child { opacity: 1; }
.sticky-story-media .ssm-img.is-active ~ .ssm-img:first-child,
.sticky-story-media .ssm-img:not(:first-child).is-active ~ .ssm-img:first-child { opacity: 0; }

.sticky-story-media::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(6,11,10,.35) 0%, rgba(6,11,10,.05) 30%, rgba(6,11,10,.6) 100%),
        linear-gradient(90deg,  rgba(6,11,10,.55) 0%, rgba(6,11,10,.0) 35%);
    pointer-events: none;
}
/* Big floating watermark number that follows the active panel */
.sticky-story-media .ssm-num {
    position: absolute;
    bottom: 1.5rem; left: 2rem;
    font-family: var(--font-display);
    font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 900;
    line-height: .9;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,.4);
    pointer-events: none;
    z-index: 1;
    transition: opacity .4s ease;
}
.sticky-story-media .ssm-label {
    position: absolute;
    bottom: 2rem; right: 2rem;
    font-family: var(--font-display);
    font-size: .85rem;
    color: rgba(255,255,255,.8);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 1;
}

/* PANELS side */
.sticky-story-panels {
    display: flex; flex-direction: column;
    position: relative;
    z-index: 1;
}
.ss-panel {
    min-height: 90vh;
    padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
    border-top: 1px solid rgba(255,255,255,.08);
    transition: background-color .4s ease;
}
.ss-panel:first-child { border-top: 0; }
.ss-panel.is-active {
    background: linear-gradient(135deg, rgba(188,122,61,.04), transparent);
}
.ss-panel .ss-num-big {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--c-accent);
    margin-bottom: 1rem;
    letter-spacing: -.02em;
    transition: -webkit-text-stroke-color .3s ease, color .3s ease;
}
.ss-panel.is-active .ss-num-big {
    color: var(--c-accent);
    -webkit-text-stroke-color: var(--c-accent);
}
.ss-panel .ss-num {
    display: block;
    font-family: var(--font-display);
    font-size: .8rem;
    color: var(--c-accent);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: .5rem;
}
.ss-panel h3 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.1;
    margin: 0 0 1.25rem;
    max-width: 14ch;
}
.ss-panel p {
    color: rgba(255,255,255,.78);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.65;
    max-width: 48ch;
    margin: 0 0 1.5rem;
    font-weight: 400;
}
.ss-panel .ss-cta {
    display: inline-flex; align-items: center; gap: .65rem;
    color: var(--c-accent);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-decoration: none;
    border: 0;
    padding-bottom: .4rem;
    border-bottom: 1px solid rgba(188,122,61,.3);
    transition: border-color .25s ease, gap .25s ease;
    align-self: flex-start;
}
.ss-panel .ss-cta:hover {
    border-bottom-color: var(--c-accent);
    gap: 1rem;
    color: var(--c-accent);
}
.ss-panel .ss-cta::after { content: "→"; font-size: 1.1rem; }

/* =====================================================================
   Massive type moment — one-line statement on a dark canvas
   ===================================================================== */
.statement-section {
    background: var(--c-ink);
    color: #fff;
    padding: clamp(6rem, 14vw, 12rem) 0;
    text-align: center;
}
.statement-section h2 {
    color: #fff;
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.03em;
    max-width: 18ch;
    margin: 0 auto;
}
.statement-section h2 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--c-accent), #E89F5E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.statement-section .statement-sub {
    color: rgba(255,255,255,.65);
    margin-top: 1.5rem;
    font-size: 1.05rem;
    max-width: 50ch;
    margin-inline: auto;
}
