
/* ===== tokens.css ===== */
/* ============================================================
   SBC Alliance — Design Tokens
   Editorial · Grassroots · Folk-geometric
   ============================================================ */

:root {
  /* — Color: purple-blue brand + coral accent — */
  --paper:        #faf8ff;   /* page bg — barely-there purple wash */
  --paper-soft:   #f4f0ff;   /* lavender card surface */
  --paper-deep:   #ebeeff;   /* sky-tinted inset / divider */
  --paper-coral:  #fff0e8;   /* coral-tinted card (sparingly) */
  --ink:          #1a1635;   /* deep navy-purple — headings / footer */
  --ink-soft:     #2a2363;   /* secondary text */
  --muted:        #6b6585;   /* body — muted purple-gray */
  --rule:         #d8d2eb;   /* hairline rules */

  --terracotta:   #5d2cb5;   /* primary brand — purple */
  --terracotta-d: #4a1f95;   /* hover / dark purple */
  --terracotta-l: #7d4ad0;   /* lighter purple tint */

  --teal:         #3237f0;   /* secondary brand — blue */
  --teal-d:       #1f23c4;
  --teal-l:       #5b5fff;

  --ochre:        #ff6b35;   /* accent — coral CTA */
  --ochre-d:      #e54d15;
  --saffron:      #ff8a5a;

  --leaf:         #7d4ad0;   /* tertiary — light purple */
  --indigo:       #2a2363;   /* tertiary — deep navy-purple */

  /* — Brand gradient — hero, CTA banners, logo, header strips, active tabs */
  --brand-grad:      linear-gradient(to right, #5d2cb5, #3237f0);
  --brand-grad-soft: linear-gradient(to right, rgba(93, 44, 181, 0.92), rgba(50, 55, 240, 0.92));

  --bg-grad-warm: radial-gradient(ellipse at 20% 0%, #ebeeff 0%, transparent 55%),
                  radial-gradient(ellipse at 90% 100%, #f4f0ff 0%, transparent 50%),
                  #faf8ff;

  /* — Type — */
  --ff-display: "Roboto", system-ui, sans-serif;
  --ff-body:    "Roboto", system-ui, sans-serif;
  --ff-hand:    "Roboto", system-ui, sans-serif;
  --ff-mono:    "Roboto", system-ui, sans-serif;

  /* Type scale — 4 sizes only (small · body · heading · display) */
  --fs-small:   clamp(12px, 0.85vw, 14px);
  --fs-body:    clamp(16px, 1.05vw, 18px);
  --fs-heading: clamp(24px, 2.2vw, 36px);
  --fs-display: clamp(40px, 5vw, 72px);

  /* Legacy aliases → 4-size scale (keep existing CSS working) */
  --fs-xxs:        var(--fs-small);
  --fs-xs:         var(--fs-small);
  --fs-sm:         var(--fs-small);
  --fs-md:         var(--fs-body);
  --fs-lg:         var(--fs-body);
  --fs-xl:         var(--fs-heading);
  --fs-2xl:        var(--fs-heading);
  --fs-3xl:        var(--fs-heading);
  --fs-4xl:        var(--fs-display);
  --fs-5xl:        var(--fs-display);
  --fs-base:       var(--fs-body);
  --fs-lede:       var(--fs-body);
  --fs-subheading: var(--fs-heading);
  --fs-stat:       var(--fs-heading);
  --fs-hero:       var(--fs-display);
  --fs-hero-tight: var(--fs-display);
  --fs-cta:        var(--fs-body);
  --fs-prose:      var(--fs-body);
  --lh-prose:      1.7;

  /* font weights */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* line heights */
  --lh-tight:    1.05;
  --lh-snug:     1.2;
  --lh-normal:   1.5;
  --lh-relaxed:  1.65;
  --lh-loose:    1.75;

  /* letter spacing */
  --ls-tighter:  -0.03em;
  --ls-tight:    -0.02em;
  --ls-display:  -0.01em;
  --ls-heading:  -0.015em;
  --ls-normal:   0;
  --ls-wide:     0.05em;
  --ls-caps:     0.18em;

  /* — Spacing (4pt grid) — */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;
  --s-11: 160px;

  /* — Layout — */
  --page-gutter: var(--s-5);
  --container: 1240px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  /* — Effects — */
  --shadow-1: 0 1px 2px rgba(26, 22, 53, 0.06);
  --shadow-2: 0 6px 18px -8px rgba(26, 22, 53, 0.18), 0 2px 4px rgba(26, 22, 53, 0.04);
  --shadow-3: 0 24px 48px -16px rgba(26, 22, 53, 0.22), 0 4px 8px rgba(26, 22, 53, 0.05);
  --shadow-warm: 0 18px 40px -20px rgba(74, 31, 149, 0.35);

  /* — Motion — */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-1: 180ms;
  --dur-2: 280ms;
  --dur-3: 480ms;
  --dur-4: 720ms;

  /* — Z-index ladder — */
  --z-nav: 80;
  --z-overlay: 90;
  --z-modal: 100;
  --z-toast: 120;
}

@media (min-width: 768px) {
  :root {
    --page-gutter: var(--s-7);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== base.css ===== */
/* ============================================================
   Base — resets, typography, utilities
   ============================================================ */

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

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--ink);
  background: var(--bg-grad-warm);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper-grain overlay — applied as a fixed pseudo for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.6  0 0 0 0 0.45  0 0 0 0 0.3  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main, nav, header, footer, section { position: relative; z-index: 2; }

/* — Typography — */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  color: var(--ink);
  margin: 0 0 var(--s-4);
}
h1 {
  font-size: var(--fs-display);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
h2 {
  font-size: var(--fs-heading);
  font-weight: var(--fw-medium);
  line-height: 1.08;
  letter-spacing: var(--ls-heading);
}
h3, h4 {
  font-size: var(--fs-heading);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-heading);
}
h5, h6 {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

.type-hero {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-regular);
  line-height: 1.02;
  letter-spacing: var(--ls-display);
}
.type-display {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.type-section-title {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: var(--fw-medium);
  line-height: 1.08;
  letter-spacing: var(--ls-heading);
}
.type-card-title {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
}
.type-lede,
.hero-lede {
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  line-height: 1.55;
  color: var(--ink-soft);
}
.type-meta {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-wide);
  color: var(--muted);
}
.type-caption {
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--muted);
  opacity: 0.85;
}

em, .it {
  font-style: italic;
  color: var(--terracotta);
}

p { margin: 0 0 var(--s-4); max-width: 65ch; }

.type-hero + p,
.type-display + p,
[class*="hero"] p.lede {
  font-family: var(--ff-body);
}

.prose {
  font-family: var(--ff-body);
  font-size: var(--fs-prose);
  line-height: var(--lh-prose);
  color: var(--ink);
}
.prose p,
.prose li {
  font-family: var(--ff-body);
  max-width: 65ch;
}
.prose h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-heading);
  margin: var(--s-7) 0 var(--s-4);
}
.prose h3,
.prose h4 {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-heading);
  margin: var(--s-6) 0 var(--s-3);
}
.prose blockquote {
  font-family: var(--ff-hand);
  font-size: var(--fs-body);
  font-style: italic;
  line-height: var(--lh-relaxed);
  color: var(--ink-soft);
  margin: var(--s-6) 0;
  padding-left: var(--s-5);
  border-left: 3px solid var(--terracotta);
}
a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color var(--dur-1) var(--ease-out); }
a:hover { color: var(--terracotta); }

/* — Containers / utilities — */
.container-x {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
}

/* Sections that use .container-x on the section element */
section.container-x,
section.container-narrow {
  padding-inline: var(--page-gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--terracotta);
  display: inline-block;
}

.kicker {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-body);
  color: var(--teal);
  font-weight: 400;
}

.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-7) 0; }

.rule-h {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: var(--s-7) 0;
}

/* — Chapter numbering badge — */
.chapter {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-caps);
  color: var(--muted);
  text-transform: uppercase;
}
.chapter b {
  color: var(--terracotta);
  font-weight: var(--fw-bold);
  font-feature-settings: "tnum" 1;
}

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-cta);
  line-height: 1;
  padding: 18px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-1) var(--ease-spring), background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-1) var(--ease-out);
  min-height: 52px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.btn-primary {
  background: var(--brand-grad);
  color: var(--paper);
  box-shadow: var(--shadow-warm);
}
.btn-primary:hover { background: var(--brand-grad); filter: brightness(1.08); color: var(--paper); box-shadow: 0 22px 48px -22px rgba(74, 31, 149, 0.55); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-link {
  background: none;
  padding: 0;
  border: 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--terracotta);
  border-radius: 0;
  padding-bottom: 4px;
  min-height: auto;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}
.btn-link:hover { color: var(--terracotta); transform: translateX(2px); }

.btn .arrow {
  display: inline-block;
  transition: transform var(--dur-2) var(--ease-spring);
}
.btn:hover .arrow { transform: translateX(4px); }

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

/* — Decorative star/dot/triangle (folk-geometric SVG marks) — */
.mark { display: inline-block; vertical-align: middle; }
.mark-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
}

/* AOS reduced-motion guard already handled in tokens.css */

/* Page-load reveal */
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 720ms var(--ease-out) forwards; }
.fade-up[data-delay="1"] { animation-delay: 80ms; }
.fade-up[data-delay="2"] { animation-delay: 160ms; }
.fade-up[data-delay="3"] { animation-delay: 240ms; }
.fade-up[data-delay="4"] { animation-delay: 320ms; }
.fade-up[data-delay="5"] { animation-delay: 400ms; }
.fade-up[data-delay="6"] { animation-delay: 480ms; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Selection */
::selection { background: var(--ochre); color: var(--ink); }

/* ===== components.css ===== */
/* ============================================================
   Components — nav, marquee, cards, footer, etc.
   ============================================================ */

/* ── Announcement strip ─────────────────────────────────── */
.announce {
  background: var(--brand-grad);
  color: var(--paper);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
  padding: 10px 0;
  position: relative;
  z-index: var(--z-nav);
}
.announce-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.announce-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
}
.announce-contact a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.92;
}
.announce-contact a:hover {
  opacity: 1;
  color: var(--ochre);
}
.announce-contact__sep {
  opacity: 0.65;
}
.announce-links { display: flex; gap: var(--s-5); align-items: center; }
.announce-links a { color: var(--paper); opacity: 0.85; text-decoration: none; }
.announce-links a:hover { opacity: 1; color: var(--ochre); }

.social-icons { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.social-icons__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.social-icons__link:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}
.social-icons__svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex-shrink: 0;
}
.announce-links.social-icons { gap: var(--s-3); }
.announce-links.social-icons .social-icons__link:hover {
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .announce-links.social-icons .social-icons__link:hover { transform: none; }
}

.social-icons--footer {
  margin-top: var(--s-3);
  gap: var(--s-3);
}
.footer .social-icons--footer .social-icons__link {
  opacity: 0.88;
}
.footer .social-icons--footer .social-icons__link:hover {
  opacity: 1;
  color: var(--ochre);
}

/* ── Top navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(250, 248, 255, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: 96px;
}
@media (max-width: 1023px) {
  .nav-row { height: 80px; }
  /* backdrop-filter creates a containing block — breaks position:fixed on .nav-menu */
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--paper);
  }
}
@media (max-width: 540px)  { .nav-row { height: 68px; } }
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-subheading);
  letter-spacing: -0.01em;
}
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(300px, 72vw);
  object-fit: contain;
  transition: transform var(--dur-2) var(--ease-spring);
}
.brand:hover .brand-logo { transform: translateY(-1px); }
@media (max-width: 1023px) {
  .brand-logo { height: 48px; max-width: min(260px, 68vw); }
}
@media (max-width: 540px) {
  .brand-logo { height: 40px; max-width: min(220px, 64vw); }
}
.brand-mark {
  width: 38px; height: 38px;
  display: inline-grid;
  place-items: center;
  background: var(--brand-grad);
  color: var(--paper);
  border-radius: 12px;
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 600;
  font-style: italic;
  position: relative;
  box-shadow: 0 6px 14px -4px rgba(74, 31, 149, 0.45);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px dashed rgba(250, 248, 255, 0.55);
  border-radius: 8px;
}
.brand-name { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.brand-name small {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-caps);
  color: var(--muted);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu > li > a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 4px;
  height: 1.5px;
  background: var(--brand-grad);
  transition: right var(--dur-2) var(--ease-out);
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a.is-active::after { right: 0; }
.nav-menu > li > a.is-active {
  font-style: italic;
  font-family: var(--ff-display);
  font-weight: 500;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-dropdown { position: relative; }
.nav-dropdown__details { position: relative; }
.nav-dropdown__details > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.nav-dropdown__details > summary::-webkit-details-marker { display: none; }
.nav-dropdown__details > summary::marker { display: none; content: ""; }

.nav-dropdown__trigger {
  position: relative;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown__trigger::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 4px;
  height: 1.5px;
  background: var(--brand-grad);
  transition: right var(--dur-2) var(--ease-out);
}
.nav-dropdown__trigger:hover::after,
.nav-dropdown__details[open] .nav-dropdown__trigger::after,
.nav-dropdown--active .nav-dropdown__trigger::after { right: 0; }
.nav-dropdown--active .nav-dropdown__label {
  font-style: italic;
  font-family: var(--ff-display);
  font-weight: 500;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-dropdown__caret { transition: transform var(--dur-1) var(--ease-out); }
.nav-dropdown__details[open] .nav-dropdown__caret { transform: rotate(180deg); }

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: var(--z-overlay);
  animation: navLoginIn var(--dur-2) var(--ease-out);
}
.nav-dropdown__item {
  display: flex;
  align-items: center;
  padding: 10px var(--s-3);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font: 500 var(--fs-small)/1.35 var(--ff-body);
  transition: background var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out);
}
.nav-dropdown__item:hover,
.nav-dropdown__item:focus-visible {
  background: var(--paper-soft);
  color: var(--terracotta);
  outline: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  position: relative;
  z-index: var(--z-modal);
}
.nav-burger {
  display: none;
  background: none; border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px; background: var(--ink);
  transition: transform var(--dur-2) var(--ease-out), top var(--dur-2) var(--ease-out), opacity var(--dur-1);
}
.nav-burger span:nth-child(1) { top: 13px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 25px; }
.nav-burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  body.nav-menu-open {
    overflow: hidden;
  }

  body.nav-menu-open::before {
    content: "";
    position: fixed;
    top: var(--mobile-header-height, 120px);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 22, 53, 0.4);
    z-index: calc(var(--z-overlay) - 1);
    pointer-events: none;
  }

  .nav-menu {
    --mobile-menu-top: var(--mobile-header-height, 120px);
    position: fixed;
    top: var(--mobile-menu-top);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    min-height: calc(100dvh - var(--mobile-menu-top));
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: var(--s-4) var(--s-5) calc(var(--s-5) + env(safe-area-inset-bottom, 0px));
    border-bottom: 1px solid var(--rule);
    transform: translateY(calc(-100% - var(--mobile-menu-top)));
    transition: transform var(--dur-3) var(--ease-out);
    box-shadow: var(--shadow-2);
    visibility: hidden;
    pointer-events: none;
    z-index: var(--z-overlay);
  }
  .nav-menu.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-menu > li > a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px dashed var(--rule);
    font-size: var(--fs-body);
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown__details > summary {
    padding: 14px 0;
    border-bottom: 1px dashed var(--rule);
  }
  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    font-size: var(--fs-body);
  }
  .nav-dropdown__panel {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: var(--s-2);
    margin-bottom: var(--s-2);
    box-shadow: none;
    background: var(--paper-soft);
    animation: none;
  }
  .nav-burger { display: inline-block; }
  .nav-cta .btn-primary { display: none; }
}
@media (max-width: 540px) {
  .nav-menu > li > a,
  .nav-dropdown__details > summary {
    padding: 12px 0;
    font-size: var(--fs-small);
  }
  .nav-dropdown__trigger {
    font-size: var(--fs-small);
  }
}

@media (max-width: 767px) {
  .announce {
    padding: 10px 0;
  }
  .announce-row {
    align-items: center;
    justify-content: space-between;
    gap: var(--s-2);
  }
  .announce-contact {
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    line-height: 1.4;
  }
  .announce-contact a {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-xs);
    letter-spacing: 0.02em;
  }
  .announce-contact__sep {
    display: none;
  }
  .announce-links.social-icons {
    display: flex;
    flex-shrink: 0;
    gap: 0.25rem;
  }
  .announce-links.social-icons .social-icons__link {
    width: 1.9rem;
    height: 1.9rem;
    color: var(--paper);
    opacity: 0.95;
  }
  .announce-links.social-icons .social-icons__svg {
    width: 1.05rem;
    height: 1.05rem;
  }
  .nav-row {
    gap: var(--s-3);
  }
  .brand-logo {
    height: 38px;
    max-width: 156px;
  }
}

/* ── Login dropdown ─────────────────────────────────────── */
.nav-login { position: relative; }
.nav-login__details { position: relative; }
.nav-login__details > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.nav-login__details > summary::-webkit-details-marker { display: none; }
.nav-login__details > summary::marker { display: none; content: ""; }

.nav-login__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font: 500 var(--fs-small)/1 var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  transition: border-color var(--dur-1) var(--ease-out),
              background var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out);
}
.nav-login__trigger:hover,
.nav-login__details[open] .nav-login__trigger,
.nav-login--active .nav-login__trigger {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: var(--paper-soft);
}
.nav-login__caret { transition: transform var(--dur-1) var(--ease-out); }
.nav-login__details[open] .nav-login__caret { transform: rotate(180deg); }

.nav-login__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 300px;
  max-height: min(70vh, 22rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(93, 44, 181, 0.45) transparent;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: var(--z-overlay);
  animation: navLoginIn var(--dur-2) var(--ease-out);
}

.nav-login__panel::-webkit-scrollbar {
  width: 6px;
}

.nav-login__panel::-webkit-scrollbar-thumb {
  background: rgba(93, 44, 181, 0.35);
  border-radius: 999px;
}
@keyframes navLoginIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-login__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 10px var(--s-3);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: background var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out);
}
.nav-login__item:hover,
.nav-login__item:focus-visible {
  background: var(--paper-soft);
  color: var(--terracotta);
  outline: none;
}
.nav-login__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--paper-deep);
  color: var(--terracotta);
}
.nav-login__item--admin .nav-login__icon {
  background: var(--paper-coral);
  color: var(--ochre-d);
}
.nav-login__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-login__text b {
  font: 600 var(--fs-small)/1.2 var(--ff-body);
  color: var(--ink);
}
.nav-login__item:hover .nav-login__text b,
.nav-login__item:focus-visible .nav-login__text b { color: var(--terracotta); }
.nav-login__text small {
  font: 400 var(--fs-small)/1.3 var(--ff-body);
  color: var(--muted);
}

@media (max-width: 1023px) {
  .nav-login {
    width: 100%;
    margin-top: var(--s-4);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .nav-login__details {
    width: 100%;
  }

  .nav-login__details > summary {
    border-top: 1px solid var(--rule);
    padding-top: var(--s-4);
  }

  .nav-login__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px var(--s-4);
    font-size: var(--fs-body);
    box-sizing: border-box;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-1);
  }

  .nav-login__details[open] .nav-login__panel {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: min(
      calc(100dvh - var(--mobile-header-height, 120px) - 5.5rem),
      20rem
    );
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    margin-top: var(--s-3);
    margin-bottom: var(--s-2);
    padding: var(--s-2);
    box-shadow: none;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--paper-soft);
    animation: none;
  }

  .nav-login__item {
    padding: 12px var(--s-3);
  }

  .nav-login__text b {
    font-size: var(--fs-body);
  }

  .nav-login__text small {
    font-size: var(--fs-small);
    line-height: 1.35;
  }
}

@media (max-width: 540px) {
  .nav-login__trigger {
    padding: 12px var(--s-4);
    font-size: var(--fs-small);
  }

  .nav-login__item {
    padding: 10px var(--s-3);
  }
}

/* ── Marquee ticker ─────────────────────────────────────── */
.marquee {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(250, 248, 255, 0.1);
  border-bottom: 1px solid rgba(250, 248, 255, 0.1);
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: var(--s-8);
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-subheading);
  white-space: nowrap;
  color: var(--paper);
}
.marquee-item .num {
  font-family: var(--ff-display);
  font-style: normal;
  font-weight: 500;
  color: var(--ochre);
  font-feature-settings: "tnum" 1;
  font-size: var(--fs-small);
}
.marquee-sep { color: var(--terracotta); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── Card primitives ────────────────────────────────────── */
.card-paper {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: relative;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2);
}
.card-paper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--terracotta);
}
.card-stamped {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: var(--s-6);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.card-stamped::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-grad);
}

/* ── Stat tile ──────────────────────────────────────────── */
.stat {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
}
.stat-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: var(--s-2);
  margin-bottom: var(--s-3);
}
.stat-num {
  font-family: var(--ff-display);
  font-size: var(--fs-stat);
  line-height: var(--lh-tight);
  font-weight: var(--fw-regular);
  color: var(--ink);
  font-feature-settings: "tnum" 1;
  letter-spacing: var(--ls-tighter);
}
.stat-num .unit {
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
  margin-left: 4px;
  vertical-align: top;
}
.stat-foot {
  margin-top: var(--s-3);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
}

/* ── Pull quote / testimonial card ──────────────────────── */
.quote-card {
  background: var(--paper-soft);
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6) var(--s-6);
  position: relative;
  border: 1px solid var(--rule);
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -28px;
  left: var(--s-5);
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  line-height: 1;
  color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}
.quote-text {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.quote-by { display: flex; align-items: center; gap: var(--s-3); }
.quote-by .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper-deep) center/cover;
  border: 2px solid var(--paper);
  box-shadow: var(--shadow-1);
  flex-shrink: 0;
}
.quote-by-name {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.quote-by-role {
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: var(--ls-wide);
}

/* ── Champion card ──────────────────────────────────────── */
.champion {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.champion:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.champion-photo {
  aspect-ratio: 4 / 5;
  background: var(--paper-deep) center/cover;
  position: relative;
  overflow: hidden;
}
.champion-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 53, 0.55) 0%, transparent 45%);
}
.champion-meta {
  position: absolute;
  bottom: var(--s-4); left: var(--s-4); right: var(--s-4);
  z-index: 2;
  color: var(--paper);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-3);
}
.champion-meta .role-pill,
.champion-meta .story-location-pill {
  background: var(--ochre);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  text-transform: capitalize;
}
.champion-meta .role-pill:not(.story-location-pill) {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.champion-body { padding: var(--s-5) var(--s-5) var(--s-6); }
.champion-name {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  margin: 0 0 var(--s-1);
  line-height: 1.15;
}
.champion-where {
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-1);
}
.champion-filed {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
  line-height: 1.4;
}
.champion-blurb {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.champion-authored {
  margin: var(--s-3) 0 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-soft);
}
.champion-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--s-4);
}

/* ── Story (editorial) card ─────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--s-7);
}
@media (min-width: 768px) {
  .story { grid-template-columns: 1.2fr 1fr; gap: var(--s-7); align-items: center; }
  .story.flip { grid-template-columns: 1fr 1.2fr; }
  .story.flip .story-img { order: 2; }
}
.story-img {
  aspect-ratio: 4 / 3;
  background: var(--paper-deep) center/cover;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.story-tag {
  display: inline-block;
  background: var(--teal);
  color: var(--paper);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: var(--s-3);
}
.story h3 {
  margin: 0 0 var(--s-3);
  font-size: var(--fs-subheading);
  line-height: 1.1;
}
.story-meta {
  display: flex;
  gap: var(--s-4);
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0 var(--s-5);
  margin-top: var(--s-9);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); } }
.footer h5 {
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  margin-bottom: var(--s-4);
  opacity: 0.7;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li {
  margin-bottom: var(--s-2);
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  opacity: 0.78;
}
.footer li a { font-size: inherit; }
.footer a {
  color: var(--paper);
  opacity: 0.78;
  text-decoration: none;
  font-size: var(--fs-small);
  transition: opacity var(--dur-1), color var(--dur-1);
}
.footer a:hover { opacity: 1; color: var(--ochre); }

.footer-tag {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
  margin-bottom: var(--s-5);
}
.footer-tag em { color: var(--ochre); font-style: italic; }

.footer-digest {
  margin-top: var(--s-4);
  max-width: 380px;
  font-size: var(--fs-small);
  line-height: var(--lh-normal);
  color: var(--paper);
  opacity: 0.65;
}
.footer-follow-heading {
  margin-top: var(--s-5);
}

.newsletter {
  display: flex;
  gap: var(--s-2);
  background: rgba(250, 248, 255, 0.08);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(250, 248, 255, 0.15);
  max-width: 380px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--paper);
  padding: 10px 14px;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  outline: none;
}
.newsletter input::placeholder { color: rgba(250, 248, 255, 0.5); }
.newsletter button {
  background: var(--brand-grad);
  color: var(--paper);
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--dur-1);
}
.newsletter button:hover { filter: brightness(1.1); }

.footer-base {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(250, 248, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: var(--fs-small);
  opacity: 0.65;
  letter-spacing: var(--ls-wide);
}

.page-jumbotron {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(20, 17, 38, 0.9), rgba(45, 31, 82, 0.7)),
    var(--page-jumbotron-image) center/cover no-repeat;
  border-bottom: 1px solid rgba(250, 248, 255, 0.12);
}
.page-jumbotron::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 53, 0.28), transparent 32%),
    linear-gradient(180deg, rgba(250, 248, 255, 0.06), transparent 48%);
  z-index: -1;
}
.page-jumbotron__grid {
  display: grid;
  gap: var(--s-5);
  align-items: center;
  padding: clamp(28px, 4.5vw, 52px) 0;
}
.page-jumbotron__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 42rem;
}
.page-jumbotron__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid rgba(250, 248, 255, 0.2);
  border-radius: 999px;
  background: rgba(250, 248, 255, 0.08);
  color: rgba(250, 248, 255, 0.88);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}
.page-jumbotron__title {
  margin: 0;
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  text-shadow: 0 8px 24px rgba(10, 8, 24, 0.34);
}
.page-jumbotron__aside {
  display: grid;
  gap: var(--s-3);
  width: 100%;
}
.page-jumbotron__aside-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: rgba(250, 248, 255, 0.74);
}
.page-jumbotron__feature {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid rgba(93, 44, 181, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(250, 248, 255, 0.99), rgba(244, 240, 255, 0.98));
  box-shadow: 0 22px 48px -28px rgba(26, 22, 53, 0.42);
}
.page-jumbotron__feature-body {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.page-jumbotron__feature-visual {
  position: relative;
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  justify-self: center;
}
.page-jumbotron__feature-blob {
  display: none;
}
.page-jumbotron__feature-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: auto;
  height: auto;
  color: var(--terracotta);
}
.page-jumbotron__feature-icon svg {
  width: 54px;
  height: 54px;
}
.page-jumbotron__feature-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  text-transform: capitalize;
}
.page-jumbotron__feature-body p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}
@media (min-width: 992px) {
  .page-jumbotron__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .page-jumbotron__aside {
    justify-self: end;
    max-width: 360px;
  }
}
@media (max-width: 767px) {
  .page-jumbotron__grid {
    padding: 24px 0;
  }
  .page-jumbotron__title {
    font-size: var(--fs-heading);
  }
  .page-jumbotron__feature {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
  }
  .page-jumbotron__feature-visual {
    width: auto;
    height: auto;
  }
  .page-jumbotron__feature-icon {
    width: auto;
    height: auto;
  }
  .page-jumbotron__feature-icon svg {
    width: 42px;
    height: 42px;
  }
  .page-jumbotron__feature-title {
    font-size: var(--fs-body);
  }
}

/* ── Decorative SVG patterns (folk-geometric) ──────────── */
.deco-pattern {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}
.deco-pattern svg { display: block; width: 100%; height: 100%; }

/* ===== about.css ===== */
/* ============================================================
   About page — section-specific styles
   Editorial · Storytelling · Folk-geometric · Human-centered
   ============================================================ */

/* ── 01 · Hero ───────────────────────────────────────────── */
.ab-hero {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 120px);
  overflow: hidden;
}
.ab-hero h1.ab-hero-title {
  font-size: var(--fs-hero-tight);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
}
.ab-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.ab-hero-deco { position: absolute; opacity: 0.7; }
.ab-hero-deco--a {
  width: clamp(220px, 26vw, 380px);
  top: -60px; right: -60px;
}
.ab-hero-deco--b {
  width: clamp(240px, 28vw, 420px);
  bottom: -40px; left: -60px;
  opacity: 0.55;
}

.ab-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 1023px) {
  .ab-hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.ab-hero-title {
  font-size: var(--fs-hero-tight);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
  margin: var(--s-4) 0 var(--s-5);
}
.ab-hero-title .line { display: block; }
.ab-hero-title em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-underline {
  position: relative;
  display: inline-block;
}
.ab-underline::after {
  content: "";
  position: absolute;
  left: 2%; right: 2%;
  bottom: 4px;
  height: 8px;
  background: var(--ochre);
  opacity: 0.45;
  z-index: -1;
  border-radius: 4px;
}

.ab-hero-lede {
  font-family: var(--ff-body);
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: var(--fw-light);
  max-width: 56ch;
  margin: 0 0 var(--s-6);
}
.ab-hero-lede em { color: var(--terracotta); }
.ab-hero-lede--intro { margin-bottom: var(--s-3); }
.ab-hero-more {
  max-width: 56ch;
  margin: 0 0 var(--s-6);
}
.ab-hero-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--terracotta);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.ab-hero-more > summary::-webkit-details-marker { display: none; }
.ab-hero-more > summary::marker { display: none; content: ""; }
.ab-hero-more > summary:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 4px;
  border-radius: 999px;
}
.ab-hero-more__close { display: none; }
.ab-hero-more[open] .ab-hero-more__open { display: none; }
.ab-hero-more[open] .ab-hero-more__close { display: inline; }
.ab-hero-more__content {
  margin: var(--s-4) 0 0;
}

.ab-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-5);
}
.ab-hero-facts li { display: flex; flex-direction: column; gap: 4px; }
.ab-fact-num {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-regular);
  color: var(--ink);
  line-height: 1;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.02em;
}
.ab-fact-plus {
  color: var(--terracotta);
  font-style: italic;
  font-size: 0.6em;
  vertical-align: top;
  margin-left: 2px;
}
.ab-fact-lbl {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 1023px) {
  .ab-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
}

/* — Hero collage on the right — */
.ab-hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 420px;
}
.ab-hero-panel {
  position: absolute;
  background: var(--paper-deep) center/cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.ab-hero-panel--1 {
  width: 60%;
  aspect-ratio: 4 / 5;
  top: 0; left: 0;
  transform: rotate(-3deg);
  z-index: 2;
}
.ab-hero-panel--2 {
  width: 56%;
  aspect-ratio: 1 / 1;
  bottom: 8%; right: 0;
  transform: rotate(2.5deg);
  z-index: 3;
}
.ab-hero-panel--3 {
  width: 44%;
  aspect-ratio: 4 / 3;
  bottom: -2%; left: 8%;
  transform: rotate(-1deg);
  z-index: 1;
  border: 4px solid var(--paper);
}
.ab-hero-stamp {
  position: absolute;
  top: 12%; right: -2%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
  z-index: 4;
  box-shadow: var(--shadow-2);
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: rotate(2deg);
}
.ab-hero-stamp .kicker { color: var(--teal); font-size: var(--fs-md); }
.ab-hero-stamp strong {
  font-family: var(--ff-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lede);
  line-height: 1.15;
  color: var(--ink);
}
.ab-hero-stamp em { color: var(--terracotta); font-style: italic; }

.ab-hero-tape {
  position: absolute;
  bottom: 6%; left: -4%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-2);
}
.ab-hero-tape i { color: var(--ochre); font-style: normal; }

@media (max-width: 1023px) {
  .ab-hero-art { min-height: 380px; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 540px) {
  .ab-hero-art { min-height: 340px; }
  .ab-hero-stamp { max-width: 180px; padding: var(--s-3) var(--s-4); }
  .ab-hero-tape { font-size: var(--fs-xxs); padding: 6px 10px; }
}

/* ── 02 · Nature & Mission ───────────────────────────────── */
.ab-vm {
  padding-block: var(--s-9);
}
.ab-vm-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-7);
}
.ab-vm-head h2 { margin: var(--s-3) 0; }
.ab-vm-head h2 em { color: var(--terracotta); font-style: italic; }
.ab-vm-sub {
  color: var(--ink-soft);
  font-size: var(--fs-body);
  margin: 0 auto;
  max-width: 60ch;
}

.ab-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  position: relative;
}
.ab-vm-grid::before {
  content: "";
  position: absolute;
  top: 8%; bottom: 8%;
  left: 50%;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--rule) 0 6px,
    transparent 6px 12px
  );
  transform: translateX(-50%);
}
@media (max-width: 900px) {
  .ab-vm-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .ab-vm-grid::before { display: none; }
}

.ab-vm-card {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2);
}
.ab-vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--terracotta);
}
.ab-vm-card--mission { background: var(--paper-coral); }
.ab-vm-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-grad);
}
.ab-vm-card--mission::before { background: linear-gradient(to right, var(--ochre), var(--terracotta)); }

.ab-vm-stamp {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: var(--s-4);
}
.ab-vm-card--mission .ab-vm-stamp { color: var(--ochre-d); }

.ab-vm-kicker {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--terracotta);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-5);
}
.ab-vm-card--mission .ab-vm-kicker { border-left-color: var(--ochre); }

.ab-vm-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-heading);
  line-height: 1.18;
  letter-spacing: var(--ls-heading);
  margin: 0 0 var(--s-5);
  color: var(--ink);
}
.ab-vm-title em { color: var(--terracotta); font-style: italic; }
.ab-vm-card--mission .ab-vm-title em { color: var(--ochre-d); }
.ab-vm-copy {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.65;
  margin: 0;
}
.ab-vm-copy + .ab-vm-copy {
  margin-top: var(--s-4);
}

.ab-vm-list {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-5);
}
.ab-vm-list li {
  position: relative;
  padding-left: var(--s-5);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
}
.ab-vm-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}
.ab-vm-card--mission .ab-vm-list li::before { background: var(--ochre); }
.ab-vm-list li em { color: var(--terracotta); }

/* ── 03 · Impact / Timeline ──────────────────────────────── */
.ab-impact {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.ab-impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(93,44,181,0.28), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(50,55,240,0.25), transparent 50%);
  pointer-events: none;
}
.ab-impact > .container-x { position: relative; z-index: 2; }

