/* ==========================================================
   Beyond Disabilities Foundation
   ========================================================== */

:root {
    --violet: #4d02a7;
    --violet-bright: #8637c8;
    --violet-dark: #3a0180;
    --plum: #26014f;
    --lav-200: #ddc8f5;
    --lav-100: #efe5fb;
    --lav-50: #f7f2fd;
    --paper: #fbf8f3;
    --white: #ffffff;
    --ink: #22152f;
    --muted: #5e566b;
    --line: #e6dfee;
    --line-strong: #8a7f99;

    --sun: #ffc94d;
    --sun-dark: #d99a12;
    --sun-soft: #fff3d1;
    --pink: #ff8fb8;
    --pink-deep: #c7336c;
    --pink-soft: #ffe3ee;
    --mint: #6fd3b0;
    --mint-deep: #17805f;
    --mint-soft: #ddf6ec;

    --success: #1f7a4d;
    --error: #b42318;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 1240px;
    --gutter: clamp(1.25rem, 5vw, 4rem);
    --section-y: clamp(4.5rem, 9vw, 8.5rem);
    --wave-h: clamp(48px, 7vw, 110px);

    --r-sm: 10px;
    --r-md: 20px;
    --r-lg: 32px;
    --r-xl: 48px;

    --shadow-soft: 0 2px 6px rgba(38, 1, 79, .06), 0 18px 40px rgba(38, 1, 79, .10);
    --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    color: inherit;
}

p { margin: 0; }

a { color: var(--violet); }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--lav-200); color: var(--ink); }

:focus-visible {
    outline: 3px solid var(--violet-bright);
    outline-offset: 3px;
    border-radius: 6px;
}

.band--violet :focus-visible,
.band--plum :focus-visible,
.site-footer :focus-visible,
.page-hero :focus-visible { outline-color: var(--sun); }

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

.skip-link {
    position: absolute;
    left: 1rem; top: -100px;
    z-index: 200;
    background: var(--violet);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 2;
}

/* ---------- Sections, bands & waves ---------- */

.section {
    position: relative;
    /* Bottom padding must clear the full wave so light text never sits on it */
    padding-block: var(--section-y) calc(var(--section-y) + var(--wave-h) + 1.5rem);
    isolation: isolate;
}

.section--tight {
    padding-block: clamp(3rem, 6vw, 5rem) calc(clamp(3rem, 6vw, 5rem) + var(--wave-h) + 1.5rem);
}

.band--paper  { background: var(--paper); }
.band--white  { background: var(--white); }
.band--lav    { background: var(--lav-100); }
.band--sun    { background: var(--sun-soft); }
.band--violet {
    background:
        radial-gradient(60% 80% at 85% 10%, rgba(134, 55, 200, .55), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(38, 1, 79, .6), transparent 60%),
        var(--violet);
    color: #fff;
}
.band--plum {
    background:
        radial-gradient(50% 70% at 100% 0%, rgba(134, 55, 200, .35), transparent 60%),
        var(--plum);
    color: #fff;
}

.wave {
    position: absolute;
    left: 0; right: 0;
    bottom: -1px;
    height: var(--wave-h);
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}
.wave svg { width: 100%; height: 100%; display: block; }
.wave--top { bottom: auto; top: calc(var(--wave-h) * -1 + 1px); }

.wave--paper  path { fill: var(--paper); }
.wave--white  path { fill: var(--white); }
.wave--lav    path { fill: var(--lav-100); }
.wave--sun    path { fill: var(--sun-soft); }
.wave--violet path { fill: var(--violet); }
.wave--plum   path { fill: var(--plum); }

