/* Prajna · hi-fi tokens & primitives */

/* App loading screen — shown instantly inside #root so there's no blank white
   flash while the scripts load and compile. React clears #root on mount, which
   removes this automatically. */
.app-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #ffffff;
}
.app-loading__logo { width: 148px; height: auto; opacity: 0.95; }
.app-loading__spinner {
  width: 30px; height: 30px;
  border: 3px solid #ffe6cc;
  border-top-color: #ed7e1d;
  border-radius: 50%;
  animation: app-loading-spin 0.8s linear infinite;
}
@keyframes app-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .app-loading__spinner { animation-duration: 2s; }
}

:root {
  /* Brand palette — modern: white surfaces, orange primary, baby blue secondary, off-black ink */
  --orange: #ed7e1d;
  --orange-600: #c66312;
  --orange-700: #b85a0e;
  --orange-200: #ffd7ad;
  --orange-100: #ffe6cc;
  --orange-50: #fff5eb;

  --blue: #57ace0;
  --blue-600: #2c8cc4;
  --blue-300: #7cdeff;
  --blue-200: #b8e2f5;
  --blue-100: #d6f1ff;
  --blue-50: #eef9ff;

  --yellow: #e3ba2b;
  --yellow-300: #fff12a;
  --green: #6cb04a;
  --green-700: #4a7d2f;
  --green-50: #f1ffd6;
  --teal: #86b6bc;

  /* Off-black + neutrals (modern, not warm-cream) */
  --ink: #14171a;        /* off-black */
  --ink-2: #3a3f44;
  --ink-3: #6b7378;
  --ink-4: #a8aeb3;
  --line: #e6e8ea;
  --line-2: #f1f3f4;
  --paper: #ffffff;          /* pure white surface */
  --paper-2: #f8f8f7;        /* near-neutral off-white (not warm cream, not cool grey) */
  --paper-3: #eef0f2;        /* slightly cooler tint for footer-ish sections */
  --white: #ffffff;

  /* Legacy aliases (kept so old refs don't break) */
  --brown: var(--ink);
  --brown-deep: var(--ink);
  --gold: var(--orange);

  /* Type — modern sans system */
  --serif: 'DM Serif Display', 'Fraunces', Georgia, serif;     /* used sparingly */
  --sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --hand: 'Plus Jakarta Sans', 'Inter', sans-serif;            /* legacy alias — no longer handwriting */

  /* Radii — squared-but-soft */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows — flat. No drop shadows on interactive elements; subtle elevation only on raised content */
  --shadow-sm: 0 1px 2px rgba(20,23,26,0.04);
  --shadow-md: 0 2px 8px rgba(20,23,26,0.06);
  --shadow-lg: 0 8px 24px rgba(20,23,26,0.08);

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  /* Section-bg tints — saturated brand colors for the wavy ribbon bands.
     These are deeper than the -50 tints so the bands actually read as colored,
     not as "off-white." Used between white sections to create rhythm. */
  --bg-orange: #ffd7ad;   /* warm peach — orange-200 territory */
  --bg-yellow: #fff299;   /* sunny yellow */
  --bg-blue:   #b8e2f5;   /* clear sky blue — blue-200 */
  --bg-green:  #cbe89a;   /* fresh leaf green */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Typography (modern sans-led, serif used sparingly) ───── */
.h-display {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h-1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.h-2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.h-3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.h-4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.body-lg { font-size: 18px; line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.body { font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.body-sm { font-size: 13px; line-height: 1.55; color: var(--ink-3); font-weight: 500; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
}
/* Kicker — was handwritten Caveat. Now an uppercase eyebrow w/ orange accent. */
.kicker {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-600);
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--orange);
  display: inline-block;
}
.serif { font-family: var(--serif); }

/* em.script was handwritten Fraunces italic. Now a plain semibold accent. */
em.script {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

/* ── Buttons (squared-but-soft, no drop shadow, no hover lift) ─ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn--primary:hover { background: var(--orange-600); border-color: var(--orange-600); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--soft {
  background: var(--orange-50);
  color: var(--orange-700);
  border-color: var(--orange-100);
}
.btn--soft:hover { background: var(--orange-100); border-color: var(--orange-200); }
.btn--blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btn--blue:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--sm { padding: 8px 14px; font-size: 12px; }

/* ── Pills / chips ──────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.chip--orange { background: var(--orange-50); border-color: var(--orange-100); color: var(--orange-700); }
.chip--blue { background: var(--blue-50); border-color: var(--blue-100); color: #1a5a82; }
.chip--green { background: var(--green-50); border-color: #d3eb8a; color: var(--green-700); }
.chip--yellow { background: #fff7d1; border-color: #f3df8e; color: #8a6c12; }
.chip--ink { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Cards (squared-but-soft) ───────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.card--soft { background: var(--paper-2); border-color: var(--line); }
.card--blue { background: var(--blue-50); border-color: var(--blue-100); }
.card--orange { background: var(--orange-50); border-color: var(--orange-100); }

/* ── Layout ────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 20px; }
}

/* ── Header / nav ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  height: 84px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 800; font-size: 19px;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__mark {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--orange);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand__mark::before { content: 'P'; }
.brand__logo {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
}
.site-footer .brand__logo {
  height: 44px;
  background: #fff;
  padding: 4px 8px;
  border-radius: var(--r-xs);
}
.nav-links {
  display: flex; gap: 28px;
  margin-left: auto;
  font-weight: 600; font-size: 14.5px;
  letter-spacing: -0.005em;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-2);
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orange); border-radius: 2px;
}
.nav-utility { display: flex; align-items: center; gap: 10px; }

/* Lang toggle — used inside the utility bar (subdued) and footer */
.lang-toggle-wrap { position: relative; display: inline-block; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  padding: 6px 10px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink-2);
  cursor: pointer;
}

/* Dropdown menu listing available languages */
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.04);
  list-style: none;
  margin: 0;
  padding: 4px;
  z-index: 1100;
}
.lang-menu li { margin: 0; }
.lang-menu__item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  border-radius: var(--r-xs);
}
.lang-menu__item:hover { background: rgba(0,0,0,0.04); }
.lang-menu__item.is-active { color: var(--orange-700); background: var(--orange-50); }

/* Hide Google Translate's default top banner — our LangToggle drives the
   translation programmatically, so the banner is redundant clutter. Also
   restore body top: 0 (the widget pushes the body down by default). */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-menu-frame,
#goog-gt-tt { display: none !important; }
body { top: 0 !important; }
.goog-te-balloon-frame { display: none !important; }
font.goog-text-highlight { background: transparent !important; box-shadow: none !important; }
.lang-toggle:hover { border-color: var(--ink-3); color: var(--ink); }
.lang-toggle--subdued {
  background: transparent;
  border-color: transparent;
  color: var(--ink-3);
  padding: 4px 8px;
}
.lang-toggle--subdued:hover { color: var(--ink); background: rgba(0,0,0,0.04); }