.ab-imp-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-8);
}
.ab-imp-head .chapter { color: rgba(250,248,255,0.7); }
.ab-imp-head .chapter b { color: var(--ochre); }
.ab-imp-head h2 { color: var(--paper); margin: var(--s-3) 0; }
.ab-imp-head h2 em { color: var(--ochre); font-style: italic; }
.ab-imp-sub { color: rgba(250,248,255,0.78); max-width: 60ch; margin: 0 auto; }

.ab-timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--s-8);
  max-width: 980px;
  position: relative;
}
.ab-timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(250,248,255,0.12);
  transform: translateX(-50%);
}

.ab-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: start;
  gap: var(--s-4);
  padding: var(--s-5) 0;
}
.ab-tl-year {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-subheading);
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 2px rgba(250,248,255,0.12);
  position: relative;
  z-index: 2;
  font-feature-settings: "tnum" 1;
}
.ab-tl-card {
  grid-column: 1;
  text-align: right;
  padding-right: var(--s-5);
}
.ab-tl-item--right .ab-tl-card {
  grid-column: 3;
  text-align: left;
  padding-right: 0;
  padding-left: var(--s-5);
}
.ab-tl-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--s-3);
}
.ab-tl-tag--ochre { background: var(--ochre); color: var(--ink); }
.ab-tl-card h4 {
  color: var(--paper);
  font-size: var(--fs-subheading);
  font-weight: 500;
  margin: 0 0 var(--s-2);
  font-family: var(--ff-display);
  line-height: 1.2;
}
.ab-tl-card h4 em { color: var(--ochre); font-style: italic; }
.ab-tl-card p {
  color: rgba(250,248,255,0.78);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin: 0 0 0 auto;
  max-width: 36ch;
}
.ab-tl-item--right .ab-tl-card p { margin: 0 auto 0 0; }
.ab-tl-card p em { color: var(--ochre); font-style: italic; }

.ab-tl-item--milestone .ab-tl-year {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.18);
}

@media (max-width: 1023px) {
  .ab-timeline::before { left: 32px; transform: none; }
  .ab-tl-item {
    grid-template-columns: 64px 1fr;
    gap: var(--s-4);
    padding: var(--s-4) 0;
  }
  .ab-tl-year {
    grid-column: 1;
    width: 64px; height: 64px;
    font-size: var(--fs-body);
  }
  .ab-tl-card,
  .ab-tl-item--right .ab-tl-card {
    grid-column: 2;
    text-align: left;
    padding: 0;
  }
  .ab-tl-card p,
  .ab-tl-item--right .ab-tl-card p { margin: 0; max-width: 100%; }
}

.ab-imp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  border-top: 1px solid rgba(250,248,255,0.12);
  padding-top: var(--s-7);
}
.ab-imp-stat { text-align: left; }
.ab-imp-num {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-heading);
  line-height: 1;
  color: var(--paper);
  letter-spacing: var(--ls-display);
  font-feature-settings: "tnum" 1;
}
.ab-imp-num .unit {
  font-size: var(--fs-small);
  color: var(--ochre);
  font-style: italic;
  margin-left: 4px;
  vertical-align: top;
}
.ab-imp-lbl {
  margin-top: var(--s-3);
  font-size: var(--fs-small);
  color: rgba(250,248,255,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px dashed rgba(250,248,255,0.18);
  padding-top: var(--s-3);
}
@media (max-width: 1023px) {
  .ab-imp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
}

/* ── 04 · How We Work ────────────────────────────────────── */
.ab-approach {
  padding: var(--s-9) var(--s-5);
  background: var(--paper-deep);
  position: relative;
  overflow: hidden;
}
.ab-approach::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 20%, rgba(93, 44, 181, 0.07), transparent 52%),
    radial-gradient(ellipse at 92% 75%, rgba(50, 55, 240, 0.06), transparent 48%);
}
.ab-approach > .ab-app-head,
.ab-approach > .ab-app-steps {
  position: relative;
  z-index: 1;
}
.ab-app-head {
  max-width: 760px;
  margin: 0 auto var(--s-8);
  text-align: center;
}
.ab-app-head h2 {
  margin: var(--s-3) 0;
  font-size: var(--fs-3xl);
  font-weight: var(--fw-medium);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.ab-app-head h2 em {
  color: var(--terracotta);
  font-style: italic;
}
.ab-app-sub {
  margin: 0 auto;
  max-width: 60ch;
  font-family: var(--ff-body);
  font-size: var(--fs-lede);
  font-weight: var(--fw-light);
  line-height: 1.55;
  color: var(--ink-soft);
}

.ab-app-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  gap: clamp(var(--s-6), 5vw, var(--s-8));
  position: relative;
}
.ab-app-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--rule) 0 6px,
    transparent 6px 14px
  );
  pointer-events: none;
}
.ab-app-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(var(--s-4), 3vw, var(--s-6));
  align-items: stretch;
}
.ab-app-step-pin {
  display: flex;
  justify-content: center;
  align-self: start;
  padding-top: var(--s-5);
  position: relative;
  z-index: 2;
}
.ab-app-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 6px var(--paper-deep);
}
.ab-app-step:nth-child(even) .ab-app-step-num {
  border-color: var(--teal);
  color: var(--teal);
}
.ab-app-step-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-rows: 1fr;
  align-items: stretch;
  min-height: 340px;
  height: 340px;
  max-height: 340px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.ab-app-step:nth-child(even) .ab-app-step-panel {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}
.ab-app-step-fig {
  margin: 0;
  height: 100%;
  min-height: 0;
  background: var(--paper-soft);
  border-top: 4px solid var(--terracotta);
  overflow: hidden;
}
.ab-app-step:nth-child(even) .ab-app-step-fig {
  order: 2;
  border-top-color: var(--teal);
}
.ab-app-step-fig img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ab-app-step-body {
  height: 100%;
  min-height: 0;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-3);
  box-sizing: border-box;
}
.ab-app-step:nth-child(even) .ab-app-step-body {
  order: 1;
  text-align: right;
  align-items: flex-end;
}
.ab-app-step-title {
  margin: 0;
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  color: var(--ink);
}
.ab-app-step-text {
  margin: 0;
  max-width: 40ch;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 1023px) {
  .ab-app-steps::before {
    left: 23px;
    top: 24px;
    bottom: 24px;
  }
  .ab-app-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: var(--s-4);
  }
  .ab-app-step-num {
    width: 48px;
    height: 48px;
    font-size: var(--fs-xxs);
    box-shadow: 0 0 0 5px var(--paper-deep);
  }
  .ab-app-step-panel,
  .ab-app-step:nth-child(even) .ab-app-step-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 200px minmax(0, 1fr);
    min-height: 400px;
    height: 400px;
    max-height: 400px;
  }
  .ab-app-step-fig,
  .ab-app-step:nth-child(even) .ab-app-step-fig {
    order: -1;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
  .ab-app-step-fig img {
    height: 100%;
    min-height: 100%;
  }
  .ab-app-step-body,
  .ab-app-step:nth-child(even) .ab-app-step-body {
    order: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    text-align: left;
    align-items: flex-start;
  }
}
@media (max-width: 767px) {
  .ab-approach {
    padding: var(--s-8) var(--s-4);
  }
  .ab-app-head {
    margin-bottom: var(--s-7);
  }
  .ab-app-step-body {
    padding: var(--s-4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-app-step-panel {
    transition: none;
  }
}

/* ── 05 · PVTG ───────────────────────────────────────────── */
.ab-pvtg {
  background: var(--paper-deep);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.ab-pvtg-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-8);
  align-items: center;
}
.ab-pvtg-map {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-warm);
  position: relative;
}
.ab-pvtg-map svg { display: block; width: 100%; height: auto; }
.ab-pvtg-map .ab-pin { animation: pinPulse 2.6s var(--ease-out) infinite; }
.ab-pvtg-map .ab-pin:nth-child(3) { animation-delay: 0.3s; }
.ab-pvtg-map .ab-pin:nth-child(4) { animation-delay: 0.6s; }
.ab-pvtg-map .ab-pin:nth-child(5) { animation-delay: 0.9s; }
.ab-pvtg-map .ab-pin:nth-child(6) { animation-delay: 1.2s; }
@keyframes pinPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.ab-pvtg-text h2 { margin: var(--s-3) 0; }
.ab-pvtg-text h2 em { color: var(--terracotta); font-style: italic; }
.ab-pvtg-lede {
  font-family: var(--ff-body);
  font-weight: var(--fw-light);
  font-size: var(--fs-lede);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 var(--s-6);
  max-width: 56ch;
}
.ab-pvtg-lede b { color: var(--ink); font-weight: 500; }

.ab-pvtg-reasons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-5);
}
.ab-pvtg-reasons li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-4);
  align-items: start;
}
.ab-pvtg-num {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: var(--terracotta);
  border-radius: 10px;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ab-pvtg-reasons h5 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--ink);
  line-height: 1.25;
}
.ab-pvtg-reasons p {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}
.ab-pvtg-reasons p em { color: var(--terracotta); font-style: italic; }

@media (max-width: 1023px) {
  .ab-pvtg-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .ab-pvtg-map { max-width: 480px; margin: 0 auto; }
}

/* ── 06 · How the alliance works ─────────────────────────── */
.ab-works { padding: var(--s-9) var(--s-5); }
.ab-works-head {
  max-width: 760px;
  margin: 0 auto var(--s-7);
  text-align: center;
}
.ab-works-head h2 { margin: var(--s-3) 0; }
.ab-works-head h2 em { color: var(--teal); font-style: italic; }
.ab-works-sub { color: var(--ink-soft); margin: 0 auto; max-width: 60ch; }

.ab-works-flow {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  align-items: stretch;
  gap: var(--s-3);
}
.ab-works-step {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-spring), border-color var(--dur-2);
}
.ab-works-step:hover { transform: translateY(-4px); border-color: var(--teal); }
.ab-works-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-grad);
}
.ab-works-stamp {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper);
  background: var(--ink);
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--s-4);
}
.ab-works-step h4 {
  font-size: var(--fs-subheading);
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 var(--s-2);
}
.ab-works-step p {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.ab-works-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  color: var(--terracotta);
}
@media (max-width: 1023px) {
  .ab-works-flow { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .ab-works-arrow { display: none; }
}
@media (max-width: 767px) {
  .ab-works-flow { grid-template-columns: 1fr; }
}

/* ── 07 · Rotation Leadership Model ──────────────────────── */
.ab-rotation {
  padding: var(--s-9) 0;
  background:
    radial-gradient(ellipse at 100% 0%, var(--paper-soft), transparent 50%),
    radial-gradient(ellipse at 0% 100%, var(--paper-coral), transparent 45%),
    var(--paper);
  position: relative;
}
.ab-rot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.ab-rot-text h2 { margin: var(--s-3) 0; }
.ab-rot-text h2 em { color: var(--ochre-d); font-style: italic; }
.ab-rot-text p {
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: 1.65;
  margin: 0 0 var(--s-5);
  max-width: 56ch;
}
.ab-rot-text p b { color: var(--ink); }
.ab-rot-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-5);
}
.ab-rot-bullets li {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.6;
  position: relative;
  padding-left: var(--s-5);
}
.ab-rot-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  background: var(--ochre);
  transform: rotate(45deg);
}
.ab-rot-bullets li b { color: var(--ink); font-weight: 600; }

/* — Rotation wheel — */
.ab-rot-vis {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ab-rot-wheel {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--paper) 38%, transparent 38.5%),
    conic-gradient(
      from -45deg,
      rgba(93, 44, 181, 0.22) 0deg 90deg,
      rgba(50, 55, 240, 0.22) 90deg 180deg,
      rgba(255, 107, 53, 0.22) 180deg 270deg,
      rgba(125, 74, 208, 0.22) 270deg 360deg
    );
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-warm);
}
.ab-rot-wheel::before,
.ab-rot-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.ab-rot-wheel::before {
  border: 1px dashed var(--rule);
  inset: 8%;
}
.ab-rot-wheel::after {
  border: 1px dashed var(--rule);
  inset: 18%;
}

.ab-rot-slot {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-2);
  text-align: center;
  min-width: 120px;
}
.ab-rot-slot b {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  color: var(--terracotta);
  font-weight: 500;
}
.ab-rot-slot span {
  font-size: var(--fs-body);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ab-rot-slot--1 { top: -4%; left: 50%; transform: translateX(-50%); }
.ab-rot-slot--2 { top: 50%; right: -8%; transform: translateY(-50%); }
.ab-rot-slot--3 { bottom: -4%; left: 50%; transform: translateX(-50%); }
.ab-rot-slot--4 { top: 50%; left: -8%; transform: translateY(-50%); }
.ab-rot-slot--active {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 12px 28px -10px rgba(255, 107, 53, 0.45);
}
.ab-rot-slot--active b { color: var(--ochre); }
.ab-rot-slot--active span { color: rgba(250, 248, 255, 0.78); }

.ab-rot-core {
  position: absolute;
  inset: 28%;
  background: var(--paper);
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-3);
  box-shadow: var(--shadow-3);
}
.ab-rot-core .kicker {
  color: var(--teal);
  font-size: var(--fs-body);
  margin-bottom: 4px;
}
.ab-rot-core strong {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-heading);
  color: var(--ink);
  line-height: 1;
}
.ab-rot-core small {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

@media (max-width: 1023px) {
  .ab-rot-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .ab-rot-vis {
    order: -1;
    padding-top: var(--s-5);
  }
  .ab-rot-wheel { width: min(360px, 100%); }
  .ab-rot-slot--1 { top: 1%; }
  .ab-rot-slot--2 { right: 0; }
  .ab-rot-slot--3 { bottom: 1%; }
  .ab-rot-slot--4 { left: 0; }
}
@media (max-width: 767px) {
  .ab-rot-vis { padding: var(--s-5) 0 var(--s-4); }
  .ab-rot-wheel { width: min(320px, calc(100% - 16px)); }
  .ab-rot-slot {
    min-width: 94px;
    max-width: 104px;
    padding: 8px 10px;
  }
  .ab-rot-slot b { font-size: var(--fs-small); }
  .ab-rot-slot span {
    font-size: var(--fs-body);
    letter-spacing: 0.04em;
  }
  .ab-rot-slot--2 { right: 2%; }
  .ab-rot-slot--4 { left: 2%; }
  .ab-rot-core { inset: 29%; }
  .ab-rot-core strong { font-size: var(--fs-subheading); }
}

/* ── 08 · Collaborative Non-financial ─────────────────────── */
.ab-collab { padding: var(--s-9) var(--s-5); }
.ab-collab-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--s-7);
}
.ab-collab-head h2 { margin: var(--s-3) 0; }
.ab-collab-head h2 em { color: var(--terracotta); font-style: italic; }
.ab-collab-sub { color: var(--ink-soft); margin: 0 auto; max-width: 60ch; }

.ab-collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.ab-collab-card {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2);
}
.ab-collab-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--terracotta);
}
.ab-collab-card--accent {
  background: var(--paper-coral);
}
.ab-collab-card--accent:hover { border-color: var(--ochre); }
.ab-collab-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: var(--s-4);
}
.ab-collab-card--accent .ab-collab-icon { color: var(--ochre-d); }
.ab-collab-card h4 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 var(--s-4);
}
.ab-collab-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-4);
}
.ab-collab-card li {
  position: relative;
  padding-left: var(--s-4);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
}
.ab-collab-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}
.ab-collab-card--accent li::before { color: var(--ochre); }

@media (max-width: 900px) {
  .ab-collab-grid { grid-template-columns: 1fr; gap: var(--s-4); }
}

.ab-collab-quote {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6) var(--s-6);
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.ab-collab-quote::before {
  content: "\201C";
  position: absolute;
  top: -28px;
  left: var(--s-5);
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  line-height: 1;
  color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}
.ab-collab-quote .quote-text {
  margin: 0 0 var(--s-5);
}
.ab-collab-quote-by {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.ab-collab-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-subheading);
  font-weight: 500;
  flex-shrink: 0;
}
.ab-collab-quote-by div { display: flex; flex-direction: column; gap: 2px; }

.st-quote-card--teal,
.st-quote-card--ochre,
.st-quote-card--leaf,
.st-quote-card--indigo,
.st-quote-card--saffron {
  --st-c: var(--ochre);
  --st-c-soft: rgba(255, 107, 53, 0.10);
}

.st-voices {
  padding: var(--s-9) 0;
  background: var(--paper-soft);
  overflow: hidden;
}

.st-voices-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-6);
}
.st-voices-head h2 { margin: var(--s-3) 0; }
.st-voices-head h2 em { color: var(--terracotta); font-style: italic; }
.st-voices-sub {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--ink-soft);
}
.st-testimonials-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto var(--s-3);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--terracotta);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.st-marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.st-marquee-track {
  display: flex;
  gap: var(--s-4);
  width: max-content;
  animation: st-marquee 60s linear infinite;
  padding: var(--s-3) 0;
}
.st-marquee:hover .st-marquee-track,
.st-marquee:focus-within .st-marquee-track { animation-play-state: paused; }

.st-marquee-track:has(> :only-child) {
  animation: none;
  width: 100%;
  justify-content: center;
  transform: none;
}

.st-marquee:has(.st-marquee-track > :only-child) {
  -webkit-mask-image: none;
  mask-image: none;
}

.st-marquee-track:has(> :only-child) .st-quote-card {
  flex: 1 1 auto;
  max-width: min(42rem, 100%);
}

@keyframes st-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .st-marquee-track { animation: none; }
  .st-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
  }
}

.st-quote-card {
  flex: 0 0 clamp(18rem, 36vw, 28rem);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  box-shadow: var(--shadow-1);
  border-top: 4px solid var(--st-c, var(--terracotta));
  margin: 0;
}
.st-quote-card blockquote {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}
.st-quote-card blockquote em { font-style: italic; color: var(--st-c, var(--terracotta)); }
.st-quote-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
}
.st-quote-card figcaption b {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--ink);
}
.st-quote-card figcaption span {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--muted);
}

/* ── 09 · Partners & Members ─────────────────────────────── */
.ab-partners {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.ab-partners::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255,107,53,0.18), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(93,44,181,0.25), transparent 50%);
  pointer-events: none;
}
.ab-partners > .container-x { position: relative; z-index: 2; }

.ab-partners-head {
  max-width: 760px;
  margin: 0 auto var(--s-7);
  text-align: center;
}
.ab-partners-head .chapter { color: rgba(250,248,255,0.7); }
.ab-partners-head .chapter b { color: var(--ochre); }
.ab-partners-head h2 { color: var(--paper); margin: var(--s-3) 0; }
.ab-partners-head h2 em { color: var(--ochre); font-style: italic; }
.ab-partners-sub { color: rgba(250,248,255,0.78); margin: 0 auto; max-width: 60ch; }

.ab-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.ab-partners-card {
  background: rgba(250,248,255,0.04);
  border: 1px solid rgba(250,248,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: transform var(--dur-2) var(--ease-spring), background var(--dur-2);
}
.ab-partners-card:hover {
  transform: translateY(-4px);
  background: rgba(250,248,255,0.08);
  border-color: rgba(255,107,53,0.4);
}
.ab-partners-num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-heading);
  line-height: 1;
  color: var(--paper);
  letter-spacing: var(--ls-display);
  margin-bottom: var(--s-4);
  font-feature-settings: "tnum" 1;
}
.ab-partners-num i {
  font-style: italic;
  color: var(--ochre);
  font-size: var(--fs-small);
  vertical-align: top;
  margin-left: 2px;
}
.ab-partners-card h4 {
  color: var(--paper);
  font-size: var(--fs-subheading);
  font-family: var(--ff-display);
  font-weight: 500;
  margin: 0 0 var(--s-2);
}
.ab-partners-card p {
  color: rgba(250,248,255,0.78);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin: 0 0 var(--s-4);
}
.ab-partners-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  color: rgba(250,248,255,0.68);
  border-top: 1px dashed rgba(250,248,255,0.18);
  padding-top: var(--s-3);
  width: 100%;
}
@media (max-width: 1023px) {
  .ab-partners-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .ab-partners-grid { grid-template-columns: 1fr; }
}

.ab-partners-strip {
  background: rgba(250,248,255,0.06);
  border: 1px solid rgba(250,248,255,0.12);
  border-radius: 999px;
  padding: 14px 0;
  overflow: hidden;
  margin-bottom: var(--s-7);
}
.ab-partners-track {
  display: flex;
  gap: var(--s-5);
  width: max-content;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-body);
  color: rgba(250,248,255,0.82);
  align-items: center;
}
.ab-partners-track i {
  color: var(--ochre);
  font-style: normal;
}
.ab-partners-strip:hover .ab-partners-track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .ab-partners-track { animation: none; }
}

.ab-partners-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-6);
  align-items: center;
  background: rgba(250,248,255,0.04);
  border: 1px solid rgba(250,248,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--s-7);
}
.ab-partners-cta h3 {
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 var(--s-3);
  letter-spacing: var(--ls-heading);
}
.ab-partners-cta p {
  color: rgba(250,248,255,0.78);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}
.ab-partners-cta .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: flex-end;
}
.ab-partners-cta .btn-ghost {
  color: var(--paper);
  border-color: rgba(250,248,255,0.55);
}
.ab-partners-cta .btn-ghost:hover {
  background: rgba(250,248,255,0.14);
  color: var(--paper);
  border-color: var(--paper);
}
@media (max-width: 900px) {
  .ab-partners-cta { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-6); }
  .ab-partners-cta .hero-cta { justify-content: flex-start; }
}

/* ===== auth.css ===== */
.auth-page-section {
  padding-top: 64px;
  padding-bottom: 80px;
  min-height: min(70vh, 900px);
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: start;
}

@media (min-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-9);
  }
}

.auth-side .chapter {
  color: var(--terracotta);
}

.auth-title {
  font: 500 var(--fs-heading)/1.05 var(--ff-display);
  margin: var(--s-4) 0 var(--s-4);
  color: var(--ink);
}

.auth-title .line {
  display: block;
}

.auth-lede {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.6;
  max-width: 46ch;
}

.auth-switch {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-switch li {
  margin: 0;
}

.auth-switch a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font: 500 var(--fs-small)/1 var(--ff-body);
  transition: border-color var(--dur-1) var(--ease-out),
    color var(--dur-1) var(--ease-out),
    background var(--dur-1) var(--ease-out);
}

.auth-switch a:hover {
  border-color: var(--terracotta-l);
  color: var(--terracotta);
}

.auth-switch a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.auth-role-panel {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
  padding: 6px;
}

.auth-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.auth-role-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  font: 500 var(--fs-small)/1.25 var(--ff-body);
  color: var(--muted);
  border: 1px solid transparent;
  transition: border-color var(--dur-1) var(--ease-out),
    color var(--dur-1) var(--ease-out),
    background var(--dur-1) var(--ease-out),
    box-shadow var(--dur-1) var(--ease-out);
}

.auth-role-grid a:hover {
  background: var(--paper);
  color: var(--ink-soft);
  border-color: var(--rule);
}

.auth-role-grid a.is-active {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--rule);
  box-shadow: var(--shadow-1);
}

.auth-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-4);
}

.auth-hub-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-2);
  transition: border-color var(--dur-1) var(--ease-out),
    box-shadow var(--dur-1) var(--ease-out),
    transform var(--dur-1) var(--ease-out);
}

.auth-hub-card:hover {
  border-color: var(--terracotta-l);
  box-shadow: var(--shadow-3);
  transform: translateY(-2px);
}

.auth-hub-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  color: var(--terracotta);
  font-size: 1.15rem;
}

.auth-hub-card h2 {
  margin: 0;
  font: 500 var(--fs-body)/1.2 var(--ff-display);
  color: var(--ink);
}

.auth-hub-card__chapter {
  margin: 0;
  font: 500 var(--fs-small)/1.3 var(--ff-body);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-hub-card p {
  margin: 0;
  flex: 1;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.auth-hub-card__cta {
  font: 600 var(--fs-small)/1 var(--ff-body);
  color: var(--terracotta);
}

.auth-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-7);
  box-shadow: var(--shadow-2);
  position: relative;
  z-index: 1;
}

@media (max-width: 540px) {
  .auth-card {
    padding: var(--s-5);
  }
}

.auth-card__head {
  margin-bottom: var(--s-5);
}

.auth-card__head .pill {
  display: inline-block;
  margin-bottom: var(--s-3);
}

.auth-card__head h2 {
  font: 500 var(--fs-subheading)/1.1 var(--ff-display);
  margin: 0;
  color: var(--ink);
}

.auth-card__sub {
  margin: var(--s-2) 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.auth-flash {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: var(--fs-small);
  margin-bottom: var(--s-4);
  border-left: 3px solid var(--teal);
}

.auth-flash--error {
  background: var(--paper-coral);
  border-left-color: var(--ochre);
  color: var(--ink);
}

.auth-flash ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field__label {
  font: 500 var(--fs-small)/1 var(--ff-body);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font: 400 var(--fs-body)/1.4 var(--ff-body);
  color: var(--ink);
  transition: border-color var(--dur-1) var(--ease-out),
    box-shadow var(--dur-1) var(--ease-out);
  box-sizing: border-box;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(93, 44, 181, 0.15);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.auth-check input {
  accent-color: var(--terracotta);
}

.auth-link {
  color: var(--terracotta);
  font-size: var(--fs-small);
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-submit {
  justify-content: center;
  margin-top: var(--s-2);
  width: 100%;
}

.auth-foot {
  margin: var(--s-3) 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
  text-align: center;
}

.auth-foot a {
  color: var(--terracotta);
  text-decoration: none;
}

.auth-foot a:hover {
  text-decoration: underline;
}

/* — Login screen (redesign) — */
.login-screen {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(93, 44, 181, 0.12), transparent 52%),
    radial-gradient(ellipse at 100% 100%, rgba(50, 55, 240, 0.10), transparent 48%),
    var(--paper-soft);
}

.login-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(93, 44, 181, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 85%);
  pointer-events: none;
}

.login-screen__wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: stretch;
}

@media (min-width: 1024px) {
  .login-screen__wrap {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1fr);
    gap: var(--s-7);
    align-items: start;
    min-height: min(72vh, 760px);
  }
}

.login-screen__hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--s-5);
  padding: clamp(24px, 4vw, 40px);
  padding-top: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(216, 210, 235, 0.9);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(250, 248, 255, 0.96), rgba(244, 240, 255, 0.88)),
    var(--paper);
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}

.login-screen__hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-grad);
}

.login-screen__hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}

.login-screen__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(93, 44, 181, 0.08);
  border: 1px solid rgba(93, 44, 181, 0.14);
  color: var(--terracotta);
  font: 600 var(--fs-small)/1 var(--ff-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-screen__role-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font: 600 var(--fs-small)/1 var(--ff-body);
}

.login-screen__role-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: var(--paper);
  font-size: 0.9rem;
}

.login-screen__title {
  margin: 0;
  font: 500 clamp(2rem, 4vw, 3rem)/1.05 var(--ff-display);
  letter-spacing: var(--ls-heading);
  color: var(--ink);
  max-width: 14ch;
}

.login-screen__title em {
  font-style: italic;
  color: var(--terracotta);
}

.login-screen__lede {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.login-screen__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s-3);
}

.login-screen__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.login-screen__features li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--brand-grad);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.2 3.4 8.4l1.1-1.1 1.7 1.7 4.3-4.3 1.1 1.1z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.2 3.4 8.4l1.1-1.1 1.7 1.7 4.3-4.3 1.1 1.1z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.login-screen__note {
  margin: 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.55;
  max-width: 44ch;
}

.login-screen__form-col {
  display: flex;
  align-items: stretch;
}

.login-screen__card {
  width: 100%;
  padding: clamp(24px, 4vw, 40px);
  padding-top: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(216, 210, 235, 0.95);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-3);
  position: relative;
  overflow: hidden;
}

.login-screen__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-grad);
}

.login-screen__card-head {
  margin-bottom: var(--s-5);
}

.login-screen__card-head .chapter {
  display: block;
  margin-bottom: var(--s-2);
  color: var(--muted);
}

.login-screen__card-head h2 {
  margin: 0;
  font: 500 var(--fs-heading)/1.1 var(--ff-display);
  color: var(--ink);
}

.login-screen__card-sub {
  margin: var(--s-2) 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.login-screen__roles-label {
  display: block;
  margin-bottom: var(--s-3);
  font: 600 var(--fs-small)/1 var(--ff-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.login-screen__roles-panel {
  margin-bottom: var(--s-6);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.login-screen__roles {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

@media (min-width: 720px) {
  .login-screen__roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }
}

.login-screen__role {
  flex: 0 0 auto;
  min-width: 132px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  height: 44px;
  padding: 6px 10px;
  border-radius: calc(var(--radius-sm) + 2px);
  border: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink-soft);
  text-align: left;
  box-sizing: border-box;
  box-shadow: var(--shadow-1);
  transition: border-color var(--dur-1) var(--ease-out),
    box-shadow var(--dur-1) var(--ease-out),
    background var(--dur-1) var(--ease-out),
    color var(--dur-1) var(--ease-out),
    transform var(--dur-1) var(--ease-out);
}

@media (min-width: 720px) {
  .login-screen__role {
    flex: unset;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

.login-screen__role i {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  font-size: 0.88rem;
  color: var(--terracotta-l);
  transition: color var(--dur-1) var(--ease-out),
    background var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out);
}

.login-screen__role span {
  flex: 1;
  min-width: 0;
  display: block;
  font: 600 12px/1.2 var(--ff-body);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.login-screen__role:hover {
  border-color: var(--terracotta-l);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-2);
  transform: translateY(-1px);
}

.login-screen__role.is-active {
  border-color: var(--terracotta);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 2px rgba(93, 44, 181, 0.14), var(--shadow-2);
}

.login-screen__role.is-active i {
  color: var(--paper);
  background: var(--brand-grad);
  border-color: transparent;
}

.login-screen__form {
  display: grid;
  gap: var(--s-3);
}

.login-screen__field label {
  display: block;
  margin-bottom: 6px;
  font: 600 var(--fs-small)/1 var(--ff-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.login-screen__field input {
  width: 100%;
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font: 400 var(--fs-small)/1.2 var(--ff-body);
  color: var(--ink);
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
  box-sizing: border-box;
}

.login-screen__field input::placeholder {
  color: rgba(107, 101, 133, 0.75);
}

.login-screen__field input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(93, 44, 181, 0.12);
}

.login-screen__field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: 6px;
}

.login-screen__field-row label {
  margin-bottom: 0;
}

.login-screen__password-wrap {
  position: relative;
}

.login-screen__password-wrap input {
  padding-right: 40px;
}

.login-screen__password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}

.login-screen__password-toggle:hover {
  background: var(--paper-soft);
  color: var(--terracotta);
}

.login-screen__password-toggle:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.login-screen__meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.login-screen__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.4;
  cursor: pointer;
}

.login-screen__remember input {
  accent-color: var(--terracotta);
}

.login-screen__secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.login-screen__secure i {
  color: var(--teal);
}

.login-screen__form .btn.login-screen__submit {
  width: 100%;
  justify-content: center;
  min-height: 42px;
  height: auto;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: var(--fs-small);
  line-height: 1.25;
  white-space: normal;
  text-align: center;
}

.login-screen__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: var(--s-2) 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
  text-align: center;
}

.login-screen__foot a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
}

.login-screen__foot a:hover {
  text-decoration: underline;
}

.login-screen__divider {
  color: var(--rule);
}

.login-screen__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: var(--fs-small);
}

.login-screen__back:hover {
  color: var(--ink-soft);
}

.login-screen__flash {
  margin-bottom: var(--s-4);
}

@media (max-width: 1023px) {
  .login-screen__hero {
    order: 2;
  }

  .login-screen__form-col {
    order: 1;
  }

  .login-screen__title {
    max-width: none;
  }
}

/* ===== campaigns.css ===== */
/* ============================================================
   Campaigns page — section-specific styles
   Editorial · Visual storytelling · Filterable · Interactive
   ============================================================ */

/* — Unified card palette from the reference children card — */
.cmp-card--males,
.cmp-tl-item--males,
.cmp-card--children,
.cmp-tl-item--children,
.cmp-card--nutrition,
.cmp-tl-item--nutrition,
.cmp-card--gender,
.cmp-tl-item--gender,
.cmp-card--adolescent,
.cmp-tl-item--adolescent,
.cmp-card--community,
.cmp-tl-item--community {
  --cmp-c: var(--ochre);
  --cmp-c-soft: rgba(255, 107, 53, 0.14);
  --cmp-c-bg: var(--paper-coral);
}

/* ── Hero ────────────────────────────────────────────────── */
.cmp-hero {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.cmp-hero-deco {
  position: absolute;
  top: -50px; right: -60px;
  width: clamp(220px, 26vw, 380px);
  pointer-events: none;
  opacity: 0.65;
  z-index: 1;
}
.cmp-hero-deco svg { display: block; width: 100%; height: auto; }

.cmp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 1023px) {
  .cmp-hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.cmp-hero-title {
  font-size: var(--fs-hero-tight);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
  margin: var(--s-4) 0 var(--s-5);
}
.cmp-hero-title .line { display: block; }
.cmp-hero-title em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cmp-hero-title .cmp-hero-sub-line { font-size: 0.74em; color: var(--ink-soft); }
.cmp-underline {
  position: relative;
  display: inline-block;
}
.cmp-underline::after {
  content: "";
  position: absolute;
  left: 2%; right: 2%;
  bottom: 4px;
  height: 8px;
  background: var(--ochre);
  opacity: 0.45;
  z-index: -1;
  border-radius: 4px;
}

.cmp-hero-lede {
  font-family: var(--ff-body);
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: var(--fw-light);
  max-width: 56ch;
  margin: 0 0 var(--s-6);
}
.cmp-hero-lede b { color: var(--ink); font-weight: 500; }

.cmp-hero-stats {
  list-style: none;
  padding: var(--s-5);
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-warm);
}
.cmp-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-4);
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.cmp-stat-num {
  font-family: var(--ff-display);
  font-size: var(--fs-stat);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: var(--ls-display);
  font-feature-settings: "tnum" 1;
}
.cmp-stat-num small {
  font-size: 0.45em;
  color: var(--terracotta);
  font-style: italic;
  margin-left: 2px;
  vertical-align: top;
}
.cmp-stat-num i {
  font-style: italic;
  font-size: 0.5em;
  color: var(--muted);
  margin-left: 2px;
  vertical-align: top;
}
.cmp-stat-lbl {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--s-2);
}
.cmp-stat-foot {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-2);
  margin-top: var(--s-2);
  line-height: 1.4;
}
@media (max-width: 540px) {
  .cmp-hero-stats { grid-template-columns: 1fr; }
}


