/* Springfield High School Alumni Fund
   School colors: Royal Blue, White, Gray. Gold accent comes from the torch logo. */

:root {
  --blue: #1d4aa8;          /* royal blue */
  --blue-deep: #14306e;     /* navy, matches logo lettering */
  --blue-ink: #0f2350;
  --blue-tint: #e8eef9;
  --white: #ffffff;
  --gray-50: #f5f6f8;
  --gray-100: #eceef2;
  --gray-300: #c9ced8;
  --gray-500: #6b7385;
  --gray-700: #3d4454;
  --ink: #1b2130;
  --gold: #d9a63a;
  --gold-soft: #f3dfae;

  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--blue-deep);
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 3px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

/* Placeholder text the fund still needs to fill in */
.todo {
  background: #fff4cc;
  border: 1px dashed #c99a1a;
  color: #6b4e00;
  padding: 0 .3em;
  border-radius: 3px;
  font-style: normal;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .8em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--blue-ink); }
.btn-gold:hover { background: #c8932a; color: var(--blue-ink); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-light:hover { background: var(--white); color: var(--blue-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-100);
}
.topbar {
  background: var(--blue-deep);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: var(--display);
  text-align: center;
  padding: 6px 16px;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.brand-text {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--blue-deep);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.brand-text small {
  display: block;
  font-size: .72rem;
  color: var(--gray-500);
  font-weight: 400;
  letter-spacing: .12em;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .95rem;
  color: var(--gray-700);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
}
.nav a:hover { color: var(--blue); background: var(--blue-tint); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav a.nav-give { background: var(--blue); color: var(--white); margin: 0 6px; border-radius: var(--radius); }
.nav a.nav-give:hover { background: var(--blue-deep); }
.nav a.nav-give[aria-current="page"] { box-shadow: none; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 10px; cursor: pointer;
  color: var(--blue-deep);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 12px 24px rgba(15,35,80,.08);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 16px; }
  .nav a.nav-give { margin: 8px 0; text-align: center; border-bottom: 0; }
  .brand img { height: 48px; }
  .header-inner { height: 66px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-gray { background: var(--gray-50); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue h2, .bg-blue h3 { color: var(--white); }
.bg-navy { background: var(--blue-deep); color: rgba(255,255,255,.9); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-blue .eyebrow, .bg-navy .eyebrow { color: var(--gold-soft); }

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% 40%, var(--blue-tint), transparent 60%),
    var(--white);
  padding: 72px 0 80px;
}
.hero::after {
  /* thin school-color stripe along the bottom */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: linear-gradient(90deg, var(--blue) 0 70%, var(--gray-300) 70% 85%, var(--gold) 85%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 48px;
}
.hero h1 { color: var(--blue-deep); margin-bottom: .35em; }
.hero h1 span { color: var(--blue); display: block; }
.hero .lede { font-size: 1.2rem; color: var(--gray-700); max-width: 34em; margin-bottom: 1.8em; }
.hero-logo { justify-self: center; max-width: 300px; filter: drop-shadow(0 12px 22px rgba(20, 48, 110, .16)); }
@media (max-width: 800px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { display: none; }
}

/* Interior page header */
.page-head {
  background: var(--blue);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  /* faint pinstripe texture */
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.page-head::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--gold) 0 18%, var(--gray-300) 18% 30%, transparent 30%);
}
.page-head .wrap { position: relative; }
.page-head .eyebrow { color: var(--gold-soft); }
.page-head h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 18em; margin: 0; }

/* Three-column strip */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar { padding: 8px 36px; border-left: 1px solid rgba(255,255,255,.22); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .num {
  font-family: var(--display);
  font-size: .9rem; letter-spacing: .14em;
  color: var(--gold-soft);
  display: block; margin-bottom: 10px;
}
.pillar h3 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: .35em; }
.pillar p { color: rgba(255,255,255,.88); margin: 0; }
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .pillar { border-left: 0; padding: 0 0 0 20px; border-left: 3px solid var(--gold); }
  .pillar:first-child { padding-left: 20px; }
}

