/*
Theme Name: Shaktii
Theme URI: https://shaktii.org
Author: Shaktii NGO
Author URI: https://shaktii.org
Description: A warm, modern multipage theme for the Shaktii NGO. Includes custom post types for Activities (with picture galleries), Team members (Trustees & Mentors) and Testimonials, plus ready-made pages for Home, About Us, Team, Testimonials, Activities and Contact/Donate. Brand palette: coral (#ff6f61), pink (#ff9abb), yellow (#f6d55c) and black.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shaktii
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
    --color-primary: #ff6f61; /* coral - matches the logo */
    --color-primary-dark: #e85c4f;
    --color-pink: #ff9abb;
    --color-yellow: #f6d55c;
    --color-black: #111111;
    --color-ink: #1d1d1f;
    --color-muted: #5f6168;
    --color-line: #ececef;
    --color-cream: #fff7f5;
    --color-white: #ffffff;
    --color-neon-green: #d2de40;
    --color-neon-yellow: #f5ff67;
    --color-neon-orange: #ffad64;
    --gradient-warm: linear-gradient(135deg, #ff6f61 0%, #ff9abb 60%, #f6d55c 100%);
    --gradient-soft: linear-gradient(135deg, #fff7f5 0%, #fff0f4 100%);
    --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.06);
    --shadow-md: 0 12px 32px rgba(255, 111, 97, 0.16);
    --shadow-lg: 0 24px 60px rgba(17, 17, 17, 0.12);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
    --container: 1180px;
    --space: clamp(54px, 8vw, 80px);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--color-black);
    line-height: 1.15;
    margin: 0 0 0.5em;
    font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1.1rem; }

a { color: var(--color-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-primary-dark); }

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

ul { margin: 0; padding: 0; }

/* =========================================================
   3. Layout helpers
   ========================================================= */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: var(--space); }
.section--cream { background: var(--color-cream); }
.section--dark { background: var(--color-black); color: #f3f3f3; }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 14px;
}

.lead { font-size: 1.13rem; color: var(--color-muted); }

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

/* =========================================================
   4. Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .98rem;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    line-height: 1;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-dark { background: var(--color-black); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

.btn-ghost { background: transparent; color: var(--color-black); border-color: var(--color-black); }
.btn-ghost:hover { background: var(--color-black); color: #fff; }

.btn-light { background: #fff; color: var(--color-black); }
.btn-light:hover { background: var(--color-yellow); color: var(--color-black); }

/* =========================================================
   5. Header / navigation
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: var(--gradient-warm);
    display: grid; place-items: center;
    color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
    box-shadow: var(--shadow-md);
}
.brand__name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-black);
    letter-spacing: -0.02em;
}
.brand__name span { color: var(--color-primary); }

.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; }
.main-nav a {
    display: block;
    padding: 10px 16px;
    color: var(--color-ink);
    font-weight: 500;
    border-radius: var(--radius-pill);
    transition: background .2s ease, color .2s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { background: var(--color-cream); color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border: none; background: var(--color-cream);
    border-radius: 12px; cursor: pointer;
    align-items: center; justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    display: block; width: 22px; height: 2px;
    background: var(--color-black); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   6. Hero
   ========================================================= */
.hero {
    position: relative;
    background: var(--gradient-soft);
    overflow: hidden;
    padding-block: clamp(70px, 9vw, 120px);
}
.hero::before {
    content: "";
    position: absolute; top: -120px; right: -120px;
    width: 420px; height: 420px; border-radius: 50%;
    background: var(--gradient-warm); opacity: .25; filter: blur(10px);
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}
.hero__content h1 { margin-bottom: 18px; }
.hero__content h1 .accent { color: var(--color-primary); }
.hero__content .lead { max-width: 520px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--color-black); }
.hero__stat .label { font-size: .9rem; color: var(--color-muted); }

.hero__art {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
    background: var(--gradient-warm);
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
    position: absolute; bottom: 22px; left: 22px; right: 22px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-sm);
}
.hero__badge .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--color-yellow); display: grid; place-items: center; font-size: 1.3rem; }
.hero__badge strong { display: block; font-family: var(--font-head); color: var(--color-black); }
.hero__badge small { color: var(--color-muted); }

/* hero with full-bleed background photo + overlay */
.hero--photo {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding-top: clamp(48px, 6.5vw, 76px);
    padding-bottom: clamp(32px, 4vw, 48px);
    margin-bottom: 0;
}
.hero--photo::before {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(100deg, rgba(17,17,17,0.66) 0%, rgba(17,17,17,0.42) 42%, rgba(17,17,17,0.18) 70%, rgba(255,111,97,0.25) 100%),
        linear-gradient(0deg, rgba(255,111,97,0.20), rgba(255,111,97,0.20));
    width: auto; height: auto; border-radius: 0; opacity: 1; filter: none;
}
.hero--photo .hero__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    position: relative;
    z-index: 2;
}
.hero--photo::before { z-index: 1; }
.hero--photo .hero__content { max-width: 640px; }
.hero--photo .hero__content h1 { margin-bottom: 18px; }
.hero--photo .hero__content .lead { margin-bottom: 28px; }
.hero--photo .hero__stats { margin-top: 36px; gap: 36px; }
.hero--photo .hero__stat .num { font-size: 1.95rem; }

/* Medium logo circle on the right of the home hero */
.hero__logo-circle {
    position: relative;
    flex-shrink: 0;
    width: clamp(132px, 16vw, 188px);
    height: clamp(132px, 16vw, 188px);
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 36px rgba(255, 111, 97, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.hero__logo-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dotted rgba(255, 255, 255, 0.92);
    pointer-events: none;
    z-index: 1;
}
.hero__logo-circle-mark {
    position: relative;
    z-index: 2;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 4.2rem);
    line-height: 1;
    color: #fff;
}
.hero__logo-circle-img {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}