/* ── Filter bar ─────────────────────────────────────────── */
.cmp-filters {
  background: var(--paper-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-5) 0;
  position: sticky;
  top: 96px;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  background: rgba(244, 240, 255, 0.92);
}
@media (max-width: 1023px) { .cmp-filters { top: 80px; } }
@media (max-width: 540px)  { .cmp-filters { top: 68px; padding: var(--s-4) 0; } }

.cmp-filters-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--s-4);
  align-items: start;
}
@media (max-width: 1200px) {
  .cmp-filters-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .cmp-filters {
    padding: var(--s-4) 0;
  }
  .cmp-filters-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-2) var(--s-3);
    align-items: end;
  }
  .cmp-filters-block {
    gap: 6px;
  }
  .cmp-filters-lbl {
    font-size: var(--fs-xxs);
    letter-spacing: 0.16em;
  }
  .cmp-select select {
    min-height: 44px;
    font-size: var(--fs-sm);
    padding: 9px 34px 9px 14px;
  }
  .cmp-select-caret {
    right: 12px;
  }
  .cmp-filters-meta {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 10px var(--s-3);
    white-space: normal;
    margin-top: 2px;
    padding-top: var(--s-2);
    border-top: 1px dashed var(--rule);
  }
  .cmp-filters-count {
    font-size: var(--fs-xs);
  }
  .cmp-filters-reset {
    padding: 5px 10px;
  }
}
@media (max-width: 359px) {
  .cmp-filters-row {
    grid-template-columns: 1fr;
  }
}

.cmp-filters-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-width: 0;
}
.cmp-filters-lbl {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
}
.cmp-filters-lbl b { color: var(--ink); font-weight: 700; }

.cmp-select {
  position: relative;
  display: block;
}
.cmp-select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 10px 38px 10px 16px;
  cursor: pointer;
  outline: none;
  transition: border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
}
.cmp-select select:hover { border-color: var(--terracotta); }
.cmp-select select:focus-visible {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(93, 44, 181, 0.10);
}
.cmp-select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
  transition: transform var(--dur-2) var(--ease-spring), color var(--dur-1);
}
.cmp-select select:focus-visible ~ .cmp-select-caret {
  color: var(--terracotta);
  transform: translateY(-50%) rotate(180deg);
}

.cmp-filters-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  white-space: nowrap;
  padding-top: 18px;
}
.cmp-filters-count {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.06em;
}
.cmp-filters-count b { color: var(--ink); font-weight: 700; font-feature-settings: "tnum" 1; }
.cmp-filters-reset {
  background: none;
  border: 1px dashed var(--rule);
  color: var(--ink-soft);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--dur-1), color var(--dur-1), background var(--dur-1);
}
.cmp-filters-reset:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: var(--paper);
}
@media (max-width: 1200px) {
  .cmp-filters-meta { padding-top: 0; }
}


/* ── Campaign cards grid ────────────────────────────────── */
.cmp-grid { padding: var(--s-7) var(--s-5) var(--s-9); }

.cmp-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 1100px) { .cmp-grid-wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .cmp-grid-wrap { grid-template-columns: 1fr; } }

.cmp-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2);
  border-top: 4px solid var(--cmp-c);
}
.cmp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: var(--cmp-c);
}
.cmp-card.is-hidden { display: none; }

.cmp-card-img {
  aspect-ratio: 16 / 10;
  background: var(--cmp-c-bg) center/cover;
  position: relative;
  overflow: hidden;
}
.cmp-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 22, 53, 0.0) 30%, rgba(26, 22, 53, 0.7) 100%);
}
.cmp-card-status {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-1);
}
.cmp-card-status--active    { background: var(--leaf);       color: var(--paper); }
.cmp-card-status--scaling   { background: var(--teal);       color: var(--paper); }
.cmp-card-status--milestone { background: var(--ochre);      color: var(--ink); }
.cmp-card-status--pilot     { background: var(--terracotta); color: var(--paper); }

.cmp-card-theme {
  position: absolute;
  bottom: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(26, 22, 53, 0.55);
  border: 1px solid rgba(250, 248, 255, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cmp-card-body {
  padding: var(--s-5) var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  flex: 1;
}
.cmp-card-title {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  line-height: 1.18;
  margin: 0;
  letter-spacing: var(--ls-heading);
}
.cmp-card-title em {
  color: var(--cmp-c);
  font-style: italic;
}
.cmp-card-lede {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.cmp-card-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cmp-card-pills li {
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper-soft);
  color: var(--ink-soft);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
}

.cmp-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.cmp-card-meta {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cmp-grid-empty {
  text-align: center;
  padding: var(--s-9) var(--s-5);
  background: var(--paper-soft);
  border: 1px dashed var(--rule);
  border-radius: var(--radius-lg);
  margin-bottom: var(--s-7);
}
.cmp-grid-empty p { margin: var(--s-3) auto 0; max-width: 50ch; color: var(--ink-soft); }
.cmp-link {
  background: none;
  border: 0;
  border-bottom: 1.5px solid var(--terracotta);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  padding: 0 0 2px;
  transition: color var(--dur-1);
}
.cmp-link:hover { color: var(--terracotta); }


/* ── Timeline accordion ─────────────────────────────────── */
.cmp-tl-section {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.cmp-tl-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(93,44,181,0.28), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(50,55,240,0.22), transparent 50%);
  pointer-events: none;
}
.cmp-tl-section > .container-x { position: relative; z-index: 2; }

.cmp-tl-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-7);
}
.cmp-tl-head .chapter { color: rgba(250,248,255,0.7); }
.cmp-tl-head .chapter b { color: var(--ochre); }
.cmp-tl-head h2 { color: var(--paper); margin: var(--s-3) 0; }
.cmp-tl-head h2 em { color: var(--ochre); font-style: italic; }
.cmp-tl-sub { color: rgba(250,248,255,0.78); margin: 0 auto; max-width: 60ch; }

.cmp-tl-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.cmp-tl-item {
  background: rgba(250,248,255,0.04);
  border: 1px solid rgba(250,248,255,0.12);
  border-left: 4px solid var(--cmp-c);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2);
}
.cmp-tl-item.is-hidden { display: none; }
.cmp-tl-item[open] { background: rgba(250,248,255,0.06); }

.cmp-tl-summary {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-5);
  cursor: pointer;
  list-style: none;
}
.cmp-tl-summary::-webkit-details-marker { display: none; }
.cmp-tl-summary:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

.cmp-tl-num {
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--cmp-c);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cmp-tl-eyebrow {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: rgba(250,248,255,0.65);
  margin-bottom: 4px;
}
.cmp-tl-summary-text h4 {
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  margin: 0;
  line-height: 1.25;
}
.cmp-tl-summary-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: rgba(250,248,255,0.65);
  white-space: nowrap;
}
.cmp-tl-caret {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(250,248,255,0.08);
  color: var(--paper);
  transition: transform var(--dur-2) var(--ease-out), background var(--dur-1);
}
.cmp-tl-item[open] .cmp-tl-caret { transform: rotate(180deg); background: var(--cmp-c); color: var(--ink); }

.cmp-tl-body {
  padding: 0 var(--s-5) var(--s-6);
  border-top: 1px dashed rgba(250,248,255,0.12);
  margin-top: var(--s-2);
}

.cmp-tl-track {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.cmp-tl-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(250,248,255,0.18) 0 6px,
    transparent 6px 12px
  );
}

.cmp-tl-step {
  position: relative;
  padding: 0 var(--s-3) var(--s-4);
  border-top: 2px solid rgba(250,248,255,0.18);
  padding-top: var(--s-5);
}
.cmp-tl-step::before {
  content: "";
  position: absolute;
  top: -8px;
  left: var(--s-3);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cmp-c);
  border: 3px solid var(--ink);
  z-index: 1;
}
.cmp-tl-step--now::before { background: var(--ochre); box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.18); }
.cmp-tl-step--milestone::before { background: var(--ochre); box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.22); }

.cmp-tl-step-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,255,0.7);
  margin-bottom: var(--s-2);
}
.cmp-tl-step--now .cmp-tl-step-tag { color: var(--ochre); }
.cmp-tl-step--milestone .cmp-tl-step-tag { color: var(--ochre); }

.cmp-tl-step h5 {
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 var(--s-2);
}
.cmp-tl-step p {
  font-size: var(--fs-xs);
  color: rgba(250,248,255,0.78);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}
.cmp-tl-step p em { color: var(--ochre); font-style: italic; }

@media (max-width: 1023px) {
  .cmp-tl-track { grid-template-columns: 1fr; gap: 0; }
  .cmp-tl-track::before {
    top: 0;
    bottom: 0;
    left: 8px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(
      to bottom,
      rgba(250,248,255,0.18) 0 6px,
      transparent 6px 12px
    );
  }
  .cmp-tl-step {
    border-top: 0;
    padding: 0 0 var(--s-5) var(--s-7);
  }
  .cmp-tl-step::before {
    top: 4px;
    left: 1px;
  }
}

@media (max-width: 720px) {
  .cmp-tl-summary { grid-template-columns: 44px 1fr; padding: var(--s-4); }
  .cmp-tl-num { width: 36px; height: 36px; font-size: var(--fs-xs); }
  .cmp-tl-summary-meta { grid-column: 1 / -1; padding-left: 56px; }
}


/* ── Before / After comparison ──────────────────────────── */
.cmp-impact {
  padding: var(--s-9) 0;
  background:
    radial-gradient(ellipse at 90% 0%, var(--paper-coral), transparent 50%),
    radial-gradient(ellipse at 0% 100%, var(--paper-soft), transparent 45%),
    var(--paper);
}

.cmp-imp-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--s-7);
  padding: 0 var(--s-5);
}
.cmp-imp-head h2 { margin: var(--s-3) 0; }
.cmp-imp-head h2 em { color: var(--terracotta); font-style: italic; }
.cmp-imp-head h2 em + em { color: var(--ochre-d); }
.cmp-imp-sub { color: var(--ink-soft); margin: 0 auto; max-width: 64ch; }

.cmp-ba {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.cmp-ba-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-3);
  isolation: isolate;
  user-select: none;
  min-height: clamp(380px, 46vw, 480px);
}

.cmp-ba-side {
  position: absolute;
  inset: 0;
  padding: var(--s-7) var(--s-7) var(--s-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cmp-ba-after {
  background:
    linear-gradient(135deg, rgba(255, 107, 53, 0.25), rgba(255, 107, 53, 0.05) 60%),
    var(--ink);
  color: var(--paper);
  align-items: flex-end;
  text-align: right;
}
.cmp-ba-before {
  background:
    linear-gradient(135deg, rgba(93, 44, 181, 0.78), rgba(42, 35, 99, 0.92)),
    var(--ink);
  color: var(--paper);
  clip-path: inset(0 50% 0 0);
  transition: clip-path var(--dur-1) linear;
  z-index: 2;
  align-items: flex-start;
  text-align: left;
}

.cmp-ba-tag {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: var(--s-5);
}
.cmp-ba-tag--before { background: rgba(250,248,255,0.18); color: var(--paper); }
.cmp-ba-tag--after  { background: var(--ochre); color: var(--ink); }

.cmp-ba-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  max-width: 46%;
}
.cmp-ba-stats li { display: flex; flex-direction: column; gap: 4px; }
.cmp-ba-num {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-stat);
  line-height: 1;
  color: var(--paper);
  letter-spacing: var(--ls-display);
  font-feature-settings: "tnum" 1;
}
.cmp-ba-num small {
  font-size: 0.4em;
  color: var(--ochre);
  font-style: italic;
  margin-left: 2px;
  vertical-align: top;
}
.cmp-ba-after .cmp-ba-num small { color: var(--ochre); }
.cmp-ba-before .cmp-ba-num small { color: rgba(250,248,255,0.62); }
.cmp-ba-lbl {
  font-size: var(--fs-xs);
  color: rgba(250,248,255,0.78);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.cmp-ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 2px;
  background: var(--paper);
  z-index: 4;
  transform: translateX(-50%);
  transition: left var(--dur-1) linear;
  pointer-events: none;
}
.cmp-ba-handle-line {
  position: absolute;
  inset: 0;
  background: var(--paper);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.4);
}
.cmp-ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(26, 22, 53, 0.4);
  border: 3px solid var(--paper);
}

.cmp-ba-controls {
  margin-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.cmp-ba-range-lbl {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cmp-ba-range-lbl b { color: var(--ink); font-weight: 700; }

.cmp-ba-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--terracotta), var(--ochre));
  outline: none;
  cursor: ew-resize;
}
.cmp-ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ochre);
  cursor: ew-resize;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-1) var(--ease-spring);
}
.cmp-ba-range::-webkit-slider-thumb:hover { transform: scale(1.1); }
.cmp-ba-range::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--ochre);
  cursor: ew-resize;
  box-shadow: var(--shadow-2);
}

.cmp-ba-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--muted);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-4);
}

@media (max-width: 720px) {
  .cmp-ba-side { padding: var(--s-5) var(--s-5) var(--s-4); }
  .cmp-ba-stats { grid-template-columns: 1fr; gap: var(--s-3); max-width: 48%; }
  .cmp-ba-handle-knob { width: 36px; height: 36px; }
  .cmp-ba-tag { margin-bottom: var(--s-3); font-size: var(--fs-xxs); padding: 5px 10px; }
  .cmp-ba-num { font-size: var(--fs-2xl); }
}


/* ── Closing CTA ────────────────────────────────────────── */
.cmp-cta {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.cmp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 107, 53, 0.18), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(93, 44, 181, 0.25), transparent 50%);
  pointer-events: none;
}
.cmp-cta > .container-x { position: relative; z-index: 2; }

.cmp-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: start;
}
.cmp-cta-grid h2 { color: var(--paper); margin: var(--s-3) 0; }
.cmp-cta-grid h2 em { color: var(--ochre); font-style: italic; }
.cmp-cta-lede { color: rgba(250,248,255,0.82); max-width: 48ch; line-height: 1.6; }

.cmp-cta-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.cmp-cta-path {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-2) var(--s-3);
  align-items: center;
  padding: var(--s-5);
  background: rgba(250,248,255,0.05);
  border: 1px solid rgba(250,248,255,0.14);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--paper);
  transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.cmp-cta-path:hover {
  background: rgba(255, 107, 53, 0.08);
  border-color: var(--ochre);
  color: var(--paper);
  transform: translateY(-2px);
}
.cmp-cta-path b {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-lg);
  color: var(--paper);
  grid-column: 1;
}
.cmp-cta-path span {
  grid-column: 1;
  grid-row: 2;
  font-size: var(--fs-xs);
  color: rgba(250,248,255,0.7);
  letter-spacing: 0.04em;
}
.cmp-cta-path .arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--ochre);
  transition: transform var(--dur-2) var(--ease-spring);
}
.cmp-cta-path:hover .arrow { transform: translateX(4px); }

@media (max-width: 1023px) {
  .cmp-cta-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}
@media (max-width: 540px) {
  .cmp-cta-paths { grid-template-columns: 1fr; }
}

/* ===== contact.css ===== */
.contact-hero {
  padding: clamp(48px, 6vw, 92px) 0 clamp(40px, 5vw, 72px);
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 20%, rgba(50, 55, 240, 0.10), transparent 52%),
    radial-gradient(ellipse at 100% 80%, var(--paper-coral), transparent 48%);
  pointer-events: none;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: stretch;
}

.contact-hero-copy,
.contact-note,
.contact-form-card,
.contact-aside,
.contact-map-copy,
.contact-map-card {
  min-width: 0;
}

.contact-title {
  max-width: 900px;
  margin: var(--s-4) 0 var(--s-5);
  font-size: var(--fs-display);
  font-weight: var(--fw-regular);
  line-height: 1.02;
  letter-spacing: var(--ls-display);
}

.contact-title em {
  background: linear-gradient(135deg, var(--terracotta), var(--ochre));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-lede {
  max-width: 720px;
  color: var(--ink-soft);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  line-height: var(--lh-relaxed);
}

.contact-actions,
.contact-note-links,
.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.contact-actions {
  margin-top: var(--s-6);
}

.contact-note {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-self: end;
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(250, 248, 255, 0.95), rgba(244, 240, 255, 0.92)),
    var(--paper);
  box-shadow: var(--shadow-2);
}

.contact-note-kicker,
.contact-card-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.contact-note p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--ink-soft);
}

.contact-note-links a {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  overflow-wrap: anywhere;
}

.contact-social {
  padding-top: var(--s-3);
  border-top: 1px dashed var(--rule);
}

.contact-social .social-icons__link {
  background: var(--paper-soft);
  color: var(--terracotta);
}

.contact-social .social-icons__link:hover {
  color: var(--paper);
  background: var(--brand-grad);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 44, 181, 0.34);
  box-shadow: var(--shadow-3);
}

.contact-card-icon {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  aspect-ratio: 1;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--brand-grad);
}

.contact-card-value {
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card-value:hover {
  color: var(--terracotta);
}

.contact-card p {
  margin: 0;
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  color: var(--muted);
}

.contact-main {
  padding: clamp(56px, 7vw, 104px) 0;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 107, 53, 0.12), transparent 42%),
    radial-gradient(ellipse at 92% 100%, rgba(50, 55, 240, 0.10), transparent 50%),
    var(--paper-soft);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
  align-items: start;
}

.contact-form-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  background: rgba(250, 248, 255, 0.9);
  box-shadow: var(--shadow-2);
}

.contact-form-card {
  padding: clamp(24px, 4vw, 48px);
}

.contact-form-card h2,
.contact-map-copy h2 {
  margin-top: var(--s-3);
  font-size: var(--fs-heading);
}

.contact-form-card p,
.contact-map-copy p {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--ink-soft);
}

.site-toast {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: var(--z-toast, 120);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: min(420px, calc(100vw - 32px));
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(93, 44, 181, 0.2);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(18, 12, 38, 0.16);
  opacity: 0;
  transform: translate(-50%, -16px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.site-toast--show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}

.site-toast--hide {
  opacity: 0;
  transform: translate(-50%, -12px) scale(0.98);
}

.site-toast--success {
  border-color: rgba(34, 120, 72, 0.35);
}

.site-toast--success .site-toast__icon {
  color: #227848;
  background: rgba(34, 120, 72, 0.12);
}

.site-toast--error {
  border-color: rgba(255, 107, 53, 0.35);
}

.site-toast--error .site-toast__icon {
  color: #c44a20;
  background: rgba(255, 107, 53, 0.12);
}

.site-toast__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.site-toast__body {
  flex: 1;
  min-width: 0;
}

.site-toast__title {
  margin: 0 0 4px;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.site-toast__message {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.5;
}

.site-toast__errors {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: var(--lh-relaxed);
}

.site-toast__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-toast__close:hover {
  background: rgba(18, 12, 38, 0.06);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .site-toast {
    transition: opacity 0.15s ease;
    transform: translate(-50%, 0);
  }

  .site-toast--show,
  .site-toast--hide {
    transform: translate(-50%, 0);
  }
}

.contact-alert--error {
  border-color: rgba(255, 107, 53, 0.34);
  background: rgba(255, 107, 53, 0.10);
}

.contact-alert strong {
  display: block;
  margin-bottom: var(--s-2);
}

.contact-alert ul {
  display: grid;
  gap: var(--s-1);
  margin: 0;
  padding-left: var(--s-5);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  color: var(--ink-soft);
  font-weight: 500;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.contact-field-group label {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink);
}

.contact-field-group input,
.contact-field-group textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: 500 var(--fs-body)/1.5 var(--ff-body);
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}

.contact-field-group input {
  min-height: 3.35rem;
}

.contact-field-group textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-field-group input:focus,
.contact-field-group textarea:focus {
  border-color: var(--terracotta);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(93, 44, 181, 0.12);
}

.contact-field-group input::placeholder,
.contact-field-group textarea::placeholder {
  color: var(--muted);
}

.contact-form .btn {
  justify-self: start;
}

.contact-aside {
  display: grid;
  gap: var(--s-4);
}

.contact-map-section {
  padding: clamp(56px, 7vw, 104px) 0;
}

.contact-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
  align-items: center;
}

.contact-map-copy .btn {
  margin-top: var(--s-3);
}

.contact-map-card {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 18rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  background: var(--paper-soft);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.contact-map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 700px) {
  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-field-group--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .contact-hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
    gap: var(--s-7);
  }

  .contact-main-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: var(--s-6);
  }

  .contact-map-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: var(--s-7);
  }
}

@media (max-width: 520px) {
  .contact-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .contact-note,
  .contact-card,
  .contact-address-panel {
    border-radius: var(--radius);
  }

  .contact-map-card {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-card:hover {
    transform: none;
  }
}

/* ===== event-details.css ===== */
.ed-page {
  background:
    radial-gradient(circle at top right, rgba(93, 44, 181, 0.06), transparent 32%),
    var(--paper);
  font-size: 14px;
}

.ed-article {
  padding: clamp(28px, 4vw, 56px) 0 0;
}

.ed-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--s-5);
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.ed-back:hover {
  color: var(--terracotta);
}

.ed-hero {
  display: grid;
  gap: var(--s-4);
}

.ed-hero__card {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--rule);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-1);
}

.ed-hero__media {
  margin: 0;
  min-width: 0;
  line-height: 0;
}

.ed-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(93, 44, 181, 0.08);
}

.ed-hero__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-4);
  padding: clamp(8px, 1.5vw, 16px) 0;
}

.ed-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ed-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink-soft);
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ed-chip--status {
  background: rgba(255, 107, 53, 0.08);
  color: var(--ochre-d);
  border-color: rgba(255, 107, 53, 0.18);
}

.ed-title {
  margin: 0;
  font-size: 48px;
  font-weight: var(--fw-regular);
  line-height: 1.12;
  letter-spacing: var(--ls-display);
  color: var(--ink);
}

.ed-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.ed-fact {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(250, 248, 255, 0.9);
  border: 1px solid rgba(93, 44, 181, 0.08);
}

.ed-fact--wide {
  grid-column: 1 / -1;
}

.ed-fact dt {
  margin: 0 0 6px;
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ed-fact dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.ed-content {
  width: 100%;
  padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 56px);
}

.ed-body {
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rule);
  width: 100%;
  max-width: none;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.ed-body.story-html-content,
.ed-body.story-html-content p,
.ed-body.story-html-content div,
.ed-body.story-html-content ul,
.ed-body.story-html-content ol,
.ed-body.story-html-content li,
.ed-body.story-html-content blockquote,
.ed-body.story-html-content figure {
  max-width: none;
  width: auto;
}

.ed-body.story-html-content > span:first-child {
  display: block;
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.ed-body--plain p {
  margin: 0;
  max-width: none;
}

.ed-body.story-html-content h2,
.ed-body.story-html-content h3,
.ed-body.story-html-content h4 {
  margin: 1.75rem 0 0.75rem;
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.ed-body.story-html-content h2:first-child,
.ed-body.story-html-content h3:first-child,
.ed-body.story-html-content h4:first-child,
.ed-body.story-html-content p:first-child {
  margin-top: 0;
}

.ed-body.story-html-content p,
.ed-body.story-html-content div {
  margin: 0 0 1rem;
}

.ed-body.story-html-content ul,
.ed-body.story-html-content ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.ed-body.story-html-content li {
  margin-bottom: 0.35rem;
}

.ed-body.story-html-content a {
  color: var(--terracotta);
  text-decoration: underline;
}

.ed-body.story-html-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
}

.ed-body.story-html-content blockquote {
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(93, 44, 181, 0.25);
  color: var(--muted);
  font-style: italic;
}

.ed-related {
  padding: 0 0 clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--rule);
}

.ed-related-head {
  padding-top: clamp(32px, 4vw, 48px);
  display: grid;
  gap: 8px;
  margin-bottom: var(--s-5);
}

.ed-related-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.ed-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ed-related-link {
  display: grid;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  border: 1px solid var(--rule);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ed-related-link:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.ed-related-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ed-related-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.ed-related-meta {
  font-family: var(--ff-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ed-related-copy h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.ed-related-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: none;
}

.ed-related-cta {
  color: var(--terracotta);
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .ed-hero__card,
  .ed-related-grid {
    grid-template-columns: 1fr;
  }

  .ed-hero__main {
    justify-content: flex-start;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .ed-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .ed-facts {
    grid-template-columns: 1fr;
  }

  .ed-fact--wide {
    grid-column: auto;
  }
}

/* ===== events.css ===== */
/* ============================================================
   Events page — calendar, timeline, cards, gallery lightbox
   ============================================================ */

/* — Per-event-type tokens — */
.ev-tl-tag[data-type="workshop"], .ev-card-tag[data-type="workshop"]   { --ev-c: var(--ochre);      --ev-c-soft: rgba(255,107,53,0.12); }
.ev-tl-tag[data-type="conf"],     .ev-card-tag[data-type="conf"]       { --ev-c: var(--terracotta); --ev-c-soft: rgba(93,44,181,0.12); }
.ev-tl-tag[data-type="webinar"],  .ev-card-tag[data-type="webinar"]    { --ev-c: var(--teal);       --ev-c-soft: rgba(50,55,240,0.10); }

.ev-card--workshop { --ev-card-c: var(--ochre); }
.ev-card--conf     { --ev-card-c: var(--terracotta); }
.ev-card--webinar  { --ev-card-c: var(--teal); }

.ev-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: var(--muted);
  flex-shrink: 0;
}
.ev-dot--workshop { background: var(--ochre); }
.ev-dot--conf     { background: var(--terracotta); }
.ev-dot--webinar  { background: var(--teal); }


/* ── Hero ──────────────────────────────────────────────── */
.ev-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 5vw, 80px);
  position: relative;
}

.ev-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 1023px) {
  .ev-hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.ev-hero-title {
  font-size: var(--fs-hero-tight);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
  margin: var(--s-4) 0 var(--s-5);
}
.ev-hero-title em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ev-hero-lede {
  font-family: var(--ff-body);
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: var(--fw-light);
  max-width: 56ch;
  margin: 0 0 var(--s-6);
}
.ev-hero-lede b { color: var(--ink); font-weight: 500; }

.ev-hero-meta {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-4) 0;
  margin-bottom: var(--s-5);
}
.ev-hero-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  padding: 6px 0;
  flex-wrap: wrap;
}
.ev-hero-meta-lbl {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ev-hero-meta-val { font-size: var(--fs-small); color: var(--ink-soft); }
.ev-hero-meta-val b { color: var(--ink); font-weight: 600; font-feature-settings: "tnum" 1; }
.ev-hero-meta-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 1px;
  transition: color var(--dur-1);
}
.ev-hero-meta-link:hover { color: var(--terracotta); }

/* — Hero card (next event preview) — */
.ev-hero-card {
  display: grid;
  grid-template-columns: auto 1fr;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  border-top: 4px solid var(--terracotta);
  transition: transform var(--dur-2) var(--ease-spring);
}
.ev-hero-card:hover { transform: translateY(-4px); }

.ev-hero-card-stamp {
  background:
    linear-gradient(180deg, var(--paper-coral), var(--paper-soft)),
    var(--paper);
  padding: var(--s-5) var(--s-4);
  border-right: 1px dashed var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 110px;
}
.ev-hero-card-day {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 400;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: var(--ls-tighter);
  font-feature-settings: "tnum" 1;
}
.ev-hero-card-mo {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-caps);
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
}
.ev-hero-card-yr {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.ev-hero-card-body {
  padding: var(--s-5) var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
}
.ev-hero-card-tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  color: var(--terracotta);
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(93,44,181,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.ev-hero-card-title {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  letter-spacing: var(--ls-heading);
}
.ev-hero-card-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ev-hero-card-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.ev-hero-card-meta svg { color: var(--terracotta); flex-shrink: 0; }

.ev-hero-card-status {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--leaf);
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ev-hero-card-status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(125,74,208,0.15);
  animation: ev-pulse 2s ease-in-out infinite;
}
@keyframes ev-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(125,74,208,0.15); }
  50%      { box-shadow: 0 0 0 7px rgba(125,74,208,0.05); }
}

.ev-hero-card-cta { align-self: flex-start; margin-top: 4px; }

@media (max-width: 540px) {
  .ev-hero-card { grid-template-columns: 1fr; }
  .ev-hero-card-stamp {
    border-right: 0;
    border-bottom: 1px dashed var(--rule);
    flex-direction: row;
    gap: var(--s-2);
    padding: var(--s-3);
  }
}


/* ── Calendar + Timeline dashboard ─────────────────────── */
.ev-board {
  padding: var(--s-9) 0;
  background:
    radial-gradient(ellipse at 0% 0%, var(--paper-soft), transparent 50%),
    radial-gradient(ellipse at 100% 100%, var(--paper-coral), transparent 50%),
    var(--paper);
}

.ev-board-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-7);
}
.ev-board-head h2 { margin: var(--s-3) 0; }
.ev-board-head h2 em { color: var(--terracotta); font-style: italic; }
.ev-board-sub { color: var(--ink-soft); }

.ev-board-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-6);
  align-items: start;
}
@media (max-width: 1023px) {
  .ev-board-grid { grid-template-columns: 1fr; }
}

/* — Calendar — */
.ev-cal {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-2);
}

.ev-cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  border-bottom: 1px dashed var(--rule);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-4);
}
.ev-cal-nav-row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.ev-cal-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--dur-1), border-color var(--dur-1), transform var(--dur-1);
}
.ev-cal-nav-btn:hover {
  background: var(--paper-coral);
  border-color: var(--ochre);
  transform: scale(1.08);
}
.ev-cal-nav-btn:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.ev-cal-mo {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  min-width: 140px;
  text-align: center;
}
.ev-cal-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-7) 0;
  color: var(--muted);
}
@keyframes ev-spin { to { transform: rotate(360deg); } }

.ev-cal-legend {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.ev-cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ev-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.ev-cal-wd {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  padding: 4px 0 8px;
  font-weight: 600;
}

.ev-cal-d {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  cursor: default;
  font-feature-settings: "tnum" 1;
  transition: border-color var(--dur-1), background var(--dur-1), transform var(--dur-1) var(--ease-spring);
  padding: 0;
}
.ev-cal-d span { line-height: 1; }
.ev-cal-d--out {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.ev-cal-d--has {
  background: rgba(255, 107, 53, 0.18);
  border-color: rgba(255, 107, 53, 0.55);
  border-width: 2px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
}
.ev-cal-d--has:hover {
  background: rgba(255, 107, 53, 0.32);
  border-color: var(--ochre);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}
.ev-cal-d--has:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.ev-cal-d--has.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.ev-cal-d--has.is-active .ev-dot { background: rgba(255,255,255,0.8); }

.ev-cal-d--today {
  background: var(--paper-coral);
  border-color: var(--ochre);
  font-weight: 700;
  color: var(--ochre-d, #e54d15);
}
.ev-cal-d--today.ev-cal-d--has {
  background: rgba(255, 107, 53, 0.22);
  border-color: var(--ochre);
}
.ev-cal-d--today.is-active {
  background: var(--ochre) !important;
  color: #fff !important;
  border-color: var(--ochre) !important;
}

.ev-cal-foot {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-small);
  color: var(--muted);
  flex-wrap: wrap;
  gap: var(--s-2);
}
.ev-cal-foot b { color: var(--ink); font-weight: 700; }


/* — Events panel (Upcoming / Past tabs) — */
.ev-events-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-2);
  max-height: 720px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.ev-events-panel::-webkit-scrollbar { width: 8px; }
.ev-events-panel::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }

.ev-events-head {
  border-bottom: 1px dashed var(--rule);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-4);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
}

.ev-events-tabs {
  display: flex;
  gap: 8px;
}

.ev-events-tab {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}
.ev-events-tab:hover { border-color: var(--terracotta); color: var(--terracotta); }
.ev-events-tab:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.ev-events-tab.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.ev-events-pane[hidden] { display: none; }

.ev-events-pane-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-4);
}

.ev-events-pane-title {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.ev-badge-coming {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ochre);
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
}

.ev-events-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.ev-events-list--upcoming {
  max-width: 100%;
}

.ev-events-list--past {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

.ev-events-empty {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
  padding: var(--s-4);
  background: var(--paper-soft);
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
}

.ev-event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.ev-event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.ev-event-card.is-flash {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.ev-event-card-link {
  display: grid;
  grid-template-columns: 140px 1fr;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
@media (max-width: 540px) {
  .ev-event-card-link { grid-template-columns: 1fr; }
}

.ev-event-card-media {
  position: relative;
  background: var(--paper-soft);
  min-height: 120px;
}
.ev-event-card-media img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  display: block;
}
@media (max-width: 540px) {
  .ev-event-card-media { aspect-ratio: 16 / 10; }
  .ev-event-card-media img { min-height: 0; height: auto; }
}

.ev-event-card-body {
  padding: var(--s-4) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  justify-content: center;
  min-width: 0;
}

.ev-event-card-tags {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
}

.ev-event-card-date {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.ev-event-card-mode {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.ev-event-card-mode--online {
  color: var(--teal);
  background: rgba(50, 55, 240, 0.1);
}
.ev-event-card-mode--offline {
  color: var(--terracotta);
  background: rgba(93, 44, 181, 0.1);
}

.ev-event-card-title {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ev-event-card-cta {
  margin-top: var(--s-1);
  align-self: flex-start;
}

.ev-event-card--upcoming {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--ochre);
  box-shadow: var(--shadow-2);
}
.ev-event-card--upcoming .ev-event-card-media img {
  filter: none;
}
.ev-event-card--upcoming .ev-event-card-title {
  color: var(--ink);
}
.ev-event-card--upcoming .ev-event-card-date {
  color: var(--terracotta);
}

.ev-event-card--past {
  background: var(--paper);
  border: 1px solid var(--rule);
  opacity: 0.92;
}
.ev-event-card--past .ev-event-card-media img {
  filter: grayscale(85%);
  opacity: 0.88;
}
.ev-event-card--past .ev-event-card-title,
.ev-event-card--past .ev-event-card-date,
.ev-event-card--past .ev-event-card-cta {
  color: var(--muted);
}
.ev-event-card--past .ev-event-card-mode--online,
.ev-event-card--past .ev-event-card-mode--offline {
  color: var(--muted);
  background: var(--paper-soft);
  border: 1px solid var(--rule);
}
.ev-event-card--past:hover .ev-event-card-media img {
  filter: grayscale(60%);
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  .ev-event-card,
  .ev-event-card:hover { transition: none; transform: none; }
}

/* — Timeline (legacy) — */
.ev-tl {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-2);
  max-height: 720px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.ev-tl::-webkit-scrollbar { width: 8px; }
.ev-tl::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }

.ev-tl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  border-bottom: 1px dashed var(--rule);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-4);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
}
.ev-tl-title {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ev-tl-filters {
  display: flex;
  gap: 6px;
}
.ev-tl-chip {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}
.ev-tl-chip:hover { border-color: var(--terracotta); color: var(--terracotta); }
.ev-tl-chip:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.ev-tl-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.ev-tl-rail {
  list-style: none;
  padding: 0 0 0 var(--s-5);
  margin: 0;
  position: relative;
}
.ev-tl-rail::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background:
    linear-gradient(180deg, var(--terracotta) 0%, var(--ochre) 50%, var(--rule) 50%, var(--rule) 100%);
  border-radius: 2px;
}

.ev-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: var(--s-4);
  padding: var(--s-3) 0;
}
.ev-tl-item.is-hidden { display: none; }
.ev-tl-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--terracotta);
  box-shadow: 0 0 0 4px var(--paper);
  z-index: 1;
}
.ev-tl-item--past::before { border-color: var(--muted); }
.ev-tl-item--feature::before {
  border-color: var(--ochre);
  width: 14px;
  height: 14px;
  left: -24px;
  top: 21px;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 8px rgba(255,107,53,0.18);
}

