/* ==========================================================================
   ChhattisgarhABC — premium theme (purple · blue · orange)
   One stylesheet for the whole public site.
   ========================================================================== */

/* Self-hosted fonts (latin, latin-ext, devanagari). Variable files cover every weight used. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans Devanagari'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/noto-sans-devanagari-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A; }
@font-face { font-family: 'Noto Sans Devanagari'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/noto-sans-devanagari-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Noto Sans Devanagari'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/noto-sans-devanagari-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1. Tokens ---------- */
:root {
  --purple:       #5d2cb5;
  --purple-dark:  #45208a;
  --purple-soft:  #f0eafc;
  --blue:         #3237f0;
  --blue-soft:    #e9eafe;
  --orange:       #ff6b35;
  --orange-dark:  #e5531d;
  --orange-light: #ff9a6e;
  --orange-soft:  #fff0e8;

  --night:   #0e0a26;
  --night-2: #1a1442;
  --ink:     #15112e;
  --text:    #423e5a;
  --muted:   #6e6a88;
  --line:    #e9e5f5;
  --bg:      #fbfaff;
  --soft:    #f5f2fd;
  --white:   #ffffff;

  --grad:        linear-gradient(120deg, #5d2cb5 0%, #3237f0 100%);
  --grad-warm:   linear-gradient(120deg, #5d2cb5 0%, #3237f0 55%, #ff6b35 100%);
  --grad-orange: linear-gradient(120deg, #ff6b35 0%, #ff8f4f 100%);
  --mesh: radial-gradient(60% 80% at 0% 0%, #ece3ff 0%, transparent 60%), radial-gradient(50% 70% at 100% 10%, #e1e6ff 0%, transparent 60%), radial-gradient(40% 60% at 70% 100%, #ffe7dc 0%, transparent 65%), linear-gradient(180deg, #faf8ff, #f6f4ff);

  --font-head: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --header-h: 78px;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(21, 17, 46, .05), 0 2px 8px -2px rgba(21, 17, 46, .06);
  --shadow:    0 16px 40px -18px rgba(45, 26, 120, .28);
  --shadow-lg: 0 30px 70px -28px rgba(45, 26, 120, .45);
  --glow:      0 18px 40px -14px rgba(93, 44, 181, .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 clamp(15.5px, .9vw + 10px, 17px)/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-family: var(--font-head); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(36px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--purple); color: var(--white); }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.section--sand { background: var(--soft); }
.section--dark { background: var(--night); color: #c9c4e8; overflow: hidden; isolation: isolate; }
.section--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 0% 0%, rgba(93, 44, 181, .45), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(50, 55, 240, .35), transparent 70%); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.on-dark-muted { color: #bdb7e2; }
.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; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 10px 16px; border-radius: var(--r-sm); background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; color: var(--white); }
.muted { color: var(--muted); }
.center { text-align: center; }

.mark, .grad-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  font: 700 12.5px/1 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 107, 53, .18); }
.section--dark .kicker { background: rgba(255, 255, 255, .08); color: #e3dcff; }

.section-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-title h2 { margin: 0; max-width: 20ch; }
.section-title p { margin: 12px 0 0; max-width: 56ch; color: var(--muted); }
.section-title--center { flex-direction: column; align-items: center; text-align: center; }
.section-title--center h2 { max-width: 24ch; }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 700 15.5px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { flex-shrink: 0; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); background-size: 160% 100%; color: var(--white); box-shadow: var(--glow); }
.btn--primary:hover { background-position: 100% 0; color: var(--white); box-shadow: 0 22px 44px -16px rgba(50, 55, 240, .6); }
.btn--accent { background: var(--grad-orange); color: var(--white); box-shadow: 0 16px 34px -14px rgba(255, 107, 53, .75); }
.btn--accent:hover { color: var(--white); box-shadow: 0 22px 44px -14px rgba(255, 107, 53, .85); }
.btn--outline { border-color: var(--line); background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--purple); color: var(--purple); }
.btn--glass { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: var(--white); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); color: var(--white); }
.btn--sm { min-height: 42px; padding: 9px 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-weight: 700; text-decoration: none; }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- 4. Scroll progress + header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 150; height: 3px; background: var(--grad-warm); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(251, 250, 255, .9); transition: box-shadow .3s var(--ease), background .3s var(--ease); }
@supports (backdrop-filter: blur(6px)) { .header { background: rgba(251, 250, 255, .72); backdrop-filter: blur(16px) saturate(170%); } }
.header.is-scrolled { box-shadow: 0 1px 0 rgba(93, 44, 181, .08), 0 10px 30px -18px rgba(45, 26, 120, .25); }
.header__row { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__row { height: 66px; }
.header__logo { display: block; flex: none; }
.header__logo img { display: block; height: 50px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo img { height: 42px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link, .nav__group > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__group > summary::-webkit-details-marker { display: none; }
.nav__link:hover, .nav__group > summary:hover, .nav__link.is-active, .nav__group.is-active > summary { color: var(--purple); background: var(--purple-soft); }
.nav__group { position: relative; }
.nav__group > summary svg { transition: transform .3s var(--ease); }
.nav__group[open] > summary svg { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 12px); left: 50%; width: 300px; padding: 10px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); transform: translateX(-50%); animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -8px); } }
.nav__menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); color: var(--ink); font-weight: 700; text-decoration: none; transition: background .2s, transform .25s var(--ease); }
.nav__menu a small { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.nav__menu a:hover { background: var(--soft); color: var(--purple); transform: translateX(3px); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__login { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.header__login:hover { color: var(--purple); }
.menu-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--purple-soft); color: var(--purple); cursor: pointer; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.nav__mobile-cta { display: none; }

@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; }
  .header__actions .header__login, .header__actions .btn { display: none; }
  .header__actions { margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 16px var(--gutter) 40px; background: var(--bg); overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s; }
  .header.is-scrolled .nav { inset: 66px 0 0; }
  .menu-open { overflow: hidden; }
  .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .menu-open .nav__list > li { opacity: 1; transform: none; }
  .menu-open .nav__list > li:nth-child(2) { transition-delay: .05s; }
  .menu-open .nav__list > li:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav__list > li:nth-child(4) { transition-delay: .15s; }
  .menu-open .nav__list > li:nth-child(5) { transition-delay: .2s; }
  .menu-open .nav__list > li:nth-child(6) { transition-delay: .25s; }
  .nav__link, .nav__group > summary { justify-content: space-between; width: 100%; padding: 18px 4px; border-radius: 0; font: 700 22px/1.2 var(--font-head); }
  .nav__link:hover, .nav__link.is-active, .nav__group.is-active > summary, .nav__group > summary:hover { background: none; }
  .nav__menu { position: static; width: auto; padding: 0 0 14px; border: 0; box-shadow: none; background: transparent; transform: none; animation: none; }
  .nav__mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
}
@media (max-width: 420px) { .header__logo img, .header.is-scrolled .header__logo img { height: 40px; } }

