:root {
  --black: #0A0A0B;
  --ink: #111113;
  --charcoal: #18181B;
  --line: #2A2A2E;
  --maroon: #7A212E;
  --maroon-bright: #B23A4E;
  --bone: #F2EDE4;
  --steel: #9A9893;
  --steel-dim: #5C5B57;
  --gold: #D9B45A;
  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
:root { color-scheme: dark; }
body { background: var(--black); color: var(--bone); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding: 96px 0; }

/* Type */
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--maroon-bright); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--maroon-bright); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
h2 { font-size: clamp(40px, 6vw, 72px); }
h2 span, h1 span { color: var(--maroon-bright); }
.lede { color: var(--steel); font-size: 18px; max-width: 620px; margin-top: 16px; }
.section-head { margin-bottom: 48px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 24px; border-radius: 2px; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-bright); }
.btn-ghost { border: 1px solid rgba(242,237,228,.35); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(242,237,228,.06); }
.btn svg { width: 16px; height: 16px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10,10,11,.92); backdrop-filter: blur(12px); border-color: var(--line); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding-block: 14px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand .name { font-family: var(--display); font-size: 22px; text-transform: uppercase; line-height: 1; display: block; }
.brand .sub { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--steel); display: block; margin-top: 3px; }
.links { display: flex; gap: 20px; }
.links a { white-space: nowrap; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,237,228,.8); transition: color .2s; }
.links a:hover, .links a.active { color: #fff; }
.nav .btn { padding: 11px 18px; font-size: 12px; white-space: nowrap; }
.nav .brand .sub { display: none; }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.menu-toggle span { height: 2px; background: var(--bone); display: block; }
.mobile-links { display: none; }

/* Hero */
.hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; padding: 140px 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('photos/senior-night-2024/01.webp') center 35% / cover no-repeat; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,.45) 35%, rgba(10,10,11,.88) 75%, var(--black) 100%), linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.35) 70%, rgba(10,10,11,.2) 100%); }
.hero h1 { text-shadow: 0 4px 40px rgba(0,0,0,.5); }
.hero h1 span { color: #D2475D; }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero h1 { font-size: clamp(64px, 12vw, 168px); line-height: .86; }
.hero h1 small { display: block; font-size: .32em; letter-spacing: .04em; color: var(--bone); opacity: .9; margin-bottom: 10px; }
.hero p { font-size: 19px; max-width: 540px; margin: 24px 0 32px; color: rgba(242,237,228,.85); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; justify-content: start; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(242,237,228,.18); max-width: 620px; }
.stat b { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; display: block; }
.stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }

/* Sponsors */
.sponsors { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.sponsors .wrap { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.sponsors .label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); }
.sponsor-logo { opacity: .92; transition: opacity .2s; }
.sponsor-logo:hover { opacity: 1; }
.sponsor-logo.nike { height: 40px; width: auto; filter: invert(1); }
.sponsor-logo.marcy { height: 34px; width: auto; }
.sponsor-sep { width: 1px; height: 36px; background: var(--line); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.prose p { color: rgba(242,237,228,.82); font-size: 17px; margin-bottom: 18px; }
.prose strong { color: #fff; }
.pull { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); line-height: 1.02; margin: 30px 0; padding-left: 22px; border-left: 4px solid var(--maroon-bright); }
.pull span { color: var(--maroon-bright); }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.about-photos .tall { grid-row: span 2; aspect-ratio: 3/4.4; }
.about-photos .sq { aspect-ratio: 1; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 64px; }
.pillar { background: var(--black); padding: 30px 26px; }
.pillar b { font-family: var(--mono); color: var(--maroon-bright); font-size: 12px; letter-spacing: .14em; }
.pillar h3 { font-size: 30px; margin: 10px 0 8px; }
.pillar p { color: var(--steel); font-size: 15px; }

/* Coaches */
.coaches { background: var(--ink); }
.coach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coach { background: var(--charcoal); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.coach-photo { aspect-ratio: 4/4.4; overflow: hidden; position: relative; background: #222; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(.15) contrast(1.05); transition: transform .5s; }
.coach:hover .coach-photo img { transform: scale(1.04); }
.coach-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--charcoal)); }
.coach-info { padding: 4px 26px 28px; position: relative; }
.coach .role { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--maroon-bright); }
.coach h3 { font-size: 36px; margin: 6px 0 16px; }
.coach ul { list-style: none; }
.coach li { font-size: 14.5px; color: rgba(242,237,228,.78); padding: 7px 0 7px 20px; border-top: 1px solid var(--line); position: relative; }
.coach li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 2px; background: var(--maroon-bright); }