/* Utility bar — thin strip above main header */
.utility-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  /* z-index has to beat .site-header (1000) so the language dropdown
     drawer extends in front of the white header instead of behind it. */
  position: sticky; top: 0; z-index: 1010;
}
.utility-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: 36px;
  padding-block: 6px;
}
.utility-bar__msg { display: flex; align-items: center; gap: 12px; min-width: 0; }
.utility-bar__msg > span:last-child {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.utility-bar__pill {
  display: inline-flex; align-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  flex-shrink: 0;
}
.utility-bar__ann { color: inherit; text-decoration: none; }
.utility-bar__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.utility-bar__link {
  color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600;
  text-decoration: none;
}
.utility-bar__link:hover { color: #fff; text-decoration: underline; }
.utility-bar .lang-toggle--subdued {
  color: rgba(255,255,255,0.85);
}
.utility-bar .lang-toggle--subdued:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Site header sticks BELOW the utility bar */
.utility-bar + .site-header { top: 36px; }

/* Profile button — silhouette out, initials in */
.profile-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  transition: border-color .15s, background .15s;
}
.profile-btn:hover { border-color: var(--ink-3); }
.profile-btn--in {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.profile-btn--in:hover { background: #4a9bd0; border-color: #4a9bd0; }
.profile-btn__initials { letter-spacing: 0.02em; }
.profile-btn--lg { width: 56px; height: 56px; font-size: 18px; flex-shrink: 0; }

/* Profile dropdown — anchored small panel below the profile button */
.profile { position: relative; display: inline-flex; }
.profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.04);
  z-index: 40;
}
.profile-menu__inner {
  padding: 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.profile-menu__head {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 8px;
}
.profile-menu__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.profile-menu__sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }
.profile-menu__row {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600; font-size: 14px;
  border-radius: var(--r-sm);
}
.profile-menu__row:hover { background: rgba(0,0,0,0.04); color: var(--orange-700); }
.profile-menu__row-sub { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.profile-menu__row--quiet { color: var(--ink-3); font-weight: 500; }
.profile-menu__row--quiet:hover { color: var(--ink-2); }
.profile-menu hr { border: 0; border-top: 1px solid var(--line-2); margin: 8px -4px; }

/* Mobile nav drawer trigger */
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

.hide-on-tablet { /* visible by default — hidden in narrow viewports */ }

@media (max-width: 1080px) {
  .hide-on-tablet { display: none !important; }
}
@media (max-width: 720px) {
  .utility-bar { display: none; }
  .utility-bar + .site-header { top: 0; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-utility .btn { display: none; }
  .nav-utility .btn--primary { display: inline-flex; }
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 40px;
  margin-top: 80px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand__mark { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}
.footer-grid h4 {
  font-family: var(--sans); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; color: rgba(255,255,255,0.85); }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,0.75);
}
.footer-bottom a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.footer-bottom a:hover { color: var(--orange); }
.social-row { display: flex; gap: 8px; }
.social-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background .15s, color .15s, transform .15s;
}
/* On hover, change the ICON COLOR to orange (not the container background)
   so that icons with negative space (like WhatsApp's chat-bubble + phone
   cutout) don't show orange through the holes. The container background
   lifts to a slightly brighter resting state for subtle feedback. */
.social-icon:hover {
  background: rgba(255,255,255,0.12);
  color: var(--orange);
  transform: translateY(-2px);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ── Section helpers ────────────────────────────────────── */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section--tight { padding: 40px 0; } }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-head h2 { margin: 8px 0 0; }
@media (max-width: 720px) { .section-head { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ── Divider ornamental ─────────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--brown);
  font-family: var(--hand); font-size: 22px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
}

/* ── Scalloped band overlay (top/bottom edges of .f-audience) ────────
   Positioned absolutely inside the colored band; SVG tiles WHITE bump
   tongues that "cut into" the band from the surrounding page bg. */
.band-scallop {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 30px;
  display: block;
  pointer-events: none;
  z-index: 2;
}
.band-scallop--top { top: 0; }
.band-scallop--bottom {
  bottom: 0;
  transform: scaleY(-1);
  transform-origin: center;
}
@media (max-width: 720px) {
  .band-scallop { height: 20px; }
}

/* ── Wavy section divider ────────────────────────────────
   Sits between two colored sections. Bottom div bg = next section's color.
   SVG path fills with previous section's color so it visually "spills"
   down in a curvy shape into the next section. */
.wave-divider {
  width: 100%;
  line-height: 0;
  position: relative;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}
@media (max-width: 720px) {
  .wave-divider svg { height: 36px; }
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero__decor {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(124,222,255,0.45) 0 18%, transparent 22%),
    radial-gradient(circle at 12% 78%, rgba(249,143,45,0.32) 0 22%, transparent 26%),
    radial-gradient(circle at 60% 100%, rgba(172,229,62,0.22) 0 18%, transparent 22%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; gap: 40px; } }

/* ── Pictograms / placeholder photos ────────────────────── */
.photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange-50), var(--blue-50));
  display: flex; align-items: center; justify-content: center;
}
.photo--ratio-4-3 { aspect-ratio: 4 / 3; }
.photo--ratio-1-1 { aspect-ratio: 1 / 1; }
.photo--ratio-3-4 { aspect-ratio: 3 / 4; }
.photo--ratio-16-9 { aspect-ratio: 16 / 9; }
.photo__svg { width: 100%; height: 100%; }
/* Showcase-page card media (real student photos/videos) */
.sc-media { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .sc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sc-grid { grid-template-columns: 1fr; } }

/* ── Stats ──────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.stats > div {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child { border-right: 0; }
.stat__num { font-family: var(--serif); font-weight: 700; font-size: 38px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat__label { font-size: 12px; color: var(--ink-3); margin-top: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(1), .stats > div:nth-child(2) { border-bottom: 1px solid var(--line); } }

/* ── Forms ──────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,143,45,0.15);
}

/* ── Misc utility ───────────────────────────────────────── */
.row { display: flex; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.center-col { text-align: center; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up .7s cubic-bezier(.2,.7,.3,1) both; }
.fade-up.delay-1 { animation-delay: .08s; }
.fade-up.delay-2 { animation-delay: .16s; }
.fade-up.delay-3 { animation-delay: .24s; }

/* ── Sticky mobile CTA ──────────────────────────────────── */
.mobile-cta {
  display: none;
  position: sticky; bottom: 0; z-index: 25;
  padding: 12px 16px;
  background: rgba(255,250,242,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .mobile-cta { display: block; }
  .mobile-cta .btn { width: 100%; }
}

/* ── Page-specific small bits used across pages ─────────── */
.page-hero {
  padding: 80px 0 56px;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 8px 0 16px; }
.breadcrumbs { font-size: 12px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.breadcrumbs a:hover { color: var(--orange); }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Focus rings */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ── Track tree (home page modules section) ──────────── */
.track-tree {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
}
@media (max-width: 880px) {
  .track-tree { grid-template-columns: 1fr; gap: 40px; }
}
.track {
  border-left: 2px solid var(--track-accent, var(--orange));
  padding-left: 20px;
}
.track__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.track__head .h-3 { line-height: 1.15; }
.track__count {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  white-space: nowrap;
}
.track__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.track__leaf {
  display: grid;
  grid-template-columns: 28px 1fr auto 16px;
  align-items: center;
  gap: 14px;
  padding: 14px 4px 14px 6px;
  border-bottom: 1px dashed var(--line-2);
  color: var(--ink);
  text-decoration: none;
  transition: background-color .15s ease, padding .15s ease, color .15s ease;
}
.track__leaf:hover {
  background: var(--track-tint);
  padding-left: 14px;
  padding-right: 12px;
  color: var(--ink);
}
.track__leaf:hover .track__chev { transform: translateX(4px); color: var(--track-accent); }
.track__num {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--track-accent);
  font-variant-numeric: tabular-nums;
}
.track__label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.track__age {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}
.track__chev {
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1;
  transition: transform .15s ease, color .15s ease;
}
.track__list li:last-child .track__leaf { border-bottom: 0; }

/* ── Folder tabs (Modules page) ─────────────────────── */
.track-tabs-bar {
  position: sticky; top: 72px; z-index: 20;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink);
}
.track-tabs {
  display: flex; gap: 6px;
  padding-top: 16px;
  margin-bottom: -1px;
  overflow-x: auto;
}
.track-tab {
  border: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 12px 22px;
  border-radius: 8px 8px 0 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: background .12s, color .12s;
}
.track-tab:hover { background: #fff; color: var(--ink); }
.track-tab.is-active {
  background: var(--tab-tint, #fff);
  color: var(--tab-color, var(--ink));
  font-weight: 700;
  border-color: var(--tab-color, var(--ink));
  border-bottom-color: var(--tab-tint, #fff);
  z-index: 2;
}

/* ── Module list (sidebar text-only leaves) ─────────── */
.mod-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.mod-list li { margin: 0; }
.mod-leaf {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color .12s;
}
.mod-leaf:hover { color: var(--orange); }
.mod-leaf:hover .mod-leaf__num { color: var(--orange); }
.mod-leaf.is-active { color: var(--ink); font-weight: 700; }
.mod-leaf.is-active .mod-leaf__num { color: var(--orange); font-weight: 700; }
.mod-leaf__num {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  font-weight: 500;
  min-width: 18px;
}
.mod-leaf__name { font-weight: inherit; }

/* Two-column syllabus layout (module rail + detail) — stacks on mobile */
.mod-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.mod-layout__rail { position: sticky; top: 160px; }
@media (max-width: 880px) {
  .mod-layout { grid-template-columns: 1fr; gap: 28px; }
  .mod-layout__rail { position: static; }
}

/* Module textbook covers */
.mod-covers { display: flex; flex-wrap: wrap; gap: 20px; }
.mod-cover { margin: 0; width: 160px; }
/* Cover is a button so it's clickable + keyboard-focusable; opens the viewer. */
.mod-cover__btn {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: pointer; position: relative; border-radius: var(--r-sm);
}
.mod-cover__img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.mod-cover__btn:hover .mod-cover__img,
.mod-cover__btn:focus-visible .mod-cover__img {
  transform: translateY(-2px); box-shadow: var(--shadow-md, 0 8px 22px rgba(20,23,26,0.14));
}
/* Magnifier hint that fades in on hover/focus. */
.mod-cover__zoom {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,23,26,0.62); color: #fff;
  opacity: 0; transform: scale(.9); transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.mod-cover__btn:hover .mod-cover__zoom,
.mod-cover__btn:focus-visible .mod-cover__zoom { opacity: 1; transform: scale(1); }
.mod-cover__cap { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); line-height: 1.4; }

/* ── Textbook cover lightbox / viewer ─────────────────────── */
.mod-lb {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,17,19,0.82);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: mod-lb-fade .18s ease;
}
@keyframes mod-lb-fade { from { opacity: 0; } to { opacity: 1; } }
.mod-lb__stage {
  display: flex; align-items: center; gap: 12px;
  max-width: 100%; max-height: 100%;
}
.mod-lb__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
/* Fixed display width so every cover shows at the SAME size in the viewer,
   regardless of the source image's resolution (they share one aspect ratio). */
.mod-lb__img {
  width: min(90vw, 440px); height: auto; max-height: 82vh;
  display: block; border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,0.5);
  background: #fff;
}
.mod-lb__cap { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.mod-lb__label { color: #fff; font-size: 14px; font-weight: 600; max-width: 560px; }
.mod-lb__count { color: rgba(255,255,255,0.7); font-size: 12px; }
.mod-lb__nav, .mod-lb__close {
  flex-shrink: 0; border: 0; cursor: pointer; color: #fff;
  background: rgba(255,255,255,0.14);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .15s ease, transform .12s ease;
}
.mod-lb__nav { width: 46px; height: 46px; }
.mod-lb__nav:hover { background: rgba(255,255,255,0.28); }
.mod-lb__nav:active { transform: scale(0.94); }
.mod-lb__close {
  position: absolute; top: 18px; right: 20px; width: 42px; height: 42px;
}
.mod-lb__close:hover { background: rgba(255,255,255,0.28); }
.mod-lb :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 560px) {
  .mod-lb__nav { width: 40px; height: 40px; }
  .mod-lb__img { width: 90vw; }
}

/* ════════════════════════════════════════════════════════════════
   F-PATTERN LANDING PAGE — modern, white-forward
   ──────────────────────────────────────────────────────────────── */


/* ── Hero (modern, full-bleed photo card + content slab) ───── */
.f-hero {
  position: relative;
  padding: 32px 0 56px;
  background: var(--paper);
}
.f-hero__stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
.f-hero__media-wrap {
  position: relative;
  background: var(--orange-50);
}
.f-hero__media {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}
.f-hero__media .photo,
.f-hero__media .illo {
  height: 100%;
  border-radius: 0;
}
.f-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.f-hero__media-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--r-xs);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.005em;
}
.f-hero__media-tag__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,143,45,0.18);
}
.f-hero__content {
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}
.f-hero__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  margin-top: 16px;
}
.f-hero__title-accent {
  color: var(--orange-600);
}
.f-hero__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 20px;
  max-width: 460px;
}
.f-hero__ctas {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.f-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.f-hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.f-hero__bullet-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── Stats banner — plain white, no special background ──────── */
.f-stats {
  background: var(--paper);
  padding: 56px 0 60px;
  color: var(--ink);
}
.f-stats .f-stat__num { color: var(--ink); }
.f-stats .f-stat__label { color: rgba(20,23,26,0.6); }
.f-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.f-stat__num {
  font-family: var(--sans);
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.f-stat__label {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);   /* muted — lets the numbers do the work */
}
@media (max-width: 768px) {
  .f-stats { padding: 40px 0 44px; }
  .f-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .f-stats__line { flex-basis: 60px; }
  .f-stats__eyebrow { margin-bottom: 28px; }
}

/* ── Promise row — clean white band, cards carry the color ─────── */
.f-promise {
  background: var(--paper);
  padding: 56px 0 64px;
}
.f-promise__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.f-pillar {
  background: #fff;
  border: 1px solid #e9dec3;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.f-pillar:hover {
  transform: translateY(-2px);
  border-color: #d8c89e;
}
.f-pillar__photo {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #e9dec3;
}
.f-pillar__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.f-pillar__t {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 6px;
}
.f-pillar__lede {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 12px;
  font-weight: 600;
}
.f-pillar__paragraph {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 10px;
}
.f-pillar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.f-pillar__list li {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-2);
  position: relative;
  padding-left: 14px;
}
.f-pillar__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
}
.f-pillar--orange .f-pillar__list li::before { background: #ed7e1d; }
.f-pillar--gold   .f-pillar__list li::before { background: #d29f30; }
.f-pillar--blue   .f-pillar__list li::before { background: #7cdeff; }

.f-pillar__readmore {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-600);
  text-decoration: none;
  align-self: flex-start;
  transition: gap .15s, color .15s;
}
.f-pillar__readmore:hover { color: var(--orange-700); gap: 8px; }

@media (max-width: 920px) {
  .f-promise__pillars { grid-template-columns: 1fr; gap: 16px; }
}

/* ── F-pattern body: left rail + content ──────────────────── */
.f-body {
  padding: 80px 0 64px;
}
.f-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 64px;
  align-items: start;
}
.f-rail {
  position: sticky;
  top: 88px;
}
.f-rail__eyebrow {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-600);
  display: flex; align-items: center; gap: 10px;
}
.f-rail__eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--orange);
}
.f-rail__h {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-top: 14px;
  text-wrap: balance;
}
.f-rail__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 14px;
}