/* ---------- 5. Floating colour orbs (light mesh hero backgrounds) ---------- */
.orbs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orbs span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .42; will-change: transform; }
.orbs span:nth-child(1) { width: 46vw; max-width: 620px; aspect-ratio: 1; left: -10%; top: -28%; background: #8b5cf6; animation: orb1 18s ease-in-out infinite alternate; }
.orbs span:nth-child(2) { width: 40vw; max-width: 540px; aspect-ratio: 1; right: -8%; top: 4%; background: #4f6bff; animation: orb2 22s ease-in-out infinite alternate; }
.orbs span:nth-child(3) { width: 26vw; max-width: 360px; aspect-ratio: 1; left: 36%; bottom: -30%; background: #ff8a5c; opacity: .38; animation: orb3 16s ease-in-out infinite alternate; }
@keyframes orb1 { to { transform: translate(12%, 18%) scale(1.15); } }
@keyframes orb2 { to { transform: translate(-16%, 12%) scale(.9); } }
@keyframes orb3 { to { transform: translate(-30%, -20%) scale(1.2); } }

/* ---------- 6. Page header (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(52px, 7vw, 92px); background: var(--mesh); color: var(--text); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(93, 44, 181, .16) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask: radial-gradient(60% 80% at 85% 30%, #000, transparent); mask: radial-gradient(60% 80% at 85% 30%, #000, transparent); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(93, 44, 181, .25), transparent); }
.page-hero h1 { max-width: 18ch; margin-bottom: 16px; background: linear-gradient(120deg, var(--ink) 20%, var(--purple) 75%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { max-width: 60ch; margin: 0; color: var(--text); font-size: clamp(17px, 1.3vw, 19px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--purple); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--orange-dark); }
.article-head .crumbs, .article-head .crumbs a { color: var(--muted); }
.article-head .crumbs a:hover { color: var(--purple); }
.stat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stat-pill { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border: 1px solid rgba(93, 44, 181, .14); border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--muted); font-size: 14.5px; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.stat-pill b { font: 800 20px/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 7. Cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card, .topic, .path, .member, .person, .report, .campaign, .step, .value, .number, .event-row, .side-box, .contact-card { position: relative; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
/* Gradient hairline border that lights up on hover */
.card::before, .topic::before, .path::before, .member::before, .person::before, .report::before, .campaign::before, .event-row::before, .number::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(93, 44, 181, .12), rgba(50, 55, 240, .08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.card:hover::before, .topic:hover::before, .path:hover::before, .member:hover::before, .person:hover::before, .report:hover::before, .campaign:hover::before, .event-row:hover::before, .number:hover::before { background: var(--grad-warm); }

.card { display: flex; flex-direction: column; height: 100%; overflow: hidden; color: inherit; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.07); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 10, 38, .35)); opacity: 0; transition: opacity .45s var(--ease); }
.card:hover .card__img::after { opacity: 1; }
.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 24px; }
.card__title { margin: 0; font-size: 19px; line-height: 1.3; }
.card__text { margin: 0; color: var(--muted); font-size: 15px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; color: var(--muted); font-size: 14px; }
.card__more { color: var(--purple); font-weight: 700; font-size: 14.5px; }
.chip { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 12px; border-radius: 999px; background: var(--purple-soft); color: var(--purple); font-size: 12.5px; font-weight: 700; letter-spacing: .01em; }
.chip--blue { background: var(--blue-soft); color: var(--blue); }
.chip--orange { background: var(--orange-soft); color: var(--orange-dark); }
.chip--float { position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); }
.clamp-2, .clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }

.date-badge { display: grid; place-items: center; align-content: center; width: 74px; height: 80px; flex-shrink: 0; border-radius: var(--r); background: var(--grad); color: var(--white); text-align: center; line-height: 1; box-shadow: var(--glow); }
.date-badge b { font: 800 28px/1 var(--font-head); }
.date-badge span { margin-top: 5px; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.date-badge--past { background: var(--soft); color: var(--ink); box-shadow: none; }

.topic-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; flex-shrink: 0; border-radius: 18px; background: var(--purple-soft); color: var(--purple); transition: transform .45s var(--ease); }
.topic-icon::before { content: ""; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

/* ---------- 8. Forms ---------- */
.form-grid { display: grid; gap: 18px 20px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 14px; font-weight: 700; }
.field__hint { margin: 0; color: var(--muted); font-size: 13.5px; }
.field__error { margin: 0; color: #c11f2f; font-size: 13.5px; font-weight: 600; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); font: 16px/1.4 var(--font-body); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.field textarea { min-height: 132px; resize: vertical; }
.field select, select.input { appearance: none; padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236e6a88' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #a7a2c0; }
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: #d7cff0; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 5px rgba(93, 44, 181, .12); }
.field [aria-invalid="true"] { border-color: #c11f2f; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--purple); }
.password { position: relative; }
.password input { padding-right: 80px; }
.password button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 7px 12px; border: 0; border-radius: 10px; background: var(--purple-soft); color: var(--purple); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.panel { position: relative; padding: clamp(24px, 4vw, 44px); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.notice { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.notice--error { background: #fdeef0; color: #8f1623; }
.notice--ok { background: var(--blue-soft); color: var(--purple-dark); }

.filters { display: grid; gap: 14px; align-items: end; margin-bottom: 30px; padding: 20px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (min-width: 760px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; } }
.filters .field label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.result-count { margin: -8px 0 24px; color: var(--muted); font-size: 15px; }

/* ---------- 9. Pagination ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.pager a:hover { transform: translateY(-2px); color: var(--purple); }
.pager .is-current { background: var(--grad); color: var(--white); box-shadow: var(--glow); }
.pager .is-disabled { opacity: .45; }
.pager .gap { background: transparent; box-shadow: none; min-width: 20px; padding: 0; }

/* ---------- 10. Toast ---------- */
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; gap: 14px; width: min(420px, calc(100vw - 40px)); padding: 18px 18px 18px 24px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .4s var(--ease), transform .4s var(--ease); overflow: hidden; }
.toast::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--grad); }
.toast.is-shown { opacity: 1; transform: none; }
.toast--error::before { background: #c11f2f; }
.toast b { display: block; color: var(--ink); }
.toast p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.toast button { align-self: flex-start; margin-left: auto; padding: 0 4px; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }

/* ---------- 11. Footer ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(64px, 8vw, 96px); background: var(--night); color: #a9a3cf; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-warm); }
.footer::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -220px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(93, 44, 181, .45), transparent 65%); }
.footer a { color: #e5e1fa; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--orange-light); }
.footer__top { display: grid; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr 1.5fr; } }
.footer__logo { display: inline-block; margin-bottom: 18px; padding: 10px 14px; border-radius: 14px; background: var(--white); }
.footer__logo img { display: block; height: 45px; width: auto; }
.footer h2 { margin: 0 0 18px; color: var(--white); font: 700 13px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.footer ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer__about { max-width: 34ch; }
.socials { display: flex !important; gap: 10px !important; margin-top: 20px !important; }
.socials a { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; transition: background .3s, transform .3s var(--ease), border-color .3s; }
.socials a:hover { background: var(--grad); border-color: transparent; color: var(--white); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.subscribe { display: flex; gap: 6px; margin: 14px 0 12px; padding: 6px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .05); transition: border-color .3s; }
.subscribe input { flex: 1; min-width: 0; padding: 8px 14px; border: 0; background: transparent; color: var(--white); font: 15px var(--font-body); }
.subscribe input::placeholder { color: rgba(255, 255, 255, .45); }
.subscribe input:focus { outline: none; }
.subscribe:focus-within { border-color: var(--orange-light); }
.subscribe button { padding: 11px 20px; border: 0; border-radius: 999px; background: var(--grad-orange); color: var(--white); font-weight: 700; cursor: pointer; transition: transform .25s var(--ease); }
.subscribe button:hover { transform: scale(1.04); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 24px; color: #8580ad; font-size: 14px; }

/* ---------- 12. Home ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(120px, 12vw, 170px); background: var(--mesh); color: var(--text); }
.hero__grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(93, 44, 181, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(93, 44, 181, .07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
/* Old slide fades out first, then the new one fades in, so text never overlaps. */
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease) .35s, visibility 0s .35s; }
@media (min-width: 900px) { .hero__slide { grid-template-columns: 1.08fr .92fr; } }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 16px 8px 12px; border: 1px solid rgba(93, 44, 181, .16); border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--purple); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.hero__eyebrow i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero__eyebrow i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { to { transform: scale(2.2); opacity: 0; } }
.hero__title { margin-bottom: 22px; font-size: clamp(36px, 5.4vw, 68px); background: linear-gradient(115deg, var(--ink) 25%, var(--purple) 62%, var(--blue) 85%, var(--orange)); background-size: 220% 100%; animation: sheen 9s ease-in-out infinite alternate; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { max-width: 50ch; margin-bottom: 32px; color: var(--text); font-size: clamp(16.5px, 1.3vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; padding: 18px; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hero__ring { position: relative; padding: 3px; border-radius: 280px 280px var(--r-lg) var(--r-lg); background: conic-gradient(from var(--angle), #5d2cb5, #3237f0, #ff6b35, #5d2cb5); animation: spin 8s linear infinite; box-shadow: 0 40px 90px -30px rgba(93, 44, 181, .55), 0 0 0 10px rgba(255, 255, 255, .55); }
@keyframes spin { to { --angle: 360deg; } }
.hero__photo { aspect-ratio: 8 / 9; border-radius: inherit; overflow: hidden; background: var(--purple-soft); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active .hero__photo img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.glass-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--r); background: rgba(255, 255, 255, .82); box-shadow: var(--shadow-lg); backdrop-filter: blur(14px); color: var(--ink); animation: bob 6s ease-in-out infinite; }
.glass-card--a { left: -8px; bottom: 18%; }
.glass-card--b { right: -6px; top: 14%; animation-delay: -3s; }
.glass-card b { display: block; font: 800 24px/1 var(--font-head); color: var(--ink); }
.glass-card span { color: var(--muted); font-size: 13px; }
.glass-card i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: var(--white); font-style: normal; }
.glass-card--b i { background: var(--grad-orange); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.hero__dots { display: flex; gap: 10px; margin-top: 40px; }
.hero__dot { position: relative; width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: rgba(93, 44, 181, .2); cursor: pointer; overflow: hidden; transition: width .4s var(--ease); }
.hero__dot.is-active { width: 44px; }
.hero__dot.is-active::after { content: ""; position: absolute; inset: 0; background: var(--grad-orange); transform-origin: left; animation: fill 6.5s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sheen { to { background-position: 100% 0; } }
.hero .btn--glass { border-color: rgba(93, 44, 181, .18); background: rgba(255, 255, 255, .8); color: var(--ink); box-shadow: var(--shadow-sm); }
.hero .btn--glass:hover { border-color: var(--purple); background: var(--white); color: var(--purple); }
/* Floating outline shapes behind the hero */
.hero__shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__shapes span { position: absolute; display: block; animation: drift 14s ease-in-out infinite alternate; }
.hero__shapes .s1 { left: 4%; top: 16%; width: 64px; height: 64px; border: 2px solid rgba(93, 44, 181, .35); border-radius: 50%; }
.hero__shapes .s2 { left: 46%; top: 8%; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 26px 18px 0 -3px rgba(255, 107, 53, .5), 8px 40px 0 -4px rgba(50, 55, 240, .5); animation-duration: 10s; }
.hero__shapes .s3 { right: 6%; bottom: 22%; width: 46px; height: 46px; border: 2px solid rgba(50, 55, 240, .35); border-radius: 12px; transform: rotate(18deg); animation-duration: 17s; }
.hero__shapes .s4 { left: 40%; bottom: 20%; width: 22px; height: 22px; background: linear-gradient(var(--purple), var(--purple)) center / 100% 3px no-repeat, linear-gradient(var(--purple), var(--purple)) center / 3px 100% no-repeat; opacity: .5; animation-duration: 12s; }
@keyframes drift { to { translate: 18px -26px; rotate: 40deg; } }
@media (max-width: 899px) { .hero__shapes .s2, .hero__shapes .s4 { display: none; } }
@media (max-width: 899px) {
  .hero__media { order: -1; width: 100%; max-width: 420px; margin-inline: auto; padding: 10px; }
  /* Same 8:9 shape as desktop, so the admin crop is exactly what visitors see */
  .hero__ring { border-radius: 200px 200px var(--r-lg) var(--r-lg); }
  .glass-card { padding: 10px 14px 10px 10px; }
  .glass-card b { font-size: 19px; }
  .glass-card i { width: 36px; height: 36px; }
  .glass-card--b { display: none; }
}

.stats-wrap { position: relative; z-index: 3; margin-top: clamp(-96px, -8vw, -64px); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 24px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats > div + div { border-left: 1px solid var(--line); } }
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 14px clamp(10px, 2vw, 24px); text-align: center; }
.stats dd { margin: 0; }
.stats dt { color: var(--muted); font-size: 14.5px; }
.stats b { font: 800 clamp(32px, 3.6vw, 48px)/1 var(--font-head); background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

.ticker { margin-top: clamp(40px, 5vw, 64px); padding: 18px 0; overflow: hidden; border-block: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 48px; color: var(--ink); font: 700 clamp(18px, 2vw, 24px)/1 var(--font-head); white-space: nowrap; letter-spacing: -.01em; }
.ticker span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-warm); }
@keyframes marquee { to { transform: translateX(-50%); } }

.approach { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .approach { grid-template-columns: .95fr 1.05fr; } .approach__intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.approach__intro p { color: var(--muted); max-width: 46ch; }
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px 26px; counter-increment: step; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.step::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: var(--white); font: 800 17px/1 var(--font-head); box-shadow: var(--glow); }
.step:nth-child(even)::before { background: var(--grad-orange); box-shadow: 0 14px 30px -14px rgba(255, 107, 53, .8); }
.step h3 { margin: 4px 0 4px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 22px; overflow-x: auto; padding: 6px 6px 22px; margin-inline: -6px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--purple) transparent; }
.rail > * { scroll-snap-align: start; }
.rail .card__img { aspect-ratio: 1; }

/* "In focus right now": pinned section — vertical scroll moves the cards sideways,
   the page continues only after the last card has come into view. */
.focus { position: relative; background: var(--soft); }
.focus__sticky { padding-block: clamp(64px, 8vw, 112px); }
.focus__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.focus__head h2 { margin: 0; }
.focus__head p { margin: 8px 0 0; color: var(--muted); }
.focus__meter { display: none; align-items: center; gap: 16px; min-width: 220px; color: var(--muted); font: 700 15px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.focus__meter b { color: var(--ink); font-size: 28px; }
.focus__bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(93, 44, 181, .14); overflow: hidden; }
.focus__bar i { display: block; height: 100%; background: var(--grad-warm); transform-origin: left; transform: scaleX(var(--p, 0)); }
.focus__viewport { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--purple) transparent; }
.focus__track { display: flex; gap: clamp(16px, 2vw, 26px); width: max-content; padding: 14px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 26px; }
.focus__card { --cw: clamp(250px, min(27vw, 44vh), 340px); position: relative; flex: 0 0 var(--cw); display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; color: inherit; text-decoration: none; transform-origin: 50% 60%; }
.focus__card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.focus__card:hover img { transform: scale(1.05); }
.focus__num { position: absolute; top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--purple); font: 800 12.5px/1 var(--font-head); box-shadow: var(--shadow-sm); }
.focus__body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.focus__body h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.focus__body p { margin: 0; color: var(--muted); font-size: 14.5px; }
.focus__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 2px; background: var(--grad-warm); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s var(--ease); }
/* Pinned mode (added by site.js) */
.focus.is-pinned .focus__sticky { position: sticky; top: 66px; height: calc(100vh - 66px); height: calc(100svh - 66px); display: flex; flex-direction: column; justify-content: center; padding-block: 24px; overflow: hidden; }
.focus.is-pinned .focus__meter { display: flex; }
.focus.is-pinned .focus__viewport { overflow: visible; }
.focus.is-pinned .focus__track { will-change: transform; }
.focus.is-pinned .focus__card { opacity: var(--o, 1); transform: scale(var(--s, 1)); transition: box-shadow .4s var(--ease); }
.focus.is-pinned .focus__card.is-focus { box-shadow: var(--shadow-lg); }
.focus.is-pinned .focus__card.is-focus::after { opacity: 1; }
@media (max-height: 620px) { .focus__body p { display: none; } }

.feature-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 960px) {
  .feature-grid { grid-template-columns: 1.25fr 1fr; }
  .feature-grid > :first-child { grid-row: span 2; }
  .feature-grid > :not(:first-child) { flex-direction: row; }
  .feature-grid > :not(:first-child) .card__img { width: 42%; aspect-ratio: auto; flex-shrink: 0; }
  .feature-grid > :first-child .card__title { font-size: 26px; }
}
.feature-grid > :first-child .card__img { aspect-ratio: 4 / 3.1; }

