/* ===================================================================
   TY'S FUTURE STARS FOUNDATION — Design System
   Brand: deep navy + basketball orange + light blue, taken from the
   foundation logo. Anton (display) + Inter (UI).
   "Building Futures Through Basketball."
=================================================================== */

:root {
  /* ---- Color ---- */
  --bg:          #FFFFFF;   /* clean canvas */
  --bg-soft:     #F2F5FA;   /* light section wash */
  --card:        #FFFFFF;
  --ink:         #0E1E3A;   /* deep navy — headings/body */
  --ink-soft:    #5A6B85;   /* secondary text */
  --brand:       #1B4F9C;   /* mid navy-blue — primary brand */
  --brand-deep:  #0A1E3F;   /* deep navy — headers, footer */
  --brand-light: #4A9FE0;   /* light blue — logo accent */
  --brand-tint:  #E8F1FB;   /* pale blue wash */
  --accent:      #F26522;   /* basketball orange — giving / CTA */
  --accent-deep: #D14E10;
  --silver:      #C9D3DF;   /* logo silver ring */
  --line:        #DFE6EF;   /* hairlines */
  --line-soft:   #EDF1F7;

  /* ---- Type ---- */
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Layout ---- */
  --max:   1160px;
  --max-narrow: 720px;
  --radius:   18px;
  --radius-sm: 12px;
  --shadow:   0 20px 50px -24px rgba(10,30,63,0.32);
  --shadow-sm: 0 8px 24px -14px rgba(10,30,63,0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--ink); margin: 0; line-height: 1.06; letter-spacing: .005em; text-transform: uppercase; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: var(--max-narrow); }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section.soft { background: var(--bg-soft); }
.section.brand-fill { background: var(--brand-deep); color: #DCE8F7; }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px;
}
.brand-fill .eyebrow { color: #4A9FE0; }
.brand-fill h1, .brand-fill h2, .brand-fill h3 { color: #fff; }

h1.display { font-size: clamp(2.7rem, 6.4vw, 4.8rem); }
h2.title   { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 100px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }
.btn-give   { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px var(--accent-deep); }
.btn-give:hover { background: var(--accent-deep); }
.btn-brand  { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); }
.btn-ghost  { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light  { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--brand-tint); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px -14px rgba(10,30,63,.7); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 16px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-glyph {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 50%; object-fit: contain; background: transparent;
}
/* Stacked wordmark beside the logo, mirroring the printed lockup */
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .bw-1 { font-family: var(--font-display); font-size: 1.34rem; letter-spacing: .01em; color: var(--ink); }
.brand-word .bw-2 { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .01em; color: var(--brand-light); margin-top: 2px; }
.brand-word .bw-3 { font-size: .56rem; font-weight: 700; letter-spacing: .26em; color: var(--accent); margin-top: 4px; }
.footer .brand-word .bw-1 { color: #fff; }
@media (max-width: 520px) {
  .brand-glyph { width: 42px; height: 42px; }
  .brand-word .bw-1 { font-size: 1.05rem; }
  .brand-word .bw-2 { font-size: .82rem; }
  .brand-word .bw-3 { font-size: .48rem; letter-spacing: .18em; }
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a.navlink {
  padding: 9px 15px; border-radius: 100px; font-size: .95rem; font-weight: 500;
  color: var(--ink-soft); transition: color .2s ease, background .2s ease;
}
.nav-links a.navlink:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.navlink.active { color: var(--brand-deep); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .3s ease, opacity .3s ease; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 86px 16px auto 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--card); padding: 14px; border-radius: 18px;
    box-shadow: var(--shadow); border: 1px solid var(--line);
    transform-origin: top; opacity: 0; transform: translateY(-10px) scale(.98);
    pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a.navlink { padding: 12px 14px; font-size: 1rem; }
  .nav-cta { margin: 6px 0 0; }
  .btn.nav-cta { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 108px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 20px; }
.hero .lede { margin-top: 22px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 40px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat-n { font-family: var(--font-display); font-size: 2rem; color: var(--brand-deep); line-height: 1; }
.hero-stats .stat-l { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }

.hero-art {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5;
  background:
    radial-gradient(120% 90% at 80% 10%, #1B4F9C 0%, transparent 55%),
    radial-gradient(120% 120% at 10% 100%, #061428 0%, transparent 60%),
    linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: var(--shadow);
}
.hero-art .float-card {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 14px;
}
.hero-art .float-card .fc-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; flex-shrink: 0; }
.hero-art .float-card .fc-t { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.hero-art .float-card .fc-s { font-size: .82rem; color: var(--ink-soft); }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.hero .blob-1 { width: 320px; height: 320px; background: var(--brand-tint); top: -120px; right: -80px; z-index: -1; }
.hero .blob-2 { width: 220px; height: 220px; background: #FBDFCE; bottom: -80px; left: -60px; z-index: -1; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16/11; order: -1; }
}

/* ---------- Marquee / trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-strip .wrap { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust-strip .t-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.trust-strip .t-item { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-soft); opacity: .7; }

/* ---------- Section head ---------- */
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 16px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-tint); }
.card .card-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand-deep); margin-bottom: 20px;
}
.card .card-ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.35rem; }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: .97rem; }
.card .card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand-deep); font-weight: 600; font-size: .92rem; }
.card .card-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card.hover:hover .card-link svg { transform: translateX(3px); }

