/* =====================================================================
   YARI 774 Initiative for Asiwaju — Design System & Site Styles
   Tokens → Base → Layout → Components → Sections → Utilities → Motion
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
/* Colours live ONLY in assets/css/theme.css (loaded before this file). */
:root {--font-display: "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --fs-xs: .78rem; --fs-sm: .9rem; --fs-base: clamp(1rem, .96rem + .2vw, 1.075rem); --fs-lg: clamp(1.1rem, 1rem + .4vw, 1.3rem); --fs-h4: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); --fs-h3: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); --fs-h1: clamp(2.6rem, 1.6rem + 4.4vw, 5.6rem); --fs-display: clamp(2.8rem, 1.4rem + 6vw, 7rem); --section-y: clamp(4rem, 3rem + 5vw, 8rem); --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px; --ease: cubic-bezier(.22,1,.36,1); --ease-in-out: cubic-bezier(.65,0,.35,1); --t-fast: .18s; --t: .35s; --t-slow: .7s; --container: 1240px; --header-h: 76px}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px) }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background var(--t), color var(--t) }
img, video, svg, iframe { max-width: 100%; display: block }
img { height: auto }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--text); font-weight: 700 }
h1 { font-size: var(--fs-h1) } h2 { font-size: var(--fs-h2) } h3 { font-size: var(--fs-h3) } h4, .h4 { font-size: var(--fs-h4) }
.h4 { display: flex; align-items: center; gap: .5rem }
p { margin: 0 0 1em }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px }
a:hover { color: var(--primary-strong) }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer }
::selection { background: var(--secondary-300); color: var(--gray-900) }
:focus-visible { outline: 3px solid var(--secondary-500); outline-offset: 3px; border-radius: 6px }
.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: fixed; left: 1rem; top: -100px; z-index: 1000; background: var(--secondary-500); color: var(--gray-900); padding: .75rem 1.25rem; border-radius: var(--r-sm); font-weight: 700; transition: top var(--t-fast) }
.skip-link:focus { top: 1rem }
.hp { position: absolute; left: -9999px }
main:focus { outline: none }
.muted { color: var(--muted) } .small { font-size: var(--fs-sm) } .lead { font-size: var(--fs-lg); color: var(--text-2) }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em }
.ico { width: 1.15em; height: 1.15em; flex: none }

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto }
.container--narrow { max-width: 780px } .container--mid { max-width: 980px }
@media (min-width: 1800px) { :root { --container: 1440px } }
.section { position: relative; padding-block: var(--section-y) }
.section + .section:not([class*="bg-alt"]):not(.bg-dark):not(.bg-gradient):not(.bg-green-soft):not(.bg-green):not(.bg-mesh) { padding-top: calc(var(--section-y) * .6) }
.bg-alt { background: var(--bg-alt) }
.bg-dark, .bg-gradient { background: var(--surface-deep); color: var(--on-dark); }
.bg-gradient { background: var(--primary-700) }
.bg-green-soft { background: var(--primary-50) }
.bg-green { background: var(--primary-700); color: var(--on-dark); }
.bg-mesh { background: var(--primary-50); }
[data-theme="dark"] .bg-mesh { background: var(--bg-alt); }
[data-theme="dark"] .bg-green-soft { background: var(--primary-900) }
.grid-2 { display: grid; gap: 0 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) }
.divider { position: absolute; left: 0; right: 0; top: -1px; height: clamp(40px, 6vw, 90px); pointer-events: none; z-index: 1 }
.divider svg { width: 100%; height: 100% }
.divider path { fill: var(--bg) }
.section:has(> .divider) { padding-top: calc(var(--section-y) + 40px) }

/* ---------- 4. Header / nav ---------- */
.topbar { background: var(--primary-900); color: var(--primary-100); font-size: var(--fs-xs); position: relative; z-index: 60 }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px }
.topbar a { color: var(--primary-100); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem }
.topbar a:hover { color: var(--secondary-300) }
.topbar__contact, .topbar__right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap }
.topbar__text { display: inline-flex; gap: .4rem; align-items: center; color: var(--secondary-300) }
@media (max-width: 760px) { .topbar__contact a span, .topbar__text { display: none } }
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--bg); border-bottom: 1px solid transparent; transition: box-shadow var(--t), border-color var(--t), background var(--t), transform var(--t) var(--ease) }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 8px 30px -18px color-mix(in srgb, var(--black) 25%, transparent) }
.site-header.is-hidden { transform: translateY(-100%) }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 1rem }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); flex: none }
.brand__logo { width: 44px; height: 44px; border-radius: 12px }
.brand__logo--dark { display: none } [data-theme="dark"] .brand__logo--dark { display: block } [data-theme="dark"] .brand__logo--light { display: none }
.brand__text { display: flex; flex-direction: column; line-height: 1.05 }
.brand__text strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.01em }
.brand__text small { font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600 }
.nav { margin-left: auto }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; align-items: center }
.nav__item { position: relative }
.nav__link { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-radius: var(--r-pill); font-weight: 600; font-size: .93rem; color: var(--text-2); text-decoration: none; background: none; border: 0; transition: background var(--t-fast), color var(--t-fast) }
.nav__link .ico { width: 1rem; height: 1rem; opacity: .8 }
.nav__link:hover, .nav__item:focus-within > .nav__link { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary-strong) }
.nav__link.is-active { color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent) }
.nav__caret { transition: transform var(--t-fast) }
.nav__item.is-open .nav__caret { transform: rotate(180deg) }
.nav__sub { list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + .5rem); left: 0; min-width: 250px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--t-fast) var(--ease) }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem }
.nav__item.is-open > .nav__sub, .nav__item.has-sub:hover > .nav__sub { opacity: 1; visibility: visible; transform: none }
.nav__sub a { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: var(--r-sm); text-decoration: none; color: var(--text-2); font-weight: 500; font-size: .92rem }
.nav__sub a .ico { color: var(--primary) }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--bg-alt); color: var(--primary-strong) }
.nav__mobile-extra { display: none }
.header-actions { display: flex; align-items: center; gap: .4rem }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--text); text-decoration: none; transition: background var(--t-fast), transform var(--t-fast), color var(--t-fast) }
.icon-btn:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary-strong) }
.icon-btn:active { transform: scale(.94) }
.icon-btn--outline { border-color: var(--border) }
.icon-btn--primary { background: var(--primary); color: var(--white) } .icon-btn--primary:hover { background: var(--primary-strong); color: var(--white) }
.icon-btn--lg { width: 56px; height: 56px }
.icon-btn--dark { color: var(--white); background: color-mix(in srgb, var(--white) 8%, transparent) } .icon-btn--dark:hover { background: color-mix(in srgb, var(--white) 20%, transparent); color: var(--white) }
.theme-toggle .i-sun { display: none } [data-theme="dark"] .theme-toggle .i-sun { display: block } [data-theme="dark"] .theme-toggle .i-moon { display: none }
.nav-toggle { display: none } .nav-toggle .i-close { display: none } .nav-open .nav-toggle .i-close { display: block } .nav-open .nav-toggle .i-open { display: none }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-grid }
  .header-cta span { display: none } .header-cta { padding: .6rem }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 1rem 1.25rem 6rem; overflow-y: auto; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: transform var(--t) var(--ease), opacity var(--t), visibility var(--t); visibility: hidden }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; visibility: visible }
  .nav__list { flex-direction: column; align-items: stretch; gap: .25rem }
  .nav__link { width: 100%; justify-content: flex-start; padding: .9rem 1rem; font-size: 1.05rem; border-radius: var(--r-md) }
  .nav__caret { margin-left: auto }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 .5rem 1rem; background: transparent }
  .nav__item.is-open > .nav__sub { display: block }
  .nav__mobile-extra { display: block; padding: 1.5rem 1rem }
  body.nav-open { overflow: hidden }
}
@media (max-width: 420px) { .brand__text small { display: none } .header-actions .icon-btn[data-search-open] { display: none } }
.search-overlay { position: fixed; inset: 0; z-index: 90; background: var(--scrim); display: grid; place-items: start center; padding-top: 14vh }
.search-overlay[hidden] { display: none }
.search-overlay__panel { width: min(92vw, 720px); border-radius: var(--r-lg); padding: .5rem; animation: pop var(--t) var(--ease); background: var(--bg-elev) }
.search-overlay form { display: flex; align-items: center; gap: .75rem; padding: .5rem .5rem .5rem 1rem }
.search-overlay input { flex: 1; border: 0; background: transparent; font-size: 1.35rem; padding: .75rem 0; outline: none }
/* ---------- 5. Buttons, chips, tags ---------- */
.btn { --bg-btn: var(--primary); --fg-btn: var(--white); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: var(--r-pill); border: 1.5px solid transparent; background: var(--bg-btn); color: var(--fg-btn); font-weight: 650; font-family: var(--font-display); font-size: 1rem; letter-spacing: .01em; text-decoration: none; line-height: 1.2; overflow: hidden; isolation: isolate; transition: transform var(--t-fast) var(--ease), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t) }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none }
.btn:hover::after { transform: translateX(120%) }
.btn:hover { color: var(--fg-btn); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--primary-800) 45%, transparent); transform: translateY(-2px) }
.btn:active { transform: translateY(0) scale(.98) }
.btn .btn__arrow { transition: transform var(--t-fast) var(--ease) } .btn:hover .btn__arrow { transform: translateX(4px) }
.btn--primary { --bg-btn: var(--primary-600) } .btn--primary:hover { --bg-btn: var(--primary-700) }
[data-theme="dark"] .btn--primary { --bg-btn: var(--primary-500); --fg-btn: var(--primary-900) }
.btn--gold { --bg-btn: var(--secondary-500); --fg-btn: var(--secondary-ink); background: var(--secondary) }
.btn--blue { --bg-btn: var(--accent-500) }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--text); border-color: var(--border) }
.btn--ghost:hover { --fg-btn: var(--primary-strong); border-color: var(--primary); box-shadow: none }
.btn--outline { --bg-btn: transparent; --fg-btn: var(--primary); border-color: currentColor }
.btn--outline:hover { --bg-btn: var(--primary); --fg-btn: var(--white); border-color: var(--primary) }
.btn--glass { --bg-btn: color-mix(in srgb, var(--white) 12%, transparent); --fg-btn: var(--white); border-color: color-mix(in srgb, var(--white) 35%, transparent) }
.btn--glass:hover { --bg-btn: color-mix(in srgb, var(--white) 22%, transparent) }
.btn--sm { padding: .55rem 1rem; font-size: .9rem } .btn--lg { padding: 1.05rem 1.8rem; font-size: 1.08rem } .btn--block { width: 100% }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none }
.btn.is-loading::before { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; align-items: center }
.section-head .btn-row, .stats-section .btn-row, .card-grid + .btn-row { justify-content: center }
.section-head--split .btn-row { justify-content: flex-end }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--primary); text-decoration: none }
.link-arrow .ico { transition: transform var(--t-fast) var(--ease) } a:hover .link-arrow .ico, .link-arrow:hover .ico { transform: translate(3px, -1px) }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-2); font-size: .88rem; font-weight: 600; text-decoration: none; transition: all var(--t-fast); white-space: nowrap }
.chip small { opacity: .6; font-weight: 500 }
.chip:hover { border-color: var(--primary); color: var(--primary) }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: var(--white) }
.chips { display: flex; flex-wrap: wrap; gap: .5rem }
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary-strong); font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none }
.tag--blue { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent) }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--secondary); border-radius: 2px }
.eyebrow--light, .bg-dark .eyebrow, .bg-gradient .eyebrow, .bg-green .eyebrow { color: var(--secondary-300) }
.hl { color: var(--primary) }
.bg-dark .hl, .hero .hl, .page-hero .hl, .cta-banner .hl { color: var(--secondary) }
.bg-green .hl, .bg-gradient .hl { color: var(--secondary-300) }
.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow) }
.glass-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: var(--glass-shadow) }
.bg-green-soft .glass-card, .page-home .glass-card { background: var(--glass-bg) }
.bg-dark .glass-card, .bg-gradient .glass-card, .bg-green .glass-card { background: color-mix(in srgb, var(--white) 6%, transparent) }