.event-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.event-row { display: flex; align-items: center; gap: 20px; padding: 16px 24px 16px 16px; color: inherit; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.event-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.event-row__img { width: 124px; height: 90px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--soft); }
.event-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.event-row:hover .event-row__img img { transform: scale(1.08); }
.event-row__body { flex: 1; min-width: 0; }
.event-row__body h3 { margin: 0 0 4px; font-size: 18.5px; }
.event-row__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 14.5px; }
.event-row__arrow { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--soft); color: var(--purple); transition: background .3s, color .3s, transform .4s var(--ease); }
.event-row:hover .event-row__arrow { background: var(--grad); color: var(--white); transform: rotate(-45deg); }
@media (max-width: 640px) { .event-row { flex-wrap: wrap; padding: 14px; } .event-row__img, .event-row__arrow { display: none; } }

.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: var(--r-lg); color: var(--white); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.tile::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -70px; bottom: -90px; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: transform .6s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--white); }
.tile:hover::after { transform: scale(1.4); }
.tile h3 { margin: 8px 0 0; color: var(--white); font-size: 21px; }
.tile p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 15px; }
.tile .link-arrow { margin-top: auto; padding-top: 10px; color: var(--white); }
.tile--1 { background: linear-gradient(140deg, #5d2cb5, #7a49d6); }
.tile--2 { background: linear-gradient(140deg, #3237f0, #5b60ff); }
.tile--3 { background: linear-gradient(140deg, #ff6b35, #ff9461); }
.tile--4 { background: linear-gradient(140deg, #1d1650, #3a2a8f); }
.tile__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .18); color: var(--white); }

.join { position: relative; isolation: isolate; display: grid; gap: 32px; align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: clamp(28px, 4vw, 40px); background: var(--night); color: #cfcaee; overflow: hidden; }
@media (min-width: 900px) { .join { grid-template-columns: 1fr 1fr; } }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 0% 0%, rgba(93, 44, 181, .75), transparent 70%), radial-gradient(50% 80% at 100% 100%, rgba(50, 55, 240, .6), transparent 70%), radial-gradient(30% 40% at 85% 10%, rgba(255, 107, 53, .45), transparent 70%); }
.join h2 { color: var(--white); }
.join p { max-width: 44ch; }
.join__paths { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .join__paths { grid-template-columns: 1fr 1fr; } }
.join__paths a { display: block; height: 100%; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); background: rgba(255, 255, 255, .06); color: #cfcaee; text-decoration: none; backdrop-filter: blur(8px); transition: background .3s, transform .4s var(--ease), border-color .3s; }
.join__paths a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 154, 110, .6); color: var(--white); transform: translateY(-3px); }
.join__paths b { display: block; color: var(--white); font: 700 18px/1.3 var(--font-head); }
.join__paths span { font-size: 14.5px; }

/* ---------- 13. About ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.arch-img { position: relative; aspect-ratio: 4 / 4.4; border-radius: 280px 280px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--soft); box-shadow: var(--shadow-lg); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch-img:hover img { transform: scale(1.05); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); }
.values { display: grid; gap: 22px; }
@media (min-width: 800px) { .values { grid-template-columns: 1fr 1fr; } }
.value { padding: clamp(28px, 3.5vw, 44px); overflow: hidden; }
.value::after { content: ""; position: absolute; width: 200px; height: 200px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(93, 44, 181, .16), transparent 70%); }
.value:nth-child(2)::after { background: radial-gradient(circle, rgba(255, 107, 53, .18), transparent 70%); }
.value h3 { font-size: clamp(21px, 2vw, 26px); }
.value__statement { color: var(--ink); font-size: 18px; }
.value p:last-child { margin-bottom: 0; }
.journey { display: grid; gap: clamp(40px, 6vw, 80px); margin: 0; padding: 0; list-style: none; }
.journey li { display: grid; gap: clamp(20px, 4vw, 64px); align-items: center; }
@media (min-width: 860px) { .journey li { grid-template-columns: 1fr 1fr; } .journey li:nth-child(even) > :first-child { order: 2; } }
.journey__img { aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.journey__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.journey li:hover .journey__img img { transform: scale(1.05); }
.journey__num { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; background: var(--grad); color: var(--white); font: 800 19px/1 var(--font-head); box-shadow: var(--glow); }
.journey li:nth-child(even) .journey__num { background: var(--grad-orange); }
.journey h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; }
.journey p { color: var(--muted); }
.quote { max-width: 880px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0 0 26px; color: var(--white); font: 600 clamp(20px, 2.3vw, 28px)/1.5 var(--font-head); letter-spacing: -.01em; }
.quote blockquote::before { content: "\201C"; display: block; height: 56px; background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 100px; line-height: 1; }
.quote cite { font-style: normal; color: #bdb7e2; }
.quote cite b { display: block; color: var(--white); font-size: 17px; }
.numbers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.number { padding: 30px 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.number:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.number b { display: block; font: 800 46px/1 var(--font-head); background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.number h3 { margin: 14px 0 6px; font-size: 19px; }
.number p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- 14. Filter buttons (Events) ---------- */
.campaign-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.campaign-filter button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .3s var(--ease); }
.campaign-filter button:hover { border-color: var(--purple); color: var(--purple); }
.campaign-filter button[aria-pressed="true"] { border-color: transparent; background: var(--grad); color: var(--white); box-shadow: var(--glow); }
[data-theme][hidden] { display: none !important; }

/* ---------- 15. Article pages ---------- */
.article-head { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(26px, 3vw, 40px); }
.article-head h1 { max-width: 24ch; font-size: clamp(30px, 4.2vw, 54px); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; background: var(--soft); box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; }
.article-cover--contain img { object-fit: contain; background: var(--soft); }
.article-layout { display: grid; gap: clamp(32px, 5vw, 64px); padding-block: 8px clamp(64px, 8vw, 104px); }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 330px; } }
.article-side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) { .article-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-box { padding: 26px; }
.side-box h2 { margin: 0 0 16px; font-size: 18px; }
.facts { display: grid; gap: 14px; margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 0; color: var(--ink); font-weight: 700; }
.mini-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.mini-list a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.mini-list img, .mini-list .ph { width: 72px; height: 60px; border-radius: 12px; object-fit: cover; background: var(--soft); transition: transform .4s var(--ease); }
.mini-list a:hover img { transform: scale(1.06); }
.mini-list b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.35; transition: color .2s; }
.mini-list small { color: var(--muted); }
.mini-list a:hover b { color: var(--purple); }