/* ── Story strip (numbered, left-aligned for scan) ─────── */
.f-story {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.f-story__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.f-story__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.f-story__num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--orange-600);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.f-story__t {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.f-story__d {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 6px;
  max-width: 520px;
}

/* ─── Blob accents — Reusable decorative organic shapes for section corners
   Sprinkle a few small organic blobs around a section's corners as soft
   color accents. Mark the parent section with .blob-accent-frame so it
   becomes the positioning context and the blobs can clip / extend visibly.

   Usage:
     <section className="blob-accent-frame">
       <span className="blob-accent blob-accent--tr" aria-hidden="true" />
       <span className="blob-accent blob-accent--bl" aria-hidden="true" />
       <span className="blob-accent blob-accent--mr" aria-hidden="true" />
       <div className="container">...content...</div>
     </section>

   Default colors: peach (tr), sky blue (bl), fresh green (mr). Override
   inline with style={{ background: '#xxx' }} per accent if needed. */
.blob-accent-frame { position: relative; }
.blob-accent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.blob-accent--tr {
  top: -28px; right: 80px;
  width: 110px; height: 110px;
  background: #ffd7ad;                                  /* warm peach */
  border-radius: 62% 38% 70% 30% / 50% 62% 38% 50%;
}
.blob-accent--bl {
  bottom: -24px; left: 80px;
  width: 86px; height: 86px;
  background: var(--bg-blue);
  border-radius: 70% 30% 50% 50% / 60% 50% 40% 50%;
}
.blob-accent--mr {
  top: 38%; right: -32px;
  width: 64px; height: 64px;
  background: #cbe89a;                                  /* fresh green */
  border-radius: 52% 48% 70% 30% / 48% 60% 40% 52%;
}

/* ─── Border 1 — Reusable wavy blue ribbon band ────────────────────────
   Apply to any <section> that should appear as a sky-blue ribbon with
   rounded corners + scalloped top/bottom edges. Height adapts to content
   automatically (it's just padding + content + padding).

   Usage:
     <section className="band-1">
       <BandScallop position="top" />
       <div className="container">...your content here...</div>
       <BandScallop position="bottom" />
     </section>

   The padding (140px vertical) gives the scallop dips clear breathing room
   from content. Adjust per-section if needed:
     <section className="band-1" style={{ paddingTop: 80, paddingBottom: 80 }}>

   Margin = 24px (1/4 inch) from screen edges on desktop, 12px on mobile.
   Background color can be overridden inline or via a modifier class. */
section.band-1,
section.band-2 {
  margin: 64px 24px;
  border-radius: 48px;
  position: relative;
  overflow: hidden;
  padding: 140px 0;
}
section.band-1 { background: var(--bg-blue); }      /* sky blue */
section.band-2 { background: #d8ecc8; }              /* soft sage green */

@media (max-width: 720px) {
  section.band-1,
  section.band-2 {
    margin: 48px 12px;
    border-radius: 28px;
    padding: 80px 0;
  }
}

/* Get Involved section — baseline white-page treatment. (When band-1 was
   applied, this lived on the blue band; that wrapping is now off.) */
.f-audience {
  background: var(--paper);
  padding: 80px 0;
}

/* Feature card — photo on the left, content on the right */
.f-audience__feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  position: relative;
  z-index: 1;
}
.f-audience__feature-photo {
  position: relative;
}
.f-audience__feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}
.f-audience__feature-body .f-rail__h { margin-top: 0; }
.f-audience__feature-ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .f-audience__feature {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
    border-radius: 18px;
  }
  .f-audience__feature-photo img { aspect-ratio: 16 / 10; }
}
/* Cinematic banner + horizontal trio.
   Distinct from the showcase's bordered side-by-side card: photo here is a
   wide full-width banner up top, with the intro and 3 action cards stacked
   below. Editorial / magazine feel. Brand accents live as a small color
   stripe across the top of each card. */