/* ---------- 6. Section heads ---------- */
.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.5rem); text-align: center }
.section-head--left { margin-left: 0; text-align: left }
.section-head--split { max-width: none; text-align: left; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem }
.section-head--split .btn-row { margin-top: 0 }
.section-head--split > *:not(.btn-row) { max-width: 680px }
.section-head--split .section-lead { flex-basis: 100% }
.section-title { font-size: var(--fs-h2); margin-bottom: .4em }
.section-lead { font-size: var(--fs-lg); color: var(--text-2) }
.section-lead p:last-child { margin: 0 }
.group-title { font-size: var(--fs-h4); margin: 2.5rem 0 1.25rem; display: flex; align-items: center; gap: .75rem }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--border) }

/* ---------- 7. Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: center; color: var(--white); isolation: isolate; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 4rem) 0 8rem }
.page-home .site-header:not(.is-scrolled) { background: transparent }
.page-home .site-header:not(.is-scrolled) .nav__link, .page-home .site-header:not(.is-scrolled) .brand, .page-home .site-header:not(.is-scrolled) .icon-btn { color: var(--white) }
.page-home .site-header:not(.is-scrolled) .nav__link:hover { background: color-mix(in srgb, var(--white) 12%, transparent) }
.page-home .site-header:not(.is-scrolled) .brand__text small { color: color-mix(in srgb, var(--white) 75%, transparent) }
@media (max-width: 1180px) { .page-home.nav-open .site-header .nav__link { color: var(--text-2) } .page-home.nav-open .site-header { background: var(--bg) } .page-home.nav-open .site-header .brand, .page-home.nav-open .site-header .icon-btn { color: var(--text) } }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--surface-deep) }
.hero__video, .hero__poster, .hero__yt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; max-width: none }
.hero__yt { width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; left: 50%; top: 50%; transform: translate(-50%,-50%); pointer-events: none }
.hero__overlay { position: absolute; inset: 0; background: var(--overlay) }
.hero__aurora span { position: absolute; border-radius: 50%; opacity: .5; animation: float 18s ease-in-out infinite }
.hero__aurora span:nth-child(1) { width: 46vw; height: 46vw; background: var(--primary-500); left: -12vw; top: -10vw }
.hero__aurora span:nth-child(2) { width: 36vw; height: 36vw; background: var(--accent-500); right: -10vw; top: 10vh; animation-delay: -6s }
.hero__aurora span:nth-child(3) { width: 26vw; height: 26vw; background: var(--secondary-600); left: 40vw; bottom: -12vw; opacity: .3; animation-delay: -12s }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100% }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 3rem; align-items: center }
.hero__badge { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--white); background: color-mix(in srgb, var(--white) 10%, transparent); border-color: color-mix(in srgb, var(--white) 20%, transparent); margin: 0 }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--secondary-500); box-shadow: 0 0 0 0 color-mix(in srgb, var(--secondary-300) 70%, transparent); animation: pulse 2s infinite }
.hero__title { font-size: var(--fs-display); line-height: .98; letter-spacing: -.035em; margin: 1.25rem 0 1.5rem; color: var(--white); font-weight: 800 }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em }
.hero__title .word > span { display: inline-block }
.hero__lead { font-size: clamp(1.05rem, 1rem + .45vw, 1.35rem); color: color-mix(in srgb, var(--white) 86%, transparent); max-width: 620px }
.hero__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem }
.hero-stat { border-radius: var(--r-lg); padding: 1.25rem 1.4rem; color: var(--white); background: color-mix(in srgb, var(--white) 8%, transparent); border-color: color-mix(in srgb, var(--white) 16%, transparent); display: flex; flex-direction: column; gap: .2rem }
.hero-stat strong { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.8vw, 3.2rem); line-height: 1; letter-spacing: -.03em }
.hero-stat > span:last-child { font-size: .85rem; color: color-mix(in srgb, var(--white) 78%, transparent); font-weight: 500 }
.hero-stat__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--secondary-300) 18%, transparent); color: var(--secondary-300); margin-bottom: .5rem }
.hero-stat:nth-child(2n) { margin-top: 28px; margin-bottom: -28px }
.hero__scroll { position: absolute; left: 50%; bottom: 7.5rem; translate: -50% 0; width: 28px; height: 46px; border: 2px solid color-mix(in srgb, var(--white) 55%, transparent); border-radius: 20px }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scrollcue 1.8s infinite }
.hero__curve, .page-hero__curve { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 8vw, 120px) }
.hero__curve svg, .page-hero__curve svg { width: 100%; height: 100% } .hero__curve path, .page-hero__curve path { fill: var(--bg) }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr } .hero__scroll { display: none } .hero-stat:nth-child(2n) { margin: 0 } .hero { padding-bottom: 6rem } }
.page-hero { position: relative; color: var(--white); background: var(--surface-deep); padding: clamp(4rem, 3rem + 5vw, 7.5rem) 0 clamp(5rem, 4rem + 5vw, 8.5rem); overflow: hidden; isolation: isolate }
.page-hero__bg { position: absolute; inset: 0; z-index: -2 }
.page-hero__img { width: 100%; height: 100%; object-fit: cover }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay) }
.page-hero__mesh { position: absolute; inset: -20%; z-index: -1; background: color-mix(in srgb, var(--secondary-500) 25%, transparent); animation: float 20s ease-in-out infinite }
.page-hero__grid { position: absolute; inset: 0; z-index: -1; background-size: 56px 56px }
.page-hero__title { color: var(--white); font-size: var(--fs-h1); max-width: 20ch; font-weight: 800; letter-spacing: -.03em }
.page-hero__lead { font-size: var(--fs-lg); max-width: 680px; color: color-mix(in srgb, var(--white) 85%, transparent) }
.page-hero__meta { display: flex; gap: .5rem; align-items: center; color: color-mix(in srgb, var(--white) 80%, transparent) }
.crumbs ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; color: color-mix(in srgb, var(--white) 75%, transparent) }
.crumbs li { display: inline-flex; align-items: center; gap: .4rem }
.crumbs a { color: color-mix(in srgb, var(--white) 85%, transparent); text-decoration: none; display: inline-flex; gap: .35rem; align-items: center }
.crumbs a:hover { color: var(--secondary-300) }
.crumbs .ico { width: 14px; height: 14px }

/* ---------- 8. Cards & grids ---------- */
.card-grid { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)) }
@media (min-width: 900px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr) } .card-grid--3 { grid-template-columns: repeat(3, 1fr) } .card-grid--4 { grid-template-columns: repeat(4, 1fr) } }
@media (min-width: 640px) and (max-width: 899px) { .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr) } }
.feature-card { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--r-lg); background: var(--bg-elev); border: 1px solid var(--border); text-decoration: none; color: var(--text); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t) }
.feature-card:hover { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 35%, transparent); color: var(--text) }
.feature-card__glow { position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--primary) 14%, transparent); opacity: 0; transition: opacity var(--t) }
.feature-card:hover .feature-card__glow { opacity: 1 }
.feature-card__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: color-mix(in srgb, var(--primary) 16%, transparent); color: var(--primary); margin-bottom: .75rem; transition: transform var(--t) var(--ease) }
.feature-card__ico .ico { width: 26px; height: 26px }
.feature-card:hover .feature-card__ico { transform: rotate(-6deg) scale(1.08) }
.feature-card__num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--primary) }
.feature-card__title { font-size: var(--fs-h4); margin: 0 }
.feature-card__text { color: var(--text-2); margin: 0 }
.feature-card__more { margin-top: auto; padding-top: .75rem; display: inline-flex; gap: .4rem; align-items: center; font-weight: 650; color: var(--primary) }
.feature-card__img { margin: calc(clamp(1.5rem, 1.2rem + 1vw, 2.25rem) * -1) calc(clamp(1.5rem, 1.2rem + 1vw, 2.25rem) * -1) 1rem; aspect-ratio: 16/9; overflow: hidden }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover }
.cards--plain .feature-card { background: transparent; border: 0; padding-inline: 0; box-shadow: none }
.bg-dark .feature-card__ico, .bg-gradient .feature-card__ico, .bg-green .feature-card__ico { color: var(--secondary-300); background: color-mix(in srgb, var(--secondary-300) 12%, transparent) }
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)) }
.stat-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .35rem; position: relative; overflow: hidden }
.stat-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--primary) }
.stat-card__ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--secondary) 16%, transparent); color: var(--secondary); margin-bottom: .25rem }
.stat-card__num { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -.04em; font-weight: 800; color: var(--primary) }
.bg-dark .stat-card__num { color: var(--secondary) }
.bg-gradient .stat-card__num, .bg-green .stat-card__num { color: var(--secondary-300) }
.stat-card__label { font-weight: 650; color: var(--text) }
.stat-card__text { font-size: .9rem; color: var(--muted); margin: 0 }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center }
.split--reverse .split__media { order: 2 }
@media (max-width: 900px) { .split { grid-template-columns: 1fr } .split--reverse .split__media { order: 0 } }
.split__media { position: relative; isolation: isolate }
.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; background: var(--bg-alt) }
.media-frame__img, .media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease) }
.split:hover .media-frame img { transform: scale(1.04) }
.media-frame .ratio { height: 100%; aspect-ratio: auto }
.media-frame__badge { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; gap: .5rem; align-items: center; padding: .6rem 1rem; border-radius: var(--r-pill); font-weight: 650; font-size: .9rem; color: var(--text) }
.split__deco { position: absolute; z-index: -1; width: 60%; height: 60%; right: -6%; bottom: -8%; border-radius: var(--r-xl); background: var(--primary); opacity: .18 }
.split--reverse .split__deco { right: auto; left: -6% }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem }
.checklist li { display: flex; gap: .9rem; align-items: flex-start }
.checklist__ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary) }
.checklist strong { display: block; font-family: var(--font-display); font-size: 1.05rem }
.checklist span { color: var(--text-2); font-size: .95rem }
.prose { color: var(--text-2) }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.5em }
.prose h2 { font-size: var(--fs-h3) } .prose h3 { font-size: var(--fs-h4) }
.prose ul, .prose ol { padding-left: 1.25rem } .prose li { margin-bottom: .4rem }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--secondary); background: var(--bg-alt); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 1.1rem; color: var(--text) }
.prose img { border-radius: var(--r-md) }
.prose--article { font-size: 1.08rem; line-height: 1.8 }
.prose > :first-child { margin-top: 0 }
.timeline { list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 1000px }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--border); border-radius: 3px }
.timeline__fill { position: absolute; inset: 0 0 auto 0; height: var(--tl, 0%); background: var(--primary); border-radius: 3px }
.timeline__item { position: relative; width: 50%; padding: 0 3rem 2.5rem 0 }
.timeline__item:nth-child(odd) { margin-left: 50%; padding: 0 0 2.5rem 3rem }
.timeline__dot { position: absolute; top: .75rem; right: -22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 3px solid var(--primary); color: var(--primary); z-index: 1 }
.timeline__item:nth-child(odd) .timeline__dot { right: auto; left: -22px }
.timeline__dot .ico { width: 18px; height: 18px }
.timeline__card { display: block; width: 100%; text-align: left; border-radius: var(--r-lg); cursor: pointer; transition: transform var(--t) var(--ease), box-shadow var(--t); font: inherit; color: inherit }
.timeline__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg) }
.timeline__year { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--secondary-text) }
.timeline__title { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--text); margin: .25rem 0 }
.timeline__text { display: block; color: var(--text-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height var(--t) var(--ease), opacity var(--t) }
.timeline__card[aria-expanded="true"] .timeline__text { max-height: 20rem; opacity: 1 }
@media (max-width: 760px) {
  .timeline__line { left: 22px }
  .timeline__item, .timeline__item:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 2rem 4rem }
  .timeline__dot, .timeline__item:nth-child(odd) .timeline__dot { left: 0; right: auto }
}
.big-quote { margin: 0; text-align: center }
.big-quote__mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--secondary); color: var(--secondary-ink); margin-bottom: 1.5rem }
.big-quote__mark .ico { width: 32px; height: 32px }
.big-quote blockquote { margin: 0 }
.big-quote blockquote p { font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3rem); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--text) }
.big-quote figcaption { color: var(--muted); font-weight: 600 }
.big-quote .btn-row { justify-content: center }
.cta-banner { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: clamp(2rem, 1.5rem + 3vw, 4.5rem); background: var(--primary-800); color: var(--white); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; box-shadow: var(--shadow-lg) }
.cta-banner__bg { position: absolute; inset: 0; z-index: -2; opacity: .2 } .cta-banner__bg img { width: 100%; height: 100%; object-fit: cover }
.cta-banner__glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; background: color-mix(in srgb, var(--secondary-300) 55%, transparent); animation: float 14s ease-in-out infinite }
.cta-banner__title { color: var(--white); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem) }
.cta-banner__text { color: color-mix(in srgb, var(--white) 88%, transparent); font-size: var(--fs-lg) }
.cta-banner__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; grid-column: 1 / -1 }
.chip-amount { display: inline-block; padding: .6rem 1.1rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--white) 12%, transparent); border: 1px solid color-mix(in srgb, var(--white) 25%, transparent); color: var(--white); font-weight: 700; text-decoration: none; transition: all var(--t-fast) }
.chip-amount:hover { background: var(--secondary-500); color: var(--secondary-ink); transform: translateY(-2px) }
.cta-banner__actions .btn-row { justify-content: flex-end; margin: 0 }
@media (max-width: 860px) { .cta-banner { grid-template-columns: 1fr } .cta-banner__actions .btn-row { justify-content: flex-start } }
.programme-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-elev); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: transform var(--t) var(--ease), box-shadow var(--t) }
.programme-card:hover { box-shadow: var(--shadow-lg); color: var(--text) }
.programme-card__img { position: relative; aspect-ratio: 16/10 }
.programme-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease) }
.programme-card__img { overflow: visible } .programme-card__img > img { border-radius: 0 }
.programme-card__img::before { content: ""; position: absolute; inset: 0; overflow: hidden }
.programme-card:hover .programme-card__img img { transform: scale(1.03) }
.programme-card__ico { position: absolute; left: 1rem; bottom: -22px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--secondary); color: var(--secondary-ink); box-shadow: var(--shadow-md); z-index: 1 }
.programme-card__body { padding: 2rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1 }
.programme-card__body h3 { font-size: var(--fs-h4) }
.programme-card__body p { color: var(--text-2); font-size: .97rem }
.programme-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--border) }
.programme-card__stat { font-size: .85rem; color: var(--muted) } .programme-card__stat strong { color: var(--primary); font-family: var(--font-display); font-size: 1.15rem }
.stories__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 720px); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; scroll-behavior: smooth }
.stories__track::-webkit-scrollbar { display: none }
.story-card { scroll-snap-align: start; display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-md) }
.story-card__img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px }
.story-card__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-direction: column; justify-content: center }
.story-card__body h3 { font-size: var(--fs-h4) }
.story-card__body p { color: var(--text-2) }
.story-card__loc { display: inline-flex; gap: .4rem; align-items: center; color: var(--primary) !important; font-weight: 650; font-size: .88rem }
.story-card__metric { display: flex; align-items: baseline; gap: .6rem; padding: .9rem 1.1rem; border-radius: var(--r-md); background: var(--bg-alt) }
.story-card__metric strong { font-family: var(--font-display); font-size: 2rem; color: var(--primary); line-height: 1 } .story-card__metric span { color: var(--muted); font-size: .9rem }
@media (max-width: 700px) { .story-card { grid-template-columns: 1fr } .story-card__img img { min-height: 200px; aspect-ratio: 16/10 } }
.carousel-nav { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem }
.marquee { overflow: hidden }
.marquee__track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 60s linear infinite; padding: 1rem 0 2rem }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused }
.marquee--logos .marquee__track { animation-duration: 40s; gap: 1rem; align-items: center }
.quote-card { margin: 0; width: min(80vw, 420px); flex: none; display: flex; flex-direction: column; gap: 1rem }
.quote-card blockquote { margin: 0 } .quote-card blockquote p { font-size: 1.05rem; color: var(--text); margin: 0 }
.quote-card__stars { display: flex; gap: 2px; color: var(--secondary-600) } .quote-card__stars .ico { width: 16px; height: 16px; fill: currentColor }
.quote-card figcaption { display: flex; gap: .8rem; align-items: center; margin-top: auto }
.quote-card figcaption span { display: flex; flex-direction: column } .quote-card small { color: var(--muted) }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-alt) }
.avatar--lg { width: 72px; height: 72px } .avatar--xl { width: 110px; height: 110px; margin: 1rem auto }
.logo-tile { flex: none; width: 190px; height: 96px; display: grid; place-items: center; padding: 1rem 1.5rem; border-radius: var(--r-md); background: var(--bg-elev); border: 1px solid var(--border); filter: grayscale(1); opacity: .8; transition: all var(--t) }
.logo-tile:hover { filter: none; opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow-md) }
.logo-tile img { max-height: 56px; width: auto }
.partner-card { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start }
.partner-card__logo { height: 80px; display: flex; align-items: center } .partner-card__logo img { max-height: 72px; width: auto }
.partner-card h3 { font-size: var(--fs-h4); margin: 0 }
.partner-card p { color: var(--text-2) }
/* News */
.news-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) }
@media (min-width: 980px) { .news-grid--feature { grid-template-columns: 1.3fr 1fr } .news-grid--feature .news-card--big { grid-row: span 2 } .news-grid--feature .news-card:not(.news-card--big) { flex-direction: row } .news-grid--feature .news-card:not(.news-card--big) .news-card__img { width: 42%; aspect-ratio: auto } }
.news-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-elev); border: 1px solid var(--border); transition: transform var(--t) var(--ease), box-shadow var(--t) }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) }
.news-card__img { display: block; aspect-ratio: 16/10; overflow: hidden; flex: none }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease) }
.news-card:hover .news-card__img img { transform: scale(1.05) }
.news-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1 }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .82rem; color: var(--muted); margin: 0 }
.news-card__meta span { display: inline-flex; gap: .35rem; align-items: center } .news-card__meta .ico { width: 14px; height: 14px }
.news-card__title { font-size: 1.25rem; margin: 0 } .news-card--big .news-card__title { font-size: var(--fs-h3) }
.news-card__title a { color: var(--text); text-decoration: underline 2px; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--t) var(--ease) }
.news-card__title a:hover { text-decoration-color: currentColor }
.news-card__title a::after { content: ""; position: absolute; inset: 0 }
.news-card__excerpt { color: var(--text-2); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.news-card .link-arrow { margin-top: auto; padding-top: .5rem }
.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: .9rem 1rem; margin-bottom: 2rem; border-radius: var(--r-lg) }
.filter-bar--form { align-items: flex-end } .filter-bar--form .field { margin: 0; flex: 1 1 180px }
.search-inline { display: flex; align-items: center; gap: .5rem; padding: .3rem .4rem .3rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg); min-width: min(100%, 280px) }
.search-inline input, .search-inline select { border: 0; background: transparent; padding: .45rem 0; outline: none; min-width: 0; flex: 1 }
.search-inline select option { color: var(--gray-900) }
.search-inline:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent) }
.search-inline .ico { color: var(--muted) }
.search-inline--wide { width: 100% }
.result-count { color: var(--muted); font-size: .9rem }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: .75rem }
.empty-state[hidden] { display: none }
.empty-state > .ico { width: 44px; height: 44px; color: var(--primary); opacity: .6 }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 3rem }
.page-btn { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 .75rem; border-radius: 12px; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 600; transition: all var(--t-fast) }
.page-btn:hover { border-color: var(--primary); color: var(--primary) } .page-btn.is-active { background: var(--primary); color: var(--white); border-color: var(--primary) }
.page-gap { align-self: center; color: var(--muted) }
.event-list { display: grid; gap: 1.25rem }
.event-card { display: grid; grid-template-columns: auto 220px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.1rem; transition: transform var(--t) var(--ease), box-shadow var(--t) }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg) }
.event-card__date { width: 84px; text-align: center; border-radius: var(--r-md); padding: .8rem .4rem; background: var(--primary); color: var(--white); display: flex; flex-direction: column; line-height: 1.1 }
.event-card__date span { text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; font-weight: 700 }
.event-card__date strong { font-family: var(--font-display); font-size: 2.1rem } .event-card__date small { opacity: .85; font-size: .75rem }
.event-card__img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/10 } .event-card__img img { width: 100%; height: 100%; object-fit: cover }
.event-card__body h3 { font-size: 1.25rem; margin-bottom: .4rem } .event-card__body h3 a { color: var(--text); text-decoration: none } .event-card__body h3 a:hover { color: var(--primary) }
.event-card__body p { margin: .4rem 0 0; color: var(--text-2); font-size: .95rem }
.meta-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; color: var(--muted); font-size: .88rem }
.meta-list li { display: inline-flex; gap: .4rem; align-items: center } .meta-list a { color: inherit } .meta-list .ico { width: 15px; height: 15px; color: var(--primary) }
@media (max-width: 980px) { .event-card { grid-template-columns: auto 1fr } .event-card__img { display: none } .event-card__cta { grid-column: 1 / -1; justify-self: start } }
.people-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)) }
.person-card { text-align: center }
.person-card__img { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; margin-bottom: 1rem; background: var(--bg-alt) }
.person-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease) }
.person-card:hover .person-card__img img { transform: scale(1.05) }
.person-card__social { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: .5rem; padding: 1rem; background: var(--overlay-strong); transform: translateY(100%); transition: transform var(--t) var(--ease) }
.person-card:hover .person-card__social, .person-card:focus-within .person-card__social { transform: none }
.person-card__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--white) 15%, transparent); color: var(--white) }
.person-card__social a:hover { background: var(--secondary-500); color: var(--gray-900) }
.person-card__social .ico { width: 16px; height: 16px }
.person-card h3 { font-size: 1.2rem; margin-bottom: .2rem }
.person-card__role { color: var(--primary); font-weight: 600; font-size: .92rem; margin-bottom: .5rem }
.person-card__bio summary { cursor: pointer; list-style: none; display: inline-flex; gap: .3rem; align-items: center; color: var(--muted); font-size: .88rem; font-weight: 600 }
.person-card__bio summary::-webkit-details-marker { display: none }
.person-card__bio[open] summary .ico { transform: rotate(180deg) }
.person-card__bio p { font-size: .92rem; color: var(--text-2); text-align: left; margin-top: .5rem }
.coord-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)) }
.coord-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; transition: transform var(--t) var(--ease), box-shadow var(--t) }
.coord-card[hidden] { display: none }
.coord-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg) }
.coord-card h3 { font-size: 1.1rem; margin: .2rem 0 .5rem }
.coord-card__state { display: inline-flex; gap: .35rem; align-items: center; font-weight: 700; color: var(--primary); margin: 0; font-size: .9rem }
.coord-card__state small { color: var(--muted); font-weight: 500 }
.coord-card .meta-list { flex-direction: column }
.table-cards { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)) }
.lga-card { display: flex; gap: .9rem; align-items: center; padding: 1rem }
.lga-card > div { flex: 1; min-width: 0 } .lga-card h3 { font-size: 1.02rem; margin: 0 } .lga-card p { margin: 0; font-size: .87rem; display: flex; gap: .3rem; align-items: center }
.lga-card .icon-btn { width: 38px; height: 38px }
/* Map */
.ng-map { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.5rem }
.ng-map__canvas { position: relative; padding: .75rem }
.ng-map__toolbar { display: flex; gap: .4rem; overflow-x: auto; padding: .25rem .25rem .75rem; scrollbar-width: thin }
.ng-map__toolbar .chip { font-size: .8rem; padding: .4rem .8rem }
.ng-map__leaflet { height: clamp(380px, 55vw, 600px); border-radius: var(--r-md); background: transparent; z-index: 0 }
.ng-map .leaflet-container { background: transparent; font-family: var(--font-body) }
.ng-map .leaflet-interactive:focus { outline: none }
.ng-map__back { position: absolute; top: 4.2rem; left: 1.5rem; z-index: 500; --fg-btn: var(--text); --bg-btn: var(--bg-elev); border-color: var(--border) }
.ng-map__back[hidden] { display: none }
.ng-map__legend { position: absolute; left: 1.5rem; bottom: 1.25rem; z-index: 500; display: flex; gap: 1rem; font-size: .75rem; color: var(--muted); background: var(--bg-elev); padding: .4rem .8rem; border-radius: var(--r-pill); border: 1px solid var(--border) }
.ng-map__legend span { display: inline-flex; gap: .35rem; align-items: center }
.lg { width: 12px; height: 12px; border-radius: 3px; display: inline-block } .lg--1 { background: var(--primary-100) } .lg--3 { background: var(--primary-700) }
.ng-map__panel { display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; max-height: calc(clamp(380px, 55vw, 600px) + 4rem) }
.ng-map__panel [data-map-panel] { overflow-y: auto }
.ng-map__state-title { font-size: var(--fs-h3); margin: .25rem 0 .5rem }
.ng-map__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 1rem 0 }
.ng-map__kpis div { padding: .75rem .4rem; border-radius: var(--r-md); background: var(--bg-alt); text-align: center }
.ng-map__kpis dt { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em }
.ng-map__kpis dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--primary) }
.lga-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem }
.lga-list button { width: 100%; text-align: left; border: 1px solid var(--border); background: var(--bg); border-radius: 10px; padding: .45rem .6rem; font-size: .84rem; display: flex; justify-content: space-between; gap: .5rem; transition: all var(--t-fast) }
.lga-list button:hover, .lga-list button.is-active { border-color: var(--primary); color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, transparent) }
.lga-list small { color: var(--muted) }
.lga-detail { margin-top: 1rem; padding: 1rem; border-radius: var(--r-md); background: color-mix(in srgb, var(--primary) 8%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent) }
.lga-detail h4 { margin: 0 0 .4rem; font-size: 1.1rem } .lga-detail p { margin: 0 0 .3rem; font-size: .9rem }
@media (max-width: 980px) { .ng-map { grid-template-columns: 1fr } .ng-map__panel { max-height: none } }
.leaflet-tooltip.map-tip { font-family: var(--font-body); font-weight: 600; border-radius: 10px; border: 0; box-shadow: var(--shadow-md); padding: .45rem .7rem }
/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start }
@media (max-width: 980px) { .form-layout { grid-template-columns: 1fr } }
.form-aside { position: sticky; top: calc(var(--header-h) + 1.5rem) }
@media (max-width: 980px) { .form-aside { position: static } }
.form-aside__img { margin-top: 1.5rem; border-radius: var(--r-lg); overflow: hidden } .form-aside__img img { width: 100% }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem }
.field__label { font-weight: 600; font-size: .9rem; color: var(--text); display: inline-flex; gap: .4rem; align-items: center; margin: 0 }
.field__label .ico { width: 15px; height: 15px; color: var(--primary) }
.req { color: var(--danger) }
.field__control { position: relative; display: flex; align-items: center }
.field__ico { position: absolute; left: .9rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; transition: color var(--t-fast); z-index: 1 }
.field__control:has(textarea) .field__ico { top: 1.5rem }
.field__control:focus-within .field__ico { color: var(--primary) }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--gray-200); background: var(--bg); color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast); min-height: 50px }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { border-color: color-mix(in srgb, var(--white) 14%, transparent); background: color-mix(in srgb, var(--white) 3%, transparent) }
.field select option { color: var(--gray-900); background: var(--white) }
.field__ico ~ input, .field__ico ~ select, .field__ico ~ textarea { padding-left: 2.7rem }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-300) }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent) }
.field input:disabled { opacity: .65 }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger) }
.field.is-valid input, .field.is-valid select { border-color: color-mix(in srgb, var(--success) 60%, transparent) }
.field textarea { resize: vertical; min-height: 120px }
.field__help { font-size: .8rem; color: var(--muted); margin: 0 }
.field--compact { margin: 0 }
.field--compact select, .field--compact input { min-height: 44px; padding: .6rem .9rem; width: 100%; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg) }
.field__control--currency .field__prefix { position: absolute; left: 1rem; font-weight: 700; color: var(--muted) }
.field__control--currency input { padding-left: 2.2rem; font-size: 1.2rem; font-weight: 700; font-family: var(--font-display) }
.field-error { color: var(--danger); font-size: .82rem; margin: 0; font-weight: 500 }
.field-error:empty { display: none }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: .75rem 0; font-size: .92rem; color: var(--text-2); cursor: pointer }
.check input { width: 20px; height: 20px; accent-color: var(--primary); margin-top: .15rem; flex: none }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; margin: .6rem 0 1rem }
.choice-grid--pills { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) }
.choice { position: relative; cursor: pointer }
.choice input { position: absolute; opacity: 0; inset: 0 }
.choice span { display: flex; gap: .5rem; align-items: center; padding: .75rem .9rem; border-radius: 14px; border: 1.5px solid var(--border); font-size: .9rem; font-weight: 550; transition: all var(--t-fast); background: var(--bg); height: 100% }
.choice span .ico { color: var(--primary) }
.choice:hover span { border-color: var(--primary) }
.choice input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--bg)); color: var(--primary-strong); box-shadow: inset 0 0 0 1px var(--primary) }
.choice input:focus-visible + span { outline: 3px solid var(--secondary-500); outline-offset: 2px }
.form-title { display: flex; gap: .6rem; align-items: center; font-size: var(--fs-h4); margin-bottom: 1.25rem }
.form-title .ico { color: var(--primary) }
.upload { margin: .5rem 0 1rem }
.upload__zone { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 2px dashed var(--gray-300); border-radius: var(--r-md); cursor: pointer; transition: all var(--t-fast) }
.upload__zone:hover, .upload.is-drag .upload__zone { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, transparent) }
.upload__zone small { display: block; color: var(--muted); font-size: .8rem }
.upload__preview { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--primary); overflow: hidden; flex: none }
.upload__preview img { width: 100%; height: 100%; object-fit: cover }
.upload input:focus-visible + .upload__zone { outline: 3px solid var(--secondary-500) }
.wizard__progress { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; justify-content: space-between; gap: .5rem }
.wizard__progress li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); text-align: center }
.wizard__progress span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; border: 2px solid var(--border); background: var(--bg); transition: all var(--t) }
.wizard__progress em { font-style: normal; font-weight: 600 }
.wizard__progress li.is-active span { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 14%, transparent) }
.wizard__progress li.is-active { color: var(--text) }
.wizard__progress li.is-done span { background: var(--primary); border-color: var(--primary); color: var(--white) }
.wizard__bar { height: 6px; border-radius: 6px; background: var(--bg-alt); overflow: hidden; margin-bottom: 1.75rem }
.wizard__bar span { display: block; height: 100%; width: 25%; background: var(--primary); border-radius: 6px; transition: width var(--t) var(--ease) }
.wizard__step { border: 0; padding: 0; margin: 0; min-width: 0 }
.wizard__step[hidden] { display: none }
.wizard__step.is-active { animation: stepin var(--t) var(--ease) }
.wizard__step legend { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; margin-bottom: 1.25rem; padding: 0 }
.wizard__step legend .ico { color: var(--primary) }
.wizard__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border) }
.wizard__nav [hidden] { display: none }
.wizard__nav [data-wizard-next], .wizard__nav [data-wizard-submit] { margin-left: auto }
.form-success { text-align: center; padding: 2rem 1rem; animation: pop var(--t) var(--ease) }
.form-success[hidden] { display: none }
.form-success__ico { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); margin-bottom: 1rem }
.form-success__ico .ico { width: 40px; height: 40px }
.form-success__ico--warn { background: color-mix(in srgb, var(--warning) 14%, transparent); color: var(--warning) }
.form-success .share { justify-content: center; margin-top: 1.5rem }
form.is-done > *:not([data-form-success]) { display: none !important }
.tabs { display: flex; gap: .4rem; padding: .35rem; border-radius: var(--r-pill); background: var(--bg-alt); margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none }
.tab { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: .45rem; padding: .7rem 1rem; border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 650; color: var(--muted); white-space: nowrap; transition: all var(--t-fast) }
.tab small { font-weight: 500; opacity: .75; font-size: .75rem }
.tab:hover { color: var(--text) } .tab.is-active { background: var(--bg-elev); color: var(--primary); box-shadow: var(--shadow-sm) }
.tabs--pill { margin: 0; background: transparent; padding: 0; flex-wrap: wrap } .tabs--pill .tab { flex: none; border: 1px solid var(--border); background: var(--bg-elev) } .tabs--pill .tab.is-active { background: var(--primary); color: var(--white); border-color: var(--primary) }
[role=tabpanel][hidden] { display: none }
.auth-card__logged { text-align: center; padding: 2rem 0 }
/* Member card */
.card-preview { margin-top: 2rem; perspective: 1000px }
.member-card { position: relative; overflow: hidden; border-radius: 22px; padding: 1.25rem 1.25rem 1.6rem; color: var(--white); background: var(--primary-700); box-shadow: var(--shadow-lg); aspect-ratio: 1.586; max-width: 460px; display: flex; flex-direction: column; transition: transform .2s; margin-bottom: 1rem }
.member-card__shine { position: absolute; inset: -50%; transform: translateX(-60%); animation: shine 6s ease-in-out infinite; pointer-events: none }
.member-card__top { display: flex; align-items: center; gap: .65rem }
.member-card__top img { border-radius: 10px; background: var(--white); padding: 3px }
.member-card__top strong { display: block; font-family: var(--font-display); letter-spacing: .02em } .member-card__top small { font-size: .68rem; opacity: .85; letter-spacing: .1em; text-transform: uppercase }
.member-card__status { margin-left: auto; font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: var(--r-pill); background: color-mix(in srgb, var(--white) 18%, transparent); text-transform: uppercase; letter-spacing: .06em; color: inherit }
.member-card__status--approved { background: var(--secondary-500); color: var(--secondary-ink) }
.glass-card .member-card__status--pending { background: var(--warning); color: var(--white) }
.member-card__body { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; margin-top: auto }
.member-card__photo { width: 74px; height: 88px; border-radius: 12px; object-fit: cover; border: 2px solid color-mix(in srgb, var(--white) 60%, transparent); background: color-mix(in srgb, var(--white) 20%, transparent) }
.member-card dl { margin: 0; display: grid; gap: .2rem; font-size: .78rem }
.member-card dt { opacity: .75; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em } .member-card dd { margin: 0; font-weight: 650 }
.member-card__qr { width: 84px; height: 84px; background: var(--white); border-radius: 10px; padding: 5px; display: grid; place-items: center }
.member-card__qr img, .member-card__qr svg { width: 100%; height: 100% }
.member-card__stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; display: flex } .member-card__stripe span { flex: 1 } .member-card__stripe span:nth-child(1) { background: var(--primary-500) } .member-card__stripe span:nth-child(2) { background: var(--white) } .member-card__stripe span:nth-child(3) { background: var(--accent-300) }
@media (max-width: 480px) { .member-card { aspect-ratio: auto } .member-card__body { grid-template-columns: auto 1fr; margin-top: 1rem } .member-card__qr { grid-column: 1 / -1; justify-self: end } }
.dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem; align-items: start }
.dash__side { display: grid; gap: 1.5rem }
@media (max-width: 980px) { .dash { grid-template-columns: 1fr } }
.progress-ring { --p: 0; width: 140px; height: 140px; border-radius: 50%; margin: 1rem auto; display: grid; place-items: center; background: conic-gradient(var(--primary) calc(var(--p) * 1%), var(--bg-alt) 0) }
.progress-ring span { width: 108px; height: 108px; border-radius: 50%; background: var(--bg-elev); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800 }
.verify-card { text-align: center }
/* Donate */
.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: .35rem; border-radius: var(--r-pill); background: var(--bg-alt); margin-bottom: 1.5rem }
.segmented label { position: relative; z-index: 1; cursor: pointer }
.segmented input { position: absolute; opacity: 0 }
.segmented span { display: flex; justify-content: center; gap: .5rem; align-items: center; padding: .75rem; border-radius: var(--r-pill); font-weight: 700; color: var(--muted); transition: color var(--t) }
.segmented input:checked + span { color: var(--white) }
.segmented input:focus-visible + span { outline: 3px solid var(--secondary-500) }
.segmented__thumb { position: absolute; top: .35rem; bottom: .35rem; left: .35rem; width: calc(50% - .35rem); border-radius: var(--r-pill); background: var(--primary); transition: transform var(--t) var(--ease) }
.segmented:has(label:nth-of-type(2) input:checked) .segmented__thumb { transform: translateX(100%) }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: .5rem 0 1.25rem }
.amount { cursor: pointer; position: relative } .amount input { position: absolute; opacity: 0 }
.amount span { display: block; text-align: center; padding: 1rem .5rem; border-radius: 14px; border: 1.5px solid var(--border); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; transition: all var(--t-fast); background: var(--bg) }
.amount:hover span { border-color: var(--primary); transform: translateY(-2px) }
.amount input:checked + span { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 10px 24px -10px var(--primary) }
.amount input:focus-visible + span { outline: 3px solid var(--secondary-500); outline-offset: 2px }
.impact-box { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem }
.impact-box p { margin: 0 }
.impact-box__ico { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--secondary); color: var(--secondary-ink) }
.trust-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem }
.trust-list li { display: flex; gap: .6rem; align-items: center; color: var(--text-2); font-size: .95rem } .trust-list .ico { color: var(--primary) }
.pay-logos { display: flex; gap: .4rem; align-items: center; justify-content: center; margin-top: .9rem; text-align: center }
.bank-box { margin: 1rem auto; text-align: left; max-width: 380px; padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--bg-alt); border: 1px dashed var(--border) }
.bank-box[hidden] { display: none }
/* Contact */
.contact-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: 2rem }
.contact-card { display: flex; flex-direction: column; gap: .2rem; padding: 1.4rem; transition: transform var(--t) var(--ease) }
.contact-card:hover { transform: translateY(-4px) }
.contact-card h3 { font-size: 1.1rem; margin: .5rem 0 .25rem } .contact-card a { text-decoration: none; font-weight: 600; word-break: break-word } .contact-card p { margin: 0; color: var(--text-2) }
.contact-card__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: var(--white) }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem; align-items: start }
@media (max-width: 980px) { .contact-layout { grid-template-columns: 1fr } }
.contact-side { display: grid; gap: 1.25rem }
.map-embed { padding: 0; overflow: hidden; aspect-ratio: 4/3 }
.map-embed iframe { width: 100%; height: 100%; border: 0 }
.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5rem; padding: 2rem; background: var(--primary-50); color: var(--text-2) }
[data-theme="dark"] .map-placeholder { background: var(--primary-900) }
.map-placeholder > .ico { width: 48px; height: 48px; color: var(--primary) } .map-placeholder span { font-size: .88rem; color: var(--muted) }
.offices { display: grid; gap: 1rem }
.office { padding: 1.25rem } .office h3 { display: flex; gap: .5rem; align-items: center; font-size: 1.05rem } .office h3 .ico { color: var(--primary) }
.office p { color: var(--text-2); font-size: .93rem; margin-bottom: .5rem }
.office a { display: flex; gap: .4rem; align-items: center; font-size: .9rem; text-decoration: none }
.follow-card h3 { font-size: 1.05rem }
/* Socials */
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem }
.social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); background: var(--bg-alt); border: 1px solid var(--border); transition: transform var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast) }
.social .ico { width: 18px; height: 18px }
.social:hover { transform: translateY(-3px) rotate(-6deg); color: var(--white); box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--black) 40%, transparent) }