.prose { color: var(--text); font-size: clamp(16.5px, 1.1vw, 18px); line-height: 1.85; overflow-wrap: anywhere; }
.prose > * { max-width: 72ch; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; }
.prose h2 { font-size: clamp(23px, 2.4vw, 30px); }
.prose img { max-width: 100%; margin: 1.5em 0; border-radius: var(--r); }
.prose figure { margin: 1.5em 0; }
.prose figcaption { color: var(--muted); font-size: 14.5px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); color: var(--ink); font-family: var(--font-head); font-size: 1.12em; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { word-break: break-word; }

.st-share-bar { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.st-share-bar__label { color: var(--muted); font-size: 14px; font-weight: 700; }
.st-share-bar__links { display: flex; gap: 8px; }
.st-share-bar__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s; }
.st-share-bar__btn:hover { background: var(--grad); color: var(--white); transform: translateY(-2px); }
.st-share-bar__btn.is-copied { background: var(--orange); color: var(--white); }
.st-share-bar__icon { width: 17px; height: 17px; }
.st-share-bar--compact .st-share-bar__btn { width: 34px; height: 34px; }

/* ---------- 16. People & resources ---------- */
.person { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 20px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person__photo, .person__initial { width: 108px; height: 108px; margin-bottom: 10px; border-radius: 50%; padding: 3px; background: var(--grad-warm); object-fit: cover; }
.person__initial { display: grid; place-items: center; color: var(--white); font: 800 38px/1 var(--font-head); }
.person h3 { margin: 0; font-size: 17.5px; }
.person a { font-size: 14px; word-break: break-all; }
.social-icons { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.member .social-icons { justify-content: flex-start; }
.social-icons__link { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--ink); transition: background .3s, color .3s, transform .3s var(--ease); }
.social-icons__link:hover { background: var(--grad); color: var(--white); transform: translateY(-2px); }
.social-icons__svg { width: 16px; height: 16px; }

.member { display: flex; flex-direction: column; gap: 12px; padding: 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__head { display: flex; align-items: center; gap: 14px; }
.member__logo, .member__initial { width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%; object-fit: cover; background: var(--soft); }
.member__initial { display: grid; place-items: center; background: var(--grad); color: var(--white); font: 800 22px/1 var(--font-head); }
.member h3 { margin: 0; font-size: 16.5px; line-height: 1.3; }
.member__district { color: var(--muted); font-size: 14px; }
.member__contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.member__contact a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 600; text-decoration: none; transition: background .3s, color .3s; }
.member__contact a:hover { background: var(--grad); color: var(--white); }

.topic { display: flex; gap: 18px; align-items: flex-start; height: 100%; padding: 26px; color: inherit; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.topic:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: inherit; }
.topic:hover .topic-icon { transform: rotate(-8deg) scale(1.08); }
.topic h3 { margin: 0 0 4px; font-size: 18.5px; }
.topic p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.topic small { color: var(--purple); font-weight: 700; }
.grid > .topic:nth-child(3n+2) .topic-icon { background: var(--blue-soft); color: var(--blue); }
.grid > .topic:nth-child(3n) .topic-icon { background: var(--orange-soft); color: var(--orange-dark); }

.report { display: flex; flex-direction: column; height: 100%; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.report:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.report__cover { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--soft); overflow: hidden; }
.report__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.report:hover .report__cover img { transform: scale(1.06); }
.report__fallback { display: grid; place-content: center; height: 100%; padding: 24px; text-align: center; font: 800 22px/1.3 var(--font-head); color: var(--white); background: var(--grad); }
.report__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.report__body h3 { margin: 0; font-size: 18.5px; }
.report__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.report__actions a[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- 17. Get involved / forms / auth ---------- */
.paths { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 1100px) { .paths { grid-template-columns: repeat(4, 1fr); } }
.path { display: flex; flex-direction: column; gap: 10px; padding: 32px 26px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.path:hover, .path:target { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.path__icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 10px; border-radius: 20px; background: var(--grad); color: var(--white); box-shadow: var(--glow); transition: transform .45s var(--ease); }
.path:hover .path__icon { transform: rotate(-6deg) scale(1.06); }
.path:nth-child(2) .path__icon { background: linear-gradient(140deg, #3237f0, #5b60ff); }
.path:nth-child(3) .path__icon { background: var(--grad-orange); box-shadow: 0 16px 34px -14px rgba(255, 107, 53, .75); }
.path:nth-child(4) .path__icon { background: linear-gradient(140deg, #1d1650, #3a2a8f); }
.path h3 { margin: 0; font-size: 24px; font-weight: 800; }
.path p { flex: 1; margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.how { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: how; }
@media (min-width: 800px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { counter-increment: how; padding: 30px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); transition: transform .4s var(--ease), background .4s; }
.how li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); }
.how li::before { content: counter(how); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--grad-orange); color: var(--white); font: 800 20px/1 var(--font-head); }
.how h3 { margin: 0 0 6px; font-size: 20px; }
.how p { margin: 0; }

.form-layout { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.form-aside { position: relative; isolation: isolate; overflow: hidden; padding: 30px; border-radius: var(--r-lg); background: var(--night); color: #c9c4e8; }
.form-aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(93, 44, 181, .7), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(255, 107, 53, .35), transparent 70%); }
@media (min-width: 1000px) { .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-aside h2 { margin: 0 0 14px; color: var(--white); font-size: 22px; }
.form-aside ol { margin: 0 0 18px; padding-left: 20px; }
.form-aside li + li { margin-top: 10px; }
.form-aside a { color: var(--orange-light); }

.auth { display: grid; min-height: clamp(580px, calc(100vh - var(--header-h)), 840px); }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth__visual { position: relative; display: none; overflow: hidden; isolation: isolate; background: var(--night); }
@media (min-width: 960px) { .auth__visual { display: block; } }
.auth__visual img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .45; animation: kenburns 14s ease-out both; }
.auth__visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(93, 44, 181, .75), rgba(14, 10, 38, .4) 50%, rgba(50, 55, 240, .6)); }
.auth__visual div { position: absolute; left: 52px; right: 52px; bottom: 60px; color: #ddd8f7; }
.auth__visual h2 { color: var(--white); font-size: clamp(32px, 3vw, 44px); }
.auth__form { display: grid; place-items: center; padding: clamp(40px, 6vw, 72px) var(--gutter); }
.auth__box { width: 100%; max-width: 420px; }
.auth__box h1 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 8px; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }

/* ---------- 18. Contact ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; transition: transform .4s var(--ease); }
.contact-card:hover { transform: translateX(4px); }
.contact-card i { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; border-radius: 16px; background: var(--grad); color: var(--white); font-style: normal; box-shadow: var(--glow); }
.contact-card:nth-child(2) i { background: var(--grad-orange); box-shadow: none; }
.contact-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-card a, .contact-card span { color: var(--ink); font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-card p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.map { aspect-ratio: 16 / 7; min-height: 280px; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; }

.empty { padding: 56px 24px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); background: var(--white); text-align: center; color: var(--muted); }
.empty h3 { color: var(--ink); }

/* ---------- 19. Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.anim-rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * .11s); }
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Cards keep their own hover transition once revealed */
.js .card[data-reveal].is-in, .js .topic[data-reveal].is-in, .js .member[data-reveal].is-in, .js .person[data-reveal].is-in, .js .report[data-reveal].is-in, .js .campaign[data-reveal].is-in, .js .step[data-reveal].is-in, .js .number[data-reveal].is-in { transition: opacity .9s var(--ease) var(--delay, 0s), transform .45s var(--ease), box-shadow .45s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 20. Story byline + author dialog ---------- */
.byline { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; text-align: left; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.byline:hover, .byline:focus-visible { border-color: var(--purple); box-shadow: var(--glow); transform: translateY(-1px); }
.byline__avatar, .author-card__avatar { display: grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%; background: var(--grad); color: var(--white); font: 800 14px/1 var(--font-head); }
.byline__avatar { width: 40px; height: 40px; }
.byline__avatar img, .author-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline__text { display: grid; line-height: 1.2; }
.byline__text small { color: var(--muted); font-size: 12px; }
.byline__text b { color: var(--purple); font-size: 15px; text-decoration: underline; text-decoration-color: rgba(93, 44, 181, .3); text-underline-offset: 3px; }

.dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--white); color: var(--text); box-shadow: 0 40px 120px -30px rgba(21, 17, 46, .55); overflow: auto; }
.dialog::backdrop { background: rgba(21, 17, 46, .45); backdrop-filter: blur(6px); }
.dialog[open] { animation: pop .45s var(--ease); }
.dialog[open]::backdrop { animation: fade .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes fade { from { opacity: 0; } }
.dialog__panel { position: relative; padding: 30px clamp(22px, 4vw, 34px) 30px; }
.dialog__panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 96px; background: var(--mesh); z-index: 0; }
.dialog__panel > * { position: relative; }
.dialog__close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.dialog__close:hover { background: var(--purple); color: var(--white); }
.author-card__top { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.author-card__avatar { width: 88px; height: 88px; font-size: 28px; box-shadow: 0 0 0 5px var(--white), var(--glow); }
.author-card__top h2 { margin: 8px 0 0; font-size: clamp(22px, 3vw, 26px); }
.author-card__bio { margin: 20px 0 0; color: var(--text); }
.author-card__facts { display: flex; gap: 12px; margin: 20px 0 0; }
.author-card__facts div { flex: 1; padding: 14px 16px; border-radius: var(--r-sm); background: var(--soft); }
.author-card__facts dt { color: var(--muted); font-size: 13px; }
.author-card__facts dd { margin: 4px 0 0; color: var(--ink); font: 800 22px/1 var(--font-head); }
.author-card__h { margin: 24px 0 10px; font-size: 16px; }
.author-card__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.author-card__list a { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); text-decoration: none; transition: border-color .3s var(--ease), background .3s var(--ease); }
.author-card__list a:hover { border-color: var(--purple); background: var(--purple-soft); }
.author-card__list b { font-size: 15px; line-height: 1.35; }
.author-card__list small { color: var(--muted); font-size: 13px; }

/* Programs variant of the pinned "focus" section */
.focus--programs { background: var(--white); }
.focus__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--purple); font-size: 14px; font-weight: 700; }
.focus__card--cta { justify-content: center; gap: 14px; padding: 32px 28px; background: var(--night); color: #cfcaee; isolation: isolate; }
.focus__card--cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 0% 0%, rgba(93, 44, 181, .85), transparent 70%), radial-gradient(70% 60% at 100% 100%, rgba(50, 55, 240, .7), transparent 70%), radial-gradient(50% 40% at 90% 10%, rgba(255, 107, 53, .5), transparent 70%); }
.focus__card--cta h3 { margin: 0; color: var(--white); font-size: 24px; }
.focus__card--cta p { margin: 0; color: #cfcaee; }
.focus__card--cta .btn { align-self: flex-start; margin-top: 6px; }
.focus__cta-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .12); color: var(--white); backdrop-filter: blur(8px); }