/* Placers */
.placers-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 40px; }
.champ-strip { display: flex; gap: 32px; }
.champ-strip .stat b { color: var(--gold); }
.placer-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { font: 600 12px var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line); background: transparent; color: var(--steel); border-radius: 100px; cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--bone); border-color: var(--steel-dim); }
.chip.on { background: var(--bone); color: var(--black); border-color: var(--bone); }
.placer-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.placer { background: var(--black); padding: 18px 20px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; }
.placer .place { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--steel-dim); }
.placer.p1 .place { color: var(--gold); }
.placer.p2 .place, .placer.p3 .place { color: var(--bone); }
.placer .who { font-weight: 600; font-size: 15px; line-height: 1.3; }
.placer .meta { font-family: var(--mono); font-size: 11px; color: var(--steel); letter-spacing: .06em; }
.placer .yr { font-family: var(--mono); font-size: 12px; color: var(--steel); }
.placer.p1 { background: linear-gradient(90deg, rgba(217,180,90,.09), transparent 60%), var(--black); }

/* Photos */
.photos-section { background: var(--ink); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.album { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 2px; cursor: pointer; background: #222; border: 0; padding: 0; color: inherit; text-align: left; font: inherit; }
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; }
.album:hover img { transform: scale(1.05); }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,11,.92)); }
.album-meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.album-meta .cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon-bright); font-weight: 700; }
.album-meta h3 { font-size: 26px; margin: 4px 0 2px; }
.album-meta .sub { font-size: 13px; color: var(--steel); }
.album-grid { grid-template-columns: repeat(3, 1fr); }
.album[hidden] { display: none; }
#albumFilters { margin-bottom: 24px; }