.socials--sm { gap: .15rem } .socials--sm .social { width: 28px; height: 28px; background: transparent; border: 0; color: var(--primary-100) } .socials--sm .social .ico { width: 14px; height: 14px }
.socials--lg .social { width: 48px; height: 48px } .socials--lg .social .ico { width: 21px; height: 21px }
.socials--footer .social { background: color-mix(in srgb, var(--white) 6%, transparent); border-color: color-mix(in srgb, var(--white) 10%, transparent); color: var(--primary-100) }
/* Share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem }
.share__label { display: inline-flex; gap: .4rem; align-items: center; font-weight: 650; font-size: .88rem; color: var(--muted); margin-right: .25rem }
.share__btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-2); text-decoration: none; transition: all var(--t-fast) var(--ease) }
.share__btn[hidden] { display: none }
.share__btn .ico { width: 16px; height: 16px }
.share__btn:hover { transform: translateY(-3px); color: var(--white); background: var(--primary); border-color: var(--primary) }
.share__btn--facebook:hover { background: var(--accent-300); border-color: var(--accent-300) } .share__btn--x:hover { background: var(--black); border-color: var(--black) } .share__btn--whatsapp:hover { background: var(--primary-300); border-color: var(--primary-300) }
.share__btn--linkedin:hover { background: var(--accent-500); border-color: var(--accent-500) } .share__btn--telegram:hover { background: var(--accent-300); border-color: var(--accent-300) }
.share--top { margin-bottom: 1.5rem }
/* Newsletter */
.newsletter-form__row { display: flex; align-items: center; gap: .4rem; padding: .35rem .35rem .35rem 1rem; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--border) }
.newsletter-form__row:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent) }
.newsletter-form__row input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: .55rem 0 }
.newsletter-form__ico { color: var(--muted) }
.newsletter-panel { display: grid; grid-template-columns: auto 1fr minmax(280px, 420px); gap: 2rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 3rem); position: relative; overflow: hidden }
.newsletter-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: color-mix(in srgb, var(--secondary-500) 35%, transparent); pointer-events: none }
.newsletter-panel__ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--primary); color: var(--white) }
.newsletter-panel__ico .ico { width: 32px; height: 32px }
.newsletter-panel .section-title { font-size: var(--fs-h3); margin: 0 0 .25rem } .newsletter-panel .muted p { margin: 0 }
@media (max-width: 900px) { .newsletter-panel { grid-template-columns: 1fr } }
/* FAQ */
.faq { display: grid; gap: .75rem }
.faq__item { border-radius: var(--r-md); background: var(--bg-elev); border: 1px solid var(--border); overflow: hidden; transition: box-shadow var(--t), border-color var(--t) }
.faq__item[hidden] { display: none }
.faq__item[open] { box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 35%, transparent) }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; font-family: var(--font-display); font-weight: 650; font-size: 1.08rem }
.faq__item summary::-webkit-details-marker { display: none }
.faq__ico { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--bg-alt); color: var(--primary); transition: transform var(--t) var(--ease), background var(--t) }
.faq__item[open] .faq__ico { transform: rotate(45deg); background: var(--primary); color: var(--white) }
.faq__answer { padding: 0 1.35rem 1.25rem }
.faq + .btn-row, .container--mid > .btn-row { justify-content: center }
/* Gallery */
.gallery__tools { display: flex; gap: .6rem; flex-wrap: wrap }
.gallery__tools .search-inline { min-width: 200px }
.gallery__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)) }
.gallery__grid.is-audio { grid-template-columns: 1fr; gap: .5rem }
.gallery__grid.is-docs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 1rem }
.gallery__status { display: flex; justify-content: center; padding: 2rem; min-height: 80px; color: var(--muted) }
.gallery__status.is-idle .spinner { display: none }
.spinner { width: 34px; height: 34px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite }
.album-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) }
.album-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--white); aspect-ratio: 4/3; background: var(--bg-alt); box-shadow: var(--shadow-md); isolation: isolate; transition: transform var(--t) var(--ease), box-shadow var(--t) }
.album-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--white) }
.album-card__img { position: absolute; inset: 0 } .album-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease) }
.album-card:hover .album-card__img img { transform: scale(1.07) }
.album-card__body { position: absolute; inset: auto 0 0 0; padding: 1.25rem; background: var(--overlay) }
.album-card__body h3 { color: var(--white); font-size: 1.2rem; margin: 0 0 .25rem }
.album-card__body p { margin: 0; font-size: .85rem; opacity: .9; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap }
.album-card__body .ico { width: 14px; height: 14px }
.album-card__count { position: absolute; top: 1rem; right: 1rem; padding: .35rem .7rem; border-radius: var(--r-pill); font-size: .8rem; font-weight: 700; display: inline-flex; gap: .35rem; align-items: center; background: color-mix(in srgb, var(--black) 50%, transparent); color: var(--white) }
.album-card__count .ico { width: 14px; height: 14px }
.album-wrap { position: relative }
.album-wrap .album-share { position: absolute; top: 1rem; left: 1rem; z-index: 2; opacity: 0; transition: opacity var(--t); background: color-mix(in srgb, var(--black) 50%, transparent); color: var(--white); border: 0 }
.album-wrap:hover .album-share, .album-share:focus-visible { opacity: 1 }
.media-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-elev); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: transform var(--t) var(--ease), box-shadow var(--t); text-align: left; padding: 0; font: inherit }
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text) }
.media-card__open { display: block; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; width: 100%; font: inherit; text-decoration: none }
.media-card__thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--primary-800) }
.media-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease) }
.media-card:hover .media-card__thumb img { transform: scale(1.06) }
.media-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--white) 60%, transparent) } .media-card__ph .ico { width: 48px; height: 48px }
.media-card__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--white) 92%, transparent); color: var(--primary-700); box-shadow: 0 10px 30px color-mix(in srgb, var(--black) 35%, transparent); transition: transform var(--t) var(--ease) }
.media-card:hover .media-card__play { transform: scale(1.12) }
.media-card__body { padding: 1rem 1.15rem .75rem; display: flex; flex-direction: column; gap: .35rem }
.media-card__body h3 { font-size: 1.05rem; margin: 0 }
.media-card__body p { font-size: .82rem; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: .75rem }
.media-card__body p span { display: inline-flex; gap: .3rem; align-items: center } .media-card__body .ico { width: 14px; height: 14px }
.media-card__actions { display: flex; gap: .4rem; padding: 0 1.15rem 1.15rem; margin-top: auto }
.media-card__actions .icon-btn { width: 36px; height: 36px }
.badge-type { position: absolute; top: .75rem; left: .75rem; display: inline-flex; gap: .3rem; align-items: center; padding: .3rem .6rem; border-radius: var(--r-pill); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: color-mix(in srgb, var(--black) 55%, transparent); color: var(--white) }
.badge-type .ico { width: 13px; height: 13px }
.badge-type--photo { background: color-mix(in srgb, var(--primary-600) 90%, transparent) } .badge-type--video { background: color-mix(in srgb, var(--error) 90%, transparent) } .badge-type--audio { background: color-mix(in srgb, var(--accent-500) 90%, transparent) } .badge-type--document { background: color-mix(in srgb, var(--secondary-600) 92%, transparent) }
.track { display: grid; grid-template-columns: auto 56px 1fr auto auto; gap: 1rem; align-items: center; padding: .7rem 1rem; border-radius: var(--r-md); background: var(--bg-elev); border: 1px solid var(--border); transition: all var(--t-fast) }
.track:hover { border-color: var(--primary) }
.track.is-playing { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, var(--bg-elev)) }
.track__num { width: 28px; text-align: center; color: var(--muted); font-weight: 700; font-size: .9rem }
.track__art { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--primary); color: var(--white); border: 0; padding: 0; position: relative }
.track__art img { width: 100%; height: 100%; object-fit: cover }
.track__art .i-pause { display: none } .track.is-playing .track__art .i-pause { display: block } .track.is-playing .track__art .i-play { display: none }
.track__art .ico { position: absolute; width: 22px; height: 22px; filter: drop-shadow(0 1px 3px color-mix(in srgb, var(--black) 60%, transparent)) }
.track__meta { min-width: 0 } .track__meta strong { display: block; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .track__meta small { color: var(--muted); font-size: .82rem }
.track__eq { display: none; gap: 2px; height: 16px; align-items: flex-end; margin-left: .5rem } .track.is-playing .track__eq { display: inline-flex }
.track__eq i { width: 3px; background: var(--primary); animation: eq .9s ease-in-out infinite } .track__eq i:nth-child(2) { animation-delay: -.3s } .track__eq i:nth-child(3) { animation-delay: -.6s }
.track__actions { display: flex; gap: .3rem } .track__actions .icon-btn { width: 38px; height: 38px }
@media (max-width: 600px) { .track { grid-template-columns: 48px 1fr auto } .track__num { display: none } .track__art { width: 48px; height: 48px } .track__dur { display: none } }
.audio-player { display: grid; grid-template-columns: minmax(200px, 1.2fr) auto 2fr auto; gap: 1.25rem; align-items: center; margin-bottom: 1.25rem; position: sticky; top: calc(var(--header-h) + .5rem); z-index: 5; padding: 1rem 1.25rem }
.audio-player[hidden] { display: none }
.audio-player__now { display: flex; gap: .8rem; align-items: center; min-width: 0 }
.audio-player__art { width: 52px; height: 52px; border-radius: 12px; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--primary); color: var(--white) }
.audio-player__art img { width: 100%; height: 100%; object-fit: cover }
.audio-player__meta { min-width: 0 } .audio-player__meta strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .audio-player__meta small { color: var(--muted) }
.audio-player__controls { display: flex; gap: .4rem; align-items: center }
.audio-player .i-pause { display: none } .audio-player.is-playing .i-pause { display: block } .audio-player.is-playing .i-play { display: none }
.audio-player__timeline { display: flex; gap: .7rem; align-items: center; font-size: .8rem; color: var(--muted) }
.audio-player__timeline input { flex: 1 }
.audio-player__vol { display: flex; gap: .4rem; align-items: center; color: var(--muted) } .audio-player__vol input { width: 90px }
.audio-player input[type=range] { accent-color: var(--primary) }
@media (max-width: 900px) { .audio-player { grid-template-columns: 1fr auto } .audio-player__timeline { grid-column: 1 / -1 } .audio-player__vol { display: none } }
.doc-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)) }
.doc-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem; transition: transform var(--t) var(--ease), box-shadow var(--t) }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg) }
.doc-card__ico { width: 64px; height: 76px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; color: var(--white); background: var(--error); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%) }
.doc-card__ico span { font-size: .68rem; font-weight: 800; letter-spacing: .05em }
.doc--doc .doc-card__ico, .doc--docx .doc-card__ico { background: var(--accent-500) } .doc--xls .doc-card__ico, .doc--xlsx .doc-card__ico { background: var(--primary-600) } .doc--ppt .doc-card__ico, .doc--pptx .doc-card__ico { background: var(--secondary-600) }
.doc-card__body { min-width: 0 }
.doc-card__body h3 { font-size: 1.05rem; margin: 0 0 .3rem } .doc-card__body h3 a { color: var(--text); text-decoration: none } .doc-card__body h3 a:hover { color: var(--primary) }
.doc-card__body p { font-size: .88rem; color: var(--text-2); margin: 0 0 .4rem }
.doc-card__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .8rem !important; color: var(--muted) !important }
.doc-card__meta span, .doc-card__meta a { display: inline-flex; gap: .3rem; align-items: center } .doc-card__meta .ico { width: 13px; height: 13px }
.doc-card__actions { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap }
.doc-card__actions .icon-btn { width: 38px; height: 38px; margin-left: auto }
.masonry { columns: 3 280px; column-gap: 1rem }
.masonry__item { break-inside: avoid; margin: 0 0 1rem; border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--bg-alt) }
.masonry__btn { display: block; width: 100%; padding: 0; border: 0; background: none; position: relative; cursor: zoom-in; overflow: hidden }
.masonry__btn img { width: 100%; transition: transform .8s var(--ease), filter var(--t) }
.masonry__btn:hover img { transform: scale(1.04); filter: brightness(.85) }
.masonry__zoom { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--white) 90%, transparent); color: var(--primary-700); opacity: 0; transform: scale(.7); transition: all var(--t) var(--ease) }
.masonry__btn:hover .masonry__zoom, .masonry__btn:focus-visible .masonry__zoom { opacity: 1; transform: none }
.masonry__item figcaption { padding: .6rem .8rem; font-size: .85rem; color: var(--text-2) }
.album-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem }
.media-view { padding: 0; overflow: hidden } .media-view__img { width: 100% }
.media-view__info { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; margin: 1.5rem 0 }
.media-view__info .btn-row { margin: 0 }
.pdf-frame { width: 100%; height: 80vh; border: 0; background: var(--white) }
.doc-hero { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 4rem 1rem } .doc-hero > .ico { width: 80px; height: 80px; color: var(--primary) }
.audio-single { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 3rem 1.5rem; background: var(--surface-deep) }
.audio-single__art { width: 200px; height: 200px; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; background: var(--primary); color: var(--white); box-shadow: var(--shadow-lg) }
.audio-single__art > .ico { width: 72px; height: 72px } .audio-single__art img { width: 100%; height: 100%; object-fit: cover }
.audio-single audio { width: min(100%, 520px) }
.ratio { position: relative; aspect-ratio: 16/9; background: var(--black) } .ratio iframe, .ratio video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 }
.noscript-list { columns: 2 }
/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--primary-900) 96%, transparent); color: var(--white); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto }
.lightbox[hidden] { display: none }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem }
.lightbox__actions { display: flex; gap: .4rem }
.lightbox__stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y pinch-zoom; min-height: 0; padding: 0 4.5rem }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; transition: transform var(--t) var(--ease), opacity var(--t); user-select: none; -webkit-user-drag: none; cursor: zoom-in }
.lightbox__stage.is-zoomed { overflow: auto; place-items: start center }
.lightbox__stage.is-zoomed img { max-width: none; max-height: none; width: 200%; cursor: zoom-out }
.lightbox__stage iframe, .lightbox__stage video { width: min(100%, 1200px); aspect-ratio: 16/9; height: auto; max-height: 100%; border: 0; background: var(--black); border-radius: 8px }
.lightbox__stage .pdf-frame { width: min(100%, 1100px); height: 100%; aspect-ratio: auto }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--white) 10%, transparent); color: var(--white); display: grid; place-items: center; z-index: 2; transition: background var(--t-fast) }
.lightbox__nav:hover { background: color-mix(in srgb, var(--white) 25%, transparent) }
.lightbox__nav[hidden] { display: none }
.lightbox__nav--prev { left: 1rem } .lightbox__nav--next { right: 1rem }
.lightbox__caption { text-align: center; padding: .75rem 1rem 0; font-size: .95rem; color: color-mix(in srgb, var(--white) 85%, transparent); min-height: 2.5rem }
.lightbox__caption strong { display: block; color: var(--white) }
.lightbox__thumbs { display: flex; gap: .4rem; overflow-x: auto; padding: .75rem 1rem 1rem; justify-content: safe center; scrollbar-width: thin }
.lightbox__thumbs:empty { display: none }
.lightbox__thumbs button { flex: none; width: 64px; height: 48px; border-radius: 6px; overflow: hidden; padding: 0; border: 2px solid transparent; opacity: .5; background: var(--gray-900); transition: all var(--t-fast) }
.lightbox__thumbs button.is-active { border-color: var(--secondary-500); opacity: 1 } .lightbox__thumbs button:hover { opacity: 1 }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover }
.lightbox__share { position: absolute; top: 4rem; right: 1rem; padding: 1rem; border-radius: var(--r-md); z-index: 3; background: color-mix(in srgb, var(--primary-900) 92%, transparent); border: 1px solid color-mix(in srgb, var(--white) 10%, transparent) }
.lightbox__share[hidden] { display: none }
.lightbox__share .share__label { color: var(--white) }
.lightbox__counter { font-size: .9rem; color: color-mix(in srgb, var(--white) 80%, transparent) }
@media (max-width: 700px) { .lightbox__stage { padding: 0 .5rem } .lightbox__nav { width: 42px; height: 42px } .lightbox__nav--prev { left: .25rem } .lightbox__nav--next { right: .25rem } }
/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr } }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .92rem; margin-bottom: 1rem }
.article__meta span { display: inline-flex; gap: .4rem; align-items: center } .article__meta .ico { color: var(--primary) }
.article__figure { margin: 0 0 2rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md) } .article__figure img { width: 100% }
.article__foot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem }
@media (max-width: 1000px) { .article-aside { position: static } }
.aside-card h2 { font-size: 1.2rem }
.aside-card--cta { background: var(--surface-deep) !important; color: var(--white); border: 0 } .aside-card--cta h2 { color: var(--white) } .aside-card--cta p { color: color-mix(in srgb, var(--white) 82%, transparent) }
.aside-card__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--secondary); color: var(--secondary-ink); margin-bottom: 1rem }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem }
.mini-list a { display: grid; grid-template-columns: 72px 1fr; gap: .8rem; align-items: center; text-decoration: none; color: var(--text) }
.mini-list a:hover strong { color: var(--primary) }
.mini-list img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px }
.mini-list strong { font-size: .92rem; line-height: 1.3; display: block } .mini-list small { color: var(--muted) }
.event-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 }
.press-list { display: grid; gap: 1rem }
.press-item { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem }
.press-item__date { text-align: center; border-right: 1px solid var(--border); padding-right: 1rem }
.press-item__date span { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1 } .press-item__date small { color: var(--muted); font-size: .8rem }
.press-item h3 { font-size: 1.25rem; margin: .5rem 0 } .press-item h3 a { color: var(--text); text-decoration: none } .press-item h3 a:hover { color: var(--primary) }
.press-item p { color: var(--text-2) }
.press-item__actions { display: flex; flex-wrap: wrap; gap: 1.5rem }
@media (max-width: 600px) { .press-item { grid-template-columns: 1fr } .press-item__date { border: 0; text-align: left; display: flex; gap: .5rem; align-items: baseline } }
.search-results { list-style: none; padding: 0; display: grid; gap: .75rem }
.search-results a { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--text) } .search-results .tag { align-self: flex-start }
.alert { display: flex; gap: .6rem; align-items: center; padding: .9rem 1.1rem; border-radius: var(--r-md); margin: 1rem 0; font-weight: 550 }
.alert--success { background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success) } .alert--error { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger) }
.flash-wrap { position: relative; z-index: 2 }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; background: color-mix(in srgb, var(--primary) 10%, transparent) }
.error-page__code { font-family: var(--font-display); font-size: clamp(6rem, 4rem + 12vw, 14rem); font-weight: 800; line-height: .9; margin: 0; color: var(--primary) }
/* Footer */
.site-footer { position: relative; margin-top: 5rem; background: var(--primary-900); color: var(--gray-300); padding-top: 4.5rem }
[data-theme="dark"] .site-footer { background: var(--primary-900) }
.footer-wave { position: absolute; top: -79px; left: 0; right: 0; height: 80px } .footer-wave svg { width: 100%; height: 100% } .footer-wave path { fill: var(--primary-900) }
[data-theme="dark"] .footer-wave path { fill: var(--primary-900) }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 2.5rem; padding-bottom: 3rem }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr } }
.brand--footer { color: var(--white); margin-bottom: 1rem } .brand--footer small { color: var(--gray-400) } .brand--footer img { border-radius: 12px }
.footer-brand p { font-size: .95rem; margin-bottom: 1.5rem }
.footer-title { font-size: 1.05rem; color: var(--white); margin-bottom: 1.25rem; letter-spacing: 0 }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem }
.footer-col a { color: var(--gray-300); text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; transition: color var(--t-fast), transform var(--t-fast) }
.footer-col a .ico { width: 14px; height: 14px; color: var(--secondary-500) }
.footer-col a:hover { color: var(--white); transform: translateX(3px) }
.footer-news p { font-size: .93rem }
.footer-news .newsletter-form__row { background: color-mix(in srgb, var(--white) 6%, transparent); border-color: color-mix(in srgb, var(--white) 12%, transparent) } .footer-news input { color: var(--white) } .footer-news input::placeholder { color: var(--gray-400) }
.footer-contact { margin-top: 1.5rem !important } .footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem } .footer-contact .ico { color: var(--secondary-500); margin-top: .2rem }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--white) 8%, transparent); padding: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem }
.footer-bottom p { margin: 0 } .footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0 } .footer-bottom a { color: var(--gray-300); text-decoration: none } .footer-bottom a:hover { color: var(--white) }
.footer-disclaimer { width: 100%; font-size: .78rem; color: var(--gray-400) }
/* Global UI */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--secondary); transform-origin: 0 50%; transform: scaleX(0) }
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); transition: opacity .5s var(--ease), visibility .5s }
.loader__mark { display: flex; flex-direction: column; align-items: center; gap: 1rem } .loader__mark img { animation: breathe 1.4s ease-in-out infinite; border-radius: 16px }
.loader__bar { width: 120px; height: 3px; border-radius: 3px; background: var(--bg-alt); overflow: hidden; position: relative }
.loader__bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--primary); animation: loadbar 1s ease-in-out infinite }
.is-loaded .loader { opacity: 0; visibility: hidden }
html:not(.js) .loader { display: none }
.toast-stack { position: fixed; right: 1rem; bottom: 1rem; z-index: 400; display: grid; gap: .6rem; width: min(92vw, 380px) }
.toast { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: toastin .4s var(--ease); border-left: 4px solid var(--success); color: var(--text) }
.toast--error { border-left-color: var(--danger) } .toast--error > .ico { color: var(--danger) } .toast--success > .ico { color: var(--success) }
.toast p { margin: 0; font-size: .93rem; flex: 1 }
.toast button { background: none; border: 0; color: var(--muted); padding: 0 }
.toast.is-leaving { animation: toastout .3s var(--ease) forwards }
.to-top { position: fixed; left: 1rem; bottom: 1rem; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--primary); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all var(--t) var(--ease) }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto }
.page-leave main, .page-leave .site-footer { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s }
/* Motion */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms), box-shadow var(--t), border-color var(--t) }
.js [data-reveal="left"] { transform: translateX(-36px) } .js [data-reveal="right"] { transform: translateX(36px) }
.js [data-reveal].is-in { opacity: 1; transform: none }
.js .tilt.is-in, .tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) }
.tilt:hover { --ty: -4px }
.float-0 { animation: float 9s ease-in-out infinite } .float-1 { animation: float 11s ease-in-out infinite -3s } .float-2 { animation: float 10s ease-in-out infinite -6s }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--secondary-300) 70%, transparent); } 70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--secondary-300) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--secondary-300) 0%, transparent); } }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes stepin { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes toastin { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastout { to { opacity: 0; transform: translateX(30px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@keyframes shine { 0%, 60% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important }
  html { scroll-behavior: auto }
  .js [data-reveal] { opacity: 1; transform: none }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center }
  .marquee__track > [aria-hidden="true"] { display: none }
  .hero__particles { display: none }
}
@media print {
  .topbar, .site-header, .site-footer, .to-top, .toast-stack, .scroll-progress, .share, .btn, .loader, .page-hero__curve { display: none !important }
  body { color: var(--black); background: var(--white) }
  .page-hero { background: none; color: var(--black); padding: 1rem 0 } .page-hero__title { color: var(--black) }
  body.print-card * { visibility: hidden } body.print-card [data-member-card], body.print-card [data-member-card] * { visibility: visible }
  body.print-card [data-member-card] { position: fixed; left: 1cm; top: 1cm; width: 8.56cm; -webkit-print-color-adjust: exact; print-color-adjust: exact }
}
/* Footer flush when the last section is already a dark/gradient band */
body:has(main > .section:last-child:is(.bg-gradient, .bg-dark, .bg-green)) .site-footer { margin-top: 0 }
body:has(main > .section:last-child:is(.bg-gradient, .bg-dark, .bg-green)) .footer-wave { display: none }
/* Per-word highlight inside the split hero title */
.hero__title .hl-group { color: inherit }
@media (max-width: 760px) {
  .topbar__contact, .topbar__right > a { display: none }
  .topbar__inner { justify-content: center; min-height: 36px }
  .topbar__right { flex-wrap: nowrap }
}
.nav__link { white-space: nowrap }
.ng-map .leaflet-control-attribution { font-size: .65rem; background: color-mix(in srgb, var(--bg-elev) 85%, transparent); border-radius: 8px 0 0 0 }

html { overflow-x: clip }
.hero__stats { row-gap: 1.75rem }
/* WCAG: darker gold for large gold text on light surfaces (≥3:1); bright gold stays on dark */
.timeline__year { color: var(--secondary-text) }
[data-theme="dark"] .timeline__year, .bg-dark .timeline__year, .bg-gradient .timeline__year, .bg-green .timeline__year { color: var(--secondary) }

/* ==========================================================================
   v2.0 – logo brand, compact heroes, semantic colours, skeletons & UX psychology
   ========================================================================== */
/* ---- Logo (circular badge) ---- */
.brand__logo { width: auto; height: auto; border-radius: 50%; display: inline-flex }
.brand__logo picture, .brand-logo { display: inline-flex }
.brand__logo img, .brand-logo img, img.brand-logo { width: 48px; height: 48px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px color-mix(in srgb, var(--white) 65%, transparent), 0 6px 18px -8px color-mix(in srgb, var(--black) 45%, transparent); object-fit: contain }
.brand__logo--dark { display: none } [data-theme="dark"] .brand__logo--dark { display: inline-flex } [data-theme="dark"] .brand__logo--light { display: none }
.is-scrolled .brand__logo img { width: 42px; height: 42px; transition: width var(--t), height var(--t) }
.brand--footer img, .footer-brand__logo img { width: 64px; height: 64px; border-radius: 50% }
.nav__mobile-brand { display: none }
@media (max-width: 1180px) { .nav__mobile-brand { display: inline-flex; margin: 0 auto .5rem } .nav__mobile-brand img { width: 72px; height: 72px } }
@media (min-width: 1181px) { .nav__mobile-extra .btn--block { display: none } }
.member-card__logo img { width: 44px; height: 44px; border-radius: 50%; background: var(--white) }

/* ---- Loader: logo inside a rotating + pulsing ring ---- */
.loader { background: var(--bg) }
.loader__mark { position: relative; width: 132px; height: 132px; display: grid; place-items: center; gap: 0 }
.loader__mark img, .loader__logo img { width: 96px; height: 96px; border-radius: 50%; background: var(--white); animation: loaderpulse 1.6s ease-in-out infinite; box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--black) 35%, transparent) }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: loaderspin 1.1s linear infinite }
.loader__ring circle { fill: none; stroke: var(--primary); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 28 72 }
.loader__mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--secondary-500) 45%, transparent); animation: loaderhalo 1.6s ease-out infinite }
.loader__text { position: absolute; top: calc(50% + 86px); width: 100%; text-align: center; color: var(--muted); font-weight: 600; font-size: .9rem }
@keyframes loaderspin { to { transform: rotate(360deg); } }
@keyframes loaderpulse { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1); } }
@keyframes loaderhalo { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }

/* ---- Home hero: ~50% of v1 height, everything fits on a phone ---- */
.hero { min-height: clamp(440px, 52svh, 540px); padding: calc(var(--header-h) + 1.75rem) 0 3.25rem }
.hero__inner { gap: 2rem }
.hero__title { font-size: clamp(2.05rem, 1.2rem + 3.1vw, 4.1rem); line-height: 1.02; margin: .85rem 0 .85rem }
.hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 560px }
.hero__lead p { margin: 0 0 .25rem }
.hero__badge { font-size: .8rem; padding: .35rem .85rem }
.hero .btn-row { margin-top: 1.1rem; align-items: center }
.hero__curve, .page-hero__curve { height: clamp(22px, 3.2vw, 46px) }
.hero__stats--compact { gap: .65rem; row-gap: .65rem }
.hero__stats--compact .hero-stat { padding: .8rem 1rem; border-radius: var(--r-md); gap: .1rem }
.hero__stats--compact .hero-stat:nth-child(2n) { margin: 0 }
.hero__stats--compact .hero-stat strong { font-size: clamp(1.4rem, 1.1rem + 1vw, 2.1rem) }
.hero__stats--compact .hero-stat__ico { width: 30px; height: 30px; border-radius: 9px; margin-bottom: .25rem }
.hero__stats--compact .hero-stat__ico .ico { width: 16px; height: 16px }
.hero__stats--compact .hero-stat > span:last-child { font-size: .78rem }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: calc(var(--header-h) + 1.1rem) 0 2.6rem }
  .hero__inner { gap: 1.1rem }
  .hero__lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
  .hero__stats--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem }
  .hero__stats--compact .hero-stat { padding: .55rem .4rem; text-align: center; align-items: center }
  .hero__stats--compact .hero-stat__ico { display: none }
  .hero__stats--compact .hero-stat strong { font-size: 1.15rem }
  .hero__stats--compact .hero-stat > span:last-child { font-size: .66rem; line-height: 1.2 }
  .hero .btn-row { gap: .9rem }
}

