/* ==========================================================================
   The Paul Childress Athletic Scholarship
   Design tokens mirror the Figma file "Foundations" collection.
   ========================================================================== */

:root {
  /* Color — matches Figma color/* variables */
  --ink:            #0c0f13;
  --ink-raised:     #14181e;
  --ink-card:       #1a1f27;
  --hairline:       #2a313c;

  --paper:          #f5f7fa;
  --paper-raised:   #ffffff;
  --paper-hairline: #dde3ea;

  --text-hi:        #f2f5f9;
  --text-mid:       #a9b4c2;
  --text-low:       #8691a0;
  --text-hi-inv:    #10151b;
  --text-mid-inv:   #48525f;

  --steel:          #2e8fd4;   /* accents, borders, rules */
  --steel-solid:    #2272ab;   /* blue used BEHIND white text (WCAG AA) */
  --steel-bright:   #4fb2f0;
  --steel-deep:     #1b5c92;
  --gold:           #d9a441;

  /* Type */
  --font-display: "Barlow Condensed", "Oswald", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.82rem);
  --fs-sm:   clamp(0.875rem, 0.85rem + 0.15vw, 0.95rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --fs-lg:   clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --fs-xl:   clamp(1.5rem, 1.3rem + 1vw, 2.05rem);
  --fs-2xl:  clamp(2rem, 1.6rem + 2vw, 2.9rem);
  --fs-3xl:  clamp(2.6rem, 1.9rem + 3.8vw, 5.2rem);

  /* Space — matches Figma space/* variables */
  --sp-2xs: 4px;
  --sp-xs:  8px;
  --sp-sm:  12px;
  --sp-md:  20px;
  --sp-lg:  32px;
  --sp-xl:  48px;
  --sp-2xl: clamp(3rem, 2.2rem + 3vw, 4.5rem);
  --sp-3xl: clamp(4.5rem, 3rem + 5.5vw, 7rem);

  --maxw: 1180px;
  --maxw-prose: 68ch;
  --radius: 4px;
  --radius-lg: 8px;
  --dur-fast: 150ms;
  --dur: 260ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-2: 0 4px 14px rgba(0,0,0,0.28);
  --shadow-3: 0 12px 34px rgba(0,0,0,0.35);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 var(--sp-sm);
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: var(--fs-2xl); text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-md); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--steel-bright); text-underline-offset: 3px; }
a:hover { color: var(--text-hi); }

ul, ol { margin: 0 0 var(--sp-md); padding-left: 1.35em; }
li { margin-bottom: var(--sp-2xs); }

:focus-visible { outline: 3px solid var(--steel-bright); outline-offset: 3px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--steel-solid); color: #fff; }

/* --- Layout --- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--sp-3xl); }
.section--tight { padding-block: var(--sp-2xl); }
.section--light { background: var(--paper); color: var(--text-hi-inv); }
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--text-hi-inv); }
.section--light a { color: var(--steel-deep); }
.section--light a:hover { color: var(--ink); }
.section--raised { background: var(--ink-raised); }
.prose { max-width: var(--maxw-prose); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--steel-solid); color: #fff; padding: .75rem 1.25rem; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel-bright);
  margin: 0 0 var(--sp-xs);
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--steel); flex: none; }
.section--light .eyebrow { color: var(--steel-deep); }

.lede { font-size: var(--fs-lg); line-height: 1.5; color: var(--text-mid); }
.section--light .lede { color: var(--text-mid-inv); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.7rem;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--steel-solid); color: #fff; border-color: var(--steel-solid); }
.btn--primary:hover { background: var(--steel-bright); border-color: var(--steel-bright); color: #05080b; }
.btn--gold { background: var(--gold); color: #1a1204; border-color: var(--gold); }
.btn--gold:hover { background: #edbb5c; border-color: #edbb5c; color: #1a1204; }
.btn--ghost { background: transparent; color: var(--text-hi); border-color: rgba(255,255,255,.32); }
.btn--ghost:hover { border-color: var(--text-hi); background: rgba(255,255,255,.07); color: var(--text-hi); }
.section--light .btn--ghost { color: var(--text-hi-inv); border-color: rgba(16,21,27,.28); }
.section--light .btn--ghost:hover { background: rgba(16,21,27,.06); border-color: var(--text-hi-inv); color: var(--text-hi-inv); }
/* `.section--light a` outranks `.btn--*` on specificity, which was repainting
   button labels with the link colour. Restore each variant's own text colour. */
