/* ===================================================================
   KFAM — Korea Football Association in Malaysia
   Premium minimal one-page site
=================================================================== */

:root {
  --navy: #0b1226;
  --navy-2: #101a38;
  --navy-soft: #16213f;
  --red: #c8102e;
  --red-dark: #8f0b21;
  --gold: #d4af6a;
  --gold-soft: #e8d4a8;
  --cream: #f4f0e6;
  --white: #ffffff;
  --ink: #0c0f16;
  --muted: #565f6c;
  --muted-light: rgba(244, 240, 230, 0.62);
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(11, 18, 38, 0.1);

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; overscroll-behavior-y: none; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
/* Gold reads ~1.8:1 on cream (fails WCAG AA) — use the red accent for
   eyebrows sitting on light sections instead; gold stays reserved for
   dark/navy backgrounds where it hits ~9:1. */
.eyebrow.alt { color: var(--red); }
.eyebrow.alt::before,
.eyebrow.alt::after { background: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-top: 14px;
  color: var(--navy);
}
.section-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
}
.section-head.on-dark h2 { color: var(--white); }
.section-head.on-dark p { color: var(--muted-light); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline.dark { border-color: rgba(11,18,38,0.25); color: var(--navy); }
.btn-outline.dark:hover { border-color: var(--red); color: var(--red); }
.btn svg { width: 14px; height: 14px; }

/* ================= NAV ================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), height 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav.scrolled {
  height: 68px;
  background: rgba(11, 18, 38, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand-text span {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted-light);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-light);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active,
.mobile-menu a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; background: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--white);
  text-transform: uppercase;
}
.mobile-menu a:hover { color: var(--gold); }

/* ================= HERO ================= */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  color: var(--white);
  padding-top: var(--nav-h);
  isolation: isolate;
  overflow: hidden;
}
.hero-spacer { height: 100vh; }
.page-content { position: relative; z-index: 1; background: var(--cream); }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,18,38,0.5) 0%, rgba(11,18,38,0.55) 40%, rgba(9,13,26,0.94) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(200,16,46,0.26), transparent 55%),
    linear-gradient(90deg, rgba(11,18,38,0.75), rgba(11,18,38,0.1) 60%);
  z-index: -1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: var(--navy) url("assets/hero-poster.jpg") center 20%/cover no-repeat; }
}
.hero-inner { width: 100%; padding-bottom: clamp(20px, 3.5vh, 40px); }
.hero-inner .eyebrow::after { content: none; }
.hero-inner h1 {
  font-size: clamp(26px, 3.2vw + 1.6vh, 50px);
  margin-top: clamp(8px, 1.5vh, 16px);
  color: var(--white);
}
.hero-inner h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-inner p {
  margin-top: clamp(10px, 1.6vh, 18px);
  font-size: clamp(14px, 1vw + 0.6vh, 16px);
  max-width: 520px;
  color: var(--muted-light);
}
.hero-cta { margin-top: clamp(16px, 2.6vh, 26px); display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { padding: 11px 20px; font-size: 12px; }

.hero-scroll {
  position: absolute;
  right: 40px; bottom: 40px;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-scroll .dot {
  width: 1px; height: 46px;
  background: var(--muted-light);
  position: relative;
  overflow: hidden;
}
.hero-scroll .dot::before {
  content: "";
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ================= STATS STRIP ================= */
.stats {
  background: var(--navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 44px 24px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold);
  display: block;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ================= ABOUT ================= */
.about {
  padding: 130px 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(244,240,230,0.5);
  pointer-events: none;
}
.about-badge {
  position: absolute;
  bottom: -1px; left: -1px;
  background: var(--red);
  color: var(--white);
  padding: 18px 22px;
  font-family: var(--font-display);
}
.about-badge strong { display: block; font-size: 26px; }
.about-badge span { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }

.about-copy p { color: var(--muted); font-size: 16.5px; margin-bottom: 20px; max-width: 520px; }
.about-copy p:last-of-type { margin-bottom: 0; }
.pillars {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.pillar { border-top: 1px solid var(--line-dark); padding-top: 18px; }
.pillar h4 {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 8px;
}
.pillar p { font-size: 14px; color: var(--muted); margin: 0; }

/* ================= TOURNAMENT TABS ================= */
.tournament-tabs-section { padding: 0 0 56px; background: var(--navy); }
.tournament-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tournament-tab {
  padding: 13px 38px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.tournament-tab:hover { border-color: var(--gold); color: var(--gold); }
.tournament-tab.is-active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.tournament-panel { display: none; }
.tournament-panel.is-active { display: block; }

/* ================= COMPETITIONS ================= */
.competitions { padding: 130px 0; background: var(--navy); color: var(--white); }
.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.comp-card {
  background: var(--navy);
  padding: 44px 36px;
  position: relative;
  transition: background 0.4s ease;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.comp-card:hover { background: var(--navy-soft); }
.comp-tag {
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,106,0.4);
  color: var(--gold);
  margin-bottom: 26px;
}
.comp-card h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 14px;
}
.comp-card p { color: var(--muted-light); font-size: 14.5px; flex-grow: 1; }
.comp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-light);
  letter-spacing: 0.04em;
}
.comp-meta a { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11.5px; }
.comp-meta a:hover { text-decoration: underline; }
.comp-meta .venue-link {
  color: var(--muted-light);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 12px;
  border-bottom: 1px dotted rgba(255,255,255,0.4);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.comp-meta .venue-link:hover { color: var(--gold); border-color: var(--gold); text-decoration: none; }

.pitch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.pitch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.pitch-btn:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold); background: rgba(212,175,106,0.1); }
.pitch-btn .arrow {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.pitch-btn:hover .arrow { background: rgba(212,175,106,0.2); }

/* ================= ACADEMIES / MARQUEE ================= */
.academies { padding: 110px 0 130px; background: var(--cream); overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.academies:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.marquee-item:hover { color: var(--red); }
.marquee-logo {
  display: flex;
  align-items: center;
  height: 91px;
  flex-shrink: 0;
}
.marquee-logo img {
  height: 100%;
  width: auto;
  max-width: 264px;
  object-fit: contain;
  display: block;
}
.marquee-row { margin-bottom: 26px; }
.marquee-row:nth-child(2) .marquee-track { animation-duration: 55s; animation-direction: reverse; }
.marquee-fade {
  position: relative;
}
.marquee-fade::before, .marquee-fade::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.marquee-fade::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.marquee-fade::after { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }
.academies-note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.academies.on-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.academies.on-dark .marquee-fade::before { background: linear-gradient(90deg, var(--navy), transparent); }
.academies.on-dark .marquee-fade::after { background: linear-gradient(270deg, var(--navy), transparent); }
.academies.on-dark .academies-note { color: var(--muted-light); }

/* ================= FLOATING SPONSOR WALL ================= */
.float-wrap {
  position: relative;
  overflow: hidden;
  min-height: 580px;
}
.float-hub {
  position: absolute;
  top: 50%; left: 50%;
  width: 116px; height: 116px;
  margin: -58px 0 0 -58px;
  border-radius: 50%;
  background: var(--navy-soft);
  border: 1px solid rgba(212, 175, 106, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.float-hub::before {
  content: "";
  position: absolute;
  inset: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--navy-2) 0%, rgba(16, 26, 56, 0) 68%);
  z-index: -1;
}
.float-hub img { width: 94px; height: auto; position: relative; transform: translateY(6px); }

.float-logo {
  position: absolute;
  z-index: 2;
}
.float-chip {
  background: var(--navy-soft);
  border: 1px solid rgba(212, 175, 106, 0.28);
  border-radius: 10px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, filter 0.35s ease, border-color 0.35s ease;
}
.float-chip img {
  height: calc(var(--h, 46px) * 1.584);
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}
.float-chip.is-circle { border-radius: 50%; padding: 9px; }
.float-logo.drift-lr   { top: 6%;  animation: driftLR 15s linear infinite -4.5s; }
.float-logo.drift-rl   { top: 32%; animation: driftRL 15s linear infinite -5.7s; }
.float-logo.drift-bt   { left: 68%; animation: driftBT 15s linear infinite -8s; }
.float-logo.drift-tb   { left: 26%; animation: driftTB 15s linear infinite -5.8s; }
.float-logo.drift-dg1  { animation: driftDiag1 15s linear infinite -9.5s; }
.float-logo.drift-dg2  { animation: driftDiag2 15s linear infinite -10.2s; }
.float-logo.drift-lr2  { top: 80%; animation: driftLR 15s linear infinite -8.5s; }
.float-logo.drift-tb2  { left: 84%; animation: driftTB 15s linear infinite -8.3s; }

.float-logo:hover, .float-logo:focus-within { z-index: 6; animation-play-state: paused; }
.float-logo:hover .float-chip, .float-logo:focus-within .float-chip {
  transform: scale(1.16);
  filter: brightness(1.3);
  border-color: rgba(212, 175, 106, 0.75);
}

/* Continuous one-way sweeps that wrap off-screen (the reset happens while
   invisible, so there's no visible jump). All 8 share the same 15s period;
   each has a distinct negative delay chosen so that at t=0, 15s, 30s... every
   logo's sweep happens to be passing through the middle of the visible
   frame — so the whole wall regroups on screen together every 15 seconds,
   while drifting independently the rest of the time. */
@keyframes driftLR {
  0%   { left: -16%; transform: rotate(-4deg); }
  50%  { transform: rotate(3deg); }
  100% { left: 116%; transform: rotate(-4deg); }
}
@keyframes driftRL {
  0%   { left: 116%; transform: rotate(4deg); }
  50%  { transform: rotate(-3deg); }
  100% { left: -16%; transform: rotate(4deg); }
}
@keyframes driftBT {
  0%   { top: 118%; transform: rotate(5deg); }
  50%  { transform: rotate(-2deg); }
  100% { top: -18%; transform: rotate(5deg); }
}
@keyframes driftTB {
  0%   { top: -18%; transform: rotate(-5deg); }
  50%  { transform: rotate(2deg); }
  100% { top: 118%; transform: rotate(-5deg); }
}
@keyframes driftDiag1 {
  0%   { left: -16%; top: 78%; transform: rotate(-3deg); }
  50%  { left: 50%; top: 30%; transform: rotate(4deg); }
  100% { left: 116%; top: 6%; transform: rotate(-3deg); }
}
@keyframes driftDiag2 {
  0%   { left: 116%; top: 8%; transform: rotate(4deg); }
  50%  { left: 50%; top: 56%; transform: rotate(-3deg); }
  100% { left: -16%; top: 74%; transform: rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .float-logo { animation: none !important; }
}
@media (max-width: 760px) {
  .float-wrap { min-height: 460px; }
  .float-hub { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
  .float-hub img { width: 66px; transform: translateY(4px); }
  .float-chip { padding: 5px 7px; }
  .float-chip.is-circle { padding: 6px; }
  .float-chip img { height: calc(var(--h, 46px) * 1.14); max-width: 170px; }
  .float-logo.drift-tb2 { left: 60%; }
}

/* ================= CSR ================= */
.csr {
  padding: 130px 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  position: relative;
}
.csr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.csr-copy p { color: var(--muted-light); font-size: 16.5px; margin-bottom: 18px; max-width: 500px; }
.csr-list { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.csr-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--muted-light); }
.csr-list li .n {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
}
.csr-media { position: relative; aspect-ratio: 1/1; border-radius: 4px; overflow: hidden; }
.csr-media img { width: 100%; height: 100%; object-fit: cover; }

/* ================= K-CUP TEAMS ================= */
.kcup-teams { padding: 90px 0; background: var(--white); overflow-x: hidden; }
.kcup-division { margin-top: 56px; }
.kcup-division:first-of-type { margin-top: 0; }
.kcup-division-label {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}
.team-deck {
  position: relative;
  height: 297px;
  max-width: 700px;
  margin: 0 auto;
  touch-action: pan-y;
}
.deck-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  text-align: center;
  cursor: grab;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  user-select: none;
}
.deck-card:active { cursor: grabbing; }
.deck-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: block;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11,18,38,0.14);
  pointer-events: none;
  -webkit-user-drag: none;
}
.deck-card.is-active img { border-color: var(--gold); box-shadow: 0 16px 38px rgba(212,175,106,0.38); }
.deck-card span {
  display: block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  pointer-events: none;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .team-deck { height: 220px; }
  .deck-card { width: 110px; }
}

/* ================= SPONSORS ================= */
.sponsors { padding: 120px 0; background: var(--cream); }
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin-bottom: 50px;
}
.sponsor-slot {
  background: var(--white);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.sponsor-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 40px;
}
.sponsor-cta h3 { font-size: 22px; color: var(--navy); max-width: 480px; }
.sponsor-cta p { color: var(--muted); margin-top: 10px; font-size: 14.5px; }

.kit-strip {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--navy);
  color: var(--white);
  padding: 26px 36px;
  border-radius: 6px;
}
.kit-strip .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }
.kit-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 4px;
  height: 36px;
  padding: 5px 11px;
  margin-left: 12px;
}
.kit-logo img { height: 100%; width: auto; object-fit: contain; display: block; }
.kit-strip strong { font-family: var(--font-display); font-size: 20px; margin-left: 10px; color: var(--gold); }
.kit-strip a { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--gold); color: var(--white); padding-bottom: 2px; }