/* ---- Inner page hero: ~30% of v1 height, title only ---- */
.page-hero { padding: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem) 0 clamp(2.1rem, 1.6rem + 2vw, 3.4rem) }
.page-hero__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); margin: 0; max-width: 28ch; line-height: 1.08 }
.page-hero .container { position: relative }
.page-hero--image::before { background: var(--overlay) }
.page-lead { font-size: var(--fs-lg); color: var(--text-2); max-width: 70ch; margin: 0 0 1.5rem }
.album-bar__meta { display: inline-flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; align-items: center }
.album-bar__meta span { display: inline-flex; gap: .35rem; align-items: center }

/* ---- Semantic colours everywhere (toasts, alerts, validation, badges, statuses) ---- */
.alert { border: 1px solid transparent }
.alert--success { background: var(--success-bg); color: var(--success); border-color: var(--success-border) }
.alert--error { background: var(--error-bg); color: var(--error); border-color: var(--error-border) }
.alert--warning { background: var(--warning-bg); color: var(--warning); border-color: var(--warning-border) }
.alert--info { background: var(--info-bg); color: var(--info); border-color: var(--info-border) }
.alert > .ico { flex: none }
.toast--success { border-left-color: var(--success) } .toast--warning { border-left-color: var(--warning) } .toast--warning > .ico { color: var(--warning) } .toast--info { border-left-color: var(--info) } .toast--info > .ico { color: var(--info) }
.toast--error { border-left-color: var(--error) } .toast--error > .ico { color: var(--error) }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: color-mix(in srgb, var(--error-bg) 55%, var(--bg)) }
.field.has-error .field__ico { color: var(--error) }
.field.is-valid input, .field.is-valid select { border-color: var(--success-border) }
.field__error, .field-error { color: var(--error); font-size: .82rem; font-weight: 600 }
.status { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; border-radius: var(--r-pill); font-size: .78rem; font-weight: 700; border: 1px solid transparent; text-transform: capitalize }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor }
.status--success, .status--approved, .status--successful, .status--active, .status--open { background: var(--success-bg); color: var(--success); border-color: var(--success-border) }
.status--warning, .status--pending, .status--closing { background: var(--warning-bg); color: var(--warning); border-color: var(--warning-border) }
.status--error, .status--failed, .status--suspended, .status--closed { background: var(--error-bg); color: var(--error); border-color: var(--error-border) }
.status--info, .status--upcoming, .status--new { background: var(--info-bg); color: var(--info); border-color: var(--info-border) }