.ev-tl-stamp {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: var(--s-2);
  text-align: center;
  font-family: var(--ff-display);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: fit-content;
  min-width: 60px;
}
.ev-tl-stamp b {
  font-size: var(--fs-subheading);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "tnum" 1;
}
.ev-tl-stamp small {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--terracotta);
  font-weight: 700;
  margin-top: 2px;
  text-transform: uppercase;
}
.ev-tl-item--past .ev-tl-stamp small { color: var(--muted); }

.ev-tl-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ev-tl-tag {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ev-c-soft);
  color: var(--ev-c);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.ev-tl-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.ev-tl-body p {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.ev-tl-item.is-flash .ev-tl-body h3 { color: var(--terracotta); }
.ev-tl-item.is-flash::before {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 10px rgba(93,44,181,0.18);
  transform: scale(1.15);
  transition: transform var(--dur-2) var(--ease-spring);
}

.ev-tl-today {
  position: relative;
  margin: var(--s-3) 0;
  padding: 6px var(--s-3);
  list-style: none;
}
.ev-tl-today::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ochre);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 3px var(--ochre);
  z-index: 2;
}
.ev-tl-today span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: var(--ls-caps);
  font-weight: 800;
  color: var(--ochre);
  text-transform: uppercase;
  background: rgba(255,107,53,0.10);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed var(--ochre);
}


/* ── Upcoming events ───────────────────────────────────── */
.ev-up { padding: var(--s-9) 0; }

.ev-up-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.ev-up-head h2 { margin: var(--s-3) 0; }
.ev-up-head h2 em { color: var(--terracotta); font-style: italic; }
.ev-up-sub { color: var(--ink-soft); }

/* — Featured event — */
.ev-feature {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  margin-bottom: var(--s-7);
  border-top: 4px solid var(--terracotta);
}
@media (max-width: 1023px) { .ev-feature { grid-template-columns: 1fr; } }

.ev-feature-img {
  aspect-ratio: 4 / 3;
  background: var(--paper-soft) center/cover;
  position: relative;
  min-height: 280px;
}
.ev-feature-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,53,0) 50%, rgba(26,22,53,0.55) 100%);
  pointer-events: none;
}
.ev-feature-tag {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ochre);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(255,107,53,0.5);
}

.ev-feature-body {
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.ev-feature-body header { display: flex; flex-direction: column; gap: var(--s-2); }
.ev-feature-meta {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.ev-feature-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  line-height: 1.05;
  margin: 0;
}
.ev-feature-body h3 em {
  font-style: italic;
  color: var(--terracotta);
}
.ev-feature-body p {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}

.ev-feature-pills {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s-3);
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
  padding: var(--s-4) 0;
}
.ev-feature-pills li { display: flex; flex-direction: column; gap: 2px; }
.ev-feature-pills b {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.ev-feature-pills span {
  font-size: var(--fs-small);
  color: var(--ink);
  font-weight: 500;
}

.ev-feature-cta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.ev-feature-fill {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--leaf);
  font-weight: 600;
  font-style: italic;
}

/* — Upcoming grid cards — */
.ev-up-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 1023px) { .ev-up-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .ev-up-grid { grid-template-columns: 1fr; } }

.ev-card {
  display: grid;
  grid-template-columns: auto 1fr;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-top: 4px solid var(--ev-card-c, var(--ink-soft));
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
  min-width: 0;
}
.ev-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}

.ev-card-stamp {
  background: linear-gradient(180deg, var(--paper-soft), var(--paper));
  padding: var(--s-4) var(--s-3);
  border-right: 1px dashed var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 84px;
}
.ev-card-stamp b {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: var(--ls-display);
  font-feature-settings: "tnum" 1;
}
.ev-card-stamp small {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  color: var(--ev-card-c, var(--terracotta));
  font-weight: 700;
  text-transform: uppercase;
}

.ev-card-body {
  padding: var(--s-4) var(--s-4) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-width: 0;
}
.ev-card-tag {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ev-c-soft, var(--paper-soft));
  color: var(--ev-c, var(--ink));
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.ev-card-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.ev-card-body p {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.ev-card-meta {
  list-style: none;
  padding: 0;
  margin: var(--s-2) 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
}
.ev-card-meta li {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.04em;
  color: var(--muted);
}

.ev-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px dashed var(--rule);
  flex-wrap: wrap;
}
.ev-card-status {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ev-card-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.ev-card-status--open    { color: var(--leaf);  background: rgba(125,74,208,0.12); }
.ev-card-status--filling { color: var(--ochre); background: rgba(255,107,53,0.14); }
.ev-card-status--closed  { color: var(--muted); background: var(--paper-soft); }


/* ── Workshops & Trainings ─────────────────────────────── */
.ev-wk {
  padding: var(--s-9) 0;
  background: var(--paper-soft);
}

.ev-wk-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-7);
  padding: 0 var(--s-5);
}
.ev-wk-head h2 { margin: var(--s-3) 0; }
.ev-wk-head h2 em { color: var(--terracotta); font-style: italic; }
.ev-wk-sub { color: var(--ink-soft); }

.ev-wk-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.ev-wk-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  border-top: 4px solid var(--ochre);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.ev-wk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}
@media (max-width: 900px) {
  .ev-wk-card { grid-template-columns: 1fr; }
}

.ev-wk-card-side {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  background:
    linear-gradient(135deg, rgba(255,107,53,0.05), transparent 70%),
    var(--paper);
}
.ev-wk-card-tag {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255,107,53,0.12);
  color: var(--ochre);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.ev-wk-card-side h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.ev-wk-card-side p {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.ev-wk-card-meta {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
}
.ev-wk-card-meta li { display: flex; flex-direction: column; gap: 2px; }
.ev-wk-card-meta b {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.ev-wk-card-meta span { font-size: var(--fs-small); color: var(--ink); font-weight: 500; }
.ev-wk-card-side .btn { align-self: flex-start; margin-top: 4px; }

.ev-wk-days {
  list-style: none;
  padding: var(--s-6);
  margin: 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, #120e28 100%);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  counter-reset: ev-day;
}
.ev-wk-days::before {
  content: "";
  position: absolute;
  left: var(--s-6);
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(250,248,255,0.14);
}
.ev-wk-days li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  position: relative;
  border-bottom: 1px dashed rgba(250,248,255,0.12);
}
.ev-wk-days li:last-child { border-bottom: 0; }
.ev-wk-days li::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 24px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ochre);
  z-index: 1;
}
.ev-wk-days b {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--ochre);
  font-weight: 700;
  text-transform: uppercase;
  align-self: center;
}
.ev-wk-days span {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--paper);
  line-height: 1.3;
}
@media (max-width: 540px) {
  .ev-wk-days li { grid-template-columns: 56px 1fr; gap: var(--s-2); }
}


/* ── Webinars ──────────────────────────────────────────── */
.ev-web { padding: var(--s-9) 0; }

.ev-web-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.ev-web-head h2 { margin: var(--s-3) 0; }
.ev-web-head h2 em { color: var(--terracotta); font-style: italic; }
.ev-web-sub { color: var(--ink-soft); }

.ev-web-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1100px) { .ev-web-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .ev-web-grid { grid-template-columns: 1fr; } }

.ev-web-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
  border-top: 4px solid var(--teal);
}
.ev-web-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

.ev-web-card-poster {
  aspect-ratio: 16 / 10;
  background: var(--paper-soft) center/cover;
  position: relative;
}
.ev-web-card-poster::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,53,0) 50%, rgba(26,22,53,0.45) 100%);
  pointer-events: none;
}
.ev-web-card-badge {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-1);
  border-left: 3px solid var(--teal);
}
.ev-web-card-badge--live {
  background: var(--ochre);
  color: var(--ink);
  border-left-color: var(--terracotta);
}

.ev-web-card-body {
  padding: var(--s-4) var(--s-4) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}
.ev-web-card-meta {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.ev-web-card-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ev-web-card-body p {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.ev-web-card-body .btn-link { margin-top: auto; padding-top: var(--s-2); }


/* ── Completed events ──────────────────────────────────── */
.ev-past { padding: var(--s-9) 0; background: var(--paper-soft); }

.ev-past-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.ev-past-head h2 { margin: var(--s-3) 0; }
.ev-past-head h2 em { color: var(--terracotta); font-style: italic; }
.ev-past-sub { color: var(--ink-soft); }

.ev-past-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 1023px) { .ev-past-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .ev-past-grid { grid-template-columns: 1fr; } }

.ev-past-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.ev-past-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

.ev-past-card-img {
  aspect-ratio: 16 / 10;
  background: var(--paper-soft) center/cover;
  filter: grayscale(20%);
  transition: filter var(--dur-2);
}
.ev-past-card:hover .ev-past-card-img { filter: grayscale(0%); }

.ev-past-card-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.ev-past-card-meta {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.ev-past-card-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ev-past-card-body p {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.ev-past-card-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
}
.ev-past-card-stats li { display: flex; flex-direction: column; gap: 2px; }
.ev-past-card-stats b {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.ev-past-card-stats b small { font-size: var(--fs-small); color: var(--terracotta); font-style: italic; font-weight: 500; margin-left: 2px; }
.ev-past-card-stats span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.ev-past-card-body .btn-link { margin-top: auto; }


/* ── Gallery ───────────────────────────────────────────── */
.ev-gal { padding: var(--s-9) 0; }

.ev-gal-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.ev-gal-head h2 { margin: var(--s-3) 0; }
.ev-gal-head h2 em { color: var(--terracotta); font-style: italic; }
.ev-gal-sub { color: var(--ink-soft); }

.ev-gal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-3);
  grid-auto-rows: 140px;
  grid-auto-flow: dense;
}
@media (max-width: 720px) { .ev-gal-grid { grid-auto-rows: 100px; } }

.ev-gal-tile {
  background: var(--paper-soft) center/cover no-repeat;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 0;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.ev-gal-tile:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-3);
  z-index: 2;
}
.ev-gal-tile:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
.ev-gal-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,53,0) 50%, rgba(26,22,53,0.32) 100%);
  pointer-events: none;
  transition: opacity var(--dur-2);
}
.ev-gal-tile:hover::after { opacity: 0.6; }

.ev-gal-tile--1 { grid-column: span 6; grid-row: span 2; }
.ev-gal-tile--2 { grid-column: span 3; grid-row: span 1; }
.ev-gal-tile--3 { grid-column: span 3; grid-row: span 1; }
.ev-gal-tile--4 { grid-column: span 3; grid-row: span 2; }
.ev-gal-tile--5 { grid-column: span 3; grid-row: span 1; }
.ev-gal-tile--6 { grid-column: span 4; grid-row: span 2; }
.ev-gal-tile--7 { grid-column: span 5; grid-row: span 1; }
.ev-gal-tile--8 { grid-column: span 4; grid-row: span 2; }
.ev-gal-tile--9 { grid-column: span 8; grid-row: span 2; }

@media (max-width: 720px) {
  .ev-gal-tile { grid-column: span 6 !important; grid-row: span 1 !important; }
  .ev-gal-tile--1, .ev-gal-tile--6, .ev-gal-tile--9 {
    grid-column: span 12 !important;
    grid-row: span 2 !important;
  }
}


/* ── Reports & Downloads ───────────────────────────────── */
.ev-rep { padding: var(--s-9) 0; background: var(--paper-soft); }

.ev-rep-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.ev-rep-head h2 { margin: var(--s-3) 0; }
.ev-rep-head h2 em { color: var(--terracotta); font-style: italic; }
.ev-rep-sub { color: var(--ink-soft); }

.ev-rep-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.ev-rep-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4) var(--s-5);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2), border-color var(--dur-2);
}
.ev-rep-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--terracotta);
}

.ev-rep-icon {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--paper);
  background: var(--terracotta);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  min-width: 44px;
  text-align: center;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--terracotta);
}
.ev-rep-icon--ppt { background: var(--ochre); box-shadow: 0 0 0 1px var(--ochre); color: var(--ink); }
.ev-rep-icon--zip { background: var(--leaf);  box-shadow: 0 0 0 1px var(--leaf); }

.ev-rep-info { min-width: 0; }
.ev-rep-info h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 2px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.ev-rep-info span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.06em;
  color: var(--muted);
}

.ev-rep-dl {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1), transform var(--dur-1) var(--ease-spring);
}
.ev-rep-dl:hover {
  background: var(--terracotta);
  color: var(--paper);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}
.ev-rep-dl:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

@media (max-width: 540px) {
  .ev-rep-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: var(--s-2) var(--s-3);
  }
  .ev-rep-dl { grid-row: 1; grid-column: 2; justify-self: flex-end; }
  .ev-rep-info { grid-row: 2; grid-column: 1 / -1; }
}


/* ── CTA ───────────────────────────────────────────────── */
.ev-cta {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.ev-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255,107,53,0.18), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(93,44,181,0.25), transparent 50%);
  pointer-events: none;
}
.ev-cta > .container-x { position: relative; z-index: 2; }

.ev-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: start;
}
.ev-cta-grid h2 { color: var(--paper); margin: var(--s-3) 0; }
.ev-cta-grid h2 em { color: var(--ochre); font-style: italic; }
.ev-cta-lede { color: rgba(250,248,255,0.82); max-width: 48ch; line-height: 1.6; }

.ev-cta-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.ev-cta-path {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-2) var(--s-3);
  align-items: center;
  padding: var(--s-5);
  background: rgba(250,248,255,0.05);
  border: 1px solid rgba(250,248,255,0.14);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--paper);
  transition: background var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.ev-cta-path:hover {
  background: rgba(255,107,53,0.08);
  border-color: var(--ochre);
  transform: translateY(-2px);
}
.ev-cta-path b {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-subheading);
  color: var(--paper);
  grid-column: 1;
}
.ev-cta-path span {
  grid-column: 1; grid-row: 2;
  font-size: var(--fs-small);
  color: rgba(250,248,255,0.7);
  letter-spacing: 0.04em;
}
.ev-cta-path .arrow {
  grid-column: 2; grid-row: 1 / span 2;
  color: var(--ochre);
  transition: transform var(--dur-2) var(--ease-spring);
}
.ev-cta-path:hover .arrow { transform: translateX(4px); }

@media (max-width: 1023px) { .ev-cta-grid { grid-template-columns: 1fr; gap: var(--s-6); } }
@media (max-width: 540px)  { .ev-cta-paths { grid-template-columns: 1fr; } }


/* ── Lightbox ─────────────────────────────────────────── */
.ev-lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  animation: ev-lb-in var(--dur-2) var(--ease-out);
}
.ev-lb[hidden] { display: none; }

.ev-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,22,53,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ev-lb-close {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-1) var(--ease-spring), background var(--dur-1);
}
.ev-lb-close:hover { background: var(--ochre); transform: scale(1.06); }
.ev-lb-close:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.ev-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(250,248,255,0.12);
  color: var(--paper);
  border: 1px solid rgba(250,248,255,0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background var(--dur-1), border-color var(--dur-1), transform var(--dur-1) var(--ease-spring);
}
.ev-lb-nav:hover {
  background: var(--ochre);
  color: var(--ink);
  border-color: var(--ochre);
  transform: translateY(-50%) scale(1.06);
}
.ev-lb-nav:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.ev-lb-nav--prev { left: var(--s-5); }
.ev-lb-nav--next { right: var(--s-5); }

.ev-lb-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: calc(100vh - var(--s-9));
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.ev-lb-figure img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--s-9) - 80px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  background: #000;
}
.ev-lb-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 400;
  flex-wrap: wrap;
}
.ev-lb-counter {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: rgba(250,248,255,0.7);
  font-feature-settings: "tnum" 1;
}
.ev-lb-counter b { color: var(--ochre); font-weight: 700; }

@keyframes ev-lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (max-width: 720px) {
  .ev-lb-nav { width: 40px; height: 40px; }
  .ev-lb-nav--prev { left: 8px; }
  .ev-lb-nav--next { right: 8px; }
}

/* ===== get-involved.css ===== */
/* ============================================================
   Get Involved — youth-focused, action-oriented, warm
   six pathway panels · benefits · voices · banner · form
   ============================================================ */

/* — Per-pathway tone tokens — */
.gi-path[data-tone="ochre"]      { --gi-c: var(--ochre);      --gi-c-soft: rgba(255,107,53,0.12); }
.gi-path[data-tone="terracotta"] { --gi-c: var(--terracotta); --gi-c-soft: rgba(93,44,181,0.10); }
.gi-path[data-tone="leaf"]       { --gi-c: var(--leaf);       --gi-c-soft: rgba(125,74,208,0.12); }
.gi-path[data-tone="indigo"]     { --gi-c: var(--indigo);     --gi-c-soft: rgba(42,35,99,0.12); }
.gi-path[data-tone="teal"]       { --gi-c: var(--teal);       --gi-c-soft: rgba(50,55,240,0.10); }
.gi-path[data-tone="saffron"]    { --gi-c: var(--saffron);    --gi-c-soft: rgba(255,138,90,0.14); }


/* ── Hero ──────────────────────────────────────────────── */
.gi-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}
.gi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, var(--paper-coral), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(255,107,53,0.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.gi-hero > .container-x { position: relative; z-index: 2; }

.gi-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 1023px) { .gi-hero-grid { grid-template-columns: 1fr; gap: var(--s-7); } }

.gi-hero-title {
  font-size: var(--fs-hero-tight);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
  margin: var(--s-4) 0 var(--s-5);
}
.gi-hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--ochre), var(--terracotta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gi-hero-lede {
  font-family: var(--ff-body);
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: var(--fw-light);
  max-width: 56ch;
  margin: 0 0 var(--s-6);
}
.gi-hero-lede b { color: var(--ink); font-weight: 500; }
.gi-hand {
  font-family: var(--ff-hand);
  font-weight: 700;
  font-size: var(--fs-subheading);
  color: var(--terracotta);
  line-height: 1;
}

.gi-hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* — Six pathways quick-jump card — */
.gi-hero-paths {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-2);
  position: relative;
}
.gi-hero-paths-eyebrow {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: var(--s-3);
}
.gi-hero-paths-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.gi-hero-paths-list li {
  border-top: 1px dashed var(--rule);
}
.gi-hero-paths-list li:first-child { border-top: 0; }
.gi-hero-paths-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--dur-2) var(--ease-spring), color var(--dur-1);
}
.gi-hero-paths-list a:hover {
  color: var(--terracotta);
  transform: translateX(4px);
}
.gi-hero-paths-list b {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 400;
  font-feature-settings: "tnum" 1;
  color: var(--terracotta);
  letter-spacing: -0.02em;
  line-height: 1;
}
.gi-hero-paths-list span {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 500;
}
.gi-hero-paths-list i {
  font-style: normal;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.gi-join {
  padding: var(--s-9) 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(50, 55, 240, 0.10), transparent 50%),
    radial-gradient(ellipse at 100% 100%, var(--paper-coral), transparent 54%),
    var(--paper-soft);
}

.gi-join-head {
  max-width: 860px;
  margin-bottom: var(--s-7);
}

.gi-join-head h2 {
  margin: var(--s-3) 0 var(--s-4);
}

.gi-join-head h2 em {
  color: var(--terracotta);
  font-style: italic;
}

.gi-join-head p {
  color: var(--ink-soft);
  font-size: var(--fs-subheading);
  line-height: 1.6;
}

.gi-join-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
}

.gi-join-card[data-tone="ochre"]      { --gi-card: var(--ochre);      --gi-card-soft: rgba(255, 107, 53, 0.12); }
.gi-join-card[data-tone="terracotta"] { --gi-card: var(--terracotta); --gi-card-soft: rgba(93, 44, 181, 0.10); }
.gi-join-card[data-tone="leaf"]       { --gi-card: var(--leaf);       --gi-card-soft: rgba(125, 74, 208, 0.12); }
.gi-join-card[data-tone="indigo"]     { --gi-card: var(--indigo);     --gi-card-soft: rgba(42, 35, 99, 0.12); }

.gi-join-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-2) var(--ease-spring),
              box-shadow var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
}

.gi-join-card:hover {
  transform: translateY(-4px);
  border-color: var(--gi-card);
  box-shadow: var(--shadow-3);
}

.gi-join-card__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--gi-card-soft);
  color: var(--gi-card);
}

.gi-join-card__icon svg {
  display: block;
}

.gi-join-card__prefix {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.gi-join-card h3,
.gi-join-card p {
  margin: 0;
}

.gi-join-card h3 {
  font-size: var(--fs-subheading);
  line-height: 1.2;
  color: var(--ink);
}

.gi-join-card__desc {
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: var(--fs-body);
  flex: 1;
}

.gi-join-card__cta {
  margin-top: var(--s-2);
  align-self: flex-start;
}

@media (max-width: 1180px) {
  .gi-join-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gi-join-grid {
    grid-template-columns: 1fr;
  }
}


/* ── Stats strip ───────────────────────────────────────── */
.gi-stats {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-5) 0;
  position: relative;
  overflow: hidden;
}
.gi-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(255,107,53,0.18), transparent 50%),
    radial-gradient(ellipse at 0% 50%, rgba(93,44,181,0.20), transparent 50%);
  pointer-events: none;
}
.gi-stats > .container-x { position: relative; z-index: 2; }

.gi-stats-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
}
@media (max-width: 1023px) { .gi-stats-row { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); } }
@media (max-width: 540px)  { .gi-stats-row { grid-template-columns: 1fr; } }

.gi-stats-row li {
  text-align: center;
  padding: var(--s-3) var(--s-2);
  border-left: 1px solid rgba(250,248,255,0.16);
}
.gi-stats-row li:first-child { border-left: 0; }
@media (max-width: 1023px) { .gi-stats-row li { border-left: 0; } }

.gi-stats-row b {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  line-height: 1;
  color: var(--ochre);
  font-feature-settings: "tnum" 1;
}
.gi-stats-row span {
  display: block;
  margin-top: var(--s-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,255,0.7);
  font-weight: 600;
}


/* ── Pathways head ─────────────────────────────────────── */
.gi-pathways { padding: var(--s-9) 0; }

.gi-pathways-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-9);
}
.gi-pathways-head h2 { margin: var(--s-3) 0; }
.gi-pathways-head h2 em { color: var(--terracotta); font-style: italic; }
.gi-pathways-sub { color: var(--ink-soft); font-size: var(--fs-body); }
.gi-pathways-sub b { color: var(--ink); font-weight: 500; }


/* ── Pathway panel (×6 stacked) ────────────────────────── */
.gi-path {
  position: relative;
  margin-top: var(--s-9);
  padding-top: var(--s-7);
  border-top: 1px solid var(--rule);
}
.gi-path:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

.gi-path-num {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding: var(--s-2) var(--s-4);
  background: var(--gi-c-soft);
  border-radius: 999px;
  width: fit-content;
}
.gi-path-num b {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  color: var(--gi-c);
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.gi-path-num span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}

.gi-path-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 1023px) { .gi-path-grid { grid-template-columns: 1fr; } }

.gi-path--rev .gi-path-grid {
  grid-template-columns: 1.2fr 1.05fr;
}
@media (max-width: 1023px) {
  .gi-path--rev .gi-path-grid { grid-template-columns: 1fr; }
  .gi-path--rev .gi-path-cover { order: -1; }
}

/* Cover */
.gi-path-cover {
  aspect-ratio: 4 / 5;
  background: var(--paper-soft) center/cover;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gi-c);
  box-shadow: var(--shadow-2);
  position: sticky;
  top: var(--s-5);
}
@media (max-width: 1023px) { .gi-path-cover { position: relative; top: 0; aspect-ratio: 16 / 11; } }
.gi-path-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,53,0) 50%, rgba(26,22,53,0.50) 100%);
  pointer-events: none;
}
.gi-path-flag {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--gi-c);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--gi-c);
}

/* Body */
.gi-path-body { display: flex; flex-direction: column; gap: var(--s-4); }
.gi-path-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  line-height: 1.05;
  margin: 0;
}
.gi-path-body h3 em {
  font-style: italic;
  color: var(--gi-c);
}
.gi-path-lede {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 56ch;
}

/* Quick facts pills */
.gi-path-facts {
  list-style: none;
  padding: var(--s-4) 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
}
.gi-path-facts li { display: flex; flex-direction: column; gap: 2px; }
.gi-path-facts b {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.gi-path-facts span {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink);
}

/* Section subhead */
.gi-path-roles-h,
.gi-path-perks-h {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gi-c);
  font-weight: 700;
  margin: var(--s-3) 0 0;
}

/* Inner role-type cards */
.gi-path-roles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (max-width: 540px) { .gi-path-roles { grid-template-columns: 1fr; } }
.gi-path-roles li {
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--dur-1), transform var(--dur-2) var(--ease-spring), background var(--dur-2);
}
.gi-path-roles li:hover {
  border-color: var(--gi-c);
  background: var(--gi-c-soft);
  transform: translateY(-2px);
}
.gi-path-roles b {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink);
}
.gi-path-roles span {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Perks list */
.gi-path-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.gi-path-perks li {
  position: relative;
  padding-left: var(--s-5);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
}
.gi-path-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gi-c-soft);
  border: 2px solid var(--gi-c);
}
.gi-path-perks li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 4px;
  border-bottom: 2px solid var(--gi-c);
  border-left: 2px solid var(--gi-c);
  transform: rotate(-45deg);
}

.gi-path-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-3);
}


/* ── Why join (perks) ──────────────────────────────────── */
.gi-perks { padding: var(--s-9) 0; background: var(--paper-soft); }

.gi-perks-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.gi-perks-head h2 { margin: var(--s-3) 0; }
.gi-perks-head h2 em { color: var(--terracotta); font-style: italic; }
.gi-perks-head p { color: var(--ink-soft); font-size: var(--fs-body); }

.gi-perks-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .gi-perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gi-perks-grid { grid-template-columns: 1fr; } }

.gi-perks-grid li {
  padding: var(--s-6);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2), border-color var(--dur-2);
}
.gi-perks-grid li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--ochre);
}
.gi-perks-num {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  color: var(--ochre);
  line-height: 1;
  font-feature-settings: "tnum" 1;
  margin-bottom: var(--s-3);
  opacity: 0.85;
}
.gi-perks-grid h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  margin: 0 0 var(--s-2);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.gi-perks-grid p {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}


/* ── Voices (testimonials) ─────────────────────────────── */
.gi-voices { padding: var(--s-9) 0; }

.gi-voices-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.gi-voices-head h2 { margin: var(--s-3) 0; }
.gi-voices-head h2 em { color: var(--terracotta); font-style: italic; }

.gi-voices-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
@media (max-width: 720px) { .gi-voices-grid { grid-template-columns: 1fr; } }

.gi-voice {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.gi-voice:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}
.gi-voice::before {
  content: "“";
  position: absolute;
  top: -16px;
  left: var(--s-5);
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  line-height: 1;
  color: var(--ochre);
  font-weight: 400;
  opacity: 0.4;
  pointer-events: none;
}
.gi-voice-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--paper-soft) center/cover;
  border: 3px solid var(--ochre);
  flex-shrink: 0;
}
.gi-voice-quote {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.gi-voice footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
}
.gi-voice footer b {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--ink);
}
.gi-voice footer span {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}


/* ── CTA banner ────────────────────────────────────────── */
.gi-banner {
  padding: var(--s-7) 0 var(--s-9);
}
.gi-banner-card {
  background:
    radial-gradient(ellipse at 100% 100%, rgba(255,107,53,0.30), transparent 50%),
    radial-gradient(ellipse at 0% 0%, rgba(93,44,181,0.30), transparent 50%),
    var(--ink);
  color: var(--paper);
  padding: clamp(40px, 5vw, 72px);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gi-banner-eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 700;
  margin-bottom: var(--s-3);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,107,53,0.16);
}
.gi-banner-card h2 {
  color: var(--paper);
  margin: 0 0 var(--s-3);
  font-size: var(--fs-heading);
}
.gi-banner-card h2 em { color: var(--ochre); font-style: italic; }
.gi-banner-card p {
  color: rgba(250,248,255,0.82);
  font-size: var(--fs-body);
  line-height: 1.55;
  max-width: 50ch;
  margin: 0 auto var(--s-5);
}
.gi-banner-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-3);
}


/* ── Form ──────────────────────────────────────────────── */
.gi-form-wrap {
  padding: var(--s-9) 0;
  background:
    radial-gradient(ellipse at 0% 0%, var(--paper-coral), transparent 55%),
    radial-gradient(ellipse at 100% 100%, var(--paper-soft), transparent 50%),
    var(--paper);
}

.gi-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 1023px) { .gi-form-grid { grid-template-columns: 1fr; } }

/* Aside */
.gi-form-aside { position: sticky; top: var(--s-5); }
@media (max-width: 1023px) { .gi-form-aside { position: relative; top: 0; } }
.gi-form-aside h2 { margin: var(--s-3) 0; }
.gi-form-aside h2 em { color: var(--terracotta); font-style: italic; }
.gi-form-aside-lede {
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: 1.6;
  max-width: 36ch;
}
.gi-form-aside-lede b { color: var(--ink); font-weight: 500; }

.gi-form-promises {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.gi-form-promises li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: start;
  padding: var(--s-3) var(--s-4);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.gi-form-promises svg {
  color: var(--leaf);
  flex-shrink: 0;
  margin-top: 2px;
}
.gi-form-promises b {
  display: block;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--ink);
}
.gi-form-promises span {
  display: block;
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 2px;
}

/* Form */
.gi-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 48px);
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.gi-form-title {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  margin: 0;
  color: var(--ink);
}

.gi-form-row { display: flex; flex-direction: column; gap: 6px; position: relative; }
.gi-form-row label {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}
.gi-form-row label i {
  color: var(--terracotta);
  font-style: normal;
  font-weight: 800;
}
.gi-form-opt {
  text-transform: none;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--muted);
}

.gi-form input[type="text"],
.gi-form input[type="email"],
.gi-form input[type="tel"],
.gi-form select,
.gi-form textarea {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--dur-1), box-shadow var(--dur-2);
  width: 100%;
}
.gi-form input::placeholder,
.gi-form textarea::placeholder { color: var(--muted); }

.gi-form input:focus,
.gi-form select:focus,
.gi-form textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(93,44,181,0.10);
}
.gi-form input:user-invalid,
.gi-form select:user-invalid,
.gi-form textarea:user-invalid {
  border-color: var(--terracotta);
}

.gi-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
  font-family: var(--ff-body);
}

.gi-form-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 540px) { .gi-form-grid2 { grid-template-columns: 1fr; } }

/* Custom select caret */
.gi-form-select {
  position: relative;
}
.gi-form-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.gi-form-select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink);
  pointer-events: none;
}

/* Char counter */
.gi-form-counter {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(250,248,255,0.85);
  padding: 2px 8px;
  border-radius: 999px;
  font-feature-settings: "tnum" 1;
  pointer-events: none;
}
.gi-form-counter b { color: var(--ink); font-weight: 700; }

/* File upload */
.gi-form-file {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 14px;
  background: var(--paper-soft);
  border: 1.5px dashed var(--rule);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  letter-spacing: 0;
  text-transform: none;
  transition: border-color var(--dur-1), background var(--dur-1), color var(--dur-1);
}
.gi-form-file:hover,
.gi-form-file:focus-within {
  border-color: var(--terracotta);
  background: var(--paper);
  color: var(--ink);
}
.gi-form-file svg { color: var(--terracotta); flex-shrink: 0; }
.gi-form-file.is-filled { border-style: solid; border-color: var(--leaf); color: var(--ink); }
.gi-form-file.is-filled svg { color: var(--leaf); }

/* Checkbox */
.gi-form-check { padding-top: var(--s-2); }
.gi-form-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: start;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: var(--ff-body) !important;
  font-size: var(--fs-small) !important;
  font-weight: 500 !important;
  color: var(--ink-soft) !important;
  line-height: 1.55;
}
.gi-form-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.gi-form-check-mark {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background var(--dur-1), border-color var(--dur-1), color var(--dur-1);
}
.gi-form-checkbox input:checked + .gi-form-check-mark {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--paper);
}
.gi-form-checkbox input:focus-visible + .gi-form-check-mark {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}
.gi-form-check-text i { color: var(--terracotta); font-style: normal; font-weight: 700; }

/* Actions */
.gi-form-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  padding-top: var(--s-3);
  border-top: 1px dashed var(--rule);
}

/* Success state */
.gi-form-success {
  text-align: center;
  padding: var(--s-7) var(--s-4);
  background: var(--paper-coral);
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  color: var(--ink);
  animation: gi-success-in var(--dur-3) var(--ease-spring);
}
.gi-form-success[hidden] { display: none; }
@keyframes gi-success-in {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.gi-form-success svg { color: var(--leaf); margin-bottom: var(--s-3); }
.gi-form-success h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  margin: 0 0 var(--s-2);
  letter-spacing: var(--ls-heading);
}
.gi-form-success h3 em { font-style: italic; color: var(--terracotta); }
.gi-form-success p { color: var(--ink-soft); font-size: var(--fs-small); margin: 0; }
.gi-form-success a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 2px; }


/* ── Final CTA ─────────────────────────────────────────── */
.gi-cta { padding: var(--s-9) 0; background: var(--paper-soft); }

.gi-cta-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.gi-cta-head h2 { margin: var(--s-3) 0; }
.gi-cta-head h2 em { color: var(--terracotta); font-style: italic; }

