/* ============================================================================
   BWS RC Cameroon — design system
   Palette + type grounded in the chapter brand: dot-spiral "C" logo,
   BWS blue, warm neutrals, "lion-eye" amber. Motto: Because we dare.
   ========================================================================== */

:root {
  --ink:        #10233F;
  --ink-soft:   #1b3352;
  --ink-line:   rgba(255,255,255,.14);

  --brand:      #15619A;
  --brand-deep: #0E4771;
  --brand-bright:#1F82C4;

  --paper:      #FCFBF7;
  --sand:       #F1EBDD;
  --sand-deep:  #E7DEC9;

  --amber:      #E3A02E;
  --amber-deep: #B97F17;

  --text:       #24303F;
  --text-soft:  #586372;
  --line:       #E4DFD3;
  --white:      #ffffff;

  --spectrum: linear-gradient(90deg,#0E4771,#1F6FB2,#5B6DB0,#7E5AA2,#C0398B,#E0447D,#EC6A5E,#F08A2C);

  --area: var(--brand);           /* per-page accent, overridden below */

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;

  --fs-hero: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
  --fs-h2:   clamp(1.9rem, 1.35rem + 2.7vw, 2.7rem);
  --fs-h3:   clamp(1.3rem, 1.15rem + .7vw, 1.5rem);
  --fs-lead: clamp(1.18rem, 1.06rem + .55vw, 1.31rem);

  --wrap: 1200px;
  --pad-section: clamp(4rem, 2.6rem + 6vw, 7rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 44px -22px rgba(16,35,63,.34);
  --ease: cubic-bezier(.22,.61,.36,1);
}

body[data-area="about"],
body[data-area="community"]     { --area:#1F6FB2; }
body[data-area="mentorship"]    { --area:#7E5AA2; }
body[data-area="opportunities"] { --area:#C0398B; }
body[data-area="events"]        { --area:#EC6A5E; }
body[data-area="knowledge"]     { --area:#F08A2C; }
body[data-area="news"],
body[data-area="connect"]       { --area:#5B6DB0; }
body[data-area="conferences"]   { --area:#E0447D; }

/* --------------------------------------------------------------- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand); }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; text-wrap: pretty; }
.hero-copy h1 { line-height: 1.04; }
strong, b { font-weight: 600; }
[hidden] { display: none !important; }

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 2000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: #fff; }

/* --------------------------------------------------------------- layout --- */
.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 3rem); margin-inline: auto; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1rem; }
.prose h2 { font-size: var(--fs-h3); margin: 2.2rem 0 .7rem; }

section { position: relative; }
.section { padding-block: var(--pad-section); }
.section-ink  { background: var(--ink); color: #E8EDF4; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-sand { background: var(--sand); }
.section-paper { background: var(--paper); }

/* spectrum hairline at the top of a section, tinted toward the page area */
.section-rule::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--spectrum);
  -webkit-mask: linear-gradient(90deg,#000, #000);
  opacity: .9;
}
.section-rule.rule-area::before { background: var(--area); opacity: 1; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0;
  color: var(--area);
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 3px; border-radius: 2px; background: var(--area);
}
.section-ink .eyebrow { color: #eabf6b; }
.section-ink .eyebrow::before { background: #eabf6b; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.4rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: var(--fs-lead); color: var(--text-soft); margin-top: 1rem; }
.section-ink .section-head p { color: #B9C6D6; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  overflow: hidden; isolation: isolate; transition: color .25s var(--ease), border-color .25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease);
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: #fff; }
.btn-solid { --btn-bg: var(--brand); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-amber { --btn-bg: var(--amber); --btn-fg: var(--ink); }
.btn-amber::before { background: var(--brand-deep); }
.btn-amber:hover { color: #fff; }
.section-ink .btn-ghost,
.hero .btn-ghost,
.dare .btn-ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn-ghost:hover, .section-ink .btn-ghost:hover, .dare .btn-ghost:hover { color: #fff; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.06rem; }
.btn-block { width: 100%; justify-content: center; }

.textlink {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--brand-deep);
  text-decoration: none; border: 0; border-bottom: 2px solid var(--area);
  padding: 0 0 2px; background: none; cursor: pointer; display: inline;
}
.textlink:hover { color: var(--ink); }
.section-ink .textlink { color: #fff; }
/* The header and the mobile menu are always dark: the portal link must be light there. */
.header-cta .textlink, .mobile-menu-cta .textlink { color: rgba(255,255,255,.9); white-space: nowrap; }
.header-cta .textlink:hover, .mobile-menu-cta .textlink:hover { color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* --------------------------------------------------------------- header --- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.header-inner {
  display: flex; align-items: center; gap: 1.4rem;
  height: 80px; transition: height .3s var(--ease);
}
.site-header[data-scrolled] {
  background: rgba(13,25,44,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.18);
}
.site-header[data-scrolled] .header-inner { height: 64px; }
.header-solid .site-header { background: rgba(13,25,44,.94); }   /* pages with a light top (articles) */
.header-spectrum { height: 3px; background: var(--spectrum); opacity: 0; transition: opacity .3s var(--ease); }
.site-header[data-scrolled] .header-spectrum { opacity: 1; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 44px; height: 44px; transition: width .3s var(--ease), height .3s var(--ease); }
.site-header[data-scrolled] .brand-mark { width: 38px; height: 38px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand-word-top { font-weight: 600; font-size: 1rem; color: #fff; letter-spacing: .01em; }
.brand-word-bot { font-weight: 700; font-size: 1.18rem; color: var(--amber); letter-spacing: .01em; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(.7rem, .2rem + .8vw, 1.3rem); }
.primary-nav a {
  position: relative; font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  color: rgba(255,255,255,.86); text-decoration: none; padding: .4rem 0; white-space: nowrap;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--area); transform: scaleX(0); transform-origin: right;
  transition: transform .28s var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--amber); }

.lang-switch { display: inline-flex; align-items: center; gap: .1rem; margin-right: .3rem; }
.lang-switch a {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .03em;
  color: rgba(255,255,255,.6); text-decoration: none; padding: .3rem .4rem; border-radius: 5px;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { color: var(--amber); }
.mobile-menu-cta .lang-switch { width: 100%; margin: 0 0 .6rem; }
.mobile-menu-cta .lang-switch a { font-size: 1rem; padding: .4rem .6rem; }

.header-cta { display: flex; gap: .6rem; flex: 0 0 auto; align-items: center; }
.header-cta .btn { padding: .55rem .95rem; font-size: .88rem; white-space: nowrap; }
.header-cta .btn-ghost { --btn-fg:#fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 1300px) { .header-cta .btn-ghost { display: none; } }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; margin-left: auto; }
.nav-toggle-bars { display: block; width: 26px; height: 16px; position: relative; }
.nav-toggle-bars i {
  position: absolute; left: 0; right: 0; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 7px; }
.nav-toggle-bars i:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: .3rem;
  padding: 6rem 2rem 3rem; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.mobile-menu[data-open] { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .2rem; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 3vw, 2rem);
  color: #fff; text-decoration: none; padding: .35rem 0;
}
.mobile-menu nav a:hover { color: var(--amber); }
.mobile-menu-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* --------------------------------------------------------- scroll progress */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--spectrum); background-size: 100vw 3px;
  z-index: 1500; transition: width .1s linear;
}

/* --------------------------------------------------------------- hero ----- */
.hero {
  position: relative; min-height: 92svh; display: flex; align-items: center;
  padding-top: 7rem; padding-bottom: 3.5rem; overflow: hidden; background: var(--ink);
  color: #EAF0F7;
}
.hero::before {
  content: ""; position: absolute; inset: -8%;
  background: linear-gradient(120deg, var(--ink), var(--brand-deep)),
    url("/assets/img/real-conf-tuebingen-2022.jpg");
  background-size: cover; background-position: center; background-blend-mode: multiply;
  opacity: .5; z-index: 0; will-change: transform;
  animation: kenBurns 26s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 90% at 20% 20%, transparent, rgba(9,17,30,.72));
}
@keyframes kenBurns {
  0%   { transform: scale(1) translate(0,0); }
  50%  { transform: scale(1.08) translate(-2%,-1%); }
  100% { transform: scale(1.05) translate(1.5%,-2%); }
}
#hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero-inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center;
}
.hero-figure { width: min(100%, 420px); margin-inline: auto; }
.hero-copy h1 {
  font-size: var(--fs-hero); color: #fff; font-weight: 700; letter-spacing: -.02em;
  max-width: 18ch; text-wrap: balance;
}
.hero-copy .lead {
  font-size: var(--fs-lead); color: #CBD6E4; margin-top: 1.2rem; max-width: 46ch; line-height: 1.55;
}
.hero-actions { margin-top: 1.7rem; }
.hero-sublinks { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.1rem; font-family: var(--font-display); font-weight: 500; font-size: .95rem; }
.hero-sublinks a { color: #fff; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 3px; }
.hero-stats {
  margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem;
  font-family: var(--font-display); font-size: .85rem; color: #9FB0C4;
}
.hero-stats span { display: inline-flex; align-items: center; gap: .55rem; }
.hero-stats span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

.hero-figure { position: relative; aspect-ratio: 1; }
.hero-figure #hero-spiral { position: absolute; inset: 0; display: grid; place-items: center; }
.spiral-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 20px 50px rgba(0,0,0,.35)); }
.spiral-rot { transform-box: fill-box; transform-origin: 92px 100px; animation: spiralSpin 60s linear infinite; }
@keyframes spiralSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spiral-rot { animation: none; } }
.hero-figure .hero-badge {
  position: absolute; left: 6%; bottom: 6%; z-index: 4;
  background: rgba(9,17,30,.78); border: 1px solid var(--amber); border-radius: 999px;
  padding: .5rem 1rem; font-family: var(--font-display); font-weight: 600; font-size: .82rem; color: #fff;
  backdrop-filter: blur(4px);
}
.split .word { display: inline-block; }

/* --------------------------------------------------------------- marquee -- */
.marquee {
  background: var(--brand-deep); color: #fff; overflow: hidden; padding: .95rem 0;
  border-block: 1px solid rgba(255,255,255,.12);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 500; font-size: .84rem;
  letter-spacing: .02em; padding-inline: 1.5rem; white-space: nowrap; opacity: .92;
  display: inline-flex; align-items: center; gap: .7rem;
}
.marquee-track span::after { content: "\2022"; color: var(--amber); margin-left: 1.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- cards ---- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; position: relative;
}
.section-ink .card { background: var(--ink-soft); border-color: var(--ink-line); color: #D6DFEA; }
.card h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.section-ink .card h3 a:hover { color: var(--amber); }
.card p { color: var(--text-soft); }
.section-ink .card p { color: #AFBECE; }

/* value list — not identical cards */
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value {
  display: grid; grid-template-columns: minmax(0,14rem) 1fr; gap: 1.5rem;
  padding: 1.7rem 0; border-bottom: 1px solid var(--line); align-items: start;
}
.value h3 {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 1.9rem); font-weight: 700;
  display: flex; align-items: baseline; gap: .7rem;
}
.value h3::before {
  content: ""; flex: 0 0 auto; width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--vc, var(--brand)); transform: translateY(-.1em);
}
.value:nth-child(1) { --vc:#1F6FB2; } .value:nth-child(2) { --vc:#5B6DB0; }
.value:nth-child(3) { --vc:#7E5AA2; } .value:nth-child(4) { --vc:#C0398B; }
.value:nth-child(5) { --vc:#E0447D; } .value:nth-child(6) { --vc:#EC6A5E; }
.value p { color: var(--text-soft); }

/* icon feature cards (get involved) */
.feature { display: flex; flex-direction: column; gap: .7rem; }
.feature .fa-solid, .feature .fa-regular, .feature .fa-brands {
  font-size: 1.5rem; color: var(--area); width: 3rem; height: 3rem;
  display: grid; place-items: center; border-radius: 12px;
  background: color-mix(in srgb, var(--area) 12%, transparent);
}
.feature h3 { font-size: 1.2rem; }

/* --------------------------------------------------- lion / dare moment --- */
.dare {
  position: relative; padding-block: clamp(5rem, 3rem + 8vw, 9rem);
  background: #060B14; color: #E7ECF3; overflow: hidden; text-align: center;
}
.dare::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,11,20,.5), #060B14 78%), url("/assets/img/lion.jpg");
  background-size: cover; background-position: center 30%; opacity: .5; z-index: 0;
}
.dare > * { position: relative; z-index: 1; }
.dare .motto {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 1.4rem + 5vw, 5rem); color: #fff; letter-spacing: -.02em;
}
.dare .motto em { color: var(--amber); font-style: normal; }
.dare p { max-width: 52ch; margin: 1.4rem auto 0; color: #C4CFDC; font-size: var(--fs-lead); }

/* --------------------------------------------------------------- timeline - */
.timeline { border-left: 2px solid var(--line); margin-left: .5rem; }
.section-ink .timeline { border-color: var(--ink-line); }
.tl-item { position: relative; padding: 0 0 2.2rem 2rem; }
.tl-item::before {
  content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px;
  border-radius: 50%; background: var(--tlc, var(--area)); box-shadow: 0 0 0 4px var(--paper);
}
.section-ink .tl-item::before { box-shadow: 0 0 0 4px var(--ink); }
.tl-item:nth-child(1){--tlc:#1F6FB2;} .tl-item:nth-child(2){--tlc:#5B6DB0;}
.tl-item:nth-child(3){--tlc:#7E5AA2;} .tl-item:nth-child(4){--tlc:#C0398B;}
.tl-item:nth-child(5){--tlc:#E0447D;} .tl-item:nth-child(6){--tlc:#EC6A5E;}
.tl-year { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.section-ink .tl-year { color: #fff; }
.tl-item h3 { font-size: 1.2rem; margin: .2rem 0 .3rem; }
.tl-item p { color: var(--text-soft); max-width: 60ch; }
.section-ink .tl-item p { color: #AEBDCE; }

/* --------------------------------------------------------------- counters - */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.counters.counters-3 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.counter { text-align: left; padding: 1.2rem 0; border-top: 3px solid var(--area); }
.counter b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.5rem); color: var(--ink); line-height: 1;
}
.section-ink .counter b { color: #fff; }
.counter span { font-family: var(--font-display); font-size: .9rem; color: var(--text-soft); }
.section-ink .counter span { color: #AEBDCE; }

/* --------------------------------------------------- directory / filters -- */
.directory { display: grid; grid-template-columns: 260px 1fr; gap: 2.4rem; align-items: start; }
.filters { position: sticky; top: 90px; display: grid; gap: 1.3rem; }
.filters fieldset { border: 0; padding: 0; }
.filters legend { font-family: var(--font-display); font-weight: 600; font-size: .95rem; margin-bottom: .5rem; color: var(--ink); }
.filters label { display: flex; align-items: center; gap: .55rem; font-size: .95rem; padding: .18rem 0; }
.filters select, .filters input[type="search"] {
  width: 100%; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font: inherit;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip {
  font-family: var(--font-display); font-weight: 500; font-size: .85rem;
  padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--text); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--area); color: #fff; border-color: var(--area); }

.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; border-top: 4px solid var(--mc, var(--brand)); color: var(--text);
}
/* .member and .listing-item stay light cards even inside dark sections */
.section-ink .member h3, .section-ink .listing-item h3 { color: var(--ink); }
.section-ink .member, .section-ink .member p,
.section-ink .listing-item, .section-ink .listing-item .li-org,
.section-ink .listing-item .li-desc { color: var(--text-soft); }
.section-ink .member .m-tags span { color: var(--ink); }
.member .m-photo {
  width: 68px; height: 68px; border-radius: 50%; object-fit: cover; background: var(--sand);
  margin-bottom: .8rem;
}
.member h3 { font-size: 1.12rem; }
.member .m-role { font-family: var(--font-display); font-size: .88rem; color: var(--text-soft); }
.member .m-meta { font-size: .9rem; color: var(--text-soft); margin-top: .5rem; }
.member .m-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.member .m-tags span { font-family: var(--font-display); font-size: .74rem; background: var(--sand); padding: .2rem .55rem; border-radius: 999px; }
.member .m-mentor { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-family: var(--font-display); font-size: .8rem; color: #6b5a17; }
.member .m-mentor i { color: var(--amber); }

.result-count { font-family: var(--font-display); color: var(--text-soft); margin-bottom: 1rem; }
.empty-state { padding: 3rem 1rem; text-align: center; color: var(--text-soft); border: 1px dashed var(--line); border-radius: var(--radius); }

/* --------------------------------------------------- opportunity / event -- */
.listing { display: grid; gap: 1rem; }
.listing-item {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
}
.listing-item .li-cat {
  font-family: var(--font-display); font-size: .74rem; font-weight: 600;
  padding: .22rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--area) 14%, #fff);
  color: var(--area); display: inline-block; margin-bottom: .5rem;
}
.listing-item h3 { font-size: 1.25rem; }
.listing-item .li-org { font-family: var(--font-display); color: var(--text-soft); font-size: .95rem; margin-top: .2rem; }
.listing-item .li-desc { color: var(--text-soft); margin-top: .6rem; max-width: 62ch; }
.listing-item .li-side { text-align: right; font-family: var(--font-display); font-size: .9rem; }
.listing-item .li-deadline { color: #9a2f2f; font-weight: 600; }

/* --------------------------------------------------------------- forms ---- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font: inherit; width: 100%; padding: .8rem .9rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #b23b3b; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--text-soft); }
.consent input { width: auto; margin-top: .3rem; flex: 0 0 auto; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-family: var(--font-display); font-size: .95rem; padding: .6rem 0; }
.form-status[data-state="error"] { color: #b23b3b; }
.form-success {
  text-align: center; padding: 2.5rem 1rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: color-mix(in srgb, var(--amber) 10%, #fff);
}
.form-success p:first-child { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--brand-deep); }
.form-success p + p { color: var(--text-soft); margin-top: .5rem; }

.form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow);
}

/* -------------------------------------------------------- consent embed --- */
.embed-gate {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 2.5rem 1.5rem;
  text-align: center; background: var(--sand);
}
.embed-frame { width: 100%; min-height: 680px; border: 0; border-radius: var(--radius); background: #fff; }

/* --------------------------------------------------------- testimonials --- */
.tstack .swiper { padding-bottom: 1rem; overflow: visible; }
.tcard {
  background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: var(--radius);
  padding: 2rem; height: 100%; display: flex; flex-direction: column; gap: 1rem;
}
.tcard .stars { color: var(--amber); letter-spacing: 2px; }
.tcard blockquote { font-style: italic; color: #D9E2ED; line-height: 1.7; }
.tcard .t-sep { height: 1px; background: rgba(255,255,255,.14); }
.tcard cite { font-style: normal; font-family: var(--font-display); font-weight: 600; color: #fff; }
.tcard .t-src { font-size: .82rem; color: #9FB0C4; display: flex; align-items: center; gap: .4rem; }

/* --------------------------------------------------------------- gallery -- */
.gallery-swiper .swiper-slide img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-cap { font-family: var(--font-display); font-size: .85rem; color: var(--text-soft); margin-top: .5rem; }

/* --------------------------------------------------------------- misc ----- */
.pill {
  display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: .8rem;
  padding: .3rem .8rem; border-radius: 999px; background: var(--sand); color: var(--ink);
}
.tagcloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.tagcloud span {
  font-family: var(--font-display); font-size: .9rem; padding: .45rem .9rem;
  border: 1px solid var(--ink-line); border-radius: 999px; color: #D6DFEA;
}
.partners-row { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; }
.partners-row img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .7; transition: opacity .2s, filter .2s; }
.partners-row a:hover img { filter: none; opacity: 1; }

.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.checklist { display: grid; gap: .7rem; margin: 1.4rem 0; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist i { color: var(--area); margin-top: .35rem; flex: 0 0 auto; }
.section-ink .checklist i { color: var(--amber); }

.cta-band { text-align: center; }
.cta-band .phone-xl {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 1.2rem + 3vw, 2.75rem); color: var(--amber); text-decoration: none; margin: 1rem 0;
}
.reassure { font-size: .9rem; color: var(--text-soft); margin-top: 1rem; }
.section-ink .reassure { color: #9FB0C4; }

/* --------------------------------------------------------------- FAB ------ */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber); color: var(--ink); font-size: 1.3rem; text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(227,160,46,.7);
  animation: fabPulse 2.6s ease-in-out infinite;
}
.fab:hover { color: var(--ink); }
.fab::after {
  content: attr(data-tooltip); position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%); background: var(--ink); color: #fff; font-family: var(--font-display);
  font-size: .8rem; padding: .45rem .8rem; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease);
}
.fab:hover::after { opacity: 1; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(227,160,46,.7), 0 0 0 0 rgba(227,160,46,.5); }
  50% { box-shadow: 0 10px 30px -8px rgba(227,160,46,.7), 0 0 0 14px rgba(227,160,46,0); }
}

/* --------------------------------------------------------------- footer --- */
.site-footer { background: var(--ink); color: #AFBECE; }
.footer-spectrum { height: 3px; background: var(--spectrum); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem;
  padding-block: clamp(3rem, 2rem + 3vw, 4rem);
}
.footer-name { font-family: var(--font-display); font-weight: 600; color: #fff; margin-top: 1rem; line-height: 1.3; }
.footer-tag { margin-top: .7rem; font-size: .95rem; max-width: 32ch; }
.footer-social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--ink-line); color: #AFBECE;
}
.footer-social a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.footer-col h2 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; font-weight: 600; }
.footer-col a { color: #AFBECE; text-decoration: none; font-size: .95rem; line-height: 2.1; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: baseline; margin-bottom: .5rem; font-size: .95rem; }
.footer-contact i { color: var(--amber); width: 1rem; flex: 0 0 auto; }
.footer-bar { border-top: 1px solid var(--ink-line); padding-block: 1.5rem; font-size: .82rem; }
.footer-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.footer-bar a { color: #AFBECE; }

/* --------------------------------------------------------------- page head  */
.page-hero {
  background: var(--ink); color: #EAF0F7; padding: 8.5rem 0 clamp(3rem, 2rem + 3vw, 4.5rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--spectrum);
}
.page-hero h1 { color: #fff; font-size: var(--fs-h2); max-width: 20ch; }
.page-hero p { color: #C4CFDC; font-size: var(--fs-lead); margin-top: 1rem; max-width: 58ch; }
.page-hero .crumbs { font-family: var(--font-display); font-size: .85rem; color: #8FA1B6; margin-bottom: 1rem; }
.page-hero .crumbs a { color: #8FA1B6; }

/* --------------------------------------------------------------- article -- */
.article-body { font-size: 1.19rem; line-height: 1.8; }
.article-body p { margin-bottom: 1.3rem; }
.article-body h2 { font-size: var(--fs-h3); margin: 2.4rem 0 .8rem; }
.article-body blockquote {
  border-left: 3px solid var(--area); padding-left: 1.2rem; font-style: italic;
  color: var(--ink); margin: 1.6rem 0; font-size: 1.3rem;
}
.article-meta { font-family: var(--font-display); color: var(--text-soft); font-size: .95rem; margin-bottom: 1.5rem; }
.byline { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.byline .article-meta { margin-bottom: 0; }
.byline-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--sand); }
.article-role { font-size: .92rem; color: var(--text-soft); margin: .2rem 0 0; }
.article-note { font-family: var(--font-display); font-size: .9rem; color: var(--text-soft); background: var(--sand); border-radius: 8px; padding: .55rem .9rem; margin: 0 0 1.6rem; display: inline-block; }
.article-body figure { margin: 2rem 0; }
.article-body figure img { display: block; margin-inline: auto; max-width: 100%; max-height: 620px; width: auto; border-radius: 12px; }
.article-body figcaption { font-family: var(--font-display); font-size: .88rem; color: var(--text-soft); margin-top: .6rem; text-align: center; }
.directory.is-empty { display: block; }

/* photo galleries, calendars, lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
.gallery-item { margin: 0; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.gallery-open img { display: block; width: 100%; height: auto; transition: transform .35s var(--ease); }
.gallery-open:hover img, .gallery-open:focus-visible img { transform: scale(1.03); }
.gallery-open:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.gallery-item figcaption { display: flex; flex-direction: column; gap: .1rem; margin-top: .5rem; font-family: var(--font-display); font-size: .88rem; }
.gallery-item .g-title { font-weight: 600; }
.gallery-item .g-credit { color: var(--text-soft); font-size: .8rem; }
.section-ink .gallery-item .g-credit { color: #AEBDCE; }
.gallery-masonry { display: block; columns: 3 240px; column-gap: 1.1rem; }
.gallery-masonry .gallery-item { break-inside: avoid; margin-bottom: 1.1rem; }
.gallery-wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery-flyers { grid-template-columns: repeat(2, minmax(0, 190px)); margin-top: 1.2rem; }
.gallery-single { grid-template-columns: minmax(0, 300px); justify-content: center; }
.calendar-card { display: grid; grid-template-columns: 190px 1fr; gap: 1.6rem; align-items: center; padding: 1.2rem 0; }
.calendar-card + .calendar-card { border-top: 1px solid rgba(255,255,255,.18); }
.calendar-card .gallery-open { width: 190px; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.calendar-card h3 { color: #fff; }
@media (max-width: 560px) { .calendar-card { grid-template-columns: 1fr; } .calendar-card .gallery-open { width: 170px; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(8,14,26,.93); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; text-align: center; max-width: 86vw; }
.lightbox img { max-width: 86vw; max-height: 80vh; width: auto; height: auto; border-radius: 6px; }
.lightbox figcaption { color: #E8EDF3; font-family: var(--font-display); font-size: .95rem; margin-top: .8rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; cursor: pointer; line-height: 1; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 1rem; right: 1rem; width: 46px; height: 46px; font-size: 2rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2.4rem; padding-bottom: .25rem; }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
.lightbox.lb-single .lb-nav { display: none; }
@media (max-width: 640px) { .lb-nav { top: auto; bottom: 1rem; transform: none; } .lightbox img { max-height: 70vh; } }
.article-body ul, .prose ul { list-style: disc; padding-left: 1.4rem; margin: 1rem 0; }
.article-body li, .prose li { margin: .45rem 0; }
.article-body ul + p { margin-top: 1.2rem; }

/* --------------------------------------------------------------- reveal --- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* --------------------------------------------------------- responsive ----- */
@media (max-width: 1180px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
  .directory { grid-template-columns: 1fr; }
  .filters { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr 1fr; }
  .value { grid-template-columns: 1fr; gap: .5rem; }
  .split-media { grid-template-columns: 1fr; }
  .listing-item { grid-template-columns: 1fr; }
  .listing-item .li-side { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero::before { animation: none; }
  .marquee-track { animation: none; }
}
