:root {
    --ink: #232121;
    --ink-muted: #626262;
    --paper: #fbfbf9;
    --surface: #ffffff;
    --surface-soft: #f1f4f1;
    --line: rgba(35, 33, 33, .12);
    --green: #34924A;
    --green-dark: #176B3A;
    --green-light: #4DD06C;
    --purple: #983589;
    --magenta: #E358CE;
    --yellow: #EBBA25;
    --amber: #C0930A;
    --radius-sm: .75rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.75rem;
    --shadow-soft: 0 10px 35px rgba(35, 33, 33, .06);
    --shadow-card: 0 18px 55px rgba(35, 33, 33, .09);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --focus: 0 0 0 .2rem rgba(52, 146, 74, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Geologica', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}
img, iframe { max-width: 100%; }
a { color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 0; box-shadow: var(--focus); }

.skip-link { position: fixed; left: 1rem; top: .75rem; z-index: 2000; padding: .65rem .9rem; border-radius: 999px; background: var(--ink); color: #fff; transform: translateY(-150%); transition: transform .22s var(--ease); }
.skip-link:focus { transform: translateY(0); }

.site-header {
    z-index: 1030;
    background: rgba(251, 251, 249, .82);
    border-bottom: 1px solid rgba(35, 33, 33, .07);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
}
.site-header .navbar { min-height: 76px; padding: .9rem 0; }
.navbar-brand { padding: 0; }
.header-logo { display: block; width: clamp(160px, 18vw, 212px); height: auto; }
.header-logo--home { opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.js .header-logo--home { opacity: 0; transform: translateY(-5px); pointer-events: none; }
.js .header-logo--home.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.header-actions { gap: .6rem !important; }
.navbar-toggler { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 42px; padding: .65rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); }
.navbar-toggler:hover { background: var(--surface); border-color: var(--green); }
.navbar-toggler:active { transform: scale(.96); }
.navbar-toggler-icon { width: 1.1rem; height: 1.1rem; background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-position: center 20%, center 50%, center 80%; background-size: 100% 1px; background-repeat: no-repeat; }
.lang-switch { padding: .2rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.76); }
.lang-switch .btn { min-width: 2.35rem; padding: .38rem .48rem; border: 0; border-radius: 999px !important; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.lang-switch .btn-dark { background: var(--ink); color: #fff; }
.lang-switch .btn-outline-dark { color: var(--ink-muted); }
.lang-switch .btn-outline-dark:hover { background: var(--surface-soft); color: var(--ink); }
.offcanvas { --bs-offcanvas-width: min(390px, 92vw); background: rgba(251,251,249,.97); backdrop-filter: blur(24px); }
.offcanvas-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.offcanvas-body { padding: 1rem 1.5rem 2rem; }

/* Mobile offcanvas navigation: keep the menu links in a visible vertical flow. */
.offcanvas-body { display: flex; flex-direction: column; }
.offcanvas-body > .navbar-nav { display: flex; flex-direction: column; width: 100%; }
.offcanvas .nav-item { display: block; width: 100%; }
.offcanvas .nav-link { display: block; width: 100%; }
.offcanvas.show .offcanvas-body { display: flex !important; min-height: 0; visibility: visible; opacity: 1; }
.offcanvas.show .navbar-nav { display: flex !important; visibility: visible; opacity: 1; }
.offcanvas.show .nav-item,
.offcanvas.show .nav-link { visibility: visible; opacity: 1; }
/* Ensure the mobile drawer itself occupies the viewport; do not rely on CDN defaults. */
@media (max-width: 991.98px) {
    .offcanvas.offcanvas-end {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        z-index: 1045 !important;
        display: flex !important;
        width: min(390px, 92vw) !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        flex-direction: column !important;
        overflow: hidden !important;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    }
    .offcanvas.offcanvas-end.show {
        visibility: visible;
        transform: translateX(0);
    }
    .offcanvas.offcanvas-end .offcanvas-header {
        flex: 0 0 auto;
    }
    .offcanvas.offcanvas-end .offcanvas-body {
        display: flex !important;
        min-height: 0 !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
.offcanvas .navbar-nav { flex-grow: 1; }
.offcanvas .nav-link { position: relative; padding: 1rem .2rem !important; border-bottom: 1px solid var(--line); color: var(--ink-muted); font-size: 1.08rem; transition: color .2s ease, padding-left .2s ease; }
.offcanvas .nav-link:hover, .offcanvas .nav-link.active { padding-left: .7rem !important; color: var(--green-dark); }
.offcanvas .nav-link::after { position: absolute; right: .2rem; bottom: -.5px; left: .2rem; height: 2px; background: var(--green); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.offcanvas .nav-link:hover::after, .offcanvas .nav-link.active::after { transform: scaleX(1); }
.lang-switch-footer { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.lang-switch-footer .lang-switch { display: flex; width: 100%; gap: .2rem; }
.lang-switch-footer .lang-switch .btn { display: flex; flex: 1 1 0; min-width: 0; align-items: center; justify-content: center; text-align: center; }

main { overflow: clip; }
.container { max-width: 1180px; }
.hero { position: relative; min-height: min(760px, calc(100vh - 76px)); display: flex; align-items: center; padding: clamp(4rem, 10vw, 8rem) 0; background: var(--surface); }
.hero::before { position: absolute; top: 0; right: 0; width: 28%; height: 100%; background: var(--green); opacity: .08; content: ''; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-kicker, .eyebrow, .section-label, .type-tag { color: var(--green-dark); font-size: .67rem; font-weight: 700; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.hero-logo { display: block; width: min(100%, 690px); height: auto; margin: 1.25rem 0 2rem; }
.hero-copy { max-width: 660px; margin: 0; color: var(--ink-muted); font-size: clamp(1.05rem, 1.65vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-aside { max-width: 270px; padding: 1.35rem; border-left: 3px solid var(--green); color: var(--ink); background: var(--surface-soft); border-radius: 0 var(--radius-md) var(--radius-md) 0; box-shadow: var(--shadow-soft); }
.hero-aside strong { display: block; margin-bottom: .5rem; font-size: 1.05rem; line-height: 1.35; }
.hero-aside span { color: var(--ink-muted); font-size: .8rem; }

.btn { border-radius: 999px; font-weight: 600; transition: transform .16s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-brand { border-color: var(--green); background: var(--green); color: #fff; }
.btn-brand:hover { border-color: var(--green-dark); background: var(--green-dark); color: #fff; }
.btn-outline-dark { border-color: var(--line); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.section-block { padding: clamp(4.25rem, 9vw, 7rem) 0; }
.section-block--tight {
    padding-top: 2rem;
    padding-bottom: 0;
}
.micro-projects-list-section {
    padding-bottom: 4.5rem;
}
.people-list-section {
    padding-bottom: 4.5rem;
}

.section-title { max-width: 750px; margin: .45rem 0 1rem; font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.06; }
.section-rule { height: 1px; margin: 1rem 0 1.25rem; background: var(--line); }
.page-intro { padding: clamp(4.2rem, 10vw, 7rem) 0 3rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 900px; margin: .65rem 0 .8rem; font-size: clamp(2.35rem, 6vw, 5.5rem); font-weight: 700; letter-spacing: -.065em; line-height: .98; }
.page-intro p { max-width: 650px; margin: 0; color: var(--ink-muted); font-size: 1.03rem; }
.page-intro--compact { padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.page-intro--compact h1 { margin: 0; }
/* Workshop page header: smaller title, more breathing room */
.page-workshop-detail .page-intro--compact { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.5rem; }
.page-workshop-detail .page-intro--compact h1 { font-size: clamp(1.6rem, 3.5vw, 2.75rem); letter-spacing: -.04em; line-height: 1.15; margin: .75rem 0 .3rem; }

.story-panel, .insight-card, .editorial-card, .search-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.story-panel { padding: clamp(1.25rem, 3vw, 2.2rem); }
.content-rich { color: var(--ink-muted); }
.content-rich p:last-child, .content-rich ul:last-child, .content-rich ol:last-child { margin-bottom: 0; }
.content-rich h1, .content-rich h2, .content-rich h3 { margin-top: 1.8em; color: var(--ink); letter-spacing: -.035em; line-height: 1.15; }
.content-rich h1:first-child, .content-rich h2:first-child, .content-rich h3:first-child { margin-top: 0; }
.content-rich a { color: var(--green-dark); text-decoration-thickness: .08em; text-underline-offset: .2em; }
.content-rich blockquote,
.mp-body blockquote {
    position: relative;
    margin: 2rem 0;
    padding: .45rem 0 .45rem 1.35rem;
    border-left: 3px solid var(--purple);
    background: transparent;
    color: var(--purple);
    border-radius: 0;
    font-size: 1.08em;
    font-style: italic;
    line-height: 1.65;
}
.mp-body blockquote p { padding: 0; max-width: none; }
.content-rich a,
.mp-body a,
.mp-lead a { overflow-wrap: anywhere; }
.content-rich a:hover,
.mp-body a:hover,
.mp-lead a:hover { color: var(--green-dark); text-decoration-thickness: .14em; text-underline-offset: .25em; }
.content-rich img, .detail-content img { height: auto; max-width: 100%; border-radius: var(--radius-sm); }
.content-rich table { display: block; max-width: 100%; overflow-x: auto; }

.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: none; }
.accordion-item { background: var(--surface); border-right: 0; border-left: 0; }
.accordion-button { padding: 1.25rem 0; color: var(--ink); background: transparent; font-weight: 600; }
.accordion-button:not(.collapsed) { color: var(--green-dark); background: transparent; box-shadow: none; }
.accordion-button::after { width: 1rem; height: 1rem; background-size: 1rem; }
.accordion-body { padding: .5rem 0 1.75rem 2.8rem; }
.panel-number { display: inline-grid; width: 1.75rem; height: 1.75rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green-dark); font-size: .72rem; }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.insight-card { padding: 1.35rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.insight-icon { display: grid; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; place-items: center; border-radius: 50%; color: var(--green-dark); background: var(--green-light); }
.insight-card h3 { margin-bottom: .8rem; font-size: 1.15rem; letter-spacing: -.025em; }
.timeline { position: relative; display: grid; gap: 1rem; margin-top: 1.75rem; }
.timeline::before { position: absolute; top: .4rem; bottom: .4rem; left: .48rem; width: 1px; background: var(--line); content: ''; }
.timeline-item { position: relative; padding: 0 0 1.25rem 2rem; }
.timeline-item::before { position: absolute; top: .45rem; left: .2rem; width: .58rem; height: .58rem; border: 2px solid var(--surface); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); content: ''; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.editorial-card { overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.editorial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.card-media { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-soft); }
.card-body { display: flex; flex-direction: column; padding: 1.25rem; }
.card-body h2 { margin: .5rem 0; letter-spacing: -.035em; }
.type-tag { display: inline-block; width: fit-content; padding: .28rem .55rem; border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-size: .58rem; letter-spacing: .08em; }
.card-meta { margin-top: auto; padding-top: 1rem; color: var(--ink-muted); font-size: .78rem; }
.card-link { display: inline-block; margin-top: .7rem; color: var(--green-dark); font-size: .84rem; font-weight: 700; }
.ratio { overflow: hidden; border-radius: var(--radius-sm); background: #e9ece8; }
.ratio iframe { width: 100%; height: 100%; border: 0; }
.detail-content { max-width: 920px; margin-right: auto; margin-left: auto; }
.workshop-video { width: min(100%, 920px); margin-right: auto; margin-left: auto; }
.workshop-gallery { max-width: 1080px; margin-right: auto; margin-left: auto; }
.resource-link-card { display: block; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; transition: border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.resource-link-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.search-panel {
    padding: .65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.search-panel .row { --bs-gutter-y: .5rem; }
.ngo-multi-select { position: relative; }
.ngo-multi-select__toggle {
    display: flex;
    align-items: center;
    gap: .35rem;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: .375rem .65rem .375rem .75rem;
    background-image: none;
    color: var(--ink);
    text-align: left;
}
.ngo-multi-select__toggle [data-multi-select-label] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ngo-multi-select__count {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 .28rem;
    border: 1px solid rgba(152, 53, 137, .14);
    border-radius: 999px;
    background: rgba(152, 53, 137, .08);
    color: var(--purple);
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
}
.ngo-multi-select.has-selection .ngo-multi-select__toggle {
    border-color: rgba(152, 53, 137, .28);
    background: rgba(152, 53, 137, .045);
}
.ngo-multi-select__toggle::after {
    flex: 0 0 auto;
    width: .42rem;
    height: .42rem;
    margin-left: .2rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-.12rem);
    transition: transform .18s ease;
}
.ngo-multi-select.is-open .ngo-multi-select__toggle::after { transform: rotate(225deg) translate(-.1rem, -.1rem); }
.ngo-multi-select.is-open .ngo-multi-select__toggle { border-color: rgba(35, 33, 33, .34); box-shadow: 0 0 0 .18rem rgba(35, 33, 33, .1); }
.ngo-multi-select__toggle:hover,
.ngo-sort-select__toggle:hover {
    border-color: rgba(35, 33, 33, .24);
    background: var(--surface-soft);
    color: var(--ink);
}
.ngo-multi-select__menu {
    position: absolute;
    top: calc(100% + .45rem);
    right: 0;
    left: 0;
    z-index: 30;
    width: auto;
    min-width: 100%;
    max-width: none;
    max-height: 18rem;
    overflow-x: hidden;
    overflow-y: auto;
    padding: .45rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.ngo-multi-select__options { width: auto; min-width: 0; padding-top: .3rem; }
.ngo-multi-select__option {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: auto;
    min-width: 0;
    min-height: 2.25rem;
    margin: 0;
    padding: .35rem .6rem;
    border-radius: .35rem;
    color: var(--ink);
    cursor: pointer;
    font-size: .88rem;
    line-height: 1.35;
    white-space: normal;
}

@media (min-width: 992px) {
    /* Widen both taxonomy controls equally; keep their mutual gutter unchanged. */
    .search-panel .row > .col-lg-2:nth-child(2) .ngo-multi-select,
    .search-panel .row > .col-lg-2:nth-child(3) .ngo-multi-select {
        width: calc(100% + 2.5rem);
    }
    .search-panel .row > .col-lg-2:nth-child(3) .ngo-multi-select {
        margin-left: 2.5rem;
    }

    /* The two taxonomy menus share the combined width of both controls. */
    .search-panel .row > .col-lg-2:nth-child(2) .ngo-multi-select__menu {
        width: calc(200% + .5rem);
        max-width: none;
    }
    .search-panel .row > .col-lg-2:nth-child(3) .ngo-multi-select__menu {
        left: calc(-100% - .5rem);
        width: calc(200% + .5rem);
        max-width: none;
    }
}
.ngo-multi-select__option:hover,
.ngo-sort-select__option:hover { background: var(--surface-soft); }
.ngo-multi-select__option input { flex: 0 0 auto; accent-color: var(--green); }
.ngo-multi-select__option span { min-width: 0; }
.ngo-sort-select { position: relative; max-width: 96px; margin-left: auto; }
.ngo-sort-select__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: .375rem .65rem .375rem .75rem;
    background-image: none;
    color: var(--ink);
    text-align: left;
}
.ngo-sort-select__toggle::after {
    width: .4rem;
    height: .4rem;
    margin-left: .45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-.12rem);
    transition: transform .18s ease;
}
.ngo-sort-select.is-open .ngo-sort-select__toggle { border-color: rgba(35, 33, 33, .34); box-shadow: 0 0 0 .18rem rgba(35, 33, 33, .1); }
.ngo-sort-select.is-open .ngo-sort-select__toggle::after { transform: rotate(225deg) translate(-.08rem, -.08rem); }
.ngo-sort-select__label,
.ngo-sort-select__value {
    color: var(--ink);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.ngo-sort-select__menu {
    position: absolute;
    top: calc(100% + .45rem);
    right: 0;
    left: 0;
    z-index: 30;
    padding: .35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-card);
}
.ngo-sort-select__option {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.15rem;
    margin: 0;
    padding: .35rem .5rem;
    border-radius: .35rem;
    color: var(--ink);
    cursor: pointer;
    font-size: .84rem;
}
.ngo-sort-select__option:hover { background: var(--surface-soft); }
.ngo-sort-select__option input { accent-color: var(--green); }
.search-panel .input-group {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}
.search-panel input[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
    filter: grayscale(1) opacity(.62);
}
.search-panel .input-group-text {
    flex: 0 0 auto;
    padding-inline: .8rem .45rem;
    border: 0 !important;
    background: transparent !important;
    color: var(--ink-muted) !important;
}
.search-panel .input-group:focus-within { box-shadow: 0 0 0 .18rem rgba(35, 33, 33, .1); }
.search-panel .input-group .form-control {
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.search-panel .input-group .form-control:focus { background-color: transparent; border-color: transparent; box-shadow: none; }
.search-panel .input-group .form-control:-webkit-autofill,
.search-panel .input-group .form-control:-webkit-autofill:hover,
.search-panel .input-group .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ink);
    -webkit-box-shadow: 0 0 0 1000px var(--surface) inset;
    box-shadow: 0 0 0 1000px var(--surface) inset;
}
.search-panel .form-control,
.search-panel .form-select,
.search-panel .btn {
    min-height: 48px;
    border-radius: var(--radius-sm);
    font-size: .8rem;
    font-weight: 600;
}
.search-panel .btn:hover { transform: none; }
.search-panel .btn-brand,
.search-panel .btn-brand:hover,
.search-panel .btn-brand:focus-visible {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}
.search-panel .btn-brand:hover,
.search-panel .btn-brand:focus-visible {
    border-color: var(--green-dark);
    background: var(--green-dark);
    color: #fff;
    box-shadow: 0 0 0 .18rem rgba(23, 107, 58, .14);
}
.search-panel input[type="search"] { font-weight: 600; }
.ngo-filter-actions { display: flex; align-items: stretch; gap: .45rem; width: 100%; }
.ngo-filter-actions__submit { flex: 1 1 auto; min-width: 0; }
.ngo-filter-result-count {
    margin: 1.5rem 0;
    color: var(--ink-muted);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}
.ngo-filter-reset {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .375rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink-muted);
    font-size: 1.05rem;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s var(--ease), opacity .2s ease;
}
.ngo-filter-reset.is-disabled {
    cursor: default;
    opacity: .45;
    pointer-events: none;
}
.ngo-filter-reset.is-active {
    border-color: rgba(35, 33, 33, .28);
    background: var(--surface-soft);
    color: var(--ink);
}
.ngo-filter-reset.is-active:hover {
    border-color: rgba(35, 33, 33, .55);
    background: #e7ebe7;
    color: var(--ink);
}
.ngo-filter-reset.is-active:focus-visible {
    border-color: rgba(35, 33, 33, .55);
    background: var(--surface-soft);
    color: var(--ink);
    box-shadow: 0 0 0 .18rem rgba(35, 33, 33, .1);
}
.search-panel .form-control:focus,
.search-panel .form-select:focus {
    border-color: rgba(35, 33, 33, .34);
    box-shadow: 0 0 0 .18rem rgba(35, 33, 33, .1);
}
.form-control, .form-select { border-color: var(--line); border-radius: var(--radius-sm); }
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: var(--focus); }
.ngo-card { height: 100%; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.profile-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
.profile-card .card-body { min-height: 170px; }
.profile-quote { max-height: 0; overflow: hidden; color: var(--purple); transition: max-height .35s var(--ease), opacity .25s ease; opacity: 0; }
.profile-card:hover .profile-quote, .profile-card.is-open .profile-quote { max-height: 220px; opacity: 1; }
.social-links .btn { width: 42px; height: 42px; padding: 0; display: inline-grid; place-items: center; }
.partner-logo { max-width: 190px; max-height: 62px; padding: .45rem .65rem; object-fit: contain; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 3px 12px rgba(35,33,33,.08); }

.site-footer { padding: 4rem 0 1.25rem; color: var(--ink-muted); background: var(--paper); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.footer-brand { width: min(100%, 275px); height: auto; }
.funding-text { max-width: 610px; white-space: pre-line; font-size: .82rem; line-height: 1.55; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; margin-top: 2.5rem; border-top: none; color: var(--ink-muted); font-size: .72rem; }

@media (max-width: 991.98px) {
    .hero { min-height: auto; }
    .hero-aside { max-width: none; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .ngo-multi-select__menu {
        right: 0;
        width: auto;
        min-width: 0;
        max-width: none;
        overflow-x: hidden;
    }
    .ngo-multi-select__options { width: auto; min-width: 0; }
    .ngo-multi-select__option {
        width: auto;
        min-width: 0;
        white-space: normal;
    }
}

@media (max-width: 575.98px) {
    .ngo-multi-select__toggle [data-multi-select-label] { flex: 1 1 auto; }
    .ngo-multi-select__count { margin-left: auto; }
    .ngo-sort-select { max-width: none; margin-left: 0; }
    .ngo-sort-select__toggle { min-height: 48px; }
    body { font-size: .95rem; }
    .site-header .navbar { min-height: 68px; }
    .hero { padding: 4rem 0 4.5rem; }
    .hero-logo { margin-top: 1rem; }
    .hero-actions .btn { width: 100%; }
    .insight-grid, .card-grid, .profile-grid { grid-template-columns: 1fr; }
    .card-body { min-height: 0; }
    .footer-bottom { flex-direction: column; }
    .accordion-body { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
    .site-header, .offcanvas { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
    .site-header, .story-panel, .insight-card, .editorial-card, .search-panel, .ngo-card, .profile-card { border-color: var(--ink); }
}

/* Homepage surface — project brief first, quiet civic presentation */
.page-home { --home-ink: #232121; --home-muted: #646663; --home-green: #34924A; --home-green-dark: #176B3A; --home-green-soft: #EAF5EC; --home-purple: #983589; }
.home-hero { position: relative; overflow: hidden; background: #fff; }
.home-hero::after { position: absolute; right: -8rem; bottom: -12rem; width: 34rem; height: 34rem; border: 1px solid rgba(52,146,74,.16); border-radius: 50%; content: ''; pointer-events: none; }
.home-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: min(720px, calc(100vh - 76px)); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-top: clamp(4.5rem, 9vw, 7rem); padding-bottom: clamp(4.5rem, 9vw, 7rem); }
.home-hero__main { max-width: 760px; }
.home-overline { margin: 0; color: var(--home-green-dark); font-size: .66rem; font-weight: 700; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; }
.home-overline--light { color: rgba(255,255,255,.72); }
.home-hero__logo { display: block; width: min(100%, 700px); height: auto; margin: 1.5rem 0 2.25rem; }
.home-hero__lead { max-width: 650px; margin: 0; color: var(--home-muted); font-size: clamp(1.02rem, 1.5vw, 1.28rem); line-height: 1.65; }
.home-hero__lead strong { color: var(--home-ink); font-weight: 650; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.home-button { display: inline-flex; min-height: 48px; align-items: center; gap: .5rem; justify-content: center; padding: .7rem 1.15rem; border: 1px solid transparent; border-radius: 999px; font-size: .86rem; font-weight: 650; text-decoration: none; transition: transform .18s var(--ease), background .2s ease, color .2s ease, border-color .2s ease; }
.home-button:hover { transform: translateY(-2px); }
.home-button:active { transform: scale(.97); }
.home-button--primary { background: var(--home-green); color: #fff; }
.home-button--primary:hover { background: var(--home-green-dark); color: #fff; }
.home-button--quiet { border-color: rgba(35,33,33,.18); color: var(--home-ink); background: #fff; }
.home-button--quiet:hover { border-color: var(--home-ink); color: #fff; background: var(--home-ink); }
.home-hero__facts { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; border-radius: 1.5rem; color: #fff; background: var(--home-green-dark); box-shadow: 0 24px 70px rgba(23,107,58,.2); }
.home-fact { padding: 1.15rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.home-fact:last-child { border-bottom: 0; }
.home-fact strong { display: block; margin-bottom: .15rem; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 650; letter-spacing: -.06em; line-height: 1; }
.home-fact span { display: block; color: rgba(255,255,255,.78); font-size: .77rem; line-height: 1.45; }
.home-section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.home-section--overview { background: #fff; }
.home-section--details { background: var(--home-green-soft); }
.home-section--cards { background: #fff; }
.home-section--timeline { background: #f4f7f4; }
.home-section__grid { display: grid; grid-template-columns: minmax(210px, .72fr) minmax(0, 1.4fr); gap: clamp(2.5rem, 8vw, 8rem); }
.home-section__intro { position: relative; }
.home-section__intro h2, .home-section__heading h2 { margin: .6rem 0 0; color: var(--home-ink); font-size: clamp(1.85rem, 4vw, 3.45rem); font-weight: 650; letter-spacing: -.06em; line-height: 1.04; }
.home-section__hint { max-width: 210px; margin-top: 1rem; color: var(--home-muted); font-size: .86rem; }
.home-reading-column { max-width: 760px; padding-top: .2rem; font-size: 1.1rem; line-height: 1.8; }
.home-rich { color: var(--home-muted); }
.home-rich p:last-child, .home-rich ul:last-child, .home-rich ol:last-child { margin-bottom: 0; }
.home-rich strong { color: var(--home-ink); font-weight: 650; }
.home-rich h1, .home-rich h2, .home-rich h3 { color: var(--home-ink); }
.home-section__heading { max-width: 850px; margin-bottom: 2rem; }
.home-section__heading--row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.home-section__heading--row > p { max-width: 250px; margin: 0; color: var(--home-muted); font-size: .86rem; }
.home-accordion { border-top: 1px solid rgba(23,107,58,.24); }
.home-accordion__item { border-bottom: 1px solid rgba(23,107,58,.24); }
.home-accordion__item h3 { margin: 0; }
.home-accordion__button { display: grid; width: 100%; grid-template-columns: 2rem 1fr 1rem; align-items: center; gap: .8rem; padding: 1.35rem 0; border: 0; color: var(--home-ink); background: transparent; text-align: left; font: inherit; font-weight: 600; }
.home-accordion__button > span { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border: 1px solid var(--home-green); border-radius: 50%; color: var(--home-green-dark); font-size: .7rem; }
.home-accordion__button i { color: var(--home-green-dark); font-size: .9rem; transition: transform .3s var(--ease); }
.home-accordion__button[aria-expanded="true"] i { transform: rotate(45deg); }
.home-accordion__content { max-width: 790px; padding: 0 2.8rem 1.75rem; line-height: 1.75; }
.home-planning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-planning-card { min-height: 280px; padding: 1.4rem; border: 1px solid rgba(35,33,33,.12); border-radius: 1.25rem; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.home-planning-card:hover { transform: translateY(-4px); box-shadow: 0 18px 46px rgba(35,33,33,.09); }
.home-planning-card__number { display: block; margin-bottom: 2.25rem; color: var(--home-green); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.home-planning-card h3 { max-width: 230px; margin: 0 0 1rem; color: var(--home-ink); font-size: 1.18rem; letter-spacing: -.035em; line-height: 1.2; }
.home-planning-card .home-rich { font-size: .86rem; line-height: 1.65; }
.home-planning-card:nth-child(2) { border-top: 3px solid var(--home-purple); }
.home-planning-card:nth-child(3) { border-top: 3px solid var(--home-green); }
.home-timeline { position: relative; max-width: 900px; margin-top: 2rem; }
.home-timeline::before { position: absolute; top: .65rem; bottom: .65rem; left: 1.05rem; width: 1px; background: rgba(23,107,58,.24); content: ''; }
.home-timeline__item { position: relative; display: grid; grid-template-columns: 2.1rem 1fr; gap: 1.5rem; padding-bottom: 2rem; }
.home-timeline__item:last-child { padding-bottom: 0; }
.home-timeline__item > span { position: relative; z-index: 1; display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border: 1px solid var(--home-green); border-radius: 50%; background: #f4f7f4; color: var(--home-green-dark); font-size: .68rem; font-weight: 700; }
.home-timeline__item .home-rich { max-width: 740px; padding-top: .25rem; font-size: .92rem; line-height: 1.65; }
.home-timeline__item .home-rich strong { display: block; margin-bottom: .4rem; font-size: 1rem; }
@media (max-width: 800px) {
    .home-hero__grid, .home-section__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .home-hero__grid { min-height: auto; padding-top: 4rem; padding-bottom: 4.5rem; }
    .home-hero__facts { max-width: 460px; }
    .home-section__heading--row { display: block; }
    .home-section__heading--row > p { margin-top: 1rem; }
    .home-planning-grid { grid-template-columns: 1fr; }
    .home-planning-card { min-height: auto; }
}
@media (max-width: 575.98px) {
    .home-hero__logo { margin: 1.1rem 0 1.5rem; }
    .home-hero__actions { flex-direction: column; }
    .home-button { width: 100%; }
    .home-section__grid { gap: 1.5rem; }
    .home-reading-column { font-size: 1rem; }
    .home-accordion__content { padding-right: 0; padding-left: 2.8rem; }
    .home-timeline__item { gap: .9rem; }
}

/* Homepage final pass: centered project introduction and content-first sections */
/* desktop-nav visibility is controlled by media query only — no global override here */
.home-intro { background: #fff; }
.home-intro__inner { display: flex; min-height: min(690px, calc(100vh - 76px)); flex-direction: column; align-items: center; justify-content: center; padding: 5rem 1rem 6rem; text-align: center; }
.home-intro__logo { display: block; width: min(100%, 700px); height: auto; margin: 0 auto 2.75rem; }
.home-short-description { width: min(100%, 760px); color: var(--home-muted, #646663); font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.8; text-align: center; }
.home-short-description p { margin: 0 auto 1rem; }
.home-short-description p:last-child { margin-bottom: 0; }
.home-short-description strong { color: var(--home-ink, #232121); font-weight: 650; }
.home-section--details { padding-top: clamp(3.5rem, 7vw, 5.5rem); background: #f1f7f2; }
.home-section--cards { background: #fff; }
.home-section--timeline { background: #f7f7f5; }
.home-section--details .container, .home-section--cards .container, .home-section--timeline .container { max-width: 980px; }
.home-accordion__marker { display: grid; width: 2rem; height: 2rem; place-items: center; border: 0; border-radius: 50%; font-size: .85rem; }
.home-accordion__marker--green { background: #b9e9c2; color: #176b3a; }
.home-accordion__marker--purple { background: #efd2eb; color: #983589; }
.home-planning-card__icon { display: grid; width: 3rem; height: 3rem; margin-bottom: 2rem; place-items: center; border-radius: 50%; font-size: 1.15rem; }
.home-planning-card__icon--green { background: #b9e9c2; color: #176b3a; }
.home-planning-card__icon--purple { background: #efd2eb; color: #983589; }
.home-planning-card__icon--yellow { background: #f8e7a8; color: #8a6800; }
.home-timeline__marker { position: relative; z-index: 1; display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border: 4px solid #f7f7f5; border-radius: 50%; font-size: .95rem; }
.home-timeline__marker--green { background: #b9e9c2; color: #176b3a; box-shadow: 0 0 0 1px #34924a; }
.home-timeline__marker--purple { background: #efd2eb; color: #983589; box-shadow: 0 0 0 1px #983589; }
.home-timeline__marker--magenta { background: #f4c3ed; color: #8c2c80; box-shadow: 0 0 0 1px #e358ce; }
.home-timeline__marker--yellow { background: #f8e7a8; color: #8a6800; box-shadow: 0 0 0 1px #c0930a; }
.home-timeline__item { grid-template-columns: 2.4rem 1fr; }
.home-timeline::before { left: 1.2rem; }
@media (max-width: 991.98px) {
    .header-actions { margin-left: auto !important; }
}
@media (max-width: 575.98px) {
    .home-intro__inner { min-height: auto; padding: 4rem 1rem 4.5rem; }
    .home-intro__logo { margin-bottom: 2rem; }
    .home-short-description { font-size: .98rem; line-height: 1.75; }
}

/* Final homepage refinements */
/* desktop-nav display is handled in the media query block above — removed conflicting globals */
.home-intro__inner { min-height: calc(100svh - 76px); padding-top: clamp(4rem, 8vh, 7rem); padding-bottom: clamp(4rem, 8vh, 7rem); }
.home-intro__logo { margin-bottom: clamp(3rem, 7vh, 5rem); }
.home-short-description { font-size: clamp(.9rem, 1.15vw, 1.03rem); line-height: 1.78; }
.home-accordion__marker { width: .72rem; height: .72rem; border-radius: 50%; }
.home-accordion__marker--green { background: #34924A; }
.home-accordion__marker--purple { background: #983589; }
.home-planning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-planning-card { border-top: 3px solid #34924A; }
.home-planning-card:nth-child(2) { border-top-color: #983589; }
.home-planning-card:nth-child(3) { border-top-color: #C0930A; }
.home-planning-card__icon { width: auto; height: auto; margin-bottom: 1.35rem; border-radius: 0; background: transparent !important; font-size: 2rem; }
.home-planning-card__icon--green { color: #34924A; }
.home-planning-card__icon--purple { color: #983589; }
.home-planning-card__icon--yellow { color: #C0930A; }
.site-footer .footer-grid { grid-template-columns: 1fr; }
.site-footer .footer-brand { display: none; }
.site-footer .partner-logo { padding: 0; background: transparent; box-shadow: none; }
@media (max-width: 800px) {
    .home-intro__inner { min-height: calc(100svh - 68px); }
    .home-planning-grid { grid-template-columns: 1fr; }
}

/* Homepage accordion, planning grid, timeline and footer refinements */
.home-accordion__button { grid-template-columns: 1fr 1rem; }
.home-accordion__marker { display: none; }
.home-accordion__content { max-width: 780px; }
.home-planning-container { max-width: 880px !important; }
.home-planning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.home-planning-card { width: 100%; }
.home-timeline__marker { flex: 0 0 2.4rem; background: transparent !important; border: 2px solid currentColor; box-shadow: none !important; }
.home-timeline::before { left: 1.2rem; }
.site-footer .footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); align-items: center; }
.site-footer .footer-bottom { align-items: center; }
.site-footer .legal-links { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: flex-end; }
.site-footer .legal-links .btn { padding: .35rem .7rem; font-size: .72rem; }
@media (max-width: 800px) {
    .home-planning-grid { grid-template-columns: 1fr; }
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .site-footer .footer-logos { justify-content: flex-start !important; }
}

/* Final pass: first viewport, heading color, text links and timeline */
.page-home h1, .page-home h2, .page-home h3, .page-home h4 { color: #983589 !important; }
.page-home .home-intro__inner { min-height: clamp(270px, 38svh, 430px); padding: clamp(2.5rem, 6vh, 5rem) 1rem clamp(2rem, 4vh, 3.5rem); }
.page-home .home-intro__logo { margin-bottom: 0; }
.page-home .home-accordion { margin-top: 0; }
.page-home .home-timeline { max-width: 920px; margin: 2.5rem auto 0; padding: .5rem 0; }
.page-home .home-timeline::before { top: 1.4rem; bottom: 1.4rem; left: 1.25rem; width: 2px; background: #d7d2d7; }
.page-home .home-timeline__item { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1.5rem; padding-bottom: 1.5rem; }
.page-home .home-timeline__item > span { width: 1.8rem; height: 1.8rem; justify-self: center; align-self: start; margin-top: .25rem; border: 2px solid currentColor; background: #f7f7f5 !important; box-shadow: none !important; }
.page-home .home-timeline__item .home-rich { max-width: none; padding: 1.2rem 1.4rem; border: 1px solid #e5e0e5; border-left: 4px solid #983589; border-radius: .85rem; background: #fff; line-height: 1.65; }
.page-home .home-timeline__item:nth-child(1) .home-rich { border-left-color: #34924a; }
.page-home .home-timeline__item:nth-child(2) .home-rich { border-left-color: #983589; }
.page-home .home-timeline__item:nth-child(3) .home-rich { border-left-color: #e358ce; }
.page-home .home-timeline__item:nth-child(4) .home-rich { border-left-color: #c0930a; }
.page-home .home-timeline__item:nth-child(5) .home-rich { border-left-color: #34924a; }
.site-footer .legal-links { gap: 1rem; }
.site-footer .legal-link { padding: 0; border: 0; color: inherit; background: none; font-size: inherit; line-height: inherit; text-decoration: none; cursor: default; }
.site-footer .legal-link:hover, .site-footer .legal-link:focus-visible { color: #983589; text-decoration: underline; cursor: pointer; }
@media (max-width: 800px) {
    .page-home .home-intro__inner { min-height: clamp(220px, 30svh, 320px); }
    .page-home .home-timeline__item { gap: 1rem; }
    .page-home .home-timeline__item .home-rich { padding: 1rem; }
}

/* Corrective layout pass */
html, body { overflow-x: hidden; }
body h1, body h2, body h3, body h4, body h5, body h6,
body.page-home .home-accordion__button,
body.page-home .home-planning-card h3,
body.page-home .home-timeline__item strong { color: #983589 !important; }
.page-home .home-opening { min-height: calc(100svh - 76px); display: flex; flex-direction: column; }
.page-home .home-opening .home-intro { flex: 1 1 55%; display: flex; align-items: center; }
.page-home .home-opening .home-intro__inner { width: 100%; min-height: 0; padding: clamp(2rem, 5vh, 4rem) 1rem; }
.page-home .home-opening .home-section--details { flex: 1 1 45%; display: flex; align-items: flex-start; }
.page-home .home-opening .home-section--details .container { width: 100%; }
.page-home .home-accordion__button { min-width: 0; }
.page-home .home-planning-grid, .page-home .home-planning-card, .page-home .home-rich { min-width: 0; }
.page-home .home-rich { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 800px) {
    .page-home .home-opening { min-height: calc(100svh - 68px); }
    .page-home .home-opening .home-intro { flex-basis: 48%; }
    .page-home .home-opening .home-section--details { flex-basis: 52%; }
}

/* Planning sections: one readable vertical flow at every viewport */
.page-home .home-planning-grid {
    grid-template-columns: minmax(0, 880px);
    justify-content: center;
}

/* Targeted typography alignment — preserve the existing Geologica system */
.page-home .home-accordion__content,
.page-home .home-planning-card .home-rich,
.page-home .home-timeline__item .home-rich {
    font-family: inherit;
    font-size: inherit;
    line-height: 1.65;
}
.page-home .home-accordion__button,
.page-home .home-planning-card h3,
.page-home .home-timeline__item .home-rich strong {
    font-family: inherit;
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.2;
}

/* Framed sections and header stability */
.site-header {
    position: sticky !important;
    top: 0;
}
.page-home .home-planning-card,
.page-home .home-timeline__item .home-rich {
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

/* Keep the homepage header visible from the first paint */
.page-home .site-header,
.page-home .site-header .navbar,
.page-home .js .header-logo--home {
    visibility: visible;
    opacity: 1;
}
.page-home .js .header-logo--home {
    transform: none;
    pointer-events: auto;
}

/* Persistent viewport header */
.site-header {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
}
body { padding-top: 76px; }
@media (max-width: 575.98px) {
    body { padding-top: 68px; }
}


/* =====================================================
   HEADER: social icons + divider
   ===================================================== */
.header-social { gap: .15rem; }
.header-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--ink-muted);
    font-size: .95rem;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}
.header-social__link:hover {
    color: var(--green-dark);
    background: var(--surface-soft);
    transform: translateY(-1px);
}
.header-divider {
    width: 1px;
    height: 22px;
    background: var(--line);
    flex-shrink: 0;
}

/* Offcanvas social row */
.offcanvas-social .header-social__link {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border: 1px solid var(--line);
}
.offcanvas-social .header-social__link:hover {
    border-color: var(--green);
}

/* Desktop nav links — subtle underline on hover */
.desktop-nav {
    display: none; /* hidden on mobile/tablet; shown at ≥992px below */
}
@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
        flex: 1 1 auto;
        justify-content: center;
    }
    .mobile-menu-trigger {
        display: none;
    }
}
.desktop-nav .nav-link {
    position: relative;
    padding: .4rem .15rem;
    color: var(--ink-muted);
    font-size: .86rem;
    font-weight: 500;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: color .18s ease;
}
.desktop-nav .nav-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 1px;
    background: var(--green);
    content: '';
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--ease);
}
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active { color: var(--green-dark); }
.desktop-nav .nav-link:hover::after,
.desktop-nav .nav-link.active::after { transform: scaleX(1); }

/* About us submenu */
.desktop-nav .nav-item--submenu { position: relative; }
.desktop-nav .nav-item--submenu > .nav-submenu { position: relative; }
.desktop-nav .nav-submenu__list {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    z-index: 20;
    min-width: 10rem;
    padding: .45rem;
    margin: 0;
    list-style: none;
    row-gap: .3rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    transform: translateX(-50%);
}
.desktop-nav .nav-submenu__list .nav-link {
    display: block;
    padding: .55rem .65rem;
    border-radius: calc(var(--radius-sm) - 2px);
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease;
}
.desktop-nav .nav-submenu__list li + li { margin-top: .3rem; }
.desktop-nav .nav-submenu__list .nav-link::after { display: none; }
.desktop-nav .nav-submenu__list .nav-link:hover,
.desktop-nav .nav-submenu__list .nav-link:focus-visible {
    color: var(--green-dark);
    background: rgba(23, 107, 58, .08);
}
.desktop-nav .nav-submenu__list .nav-link.active {
    color: var(--green-dark);
    background: rgba(23, 107, 58, .12);
}
@media (min-width: 992px) {
    .desktop-nav .nav-item--submenu:hover > .nav-submenu > .nav-submenu__list,
    .desktop-nav .nav-item--submenu:focus-within > .nav-submenu > .nav-submenu__list {
        display: block !important;
    }
}

.offcanvas .nav-submenu { width: 100%; }
.offcanvas .nav-submenu__parent { display: block; width: 100%; }
.offcanvas .nav-submenu__parent-link {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.offcanvas .nav-submenu__parent > .nav-link { flex: 1 1 auto; }
.offcanvas .nav-submenu__list {
    padding: .35rem 0 .45rem .9rem;
    margin: 0 0 .35rem .35rem;
    list-style: none;
    border-left: 0;
}
.offcanvas .nav-submenu__list .nav-link {
    display: block;
    padding: .55rem .7rem !important;
    border-bottom: 0;
    border-radius: .25rem;
    color: var(--ink-muted);
    font-size: .98rem;
}
.offcanvas .nav-submenu__list .nav-link:hover,
.offcanvas .nav-submenu__list .nav-link.active {
    padding-left: .7rem !important;
    color: var(--green-dark);
    background: rgba(52,146,74,.07);
}
.offcanvas .nav-submenu__list .nav-link::after { display: none; }

/* =====================================================
   FOOTER: full redesign
   ===================================================== */
.site-footer {
    padding: 3rem 0 0;
    color: var(--ink-muted);
    background: var(--paper);
    border-top: 1px solid var(--line);
}

/* Partner logos strip */
.footer-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2.5rem;
    padding-bottom: 0;
    border-bottom: none;
}
.footer-partner-logo {
    max-height: 52px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    opacity: .85;
    filter: grayscale(20%);
    transition: opacity .2s ease, filter .2s ease;
}
.footer-partner-logo:hover { opacity: 1; filter: grayscale(0); }
.footer-partner-logo--photo {
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(35,33,33,.1);
}

/* Funding text area */
.footer-funding {
    padding: 1.75rem 0 1.5rem;
    border-bottom: 1px solid var(--line);
}
.funding-text {
    max-width: 780px;
    margin: 0;
    font-size: .82rem;
    line-height: 1.7;
}
.funding-text strong {
    color: var(--ink);
    font-weight: 600;
}
.funding-hashtag {
    display: inline-block;
    margin-top: .25rem;
    padding: .15rem .5rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--green-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0 1.5rem;
    font-size: .72rem;
    border-top: none;
}
.footer-copy { color: var(--ink-muted); }

/* Footer social icons */
.footer-social {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink-muted);
    font-size: .9rem;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.footer-social__link:hover {
    color: var(--green-dark);
    border-color: var(--green);
    background: #eaf5ec;
    transform: translateY(-2px);
}

/* Legal links */
.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.legal-link {
    color: var(--ink-muted);
    font-size: .72rem;
    text-decoration: none;
    transition: color .18s ease;
}
.legal-link:hover { color: var(--purple); }

/* Footer responsive */
@media (max-width: 767.98px) {
    .lp-section-header--video {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        flex-wrap: nowrap;
    }
    .lp-section-header--video .lp-section__title {
        min-width: 0;
        margin-bottom: 0;
    }
    .lp-section-header--video .lp-btn {
        flex: 0 0 40px;
        width: 40px;
        min-height: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
        display: grid;
        place-items: center;
        padding: 0;
        gap: 0;
        border-radius: 50%;
    }
    .lp-section-header--video .lp-section-header--video__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .lp-section-header--video .lp-btn i,
    .lp-section-header--micro-projects .lp-btn i {
        display: block;
        font-size: 1rem;
        line-height: 1;
    }
    .lp-section-header--micro-projects {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        flex-wrap: nowrap;
    }
    .lp-section-header--micro-projects .lp-section__title {
        min-width: 0;
        margin-bottom: 0;
    }
    .lp-section-header--micro-projects .lp-btn {
        flex: 0 0 40px;
        width: 40px;
        min-height: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
        display: grid;
        place-items: center;
        padding: 0;
        gap: 0;
        border-radius: 50%;
    }
    .lp-section-header--micro-projects .lp-section-header--micro-projects__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }
    .footer-social { order: -1; }
}

/* =====================================================
   CARDS: improved hover + visuals
   ===================================================== */
.editorial-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.editorial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: rgba(52, 146, 74, .25);
}
.card-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--surface-soft);
    transition: transform .4s var(--ease);
}
a:hover .card-media { transform: scale(1.03); }

/* =====================================================
   PAGE INTRO: improved spacing + accent bar
   ===================================================== */
.page-intro {
    position: relative;
    overflow: hidden;
}
.page-intro::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 3px;
    background: var(--green);
    border-radius: 0 2px 0 0;
    content: '';
}

/* =====================================================
   NGO CARDS: better category badge
   ===================================================== */
.ngo-card {
    transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease;
}
.ngo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(52,146,74,.3);
}

/* =====================================================
   PROFILE CARDS: smoother quote reveal
   ===================================================== */
.profile-card {
    position: relative;
    transition: transform .22s var(--ease), box-shadow .22s ease;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.profile-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.profile-card .card-body { padding: 1.1rem 1.25rem 1.25rem; }
.quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink-muted);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.quote-btn:hover {
    color: var(--purple);
    border-color: var(--purple);
    background: rgba(152, 53, 137, .06);
}
.profile-card.is-open .quote-btn {
    color: var(--purple);
    border-color: var(--purple);
    background: rgba(152, 53, 137, .1);
}

/* Quote overlay — covers the photo */
.quote-popover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* height matches the 1:1 image — same as profile-image aspect-ratio */
    aspect-ratio: 1;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: rgba(152, 53, 137, .92);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    gap: .75rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s var(--ease);
    z-index: 2;
}
.profile-card.is-open .quote-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.quote-popover__text {
    font-size: .95rem;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
}
.quote-popover__text::before { content: '\201C'; }
.quote-popover__text::after  { content: '\201D'; }
.quote-close {
    position: absolute;
    top: .65rem;
    right: .65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: .85rem;
    cursor: pointer;
    transition: background .18s ease;
}
.quote-close:hover { background: rgba(255,255,255,.3); }

/* =====================================================
   SEARCH PANEL: visual improvements
   ===================================================== */
.search-panel {
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

/* =====================================================
   BUTTONS: improved focus + loading states
   ===================================================== */
.btn-brand:focus-visible {
    box-shadow: 0 0 0 .22rem rgba(52, 146, 74, .35);
}
.btn-outline-dark:focus-visible {
    box-shadow: 0 0 0 .22rem rgba(35, 33, 33, .2);
}

/* =====================================================
   DETAIL PAGES: back link, title, lead
   ===================================================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.25rem;
    color: var(--green-dark);
    font-size: .84rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap .18s ease, color .18s ease;
}
.back-link:hover { gap: .65rem; color: var(--green-dark); }
.back-link i { font-size: .9rem; }

.detail-title {
    max-width: 860px;
    margin: .5rem 0 .65rem;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1;
}
.page-intro h1.detail-title {
    letter-spacing: normal;
}
.detail-lead {
    max-width: 720px;
    margin: 0 0 1.25rem;
    color: var(--ink-muted);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
}

/* =====================================================
   RESOURCE CARDS
   ===================================================== */
.resource-card {
    height: 100%;
    transition: transform .22s var(--ease), box-shadow .22s ease;
}
.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}
.flipbook-frame {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    margin-bottom: 1rem;
}

/* =====================================================
   WORKSHOP ROW LAYOUT (list style)
   ===================================================== */
.workshop-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    margin-bottom: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.workshop-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: rgba(52, 146, 74, .3);
}
.people-list-section .container > a:last-child .workshop-row { margin-bottom: 0; }
.workshop-row__media { flex-shrink: 0; }
.workshop-row__img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    background: var(--surface-soft);
}
.workshop-row__body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem;
}
.workshop-row__date,
.workshop-row__meta {
    color: var(--ink-muted);
    font-size: .8rem;
}
.workshop-row__cta {
    color: var(--green-dark);
    font-size: .84rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .workshop-row { grid-template-columns: 1fr; }
    .workshop-row__img { min-height: 200px; max-height: 220px; }
}

/* =====================================================
   VIDEO PORTRAIT ROW LAYOUT
   ===================================================== */
.video-portrait-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.75rem 0;
    border-bottom: 1px solid var(--line);
}
.video-portrait-row:last-child { padding-bottom: 0; border-bottom: 0; }
.video-portrait-row:nth-child(even) {
    direction: rtl;
}
.video-portrait-row:nth-child(even) > * { direction: ltr; }

/* ---- YouTube click-to-play player ---- */
.vp-player {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}
.vp-player__trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.vp-player__thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s var(--ease);
}
.vp-player__trigger:hover .vp-player__thumb {
    transform: scale(1.03);
}
.vp-player__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,20,20,.22);
    transition: background .25s ease;
}
.vp-player__trigger:hover .vp-player__overlay {
    background: rgba(20,20,20,.38);
}
.vp-player__play {
    display: grid;
    place-items: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--green-dark);
    font-size: 1.6rem;
    padding-left: .15rem;
    transition: transform .25s var(--ease), background .25s ease;
}
.vp-player__trigger:hover .vp-player__play {
    transform: scale(1.1);
    background: #fff;
}
.vp-player__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Info panel typography — mirrors lp-mp-card */
.video-portrait-row__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.video-portrait-row__title {
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.18;
    color: var(--ink);
    margin: .4rem 0 .75rem;
}
.video-portrait-row__desc {
    font-size: .9rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 767.98px) {
    .video-portrait-row,
    .video-portrait-row:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 1.25rem;
    }
}

/* =====================================================
   NGO CARD: improved internal layout
   ===================================================== */
.ngo-card__name {
    margin: .35rem 0 .3rem;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.3;
}
.ngo-card__location {
    margin: 0;
    color: var(--ink-muted);
    font-size: .82rem;
}
.ngo-card__section { margin-bottom: .85rem; }
.ngo-card__section:last-child { margin-bottom: 0; }
.ngo-card__label {
    margin-bottom: .2rem;
    color: var(--ink);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ngo-card__contact-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--green-dark);
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .18s ease;
}
.ngo-card__contact-link:hover { color: var(--green); }
.ngo-card__contact-link--web {
    padding: .2rem .55rem;
    border: 1px solid rgba(52,146,74,.35);
    border-radius: 999px;
    background: rgba(52,146,74,.06);
}
.ngo-card__contact-link--web:hover {
    border-color: var(--green);
    background: rgba(52,146,74,.12);
}

/* =====================================================
   CONTACT PAGE: contact cards + partner logos
   ===================================================== */
.contact-card {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform .22s var(--ease), box-shadow .22s ease;
}
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}
.contact-card__person + .contact-card__person { margin-top: .5rem; }
.contact-card__email {
    color: var(--green-dark);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    word-break: break-all;
    transition: color .18s ease;
}
.contact-card__email:hover {
    color: var(--green);
    text-decoration: underline;
}

.partner-logos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
}
.contact-partner-logo {
    max-height: 56px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    opacity: .85;
    transition: opacity .2s ease;
}
.contact-partner-logo:hover { opacity: 1; }
.contact-partner-logo--photo {
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(35,33,33,.12);
}

/* =====================================================
   CARD MEDIA WRAP — prevents overflow on hover zoom
   ===================================================== */
.card-media-wrap {
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.card-media-wrap .card-media {
    border-radius: 0;
}

/* =====================================================
   CLIENT FIXES (batch)
   ===================================================== */

/* FIX 1: Logo always visible — remove hide-before-scroll */
.header-logo { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
/* Disable the JS-triggered hide logic entirely */
.js .header-logo--home { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }

/* FIX 2: Social icons — light unified style (outline circle, no fill) */
.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(35, 33, 33, .18);
    color: var(--ink-muted);
    font-size: .95rem;
    background: transparent;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.footer-social__link:hover {
    color: var(--purple);
    border-color: var(--purple);
    background: rgba(152, 53, 137, .06);
    transform: translateY(-2px);
}

/* FIX 3: Footer — only FFO + CSC logos */
/* (IKGS and Nova Simya removed from template) */

/* FIX 4: Footer layout — text first, logos below on mobile */
.footer-funding { padding: 2rem 0 1.75rem; border-bottom: 1px solid var(--line); }
.footer-funding__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.footer-partners {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}
.footer-partner-logo {
    max-height: 48px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    opacity: .8;
    filter: grayscale(15%);
    transition: opacity .2s ease, filter .2s ease;
}
.footer-partner-logo:hover { opacity: 1; filter: grayscale(0); }

/* Mobile: stack text above logos */
@media (max-width: 767.98px) {
    .footer-funding__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .footer-partners {
        /* logos appear AFTER the hashtag text on mobile */
        order: 1;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .funding-text { order: 0; }
}

/* FIX 5: Language switcher — #983589 (purple) instead of black */
.lang-switch .btn-lang-active {
    background: #983589;
    color: #fff;
    border-color: #983589;
}
.lang-switch .btn-lang {
    color: #983589;
    background: transparent;
    border-color: transparent;
}
.lang-switch .btn-lang:hover {
    background: rgba(152, 53, 137, .08);
    color: #983589;
}
/* Keep the pill container neutral */
.lang-switch {
    padding: .2rem;
    border: 1.5px solid rgba(152, 53, 137, .3);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
}

@media (max-width: 991.98px) {
    .offcanvas .lang-switch-footer .lang-switch .btn {
        min-height: 3.25rem;
        padding: .75rem 1rem;
        font-size: 1rem;
        line-height: 1.1;
    }
}

/* =====================================================
   FOOTER: refined layout per client feedback
   ===================================================== */

/* Limit funding text width */
.funding-text { max-width: 580px; }

/* Logos align to the height of the text block */
.footer-partner-logo {
    max-height: none;
    height: auto;
    width: auto;
    max-width: 140px;
    align-self: stretch;
    object-fit: contain;
    object-position: center;
}

/* Make the funding inner block align logos to the text block height */
.footer-funding__inner {
    align-items: stretch;
}
.footer-partners {
    align-items: center;
}

/* Footer logos: stretch to full height of funding block */
.footer-funding__inner {
    display: flex;
    align-items: stretch;
}
.footer-partners {
    align-items: stretch;
    gap: 2rem;
}
.footer-partner-logo {
    max-height: none !important;
    max-width: 160px;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center;
    align-self: stretch;
}

/* Force logo container to stretch and fill full block height */
.footer-funding { padding: 1.5rem 0; }
.footer-funding__inner { align-items: stretch; gap: 3rem; }
.footer-partners { display: flex; align-self: stretch; align-items: stretch; gap: 2rem; }
.footer-partner-logo { display: block; width: auto; height: 100%; max-width: 180px; max-height: none !important; object-fit: contain; object-position: center; flex-shrink: 0; }

/* Logos bottom-aligned with hashtag badge bottom edge */
.footer-funding__inner { align-items: flex-end !important; }
.footer-partners { align-self: stretch; display: flex; align-items: flex-end; gap: 2rem; padding-bottom: 0; }
.footer-partner-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: none !important;
    max-width: 200px;
    object-fit: contain;
}

/* =====================================================
   FOOTER LOGOS — FINAL: stretch to full block height
   Logos fill from top of "За фінансової підтримки"
   down to bottom of #CivilSocietyCooperation badge.
   ===================================================== */
.footer-funding { padding: 1.5rem 0 1.5rem; border-bottom: 1px solid var(--line) !important; }
.footer-funding__inner {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between;
    gap: 2rem;
}
.funding-text { flex: 1 1 auto; max-width: 580px; }
.footer-partners {
    flex-shrink: 0;
    display: flex !important;
    align-items: stretch !important;
    gap: 1.5rem;
}
.footer-partner-logo {
    display: block;
    width: auto !important;
    height: 100% !important;
    max-height: none !important;
    max-width: 200px !important;
    min-height: 60px;
    object-fit: contain !important;
    object-position: center !important;
    opacity: .85;
    transition: opacity .2s ease;
}
.contact-project-by__inner .footer-partner-logo {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.footer-partner-logo:hover { opacity: 1; }
@media (max-width: 767.98px) {
    .footer-funding__inner { flex-direction: column !important; }
    .footer-partners {
        order: 1;
        align-items: center !important;
        height: auto !important;
    }
    .footer-partner-logo {
        height: 48px !important;
        width: auto !important;
    }
    .funding-text { order: 0; }
}

/* Logos bottom-edge aligned with hashtag badge */
.footer-funding__inner { align-items: flex-end !important; }
.footer-partners { align-items: flex-end !important; }

/* ===== LANDING PAGE (new) ===== */

/* -----------------------------------------------
   HERO SECTION
----------------------------------------------- */
.lp-hero {
    background: var(--surface);
    overflow: hidden;
    position: relative;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(52, 146, 74, .07) 0%, transparent 70%);
    pointer-events: none;
}
.lp-hero__container {
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    padding-top: clamp(4rem, 9vw, 7rem);
    padding-bottom: clamp(4rem, 9vw, 7rem);
}
.lp-hero__content {
    max-width: 680px;
}
.lp-hero__headline {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.04;
    color: var(--ink);
    margin: .5rem 0 1rem;
}
.lp-hero__lead {
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    color: var(--ink-muted);
    line-height: 1.65;
    max-width: 600px;
    margin: 0;
}
.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 2rem;
}
.lp-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.lp-stat__num {
    display: block;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--green-dark);
    line-height: 1;
}
.lp-stat__label {
    display: block;
    font-size: .75rem;
    color: var(--ink-muted);
    margin-top: .25rem;
    line-height: 1.4;
}

/* Crowd animation */
.lp-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.lp-crowd-wrap {
    width: 100%;
    max-width: 420px;
    animation: crowdPulse 8s ease-in-out infinite;
}
.lp-crowd-svg {
    width: 100%;
    height: auto;
    display: block;
}
.lp-crowd-person {
    opacity: 0;
    animation: personFadeIn .8s var(--ease) forwards;
    animation-delay: var(--delay, 0ms);
}
@keyframes personFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes crowdPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
    .lp-crowd-person {
        opacity: 1 !important;
        animation: none !important;
    }
    .lp-crowd-wrap { animation: none !important; }
}

/* -----------------------------------------------
   SHARED SECTION STYLES
----------------------------------------------- */
.lp-section {
    padding: clamp(4.25rem, 9vw, 7rem) 0;
}
.lp-section--white  { background: var(--surface); }
.lp-section--soft   { background: var(--surface-soft); }
.lp-section--dark   { background: var(--green-dark); color: #fff; }
.page-home .home-final-section {
    padding-bottom: 4.5rem;
}

.lp-eyebrow {
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin: 0 0 .5rem;
    display: block;
}
.lp-eyebrow--light { color: rgba(255,255,255,.7); }

.lp-section__title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.04;
    color: var(--ink);
    margin: .45rem 0 1.75rem;
    max-width: 750px;
}
.lp-section__title--light { color: #fff; }
.lp-section__lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--ink-muted);
    line-height: 1.65;
    max-width: 650px;
    margin: 0 0 2.5rem;
}
.text-center .lp-section__lead,
.text-center .lp-section__title {
    margin-inline: auto;
}

.lp-section-header--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.lp-section-header--row .lp-section__title { margin-bottom: 0; }

/* -----------------------------------------------
   BUTTONS
----------------------------------------------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 48px;
    padding: .7rem 1.3rem;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 650;
    text-decoration: none;
    transition: transform .18s var(--ease), background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn:active { transform: scale(.97); }
.lp-btn--primary {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.lp-btn--primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
    box-shadow: 0 8px 24px rgba(23, 107, 58, .25);
}
.lp-btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: rgba(35,33,33,.2);
}
.lp-btn--outline:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.lp-btn--outline-sm {
    min-height: 38px;
    padding: .45rem 1rem;
    font-size: .8rem;
    background: transparent;
    color: var(--green-dark);
    border-color: rgba(52,146,74,.35);
}
.lp-btn--outline-sm:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
/* Landing section header actions — solid primary green */
[aria-labelledby="micro-projects-title"] .lp-btn--outline-sm,
[aria-labelledby="video-title"] .lp-btn--outline-sm {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
[aria-labelledby="micro-projects-title"] .lp-btn--outline-sm:hover,
[aria-labelledby="video-title"] .lp-btn--outline-sm:hover {
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark);
    box-shadow: 0 8px 24px rgba(23, 107, 58, .25);
}
.lp-btn--inverted {
    background: #fff;
    color: var(--green-dark);
    border-color: #fff;
}
.lp-btn--inverted:hover {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.7);
    box-shadow: none;
}
.lp-btn--inverted-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.lp-btn--inverted-outline:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}

/* -----------------------------------------------
   CONTEXT SECTION (Why this project)
----------------------------------------------- */
.lp-context__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(2rem, 7vw, 6rem);
    align-items: start;
    margin-top: 1rem;
}
.lp-display-stat__num {
    display: block;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -.06em;
    color: var(--green-dark);
    line-height: 1;
}
.lp-display-stat__num span {
    font-size: .65em;
    vertical-align: super;
}
.lp-display-stat__label {
    display: block;
    font-size: .8rem;
    color: var(--ink-muted);
    margin-top: .35rem;
    line-height: 1.45;
    max-width: 180px;
}
.lp-display-stat--sm .lp-display-stat__num {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.lp-context__text-col .lp-section__title { margin-top: 0; }
.lp-rich {
    color: var(--ink-muted);
    font-size: 1rem;
    line-height: 1.75;
}
.lp-rich p { margin-bottom: 1em; }
.lp-rich p:last-child { margin-bottom: 0; }
.lp-rich strong { color: var(--ink); font-weight: 650; }

/* -----------------------------------------------
   TARGET GROUPS GRID
----------------------------------------------- */
.lp-groups__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: .5rem;
}
.lp-group-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.lp-group-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(52,146,74,.25);
}
.lp-group-card__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.lp-group-card__icon--green   { background: rgba(52,146,74,.12);  color: var(--green-dark); }
.lp-group-card__icon--purple  { background: rgba(152,53,137,.11); color: var(--purple); }
.lp-group-card__icon--amber   { background: rgba(192,147,10,.12); color: var(--amber); }
.lp-group-card__icon--magenta { background: rgba(227,88,206,.1);  color: #b02fa0; }
.lp-group-card__name {
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -.025em;
    color: var(--ink);
    margin: 0 0 .4rem;
}
.lp-group-card__desc {
    font-size: .82rem;
    color: var(--ink-muted);
    line-height: 1.5;
    margin: 0;
}

/* -----------------------------------------------
   PROCESS FLOW
----------------------------------------------- */
.lp-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 0;
    position: relative;
}
.lp-flow__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 .75rem;
}
.lp-flow__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
    flex-shrink: 0;
}
.lp-flow__icon--green   { background: rgba(52,146,74,.14);  color: var(--green-dark);  border-color: rgba(52,146,74,.3); }
.lp-flow__icon--purple  { background: rgba(152,53,137,.1);  color: var(--purple);       border-color: rgba(152,53,137,.25); }
.lp-flow__icon--amber   { background: rgba(192,147,10,.11); color: var(--amber);        border-color: rgba(192,147,10,.25); }
.lp-flow__icon--magenta { background: rgba(227,88,206,.09); color: #b02fa0;             border-color: rgba(227,88,206,.2); }
.lp-flow__connector {
    position: absolute;
    top: 1.6rem;
    left: calc(50% + 1.65rem);
    right: calc(-50% + 1.65rem);
    height: 2px;
    background: none;
    border-top: 2px dashed rgba(52,146,74,.3);
}
.lp-flow__connector--hidden { display: none; }
.lp-flow__name {
    font-size: .88rem;
    font-weight: 650;
    color: var(--ink);
    margin: .9rem 0 .35rem;
    letter-spacing: -.02em;
}
.lp-flow__desc {
    font-size: .75rem;
    color: var(--ink-muted);
    line-height: 1.45;
    margin: 0;
}

/* -----------------------------------------------
   PLACEHOLDER CARDS
----------------------------------------------- */
.lp-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
}
.lp-placeholder-card {
    border: 1.5px dashed rgba(52,146,74,.3);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.lp-section--soft .lp-placeholder-card {
    background: #fff;
}
.lp-placeholder-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(52,146,74,.5);
}
.lp-placeholder-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.lp-placeholder-card__media--video {
    aspect-ratio: 16 / 9;
}
.lp-placeholder-img,
.lp-placeholder-video {
    width: 100%;
    height: 100%;
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-section--soft .lp-placeholder-img,
.lp-section--soft .lp-placeholder-video {
    background: #e8eee8;
}
.lp-play-btn {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: rgba(35,33,33,.18);
    color: #fff;
    font-size: 1.3rem;
    backdrop-filter: blur(4px);
    transition: background .2s ease, transform .2s ease;
}
.lp-placeholder-card:hover .lp-play-btn {
    background: var(--green);
    transform: scale(1.08);
}
.lp-placeholder-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.lp-placeholder-card__title {
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -.025em;
    color: var(--ink);
    margin: 0;
}
.lp-placeholder-card__text {
    font-size: .8rem;
    color: var(--ink-muted);
    line-height: 1.5;
    margin: 0;
}
.lp-type-tag {
    display: inline-block;
    width: fit-content;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: rgba(52,146,74,.12);
    color: var(--green-dark);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.lp-type-tag--purple  { background: rgba(152,53,137,.1);  color: var(--purple); }
.lp-type-tag--amber   { background: rgba(192,147,10,.1);  color: var(--amber);  }
.lp-type-tag--magenta { background: rgba(227,88,206,.1);  color: #b02fa0; }

/* -----------------------------------------------
   DIGITAL PLATFORM SECTION
----------------------------------------------- */
.lp-platform__grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: clamp(2rem, 7vw, 6rem);
    align-items: center;
}
.lp-platform__desc {
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    max-width: 520px;
}
.lp-platform__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.lp-platform__list li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    color: rgba(255,255,255,.88);
    font-size: .92rem;
    line-height: 1.5;
}
.lp-platform__list li i {
    font-size: 1.05rem;
    color: var(--green-light);
    flex-shrink: 0;
    margin-top: .1rem;
}

/* CSS browser mockup */
.lp-browser {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 32px 80px rgba(0,0,0,.3);
}
.lp-browser__bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem .9rem;
    background: rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.lp-browser__dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    flex-shrink: 0;
}
.lp-browser__url {
    margin-left: .5rem;
    flex: 1;
    height: .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-size: 0;
}
.lp-browser__body {
    padding: .75rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.lp-browser__nav {
    height: .6rem;
    border-radius: 4px;
    background: rgba(255,255,255,.1);
}
.lp-browser__hero {
    height: 3.5rem;
    border-radius: 4px;
    background: rgba(52,146,74,.3);
    margin-bottom: .25rem;
}
.lp-browser__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
}
.lp-browser__card {
    height: 3rem;
    border-radius: 4px;
    background: rgba(255,255,255,.1);
}
.lp-browser__row {
    height: .5rem;
    border-radius: 4px;
    background: rgba(255,255,255,.08);
}
.lp-browser__row--short {
    width: 60%;
    background: rgba(255,255,255,.06);
}

/* -----------------------------------------------
   PARTNERS SECTION
----------------------------------------------- */
.lp-partners__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem 3rem;
    margin-top: 2rem;
}
.lp-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    text-align: center;
}
.lp-partner__logo {
    max-height: 58px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: .8;
    filter: grayscale(15%);
    transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.lp-partner__logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.04);
}
.lp-partner__logo--photo {
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(35,33,33,.1);
}
.lp-partner__name {
    font-size: .72rem;
    color: var(--ink-muted);
    font-weight: 500;
    max-width: 120px;
    text-align: center;
    line-height: 1.35;
}

/* -----------------------------------------------
   FOOTER CTA STRIP
----------------------------------------------- */
.lp-footer-cta {
    background: var(--green);
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    text-align: center;
}
.lp-footer-cta__inner {
    max-width: 700px;
    margin: 0 auto;
}
.lp-footer-cta__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 1rem;
}
.lp-footer-cta__lead {
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 2rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.lp-footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

/* -----------------------------------------------
   SCROLL FADE-IN ANIMATION
----------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
    transition-delay: calc(var(--i, 0) * 80ms);
}
.fade-up.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* -----------------------------------------------
   LANDING RESPONSIVE
----------------------------------------------- */
@media (max-width: 1100px) {
    .lp-hero__container { grid-template-columns: 1fr 340px; }
    .lp-platform__grid { grid-template-columns: 1fr 320px; }
    .lp-context__grid { grid-template-columns: 220px 1fr; }
}
@media (max-width: 991.98px) {
    .lp-hero__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .lp-hero__visual { order: -1; }
    .lp-crowd-wrap { max-width: 340px; }
    .lp-groups__grid { grid-template-columns: repeat(2, 1fr); }
    .lp-flow { grid-template-columns: repeat(3, 1fr); gap: 1rem 0; }
    .lp-flow__item:nth-child(3) .lp-flow__connector,
    .lp-flow__item:nth-child(5) .lp-flow__connector { display: none; }
    .lp-platform__grid { grid-template-columns: 1fr; }
    .lp-platform__mockup { max-width: 480px; margin: 0 auto; }
    .lp-context__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 767.98px) {
    [aria-labelledby="micro-projects-title"] > .container > .lp-section__lead,
    [aria-labelledby="video-title"] > .container > .lp-section__lead {
        max-width: calc(100% - 4.5rem);
    }
    .lp-card-grid { grid-template-columns: repeat(2, 1fr); }
    [aria-labelledby="process-title"] .lp-section__title {
        margin-bottom: .75rem;
    }
    .lp-flow {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 0;
    }
    .lp-flow__item {
        display: grid;
        grid-template-columns: 3.25rem minmax(0, 1fr);
        grid-template-rows: 1fr auto auto 1fr;
        column-gap: 1rem;
        align-items: center;
        min-height: 5.25rem;
        padding: .75rem 0;
        text-align: left;
        border-bottom: 0;
    }
    .lp-flow__item::after {
        content: "";
        position: absolute;
        z-index: 0;
        top: 4.25rem;
        bottom: -1rem;
        left: 1.625rem;
        border-left: 2px dotted rgba(52, 146, 74, .38);
        pointer-events: none;
    }
    .lp-flow__item:last-child::after { display: none; }
    .lp-flow__icon {
        grid-column: 1;
        grid-row: 1 / -1;
        z-index: 2;
    }
    .lp-flow__connector,
    .lp-flow__item:nth-child(2) .lp-flow__connector,
    .lp-flow__item:nth-child(4) .lp-flow__connector { display: none; }
    .lp-flow__name {
        grid-column: 2;
        grid-row: 2;
        margin: 0 0 .2rem;
        align-self: end;
        font-size: .95rem;
    }
    .lp-flow__desc {
        grid-column: 2;
        grid-row: 3;
        margin: 0;
        align-self: start;
        font-size: .78rem;
        line-height: 1.45;
        max-width: 34rem;
    }
    .lp-section-header--row:not(.lp-section-header--video):not(.lp-section-header--micro-projects) { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575.98px) {
    .lp-hero__actions .lp-btn { width: 100%; justify-content: center; }
    .lp-hero__stats { gap: .75rem 1.5rem; }
    .lp-groups__grid { grid-template-columns: 1fr; }
    .lp-card-grid { grid-template-columns: 1fr; }
    .lp-flow { grid-template-columns: 1fr; gap: 1.25rem; }
    .lp-flow__connector { display: none; }
    .lp-flow__item {
        display: grid;
        grid-template-columns: 3.25rem minmax(0, 1fr);
        grid-template-rows: 1fr auto auto 1fr;
        column-gap: 1rem;
        row-gap: 0;
        align-items: center;
        min-height: 5.25rem;
        padding: .75rem 0;
        text-align: left;
    }
    .lp-flow__item::after { bottom: -2.25rem; }
    .lp-flow__icon { flex-shrink: 0; }
    .lp-footer-cta__actions { flex-direction: column; align-items: center; }
    .lp-footer-cta__actions .lp-btn { width: 100%; justify-content: center; }
    .lp-partners__row { gap: 1.75rem 2rem; }
}

/* Override old heading color rule for landing sections */
.page-landing .lp-hero__headline,
.page-landing .lp-section__title,
.page-landing .lp-footer-cta__title,
.page-landing .lp-group-card__name,
.page-landing .lp-flow__name,
.page-landing .lp-placeholder-card__title,
.page-landing .lp-display-stat__num {
    color: inherit !important;
}
.page-landing .lp-hero__headline { color: var(--ink) !important; }
.page-landing .lp-section__title { color: var(--ink) !important; }
.page-landing .lp-section--dark .lp-section__title { color: #fff !important; }
.page-landing .lp-footer-cta__title { color: #fff !important; }
.page-landing .lp-display-stat__num { color: var(--green-dark) !important; }

/* ===== LANDING PAGE — groups list + workshop simplification ===== */

/* Target groups: icon list, not cards */
.lp-groups__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}
.lp-groups__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: background .2s ease, border-color .2s ease;
}
.lp-groups__item:hover {
    background: #f0f8f2;
    border-color: rgba(52,146,74,.28);
}
.lp-groups__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(52,146,74,.1);
    color: var(--green-dark);
    font-size: 1.05rem;
}
/* Cycle icon bg colors per child */
.lp-groups__item:nth-child(2) .lp-groups__icon { background: rgba(152,53,137,.1);  color: var(--purple); }
.lp-groups__item:nth-child(3) .lp-groups__icon { background: rgba(192,147,10,.11); color: var(--amber);  }
.lp-groups__item:nth-child(4) .lp-groups__icon { background: rgba(227,88,206,.09); color: #b02fa0; }
.lp-groups__item:nth-child(5) .lp-groups__icon { background: rgba(52,146,74,.1);   color: var(--green-dark); }
.lp-groups__item:nth-child(6) .lp-groups__icon { background: rgba(152,53,137,.1);  color: var(--purple); }

.lp-groups__name {
    font-size: .95rem;
    font-weight: 650;
    color: var(--ink);
    line-height: 1.3;
    flex-shrink: 0;
    min-width: 0;
}
.lp-groups__desc {
    display: block;
    font-size: .78rem;
    color: var(--ink-muted);
    line-height: 1.4;
    margin-top: .15rem;
}
/* Stack name + desc vertically */
.lp-groups__item > span:not(.lp-groups__icon) {
    display: block;
}

/* Workshop section: no grid needed, just clean text block */
.lp-section .lp-section__lead + .fade-up {
    margin-top: .25rem;
}

/* Micro-project & video portrait cards: no tag, cleaner name-first layout */
.lp-placeholder-card__body .lp-placeholder-card__title {
    font-size: 1rem;
    font-weight: 650;
    color: var(--ink);
    margin: 0 0 .3rem;
}
.lp-placeholder-card__body .lp-placeholder-card__text {
    font-size: .8rem;
    color: var(--ink-muted);
    margin: 0;
}

@media (max-width: 767.98px) {
    .lp-groups__list { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .lp-groups__item { padding: .9rem 1rem; }
    .lp-groups__icon { width: 2rem; height: 2rem; font-size: .95rem; }
}

/* ===== Micro-project cards ===== */
.lp-mp-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.lp-section--soft .lp-mp-card { background: #fff; }
.lp-mp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(52,146,74,.28);
}
.lp-mp-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.lp-mp-card__media .lp-placeholder-img { height: 100%; }
.lp-mp-card__media .lp-mp-card__thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lp-mp-card__body {
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1.25rem 1.35rem;
    gap: .3rem;
}
.lp-mp-card__person {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--green-dark);
}
.lp-mp-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.25;
    color: var(--ink);
    margin: .1rem 0 .4rem;
}
.lp-mp-card__desc {
    font-size: .82rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== Video portrait variant ===== */
.lp-mp-card--video {
    display: block;
    color: inherit;
}
.lp-mp-card--video:hover {
    color: inherit;
}
.lp-mp-card__media--video {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}
.lp-mp-card__thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s var(--ease);
}
.lp-mp-card--video:hover .lp-mp-card__thumb {
    transform: scale(1.04);
}
.lp-mp-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,20,20,.22);
    transition: background .25s ease;
}
.lp-mp-card--video:hover .lp-mp-card__play {
    background: rgba(20,20,20,.38);
}
.lp-mp-card__play i {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--green-dark);
    font-size: 1.4rem;
    backdrop-filter: blur(4px);
    transition: transform .25s var(--ease), background .25s ease;
    /* nudge the play icon optically to center */
    padding-left: .15rem;
}
.lp-mp-card--video:hover .lp-mp-card__play i {
    transform: scale(1.1);
    background: #fff;
}

/* ===== Masonry grid (CSS columns) ===== */
.mp-masonry {
    columns: 3;
    column-gap: 1rem;
}
.mp-masonry__item {
    break-inside: avoid;
    display: block;
    margin-bottom: 1rem;
}
.mp-masonry__item:last-child { margin-bottom: 0; }

/* lp-mp-card as a link */
.lp-mp-card--link {
    display: block;
    color: inherit;
}
.lp-mp-card--link:hover {
    color: inherit;
}

/* footer row inside card: date + cta */
.lp-mp-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
    gap: .5rem;
}
.lp-mp-card__date {
    font-size: .75rem;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: .3rem;
}
.lp-mp-card__cta {
    font-size: .8rem;
    font-weight: 700;
    color: var(--green-dark);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: .25rem;
}
.lp-mp-card--link:hover .lp-mp-card__cta {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .mp-masonry { columns: 2; }
}
@media (max-width: 575.98px) {
    .mp-masonry { columns: 1; }
}

/* Activities: keep the chronological source order across rows. */
.mp-masonry--row-order {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}
.mp-masonry--row-order .mp-masonry__item {
    margin-bottom: 0;
}
@media (max-width: 991.98px) {
    .mp-masonry--row-order { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .mp-masonry--row-order { grid-template-columns: 1fr; }
}

/* Micro-projects index: equal-height cards within each grid row. */
.mp-masonry--equal-cards {
    align-items: stretch;
}
.mp-masonry--equal-cards .lp-mp-card--link {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.mp-masonry--equal-cards .lp-mp-card__body {
    flex: 1;
}
.mp-masonry--equal-cards .lp-mp-card__footer {
    margin-top: auto;
}

/* =====================================================
   WORKSHOP SHOW PAGE
   ===================================================== */

/* Page header extras */
.ws-date-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--green-dark);
    margin-bottom: .6rem;
}
/* Optical alignment: compensate for the font's leading side-bearing. */
.page-workshop-detail .page-intro h1,
.page-workshop-detail .page-intro p.ws-subtitle {
    transform: translateX(-.065em);
}
.page-workshop-detail .page-intro p.ws-subtitle {
    max-width: 700px;
    margin: .3rem 0 0;
    font-size: 1.6rem;
    color: var(--purple);
    line-height: 1;
}

/* All activity detail pages: match workshop header typography and spacing. */
.page-intro.page-intro--workshop-sizing {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.5rem;
}
.page-intro--workshop-sizing h1.detail-title {
    font-size: clamp(1.6rem, 3.5vw, 2.75rem);
    letter-spacing: -.04em;
    line-height: 1.15;
    margin: .75rem 0 .3rem;
    transform: translateX(-.065em);
}
.page-intro--workshop-sizing p.detail-subtitle {
    max-width: 700px;
    margin: .3rem 0 0;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--purple);
    line-height: 1;
    transform: translateX(-.065em);
}

/* Cover image */
.ws-cover { border-radius: var(--radius-md); overflow: hidden; }
.ws-cover__img { display: block; width: 100%; max-height: 520px; object-fit: cover; }

/* Rich body text */
.ws-body { max-width: 760px; }
.ws-body h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; margin: 2rem 0 .75rem; }
.ws-body h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 700; letter-spacing: -.03em; margin: 1.75rem 0 .6rem; }
.ws-body h3 { font-size: 1.1rem; font-weight: 700; margin: 1.4rem 0 .5rem; }
.ws-body blockquote,
.mp-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--green);
    background: var(--surface-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--ink-muted);
}
.ws-body ul, .ws-body ol { padding-left: 1.5rem; margin: .75rem 0 1rem; }
.ws-body li { margin-bottom: .35rem; line-height: 1.65; }

/* Section title (Photos, Documentary, Materials) */
.ws-section__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--ink);
    margin: 0 0 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--line);
}
.ws-section__title .bi { color: var(--green-dark); font-size: 1.1rem; }

/* Photo gallery — masonry-like 3-col grid */
.ws-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}
.ws-gallery__item {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--surface-soft);
}
.ws-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s var(--ease);
}
.ws-gallery__item:hover img { transform: scale(1.04); }

/* Documentary video — constrained width */
.ws-doc-video { max-width: 860px; }
.ws-doc-video .vp-player { aspect-ratio: 16/9; }

/* Resources grid */
.ws-resources {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ws-resource {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    background: var(--surface);
}
.ws-resource__header { margin-bottom: .25rem; }
.ws-resource__type-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .22rem .65rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--green-dark);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: .6rem;
}
.ws-resource--video .ws-resource__type-badge { background: #fce8e8; color: #c0392b; }
.ws-resource--pdf .ws-resource__type-badge { background: #fde9d9; color: #c0600a; }
.ws-resource--presentation .ws-resource__type-badge { background: #e8eefe; color: #3b48c9; }
.ws-resource--link .ws-resource__type-badge { background: #e8f4fd; color: #0a72b8; }
.ws-resource--material .ws-resource__type-badge { background: #eef6ee; color: var(--green-dark); }

.ws-resource__title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--ink);
    margin: 0 0 .4rem;
}
.ws-resource__desc {
    font-size: .875rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
}
.ws-resource__media { border-radius: var(--radius-sm); overflow: hidden; }
.ws-resource__media--slides .ratio { border-radius: var(--radius-sm); }
.ws-resource__actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* lp-btn--sm variant */
.lp-btn--sm {
    padding: .45rem .9rem;
    font-size: .82rem;
    gap: .35rem;
}

/* PDF flipbook */
.ws-flipbook {
    margin-top: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f0f0f0;
}
.ws-flipbook__viewer { position: relative; }
.ws-flipbook__canvas { display: block; width: 100%; height: auto; }
.ws-flipbook__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: .6rem 1rem;
    background: rgba(0,0,0,.04);
    border-top: 1px solid var(--line);
}
.ws-flipbook__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: .9rem;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease;
}
.ws-flipbook__btn:hover { border-color: var(--green); color: var(--green-dark); }
.ws-flipbook__btn:disabled { opacity: .35; cursor: not-allowed; }
.ws-flipbook__counter { font-size: .8rem; color: var(--ink-muted); min-width: 4rem; text-align: center; }

/* Clickable link block */
.ws-link-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease);
}
.ws-link-block:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
    color: inherit;
}
.ws-link-block__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 1.1rem;
}
.ws-link-block__body {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    flex: 1 1 auto;
    min-width: 0;
}
.ws-link-block__title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ws-link-block__desc,
.ws-link-block__url {
    font-size: .78rem;
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ws-link-block__arrow {
    flex-shrink: 0;
    color: var(--green-dark);
    font-size: 1rem;
    transition: transform .2s var(--ease);
}
.ws-link-block:hover .ws-link-block__arrow { transform: translateX(3px); }

/* Responsive */
@media (max-width: 767.98px) {
    .ws-gallery { grid-template-columns: repeat(2, 1fr); }
    .ws-resource { padding: 1.1rem; }
}
@media (max-width: 575.98px) {
    .ws-gallery { grid-template-columns: 1fr; }
}

/* ── Inline image & gallery inside rich content ── */
.ws-body .ws-inline-image {
    margin: 1.75rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.ws-body .ws-inline-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}
.ws-body .ws-inline-image figcaption {
    margin-top: .5rem;
    font-size: .8rem;
    color: var(--ink-muted);
    font-style: italic;
    text-align: center;
}
.ws-body .ws-inline-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin: 1.75rem 0;
}
.ws-body .ws-inline-gallery a {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.ws-body .ws-inline-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s var(--ease);
}
.ws-body .ws-inline-gallery a:hover img { transform: scale(1.05); }
@media (max-width: 575.98px) {
    .ws-body .ws-inline-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ── Audio player ── */
.ws-audio { background: var(--surface-soft); border-radius: var(--radius-sm); padding: .85rem 1rem; }
.ws-audio__player {
    display: block;
    width: 100%;
    height: 40px;
    accent-color: var(--green-dark);
}
.ws-resource--audio .ws-resource__type-badge { background: #ede8fe; color: #5b3ec8; }

/* =====================================================
   WORKSHOP TWO-COLUMN LAYOUT + STICKY SIDEBAR
   ===================================================== */
.ws-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}
.ws-main {
    min-width: 0; /* prevent overflow from wide children */
}
.ws-body { max-width: none; } /* full width inside ws-main, no artificial cap */

/* Sidebar */
.ws-sidebar {
    position: sticky;
    top: 5rem;
}
.ws-sidebar__inner {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.ws-layout > .ws-photo-section { grid-column: 1 / -1; }

.ws-sidebar__heading {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin: 0 0 .25rem;
}

/* ── Material cards ── */
.wsc-card {
    --wsc-accent: var(--purple);
    --wsc-tint: rgba(152, 53, 137, .07);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 1.1rem 1.25rem 0;
    border: 1px solid color-mix(in srgb, var(--wsc-accent) 18%, var(--line));
    border-radius: var(--radius-md);
    background: var(--surface);
    color: inherit;
    transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.wsc-card.is-actions-open,
.wsc-card:focus-within {
    border-color: color-mix(in srgb, var(--wsc-accent) 42%, var(--line));
    background: var(--surface);
    box-shadow: none;
}
.wsc-card--pdf { --wsc-accent: #c0600a; --wsc-tint: rgba(240, 154, 77, .13); }
.wsc-card--file { --wsc-accent: #65706a; --wsc-tint: rgba(101, 112, 106, .09); }
.wsc-card--material { --wsc-accent: var(--green-dark); --wsc-tint: rgba(52, 146, 74, .11); }
.wsc-card--presentation { --wsc-accent: #3b48c9; --wsc-tint: rgba(91, 116, 235, .12); }
.wsc-card--video { --wsc-accent: #c0392b; --wsc-tint: rgba(224, 91, 83, .12); }
.wsc-card--link { --wsc-accent: #0a72b8; --wsc-tint: rgba(54, 148, 211, .11); }
.wsc-card--audio { --wsc-accent: #5b3ec8; --wsc-tint: rgba(116, 87, 218, .12); }

.wsc-card__content { min-width: 0; }
.wsc-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: .6rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--wsc-accent) 13%, #fff);
    color: var(--wsc-accent);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.wsc-card__title {
    margin: 0 0 .4rem;
    color: var(--purple);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.3;
}
.wsc-card__desc {
    display: block;
    margin: 0;
    overflow: visible;
    color: var(--ink-muted);
    font-size: .78rem;
    line-height: 1.55;
}

/* Keep sidebar scrolling rather than shrinking and clipping card actions. */
.wsc-card,
.wsc-card__content,
.wsc-card__actions { flex-shrink: 0; }

/* Compact at rest; expand the action row on hover or keyboard focus. */
.wsc-card__actions {
    display: flex;
    max-height: 0;
    margin: 0 -1.25rem 1.1rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: max-height .3s ease, margin .3s ease, opacity .24s ease, transform .34s var(--ease);
}
.wsc-card:hover .wsc-card__actions,
.wsc-card.is-actions-open .wsc-card__actions,
.wsc-card:focus-within .wsc-card__actions {
    max-height: 100px;
    margin: 1rem -1.25rem 0;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}
.wsc-card__action {
    display: inline-flex;
    min-height: 48px;
    flex: 1 1 50%;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .7rem .5rem;
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--wsc-accent) 18%, transparent);
    color: var(--wsc-accent);
    background: color-mix(in srgb, var(--wsc-accent) 9%, transparent);
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}
.wsc-card__action + .wsc-card__action { border-left: 1px solid color-mix(in srgb, var(--wsc-accent) 18%, transparent); }
.wsc-card__action:hover,
.wsc-card__action:focus-visible {
    color: #fff;
    background: var(--wsc-accent);
}
.wsc-card__action i { font-size: .85rem; }

@media (hover: none), (pointer: coarse) {
    .wsc-card { padding-bottom: 0; }
    .wsc-card .wsc-card__actions {
        max-height: none;
        margin: 1rem -1.25rem 0;
        pointer-events: auto;
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wsc-card,
    .wsc-card__actions,
    .wsc-card__action { transition: none; }
}


/* Responsive */
@media (max-width: 991.98px) {
    .ws-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ws-main {
        order: 1;
    }
    .ws-sidebar {
        position: static;
        max-height: none;
        order: 3; /* materials after content and media on mobile */
    }
    .ws-layout > .ws-photo-section {
        order: 2;
    }
}

/* =====================================================
   WORKSHOP FULL-WIDTH PHOTO MASONRY
   ===================================================== */
.ws-photo-masonry {
    columns: 4;
    column-gap: .6rem;
}
.ws-photo-masonry__item {
    display: block;
    break-inside: avoid;
    margin-bottom: .6rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface-soft);
}
.ws-photo-masonry__item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .35s var(--ease);
}
.ws-photo-masonry__item:hover img { transform: scale(1.04); }

@media (max-width: 991.98px) { .ws-photo-masonry { columns: 3; } }
@media (max-width: 767.98px) { .ws-photo-masonry { columns: 2; } }
@media (max-width: 575.98px) { .ws-photo-masonry { columns: 1; } }

/* =====================================================
   CONTACT PAGE — Project by block (mirrors footer funding)
   ===================================================== */
.contact-project-by {
    margin-top: 1.5rem;
    padding: 1.5rem 0 4.5rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.contact-project-by__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    background: transparent;
}
.contact-project-by__inner .funding-text {
    align-self: auto;
    margin-bottom: 0;
    color: var(--ink-muted);
}
.contact-project-by__inner .footer-partners {
    align-self: auto;
    align-items: flex-end !important;
    height: 60px;
}
.contact-project-by__inner .footer-partner-logo {
    height: 60px !important;
    max-height: 60px !important;
    min-height: 0;
    object-fit: contain !important;
}

@media (max-width: 767.98px) {
    .contact-project-by__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-project-by__inner .footer-partners {
        height: auto;
    }
    .contact-project-by__inner .footer-partner-logo {
        height: 48px !important;
        max-height: 48px !important;
    }
}

/* =============================================================
   HERO — CROWD ILLUSTRATION
   ============================================================= */

/* --- Hero wrapper ------------------------------------------- */
.hero-crowd {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

/* Subtle green ambient glow, top-right */
.hero-crowd::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -8%;
    width: 55%;
    height: 110%;
    background: radial-gradient(ellipse 60% 70% at 70% 40%,
        rgba(52, 146, 74, .09) 0%,
        transparent 68%);
    pointer-events: none;
    z-index: 0;
}

/* --- Two-column grid ---------------------------------------- */
.hero-crowd__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-top: clamp(4rem, 9vw, 7rem);
    padding-bottom: clamp(2rem, 5vw, 4rem);
    min-height: min(640px, calc(100vh - 76px));
}

/* --- Text column -------------------------------------------- */
.hero-crowd__content {
    max-width: 660px;
}

.hero-crowd__overline {
    display: block;
    margin: 0 0 .85rem;
    color: var(--green-dark);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    animation: heroFadeUp .6s var(--ease) .05s forwards;
}

.hero-crowd__logo {
    display: block;
    width: min(100%, 560px);
    height: auto;
    margin: 0 0 1.75rem;
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeUp .7s var(--ease) .15s forwards;
}

.hero-crowd__lead {
    max-width: 580px;
    margin: 0;
    color: var(--ink-muted);
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeUp .7s var(--ease) .28s forwards;
}

.hero-crowd__lead strong {
    color: var(--ink);
    font-weight: 650;
}

.hero-crowd__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeUp .7s var(--ease) .42s forwards;
}

/* --- Stats strip -------------------------------------------- */
.hero-crowd__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeUp .7s var(--ease) .55s forwards;
}

.hero-stat__num {
    display: block;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--green-dark);
    line-height: 1;
}

.hero-stat__label {
    display: block;
    margin-top: .2rem;
    color: var(--ink-muted);
    font-size: .74rem;
    line-height: 1.45;
}

/* --- Illustration column ------------------------------------ */
.hero-crowd__visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* --- The SVG itself ----------------------------------------- */
.crowd-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

/* --- Layer animations --------------------------------------- */

/* Background layer: drifts very slowly leftward, fades in late */
.crowd-layer--bg {
    animation:
        layerFadeIn .9s var(--ease) .3s both,
        layerDrift  28s linear       .3s infinite alternate;
}

/* Mid layer: drifts at medium speed */
.crowd-layer--mid {
    animation:
        layerFadeIn .9s var(--ease) .15s both,
        layerDrift  20s linear       .15s infinite alternate;
}

/* Foreground layer: fastest drift, appears first */
.crowd-layer--fg {
    animation:
        layerFadeIn .9s var(--ease) 0s both,
        layerDrift  14s linear       0s  infinite alternate;
}

/* Individual person stagger fade-up */
.crowd-person {
    opacity: 0;
    animation: personRise .8s var(--ease) var(--delay, 0ms) forwards;
}

/* --- Keyframes --------------------------------------------- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes layerFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Each layer drifts a different amount to create parallax depth */
.crowd-layer--bg  { --drift-x: 14px; --drift-y: -4px; }
.crowd-layer--mid { --drift-x: 9px;  --drift-y: -2px; }
.crowd-layer--fg  { --drift-x: 5px;  --drift-y: -1px; }

@keyframes layerDrift {
    from { transform: translate(0, 0); }
    to   { transform: translate(var(--drift-x), var(--drift-y)); }
}

@keyframes personRise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Gentle breathing pulse on the whole crowd */
.hero-crowd__visual .crowd-svg {
    animation: crowdBreathe 9s ease-in-out 1.5s infinite;
}

@keyframes crowdBreathe {
    0%, 100% { transform: scale(1)     translateY(0); }
    50%       { transform: scale(1.012) translateY(-3px); }
}

/* --- Reduced-motion overrides ------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .hero-crowd__overline,
    .hero-crowd__logo,
    .hero-crowd__lead,
    .hero-crowd__actions,
    .hero-crowd__stats {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .crowd-layer--bg,
    .crowd-layer--mid,
    .crowd-layer--fg {
        opacity: 1 !important;
        animation: none !important;
    }

    .crowd-person {
        opacity: 1 !important;
        animation: none !important;
    }

    .hero-crowd__visual .crowd-svg {
        animation: none !important;
    }
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 900px) {
    .hero-crowd__grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 0;
    }

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

    .hero-crowd__visual {
        width: calc(100% + 2rem);
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .crowd-svg {
        min-width: 600px; /* keep crowd readable on tablet */
    }
}

@media (max-width: 575.98px) {
    .hero-crowd__actions {
        flex-direction: column;
    }

    .hero-crowd__stats {
        gap: .85rem 1.75rem;
    }

    .crowd-svg {
        min-width: 520px;
    }
}

/* =============================================================
   HERO IMAGE (bridge-razom.jpg — above context section)
   ============================================================= */
.lp-hero-image {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.lp-hero-image__img {
    display: block;
    width: 100%;
    height: clamp(220px, 40vw, 520px);
    object-fit: cover;
    object-position: center 30%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* Narrow text body — heading stays full width, text constrained */
.lp-rich--narrow {
    max-width: 1120px;
    padding-left: clamp(1rem, 6vw, 5rem);
    padding-right: clamp(1rem, 6vw, 5rem);
}

/* =============================================================
   MICRO-PROJECT DETAIL PAGE
   ============================================================= */

/* Subtitle under h1 in page-intro */
.detail-subtitle {
    margin: .1rem 0 0;
    color: var(--ink-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Keep activity subtitle spacing identical to the workshop header. */
.page-intro.page-intro--activity p.detail-subtitle {
    margin-top: .3rem;
}

/* Date row */
.page-intro p.detail-meta {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: 1rem 0 1.5rem;
    color: var(--ink-muted);
    font-size: .88rem;
}
.detail-meta .bi { color: var(--green-dark); }

/* Center the shared activity heading; keep the back link and body unchanged. */
.page-intro.page-intro--activity .eyebrow,
.page-intro.page-intro--activity h1.detail-title,
.page-intro.page-intro--activity p.detail-subtitle,
.page-intro.page-intro--activity p.detail-meta {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    transform: none;
}
.page-intro.page-intro--activity p.detail-meta {
    justify-content: center;
}

/* Lead — wider, prominent intro paragraph */
.mp-lead {
    max-width: 1120px;
    padding-inline: clamp(1rem, 8vw, 7rem);
    margin-bottom: 2.5rem;
    color: var(--ink-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.7;
}
.mp-lead p:last-child { margin-bottom: 0; }
.mp-lead a,
.mp-body a {
    color: var(--green-dark);
    text-decoration-line: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .2em;
    transition: color .18s ease, text-decoration-thickness .18s ease;
}
.mp-lead a:hover,
.mp-body a:hover {
    color: var(--green);
    text-decoration-thickness: .14em;
}


/* Body — headings bleed to full width, text gets padding */
.mp-body {
    margin-bottom: 3rem;
    padding-inline: clamp(1rem, 8vw, 7rem);
}
.mp-body h2,
.mp-body h3,
.mp-body h4 {
    /* headings sit at container edge — no padding */
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}
.mp-body p {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}
.mp-body ul,
.mp-body ol {
    padding-left: 1.5rem;
    padding-right: 0;
    max-width: none;
}

/* Gallery spacing */
.mp-gallery {
    margin-bottom: 2.5rem;
}
.photo-report {
    margin-bottom: 3rem;
}
.photo-report__title {
    margin-bottom: 1.25rem;
}

/* Video spacing */
.mp-videos {
    margin-bottom: 1rem;
}

/* =====================================================
   WORKSHOP PHOTO CAROUSEL
   ===================================================== */
.ws-carousel {
    margin: 2rem 0 2.5rem;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(35, 31, 32, .08);
}
.ws-carousel__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    border-radius: calc(var(--radius-md) - .2rem);
    background: #292426;
    isolation: isolate;
}
.ws-carousel__stage::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(20,16,18,.08), transparent 45%, rgba(20,16,18,.25));
    z-index: 2;
}
.ws-carousel__slides,
.ws-carousel__slide {
    position: absolute;
    inset: 0;
    margin: 0;
}
.ws-carousel__slide {
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .5s ease, transform .7s cubic-bezier(.2,.75,.25,1);
}
.ws-carousel__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.ws-carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-carousel__control {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    color: #fff;
    background: rgba(35,31,32,.38);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}
.ws-carousel__control:hover { color: #fff; background: rgba(35,31,32,.72); transform: translateY(-50%) scale(1.06); }
.ws-carousel__control--prev { left: 1rem; }
.ws-carousel__control--next { right: 1rem; }
.ws-carousel__counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    padding: .3rem .65rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(35,31,32,.48);
    backdrop-filter: blur(8px);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.ws-carousel__thumbs {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding: .85rem .15rem .1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--purple) transparent;
}
.ws-carousel__thumb {
    flex: 0 0 5.2rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    opacity: .62;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}
.ws-carousel__thumb:hover { opacity: .9; transform: translateY(-2px); }
.ws-carousel__thumb.is-active { border-color: var(--purple); opacity: 1; }
.ws-carousel__thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 575.98px) {
    .ws-carousel { margin-inline: -.5rem; padding: .55rem; }
    .ws-carousel__stage { min-height: 205px; }
    .ws-carousel__control { width: 2.25rem; height: 2.25rem; }
    .ws-carousel__control--prev { left: .65rem; }
    .ws-carousel__control--next, .ws-carousel__counter { right: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-carousel__slide { transition: none; transform: none; }
    .ws-carousel__thumb, .ws-carousel__control { transition: none; }
}

/* =====================================================
   WORKSHOP PHOTO CAROUSEL
   ===================================================== */
.ws-carousel {
    margin: 2rem 0 2.5rem;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(35, 31, 32, .08);
}
.ws-carousel__title {
    margin: .25rem .35rem 1rem;
    color: var(--purple);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    letter-spacing: -.02em;
}
.ws-carousel__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    border-radius: calc(var(--radius-md) - .2rem);
    background: #292426;
    isolation: isolate;
}
.ws-carousel__stage::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(20,16,18,.08), transparent 45%, rgba(20,16,18,.25));
    z-index: 2;
}
.ws-carousel__slides,
.ws-carousel__slide {
    position: absolute;
    inset: 0;
    margin: 0;
}
.ws-carousel__slide {
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .5s ease, transform .7s cubic-bezier(.2,.75,.25,1);
}
.ws-carousel__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.ws-carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-carousel__control {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    color: #fff;
    background: rgba(35,31,32,.38);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}
.ws-carousel__control:hover { color: #fff; background: rgba(35,31,32,.72); transform: translateY(-50%) scale(1.06); }
.ws-carousel__control--prev { left: 1rem; }
.ws-carousel__control--next { right: 1rem; }
.ws-carousel__counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    padding: .3rem .65rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(35,31,32,.48);
    backdrop-filter: blur(8px);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.ws-carousel__thumbs {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding: .85rem .15rem .1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--purple) transparent;
}
.ws-carousel__thumb {
    flex: 0 0 5.2rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    opacity: .62;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}
.ws-carousel__thumb:hover { opacity: .9; transform: translateY(-2px); }
.ws-carousel__thumb.is-active { border-color: var(--purple); opacity: 1; }
.ws-carousel__thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 575.98px) {
    .ws-carousel { margin-inline: -.5rem; padding: .55rem; }
    .ws-carousel__stage { min-height: 205px; }
    .ws-carousel__control { width: 2.25rem; height: 2.25rem; }
    .ws-carousel__control--prev { left: .65rem; }
    .ws-carousel__control--next, .ws-carousel__counter { right: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-carousel__slide { transition: none; transform: none; }
    .ws-carousel__thumb, .ws-carousel__control { transition: none; }
}

/* =====================================================
   WORKSHOP PHOTO CAROUSEL
   ===================================================== */
.ws-carousel {
    margin: 2rem 0 2.5rem;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(35, 31, 32, .08);
}
.ws-carousel__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    border-radius: calc(var(--radius-md) - .2rem);
    background: #292426;
    isolation: isolate;
}
.ws-carousel__stage::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(20,16,18,.08), transparent 45%, rgba(20,16,18,.25));
    z-index: 2;
}
.ws-carousel__slides,
.ws-carousel__slide {
    position: absolute;
    inset: 0;
    margin: 0;
}
.ws-carousel__slide {
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .5s ease, transform .7s cubic-bezier(.2,.75,.25,1);
}
.ws-carousel__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.ws-carousel__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-carousel__control {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    color: #fff;
    background: rgba(35,31,32,.38);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}
.ws-carousel__control:hover { color: #fff; background: rgba(35,31,32,.72); transform: translateY(-50%) scale(1.06); }
.ws-carousel__control--prev { left: 1rem; }
.ws-carousel__control--next { right: 1rem; }
.ws-carousel__counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    padding: .3rem .65rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(35,31,32,.48);
    backdrop-filter: blur(8px);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.ws-carousel__thumbs {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding: .85rem .15rem .1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--purple) transparent;
}
.ws-carousel__thumb {
    flex: 0 0 5.2rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    opacity: .62;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}
.ws-carousel__thumb:hover { opacity: .9; transform: translateY(-2px); }
.ws-carousel__thumb.is-active { border-color: var(--purple); opacity: 1; }
.ws-carousel__thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 575.98px) {
    .ws-carousel { margin-inline: -.5rem; padding: .55rem; }
    .ws-carousel__stage { min-height: 205px; }
    .ws-carousel__control { width: 2.25rem; height: 2.25rem; }
    .ws-carousel__control--prev { left: .65rem; }
    .ws-carousel__control--next, .ws-carousel__counter { right: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-carousel__slide { transition: none; transform: none; }
    .ws-carousel__thumb, .ws-carousel__control { transition: none; }
}
/* Refined active thumbnail state */
.ws-carousel__thumb {
    border: 0;
    border-radius: .7rem;
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.ws-carousel__thumb.is-active {
    border: 0;
    opacity: 1;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 18px rgba(74, 56, 98, .28);
    filter: saturate(1.12) contrast(1.03);
}
.ws-carousel__thumb:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .ws-carousel__thumb.is-active { transform: none; }
}

/* Transparent carousel surface */
.ws-carousel { background: transparent; }
/* Transparent carousel surface — final override */
.ws-carousel,
.ws-carousel__thumbs {
    background: transparent !important;
}
/* Remove the carousel card surface completely */
.ws-carousel {
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
/* Align transparent carousel with the text column */
.ws-carousel {
    margin: 2rem 0 2.5rem !important;
    padding: 0 !important;
}
.ws-carousel__thumbs {
    padding-left: 0;
    padding-right: 0;
}
/* Transparent thumbnail buttons, including the active one */
.ws-carousel__thumb,
.ws-carousel__thumb.is-active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
/* Remove native pressed/focus chrome from clicked thumbnails */
.ws-carousel__thumb,
.ws-carousel__thumb.is-active {
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
}
/* No halo or shadow on the selected thumbnail */
.ws-carousel__thumb.is-active,
.ws-carousel__thumb.is-active:focus,
.ws-carousel__thumb.is-active:focus-visible {
    box-shadow: none !important;
    filter: none !important;
}
/* Final thumbnail cleanup: no white halo, shadow or native button spacing */
.ws-carousel__thumb,
.ws-carousel__thumb:hover,
.ws-carousel__thumb.is-active,
.ws-carousel__thumb.is-active:hover,
.ws-carousel__thumb:focus,
.ws-carousel__thumb:focus-visible {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    line-height: 0 !important;
    vertical-align: top !important;
}
.ws-carousel__thumb img {
    display: block;
    border-radius: .7rem;
}
/* True natural-height masonry for the bottom gallery */
.workshop-detail-section {
    padding-bottom: 4.5rem;
}
.ws-photo-section {
    border-top: 0 !important;
    padding-bottom: 0;
}
.ws-photo-masonry {
    columns: 4 220px;
    column-gap: 1rem;
    column-fill: balance;
}
.ws-photo-masonry__item {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 1rem;
    break-inside: avoid;
    overflow: hidden;
    border-radius: .35rem;
    background: transparent;
}
.ws-photo-masonry__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: initial;
    transition: transform .35s var(--ease), filter .35s ease;
}
.ws-photo-masonry__item video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform .35s var(--ease), filter .35s ease;
}
.ws-photo-masonry__item:hover img {
    transform: scale(1.025);
    filter: brightness(1.04);
}
.ws-photo-masonry__item:hover video {
    transform: scale(1.025);
    filter: brightness(1.04);
}
@media (max-width: 991.98px) {
    .ws-photo-masonry { columns: 3 190px; }
}
@media (max-width: 767.98px) {
    .ws-photo-masonry { columns: 2 150px; column-gap: .7rem; }
    .ws-photo-masonry__item { margin-bottom: .7rem; }
}
@media (max-width: 480px) {
    .ws-photo-masonry { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-photo-masonry__item img { transition: none; }
}
/* Masonry gallery lightbox */
.ws-lightbox[hidden] { display: none; }
.ws-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2050;
    display: grid;
    place-items: center;
    padding: 4rem 5rem;
    background: rgba(20, 17, 19, .88);
    backdrop-filter: blur(12px);
}
.ws-lightbox-open { overflow: hidden; }
.ws-lightbox__figure {
    position: relative;
    display: flex;
    max-width: min(92vw, 1180px);
    max-height: 88vh;
    margin: 0;
    flex-direction: column;
    align-items: center;
}
.ws-lightbox__image {
    display: block;
    width: auto;
    max-width: 92vw;
    height: auto;
    max-height: calc(82vh - 3rem);
    object-fit: contain;
    border-radius: .35rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}
.ws-lightbox__close,
.ws-lightbox__control {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    color: #fff;
    background: rgba(35,31,32,.42);
    backdrop-filter: blur(8px);
    cursor: pointer;
}
.ws-lightbox__close {
    top: 1.25rem;
    right: 1.5rem;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
}
.ws-lightbox__control {
    top: 50%;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}
.ws-lightbox__control--prev { left: 1.5rem; }
.ws-lightbox__control--next { right: 1.5rem; }
.ws-lightbox__close:hover,
.ws-lightbox__control:hover { background: rgba(35,31,32,.78); }
.ws-lightbox__caption {
    max-width: min(80vw, 900px);
    margin: .75rem auto 0;
    color: #fff;
    font-size: .9rem;
    line-height: 1.5;
    text-align: center;
}
.ws-lightbox__caption[hidden] { display: none; }
.ws-lightbox__caption a { color: #fff; text-decoration: underline; text-underline-offset: .15em; }
.ws-lightbox__caption p { margin: 0; }
.ws-lightbox__counter {
    position: static;
    margin-top: .55rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(35,31,32,.55);
    font-size: .75rem;
}
@media (max-width: 575.98px) {
    .ws-lightbox {
        padding: calc(3.5rem + env(safe-area-inset-top)) calc(3rem + env(safe-area-inset-right)) calc(1.25rem + env(safe-area-inset-bottom)) calc(3rem + env(safe-area-inset-left));
    }
    .ws-lightbox__figure {
        max-width: calc(100vw - 5.5rem);
        max-height: calc(100dvh - 6rem);
    }
    .ws-lightbox__image {
        max-width: 100%;
        max-height: calc(100dvh - 9rem);
    }
    .ws-lightbox__native-video {
        max-width: 100%;
        max-height: calc(100dvh - 9rem);
    }
    .ws-lightbox__control { width: 2.35rem; height: 2.35rem; }
    .ws-lightbox__control--prev { left: .75rem; transform: translate(-.25rem, -50%); }
    .ws-lightbox__control--next { right: .75rem; transform: translate(.25rem, -50%); }
    .ws-lightbox__close { top: calc(.75rem + env(safe-area-inset-top)); right: calc(.75rem + env(safe-area-inset-right)); }
}
@media (prefers-reduced-motion: reduce) {
    .ws-lightbox__control { transform: translateY(-50%); }
}

/* Resource preview modal */
.ws-resource-modal[hidden] { display: none; }
.ws-resource-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.ws-resource-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 17, 19, .78);
    backdrop-filter: blur(10px);
}
.ws-resource-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(94vw, 980px);
    max-height: min(90vh, 760px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: 0 24px 80px rgba(0,0,0,.38);
}
.ws-resource-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1.15rem;
    border-bottom: 1px solid var(--line);
}
.ws-resource-modal__header h2 { margin: 0; color: var(--ink); font-size: 1rem; }
.ws-resource-modal__close {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--ink-muted);
    background: var(--surface-soft);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.ws-resource-modal__close:hover { color: var(--ink); background: var(--line); }
.ws-resource-modal__body {
    display: grid;
    min-height: 180px;
    place-items: center;
    overflow: auto;
    padding: 1rem;
    background: var(--surface-soft);
}
.ws-resource-modal__frame {
    display: block;
    width: 100%;
    height: min(72vh, 620px);
    border: 0;
    border-radius: .5rem;
    background: #fff;
}
.ws-resource-modal__audio { width: min(100%, 600px); accent-color: var(--green-dark); }
.ws-resource-modal__fallback { color: var(--ink-muted); text-align: center; }
@media (max-width: 575.98px) {
    .ws-resource-modal { padding: 0; }
    .ws-resource-modal__dialog { width: 100%; max-height: 100vh; border-radius: 0; }
    .ws-resource-modal__frame { height: 75vh; }
}
@media (prefers-reduced-motion: reduce) {
    .ws-resource-modal__dialog { animation: none; }
}
/* YouTube masonry tiles and video lightbox */
.ws-photo-masonry__item.is-video { position: relative; }
.ws-photo-masonry__item.is-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.28));
    pointer-events: none;
}
.ws-photo-masonry__play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #e62117;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
    font-size: 1.7rem;
    transform: translate(-50%, -50%);
}
.ws-lightbox__video {
    display: block;
    width: min(86vw, 1000px);
    height: min(70vh, 562px);
    border: 0;
    border-radius: .35rem;
    background: #000;
    box-shadow: 0 24px 70px rgba(0,0,0,.36);
}
.ws-lightbox__video[hidden] { display: none; }
.ws-lightbox__native-video {
    display: block;
    width: min(86vw, 1000px);
    max-width: 92vw;
    height: auto;
    max-height: calc(82vh - 3rem);
    border-radius: .35rem;
    background: #000;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0,0,0,.36);
}
.ws-lightbox__native-video[hidden] { display: none; }
/* Match the documentary video's click-to-play treatment in masonry */
.ws-photo-masonry__item.is-video {
    aspect-ratio: 16 / 9;
    background: #000;
}
.ws-photo-masonry__item.is-video.vp-player--playing::after {
    display: none;
}
.ws-photo-masonry__item.is-video .ws-photo-masonry__play {
    width: 3.75rem;
    height: 3.75rem;
    color: var(--green-dark);
    background: rgba(255,255,255,.92);
    box-shadow: none;
    font-size: 1.6rem;
    transition: transform .25s var(--ease), background .25s ease;
}
.ws-photo-masonry__item.is-video:hover .ws-photo-masonry__play {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}
.ws-photo-masonry__item.is-video.vp-player--playing {
    display: block;
    overflow: hidden;
}
/* Documentary video as a separate full-width section */
.ws-documentary-section {
    width: 100%;
    margin: 2.5rem 0 0;
}
.ws-documentary-section .ws-doc-video {
    width: 100%;
    max-width: none;
}
.ws-documentary-section .vp-player {
    width: 100%;
}
.ws-documentary-divider {
    width: 100%;
    height: 1px;
    margin: 2.5rem 0 0;
    background: var(--line);
}
/* Documentary video as a separate full-width section */
.ws-documentary-section {
    width: 100%;
    max-width: 860px;
    margin: 2.5rem 0 0;
}
.ws-documentary-section .ws-doc-video {
    width: 100%;
    max-width: none;
}
.ws-documentary-section .vp-player {
    width: 100%;
}
.ws-documentary-divider {
    width: 100%;
    height: 1px;
    margin: 2.5rem 0 0;
    background: var(--line);
}
/* Materials list scrolls only when it exceeds the left content height */
@media (min-width: 992px) {
    .ws-sidebar__inner.is-scrollable {
        max-height: var(--materials-max-height);
        overflow-y: auto;
        padding-right: .6rem;
        scrollbar-width: thin;
        scrollbar-color: var(--green-dark) var(--surface-soft);
    }
    .ws-sidebar__inner.is-scrollable::-webkit-scrollbar { width: 6px; }
    .ws-sidebar__inner.is-scrollable::-webkit-scrollbar-track { background: var(--surface-soft); border-radius: 999px; }
    .ws-sidebar__inner.is-scrollable::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 999px; }
}
/* Documentary video as a separate full-width section */
.ws-documentary-section {
    width: 100%;
    max-width: none;
    margin: 2.5rem 0 0;
}
.ws-documentary-section .ws-doc-video {
    width: 100%;
    max-width: none;
}
.ws-documentary-section .vp-player {
    width: 100%;
}
.ws-documentary-divider {
    width: 100%;
    height: 1px;
    margin: 2.5rem 0 0;
    background: var(--line);
}
\n
/* =====================================================
   PRIVACY POLICY: compact legal page with a calm editorial rhythm
   ===================================================== */
.privacy-hero {
    background: linear-gradient(120deg, var(--surface) 0%, var(--surface-soft) 100%);
}
.privacy-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}
.privacy-hero h1 {
    max-width: 760px;
    margin-bottom: 1rem;
}
.privacy-hero p {
    max-width: 680px;
}
.privacy-hero__badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .65rem;
    margin-bottom: .55rem;
    padding: .65rem .85rem;
    border: 1px solid rgba(52, 146, 74, .18);
    border-radius: 999px;
    color: var(--green-dark);
    background: rgba(255, 255, 255, .66);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.privacy-hero__badge i { color: var(--green); font-size: 1rem; }
