/*
Theme Name: Andalucia Diversity Alliance
Theme URI: https://andaluciada.es
Author: InfoWebPlus
Author URI: https://infowebplus.com
Description: Temă WordPress pentru Andalucia Diversity Alliance (andaluciada.es): caldă, modernă, trilingvă (EN/ES/RO, compatibilă Polylang), cu fonturi găzduite local, SEO și accesibilitate. Culorile vin din degradeul siglei; motivele, din arcadele și azulejo-urile andaluze.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ada
Tags: non-profit, custom-logo, translation-ready, accessibility-ready, one-column, two-columns, featured-images
*/

/* Design system. Colours and fonts: assets/brand-tokens.css (generated from packages/shared/src/tokens.ts).
   Motifs: Moorish horseshoe arch, azulejo (tile) star pattern, the wave stripes of the logo mark. */

:root {


  --grad: linear-gradient(100deg, var(--pink) 0%, var(--orange) 28%, var(--yellow) 52%, var(--teal) 78%, var(--green) 100%);
  --grad-warm: linear-gradient(95deg, #F4527B 0%, #F7862B 60%, #F3A21E 100%);
  --grad-v: linear-gradient(180deg, var(--pink) 0%, var(--orange) 45%, var(--yellow) 100%);
  --grad-v-cool: linear-gradient(180deg, var(--teal) 0%, var(--green) 100%);


  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 0 rgba(15, 42, 51, .04), 0 24px 48px -28px rgba(15, 42, 51, .32);
  --shadow-sm: 0 1px 0 rgba(15, 42, 51, .04), 0 10px 24px -14px rgba(15, 42, 51, .28);
  --header-h: 76px;
  --wrap: 1200px;

  /* Moorish horseshoe arch used as an image mask (5:7) */
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 12.56 80 112' preserveAspectRatio='none'%3E%3Cpath d='M14 124.56V70A40 40 0 1 1 86 70V124.56Z'/%3E%3C/svg%3E");
  /* azulejo star lattice */
  --tile-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64' fill='none' stroke='%230F2A33' stroke-opacity='.075'%3E%3Cdefs%3E%3Cg id='s'%3E%3Crect x='-9' y='-9' width='18' height='18'/%3E%3Crect x='-9' y='-9' width='18' height='18' transform='rotate(45)'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M32 0 64 32 32 64 0 32Z'/%3E%3Cuse href='%23s' x='32' y='32'/%3E%3Cuse href='%23s' x='0' y='0'/%3E%3Cuse href='%23s' x='64' y='0'/%3E%3Cuse href='%23s' x='0' y='64'/%3E%3Cuse href='%23s' x='64' y='64'/%3E%3C/svg%3E");
  --tile-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64' fill='none' stroke='%23FFF9F1' stroke-opacity='.09'%3E%3Cdefs%3E%3Cg id='s'%3E%3Crect x='-9' y='-9' width='18' height='18'/%3E%3Crect x='-9' y='-9' width='18' height='18' transform='rotate(45)'/%3E%3C/g%3E%3C/defs%3E%3Cpath d='M32 0 64 32 32 64 0 32Z'/%3E%3Cuse href='%23s' x='32' y='32'/%3E%3Cuse href='%23s' x='0' y='0'/%3E%3Cuse href='%23s' x='64' y='0'/%3E%3Cuse href='%23s' x='0' y='64'/%3E%3Cuse href='%23s' x='64' y='64'/%3E%3C/svg%3E");
}

/* ---------- base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal-d); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--fill { fill: currentColor; stroke: none; }
.sr-only, .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: var(--cream); padding: .8rem 1.2rem; border-radius: 999px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 14px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--sand { background: var(--sand); }
.section--tile::before { content: ""; position: absolute; inset: 0; background: var(--tile-light); opacity: .9; pointer-events: none; mask: linear-gradient(180deg, #000, transparent 70%); -webkit-mask: linear-gradient(180deg, #000, transparent 70%); }
.section > .container { position: relative; }

.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 34px; height: 4px; border-radius: 4px; background: var(--grad); }
.section-title { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 18ch; }
.section-title--wide { max-width: 24ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 56ch; line-height: 1.6; }
em { font-style: italic; }
.grad-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .98rem; line-height: 1; text-decoration: none; transition: transform .25s, background-color .25s, color .25s, box-shadow .25s, border-color .25s; white-space: nowrap; }
.btn .ico { transition: transform .25s; }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--cream); box-shadow: 0 10px 24px -12px rgba(15, 42, 51, .55); }
.btn--primary:hover { background: #17414D; transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(15, 42, 51, .6); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--sm { padding: .78rem 1.2rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- header -------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 249, 241, .82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(15, 42, 51, .5); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: .55rem .95rem; font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: 999px; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: rgba(15, 42, 51, .06); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 22px; height: 3px; margin-left: -11px; border-radius: 3px; background: var(--grad); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; border-radius: 999px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; cursor: pointer; color: var(--ink-2); border: 1.5px solid var(--line); background: rgba(255, 255, 255, .6); transition: border-color .2s, color .2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--ink); color: var(--ink); }
.lang summary .ico { width: 1.1em; height: 1.1em; }
.lang summary .chev { width: .9em; height: .9em; transition: transform .2s; }
.lang[open] summary .chev { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.lang a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .9rem; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.lang a:hover { background: var(--sand); }
.lang a[aria-current="true"] { color: var(--teal-d); }
.lang a small { font-weight: 700; letter-spacing: .06em; color: var(--ink-3); }

.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); align-items: center; justify-content: center; }
.menu-toggle .ico { width: 22px; height: 22px; }

.drawer { position: fixed; inset: 0; z-index: 150; background: var(--cream); display: flex; flex-direction: column; padding: 18px 24px 32px; transform: translateY(-102%); transition: transform .45s cubic-bezier(.7, 0, .2, 1); overflow-y: auto; visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer::before { content: ""; position: absolute; inset: 0; background: var(--tile-light); pointer-events: none; mask: linear-gradient(0deg, #000, transparent 55%); -webkit-mask: linear-gradient(0deg, #000, transparent 55%); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.drawer__top img { height: 40px; width: auto; }
.drawer nav { display: grid; gap: 4px; margin: 40px 0 28px; position: relative; }
.drawer nav a { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.8rem); letter-spacing: -.02em; text-decoration: none; padding: .35rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer nav a[aria-current="page"] { color: var(--pink-d); }
.drawer .lang-list { display: flex; gap: 10px; position: relative; margin-bottom: 24px; }
.drawer .lang-list a { padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; text-decoration: none; background: var(--paper); }
.drawer .lang-list a[aria-current="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.drawer .btn { position: relative; }

/* ---------- hero ---------------------------------------------------------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(150px, 15vw, 190px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: -10% -10% auto auto; width: 70%; height: 120%; background:
  radial-gradient(40% 40% at 70% 28%, rgba(244, 82, 123, .20), transparent 70%),
  radial-gradient(38% 38% at 90% 62%, rgba(251, 189, 78, .30), transparent 70%),
  radial-gradient(36% 36% at 45% 80%, rgba(43, 181, 161, .18), transparent 70%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--tile-light); mask: radial-gradient(60% 70% at 85% 40%, #000, transparent 75%); -webkit-mask: radial-gradient(60% 70% at 85% 40%, #000, transparent 75%); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy .eyebrow { padding: .5rem 1rem .5rem .9rem; background: var(--paper); border-radius: 999px; box-shadow: var(--shadow-sm); letter-spacing: .1em; font-size: .72rem; }
.hero__copy .eyebrow::before { width: 10px; height: 10px; border-radius: 50%; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; margin-bottom: 1.4rem; font-variation-settings: "opsz" 144; }
.hero h1 em { font-weight: 400; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero__sub { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--ink-2); max-width: 30ch; margin-bottom: 2.2rem; line-height: 1.45; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__art { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / 1.04; }
.arch { position: absolute; aspect-ratio: 5 / 7; filter: drop-shadow(0 28px 36px rgba(15, 42, 51, .22)); }
.arch__back, .arch__img { position: absolute; inset: 0; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.arch__back { transform: translate(5%, 4%); }
.arch__img { width: 100%; height: 100%; object-fit: cover; }
.arch--lg { right: 3%; top: 0; width: 63%; }
.arch--lg .arch__back { background: var(--grad-v); }
.arch--sm { left: 0; bottom: 0; width: 42%; z-index: 2; }
.arch--sm .arch__back { background: var(--grad-v-cool); transform: translate(-7%, 5%); }
.badge-round { position: absolute; left: 4%; top: 7%; width: 25%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--shadow); z-index: 3; }
.badge-round img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; right: 0; bottom: 12%; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); }
.chip__mark { width: 48px; height: 48px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; }
.chip__mark img { width: 30px; height: auto; }
.chip strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; font-weight: 600; }
.chip span { font-size: .8rem; color: var(--ink-3); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .arch--lg { animation: float 9s ease-in-out infinite; }
  .arch--sm { animation: float 11s ease-in-out -4s infinite; }
  .chip { animation: float 8s ease-in-out -2s infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}

/* ---------- pillars (overlap hero) ---------------------------------------- */
.pillars-wrap { position: relative; z-index: 5; margin-top: calc(-1 * clamp(96px, 10vw, 128px)); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { position: relative; background: var(--paper); border-radius: var(--radius); padding: 32px 30px 34px; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; }
.pillar:hover { transform: translateY(-6px); }
.pillar__icon { width: 48px; height: 48px; margin-bottom: 20px; display: grid; place-items: center; color: var(--cd); }
.pillar__icon .ico { width: 30px; height: 30px; stroke-width: 1.6; }
.pillar h3 { font-size: 1.55rem; margin-bottom: .7rem; letter-spacing: -.015em; }
.pillar h3::after { content: ""; display: block; width: 36px; height: 4px; margin-top: .75rem; border-radius: 4px; background: var(--c, var(--pink)); }
.pillar p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.pillars > :nth-child(1) .pillar { --c: var(--pink); --cd: var(--pink-d); }
.pillars > :nth-child(2) .pillar { --c: var(--orange); --cd: var(--orange-d); }
.pillars > :nth-child(3) .pillar { --c: var(--teal); --cd: var(--teal-d); }

/* ---------- about --------------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__text p { font-size: 1.12rem; color: var(--ink-2); margin-bottom: 2rem; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 2.4rem; }
.feature { display: flex; gap: 16px; }
.feature__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--ink); background: var(--grad); }
.feature:nth-child(2) .feature__icon { background: linear-gradient(135deg, var(--yellow), var(--teal)); }
.feature h3 { font-size: 1.25rem; margin-bottom: .3rem; letter-spacing: -.01em; }
.feature p { margin: 0; font-size: .96rem; color: var(--ink-3); }
.founder { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.founder .arch { position: relative; width: 100%; }
.founder .arch__back { background: var(--grad-v); transform: translate(6%, 4%); }
.founder-card { position: absolute; left: -9%; bottom: 6%; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); }
.founder-card img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.founder-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; font-weight: 600; }
.founder-card span { font-size: .8rem; color: var(--ink-3); font-weight: 600; }

/* ---------- stats --------------------------------------------------------- */
.stats { position: relative; background: var(--night); color: var(--cream); padding-block: clamp(64px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tile-dark); }
.stats::after { content: ""; position: absolute; z-index: -1; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(43, 181, 161, .28), transparent 70%); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center; }
.wave { position: absolute; left: 0; width: 100%; height: clamp(24px, 4vw, 56px); display: block; z-index: 1; }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; transform: scaleY(-1); }
.stats .container { padding-block: clamp(8px, 2vw, 24px); }
.stat { padding: 1.8rem 12px 8px; position: relative; }
.stat--since .stat__pre { position: absolute; left: 0; right: 0; top: .15rem; margin: 0; }
.stat + .stat::before { content: ""; position: absolute; left: -8px; top: 12%; bottom: 12%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255, 249, 241, .22), transparent); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.8rem, 5.4vw, 4.6rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: .7rem; font-size: .88rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 249, 241, .78); }
.stat__pre { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 249, 241, .78); margin-bottom: .55rem; }