.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); background: #FDE6D9; padding: 5px 11px; border-radius: 100px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media {
  border-radius: 22px; overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow);
  background: linear-gradient(160deg, #1B4F9C, var(--brand-deep));
  position: relative;
}
.split-media.tone-b { background: linear-gradient(160deg, #F79557, var(--accent-deep)); }
.split-media .media-tag { position: absolute; left: 18px; top: 18px; background: rgba(255,255,255,.9); color: var(--ink); font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 100px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip .split-media { order: -1; } }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-band .stat { text-align: center; padding: 10px; }
.stat-band .stat-n { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; line-height: 1; }
.stat-band .stat-l { margin-top: 10px; font-size: .9rem; color: #9FB6D4; }
@media (max-width: 720px) { .stat-band { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .step-n { font-family: var(--font-display); font-size: 1.1rem; color: var(--brand-deep); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--brand-tint); background: var(--card); display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.2rem; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quote / testimonial ---------- */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.95rem); line-height: 1.4; color: var(--ink); margin: 0; }
.brand-fill .quote blockquote { color: #fff; }
.quote .q-mark { font-family: Georgia, serif; font-size: 4rem; color: var(--accent); line-height: .5; }
.quote-attr { margin-top: 26px; display: flex; align-items: center; gap: 12px; justify-content: center; }
.quote-attr .qa-av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); }
.quote-attr .qa-name { font-weight: 600; }
.quote-attr .qa-role { font-size: .85rem; color: var(--ink-soft); }
.brand-fill .quote-attr .qa-role { color: #9FB6D4; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 15% 10%, #1B4F9C 0%, transparent 50%), linear-gradient(150deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin: 16px auto 0; max-width: 52ch; color: #C7D9EF; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Team ---------- */
.person { text-align: left; }
.person .p-photo { aspect-ratio: 1; border-radius: 18px; background: linear-gradient(150deg, #1B4F9C, var(--brand-deep)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 2rem; }
.person:nth-child(3n+2) .p-photo { background: linear-gradient(150deg, #F79557, var(--accent-deep)); }
.person:nth-child(3n+3) .p-photo { background: linear-gradient(150deg, #E0A73C, #B67D1E); }
.person h3 { font-size: 1.2rem; margin-top: 16px; }
.person .p-role { color: var(--brand-deep); font-weight: 600; font-size: .9rem; margin-top: 2px; }
.person p { color: var(--ink-soft); font-size: .93rem; margin-top: 10px; }

/* ---------- FAQ / accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .3s ease, background .3s ease, border-color .3s ease; }
.faq details[open] summary .chev { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #fff; }
.faq details > p { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-top: 18px; }
.field:first-child { margin-top: 0; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { margin-top: 16px; font-size: .84rem; color: var(--ink-soft); }

/* ---------- Contact info cards ---------- */
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ii-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; flex-shrink: 0; }
.info-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.info-item p, .info-item a { color: var(--ink-soft); font-size: .95rem; }
.info-item a:hover { color: var(--brand-deep); }

/* ---------- Donate page ---------- */
.donate-wrap { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .donate-wrap { grid-template-columns: 1fr; } }
.freq-toggle { display: flex; gap: 6px; background: var(--bg-soft); padding: 5px; border-radius: 100px; }
.freq-toggle button { flex: 1; border: none; background: transparent; padding: 11px; border-radius: 100px; font-weight: 600; color: var(--ink-soft); transition: background .2s ease, color .2s ease; }
.freq-toggle button.active { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.amount-tile {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 18px 8px;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.amount-tile:hover { border-color: var(--brand); }
.amount-tile.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.amount-custom { position: relative; margin-top: 12px; display: none; }
.amount-custom.show { display: block; }
.amount-custom .cur { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); font-weight: 600; }
.amount-custom input { padding-left: 30px; font-family: var(--font-display); font-size: 1.15rem; }
.impact-line { margin-top: 18px; padding: 14px 16px; background: var(--brand-tint); border-radius: 12px; font-size: .92rem; color: var(--brand-deep); display: flex; gap: 10px; align-items: center; }
.give-summary { margin-top: 24px; }
.give-summary .btn { width: 100%; }
.give-secure { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; color: var(--ink-soft); }
.give-error { margin-top: 12px; color: var(--accent-deep); font-size: .88rem; display: none; }
.give-error.show { display: block; }
/* Standing note while online giving is switched off */
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn[disabled]:hover { transform: none; }
.give-soon {
  margin-top: 14px; text-align: center; font-size: .9rem; color: var(--ink-mid, var(--ink-soft));
  line-height: 1.6;
}
.give-soon a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.give-soon a:hover { color: var(--accent-deep); }

.give-aside { background: var(--brand-deep); color: #D3E2F3; border-radius: var(--radius); padding: 34px; position: sticky; top: 100px; }
.give-aside h3 { color: #fff; font-size: 1.5rem; }
.give-aside .ga-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.give-aside .ga-row:first-of-type { border-top: none; }
.give-aside .ga-ic { color: #4A9FE0; flex-shrink: 0; margin-top: 2px; }
.give-aside .ga-t { color: #fff; font-weight: 600; font-size: .98rem; }
.give-aside .ga-s { font-size: .88rem; color: #9FB6D4; margin-top: 2px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 60px); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero .lede { margin-top: 18px; }
.breadcrumb { font-size: .84rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--brand-deep); }

/* Donate hero — richer, on-brand treatment for the conversion page */
.donate-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 88% -10%, var(--brand-tint) 0%, transparent 55%),
    radial-gradient(70% 90% at 0% 110%, #FBDFCE 0%, transparent 55%),
    var(--bg-soft);
}
.donate-hero .wrap { position: relative; z-index: 1; }
.donate-hero .blob { position: absolute; border-radius: 50%; z-index: 0; }
.donate-hero .blob-1 { width: 300px; height: 300px; background: radial-gradient(circle at 35% 30%, #4A9FE0, transparent 70%); opacity: .35; top: -120px; right: 4%; }
.donate-hero .blob-2 { width: 200px; height: 200px; background: radial-gradient(circle at 35% 30%, #F79557, transparent 70%); opacity: .3; bottom: -110px; left: 8%; }
.trust-chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  border-radius: 100px; padding: 8px 15px; font-size: .84rem; font-weight: 500; color: var(--ink);
  backdrop-filter: blur(4px);
}
.trust-chip svg { width: 15px; height: 15px; color: var(--brand); }

/* Giving card header + polish */
.give-card { position: relative; }
.give-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.give-card-head .gch-ic { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--accent), var(--accent-deep)); }
.give-card-head .gch-t { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; }
.give-card-head .gch-s { font-size: .86rem; color: var(--ink-soft); }
.field-legend { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 26px 0 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C3D0E2; padding: 72px 0 34px; }
.footer a { color: #C3D0E2; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand-lockup { color: #fff; margin-bottom: 16px; }
.footer-about { color: #8496B0; font-size: .95rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #7C90AC; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: .94rem; color: #B3C2D6; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-news { margin-top: 14px; display: flex; gap: 8px; }
.footer-news input { flex: 1; padding: 12px 15px; border-radius: 100px; border: 1px solid #25406B; background: #15294A; color: #fff; }
.footer-news input::placeholder { color: #7C90AC; }
.footer-news button { border: none; background: var(--accent); color: #fff; border-radius: 100px; padding: 0 20px; font-weight: 600; }
.footer-news button:hover { background: var(--accent-deep); }
.footer-bottom { margin-top: 54px; padding-top: 26px; border-top: 1px solid #22375C; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #7C90AC; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #25406B; display: grid; place-items: center; transition: background .2s ease, border-color .2s ease; }
.footer-socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ===================================================================
   TFSF-specific components
=================================================================== */

/* Dark hero (home) — navy court feel */
.hero.dark {
  background:
    radial-gradient(90% 120% at 85% 0%, #1B4F9C 0%, transparent 55%),
    radial-gradient(70% 100% at 0% 100%, #123566 0%, transparent 60%),
    var(--brand-deep);
  color: #DCE8F7;
}
.hero.dark h1, .hero.dark h2 { color: #fff; }
.hero.dark .lede { color: #C7D9EF; }
.hero.dark .eyebrow { color: var(--brand-light); }
.hero.dark .hero-stats .stat-n { color: #fff; }
.hero.dark .hero-stats .stat-l { color: #9FB6D4; }
.hero.dark .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero.dark .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
/* faint court lines */
.court-lines { position: absolute; inset: 0; opacity: .13; pointer-events: none; }
.court-lines svg { width: 100%; height: 100%; }

/* Photo frame for Ty / founder imagery */
.photo-frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--brand-deep); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame.ratio-45 { aspect-ratio: 4/5; }
.photo-frame.ratio-11 { aspect-ratio: 1; }
.photo-frame .frame-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 22px 18px; color: #fff;
  background: linear-gradient(to top, rgba(6,20,40,.92), transparent);
  font-size: .9rem;
}
.photo-frame .frame-cap strong { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .01em; }
.photo-frame .frame-cap span { color: #A9C4E4; }

/* Memorial ribbon */
.memorial {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  background: var(--brand-deep); color: #C7D9EF; padding: 15px 26px; text-align: center;
  font-size: .93rem;
}
.memorial .m-dates { font-family: var(--font-display); color: #fff; font-size: 1.05rem; letter-spacing: .02em; }
.memorial .m-star { color: var(--accent); }

/* Values grid (6 core values, logo-style badges) */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .25s ease, box-shadow .25s ease;
}
.value-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.value-badge {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--brand), var(--brand-deep));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.18);
}
.value-item:nth-child(3n+2) .value-badge { background: linear-gradient(150deg, #F79557, var(--accent-deep)); }
.value-badge svg { width: 23px; height: 23px; }
.value-item h3 { font-size: 1.15rem; }
.value-item p { margin-top: 6px; color: var(--ink-soft); font-size: .93rem; }
.brand-fill .value-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.brand-fill .value-item h3 { color: #fff; }
.brand-fill .value-item p { color: #B3C7E2; }

/* Pillars: EDUCATE / EMPOWER / INSPIRE / TRANSFORM */
.pillar-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 820px) { .pillar-row { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }
@media (max-width: 460px) { .pillar-row { grid-template-columns: 1fr; } }
.pillar-item { text-align: center; }
.pillar-ic {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  border: 2px solid rgba(255,255,255,.25);
}
.pillar-ic svg { width: 28px; height: 28px; }
.pillar-item h3 { font-size: 1.25rem; letter-spacing: .04em; }
.pillar-item p { margin-top: 8px; font-size: .92rem; color: #B3C7E2; }
.pillar-item.p1 .pillar-ic { background: var(--brand-light); }
.pillar-item.p2 .pillar-ic { background: var(--accent); }
.pillar-item.p3 .pillar-ic { background: #7C90AC; }
.pillar-item.p4 .pillar-ic { background: var(--brand-light); }
.pillar-item.p1 h3 { color: var(--brand-light); }
.pillar-item.p2 h3 { color: var(--accent); }
.pillar-item.p3 h3 { color: #A9BBD3; }
.pillar-item.p4 h3 { color: var(--brand-light); }

/* Founder callout */
.founder-card {
  background: var(--brand-deep); color: #C7D9EF; border-radius: var(--radius);
  padding: clamp(26px, 4vw, 38px); border-left: 5px solid var(--accent);
}
.founder-card blockquote { font-family: Georgia, serif; font-style: italic; font-size: 1.12rem; line-height: 1.6; color: #E4EDF9; margin: 0; }
.founder-card .f-name { font-family: Georgia, serif; font-style: italic; font-size: 1.55rem; color: var(--accent); margin-top: 18px; }
.founder-card .f-role { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em; color: #fff; margin-top: 2px; }

/* Long-form story prose */
.prose p { margin-top: 1.15em; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.prose p:first-child { margin-top: 0; }
.prose p.lead-in { font-size: 1.2rem; color: var(--ink); }
.prose .pull {
  margin: 34px 0; padding: 22px 26px; border-left: 4px solid var(--accent);
  background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: Georgia, serif; font-style: italic; font-size: 1.22rem; color: var(--ink); line-height: 1.55;
}

/* Scholarship highlight figure */
.fig-band { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; text-align: center; }
.fig-band .fig-n { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); color: var(--accent); line-height: 1; }
.fig-band .fig-l { font-size: 1.02rem; color: #C7D9EF; max-width: 34ch; text-align: left; }
@media (max-width: 520px) { .fig-band .fig-l { text-align: center; } }

/* Stop the violence badge */
.stv-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: #fff; border-radius: 100px;
  padding: 7px 16px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.text-accent { color: var(--accent-deep); }
/* Highlighted word inside a display headline (light-blue like the logo) */
.serif-accent { color: var(--brand-light); }
.brand-fill .serif-accent, .cta-band .serif-accent { color: var(--accent); }
/* Script-style motto line */
.motto { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--brand-light); }
