:root {
  --bg: #f6f3ee;
  --ink: #151515;
  --muted: #6a6862;
  --panel: #ffffff;
  --line: #d7cec1;
  --dark: #101418;
  --dark-soft: #182027;
  --gold: #c99a32;
  --blue: #1d5f99;
  --rose: #db4d65;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(16, 20, 24, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #11171c;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.stadium-scene {
  --mx: 50%;
  --my: 20%;
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.18), transparent 10rem),
    linear-gradient(180deg, rgba(7,11,14,.96), rgba(13,28,34,.9) 46%, rgba(22,61,42,.88));
  overflow: hidden;
}
.stadium-scene::before {
  content: "";
  position: absolute;
  inset: -8% -4% 38%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 2px, transparent 2px 42px),
    radial-gradient(ellipse at center, transparent 0 35%, rgba(255,255,255,.12) 36%, transparent 37%),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 58%);
  clip-path: ellipse(72% 42% at 50% 12%);
  opacity: .8;
}
.stadium-scene::after {
  content: "";
  position: absolute;
  inset: 58% -10% -18%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 13vw),
    linear-gradient(90deg, rgba(120,190,116,.24), rgba(76,142,89,.4), rgba(120,190,116,.24));
  transform: perspective(520px) rotateX(58deg);
  transform-origin: top;
}
.stadium-light {
  position: absolute;
  top: 6%;
  width: 32vw;
  height: 64vh;
  opacity: .5;
  filter: blur(1px);
}
.stadium-light::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, rgba(255,245,198,.52), transparent 66%);
  clip-path: polygon(10% 0, 25% 0, 100% 100%, 0 100%);
  animation: lightSweep 8s ease-in-out infinite alternate;
}
.light-left { left: 0; }
.light-right { right: 0; transform: scaleX(-1); }
.pitch-lines {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(48rem, 76vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%) perspective(500px) rotateX(62deg);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  opacity: .55;
}
.pitch-lines::before, .pitch-lines::after {
  content: "";
  position: absolute;
  inset: 18% 34%;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
}
.pitch-lines::after {
  inset: auto 50% 0 auto;
  width: 1px;
  height: 100%;
  border: 0;
  background: rgba(255,255,255,.22);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,.66), rgba(0,0,0,0));
}
.brand, .nav-links { display: flex; align-items: center; gap: .75rem; }
.brand { font-weight: 800; letter-spacing: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: var(--gold);
}
.nav-links { font-size: .92rem; color: rgba(255,255,255,.86); }
.nav-links a { padding: .45rem .2rem; }
.nav-links a:hover { color: #fff; }

.section { padding: clamp(4.5rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem); }
.section { position: relative; background: rgba(246,243,238,.94); }
.section-dark { color: #f8f3e8; background: rgba(16,20,24,.96); }
.section-heading {
  width: min(780px, 100%);
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 920px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: .94;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}
h3 { margin-bottom: .45rem; font-size: 1.05rem; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
  gap: clamp(1rem, 5vw, 4rem);
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: transparent;
  padding-top: 8rem;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 10, 13, .94), rgba(7, 10, 13, .5) 48%, rgba(7, 10, 13, .18)),
    linear-gradient(0deg, rgba(7, 10, 13, .88), rgba(7, 10, 13, 0) 42%),
    url("https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=2200&q=82") center/cover;
  transform: scale(1.02);
}
.hero-content { width: min(1080px, 100%); }
.hero-portraits {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(7, 4.4rem);
  min-height: 34rem;
  isolation: isolate;
}
.hero-portraits img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
}
.hero-portraits img:nth-child(1) { grid-area: 1 / 1 / 5 / 5; }
.hero-portraits img:nth-child(2) { grid-area: 3 / 3 / 8 / 7; z-index: 2; }
.hero-portraits img:nth-child(3) { grid-area: 5 / 1 / 8 / 4; z-index: 3; }
.subtitle { max-width: 720px; color: rgba(255,255,255,.78); font-size: clamp(1rem, 2vw, 1.24rem); }
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(850px, 100%);
  margin-top: 2rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.16);
}
.stat-strip article {
  min-height: 7rem;
  padding: 1rem;
  background: rgba(13, 17, 21, .58);
  backdrop-filter: blur(12px);
}
.stat-strip strong { display: block; color: var(--gold); font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1; }
.stat-strip span { color: rgba(255,255,255,.72); font-size: .9rem; }
.scroll-cue {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 1.3rem;
  width: 2.8rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
}
.scroll-cue svg { width: 1.25rem; fill: #fff; }

.timeline {
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6.2rem;
  width: 1px;
  background: linear-gradient(var(--gold), var(--rose), var(--blue));
}
.timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2.2rem;
  margin-bottom: 1.2rem;
}
.timeline-year {
  color: var(--gold);
  font-weight: 900;
  padding-top: 1.2rem;
}
.timeline-card {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--dark-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
.timeline-card img, .svg-badge {
  width: 4.5rem;
  aspect-ratio: 1;
  object-fit: contain;
  padding: .45rem;
  background: #fff;
  border-radius: var(--radius);
}
.svg-badge { display: grid; place-items: center; background: #f3ead6; }
.svg-badge svg { width: 3rem; fill: var(--blue); }
.svg-badge.gold svg { fill: var(--gold); }
.timeline-card p, .achievement-card p, .prize-card p { margin-bottom: 0; color: var(--muted); }
.section-dark .timeline-card p, .section-dark .section-heading h2 { color: #f8f3e8; }
.section-dark .timeline-card p { color: rgba(248,243,232,.68); }

.achievement-grid, .prize-grid, .gallery-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.achievement-card, .prize-card {
  padding: 1.25rem;
  min-height: 13rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cup-icon {
  display: block;
  width: 2.4rem;
  aspect-ratio: 1;
  margin-bottom: 1.2rem;
  background: var(--gold);
  clip-path: polygon(24% 10%,76% 10%,76% 22%,92% 22%,88% 48%,67% 58%,60% 78%,76% 78%,76% 90%,24% 90%,24% 78%,40% 78%,33% 58%,12% 48%,8% 22%,24% 22%);
}
.prize-section { background: #ece8df; }
.prize-card span {
  display: block;
  margin-bottom: .75rem;
  color: var(--blue);
  font-weight: 800;
}

.stats-section { background: linear-gradient(135deg, #101418, #1e2830); }
.stats-panel {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
}
.stats-panel label { display: block; margin-bottom: .55rem; color: rgba(248,243,232,.72); }
.stats-panel input {
  width: 100%;
  padding: .9rem 1rem;
  color: #fff;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  outline: none;
}
.stats-panel input:focus { border-color: var(--gold); }
.stats-result {
  margin-top: 1.4rem;
  display: grid;
  gap: .55rem;
}
.stats-result strong { color: var(--gold); font-size: clamp(2.8rem, 9vw, 5rem); line-height: .95; }
.stats-result ul { margin: .35rem 0 0; padding-left: 1.1rem; color: rgba(248,243,232,.78); }

.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-item {
  cursor: zoom-in;
  border: 0;
  padding: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0,0,0,.86);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86svh; border-radius: var(--radius); box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.1);
  cursor: pointer;
  font-size: 1.8rem;
}
.footer {
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: rgba(248,243,232,.68);
  background: #080a0d;
  text-align: center;
}
.footer p { margin: 0 auto; max-width: 760px; font-size: .9rem; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes lightSweep {
  from { transform: translateX(-2%) skewX(-4deg); opacity: .7; }
  to { transform: translateX(4%) skewX(5deg); opacity: 1; }
}

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-portraits {
    grid-template-rows: repeat(5, 3.6rem);
    min-height: 20rem;
    width: min(28rem, 100%);
    margin-top: 1.5rem;
  }
  .stat-strip, .achievement-grid, .prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { left: .45rem; }
  .timeline-item { grid-template-columns: 1fr; gap: .45rem; padding-left: 1.75rem; }
  .timeline-year { padding-top: 0; }
  .timeline-card { grid-template-columns: 3.8rem 1fr; }
  .timeline-card img, .svg-badge { width: 3.8rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .section { padding-inline: 1rem; }
  .hero { min-height: 96svh; }
  .hero-portraits { display: none; }
  .stat-strip, .achievement-grid, .prize-grid, .gallery-grid { grid-template-columns: 1fr; }
  .stat-strip article { min-height: 5.8rem; }
  .timeline-card { align-items: start; }
}

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