.hero--photo .eyebrow { color: var(--color-yellow); }
.hero--photo h1 { color: #fff; }
.hero--photo h1 .accent { color: var(--color-yellow); }
.hero--photo .lead { color: rgba(255,255,255,0.92); }
.hero--photo .hero__stat .num { color: #fff; }
.hero--photo .hero__stat .label { color: rgba(255,255,255,0.82); }

/* page hero (interior pages) — uploaded photo + overlay */
.page-hero {
    background-image:
        linear-gradient(rgba(17,17,17,0.46), rgba(17,17,17,0.26)),
        var(--page-hero-photo, url('assets/images/shaktiigirls2.png')); /* linear-gradient(120deg, rgba(255,111,97,0.35) 0%, rgba(246,213,92,0.22) 100%)*/
    background-size: cover;
    background-position: center 28%;
    background-repeat: no-repeat;
    color: #fff;
    padding-block: clamp(90px, 10vw, 126px);
    text-align: center;
    position: relative;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.92); max-width: 640px; margin-inline: auto; font-size: 1.1rem; }
.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,0.85); margin-bottom: 14px; letter-spacing: .04em; }
.breadcrumbs a { color: #fff; }

/* =========================================================
   7. Cards
   ========================================================= */
.card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media1, .card__media2, .card__media3 {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    /*background: var(--gradient-warm);*/
    padding: 2px;
    border: 1px solid var(--color-yellow);
    box-sizing: border-box;
}
    .card__media1::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        width: 82px;
        height: 82px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M8 9h8'/%3E%3Cpath d='M8 13h5'/%3E%3C/svg%3E") 12px 12px / 24px 24px no-repeat, linear-gradient( var(--color-neon-green) 100% );
        clip-path: polygon(0 0, 100% 0, 0 100%);
        box-shadow: 2px 2px 8px rgba(17, 17, 17, 0.14);
        pointer-events: none;
    }
.card__media1::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
    width: 38px;
    height: 38px;
    background: rgba(17, 17, 17, 0.1);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    pointer-events: none;
}
    .card__media2::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        width: 82px;
        height: 82px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a3 3 0 0 1 3 3v5a3 3 0 0 1-6 0V6a3 3 0 0 1 3-3z'/%3E%3Cpath d='M19 10v1a7 7 0 0 1-14 0v-1'/%3E%3Cpath d='M12 18v3'/%3E%3Cpath d='M8 21h8'/%3E%3C/svg%3E") 12px 12px / 24px 24px no-repeat, linear-gradient( var(--color-yellow) 100% );
        clip-path: polygon(0 0, 100% 0, 0 100%);
        box-shadow: 2px 2px 8px rgba(17, 17, 17, 0.14);
        pointer-events: none;
    }

    .card__media2::after {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        z-index: 2;
        width: 38px;
        height: 38px;
        background: rgba(17, 17, 17, 0.1);
        clip-path: polygon(0 0, 100% 0, 0 100%);
        pointer-events: none;
    }
    .card__media3::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        width: 82px;
        height: 82px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E") 12px 12px / 24px 24px no-repeat, linear-gradient( var(--color-neon-orange) 100% );
        clip-path: polygon(0 0, 100% 0, 0 100%);
        box-shadow: 2px 2px 8px rgba(17, 17, 17, 0.14);
        pointer-events: none;
    }

    .card__media3::after {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        z-index: 2;
        width: 38px;
        height: 38px;
        background: rgba(17, 17, 17, 0.1);
        clip-path: polygon(0 0, 100% 0, 0 100%);
        pointer-events: none;
    }
    .card__media1 img, .card__media2 img, .card__media3 img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
        border-top-right-radius: var(--radius-md);
    }
.card:hover .card__media1 img, .card:hover .card__media2 img, .card:hover .card__media3 img {
    transform: scale(1.05);
}

.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__tag {
    align-self: flex-start;
    font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--color-primary); background: var(--color-cream);
    padding: 5px 12px; border-radius: var(--radius-pill);
}
.card__body h3 { margin: 0; }
.card__body p { color: var(--color-muted); margin: 0; }
.card__link {
    margin-top: auto;
    font-family: var(--font-head); font-weight: 600; font-size: .92rem;
    display: inline-flex; align-items: center; gap: 6px;
}
.card__link::after { content: "→"; transition: transform .2s ease; }
.card:hover .card__link::after { transform: translateX(4px); }

/* feature cards (values grid on About page) */
.feature {
    background: #fff; border: 1px solid var(--color-line);
    border-radius: var(--radius-md); padding: 32px 28px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px;
}
.feature__icon.c1 { background: var(--color-cream); }
.feature__icon.c2 { background: #fff0f4; }
.feature__icon.c3 { background: #fffbe9; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--color-muted); margin: 0; }

/* Objectives grid (About page) */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.objective-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.objective-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.objective-card__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-neon-green);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    flex: none;
}
.objective-card__title {
    margin: 0 0 10px;
    font-size: 1.15rem;
}
.objective-card__text {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}
.objectives-grid .objective-card:nth-child(7):last-child {
    grid-column: 2;
}
@media (max-width: 900px) {
    .objectives-grid { grid-template-columns: repeat(2, 1fr); }
    .objectives-grid .objective-card:nth-child(7):last-child { grid-column: auto; }
}
@media (max-width: 600px) {
    .objectives-grid { grid-template-columns: 1fr; }
}