/* ---------- Typography helpers ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: .9rem;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 6px;
    border-radius: 99px;
    background: var(--sun);
}

.band--violet .eyebrow,
.band--plum .eyebrow,
.page-hero .eyebrow { color: var(--sun); }

.heading { max-width: 46rem; }
.heading--center { margin-inline: auto; text-align: center; }
.heading--center .eyebrow { justify-content: center; }

.heading__title {
    font-size: clamp(2.1rem, 2.6vw + 1.1rem, 3.4rem);
    letter-spacing: -.015em;
}
.heading__intro {
    margin-top: 1.1rem;
    font-size: 1.2rem;
    color: var(--muted);
}
.band--violet .heading__intro,
.band--plum .heading__intro { color: var(--lav-100); }

.hl {
    position: relative;
    display: inline-block;
    color: var(--violet);
    white-space: nowrap;
}
.hl .deco--squiggle {
    position: absolute;
    left: 0; right: 0;
    bottom: -.28em;
    width: 100%;
    height: .32em;
    color: var(--sun);
}
.band--violet .hl,
.band--plum .hl,
.page-hero .hl { color: var(--sun); }
.band--violet .hl .deco--squiggle,
.band--plum .hl .deco--squiggle,
.page-hero .hl .deco--squiggle { color: var(--pink); }

.lede { font-size: 1.25rem; color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
    --btn-bg: var(--violet);
    --btn-fg: #fff;
    --btn-shadow: var(--plum);
    --btn-border: transparent;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 56px;
    padding: .85rem 1.65rem;
    border-radius: 999px;
    border: 2.5px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 5px 0 var(--btn-shadow);
    transform: translateY(0);
    transition: transform .2s var(--ease-bounce), box-shadow .2s var(--ease-bounce), background-color .2s;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--btn-shadow); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--btn-shadow); }

.btn__icon { width: 1.2em; height: 1.2em; flex-shrink: 0; transition: transform .25s var(--ease-bounce); }
.btn:hover .btn__icon { transform: translateX(3px) rotate(-6deg) scale(1.1); }

.btn--primary { --btn-bg: var(--violet); --btn-fg: #fff; --btn-shadow: var(--plum); }
.btn--primary:hover { --btn-bg: #5a0bbd; }

.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--plum); --btn-shadow: var(--sun-dark); }
.btn--sun:hover { --btn-bg: #ffd166; }

.btn--white { --btn-bg: #fff; --btn-fg: var(--violet); --btn-shadow: var(--lav-200); }

.btn--outline { --btn-bg: #fff; --btn-fg: var(--violet); --btn-border: var(--violet); --btn-shadow: var(--lav-200); }
.btn--outline:hover { --btn-bg: var(--lav-50); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: #fff; --btn-shadow: rgba(0, 0, 0, .28); }
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .12); }

.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; box-shadow: 0 3px 0 var(--btn-shadow); }
.btn--sm:hover { box-shadow: 0 5px 0 var(--btn-shadow); }

.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1rem; margin-top: 2rem; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    color: var(--violet);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: var(--lav-200);
    transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: var(--violet); }
.text-link .icon { width: 1.1em; height: 1.1em; }

/* ---------- Decorations ---------- */

.deco { position: absolute; pointer-events: none; z-index: 0; }

.float { animation: float 7s ease-in-out infinite; }
.float--b { animation-duration: 9s; animation-delay: -2s; }
.float--c { animation-duration: 11s; animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(8deg); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes morph {
    0%, 100% { border-radius: 58% 42% 46% 54% / 46% 52% 48% 54%; }
    50% { border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%; }
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 243, .92);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(38, 1, 79, .08); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: var(--ink);
}
.brand img { width: 52px; height: 60px; object-fit: contain; mix-blend-mode: multiply; }
.brand__text {
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.05;
    color: var(--violet);
}