/* ---------- mission ------------------------------------------------------- */
.mission__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.mission__art { position: relative; max-width: 420px; width: 100%; margin-inline: auto; }
.mission__art .arch { position: relative; width: 100%; }
.mission__art .arch__back { background: var(--grad-v-cool); transform: translate(-6%, 4%); }
.seal { position: absolute; right: -14%; top: 6%; width: 118px; height: 118px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; text-align: center; box-shadow: var(--shadow); z-index: 3; transform: rotate(8deg); }
.seal span { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; display: block; line-height: 1.2; }
.seal strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; display: block; }
.mission__text p { font-size: 1.14rem; color: var(--ink-2); max-width: 52ch; margin-bottom: 2rem; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 2.4rem; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.02rem; padding: 14px 16px; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-sm); }
.checklist .tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: var(--ink); }
.checklist .tick .ico { width: 16px; height: 16px; stroke-width: 2.6; }

/* ---------- collaborate (home strip + partners page) ---------------------- */
.collaborate__head { max-width: 52ch; margin-bottom: clamp(32px, 5vw, 48px); }
.collaborate__head .lead { margin: 1rem 0 0; }
.logo-wall { margin-bottom: clamp(36px, 5vw, 56px); }
.logo-wall__label { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1.2rem; }
.logo-wall__heading { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 0 0 1.4rem; text-align: center; }
.logo-wall--page { margin-top: clamp(40px, 6vw, 64px); margin-bottom: 0; }
.logo-wall__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.logo-wall__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; min-height: 140px; padding: clamp(18px, 2.5vw, 28px); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .3s, box-shadow .3s; }
a.logo-wall__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-wall__item img { width: 100%; max-width: 480px; height: auto; max-height: 120px; object-fit: contain; }
.logo-wall__period { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.collaborate__paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.collaborate__path { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 26px 28px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.collaborate__path:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.collaborate__path strong { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.015em; margin-bottom: .25rem; }
.collaborate__path > div span { display: block; color: var(--ink-2); font-size: .98rem; }
.collaborate__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.collaborate__more .ico { width: 1.05em; height: 1.05em; transition: transform .25s; }
.collaborate__path:hover .collaborate__more .ico { transform: translateX(4px); }
.collab-tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-bottom: clamp(28px, 4vw, 40px); }
.collab-track { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.collab-track .feature__icon { margin-bottom: 1.1rem; }
.collab-track h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: .7rem; }
.collab-track > p { color: var(--ink-2); margin-bottom: 1.4rem; }
.collab-points { display: grid; gap: .85rem; }
.collab-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-weight: 600; }
.collab-points .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: var(--ink); margin-top: .05rem; }
.collab-points .tick .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.collab-note { max-width: 62ch; color: var(--ink-2); font-size: 1.05rem; margin: 0 auto clamp(8px, 2vw, 20px); text-align: center; }
.page-body--tight { padding-top: clamp(24px, 4vw, 48px); }