/* Mission / Vision section */
.section.section--pillars {
    padding-top: 0;
    margin-top: 0;
    padding-bottom: var(--space);
}
.section--pillars {
    position: relative;
    overflow: hidden;
    background-color: var(--color-white);
}
.section--pillars::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        rgba(255, 255, 255, 0.97) 38%,
        rgba(255, 255, 255, 0.55) 58%,
        rgba(255, 255, 255, 0.12) 72%,
        transparent 85%
    );
}
.section--pillars__circle {
    position: absolute;
    z-index: 0;
    top: clamp(12px, 3vw, 48px);
    right: max(-12%, -80px);
    width: min(52vw, 580px);
    height: min(52vw, 580px);
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 0 10px rgba(255, 111, 97, 0.1),
        0 24px 56px rgba(255, 111, 97, 0.2);
    background: var(--gradient-warm);
    pointer-events: none;
}
.section--pillars__circle img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.section--pillars .container {
    position: relative;
    z-index: 2;
    padding-top: clamp(40px, 5vw, 64px);
}
.pillars-intro {
    margin-bottom: clamp(32px, 4vw, 48px);
    max-width: 52%;
}
.pillars-intro__title {
    margin: 8px 0 0;
    max-width: 22ch;
    line-height: 1.15;
}
.pillars-intro__lead {
    max-width: 520px;
    margin: 20px 0 0;
    text-align: left;
}

@media (max-width: 980px) {
    .pillars-intro {
        max-width: 58%;
    }
    .section--pillars__circle {
        width: min(58vw, 480px);
        height: min(58vw, 480px);
        right: max(-18%, -100px);
    }
}

@media (max-width: 640px) {
    .section--pillars::after {
        background: linear-gradient(
            to right,
            #ffffff 0%,
            rgba(255, 255, 255, 0.92) 42%,
            rgba(255, 255, 255, 0.45) 58%,
            rgba(255, 255, 255, 0.08) 72%,
            transparent 88%
        );
    }
    .pillars-intro {
        max-width: 62%;
    }
    .pillars-intro__title {
        max-width: none;
        font-size: clamp(1.4rem, 5.2vw, 1.8rem);
    }
    .section--pillars__circle {
        top: 8px;
        right: -22%;
        width: 72vw;
        height: 72vw;
        max-width: 340px;
        max-height: 340px;
        border-width: 4px;
        opacity: 1;
    }
}

/* Mission / Vision / Values pillar cards */
.pillar-grid { align-items: stretch; }

.pillar-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 36px 32px 40px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    backdrop-filter: blur(2px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.section--pillars .pillar-card {
    background-color: rgba(255, 255, 255, 0.92);
}
.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.pillar-card--mission:hover {
    border-color: rgba(255, 111, 97, 0.45);
    box-shadow: 0 16px 40px rgba(255, 111, 97, 0.2);
}
.pillar-card--vision:hover {
    border-color: rgba(255, 154, 187, 0.5);
    box-shadow: 0 16px 40px rgba(255, 154, 187, 0.18);
}
.pillar-card--values:hover {
    border-color: rgba(246, 213, 92, 0.55);
    box-shadow: 0 16px 40px rgba(246, 213, 92, 0.15);
}

.pillar-card__deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.pillar-card__tag {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.pillar-card__title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.pillar-card__text {
    color: var(--color-muted);
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}
.pillar-card__text.lead {
    font-size: 1.08rem;
}

/* Mission — warm coral glow */
.pillar-card--mission {
    background: linear-gradient(155deg, #ffffff 0%, #fff7f5 55%, #ffede9 100%);
    border-color: rgba(255, 111, 97, 0.2);
    box-shadow: 0 4px 24px rgba(255, 111, 97, 0.08);
}
.pillar-card--mission::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-pink));
}
.pillar-card--mission .pillar-card__deco {
    width: 160px; height: 160px;
    top: -50px; right: -40px;
    background: radial-gradient(circle, rgba(255, 111, 97, 0.35) 0%, transparent 70%);
}
.pillar-card--mission .pillar-card__tag { color: var(--color-primary); }
.pillar-card--mission .pillar-card__title { color: var(--color-black); }

/* Vision — soft pink & yellow wash */
.pillar-card--vision {
    background: linear-gradient(155deg, #ffffff 0%, #fff5f8 45%, #fffbe9 100%);
    border-color: rgba(255, 154, 187, 0.25);
    box-shadow: 0 4px 24px rgba(255, 154, 187, 0.1);
}
.pillar-card--vision::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-yellow));
}
.pillar-card--vision .pillar-card__deco {
    width: 140px; height: 140px;
    bottom: -30px; left: -30px;
    background: radial-gradient(circle, rgba(246, 213, 92, 0.4) 0%, transparent 70%);
}
.pillar-card--vision .pillar-card__tag { color: #d45a7a; }
.pillar-card--vision .pillar-card__title { color: var(--color-black); }

/* Values — cream & yellow accent */
.pillar-card--values {
    background: linear-gradient(155deg, #ffffff 0%, #fffbe9 60%, #fff7f5 100%);
    border-color: rgba(246, 213, 92, 0.35);
    box-shadow: 0 4px 24px rgba(246, 213, 92, 0.12);
}
.pillar-card--values::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-yellow), var(--color-primary));
}
.pillar-card--values .pillar-card__deco {
    width: 120px; height: 120px;
    top: 50%; right: -20px;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(255, 111, 97, 0.15) 0%, transparent 70%);
}
.pillar-card--values .pillar-card__tag { color: #c9a020; }
.pillar-card--values .pillar-card__title { color: var(--color-black); }

/* Large decorative quote mark (CSS only) */
.pillar-card::after {
    content: "\201C";
    position: absolute;
    bottom: 8px;
    right: 20px;
    font-family: var(--font-head);
    font-size: 5rem;
    line-height: 1;
    font-weight: 800;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
.pillar-card--mission::after { color: var(--color-primary); opacity: 0.08; }
.pillar-card--vision::after { color: var(--color-pink); opacity: 0.1; }
.pillar-card--values::after { color: var(--color-yellow); opacity: 0.12; }

/* =========================================================
   8. Team
   ========================================================= */
.team-member { text-align: center; }
.team-member__trigger {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: center;
    color: inherit;
    font: inherit;
    transition: transform 0.22s ease;
}
.team-member__trigger:hover { transform: translateY(-4px); }
.team-member__trigger:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}
.team-member__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gradient-warm);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    display: block;
    border: 2px solid var(--color-line);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.team-member__photo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    z-index: 2;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.45) 48%,
        transparent 100%
    );
    transform: skewX(-16deg);
    transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.team-member__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(255, 111, 97, 0.72) 0%,
        rgba(255, 154, 187, 0.2) 42%,
        transparent 68%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.team-member__trigger:hover .team-member__photo {
    border-color: rgba(255, 111, 97, 0.45);
    box-shadow: 0 16px 36px rgba(255, 111, 97, 0.2);
}
.team-member__trigger:hover .team-member__photo::before {
    left: 140%;
}
.team-member__trigger:hover .team-member__photo::after {
    opacity: 1;
}
.team-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-member__trigger:hover .team-member__photo img {
    transform: scale(1.07);
}
.team-member__summary { display: block; }
.team-member__name {
    display: block;
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--color-black);
}
.team-member .role {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    font-family: var(--font-head);
    font-size: .92rem;
}
.team-member .bio { color: var(--color-muted); font-size: .92rem; margin-top: 8px; }