/* ================= NEWS / SOCIAL ================= */
.social { padding: 130px 0; background: var(--navy); color: var(--white); }
.social-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ig-card {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.ig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ig-card:hover img { transform: scale(1.08); }
.ig-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,18,38,0.85));
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity 0.35s ease;
}
.ig-card:hover .overlay { opacity: 1; }
.ig-card .overlay span { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 0.05em; }

/* ================= VENUE GALLERY ================= */
.media-gallery { display: none; padding: 100px 0 110px; background: var(--cream); }
.media-gallery.active { display: block; }
.pitch-btn.is-active { border-color: var(--gold); color: var(--gold); background: rgba(212,175,106,0.14); }
.gallery-day { margin-top: 48px; }
.gallery-day:first-of-type { margin-top: 40px; }
.gallery-day-label {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.25s ease;
  will-change: transform;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.drive-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
.drive-cta:hover { color: var(--navy); border-color: var(--navy); }

.gallery-lightbox {
  position: fixed; inset: 0;
  background: rgba(5,8,18,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  object-fit: contain;
}
.gallery-lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.gallery-lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

/* ================= CONTACT / CTA ================= */
.cta-band {
  padding: 110px 0;
  background: var(--cream);
  text-align: center;
}
.cta-band h2 { font-size: clamp(30px, 5vw, 54px); color: var(--navy); }
.cta-band p { margin: 20px auto 40px; max-width: 520px; color: var(--muted); font-size: 16.5px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ================= FOOTER ================= */
footer {
  background: var(--navy);
  color: var(--muted-light);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 320px; color: var(--muted-light); }
.footer-social { display: flex; gap: 14px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 12.5px;
}

/* ================= PAGE HERO (sub-pages) ================= */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 100px) 0 90px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,0.22), transparent 70%);
}
.page-hero .container { text-align: center; }
.page-hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  margin-top: 16px;
  color: var(--white);
}
.page-hero p { margin: 18px auto 0; max-width: 560px; font-size: 16.5px; color: var(--muted-light); }