/* ---------- video --------------------------------------------------------- */
.video__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.video__frame { position: relative; border-radius: clamp(24px, 4vw, 44px); overflow: hidden; aspect-ratio: 16 / 9; background: var(--night); box-shadow: 0 40px 70px -40px rgba(15, 42, 51, .6); isolation: isolate; }
.video__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; z-index: 3; }
.video__frame img, .video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__poster { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; padding: 0; background: transparent; display: grid; place-items: center; }
.video__poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 34, 41, .05), rgba(11, 34, 41, .55)); }
.play { position: relative; width: clamp(84px, 11vw, 120px); aspect-ratio: 1; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; transition: transform .35s; box-shadow: 0 0 0 10px rgba(255, 249, 241, .25), 0 0 0 22px rgba(255, 249, 241, .12); }
.play .ico { width: 36%; height: 36%; margin-left: 6%; }
.video__poster:hover .play { transform: scale(1.08); }
.video__frame.is-playing .video__poster { display: none; }

/* ---------- team ---------------------------------------------------------- */
.team__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-grid--3 { grid-template-columns: repeat(3, 1fr); }
.member { position: relative; background: var(--paper); border-radius: var(--radius); padding: 14px 14px 22px; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; text-align: center; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member__photo { position: relative; border-radius: 160px 160px 14px 14px; overflow: hidden; aspect-ratio: 5 / 6; background: var(--sand); margin-bottom: 18px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .6s; }
.member:hover .member__photo img { transform: scale(1.05); }
.member__initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-size: 3.6rem; font-weight: 500; color: var(--ink); background: var(--grad); letter-spacing: -.02em; }
.team-grid > :nth-child(5) .member__initials { background: linear-gradient(135deg, var(--yellow), var(--orange)); }
.team-grid > :nth-child(6) .member__initials { background: linear-gradient(135deg, var(--teal), var(--green)); }
.member h3 { font-size: 1.35rem; letter-spacing: -.01em; margin-bottom: .55rem; }
.role { display: inline-block; padding: .35rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--sand); color: var(--orange-d); }
.team-grid > :nth-child(2n) .role { color: var(--teal-d); }
.team-grid > :nth-child(3n) .role { color: var(--pink-d); }