/* Mission block */
.mission { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.mission h2 { font-size: clamp(2rem, 4vw, 3rem); }
.mission .big { font-size: 1.25rem; color: var(--blue-deep); font-weight: 600; }
.pullquote {
  margin: 28px 0 32px;
  padding: 22px 26px;
  border-left: 5px solid var(--gold);
  background: var(--white);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--blue-deep);
  box-shadow: 0 1px 0 var(--gray-100);
}
.pullquote strong { color: var(--blue); font-weight: 600; }
@media (max-width: 800px) { .mission { grid-template-columns: 1fr; gap: 16px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; padding: 0; list-style: none; }
.chips li {
  font-family: var(--display);
  font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  background: var(--white);
  border-radius: 999px;
  padding: 4px 14px;
}

/* Closing band */
.closer { text-align: center; }
.closer p.line {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  color: var(--white);
  max-width: 22em;
  margin: 0 auto 1.2em;
}
.closer .btn-row { justify-content: center; }

/* Generic two-column content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split-wide { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; align-items: start; }
@media (max-width: 800px) { .split, .split-wide { grid-template-columns: 1fr; gap: 32px; } }

.lead { font-size: 1.25rem; color: var(--gray-700); }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding: 10px 0 10px 38px; border-bottom: 1px solid var(--gray-100); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Numbered steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.4em; }
.steps li { counter-increment: step; position: relative; padding: 12px 0 12px 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--blue); color: var(--blue);
  font-family: var(--display); font-weight: 600;
  display: grid; place-items: center;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: 0 10px 30px rgba(15,35,80,.06);
}
.card-gold { border-top-color: var(--gold); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.callout {
  background: var(--blue-tint);
  border-left: 5px solid var(--blue);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.callout p:last-child { margin: 0; }
.callout strong { color: var(--blue-deep); }

.not-box {
  background: var(--blue-deep);
  color: rgba(255,255,255,.9);
  padding: 32px;
  border-radius: var(--radius);
}
.not-box h3 { color: var(--white); }
.not-box p { margin: 0; font-size: 1.1rem; }

/* Give page */
.give-panel {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(15,35,80,.14);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}
.give-panel-head {
  background: var(--blue-deep);
  color: var(--white);
  padding: 18px 28px;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.give-panel-head img { height: 44px; width: auto; background: var(--white); border-radius: 4px; padding: 3px 5px; }
.give-panel-body { padding: 28px; }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0 0 18px; }
.amount {
  display: grid; place-items: center;
  min-height: 64px;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--blue-deep);
  text-decoration: none;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.amount:hover { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); }
.amount.other { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 560px) {
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .amount.other { grid-column: span 2; }
}
.give-panel .btn { width: 100%; text-align: center; font-size: 1.2rem; padding: 1em; }
.fine { font-size: .92rem; color: var(--gray-500); margin-top: 14px; }
.under-form {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
  font-size: 1rem;
  color: var(--gray-700);
}

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ways .card h3 { text-transform: uppercase; }
@media (max-width: 800px) { .ways { grid-template-columns: 1fr; } }

/* Pass the torch */
.torch-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.torch-list li {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 18px 18px 18px 54px;
  position: relative;
  font-weight: 600;
  color: var(--blue-deep);
  box-shadow: 0 6px 18px rgba(15,35,80,.05);
}
.torch-list li::before {
  content: "";
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d9a63a' d='M12 1c1 3 4 4.5 4 8a4 4 0 0 1-8 0c0-1.6.7-2.7 1.6-3.6C9.5 7.5 11 8 11 8c-.4-2.6.2-5 1-7z'/%3E%3Cpath fill='%231d4aa8' d='M8 13h8l-1.5 2h-5zM10 15.5h4l-1 7.5h-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 8px 0 32px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .label {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em;
  font-size: .85rem; color: var(--gray-500); display: block; margin-bottom: 6px;
}
.contact-grid .value { font-size: 1.2rem; color: var(--blue-deep); font-weight: 600; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 24px; }
.topics li { background: var(--blue-tint); color: var(--blue-deep); padding: 6px 14px; border-radius: 999px; font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 64px 0 28px;
  font-size: 1rem;
}
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .9fr; gap: 48px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand .logo-chip { background: var(--white); border-radius: 8px; padding: 8px; flex: 0 0 auto; }
.footer-brand .logo-chip img { height: 84px; width: auto; }
.site-footer h4 {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .14em; font-size: .85rem; color: var(--gold-soft); margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-tag {
  font-family: var(--display); font-size: 1.3rem; text-transform: uppercase;
  color: var(--white); letter-spacing: .04em; margin-bottom: 10px; line-height: 1.2;
}
.footer-bottom {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .88rem; color: rgba(255,255,255,.55);
}
.footer-legal { font-size: .92rem; color: rgba(255,255,255,.7); margin-top: 18px; }
.site-footer .todo { white-space: normal; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { flex-direction: column; }
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.not-box .eyebrow { color: var(--gold-soft); }
@media (max-width: 600px) { .topbar { display: none; } }