/* Album viewer (full-screen overlay listing one album) */
.album-view { position: fixed; inset: 0; z-index: 90; background: var(--black); overflow-y: auto; display: none; padding-bottom: env(safe-area-inset-bottom, 0px); }
.album-view.open { display: block; }
.av-bar { position: sticky; top: 0; z-index: 2; background: rgba(10,10,11,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.av-bar .wrap { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.av-bar h2 { font-size: clamp(24px, 3.4vw, 38px); }
.av-bar .sub { font-family: var(--mono); font-size: 11px; color: var(--steel); letter-spacing: .1em; text-transform: uppercase; }
.av-bar .titles { flex: 1; min-width: 0; }
.av-close { flex: none; }
.album-view .masonry { padding-block: 24px 48px; }

@media (max-width: 860px) {
  .album-grid { grid-template-columns: 1fr 1fr; }
  .coach-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .involve-grid, .ig-grid { grid-template-columns: 1fr; }
  .ig-grid { max-width: 520px; }
  .ig-grid > :nth-child(n+2) { display: none !important; }
}
.section-cta { margin-top: 36px; display: flex; justify-content: center; }

/* Album page */
.page-hero { padding: 150px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(56px, 9vw, 112px); }
.album-block { padding: 64px 0 0; }
.album-block:last-child { padding-bottom: 96px; }
.album-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.album-head h2 { font-size: clamp(32px, 4vw, 48px); }
.album-head .sub { font-family: var(--mono); font-size: 12px; color: var(--steel); letter-spacing: .08em; text-transform: uppercase; }
.masonry { columns: 4 260px; column-gap: 10px; }
.masonry button { display: block; width: 100%; margin-bottom: 10px; border: 0; padding: 0; background: #1c1c1f; cursor: zoom-in; overflow: hidden; border-radius: 2px; break-inside: avoid; }
.masonry img { width: 100%; height: auto; transition: transform .5s, opacity .4s; opacity: 0; }
.masonry img.loaded { opacity: 1; }
.masonry button:hover img { transform: scale(1.03); }
.sticky-filters { position: sticky; top: 74px; z-index: 20; background: rgba(10,10,11,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.sticky-filters .placer-filters { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,6,7,.97); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); user-select: none; }
.lb-btn { position: absolute; background: rgba(242,237,228,.08); border: 1px solid rgba(242,237,228,.15); color: var(--bone); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 22px; transition: background .2s; }
.lb-btn:hover { background: rgba(242,237,228,.18); }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { right: calc(24px + env(safe-area-inset-right, 0px)); top: calc(20px + env(safe-area-inset-top, 0px)); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--steel); letter-spacing: .08em; text-transform: uppercase; }

/* Instagram */
.ig-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.ig-head > div { min-width: 0; }
.ig-head h2 { overflow-wrap: break-word; font-size: clamp(30px, 6vw, 72px); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.ig-tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 2px; display: block; background: #222; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ig-tile:hover img { transform: scale(1.04); }
.ig-tile span { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(10,10,11,.75); padding: 6px 10px; }
.ig-grid .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; border-radius: 4px !important; }

/* Get involved */
.involve { background: var(--maroon); position: relative; overflow: hidden; }
.involve::before { content: ""; position: absolute; right: -120px; top: 50%; width: 560px; height: 440px; transform: translateY(-50%); background: url('images/wolves-logo.png') center / contain no-repeat; opacity: .08; filter: brightness(0) invert(1); }
.involve .eyebrow { color: #fff; } .involve .eyebrow::before { background: #fff; }
.involve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; position: relative; }
.card { background: rgba(10,10,11,.35); border: 1px solid rgba(255,255,255,.14); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.card h3 { font-size: 34px; }
.card p { color: rgba(255,255,255,.82); font-size: 15px; flex: 1; }
.card ol { color: rgba(255,255,255,.82); font-size: 14px; padding-left: 18px; flex: 1; }
.card ol li { margin-bottom: 4px; }
.card .btn { align-self: flex-start; margin-top: 8px; background: #fff; color: var(--maroon); }
.card .btn:hover { background: var(--bone); }
.card-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.card-btns .btn { margin-top: 0; }
.card .btn.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.card .btn.btn-line:hover { background: rgba(255,255,255,.1); }
.card:target { animation: flash 1.6s ease; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 3px #fff; } 100% { box-shadow: 0 0 0 0 transparent; } }
.card.feature { background: var(--black); border-color: var(--black); }
.card.feature .btn { background: var(--maroon); color: #fff; }
.card.feature .btn:hover { background: var(--maroon-bright); }

/* Boosters */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.person { background: var(--black); padding: 22px 22px; display: flex; gap: 14px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--charcoal); border: 1px solid var(--line); font-family: var(--display); font-size: 17px; color: var(--maroon-bright); flex: none; }
.person b { display: block; font-size: 15px; font-weight: 600; }
.person span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid p { color: var(--steel); font-size: 14px; max-width: 360px; margin-top: 16px; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--steel); margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; font-size: 14px; color: rgba(242,237,228,.8); padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--steel-dim); }

/* Reveal */
.reveal.in { animation: rise .7s ease both; }
@keyframes rise { from { opacity: .35; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1300px) {
  .links, .nav .btn { display: none; }
  .menu-toggle { display: flex; }
  .mobile-links { display: none; flex-direction: column; padding: 8px 20px 20px; background: rgba(10,10,11,.97); border-bottom: 1px solid var(--line); }
  .mobile-links.open { display: flex; }
  .mobile-links a { padding: 12px 0; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; border-bottom: 1px solid var(--line); }
  .mobile-links .btn { display: flex; margin-top: 14px; border: 0; justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .placers-top { grid-template-columns: 1fr; }
  .involve-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .wrap, .nav-inner { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hero { padding-bottom: 48px; }
  .hero p { font-size: 17px; }
  .hero-stats { gap: 22px; grid-template-columns: repeat(3, 1fr); }
  .stat b { font-size: 34px; }
  .stat span { font-size: 9.5px; }
  .coach-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .album-grid { grid-template-columns: 1fr; }
  .album-grid .album { aspect-ratio: 16/10; }
  .sponsors .wrap { gap: 28px; }
  .sponsor-sep { display: none; }
  .sponsors .label { width: 100%; text-align: center; }
  .masonry { columns: 2; column-gap: 6px; }
  .masonry button { margin-bottom: 6px; }
  .lb-prev, .lb-next { display: none; }
  .brand .sub { display: none; }
  .champ-strip { gap: 22px; }
  .involve-grid { grid-template-columns: 1fr; }
  .sticky-filters { top: 68px; }
  .sticky-filters .placer-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .sticky-filters .chip { flex: none; }
  .page-hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) { .reveal.in { animation: none; } html { scroll-behavior: auto; } }