.privacy-section {
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
    background: var(--paper);
}
.privacy-layout {
    display: grid;
    grid-template-columns: minmax(170px, .33fr) minmax(0, 1fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}
.privacy-aside {
    position: sticky;
    top: 6.5rem;
    padding-top: .8rem;
    border-top: 2px solid var(--green);
}
.privacy-aside__label,
.privacy-card__kicker {
    display: block;
    color: var(--green-dark);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
}
.privacy-aside nav {
    display: grid;
    gap: .15rem;
    margin-top: 1rem;
}
.privacy-aside a {
    display: block;
    padding: .42rem 0;
    color: var(--ink-muted);
    font-size: .82rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s var(--ease), transform .2s var(--ease);
}
.privacy-aside a:hover,
.privacy-aside a:focus-visible {
    color: var(--green-dark);
    transform: translateX(3px);
}
.privacy-card {
    min-width: 0;
    padding: clamp(1.45rem, 4vw, 3.4rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.privacy-card__intro {
    margin-bottom: clamp(2.25rem, 5vw, 3.8rem);
    padding: 1.1rem 1.2rem 1.15rem;
    border-left: 3px solid var(--green);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--surface-soft);
}
.privacy-card__intro p {
    margin: .5rem 0 0;
    color: var(--ink);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.7;
}
.privacy-block {
    scroll-margin-top: 6rem;
}
.privacy-block + .privacy-block {
    margin-top: clamp(2.35rem, 5vw, 3.7rem);
    padding-top: clamp(2.35rem, 5vw, 3.7rem);
    border-top: 1px solid var(--line);
}
.privacy-block h2 {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.12;
}
.privacy-block p {
    max-width: 760px;
    margin: 0 0 1rem;
    color: var(--ink-muted);
    font-size: .94rem;
    line-height: 1.8;
}
.privacy-block p:last-child { margin-bottom: 0; }
.privacy-block a {
    color: var(--green-dark);
    font-weight: 600;
    text-decoration-thickness: .08em;
    text-underline-offset: .2em;
}
.privacy-block a:hover { color: var(--purple); }
.privacy-card__footer {
    display: flex;
    gap: .8rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--ink-muted);
}
.privacy-card__footer i {
    flex: 0 0 auto;
    padding-top: .2rem;
    color: var(--purple);
    font-size: 1.1rem;
}
.privacy-card__footer p {
    margin: 0;
    font-size: .8rem;
    line-height: 1.7;
}
@media (max-width: 767.98px) {
    .privacy-hero__inner { display: block; }
    .privacy-hero__badge { margin-top: 1.5rem; }
    .privacy-layout { display: block; }
    .privacy-aside {
        position: static;
        margin-bottom: 2rem;
        padding: 1rem 0 .9rem;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }
    .privacy-aside nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
        margin-top: .65rem;
    }
    .privacy-aside a { padding: .35rem 0; font-size: .76rem; }
    .privacy-card {
        padding: 1.25rem;
        border-radius: var(--radius-md);
    }
    .privacy-card__intro { padding: 1rem; }
    .privacy-block p { font-size: .9rem; line-height: 1.75; }
}