/* ---------- 21. Story page ---------- */
.story-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 4vw, 56px); background: var(--mesh); }
.story-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(93, 44, 181, .15) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask: radial-gradient(45% 70% at 88% 30%, #000, transparent); mask: radial-gradient(45% 70% at 88% 30%, #000, transparent); }
.story-hero .crumbs span[aria-current] { overflow: hidden; max-width: 34ch; text-overflow: ellipsis; white-space: nowrap; }
.story-hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.story-hero__time { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 600; }
.story-title { max-width: 34ch; margin: 0 0 16px; color: var(--ink); font-size: clamp(23px, 2.7vw, 38px); line-height: 1.18; letter-spacing: -.02em; text-wrap: balance; }
.story-lede { max-width: 62ch; margin: 0 0 26px; color: var(--text); font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.6; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--muted); font-size: 14.5px; }
.story-meta__item { display: inline-flex; align-items: center; gap: 7px; }
.story-meta__sep { width: 1px; height: 26px; background: var(--line); }
@media (max-width: 600px) { .story-meta__sep, .story-hero .crumbs li:last-child { display: none; } .story-meta .byline { width: 100%; } }

.story-body { min-width: 0; max-width: 760px; }
.story-cover { margin: 0 0 30px; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.story-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 700px) { .story-cover img { aspect-ratio: 4 / 3; } }

.story-layout { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: clamp(28px, 3vw, 44px) clamp(64px, 8vw, 96px); }
@media (min-width: 1100px) { .story-layout { grid-template-columns: 48px minmax(0, 1fr) 320px; } }
.story-rail .st-share-bar { margin: 0; }
@media (min-width: 1100px) {
  .story-rail { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .story-rail .st-share-bar__links { flex-direction: column; }
  .story-rail .st-share-bar__btn { width: 44px; height: 44px; background: var(--white); box-shadow: var(--shadow-sm); }
}
.story-prose { font-size: clamp(16.5px, 1.1vw, 18px); line-height: 1.8; }
.story-prose > * { max-width: none; }
.story-prose p { margin: 0 0 1.15em; }
.story-prose strong, .story-prose b { color: var(--ink); }
.story-prose img { display: block; width: 100%; height: auto; margin: 1.6em 0; border-radius: var(--r); box-shadow: var(--shadow); }
.story-prose a { color: var(--purple); text-decoration-color: rgba(93, 44, 181, .35); text-underline-offset: 3px; }

.story-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.story-tags li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--purple); font-size: 13.5px; font-weight: 600; }
.story-endshare { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 32px; padding: 20px 24px; border-radius: var(--r); background: var(--mesh); border: 1px solid var(--line); }
.story-endshare b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 17px; }
.story-endshare span { color: var(--muted); font-size: 14.5px; }
.story-endshare .st-share-bar { margin: 0; }
.story-endshare .st-share-bar__btn { background: var(--white); }

.story-author { display: flex; gap: 20px; margin-top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-sm); }
.story-author__avatar { display: grid; place-items: center; flex: none; width: 72px; height: 72px; overflow: hidden; border-radius: 50%; background: var(--grad); color: var(--white); font: 800 22px/1 var(--font-head); box-shadow: var(--glow); }
.story-author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-author small { color: var(--muted); font-size: 13px; font-weight: 600; }
.story-author h2 { margin: 2px 0 8px; font-size: 20px; }
.story-author p { margin: 12px 0 0; color: var(--text); font-size: 15px; }
.story-author__more { display: flex; margin-top: 14px; padding: 0; border: 0; background: none; font: 700 15px/1.4 var(--font-body); cursor: pointer; }
@media (max-width: 520px) { .story-author { flex-direction: column; } }

.story-side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1100px) { .story-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.story-side .mini-list a { grid-template-columns: 84px 1fr; }
.story-side .mini-list img, .story-side .mini-list .ph { width: 84px; height: 68px; }
.mini-list .ph { display: grid; place-items: center; color: var(--purple); background: var(--purple-soft); }
.side-join { position: relative; isolation: isolate; display: grid; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--mesh); border: 1px solid var(--line); overflow: hidden; }
.side-join::before { content: ""; position: absolute; right: -40px; bottom: -50px; z-index: -1; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 53, .25), transparent 65%); }
.side-join b { color: var(--ink); font-family: var(--font-head); font-size: 17px; line-height: 1.3; }
.side-join span { color: var(--muted); font-size: 14.5px; }
.side-join .btn { justify-self: start; margin-top: 4px; }
.story-more .card .chip { margin-bottom: 4px; }