.nav__list { display: flex; gap: .25rem; }
.nav__link {
    display: block;
    padding: .55rem 1rem;
    border-radius: 999px;
    font-size: .975rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    transition: background-color .2s, color .2s, transform .2s var(--ease-bounce);
}
.nav__link:hover { color: var(--violet); background: var(--lav-100); transform: translateY(-1px); }
.nav__link.is-active { color: #fff; background: var(--violet); }

.site-header__actions { display: flex; align-items: center; gap: .75rem; }

.menu-toggle {
    display: none;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 2.5px solid var(--violet);
    background: #fff;
    color: var(--violet);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 0 var(--lav-200);
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.mobile-menu {
    position: fixed;
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: var(--paper);
    padding: 1.5rem var(--gutter) 2rem;
    overflow-y: auto;
    z-index: 90;
}
.mobile-menu ul { display: grid; gap: .5rem; }
.mobile-menu__link {
    display: block;
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    background: #fff;
    border: 2px solid var(--line);
}
.mobile-menu__link.is-active { background: var(--violet); color: #fff; border-color: var(--violet); }
.mobile-menu__cta { margin-top: 1.5rem; }

@media (max-width: 1024px) {
    .nav { display: none; }
    .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
    .site-header__donate { display: none; }
    .brand__text { font-size: 1rem; }
}

/* ---------- Hero (home) ---------- */

.hero {
    position: relative;
    padding-block: clamp(2.5rem, 6vw, 5rem) calc(clamp(4rem, 8vw, 7rem) + var(--wave-h) * .6);
    background:
        radial-gradient(40% 50% at 95% 5%, var(--lav-100), transparent 70%),
        radial-gradient(35% 45% at 0% 100%, var(--sun-soft), transparent 70%),
        var(--paper);
    overflow: hidden;
    isolation: isolate;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.hero__badge-line {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem 1rem .45rem .55rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 0 var(--lav-200);
    border: 2px solid var(--lav-200);
    font-size: .9rem;
    font-weight: 700;
    color: var(--violet);
}
.hero__badge-line .dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--sun);
    display: grid;
    place-items: center;
    color: var(--plum);
}
.hero__badge-line .dot svg { width: 16px; height: 16px; }

.hero__title {
    margin-top: 1.4rem;
    font-size: clamp(2.9rem, 5.2vw + 1rem, 5.6rem);
    line-height: 1;
    letter-spacing: -.025em;
    font-weight: 600;
}
.hero__sub {
    margin-top: 1.4rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem);
    color: var(--violet-bright);
}
.hero__intro { margin-top: 1rem; max-width: 36rem; font-size: 1.2rem; color: var(--muted); }

.hero__visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 580px; justify-self: center; width: 100%; }

.hero__blob {
    position: absolute;
    inset: 4% 0 0 6%;
    color: var(--violet);
    width: 100%; height: 100%;
    transform: scale(1.08) rotate(-8deg);
}

.hero__photo {
    position: absolute;
    inset: 6% 4% 8% 8%;
    overflow: hidden;
    border-radius: 58% 42% 46% 54% / 46% 52% 48% 54%;
    border: 8px solid #fff;
    box-shadow: var(--shadow-soft);
    animation: morph 14s ease-in-out infinite;
    z-index: 2;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

.hero__mini {
    position: absolute;
    left: -4%;
    bottom: 2%;
    width: 34%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 7px solid #fff;
    box-shadow: var(--shadow-soft);
    z-index: 3;
}
.hero__mini img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.sticker {
    position: absolute;
    right: -2%;
    top: -2%;
    width: 30%;
    aspect-ratio: 1;
    z-index: 4;
    display: grid;
    place-items: center;
}
.sticker__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.sticker__ring text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    fill: var(--plum);
}
.sticker__bg { position: absolute; inset: 0; border-radius: 50%; background: var(--sun); box-shadow: 0 5px 0 var(--sun-dark); }
.sticker__heart { position: relative; width: 34%; color: var(--pink-deep); }

.hero .deco--star { color: var(--sun); width: 54px; top: 14%; left: 46%; }
.hero .deco--sparkle { color: var(--pink); width: 34px; bottom: 26%; left: 3%; }
.hero .deco--dots { color: var(--lav-200); width: 90px; top: 8%; left: -2%; }
.hero .deco--ring { color: var(--mint); width: 46px; bottom: 18%; right: 4%; }