/* ---- Contrast effect: one primary CTA, secondary as a quiet link ---- */
.btn-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--primary); text-decoration: none; padding: .55rem .25rem; border-bottom: 2px solid transparent }
.btn-link:hover { border-bottom-color: currentColor }
.btn-link__arrow { width: 16px; height: 16px; transition: transform var(--t-fast) } .btn-link:hover .btn-link__arrow { transform: translateX(3px) }
.btn-link--light { color: var(--white) } .btn-link--light:hover { color: var(--secondary-300) }
.btn-row:has(.btn-link) { gap: 1.1rem }

/* ---- Skeleton loaders (front) ---- */
@keyframes skel { 100% { transform: translateX(100%); } }
.skel { position: relative; overflow: hidden; background: var(--bg-alt); border-radius: var(--r-sm, 8px) }
.skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); animation: skel 1.3s infinite }
[data-theme="dark"] .skel::after {  }
.skel-card { border-radius: var(--r-lg); background: var(--bg-elev); border: 1px solid var(--border); overflow: hidden }
.skel-card__media { aspect-ratio: 4 / 3; border-radius: 0 }
.skel-card__body { padding: 1.1rem; display: grid; gap: .55rem }
.skel-line { height: 12px } .skel-line--lg { height: 18px; width: 85% } .skel-line--sm { width: 45% }
.skel-tile { aspect-ratio: 1; border-radius: var(--r-md) }
.skel-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--border) }
.skel-row .skel { height: 12px; flex: 1 } .skel-row .skel:last-child { flex: 0 0 60px }
[data-skeleton-host] .skel-card, [data-skeleton-host] .skel-tile { animation: stepin .3s var(--ease) }
.stat-skel { display: inline-block; width: 3.5ch; height: .9em; vertical-align: middle; border-radius: 6px }
@media (prefers-reduced-motion: reduce) { .skel::after { animation: none } }