.f-audience__banner {
  width: 100%;
  height: clamp(140px, 16vw, 200px);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}
.f-audience__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.f-audience__intro {
  max-width: 720px;
  margin-bottom: 20px;
}
.f-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.f-audience__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: border-color .15s, transform .12s, box-shadow .15s;
}
.f-audience__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}
.f-audience__card--blue::before  { background: #3494c4; }
.f-audience__card--green::before { background: #94c63a; }
.f-audience__card:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 20, 16, 0.06);
}
.f-audience__card-dot { display: none; }
.f-audience__card-t {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 4px 0 0;
}
.f-audience__card-d {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  flex-grow: 1;
}
.f-audience__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--orange-700);
  white-space: nowrap;
  transition: gap .15s;
}
.f-audience__card--blue  .f-audience__card-cta { color: #1a5a82; }
.f-audience__card--green .f-audience__card-cta { color: var(--green-700); }
.f-audience__card:hover .f-audience__card-cta { gap: 10px; }

/* ── Books — featured student materials with cover mockups ────── */
.f-books {
  padding: 80px 0;
  background: var(--paper);
}
.f-books__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.f-books__ctas {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.f-books__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
}
.f-book { display: flex; flex-direction: column; gap: 14px; }
.f-book__cover {
  aspect-ratio: 5 / 7;
  border-radius: 6px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 1px 0 0 rgba(255,255,255,0.18),    /* spine highlight */
    0 1px 2px rgba(0,0,0,0.10),
    0 18px 32px -12px rgba(20,23,26,0.22);
  transform: rotate(-1.5deg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.f-book:nth-child(2) .f-book__cover { transform: rotate(1.5deg); }
.f-book:hover .f-book__cover {
  transform: translateY(-6px) rotate(-1deg);
}
.f-book:nth-child(2):hover .f-book__cover {
  transform: translateY(-6px) rotate(2deg);
}
.f-book__cover--workbook {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(155deg, #ed7e1d 0%, #d9531e 100%);
  color: #fff;
}
.f-book__cover--reader {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,222,160,0.20), transparent 55%),
    linear-gradient(155deg, #834121 0%, #5a2a13 100%);
  color: #f3e1bd;
}
.f-book__brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.7;
}
.f-book__cover-t {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.f-book__cover-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}
.f-book__meta { padding-top: 4px; }
.f-book__t { font-weight: 700; font-size: 16px; color: var(--ink); }
.f-book__d { font-size: 13px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }

@media (max-width: 768px) {
  .f-books { padding: 56px 0; }
  .f-books__grid { grid-template-columns: 1fr; gap: 40px; }
  .f-books__pair { gap: 20px; }
  .f-book__cover-t { font-size: 22px; }
}

/* ── Voices (testimonials, F-style) ────────────────────── */
.f-voices {
  padding: 80px 0;
  background: var(--paper);
}
.f-voices__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 64px;
  align-items: start;
}
.f-voices__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.f-voice {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}
.f-voice__avatar {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--orange-700);
}
.f-voice__avatar--blue { background: var(--blue-100); color: #1a5a82; }
.f-voice__avatar--green { background: #f1ffd6; color: var(--green-700); }
.f-voice__quote {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.f-voice__attr {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
}

/* ── Stay Connected — video testimonial slideshow ─────────
   Placeholder slides when videos aren't loaded; swap to YouTube iframe
   when video IDs arrive. Layout mirrors the FShowcase pattern so the
   controls feel consistent across the page. */
.f-social-slides {
  padding: 72px 0 24px;
  background: var(--paper);
}
.f-social-slides__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.f-social-slides__handles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.f-social-slides__handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.f-social-slides__handle:hover { border-color: var(--ink-3); background: #fff; }

/* Play / pause icon button — sits beside the IG + FB handles in the
   section header. Default is bright orange "play me" state so it pops
   and signals the user can opt into the auto-scroll. When pressed
   (currently playing), it goes to a subtler outlined pause state. */
.f-social-slides__playpause {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.f-social-slides__playpause:hover {
  background: var(--orange-600);
  border-color: var(--orange-600);
}
.f-social-slides__playpause:active { transform: translateY(1px); }
.f-social-slides__playpause[aria-pressed='true'] {
  background: #fff;
  border-color: var(--ink-3);
  color: var(--ink);
}
.f-social-slides__playpause[aria-pressed='true']:hover {
  border-color: var(--ink);
}
.f-social-slides__playpause svg { display: block; }

/* Horizontal transform-based carousel: 3 cards visible on desktop. JS
   advances `pos` (leftmost slide index); track translates by pos × slide
   step. Animation is the CSS transition on transform. */
/* Carousel row: prev arrow + viewport + next arrow, side by side. Arrows
   sit OUTSIDE the viewport in the gutter, so they never cover content. */
.f-social-slides__row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.f-social-slides__viewport {
  overflow: hidden;
  padding: 8px 0 20px;
  flex: 1;
  min-width: 0;
}

/* Arrows: dark + drop-shadow so they pop against the white page. Statically
   positioned at the vertical middle of the carousel row. */
.f-social-slides__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  border: 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 14px rgba(20,23,26,0.18), 0 1px 3px rgba(20,23,26,0.10);
  transition: background .15s, transform .12s;
}
.f-social-slides__arrow:hover { background: #000; }
.f-social-slides__arrow:active { transform: translateY(1px); }
.f-social-slides__arrow svg { display: block; }
@media (max-width: 640px) {
  .f-social-slides__row { gap: 8px; }
  .f-social-slides__arrow { width: 40px; height: 40px; }
}
.f-social-slides__track {
  display: flex;
  gap: 20px;
  /* prev/next and autoplay both set the transform on the track; the
     transition smooths each step. */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.f-social-slides__slide {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
@media (max-width: 960px) {
  .f-social-slides__slide { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .f-social-slides__slide { flex: 0 0 100%; }
}

/* Card wrapper around each real embed (FB post, IG reel). Soft drop
   shadow + rounded corners gives the post definition without a hard
   border — reads as a floating social card. */
.f-social-slides__card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20,23,26,0.06), 0 6px 16px rgba(20,23,26,0.06);
}
.f-social-slides__frame {
  display: block;
  border: 0;
  max-width: 100%;
}

/* Placeholder card — empty post-shaped tile that fills a slot until real
   content (a FB post, IG reel, or video testimonial) is plugged in. */
.f-social-slides__placeholder-card {
  width: 340px;
  max-width: 100%;
  background: var(--paper-2);
  border: 1px dashed var(--ink-4);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-3);
  text-align: center;
  padding: 24px;
}
.f-social-slides__placeholder-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.f-social-slides__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ── Social media block (Instagram + Facebook grid) ──────── */
.f-social {
  padding: 80px 0;
  background: var(--paper);
}
.f-social__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.f-social__handles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.f-social__handles .btn {
  padding: 10px 14px;
  font-size: 13px;
}
.f-social__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.f-social-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.f-social-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-4);
}
.f-social-card__media {
  position: relative;
  aspect-ratio: 1;
  background: var(--paper-3);
  overflow: hidden;
}
.f-social-card__media .illo,
.f-social-card__media .photo {
  height: 100%;
  border-radius: 0;
}
.f-social-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.f-social-card__badge svg { width: 14px; height: 14px; }
.f-social-card__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.f-social-card__handle {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.f-social-card__caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.f-social-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

/* ── Light closing — invitation card on white ────────────── */
.f-closing-light {
  padding: 80px 0 96px;
  background: var(--paper);
}
.f-closing-light__qa-wrap {
  max-width: 720px;
  margin: 0;          /* left-aligned, not centered */
}
.f-closing-light__qa-wrap .f-closing-light__h { margin-top: 12px; margin-bottom: 8px; }
.f-closing-light__card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0;
  overflow: hidden;
}
.f-closing-light__left {
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.f-closing-light__h {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 14px;
  text-wrap: balance;
}
.f-closing-light__d {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 18px;
  max-width: 460px;
}
.f-closing-light__ctas {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.f-closing-light__right {
  padding: 56px 56px;
  background: var(--paper-2);
  border-left: 1px solid var(--line);
}
.f-closing-light__qa {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.f-closing-light__qa-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding .15s;
}
.f-closing-light__qa li:last-child .f-closing-light__qa-row { border-bottom: 0; }
.f-closing-light__qa-row:hover { padding-left: 4px; }
.f-closing-light__qa-q {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.f-closing-light__qa-a {
  font-size: 13px;
  color: var(--orange-600);
  font-weight: 600;
  text-align: right;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .f-hero { padding: 40px 0 56px; }
  .f-hero__stack,
  .f-body__grid,
  .f-voices__grid,
  .f-closing-light__card { grid-template-columns: 1fr; gap: 0; }
  .f-body__grid,
  .f-voices__grid { gap: 40px; }
  .f-audience__grid { grid-template-columns: 1fr; }
  .f-rail { position: static; }
  .f-hero__media { min-height: 320px; }
  .f-hero__content { padding: 32px 28px 36px; }
  .f-promise__inner { grid-template-columns: 1fr; gap: 28px; }
  .f-promise__pillars { grid-template-columns: 1fr; gap: 18px; }
  .f-social__grid { grid-template-columns: repeat(2, 1fr); }
  .f-closing-light__left,
  .f-closing-light__right { padding: 36px 28px; }
  .f-closing-light__right { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .f-social__grid { grid-template-columns: 1fr; }
}

/* ── Leaflet map pins for the Centers page ─────────────────── */
.prajna-pin { background: transparent !important; border: 0 !important; }
.prajna-pin__shape {
  display: block;
  width: 100%; height: 100%;
  background: #ed7e1d;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: background .15s ease, box-shadow .15s ease;
}
.prajna-pin--selected .prajna-pin__shape {
  background: #5a2a13;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.prajna-pin:hover .prajna-pin__shape { transform: scale(1.1); }

/* ── Student showcase — featured spotlight + thumbnail row ─── */
.f-showcase {
  padding: 72px 0 80px;
  background: var(--paper);
}
.f-showcase__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.f-showcase__feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}
.f-showcase__media {
  background: var(--paper-2);
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}
.f-showcase__media .photo__svg {
  width: 100%;
  height: 100%;
  display: block;
}
.f-showcase__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.f-showcase__copy {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.f-showcase__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
}
.f-showcase__attrib {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.f-showcase__blurb {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* Showcase copy footer — pins the slide counter (left) and prev/next pair (right)
   to the bottom of the copy column, inside the white card. Keeps the navigation
   visually attached to the showcase, so it isn't mistaken for review-row controls. */
.f-showcase__copy-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}
.f-showcase__nav-pair {
  display: inline-flex;
  gap: 8px;
}
.f-showcase__nav {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.f-showcase__nav:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.f-showcase__nav:active { transform: scale(0.95); }

/* Autoplay toggle — pill button next to the slide counter. Off by default;
   when active it auto-advances every 5 seconds (timer resets after manual
   navigation). Visually swaps between Play and Pause icons. */
.f-showcase__autoplay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.f-showcase__autoplay:hover { border-color: var(--ink-3); color: var(--ink); }
.f-showcase__autoplay.is-active {
  background: var(--orange-50);
  border-color: var(--orange-200);
  color: var(--orange-700);
}
.f-showcase__autoplay svg { display: block; flex-shrink: 0; }

/* Slide counter ("2 of 4") — sits in the copy footer beside the prev/next arrows */
.f-showcase__count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Dot indicator row */
.f-showcase__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.f-showcase__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .18s, width .18s, border-radius .18s;
}
.f-showcase__dot:hover { background: var(--ink-3); }
.f-showcase__dot--active {
  background: var(--orange);
  width: 26px;
  border-radius: 4px;
}
.f-showcase__dot--active:hover { background: var(--orange); }

@media (max-width: 760px) {
  .f-showcase__feature { grid-template-columns: 1fr; }
  .f-showcase__media { min-height: 240px; }
  .f-showcase__copy { padding: 28px 24px; }
  .f-showcase__title { font-size: 22px; }
  .f-showcase__nav { width: 36px; height: 36px; }
}

/* ── Hero pill — "Now enrolling 2025-26" ──────────────────── */
.f-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--orange-50);
  color: var(--orange-700);
  border: 1px solid var(--orange-100);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  align-self: flex-start;
}
.f-hero__pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,143,45,0.18);
  flex-shrink: 0;
}

/* Hero greeting — "Jai Srimanarayana." emphasized at the start of the lede */
.f-hero__greeting {
  font-style: normal;
  font-weight: 700;
  color: var(--orange-700);
  margin-right: 6px;
}

/* Compact voices — heading on top, 3 testimonials in a row */
.f-voices--compact { padding: 56px 0 64px; }
.f-voices__head { margin-bottom: 28px; }
.f-voices__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.f-voice--compact {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.f-voice--compact .f-voice__quote {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 8px;
}
.f-voice--compact .f-voice__attr {
  font-size: 12px;
  color: var(--ink-3);
}

/* Parent Voices as video cards — same 3-up grid, video sized to the height
   of the old quote box (16:9 in a one-third column). */
.f-voice-vid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.f-voice-vid__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}
.f-voice-vid__cap {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.f-voice-vid__sub {
  font-weight: 400;
  color: var(--ink-3);
}

@media (max-width: 760px) {
  .f-voices__row { grid-template-columns: 1fr; }
}

/* ── Page hero compact (smaller H1 on inner pages) ─────────── */
.page-hero--sm { padding: 32px 0 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero--sm .breadcrumbs { font-size: 13px; color: var(--ink-3); }
.page-hero--sm .h-1 { font-size: clamp(28px, 3.2vw, 38px); }

/* ── Smaller section heading variant ─────────────────────── */
.f-rail__h--sm { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }

/* ── Tighten gap between voices and showcase ─────────────── */
.f-voices--compact { padding: 48px 0 0; }
.f-showcase { padding: 56px 0 64px; }

/* ── FAQ heading at bottom — bigger, left-aligned, on-brand ─ */
.f-closing-light__qa-wrap .f-closing-light__h {
  font-size: clamp(28px, 3vw, 36px);
  margin-top: 0;
  margin-bottom: 16px;
}
.f-closing-light__qa { margin-top: 8px; }

/* ── Centers list: clickable card linking to profile ─────── */
.center-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.center-card:hover {
  border-color: var(--orange);
  transform: translateX(2px);
}
.center-card--active {
  border-color: var(--orange);
  background: var(--orange-50);
}
.center-card__body { flex: 1; min-width: 0; }
.center-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.center-card__name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.center-card__meta {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}
.center-card__email {
  color: var(--orange-700);
  text-decoration: none;
  word-break: break-all;
}
.center-card__email:hover { text-decoration: underline; }
.center-card__meta--enroll {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 12.5px;
}
.center-card__meta--enroll strong { color: var(--ink); font-weight: 700; }
.center-card__arrow {
  font-size: 18px;
  color: var(--ink-3);
  transition: color .15s, transform .15s;
}
.center-card:hover .center-card__arrow {
  color: var(--orange);
  transform: translateX(3px);
}

/* ── Polish the Leaflet map ──────────────────────────────── */
/* Outer .card clips the corners; container creates its own stacking context
   so the leaflet panes (popups, markers) stay below the sticky header on scroll. */
.leaflet-container {
  font-family: var(--sans);
  position: relative;
  z-index: 0;
}
.leaflet-popup-content-wrapper {
  border-radius: 8px;
  padding: 4px 4px 8px;
}
.leaflet-popup-content { margin: 12px 14px 8px; line-height: 1.4; }
.leaflet-control-zoom {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  overflow: hidden;
}
.leaflet-control-zoom a {
  background: #fff !important;
  color: var(--ink) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  font-weight: 600 !important;
}
.leaflet-control-zoom a:last-child { border-bottom: 0 !important; }
.leaflet-control-zoom a:hover { background: var(--orange-50) !important; color: var(--orange-700) !important; }
.leaflet-control-attribution {
  background: rgba(255,255,255,0.85) !important;
  font-size: 10px !important;
  border-radius: 6px 0 0 0 !important;
  padding: 2px 8px !important;
}

/* ── Center profile page ─────────────────────────────────── */
.cp-section { padding: 40px 0 80px; background: var(--paper); }
.cp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.cp-main { display: flex; flex-direction: column; gap: 16px; }
.cp-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.cp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
}
.cp-card__h {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.012em;
}
.cp-card__p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.cp-card--cta {
  background: var(--orange-50);
  border-color: var(--orange-100);
}

.cp-schedule { display: flex; flex-direction: column; gap: 0; }
.cp-schedule__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.cp-schedule__row:last-child { border-bottom: 0; padding-bottom: 0; }
.cp-schedule__day { font-weight: 700; color: var(--ink); }
.cp-schedule__time { color: var(--ink-2); }
.cp-schedule__row--muted .cp-schedule__day { color: var(--ink-3); font-weight: 600; font-size: 13px; }
.cp-schedule__row--muted .cp-schedule__time { color: var(--ink-2); font-size: 13.5px; }

.cp-coord { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cp-coord__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange-50);
  color: var(--orange-700);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cp-coord__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.cp-coord__sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.cp-coord__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.cp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cp-list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  position: relative;
  padding-left: 22px;
}
.cp-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.cp-mapwrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.cp-map {
  height: 220px;
  width: 100%;
}
/* Shown when a center has no coordinates yet — keeps the layout intact
   instead of an empty (or crashing) map. */
.cp-map--none {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: var(--paper-2);
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.4;
}
.cp-mapwrap__addr {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

@media (max-width: 880px) {
  .cp-grid { grid-template-columns: 1fr; }
  .cp-aside { position: static; }
}

/* ── Hero: full-width photo, girl on the right, text on the left ─────── */
.f-hero--bleed {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #1a1410;
  min-height: 540px;
}
.f-hero--bleed .f-hero__media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Photo zoomed and anchored left so Aditi sits dominant on the right of the frame.
   max-width override needed because of the global `img { max-width: 100% }` rule. */
.f-hero--bleed .f-hero__photo {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 65% 30%;
  display: block;
  transform: scaleX(-1);
}
/* Smooth single-direction fade on the LEFT — does the legibility work so the text
   itself can stay clean and shadow-free. Falloff ends before Aditi's side so the
   subject of the photo stays sharp and unmuted. */
.f-hero--bleed .f-hero__media-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.82) 38%,
    rgba(0,0,0,0.35) 46%,
    rgba(0,0,0,0) 52%);
}
.f-hero--bleed .f-hero__content-wrap {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.f-hero--bleed .f-hero__content {
  padding: 90px 0 100px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  background: transparent;
}
.f-hero--bleed .f-hero__title {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 54px);
  text-shadow: none;
}
.f-hero--bleed .f-hero__title-accent {
  color: #ffd7ad;
}
.f-hero--bleed .f-hero__greeting {
  color: #ffd7ad;
}
.f-hero--bleed .f-hero__lede {
  color: #fff;
  max-width: 480px;
  text-shadow: none;
}
.f-hero--bleed .f-hero__ctas { margin-top: 22px; }

@media (max-width: 880px) {
  .f-hero--bleed { min-height: 460px; }
  .f-hero--bleed .f-hero__photo {
    width: 100%;
    object-position: 50% 25%;
  }
  .f-hero--bleed .f-hero__content { padding: 60px 0 70px; max-width: 100%; }
}

/* Ghost button variant for dark backgrounds (white border on dark hero) */
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn--ghost-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* Smallest page hero — only breadcrumb, no h1 */
.page-hero--xs {
  padding: 18px 0 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero--xs .breadcrumbs { font-size: 13px; color: var(--ink-3); margin: 0; }

/* Modules: compact "Continue the Journey" cards */
.mod-track-card { font-size: 13px; }
.mod-track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mod-track-list li { margin: 0; }
.mod-track-leaf {
  width: 100%;
  text-align: left;
  padding: 7px 8px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .12s, color .12s;
}
.mod-track-leaf:hover {
  background: var(--orange-50);
  color: var(--orange-700);
}

@media (max-width: 760px) {
  .f-hero--bleed { min-height: 440px; }
  .f-hero--bleed .f-hero__content { padding: 60px 0 70px; }
  .f-hero--bleed .f-hero__title { font-size: clamp(28px, 6vw, 42px); }
}

/* Tighten showcase ↔ voices gap */
.f-showcase { padding: 56px 0 36px; }
.f-voices--compact { padding: 0 0 56px; }

/* Pull other section paddings down so the page reads shorter overall.
   Note: .f-audience is excluded here — its padding is owned by the band
   styles further up (line ~1198) for the rounded scallop band layout. */
.f-promise { padding: 56px 0; }
.f-books { padding: 56px 0; }
.f-closing-light { padding: 56px 0 72px; }

/* ── About page — modernized two-section layout ──────────── */
.about-block {
  padding: 56px 0 72px;
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: center;
}
.about-copy__h {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.2;
}
.about-copy__p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.about-copy__p:last-child { margin-bottom: 0; }
.about-link {
  color: var(--orange-700);
  border-bottom: 1.5px solid var(--orange-200);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.about-link:hover { color: var(--orange-700); border-bottom-color: var(--orange-700); }

/* About photo (clickable, opens external link in new tab) */
.about-photo {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
  max-width: 320px;       /* constrain to source image size so it's not upscaled */
  margin-left: auto;       /* keep card aligned to the right of its column */
}
.about-photo:hover {
  transform: translateY(-3px);
  border-color: var(--orange-200);
}
.about-photo__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-photo__caption {
  display: block;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.about-photo__caption-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.about-photo__caption-link {
  display: block;
  font-size: 12px;
  color: var(--orange-700);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* "What Does One Learn" — warm cream section, two-column body */
.about-learn {
  padding: 64px 0 80px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.about-learn .about-copy__h { margin-bottom: 24px; max-width: 720px; }
.about-learn__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { position: static; }
  .about-learn__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Tighten showcase ↔ voices gap further ──────────────── */
.f-showcase__head {
  margin-bottom: 22px;
}
.f-showcase { padding: 48px 0 24px; }
.f-voices--compact { padding: 0 0 48px; }

/* About page CTA — clean closing card with two actions */
.about-cta {
  padding: 40px 0;
  background: var(--orange-50);
  border-top: 1px solid var(--orange-100);
  border-bottom: 1px solid var(--orange-100);
}
.about-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: transparent;
}
.about-cta__h {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
}
.about-cta__p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
}
.about-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .about-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ── About: full-width intro (replaces 2-col with photo) ── */
.about-intro { max-width: 840px; }

/* ── About: Our Story timeline ──────────────────────────── */
.about-timeline {
  padding: 56px 0 64px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.about-timeline__head { margin-bottom: 28px; }
.about-timeline__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.about-timeline__list::before {
  content: "";
  position: absolute;
  left: 60px; top: 14px; bottom: 14px;
  width: 2px;
  background: var(--orange-100);
}
.about-timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 18px 0;
  align-items: start;
  position: relative;
}
.about-timeline__year {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 14px;
  color: var(--orange-700);
  letter-spacing: 0.05em;
  position: relative;
  padding-left: 0;
  line-height: 1.4;
}
.about-timeline__year::before {
  content: "";
  position: absolute;
  left: 56px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--orange-100);
}
.about-timeline__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.about-timeline__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 720px) {
  .about-timeline__list::before { left: 24px; }
  .about-timeline__item { grid-template-columns: 80px 1fr; gap: 16px; }
  .about-timeline__year::before { left: 16px; }
}

/* ── About: small lineage card ─────────────────────────── */
.about-lineage {
  padding: 0 0 56px;
  background: var(--paper);
}
.about-lineage__card {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 24px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.about-lineage__card:hover {
  border-color: var(--orange-200);
  transform: translateY(-1px);
}
.about-lineage__img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.about-lineage__copy { flex: 1; min-width: 0; }
.about-lineage__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 2px;
}
.about-lineage__name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.about-lineage__link {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* ── Modules: metadata eyebrow (replaces pill chips) ───── */
.mod-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mod-meta__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mod-meta__sep { color: var(--ink-4); font-weight: 600; }
.mod-meta__placeholder { color: var(--ink-3); font-style: italic; font-weight: 700; }

/* ── Modules: pre-requisites — clean label + pill (or plain text) ── */
.mod-prereq {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.mod-prereq__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
/* Whole prereq value as one clickable pill when it references a module */
.mod-prereq__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--orange-50);
  border: 1px solid var(--orange-200);
  border-radius: 8px;
  color: var(--orange-700);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.mod-prereq__pill:hover {
  background: var(--orange-100);
  border-color: var(--orange);
}
/* Plain text variant for prereqs without a module reference */
.mod-prereq__plain {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ── Modules: section header (Overview, Course Objectives, Discussion Topics) */
.mod-section { margin-top: 32px; }
.mod-section__h {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 14px;
}

/* Bullet list for Overview / Objectives */
.mod-bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.mod-bullets li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  position: relative;
  padding-left: 22px;
}
.mod-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

/* Numbered list for Discussion Topics — preserves the original starting number */
.mod-numbered {
  margin: 0;
  padding: 0 0 0 32px;
  display: flex; flex-direction: column; gap: 8px;
}
.mod-numbered li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  padding-left: 4px;
}
.mod-numbered li::marker {
  color: var(--orange-700);
  font-weight: 700;
}

/* ── Modules: online-class flyer card (Sumedha, Vishnu Sahasranama) ─ */
.mod-online {
  margin-top: 24px;
}
.mod-online__intro {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange-700);
  margin: 0 0 16px;
}
.mod-online__flyer {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
}
.mod-online__iframe {
  width: 100%;
  height: 540px;
  border: 0;
  display: block;
}

@media (max-width: 720px) {
  .mod-online__iframe { height: 420px; }
}

/* ── Social embeds row — Instagram + Facebook native widgets ─── */
.f-social-embeds {
  padding: 56px 0 64px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.f-social-embeds__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.f-social-embeds__handles {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.f-social-embeds__handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.f-social-embeds__handle:hover { border-color: var(--orange); color: var(--orange-700); }
.f-social-embeds__handle svg { color: var(--orange-600); }

/* 3-card row, compact. Stacks to single column on narrow screens. */
.f-social-embeds__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}
.f-social-embed-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 500px;
}
.f-social-embed-card iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .f-social-embeds__row { grid-template-columns: 1fr; max-width: 380px; }
  .f-social-embed-card { height: 540px; }
}
@media (max-width: 720px) {
  .f-social-embed-card { height: 560px; }
}

/* ── Registration form ───────────────────────────────────── */
.reg-section { padding: 40px 0 80px; background: var(--paper); }
.reg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.reg-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 36px;
}
.reg-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.reg-from-module {
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  color: var(--orange-700);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin: 0 0 22px;
}
.reg-fieldset {
  border: 0;
  padding: 0;
  margin: 24px 0 0;
}
.reg-legend {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding: 0 0 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.reg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.reg-form .field { display: flex; flex-direction: column; gap: 6px; }
.reg-form .field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.reg-form .field .req { color: var(--orange-600); }
.reg-form .field input,
.reg-form .field select,
.reg-form .field textarea {
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color .12s, box-shadow .12s;
}
.reg-form .field input:focus,
.reg-form .field select:focus,
.reg-form .field textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(249,143,45,0.18);
}
.reg-form .field small.reg-help {
  font-size: 12px;
  color: var(--ink-3);
}
.reg-note {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--paper-2);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink-2);
}