.gi-cta-paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1023px) { .gi-cta-paths { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .gi-cta-paths { grid-template-columns: 1fr; } }

.gi-cta-path {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-2) var(--s-3);
  align-items: center;
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.gi-cta-path:hover {
  background: var(--paper-coral);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}
.gi-cta-path b {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-subheading);
  grid-column: 1;
}
.gi-cta-path span {
  grid-column: 1; grid-row: 2;
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.5;
}
.gi-cta-path .arrow {
  grid-column: 2; grid-row: 1 / span 2;
  color: var(--terracotta);
  transition: transform var(--dur-2) var(--ease-spring);
}
.gi-cta-path:hover .arrow { transform: translateX(4px); }

/* ===== home.css ===== */
/* ============================================================
   Home page — section-specific styles
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 96px) 0 clamp(56px, 7vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

/* ── Hero with background video ─────────────────────────── */
.hero.has-video {
  isolation: isolate;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(26, 22, 53, 0.72) 0%, rgba(74, 31, 149, 0.55) 50%, rgba(31, 35, 196, 0.7) 100%),
    radial-gradient(ellipse at 85% 100%, rgba(255, 107, 53, 0.18), transparent 60%);
}

.home-page {
  --banner-image-overlay:
    linear-gradient(135deg, rgba(26, 22, 53, 0.72) 0%, rgba(74, 31, 149, 0.55) 50%, rgba(31, 35, 196, 0.7) 100%),
    radial-gradient(ellipse at 85% 100%, rgba(255, 107, 53, 0.18), transparent 60%);
}
.hero.has-video .container-x {
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero.has-video .chapter { color: rgba(250, 248, 255, 0.78); }
.hero.has-video .chapter b { color: var(--ochre); }
.hero.has-video h1 { color: var(--paper); }
.hero.has-video h1 em {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--ochre);
}
.hero.has-video .hero-lede { color: rgba(250, 248, 255, 0.92); }
.hero.has-video .hero-lede b { color: var(--paper); }
.hero.has-video .hero-lede em { color: var(--ochre); }
.hero.has-video .hero-meta { color: rgba(250, 248, 255, 0.82); }
.hero.has-video .hero-meta .partners span {
  background: rgba(250, 248, 255, 0.18);
  border-color: rgba(250, 248, 255, 0.4);
  color: var(--paper);
}
.hero.has-video .btn-ghost {
  color: var(--paper);
  border-color: rgba(250, 248, 255, 0.55);
}
.hero.has-video .btn-ghost:hover {
  background: rgba(250, 248, 255, 0.14);
  color: var(--paper);
  border-color: var(--paper);
}

@media (max-width: 540px) {
  .hero.has-video { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero.hero-has-banners .hero-video {
  display: none;
}

.hero h1 {
  font-size: var(--fs-hero-tight);
  font-weight: var(--fw-regular);
  line-height: 1.02;
  letter-spacing: var(--ls-display);
  margin: var(--s-4) 0 var(--s-5);
}
.hero h1 .line { display: block; }
.hero h1 .line-nowrap { white-space: nowrap; }
.hero h1 em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9 Q 50 2 100 7 T 198 6' stroke='%23ff6b35' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
}

.hero-lede {
  font-size: var(--fs-lede);
  font-weight: var(--fw-light);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: var(--s-6);
}

.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }

.hero-meta {
  margin-top: var(--s-7);
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.06em;
}
.hero-meta .partners {
  display: flex; gap: 0;
}
.hero-meta .partners span {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 2px solid var(--paper);
  display: inline-grid;
  place-items: center;
  font-family: var(--ff-display);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--teal);
  margin-left: -8px;
  box-shadow: var(--shadow-1);
}
.hero-meta .partners span:first-child { margin-left: 0; }

/* — Hero impact banner (right column) — */
.hero-impact-banner {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  isolation: isolate;
}

.hero-impact-banner__backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(8deg);
  transform-origin: center;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 24px 48px -20px rgba(26, 22, 53, 0.55);
}

.hero-impact-banner__media {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 5;
  background: var(--ink);
}

.hero-impact-banner__link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-impact-banner__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-copy,
.hero-impact-banner {
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}

.hero-banner-sync--out {
  opacity: 0;
  transform: translateY(12px);
}

.hero-banner-sync--in {
  opacity: 1;
  transform: translateY(0);
}

.hero.hero-has-banners .hero-banner-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: var(--ls-display);
  margin: var(--s-4) 0 var(--s-5);
  color: var(--paper);
}

.hero.hero-has-banners .hero-banner-lede {
  font-size: 18px;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .hero.hero-has-banners .hero-banner-title {
    font-size: 24px;
    line-height: 1.1;
  }

  .hero.hero-has-banners .hero-banner-lede {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Legacy hero visual (kept for reference pages) */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 560px;
  margin-inline: auto;
}
.hero-visual .panel {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: var(--paper-deep);
}
.hero-visual .panel-1 {
  top: 0; left: 0;
  width: 64%; height: 60%;
  background-image: url("https://images.unsplash.com/photo-1588196749597-9ff075ee6b5b?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  border: 6px solid var(--paper);
  transform: rotate(-2.5deg);
}
.hero-visual .panel-2 {
  bottom: 4%; right: 0;
  width: 58%; height: 58%;
  background-image: url("https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  border: 6px solid var(--paper);
  transform: rotate(3deg);
}
.hero-visual .panel-tag {
  position: absolute;
  top: 3%;
  right: 0;
  background: rgba(250, 248, 255, 0.96);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  display: grid;
  gap: 4px;
  min-width: 180px;
  box-shadow: var(--shadow-2);
  z-index: 3;
}
.hero-visual .panel-tag .kicker,
.hero-visual .panel-stat .kicker {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero-visual .panel-tag strong {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-2xl);
  line-height: 1;
  color: var(--violet);
}
.hero-visual .panel-tag small {
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--ink-soft);
}
.hero-visual .panel-stat {
  position: absolute;
  bottom: 2%;
  left: 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 12px 16px;
  z-index: 3;
  box-shadow: var(--shadow-3);
  min-width: 190px;
}
.hero-visual .panel-stat .big {
  font-family: var(--ff-display);
  font-size: var(--fs-stat);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.hero-visual .panel-stat small {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.85;
  margin-top: 2px;
}

.hero-banner-swiper--bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: var(--ink);
}
.hero-banner-swiper--bg .swiper-wrapper,
.hero-banner-swiper--bg .swiper-slide {
  height: 100%;
}
.hero-banner-swiper--bg .hero-banner-slide {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.hero-banner-swiper--bg .hero-banner-slide picture,
.hero-banner-swiper--bg .hero-banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-banner-swiper--bg .hero-banner-slide img {
  object-fit: cover;
  object-position: center;
}

.hero-visual--stats-only {
  aspect-ratio: auto;
  min-height: clamp(220px, 32vw, 320px);
}
.hero-visual--stats-only .panel-tag,
.hero-visual--stats-only .panel-stat {
  z-index: 2;
}

.hero-banner-controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.hero-banner-controls--bg {
  inset: 0;
  transform: none;
  width: 100%;
  max-width: none;
  z-index: 5;
  pointer-events: none;
}
.hero-banner-controls--bg .hero-banner-prev,
.hero-banner-controls--bg .hero-banner-next,
.hero-banner-controls--bg .hero-banner-pagination {
  pointer-events: auto;
}
.hero-banner-controls--bg .swiper-arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.hero-banner-controls--bg .hero-banner-prev {
  position: absolute;
  left: clamp(12px, 3vw, 28px);
  top: 50%;
  transform: translateY(-50%);
}
.hero-banner-controls--bg .hero-banner-next {
  position: absolute;
  right: clamp(12px, 3vw, 28px);
  top: 50%;
  transform: translateY(-50%);
}
.hero-banner-controls .swiper-arrow,
.hero-banner-controls .hero-banner-pagination {
  pointer-events: auto;
}
.hero-banner-controls .swiper-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 255, 0.55);
  background: rgba(26, 22, 53, 0.55);
  color: var(--paper);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 6;
}
.hero-banner-controls .swiper-arrow:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--paper);
  /* transform: translateY(-2px); */
}
.hero-banner-controls--bg .hero-banner-pagination {
  position: absolute;
  left: 50%;
  bottom: clamp(72px, 10vw, 108px);
  transform: translateX(-50%);
  flex: none;
  width: auto;
  min-width: 56px;
  height: 26px;
  z-index: 6;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(26, 22, 53, 0.45);
  backdrop-filter: blur(4px);
  box-sizing: border-box;
}
.hero-banner-pagination {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  line-height: 0;
}
.hero-banner-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(250, 248, 255, 0.55);
  opacity: 1;
  flex-shrink: 0;
  transform: none !important;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.hero-banner-pagination .swiper-pagination-bullet-active {
  background: var(--ochre);
  opacity: 1;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-swiper .swiper-wrapper {
    transform: none !important;
  }
}

/* Folk-geometric pattern behind hero */
.hero-deco-1 {
  position: absolute;
  top: -20px; right: -40px;
  width: 220px; height: 220px;
  z-index: 1;
  opacity: 0.5;
}
.hero-deco-2 {
  position: absolute;
  bottom: 0; left: -60px;
  width: 280px; height: 200px;
  z-index: 1;
  opacity: 0.4;
}

/* ── SBC intro section ─────────────────────────────────── */
.intro { padding: var(--s-9) 0; }
.intro-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
@media (max-width: 900px) {
  .intro-head { grid-template-columns: 1fr; gap: var(--s-4); }
}
.intro-head h2 {
  font-size: var(--fs-3xl);
  line-height: 1.08;
  letter-spacing: var(--ls-heading);
  margin: 0;
}
.intro-head h2 em { color: var(--teal); }
.intro-head h2.hashtag-heading .hashtag-mark { color: var(--teal); }
.intro-head .intro-statement {
  margin: var(--s-3) 0 0;
  font-size: var(--fs-3xl);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
}
.intro-head p {
  margin: 0;
  font-size: var(--fs-lg);
  color: var(--ink-soft);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1023px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
  position: relative;
  overflow: hidden;
}
.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--paper-deep);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-4);
  color: var(--terracotta);
}
.pillar h4 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--s-2);
  font-weight: 500;
}
.pillar p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }
.pillar .ch-num {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  font-family: var(--ff-mono);
  font-size: var(--fs-xxs);
  letter-spacing: var(--ls-caps);
  color: var(--muted);
}

.programs-section {
  padding: var(--s-9) 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 107, 53, 0.08), transparent 28%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%);
}
.programs-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
.programs-head h2 {
  font-size: var(--fs-3xl);
  line-height: 1.05;
  margin: var(--s-3) 0 0;
  max-width: 14ch;
}
.programs-head h2 em {
  color: var(--terracotta);
  font-style: italic;
}
.programs-head p {
  color: var(--ink-soft);
  font-size: var(--fs-lg);
  margin: 0;
}
.programs-grid {
  display: none;
}

.programs-head--center-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}

.programs-head--center-slider h2 {
  max-width: none;
}

.programs-center-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.programs-center-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(93, 44, 181, 0.14);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-2), color var(--dur-2);
}

.programs-center-nav-btn:hover {
  background: var(--terracotta);
  color: var(--paper);
}

.programs-center-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.programs-center-lede {
  color: var(--ink-soft);
  font-size: var(--fs-md);
  margin: 0 0 var(--s-5);
  max-width: 62ch;
}

.programs-center-slider {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.programs-center-track {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s-5);
}

.programs-center-track::-webkit-scrollbar {
  display: none;
}

.programs-center-card {
  position: relative;
  flex: 1 1 0;
  min-width: 4.75rem;
  height: 26rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: flex var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), min-width var(--dur-3) var(--ease-out);
}

.programs-center-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.4),
    rgba(15,23,42,0.8)
  );
  z-index: 1;
  pointer-events: none;
}

.programs-center-card[active] {
  flex: 5 1 0;
  min-width: min(22rem, 52%);
  max-width: none;
  transform: translateY(-0.375rem);
  box-shadow: var(--shadow-3);
}

.programs-center-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.74) saturate(84%);
  transition: transform var(--dur-3) var(--ease-out), filter var(--dur-2);
}

.programs-center-card:hover .programs-center-card__bg {
  transform: scale(1.06);
  filter: brightness(0.88) saturate(100%);
}

.programs-center-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 0;
  background: none;
}

.programs-center-card__title {
  color: var(--paper);
  font-size: var(--fs-xl);
  line-height: 1.1;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.programs-center-card__thumb,
.programs-center-card__desc,
.programs-center-card__btn {
  display: none;
}

.programs-center-card[active] .programs-center-card__content {
  justify-content: flex-start;
  align-items: flex-end;
  padding: var(--s-5);
  gap: var(--s-4);
}

.programs-center-card[active] .programs-center-card__title {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: var(--fs-2xl);
  margin-bottom: var(--s-2);
}

.programs-center-card[active] .programs-center-card__thumb,
.programs-center-card[active] .programs-center-card__desc,
.programs-center-card[active] .programs-center-card__btn {
  display: block;
}

.programs-center-card[active] .programs-center-card__thumb {
  width: clamp(7.5rem, 14vw, 10.5rem);
  height: clamp(14rem, 28vw, 17.5rem);
}

.programs-center-card__thumb {
  width: 8.25rem;
  height: 16.75rem;
  border-radius: 0.5rem;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-2);
}

.programs-center-card__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1 1 0;
  min-width: 0;
}

.programs-center-card__desc {
  color: rgba(250, 248, 255, 0.92);
  font-size: var(--fs-sm);
  line-height: 1.5;
  max-width: min(48ch, 100%);
  margin: 0;
}

.programs-center-card__btn {
  width: max-content;
  border: 0;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--paper);
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}

.programs-center-card__btn:hover,
.programs-center-card__btn:focus-visible {
  color: var(--paper);
  background: var(--ochre-d);
  transform: translateY(-1px);
}

.programs-center-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0 var(--s-5);
}

.programs-center-dot {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 50%;
  background: rgba(93, 44, 181, 0.28);
  cursor: pointer;
  transition: transform var(--dur-2), background var(--dur-2);
}

.programs-center-dot.active {
  background: var(--terracotta);
  transform: scale(1.2);
}

/* Flip cards — 2 per row; compact height with scroll on back for long copy */
.program-flip-grid {
  --program-card-h: clamp(18rem, 52vw, 22.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  perspective: 75rem;
}

@media (min-width: 640px) {
  .program-flip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    --program-card-h: 22.5rem;
  }
}

.program-flip-card {
  width: 100%;
  max-width: none;
  height: var(--program-card-h);
  margin-inline: 0;
}

@media (min-width: 640px) {
  .program-flip-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - var(--s-6)) / 2);
    max-width: calc((100% - var(--s-6)) / 2);
    justify-self: center;
  }
}

.program-flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform var(--dur-3) var(--ease-out);
  border-radius: var(--radius-lg);
  outline: none;
}

.program-flip-card:hover .program-flip-card__inner,
.program-flip-card:focus-within .program-flip-card__inner {
  transform: rotateY(180deg);
}

.program-flip-card__face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.program-flip-card__front {
  background: var(--ink);
  box-shadow: var(--shadow-2);
}

.program-flip-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.program-flip-card__photo--placeholder {
  background: var(--brand-grad);
}

.program-flip-card__front-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--s-5);
  background: linear-gradient(180deg, rgba(26, 22, 53, 0.05) 35%, rgba(26, 22, 53, 0.82) 100%);
}

.program-flip-card__title {
  margin: 0;
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--paper);
  text-shadow: 0 0.125rem 0.5rem rgba(26, 22, 53, 0.45);
}

.program-flip-card__back {
  transform: rotateY(180deg);
  display: flex;
  align-items: stretch;
  color: var(--paper);
  box-shadow: var(--shadow-2);
}

.program-flip-card--grad .program-flip-card__back {
  background: var(--brand-grad);
}

.program-flip-card--orange .program-flip-card__back {
  background: var(--ochre);
}

.program-flip-card--black .program-flip-card__back {
  background: var(--ink);
}

.program-flip-card__back-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.program-flip-card__back-title {
  margin: 0;
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--paper);
}

.program-flip-card__description {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: rgba(250, 248, 255, 0.92);
}

.program-flip-card__link {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.program-flip-card__link:hover,
.program-flip-card__link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.programs-explore {
  display: flex;
  justify-content: center;
  margin-top: var(--s-7);
}

.programs-explore__btn {
  min-width: 12.5rem;
}

@media (max-width: 900px) {
  .programs-head {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .programs-head--center-slider {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--s-4);
  }

  .programs-center-slider {
    padding-inline: 0;
  }
}

@media (max-width: 767px) {
  .programs-center-controls {
    width: 100%;
    justify-content: space-between;
  }

  .programs-center-track {
    flex-direction: column;
    gap: 0.8rem;
    scroll-snap-type: y mandatory;
    justify-content: flex-start;
    align-items: stretch;
    padding-bottom: var(--s-4);
  }

  .programs-center-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 5rem;
    height: auto;
    scroll-snap-align: start;
  }

  .programs-center-card[active] {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    min-height: 24rem;
    transform: none;
  }

  .programs-center-card__content {
    justify-content: flex-start;
    padding: var(--s-4);
  }

  .programs-center-card__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: var(--fs-lg);
  }

  .programs-center-card__thumb,
  .programs-center-card__desc,
  .programs-center-card__btn {
    display: none;
  }

  .programs-center-card[active] .programs-center-card__content {
    align-items: flex-start;
    padding: var(--s-5);
    gap: var(--s-3);
  }

  .programs-center-card[active] .programs-center-card__title {
    font-size: var(--fs-2xl);
    margin-top: 0;
    margin-bottom: var(--s-2);
  }

  .programs-center-card[active] .programs-center-card__thumb {
    width: 8rem;
    height: 12rem;
  }

  .programs-center-card[active] .programs-center-card__desc {
    max-width: 100%;
    font-size: var(--fs-sm);
    line-height: 1.55;
  }

  .programs-center-card[active] .programs-center-card__btn {
    align-self: flex-start;
  }

  .programs-center-dots {
    display: none;
  }
}

@media (max-width: 480px) {
  .programs-center-card[active] {
    min-height: 25.5rem;
  }

  .programs-center-card[active] .programs-center-card__content {
    flex-direction: column;
    justify-content: flex-end;
  }

  .programs-center-card[active] .programs-center-card__thumb {
    width: 100%;
    max-width: 10rem;
    height: 8.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-flip-card__inner {
    transition: none;
    transform: none !important;
  }

  .program-flip-card__back {
    position: relative;
    transform: none;
    backface-visibility: visible;
    margin-top: var(--s-3);
    border-radius: var(--radius);
    min-height: auto;
  }

  .program-flip-card {
    height: auto;
    max-width: none;
  }

  .program-flip-card__inner {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .program-flip-card__front {
    position: relative;
    height: clamp(12rem, 40vw, 16rem);
  }

  .program-flip-card:hover .program-flip-card__inner,
  .program-flip-card:focus-within .program-flip-card__inner {
    transform: none;
  }
}

/* Legacy program-card rules kept for CMS html fallback */
.program-card {
  grid-column: span 3;
  background: var(--paper);
  border: 0.0625rem solid var(--rule);
  border-top: 0.25rem solid var(--terracotta);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.program-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-2);
}
.program-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--s-6);
  align-items: start;
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(250, 248, 255, 0.16);
  border-top-color: var(--ochre);
}
.program-card--teal { border-top-color: var(--teal); }
.program-card--ochre { border-top-color: var(--ochre); }
.program-card--leaf { border-top-color: var(--leaf); }
.program-card-main,
.program-card-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.program-card-copy {
  border-left: 0.0625rem dashed rgba(250, 248, 255, 0.2);
  padding-left: var(--s-6);
}
.program-tag {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--terracotta);
  border: 0.0625rem solid var(--rule);
  padding: 0.4rem 0.75rem;
  font-size: var(--fs-xxs);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.program-card--featured .program-tag {
  background: rgba(250, 248, 255, 0.1);
  border-color: rgba(250, 248, 255, 0.24);
  color: var(--ochre);
}
.program-card h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.program-card--featured h3 { color: var(--paper); }
.program-card p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.68;
  margin: 0;
}
.program-card--featured p { color: rgba(250, 248, 255, 0.82); }

@media (max-width: 900px) {
  .programs-head,
  .program-card--featured {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .program-card {
    grid-column: auto;
  }
  .program-card-copy {
    border-left: 0;
    border-top: 0.0625rem dashed rgba(250, 248, 255, 0.2);
    padding-left: 0;
    padding-top: var(--s-5);
  }
}

/* ── Impact dashboard ───────────────────────────────────── */
.dashboard {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  margin: var(--s-7) auto;
  isolation: isolate;
}
.dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 107, 53, 0.18) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(93, 44, 181, 0.22) 0%, transparent 50%);
  z-index: -1;
}
.dashboard-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-7);
}
@media (max-width: 900px) { .dashboard-head { grid-template-columns: 1fr; } }

.dashboard h2 {
  color: var(--paper);
  font-size: var(--fs-3xl);
  margin: 0;
}
.dashboard h2 em { color: var(--ochre); }
.dashboard-head p { color: rgba(250, 248, 255, 0.78); margin: 0; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dashboard-grid { grid-template-columns: 1fr; } }

.dashboard .stat {
  background: rgba(250, 248, 255, 0.04);
  border: 1px solid rgba(250, 248, 255, 0.12);
  color: var(--paper);
}
.dashboard .stat .stat-label { color: rgba(250, 248, 255, 0.6); }
.dashboard .stat .stat-num { color: var(--paper); }
.dashboard .stat .stat-num .unit { color: var(--ochre); }
.dashboard .stat .stat-foot { color: rgba(250, 248, 255, 0.7); border-color: rgba(250, 248, 255, 0.15); }

.dashboard-footer {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) { .dashboard-footer { grid-template-columns: 1fr; } }

.coverage-chart {
  background: rgba(250, 248, 255, 0.04);
  border: 1px solid rgba(250, 248, 255, 0.12);
  border-radius: var(--radius);
  padding: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.coverage-chart canvas { max-width: 180px; max-height: 180px; }
.coverage-chart .label { font-family: var(--ff-display); font-size: var(--fs-md); color: var(--paper); }
.coverage-chart .label b {
  display: block;
  font-size: var(--fs-stat);
  font-weight: 500;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.coverage-chart .label small {
  font-family: var(--ff-body);
  font-size: var(--fs-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 255, 0.55);
}

/* ── Initiatives bento ──────────────────────────────────── */
.home-events-grid .tile,
.home-events-grid .tile[data-aos] {
  opacity: 1;
  transform: none;
}

.home-events-grid .tile::after {
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.4),
    rgba(15,23,42,0.8)
  );
}

.home-events-section .champions-head h2 {
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  line-height: 1.12;
}

.home-events-section .champions-head .head-side {
  font-size: clamp(0.875rem, 0.95vw, 1rem);
  line-height: 1.55;
}

.home-events-section .champions-head .chapter {
  font-size: clamp(0.6875rem, 0.75vw, 0.75rem);
}

.home-events-grid .tile h4 {
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  line-height: 1.2;
}

.home-events-grid .tile p {
  font-size: clamp(0.75rem, 0.8vw, 0.8125rem);
  line-height: 1.45;
}

.home-events-grid .tile .tile-tag {
  font-size: clamp(0.625rem, 0.7vw, 0.6875rem);
  padding: 4px 8px;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: var(--s-4);
}
@media (max-width: 900px) { .initiatives-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 480px) { .initiatives-grid { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  text-decoration: none;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--banner-image-overlay);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.tile h4 {
  color: var(--paper);
  font-size: var(--fs-2xl);
  font-weight: 500;
  margin: 0 0 var(--s-2);
  line-height: 1.1;
  text-shadow: 0 4px 18px rgba(8, 7, 20, 0.7);
}
.tile p {
  font-size: var(--fs-sm);
  color: rgba(250, 248, 255, 0.94);
  margin: 0;
  text-shadow: 0 3px 14px rgba(8, 7, 20, 0.68);
}
.tile .tile-tag {
  position: absolute;
  top: var(--s-4); left: var(--s-4);
  background: rgba(250, 248, 255, 0.96);
  color: var(--ink);
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(18, 15, 37, 0.18);
}
.tile .arrow-circle {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(18, 15, 37, 0.28);
  border: 1px solid rgba(250, 248, 255, 0.48);
  display: grid; place-items: center;
  color: var(--paper);
  transition: background var(--dur-2), transform var(--dur-2) var(--ease-spring);
  box-shadow: 0 12px 24px rgba(18, 15, 37, 0.22);
}
.tile:hover .arrow-circle { background: var(--ochre); transform: rotate(-45deg); }

/* Bento sizing */
.tile-1 { grid-column: span 3; grid-row: span 2; background-image: url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1200&q=80"); }
.tile-2 { grid-column: span 3; background-image: url("https://images.unsplash.com/photo-1574278227304-fc55ad8e6b9d?auto=format&fit=crop&w=1100&q=80"); }
.tile-3 { grid-column: span 2; background-image: url("https://images.unsplash.com/photo-1542810634-71277d95dcbb?auto=format&fit=crop&w=900&q=80"); }
.tile-4 { grid-column: span 1; background-image: url("https://images.unsplash.com/photo-1517673400267-0251440c45dc?auto=format&fit=crop&w=900&q=80"); }
.tile-5 { grid-column: span 3; background-image: url("https://images.unsplash.com/photo-1591311594388-fe3aa9d33ff5?auto=format&fit=crop&w=1100&q=80"); }
@media (max-width: 900px) {
  .tile-1, .tile-2, .tile-3, .tile-4, .tile-5 { grid-column: span 1; grid-row: span 1; }
}

/* ── Champions carousel ─────────────────────────────────── */
.champions-section { padding: var(--s-9) 0; background: var(--paper-soft); position: relative; }
.champions-section::before, .champions-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 32px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 32' preserveAspectRatio='none'><path d='M0 32 L0 16 Q15 0 30 16 T60 16 L60 32 Z' fill='%23faf8ff'/></svg>");
  background-size: 60px 32px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.champions-section::before { top: 0; transform: rotate(180deg); }
.champions-section::after  { bottom: 0; }

.champions-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.champions-head h2 { margin: 0; font-size: var(--fs-3xl); line-height: 1.08; letter-spacing: var(--ls-heading); max-width: 12ch; }
.champions-head h2 em { color: var(--terracotta); }
.champions-head .head-side { max-width: 380px; color: var(--ink-soft); }

.champions-swiper {
  padding-bottom: var(--s-7);
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.champions-swiper .swiper-slide { height: auto; }

.champions-section .champion-photo {
  aspect-ratio: 16 / 10;
}
.champions-section .champion-body {
  padding: var(--s-4) var(--s-4) var(--s-5);
}
.champions-section .champion-where {
  margin-bottom: var(--s-2);
}
.champions-section .champion-name {
  font-size: var(--fs-body);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.champions-section .champion-name a {
  color: inherit;
  text-decoration: none;
}

.champions-section .champion-name a:hover {
  color: var(--terracotta);
}
.champions-section .champion-blurb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
.champions-section .champion-authored {
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
}

.champions-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  position: relative;
  z-index: 2;
}
.champions-controls .btn-link {
  position: relative;
  z-index: 1;
}
.champions-controls .nav-arrows { display: flex; gap: var(--s-2); }
.swiper-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: background var(--dur-1), color var(--dur-1), transform var(--dur-1) var(--ease-spring);
}
.swiper-arrow:hover {
  background: var(--ink);
  color: var(--paper);
  /* transform: translateY(-2px); */
}
.swiper-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.swiper-pagination-bar {
  flex: 1;
  height: 2px;
  background: var(--paper-deep);
  position: relative;
  border-radius: 999px;
}
.swiper-pagination-bar > span {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--brand-grad);
  border-radius: 999px;
  transition: width var(--dur-3) var(--ease-out);
}

/* ── Stories from the field ─────────────────────────────── */
.stories { padding: var(--s-9) 0; }
.stories-head { margin-bottom: var(--s-7); }
.stories-head h2 { font-size: var(--fs-3xl); line-height: 1.08; letter-spacing: var(--ls-heading); max-width: 14ch; margin: 0; }
.stories-head h2 em { color: var(--leaf); }
.stories-list { display: flex; flex-direction: column; gap: var(--s-7); }

/* ── Voices / testimonials ──────────────────────────────── */
.voices {
  padding: var(--s-9) 0;
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper-deep) 100%);
  position: relative;
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) { .voices-grid { grid-template-columns: 1fr; } }
.voices-head { text-align: center; margin-bottom: var(--s-7); }
.voices-head h2 { font-size: var(--fs-3xl); line-height: 1.08; letter-spacing: var(--ls-heading); margin: 0 auto; max-width: 18ch; }
.voices-head h2 em { color: var(--terracotta); }

/* ── Knowledge hub teaser ───────────────────────────────── */
.hub { padding: var(--s-9) 0; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr; } }

.hub-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .hub-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .hub-grid-4 { grid-template-columns: 1fr; } }

.resource {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
  position: relative;
}
.resource:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: var(--ink); }
.resource-type {
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--terracotta);
}
.resource h4 { font-size: var(--fs-lg); margin: 0; line-height: 1.2; }
.resource-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--muted);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
  margin-top: auto;
}
.resource-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--paper-deep);
  display: grid; place-items: center;
  color: var(--terracotta);
}

.hub-library-cta {
  text-align: center;
  margin-top: var(--s-6);
}

/* ── Get involved CTA ───────────────────────────────────── */
.home-get-involved .home-get-involved-grid,
.home-get-involved .home-get-involved-paths,
.home-get-involved .home-get-involved-grid[data-aos],
.home-get-involved .home-get-involved-paths[data-aos] {
  opacity: 1;
  transform: none;
}

.home-get-involved-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 900px) {
  .home-get-involved-grid { grid-template-columns: 1fr; }
}
.home-get-involved-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (max-width: 480px) {
  .home-get-involved-paths { grid-template-columns: 1fr; }
}
.home-get-involved-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.home-get-involved-btn .arrow {
  transition: transform var(--dur-1);
}
.home-get-involved-btn:hover .arrow {
  transform: translateX(3px);
}

/* Flush CTA band against footer — no paper-colour gap */
main.home-page + .footer {
  margin-top: 0;
}

.home-get-involved {
  padding-bottom: clamp(40px, 5vw, 72px);
}

.newsletter-subscribe--compact {
  margin-top: var(--s-6);
}
.newsletter-subscribe--compact .cta-lede {
  font-size: var(--fs-base);
}

/* ── Get involved CTA ───────────────────────────────────── */
.cta {
  position: relative;
  background: var(--brand-grad);
  color: var(--paper);
  padding: clamp(48px, 6vw, 96px) 0;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(255, 107, 53, 0.32) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(125, 74, 208, 0.35) 0%, transparent 50%);
  z-index: -1;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta h2 {
  color: var(--paper);
  font-size: var(--fs-display);
  margin: 0 0 var(--s-4);
}
.cta h2 em { font-style: italic; color: var(--ochre); }
.cta-lede { color: rgba(250, 248, 255, 0.92); font-size: var(--fs-lg); max-width: 50ch; margin: 0 0 var(--s-5); }

.cta-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (max-width: 480px) { .cta-paths { grid-template-columns: 1fr; } }
.cta-path {
  background: rgba(250, 248, 255, 0.08);
  border: 1px solid rgba(250, 248, 255, 0.2);
  padding: var(--s-5);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--paper);
  display: flex; flex-direction: column;
  gap: var(--s-2);
  transition: background var(--dur-1), transform var(--dur-1) var(--ease-spring);
}
.cta-path:hover { background: rgba(250, 248, 255, 0.15); transform: translateY(-2px); color: var(--paper); }
.cta-path b {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--paper);
}
.cta-path span {
  font-size: var(--fs-xs);
  color: rgba(250, 248, 255, 0.7);
  letter-spacing: 0.06em;
}
.cta-path .arrow { margin-top: auto; align-self: flex-end; opacity: 0.7; transition: opacity var(--dur-1), transform var(--dur-1); }
.cta-path:hover .arrow { opacity: 1; transform: translateX(3px); }

/* ── Home newsletter (replaces Get in Touch CTA) ───────── */
.home-newsletter .newsletter-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) {
  .home-newsletter .newsletter-section-grid { grid-template-columns: 1fr; }
}
.home-newsletter .newsletter-chapter {
  color: rgba(250, 248, 255, 0.7);
}
.home-newsletter .newsletter-panel {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.home-newsletter .newsletter--home {
  max-width: 100%;
  width: 100%;
}
.home-newsletter .newsletter--home input {
  font-size: var(--fs-base);
  padding: 12px 16px;
}
.home-newsletter .newsletter--home button {
  font-size: var(--fs-base);
  padding: 12px 22px;
  white-space: nowrap;
}
.home-newsletter .newsletter-note {
  font-size: var(--fs-sm);
  color: rgba(250, 248, 255, 0.72);
  margin: 0;
  max-width: 42ch;
  line-height: 1.5;
}
.home-newsletter .newsletter-alert {
  font-size: var(--fs-sm);
  margin: 0;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius);
}
.home-newsletter .newsletter-alert--success {
  background: rgba(250, 248, 255, 0.12);
  border: 1px solid rgba(250, 248, 255, 0.25);
  color: var(--paper);
}
.home-newsletter .newsletter-alert--error {
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.45);
  color: var(--paper);
}

