/* ============================================================
   DEMOCRACY CUP — Official Platform Stylesheet
   Palette: Red, White, Black (no orange)
   Simple, professional, interactive.
   ============================================================ */

:root {
  /* Red / white / black palette — variable names kept from the
     original green scheme because HTML inline styles reference them.
     --green, --gold and --red all hold RED; accents that sat on
     red/dark surfaces are switched to white in the override block. */
  --green: #c62832;       /* primary red (buttons, links, icons, accents) */
  --green-dark: #a41f28;  /* darker red */
  --green-deep: #86171d;  /* deep red — header, hero banner */
  --gold: #c62832;        /* was orange — now red (no orange in palette) */
  --gold-dark: #a41f28;
  --red: #c62832;         /* red */
  --black: #17161a;       /* near-black — footer, dark depth */
  --ink: #1c1a1b;         /* body text — near-black */
  --white: #ffffff;
  --off-white: #fbf1f1;   /* very light warm red (alt sections) */
  --grey: #6b5859;        /* muted warm grey text */
  --line: #f0dcdc;        /* light warm hairline border */

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(140, 26, 32, 0.12);
  --shadow-lg: 0 24px 60px rgba(140, 26, 32, 0.20);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  color: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}

.brand .crest { width: 44px; height: 44px; }

.logo-chip {
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--gold);
}

.logo-chip img { width: 78%; height: 78%; object-fit: contain; }

.hero-logo {
  width: 150px; height: 150px;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.6rem;
  box-shadow: 0 0 0 4px var(--gold), 0 0 0 8px rgba(198, 40, 50, .28), var(--shadow-lg);
}

.hero-logo img { width: 72%; height: 72%; object-fit: contain; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--gold);
  margin-top: .3rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: .1rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .92rem;
  padding: .55rem .72rem;
  border-radius: 6px;
  color: rgba(255,255,255,.85);
  transition: color .2s, background .2s;
}

.main-nav a:hover { color: var(--gold); background: rgba(255,255,255,.06); }

.main-nav a.active {
  color: var(--green-deep);
  background: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  padding: .35rem .6rem;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--green-deep);
    display: none;
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: .8rem 4%; }
  .main-nav a { font-size: 1.05rem; padding: .7rem .8rem; }
}

/* ---------- Hero ---------- */
/* Default hero = light (interior pages e.g. trophy). Photo hero stays dark. */
.hero {
  position: relative;
  color: var(--ink);
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(198, 40, 50, .10), transparent 60%),
    var(--off-white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero.with-photo {
  color: var(--white);
  border-bottom: none;
  background:
    linear-gradient(150deg, rgba(150, 28, 36, .82) 0%, rgba(190, 44, 52, .55) 45%, rgba(105, 18, 24, .90) 100%),
    url("../assets/img/launch/launch-18.jpg") center 30% / cover no-repeat;
}

/* Light hero text treatment (non-photo heroes) */
.hero:not(.with-photo) .hero-eyebrow {
  color: var(--green);
  background: rgba(198, 40, 50, .07);
  border-color: rgba(198, 40, 50, .55);
}
.hero:not(.with-photo) .hero-tagline { color: var(--ink); }
.hero:not(.with-photo) .hero-sub { color: var(--grey); }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(255,255,255,.028) 0 2px,
    transparent 2px 90px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.8rem 0 4.4rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0, 0, 0, .12);
  border: 1px solid rgba(198, 40, 50, .6);
  border-radius: 100px;
  padding: .45rem 1.2rem;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: .95;
  letter-spacing: .02em;
}

.hero h1 .gold { color: var(--gold); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .28em;
  margin-top: 1.2rem;
  color: rgba(255,255,255,.95);
}

.hero-tagline .dot { color: var(--gold); padding: 0 .4rem; }
.hero-tagline .dot:nth-of-type(2) { color: var(--gold); }

.hero-sub {
  max-width: 620px;
  margin: 1rem auto 0;
  color: rgba(255,255,255,.8);
  font-size: 1.02rem;
}

.hero-ctas {
  margin-top: 1.7rem;
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: min(72vh, 600px);
  background: var(--green-deep);
}

.hero-slider .slides { position: absolute; inset: 0; }

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero-slider .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(134, 23, 29, .30) 0%, rgba(109, 18, 24, .58) 100%);
}

.hero-slider .slide.is-active { opacity: 1; }
.hero-slider .slide.is-active .hero-banner { pointer-events: auto; }