.section--light .btn--primary { color: #fff; }
.section--light .btn--primary:hover { color: #05080b; }
.section--light .btn--gold { color: #1a1204; }
.section--light .btn--gold:hover { color: #1a1204; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,15,19,.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text-hi); flex: none; }
.brand__mark { width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: contain; flex: none; }
.brand__text { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.05; font-size: 1.02rem; }
.brand__text span { display: block; font-size: .62rem; letter-spacing: .2em; color: var(--steel-bright); font-weight: 600; }

.nav { display: flex; align-items: center; gap: var(--sp-xs); }
.nav__list { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .55rem .85rem;
  font-family: var(--font-display); font-size: .98rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none; border-radius: var(--radius);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover { color: var(--text-hi); background: rgba(255,255,255,.06); }
.nav__link[aria-current="page"] { color: var(--steel-bright); }
.nav__cta { margin-left: var(--sp-xs); min-height: 42px; padding: .55rem 1.2rem; font-size: .95rem; }

.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--hairline); border-radius: var(--radius); color: var(--text-hi); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform var(--dur) var(--ease); }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--sp-md) 1.25rem var(--sp-xl);
    background: var(--ink-raised); border-bottom: 1px solid var(--hairline);
    transform: translateY(-130%); transition: transform var(--dur) var(--ease);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .9rem .5rem; font-size: 1.15rem; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  .nav__cta { margin: var(--sp-md) 0 0; }
}

/* --- Hero --- */
.hero { position: relative; display: grid; align-items: center; min-height: min(88vh, 760px); padding-block: var(--sp-3xl); overflow: hidden; border-bottom: 1px solid var(--hairline); }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 78% 30%, rgba(46,143,212,.24), transparent 62%),
    radial-gradient(60% 70% at 8% 88%, rgba(217,164,65,.11), transparent 60%),
    linear-gradient(180deg, #10151c 0%, #0c0f13 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.028) 0, rgba(255,255,255,.028) 1px, transparent 1px, transparent 9px);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: var(--sp-2xl); align-items: center; }
.hero__title { margin-bottom: var(--sp-md); }
.hero__title em { display: block; font-style: normal; color: var(--steel-bright); }
.hero__quote {
  margin: var(--sp-lg) 0 0; padding-left: var(--sp-md);
  border-left: 3px solid var(--gold);
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 500;
  letter-spacing: .02em; color: var(--text-hi);
}
.hero__quote cite { display: block; margin-top: var(--sp-2xs); font-family: var(--font-body); font-size: var(--fs-sm); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--text-low); }
.hero__figure { position: relative; }
.hero__figure img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--hairline); box-shadow: var(--shadow-3); }
.hero__figure figcaption { margin-top: var(--sp-sm); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--text-low); text-align: center; }
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .hero__figure { max-width: 360px; }
}

.page-hero {
  position: relative; padding-block: var(--sp-2xl) var(--sp-xl);
  border-bottom: 1px solid var(--hairline);
  background: radial-gradient(60% 120% at 82% 12%, rgba(46,143,212,.2), transparent 62%), linear-gradient(180deg,#10151c 0%,#0c0f13 100%);
}
.page-hero .lede { max-width: var(--maxw-prose); margin-top: var(--sp-sm); }

/* --- Stats --- */
.stat-band { background: var(--ink-raised); border-bottom: 1px solid var(--hairline); padding-block: var(--sp-xl); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: var(--sp-lg); }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(2.1rem,1.5rem + 2.6vw,3.4rem); font-weight: 700; line-height: 1; color: var(--steel-bright); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: var(--sp-xs); font-size: var(--fs-xs); letter-spacing: .17em; text-transform: uppercase; color: var(--text-mid); }

