:root {
  --ink: #0E1B2B;
  --ink-soft: #3A4656;
  --muted: #5A6472;
  --blue: #0B3A5C;        /* logo navy */
  --blue-dark: #072842;
  --night: #05080D;       /* logo background */
  --sky: #FBF6EA;         /* warm cream */
  --mist: #FDFAF3;
  --line: #EAE3D2;
  --accent: #E0A93B;      /* logo gold */
  --gold-deep: #8F600A;   /* gold dark enough for text */
  --white: #FFFFFF;
  --display: 'Lora', Georgia, serif;
  --brand: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 10;
}
.skip-link:focus { left: 8px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.bg-sky { background: var(--sky); }
.bg-mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-blue { background: var(--blue); color: var(--white); }

h1, h2, h3 { margin: 0; }
h1, h2, .display { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
.eyebrow {
  font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 12px;
}
.bg-ink .eyebrow { color: var(--accent); }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 560px; }
.soft { color: var(--ink-soft); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.row {
  max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #F0C056; color: var(--ink); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #0F1A2B; color: var(--white); }
.text-link { font-weight: 700; display: inline-block; padding: 10px 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header (dark, to sit with the logo) */
.site-header { background: var(--night); border-bottom: 1px solid rgba(224, 169, 59, 0.25); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--accent); }
.brand:hover { color: #F2CF7A; }
.brand img { height: 48px; width: auto; }
.brand-name { font-family: var(--brand); font-weight: 700; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 16px; }
.nav-links a:not(.btn) { color: #EDE6D6; text-decoration: none; display: inline-block; padding: 10px 0; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; }

/* Hero marquee */
.hero-marquee {
  position: relative; overflow: hidden; background: var(--night); color: #F4EEDF;
  min-height: calc(100svh - 69px); display: flex; align-items: center; justify-content: center;
}
.marquee { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 16px 0; }
.marquee-row { display: flex; gap: 16px; width: max-content; animation: marquee-left 60s linear infinite; }
.marquee-row.reverse { animation-name: marquee-right; animation-duration: 70s; }
.marquee-row.slow { animation-duration: 85s; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.tile {
  position: relative; flex: none; width: 300px; height: 200px; border-radius: 18px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 16px 18px; box-sizing: border-box;
  border: 1px solid rgba(224, 169, 59, 0.22);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .tile-label {
  position: relative; font-family: var(--brand); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #F7E3B0; background: rgba(5, 8, 13, 0.6); padding: 6px 12px; border-radius: 999px;
}
.tile svg.tile-icon { position: absolute; top: 18px; right: 18px; width: 56px; height: 56px; stroke: #F2CF7A; opacity: 0.85; }
.tile-youth { background: radial-gradient(120% 120% at 20% 0%, #1E5A86 0%, #0B3A5C 55%, #072842 100%); }
.tile-families { background: radial-gradient(120% 120% at 80% 0%, #8A5A12 0%, #4A3410 55%, #1E160A 100%); }
.tile-disability { background: radial-gradient(120% 120% at 20% 100%, #1F5F57 0%, #12403C 55%, #0A2523 100%); }
.tile-athletes { background: radial-gradient(120% 120% at 80% 100%, #6B2E3A 0%, #3E1B24 55%, #1E0E12 100%); }
.hero-marquee::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(64% 66% at 50% 50%, rgba(5, 8, 13, 0.96) 0%, rgba(5, 8, 13, 0.88) 50%, rgba(5, 8, 13, 0.5) 82%, rgba(5, 8, 13, 0.3) 100%);
}
.hero-center { position: relative; z-index: 2; text-align: center; max-width: 860px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-logo {
  width: min(680px, 92vw); height: auto; margin-bottom: -8px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 97%, transparent 100%);
  mask-composite: intersect;
}
.hero-center .lead { color: #E3DCCB; max-width: 640px; margin: 0 auto; }
.hero-center .btn-row { justify-content: center; }
.btn-ghost { background: transparent; color: #F4EEDF; border-color: rgba(244, 238, 223, 0.7); }
.btn-ghost:hover { background: #F4EEDF; color: var(--ink); }
.marquee-toggle {
  position: absolute; z-index: 3; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(244, 238, 223, 0.5); background: rgba(5, 8, 13, 0.6); color: #F4EEDF; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hero-marquee.paused .marquee-row { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } }
.pillars { font-family: var(--brand); letter-spacing: 0.3em; font-size: 13px; color: #C9A85A; text-transform: uppercase; }

/* Hero */
.hero .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-media { flex: 1 1 420px; min-width: 0; }

.placeholder {
  border-radius: 28px; border: 2px dashed #9AB2D6; background: #D6E2F2; color: #4A5A70;
  display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 600; padding: 24px;
}
.placeholder.hero-ph { aspect-ratio: 5 / 4; }
.placeholder.book-ph { aspect-ratio: 1 / 1; background: #FFF4DB; border-color: #E3B24F; color: #6B5320; }

/* Cards & grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 12px; color: var(--ink);
}
.card h3 { font-family: var(--display); font-weight: 800; font-size: 25px; }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 16px; display: flex; flex-direction: column; gap: 4px; }
.card .push { margin-top: auto; }
.card .self-start { align-self: flex-start; }
.icon-tile { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.icon-tile svg { width: 28px; height: 28px; stroke: var(--ink); }
.tint-youth { background: #FFF1CC; }
.tint-family { background: #DCEBFF; }
.tint-access { background: #DDF2E6; }
.tint-athlete { background: #FCE3D8; }
.tint-course { background: var(--sky); width: 48px; height: 48px; border-radius: 14px; }
.tint-course svg { stroke: var(--blue); width: 24px; height: 24px; }
.level { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Mission */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > :first-child { flex: 1 1 360px; min-width: 0; }
.split > :last-child { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Steps */
.step-num { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--blue); line-height: 1.2; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step h3 { font-size: 22px; }

/* Pricing */
.price-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.price-card { padding: 36px; gap: 16px; border-radius: 24px; }
.price-card.featured { box-shadow: inset 0 0 0 4px var(--accent); }
.price { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; }
.price small { font-family: var(--body); font-size: 18px; font-weight: 600; color: var(--muted); }

/* Bella */
.feature { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.feature > :first-child { flex: 1 1 380px; min-width: 0; }
.feature > :last-child { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.feature ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }

/* Impact */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; text-align: center; padding: 80px 0; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 48px; color: var(--blue); }

/* Newsletter */
.newsletter { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding: 72px 0; }
.newsletter > div { flex: 1 1 400px; min-width: 0; }
.newsletter h2 { font-size: 34px; line-height: 1.15; margin-bottom: 8px; }
.newsletter p { color: #E4ECF8; }
.newsletter form { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input { font: inherit; padding: 14px 16px; border-radius: 12px; border: 0; min-height: 52px; color: var(--ink); }
.newsletter .btn { min-height: 52px; border: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D3E1; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding: 64px 0 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-title { color: var(--white); font-weight: 700; }
.site-footer a { color: #C9D3E1; }
.site-footer a:hover { color: var(--white); }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--white); }
.legal { border-top: 1px solid #33445E; padding: 20px 0 32px; font-size: 14px; }

/* Facts strip */
.facts { border-bottom: 1px solid var(--line); }
.facts .stats { padding: 48px 0; }
.facts .stat-num { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; margin-bottom: 6px; }

/* Course tracks */
.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.track { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.track-title { font-family: var(--display); font-weight: 800; font-size: 22px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.track-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.course-row {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; margin: 0 -14px; border-radius: 12px;
  text-decoration: none; color: var(--ink); min-height: 44px;
}
.course-row:hover { background: var(--sky); color: var(--ink); }
.course-name { font-weight: 700; font-size: 18px; }
.course-name small { font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.course-gap { font-size: 16px; color: var(--ink-soft); }

/* Tiers & steps */
.tier-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tier h3 { font-size: 28px; }
.tier-time { font-weight: 700; color: var(--blue); }
.steps-grid { gap: 32px; }
.step-num { font-size: 32px; }
.note { margin-top: 32px; color: var(--ink-soft); max-width: 760px; }
.note.center { text-align: center; margin-left: auto; margin-right: auto; }
.small { font-size: 15px; }

/* Pricing list */
.price-list { list-style: none; padding: 0 !important; gap: 0 !important; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-list li span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Bella books */
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.book { display: flex; flex-direction: column; gap: 20px; }
.book img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 16px; box-shadow: 0 12px 30px rgba(27, 42, 65, 0.18); }
.book-body { display: flex; flex-direction: column; gap: 10px; }
.book-body h3 { font-family: var(--display); font-weight: 800; font-size: 28px; }
.refrain { font-family: var(--display); font-weight: 600; font-style: italic; font-size: 20px; color: var(--blue); }

/* Course catalog page */
.page-hero { padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 56px); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.toc a:hover { border-color: var(--blue); color: var(--blue); }
.track-section { padding: 64px 0 16px; }
.track-section > .container > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.course { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; margin-bottom: 24px; scroll-margin-top: 96px; }
.course-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 12px; }
.course-head h3 { font-family: var(--display); font-weight: 800; font-size: 28px; }
.course-meta { font-size: 15px; font-weight: 700; color: var(--muted); }
.big-idea { font-size: 20px; color: var(--ink); margin-bottom: 16px; }
.tool { background: var(--sky); border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; }
.tool strong { color: var(--blue); }
.sessions { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.sessions li { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.sessions .num { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sessions .ttl { font-weight: 700; }
.sessions .what { display: block; font-size: 15px; color: var(--ink-soft); margin-top: 4px; }
.by-age { margin-bottom: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.by-age summary { cursor: pointer; font-weight: 700; color: var(--blue); min-height: 44px; display: flex; align-items: center; }
.by-age dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 8px 0 0; }
.by-age dt { font-weight: 700; }
.by-age dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .by-age dl { grid-template-columns: 1fr; } .by-age dd { margin-bottom: 8px; } .course { padding: 22px; } }
.rw-rep { font-size: 17px; color: var(--ink-soft); }
.rw-rep strong { color: var(--ink); }

/* Athlete fundraiser */
.fund-hero { background: var(--night); color: #F4EEDF; }
.fund-hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.fund-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.fund-copy h1 { font-family: var(--brand); font-size: clamp(40px, 6vw, 76px); letter-spacing: 0.04em; line-height: 1; color: #FFFFFF; text-transform: uppercase; }
.eyebrow.gold, .fund-role { color: var(--accent); }
.fund-role { font-weight: 700; font-size: 20px; letter-spacing: 0.12em; text-transform: uppercase; }
.fund-meta { color: #C9C1AE; }
.fund-lead { font-size: 20px; color: #E3DCCB; max-width: 560px; margin-bottom: 8px; }
.fund-photo { flex: 0 1 340px; min-width: 0; margin: 0 auto; }
.fund-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 20px; border: 3px solid var(--accent); }
.fund-facts { margin-top: 40px; }
.fact { font-weight: 600; font-size: 18px; }
.event { margin-top: 4px; background: var(--sky); border-radius: 12px; padding: 12px 16px; }
.give-band { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.give-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.give-copy h2 { color: #FFFFFF; font-size: clamp(32px, 4vw, 48px); }
.give-copy p { color: #D6CFBE; }
.give-copy .contact a { color: var(--accent); }
.qr { margin: 0 auto; text-align: center; }
.qr img { width: 180px; height: 180px; background: #FFFFFF; border-radius: 14px; padding: 8px; }
.qr figcaption { margin-top: 8px; font-family: var(--brand); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-size: 14px; }

/* Homepage fundraiser feature */
.feature-fund { display: flex; flex-wrap: wrap; gap: 0; border-radius: 24px; overflow: hidden; background: var(--night); color: #F4EEDF; }
.feature-fund img { flex: 0 0 260px; width: 260px; max-width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: center 20%; }
.feature-fund .ff-body { flex: 1 1 360px; min-width: 0; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.feature-fund h2 { color: #FFFFFF; }
.feature-fund p { color: #D6CFBE; }
@media (max-width: 640px) { .feature-fund img { flex-basis: 100%; width: 100%; height: 320px; } .feature-fund .ff-body { padding: 24px; } }

/* Confidence Built book feature */
.cb-feature { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.cb-cover {
  flex: 0 0 260px; aspect-ratio: 2 / 3; border-radius: 10px; padding: 26px 22px; box-sizing: border-box; text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between; margin: 0 auto;
  background: radial-gradient(120% 90% at 80% 15%, #2E66C7 0%, #1846A0 45%, #0E2D6E 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45); color: #FFFFFF; transition: transform .2s ease;
}
.cb-cover:hover { transform: translateY(-4px); color: #FFFFFF; }
.cb-series { font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #F5C842; }
.cb-title { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1.02; }
.cb-title em { font-style: normal; color: #F5C842; }
.cb-author { font-weight: 600; font-size: 14px; letter-spacing: 0.04em; }
.cb-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cb-body h2 { color: #FFFFFF; }
.cb-body p { color: #D6CFBE; }
.cb-tag { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--accent) !important; }

/* Phone */
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; gap: 36px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border-radius: 12px; border: 1px solid rgba(244, 238, 223, 0.35); background: transparent; cursor: pointer;
  }
  .brand img { height: 40px; }
  .brand-name { font-size: 18px; }
  .tile { width: 220px; height: 150px; }
  .marquee { gap: 12px; }
  .marquee-row { gap: 12px; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding-bottom: 12px; }
  .nav-links.open { display: flex; }
  .price-card { padding: 28px; }
}

/* ===== Light theme (overrides the darker first pass) ===== */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.brand, .brand:hover { color: var(--blue); }
.nav-links a:not(.btn) { color: var(--ink); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--gold-deep); }
.nav-toggle { border-color: var(--line) !important; }
.hero-marquee { background: #FBF6EA; color: var(--ink); }
.hero-marquee::before { background: radial-gradient(58% 64% at 50% 50%, rgba(251, 246, 234, 0.97) 0%, rgba(251, 246, 234, 0.9) 48%, rgba(251, 246, 234, 0.35) 82%, rgba(251, 246, 234, 0.1) 100%); }
.hero-center .lead { color: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #FFFFFF; }
.marquee-toggle { background: #FFFFFF; color: var(--ink); border-color: var(--line); }
.tile { border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 6px 18px rgba(14, 27, 43, 0.12); }
.tile .tile-label { background: rgba(255, 255, 255, 0.92); color: var(--blue); }
.bg-ink { background: #EAF2F9; color: var(--ink); }
.bg-ink .eyebrow, .eyebrow.gold, .fund-role { color: var(--gold-deep); }
.fund-hero { background: #FBF6EA; color: var(--ink); }
.fund-copy h1 { color: var(--blue); }
.fund-meta { color: var(--muted); }
.fund-lead { color: var(--ink-soft); }
.give-copy h2 { color: var(--ink); }
.give-copy p { color: var(--ink-soft); }
.give-copy .contact a { color: var(--blue); }
.qr img { box-shadow: 0 6px 18px rgba(14, 27, 43, 0.12); }
.qr figcaption { color: var(--gold-deep); }
.feature-fund { background: #EAF2F9; color: var(--ink); }
.feature-fund h2 { color: var(--ink); }
.feature-fund p { color: var(--ink-soft); }
.site-footer { background: var(--blue); color: #D4E0EC; }
.site-footer a { color: #D4E0EC; }
.legal { border-top-color: rgba(212, 224, 236, 0.25); }
.books { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gives { display: inline-block; align-self: flex-start; font-size: 14px; font-weight: 700; color: #1F6B4F; background: #E3F3EA; border-radius: 999px; padding: 4px 12px; }
.book-well { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 16px; background: #EAF2F9; box-shadow: 0 12px 30px rgba(27, 42, 65, 0.18); text-decoration: none; }
.book-well .cb-cover { flex: none; width: 56%; margin: 0; padding: 18px 16px; }
.book-well .cb-title { font-size: clamp(22px, 2.2vw, 30px); }
.book-well .cb-series, .book-well .cb-author { font-size: 11px; }
.brand img { height: 46px; width: auto; border-radius: 9px; }
.hero-logo { width: min(560px, 88vw); height: auto; border-radius: 26px; -webkit-mask-image: none; mask-image: none; box-shadow: 0 24px 60px rgba(14, 27, 43, 0.28), 0 0 0 1px rgba(224, 169, 59, 0.35); margin-bottom: 4px; }

/* ===== Course pages ===== */
.crumbs { font-size: 15px; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--blue); }
.course-hero .course-meta { font-weight: 600; color: var(--muted); max-width: 760px; }
.course-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.big-tool { margin: 0; padding: 28px; border-radius: 22px; }
.tool-name { font-size: clamp(26px, 2.6vw, 34px); margin: 4px 0 10px; color: var(--blue); }
.h3 { font-family: var(--display); font-weight: 700; font-size: 22px; }
.selfcheck fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.selfcheck legend { font-weight: 700; margin-bottom: 8px; }
.scale { display: flex; gap: 8px; }
.scale label { position: relative; }
.scale input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.scale span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); font-weight: 700; color: var(--ink-soft); background: var(--white); }
.scale input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.scale input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.info-card .level, .fac-card .level { color: var(--blue); }
.fac-card { background: #EAF2F9; border-color: #D6E4F1; gap: 8px; }
.lesson-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.lesson { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: var(--white); scroll-margin-top: 96px; }
.lesson-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 16px; }
.lesson-num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; background: var(--blue); border-radius: 999px; padding: 4px 12px; }
.lesson-head h3 { font-family: var(--display); font-weight: 700; font-size: 26px; }
.beats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.beat { background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.beat.rep { background: #FFF6E2; border-color: #F1DDB0; }
.beat-name { font-family: var(--brand); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.beat-time { font-size: 13px; font-weight: 700; color: var(--muted); }
.beat p { font-size: 17px; }
.skill { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--blue); }
.rw-callout { margin-top: 28px; border-radius: 22px; padding: 26px 28px; background: #FFF6E2; border: 2px solid var(--accent); }
.rw-text { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 24px); margin-top: 6px; }
.open-course { margin-top: 8px; }
.sheet-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.sheet { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.sheet th { text-align: left; background: #EAF2F9; color: var(--blue); padding: 12px; border-bottom: 1px solid var(--line); }
.sheet td { height: 44px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.sheet td:last-child { border-right: 0; }
.prev-next { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pn { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); min-width: 240px; }
.pn:hover { border-color: var(--blue); color: var(--blue); }
.pn span { font-size: 14px; color: var(--muted); }
.pn.next { text-align: right; margin-left: auto; }
.print-only { display: none; }

@media print {
  .site-header, .site-footer, .skip-link, .btn, .btn-row, .prev-next, .marquee-toggle, .crumbs { display: none !important; }
  body { font-size: 12pt; }
  .section, .page-hero { padding: 12px 0 !important; background: none !important; }
  .print-only { display: block; font-weight: 700; margin-bottom: 12px; }
  .sheet { min-width: 0; }
  .sheet td { height: 34pt; }
  .lesson, .card { break-inside: avoid; }
}

/* ===== Inspiring hero center ===== */
.hero-center { gap: 18px; max-width: 900px; padding-top: 40px; padding-bottom: 56px; }
.crest { position: relative; width: min(340px, 72vw); margin-bottom: 6px; }
.crest .hero-logo { position: relative; z-index: 1; width: 100%; border-radius: 22px; margin: 0; }
.crest-rays {
  position: absolute; z-index: 0; left: 50%; top: 50%; width: 230%; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(224, 169, 59, 0.30) 0deg 5deg, rgba(224, 169, 59, 0) 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, rgba(0,0,0,0.5) 38%, transparent 62%);
  mask-image: radial-gradient(circle, #000 18%, rgba(0,0,0,0.5) 38%, transparent 62%);
  animation: rays-turn 90s linear infinite; pointer-events: none;
}
.crest::after {
  content: ""; position: absolute; z-index: 0; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 140, 0.55) 0%, rgba(255, 220, 140, 0) 65%);
}
@keyframes rays-turn { to { rotate: 360deg; } }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); margin: 6px 0 0; }
.rotator { display: inline-grid; vertical-align: bottom; text-align: left; }
.rot-word {
  grid-area: 1 / 1; color: var(--gold-deep); font-style: italic; white-space: nowrap;
  opacity: 0; transform: translateY(0.4em); transition: opacity .5s ease, transform .5s ease;
  background: linear-gradient(transparent 72%, rgba(224, 169, 59, 0.35) 72%);
}
.rot-word.is-on { opacity: 1; transform: none; }
.hero-center .lead { font-size: clamp(18px, 1.7vw, 21px); max-width: 680px; }
.pillars { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; font-family: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: 0.28em; color: var(--blue); margin: 2px 0 4px; }
.pillars i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 18px; }
.hero-marquee::before { background: radial-gradient(62% 70% at 50% 50%, rgba(251, 246, 234, 0.97) 0%, rgba(251, 246, 234, 0.92) 50%, rgba(251, 246, 234, 0.4) 82%, rgba(251, 246, 234, 0.12) 100%); }
@media (max-width: 760px) {
  .hero-center { gap: 14px; padding-top: 28px; }
  .crest { width: min(240px, 66vw); }
  .pillars { font-size: 11px; letter-spacing: 0.2em; gap: 10px; }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .crest-rays { animation: none; }
  .rot-word { transition: none; }
}
.rot-word { justify-self: start; }
@media (max-width: 760px) {
  .hero-marquee::before { background: linear-gradient(rgba(251, 246, 234, 0.55), rgba(251, 246, 234, 0.55)), radial-gradient(90% 70% at 50% 50%, rgba(251, 246, 234, 0.96) 0%, rgba(251, 246, 234, 0.9) 60%, rgba(251, 246, 234, 0.55) 100%); }
}
/* Hero without center logo: sun glow sits behind the headline */
.hero-center { position: relative; z-index: 2; }
.sun-glow { position: absolute; z-index: -1; left: 50%; top: 34%; width: min(900px, 140vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.sun-glow::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 120, 0.55) 0%, rgba(255, 214, 120, 0) 68%); }
.sun-glow .crest-rays { width: 100%; }
.hero-kicker { font-family: var(--brand); font-weight: 700; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); }
.hero-title { font-size: clamp(40px, 6.6vw, 84px); }
@media (max-width: 760px) { .hero-kicker { font-size: 12px; letter-spacing: 0.14em; } .sun-glow { top: 30%; } }
