/* =========================================================
   Friends Badminton Club — glamorous dark/gold theme
   ========================================================= */
:root {
  --bg: #07090f;
  --bg-2: #0c1020;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(232, 193, 92, 0.18);
  --gold: #e8c15c;
  --gold-deep: #c9992e;
  /* liquid-metal gold: alternating light/dark bands read as polished metal */
  --gold-grad: linear-gradient(105deg,
    #a4791f 0%, #f8ecc2 18%, #fffbe8 25%, #e8c15c 36%,
    #9a7422 52%, #f5e3a0 68%, #fffdf4 74%, #c9992e 88%, #8a6a1f 100%);
  --cream: #f7f3e8;
  --muted: #9aa3b8;
  --teal: #2dd4bf;
  --rose: #fb7185;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}
/* glamour: periodic shine sweep across gold buttons */
.btn--gold::after {
  content: "";
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 38%;
  left: -55%;
  transform: skewX(-18deg);
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: sheen 4.8s ease-in-out infinite;
}
@keyframes sheen {
  0%, 55%   { left: -55%; }
  85%, 100% { left: 135%; }
}
.btn--gold {
  /* beveled metal: bright top edge, dark mid seam, warm reflected base */
  background: linear-gradient(180deg,
    #fbf3d5 0%, #efce74 14%, #d9ab3f 46%, #b8890f 54%, #dfb44e 84%, #f4e3a6 100%);
  color: #14100a;
  box-shadow:
    0 8px 28px rgba(232, 193, 92, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -2px 5px rgba(110, 80, 15, 0.45);
  text-shadow: 0 1px 0 rgba(255, 250, 230, 0.55);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 38px rgba(232, 193, 92, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 5px rgba(110, 80, 15, 0.45);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--gold);
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(232, 193, 92, 0.08);
  transform: translateY(-3px);
}
.btn--sm { padding: 0.65rem 1.5rem; font-size: 0.85rem; }
.btn--full { width: 100%; font-family: var(--font-body); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.nav--scrolled {
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.65rem 0;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(232, 193, 92, 0.1);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.65rem; }
.nav__logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
  transition: height 0.4s;
}
.nav--scrolled .nav__logo { height: 38px; }
.nav__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav__name em {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover, .nav__link--active { color: var(--cream); }
.nav__link:hover::after, .nav__link--active::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.4rem; padding: 0.6rem 1.4rem; font-size: 0.85rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  z-index: 102;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* leave room for the highlights ribbon inside the first viewport */
  min-height: calc(100vh - 60px);
  min-height: calc(100svh - 60px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(37, 45, 88, 0.55), transparent 65%),
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(84, 60, 12, 0.35), transparent 65%),
    var(--bg);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite alternate;
}
.hero__orb--1 { width: 420px; height: 420px; top: -120px; right: -80px; background: rgba(72, 88, 190, 0.35); }
.hero__orb--2 { width: 340px; height: 340px; bottom: -100px; left: -90px; background: rgba(201, 153, 46, 0.28); animation-delay: -5s; }
.hero__orb--3 { width: 220px; height: 220px; top: 40%; left: 55%; background: rgba(45, 212, 191, 0.14); animation-delay: -9s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.12); }
}
.hero__court {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
}
.hero__court svg { width: 100%; height: 100%; }
/* broadcast-camera angle: court and rally share the exact same projection,
   so the shuttle's flight stays glued to the tilted court plane */
.hero__court svg,
.hero__rally-layer svg {
  transform: perspective(1300px) rotateX(33deg) scale(1.14);
  transform-origin: 50% 62%;
}
.hero__court svg {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 88%, rgba(0, 0, 0, 0.35) 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 88%, rgba(0, 0, 0, 0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 5rem;
  max-width: 780px;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero__title em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin: 1.6rem 0 2.4rem;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__crest {
  position: absolute;
  right: 13%;
  top: 30%;
  /* sized to sit in the band between the nav and the headline */
  width: clamp(150px, 13vw, 200px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  z-index: 1;
  animation: floatCrest 6s ease-in-out infinite;
}
.hero__crest img {
  position: relative;
  z-index: 2;
  width: 72%;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 26px rgba(232, 193, 92, 0.3));
}
/* 3D medallion canvas fills the crest slot */
.hero__medallion {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.hero__medallion canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 30px rgba(232, 193, 92, 0.25));
}
.hero__medallion img { /* WebGL fallback */
  width: 72%;
  margin: 14% auto 0;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 26px rgba(232, 193, 92, 0.3));
}
/* pulsing halo behind the crest */
.hero__crest-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(232, 193, 92, 0.26);
  background: radial-gradient(circle, rgba(232, 193, 92, 0.15) 0%, transparent 62%);
  animation: crestPulse 3.2s ease-in-out infinite;
}
/* bright arc sweeping around the edge */
.hero__crest-ring {
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  background: conic-gradient(
    transparent 0deg, transparent 280deg,
    rgba(248, 236, 194, 0.95) 322deg,
    rgba(201, 153, 46, 0.2) 356deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
  animation: crestRing 3.4s linear infinite;
}
/* twinkling sparkles */
.hero__crest-spark {
  position: absolute;
  color: var(--gold);
  font-size: 0.95rem;
  z-index: 3;
  animation: crestTwinkle 2.6s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(232, 193, 92, 0.8);
}
.hero__crest-spark--1 { top: 5%; left: 9%; }
.hero__crest-spark--2 { bottom: 9%; right: 5%; font-size: 0.7rem; animation-delay: -1.3s; }

@keyframes floatCrest {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-20px) rotate(2deg); }
}
@keyframes crestPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.97); }
  50%      { opacity: 1; transform: scale(1.05); }
}
@keyframes crestRing {
  to { transform: rotate(360deg); }
}
@keyframes crestTwinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50%      { opacity: 1; transform: scale(1.2); }
}