@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { max-width: 460px; margin-top: 1rem; }
    .hero .deco--star { left: auto; right: 6%; top: 4%; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    position: relative;
    padding-block: clamp(4rem, 8vw, 6.5rem) calc(clamp(4rem, 8vw, 6rem) + var(--wave-h) * .6);
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background:
        radial-gradient(55% 80% at 90% 0%, rgba(134, 55, 200, .7), transparent 60%),
        radial-gradient(40% 60% at 0% 100%, rgba(38, 1, 79, .7), transparent 60%),
        var(--violet);
}
.page-hero__inner { max-width: 50rem; }
.page-hero__title {
    font-size: clamp(2.6rem, 4.4vw + 1rem, 4.6rem);
    line-height: 1.02;
    letter-spacing: -.02em;
}
.page-hero__intro { margin-top: 1.25rem; font-size: 1.25rem; color: var(--lav-100); max-width: 42rem; }

.page-hero .deco--star { color: var(--sun); width: 60px; top: 18%; right: 12%; }
.page-hero .deco--heart { color: var(--pink); width: 44px; bottom: 30%; right: 26%; }
.page-hero .deco--ring { color: rgba(255, 255, 255, .25); width: 120px; top: -20px; right: -20px; }
.page-hero .deco--sparkle { color: var(--mint); width: 34px; top: 30%; right: 34%; }
.page-hero .deco--dots { color: rgba(255, 255, 255, .18); width: 100px; bottom: 26%; left: 55%; }

@media (max-width: 760px) {
    .page-hero .deco--heart,
    .page-hero .deco--sparkle,
    .page-hero .deco--dots { display: none; }
    .page-hero .deco--star { top: auto; bottom: 22%; right: 8%; width: 44px; }
}

/* ---------- Welcome statement ---------- */

.statement { text-align: center; }
.statement__text {
    margin: 0 auto;
    max-width: 58rem;
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100;
    font-weight: 500;
    font-size: clamp(1.9rem, 2.8vw + 1rem, 3.4rem);
    line-height: 1.18;
    letter-spacing: -.015em;
}
.statement__body { margin: 1.75rem auto 0; max-width: 44rem; font-size: 1.2rem; color: var(--lav-100); }

.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.25rem; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    background: rgba(255, 255, 255, .12);
    border: 2px solid rgba(255, 255, 255, .25);
    color: #fff;
}
.pill .icon { width: 1.15em; height: 1.15em; color: var(--sun); }

.statement .deco--star { color: var(--sun); width: 46px; top: 16%; left: 8%; }
.statement .deco--heart { color: var(--pink); width: 40px; top: 24%; right: 9%; }
.statement .deco--sparkle { color: var(--mint); width: 30px; bottom: 30%; left: 14%; }
.statement .deco--ring { color: rgba(255, 255, 255, .14); width: 160px; bottom: 6%; right: -40px; }

/* ---------- Split / story ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}
.split--reverse > :first-child { order: 2; }

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse > :first-child { order: 0; }
}

.collage { position: relative; max-width: 500px; margin-inline: auto; width: 100%; }
.collage__main {
    border-radius: 999px 999px var(--r-lg) var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 8px solid #fff;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}
.collage__main img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
#gelin .collage__main img { object-position: center 25%; }
.collage__small {
    position: absolute;
    right: -6%;
    bottom: -6%;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 7px solid #fff;
    box-shadow: var(--shadow-soft);
    z-index: 3;
}
.collage__small img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.collage__shape {
    position: absolute;
    width: 80%;
    left: -12%;
    top: -6%;
    color: var(--lav-200);
    z-index: 1;
}
.collage .deco--star { color: var(--sun); width: 52px; top: 4%; right: 2%; z-index: 4; }
.collage .deco--sparkle { color: var(--pink); width: 32px; bottom: 18%; left: -6%; z-index: 4; }

.prose p + p { margin-top: 1.1rem; }
.prose p { color: var(--muted); font-size: 1.15rem; }
.band--violet .prose p,
.band--plum .prose p { color: var(--lav-100); }

.role {
    display: inline-block;
    margin-top: .6rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: var(--sun-soft);
    color: var(--plum);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.band--lav .role { background: #fff; }

.quote {
    position: relative;
    margin: 1.75rem 0;
    padding: 1.5rem 1.75rem 1.5rem 2rem;
    border-radius: var(--r-md);
    background: var(--lav-100);
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100;
    font-style: italic;
    font-size: clamp(1.35rem, 1.2vw + 1rem, 1.75rem);
    line-height: 1.3;
    color: var(--violet);
}
.quote::before {
    content: "“";
    position: absolute;
    top: -.35em;
    left: .25em;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--sun);
}

/* ---------- Program tiles ---------- */

.tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.75rem;
    border-radius: var(--r-lg);
    background: #fff;
    border: 2px solid transparent;
    box-shadow: 0 6px 0 var(--tone-shadow, var(--lav-200));
    transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-bounce);
    color: var(--ink);
    text-decoration: none;
}
.tile:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 12px 0 var(--tone-shadow, var(--lav-200)); }
.tile:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }

.tile__icon {
    width: 68px; height: 68px;
    display: grid;
    place-items: center;
    border-radius: 42% 58% 54% 46% / 52% 44% 56% 48%;
    background: var(--tone-soft, var(--lav-100));
    color: var(--tone-deep, var(--violet));
    transition: transform .4s var(--ease-bounce);
}
.tile:hover .tile__icon { transform: rotate(-10deg) scale(1.08); }
.tile__icon svg { width: 34px; height: 34px; }

.tile__num {
    position: absolute;
    top: 1.5rem; right: 1.75rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tone-deep, var(--violet));
    opacity: .55;
}
.tile__title { font-size: 1.45rem; }
.tile__desc { color: var(--muted); font-size: 1.05rem; }
.tile__link { margin-top: auto; padding-top: .5rem; }

.tone--violet { --tone-soft: var(--lav-100); --tone-deep: var(--violet); --tone-shadow: var(--lav-200); }
.tone--pink   { --tone-soft: var(--pink-soft); --tone-deep: var(--pink-deep); --tone-shadow: #ffc6da; }
.tone--sun    { --tone-soft: var(--sun-soft); --tone-deep: #9a6400; --tone-shadow: #ffe39a; }
.tone--mint   { --tone-soft: var(--mint-soft); --tone-deep: var(--mint-deep); --tone-shadow: #b5ead6; }

/* Colored tiles (get involved) */
.tile--filled { background: var(--tone-soft); box-shadow: 0 6px 0 var(--tone-shadow); }
.tile--filled .tile__icon { background: #fff; }
.tile--filled .tile__title { color: var(--ink); }
.tile--filled .tile__desc { color: #4a4257; }
.tile__arrow {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    margin-top: auto;
    border-radius: 50%;
    background: #fff;
    color: var(--tone-deep);
    transition: transform .3s var(--ease-bounce);
}
.tile__arrow svg { width: 22px; height: 22px; }
.tile:hover .tile__arrow { transform: translateX(6px); }

/* ---------- Program detail rows ---------- */

.program {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.program + .program { border-top: 2px dashed var(--lav-200); }
.program:nth-child(even) .program__media { order: 2; }
@media (max-width: 900px) {
    .program { grid-template-columns: 1fr; }
    .program:nth-child(even) .program__media { order: 0; }
}

.program__media { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.program__img {
    position: relative;
    z-index: 2;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 54% 46% 42% 58% / 48% 56% 44% 52%;
    border: 8px solid #fff;
    box-shadow: var(--shadow-soft);
}
.program:nth-child(even) .program__img { border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%; }
.program__img img { width: 100%; height: 100%; object-fit: cover; }
.program__shape { position: absolute; width: 70%; z-index: 1; color: var(--tone-soft); top: -10%; right: -8%; }
.program:nth-child(even) .program__shape { right: auto; left: -8%; }

.program__badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: var(--tone-soft, var(--lav-100));
    color: var(--tone-deep, var(--violet));
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.program__title { font-size: clamp(1.9rem, 2vw + 1rem, 2.7rem); }

.info-list { display: grid; gap: .85rem; margin-top: 1.5rem; }
.info-list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--muted); }
.info-list .icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: var(--lav-100);
    color: var(--violet);
}
.info-list strong { color: var(--ink); display: block; }
.band--plum .info-list li { color: var(--lav-100); }
.band--plum .info-list strong { color: #fff; }
.band--plum .info-list .icon { background: rgba(255, 255, 255, .12); color: var(--sun); }
.band--plum .info-list a { color: var(--sun); font-weight: 700; }

.check-list { display: grid; gap: .9rem; margin-top: 1rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list .icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    padding: 6px;
    border-radius: 50%;
    background: var(--mint-soft);
    color: var(--mint-deep);
    stroke-width: 3;
}

.resource-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.resource-links a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.05rem;
    border-radius: 999px;
    background: var(--sun-soft);
    border: 2px solid #ffe39a;
    color: var(--plum);
    font-weight: 700;
    font-size: .975rem;
    text-decoration: none;
    transition: transform .2s var(--ease-bounce), background .2s;
}
.resource-links a:hover { transform: translateY(-2px); background: #ffeab0; }
.resource-links .icon { width: 1em; height: 1em; }

/* ---------- Cards ---------- */

.card {
    position: relative;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: var(--r-lg);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}
.card__title { font-size: 1.6rem; margin-bottom: .5rem; }
.card .muted { color: var(--muted); }

.support .card .deco--sun {
    color: var(--sun);
    width: 42px;
    top: -14px;
    right: -8px;
    opacity: .85;
    animation: spin 30s linear infinite;
}

/* ---------- Events ---------- */

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 1000px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .events-grid { grid-template-columns: 1fr; } }

.event-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: 0 6px 0 var(--lav-200);
    border: 2px solid var(--lav-100);
    transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-bounce);
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 12px 0 var(--lav-200); }

.event-card__media { position: relative; aspect-ratio: 1; background: var(--lav-100); overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.event-card:hover .event-card__media img { transform: scale(1.04); }

.event-card__date {
    position: absolute;
    top: 1rem; left: 1rem;
    width: 64px;
    padding: .4rem 0 .5rem;
    border-radius: 18px;
    background: var(--sun);
    box-shadow: 0 4px 0 var(--sun-dark);
    text-align: center;
    color: var(--plum);
    line-height: 1;
}
.event-card__date span { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.event-card__date strong { display: block; margin-top: .2rem; font-family: var(--font-display); font-size: 1.6rem; }

.event-card__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.event-card__title { font-size: 1.35rem; line-height: 1.2; }
.event-card__meta { display: grid; gap: .4rem; font-size: .95rem; color: var(--muted); }
.event-card__meta li { display: flex; gap: .55rem; align-items: flex-start; }
.event-card__meta .icon { width: 18px; height: 18px; margin-top: .2rem; flex-shrink: 0; color: var(--violet-bright); }
.event-card__summary { font-size: 1rem; color: var(--muted); }

.tag {
    align-self: flex-start;
    padding: .25rem .7rem;
    border-radius: 999px;
    background: var(--lav-100);
    color: var(--violet);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.empty-state {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
    padding: clamp(1.75rem, 4vw, 3rem);
    border-radius: var(--r-lg);
    background: #fff;
    border: 3px dashed var(--lav-200);
}
.empty-state__icon {
    width: 110px; height: 110px;
    display: grid;
    place-items: center;
    border-radius: 42% 58% 54% 46% / 52% 44% 56% 48%;
    background: var(--sun-soft);
    color: #9a6400;
}
.empty-state__icon svg { width: 54px; height: 54px; }
.empty-state h3 { font-size: 1.7rem; }
.empty-state p { margin-top: .6rem; color: var(--muted); }
@media (max-width: 640px) { .empty-state { grid-template-columns: 1fr; } }

/* ---------- Polaroid gallery ---------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.polaroid {
    display: block;
    padding: .6rem .6rem 1.6rem;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(38, 1, 79, .12);
    cursor: zoom-in;
    transform: rotate(var(--tilt, -2deg));
    transition: transform .35s var(--ease-bounce), box-shadow .35s;
    width: 100%;
    font: inherit;
}
.polaroid:nth-child(2n) { --tilt: 2.5deg; }
.polaroid:nth-child(3n) { --tilt: -1deg; }
.polaroid:nth-child(5n) { --tilt: 1.5deg; }
.polaroid:hover,
.polaroid:focus-visible { transform: rotate(0) scale(1.06); box-shadow: 0 18px 40px rgba(38, 1, 79, .2); z-index: 2; position: relative; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

.lightbox {
    width: min(92vw, 900px);
    max-height: 90vh;
    padding: 0;
    border: 0;
    border-radius: var(--r-lg);
    background: #fff;
    overflow: hidden;
}
.lightbox::backdrop { background: rgba(38, 1, 79, .78); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: var(--plum); }
.lightbox__caption { padding: 1rem 1.25rem; color: var(--muted); font-size: 1rem; }
.lightbox__close {
    position: absolute;
    top: .75rem; right: .75rem;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--violet);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 3px 0 var(--lav-200);
}
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------- Donate band ---------- */

.donate__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
@media (max-width: 900px) { .donate__grid { grid-template-columns: 1fr; } }
.donate__body { margin-top: 1.25rem; color: var(--lav-100); font-size: 1.15rem; max-width: 36rem; }

.tiers {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .08);
    border: 2px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
}
.tiers__title { font-size: 1.5rem; margin-bottom: 1.25rem; }
.tiers ul { display: grid; gap: .75rem; }
.tier {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .55rem .75rem .55rem .55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    transition: transform .25s var(--ease-bounce), background .2s;
}
.tier:hover { transform: translateX(6px); background: rgba(255, 255, 255, .16); }
.tier__amount {
    flex-shrink: 0;
    min-width: 76px;
    padding: .45rem .8rem;
    border-radius: 999px;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--plum);
    background: var(--sun);
}
.tier--1 .tier__amount { background: var(--pink); }
.tier--2 .tier__amount { background: var(--mint); }
.tier--3 .tier__amount { background: var(--lav-200); }
.tier__help { color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.3; }

.donate .deco { opacity: .9; }
.donate__star { color: var(--sun); width: 52px; top: 12%; left: 46%; }
.donate__heart { color: var(--pink); width: 40px; bottom: 22%; left: 4%; }
.donate__ring { color: rgba(255, 255, 255, .12); width: 180px; top: -40px; right: -50px; }

/* ---------- Connect ---------- */

.connect {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 4vw, 3.25rem);
    border-radius: var(--r-xl);
    background: var(--lav-100);
    position: relative;
    overflow: hidden;
}
@media (max-width: 760px) { .connect { grid-template-columns: 1fr; } }
.connect .deco--blob { width: 280px; color: var(--lav-200); right: -60px; bottom: -120px; }
.connect .deco--sparkle { width: 30px; color: var(--pink); top: 18%; right: 32%; }

.socials { display: flex; gap: .75rem; flex-wrap: wrap; }
.socials a {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--violet);
    box-shadow: 0 4px 0 var(--lav-200);
    transition: transform .25s var(--ease-bounce), box-shadow .25s var(--ease-bounce);
}
.socials a:hover { transform: translateY(-3px) rotate(-8deg); box-shadow: 0 7px 0 var(--lav-200); }
.socials svg { width: 24px; height: 24px; }
.socials--light a { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }

.social-btns { display: flex; flex-wrap: wrap; gap: 1rem; position: relative; z-index: 2; }

/* ---------- Board ---------- */

.board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 1000px) { .board { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .board { grid-template-columns: 1fr; } }

.member {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.4rem;
    border-radius: var(--r-md);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 5px 0 var(--tone-shadow);
    transition: transform .3s var(--ease-bounce);
}
.member:hover { transform: translateY(-4px); }
.member__avatar {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tone-soft);
    color: var(--tone-deep);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.member__name { font-size: 1.15rem; color: var(--ink); }
.member__title { margin-top: .25rem; color: var(--muted); font-size: .98rem; line-height: 1.45; }

.trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}
.trust .pill { background: #fff; color: var(--plum); border-color: #ffe39a; }
.trust .pill .icon { color: #9a6400; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.field label,
.field legend {
    display: block;
    margin-bottom: .45rem;
    font-weight: 700;
    font-size: 1rem;
    padding: 0;
}
.req { color: var(--error); }

.input {
    width: 100%;
    padding: .9rem 1.1rem;
    border-radius: 16px;
    border: 2px solid var(--line-strong);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 1.05rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.input:hover { border-color: var(--violet-bright); }
.input:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--lav-200); }
textarea.input { min-height: 120px; resize: vertical; }

fieldset.field { border: 0; margin: 0; padding: 0; }

.choices {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

/* Layout: [○] Label  — always left-to-right on one row */
.choice {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: .9rem;
    width: 100%;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    border: 2px solid var(--line);
    background: var(--paper);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.choice:hover {
    border-color: var(--lav-200);
    background: var(--lav-50);
}

/* Keep the real input accessible but out of the visual layout */
.choice > input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.choice__mark {
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--line-strong);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, background .2s;
}
.choice > input[type="radio"] + .choice__mark { border-radius: 50%; }
.choice > input[type="checkbox"] + .choice__mark { border-radius: 6px; }

.choice__mark::after {
    content: "";
    opacity: 0;
}
.choice > input[type="radio"] + .choice__mark::after {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--violet);
}
.choice > input[type="checkbox"] + .choice__mark::after {
    width: 6px;
    height: 11px;
    margin-top: -2px;
    border: solid var(--violet);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.choice__label {
    position: relative;
    z-index: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.choice:has(> input:checked) {
    border-color: var(--violet);
    background: var(--lav-100);
    box-shadow: 0 0 0 3px var(--lav-200);
}
.choice:has(> input:checked) .choice__mark {
    border-color: var(--violet);
}
.choice:has(> input:checked) .choice__mark::after {
    opacity: 1;
}
.choice:has(> input:focus-visible) {
    outline: 3px solid var(--violet-bright);
    outline-offset: 3px;
}

/* Role + topic options — match the news signup option spacing */
.choices--roles .choice,
.choices--topics .choice {
    padding: 14px 18px;
    gap: 12px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    font-weight: 700;
}
.alert .icon { width: 24px; height: 24px; flex-shrink: 0; }
.alert--success { background: var(--mint-soft); color: var(--success); }
.alert--error { background: #fde8e6; color: var(--error); }
.alert ul { margin-top: .35rem; font-weight: 400; list-style: disc; padding-left: 1.2rem; }

.contact-cards { display: grid; gap: 1.25rem; }
.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.4rem;
    border-radius: var(--r-md);
    background: var(--tone-soft);
    box-shadow: 0 5px 0 var(--tone-shadow);
}
.contact-card__icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--tone-deep);
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1.3rem; }
.contact-card p { color: #4a4257; margin-top: .25rem; font-size: 1.02rem; }
.contact-card a { font-weight: 700; word-break: break-word; }

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    background: var(--plum);
    color: var(--lav-100);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
    gap: 2.5rem;
    padding-block: 3rem 3.5rem;
}
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__brand img { width: 64px; height: 74px; object-fit: contain; border-radius: 14px; background: #fff; padding: 4px; }
.site-footer__name { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: #fff; }
.site-footer__tag { margin-top: .35rem; color: var(--sun); font-weight: 700; }
.site-footer__heading {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lav-200);
    margin-bottom: 1rem;
}
.site-footer__list { display: grid; gap: .55rem; margin-bottom: 1.25rem; }
.site-footer__list a { color: var(--lav-100); text-decoration: none; word-break: break-word; }
.site-footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__give { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.site-footer__legal { margin-top: 1.25rem; font-size: .85rem; color: var(--lav-200); line-height: 1.5; }
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.25rem var(--gutter);
    text-align: center;
    font-size: .9rem;
    color: var(--lav-200);
}

/* ---------- Utilities ---------- */

.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.justify-center { justify-content: center; }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
    .btn:hover,
    .tile:hover,
    .event-card:hover,
    .member:hover,
    .polaroid:hover { transform: none; }
    .polaroid { transform: rotate(var(--tilt, -2deg)); }
}