/* ================= ARTICLES ================= */
.articles { padding: 100px 0 130px; background: var(--cream); }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.article-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11,18,38,0.12); }
.article-media { aspect-ratio: 16/10; overflow: hidden; }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.article-card:hover .article-media img { transform: scale(1.06); }
.article-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.article-tag {
  align-self: flex-start;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}
.article-date { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.article-body h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}
.article-body p { font-size: 14px; color: var(--muted); flex-grow: 1; margin-bottom: 18px; }
.article-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  align-self: flex-start;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s ease;
}
.article-link:hover { color: var(--red); }
.articles-teaser { padding: 130px 0; background: var(--cream); }

/* ================= ARTICLE SINGLE (long-form page) ================= */
.article-single { padding: 90px 0 130px; background: var(--cream); }
.article-single .container { max-width: 760px; }
.article-cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 50px;
}
.article-prose { font-size: 17px; line-height: 1.75; color: var(--ink); }
.article-prose p { margin-bottom: 24px; }
.article-prose h2 {
  font-size: 24px;
  color: var(--navy);
  margin: 48px 0 18px;
}
.article-prose .lead { font-size: 19px; color: var(--muted); font-weight: 500; }
.article-prose p a, .article-prose li a { color: var(--red); border-bottom: 1px solid rgba(200,16,46,0.35); }
.article-prose p a:hover, .article-prose li a:hover { border-color: var(--red); }
.article-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 36px 0;
}
.article-inline-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.article-inline-grid.span-one { grid-template-columns: 1fr; }
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.article-prose-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .article-inline-grid { grid-template-columns: 1fr; }
}