/* ---------- CTA band ------------------------------------------------------ */
.cta { padding-block: 0 clamp(72px, 10vw, 128px); }
.cta__box { position: relative; border-radius: clamp(28px, 5vw, 56px); overflow: hidden; padding: clamp(48px, 8vw, 96px) clamp(28px, 6vw, 88px); background: var(--grad); isolation: isolate; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/img/mosaic-wide.webp") center / cover; mix-blend-mode: soft-light; opacity: .3; filter: grayscale(.35); }
.cta__box::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 90% at 0% 0%, rgba(255, 249, 241, .35), transparent 60%); }
.cta .eyebrow { color: var(--ink); }
.cta .eyebrow::before { background: var(--ink); }
.cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 16ch; color: var(--ink); }

/* ---------- footer -------------------------------------------------------- */
.site-footer { position: relative; background: var(--night); color: rgba(255, 249, 241, .82); padding-top: 0; isolation: isolate; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--tile-dark); mask: linear-gradient(180deg, #000, transparent 60%); -webkit-mask: linear-gradient(180deg, #000, transparent 60%); }
.site-footer .stripe { height: 6px; background: var(--grad); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 88px) 48px; }
.footer__brand img { width: 230px; height: auto; margin-bottom: 22px; background: var(--cream); padding: 14px 18px; border-radius: 18px; }
.footer__brand p { font-size: .96rem; max-width: 40ch; }
.site-footer h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.2rem; }
.site-footer a { text-decoration: none; }
.footer__links { display: grid; gap: .7rem; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; text-decoration: underline; }
.footer__contact { display: grid; gap: 1rem; font-size: .96rem; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ico { margin-top: .2em; color: var(--yellow); }
.footer__join p { font-size: .96rem; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 249, 241, .28); transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.social a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); transform: translateY(-3px); }
.footer__bar { border-top: 1px solid rgba(255, 249, 241, .14); padding-block: 24px 30px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: .88rem; color: rgba(255, 249, 241, .66); }
.footer__bar a { color: rgba(255, 249, 241, .9); }
.footer__bar a:hover { text-decoration: underline; }
.footer__bar .sep { display: inline-flex; gap: 10px 12px; flex-wrap: wrap; align-items: center; }
.footer__bar .sep__pipe { opacity: .45; user-select: none; }

/* Cookie consent banner (necessary cookies only — no analytics trackers) */
.cookie-banner { position: fixed; inset: auto 16px 16px 16px; z-index: 200; max-width: 720px; margin-inline: auto; left: 16px; right: 16px; }
.cookie-banner__inner { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--night); color: rgba(255, 249, 241, .92); box-shadow: 0 18px 40px -18px rgba(15, 42, 51, .65); }
.cookie-banner__inner p { margin: 0; flex: 1 1 240px; font-size: .92rem; line-height: 1.45; color: rgba(255, 249, 241, .82); }
.cookie-banner__inner a { color: var(--cream); text-decoration: underline; }
.cookie-banner__inner .btn { flex: none; }