/* --- Cards --- */
.grid { display: grid; gap: var(--sp-lg); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); }
.card { background: var(--ink-card); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--sp-lg); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card:hover { border-color: var(--steel-deep); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card h3 { margin-bottom: var(--sp-xs); }
.card p { color: var(--text-mid); font-size: var(--fs-sm); }
.section--light .card { background: var(--paper-raised); border-color: var(--paper-hairline); }
.section--light .card p { color: var(--text-mid-inv); }
.section--light .card:hover { border-color: var(--steel); }
.card__step { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: var(--sp-sm); border-radius: 50%; background: rgba(46,143,212,.14); border: 1px solid var(--steel-deep); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--steel-bright); }
.section--light .card__step { background: rgba(46,143,212,.12); color: var(--steel-deep); border-color: var(--steel); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: var(--sp-2xl); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--hairline); box-shadow: var(--shadow-2); }
.section--light .split__media img { border-color: var(--paper-hairline); }

/* --- Timeline --- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--steel), var(--steel-deep), transparent); }
.timeline__item { position: relative; padding: 0 0 var(--sp-lg) var(--sp-xl); margin: 0; }
.timeline__item::before { content: ""; position: absolute; left: 2px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--steel); }
.section--light .timeline__item::before { background: var(--paper); }
.timeline__year { display: block; font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .15rem; }
.timeline__item h3 { font-size: var(--fs-lg); margin-bottom: .3rem; }
.timeline__item p { color: var(--text-mid); font-size: var(--fs-sm); margin-bottom: 0; }
.section--light .timeline__item p { color: var(--text-mid-inv); }

/* --- Table --- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-sm); }
.data-table caption { text-align: left; font-size: var(--fs-xs); letter-spacing: .15em; text-transform: uppercase; color: var(--text-low); padding-bottom: var(--sp-sm); }
.data-table th, .data-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--hairline); }
.data-table thead th { font-family: var(--font-display); font-size: var(--fs-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-bright); border-bottom-color: var(--steel-deep); }
.data-table tbody tr:hover { background: rgba(255,255,255,.03); }
.section--light .data-table th, .section--light .data-table td { border-bottom-color: var(--paper-hairline); }
.section--light .data-table thead th { color: var(--steel-deep); border-bottom-color: var(--steel); }
.section--light .data-table tbody tr:hover { background: rgba(16,21,27,.035); }
.section--light .data-table caption { color: var(--text-mid-inv); }

/* --- Facts / callouts --- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; }
.fact { background: var(--ink-card); padding: var(--sp-lg); }
.fact__label { display: block; font-size: var(--fs-xs); letter-spacing: .17em; text-transform: uppercase; color: var(--text-low); margin-bottom: var(--sp-2xs); }
.fact__value { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; line-height: 1.1; color: var(--text-hi); }
.fact__note { display: block; font-size: var(--fs-xs); color: var(--text-mid); margin-top: .2rem; }
.section--light .facts { background: var(--paper-hairline); border-color: var(--paper-hairline); }
.section--light .fact { background: var(--paper-raised); }
.section--light .fact__label { color: var(--text-mid-inv); }
.section--light .fact__value { color: var(--text-hi-inv); }
.section--light .fact__note { color: var(--text-mid-inv); }

.callout { border-left: 4px solid var(--steel); background: rgba(46,143,212,.08); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--sp-md) var(--sp-lg); font-size: var(--fs-sm); }
.callout--gold { border-left-color: var(--gold); background: rgba(217,164,65,.09); }
.callout h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2xs); }

/* --- Checklist --- */
.checklist { list-style: none; margin: 0 0 var(--sp-md); padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: var(--sp-sm); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border: 2px solid var(--steel); border-radius: 3px; }
.checklist li::after { content: ""; position: absolute; left: 6px; top: .55em; width: 5px; height: 10px; border-right: 2px solid var(--steel-bright); border-bottom: 2px solid var(--steel-bright); transform: rotate(42deg); }
.section--light .checklist li::after { border-right-color: var(--steel-deep); border-bottom-color: var(--steel-deep); }

