﻿:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --yellow: #ffbf2f;
  --yellow-deep: #f59f00;
  --yellow-glow: #ffd977;
  --cream: #fff5da;
  --graphite: #1b1c20;
  --steel: #3a3b40;
  --smoke: #f3f3f6;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--smoke);
  line-height: 1.6;
  overflow-x: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.ambient {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 55vh;
  background: radial-gradient(circle at 15% 30%, rgba(255, 207, 77, 0.7), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(255, 163, 64, 0.55), transparent 52%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.2), transparent 40%);
  z-index: -1;
  filter: blur(10px);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(243, 243, 246, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
}

.brand-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.brand-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-weight: 500;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.nav-cta {
  background: var(--ink);
  color: var(--white);
}

.nav-cta:hover {
  background: var(--graphite);
}

.nav-toggle {
  display: none;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}

.nav.is-open {
  display: grid;
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 44px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  color: var(--steel);
  margin-bottom: 12px;
}

.hero-content h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-3px);
}

.btn.ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.btn.ghost:hover {
  transform: translateY(-3px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--steel);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.hex-panel {
  background: var(--cream);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

.hex-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px dashed rgba(0, 0, 0, 0.2);
  border-radius: 22px;
}

.hero-card {
  background: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  width: min(320px, 100%);
}

.hero-card-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.section {
  padding: 80px 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 36px;
}

.mission-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card,
.team-card,
.contact-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.season {
  background: var(--graphite);
  color: var(--white);
}

.season .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.timeline {
  display: grid;
  gap: 18px;
}

.season-records {
  margin-top: 24px;
}

.timeline-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
}

.timeline-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--yellow-glow);
}

.team-card {
  border-top: 4px solid var(--yellow);
}

.palmares {
  background: var(--cream);
}

.palmares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.palmares-card {
  background: var(--white);
  color: var(--graphite);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border-left: 6px solid var(--yellow);
}

.palmares-year {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}

.sponsors {
  background: var(--white);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  align-items: center;
}

.sponsor-card {
  background: var(--smoke);
  padding: 18px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(34, 34, 34, 0.12);
}

.sponsor-card img {
  max-height: 70px;
  object-fit: contain;
}

.sponsor-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.3;
}

.contact {
  background: linear-gradient(130deg, rgba(255, 191, 47, 0.25), rgba(255, 255, 255, 0.6));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  align-items: center;
}

.contact-details {
  margin-top: 16px;
  color: var(--steel);
}

.contact-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 16px 0 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--graphite);
}

.form-field span {
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(62, 66, 74, 0.18);
  border-radius: 12px;
  background: var(--white);
  color: var(--graphite);
  font: inherit;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 191, 47, 0.22);
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--steel);
}

.form-status.is-success {
  color: #2d6a4f;
}

.form-status.is-error {
  color: #b42318;
}

.site-footer {
  padding: 24px 0 40px;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.page-hero h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.gallery {
  padding-top: 30px;
}

.gallery-group + .gallery-group {
  margin-top: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-item {
  background: var(--white);
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.gallery-button {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
  padding: 20px;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 80vh;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 4%;
    left: 4%;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: none;
    gap: 12px;
    z-index: 10;
  }

  .hero {
    padding: 70px 0 40px;
  }
}

@media (max-width: 560px) {
  .brand-title {
    font-size: 1.8rem;
  }

  .hero-card {
    width: 100%;
  }
}