.reg-aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.reg-side-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  background: #fff;
}
.reg-side-card--soft {
  background: var(--paper-2);
}
.reg-side-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reg-side-list li {
  font-size: 13.5px;
  color: var(--ink-2);
  position: relative;
  padding-left: 20px;
}
.reg-side-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

@media (max-width: 880px) {
  .reg-grid { grid-template-columns: 1fr; gap: 24px; }
  .reg-aside { position: static; }
  .reg-form { padding: 24px 20px; }
  .reg-grid-2 { grid-template-columns: 1fr; }
}

/* ── Centers page: full-width map up top, list below ──────── */
.centers-map-wrap {
  padding: 24px 0 16px;
  background: var(--paper);
}
.centers-list-wrap {
  padding: 24px 32px 64px;
}
.centers-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}
@media (max-width: 880px) {
  .centers-list { grid-template-columns: 1fr; }
}

/* ── Register page: walkthrough video ────────────────────── */
.reg-video-section {
  padding: 32px 0 8px;
  background: var(--paper);
}
.reg-video {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.reg-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Modules: enroll callout ──────────────────────────────── */
.mod-enroll {
  margin-top: 40px;
  padding: 22px 26px;
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.mod-enroll__copy { flex: 1; min-width: 240px; }
.mod-enroll__h {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 4px;
}
.mod-enroll__p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}
/* ── Modules: subtle "previous" link below the enroll callout ── */
.mod-prev {
  background: none;
  border: 0;
  padding: 6px 0;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  transition: color .15s;
}
.mod-prev:hover { color: var(--orange-700); }

/* ── Centers: search input error + map "you searched here" pin ──── */
.centers-search:focus-within {
  border-color: var(--orange);
}
.centers-search__error {
  margin-top: 10px;
  padding: 8px 14px;
  background: var(--orange-50);
  color: var(--orange-700);
  border: 1px solid var(--orange-200);
  border-radius: 6px;
  font-size: 13px;
  max-width: 720px;
}

/* Distinct blue pin for the user's searched location */
.prajna-pin--search .prajna-pin__shape {
  background: #2c8cc4;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(44,140,196,0.20);
}


/* ── Centers: section heading between "in <place>" and "other nearby" ── */
.centers-section-h {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--ink);
  padding: 4px 0 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.centers-section-h--alt {
  margin-top: 28px;
  color: var(--ink-3);
  font-weight: 700;
}

/* Map hover tooltip — name + distance from searched location */
.leaflet-tooltip.prajna-tooltip {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: none;
  white-space: nowrap;
}
.leaflet-tooltip.prajna-tooltip::before { display: none; }

/* Centers empty-state — when search succeeded but no centers match */
.centers-empty {
  padding: 14px 18px;
  margin-bottom: 16px;
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.centers-empty strong { color: var(--orange-700); margin-right: 4px; }

/* Standing "request a center" line on the centers page hero */
.centers-request-line {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.centers-request-line a {
  color: var(--orange-700);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--orange-200);
  transition: color .15s, border-color .15s;
}
.centers-request-line a:hover {
  color: var(--orange-700);
  border-bottom-color: var(--orange-600);
}

/* ── Request a Center page ───────────────────────────────── */
.rc-section {
  padding: 32px 0 80px;
  background: var(--paper);
}
.rc-lede {
  margin: 14px 0 0;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 760px;
}
.rc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}
.rc-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 36px;
}
.rc-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}
.rc-fieldset:last-of-type { margin-bottom: 0; }
.rc-legend {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding: 0 0 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.rc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rc-form .field { display: flex; flex-direction: column; gap: 6px; }
.rc-form .field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.rc-form .field .req { color: var(--orange-600); }
.rc-form .field input,
.rc-form .field select,
.rc-form .field textarea {
  font: inherit;
  font-size: 14px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color .12s, box-shadow .12s;
}
.rc-form .field input:focus,
.rc-form .field select:focus,
.rc-form .field textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(249,143,45,0.18);
}
.rc-form .field small.rc-help {
  font-size: 12px;
  color: var(--ink-3);
}