/* Team profile modal */
.team-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
}
.team-modal[hidden] { display: none; }
.team-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.72);
    backdrop-filter: blur(4px);
}
.team-modal__panel {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(88vh, 760px);
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(17, 17, 17, 0.28);
}
.team-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--color-black);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.team-modal__layout {
    display: grid;
    grid-template-columns: minmax(240px, 38%) 1fr;
    height: min(88vh, 760px);
    max-height: min(88vh, 760px);
    overflow: hidden;
}
.team-modal__photo-wrap {
    background: var(--gradient-warm);
    height: 100%;
    border-right: 3px solid var(--color-primary);
    overflow: hidden;
}
.team-modal__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.team-modal__content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    padding: 28px 20px 28px 28px;
}
.team-modal__scroll {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) #ffe8f0;
}
.team-modal__scroll::-webkit-scrollbar { width: 10px; }
.team-modal__scroll::-webkit-scrollbar-track {
    background: #ffe8f0;
    border-radius: 10px;
}
.team-modal__scroll::-webkit-scrollbar-thumb {
    background: var(--color-pink);
    border-radius: 10px;
    border: 2px solid #ffe8f0;
}
.team-modal__scroll::-webkit-scrollbar-thumb:hover {
    background: #ff7a9a;
}
.team-modal__name {
    margin: 0 0 6px;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    padding-right: 40px;
    line-height: 1.25;
}
.team-modal__role {
    margin: 0 0 14px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.92rem;
}
.team-modal__bio {
    color: var(--color-ink);
    font-size: 0.9rem!important;
    line-height: 1.6;
}
.team-modal__bio p { margin-bottom: 0.85em; }
.team-modal__bio p:first-child { margin-top: 0; }
.team-modal__bio p:last-child { margin-bottom: 0; }
body.team-modal-open { overflow: hidden; }

@media (max-width: 720px) {
    .team-modal__layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: min(92vh, 800px);
        max-height: min(92vh, 800px);
    }
    .team-modal__photo-wrap {
        border-right: none;
        border-bottom: 3px solid var(--color-primary);
        height: auto;
        max-height: 38vh;
    }
    .team-modal__photo {
        width: 100%;
        height: auto;
        max-height: 38vh;
        aspect-ratio: 3 / 4;
    }
    .team-modal__content {
        padding: 20px 16px 20px 20px;
        min-height: 0;
    }
}

/* =========================================================
   9. Testimonials
   ========================================================= */
.testimonial {
    background: #fff; border: 1px solid var(--color-line);
    border-radius: var(--radius-md); padding: 32px;
    position: relative; display: flex; flex-direction: column; gap: 18px;
}
.testimonial::before {
    content: "\201C"; font-family: var(--font-head); font-size: 4rem; line-height: 1;
    color: var(--color-neon-green); position: absolute; top: 12px; right: 24px; opacity: .5;
}
.testimonial p { font-size: 1.02rem; color: var(--color-ink); margin: 0; }
.testimonial__quote > :first-child { margin-top: 0; }
.testimonial__quote > :last-child { margin-bottom: 0; }
.testimonial__quote p { font-size: 1.02rem; color: var(--color-ink); margin: 0 0 0.75em; }
.testimonial__quote p:last-child { margin-bottom: 0; }
.testimonial__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial__avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--gradient-warm); flex: none; }
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__author strong { display: block; font-family: var(--font-head); }
.testimonial__author small { color: var(--color-muted); }

/* =========================================================
   10. Gallery (activity)
   ========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid a, .gallery-grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-cream); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* WordPress core gallery block styling */
.entry-content .wp-block-gallery { gap: 14px !important; }
.entry-content .wp-block-image img,
.entry-content .wp-block-gallery img { border-radius: var(--radius-sm); }

/* =========================================================
   11. CTA / Donate band
   ========================================================= */
.cta-band {
    background: var(--gradient-warm);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 72px);
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.95); max-width: 620px; margin-inline: auto; font-size: 1.1rem; }
.cta-band .hero__cta { justify-content: center; margin-top: 26px; }
.small-text-disclaimer {
    padding-top:30px;
    color: rgba(255,255,255,0.95);
    max-width: 720px;
    margin-inline: auto;
    font-size: 0.8rem;
}
/* donate amount chips */
.donate-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}
.donate-chip {
    flex: 1; min-width: 120px;
    border: 2px solid var(--color-line); border-radius: var(--radius-md);
    padding: 18px; text-align: center; cursor: pointer; background: #fff;
    font-family: var(--font-head); transition: all .2s ease;
}
.donate-chip:hover, .donate-chip.is-active { border-color: var(--color-primary); background: var(--color-cream); }
.donate-chip .amt { display: block; font-size: 1.5rem; font-weight: 800; color: var(--color-black); }
.donate-chip .desc { font-size: .8rem; color: var(--color-muted); }
.section--donate-new{
    padding-left:20px;
    padding-right:20px;
    border-radius:20px;
}
/* =========================================================
   12. Content / single
   ========================================================= */
