/* ==========================================================================
   Mentorship & Beyond Foundation: public site stylesheet (October 2026 redesign)
   Loaded only by app/views/layouts/public.php. The portal, mentor and admin
   shells keep assets/css/app.css. Mobile-first; every size is a token.
   Brand: navy #12324a, pink #d63384, blue #0e7fb8, green #1f9d61. "Making you become"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --navy: #12324a;
  --pink: #d63384;          /* brand: marks, large headings, decoration */
  --pink-700: #c42a78;      /* buttons: 5.3:1 with white */
  --pink-800: #ad2468;      /* small pink text: 6.4:1 on white */
  --pink-soft: #fdeef5;
  --blue: #0e7fb8;
  --blue-800: #0a5f8e;      /* link text: 7:1 on white */
  --blue-soft: #e8f4fb;
  --green: #1f9d61;
  --green-800: #167a4b;
  --green-soft: #e6f6ee;
  --amber-soft: #fdf3e0;
  --amber-800: #7c5206;
  --red: #c0392b;
  --red-soft: #fdecec;
  --gold: #ffd700;

  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --surface: #ffffff;
  --ink: #1f3242;
  --muted: #55687a;
  --line: #dfe6ee;
  --deep: #12324a;          /* dark bands, footer, page heads */
  --deep-2: #0a5f8e;
  --on-deep: #c9dcea;       /* text on the deep bands: 9:1 */
  --on-deep-strong: #ffffff;

  --font-head: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --fs-h1: clamp(2.125rem, 1.5rem + 3vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --fs-h3: 1.25rem;
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: .875rem;         /* 14px: the floor */
  --lh: 1.6;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section: clamp(48px, 8vw, 96px);
  --gutter: 16px;

  --r-sm: 10px; --r: 16px; --r-lg: 24px; --pill: 999px;
  --shadow: 0 8px 30px rgba(18, 50, 74, .10);
  --shadow-sm: 0 2px 10px rgba(18, 50, 74, .07);
  --tap: 44px;
  --header-h: 56px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--blue);
}
[data-theme=dark] {
  --bg: #0a1622;
  --bg-soft: #0d1b28;
  --surface: #14263a;
  --ink: #d5e2ec;
  --muted: #9fb5c8;
  --line: #22364a;
  --navy: #e8f1f8;
  --pink-800: #ff8fc2;
  --blue-800: #8fd0f5;
  --green-800: #6fd3a0;
  --pink-soft: #2e1424;
  --blue-soft: #10293d;
  --green-soft: #0e2b1e;
  --amber-soft: #2b2205;
  --amber-800: #e8cf7a;
  --red-soft: #331416;
  --deep: #0e2436;
  --deep-2: #0d4a6e;
  --shadow: 0 8px 30px rgba(0, 0, 0, .45);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --focus: 0 0 0 3px var(--bg), 0 0 0 6px #ffffff;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  overflow-x: clip;
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh);
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
  min-height: 100dvh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-800); text-decoration: none; text-underline-offset: .15em; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { text-wrap: pretty; }
p a, li a, .card a, dd a { overflow-wrap: anywhere; }
ul, ol { padding-left: 1.2em; }
small, .small { font-size: var(--fs-sm); }
button { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--pink); color: #fff; }

.container { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-mid { width: min(900px, 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --header-h: 64px; --gutter: 32px; } }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000; padding: 12px 18px;
  background: var(--navy); color: #fff; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: var(--s-3); text-decoration: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Utilities */
.h3 { font-size: var(--fs-h3); }
.self-start { justify-self: start; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--navy); margin: var(--s-3) 0 var(--s-2); }
.booklet { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); }
.booklet > div { flex: 1 1 220px; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; }
.verdict { border-left: 5px solid var(--green); }
.verdict.no { border-left-color: var(--red); }
.verdict h2 { display: flex; align-items: center; gap: 8px; }
.verdict.ok h2 { color: var(--green-800); }
.verdict.no h2 { color: var(--red); }
[data-theme=dark] .verdict.no h2 { color: #f3a0a0; }
.verdict p { color: var(--ink); margin-top: var(--s-2); }
.error-page { min-height: 60vh; display: grid; align-items: center; }
.error-mark { width: 64px; margin: 0 auto var(--s-3); }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 10vw, 5rem); color: var(--pink); line-height: 1; }
.error-page h1 { font-size: var(--fs-h2); margin: var(--s-2) 0 var(--s-3); }
.contact-cards .card { padding: var(--s-4); }
.contact-cards .card p b { color: var(--navy); font-weight: 700; }
.card-link h3, .card-link p { color: inherit; }
.card-link p { color: var(--muted); }
.page-head + .section .eyebrow { margin-top: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); } .mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); } .mb-6 { margin-bottom: var(--s-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.cluster-center { justify-content: center; }
.stack { display: grid; gap: var(--s-4); }
.measure { max-width: 62ch; }
.mx-auto { margin-inline: auto; }
.ic { flex: none; vertical-align: -.18em; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap); padding: 10px 22px; border-radius: var(--pill); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; cursor: pointer;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--pink-700); color: #fff; }
.btn-primary:hover { background: var(--pink-800); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(214, 51, 132, .28); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-800); color: #fff; transform: translateY(-1px); }
[data-theme=dark] .btn-blue:hover { background: #1b94d1; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--bg); }
.btn-white { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-white:hover { background: #fff; color: var(--deep); }
.btn-ghost { color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--bg-soft); }
[data-theme=dark] .btn-ghost:hover { background: var(--surface); }
.btn-sm { min-height: var(--tap); padding: 8px 16px; font-size: var(--fs-sm); }
.btn-lg { padding: 13px 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: 700; color: var(--blue-800); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   4. Header, navigation, drawer
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 300; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); min-height: var(--tap); text-decoration: none !important; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; line-height: 1.1; color: var(--navy); }
.brand-name small { display: none; font-size: var(--fs-sm); letter-spacing: .06em; text-transform: uppercase; color: var(--pink-800); font-weight: 700; margin-top: 2px; }
@media (min-width: 480px) { .brand-name { font-size: 1.125rem; } .brand-name small { display: block; } }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.icon-btn {
  width: var(--tap); height: var(--tap); border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--navy); display: inline-grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--pink); color: var(--pink-800); }