@media (max-width: 767px) {
  .champions-head {
    align-items: flex-start;
    gap: var(--s-3);
    margin-bottom: var(--s-5);
  }
  .champions-head .head-side {
    max-width: none;
    margin: 0;
  }
  .initiatives-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(250px, auto);
    gap: var(--s-5);
    margin-top: var(--s-2);
  }
  .hero {
    padding: clamp(32px, 8vw, 48px) 0 clamp(44px, 10vw, 64px);
  }
  .hero.has-video {
    min-height: auto;
  }
  .hero-grid {
    gap: var(--s-6);
    align-items: start;
  }
  .hero h1 {
    font-size: var(--fs-2xl);
    line-height: 1.04;
    margin: var(--s-3) 0 var(--s-4);
  }
  .hero-lede {
    font-size: var(--fs-md);
    margin-bottom: var(--s-5);
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-meta {
    margin-top: var(--s-5);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-3);
  }
  .hero-meta .partners span {
    width: 32px;
    height: 32px;
    font-size: var(--fs-xs);
  }
  .hero-impact-banner {
    max-width: 260px;
    width: 100%;
  }
  .hero-visual {
    max-width: 320px;
    width: 100%;
    aspect-ratio: 1 / 1.02;
  }
  .hero-visual .panel-tag {
    top: 4%;
    right: 0;
    min-width: 148px;
    padding: 10px 12px;
  }
  .hero-visual .panel-tag strong {
    font-size: var(--fs-2xl);
  }
  .hero-visual .panel-stat {
    left: 2%;
    bottom: 2%;
    min-width: 160px;
    padding: 10px 12px;
  }
  .hero-visual .panel-stat .big {
    font-size: var(--fs-3xl);
  }
  .hero-deco-1 {
    width: 150px;
    height: 150px;
    top: 40px;
    right: -16px;
  }
  .hero-deco-2 {
    width: 180px;
    height: 130px;
    left: -24px;
    bottom: -8px;
  }
  .dashboard {
    padding: var(--s-5);
    border-radius: var(--radius-lg);
  }
  .coverage-chart {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-4);
  }
  .coverage-chart canvas {
    max-width: 140px;
    max-height: 140px;
  }
  .coverage-chart .label b {
    font-size: var(--fs-3xl);
  }
  .tile {
    min-height: 220px;
    padding: var(--s-4);
  }
  .home-events-grid .tile h4 {
    font-size: clamp(1rem, 3.5vw, 1.125rem);
  }
  .home-events-section .champions-head h2 {
    font-size: clamp(1.375rem, 5vw, 1.625rem);
  }
  .tile h4 {
    font-size: var(--fs-xl);
  }
  .champions-head h2,
  .stories-head h2,
  .voices-head h2,
  .intro-head h2,
  .dashboard h2,
  .cta h2 {
    font-size: var(--fs-3xl);
  }
  .champions-head .head-side,
  .intro-head p:not(.intro-statement),
  .cta-lede {
    font-size: var(--fs-md);
  }
  .intro-head .intro-statement {
    font-size: var(--fs-2xl);
  }
  .champions-controls {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .champions-controls .nav-arrows {
    order: 1;
  }
  .champions-controls .btn-link {
    order: 2;
    width: 100%;
  }
  .swiper-pagination-bar {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
  }
  .hub-grid-4,
  .cta-paths {
    grid-template-columns: 1fr;
  }
  .resource,
  .cta-path {
    padding: var(--s-4);
  }
  .resource-meta {
    gap: var(--s-2);
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .hero.has-video {
    min-height: auto;
  }
  .initiatives-grid {
    grid-auto-rows: minmax(250px, auto);
    gap: var(--s-5);
  }
  .hero h1 {
    font-size: var(--fs-3xl);
  }
  .hero h1 .line:last-child {
    max-width: 8ch;
  }
  .hero-lede {
    font-size: var(--fs-md);
  }
  .hero-impact-banner {
    max-width: 230px;
  }
  .hero-visual {
    max-width: 280px;
  }
  .hero-visual .panel-1,
  .hero-visual .panel-2 {
    border-width: 4px;
  }
  .hero-visual .panel-tag,
  .hero-visual .panel-stat {
    min-width: 0;
    width: calc(100% - 24px);
  }
  .hero-visual .panel-stat {
    left: 12px;
  }
  .hero-meta {
    font-size: var(--fs-xxs);
  }
  .tile .tile-tag {
    font-size: var(--fs-xxs);
    letter-spacing: 0.14em;
  }
  .tile {
    min-height: 250px;
    padding-block: var(--s-6);
  }
  .swiper-arrow {
    width: 46px;
    height: 46px;
  }
}

/* ── Events calendar ─────────────────────────────────────── */
.ev-calendar-wrap {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.ev-cal {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ev-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-5);
}
.ev-cal-month-label {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.ev-cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250, 248, 255, 0.08);
  border: 1px solid rgba(250, 248, 255, 0.15);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-1), border-color var(--dur-1);
  flex-shrink: 0;
}
.ev-cal-nav:hover {
  background: rgba(250, 248, 255, 0.16);
  border-color: rgba(250, 248, 255, 0.3);
}
.ev-cal-days-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
}
.ev-cal-days-head span {
  text-align: center;
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 248, 255, 0.45);
  padding: 0.25rem 0;
}
.ev-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  min-height: 200px;
}
.ev-cal-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  color: rgba(250, 248, 255, 0.4);
}
.ev-cal-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--s-5);
  color: rgba(250, 248, 255, 0.45);
  font-size: var(--fs-sm);
}
.ev-cal-spin {
  animation: cal-spin 0.9s linear infinite;
}
@keyframes cal-spin {
  to { transform: rotate(360deg); }
}
.ev-cal-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 8px;
  cursor: default;
  transition: background var(--dur-1);
  position: relative;
}
.ev-cal-cell--out {
  visibility: hidden;
}
.ev-cal-cell[data-date] {
  cursor: pointer;
}
.ev-cal-cell[data-date]:hover {
  background: rgba(250, 248, 255, 0.08);
}
.ev-cal-day-num {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(250, 248, 255, 0.7);
  line-height: 1;
}
.ev-cal-cell--today .ev-cal-day-num {
  color: var(--ochre);
  font-weight: 800;
}
.ev-cal-cell--today {
  background: rgba(255, 107, 53, 0.1);
}
.ev-cal-cell--event .ev-cal-day-num {
  color: var(--paper);
}
.ev-cal-cell--event {
  background: rgba(250, 248, 255, 0.06);
}
.ev-cal-cell--selected {
  background: var(--terracotta) !important;
}
.ev-cal-cell--selected .ev-cal-day-num {
  color: #fff !important;
}
.ev-cal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ochre);
  flex-shrink: 0;
}
.ev-cal-cell--selected .ev-cal-dot {
  background: rgba(255,255,255,0.7);
}
.ev-cal-legend {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-4);
  font-size: var(--fs-xxs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: rgba(250, 248, 255, 0.4);
  text-transform: uppercase;
}
.ev-cal-legend-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ochre);
}
.ev-cal-legend-today {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 107, 53, 0.3);
  border: 1px solid rgba(255, 107, 53, 0.5);
}
.ev-cal-events-list {
  border-left: 1px dashed rgba(250, 248, 255, 0.12);
  padding-left: var(--s-6);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ev-cal-events-empty {
  color: rgba(250, 248, 255, 0.35);
  font-size: var(--fs-sm);
  font-style: italic;
}
.ev-cal-event-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.ev-cal-event-item {
  display: flex;
}
.ev-cal-event-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-3) var(--s-4);
  background: rgba(250, 248, 255, 0.05);
  border: 1px solid rgba(250, 248, 255, 0.1);
  border-radius: var(--radius);
  text-decoration: none;
  width: 100%;
  transition: background var(--dur-1), border-color var(--dur-1);
  position: relative;
}
.ev-cal-event-link:hover {
  background: rgba(250, 248, 255, 0.1);
  border-color: rgba(250, 248, 255, 0.2);
}
.ev-cal-event-link svg {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  color: rgba(250, 248, 255, 0.3);
}
.ev-cal-event-date {
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
}
.ev-cal-event-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.35;
  padding-right: var(--s-5);
}

@media (max-width: 900px) {
  .ev-calendar-wrap {
    grid-template-columns: 1fr;
  }
  .ev-cal-events-list {
    border-left: 0;
    border-top: 1px dashed rgba(250, 248, 255, 0.12);
    padding-left: 0;
    padding-top: var(--s-5);
    min-height: auto;
  }
}

/* ── Insights sub-section (inside programs-section) ──────── */
.insights-sub-head {
  margin-top: var(--s-9);
  margin-bottom: var(--s-7);
  border-top: 0.0625rem solid var(--rule);
  padding-top: var(--s-8);
}
.insights-sub-head h2 {
  font-size: var(--fs-heading);
  line-height: 1.05;
  margin: var(--s-3) 0 var(--s-3);
  max-width: 20ch;
}
.insights-sub-head h2 em {
  color: var(--teal);
  font-style: italic;
}
.insights-sub-head p {
  color: var(--ink-soft);
  font-size: var(--fs-lg);
  margin: 0;
  max-width: 60ch;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}
.insight-card {
  background: var(--paper);
  border: 0.0625rem solid var(--rule);
  border-top: 0.25rem solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.insight-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-2);
}
.insight-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper-soft);
}
.insight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insight-card-body {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.insight-card h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.insight-card p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.68;
  margin: 0;
}
.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal);
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--s-2);
}
.insight-link:hover {
  color: var(--terracotta);
}
.insight-link i {
  transition: transform var(--dur-1);
}
.insight-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .insights-head {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== investcg-slider.css ===== */
/* InvestCG circular card slider — home page section */

.card-slider-section {
  padding: clamp(var(--s-6), 6vw, var(--s-9)) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(93, 44, 181, 0.06), transparent 32%),
    linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
}

.card-slider-content {
  background-color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(var(--s-5), 5vw, 3.75rem) clamp(var(--s-4), 4vw, var(--s-6));
  overflow: hidden;
  box-shadow: var(--shadow-1);
  border: 0.0625rem solid rgba(93, 44, 181, 0.08);
}

.card-slider-header {
  text-align: center;
  margin-bottom: var(--s-6);
}

.card-slider-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: var(--ls-display);
  margin: 0 0 var(--s-3);
  color: var(--ink);
}

.card-slider-description {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  margin: 0;
}

.card-slider-container {
  position: relative;
  width: 100%;
  height: 35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  touch-action: pan-y;
}

.card-slider-drag-handle {
  display: none;
}

.card-slider-circle {
  position: absolute;
  width: 50rem;
  height: 50rem;
  top: 6rem;
  left: 50%;
  transform: translate(-50%);
  overflow: visible;
  z-index: 2;
  pointer-events: none;
}

.card-slider-card {
  position: absolute;
  width: 0.0625rem;
  height: 100%;
  top: 0;
  left: 50%;
  transform-origin: 50%;
  transform: translate(-50%);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease-out;
  pointer-events: none;
}

.card-slider-card.is-active {
  pointer-events: auto;
}

.card-slider-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.card-slider-link:focus-visible {
  outline: 0.125rem solid var(--terracotta);
  outline-offset: 0.125rem;
  border-radius: var(--radius-lg);
}

.card-content {
  position: absolute;
  aspect-ratio: 173 / 231;
  width: 8rem;
  transform: translate(-50%) translateY(20%) translate(0, 0) rotate(0) scale(1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-slider-footer {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--s-5);
  text-align: center;
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
}

.active-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  padding-inline: var(--s-2);
}

.active-card-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}

.active-card-description {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0;
}

.card-slider-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.card-slider-section .nav-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--terracotta);
  color: var(--paper);
  border: none;
  cursor: pointer;
  transition: background-color var(--dur-2) ease, transform var(--dur-1) ease;
  position: relative;
  z-index: 20;
}

.card-slider-section .nav-btn:hover {
  background-color: var(--terracotta-d);
}

.card-slider-section .nav-btn:active {
  transform: scale(0.95);
}

.card-slider-section .nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.card-slider-section .nav-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ── Mobile: stacked single-card layout ─────────────────── */
@media (max-width: 767px) {
  .card-slider-content {
    padding: var(--s-5) var(--s-4) var(--s-6);
    border-radius: var(--radius-lg);
  }

  .card-slider-container {
    height: auto;
    min-height: 0;
    gap: var(--s-5);
    justify-content: flex-start;
  }

  .card-slider-container.is-mobile {
    padding-top: var(--s-2);
  }

  .card-slider-circle {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    min-height: clamp(220px, 62vw, 280px);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
  }

  .card-slider-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none !important;
  }

  .card-slider-card:not(.is-active) {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
  }

  .card-slider-card.is-active {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
  }

  .card-content {
    position: relative;
    width: min(11.5rem, 52vw);
    max-width: 220px;
    transform: none !important;
    box-shadow: var(--shadow-3);
  }

  .active-card-title {
    font-size: 24px;
    line-height: 1.2;
    padding-inline: var(--s-1);
  }

  .active-card-description {
    font-size: 16px;
    line-height: 1.55;
    max-width: none;
    padding-inline: var(--s-1);
  }

  .card-slider-footer {
    gap: var(--s-4);
    padding-top: var(--s-2);
  }
}

@media (max-width: 390px) {
  .card-slider-content {
    padding: var(--s-4) var(--s-3) var(--s-5);
  }

  .card-content {
    width: min(10.5rem, 58vw);
  }

  .active-card-title {
    font-size: 22px;
  }

  .active-card-description {
    font-size: 15px;
  }
}

/* ── Tablet ─────────────────────────────────────────────── */
@media (min-width: 640px) and (max-width: 767px) {
  .card-content {
    width: min(12.5rem, 44vw);
  }
}

@media (min-width: 640px) {
  .card-content {
    width: 10rem;
    transform: translate(-50%) translateY(25%) translate(0, 0) rotate(0) scale(1);
  }
}

@media (min-width: 768px) {
  .card-slider-container {
    height: 42rem;
  }

  .card-slider-circle {
    width: 80rem;
    height: 80rem;
    top: 8rem;
  }

  .card-content {
    width: 13rem;
    transform: translate(-50%) translateY(35%) translate(0, 0) rotate(0) scale(1);
  }

  .active-card-title {
    font-size: clamp(1.75rem, 2.5vw, 2rem);
  }

  .active-card-description {
    font-size: 18px;
    max-width: 44ch;
  }
}

@media (min-width: 960px) {
  .card-slider-container {
    height: 50rem;
    padding-bottom: 0;
  }

  .card-slider-circle {
    width: 152rem;
    height: 152rem;
    top: 15rem;
  }

  .card-content {
    width: 16rem;
    transform: translate(-50%) translateY(40%) translate(0, 0) rotate(0) scale(1);
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .card-slider-circle {
    width: 120vw;
    height: 120vw;
    top: 10rem;
  }
}

/* ===== knowledge-hub.css ===== */
/* ============================================================
   Knowledge Hub — library-style UI
   filter bar · clean cards · format badges · preview modal
   ============================================================ */

/* — Per-category & per-format tokens — */
.kh-tag[data-cat="research"] { --kh-c: var(--terracotta); --kh-c-soft: rgba(93, 44, 181, 0.10); }
.kh-tag[data-cat="iec"]      { --kh-c: var(--ochre);      --kh-c-soft: rgba(255,107,53, 0.12); }
.kh-tag[data-cat="toolkit"]  { --kh-c: var(--teal);       --kh-c-soft: rgba(50, 55,240, 0.10); }
.kh-tag[data-cat="guide"]    { --kh-c: var(--leaf);       --kh-c-soft: rgba(125,74,208, 0.12); }
.kh-tag[data-cat="report"]   { --kh-c: var(--indigo);     --kh-c-soft: rgba(42, 35, 99, 0.12); }
.kh-tag[data-cat="data"]     { --kh-c: var(--saffron);    --kh-c-soft: rgba(255,138,90, 0.14); }

.kh-fmt[data-fmt="PDF"]   { --kh-fmt-c: var(--terracotta); }
.kh-fmt[data-fmt="PPT"]   { --kh-fmt-c: var(--ochre); }
.kh-fmt[data-fmt="ZIP"]   { --kh-fmt-c: var(--leaf); }
.kh-fmt[data-fmt="CSV"]   { --kh-fmt-c: var(--teal); }
.kh-fmt[data-fmt="MP4"]   { --kh-fmt-c: var(--indigo); }
.kh-fmt[data-fmt="CANVA"] { --kh-fmt-c: var(--ochre); }


/* — Shared chip/tag/format atoms — */
.kh-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--kh-c-soft);
  color: var(--kh-c);
  padding: 5px 10px;
  border-radius: 999px;
}
.kh-tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--kh-c);
}

.kh-fmt {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--paper);
  background: var(--kh-fmt-c);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.06);
}


/* ── Hero ──────────────────────────────────────────────── */
.kh-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 4vw, 64px);
}

.kh-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .kh-hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.kh-hero-title {
  font-size: var(--fs-hero-tight);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
  margin: var(--s-4) 0 var(--s-5);
}
.kh-hero-title em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kh-hero-lede {
  font-family: var(--ff-body);
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: var(--fw-light);
  max-width: 56ch;
  margin: 0 0 var(--s-6);
}
.kh-hero-lede b { color: var(--ink); font-weight: 500; }

.kh-hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* — Hero stats — */
.kh-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-2);
}
.kh-hero-stat {
  padding: var(--s-3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--paper-soft), transparent 70%),
    var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kh-hero-stat b {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: var(--ls-display);
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.kh-hero-stat span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}


/* ── Search + filter bar ───────────────────────────────── */
.kh-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 248, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-4) 0 var(--s-3);
}

.kh-bar-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (max-width: 1100px) {
  .kh-bar-inner { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* — Search input — */
.kh-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0 var(--s-2) 0 var(--s-4);
  height: 46px;
  transition: border-color var(--dur-1), box-shadow var(--dur-2);
}
.kh-search:focus-within {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(93,44,181,0.10);
}

.kh-search-icon { color: var(--muted); flex-shrink: 0; }
.kh-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 var(--s-2);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.kh-search-input::placeholder { color: var(--muted); }
.kh-search-input::-webkit-search-cancel-button { display: none; }

.kh-search-clear {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 0;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-1), color var(--dur-1);
}
.kh-search-clear:hover { background: var(--terracotta); color: var(--paper); }
.kh-search-clear:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

/* — Filter chips — */
.kh-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 1100px) { .kh-filters { justify-content: flex-start; } }

.kh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 600;
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1), transform var(--dur-1) var(--ease-spring);
}
.kh-chip:hover { border-color: var(--terracotta); color: var(--terracotta); transform: translateY(-1px); }
.kh-chip:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.kh-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.kh-chip.is-active .kh-chip-dot { background: var(--ochre) !important; }

.kh-chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}

/* — Bar meta (count + reset) — */
.kh-bar-meta {
  margin-top: var(--s-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.kh-count b { color: var(--ink); font-weight: 700; font-feature-settings: "tnum" 1; }
.kh-reset {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
}


/* ── Featured resource ─────────────────────────────────── */
.kh-feature-wrap {
  padding: var(--s-7) 0 var(--s-5);
}

.kh-feature {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border-top: 4px solid var(--terracotta);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2);
}
.kh-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}
.kh-feature.is-hidden { display: none; }
@media (max-width: 1023px) { .kh-feature { grid-template-columns: 1fr; } }

.kh-feature-cover {
  aspect-ratio: 4 / 3;
  background: var(--paper-soft) center/cover;
  position: relative;
  min-height: 280px;
}
.kh-feature-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,53,0) 50%, rgba(26,22,53,0.55) 100%);
  pointer-events: none;
}
.kh-feature-flag {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ochre);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(255,107,53,0.5);
}

.kh-feature-body {
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.kh-feature-head { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.kh-feature-title {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  line-height: 1.05;
  margin: 0;
}
.kh-feature-title em {
  font-style: italic;
  color: var(--terracotta);
}
.kh-feature-desc {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}

.kh-feature-meta {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: var(--s-3);
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
  padding: var(--s-4) 0;
}
.kh-feature-meta li { display: flex; flex-direction: column; gap: 2px; }
.kh-feature-meta b {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.kh-feature-meta span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.kh-feature-cta {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}


/* ── Resource grid ─────────────────────────────────────── */
.kh-grid-wrap { padding: var(--s-7) 0 var(--s-9); }

.kh-grid-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.kh-grid-head h2 { margin: var(--s-3) 0; }
.kh-grid-head h2 em { color: var(--terracotta); font-style: italic; }
.kh-grid-sub { color: var(--ink-soft); }

.kh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 1023px) { .kh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .kh-grid { grid-template-columns: 1fr; } }

.kh-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2), border-color var(--dur-2);
}
.kh-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--terracotta);
}
.kh-card.is-hidden { display: none; }

.kh-card--canva { border-top: 4px solid var(--ochre); }
.kh-canva-ribbon {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  z-index: 3;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ochre);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 12px -4px rgba(255,107,53,0.5);
}

.kh-card-cover {
  aspect-ratio: 16 / 10;
  background: var(--paper-soft) center/cover;
  position: relative;
  filter: saturate(0.95);
  transition: filter var(--dur-2);
}
.kh-card:hover .kh-card-cover { filter: saturate(1.05); }
.kh-card-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,53,0) 60%, rgba(26,22,53,0.32) 100%);
  pointer-events: none;
}

.kh-card-body {
  padding: var(--s-4) var(--s-5) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}
.kh-card-body header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}
.kh-card-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.kh-card-body p {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.kh-card-meta {
  list-style: none;
  padding: var(--s-3) 0 0;
  margin: 0;
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  border-top: 1px dashed var(--rule);
  margin-top: auto;
}
.kh-card-meta li {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.04em;
  color: var(--muted);
  font-feature-settings: "tnum" 1;
}

.kh-card-body footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--rule);
}

.kh-dl {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1), transform var(--dur-1) var(--ease-spring);
}
.kh-dl:hover {
  background: var(--terracotta);
  color: var(--paper);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}
.kh-dl:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }


/* — Empty state — */
.kh-empty {
  text-align: center;
  padding: var(--s-9) var(--s-5);
  color: var(--muted);
  border: 1px dashed var(--rule);
  border-radius: var(--radius-lg);
  margin-top: var(--s-5);
}
.kh-empty[hidden] { display: none; }
.kh-empty svg { color: var(--muted); margin-bottom: var(--s-3); }
.kh-empty h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 var(--s-2);
  letter-spacing: -0.01em;
}
.kh-empty p { font-size: var(--fs-small); margin: 0; color: var(--ink-soft); }


/* ── Canva spotlight ───────────────────────────────────── */
.kh-canva {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.kh-canva::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255,107,53,0.20), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(93,44,181,0.30), transparent 50%);
  pointer-events: none;
}
.kh-canva > .container-x { position: relative; z-index: 2; }

.kh-canva-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 1023px) { .kh-canva-grid { grid-template-columns: 1fr; } }

.kh-canva-text h2 {
  color: var(--paper);
  margin: var(--s-3) 0;
}
.kh-canva-text h2 em { color: var(--ochre); font-style: italic; }
.kh-canva-lede {
  font-size: var(--fs-lede);
  font-weight: var(--fw-light);
  color: rgba(250,248,255,0.82);
  max-width: 50ch;
  line-height: 1.55;
  margin: 0 0 var(--s-5);
}

.kh-canva-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
@media (max-width: 540px) { .kh-canva-list { grid-template-columns: 1fr; } }
.kh-canva-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  padding: var(--s-4);
  background: rgba(250,248,255,0.05);
  border: 1px solid rgba(250,248,255,0.14);
  border-radius: var(--radius);
  align-items: start;
  transition: background var(--dur-2), border-color var(--dur-2);
}
.kh-canva-list li:hover {
  background: rgba(255,107,53,0.08);
  border-color: var(--ochre);
}
.kh-canva-num {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 400;
  color: var(--ochre);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.kh-canva-list b {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--paper);
  display: block;
  margin-bottom: 2px;
}
.kh-canva-list span {
  font-size: var(--fs-small);
  color: rgba(250,248,255,0.7);
  line-height: 1.5;
}


/* ── CTA ───────────────────────────────────────────────── */
.kh-cta {
  padding: var(--s-9) 0;
  background:
    radial-gradient(ellipse at 0% 0%, var(--paper-soft), transparent 50%),
    radial-gradient(ellipse at 100% 100%, var(--paper-coral), transparent 50%),
    var(--paper);
}

.kh-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 1023px) { .kh-cta-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

.kh-cta-grid h2 { margin: var(--s-3) 0; }
.kh-cta-grid h2 em { color: var(--terracotta); font-style: italic; }
.kh-cta-lede {
  font-size: var(--fs-lede);
  font-weight: var(--fw-light);
  color: var(--ink-soft);
  max-width: 48ch;
  line-height: 1.55;
}

.kh-cta-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
@media (max-width: 540px) { .kh-cta-paths { grid-template-columns: 1fr; } }

.kh-cta-path {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-2) var(--s-3);
  align-items: center;
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--dur-2), border-color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.kh-cta-path:hover {
  background: var(--paper-coral);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}
.kh-cta-path b {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-subheading);
  grid-column: 1;
}
.kh-cta-path span {
  grid-column: 1; grid-row: 2;
  font-size: var(--fs-small);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.kh-cta-path .arrow {
  grid-column: 2; grid-row: 1 / span 2;
  color: var(--terracotta);
  transition: transform var(--dur-2) var(--ease-spring);
}
.kh-cta-path:hover .arrow { transform: translateX(4px); }


/* ── Preview Modal ─────────────────────────────────────── */
.kh-mod {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  animation: kh-mod-in var(--dur-2) var(--ease-out);
}
.kh-mod[hidden] { display: none; }

@keyframes kh-mod-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.kh-mod-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,22,53,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kh-mod-card {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  width: min(720px, 100%);
  max-height: calc(100vh - var(--s-9));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: kh-mod-card-in var(--dur-3) var(--ease-spring);
}
@keyframes kh-mod-card-in {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.kh-mod-close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-1), border-color var(--dur-1), transform var(--dur-1) var(--ease-spring);
}
.kh-mod-close:hover { background: var(--ochre); border-color: var(--ochre); transform: scale(1.06); }
.kh-mod-close:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.kh-mod-cover {
  aspect-ratio: 16 / 9;
  background: var(--paper-soft) center/cover;
  flex-shrink: 0;
  position: relative;
}
.kh-mod-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,53,0) 60%, rgba(26,22,53,0.32) 100%);
  pointer-events: none;
}

.kh-mod-body {
  padding: var(--s-6);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.kh-mod-body::-webkit-scrollbar { width: 8px; }
.kh-mod-body::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }

.kh-mod-head { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.kh-mod-body h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.kh-mod-desc {
  font-size: var(--fs-body);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.kh-mod-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3) var(--s-5);
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
  padding: var(--s-4) 0;
  margin: 0;
}
.kh-mod-specs > div { display: flex; flex-direction: column; gap: 2px; }
.kh-mod-specs dt {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.kh-mod-specs dd {
  font-size: var(--fs-small);
  color: var(--ink);
  font-weight: 500;
  margin: 0;
  font-feature-settings: "tnum" 1;
}

.kh-mod-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.kh-mod-canva[hidden] { display: none; }

@media (max-width: 540px) {
  .kh-mod-card { max-height: calc(100vh - var(--s-5)); }
  .kh-mod-cover { aspect-ratio: 16 / 11; }
  .kh-mod-body { padding: var(--s-4) var(--s-4) var(--s-5); }
  .kh-mod-specs { grid-template-columns: 1fr; }
}

/* ===== learning-corner.css ===== */
/* Learning Corner — redesigned layout */

#lc-welcome[hidden],
#lc-loading[hidden],
#lc-category-detail[hidden],
#lc-error[hidden],
#lc-resource-empty[hidden],
#lc-breadcrumb[hidden],
#lc-back-all[hidden] {
  display: none !important;
}

.lc-page {
  background: var(--bg-grad-warm);
}

/* ── Page hero ───────────────────────────────────────────── */
.lc-page-hero {
  padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(93, 44, 181, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(50, 55, 240, 0.08), transparent 50%),
    var(--paper);
}

.lc-page-hero__inner {
  max-width: 40rem;
}

.lc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0 0 var(--s-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--terracotta);
}

.lc-page-hero__title {
  margin: 0 0 var(--s-4);
  font-size: var(--fs-display);
  font-weight: var(--fw-regular);
  line-height: 1.02;
  letter-spacing: var(--ls-display);
  color: var(--ink);
}

.lc-page-hero__title em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lc-page-hero__lede {
  margin: 0;
  max-width: 52ch;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-soft);
}

.lc-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  list-style: none;
  margin: var(--s-6) 0 0;
  padding: 0;
}

.lc-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 5.5rem;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-1);
}

.lc-hero-stats strong {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: var(--fw-regular);
  line-height: 1;
  color: var(--terracotta);
}

.lc-hero-stats span {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Shell & toolbar ─────────────────────────────────────── */
.lc-shell {
  padding: clamp(24px, 4vw, 40px) 0 clamp(48px, 6vw, 80px);
}

.lc-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  margin: 0 0 var(--s-6);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}

.lc-steps__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: border-color var(--dur-1), color var(--dur-1), background var(--dur-1);
}

a.lc-steps__item:hover {
  border-color: var(--rule);
  color: var(--ink);
  background: var(--paper-soft);
}

.lc-steps__item.is-current {
  border-color: rgba(93, 44, 181, 0.25);
  background: var(--paper);
  color: var(--terracotta);
  box-shadow: var(--shadow-1);
}

.lc-steps__item.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.lc-steps__num {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--paper-soft);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
}

.lc-steps__item.is-current .lc-steps__num {
  background: var(--brand-grad);
  color: var(--paper);
}

.lc-steps__sep {
  width: 1rem;
  height: 1px;
  background: var(--rule);
  flex-shrink: 0;
}

.lc-page-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.lc-page-toolbar .lc-breadcrumb {
  flex: 1;
  min-width: 0;
}

.lc-page-toolbar__label {
  margin-left: auto;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.lc-empty--page {
  margin-top: var(--s-4);
}

.lc-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin: 0 0 var(--s-6);
  padding: var(--s-4) 0;
  background: rgba(250, 248, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.lc-toolbar.is-stuck {
  border-bottom-color: var(--rule);
}

.lc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur-1), color var(--dur-1), background var(--dur-1);
}

.lc-back-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: var(--paper-soft);
}

.lc-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.lc-breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--rule);
}

.lc-breadcrumb__item:last-child {
  color: var(--terracotta);
}

.lc-breadcrumb__link {
  padding: 2px 4px;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
  transition: color var(--dur-1), background var(--dur-1);
}

.lc-breadcrumb__link:hover {
  color: var(--terracotta);
  background: var(--paper-soft);
}

.lc-topic-rail-wrap {
  margin: 0 -4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.lc-topic-rail {
  display: flex;
  gap: var(--s-2);
  padding: 2px 4px 4px;
  min-width: min-content;
}

.lc-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur-1), background var(--dur-1), color var(--dur-1), box-shadow var(--dur-1);
}

.lc-topic-pill:hover {
  border-color: rgba(93, 44, 181, 0.35);
  color: var(--ink);
}

.lc-topic-pill.is-active {
  border-color: transparent;
  background: var(--brand-grad);
  color: var(--paper);
  box-shadow: var(--shadow-warm);
}

.lc-topic-pill__icon {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
}

.lc-topic-pill__icon .lc-lucide,
.lc-topic-pill__icon svg {
  width: 1rem;
  height: 1rem;
}

.lc-topic-pill.is-active .lc-topic-pill__icon {
  color: var(--paper);
}

/* ── Section headings ──────────────────────────────────────── */
.lc-section-head {
  margin-bottom: var(--s-6);
}

.lc-section-head__title {
  margin: 0 0 var(--s-2);
  font-size: var(--fs-heading);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  color: var(--ink);
}

.lc-section-head__sub {
  margin: 0;
  max-width: 50ch;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--muted);
}

/* ── Home topic grid (bento) ───────────────────────────────── */
.lc-topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

.lc-topic-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-4);
  width: 100%;
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform var(--dur-2) var(--ease-spring), border-color var(--dur-2), box-shadow var(--dur-2);
}

.lc-topic-card:hover {
  color: inherit;
  transform: translateY(-2px);
  border-color: rgba(93, 44, 181, 0.28);
  box-shadow: var(--shadow-2);
}

.lc-topic-card:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.lc-topic-card.is-active {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-warm);
}

.lc-topic-card__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-lg);
  background: var(--brand-grad);
  color: var(--paper);
  flex-shrink: 0;
}

.lc-topic-card__icon .lc-lucide,
.lc-topic-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.lc-topic-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-width: 0;
}

.lc-topic-card__name {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  color: var(--ink);
}

.lc-topic-card__desc {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lc-topic-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.lc-topic-card__arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--terracotta);
  flex-shrink: 0;
  transition: background var(--dur-1), color var(--dur-1);
}

.lc-topic-card:hover .lc-topic-card__arrow {
  background: var(--brand-grad);
  color: var(--paper);
}

/* ── Detail hero panel ─────────────────────────────────────── */
.lc-detail {
  animation: lc-rise 0.28s var(--ease-out);
}

@keyframes lc-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lc-hero-panel {
  margin-bottom: var(--s-6);
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(93, 44, 181, 0.14);
  background:
    linear-gradient(135deg, rgba(93, 44, 181, 0.06) 0%, rgba(50, 55, 240, 0.04) 100%),
    var(--paper);
  box-shadow: var(--shadow-1);
}

.lc-hero-panel__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--s-4);
}

.lc-hero-panel__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: var(--brand-grad);
  color: var(--paper);
  box-shadow: var(--shadow-warm);
  flex-shrink: 0;
}

.lc-hero-panel__icon .lc-lucide,
.lc-hero-panel__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.lc-hero-panel__copy {
  flex: 1;
  min-width: min(100%, 16rem);
}

.lc-hero-panel__title {
  margin: 0 0 var(--s-2);
  font-size: var(--fs-heading);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  color: var(--ink);
}

.lc-hero-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--s-3);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.lc-hero-panel__desc {
  margin: 0;
  max-width: 60ch;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-soft);
}

.lc-hero-panel__label {
  margin: 0 0 var(--s-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Subtopic grid (in detail) ─────────────────────────────── */
.lc-subtopic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

.lc-subtopic-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-4);
  width: 100%;
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--dur-1), box-shadow var(--dur-1), transform var(--dur-1);
}

.lc-subtopic-card:hover {
  border-color: rgba(93, 44, 181, 0.3);
  box-shadow: var(--shadow-1);
  transform: translateX(4px);
  color: inherit;
}

.lc-subtopic-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--brand-grad);
  color: var(--paper);
  flex-shrink: 0;
}

.lc-subtopic-card__icon .lc-lucide,
.lc-subtopic-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.lc-subtopic-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  min-width: 0;
}

.lc-subtopic-card__name {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--ink);
}

.lc-subtopic-card__desc {
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--muted);
}

.lc-subtopic-card__count {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.lc-subtopic-card__arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--terracotta);
  flex-shrink: 0;
  transition: background var(--dur-1), color var(--dur-1);
}

.lc-subtopic-card:hover .lc-subtopic-card__arrow {
  background: var(--brand-grad);
  color: var(--paper);
}

/* ── Resource grid ─────────────────────────────────────────── */
.lc-resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

.lc-resource-card {
  display: grid;
  grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2);
}

.lc-resource-card:hover {
  border-color: rgba(93, 44, 181, 0.32);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.lc-resource-card__cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  background: var(--brand-grad-soft);
}

.lc-resource-card__cover img {
  width: 100%;
  height: 100%;
  min-height: 7.5rem;
  object-fit: cover;
  display: block;
}

.lc-resource-card__cover-label {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--paper);
  letter-spacing: 0.08em;
}

.lc-resource-card__type-badge {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(26, 22, 53, 0.55);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lc-resource-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4);
  min-width: 0;
}

.lc-resource-card__tag {
  display: inline-flex;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper-coral);
  color: var(--ochre-d);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lc-resource-card__title {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  color: var(--ink);
}