/* --- Rubric --- */
.rubric { display: grid; gap: var(--sp-md); margin: 0; }
.rubric__row { display: grid; gap: .4rem; }
.rubric__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-sm); font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.rubric__pts { color: var(--steel-bright); font-variant-numeric: tabular-nums; flex: none; }
.section--light .rubric__pts { color: var(--steel-deep); }
.rubric__track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.section--light .rubric__track { background: rgba(16,21,27,.09); }
.rubric__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--steel-deep), var(--steel-bright)); width: 0; transition: width 900ms var(--ease); }
.rubric__desc { font-size: var(--fs-sm); color: var(--text-mid); }
.section--light .rubric__desc { color: var(--text-mid-inv); }

/* --- Donate --- */
.donate-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: var(--sp-2xl); align-items: start; }
@media (max-width: 920px) { .donate-grid { grid-template-columns: 1fr; } }
.donate-panel { background: var(--ink-card); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--sp-xl); box-shadow: var(--shadow-2); }
.section--light .donate-panel { background: var(--paper-raised); border-color: var(--paper-hairline); }
.amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px,1fr)); gap: var(--sp-sm); margin-bottom: var(--sp-md); }
.amount { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 84px; padding: var(--sp-sm); background: transparent; border: 2px solid var(--hairline); border-radius: var(--radius); color: inherit; font-family: inherit; cursor: pointer; text-align: center; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur-fast) var(--ease); }
.amount:hover { border-color: var(--steel); transform: translateY(-2px); }
.amount[aria-pressed="true"] { border-color: var(--steel-bright); background: rgba(46,143,212,.14); }
.amount__value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.amount__note { font-size: var(--fs-xs); color: var(--text-mid); line-height: 1.3; }
.section--light .amount { border-color: var(--paper-hairline); }
.section--light .amount__note { color: var(--text-mid-inv); }

.field { display: grid; gap: .35rem; margin-bottom: var(--sp-md); }
.field label { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--text-mid); }
.section--light .field label { color: var(--text-mid-inv); }
.field input { width: 100%; min-height: 48px; padding: .7rem .9rem; background: var(--ink-raised); border: 1px solid var(--hairline); border-radius: var(--radius); color: var(--text-hi); font: inherit; transition: border-color var(--dur) var(--ease); }
.field input:focus { border-color: var(--steel); }
.section--light .field input { background: var(--paper); border-color: var(--paper-hairline); color: var(--text-hi-inv); }

.donate-total { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-sm); padding: var(--sp-sm) 0 var(--sp-md); border-top: 1px solid var(--hairline); margin-top: var(--sp-sm); }
.donate-total__label { font-family: var(--font-display); font-size: var(--fs-sm); letter-spacing: .15em; text-transform: uppercase; color: var(--text-mid); }
.donate-total__value { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; color: var(--steel-bright); font-variant-numeric: tabular-nums; }
.section--light .donate-total { border-top-color: var(--paper-hairline); }
.section--light .donate-total__label { color: var(--text-mid-inv); }
.section--light .donate-total__value { color: var(--steel-deep); }

.impact { display: grid; gap: .5rem; padding: var(--sp-md); border: 1px dashed var(--hairline); border-radius: var(--radius); margin-bottom: var(--sp-md); }
.impact__text { font-size: var(--fs-sm); color: var(--text-mid); margin: 0; }
.impact__text strong { color: var(--gold); font-variant-numeric: tabular-nums; }
.section--light .impact { border-color: var(--paper-hairline); }
.section--light .impact__text { color: var(--text-mid-inv); }
.section--light .impact__text strong { color: #8a6210; }

.setup-notice { border: 1px dashed var(--gold); background: rgba(217,164,65,.09); border-radius: var(--radius); padding: var(--sp-md) var(--sp-lg); font-size: var(--fs-sm); margin-top: var(--sp-lg); }
.setup-notice h3 { font-size: var(--fs-lg); color: var(--gold); margin-bottom: var(--sp-2xs); }
.setup-notice code { background: rgba(0,0,0,.35); padding: .1em .4em; border-radius: 3px; font-size: .9em; }
.section--light .setup-notice code { background: rgba(16,21,27,.09); }

/* --- FAQ --- */
.faq { display: grid; gap: var(--sp-xs); max-width: 820px; }
.faq details { border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--ink-card); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: var(--sp-md) var(--sp-lg); padding-right: 3rem; position: relative; font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; transition: background var(--dur) var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255,255,255,.04); }
.faq summary::after { content: ""; position: absolute; right: 1.5rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--steel-bright); border-bottom: 2px solid var(--steel-bright); transform: translateY(-70%) rotate(45deg); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq details > div { padding: 0 var(--sp-lg) var(--sp-md); font-size: var(--fs-sm); color: var(--text-mid); }
.section--light .faq details { background: var(--paper-raised); border-color: var(--paper-hairline); }
.section--light .faq summary::after { border-color: var(--steel-deep); }
.section--light .faq details > div { color: var(--text-mid-inv); }
.section--light .faq summary:hover { background: rgba(16,21,27,.035); }