.nav-toggle { display: inline-grid; }
.nav-toggle .bars { width: 20px; height: 14px; display: grid; gap: 4px; }
.nav-toggle .bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; }

/* The one <nav>: a drawer below 1024 px, an inline bar above */
.site-nav { display: flex; flex-direction: column; }
.nav-list { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 0; }
.nav-list a, .nav-group > summary {
  display: flex; align-items: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-3);
  border-radius: var(--r-sm); font-weight: 600; color: inherit; text-decoration: none;
}
.nav-group { position: relative; }
.nav-group > summary { list-style: none; cursor: pointer; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary .ic { transition: transform .2s; }
.nav-group[open] > summary .ic { transform: rotate(180deg); }
.nav-group-menu { list-style: none; padding: 0; display: grid; gap: 2px; }
.nav-cta { display: grid; gap: var(--s-2); }
@media (max-width: 1023.98px) {
  .site-nav {
    position: fixed; inset: 0 0 0 auto; z-index: 400; width: min(86vw, 360px); height: 100dvh;
    padding: var(--s-4); background: var(--deep); color: #e6eef7; box-shadow: -10px 0 40px rgba(0,0,0,.35);
    transform: translateX(104%); transition: transform .28s ease; overflow-y: auto; visibility: hidden;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
  .drawer-head .brand-name { color: #fff; }
  .drawer-head .brand-name small { color: #ff9ecb; display: block; }
  .drawer-close { width: var(--tap); height: var(--tap); border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
  .drawer-close:hover { background: var(--pink); }
  .nav-list a, .nav-group > summary { color: #eef4fa; font-size: 1.0625rem; }
  .nav-list a:hover, .nav-list a.active, .nav-group > summary:hover { background: rgba(255,255,255,.1); color: #fff; }
  .nav-list a.active { box-shadow: inset 4px 0 0 var(--pink); }
  .nav-group > summary { pointer-events: none; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: #9fc0d6; min-height: 40px; margin-top: var(--s-2); }
  .nav-group > summary .ic { display: none; }
  .nav-group-menu a { padding-left: var(--s-5); }
  .nav-cta { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,.14); }
  .nav-cta .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
  .nav-cta .btn-outline:hover { background: #fff; color: var(--deep); }
  .drawer-backdrop { position: fixed; inset: 0; z-index: 390; background: rgba(5, 12, 20, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .drawer-backdrop.show { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .site-nav :focus-visible { box-shadow: 0 0 0 3px #fff; }
}
@media (min-width: 1024px) {
  .site-nav { flex-direction: row; align-items: center; gap: var(--s-4); }
  .drawer-head, .drawer-close { display: none; }
  .nav-list { flex-direction: row; align-items: center; gap: 2px; }
  .nav-list a, .nav-group > summary { min-height: var(--tap); padding: 0 12px; font-size: .9375rem; position: relative; white-space: nowrap; }
  .nav-list a:not(.btn):hover, .nav-group > summary:hover { background: var(--bg-soft); }
  .nav-list a.active { color: var(--pink-800); }
  .nav-list a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--pink); }
  .nav-group[data-active] > summary { color: var(--pink-800); }
  .nav-group-menu {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: var(--s-2);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); z-index: 320;
  }
  .nav-group-menu a { min-height: var(--tap); }
  .nav-group-menu a:hover, .nav-group-menu a.active { background: var(--pink-soft); color: var(--pink-800); }
  .nav-group-menu a.active::after { display: none; }
  .nav-cta { grid-auto-flow: column; align-items: center; gap: var(--s-2); margin-left: var(--s-2); }
  .nav-toggle { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .brand-name small { display: none; }
  .site-nav { gap: var(--s-2); }
  .nav-list a, .nav-group > summary { padding: 0 9px; font-size: .9rem; }
  .nav-list a.active::after { left: 9px; right: 9px; }
  .nav-cta .btn-sm { padding: 8px 13px; }
  .station .theme { display: none; }
  .station-body { padding: var(--s-4) var(--s-2); }
}

/* Animated brand mark: hand + fluttering butterflies */
.mb-mark { position: relative; width: 44px; height: 40px; flex: none; }
.mb-mark img { position: absolute; height: auto; }
.mb-mark .hand { bottom: 0; left: 50%; transform: translateX(-50%); width: 38px; }
.mb-mark .bf { width: 14px; animation: bf-float 3.2s ease-in-out infinite; }
.mb-mark .bf1 { left: 50%; top: 0; margin-left: -8px; width: 16px; }
.mb-mark .bf2 { left: 3px; top: 8px; animation-delay: .55s; animation-duration: 3.8s; }
.mb-mark .bf3 { right: 2px; top: 7px; animation-delay: 1.1s; animation-duration: 3.5s; }
@keyframes bf-float {
  0%, 100% { transform: translateY(0) rotate(-4deg) scale(1); }
  35%      { transform: translateY(-5px) rotate(5deg) scale(1.06); }
  70%      { transform: translateY(-2px) rotate(-2deg) scale(.98); }
}
.mb-mark-lg { width: 220px; height: 200px; margin: 0 auto; }
.mb-mark-lg .hand { width: 185px; }
.mb-mark-lg .bf { width: 62px; }
.mb-mark-lg .bf1 { width: 78px; margin-left: -38px; }
.mb-mark-lg .bf2 { left: 12px; top: 42px; }
.mb-mark-lg .bf3 { right: 10px; top: 36px; }

/* --------------------------------------------------------------------------
   5. Sections, heads, eyebrows, grids, cards
   -------------------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: var(--s-7) 0; }
.section-head { max-width: 640px; margin: 0 auto var(--s-6); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin: var(--s-3) 0 var(--s-3); }
.section-head p { color: var(--muted); font-size: 1.0625rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pink-800); background: var(--pink-soft); border-radius: var(--pill); padding: 6px 14px;
}
.eyebrow-blue { color: var(--blue-800); background: var(--blue-soft); }
.eyebrow-green { color: var(--green-800); background: var(--green-soft); }
.eyebrow-light { color: #ffd6ea; background: rgba(255,255,255,.14); }
.below-fold { content-visibility: auto; contain-intrinsic-size: auto 600px; }

.grid { display: grid; gap: var(--s-4); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid { gap: var(--s-5); } .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-center { align-items: center; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-5);
  box-shadow: var(--shadow-sm); min-width: 0;
}
.card h3 { margin-bottom: var(--s-2); }
.card p, .card li { color: var(--muted); font-size: .9375rem; }
.card ul { margin-top: var(--s-3); }
.card li { margin-bottom: 4px; }
.card-link { display: block; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--pink); }
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: var(--s-4);
  background: var(--blue-soft); color: var(--blue-800);
}
.icon-tile.pink { background: var(--pink-soft); color: var(--pink-800); }
.icon-tile.green { background: var(--green-soft); color: var(--green-800); }
.icon-tile.amber { background: var(--amber-soft); color: var(--amber-800); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.tile { display: grid; gap: var(--s-2); padding: var(--s-4); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.tile .icon-tile { margin-bottom: 0; width: 40px; height: 40px; }
.tile b { font-family: var(--font-head); color: var(--navy); font-size: 1rem; line-height: 1.25; }
.tile span { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } .tile { padding: var(--s-5); } }

.badge { display: inline-block; padding: 4px 12px; border-radius: var(--pill); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em; }
.badge-green { background: var(--green-soft); color: var(--green-800); }
.badge-blue { background: var(--blue-soft); color: var(--blue-800); }
.badge-pink { background: var(--pink-soft); color: var(--pink-800); }
.badge-amber { background: var(--amber-soft); color: var(--amber-800); }

/* --------------------------------------------------------------------------
   6. Hero (home, F-CREATE)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; padding: var(--s-6) 0 var(--s-7);
  background: radial-gradient(900px 480px at 90% -10%, var(--blue-soft) 0%, transparent 60%), var(--bg);
}
.hero-grid { display: grid; gap: var(--s-6); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; background: var(--surface); border: 1.5px solid var(--pink);
  color: var(--pink-800); border-radius: var(--pill); padding: 7px 14px; font-weight: 700; font-size: var(--fs-sm); box-shadow: var(--shadow-sm); margin-bottom: var(--s-4);
}
.hero-badge.blue { border-color: var(--blue); color: var(--blue-800); }
.hero-badge .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { margin-bottom: var(--s-4); }
.hero h1 .u-pink { color: var(--pink); }
.hero .lead { font-size: var(--fs-lead); color: var(--muted); max-width: 54ch; margin-bottom: var(--s-5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-bottom: var(--s-6); }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: var(--s-4) var(--s-5); justify-content: start; }
.facts div { min-width: 0; }
.facts b { display: block; font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); color: var(--navy); line-height: 1.1; }
.facts span { display: block; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; margin-top: 2px; }
@media (max-width: 479.98px) { .facts { grid-template-columns: 1fr 1fr; } }
.hero-visual { position: relative; }
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: var(--s-6) var(--s-5) var(--s-5); text-align: center;
}
.hero-card .tagline { font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; color: var(--navy); margin-top: var(--s-4); }
.hero-card .tagline em { color: var(--pink); font-style: normal; }
.hero-card .sub { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-top: var(--s-4); }
.hero-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); background: var(--bg-soft); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.hero-chips .ic { color: var(--blue-800); }
.hero-card ol { text-align: left; padding-left: 1.3em; display: grid; gap: var(--s-2); color: var(--ink); }
.hero-card ol li::marker { color: var(--pink-800); font-weight: 800; }
@media (min-width: 900px) {
  .hero { padding: var(--s-8) 0; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s-7); }
}

/* Page head (inner pages) */
.page-head { background: linear-gradient(140deg, var(--deep), var(--deep-2)); color: var(--on-deep); padding: var(--s-6) 0 var(--s-6); }
.page-head h1 { color: #fff; margin-bottom: var(--s-2); }
.page-head p { font-size: 1.0625rem; max-width: 62ch; }
.page-head .crumbs { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; margin-top: var(--s-2); font-size: var(--fs-sm); color: #9fc0d6; }
.page-head .crumbs a { color: #e0ecf5; display: inline-flex; align-items: center; min-height: var(--tap); }
.page-head .crumbs .sep { opacity: .6; }
.page-head .badge { background: rgba(255,255,255,.14); color: #fff; margin-bottom: var(--s-3); }
.page-head .cluster { margin-top: var(--s-4); }
@media (min-width: 900px) { .page-head { padding: var(--s-7) 0; } }

/* --------------------------------------------------------------------------
   7. The journey: seven F-CREATE stations on one path
   -------------------------------------------------------------------------- */
.journey { list-style: none; padding: 0; position: relative; display: grid; gap: var(--s-3); counter-reset: st; }
.journey::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue), var(--pink)); opacity: .35; }
.station { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-3); align-items: start; min-width: 0; }
.station .letter {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  color: #fff; background: var(--blue); box-shadow: 0 0 0 4px var(--bg); position: relative; z-index: 1;
}
.station:nth-child(even) .letter { background: var(--pink-700); }
.station-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-4); min-width: 0; }
.station .day { display: block; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pink-800); margin-bottom: 2px; }
.station h3 { font-size: 1.125rem; margin-bottom: 4px; hyphens: auto; }
.station p { color: var(--muted); font-size: .9375rem; }
.station-body a { font-weight: 700; }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(7, 1fr); gap: var(--s-3); }
  .journey::before { left: 7%; right: 7%; top: 23px; bottom: auto; width: auto; height: 3px; }
  .station { grid-template-columns: 1fr; grid-template-rows: 48px 1fr; justify-items: center; text-align: center; }
  .station-body { width: 100%; padding: var(--s-4) var(--s-3); height: 100%; }
}
.journey-foot { margin-top: var(--s-5); }

/* --------------------------------------------------------------------------
   8. Proof: story cards; the shelf; photo strip; founder; CTA band
   -------------------------------------------------------------------------- */
.story-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-5); box-shadow: var(--shadow-sm); display: grid; gap: var(--s-4); margin: 0; }
.story-card .quote { font-size: 1rem; color: var(--ink); line-height: 1.6; margin: 0; }
.story-card .quote::before { content: "\201C"; font-family: var(--font-head); font-size: 2.5rem; line-height: 0; color: var(--pink); margin-right: 4px; vertical-align: -.4em; }
.story-card .who { display: flex; align-items: center; gap: var(--s-3); margin: 0; }
.story-card .av { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--blue); font-size: var(--fs-sm); }
.story-card .who b { display: block; font-size: .9375rem; color: var(--navy); }
.story-card .who span { font-size: var(--fs-sm); color: var(--muted); }
.story-more { display: contents; } .story-more[hidden] { display: none; }

.shelf { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.book-tile { position: relative; display: block; color: inherit; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.book-tile:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.book-tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.book-tile-title { display: block; padding: 10px 12px; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); line-height: 1.3; color: var(--navy); }
.book-tile-badge { position: absolute; top: 8px; left: 8px; padding: 4px 9px; border-radius: var(--pill); background: var(--gold); color: #0b1d4d; font-size: var(--fs-sm); font-weight: 800; }
@media (min-width: 640px) { .shelf { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }
@media (min-width: 900px) { .shelf-8 { grid-template-columns: repeat(4, 1fr); } }

.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.photo-tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--bg-soft); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; color: #fff; font-size: var(--fs-sm); font-weight: 700; background: linear-gradient(transparent, rgba(5,10,21,.78)); }
@media (min-width: 900px) { .photo-strip { grid-template-columns: repeat(4, 1fr); } }

.founder { display: grid; gap: var(--s-5); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.founder-photo { width: 120px; height: 180px; object-fit: cover; object-position: top; border-radius: var(--r); justify-self: start; }
.founder h2 { font-size: 1.5rem; margin: var(--s-2) 0 var(--s-3); }
.founder p { color: var(--muted); }
.founder .role { font-weight: 700; color: var(--pink-800); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 720px) { .founder { grid-template-columns: 160px 1fr; padding: var(--s-6); } .founder-photo { width: 160px; height: 240px; } }

.cta-band { background: linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%); color: var(--on-deep); border-radius: var(--r-lg); padding: var(--s-6) var(--s-5); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: var(--s-3) 0; }
.cta-band p { max-width: 62ch; }
.cta-band .meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin: var(--s-5) 0; }
.cta-band .meta div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 10px 14px; border-radius: var(--r-sm); font-size: var(--fs-sm); min-width: 0; }
.cta-band .meta b { display: block; font-size: 1.0625rem; color: #fff; font-family: var(--font-head); }
.cta-band .cluster { margin-top: var(--s-4); }
@media (min-width: 720px) { .cta-band { padding: var(--s-7) var(--s-7); } .cta-band .meta { grid-template-columns: repeat(5, 1fr); } }
.cta-band.cover { background-size: cover; background-position: right center; }

/* The anthem: lyric video, song and lyrics (partials/anthem.php) */
.anthem-band { background: linear-gradient(160deg, var(--deep) 0%, #0b2235 55%, var(--deep-2) 140%); color: var(--on-deep); position: relative; overflow: hidden; }
.anthem-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vmax; height: 70vmax; background: radial-gradient(circle, rgba(214,51,132,.18) 0%, rgba(214,51,132,0) 60%); pointer-events: none; }
.anthem { position: relative; display: grid; gap: var(--s-6); align-items: center; }
.anthem-media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #0b2235; box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08); }
.anthem-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0b2235; object-fit: cover; }
.anthem-media.is-portrait { max-width: 420px; margin-inline: auto; width: 100%; }
.anthem-media.is-portrait video { aspect-ratio: 9 / 16; max-height: 78svh; object-fit: contain; }
.anthem-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: var(--pink-700); box-shadow: 0 0 0 10px rgba(214,51,132,.25), 0 12px 30px rgba(0,0,0,.35); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.anthem-play .ic { margin-left: 4px; fill: currentColor; }
.anthem-play:hover { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(214,51,132,.3), 0 12px 30px rgba(0,0,0,.35); }
.anthem-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.anthem-media.is-playing .anthem-play { display: none; }
.anthem-copy h2 { color: #fff; margin: var(--s-3) 0; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); letter-spacing: -.01em; }
.anthem-copy p { color: rgba(255,255,255,.86); max-width: 52ch; font-size: 1.0625rem; }
.anthem-audio { margin: var(--s-5) 0 var(--s-3); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); padding: var(--s-3) var(--s-4) var(--s-4); }
.anthem-audio-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-sm); color: #fff; margin-bottom: var(--s-2); }
.anthem-audio audio { display: block; width: 100%; height: 44px; }
.link-light { color: #fff; }
.link-light:hover { color: #ffd6ea; }
.anthem-lyrics { position: relative; margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid rgba(255,255,255,.14); }
.anthem-lyrics-title { color: #fff; text-align: center; font-size: 1.5rem; margin: 0 0 var(--s-5); }
.anthem-stanzas { display: grid; gap: var(--s-4); }
.anthem-stanza { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: var(--s-4) var(--s-5); }
.anthem-stanza-label { display: block; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; color: #ffb3d6; margin-bottom: var(--s-2); }
.anthem-stanza p { color: rgba(255,255,255,.9); line-height: 1.7; margin: 0; }
.anthem-note { text-align: center; color: rgba(255,255,255,.75); margin: var(--s-5) auto 0; max-width: 60ch; }
@media (min-width: 720px) { .anthem-stanzas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .anthem { grid-template-columns: 1.35fr 1fr; gap: var(--s-8); }
  .anthem-stanzas { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .anthem-play { transition: none; } }

/* --------------------------------------------------------------------------
   9. Content components: timeline, leaders, class flow, FAQ, levels, chips
   -------------------------------------------------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; display: grid; gap: var(--s-4); }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--pink)); opacity: .35; }
.timeline li { position: relative; padding-left: 40px; }
.timeline li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--blue); }
.timeline li.is-next::before { border-color: var(--pink); background: var(--pink); }
.tl-when { display: inline-block; font-size: var(--fs-sm); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pink-800); margin-bottom: 4px; }
.timeline h3 { font-size: 1.125rem; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: .9375rem; }

.leaders { display: grid; gap: var(--s-5); }
.leader { display: grid; gap: var(--s-4); }
.leader-photo { width: 96px; height: 144px; object-fit: cover; object-position: top; border-radius: var(--r); }
.leader-mono { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; background: var(--pink-700); }
.leader .role { display: block; color: var(--pink-800); font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; margin: 2px 0 var(--s-3); }
.leader p { color: var(--muted); font-size: .9375rem; }
.leader p + p { margin-top: var(--s-3); }
@media (min-width: 720px) { .leader { grid-template-columns: auto 1fr; } }
@media (min-width: 1024px) { .leaders { grid-template-columns: 1.4fr 1fr; align-items: start; } }

.class-flow { list-style: none; counter-reset: cf; padding: 0; display: grid; gap: var(--s-3); }
.class-flow li { counter-increment: cf; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-4); display: grid; gap: 6px; align-content: start; }
.class-flow li::before { content: counter(cf); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink-800); font-family: var(--font-head); font-weight: 800; font-size: var(--fs-sm); }
.class-flow b { font-family: var(--font-head); color: var(--navy); }
.class-flow span { color: var(--muted); font-size: .9375rem; }
@media (min-width: 640px) { .class-flow { grid-template-columns: 1fr 1fr; gap: var(--s-4); } }
@media (min-width: 1024px) { .class-flow { grid-template-columns: repeat(3, 1fr); } }

.steps { list-style: none; counter-reset: sp; padding: 0; display: grid; gap: var(--s-4); }
.steps li { counter-increment: sp; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-3); align-items: start; }
.steps li::before { content: counter(sp); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink-800); border: 2px dashed var(--pink); font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; }
.steps h3 { font-size: 1.0625rem; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.faq { display: grid; gap: var(--s-3); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 var(--s-4); }
.faq summary { cursor: pointer; list-style: none; min-height: 56px; padding: var(--s-3) 0; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); display: flex; justify-content: space-between; gap: var(--s-3); align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--pink-soft); color: var(--pink-800); font-size: 1.25rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--s-4); color: var(--muted); }

.chip-nav { position: sticky; top: var(--header-h); z-index: 200; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.chip-nav .container { display: flex; gap: var(--s-2); align-items: center; overflow-x: auto; padding-top: var(--s-2); padding-bottom: var(--s-2); scrollbar-width: none; }
.chip-nav .container::-webkit-scrollbar { display: none; }
.chip-nav .count { flex: none; font-size: var(--fs-sm); color: var(--muted); margin-right: 4px; }
.chip { flex: none; display: inline-flex; gap: 6px; align-items: center; min-height: var(--tap); padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.chip b { color: var(--pink-800); }
.chip:hover, .chip.active { border-color: var(--pink); color: var(--pink-800); text-decoration: none; }
.chip.active { background: var(--pink-soft); }
section[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

.levels { display: grid; gap: var(--s-4); }
.levels .card { display: grid; gap: var(--s-2); align-content: start; }
.levels .badge { justify-self: start; }
.levels ul { margin: var(--s-2) 0 0; }

.empty { text-align: center; padding: var(--s-7) var(--s-4); color: var(--muted); }
.empty .big { display: grid; place-items: center; margin-bottom: var(--s-3); color: var(--muted); }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: var(--s-5); }
.form-card h2, .form-card h3 { margin-bottom: var(--s-4); }
.form-grid { display: grid; gap: 0 var(--s-4); }
.field { margin-bottom: var(--s-4); min-width: 0; }
.field label { display: block; font-weight: 700; font-size: var(--fs-sm); margin-bottom: 6px; color: var(--navy); }
.field .req { color: var(--pink-800); }
.field .hint { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3.5px var(--blue-soft); }
.field input::placeholder, .field textarea::placeholder { color: #7d8c9a; }
[data-theme=dark] .field input::placeholder, [data-theme=dark] .field textarea::placeholder { color: #6d8296; }
[data-theme=dark] .field input, [data-theme=dark] .field select, [data-theme=dark] .field textarea { background: #0f2033; border-color: #24405c; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2355687a' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.choice { display: flex; align-items: flex-start; gap: 12px; min-height: var(--tap); padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.choice:hover { border-color: var(--blue); background: var(--blue-soft); }
.choice input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--pink-700); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-card { padding: var(--s-6); } }

/* --------------------------------------------------------------------------
   11. Flash, alerts, cookie bar, modal
   -------------------------------------------------------------------------- */
.flash-stack { position: fixed; top: calc(var(--header-h) + 10px); left: var(--gutter); right: var(--gutter); z-index: 500; display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .flash-stack { left: auto; width: 380px; } }
.alert { padding: 13px 16px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: flex-start; animation: slide-in .35s ease; }
@keyframes slide-in { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.alert-success { background: var(--green-soft); color: var(--green-800); border: 1px solid #bfe6d2; }
.alert-error { background: var(--red-soft); color: #8c2626; border: 1px solid #f3c8c8; }
.alert-info { background: var(--blue-soft); color: var(--blue-800); border: 1px solid #cfe6f4; }
[data-theme=dark] .alert-success { color: #8fe0b4; border-color: #1f4d35; }
[data-theme=dark] .alert-error { color: #f3a0a0; border-color: #5a2626; }
[data-theme=dark] .alert-info { border-color: #24405c; }
.alert-static { position: static; box-shadow: none; animation: none; }
.alert a { color: inherit; text-decoration: underline; font-weight: 700; }

.cookie-bar {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 600; max-width: 640px; margin-inline: auto;
  background: var(--deep); color: #dbe7f0; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: var(--s-4); box-shadow: 0 12px 40px rgba(0,0,0,.3);
  display: none; gap: var(--s-3); align-items: center; flex-wrap: wrap;
}
.cookie-bar.show { display: flex; animation: slide-up .4s ease; }
@keyframes slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-bar p { font-size: var(--fs-sm); flex: 1 1 280px; display: flex; gap: 8px; align-items: flex-start; }
.cookie-bar a { color: #8fd0f5; }
.cookie-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.cookie-bar .btn-white { border-color: rgba(255,255,255,.6); }

.modal-backdrop { position: fixed; inset: 0; background: rgba(10, 26, 40, .6); backdrop-filter: blur(4px); z-index: 700; display: none; align-items: center; justify-content: center; padding: var(--s-4); }
.modal-backdrop.show { display: flex; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); max-width: 520px; width: 100%; padding: var(--s-6) var(--s-5) var(--s-5); position: relative; box-shadow: 0 24px 80px rgba(0,0,0,.35); max-height: 92dvh; overflow: auto; }
.modal h2 { font-size: 1.5rem; margin: var(--s-3) 0; }
.modal .close { position: absolute; top: 10px; right: 10px; width: var(--tap); height: var(--tap); border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.modal .close:hover { background: var(--pink-soft); color: var(--pink-800); }

/* PWA install invitation (ui.js builds it) */
.pwa-banner { position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 590; display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; background: var(--deep); color: #dbe7f0; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: var(--s-4); box-shadow: 0 12px 40px rgba(0,0,0,.35); opacity: 0; transform: translateY(24px); transition: opacity .35s ease, transform .35s ease; }
.pwa-banner.show { opacity: 1; transform: none; }
.pwa-banner .pwa-ic { width: 46px; height: 46px; border-radius: 12px; background: #fff; padding: 5px; flex: none; }
.pwa-banner .pwa-txt { flex: 1 1 180px; min-width: 0; }
.pwa-banner .pwa-txt b { display: block; color: #fff; font-family: var(--font-head); }
.pwa-banner .pwa-txt span { font-size: var(--fs-sm); color: #b9cddd; display: block; margin-top: 2px; }
.pwa-banner .pwa-actions { display: flex; gap: var(--s-2); }
.pwa-banner .pwa-later { color: #dbe7f0; background: transparent; }
@media (min-width: 640px) { .pwa-banner { left: auto; max-width: 430px; } }
/* mbAlert, mbToast (ui.js) */
.mb-alert-backdrop { position: fixed; inset: 0; z-index: 900; background: rgba(8, 20, 32, .62); backdrop-filter: blur(3px); display: grid; place-items: center; padding: var(--s-4); opacity: 0; transition: opacity .2s; }
.mb-alert-backdrop.show { opacity: 1; }
.mb-alert { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: var(--s-6) var(--s-5) var(--s-5); text-align: center; max-width: 420px; width: 100%; box-shadow: 0 24px 80px rgba(0,0,0,.4); transform: scale(.94) translateY(10px); transition: transform .2s; }
.mb-alert-backdrop.show .mb-alert { transform: none; }
.mb-alert-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto var(--s-4); display: grid; place-items: center; }
.mb-alert-icon.success { background: var(--green-soft); color: var(--green-800); }
.mb-alert-icon.error { background: var(--red-soft); color: var(--red); }
.mb-alert-icon.warning { background: var(--amber-soft); color: var(--amber-800); }
.mb-alert-icon.info { background: var(--blue-soft); color: var(--blue-800); }
.mb-alert-icon.question { background: var(--pink-soft); color: var(--pink-800); }
.mb-alert h3 { margin-bottom: var(--s-2); }
.mb-alert p { color: var(--muted); }
.mb-alert-actions { display: flex; gap: var(--s-2); justify-content: center; margin-top: var(--s-5); flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   12. Gallery and lightbox
   -------------------------------------------------------------------------- */
.albums { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.album-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; transition: transform .2s, box-shadow .2s; }
.album-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.album-cover { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--blue-soft), var(--pink-soft)); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-empty { display: grid; place-items: center; height: 100%; color: var(--muted); }
.album-count { position: absolute; bottom: 10px; right: 10px; background: rgba(8, 20, 32, .75); color: #fff; border-radius: var(--pill); padding: 5px 12px; font-size: var(--fs-sm); font-weight: 700; display: inline-flex; gap: 5px; align-items: center; }
.album-body { padding: var(--s-4); display: grid; gap: 4px; }
.album-body h2 { font-size: 1.125rem; }
.album-body p { color: var(--muted); font-size: .9375rem; }
.album-body .more { color: var(--pink-800); font-weight: 700; font-size: var(--fs-sm); }
@media (min-width: 640px) { .albums { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
@media (min-width: 1024px) { .albums { grid-template-columns: repeat(3, 1fr); } }

.gal-grid { columns: 2 150px; column-gap: 10px; }
.gal-item { break-inside: avoid; margin: 0 0 10px; position: relative; border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; background: var(--bg-soft); border: 1px solid var(--line); min-height: 44px; }
.gal-item img, .gal-item video { width: 100%; transition: transform .4s ease; }
.gal-item:hover img { transform: scale(1.03); }
.gal-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 20, 32, .65); color: #fff; border: 2px solid rgba(255,255,255,.65); pointer-events: none; }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; background: linear-gradient(0deg, rgba(6, 16, 26, .85), transparent); color: #fff; font-size: var(--fs-sm); opacity: 0; transition: opacity .3s; }
.gal-item:hover figcaption, .gal-item:focus figcaption { opacity: 1; }
.gal-item figcaption b { display: block; }
@media (min-width: 640px) { .gal-grid { columns: 3 260px; column-gap: var(--s-4); } .gal-item { margin-bottom: var(--s-4); } }
.gal-lightbox { position: fixed; inset: 0; z-index: 950; background: rgba(5, 12, 20, .94); display: none; }
.gal-lightbox.show { display: block; animation: fade .25s; }
.gal-lb-stage { position: absolute; inset: 60px 8px 100px; display: grid; place-items: center; }
.gal-lb-stage img, .gal-lb-stage video { max-width: 100%; max-height: 100%; width: auto; border-radius: var(--r-sm); box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.gal-yt-wrap { width: min(1100px, 100%); aspect-ratio: 16 / 9; }
.gal-yt-wrap iframe { width: 100%; height: 100%; border: 0; border-radius: var(--r-sm); }
.gal-lb-btn { position: absolute; z-index: 5; width: var(--tap); height: var(--tap); border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; display: grid; place-items: center; cursor: pointer; }
.gal-lb-btn:hover { background: var(--pink-700); border-color: var(--pink); }
.gal-lb-close { top: 10px; right: 10px; }
.gal-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.gal-lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.gal-lb-caption { position: absolute; left: 0; right: 0; bottom: 48px; text-align: center; color: #fff; padding: 0 var(--s-5); font-size: var(--fs-sm); }
.gal-lb-caption b { display: block; font-size: 1rem; }
.gal-lb-caption span { color: #b9cddd; }
.gal-lb-counter { position: absolute; top: 20px; left: 16px; color: #d5e2ec; font-size: var(--fs-sm); font-weight: 700; }
@media (min-width: 900px) { .gal-lb-stage { inset: 60px 72px 90px; } .gal-lb-prev { left: 14px; } .gal-lb-next { right: 14px; } }

.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: var(--s-6); }
.pager a, .pager span { min-width: var(--tap); height: var(--tap); display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-sm); font-weight: 700; color: var(--navy); padding: 0 10px; }
.pager a:hover { border-color: var(--pink); text-decoration: none; }
.pager .cur { background: var(--pink-700); color: #fff; border-color: var(--pink-700); }

/* --------------------------------------------------------------------------
   13. Blog: cards, post, reactions, share, comments, prose
   -------------------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .cover { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cover .mark-only { width: 72px; height: auto; object-fit: contain; }
.post-card .body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.post-card .cat { font-size: var(--fs-sm); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pink-800); }
.post-card h2, .post-card h3 { font-size: 1.125rem; }
.post-card h2 a, .post-card h3 a { color: var(--navy); }
.post-card p { color: var(--muted); font-size: .9375rem; }
.post-card .meta { margin-top: auto; font-size: var(--fs-sm); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.post-card .meta span { display: inline-flex; gap: 4px; align-items: center; }
.post-layout { display: grid; gap: var(--s-6); align-items: start; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin-bottom: var(--s-5); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.post-meta span { display: inline-flex; gap: 5px; align-items: center; }
@media (min-width: 900px) { .post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-7); } }
.aside-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-5); margin-bottom: var(--s-4); }
.aside-panel h2 { font-size: 1.0625rem; margin-bottom: var(--s-3); }
.aside-panel ul { list-style: none; padding: 0; display: grid; }
.aside-panel li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); font-size: .9375rem; }
.aside-panel li:last-child a { border-bottom: 0; }
.aside-panel.soft { background: var(--blue-soft); border: 0; text-align: center; }

.react-bar { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; padding: var(--s-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: var(--s-5) 0; }
.react-btn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 8px 14px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); }
.react-btn:hover { border-color: var(--pink); color: var(--pink-800); }
.react-btn.active { background: var(--pink-700); border-color: var(--pink-700); color: #fff; }
.share-row { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 8px 14px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 700; cursor: pointer; border: 0; color: #fff; }
.share-btn:hover { filter: brightness(1.08); }
.share-btn.whatsapp { background: #128c4a; }
.share-btn.facebook { background: #1566d8; }
.share-btn.twitter { background: #14171a; }
[data-theme=dark] .share-btn.twitter { background: #2b3a4a; }
.share-btn.instagram { background: linear-gradient(45deg, #d6692a, #c4293f, #a31a7a); }
.share-btn.email { background: var(--blue-800); }
.share-btn.link { background: var(--muted); }
[data-theme=dark] .share-btn.link { background: #3a5068; }
.share-head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-2); }
.comments-head { display: flex; align-items: center; gap: 8px; margin: var(--s-6) 0 var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 1.25rem; }
.comment-item { display: flex; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.comment-item:last-child { border-bottom: 0; }
.comment-main { flex: 1; min-width: 0; }
.cavatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: var(--fs-sm); background: var(--blue); overflow: hidden; }
.cavatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-bubble { background: var(--bg-soft); border-radius: 4px 16px 16px 16px; padding: 12px 16px; }
.comment-bubble b { font-size: .9375rem; color: var(--navy); }
.comment-bubble p { font-size: .9375rem; margin-top: 3px; }
.comment-meta { display: flex; gap: var(--s-3); margin-top: 4px; font-size: var(--fs-sm); color: var(--muted); align-items: center; flex-wrap: wrap; }
.comment-meta button { background: none; border: 0; min-height: 36px; padding: 0 6px; color: var(--muted); font-size: var(--fs-sm); font-weight: 700; cursor: pointer; display: inline-flex; gap: 5px; align-items: center; }
.comment-meta button:hover, .comment-meta button.active { color: var(--pink-800); }
.comment-replies { margin-left: var(--s-4); }
.reply-form { margin-top: var(--s-3); }
.reply-form[hidden] { display: none; }
@media (min-width: 640px) { .comment-replies { margin-left: 30px; } }

.prose { font-size: 1.0625rem; color: var(--ink); }
.prose h2 { font-size: 1.5rem; margin: var(--s-6) 0 var(--s-3); }
.prose h3 { font-size: 1.25rem; margin: var(--s-5) 0 var(--s-2); }
.prose h4 { font-size: 1.0625rem; margin: var(--s-4) 0 var(--s-2); }
.prose p { margin-bottom: var(--s-4); }
.prose ul, .prose ol { margin: 0 0 var(--s-4) 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; }
.prose blockquote { border-left: 4px solid var(--pink); background: var(--pink-soft); padding: var(--s-3) var(--s-4); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-bottom: var(--s-4); }
.prose img { border-radius: var(--r-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-bottom: var(--s-4); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--deep); color: var(--on-deep); padding: var(--s-7) 0 var(--s-5); margin-top: auto; }
.footer-grid { display: grid; gap: var(--s-6); margin-bottom: var(--s-6); }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: var(--s-3); }
.site-footer a { color: var(--on-deep); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { font-size: .9375rem; }
.site-footer li a, .site-footer li .plain { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); }
.site-footer .about { font-size: .9375rem; max-width: 40ch; margin-top: var(--s-3); }
.site-footer .brand .brand-name, .site-footer .brand .brand-name small { color: #fff; }
.site-footer .brand .brand-name small { color: #ff9ecb; display: block; }
.footer-social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.footer-social a { width: var(--tap); height: var(--tap); border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-social a:hover { background: var(--pink-700); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-4); font-size: var(--fs-sm); align-items: center; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: var(--tap); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--s-6); } }

/* --------------------------------------------------------------------------
   15. The F-CREATE foundation web (partials/fcreate-web.php), carried over
   -------------------------------------------------------------------------- */
.fw-stage { position: relative; display: grid; grid-template-columns: 1fr; border-radius: var(--r-lg); overflow: hidden; color: #e9eef9; box-shadow: var(--shadow); background: radial-gradient(900px 520px at 42% 38%, #12307a 0%, #0b1d4d 55%, #071431 100%); border: 1px solid rgba(255, 215, 0, .16); }
.fw-stage:focus { outline: none; }
.fw-canvas { position: relative; min-width: 0; padding: 8px 6px 0; }
.fw-canvas svg { display: block; width: 100%; height: auto; }
.fw-status { margin: 0; padding: 8px 14px 12px; font-size: var(--fs-sm); font-weight: 600; color: #c3cdee; min-height: 38px; }
.fw-dew circle { fill: #ffe9a6; opacity: .25; animation: fw-dew 5s ease-in-out infinite alternate; }
@keyframes fw-dew { from { opacity: .12; } to { opacity: .5; } }
.fw-beam { stroke: rgba(255, 215, 0, .55); stroke-width: 2; stroke-linecap: round; }
.fw-palace { font-family: var(--font-head); font-size: 18px; font-weight: 800; letter-spacing: .02em; fill: #ffd700; opacity: .5; transition: opacity .8s; }
.fw-palace.on { opacity: 1; }
.fw-level { font-family: var(--font-head); font-size: 18px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; fill: #c3cdee; paint-order: stroke; stroke: #0b1d4d; stroke-width: 5px; stroke-linejoin: round; }
.fw-silk { fill: none; stroke: rgba(255, 236, 170, .6); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fw-anchor { stroke: rgba(255, 236, 170, .38); stroke-width: 1.3; }
.fw-ring { stroke: rgba(255, 236, 170, .42); stroke-width: 1.1; stroke-linejoin: round; }
.is-woven .fw-silk { filter: drop-shadow(0 0 2px rgba(255, 220, 120, .45)); }
.fw-tip { cursor: pointer; opacity: 0; transition: opacity .45s; outline: none; }
.fw-tip.on { opacity: 1; }
.fw-tip-hit { fill: transparent; r: 44; }
.fw-node { fill: #0b1d4d; stroke: rgba(255, 215, 0, .65); stroke-width: 2; transition: fill .3s, stroke .3s; r: 30; }
.fw-letter { font-family: var(--font-head); font-size: 30px; font-weight: 800; fill: #ffd700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.fw-name { display: none; font-family: var(--font-head); font-size: 23px; font-weight: 700; fill: #eef2ff; paint-order: stroke; stroke: #0b1d4d; stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.fw-day { display: none; font-size: 16px; font-weight: 600; fill: #c3cdee; paint-order: stroke; stroke: #0b1d4d; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.fw-tip:hover .fw-node { stroke: #ffd700; fill: #15306f; }
.fw-tip[aria-current="true"] .fw-node { fill: #ffd700; stroke: #ffd700; filter: drop-shadow(0 0 10px rgba(255, 215, 0, .7)); }
.fw-tip[aria-current="true"] .fw-letter { fill: #0b1d4d; }
.fw-tip[aria-current="true"] .fw-name { fill: #ffd700; }
.fw-tip:focus-visible .fw-node { stroke: #fff; stroke-width: 3; }
.fw-spider .fw-leg { stroke: #f3d35a; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fw-spider .fw-body { fill: #f3d35a; stroke: #6b5300; stroke-width: .8; }
.fw-spider .fw-mark { fill: var(--pink); }
.fw-spider .fw-eye { fill: #1b1400; }
.fw-spider .fw-legs { transform-box: fill-box; transform-origin: center; }
.fw-spider .fw-legs.walk { animation: fw-step .26s ease-in-out infinite alternate; }
@keyframes fw-step { from { transform: scale(1, .96); } to { transform: scale(1.06, 1.04); } }
.fw-panel { display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; padding: var(--s-5) var(--s-4) var(--s-4); border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(3, 10, 32, .35); }
.fw-module { display: grid; gap: var(--s-3); animation: fw-in .35s ease; }
.fw-module[hidden] { display: none; }
@keyframes fw-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fw-eyebrow { font-size: var(--fs-sm); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd700; }
.fw-module h3 { color: #fff; font-size: 1.5rem; margin: 0; }
.fw-what { color: #d6def5; font-size: 1rem; margin: 0; }
.fw-quote { margin: 0; padding: 12px 16px; border-left: 3px solid #ffd700; border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, .05); font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; color: #fff; }
.fw-quote cite { display: block; margin-top: 8px; font: 600 var(--fs-sm)/1.3 var(--font-body); color: #c3cdee; font-style: normal; }
.fw-facts { display: grid; gap: 9px; margin: 0; }
.fw-facts div { display: grid; gap: 2px; font-size: var(--fs-sm); line-height: 1.5; }
.fw-facts dt { color: #ffd700; font-weight: 700; }
.fw-facts dd { margin: 0; color: #d6def5; }
.fw-book { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(255, 215, 0, .4); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #fff; }
.fw-book:hover { border-color: #ffd700; color: #fff; text-decoration: none; }
.fw-book img { width: 52px; height: 69px; object-fit: cover; border-radius: 6px; flex: none; }
.fw-book span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.fw-book small { font-size: var(--fs-sm); letter-spacing: .04em; text-transform: uppercase; color: #c3cdee; }
.fw-book b { font-size: 1rem; }
.fw-book em { font-style: normal; font-size: var(--fs-sm); color: #d6def5; }
.fw-book .ic { flex: none; color: #ffd700; }
.fw-nav { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.fw-dots { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.fw-dot, .fw-btn { width: var(--tap); height: var(--tap); border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28); background: transparent; color: #e6ebff; display: grid; place-items: center; cursor: pointer; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-sm); }
.fw-btn { flex: none; }
.fw-dot { width: 42px; height: 42px; margin: 1px 0; }
.fw-dot:hover, .fw-btn:hover { border-color: #ffd700; color: #ffd700; }
.fw-dot[aria-current="true"] { background: #ffd700; border-color: #ffd700; color: #0b1d4d; }
.fw-dot:focus-visible, .fw-btn:focus-visible { box-shadow: 0 0 0 3px #fff; }
.fw-vector-note { max-width: 70ch; margin: var(--s-4) auto 0; font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.fw-vector-note b { color: var(--navy); }
@media (min-width: 640px) {
  .fw-name, .fw-day { display: block; }
  .fw-node { r: 25; } .fw-tip-hit { r: 34; } .fw-letter { font-size: 24px; } .fw-level { font-size: 15px; } .fw-palace { font-size: 15.5px; letter-spacing: .08em; }
  .fw-dot { width: var(--tap); height: var(--tap); }
}
@media (min-width: 960px) {
  .fw-stage { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); }
  .fw-panel { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .08); padding: var(--s-5); }
  .fw-module h3 { font-size: 1.75rem; }
}

/* --------------------------------------------------------------------------
   16. Motion and reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: .72; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cookie-bar, .pwa-banner, .drawer-backdrop, .flash-stack { display: none !important; }
}