.lc-resource-card__desc {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lc-resource-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-2);
}

.lc-resource-card__date {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  color: var(--muted);
}

.lc-resource-card__link {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--terracotta);
}

/* ── Empty & buttons ───────────────────────────────────────── */
.lc-empty {
  padding: var(--s-8) var(--s-5);
  text-align: center;
  border: 1px dashed var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
}

.lc-empty i {
  font-size: 2rem;
  color: var(--terracotta-l);
  opacity: 0.7;
}

.lc-empty h3 {
  margin: var(--s-4) 0 var(--s-2);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--ink);
}

.lc-empty p {
  margin: 0 auto;
  max-width: 36ch;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--muted);
}

.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--s-4);
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: var(--brand-grad);
  color: var(--paper);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-warm);
}

.lc-btn:hover {
  filter: brightness(1.05);
}

/* ── Skeletons ─────────────────────────────────────────────── */
.lc-skeleton {
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--paper-soft) 25%, var(--paper-deep) 50%, var(--paper-soft) 75%);
  background-size: 200% 100%;
  animation: lc-shimmer 1.2s ease-in-out infinite;
}

@keyframes lc-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.lc-skeleton--icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
}

.lc-skeleton--title {
  width: 55%;
  height: 1.75rem;
  margin-bottom: var(--s-3);
}

.lc-skeleton--line {
  width: 80%;
  height: 0.875rem;
}

.lc-skeleton--tag {
  width: 4rem;
  height: 1rem;
}

.lc-skeleton--cover {
  min-height: 7rem;
}

.lc-skeleton-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}

.lc-skeleton-card__body {
  padding: var(--s-4);
  display: grid;
  gap: var(--s-2);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (min-width: 640px) {
  .lc-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lc-subtopic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lc-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lc-resource-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .lc-resource-card__cover img {
    min-height: 9rem;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (min-width: 1024px) {
  .lc-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lc-topic-card:nth-child(3n + 1) {
    grid-column: span 2;
  }

  .lc-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lc-resource-card {
    grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-detail,
  .lc-topic-card,
  .lc-resource-card,
  .lc-subtopic-card,
  .lc-skeleton {
    animation: none;
    transition: none;
  }
}

/* ===== magazine.css ===== */
/* ============================================================
   Magazine flipbook viewer (turn.js)
   Full-screen immersive reading experience
   ============================================================ */

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

body.magazine-body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: var(--ff-body), system-ui, sans-serif;
}

.magazine-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(93, 44, 181, 0.35), transparent 45%),
    radial-gradient(circle at 92% 100%, rgba(50, 55, 240, 0.32), transparent 45%),
    #0b0820;
  color: rgba(255, 255, 255, 0.92);
}

/* ─── Top bar ───────────────────────────────────────────────── */
.magazine-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(10, 8, 24, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.magazine-bar__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-small);
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.magazine-bar__back:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.magazine-bar__title {
  min-width: 0;
  text-align: center;
}

.magazine-bar__title h1 {
  margin: 2px 0 0;
  font-family: var(--ff-display), sans-serif;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.magazine-bar__type {
  display: inline-block;
  font-family: var(--ff-mono), monospace;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.magazine-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.magazine-bar__action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.magazine-bar__action:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.magazine-bar__action--fs {
  width: 38px;
  height: 38px;
  padding: 0;
  justify-content: center;
}

/* ─── Stage ─────────────────────────────────────────────────── */
.magazine-stage {
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.magazine-book-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.magazine-book {
  position: relative;
  margin: 0 auto;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.55),
    0 12px 24px rgba(0, 0, 0, 0.35);
  background: #0b0820;
}

.magazine-book.is-ready {
  border-radius: 4px;
}

.magazine-book .magazine-page {
  width: 100%;
  height: 100%;
  background: #1a1635;
}

.magazine-book .magazine-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.magazine-book .turn-page {
  background: #1a1635;
}

.magazine-book .gradient {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 12%);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* nav arrows */
.magazine-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  appearance: none;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 8, 24, 0.7);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.magazine-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.magazine-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.magazine-nav--prev { left: 18px; }
.magazine-nav--next { right: 18px; }

/* ─── Footer ────────────────────────────────────────────────── */
.magazine-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(10, 8, 24, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.magazine-pager {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono), monospace;
  font-size: var(--fs-small);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.magazine-pager:first-child {
  justify-self: end;
}

.magazine-pager--ghost {
  visibility: hidden;
}

.magazine-pager__sep { opacity: 0.4; }

.magazine-slider-wrap {
  width: clamp(180px, 28vw, 360px);
}

.magazine-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  cursor: pointer;
}

.magazine-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.magazine-slider::-webkit-slider-thumb:hover { transform: scale(1.18); }

.magazine-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
}

/* ─── Mobile ────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .magazine-bar {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .magazine-bar__back span { display: none; }
  .magazine-bar__back { padding: 8px; }

  .magazine-bar__title h1 { font-size: var(--fs-body); }

  .magazine-bar__action span { display: none; }
  .magazine-bar__action { padding: 8px; width: 36px; height: 36px; justify-content: center; }

  .magazine-stage { padding: 10px; }

  .magazine-nav {
    width: 38px;
    height: 38px;
  }
  .magazine-nav--prev { left: 6px; }
  .magazine-nav--next { right: 6px; }

  .magazine-footer {
    padding: 10px 14px;
    gap: 10px;
  }

  .magazine-pager--ghost { display: none; }
  .magazine-footer { grid-template-columns: auto 1fr; }
}

@media (max-width: 420px) {
  .magazine-bar__title h1 { font-size: var(--fs-small); }
  .magazine-bar__type { font-size: var(--fs-small); }
}

/* ===== members.css ===== */
.members-overview {
  padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 5vw, 72px);
}

.members-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.members-overview__copy h2 {
  margin: var(--s-3) 0 var(--s-5);
  font-size: var(--fs-heading);
  letter-spacing: var(--ls-tighter);
}

.members-overview__copy p {
  color: var(--ink-soft);
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.55;
}

.members-stats {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 107, 53, 0.14), transparent 58%),
    var(--paper);
  box-shadow: var(--shadow-2);
}

.members-stats div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--radius);
  background: rgba(244, 240, 255, 0.72);
}

.members-stats b {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: 1.1;
  color: var(--terracotta);
  font-feature-settings: "tnum" 1;
}

.members-stats span {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.members-filter {
  padding: 0 0 var(--s-7);
}

.members-filter__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) auto;
  gap: var(--s-3);
  align-items: end;
  padding: var(--s-4);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: rgba(250, 248, 255, 0.78);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(12px);
}

.members-field {
  display: grid;
  gap: var(--s-2);
}

.members-field label {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.members-field select,
.members-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  padding: 0 var(--s-4);
  outline: none;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}

.members-field select:focus,
.members-field input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(93, 44, 181, 0.12);
}

.members-filter__reset {
  min-height: 52px;
}

.members-directory {
  padding: var(--s-8) 0 var(--s-9);
}

.members-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}

.members-section-head h2 {
  margin: var(--s-2) 0 0;
}

.members-section-head p {
  margin: 0;
  color: var(--muted);
}

.members-section-head [data-members-count] {
  font-weight: 800;
  color: var(--terracotta);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.member-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 44, 181, 0.36);
  box-shadow: var(--shadow-3);
}

.member-card[hidden] {
  display: none;
}

.member-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.member-card__avatar {
  display: inline-grid;
  place-items: center;
  width: clamp(54px, 5vw, 68px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-warm);
}

.member-card__avatar--photo {
  padding: 4px;
  background: var(--paper);
  border: 1px solid rgba(45, 42, 38, 0.08);
  overflow: hidden;
}

.member-card__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.member-card__type {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 var(--s-3);
  border-radius: 999px;
  background: var(--paper-coral);
  color: var(--terracotta);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.member-card__body {
  display: grid;
  gap: var(--s-2);
}

.member-card h3 {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

.member-card__district {
  margin: 0;
  color: var(--terracotta);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.member-card__social {
  margin: 0;
  gap: var(--s-2);
}

.member-card__social .social-icons__link {
  border: 1px solid var(--rule);
  color: var(--ink-soft);
}

.member-card__social .social-icons__link:hover {
  border-color: transparent;
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .member-card__social .social-icons__link:hover {
    transform: none;
  }
}

.member-card__contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
  margin-top: auto;
}

.member-card__contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 700;
  transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}

.member-card__contact a:hover {
  border-color: transparent;
  background: var(--ink);
  color: var(--paper);
}

.members-empty {
  margin-top: var(--s-5);
  padding: var(--s-6);
  border: 1px dashed var(--rule);
  border-radius: var(--radius-lg);
  background: rgba(250, 248, 255, 0.74);
  text-align: center;
}

.members-empty h3 {
  margin: var(--s-2) 0;
}

.members-empty p {
  margin-inline: auto;
  color: var(--muted);
}

.mb-pagination {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
  display: grid;
  gap: var(--s-4);
  justify-items: center;
  text-align: center;
}

.mb-pagination__summary {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

.mb-pagination__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
}

.mb-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 700;
  transition: border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}

.mb-pagination__btn:hover:not(.is-disabled) {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.mb-pagination__btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mb-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
}

.mb-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--s-3);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 700;
  transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}

.mb-pagination__page:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.mb-pagination__page.is-active {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fff;
}

@media (max-width: 720px) {
  .mb-pagination__controls {
    gap: var(--s-2);
  }

  .mb-pagination__btn {
    min-height: 40px;
    padding: 0 var(--s-3);
    font-size: var(--fs-body);
  }

  .mb-pagination__page {
    min-width: 40px;
    min-height: 40px;
    padding: 0 10px;
  }
}

@media (max-width: 1180px) {
  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .members-overview__grid,
  .members-filter__panel {
    grid-template-columns: 1fr;
  }

  .members-filter__reset {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .members-section-head {
    display: grid;
    align-items: start;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .member-card__contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .members-stats div,
  .member-card__top {
    grid-template-columns: 1fr;
  }

  .member-card__top {
    display: grid;
    justify-items: start;
  }
}

/* ===== program-details.css ===== */
.pd-page {
  background:
    radial-gradient(circle at top right, rgba(93, 44, 181, 0.1), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 107, 53, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(250, 248, 255, 0.98), rgba(244, 240, 255, 0.9)),
    var(--paper);
}

.pd-hero {
  padding: clamp(32px, 5vw, 72px) 0 clamp(28px, 4vw, 48px);
}

.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--s-5);
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.pd-back:hover {
  color: var(--terracotta);
}

.pd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.pd-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--s-4) 0 0;
}

.pd-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(93, 44, 181, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-soft);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pd-title {
  margin: var(--s-4) 0 0;
  font-size: var(--fs-display);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}

.pd-lede {
  margin: var(--s-5) 0 0;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: var(--fs-lede);
  font-weight: var(--fw-light);
  line-height: 1.6;
}

.pd-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-6);
}

.pd-poster-wrap {
  margin: 0;
  min-width: 0;
  height: 100%;
  display: flex;
}

.pd-poster {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-2);
}

.pd-poster-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: linear-gradient(180deg, rgba(235, 238, 255, 0.7), rgba(250, 248, 255, 0.95));
}

.pd-poster-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.pd-richtext {
  margin-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(24px, 4vw, 48px);
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: 1.8;
}

.pd-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 112px;
}

.pd-panel {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-1);
}

.pd-panel--accent {
  background: linear-gradient(160deg, rgba(93, 44, 181, 0.08), rgba(255, 107, 53, 0.08));
}

.pd-facts {
  display: grid;
  gap: 14px;
  margin-top: var(--s-4);
}

.pd-fact {
  display: grid;
  gap: 6px;
}

.pd-fact span {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.pd-fact strong {
  color: var(--ink);
  line-height: 1.35;
}

.pd-action-stack {
  display: grid;
  gap: 12px;
  margin-top: var(--s-4);
}

.pd-action-link {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(93, 44, 181, 0.12);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pd-action-link:hover {
  border-color: rgba(93, 44, 181, 0.28);
  transform: translateY(-1px);
}

.pd-action-link b {
  color: var(--ink);
}

.pd-action-link span {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.pd-related {
  padding: 0 0 clamp(56px, 6vw, 88px);
}

.pd-related-head {
  display: grid;
  gap: 12px;
  margin-bottom: var(--s-6);
}

.pd-related-head h2 {
  margin: 0;
  font-size: var(--fs-heading);
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pd-related-card {
  min-width: 0;
}

.pd-related-link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pd-related-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.pd-related-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, rgba(235, 238, 255, 0.7), rgba(250, 248, 255, 0.95));
}

.pd-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-related-copy {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.pd-related-meta {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pd-related-copy h3 {
  margin: 0;
  font-size: var(--fs-subheading);
  line-height: 1.25;
}

.pd-related-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.pd-related-cta {
  margin-top: 4px;
  color: var(--terracotta);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .pd-hero-grid {
    grid-template-columns: 1fr;
  }

  .pd-copy {
    justify-content: flex-start;
  }

  .pd-poster-wrap {
    height: auto;
  }

  .pd-poster-image {
    aspect-ratio: 4 / 5;
    max-height: 420px;
  }

  .pd-sidebar {
    position: static;
  }

  .pd-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== programs-listing.css ===== */
.pg-list-page {
  background:
    radial-gradient(circle at top right, rgba(93, 44, 181, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 107, 53, 0.06), transparent 24%),
    var(--paper);
}

.pg-list-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 36px);
}

.pg-list-hero h1 {
  margin: var(--s-4) 0 0;
  font-size: var(--fs-display);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}

.pg-list-lede {
  margin: var(--s-5) 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: var(--fs-lede);
  font-weight: var(--fw-light);
  line-height: 1.6;
}

.pg-list-grid-section {
  padding: 0 0 clamp(56px, 6vw, 96px);
}

.pg-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.pg-list-card {
  min-width: 0;
}

.pg-list-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pg-list-card__link:hover,
.pg-list-card__link:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: rgba(93, 44, 181, 0.2);
}

.pg-list-card__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, rgba(235, 238, 255, 0.7), rgba(250, 248, 255, 0.95));
}

.pg-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pg-list-card__copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.pg-list-card__tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pg-list-card__title {
  margin: 0;
  font-size: var(--fs-subheading);
  line-height: 1.25;
  color: var(--ink);
}

.pg-list-card__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pg-list-card__cta {
  margin-top: 4px;
  color: var(--terracotta);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pg-list-card__link:hover .pg-list-card__cta,
.pg-list-card__link:focus-visible .pg-list-card__cta {
  color: var(--ochre-d);
}

.pg-list-empty {
  margin: 0;
  padding: var(--s-7) 0;
  color: var(--ink-soft);
  font-size: var(--fs-lede);
}

@media (max-width: 1024px) {
  .pg-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pg-list-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== register.css ===== */
.reg-page {
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(50, 55, 240, 0.10), transparent 50%),
    radial-gradient(ellipse at 100% 100%, var(--paper-coral), transparent 54%),
    var(--paper-soft);
}

.reg-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
}

@media (min-width: 1024px) {
  .reg-page__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: var(--s-7);
  }
}

.reg-aside {
  padding: var(--s-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-2);
}

.reg-aside h3 {
  margin: var(--s-3) 0 var(--s-3);
  font-size: var(--fs-subheading);
}

.reg-aside p {
  margin: 0 0 var(--s-4);
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: var(--fs-body);
}

.reg-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s-2);
}

.reg-aside li {
  position: relative;
  padding-left: var(--s-5);
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.reg-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ochre);
}

.reg-form-card {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  background: rgba(250, 248, 255, 0.92);
  box-shadow: var(--shadow-2);
}

.reg-form-card h2 {
  margin: var(--s-3) 0 var(--s-3);
  font-size: var(--fs-heading);
  line-height: 1.02;
  letter-spacing: var(--ls-display);
}

.reg-form-card h2 em {
  font-style: italic;
  color: var(--terracotta);
}

.reg-form-card > p {
  margin: 0 0 var(--s-5);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 56ch;
}

.reg-back {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
}

.reg-back:hover {
  color: var(--ink);
}

.reg-form .contact-field-group select {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: 500 var(--fs-body)/1.5 var(--ff-body);
  padding: 0.95rem 2.5rem 0.95rem 1rem;
  min-height: 3.35rem;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1635' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}

.reg-form .contact-field-group select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(93, 44, 181, 0.12);
}

.reg-domain-field fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.reg-domain-field legend {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--s-3);
  padding: 0;
}

.reg-domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  margin: 0;
  padding: var(--s-4);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}

@media (min-width: 540px) {
  .reg-domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reg-domain-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: start;
  padding: var(--s-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-1);
}

.reg-domain-check:hover {
  background: var(--paper-soft);
}

.reg-domain-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reg-domain-mark {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background var(--dur-1), border-color var(--dur-1), color var(--dur-1);
}

.reg-domain-check input:checked + .reg-domain-mark {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--paper);
}

.reg-domain-check input:focus-visible + .reg-domain-mark {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

.reg-domain-check span {
  font-size: var(--fs-body);
  color: var(--ink);
  line-height: 1.4;
}

.reg-domain-hint {
  margin: var(--s-2) 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
}

.reg-form[data-tone="leaf"] .reg-form-card h2 em {
  color: var(--leaf);
}

.reg-form[data-tone="terracotta"] .reg-form-card h2 em {
  color: var(--terracotta);
}

.reg-optional {
  font-weight: 500;
  color: var(--muted);
}

/* ===== report-preview.css ===== */
.report-preview-body {
  overflow: hidden;
}

.report-preview-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  background: #0b0820;
}

.report-preview-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.magazine-bar__back {
  cursor: pointer;
  font-family: inherit;
}

/* ===== reports.css ===== */
.reports-section {
  padding-bottom: var(--s-9);
}

.reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

.report-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}

.report-card:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 44, 181, 0.3);
  box-shadow: var(--shadow-3);
}

.report-card__header {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-4);
  background: var(--paper-soft);
  border-bottom: 1px solid var(--rule);
  border-radius: var(--radius) var(--radius) 0 0;
}

.report-card__header span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(93, 44, 181, 0.1);
  color: var(--terracotta);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.report-card__header h3 {
  margin-bottom: 0;
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-normal);
  line-height: var(--lh-snug);
}

.report-card__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: var(--s-4);
  color: var(--ink);
  text-decoration: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(93, 44, 181, 0.12), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(255, 107, 53, 0.12), transparent 34%),
    #fff;
}

.report-card__cover {
  position: relative;
}

.report-card__cover img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
}

.report-card__cover-flag {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 8, 24, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}

.report-card__fallback {
  display: grid;
  align-content: center;
  gap: var(--s-4);
  width: min(100%, 220px);
  aspect-ratio: 3 / 4;
  padding: var(--s-5);
  border-radius: var(--radius-sm);
  background: var(--brand-grad);
  color: var(--paper);
  box-shadow: var(--shadow-warm);
}

.report-card__fallback small {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.82;
}

.report-card__fallback b {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

.report-card__footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  margin-top: auto;
  padding: var(--s-4);
  background: var(--paper-soft);
  border-top: 1px solid var(--rule);
  border-radius: 0 0 var(--radius) var(--radius);
}

.report-card__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}

.report-card__footer a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.report-card__footer a[aria-disabled="true"] {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (min-width: 640px) {
  .report-card__footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .reports-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .report-card__footer {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1180px) {
  .report-card__footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* ─── Report card flipbook trigger button ─────────────────────────────────── */

.report-card__cover--btn {
  appearance: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.report-card__cover-hint {
  position: absolute;
  inset: auto auto 12px 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10, 8, 20, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.report-card__cover--btn:hover .report-card__cover-hint,
.report-card__cover--btn:focus-visible .report-card__cover-hint {
  opacity: 1;
}

.report-card__footer-btn {
  appearance: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 42px;
  padding: 10px 12px;
  font-size: var(--fs-small);
  font-weight: 700;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}

.report-card__footer-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}


/* ─── Flipbook modal overlay ──────────────────────────────────────────────── */

.flipbook-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.flipbook-modal[hidden] {
  display: none;
}

.flipbook-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 16, 0.88);
  backdrop-filter: blur(4px);
}

.flipbook-modal__wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* top bar */
.flipbook-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(10, 8, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.flipbook-modal__title {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% - 52px);
}

.flipbook-modal__close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.flipbook-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* stage area — fills remaining height */
.flipbook-modal__stage {
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flipbook-modal__book-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* page-flip canvas sits inside the book-wrap div */
.flipbook-modal__book-wrap canvas,
.flipbook-modal__book-wrap .stf__parent {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

/* prev / next buttons */
.flipbook-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(10, 8, 24, 0.6);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.flipbook-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.flipbook-nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.flipbook-nav--prev { left: 14px; }
.flipbook-nav--next { right: 14px; }

.flipbook-nav--hidden { display: none; }

/* footer / pager */
.flipbook-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
  background: rgba(10, 8, 24, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.flipbook-pager {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  font-weight: 600;
  min-width: 60px;
  justify-content: center;
}

.flipbook-pager__sep { opacity: 0.4; }

/* slider */
.flipbook-slider-wrap {
  flex: 1;
  max-width: 320px;
}

.flipbook-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  cursor: pointer;
  accent-color: rgba(255, 255, 255, 0.75);
}

.flipbook-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.flipbook-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.flipbook-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

@media (max-width: 600px) {
  .flipbook-nav {
    width: 38px;
    height: 38px;
  }
  .flipbook-nav--prev { left: 6px; }
  .flipbook-nav--next { right: 6px; }

  .flipbook-modal__bar {
    padding: 10px 14px;
  }

  .flipbook-modal__footer {
    padding: 10px 14px;
    gap: 12px;
  }

  .flipbook-slider-wrap {
    max-width: 200px;
  }
}

.report-card__footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}
.report-card__footer-link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ===== resources.css ===== */
.rp-intro {
  border-bottom: 1px solid var(--rule);
}

.rp-intro__grid {
  display: grid;
  gap: var(--s-5);
  align-items: end;
}

.rp-intro h2 {
  margin-top: var(--s-3);
  margin-bottom: 0;
}

.rp-intro p,
.rp-directory__head p {
  color: var(--ink-soft);
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 0;
}

.rp-directory {
  padding-bottom: var(--s-9);
}

.rp-directory__head {
  display: grid;
  gap: var(--s-5);
  align-items: end;
  margin-bottom: var(--s-7);
}

.rp-directory__head h2 {
  margin-top: var(--s-3);
  margin-bottom: 0;
}

.rp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

.rp-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}

.rp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 44, 181, 0.32);
  box-shadow: var(--shadow-3);
}

.rp-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: var(--s-4);
  border-bottom: 1px solid var(--rule);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(93, 44, 181, 0.12), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(50, 55, 240, 0.12), transparent 34%),
    var(--paper-soft);
}

.rp-card__image img {
  display: block;
  width: clamp(88px, 24vw, 124px);
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: var(--shadow-warm);
}

.rp-card__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(88px, 24vw, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-warm);
}

.rp-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
}

.rp-card h3 {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  margin-bottom: 0;
}

.rp-card__email-line {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rp-card__email-line svg {
  flex: 0 0 auto;
  color: var(--terracotta);
}

.rp-card__email-line a {
  color: inherit;
  text-decoration: none;
}

.rp-card__email-line a:hover {
  color: var(--terracotta);
}

.rp-card__social .social-icons__link {
  color: var(--muted);
  border-color: var(--rule);
}

.rp-card__social .social-icons__link:hover {
  color: var(--terracotta);
  border-color: rgba(93, 44, 181, 0.32);
}

@media (min-width: 640px) {
  .rp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .rp-intro__grid,
  .rp-directory__head {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .rp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .rp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .rp-card__body {
    padding: var(--s-4);
  }
}

/* ===== stories.css ===== */
/* ============================================================
   Stories page — magazine editorial layout, modal, marquee
   ============================================================ */

/* — Unified card palette from the reference campaigns card — */
.st-card--males,
.st-quote-card--teal,
.st-card--children,
.st-quote-card--ochre,
.st-card--nutrition,
.st-card--gender,
.st-quote-card--leaf,
.st-card--adolescent,
.st-quote-card--indigo,
.st-card--community,
.st-quote-card--saffron {
  --st-c: var(--ochre);
  --st-c-soft: rgba(255, 107, 53, 0.10);
}



/* ── Hero — magazine cover ──────────────────────────────── */
.st-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}

.st-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 1023px) {
  .st-hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.st-hero-title {
  font-size: var(--fs-hero-tight);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
  margin: var(--s-4) 0 var(--s-5);
}
.st-hero-title .line { display: block; }
.st-hero-title em {
  font-style: italic;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.st-hero-lede {
  font-family: var(--ff-body);
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: var(--fw-light);
  max-width: 56ch;
  margin: 0 0 var(--s-6);
}
.st-hero-lede b { color: var(--ink); font-weight: 500; }

.st-hero-meta {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-4) 0;
  margin-bottom: var(--s-5);
}
.st-hero-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  padding: 6px 0;
  flex-wrap: wrap;
}
.st-hero-meta-lbl {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.st-hero-meta-val { font-size: var(--fs-small); color: var(--ink-soft); }
.st-hero-meta-val b { color: var(--ink); font-weight: 600; }
.st-hero-meta-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 1px;
  transition: color var(--dur-1);
}
.st-hero-meta-link:hover { color: var(--terracotta); }

/* — Hero collage — */
.st-hero-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, minmax(60px, auto));
  gap: 14px;
  position: relative;
  min-height: clamp(420px, 50vw, 600px);
}
.st-hero-tile {
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-2) var(--ease-spring);
}
.st-hero-tile:hover { transform: translateY(-4px); }
.st-hero-tile--1     { grid-column: 1 / span 4; grid-row: 1 / span 4; }
.st-hero-tile--2     { grid-column: 5 / span 2; grid-row: 1 / span 3; }
.st-hero-tile--3     { grid-column: 5 / span 2; grid-row: 4 / span 3; }
.st-hero-tile--4     { grid-column: 1 / span 2; grid-row: 5 / span 2; }
.st-hero-tile--label { grid-column: 3 / span 4; grid-row: 5 / span 2;
  background: var(--paper-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--s-4);
  border: 1.5px dashed var(--rule);
  box-shadow: none;
}
.st-hero-tile--label:hover { transform: none; }

.st-hand {
  font-family: var(--ff-hand);
  font-size: var(--fs-heading);
  line-height: 1.05;
  color: var(--terracotta);
  margin-bottom: var(--s-2);
}

.st-hero-tile-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(26,22,53,0.62);
  color: var(--paper);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(250,248,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.st-hero-tile-attr {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 720px) {
  .st-hero-collage { grid-template-rows: repeat(4, minmax(80px, auto)); }
  .st-hero-tile--1     { grid-column: 1 / span 6; grid-row: 1 / span 2; }
  .st-hero-tile--2     { grid-column: 1 / span 3; grid-row: 3 / span 1; }
  .st-hero-tile--3     { grid-column: 4 / span 3; grid-row: 3 / span 1; }
  .st-hero-tile--4     { grid-column: 1 / span 3; grid-row: 4 / span 1; }
  .st-hero-tile--label { grid-column: 4 / span 3; grid-row: 4 / span 1; }
}


/* ── Filter bar (sticky) ────────────────────────────────── */
.st-filters {
  background: rgba(244, 240, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-5) 0;
  position: sticky;
  top: 96px;
  z-index: 50;
}
@media (max-width: 1023px) { .st-filters { top: 80px; } }
@media (max-width: 540px)  { .st-filters { top: 68px; padding: var(--s-4) 0; } }

.st-filters-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: var(--s-4);
  align-items: start;
}
@media (max-width: 1200px) {
  .st-filters-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .st-filters {
    padding: var(--s-4) 0;
  }
  .st-filters-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-2) var(--s-3);
    align-items: end;
  }
  .st-filters-block {
    gap: 6px;
  }
  .st-filters-lbl {
    font-size: var(--fs-small);
    letter-spacing: 0.16em;
  }
  .st-select select,
  .st-date input {
    min-height: 44px;
    font-size: var(--fs-body);
    padding: 9px 34px 9px 14px;
  }
  .st-select-caret {
    right: 12px;
  }
  .st-filters-meta {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 10px var(--s-3);
    white-space: normal;
    margin-top: 2px;
    padding-top: var(--s-2);
    border-top: 1px dashed var(--rule);
  }
  .st-filters-count {
    font-size: var(--fs-small);
  }
  .st-filters-reset {
    padding: 5px 10px;
  }
}
@media (max-width: 359px) {
  .st-filters-row {
    grid-template-columns: 1fr;
  }
}

.st-filters-block {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-width: 0;
}
.st-filters-lbl {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
}
.st-filters-lbl b { color: var(--ink); font-weight: 700; }

.st-select {
  position: relative;
  display: block;
}
.st-select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 10px 38px 10px 16px;
  cursor: pointer;
  outline: none;
  transition: border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
}
.st-select select:hover { border-color: var(--terracotta); }
.st-select select:focus-visible {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(93, 44, 181, 0.10);
}
.st-date {
  position: relative;
  display: block;
}
.st-date input {
  width: 100%;
  min-width: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 10px 16px;
  outline: none;
  transition: border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
}
.st-date input:hover {
  border-color: var(--terracotta);
}
.st-date input:focus-visible {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(93, 44, 181, 0.10);
}
.st-date input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.75;
}
.st-select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
  transition: transform var(--dur-2) var(--ease-spring), color var(--dur-1);
}
.st-select select:focus-visible ~ .st-select-caret {
  color: var(--terracotta);
  transform: translateY(-50%) rotate(180deg);
}

.st-filters-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  white-space: nowrap;
  padding-top: 18px;
}
@media (max-width: 1200px) {
  .st-filters-meta {
    grid-column: 1 / -1;
    padding-top: 0;
  }
}
.st-filters-count {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.06em;
}
.st-filters-count b { color: var(--ink); font-weight: 700; font-feature-settings: "tnum" 1; }
.st-filters-reset {
  background: none;
  border: 1px dashed var(--rule);
  color: var(--ink-soft);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--dur-1), color var(--dur-1), background var(--dur-1);
}
.st-filters-reset:hover { border-color: var(--terracotta); color: var(--terracotta); background: var(--paper); }


/* ── Magazine asymmetric grid ───────────────────────────── */
.st-grid { padding: var(--s-7) var(--s-5) var(--s-9); }

.st-grid-wrap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
  grid-auto-flow: dense;
  align-items: start;
}

.st-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.st-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: start;
  height: auto;
  position: relative;
  transition: transform var(--dur-2) var(--ease-spring),
              box-shadow var(--dur-2) var(--ease-out),
              border-color var(--dur-2);
  border-top: 4px solid var(--st-c, var(--ink-soft));
  min-width: 0;
}
.st-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: var(--st-c);
}
.st-card.is-hidden { display: none; }

.st-card--feature  { grid-column: span 8; grid-row: span 2; }
.st-card--wide     { grid-column: span 8; }
.st-card--med      { grid-column: span 4; }
.st-card--small    { grid-column: span 4; }
.st-card--quote    { grid-column: span 4; }

@media (max-width: 1100px) {
  .st-card--feature  { grid-column: span 12; grid-row: auto; }
  .st-card--wide     { grid-column: span 12; }
  .st-card--med      { grid-column: span 6; }
  .st-card--small    { grid-column: span 6; }
  .st-card--quote    { grid-column: span 6; }
}
@media (max-width: 720px) {
  .st-card--feature, .st-card--wide,
  .st-card--med, .st-card--small, .st-card--quote { grid-column: span 12; }
}

.st-card-img {
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  background: var(--paper-soft) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.st-card--feature .st-card-img { aspect-ratio: 16 / 9; }
.st-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,53,0) 50%, rgba(26,22,53,0.55) 100%);
  pointer-events: none;
}
.st-card-location {
  position: absolute;
  bottom: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: capitalize;
  background: var(--ochre);
  color: var(--ink);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  box-shadow: var(--shadow-1);
}

.st-card-cat {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 2;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  max-width: calc(100% - var(--s-6));
  background: var(--paper);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-1);
  border-left: 3px solid var(--st-c, var(--ink-soft));
}
.st-card-cat--inline {
  position: static;
  display: inline-block;
  margin-bottom: var(--s-3);
  box-shadow: none;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--st-c, var(--ink-soft));
}

.st-card-body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.st-card--feature .st-card-body { padding: var(--s-4); gap: var(--s-1); }

.st-card-where {
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.st-card-meta {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.st-card-title {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  letter-spacing: var(--ls-heading);
  color: var(--teal);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.st-card--feature .st-card-title { font-size: var(--fs-body); line-height: 1.35; }
.st-card-title em {
  color: var(--st-c);
  font-style: italic;
}

.st-card-lede {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.st-card--feature .st-card-lede {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  line-height: 1.55;
  font-weight: 300;
  max-width: 60ch;
}

.st-card-authored {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-soft);
}

.st-card-foot {
  display: none;
}

.st-card-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: var(--s-2) var(--s-5) var(--s-4);
  flex-shrink: 0;
}

.st-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-1), border-color var(--dur-1), color var(--dur-1);
}

.st-share-btn:hover {
  background: var(--paper-deep);
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.st-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.st-card-tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper-soft);
  color: var(--ink-soft);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
}

.st-card-byline {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.06em;
  font-style: italic;
}

/* — Case-study card (data-rich, no image) — */
.st-card-body--case {
  padding: var(--s-6);
  background:
    linear-gradient(135deg, var(--st-c-soft), transparent 70%),
    var(--paper);
}
.st-card-title--case { font-size: var(--fs-heading); line-height: 1.1; }
.st-card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
  margin: var(--s-3) 0;
}
.st-card-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.st-card-stats b {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.st-card-stats b small {
  font-size: var(--fs-small);
  color: var(--st-c, var(--ochre));
  font-style: italic;
  font-weight: 500;
  margin-left: 2px;
}
.st-card-stats span {
  font-size: var(--fs-small);
  color: var(--muted);
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .st-card-stats { grid-template-columns: 1fr 1fr; }
}

/* — Quote card — */
.st-card--quote {
  background:
    linear-gradient(135deg, var(--st-c-soft), transparent 60%),
    var(--paper);
  padding: var(--s-6);
  border-top-width: 4px;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  justify-content: space-between;
  min-height: 320px;
}
.st-card-quote-mark {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  line-height: 0.8;
  color: var(--st-c);
  margin: -8px 0 -32px -4px;
  font-feature-settings: "ss01" 1;
  font-style: italic;
}
.st-card-quote {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
}
.st-card-quote em { font-style: italic; color: var(--st-c); }

.st-card-attr {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
}
.st-card-attr-portrait {
  width: 44px; height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid var(--st-c);
}
.st-card-attr b {
  display: block;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--ink);
}
.st-card-attr span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.st-grid-empty {
  text-align: center;
  padding: var(--s-9) var(--s-5);
  background: var(--paper-soft);
  border: 1px dashed var(--rule);
  border-radius: var(--radius-lg);
  margin-bottom: var(--s-7);
}
.st-grid-empty p { margin: var(--s-3) auto 0; max-width: 50ch; color: var(--ink-soft); }