/* --- Downloads --- */
.download-list { display: grid; gap: var(--sp-sm); list-style: none; margin: 0; padding: 0; }
.download { display: flex; align-items: center; gap: var(--sp-md); padding: var(--sp-md) var(--sp-lg); background: var(--ink-card); border: 1px solid var(--hairline); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.download:hover { border-color: var(--steel); transform: translateX(3px); color: inherit; }
.download__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(46,143,212,.14); color: var(--steel-bright); font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.download__body { flex: 1; min-width: 0; }
.download__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; display: block; }
.download__meta { font-size: var(--fs-xs); color: var(--text-low); letter-spacing: .08em; text-transform: uppercase; }
.download__arrow { flex: none; color: var(--steel-bright); font-size: 1.3rem; }
.section--light .download { background: var(--paper-raised); border-color: var(--paper-hairline); }
.section--light .download__icon { color: var(--steel-deep); }
.section--light .download__meta { color: var(--text-mid-inv); }
.section--light .download__arrow { color: var(--steel-deep); }

/* --- CTA band --- */
.cta-band { position: relative; padding-block: var(--sp-2xl); background: radial-gradient(70% 140% at 20% 50%, rgba(46,143,212,.22), transparent 65%), var(--ink-raised); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band p { margin-inline: auto; max-width: 56ch; }

/* --- Footer --- */
.site-footer { background: #080a0d; border-top: 1px solid var(--hairline); padding-block: var(--sp-xl) var(--sp-lg); font-size: var(--fs-sm); color: var(--text-mid); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: var(--sp-lg); padding-bottom: var(--sp-lg); border-bottom: 1px solid var(--hairline); }
.site-footer h3 { font-size: var(--fs-sm); letter-spacing: .17em; text-transform: uppercase; color: var(--text-hi); margin-bottom: var(--sp-sm); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--text-mid); text-decoration: none; }
.site-footer a:hover { color: var(--steel-bright); text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-sm); padding-top: var(--sp-md); font-size: var(--fs-xs); color: var(--text-low); }
.site-footer__memorial { font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; }

/* --- Reveal --- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

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

/* --- Utilities --- */
.u-center { text-align: center; }
.u-mt-lg { margin-top: var(--sp-lg); }
.u-mt-xl { margin-top: var(--sp-xl); }
.u-mb-lg { margin-bottom: var(--sp-lg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media print {
  /* Keep the site's real design in the PDF rather than stripping it to white */
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  html, body { background: var(--ink); }

  .site-header { position: static; backdrop-filter: none; }
  .nav-toggle { display: none; }

  /* Viewport units would balloon against a custom page height */
  .hero { min-height: 0; }

  /* Animation-driven states must be resolved, since nothing scrolls in print */
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .rubric__fill { transition: none !important; }
  .rubric__fill[data-pct="100"] { width: 100% !important; }
  .rubric__fill[data-pct="80"]  { width: 80% !important; }
  .rubric__fill[data-pct="60"]  { width: 60% !important; }
  .rubric__fill[data-pct="40"]  { width: 40% !important; }

  /* Internal build note — not for the audience */
  .setup-notice { display: none !important; }

  .card:hover, .download:hover { transform: none; }
  a { text-decoration: none; }
}