/* ---- Goal gradient: progress meters ---- */
.goal-meter { display: grid; gap: .45rem; margin: 0 0 1.4rem }
.goal-meter__head { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; font-weight: 650; color: var(--text-2) }
.goal-meter__head strong { color: var(--primary) }
.goal-meter__track { height: 10px; border-radius: 10px; background: var(--bg-alt); overflow: hidden; box-shadow: inset 0 1px 2px color-mix(in srgb, var(--black) 6%, transparent) }
.goal-meter__fill { height: 100%; width: 0; border-radius: 10px; background: var(--primary-500); transition: width .8s var(--ease) }
.goal-meter__note { font-size: .82rem; color: var(--muted); margin: 0 }
.wizard__status { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; font-weight: 650; margin: -.75rem 0 1.25rem; color: var(--text-2) }
.wizard__status strong { color: var(--primary) }
.goal-card { padding: 1.25rem 1.4rem; border-radius: var(--r-lg); background: var(--bg-elev); border: 1px solid var(--border); margin-bottom: 1.5rem }
.goal-card h3 { font-size: 1.05rem; margin: 0 0 .25rem }
.goal-card__figures { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 .5rem; font-size: .9rem; color: var(--text-2) }
.goal-card__figures strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text) }

/* ---- Contrast effect: donation tiers ---- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: .5rem 0 1rem }
.tier { position: relative; display: block; cursor: pointer }
.tier input { position: absolute; opacity: 0; inset: 0 }
.tier__box { display: grid; gap: .25rem; height: 100%; padding: 1rem 1rem .9rem; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--bg-elev); transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) }
.tier__name { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted) }
.tier__amount { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: var(--text); line-height: 1.1 }
.tier__amount small { font-size: .75rem; font-weight: 600; color: var(--muted); font-family: var(--font-body, inherit) }
.tier__impact { font-size: .82rem; color: var(--text-2); line-height: 1.35 }
.tier:hover .tier__box { border-color: var(--gray-300); transform: translateY(-2px) }
.tier input:focus-visible + .tier__box { outline: 3px solid var(--focus, var(--accent-500)); outline-offset: 2px }
.tier input:checked + .tier__box { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); background: color-mix(in srgb, var(--primary) 5%, var(--bg-elev)) }
.tier--popular .tier__box { border-color: var(--secondary-600); padding-top: 1.5rem }
.tier__flag { position: absolute; top: -.6rem; left: 50%; translate: -50% 0; white-space: nowrap; padding: .18rem .65rem; border-radius: var(--r-pill); background: var(--secondary-500); color: var(--secondary-ink); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; z-index: 1 }
.tier--anchor .tier__amount { color: var(--text-2) }
.tier-compare { font-size: .85rem; color: var(--muted); margin: -.25rem 0 1rem }
.freq-note { font-size: .82rem; color: var(--success); font-weight: 600; margin: .35rem 0 0 }

/* ---- Loss aversion / social proof / drafts ---- */
.proof { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: var(--r-md); background: var(--info-bg); color: var(--info); border: 1px solid var(--info-border); font-size: .88rem; font-weight: 600; margin: .25rem 0 1rem }
.proof[hidden] { display: none }
.proof .ico { flex: none; width: 18px; height: 18px }
.draft-banner { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .8rem 1rem; border-radius: var(--r-md); background: var(--warning-bg); color: var(--warning); border: 1px solid var(--warning-border); font-size: .9rem; font-weight: 600; margin-bottom: 1.25rem }
.draft-banner[hidden] { display: none }
.draft-banner button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font-weight: 700; cursor: pointer }
.draft-banner__spacer { flex: 1 }
.remember { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; color: var(--text-2); margin: .25rem 0 1rem }
.remember input { margin-top: .2rem; accent-color: var(--primary) }
.remember button { background: none; border: 0; padding: 0; color: var(--primary); text-decoration: underline; cursor: pointer; font-size: inherit }
.saved-pill { font-size: .78rem; color: var(--success); font-weight: 600; display: inline-flex; gap: .3rem; align-items: center; opacity: 0; transition: opacity var(--t) }
.saved-pill.is-on { opacity: 1 }
.phone-field { display: flex }
.phone-field__cc { display: inline-flex; align-items: center; padding: 0 .8rem; border: 1.5px solid var(--gray-200); border-right: 0; border-radius: 14px 0 0 14px; background: var(--bg-alt); font-weight: 650; color: var(--text-2); font-size: .92rem }
.phone-field input { border-radius: 0 14px 14px 0 !important }
.nudge { position: fixed; left: 50%; bottom: 1.25rem; translate: -50% 0; z-index: 350; width: min(94vw, 460px); padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: start; animation: toastin .4s var(--ease) }
.nudge[hidden] { display: none }
.nudge__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--warning-bg); color: var(--warning) }
.nudge h3 { font-size: 1rem; margin: 0 0 .2rem } .nudge p { margin: 0 0 .7rem; font-size: .88rem; color: var(--text-2) }
.nudge__close { background: none; border: 0; color: var(--muted); padding: .2rem; cursor: pointer }
.countdown { display: inline-flex; gap: .4rem; align-items: center; padding: .35rem .75rem; border-radius: var(--r-pill); background: var(--warning-bg); color: var(--warning); border: 1px solid var(--warning-border); font-size: .82rem; font-weight: 700 }
.countdown--closed { background: var(--error-bg); color: var(--error); border-color: var(--error-border) }