/* ---------- inner pages --------------------------------------------------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--tile-light); mask: linear-gradient(90deg, transparent 30%, #000); -webkit-mask: linear-gradient(90deg, transparent 30%, #000); }
.page-hero .waves { position: absolute; z-index: -1; right: -40px; top: 50%; transform: translateY(-50%); width: min(480px, 34%); opacity: .95; overflow: visible; }
.crumbs { display: flex; gap: .6rem; align-items: center; font-size: .86rem; font-weight: 600; color: var(--ink-3); margin-bottom: 1.8rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.03em; max-width: 16ch; margin-bottom: 1.2rem; font-variation-settings: "opsz" 144; }
.page-hero .lead { margin: 0; max-width: 48ch; }
.page-hero .btn { margin-top: 2rem; }

.page-body { padding-block: clamp(24px, 4vw, 48px) clamp(72px, 9vw, 120px); }

/* statutes */
.statutes__layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--teal-d) 45%, var(--line)) transparent; background: var(--paper); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.toc::-webkit-scrollbar { width: 6px; }
.toc::-webkit-scrollbar-track { background: transparent; margin-block: 12px; }
.toc::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--teal-d) 40%, var(--line)); border-radius: 999px; }
.toc::-webkit-scrollbar-thumb:hover { background: var(--teal-d); }
.toc h2 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 1.1rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.toc__ch > a { display: flex; gap: 12px; align-items: baseline; text-decoration: none; font-weight: 700; font-size: .92rem; line-height: 1.3; transition: color .2s; }
.toc__ch > a b { font-family: var(--font-display); font-size: 1.15rem; min-width: 1.9rem; color: var(--pink-d); font-weight: 600; }
.toc__ch.is-active > a { color: var(--teal-d); }
.toc__arts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 2.65rem; }
.toc__arts a { min-width: 30px; height: 28px; padding: 0 8px; border-radius: 9px; display: grid; place-items: center; font-size: .78rem; font-weight: 700; text-decoration: none; background: var(--sand); color: var(--ink-2); transition: background-color .2s, color .2s; }
.toc__arts a:hover { background: var(--ink); color: var(--cream); }
.toc .btn { margin-top: 22px; }
.chapter { margin-bottom: clamp(48px, 6vw, 80px); }
.chapter__head { display: flex; align-items: center; gap: 22px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.chapter__num { font-family: var(--font-display); font-size: clamp(3.2rem, 7vw, 5.2rem); line-height: .9; font-weight: 500; letter-spacing: -.04em; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 1.2em; }
.chapter__label { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); margin-bottom: .35rem; }
.chapter__head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.01em; text-transform: uppercase; font-weight: 600; }
.article { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.article__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.article h3 { font-size: 1.4rem; letter-spacing: -.01em; margin: .25rem 0 .2rem; }
.article h3 small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .35rem; }
.article p { color: var(--ink-2); margin: .8rem 0 0; max-width: 72ch; }
.article ul { margin-top: .9rem; display: grid; gap: .7rem; max-width: 72ch; }
.article li { position: relative; padding-left: 1.7rem; color: var(--ink-2); }
.article li::before { content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px; border-radius: 3px; transform: rotate(45deg); background: var(--grad); }
.article:target .article__n { background: var(--yellow); }

/* faq */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-layout .faq-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.faq { max-width: 820px; }
.faq details { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-sm); margin-bottom: 14px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); transition: transform .3s, background-color .3s; }
.faq summary .plus .ico { width: 18px; height: 18px; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--yellow); }
.faq .answer { padding: 0 26px 26px; color: var(--ink-2); max-width: 70ch; }
.faq .answer p { margin: 0; }
.faq-head { margin-bottom: 36px; }

/* forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form-layout--volunteer { grid-template-columns: minmax(0, 1.5fr) minmax(0, .65fr); }
.form-art { position: sticky; top: calc(var(--header-h) + 40px); width: 100%; max-width: 330px; margin-inline: auto; padding-bottom: 20px; }
.form-art .arch { position: relative; width: 100%; }
.form-art .arch__back { background: var(--grad-v-cool); transform: translate(-6%, 4%); }
.form-art .chip { right: auto; left: -16%; bottom: 8%; }
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); position: relative; }
.form-card::before { content: ""; position: absolute; left: clamp(26px, 4vw, 48px); right: clamp(26px, 4vw, 48px); top: 0; height: 5px; border-radius: 0 0 6px 6px; background: var(--grad); }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.6rem; letter-spacing: -.015em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field .lbl, fieldset legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .45rem; color: var(--ink); padding: 0; }
.field .req, fieldset .req { color: var(--pink-d); margin-left: .15em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea { width: 100%; padding: .95rem 1.05rem; border: 1.5px solid #D9CBB8; border-radius: var(--radius-sm); background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8B9AA0; }
.field input:hover, .field textarea:hover { border-color: #B9A88F; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-d); box-shadow: 0 0 0 4px rgba(43, 181, 161, .22); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--pink-d); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1.05rem; border: 1.5px solid #D9CBB8; border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; transition: background-color .2s, color .2s, border-color .2s; }
.pill span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #C9B9A2; transition: all .2s; flex: none; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill input:checked + span::before { background: var(--yellow); border-color: var(--yellow); }
.pill input:focus-visible + span { outline: 3px solid var(--teal-d); outline-offset: 3px; }
.consent { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--sand); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--teal-d); flex: none; }
.consent strong { display: block; margin-bottom: .2rem; }
.consent small { font-size: .9rem; color: var(--ink-2); line-height: 1.5; display: block; }
.form-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-status { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: .98rem; display: none; }
.form-status.is-ok { display: block; background: #DFF6EE; color: #08574D; }
.form-status.is-err { display: block; background: #FFE3E9; color: #8F1B3D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.info-list { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .3s, box-shadow .3s; }
a.info-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.info-card__icon { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--cd); }
.info-list > :nth-child(1) .info-card { --c: var(--pink); --cd: var(--pink-d); }
.info-list > :nth-child(2) .info-card { --c: var(--orange); --cd: var(--orange-d); }
.info-list > :nth-child(3) .info-card { --c: var(--teal); --cd: var(--teal-d); }
.info-card small { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .15rem; }
.info-card strong { display: block; font-size: 1.08rem; font-weight: 700; word-break: break-word; font-style: normal; }
.info-card__hint { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; font-size: .88rem; font-weight: 700; font-style: normal; color: var(--teal-d); }
.info-card__hint .ico { width: 1em; height: 1em; }
.contact-side .social { margin-top: 28px; }
.contact-side .social a { border-color: var(--line); background: var(--paper); }

/* prose (privacy) */
.prose { max-width: 70ch; }
.prose p { font-size: 1.1rem; color: var(--ink-2); }

/* 404 */
.notfound { text-align: center; padding-block: clamp(72px, 12vw, 160px); }
.notfound .big { font-family: var(--font-display); font-size: clamp(7rem, 24vw, 16rem); line-height: .85; font-weight: 600; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1.5rem; }
.notfound p { color: var(--ink-2); font-size: 1.2rem; margin-bottom: 2rem; }