.hero__scroll {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid var(--line);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}
.hero__scroll-dot {
  width: 4px; height: 8px;
  border-radius: 999px;
  background: var(--gold);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* liquid-metal shimmer: the gradient bands slide across big display text */
.hero__title em,
.section__title em,
.stat__num, .stat__plus,
.sponsorgroup__title span {
  background-size: 220% auto;
  animation: chromeShift 7s linear infinite;
}
@keyframes chromeShift {
  to { background-position: 220% center; }
}

/* 3D tilt + specular glare (JS drives --gx/--gy and the transform) */
.tilt { position: relative; }
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 244, 214, 0.16), rgba(255, 255, 255, 0.05) 35%, transparent 62%);
  transition: opacity 0.35s;
  z-index: 3;
}
.tilt:hover::after { opacity: 1; }

/* entrance animations */
.anim {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.9s var(--ease) forwards;
}
.anim-d1 { animation-delay: 0.15s; }
.anim-d2 { animation-delay: 0.3s; }
.anim-d3 { animation-delay: 0.45s; }
.anim-d4 { animation-delay: 0.6s; }
.anim-d5 { animation-delay: 0.75s; }
.anim-d6 { animation-delay: 0.95s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero__title .anim { display: inline-block; }

/* ---------- Ribbon marquee ---------- */
.ribbon {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(232, 193, 92, 0.04);
  padding: 0.9rem 0;
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.ribbon__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  white-space: nowrap;
}
.ribbon__track i { color: rgba(232, 193, 92, 0.5); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section--alt {
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(37, 45, 88, 0.35), transparent 60%),
    var(--bg-2);
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.8rem; }
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.15;
}
.section__title em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__sub { margin-top: 1rem; color: var(--muted); font-weight: 300; }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.lead { font-size: 1.12rem; font-weight: 400; margin-bottom: 1.2rem; }
.about__text p { color: var(--muted); font-weight: 300; }
.about__text .lead { color: var(--cream); }
.about__values { list-style: none; margin-top: 1.8rem; display: grid; gap: 0.8rem; }
.about__values li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--muted);
  font-weight: 300;
}
.about__values li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.about__values strong { color: var(--cream); font-weight: 600; }