/* ---- Reciprocity: free resources & gifts ---- */
.freebies { display: grid; gap: .75rem; margin: 0 0 1.75rem }
.freebies__title { font-size: 1rem; margin: 0; display: flex; gap: .5rem; align-items: center }
.freebies__title .ico { color: var(--secondary-700) }
.freebie { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .8rem .95rem; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--bg-elev); text-decoration: none; color: var(--text); transition: border-color var(--t-fast), transform var(--t-fast) }
.freebie:hover { border-color: var(--primary); transform: translateY(-1px) }
.freebie__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--secondary-500) 18%, transparent); color: var(--secondary-700) }
.freebie strong { display: block; font-size: .92rem } .freebie small { color: var(--muted); font-size: .78rem }
.freebie__dl { color: var(--primary) }
.gift { display: grid; gap: .6rem; padding: 1.25rem; border-radius: var(--r-lg); border: 1px dashed var(--secondary-600); background: color-mix(in srgb, var(--secondary-500) 8%, var(--bg-elev)); margin-top: 1rem }
.gift h3 { margin: 0; font-size: 1.05rem; display: flex; gap: .5rem; align-items: center }

/* ---- IKEA / endowment: your card, your impact ---- */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem }
.impact-tile { padding: 1rem; border-radius: var(--r-md); background: var(--bg-alt); display: grid; gap: .15rem }
.impact-tile strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1 }
.impact-tile span { font-size: .8rem; color: var(--muted) }
.card-themes { display: flex; gap: .6rem; flex-wrap: wrap }
.card-theme { position: relative; cursor: pointer }
.card-theme input { position: absolute; opacity: 0 }
.card-theme span { display: block; width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--bg-elev); box-shadow: 0 0 0 1.5px var(--border) }
.card-theme input:checked + span { box-shadow: 0 0 0 3px var(--primary) }
.card-theme input:focus-visible + span { outline: 3px solid var(--accent-500); outline-offset: 3px }
.card-theme--green span { background: var(--primary-700) }
.card-theme--blue span { background: var(--accent-500) }
.card-theme--gold span { background: var(--secondary-500) }
.card-theme--night span { background: var(--gray-900) }
.member-card--blue { --mc-a: var(--accent-500); --mc-b: var(--accent-900) }
.member-card--gold { --mc-a: var(--secondary-700); --mc-b: var(--secondary-700) }
.member-card--night { --mc-a: var(--accent-700); --mc-b: var(--accent-900) }
.member-card--blue, .member-card--gold, .member-card--night { background: var(--mc-a) !important }
.member-card__pledge { font-size: .72rem; font-style: italic; opacity: .9; margin: .35rem 0 0; line-height: 1.3 }

@media (prefers-reduced-motion: reduce) {
  .loader__ring, .loader__mark img, .loader__mark::after { animation: none !important }
  .goal-meter__fill { transition: none }
}
.hero__stats--compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-content: center }
.hero__stats--compact .hero-stat { animation: none !important; transform: none !important; translate: none !important }
@media (max-width: 900px) {
  .hero__stats--compact { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column }
  .hero .btn-row { flex-wrap: nowrap }
  .hero .btn-row .btn { padding: .8rem 1.05rem; font-size: .88rem; white-space: nowrap }
  .hero .btn-row .btn .btn__arrow { display: none }
  .hero .btn-row .btn-link { white-space: nowrap; font-size: .92rem }
}
.page-hero { padding: clamp(2.1rem, 1.5rem + 2vw, 3.3rem) 0 clamp(2.6rem, 2rem + 2.4vw, 4rem) }
.tier__per { display: none } .is-monthly .tier__per { display: inline }
.freq-note { display: flex; align-items: center; gap: .4rem } .freq-note .ico { width: 15px; height: 15px }
.goal-card h3 { display: flex; gap: .5rem; align-items: center } .goal-card h3 .ico { color: var(--primary); width: 18px; height: 18px }
.goal-card .goal-meter__note { margin-top: .5rem }
.dash__personalise { border: 1px dashed var(--border); border-radius: var(--r-md); padding: 1rem 1.1rem .4rem; margin: 0 0 1.5rem }
.dash__personalise legend { display: flex; gap: .5rem; align-items: center; padding: 0 .4rem }
.dash__side .gift { margin-top: 0 }
.dash__side > form .btn-link { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 650 }
.infinite-more { display: flex; justify-content: center; margin-top: 2rem }
.remember input { width: 18px; height: 18px; flex: none }
@media (max-width: 560px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem } .tier__box { padding: .9rem .75rem .75rem } .tier__amount { font-size: 1.2rem } .tier__impact { font-size: .76rem } .tier--popular .tier__box { padding-top: 1.25rem } }


/* =====================================================================
   v3.0 – flat, editorial styling (no gradients, glows, blur or glass)
   ===================================================================== */
/* Decorative effects removed in v3 (markup removed too; kept hidden for cached pages) */
.hero__aurora, .page-hero__mesh, .page-hero__grid, .feature-card__glow, .cta-banner__glow, .member-card__shine, .split__deco, .newsletter-panel::after, .btn::after, .skel::after { display: none !important; }
.hero__particles { opacity: .35; }
/* Social icons: one restrained hover colour */
.social:hover, [class*="social--"]:hover { background: var(--primary); color: var(--primary-ink); }
/* Skeletons: calm opacity pulse instead of a shimmer gradient */
@keyframes skel-pulse { 50% { opacity: .55; } }
.skel { animation: skel-pulse 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
/* Cards on dark bands: flat translucent surface, hairline border */
.bg-dark .glass-card, .bg-gradient .glass-card, .hero .glass, .hero .glass-card, .bg-green .glass-card { background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: none; }
.glass { box-shadow: var(--shadow-sm); }
.tag--on-dark { background: color-mix(in srgb, var(--white) 18%, transparent); color: var(--white); }
.member-card__qr { color: var(--primary-900); }