/* ---------- reveal on scroll (progressive enhancement) --------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ---------- responsive ---------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-bottom: 140px; }
  .hero__grid, .about__grid, .mission__grid, .collaborate__paths, .collab-tracks { grid-template-columns: 1fr; }
  .logo-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collaborate__path { grid-template-columns: auto 1fr; }
  .collaborate__more { grid-column: 2; }
  .hero__art { max-width: 460px; margin-top: 12px; }
  .hero__sub { max-width: 40ch; }
  .pillars { grid-template-columns: 1fr; }
  .pillars-wrap { margin-top: -90px; }
  .founder { max-width: 360px; }
  .founder-card { left: 0; }
  .mission__art { max-width: 340px; order: -1; }
  .seal { right: 0; width: 100px; height: 100px; }
  .seal strong { font-size: 1.6rem; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .stat:nth-child(4)::before { display: none; }
  .cta__box { grid-template-columns: 1fr; }
  .statutes__layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .form-layout, .form-layout--volunteer, .faq-layout { grid-template-columns: 1fr; }
  .form-art { display: none; }
  .faq-layout .faq-head { position: static; }
  .page-hero .waves { opacity: .35; }
}
@media (max-width: 520px) {
  .logo-wall__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .container { padding-inline: 20px; }
  .brand img { height: 36px; }
  .features, .checklist, .fields { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(4)::before { display: block; }
  .stat:nth-child(5) { grid-column: 1 / -1; }
  .stat:nth-child(5)::before { display: none; }
  .team-grid, .team-grid--3 { gap: 14px; }
  .member { padding: 10px 10px 18px; }
  .member h3 { font-size: 1.1rem; }
  .role { font-size: .68rem; padding: .3rem .7rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; gap: 12px; }
  .chapter__head { gap: 14px; }
  .chip { right: -4px; padding: 10px 14px 10px 10px; }
  .chip strong { font-size: 1.3rem; }
  .founder-card { left: -4px; }
  .hero__cta .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .team-grid, .team-grid--3 { grid-template-columns: 1fr 1fr; }
  .member__photo { border-radius: 110px 110px 12px 12px; }
}

/* ---------- print (statutes) ---------------------------------------------- */
@media print {
  .site-header, .site-footer, .toc, .drawer, .page-hero .waves, .page-hero::before, .skip-link, .cta { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-hero { padding: 0 0 12pt; }
  .page-hero h1 { font-size: 26pt; }
  .statutes__layout { display: block; }
  .article { break-inside: avoid; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}


/* ==========================================================================
   WordPress specifics
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
.admin-bar .drawer { padding-top: 58px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .drawer { padding-top: 72px; }
}
.drawer .menu-toggle { display: inline-flex; }
.form-status:empty { display: none; }

/* ---------- guides hub / filters ------------------------------------------ */
.guides-hub {
  display: grid; gap: clamp(18px, 2.4vw, 26px);
  margin-bottom: clamp(28px, 4vw, 40px);
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.guides-hub__search {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch;
  position: relative;
}
.guides-hub__search-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; color: var(--ink-3); pointer-events: none;
}
.guides-hub__search-ico .ico { width: 1.15rem; height: 1.15rem; }
.guides-hub__search input[type="search"] {
  width: 100%; min-height: 48px; padding: .85rem 1rem .85rem 2.65rem;
  border: 1.5px solid #D9CBB8; border-radius: var(--radius-sm); background: #fff;
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.guides-hub__search input[type="search"]::placeholder { color: #8B9AA0; }
.guides-hub__search input[type="search"]:hover { border-color: #B9A88F; }
.guides-hub__search input[type="search"]:focus {
  outline: none; border-color: var(--teal-d); box-shadow: 0 0 0 4px rgba(43, 181, 161, .22);
}
.guides-hub__search .btn { min-height: 48px; padding-inline: 1.25rem; }
.guides-hub__topics { display: grid; gap: 10px; min-width: 0; }
.guides-hub__label {
  margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.guides-hub__chips {
  display: flex; flex-wrap: wrap; gap: 8px; min-width: 0;
}
.guides-hub__chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .95rem; border-radius: 999px;
  border: 1.5px solid #D9CBB8; background: #fff;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.guides-hub__chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.guides-hub__chip.is-active {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.guides-hub__n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem;
  border-radius: 999px; font-size: .72rem; font-weight: 800;
  background: color-mix(in srgb, var(--sand) 80%, #fff); color: var(--ink-2);
}
.guides-hub__chip.is-active .guides-hub__n {
  background: color-mix(in srgb, var(--cream) 18%, transparent); color: var(--cream);
}
.guides-hub__meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-top: 2px;
  border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.guides-hub__count { margin: 0; font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.guides-hub__clear { font-weight: 700; color: var(--teal-d); text-decoration: none; }
.guides-hub__clear:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .guides-hub__search { grid-template-columns: 1fr; }
  .guides-hub__search-ico { top: 24px; } /* centre on the input, not on the stacked form */
  .guides-hub__chips {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    padding-bottom: 4px; margin-inline: -4px; padding-inline: 4px;
    scrollbar-width: thin;
  }
  .guides-hub__chip { flex: none; }
}

/* ---------- guides blog --------------------------------------------------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.guide-grid--compact { grid-template-columns: 1fr; gap: 16px; }
.guide-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__body { display: flex; flex-direction: column; gap: .55rem; padding: 22px 24px 26px; flex: 1; min-width: 0; }
.guide-card__cat { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); }
.guide-card__title { font-size: clamp(1.15rem, 2.4vw, 1.35rem); letter-spacing: -.015em; margin: 0; overflow-wrap: anywhere; }
.guide-card__title a { text-decoration: none; }
.guide-card__title a:hover { text-decoration: underline; }
.guide-card__excerpt { margin: 0; color: var(--ink-2); font-size: .98rem; flex: 1; overflow-wrap: anywhere; }
.guide-card__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; margin-top: .4rem; font-size: .88rem; color: var(--ink-3); font-weight: 600; }
.guide-card__more { font-weight: 700; color: var(--ink); text-decoration: none; }
.guide-card__more:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card__body { padding: 18px 18px 22px; }
  .home-guides__head { align-items: start; }
}
.guide-meta { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; color: var(--ink-3); font-weight: 600; margin: .75rem 0 0; }
.guide-meta a { color: var(--teal-d); text-decoration: none; }
.guide-meta a:hover { text-decoration: underline; }
.guide-meta__sep { opacity: .5; }
.page-hero--guide { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.page-hero--guide h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; }
.page-hero--guide .lead { max-width: 46ch; margin: 1rem 0 0; color: var(--ink-2); font-size: 1.12rem; line-height: 1.55; }
.page-body--guide { padding-top: clamp(28px, 4vw, 48px); }
.guide-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.guide-article { max-width: 68ch; font-size: 1.08rem; line-height: 1.75; }
.guide-article > *:first-child { margin-top: 0; }
.guide-featured { margin: 0 0 1.8rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); }
.guide-featured img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-article h2 { margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 20px); font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.guide-article h2:first-of-type { margin-top: 1.2em; }
.guide-article p { color: var(--ink-2); }
.guide-cta-line { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.4rem !important; }
.guide-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2rem; }
.guide-tags__label {
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.guide-tags__tag {
  padding: .35rem .8rem; border-radius: 999px; border: 1.5px solid #D9CBB8; background: #fff;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .85rem;
  transition: border-color .2s, transform .2s;
}
.guide-tags__tag:hover { border-color: var(--ink); transform: translateY(-1px); }
.guide-sidebar { min-width: 0; }
.guide-sidebar__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.guide-toc-wrap { position: relative; min-width: 0; }
.guide-toc, .guide-sidebar__related { background: var(--paper); border-radius: var(--radius-sm); padding: 20px 14px 20px 20px; box-shadow: var(--shadow-sm); }
.guide-toc {
  max-height: calc(100vh - var(--header-h) - 220px);
  overflow: auto; overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.guide-toc:hover, .guide-toc:focus-within {
  scrollbar-color: color-mix(in srgb, var(--teal-d) 35%, var(--line)) transparent;
}
.guide-toc::-webkit-scrollbar { width: 5px; }
.guide-toc::-webkit-scrollbar-track { background: transparent; margin-block: 10px; }
.guide-toc::-webkit-scrollbar-thumb {
  background: transparent; border-radius: 999px;
  transition: background-color .2s ease;
}
.guide-toc:hover::-webkit-scrollbar-thumb,
.guide-toc:focus-within::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--teal-d) 35%, var(--line));
}
.guide-toc::-webkit-scrollbar-thumb:hover { background: var(--teal-d); }
.guide-toc__more {
  position: absolute; left: 1px; right: 1px; bottom: 1px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  height: 56px; padding: 0 0 8px; margin: 0; border: 0; cursor: pointer;
  border-radius: 0 0 calc(var(--radius-sm) - 1px) calc(var(--radius-sm) - 1px);
  background: linear-gradient(to top, var(--paper) 48%, color-mix(in srgb, var(--paper) 70%, transparent) 78%, transparent);
  color: var(--teal-d); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.guide-toc-wrap.is-overflow:not(.is-bottom) .guide-toc__more {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.guide-toc__more .ico {
  width: 1.35rem; height: 1.35rem; stroke-width: 2.6;
  padding: .35rem; border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 14%, var(--paper));
  box-shadow: 0 1px 0 rgba(15, 42, 51, .04), 0 6px 14px -10px rgba(15, 42, 51, .35);
  animation: guide-toc-nudge 1.6s ease-in-out infinite;
}
@keyframes guide-toc-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .guide-toc__more .ico { animation: none; }
}
.guide-toc__label { margin: 0 0 .95rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.guide-toc__list {
  margin: 0; padding: 0 0 0 12px; list-style: none; display: grid; gap: .15rem;
  counter-reset: toc; border-left: 2px solid var(--line);
}
.guide-toc__list li { counter-increment: toc; }
.guide-toc__list a {
  position: relative; display: grid; grid-template-columns: 1.55rem 1fr; gap: .5rem;
  margin-left: -13px; padding: .48rem .55rem .48rem 12px;
  text-decoration: none; color: var(--ink-2); font-size: .9rem; font-weight: 600; line-height: 1.35;
  border-radius: 0 10px 10px 0;
  transition: color .22s ease, background-color .22s ease;
}
.guide-toc__list a::before {
  content: counter(toc); color: var(--ink-3); font-variant-numeric: tabular-nums;
  font-size: .82rem; font-weight: 700; line-height: 1.45; transition: color .22s ease;
}
.guide-toc__list a::after {
  content: ""; position: absolute; left: -1px; top: .55rem; bottom: .55rem; width: 2px;
  border-radius: 2px; background: transparent; transition: background-color .22s ease;
}
.guide-toc__list a:hover { color: var(--ink); background: color-mix(in srgb, var(--sand) 75%, transparent); }
.guide-toc__list a:hover::before { color: var(--teal-d); }
.guide-toc__list a.is-active { color: var(--teal-d); background: color-mix(in srgb, var(--teal) 11%, var(--paper)); }
.guide-toc__list a.is-active::before { color: var(--teal-d); }
.guide-toc__list a.is-active::after { background: var(--teal-d); }
.guide-sidebar__links { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.guide-sidebar__links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.guide-sidebar__links a:hover { color: var(--ink); text-decoration: underline; }
.guide-sidebar__all { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.guide-sidebar__all:hover { text-decoration: underline; }
.guide-sidebar__all .ico { width: 1.05em; height: 1.05em; }
@media (max-width: 900px) {
  .guide-shell { grid-template-columns: 1fr; }
  .guide-sidebar { order: -1; }
  .guide-sidebar__sticky { position: static; }
  .guide-toc { max-height: none; overflow: visible; }
  .guide-toc__more { display: none !important; }
}
.home-guides__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 28px; margin-bottom: clamp(28px, 4vw, 40px); }
.home-guides__head .section-title { margin: 0; }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: clamp(36px, 5vw, 52px); }
.pagination .nav-links { margin-top: 0; }
.pagination .page-numbers, .nav-links a, .nav-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 .9rem; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--ink); background: var(--paper); box-shadow: var(--shadow-sm); }
.pagination a.page-numbers:hover, .nav-links a:hover { background: var(--sand); }
.pagination .current, .nav-links .current { background: var(--ink); color: var(--cream); }
.pagination .prev, .pagination .next { padding-inline: 1.1rem; }

/* Free-form page content (privacy policy, any page added in the editor) */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.entry-content h3 { font-size: 1.3rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content li + li { margin-top: .4em; }
.entry-content a:not(.btn) { color: var(--teal-d); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin-inline: 0; padding: 1rem 1.4rem; border-left: 4px solid var(--yellow); background: var(--sand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.alignwide { max-width: var(--wrap); margin-inline: auto; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--ink-3); }