.about__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.about__card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.5rem;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.about__card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.about__card--big { grid-column: 1 / -1; padding: 2rem; }
.about__card svg { width: 44px; height: 44px; margin-bottom: 1rem; }
.about__card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.about__card p { color: var(--muted); font-size: 0.92rem; font-weight: 300; }

.stats {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.1rem;
  text-align: center;
}
.stat {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.8rem 1rem;
}
.stat__num, .stat__plus {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat p { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.3rem; }

/* ---------- Tournament cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 2.1rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold-grad);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.card:hover::before { opacity: 1; }
.card__badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}
.card__badge--teal { color: var(--teal); border-color: rgba(45, 212, 191, 0.35); }
.card__badge--rose { color: var(--rose); border-color: rgba(251, 113, 133, 0.35); }
.card__badge--done { color: var(--muted); border-color: rgba(154, 163, 184, 0.35); background: rgba(154, 163, 184, 0.08); }

/* past tournaments: muted card, registration closed */
.card--past { opacity: 0.72; }
.card--past .card__date span { color: var(--muted); }
.card--past h3 {
  background: none;
  -webkit-text-fill-color: currentcolor;
  color: var(--muted);
}
.btn--disabled {
  background: rgba(154, 163, 184, 0.1);
  color: var(--muted);
  border: 1px solid rgba(154, 163, 184, 0.25);
  cursor: not-allowed;
  box-shadow: none;
}
.btn--disabled:hover { transform: none; box-shadow: none; }
.card__date {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card__date span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0;
  text-transform: none;
}
.card h3 { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.25; }
.card > p { color: var(--muted); font-size: 0.93rem; font-weight: 300; flex-grow: 1; }
.card__meta { list-style: none; display: grid; gap: 0.35rem; font-size: 0.88rem; color: var(--muted); }
.card .btn { align-self: flex-start; margin-top: 0.4rem; }

.honours {
  margin-top: 3.2rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 1rem 1.6rem;
  color: var(--muted);
  font-weight: 300;
}
.honours em {
  font-family: var(--font-display);
  color: var(--gold);
  font-style: italic;
  margin-right: 0.4rem;
}

/* ---------- Events ---------- */
.events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.event {
  display: flex;
  gap: 1.3rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 1.9rem;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.event:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}
.event__icon {
  font-size: 1.9rem;
  flex-shrink: 0;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  background: rgba(232, 193, 92, 0.08);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.event__when {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.event h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.4rem; }
.event p { color: var(--muted); font-size: 0.93rem; font-weight: 300; }

/* ---------- Courts & Sessions ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 3.6rem;
}
.feature {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.7rem;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--line); }
.feature span { font-size: 1.7rem; display: block; margin-bottom: 0.8rem; }
.feature h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.3rem; }
.feature p { color: var(--muted); font-size: 0.88rem; font-weight: 300; }

.timetable {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 2.2rem;
}
.timetable__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  text-align: center;
}
.timetable__scroll { overflow-x: auto; }
.timetable table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.timetable th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
}
.timetable td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.93rem;
  color: var(--muted);
  font-weight: 300;
}
.timetable td:first-child { color: var(--cream); font-weight: 500; }
.timetable tbody tr { transition: background 0.3s; }
.timetable tbody tr:hover { background: rgba(232, 193, 92, 0.05); }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.tag--all { color: var(--gold); background: rgba(232, 193, 92, 0.1); }
.tag--adv { color: var(--rose); background: rgba(251, 113, 133, 0.12); }
.tag--junior { color: var(--teal); background: rgba(45, 212, 191, 0.12); }
.timetable__note {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact__form {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 2.3rem;
  display: grid;
  gap: 1.2rem;
}
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.field select option { background: var(--bg-2); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: rgba(154, 163, 184, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 193, 92, 0.15);
}
.field textarea { resize: vertical; }
.contact__success {
  color: var(--teal);
  font-size: 0.95rem;
  text-align: center;
  animation: rise 0.6s var(--ease);
}

.contact__info { display: grid; gap: 1.1rem; }
.info {
  display: flex;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.5rem;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.info:hover { transform: translateX(6px); border-color: var(--line); }
.info__icon {
  font-size: 1.4rem;
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(232, 193, 92, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.info h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.2rem; }
.info p { color: var(--muted); font-size: 0.9rem; font-weight: 300; }
.info a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(232, 193, 92, 0.12);
  background: var(--bg-2);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2rem;
}
.footer__logo {
  height: 68px;
  width: auto;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}
.footer__brand p { color: var(--muted); font-size: 0.88rem; font-weight: 300; margin-top: 0.4rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__links a { font-size: 0.88rem; color: var(--muted); transition: color 0.3s; }
.footer__links a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.3s, transform 0.3s;
}
.footer__social a:hover { background: rgba(232, 193, 92, 0.1); transform: translateY(-3px); }
.footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 1.2rem 0;
}
.footer__base p { color: var(--muted); font-size: 0.8rem; font-weight: 300; }

/* ---------- Back to top ---------- */
.totop {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s, background 0.3s;
  z-index: 90;
}
.totop--show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop:hover { background: rgba(232, 193, 92, 0.12); }

/* ---------- Rally overlay (players + shuttle) ----------
   A separate SVG with the same viewBox/alignment as the court, so its
   coordinates line up with the court lines exactly. Layered BEHIND the
   headline text (content z 2) so the rally never covers the letters. */
.hero__rally-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__rally-layer svg { width: 100%; height: 100%; }
.hero__rally-layer .rally-shuttle {
  opacity: 0.95;
  filter: drop-shadow(0 6px 14px rgba(232, 193, 92, 0.45));
}
.hero__rally-layer .rally-player {
  opacity: 0.92;
  filter: drop-shadow(0 8px 14px rgba(232, 193, 92, 0.28));
}

/* ---------- Gallery (home) ---------- */
.albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.album {
  display: block;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.album:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.album__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37, 45, 88, 0.6), rgba(84, 60, 12, 0.4));
}
.album__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.album:hover .album__cover img { transform: scale(1.06); }
.album__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 3rem;
  opacity: 0.6;
}
.album__count {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  background: rgba(7, 9, 15, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.album h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  padding: 1.1rem 1.3rem 0.2rem;
}
.album p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
  padding: 0 1.3rem 1.2rem;
}
.album h3:last-child { padding-bottom: 1.2rem; }