/* =====================================================
   COMING SOON: shared empty state for content collections
   ===================================================== */
.coming-soon-grid-item {
    grid-column: 1 / -1;
    min-width: 0;
}
.coming-soon {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 860px;
    min-height: 280px;
    margin: clamp(1rem, 4vw, 2.5rem) auto;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    overflow: hidden;
    border: 1px solid rgba(52, 146, 74, .18);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--surface) 0%, #f1f7f2 100%);
    box-shadow: var(--shadow-soft);
}
.coming-soon::after {
    position: absolute;
    right: -6rem;
    bottom: -7rem;
    width: 16rem;
    height: 16rem;
    border: 1px solid rgba(152, 53, 137, .16);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}
.coming-soon__visual {
    position: relative;
    display: grid;
    min-height: 155px;
    place-items: center;
}
.coming-soon__orb {
    position: absolute;
    display: block;
    border-radius: 50%;
}
.coming-soon__orb--one {
    width: 130px;
    height: 130px;
    background: rgba(52, 146, 74, .12);
}
.coming-soon__orb--two {
    right: 13%;
    bottom: 7%;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(152, 53, 137, .36);
    background: rgba(227, 88, 206, .08);
}
.coming-soon__icon {
    position: relative;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 1px solid rgba(52, 146, 74, .24);
    border-radius: 1.4rem;
    color: var(--green-dark);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 30px rgba(23, 107, 58, .12);
    font-size: 1.65rem;
    transform: rotate(-7deg);
}
.coming-soon__content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}
.coming-soon__eyebrow {
    display: block;
    margin-bottom: .65rem;
    color: var(--purple);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}
.coming-soon h2 {
    max-width: 600px;
    margin: 0 0 .85rem;
    color: var(--ink);
    font-size: clamp(1.25rem, 2.65vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}
.coming-soon p {
    max-width: 540px;
    margin: 0;
    color: var(--ink-muted);
    font-size: clamp(.88rem, 1.3vw, 1rem);
    line-height: 1.75;
}
@media (max-width: 767.98px) {
    .coming-soon {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        min-height: 0;
        margin: .5rem 0;
        padding: 1.45rem;
        border-radius: var(--radius-md);
        text-align: center;
    }
    .coming-soon__visual {
        min-height: 126px;
    }
    .coming-soon__orb--one {
        width: 108px;
        height: 108px;
    }
    .coming-soon__orb--two {
        right: calc(50% - 66px);
        bottom: 0;
        width: 46px;
        height: 46px;
    }
    .coming-soon__icon {
        width: 64px;
        height: 64px;
        font-size: 1.4rem;
    }
    .coming-soon__content { max-width: none; }
    .coming-soon h2 { font-size: 1.4rem; white-space: normal; }
    .coming-soon p { line-height: 1.7; }
}