/* Honeypot — visually hidden but still a real form input that bots can fill.
   Avoid display:none, since some bots specifically skip those. */
.rc-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rc-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.rc-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  cursor: pointer;
  background: #fff;
  transition: border-color .12s, background .12s;
}
.rc-radio:hover { border-color: var(--orange-200); }
.rc-radio input { accent-color: var(--orange); }
.rc-radio input:checked ~ span { color: var(--orange-700); font-weight: 700; }

.rc-error {
  margin-top: 18px;
  padding: 12px 14px;
  background: #fff3f1;
  border: 1px solid #f3c5bd;
  border-radius: 8px;
  color: #a4321e;
  font-size: 13.5px;
}
.rc-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.rc-fineprint {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

.rc-aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.rc-side-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  background: #fff;
}
.rc-side-card--soft { background: var(--paper-2); }
.rc-side-card a { color: var(--orange-700); font-weight: 700; text-decoration: none; }
.rc-side-card a:hover { text-decoration: underline; }
.rc-steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.rc-steps li::marker { color: var(--orange); font-weight: 800; }
.rc-steps b { color: var(--ink); }

/* Success state */
.rc-success-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.rc-success {
  max-width: 640px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px 40px;
}
.rc-success__check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange-50);
  color: var(--orange-700);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 16px;
}
.rc-success__p {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 14px;
}
.rc-success__note {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}
.rc-success a {
  color: var(--orange-700);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--orange-200);
}
.rc-success a:hover { border-bottom-color: var(--orange-600); }