.entry-content {
    font-size: 0.95rem;
}
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.2rem; }
.entry-content li { margin-bottom: .4em; }
.prose { max-width: 760px; margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split--story { align-items: start; }
.split__left {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.story-split__headline {
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.15rem);
    line-height: 1.2;
    color: var(--color-black);
}
.split__left .split__media {
    width: 100%;
}
.split__body > p {
    margin-bottom: 0;
}
.split__media {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: var(--gradient-warm);
    box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Our story — faint group photo parallax wash */
.section--story {
    position: relative;
    overflow: hidden;
    background-color: #fff;
}
.section--story__bg {
    position: absolute;
    left: 0;
    right: 0;
    top: -30%;
    height: 160%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.section--story__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1.15);
}
.section--story__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.85) 45%,
        rgba(255, 255, 255, 0.86) 100%
    );
}
.section--story .container {
    position: relative;
    z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
    .section--story__bg {
        top: 0;
        height: 100%;
    }
    .section--story__bg img {
        will-change: auto;
        transform: none;
    }
}

/* Our story — editorial image carousel */
.split-carousel { position: relative; }
.split-carousel__shell {
    position: relative;
    padding: 0 14px 14px 0;
}
.split-carousel__backdrop {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 111, 97, 0.14) 0%, rgba(246, 213, 92, 0.18) 100%);
    z-index: 0;
}
.split-carousel__frame {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #111;
    box-shadow:
        0 4px 6px rgba(17, 17, 17, 0.04),
        0 24px 48px rgba(17, 17, 17, 0.14);
}
.split-carousel__viewport,
.split-carousel__swiper {
    width: 100%;
    height: 100%;
}
.split-carousel__swiper .swiper-wrapper,
.split-carousel__swiper .swiper-slide {
    width: 100%;
    height: 100%;
}
.split-carousel__slide {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
}
.split-carousel__img,
.split-carousel__viewport .split-carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.split-carousel__swiper .swiper-slide-active .split-carousel__img {
    animation: split-carousel-ken 7s ease-out forwards;
}
@keyframes split-carousel-ken {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}
.split-carousel__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 52px;
    padding: 32px 20px 12px;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(to top, rgba(17, 17, 17, 0.65), transparent);
    line-height: 1.4;
}
.split-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-black);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.12);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.25s ease, background 0.25s ease;
}
.split-carousel__frame:hover .split-carousel__arrow,
.split-carousel__arrow:focus-visible {
    opacity: 1;
}
.split-carousel__arrow:hover {
    background: #fff;
    transform: scale(1.05);
}
.split-carousel__arrow--prev { left: 14px; }
.split-carousel__arrow--next { right: 14px; }
.split-carousel__arrow::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: auto;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}
.split-carousel__arrow--prev::before { transform: rotate(-135deg); }
.split-carousel__arrow--next::before { transform: rotate(45deg); }
.split-carousel__chrome {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 14px 18px 16px;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.35) 70%, transparent 100%);
    pointer-events: none;
}
.split-carousel__meta {
    display: flex;
    align-items: center;
    gap: 14px;
}
.split-carousel__counter {
    flex-shrink: 0;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
}
.split-carousel__counter-current {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.split-carousel__counter-sep {
    margin: 0 2px;
    opacity: 0.45;
}
.split-carousel__progress {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 2px;
    overflow: hidden;
}
.split-carousel__progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-yellow));
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .split-carousel__swiper .swiper-slide-active .split-carousel__img {
        animation: none;
    }
    .split-carousel__arrow {
        opacity: 1;
    }
}

@media (max-width: 720px) {
    .split-carousel__arrow {
        opacity: 1;
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }
    .split-carousel__arrow--prev { left: 10px; }
    .split-carousel__arrow--next { right: 10px; }
}

/* values list (contact etc.) */
.value-list { list-style: none; display: grid; gap: 10px; }
.value-list li { display: flex; gap: 16px; align-items: flex-start; }
.value-list .check { width: 30px; height: 30px; border-radius: 50%; background: var(--color-yellow); color: var(--color-black); display: grid; place-items: center; font-weight: 700; flex: none; }
.value-list strong { font-family: var(--font-head); }

/* Our story — vertical timeline */
.story-timeline {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    gap: 0;
}
.story-timeline__item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0 22px;
    align-items: stretch;
}
.story-timeline__item.reveal {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-timeline__item.reveal.in {
    opacity: 1;
    transform: translateX(0);
}
.story-timeline__item:nth-child(2).reveal.in { transition-delay: 0.12s; }
.story-timeline__item:nth-child(3).reveal.in { transition-delay: 0.24s; }
.story-timeline__rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
}
.story-timeline__node {
    position: relative;
    z-index: 2;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 0 0 rgba(255, 111, 97, 0);
    transition: box-shadow 0.5s ease 0.2s, transform 0.45s ease 0.15s;
}
.story-timeline__item.reveal.in .story-timeline__node {
    box-shadow: 0 0 0 6px rgba(255, 111, 97, 0.18);
    transform: scale(1.12);
}
.story-timeline__node--coral { border-color: var(--color-primary); }
.story-timeline__node--pink { border-color: var(--color-neon-orange); }
.story-timeline__item.reveal.in .story-timeline__node--pink {
    box-shadow: 0 0 0 6px rgb(251, 168, 82, 0.28);
}
.story-timeline__node--gold { border-color: var(--color-neon-green); }
.story-timeline__item.reveal.in .story-timeline__node--gold {
    box-shadow: 0 0 0 6px rgb(218, 250, 146, 0.35);
}
.story-timeline__connector {
    flex: 1;
    width: 2px;
    min-height: 24px;
    margin-top: 6px;
    background: var(--color-line);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.story-timeline__connector::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-pink) 55%, var(--color-yellow) 100%);
    border-radius: 2px;
    transition: height 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}