.st-pagination {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
}

.st-pagination__summary {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--ink-soft);
  text-align: center;
}

.st-pagination__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  width: 100%;
}

.st-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--s-4);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--dur-2), background var(--dur-2), color var(--dur-2);
}

.st-pagination__btn:hover:not(.is-disabled) {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.st-pagination__btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.st-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.st-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--dur-2), background var(--dur-2), color var(--dur-2);
}

.st-pagination__page:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.st-pagination__page.is-active {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fff;
}

@media (max-width: 720px) {
  .st-pagination__controls {
    gap: var(--s-2);
  }

  .st-pagination__btn {
    min-height: 40px;
    padding: 0 var(--s-3);
    font-size: var(--fs-small);
  }

  .st-pagination__page {
    min-width: 40px;
    min-height: 40px;
    padding: 0 10px;
    font-size: var(--fs-small);
  }
}

.st-link {
  background: none;
  border: 0;
  border-bottom: 1.5px solid var(--terracotta);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  padding: 0 0 2px;
  transition: color var(--dur-1);
}
.st-link:hover { color: var(--terracotta); }

.st-recent {
  padding: 0 0 var(--s-9);
}
.st-recent-shell {
  background:
    radial-gradient(circle at 12% 10%, rgba(93, 44, 181, 0.10), transparent 32%),
    var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow-1);
}
.st-recent-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-4);
  border-bottom: 1px dashed var(--rule);
}
.st-recent-head h2 {
  margin: var(--s-2) 0 0;
  font-size: var(--fs-heading);
}
.st-recent-head h2::first-letter {
  color: var(--terracotta);
}
.st-recent-head p {
  max-width: 36ch;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}
.st-recent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
.st-recent-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4);
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: transform var(--dur-2) var(--ease-spring),
              border-color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
}
.st-recent-item:hover {
  transform: translateY(-3px);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-2);
}
.st-recent-date {
  flex: 0 0 58px;
  width: 58px;
  aspect-ratio: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 18px;
  background: var(--brand-grad);
  color: var(--paper);
  text-align: center;
  box-shadow: 0 12px 24px -16px rgba(93, 44, 181, 0.85);
}
.st-recent-date strong {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 600;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.st-recent-date span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.14em;
}
.st-recent-copy {
  min-width: 0;
  padding-top: 2px;
}
.st-recent-copy a {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color var(--dur-1) var(--ease-out);
}
.st-recent-copy a:hover,
.st-recent-copy a:focus-visible {
  color: var(--terracotta);
  outline: none;
}
.st-recent-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px var(--s-3);
  list-style: none;
  padding: 0;
  margin: var(--s-2) 0 0;
  color: var(--muted);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.st-recent-copy li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
@media (min-width: 768px) {
  .st-recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .st-recent {
    padding-bottom: var(--s-8);
  }
  .st-recent-head {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--s-3);
  }
  .st-recent-item {
    padding: var(--s-3);
    gap: var(--s-3);
  }
  .st-recent-date {
    flex-basis: 52px;
    width: 52px;
    border-radius: 16px;
  }
  .st-recent-date strong {
    font-size: var(--fs-subheading);
  }
}

/* ── Video testimonials ─────────────────────────────────── */
.st-videos {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.st-videos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(93,44,181,0.28), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(255,107,53,0.18), transparent 50%);
  pointer-events: none;
}
.st-videos > .container-x { position: relative; z-index: 2; }

.st-videos-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto var(--s-7);
}
.st-videos-head .chapter { color: rgba(250,248,255,0.7); }
.st-videos-head .chapter b { color: var(--ochre); }
.st-videos-head h2 { color: var(--paper); margin: var(--s-3) 0; }
.st-videos-head h2 em { color: var(--ochre); font-style: italic; }
.st-videos-sub { color: rgba(250,248,255,0.78); }

.st-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1100px) { .st-videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .st-videos-grid { grid-template-columns: 1fr; } }

.st-video {
  text-align: left;
  background: rgba(250,248,255,0.04);
  border: 1px solid rgba(250,248,255,0.14);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  color: var(--paper);
  font: inherit;
  padding: 0;
  transition: transform var(--dur-2) var(--ease-spring),
              background var(--dur-2),
              border-color var(--dur-2);
  display: flex;
  flex-direction: column;
}
.st-video:hover {
  transform: translateY(-4px);
  background: rgba(255,107,53,0.08);
  border-color: var(--ochre);
}
.st-video:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

.st-video-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink-deep) center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,22,53,0.18) 0%, rgba(26,22,53,0.45) 100%);
  pointer-events: none;
}
.st-video-play {
  position: relative;
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ochre);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.5);
  transition: transform var(--dur-2) var(--ease-spring);
}
.st-video:hover .st-video-play { transform: scale(1.08); }
.st-video-len {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  background: rgba(26,22,53,0.7);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(250,248,255,0.18);
}

.st-video-body {
  padding: var(--s-4) var(--s-5) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.st-video-cat {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,248,255,0.65);
}
.st-video h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  color: var(--paper);
  margin: 0;
  line-height: 1.2;
}
.st-video h3 em { color: var(--ochre); font-style: italic; }
.st-video p {
  font-size: var(--fs-small);
  color: rgba(250,248,255,0.78);
  line-height: 1.5;
  margin: 0;
}


/* ── Before / After narratives ──────────────────────────── */
.st-ba {
  padding: var(--s-9) 0;
  background:
    radial-gradient(ellipse at 100% 0%, var(--paper-coral), transparent 50%),
    radial-gradient(ellipse at 0% 100%, var(--paper-soft), transparent 45%),
    var(--paper);
}

.st-ba-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-7);
  padding: 0 var(--s-5);
}
.st-ba-head h2 { margin: var(--s-3) 0; }
.st-ba-head h2 em { color: var(--terracotta); font-style: italic; }
.st-ba-sub { color: var(--ink-soft); }

.st-ba-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
}

.st-ba-item {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-2);
}
.st-ba-item-head { margin-bottom: var(--s-5); }
.st-ba-item-loc {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-2);
}
.st-ba-item-head h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: 500;
  line-height: 1.18;
  margin: 0;
  letter-spacing: var(--ls-heading);
  color: var(--ink);
  max-width: 56ch;
}

.st-ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 720px) { .st-ba-pair { grid-template-columns: 1fr; } }

.st-ba-col {
  padding: var(--s-5) var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.st-ba-col--before {
  background:
    linear-gradient(135deg, rgba(93,44,181,0.08), transparent 60%),
    var(--paper-soft);
  border-right: 1px dashed var(--rule);
}
.st-ba-col--after {
  background:
    linear-gradient(135deg, rgba(255,107,53,0.10), transparent 60%),
    var(--paper-coral);
}
@media (max-width: 720px) {
  .st-ba-col--before { border-right: 0; border-bottom: 1px dashed var(--rule); }
}

.st-ba-stamp {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--terracotta);
}
.st-ba-stamp--after { border-left-color: var(--ochre); }

.st-ba-col p {
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
  margin: 0;
}
.st-ba-attr {
  font-size: var(--fs-small) !important;
  font-family: var(--ff-mono) !important;
  color: var(--muted) !important;
  letter-spacing: 0.06em;
  font-style: italic;
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-3);
  margin-top: auto !important;
}

/* ── Closing CTA ────────────────────────────────────────── */
.st-cta {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.st-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 107, 53, 0.18), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(93, 44, 181, 0.25), transparent 50%);
  pointer-events: none;
}
.st-cta > .container-x { position: relative; z-index: 2; }

.st-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: start;
}
.st-cta-grid h2 { color: var(--paper); margin: var(--s-3) 0; }
.st-cta-grid h2 em { color: var(--ochre); font-style: italic; }
.st-cta-lede { color: rgba(250,248,255,0.82); max-width: 48ch; line-height: 1.6; }

.st-cta-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.st-cta-path {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-2) var(--s-3);
  align-items: center;
  padding: var(--s-5);
  background: rgba(250,248,255,0.05);
  border: 1px solid rgba(250,248,255,0.14);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--paper);
  transition: background var(--dur-2) var(--ease-out),
              border-color var(--dur-2),
              transform var(--dur-2) var(--ease-spring);
}
.st-cta-path:hover {
  background: rgba(255, 107, 53, 0.08);
  border-color: var(--ochre);
  transform: translateY(-2px);
}
.st-cta-path b {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-subheading);
  color: var(--paper);
  grid-column: 1;
}
.st-cta-path span {
  grid-column: 1; grid-row: 2;
  font-size: var(--fs-small);
  color: rgba(250,248,255,0.7);
  letter-spacing: 0.04em;
}
.st-cta-path .arrow {
  grid-column: 2; grid-row: 1 / span 2;
  color: var(--ochre);
  transition: transform var(--dur-2) var(--ease-spring);
}
.st-cta-path:hover .arrow { transform: translateX(4px); }

@media (max-width: 1023px) { .st-cta-grid { grid-template-columns: 1fr; gap: var(--s-6); } }
@media (max-width: 540px)  { .st-cta-paths { grid-template-columns: 1fr; } }


/* ── Video modal ────────────────────────────────────────── */
.st-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  animation: st-modal-in var(--dur-2) var(--ease-out);
}
.st-modal[hidden] { display: none; }

.st-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 53, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.st-modal-dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100vh - var(--s-7));
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.st-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-1) var(--ease-spring), background var(--dur-1);
}
.st-modal-close:hover { background: var(--ochre); transform: scale(1.05); }
.st-modal-close:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.st-modal-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--paper);
  margin: 0;
  letter-spacing: 0.01em;
}

.st-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.st-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes st-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.st-detail-page {
  background:
    radial-gradient(circle at top right, rgba(93, 44, 181, 0.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 107, 53, 0.10), transparent 24%),
    var(--paper);
}

.st-detail-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px);
}

.st-detail-back {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.st-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.st-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.st-detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: rgba(250, 248, 255, 0.88);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.st-detail-title {
  font-size: var(--fs-heading);
  line-height: 0.96;
  letter-spacing: var(--ls-tighter);
  margin: var(--s-4) 0;
}

.st-detail-lede {
  max-width: 58ch;
  margin: 0 0 var(--s-5);
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  line-height: 1.55;
  color: var(--ink-soft);
}

.st-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.st-detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-4);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: rgba(250, 248, 255, 0.74);
}

.st-detail-meta-item span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.st-detail-meta-item strong {
  font-size: var(--fs-small);
  color: var(--ink);
}

.st-detail-author {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3);
  border-radius: 999px;
  background: rgba(250, 248, 255, 0.82);
  border: 1px solid var(--rule);
}

.st-detail-author-media {
  width: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-soft);
  flex-shrink: 0;
}

.st-detail-author-media img,
.st-detail-media img,
.st-detail-related-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.st-detail-author-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.st-detail-author-copy strong {
  color: var(--ink);
  font-size: var(--fs-small);
}

.st-detail-author-copy span {
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.st-detail-media {
  padding: var(--s-5);
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid var(--rule);
  background:
    linear-gradient(160deg, rgba(93, 44, 181, 0.10), rgba(255, 107, 53, 0.08)),
    var(--paper-soft);
  box-shadow: var(--shadow-3);
}

.st-detail-body {
  padding: 0 0 var(--s-9);
}

.st-detail-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.st-detail-intro {
  margin: 0 0 var(--s-6);
  font-size: var(--fs-subheading);
  line-height: 1.7;
  color: var(--ink);
}

.st-detail-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
}

.st-detail-section-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  color: var(--terracotta);
}

.st-detail-section-copy h2 {
  margin: 0 0 var(--s-3);
  font-size: var(--fs-heading);
}

.st-detail-section-copy p {
  margin: 0 0 var(--s-4);
  max-width: 65ch;
  color: var(--ink-soft);
  line-height: 1.75;
}

.st-detail-quote {
  margin: var(--s-7) 0 0;
  padding: clamp(24px, 4vw, 40px);
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(160deg, rgba(93, 44, 181, 0.08), rgba(255, 107, 53, 0.08));
  border: 1px solid var(--rule);
}

.st-detail-quote p {
  margin: 0 0 var(--s-3);
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  line-height: 1.2;
}

.st-detail-quote cite {
  display: block;
  font-style: normal;
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.st-detail-sidebar {
  display: grid;
  gap: var(--s-4);
  position: sticky;
  top: calc(96px + var(--s-4));
}

.st-detail-panel {
  padding: var(--s-5);
  border-radius: calc(var(--radius-lg) - 2px);
  border: 1px solid var(--rule);
  background: rgba(250, 248, 255, 0.88);
  box-shadow: var(--shadow-1);
}

.st-detail-highlight-list,
.st-detail-timeline {
  margin: var(--s-4) 0 0;
}

.st-detail-highlight-list {
  padding-left: 18px;
  display: grid;
  gap: var(--s-3);
}

.st-detail-highlight-list li,
.st-detail-timeline-item p {
  color: var(--ink-soft);
}

.st-detail-stats {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.st-detail-stat {
  padding: var(--s-4);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--rule);
}

.st-detail-stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  line-height: 1;
  color: var(--ink);
}

.st-detail-stat span {
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.st-detail-timeline {
  display: grid;
  gap: var(--s-4);
}

.st-detail-timeline-item {
  padding-left: var(--s-4);
  border-left: 2px solid rgba(93, 44, 181, 0.18);
}

.st-detail-timeline-label {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.st-detail-timeline-item h3 {
  margin: 0 0 8px;
  font-size: var(--fs-subheading);
}

.st-detail-related {
  padding: var(--s-8) 0 var(--s-9);
  background:
    radial-gradient(circle at top left, rgba(93, 44, 181, 0.10), transparent 26%),
    var(--paper-soft);
  border-top: 1px solid var(--rule);
}

.st-detail-related-head {
  margin-bottom: var(--s-5);
}

.st-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.st-detail-related-link {
  display: grid;
  height: 100%;
  text-decoration: none;
  border-radius: calc(var(--radius-lg) - 2px);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out);
}

.st-detail-related-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.st-detail-related-media {
  padding: var(--s-4);
  background: linear-gradient(160deg, rgba(93, 44, 181, 0.08), rgba(255, 107, 53, 0.08));
}

.st-detail-related-copy {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
}

.st-detail-related-meta,
.st-detail-related-cta {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.st-detail-related-meta {
  color: var(--muted);
}

.st-detail-related-copy h3 {
  margin: 0;
  font-size: var(--fs-subheading);
}

.st-detail-related-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.st-detail-related-cta {
  color: var(--terracotta);
}

@media (max-width: 1023px) {
  .st-detail-hero-grid,
  .st-detail-body-grid,
  .st-detail-related-grid {
    grid-template-columns: 1fr;
  }

  .st-detail-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .st-detail-hero {
    padding-top: var(--s-6);
  }

  .st-detail-meta {
    grid-template-columns: 1fr;
  }

  .st-detail-author {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 4px);
  }

  .st-detail-section {
    grid-template-columns: 1fr;
  }

  .st-detail-section-mark {
    width: 40px;
    height: 40px;
  }
}

.st-article-page {
  background:
    radial-gradient(circle at top right, rgba(93, 44, 181, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 107, 53, 0.10), transparent 20%),
    linear-gradient(180deg, rgba(250, 248, 255, 0.98), rgba(244, 240, 255, 0.84)),
    var(--paper);
}

.st-article-hero {
  padding: clamp(40px, 6vw, 84px) 0 var(--s-8);
}

.st-article-back {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.st-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.st-article-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin: var(--s-4) 0 0;
}

.st-article-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(250, 248, 255, 0.9);
  border: 1px solid rgba(93, 44, 181, 0.12);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.st-article-title {
  margin: var(--s-4) 0;
  font-size: var(--fs-heading);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
}

.st-article-authored {
  margin: 0 0 var(--s-3);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-soft);
}

.st-article-hero-actions {
  margin-bottom: var(--s-5);
}

.st-article-lede {
  max-width: 58ch;
  margin: 0 0 var(--s-5);
  font-family: var(--ff-body);
  font-size: var(--fs-lede);
  font-weight: var(--fw-light);
  line-height: 1.55;
  color: var(--ink-soft);
}

.st-article-byline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4);
  border-radius: calc(var(--radius-lg) - 2px);
  border: 1px solid rgba(93, 44, 181, 0.12);
  background: rgba(250, 248, 255, 0.86);
  box-shadow: var(--shadow-warm);
}

.st-article-byline-badge {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
}

.st-article-byline-copy {
  display: grid;
  gap: 4px;
}

.st-article-byline-copy strong {
  color: var(--ink);
  font-size: var(--fs-body);
}

.st-article-byline-copy span {
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.st-article-byline-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  grid-column: 1 / -1;
  padding-top: var(--s-3);
  border-top: 1px dashed var(--rule);
}

.st-article-byline-item {
  display: grid;
  gap: 4px;
}

.st-article-byline-item span {
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.st-article-byline-item strong {
  color: var(--ink);
  font-size: var(--fs-small);
}

.st-article-figure {
  margin: 0;
  display: grid;
  gap: var(--s-3);
}

.st-article-figure-card {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid rgba(93, 44, 181, 0.14);
  background:
    linear-gradient(160deg, rgba(93, 44, 181, 0.14), rgba(255, 107, 53, 0.10)),
    var(--paper-soft);
  padding: clamp(14px, 2vw, 20px);
  box-shadow: var(--shadow-3);
}

.st-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 4px);
}

.st-article-figure figcaption {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.st-article-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.st-article-glance-card {
  padding: var(--s-4);
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid rgba(93, 44, 181, 0.12);
  background: rgba(250, 248, 255, 0.88);
  box-shadow: var(--shadow-1);
}

.st-article-glance-card span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--ff-mono);
  font-size: var(--fs-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.st-article-glance-card strong {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  line-height: 1;
  color: var(--ink);
}

.st-article-main {
  padding: 0 0 var(--s-9);
}

.st-article-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}

.st-article-rail {
  position: relative;
  min-height: 100%;
}

.st-article-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(93, 44, 181, 0.1);
  background: linear-gradient(180deg, rgba(250, 248, 255, 0.96), rgba(244, 240, 255, 0.88));
  box-shadow: var(--shadow-1);
  z-index: 0;
}

.st-article-rail-inner {
  position: sticky;
  top: calc(96px + var(--s-3));
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: var(--s-4);
  scrollbar-width: thin;
  scrollbar-color: rgba(93, 44, 181, 0.28) transparent;
}

.st-article-rail-inner::-webkit-scrollbar {
  width: 6px;
}

.st-article-rail-inner::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(93, 44, 181, 0.24);
}

.st-article-panel {
  padding: var(--s-4);
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid rgba(93, 44, 181, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-1);
  flex-shrink: 0;
}

.st-article-panel--cta {
  background: linear-gradient(160deg, rgba(255, 240, 232, 0.95), rgba(244, 240, 255, 0.98));
}

.st-article-rail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: var(--s-4);
}

.st-article-rail-fact {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(93, 44, 181, 0.05);
  border: 1px solid rgba(93, 44, 181, 0.08);
}

.st-article-rail-fact span {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.st-article-rail-fact strong {
  font-size: var(--fs-small);
  line-height: 1.3;
  color: var(--ink);
  word-break: break-word;
}

.st-article-rail-author {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: var(--s-4);
}

.st-article-rail-author-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-grad);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.st-article-rail-author strong {
  display: block;
  color: var(--ink);
  font-size: var(--fs-small);
  line-height: 1.35;
}

.st-article-rail-author span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.st-article-panel--share .st-share-btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--s-4);
}

.st-article-rail-stories {
  list-style: none;
  margin: var(--s-4) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.st-article-rail-stories a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(93, 44, 181, 0.1);
  background: rgba(250, 248, 255, 0.9);
  transition: border-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}

.st-article-rail-stories a:hover {
  border-color: rgba(93, 44, 181, 0.22);
  transform: translateY(-1px);
}

.st-article-rail-stories-date {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.st-article-rail-stories strong {
  font-size: var(--fs-small);
  line-height: 1.35;
  color: var(--ink);
}

.st-article-rail-stories a > span:last-child {
  font-size: var(--fs-small);
  color: var(--muted);
}

.st-article-rail-links {
  display: grid;
  gap: 8px;
  margin-top: var(--s-4);
}

.st-article-rail-links a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 600;
  border: 1px solid rgba(93, 44, 181, 0.1);
  background: rgba(255, 255, 255, 0.72);
  transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}

.st-article-rail-links a:hover {
  color: var(--terracotta);
  border-color: rgba(93, 44, 181, 0.2);
}

.st-article-panel-copy {
  margin: var(--s-4) 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.st-article-toc {
  display: grid;
  gap: 8px;
  margin-top: var(--s-4);
}

.st-article-toc-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid transparent;
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}

.st-article-toc-link:hover,
.st-article-toc-link.is-active {
  border-color: rgba(93, 44, 181, 0.14);
  background: rgba(93, 44, 181, 0.06);
  color: var(--ink);
}

.st-article-toc-link--depth-3 {
  padding-left: 22px;
  font-size: var(--fs-small);
}

.st-article-highlight-list {
  margin: var(--s-4) 0 0;
  padding-left: 18px;
  display: grid;
  gap: var(--s-3);
}

.st-article-highlight-list li {
  color: var(--ink-soft);
}

.st-article-content {
  min-width: 0;
}

.st-article-overview {
  padding: 0 0 var(--s-6);
}

.st-article-intro {
  margin: 0 0 var(--s-5);
  max-width: 66ch;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--ink-soft);
}

.st-article-anchor {
  scroll-margin-top: 112px;
}

.st-article-content .story-html-content {
  max-width: none;
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: 1.8;
}

.story-html-content {
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: 1.8;
}

.story-html-content h2,
.story-html-content h3,
.story-html-content h4 {
  margin: var(--s-6) 0 var(--s-3);
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: var(--fs-subheading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  scroll-margin-top: 112px;
}

.story-html-content h2:first-child,
.story-html-content h3:first-child,
.story-html-content h4:first-child {
  margin-top: 0;
}

.story-html-content p {
  margin: 0 0 var(--s-4);
}

.story-html-content p:last-child {
  margin-bottom: 0;
}

.story-html-content ul,
.story-html-content ol {
  margin: 0 0 var(--s-4);
  padding-left: 1.25rem;
}

.story-html-content li {
  margin-bottom: 0.5rem;
}

.story-html-content blockquote {
  margin: var(--s-4) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(93, 44, 181, 0.06);
  color: var(--ink-soft);
  font-style: italic;
}

.story-html-content a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.story-html-content a:hover {
  color: var(--ochre-d);
}

.story-html-content img,
.st-article-page--simple .story-html-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: var(--s-5) auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
}

.story-html-content figure,
.st-article-page--simple .story-html-content figure {
  margin: var(--s-5) 0;
}

.story-html-content figcaption,
.st-article-page--simple .story-html-content figcaption {
  margin-top: var(--s-2);
  font-size: var(--fs-small);
  color: var(--muted);
  text-align: center;
}

.st-article-pullquote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4);
  padding: clamp(22px, 3vw, 34px);
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(160deg, rgba(93, 44, 181, 0.08), rgba(255, 107, 53, 0.10));
  border: 1px solid rgba(93, 44, 181, 0.14);
}

.st-article-pullquote-mark {
  font-family: var(--ff-display);
  font-size: var(--fs-heading);
  line-height: 0.8;
  color: var(--terracotta);
}

.st-article-pullquote-copy p {
  margin: 0 0 var(--s-3);
  font-family: var(--ff-display);
  font-size: var(--fs-body);
  line-height: 1.15;
}

.st-article-pullquote-copy cite {
  display: block;
  font-style: normal;
  color: var(--ink-soft);
  font-size: var(--fs-small);
}

.st-article-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-top: 1px solid rgba(93, 44, 181, 0.10);
}

.st-article-section-step {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(93, 44, 181, 0.16);
  background: rgba(250, 248, 255, 0.9);
  color: var(--terracotta);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
}

.st-article-section-copy h2 {
  margin: 0 0 var(--s-3);
  font-size: var(--fs-heading);
  line-height: 0.98;
}

.st-article-section-copy p {
  margin: 0 0 var(--s-4);
  max-width: 66ch;
  color: var(--ink-soft);
  line-height: 1.8;
}

.st-article-timeline-wrap {
  padding-top: var(--s-7);
  border-top: 1px solid rgba(93, 44, 181, 0.10);
}

.st-article-section-heading {
  margin-bottom: var(--s-5);
}

.st-article-section-heading h2 {
  margin: var(--s-3) 0 0;
  font-size: var(--fs-heading);
}

.st-article-timeline {
  display: grid;
  gap: var(--s-4);
}

.st-article-timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
}

.st-article-timeline-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  justify-self: start;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--terracotta);
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.st-article-timeline-card {
  padding: var(--s-4);
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid rgba(93, 44, 181, 0.12);
  background: rgba(250, 248, 255, 0.88);
}

.st-article-timeline-card h3 {
  margin: 0 0 8px;
  font-size: var(--fs-subheading);
}

.st-article-timeline-card p {
  margin: 0;
  color: var(--ink-soft);
}

.st-article-related {
  padding: var(--s-8) 0 var(--s-9);
  border-top: 1px solid rgba(93, 44, 181, 0.12);
  background:
    radial-gradient(circle at top left, rgba(93, 44, 181, 0.10), transparent 24%),
    var(--paper-soft);
}

.st-article-related-head {
  margin-bottom: var(--s-5);
}

.st-article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
}

.st-article-related-link {
  display: grid;
  height: 100%;
  text-decoration: none;
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
  border: 1px solid rgba(93, 44, 181, 0.12);
  background: rgba(250, 248, 255, 0.92);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out);
}

.st-article-related-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.st-article-related-media {
  padding: var(--s-4);
  background: linear-gradient(160deg, rgba(93, 44, 181, 0.08), rgba(255, 107, 53, 0.08));
}

.st-article-related-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 4px);
}

.st-article-related-copy {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
}

.st-article-related-meta,
.st-article-related-cta {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.st-article-related-meta {
  color: var(--muted);
}

.st-article-related-copy h3 {
  margin: 0;
  font-size: var(--fs-subheading);
}

.st-article-related-authored {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-soft);
}

.st-article-related-copy p {
  margin: 0;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.st-article-related-cta {
  color: var(--terracotta);
}

@media (max-width: 1023px) {
  .st-article-shell,
  .st-article-layout,
  .st-article-layout--detail,
  .st-article-related-grid {
    grid-template-columns: 1fr;
  }

  .st-article-rail::before {
    display: none;
  }

  .st-article-rail-inner {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .st-article-rail-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .st-article-hero {
    padding-top: var(--s-6);
  }

  .st-article-byline,
  .st-article-byline-meta,
  .st-article-glance {
    grid-template-columns: 1fr;
  }

  .st-article-pullquote,
  .st-article-section {
    grid-template-columns: 1fr;
  }

  .st-article-timeline-item {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }

  .st-article-timeline-label {
    width: fit-content;
  }

  .st-article-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .st-article-anchor {
    scroll-margin-top: 96px;
  }

  .st-article-section-step {
    width: 40px;
    height: 40px;
  }

  .st-article-pullquote-mark {
    font-size: var(--fs-heading);
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-article-toc-link,
  .st-article-related-link {
    transition: none;
  }
}

.st-article-page--simple .st-article-simple {
  padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 6vw, 88px);
}

.st-article-layout--detail {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
  margin-top: var(--s-5);
}

.st-article-layout--detail .st-article-rail::before {
  display: none;
}

.st-article-layout--detail .st-article-rail-inner {
  padding: 0;
  gap: var(--s-6);
}

.st-article-layout--detail .st-article-panel {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.st-article-layout--detail .st-article-related-grid--rail {
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.st-article-layout--detail .st-article-panel--related .st-article-related-link {
  box-shadow: none;
}

.st-article-layout--detail .st-article-panel--related .st-article-related-media {
  padding: var(--s-3);
}

.st-article-layout--detail .st-article-panel--related .st-article-related-copy {
  padding: var(--s-4);
  gap: var(--s-2);
}

.st-article-layout--detail .st-article-panel--related .st-article-related-copy h3 {
  font-size: var(--fs-small);
  line-height: 1.35;
}

.st-article-layout--detail .st-article-panel--related .st-article-related-copy p:not(.st-article-related-authored) {
  display: none;
}

.st-article-layout--detail .st-article-content {
  min-width: 0;
}

.st-article-layout--detail .st-article-simple-head,
.st-article-layout--detail .st-article-simple-figure,
.st-article-layout--detail .st-share-bar,
.st-article-layout--detail .st-article-simple-body {
  max-width: none;
}

.st-article-panel-title {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink);
}

.st-article-panel-empty {
  margin: var(--s-4) 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
}

.st-article-rail-more {
  display: inline-flex;
  margin-top: var(--s-4);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
}

.st-article-rail-more:hover {
  color: var(--terracotta-d);
}

.st-article-simple-head {
  margin: var(--s-5) 0 var(--s-6);
  max-width: 48rem;
}

.st-article-page--simple .st-article-title {
  margin: 0;
  font-size: var(--fs-heading);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
}

.st-article-simple-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: var(--s-4) 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

.st-article-simple-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--rule);
}

.st-article-simple-figure {
  margin: 0 0 var(--s-6);
  max-width: 48rem;
}

.st-article-simple-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
}

.st-share-bar--compact {
  margin: 0;
  gap: var(--s-2);
}

.st-share-bar--compact .st-share-bar__links {
  gap: 0.35rem;
}

.st-share-bar--compact .st-share-bar__btn {
  width: 2rem;
  height: 2rem;
}

.st-share-bar--compact .st-share-bar__icon {
  width: 0.95rem;
  height: 0.95rem;
}

.st-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-4);
  margin: 0 0 var(--s-6);
  max-width: 48rem;
}

.st-share-bar__label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
}

.st-share-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.st-share-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-1), border-color var(--dur-1), color var(--dur-1), transform var(--dur-1);
}

.st-share-bar__icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  flex-shrink: 0;
}

.st-share-bar__btn:hover {
  transform: translateY(-1px);
}

.st-share-bar__btn--facebook {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.35);
  background: rgba(24, 119, 242, 0.12);
}

.st-share-bar__btn--facebook:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.22);
}

.st-share-bar__btn--twitter {
  color: #1d9bf0;
  border-color: rgba(29, 155, 240, 0.35);
  background: rgba(29, 155, 240, 0.12);
}

.st-share-bar__btn--twitter:hover {
  border-color: #1d9bf0;
  background: rgba(29, 155, 240, 0.22);
}

.st-share-bar__btn--whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.12);
}

.st-share-bar__btn--whatsapp:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.22);
}

.st-share-bar__btn--instagram {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.st-share-bar__btn--instagram:hover {
  filter: brightness(1.05);
}

.st-share-bar__btn--instagram.is-copied {
  color: #ffffff;
  border-color: transparent;
  background: var(--leaf);
  filter: none;
}

.st-article-simple-body {
  max-width: 48rem;
}

.st-article-page--simple .story-html-content {
  max-width: none;
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: 1.8;
}

.st-article-page--simple .story-html-content h1,
.st-article-page--simple .story-html-content h2,
.st-article-page--simple .story-html-content h3,
.st-article-page--simple .story-html-content h4 {
  margin: var(--s-6) 0 var(--s-3);
  color: var(--ink);
  font-family: var(--ff-display);
  line-height: var(--lh-snug);
}

.st-article-page--simple .story-html-content h1 { font-size: var(--fs-heading); }
.st-article-page--simple .story-html-content h2 { font-size: var(--fs-subheading); }
.st-article-page--simple .story-html-content h3,
.st-article-page--simple .story-html-content h4 { font-size: var(--fs-body); font-weight: var(--fw-semibold); }

.st-article-page--simple .story-html-content p {
  margin: 0 0 var(--s-4);
}

.st-article-page--simple .story-html-content ul,
.st-article-page--simple .story-html-content ol {
  margin: 0 0 var(--s-4);
  padding-left: 1.25rem;
}

.st-article-page--simple .story-html-content a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.st-article-page--simple .story-html-content blockquote {
  margin: var(--s-4) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--terracotta);
  color: var(--ink-soft);
  font-style: italic;
}

@media (max-width: 1023px) {
  .st-article-layout--detail {
    grid-template-columns: 1fr;
  }

  .st-article-layout--detail .st-article-rail-inner {
    width: 100%;
  }

  .st-article-layout--detail .st-article-panel--related {
    margin-top: var(--s-6);
    padding-top: var(--s-6);
    border-top: 1px solid var(--rule);
  }

  .st-article-layout--detail .st-article-panel--related .st-article-related-grid--rail {
    gap: var(--s-4);
  }

  .st-article-layout--detail .st-article-panel--related .st-article-related-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    border: 1px solid rgba(93, 44, 181, 0.12);
    border-radius: var(--radius-lg);
    background: var(--paper);
  }

  .st-article-layout--detail .st-article-panel--related .st-article-related-media {
    padding: var(--s-3) var(--s-3) 0;
  }

  .st-article-layout--detail .st-article-panel--related .st-article-related-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
  }

  .st-article-layout--detail .st-article-panel--related .st-article-related-copy {
    padding: var(--s-4);
    min-width: 0;
  }

  .st-article-layout--detail .st-article-panel--related .st-article-related-copy h3 {
    font-size: var(--fs-body);
    line-height: 1.4;
  }

  .st-article-layout--detail .st-article-panel:not(.st-article-panel--related) {
    padding-top: var(--s-6);
    border-top: 1px solid var(--rule);
  }

  .st-article-rail-stories a {
    min-width: 0;
  }

  .st-article-rail-stories strong {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 720px) {
  .st-article-page--simple .st-article-simple {
    padding: var(--s-6) 0 var(--s-8);
  }

  .st-article-page--simple .st-article-title {
    font-size: clamp(1.5rem, 6vw, var(--fs-heading));
  }

  .st-article-simple-head,
  .st-article-simple-figure,
  .st-share-bar,
  .st-article-simple-body {
    max-width: none;
  }

  .story-html-content img,
  .st-article-page--simple .story-html-content img,
  .st-article-simple-figure img {
    max-width: 100%;
    height: auto;
  }

  .story-html-content,
  .st-article-page--simple .story-html-content {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