@media (max-width: 880px) {
  .rc-grid { grid-template-columns: 1fr; gap: 24px; }
  .rc-aside { position: static; }
  .rc-form { padding: 24px 20px; }
  .rc-grid-2 { grid-template-columns: 1fr; }
  .rc-success { padding: 32px 24px; }
}

/* ── Help page ───────────────────────────────────────────── */
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.help-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
}
.help-card__h {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
}
.help-card__p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 18px;
}
.help-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.help-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.help-more {
  margin-top: 40px;
  padding: 24px 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.help-more__h {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 12px;
}
.help-more__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.help-more__list a {
  color: var(--orange-700);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--orange-200);
}
.help-more__list a:hover { border-bottom-color: var(--orange-600); }

@media (max-width: 880px) {
  .help-grid { grid-template-columns: 1fr; gap: 20px; }
  .help-card { padding: 20px; }
  .help-more { padding: 20px; }
}

/* ── Auth tabs (Log in / Create an account) ─────────────────
   Paired tab control sits at the top of both login.html and register.html
   so visitors can switch sides without losing context. Each tab is a real
   anchor (full page nav) — keeps each route focused on one form. */
.auth-narrow { max-width: 480px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.auth-tabs {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.auth-tab {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.auth-tab:hover { color: var(--ink-2); }
.auth-tab--active {
  color: var(--ink);
  border-bottom-color: var(--orange);
}
.auth-link {
  color: var(--orange-700);
  text-decoration: none;
  font-weight: 600;
}
.auth-link:hover { text-decoration: underline; }
.auth-row-right { margin-top: 6px; text-align: right; }
.auth-submit { width: 100%; margin-top: 16px; }
.auth-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}
.auth-fineprint {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-4);
  line-height: 1.4;
}
.auth-turnstile { margin-top: 18px; }

/* Password input with show/hide toggle — eye button sits on the right
   edge of the input; clicking flips type between password and text. */
.pw-wrap {
  position: relative;
  display: block;
}
.pw-wrap input {
  width: 100%;
  padding-right: 44px;
  box-sizing: border-box;
}
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--ink-3);
  cursor: pointer;
  transition: color .15s;
}
.pw-toggle:hover { color: var(--ink); }
.pw-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.pw-toggle svg { display: block; }