.story-timeline__item.reveal.in .story-timeline__connector::after {
    height: 100%;
}
.story-timeline__card {
    position: relative;
    padding: 18px 20px 22px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 111, 97, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.45s ease 0.1s;
}
.story-timeline__item.reveal.in .story-timeline__card {
    border-color: rgba(255, 111, 97, 0.22);
    box-shadow: 0 12px 32px rgba(255, 111, 97, 0.1);
}
.story-timeline__item:last-child .story-timeline__card {
    margin-bottom: 0;
}
.story-timeline__index {
    display: block;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--color-primary);
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
}
.story-timeline__item.reveal.in .story-timeline__index {
    opacity: 1;
    transform: translateY(0);
}
.story-timeline__title {
    margin: 0 0 8px;
    font-size: 1.12rem;
    font-family: var(--font-head);
    color: var(--color-black);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease 0.32s, transform 0.45s ease 0.32s;
}
.story-timeline__item.reveal.in .story-timeline__title {
    opacity: 1;
    transform: translateY(0);
}
.story-timeline__card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-muted);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.42s, transform 0.5s ease 0.42s;
}
.story-timeline__item.reveal.in .story-timeline__card p {
    opacity: 1;
    transform: translateY(0);
}
.story-timeline__item:nth-child(2) .story-timeline__index { color: var(--color-neon-orange); }
.story-timeline__item:nth-child(3) .story-timeline__index { color: var(--color-neon-green); }

@media (prefers-reduced-motion: reduce) {
    .story-timeline__item.reveal,
    .story-timeline__index,
    .story-timeline__title,
    .story-timeline__card p,
    .story-timeline__connector::after,
    .story-timeline__node {
        transition: none;
        opacity: 1;
        transform: none;
    }
    .story-timeline__connector::after { height: 100%; }
}

/* About — Mission & Vision split */
.split--mv {
    align-items: start;
    gap: clamp(40px, 6vw, 72px);
}
.mv-block h2 {
    margin: 0 0 20px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.mv-block .eyebrow { margin-bottom: 10px; }
.mv-block__text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-muted);
    max-width: 38ch;
    margin-bottom:30px;
}
.mv-block--vision {
    padding: clamp(28px, 4vw, 40px);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--color-neon-green);
}
.mv-block--mission h2 { margin-bottom: 28px; }
.story-timeline--mission { margin-top: 0; }
.story-timeline__list {
    margin: 10px 0 0;
    padding-left: 1.15em;
    list-style: disc;
}
.story-timeline__list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-muted);
}
.story-timeline__item.reveal.in .story-timeline__list li {
    opacity: 1;
    transform: translateY(0);
}
.story-timeline__item.reveal .story-timeline__list li {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s;
}
@media (max-width: 900px) {
    .split--mv { grid-template-columns: 1fr; }
    .mv-block__text { max-width: none; }
}

.nios-list {
	margin: 16px 0 0;
	padding-left: 1.2em;
	color: var(--color-muted);
}
.nios-list li {
	margin-bottom: 8px;
	line-height: 1.65;
}

/* =========================================================
   Activities — current year list & year archives
   ========================================================= */
.activity-year-badge {
    display: inline-block;
    margin: 0 0 28px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--color-neon-green);
    color: #111;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Month filter tabs */
.activity-month-tabs {
    margin-bottom: 36px;
    position: relative;
}
.activity-month-tabs::before {
    content: "";
    position: absolute;
    inset: 12px -8px -8px -8px;
    background: linear-gradient(135deg, rgba(255,111,97,0.12) 0%, rgba(255,154,187,0.14) 45%, rgba(246,213,92,0.16) 100%);
    border-radius: 20px;
    z-index: 0;
}
.activity-month-tabs__track {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}
.activity-month-tab {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px 12px;
    min-width: 0;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: var(--color-cream);
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
    font-family: inherit;
}
.activity-month-tab:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.activity-month-tab--c1 { border-color: rgba(255,111,97,0.35); }
.activity-month-tab--c2 { border-color: rgba(255,154,187,0.45); }
.activity-month-tab--c3 { border-color: rgba(210,222,64,0.55); }
.activity-month-tab--all {
    background: linear-gradient(135deg, var(--color-neon-green) 0%, #e8f06a 100%);
    color: #111;
    border-color: var(--color-neon-green);
}
@media (max-width: 520px) {
    .activity-month-tabs__track {
        grid-template-columns: repeat(2, 1fr);
    }
}
.activity-month-tab--all .activity-month-tab__num {
    background: rgba(17,17,17,0.12);
    color: #111;
}
.activity-month-tab--all .activity-month-tab__count {
    background: #111;
    color: #fff;
}
.activity-month-tab.is-active {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(255,111,97,0.28);
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff8a7a 100%);
    color: #fff;
    border-color: var(--color-primary);
}
.activity-month-tab--all.is-active {
    box-shadow: 0 14px 32px rgba(210,222,64,0.45);
    border-color: #111;
    outline: 2px solid #111;
    outline-offset: 1px;
}
.activity-month-tab.is-active .activity-month-tab__num {
    background: rgba(255,255,255,0.22);
    color: #fff;
}
.activity-month-tab--all.is-active .activity-month-tab__num {
    background: rgba(17,17,17,0.12);
    color: #111;
}
.activity-month-tab.is-active .activity-month-tab__count {
    background: #fff;
    color: var(--color-primary);
}
.activity-month-tab--all.is-active .activity-month-tab__count {
    background: #111;
    color: #fff;
}
.activity-month-tab__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(17,17,17,0.06);
    color: var(--color-primary);
}
.activity-month-tab__label {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}
.activity-month-tab__count {
    justify-self: end;
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(17,17,17,0.08);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}
.activity-block.is-month-hidden {
    display: none !important;
}