/* Banner — appears on the first slide only, anchored bottom-right */
.hero-banner {
  position: absolute;
  right: 4%;
  bottom: 3rem;
  z-index: 2;
  width: min(560px, 92%);
  color: var(--white);
  background: rgba(109, 20, 24, .58);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  padding: 1.9rem 2rem 2.1rem;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.hero-banner .hero-eyebrow { margin-bottom: 1rem; font-size: .66rem; letter-spacing: .2em; }
.hero-banner h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: .95;
  letter-spacing: .02em;
}
.hero-banner h1 .gold { color: var(--gold); }
.hero-banner .hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  letter-spacing: .14em;
  margin-top: .7rem;
  color: rgba(255, 255, 255, .95);
}
.hero-banner .hero-tagline .dot { color: var(--gold); padding: 0 .3rem; }
.hero-banner .hero-sub { margin: .8rem 0 0; max-width: none; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.hero-banner .hero-ctas { margin-top: 1.3rem; justify-content: flex-start; }
.hero-banner .btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.hero-banner .btn-outline:hover { border-color: var(--gold); background: var(--gold); color: var(--green-deep); }

/* Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, border-color .2s, color .2s;
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.slider-arrow.prev { left: 1.2rem; }
.slider-arrow.next { right: 1.2rem; }

.slider-dots {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: .5rem;
}
.slider-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.slider-dots button.active { background: var(--gold); transform: scale(1.25); }

@media (max-width: 768px) {
  /* Mobile: clean image-only carousel, no banner text */
  .hero-slider { min-height: 58vh; }
  .hero-banner { display: none; }
  .slider-dots { bottom: 1rem; top: auto; }
  .slider-arrow { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 1rem;
  padding: .8rem 1.9rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}

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

.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { box-shadow: 0 12px 26px rgba(198, 40, 50, .38); }

.btn-outline { border-color: var(--green); color: var(--green); }
.btn-outline:hover { border-color: var(--green-deep); background: var(--green); color: var(--white); }

/* Outline buttons on the photo hero and CTA band stay light */
.hero.with-photo .btn-outline, .cta-band .btn-outline {
  border-color: rgba(255,255,255,.55); color: var(--white); background: transparent;
}
.hero.with-photo .btn-outline:hover, .cta-band .btn-outline:hover {
  border-color: var(--gold); background: var(--gold); color: var(--green-deep);
}

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { box-shadow: 0 12px 26px rgba(200, 16, 46, .35); }

.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { box-shadow: 0 12px 26px rgba(200, 16, 46, .35); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  color: var(--ink);
  background:
    radial-gradient(800px 400px at 92% -30%, rgba(198, 40, 50, .10), transparent 60%),
    var(--off-white);
  border-bottom: 1px solid var(--line);
  padding: 4.2rem 0 3.4rem;
}

.page-hero .crumb {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--gold);
  margin-bottom: .8rem;
  font-weight: 700;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 68px; height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin-top: 1.1rem;
}

.page-hero p.lede {
  max-width: 640px;
  margin-top: 1rem;
  color: var(--grey);
}

/* ---------- Featured video ---------- */
.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 7px rgba(198, 40, 50, .20), 0 30px 70px rgba(0,0,0,.5);
}

.video-frame video { width: 100%; display: block; aspect-ratio: 16 / 9; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  align-items: start;
}

@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

.video-grid .video-frame { max-width: none; }

.video-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.25rem;
  color: var(--gold);
  margin-top: 1rem;
}

.video-caption {
  text-align: center;
  margin-top: 1.1rem;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section.tight { padding: 3rem 0; }
.section.dark { color: var(--ink); }

/* Auto-alternating section backgrounds so no two neighbours share a colour.
   The banner (.page-hero / .hero) is the 1st <section> and is off-white, so
   content sections start on white and alternate white / off-white down the page.
   This overrides any hand-placed .alt / .dark class by position. */
body > section.section:nth-of-type(even) { background: var(--white); }
body > section.section:nth-of-type(odd)  { background: var(--off-white); }

.section-head { margin-bottom: 2.4rem; }

.section-head .kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
}

.section.dark .section-head .kicker { color: var(--gold); }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.05;
  margin-top: .35rem;
}

.section-head p { max-width: 640px; color: var(--grey); margin-top: .7rem; }
.section.dark .section-head p { color: var(--grey); }

.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .03em;
  margin-bottom: .5rem;
}

.card p { color: var(--grey); font-size: .95rem; }

.card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  background: linear-gradient(160deg, #ffffff, var(--off-white));
  border: 1px solid var(--line);
  color: var(--green);
  box-shadow: 0 6px 16px rgba(140, 26, 32, .12);
  margin-bottom: 1rem;
}


/* ---------- Match / fixture cards ---------- */
.match-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.match-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.match-card .match-top {
  background: var(--green-deep);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  padding: .6rem 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.match-card .match-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.8rem 1.4rem;
  text-align: center;
}