/* ---------- 22. Events ---------- */
.clamp-1 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.dot-live { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.dot-live::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 1.8s var(--ease) infinite; }

.ev-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ev-facts > div { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); }
.ev-facts dt { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: var(--white); }
.ev-facts > div:nth-child(2) dt { background: var(--grad-orange); }
.ev-facts dd { display: grid; gap: 2px; min-width: 0; margin: 0; }
.ev-facts b { color: var(--ink); font-size: 15px; line-height: 1.35; }
.ev-facts span { color: var(--muted); font-size: 13px; }
.ev-facts a { color: var(--purple); font-size: 13px; font-weight: 700; text-decoration: none; }
.ev-facts a:hover { color: var(--orange-dark); }
.ev-facts__wide { grid-column: 1 / -1; }

/* List: featured next event */
.ev-feature { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .ev-feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.ev-feature__poster { display: block; background: var(--soft); }
.ev-feature__poster img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.ev-feature__body { display: grid; gap: 16px; align-content: center; padding: clamp(24px, 4vw, 44px); }
.ev-feature__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-feature h3 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); }
.ev-feature h3 a { color: var(--ink); text-decoration: none; }
.ev-feature h3 a:hover { color: var(--purple); }
.ev-feature p { margin: 0; color: var(--text); }
.ev-feature__actions, .ev-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.ev-empty { position: relative; isolation: isolate; display: grid; gap: 20px; align-items: center; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--mesh); overflow: hidden; }
@media (min-width: 900px) { .ev-empty { grid-template-columns: auto 1fr auto; } }
.ev-empty::after { content: ""; position: absolute; right: -60px; top: -80px; z-index: -1; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 53, .22), transparent 65%); }
.ev-empty__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--grad); color: var(--white); box-shadow: var(--glow); }
.ev-empty h3 { margin: 0 0 6px; font-size: 21px; }
.ev-empty p { margin: 0; max-width: 60ch; color: var(--text); }
.ev-empty__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Poster cards */
.ev-filter { margin: 0; }
.ev-grid { display: grid; gap: clamp(18px, 2vw, 26px); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ev-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ev-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--white); color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ev-card[hidden] { display: none; }
.ev-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ev-card__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.ev-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ev-card:hover .ev-card__img img { transform: scale(1.05); }
.ev-card__date { position: absolute; left: 14px; top: 14px; display: grid; justify-items: center; min-width: 58px; padding: 8px 10px 7px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.ev-card__date b { color: var(--ink); font: 800 22px/1 var(--font-head); }
.ev-card__date span { margin-top: 3px; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ev-card__body { display: grid; gap: 8px; align-content: start; flex: 1; padding: 18px 20px 20px; }
.ev-card__body h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.ev-card__place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.ev-card__place svg { flex: none; }
.ev-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--purple); font-size: 14px; font-weight: 700; }
.ev-card__more svg { transition: transform .3s var(--ease); }
.ev-card:hover .ev-card__more svg { transform: translateX(3px); }

/* Detail */
.ev-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 5vw, 72px); background: var(--mesh); }
.ev-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(93, 44, 181, .15) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask: radial-gradient(40% 70% at 90% 40%, #000, transparent); mask: radial-gradient(40% 70% at 90% 40%, #000, transparent); }
.ev-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .ev-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.ev-hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 16px; }
.ev-hero__mode { color: var(--muted); font-size: 14px; font-weight: 600; }
.ev-hero .crumbs span[aria-current] { overflow: hidden; max-width: 30ch; text-overflow: ellipsis; white-space: nowrap; }
.ev-title { max-width: 26ch; margin: 0 0 14px; color: var(--ink); font-size: clamp(26px, 3vw, 42px); line-height: 1.15; text-wrap: balance; }
.ev-lede { max-width: 58ch; margin: 0 0 24px; color: var(--text); font-size: clamp(16px, 1.2vw, 18px); }
.ev-hero .ev-facts { max-width: 620px; margin-bottom: 24px; }
.ev-poster { position: relative; margin: 0; padding: 10px; border-radius: calc(var(--r-lg) + 6px); background: var(--white); box-shadow: var(--shadow-lg); rotate: 1.5deg; transition: rotate .6s var(--ease); }
.ev-poster:hover { rotate: 0deg; }
.ev-poster::before { content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: calc(var(--r-lg) + 18px); background: var(--grad-warm); opacity: .18; filter: blur(24px); }
.ev-poster img { display: block; width: 100%; max-height: 560px; border-radius: var(--r-lg); object-fit: contain; background: var(--soft); }
@media (max-width: 959px) { .ev-poster { order: -1; max-width: 460px; rotate: 0deg; } }
@media (max-width: 600px) { .ev-facts { grid-template-columns: 1fr; } .ev-hero .crumbs li:last-child { display: none; } }