/* ---------- Album page ---------- */
.albumpage { padding: 10rem 0 6rem; min-height: 60vh; }
.albumpage__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.albumpage__back {
  display: inline-block;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
  transition: transform 0.3s var(--ease);
}
.albumpage__back:hover { transform: translateX(-4px); }
.albumpage__meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.mediagrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.mediatile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  padding: 0;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.mediatile:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.mediatile img, .mediatile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.mediatile:hover img, .mediatile:hover video { transform: scale(1.05); }
.mediatile__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
}
.mediatile__play::before {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(7, 9, 15, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.mediatile__play { text-indent: 4px; }
.mediatile__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(7, 9, 15, 0.85));
  color: var(--cream);
  font-size: 0.8rem;
  text-align: left;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 5, 9, 0.94);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* display:flex above would defeat the hidden attribute — restore it */
.lightbox[hidden] { display: none !important; }
.lightbox__stage {
  max-width: min(1100px, 88vw);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.lightbox__stage img, .lightbox__stage video {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__stage iframe {
  width: min(1000px, 86vw);
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__cap { color: var(--muted); font-size: 0.9rem; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s;
  z-index: 2;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(232, 193, 92, 0.15); }
.lightbox__close { top: 1.4rem; right: 1.4rem; width: 46px; height: 46px; font-size: 1.1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.8rem; }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }

/* ---------- Promotions banner (homepage) ---------- */
.promobar {
  padding: 2.2rem 0 0;
}
.promo {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: linear-gradient(120deg, rgba(232, 193, 92, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
}
.promo__img {
  width: 110px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.promo__body { flex-grow: 1; }
.promo__tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-bottom: 0.35rem;
}
.promo__body h3 { font-family: var(--font-display); font-size: 1.15rem; }
.promo__body p { color: var(--muted); font-size: 0.9rem; font-weight: 300; margin-top: 0.15rem; }
.promo__cta { flex-shrink: 0; }

/* ---------- Sponsors (homepage section) ---------- */
.sponsorshome__event {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin: -1.2rem 0 1.8rem;
}
.sponsorshome {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}
.sponsorcard {
  width: 240px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.sponsorcard:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.sponsorcard__cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(37, 45, 88, 0.5), rgba(84, 60, 12, 0.35));
  display: grid;
  place-items: center;
  font-size: 2rem;
  overflow: hidden;
}
.sponsorcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.sponsorcard__body { padding: 0.9rem 1.1rem 1.1rem; }
.sponsorcard__tier {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.sponsorcard__body h3 { font-family: var(--font-display); font-size: 1.05rem; margin-top: 0.15rem; }
.sponsorshome__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

/* ---------- Sponsors page ---------- */
.sponsorgroup { margin-bottom: 4rem; }
.sponsorgroup__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.sponsorgroup__title::before, .sponsorgroup__title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 193, 92, 0.35), transparent);
}
.sponsorgroup__title span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.sponsorgroup__desc {
  text-align: center;
  color: var(--muted);
  font-weight: 300;
  margin: -0.8rem 0 1.6rem;
}
/* tier category headings — metallic treatments by tier name */
.sponsortier {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.2rem 0 1.1rem;
}
.sponsortier::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--tier-line, rgba(232, 193, 92, 0.3)), transparent);
}
.sponsortier__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--tier-line, rgba(232, 193, 92, 0.35));
  color: var(--tier-color, var(--gold));
  background: var(--tier-bg, rgba(232, 193, 92, 0.07));
  white-space: nowrap;
}
.tier--title {
  --tier-color: #14100a;
  --tier-line: rgba(248, 236, 194, 0.6);
  --tier-bg: linear-gradient(120deg, #f8ecc2, #e8c15c 45%, #c9992e);
}
.tier--title .sponsortier__label { box-shadow: 0 6px 22px rgba(232, 193, 92, 0.35); }
.tier--platinum {
  --tier-color: #eef1f6;
  --tier-line: rgba(223, 227, 234, 0.5);
  --tier-bg: rgba(223, 227, 234, 0.08);
}
.tier--gold {
  --tier-color: var(--gold);
  --tier-line: rgba(232, 193, 92, 0.4);
  --tier-bg: rgba(232, 193, 92, 0.08);
}
.tier--silver {
  --tier-color: #b8c0cc;
  --tier-line: rgba(184, 192, 204, 0.4);
  --tier-bg: rgba(184, 192, 204, 0.08);
}
.tier--bronze {
  --tier-color: #d9a06b;
  --tier-line: rgba(217, 160, 107, 0.4);
  --tier-bg: rgba(217, 160, 107, 0.08);
}
.sponsorpost {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 2rem;
  margin-bottom: 1.4rem;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.sponsorpost:hover { border-color: var(--line); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35); }
.sponsorpost__info { max-width: 720px; margin-bottom: 1.4rem; }
.sponsorpost__tier {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--line);
  background: rgba(232, 193, 92, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.7rem;
}
.sponsorpost__info h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 0.4rem; }
.sponsorpost__info p { color: var(--muted); font-weight: 300; }
.sponsorpost__links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.sponsorpost__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  transition: background 0.3s, transform 0.3s;
}
.sponsorpost__links a:hover { background: rgba(232, 193, 92, 0.1); transform: translateY(-2px); }
.mediagrid--sponsor { grid-template-columns: repeat(4, 1fr); }
.mediagrid--sponsor .mediatile { aspect-ratio: 16 / 10; }