/* ================= CONTACT CHANNELS ================= */
.contact-page { padding: 100px 0 130px; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin-bottom: 70px;
}
.contact-card {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
}
.contact-card h3 { font-family: var(--font-body); text-transform: none; font-size: 18px; color: var(--navy); }
.contact-card p { font-size: 14.5px; color: var(--muted); flex-grow: 1; }
.contact-card a.btn { align-self: flex-start; }
.contact-card > a:not(.btn) {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--navy);
  margin-top: -8px;
}
.contact-card > a:not(.btn):hover { color: var(--red); }
.contact-note {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--line-dark);
  border-radius: 6px;
}
.contact-note h3 { font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.contact-note p { color: var(--muted); font-size: 14.5px; }

/* ================= HERO EDITION BUTTONS ================= */
.hero-editions {
  margin-top: clamp(22px, 3.6vh, 38px);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.edition-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: transform 0.4s var(--ease), background 0.3s ease, border-color 0.3s ease;
}
.edition-btn:hover { transform: translateY(-2px); }
.edition-btn .arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.edition-btn.is-upcoming { background: var(--red); color: var(--white); }
.edition-btn.is-upcoming .arrow { background: rgba(255,255,255,0.2); }
.edition-btn.is-upcoming:hover { background: var(--red-dark); }
.edition-btn.is-past {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.edition-btn.is-past .arrow { background: rgba(255,255,255,0.12); }
.edition-btn.is-past:hover { border-color: var(--gold); color: var(--gold); }
.edition-btn .tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  display: block;
  margin-bottom: 2px;
}
.edition-btn .name { font-family: var(--font-display); font-size: 12.5px; text-transform: uppercase; }

/* ================= DATA TABLES ================= */
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
}
.csr .data-table-wrap { border-color: var(--line); }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--white);
}
.data-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: center;
}
.data-table thead th:first-child { text-align: left; }
.data-table tbody th {
  background: var(--red);
  color: var(--white);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}
