:root {
  --ink: #121827;
  --navy: #13213d;
  --navy-2: #0a1224;
  --orange: #f46b22;
  --purple: #744790;
  --aqua: #7bc8c3;
  --paper: #f7f5f0;
  --white: #ffffff;
  --muted: #667085;
  --line: rgba(18, 24, 39, .13);
  --shadow: 0 24px 70px rgba(10, 18, 36, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 999; background: white; padding: .8rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: white;
  background: rgba(10, 18, 36, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-wrap { max-width: var(--max); margin: auto; padding: .8rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; text-decoration: none; white-space: nowrap; }
.brand-logo { width: auto; height: 58px; object-fit: contain; filter: drop-shadow(0 5px 13px rgba(0,0,0,.2)); }
.site-footer .brand-logo { height: 112px; }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 750; padding: .68rem .72rem; border-radius: 999px; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active { color: white; background: rgba(255,255,255,.1); }
.nav-links .event-link { color: white; background: var(--orange); }
.menu-button { display: none; color: white; border: 1px solid rgba(255,255,255,.25); background: transparent; border-radius: 10px; padding: .55rem .7rem; }

.container { max-width: var(--max); margin: auto; padding-inline: 1.25rem; }
.eyebrow { margin: 0 0 .7rem; text-transform: uppercase; letter-spacing: .17em; font-weight: 900; color: var(--orange); font-size: .77rem; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.045em; }
h1 { font-size: clamp(3.2rem, 8vw, 7.8rem); font-weight: 950; }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 925; }
h3 { font-size: 1.3rem; font-weight: 875; }
.lead { max-width: 720px; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.55; color: #d9deea; }
.section-lead { max-width: 760px; font-size: 1.15rem; color: var(--muted); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-dark { background: var(--navy-2); color: white; }
.section-dark .section-lead { color: #c6cfdf; }
.section-purple { background: var(--purple); color: white; }

.hero { position: relative; overflow: hidden; color: white; background: var(--navy-2); min-height: min(790px, calc(100vh - 70px)); display: grid; align-items: end; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,36,.98) 0%, rgba(10,18,36,.92) 42%, rgba(10,18,36,.32) 72%, rgba(10,18,36,.45) 100%), linear-gradient(0deg, rgba(10,18,36,.78), transparent 55%); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% top; filter: saturate(.9) contrast(1.04); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(5rem, 11vw, 9rem); }
.hero h1 { max-width: 900px; }
.hero h1 .hope { color: var(--aqua); display: block; }
.hero-logo { width: clamp(130px, 17vw, 220px); height: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 15px 25px rgba(0,0,0,.34)); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.18rem; border-radius: 999px; font-weight: 850; text-decoration: none; border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: white; box-shadow: 0 14px 32px rgba(244,107,34,.27); }
.button-secondary { border-color: rgba(255,255,255,.7); color: white; background: rgba(10,18,36,.2); }
.button-dark { background: var(--navy); color: white; }

.impact-strip { position: relative; z-index: 3; margin-top: -3rem; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.impact-item { min-height: 170px; padding: 1.55rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.impact-item:last-child { border-right: 0; }
.impact-number { font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 950; line-height: 1; color: var(--navy); letter-spacing: -.06em; }
.impact-label { margin-top: .55rem; color: var(--muted); font-size: .84rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }

.split { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #ddd; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.photo-caption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem; border-radius: 16px; color: white; background: rgba(10,18,36,.9); }
.photo-caption strong { display: block; font-size: 1.32rem; }

.school-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; }
.school-card { min-height: 210px; border-radius: 20px; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; color: white; background: var(--navy); box-shadow: var(--shadow); }
.school-card:nth-child(2) { background: #b73b33; }
.school-card:nth-child(3) { background: #373a43; }
.school-card:nth-child(4) { background: var(--purple); }
.school-card .initial { font-weight: 950; font-size: 4rem; line-height: 1; opacity: .22; letter-spacing: -.08em; }
.school-card p { margin: .3rem 0 0; color: rgba(255,255,255,.72); }

.story-grid, .cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.story-card, .info-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 20px; background: white; }
.story-card .year { color: var(--orange); font-weight: 950; font-size: 2rem; }
.story-card p, .info-card p { color: var(--muted); }
.text-link { color: var(--purple); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.scoreboard { margin-top: 2rem; border-radius: 24px; overflow: hidden; background: var(--navy); color: white; box-shadow: var(--shadow); }
.scoreboard-head { padding: 1rem 1.4rem; background: var(--orange); display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.score-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.score-row:last-child { border-bottom: 0; }
.score-row strong { font-size: 1.2rem; }
.score { font-size: 2.2rem; font-weight: 950; line-height: 1; }
.score-note { padding: 1rem 1.5rem; font-size: .85rem; color: #cbd3e1; background: rgba(255,255,255,.04); }

.page-hero { padding-block: clamp(5rem, 10vw, 9rem); color: white; background: radial-gradient(circle at 86% 12%, rgba(123,200,195,.25), transparent 32%), linear-gradient(135deg, var(--navy-2), var(--navy)); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6.4rem); max-width: 980px; }
.page-hero .lead { margin-bottom: 0; }
.notice { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 5px solid var(--orange); background: rgba(255,255,255,.09); color: #e5eaf3; border-radius: 0 14px 14px 0; }

.timeline { margin-top: 3rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--orange), var(--aqua)); }
.timeline-item { position: relative; padding-left: 4rem; margin-bottom: 2.5rem; }
.timeline-dot { position: absolute; left: 4px; top: 2px; width: 33px; height: 33px; border: 8px solid var(--paper); background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 2px var(--orange); }
.timeline-item:last-child .timeline-dot { background: var(--aqua); box-shadow: 0 0 0 2px var(--aqua); }
.timeline-item .year { font-size: .8rem; font-weight: 950; color: var(--purple); letter-spacing: .12em; text-transform: uppercase; }

.event-banner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 2rem; border-radius: 24px; background: var(--orange); color: white; }
.event-banner .date { font-size: clamp(1.6rem, 4vw, 3.2rem); font-weight: 950; line-height: 1; }

.gallery { columns: 3 260px; column-gap: 1rem; margin-top: 2rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; background: white; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; cursor: zoom-in; }
.gallery figcaption { padding: .9rem 1rem; color: var(--muted); font-size: .88rem; }
.gallery-empty { padding: 3rem; text-align: center; border: 2px dashed var(--line); border-radius: 20px; color: var(--muted); background: rgba(255,255,255,.55); }
.drive-gallery-shell { margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.14); }
.drive-gallery-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.drive-gallery-heading h3 { font-size: clamp(1.8rem, 4vw, 3rem); }
.drive-gallery-heading p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: #c6cfdf; }
.drive-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-top: 2rem; }
.drive-gallery-item { position: relative; overflow: hidden; margin: 0; border-radius: 16px; background: #17233a; box-shadow: 0 15px 35px rgba(0,0,0,.18); }
.drive-gallery-button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: transparent; }
.drive-gallery-button:focus-visible { outline: 4px solid var(--aqua); outline-offset: 3px; }
.drive-gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.drive-gallery-button:hover img { transform: scale(1.035); }
.drive-gallery-number { position: absolute; right: .55rem; bottom: .55rem; padding: .24rem .5rem; border-radius: 999px; color: white; background: rgba(10,18,36,.78); font-size: .72rem; font-weight: 850; pointer-events: none; }
.gallery-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.gallery-count { color: #c6cfdf; font-size: .9rem; font-weight: 750; }
.drive-gallery-shell-light { border-top-color: var(--line); }
.drive-gallery-shell-light .drive-gallery-heading p:not(.eyebrow),
.drive-gallery-shell-light .gallery-count { color: var(--muted); }
.game-day-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 1rem; margin-top: 2rem; }
.game-day-grid figure { position: relative; min-height: 360px; margin: 0; overflow: hidden; border-radius: 22px; background: var(--navy); box-shadow: var(--shadow); }
.game-day-grid figure:first-child { min-height: 480px; }
.game-day-grid img { width: 100%; height: 100%; object-fit: cover; }
.game-day-grid figcaption { position: absolute; inset: auto .8rem .8rem; padding: .8rem 1rem; color: white; background: rgba(10,18,36,.88); border-radius: 14px; font-size: .87rem; font-weight: 750; }

.sponsor-placeholder { display: grid; place-items: center; min-height: 120px; padding: 1rem; border-radius: 18px; border: 2px dashed var(--line); background: rgba(255,255,255,.5); color: var(--muted); font-weight: 850; text-align: center; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; margin-top: 2.3rem; }
.contact-options { display: grid; gap: 1rem; }
.contact-form { padding: 1.6rem; border-radius: 22px; background: white; border: 1px solid var(--line); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .4rem; margin-bottom: 1rem; font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid #c9cfdb; border-radius: 12px; padding: .8rem .9rem; color: var(--ink); background: white; }
textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .86rem; }

.site-footer { background: #070d1a; color: white; padding-block: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: end; }
.footer-grid p { color: #aeb8ca; max-width: 590px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; justify-content: flex-end; }
.footer-links a { color: #dce3ef; text-decoration: none; }
.fine-print { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); color: #8490a3; font-size: .82rem; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; grid-template-columns: auto minmax(0, 1fr) auto; place-items: center; gap: 1rem; padding: 1rem; background: rgba(4,8,17,.96); }
.lightbox.open { display: grid; }
.lightbox-frame { display: grid; place-items: center; min-width: 0; }
.lightbox img { max-height: 84vh; max-width: min(1180px, 82vw); border-radius: 16px; box-shadow: 0 22px 75px rgba(0,0,0,.48); }
.lightbox button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.45); color: white; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--orange); border-color: var(--orange); }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.lightbox-nav { position: relative; font-size: 2rem !important; }
.lightbox-count { margin: .7rem 0 0; color: white; font-weight: 800; }
.lightbox-loading { opacity: .45; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .brand-logo { height: 50px; }
  .nav-links { display: none; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); padding: .7rem; flex-direction: column; align-items: stretch; border-radius: 16px; background: var(--navy-2); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-item:nth-child(2) { border-right: 0; }
  .impact-item { border-bottom: 1px solid var(--line); }
  .impact-item:nth-child(3), .impact-item:nth-child(4) { border-bottom: 0; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .school-grid { grid-template-columns: 1fr 1fr; }
  .story-grid, .cards-3 { grid-template-columns: 1fr; }
  .game-day-grid { grid-template-columns: 1fr 1fr; }
  .game-day-grid figure:first-child { grid-column: 1 / -1; min-height: 430px; }
  .drive-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero { min-height: 760px; }
  .hero::after { background: linear-gradient(0deg, rgba(10,18,36,.98) 10%, rgba(10,18,36,.7) 70%, rgba(10,18,36,.55)); }
  .hero-media { object-position: 58% top; transform: scale(1.35); transform-origin: 58% top; }
  .impact-grid, .school-grid, .field-grid { grid-template-columns: 1fr; }
  .impact-item { min-height: 130px; border-right: 0; }
  .impact-item:nth-child(3) { border-bottom: 1px solid var(--line); }
  .event-banner { grid-template-columns: 1fr; }
  .game-day-grid { grid-template-columns: 1fr; }
  .game-day-grid figure:first-child { grid-column: auto; }
  .game-day-grid figure, .game-day-grid figure:first-child { min-height: 310px; }
  .drive-gallery-heading { grid-template-columns: 1fr; align-items: start; }
  .drive-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: .75rem; padding-top: 4.5rem; }
  .lightbox-frame { grid-column: 1 / -1; grid-row: 1; }
  .lightbox img { max-width: 94vw; max-height: 72vh; }
  .lightbox-prev, .lightbox-next { grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