.match-card .team {
  display: grid;
  justify-items: center;
  gap: .6rem;
}

.team-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), var(--shadow);
}

.team-badge.img {
  background: var(--white);
  box-shadow: inset 0 0 0 3px var(--line), var(--shadow);
  overflow: hidden;
}

.team-badge.img img { width: 80%; height: 80%; object-fit: contain; }

.badge-hearts { background: linear-gradient(140deg, #5b2a86, #b91c1c 55%, #eab308); }
.badge-kotoko { background: linear-gradient(140deg, #7f1d1d, #b91c1c); }
.badge-olympics { background: linear-gradient(140deg, #1d4ed8, #0f2f7f); }
.badge-tba { background: linear-gradient(140deg, #4b5563, #1f2937); }

.match-card .team-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.15;
}

.match-card .vs {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--red);
  letter-spacing: .1em;
}

.match-card .score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--ink);
  letter-spacing: .05em;
}

.match-card .match-meta {
  border-top: 1px dashed var(--line);
  padding: .9rem 1.4rem;
  font-size: .85rem;
  color: var(--grey);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
}

.winner-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  border-radius: 100px;
  padding: .25rem .8rem;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin-top: 2.5rem;
  padding-left: 2.2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--red), var(--gold), var(--green));
  border-radius: 3px;
}

.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: .35rem;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--green-deep);
  margin-left: 2px;
}

.timeline-item .year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--green);
  line-height: 1;
}

.section.dark .timeline-item .year { color: var(--gold); }

.timeline-item h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  margin: .25rem 0 .2rem;
}

.timeline-item p { color: var(--grey); font-size: .95rem; max-width: 560px; }
.section.dark .timeline-item p { color: var(--grey); }

/* ---------- Champions strip ---------- */
.champions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

@media (max-width: 860px) { .champions { grid-template-columns: 1fr; } }