/* ---------- Sponsor tiles (public sponsors page) ---------- */
.sponsortiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.3rem;
  margin-bottom: 2.2rem;
}
.sponsortile {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.sponsortile:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}
.sponsortile__cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.sponsortile__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.sponsortile__cover:hover img { transform: scale(1.05); }
.sponsortile__zoom {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  background: rgba(7, 9, 15, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s;
}
.sponsortile__cover:hover .sponsortile__zoom { opacity: 1; }
.sponsortile__body {
  padding: 1.2rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.sponsortile__body h3 { font-family: var(--font-display); font-size: 1.4rem; }
.sponsortile__desc {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sponsortile__desc.open { display: block; -webkit-line-clamp: unset; }
.sponsortile__more {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0;
  text-align: left;
  width: fit-content;
}
.sponsortile__more:hover { text-decoration: underline; }
.sponsortile__thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sponsortile__thumb {
  width: 66px;
  height: 66px;
  aspect-ratio: auto;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: zoom-in;
  position: relative;
  background: var(--bg-2);
}
.sponsortile__thumb img, .sponsortile__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sponsortile__thumb .mediatile__play { font-size: 0.75rem; }
.sponsortile__thumb .mediatile__play::before { width: 30px; height: 30px; }
.sponsorcta {
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 22px;
  padding: 2.6rem 1.6rem;
  margin-top: 2.5rem;
}
.sponsorcta h2 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 0.5rem; }
.sponsorcta p { color: var(--muted); font-weight: 300; max-width: 480px; margin: 0 auto 1.4rem; }

/* ---------- Empty states & form error ---------- */
.empty {
  text-align: center;
  color: var(--muted);
  font-weight: 300;
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 2.2rem 1.6rem;
}
.contact__error {
  color: var(--rose);
  font-size: 0.92rem;
  text-align: center;
  animation: rise 0.5s var(--ease);
}

/* ---------- Alignment polish ---------- */
.hero__content { max-width: 700px; }
@media (max-width: 1200px) {
  .hero__crest { right: 6%; top: 25%; width: clamp(150px, 15vw, 195px); opacity: 0.9; }
}
.section__head { margin-bottom: 3.5rem; }
.card h3, .event h3 { letter-spacing: 0.01em; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .albums { grid-template-columns: 1fr 1fr; }
  .mediagrid { grid-template-columns: 1fr 1fr; }
  .mediagrid--sponsor { grid-template-columns: 1fr 1fr; }
  .promo { flex-wrap: wrap; }
  .promo__cta { width: 100%; text-align: center; }
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__links, .footer__social { justify-content: center; }
  .footer__logo { margin-inline: auto; }
}

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(7, 9, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 101;
  }
  .nav__links--open { opacity: 1; pointer-events: auto; }
  .nav__link { font-size: 1.3rem; }
  .nav__cta { margin: 0; }
  /* the entrance animation's "forwards" fill pins opacity at 1 — disable it so the fade works */
  .hero__crest {
    right: 5%;
    top: 12%;
    width: clamp(110px, 24vw, 150px);
    opacity: 0.4;
    animation: none !important;
    transform: none !important;
  }
  .hero__crest-spark { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 4.5rem 0; }
  /* phone hero: medallion as a centered emblem above centered text */
  .hero__content { padding: 14rem 0 4.5rem; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__crest {
    animation: none !important;
    transform: none !important;
    opacity: 1;
    top: 86px;
    left: 50%;
    right: auto;
    width: 110px;
    margin-left: -55px;
  }
  .about__visual { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .events { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact__form { padding: 1.6rem; }
  .timetable { padding: 1.4rem; }
  .nav__name { font-size: 1rem; }
  .honours { border-radius: 20px; }
  .albums { grid-template-columns: 1fr; }
  .mediagrid { grid-template-columns: 1fr; gap: 0.9rem; }
  .albumpage { padding: 8rem 0 4rem; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hero__orb, .hero__crest, .ribbon__track, .hero__scroll-dot { animation: none !important; }
  .hero__crest-halo, .hero__crest-ring, .hero__crest-spark, .btn--gold::after { animation: none !important; }
  .hero__title em, .section__title em, .stat__num, .stat__plus, .sponsorgroup__title span { animation: none !important; }
  .hero__rally-layer { display: none; }
}