/* "Continue with Google" button — official 4-color G logo + white bg
   with a 1.5px grey border. Used above the email/password form on
   Login + Register. */
.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background: #fff;
  border: 1.5px solid #dadce0;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #3c4043;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  letter-spacing: -0.005em;
}
.auth-google:hover { background: #f8f9fa; border-color: #c6c8ca; }
.auth-google:active { background: #f1f3f4; }
.auth-google svg { flex-shrink: 0; }

/* "or" divider between Google button and email/password form */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Invalid-credentials error block — red-tinted alert above the form
   when the user submits with bad email/password. Inputs that triggered
   the error get a red focus state via .is-invalid. */
.auth-error {
  background: #fff1f0;
  border: 1px solid #ffd1ce;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
  color: #a8312b;
}
.auth-error strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.005em;
}
.auth-error p {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #7a2520;
}
input.is-invalid,
.field input.is-invalid {
  border-color: #d83b32;
  background: #fff8f7;
}
input.is-invalid:focus,
.field input.is-invalid:focus {
  border-color: #d83b32;
  box-shadow: 0 0 0 4px rgba(216,59,50,0.15);
}

/* Help affordance on Login + Register — neutral helper card. Visible
   without reading as a warning/alarm. No orange tint. */
.auth-help {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.auth-help p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.auth-help strong {
  /* Kept for the Register sidebar's "Want to Help?" sibling cards that
     still use the bold heading pattern. */
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.reg-side-card.auth-help {
  margin-top: 16px;
}

/* ════════════════════════════════════════════════════════════
   Announcements — detail page (announcement.html)
   Flat / editorial: squared corners, typographic ranks, tabbed finalists.
   ════════════════════════════════════════════════════════════ */
.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;
}

/* ── Hero ── */
.ann-hero__tag {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 2px;
  color: var(--orange); font-size: 12px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.ann-hero__tag::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
.ann-hero__title { margin: 12px 0 16px; max-width: 900px; text-wrap: balance; }
.ann-hero__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 14px; color: var(--ink-3);
}
.ann-hero__meta strong { color: var(--ink-2); font-weight: 700; }
.ann-hero__avatar {
  width: 32px; height: 32px; border-radius: var(--r-xs); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
}
.ann-hero__dot { color: var(--ink-4); }

/* ── Layout ── */
.ann-section { padding: 40px 0 72px; background: var(--paper); }
.ann-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px; align-items: start;
}
.ann-main { min-width: 0; }

.ann-intro { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin: 0 0 28px; }

/* Section heading — editorial overline + hard rule (not a rounded title) */
.ann-h {
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); margin: 36px 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink);
}
.ann-note { font-size: 13px; color: var(--ink-3); margin: 0 0 16px; }
.ann-note--right { text-align: right; margin: 10px 0 0; }

/* ── Stats strip ── */
.ann-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-left: 3px solid var(--orange); margin: 0 0 8px;
  border-radius: var(--r-sm); overflow: hidden;
}
.ann-stat { padding: 16px 18px; border-right: 1px solid var(--line); }
.ann-stat:last-child { border-right: 0; }
.ann-stat__num { display: block; font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.ann-stat__lbl { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* ── Winners — typographic ranks, hairline grid, no circles, no rounding ── */
.winners-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 8px;
  border-radius: var(--r-sm); overflow: hidden;
}
.wcard { background: var(--paper); padding: 18px 20px 16px; }
.wcard__cat {
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 12px; text-wrap: balance;
}
.wlist { list-style: none; margin: 0; padding: 0; }
.wrow {
  display: grid; grid-template-columns: 40px 1fr; align-items: baseline; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--line-2);
}
.wrow:first-child { border-top: 0; }
.wrow__rank {
  font-size: 12px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-4);
}
.wrow__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.wrow--1 .wrow__rank { color: var(--orange); }
.wrow--1 .wrow__name { font-weight: 800; }

/* ── Finalists — tabbed, softly squared ── */
.finalists { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.ftabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.ftab {
  appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent;
  padding: 12px 16px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-3);
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.ftab:hover { color: var(--ink); }
.ftab.is-active { color: var(--ink); background: var(--paper); border-bottom-color: var(--orange); }
.ftab:focus-visible { outline: 2px solid var(--blue-600); outline-offset: -2px; }

.ffilter { position: relative; display: flex; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ffilter__icon { position: absolute; left: 26px; color: var(--ink-4); pointer-events: none; }
.ffilter__input {
  width: 100%; padding: 10px 12px 10px 36px; border: 1px solid var(--line); border-radius: var(--r-xs);
  font: inherit; font-size: 14px; color: var(--ink); background: var(--paper);
}
.ffilter__input::placeholder { color: var(--ink-4); }
.ffilter__input:focus { outline: none; border-color: var(--ink); }

.table-scroll { overflow-x: auto; }
.ftable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ftable th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-3); font-weight: 800; padding: 12px 18px; border-bottom: 1px solid var(--line);
}
.ftable td { padding: 11px 18px; border-top: 1px solid var(--line-2); color: var(--ink-2); vertical-align: top; }
.ftable tbody tr:first-child td { border-top: 0; }
.ftable td:first-child { font-weight: 600; color: var(--ink); }
.ftable__empty { text-align: center; color: var(--ink-3); padding: 24px; }

/* ── Share — squared ── */
.ann-share {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.ann-share__label {
  font-size: 12px; font-weight: 800; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.ann-share__links { display: flex; gap: 8px; }
.ann-share__link {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--ink-2); border: 1px solid var(--line);
  transition: background .15s, color .15s, border-color .15s;
}
.ann-share__link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ann-share__link:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }

/* ── Sidebar — squared ── */
.ann-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.ann-search { position: relative; display: flex; align-items: center; }
.ann-search__icon { position: absolute; left: 14px; color: var(--ink-4); pointer-events: none; }
.ann-search__input {
  width: 100%; padding: 12px 16px 12px 42px; border: 1px solid var(--line); border-radius: var(--r-xs);
  font: inherit; font-size: 14px; color: var(--ink); background: var(--paper);
}
.ann-search__input::placeholder { color: var(--ink-4); }
.ann-search__input:focus { outline: none; border-color: var(--ink); }

.ann-other { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.ann-other__h {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink); padding: 14px 16px; margin: 0; border-bottom: 1px solid var(--line);
}
.ann-other__list { list-style: none; margin: 0; padding: 0; }
.ann-other__item { display: block; padding: 14px 16px; text-decoration: none; border-top: 1px solid var(--line-2); transition: background .15s; }
.ann-other__list li:first-child .ann-other__item { border-top: 0; }
.ann-other__item:hover { background: var(--paper-2); }
.ann-other__title { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.ann-other__item:hover .ann-other__title { color: var(--orange); }
.ann-other__date { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-4); }
.ann-other__empty { padding: 14px 16px; font-size: 13px; color: var(--ink-3); }

@media (max-width: 960px) {
  .ann-grid { grid-template-columns: 1fr; gap: 32px; }
  .ann-side { position: static; }
  .ann-stats { grid-template-columns: repeat(2, 1fr); }
  .ann-stat:nth-child(2) { border-right: 0; }
  .ann-stat:nth-child(1), .ann-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ── Legal pages (privacy.html / terms.html) ── */
.legal p { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
.legal__h { font-size: 18px; font-weight: 800; color: var(--ink); margin: 28px 0 10px; }
.legal__note {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; font-size: 14px; color: var(--ink-3); margin-bottom: 24px;
}
.legal a { color: var(--blue-600); text-decoration: underline; }

/* ── Announcements archive (announcements.html) ── */
.arch-sub { margin: 8px 0 0; font-size: 15px; color: var(--ink-3); }
.arch-wrap { max-width: 760px; margin: 0 auto; }
.arch-search { margin-bottom: 24px; }

.arch-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.arch-item {
  display: block; padding: 20px 22px; text-decoration: none;
  border-top: 1px solid var(--line-2); transition: background .15s;
}
.arch-list li:first-child .arch-item { border-top: 0; }
.arch-item:hover { background: var(--paper-2); }
.arch-item__tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-size: 11px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.arch-item__tag::before { content: ""; width: 20px; height: 2px; background: var(--orange); }
.arch-item__title {
  display: block; margin: 8px 0 6px; font-size: 18px; font-weight: 700;
  color: var(--ink); line-height: 1.35; text-wrap: balance;
}
.arch-item:hover .arch-item__title { color: var(--orange); }
.arch-item__meta { display: block; font-size: 13px; color: var(--ink-3); }
.arch-item__dot { color: var(--ink-4); }

.arch-more { margin-top: 24px; text-align: center; }
.arch-empty {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 32px; text-align: center; color: var(--ink-3); font-size: 14px;
}