.champion-card {
  position: relative;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  color: var(--white);
  background: linear-gradient(155deg, var(--green), var(--green-dark));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.champion-card.future {
  background: repeating-linear-gradient(-45deg, #a41f28 0 14px, #86171d 14px 28px);
}

.champion-card .trophy { font-size: 2.6rem; }

.champion-card .year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: .2em;
  margin-top: .5rem;
}

.champion-card .club {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.7rem;
  line-height: 1.1;
  margin-top: .3rem;
}

.champion-card .note { color: rgba(255,255,255,.65); font-size: .85rem; margin-top: .4rem; }

/* ---------- Photo placeholders / gallery ---------- */
.photo {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform .2s;
}

.photo:hover { transform: scale(1.02); }

.photo.p1 { background: linear-gradient(150deg, var(--green), var(--green-deep)); }
.photo.p2 { background: linear-gradient(150deg, #d8434a, var(--red)); }
.photo.p3 { background: linear-gradient(150deg, #a41f28, var(--gold)); color: var(--green-deep); }
.photo.p4 { background: linear-gradient(150deg, #241214, #0b0b0b); }
.photo.wide { aspect-ratio: 16 / 7; }

.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.photo.has-img { padding: 0; overflow: hidden; }

.photo-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.photo-tile:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg); }

.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-tile .tag {
  position: absolute;
  left: .8rem; bottom: .8rem;
  background: rgba(134, 23, 29, .88);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  padding: .3rem .8rem;
  border-radius: 100px;
}

.photo-tile.wide { aspect-ratio: 16 / 9; }

/* ---------- News ---------- */
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.news-card .news-media {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.news-card .news-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }

.news-card .news-tag {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--red);
}

.news-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; line-height: 1.15; }
.news-card .news-date { font-size: .78rem; color: var(--grey); }
.news-card p { color: var(--grey); font-size: .93rem; flex: 1; }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

@media (max-width: 860px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold);
  line-height: 1;
}

.stat .label {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  margin-top: .5rem;
}

/* ---------- Stakeholder logos ---------- */
.stakeholder-logo {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  box-shadow: 0 0 0 3px var(--gold), var(--shadow);
}

.stakeholder-logo img { width: 78%; height: 78%; object-fit: contain; }

/* ---------- Sponsors ---------- */
.sponsor-tier {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .2em;
  font-size: .95rem;
  color: var(--green);
  margin: 2.2rem 0 1rem;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.sponsor-slot {
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  min-height: 96px;
  display: grid;
  place-items: center;
  color: var(--grey);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .95rem;
  text-align: center;
  padding: .8rem;
  transition: border-color .2s, color .2s;
}

.sponsor-slot:hover { border-color: var(--gold-dark); color: var(--green); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

table.dc-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}

.dc-table th {
  background: var(--green-deep);
  color: var(--gold);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: .88rem;
  text-align: left;
  padding: .85rem 1.1rem;
}

.dc-table td { padding: .85rem 1.1rem; border-top: 1px solid var(--line); font-size: .93rem; }
.dc-table tr:hover td { background: #fbf1f1; }

/* ---------- Map / rotation ---------- */
.rotation {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: wrap;
}

.rotation .stop {
  flex: 1 1 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.rotation .stop.future { border-style: dashed; background: transparent; box-shadow: none; }

.rotation .city {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.rotation .years { color: var(--grey); font-size: .85rem; margin-top: .3rem; }
.rotation .pin { font-size: 1.6rem; }

/* ---------- Quote ---------- */
.quote {
  border-left: 5px solid var(--gold);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
  max-width: 780px;
}

.quote p { font-size: 1.15rem; font-style: italic; color: var(--ink); }
.quote cite { display: block; margin-top: .9rem; font-style: normal; font-size: .85rem; color: var(--grey); text-transform: uppercase; letter-spacing: .12em; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green), var(--green-deep));
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

.cta-band h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.cta-band p { color: rgba(255,255,255,.85); max-width: 520px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: .4rem;
  color: var(--green-dark);
}

.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color .2s;
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
}

.field.full { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 2rem;
  font-size: .9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: .9rem;
}

.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ---------- Lightbox ---------- */
div.photo-tile { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(40, 8, 10, .95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4.5rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 0 0 3px var(--gold), 0 30px 80px rgba(0,0,0,.6);
}

.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, border-color .2s, color .2s;
}

.lightbox button:hover { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }

.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox { padding: 3.5rem 1rem; }
  .lightbox .lb-prev, .lightbox .lb-next { width: 44px; height: 44px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Tabs (tournament years) ---------- */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }

.tab-btn {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 1rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 100px;
  padding: .55rem 1.5rem;
  cursor: pointer;
  transition: all .2s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Social icons ---------- */
.social-icons { display: flex; gap: .6rem; flex-wrap: wrap; }

.social-icons a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.82);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}

.social-icons a:hover {
  color: var(--green-deep);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social-icons svg { width: 18px; height: 18px; display: block; }

/* On light backgrounds (e.g. contact card) */
.social-icons.on-light a {
  border-color: var(--line);
  color: var(--red);
}
.social-icons.on-light a:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.footer-social { margin-top: .6rem; }

/* ============================================================
   RED / WHITE / BLACK — accents that sit on red or dark
   surfaces switch to white (elsewhere the old orange is now red).
   ============================================================ */
/* Header (red) */
.site-header .brand-name small { color: rgba(255, 255, 255, .82); }
.main-nav a:hover { color: var(--white); }
.main-nav a.active { background: var(--white); color: var(--green); }
.logo-chip { box-shadow: 0 0 0 2px rgba(255, 255, 255, .65); }

/* Hero banner (dark red) */
.hero-banner .hero-eyebrow { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.hero-banner h1 .gold { color: var(--white); }
.hero-banner .hero-tagline .dot,
.hero-banner .hero-tagline .dot:nth-of-type(2) { color: var(--white); }

/* Red cards / tags / table headers */
.winner-tag { background: var(--red); color: var(--white); }
.champion-card .year { color: var(--white); }
.photo-tile .tag { color: var(--white); }
.dc-table th { color: var(--white); }

/* White button on red surfaces (e.g. CTA band) */
.btn-gold { background: var(--white); color: var(--green); }
.btn-gold:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, .22); }

/* Slider controls */
.slider-dots button.active { background: var(--white); }
.slider-arrow:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.hero-banner .btn-outline:hover { background: var(--white); color: var(--green); border-color: var(--white); }

/* Footer social icon hover (footer is near-black) */
.site-footer .social-icons a:hover { color: var(--white); background: var(--green); border-color: var(--green); }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.gold-text { color: var(--gold); }
.small-note { font-size: .8rem; color: var(--grey); }

/* ---------- Head-to-head stats ---------- */
.h2h {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.h2h-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--green-deep);
  color: var(--white);
  padding: 1.5rem 1.2rem;
}
.h2h-team { display: grid; justify-items: center; gap: .55rem; }
.h2h-team .team-badge { width: 58px; height: 58px; }
.h2h-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.1;
  text-align: center;
}
.h2h-vs {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .72);
  text-align: center;
  max-width: 90px;
}
.h2h-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--line);
}
.h2h-row:nth-child(even) { background: var(--off-white); }
.h2h-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--green);
}
.h2h-row .h2h-num:first-child { text-align: right; }
.h2h-row .h2h-num:last-child { text-align: left; }
.h2h-stat {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--grey);
  text-align: center;
  min-width: 110px;
}