.data-table tbody td {
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--navy);
  border-top: 1px solid var(--line-dark);
}
.data-table tbody tr:nth-child(even) td { background: rgba(11,18,38,0.02); }
.data-table tbody td.span-all { text-align: center; color: var(--muted); }

/* ================= LEADERSHIP ================= */
.leader-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.leader-card {
  display: flex;
  flex-direction: column;
  width: 230px;
  flex: 0 0 230px;
  background: var(--navy-soft);
  border-radius: 6px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.leader-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  image-rendering: -webkit-optimize-contrast;
}
.leader-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.leader-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--navy-soft) 96%);
  pointer-events: none;
}
.leader-text { padding: 0 18px 22px; margin-top: -10px; position: relative; text-align: center; }
.leader-card h4 { font-family: var(--font-body); text-transform: none; color: var(--white); font-size: 16px; margin-bottom: 4px; }
.leader-card p { font-size: 12px; color: var(--muted-light); margin: 0; }

/* ================= PAYMENT NOTE ================= */
.payment-box {
  margin-top: 24px;
  background: var(--cream);
  border: 1px dashed var(--line-dark);
  border-radius: 4px;
  padding: 22px 26px;
  font-size: 14px;
  color: var(--muted);
}
.payment-box strong { color: var(--navy); }
.payment-box .bank-line { display: block; margin-top: 10px; font-family: var(--font-body); }

/* ================= WHATSAPP BUTTON ================= */
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5b; }

/* ================= REVEAL ANIMATION ================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .about-grid, .csr-grid { grid-template-columns: 1fr; gap: 50px; }
  .comp-grid { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-scroll { display: none; }
  .kit-strip { flex-direction: column; align-items: flex-start; }
  .article-grid { grid-template-columns: 1fr; }
  .hero-editions { gap: 9px; margin-top: 14px; }
  .edition-btn.is-past { padding: 8px 14px; gap: 8px; }
  .edition-btn.is-past .arrow { width: 18px; height: 18px; font-size: 10px; }
  .edition-btn.is-past .tag { font-size: 7px; margin-bottom: 1px; }
  .edition-btn.is-past .name { font-size: 10px; }
  .hero-inner h1 { margin-top: 6px; }
  .hero-inner p { margin-top: 8px; }
  .hero-cta { margin-top: 10px; }
  .hero-cta .btn { padding: 9px 16px; font-size: 11px; }
  .hero-inner { padding-bottom: 14px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