.activity-list {
    display: grid;
    gap: 48px;
}
.activity-block {
    padding: clamp(24px, 4vw, 36px);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.activity-block__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 18px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-line);
}
.activity-block__month {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 111, 97, 0.12);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.activity-block__title {
    margin: 0;
    font-size: clamp(1.15rem, 2.1vw, 1.35rem);
    flex: 1 1 auto;
}
.activity-block__details ul {
    margin: 0;
    padding-left: 1.2em;
}
.activity-block__details li {
    margin-bottom: 8px;
    line-height: 1.65;
    color: var(--color-muted);
}
.activity-block__gallery {
    margin-top: 24px;
}
/* Activity galleries — full image, masonry layout (no crop) */
.activity-block__gallery.gallery-grid {
    display: block;
    columns: 3;
    column-gap: 16px;
}
.activity-block__gallery.gallery-grid .activity-gallery__link {
    display: block;
    margin: 0 0 16px;
    break-inside: avoid;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-cream);
    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.06);
    aspect-ratio: auto;
    height: auto;
    line-height: 0;
}
.activity-block__gallery.gallery-grid .activity-gallery__img,
.activity-block__gallery.gallery-grid img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    vertical-align: middle;
}
.activity-block__gallery.gallery-grid .activity-gallery__link:hover img {
    transform: scale(1.02);
}
@media (max-width: 900px) {
    .activity-block__gallery.gallery-grid { columns: 2; }
}
@media (max-width: 520px) {
    .activity-block__gallery.gallery-grid { columns: 1; }
}
.activity-archive-list {
    display: grid;
    gap: 28px;
}
.activity-archive-row {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 320px);
    gap: 28px;
    align-items: center;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
}
.activity-archive-row__month {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.activity-archive-row__title {
    margin: 0 0 10px;
    font-size: 1.2rem;
}
.activity-archive-row__text {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}
.activity-archive-row__media {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--color-cream);
}
.activity-archive-row__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.activity-year-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-line);
    text-align: center;
}
.activity-year-nav .eyebrow {
    display: block;
    margin-bottom: 16px;
}
.activity-year-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.activity-archive-back {
    margin-top: 32px;
}
.activity-empty {
    padding: 32px;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--color-line);
    border-radius: var(--radius-md);
}
.activity-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(17, 17, 17, 0.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.activity-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
.activity-lightbox img {
    max-width: min(1100px, 100%);
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}
.activity-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
@media (max-width: 768px) {
    .activity-archive-row {
        grid-template-columns: 1fr;
    }
    .activity-archive-row__media {
        order: -1;
    }
}

/* =========================================================
   13. Contact form
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info { display: grid; gap: 22px; align-content: start; }
.contact-info__item { display: flex; gap: 16px; }
.contact-info__item .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--color-cream); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.contact-info__item strong { font-family: var(--font-head); display: block; }
.contact-info__item span { color: var(--color-muted); }

.form-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .92rem; margin-bottom: 8px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--color-line);
    border-radius: 12px; font-family: var(--font-body); font-size: 1rem; background: #fdfdfd;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(255,111,97,.12); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--color-muted); margin-top: 6px; }
.form-feedback { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: .95rem; }
.form-feedback.ok { background: #eafaf0; color: #1c7a46; }
.form-feedback.err { background: #fdecec; color: #c0392b; }

/* =========================================================
   14. Footer
   ========================================================= */
.site-footer { background: var(--color-black); color: #cfcfd4; padding-top: 72px; }
.site-footer a { color: #cfcfd4; }
.site-footer a:hover { color: var(--color-yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand__name { color: #fff; }
.footer-about { color: #9a9aa2; margin-top: 16px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s ease; }
.footer-social a:hover { background: var(--color-primary); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #8c8c93; }

/* newsletter mini */
.newsletter form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; padding: 12px 14px; border-radius: var(--radius-pill); border: none; font-family: var(--font-body); }
.newsletter button { border: none; }

/* =========================================================
   Journey videos — parallax + Yesterday / Today / Tomorrow
   ========================================================= */
.section--journey {
    position: relative;
    overflow: hidden;
    padding-block: clamp(72px, 9vw, 110px);
    color: #fff;
}
.section--journey__bg {
    position: absolute;
    left: 0;
    right: 0;
    top: -28%;
    height: 156%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.section--journey__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1.12);
}
.section--journey__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        160deg,
        rgba(17, 17, 17, 0.42) 0%,
        rgba(17, 17, 17, 0.48) 42%,
        rgba(255, 111, 97, 0.25) 100%
    );
}
.section--journey__inner {
    position: relative;
    z-index: 2;
}
.section--journey .section-head h2,
.section--journey .section-head .lead {
    color: #fff;
}
.section--journey .eyebrow {
    color: var(--color-neon-green);
}
.journey-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
    align-items: end;
}
.journey-video {
    min-width: 0;
}
.journey-video__trigger {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: transform 0.28s ease;
    border-radius: 0;
    overflow: visible;
}
.journey-video__trigger:hover {
    transform: translateY(-8px);
}
.journey-video__label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align:center;
}
.journey-video--yesterday .journey-video__label {
    background: var(--color-neon-orange);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.journey-video--today .journey-video__label {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 111, 97, 0.4);
}
.journey-video--tomorrow .journey-video__label {
    background: var(--color-neon-green);
    color: #111;
}
.journey-video__media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
}
.journey-video--today .journey-video__media {
    aspect-ratio: 16 / 11;
    border-color: rgba(255, 111, 97, 0.65);
    box-shadow: 0 22px 48px rgba(255, 111, 97, 0.28);
}
.journey-video__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    border-radius: 0;
}
.journey-video__trigger:hover .journey-video__media img {
    transform: scale(1.06);
}
.journey-video--today {
    transform: translateY(-12px);
}
@media (max-width: 900px) {
    .journey-videos {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .journey-video--today {
        transform: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .section--journey__bg {
        top: 0;
        height: 100%;
    }
    .section--journey__bg img {
        will-change: auto;
        transform: none;
    }
}

/* =========================================================
   Community videos — bento spotlight + wall
   ========================================================= */
.section--video-spotlight {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #fffbe9 38%, #fff7f5 72%, #ffffff 100%);
    color: var(--color-ink);
}
.section--video-spotlight h2 { color: var(--color-black); }
.section--video-spotlight__glow {
    position: absolute;
    top: -25%;
    right: -5%;
    width: min(560px, 58vw);
    height: min(560px, 58vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 213, 92, 0.42) 0%, rgba(255, 154, 187, 0.12) 45%, transparent 70%);
    pointer-events: none;
}
.section--video-spotlight__accent {
    position: absolute;
    bottom: -12%;
    left: -6%;
    width: min(420px, 45vw);
    height: min(420px, 45vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 97, 0.14) 0%, transparent 68%);
    pointer-events: none;
}
.section--video-spotlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-yellow) 50%, var(--color-pink) 100%);
    pointer-events: none;
}
.video-spotlight__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}
.video-spotlight__lead { color: var(--color-muted); max-width: 520px; margin-bottom: 0; }
.video-spotlight__stat {
    flex-shrink: 0;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 2px dotted #fff;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--color-neon-green);
    box-shadow: 0 10px 28px rgba(255, 111, 97, 0.15);
}
.video-spotlight__stat-num {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin-top:20px;
    color: #fff;
}
.video-spotlight__stat-label {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-top: -20px!important;
    padding: 0 8px;
    line-height: 1.3;
}
.video-spotlight {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.video-spotlight__more { margin-top: 36px; }

/* Spotlight tiles — bright card style, 4 in a row */
.section--video-spotlight .video-tile__trigger {
    border: 2px solid #fff;
    box-shadow: 0 8px 24px rgba(255, 111, 97, 0.1);
}
.section--video-spotlight .video-tile__trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 111, 97, 0.18);
    border-color: rgba(255, 111, 97, 0.35);
}
.section--video-spotlight .video-tile__media {
    background: var(--color-cream);
    aspect-ratio: 16 / 10;
    flex: none;
}
.section--video-spotlight .video-tile__shade {
    background: linear-gradient(to top, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.08) 55%, transparent 100%);
}
.section--video-spotlight .video-tile__play {
    width: 44px;
    height: 44px;
}
.section--video-spotlight .video-tile__play-ring {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 111, 97, 0.88);
}
.section--video-spotlight .video-tile__play-icon {
    border-width: 8px 0 8px 13px;
}
.section--video-spotlight .video-tile__badge {
    background: var(--color-yellow);
    color: var(--color-black);
    font-size: 0.6rem;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
}
.section--video-spotlight .video-tile__body {
    padding: 10px 12px 12px;
}
.section--video-spotlight .video-tile__title {
    font-size: 0.86rem;
    line-height: 1.3;
}