.ev-layout { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 96px); }
@media (min-width: 1000px) { .ev-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.ev-body { min-width: 0; max-width: 760px; }
.ev-body .kicker { margin-bottom: 18px; }
.ev-side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) { .ev-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.ev-ticket { position: relative; display: grid; gap: 18px; padding: 26px; overflow: hidden; }
.ev-ticket::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-warm); }
.ev-ticket__date { display: flex; align-items: baseline; gap: 10px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.ev-ticket__date b { font: 800 46px/1 var(--font-head); background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev-ticket__date span { color: var(--ink); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ev-ticket .facts dd { font-weight: 600; font-size: 15px; }
.ev-ticket__map { justify-self: center; }

/* ---------- 23. Contact page ---------- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-layout { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, 1fr) 380px; } }
.contact-main { min-width: 0; }
.contact-tabs { display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; margin-bottom: 18px; padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); }
.contact-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 13px; color: var(--text); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background .25s, color .25s; }
.contact-tabs a:hover { color: var(--purple); background: var(--purple-soft); }
.contact-tabs a.is-active { background: var(--grad); color: var(--white); box-shadow: var(--glow); }
.contact-form { overflow: hidden; }
.contact-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-warm); }
.contact-form__head { margin-bottom: 22px; }
.contact-form__head h2 { margin: 0 0 4px; font-size: clamp(21px, 2vw, 26px); }
.contact-form__head p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-form textarea { min-height: 150px; }
.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-form__foot p { display: inline-flex; align-items: center; gap: 7px; flex: 1; min-width: 220px; margin: 0; color: var(--muted); font-size: 13.5px; }

.contact-side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) { .contact-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-reach, .contact-faq { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.contact-reach h2, .contact-faq h2 { margin: 0 0 14px; font-size: 17px; }
.contact-reach .contact-card { display: flex; gap: 14px; align-items: center; margin: 0 -10px; padding: 12px 10px; border: 0; border-radius: var(--r-sm); background: transparent; box-shadow: none; color: inherit; text-decoration: none; transition: background .25s, transform .3s var(--ease); }
.contact-reach .contact-card:hover { background: var(--soft); transform: translateX(3px); }
.contact-reach .contact-card i { width: 46px; height: 46px; border-radius: 14px; }
.contact-reach .contact-card span { display: grid; gap: 1px; min-width: 0; color: var(--ink); font-weight: 400; }
.contact-reach .contact-card b { color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.contact-reach .contact-card em { color: var(--muted); font-size: 13px; font-style: normal; }
.contact-social { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.contact-social small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-social .socials { margin: 10px 0 0 !important; padding: 0; list-style: none; }
.contact-social .socials a { border-color: var(--line); color: var(--ink); }
.contact-faq details { border-top: 1px solid var(--line); }
.contact-faq details:first-of-type { border-top: 0; }
.contact-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; }
.contact-faq summary::-webkit-details-marker { display: none; }
.contact-faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 18px; transition: transform .3s var(--ease); }
.contact-faq details[open] summary::after { transform: rotate(45deg); }
.contact-faq details p { margin: 0 0 10px; color: var(--text); font-size: 14.5px; }
.contact-faq details .link-arrow { margin-bottom: 14px; font-size: 14px; }

.contact-map { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--soft); box-shadow: var(--shadow); }
.contact-map iframe { display: block; width: 100%; height: clamp(340px, 42vw, 480px); border: 0; filter: saturate(.85); }
.contact-map__card { display: grid; gap: 10px; padding: 24px; background: var(--white); }
.contact-map__card h2 { margin: 0; font-size: clamp(20px, 2vw, 24px); }
.contact-map__card p { margin: 0; color: var(--text); font-size: 15px; }
.contact-map__card .btn, .contact-map__card .kicker { justify-self: start; }
.contact-map__card .btn { margin-top: 4px; }
@media (min-width: 900px) {
  .contact-map__card { position: absolute; right: 24px; top: 24px; bottom: 24px; width: 360px; align-content: center; border-radius: var(--r); box-shadow: var(--shadow-lg); }
}
@media (max-width: 600px) { .contact-tabs { flex-wrap: nowrap; width: 100%; overflow-x: auto; scrollbar-width: none; } .contact-tabs a { flex: none; padding: 9px 13px; font-size: 13.5px; } }

/* ---------- 24. Stories listing ---------- */
.st-toolbar { display: grid; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
@media (min-width: 760px) { .st-toolbar { grid-template-columns: minmax(0, 1fr) 260px auto; } }
.st-search, .st-select { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px; background: var(--soft); color: var(--muted); transition: box-shadow .2s, background .2s; }
.st-search:focus-within, .st-select:focus-within { background: var(--white); box-shadow: 0 0 0 2px var(--purple); }
.st-search input, .st-select select { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: var(--ink); font: 500 15.5px var(--font-body); outline: none; }
.st-select select { appearance: none; cursor: pointer; padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e6a88' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center no-repeat; }
.st-toolbar .btn { height: 50px; }

.st-topics { display: flex; gap: 8px; margin: 18px 0 8px; padding: 2px 2px 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; -webkit-mask: linear-gradient(90deg, #000 92%, transparent); mask: linear-gradient(90deg, #000 92%, transparent); }
.st-topics a { flex: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: all .25s var(--ease); }
.st-topics a:hover { border-color: var(--purple); color: var(--purple); }
.st-topics a.is-active { border-color: transparent; background: var(--grad); color: var(--white); box-shadow: var(--glow); }

.st-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 8px 0 22px; color: var(--muted); font-size: 14.5px; }
.st-active b { color: var(--ink); }
.st-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; background: var(--purple-soft); color: var(--purple); font-size: 13px; font-weight: 600; }
.st-clear { color: var(--orange-dark); font-weight: 700; text-decoration: none; }
.st-clear:hover { text-decoration: underline; }

.st-feature { display: grid; overflow: hidden; margin: 18px 0 clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .st-feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.st-feature__img { position: relative; display: block; min-height: 260px; overflow: hidden; background: var(--soft); }
.st-feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.st-feature:hover .st-feature__img img { transform: scale(1.04); }
.st-feature__badge { position: absolute; left: 18px; top: 18px; padding: 7px 14px; border-radius: 999px; background: var(--grad-orange); color: var(--white); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 10px 24px -10px rgba(255, 107, 53, .9); }
.st-feature__body { display: grid; gap: 16px; align-content: center; padding: clamp(24px, 3.5vw, 44px); }
.st-feature h3 { display: -webkit-box; overflow: hidden; margin: 0; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.stories-section { padding-top: clamp(32px, 4vw, 52px); }
.st-feature h3 a { color: var(--ink); text-decoration: none; }
.st-feature h3 a:hover { color: var(--purple); }
.st-feature p { margin: 0; color: var(--text); }
.st-feature .btn { justify-self: start; }
.st-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.st-loc { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 14px; font-weight: 600; }
.st-byline { display: flex; align-items: center; gap: 12px; }
.st-byline b { display: block; color: var(--ink); font-size: 15px; }
.st-byline small { color: var(--muted); font-size: 13px; }
.st-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--white); font: 800 15px/1 var(--font-head); }
.st-avatar--sm { width: 32px; height: 32px; font-size: 13px; }

.st-grid { display: grid; gap: clamp(18px, 2.2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 8px; }
.st-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.st-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.st-card__img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.st-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.st-card:hover .st-card__img img { transform: scale(1.06); }
.st-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 18px; }
.st-card__cat { color: var(--purple); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.st-card h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.st-card h3 a { color: var(--ink); text-decoration: none; }
.st-card h3 a::after { content: ""; position: absolute; inset: 0; }
.st-card { position: relative; }
.st-card h3 a:hover { color: var(--purple); }
.st-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.st-card__foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.st-card__who { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.st-card__who b { overflow: hidden; color: var(--ink); font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.st-card__who small { color: var(--muted); font-size: 12.5px; }
.st-card__stat { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }

.st-cta { position: relative; isolation: isolate; display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--mesh); overflow: hidden; }
@media (min-width: 900px) { .st-cta { grid-template-columns: minmax(0, 1.3fr) auto; } }
.st-cta::after { content: ""; position: absolute; right: -80px; bottom: -100px; z-index: -1; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 53, .25), transparent 65%); }
.st-cta h2 { margin: 6px 0 10px; font-size: clamp(24px, 2.6vw, 34px); }
.st-cta p { max-width: 58ch; margin: 0; color: var(--text); }
.st-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 25. Home: stories (1 lead + 3 compact) ---------- */
.hs { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 960px) { .hs { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; } }
.hs-lead { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--white); color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.hs-lead:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hs-lead__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.hs-lead__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hs-lead:hover .hs-lead__img img { transform: scale(1.05); }
.hs-lead__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 22px; }
.hs-lead h3 { margin: 0; color: var(--ink); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; }
.hs-lead p { margin: 0; color: var(--muted); font-size: 15px; }
.hs-cat { color: var(--purple); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.hs-meta { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--muted); font-size: 13px; }
.hs-go { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: var(--purple); font-weight: 700; font-size: 14px; }
.hs-go svg { transition: transform .3s var(--ease); }
.hs-lead:hover .hs-go svg { transform: translateX(3px); }

/* Three compact cards share the lead card's height */
.hs-list { display: grid; gap: clamp(12px, 1.4vw, 16px); }
@media (min-width: 960px) { .hs-list { grid-template-rows: repeat(3, 1fr); } }
.hs-item { display: flex; gap: 16px; min-height: 0; padding: 12px; overflow: hidden; border-radius: var(--r); background: var(--white); color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.hs-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.hs-item__img { flex: none; width: clamp(110px, 34%, 170px); overflow: hidden; border-radius: calc(var(--r) - 6px); background: var(--soft); }
.hs-item__img img { width: 100%; height: 100%; min-height: 104px; object-fit: cover; transition: transform .8s var(--ease); }
.hs-item:hover .hs-item__img img { transform: scale(1.07); }
.hs-item__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 2px 4px 2px 0; }
.hs-item__loc { display: inline-flex; align-items: center; gap: 4px; color: var(--orange-dark); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hs-item b { color: var(--ink); font: 700 15.5px/1.35 var(--font-head); }
.hs-item:hover b { color: var(--purple); }
.hs-item__text { color: var(--muted); font-size: 13.5px; }
.hs-item .hs-meta { font-size: 12.5px; padding-top: 2px; }
@media (max-width: 520px) { .hs-item__text { display: none; } .hs-item__img { width: 96px; } }