.video-tile { min-width: 0; }
.video-tile__trigger {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.video-tile__trigger:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.video-tile__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #222;
    flex: 1;
    min-height: 0;
}
.video-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.video-tile__trigger:hover .video-tile__media img { transform: scale(1.06); }
.video-tile__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.15) 55%, rgba(17, 17, 17, 0.05) 100%);
    pointer-events: none;
}
.video-tile__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
}
.video-tile__play-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    animation: video-pulse 2.2s ease-out infinite;
}
.video-tile__play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
    position: relative;
    z-index: 1;
}
@keyframes video-pulse {
    0% { transform: scale(1); opacity: 0.85; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}
.video-tile__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 111, 97, 0.92);
    color: #fff;
}
.video-tile__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px 18px 18px;
}
.video-tile__title {
    display: block;
    font-family: var(--font-head);
    font-size: 1rem;
    line-height: 1.35;
    color: #fff;
}
.video-tile__excerpt {
    display: block;
    margin-top: 6px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

/* Home spotlight — equal row (no bento) */

/* Testimonials page — video wall */
.section--video-wall { background: var(--color-cream); }
.video-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.video-tile--wall .video-tile__trigger {
    min-height: 240px;
    background: #fff;
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-sm);
}
.video-tile--wall .video-tile__trigger:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 111, 97, 0.35);
}
.video-tile--wall .video-tile__media { min-height: 180px; }
.video-tile--wall .video-tile__shade {
    background: linear-gradient(to top, rgba(17, 17, 17, 0.82) 0%, transparent 60%);
}

/* YouTube lightbox */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}
.video-lightbox[hidden] { display: none; }
.video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.88);
    backdrop-filter: blur(6px);
}
.video-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
}
.video-lightbox__close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--color-black);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.video-lightbox__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.video-lightbox__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
body.video-lightbox-open { overflow: hidden; }


@media (max-width: 980px) {
    .video-spotlight {
        grid-template-columns: repeat(2, 1fr);
    }
    .video-wall { grid-template-columns: repeat(2, 1fr); }
    .video-spotlight__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .video-spotlight { grid-template-columns: 1fr; }
    .video-tile--wall .video-tile__trigger { min-height: 220px; }
    .video-wall { grid-template-columns: 1fr; }
}

/* =========================================================
   15. Utilities & animation
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { max-width: 460px; }
    .hero--photo .hero__inner { grid-template-columns: 1fr auto; }
    .hero__logo-circle {
        width: 120px;
        height: 120px;
        padding: 16px;
    }
    .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .main-nav {
        position: fixed; inset: 78px 0 auto 0;
        background: #fff; border-bottom: 1px solid var(--color-line);
        padding: 16px 20px 24px; transform: translateY(-130%);
        transition: transform .3s ease; box-shadow: var(--shadow-lg);
    }
    .nav-open .main-nav { transform: translateY(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav a { padding: 14px 16px; }
    .nav-toggle { display: flex; }
    .header-actions .btn { display: none; }
}
@media (max-width: 640px) {
    .hero--photo .hero__inner { grid-template-columns: 1fr; }
    .hero__logo-circle {
        width: 100px;
        height: 100px;
        justify-self: flex-end;
        margin-top: 8px;
    }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero__stats { gap: 24px; }
}
