/* ============================================================
   KM MEDIA — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@125,400..900&family=Inter:wght@300;400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  --bg:           #0d0d0d;
  --bg-card:      #141414;
  --bg-card-2:    #1a1a1a;
  --accent:       #00b4d8;
  --accent-dark:  #0090af;
  --accent-dim:   rgba(0, 180, 216, 0.15);
  --accent-glow:  rgba(0, 180, 216, 0.35);
  --text:         #ffffff;
  --text-muted:   #888888;
  --text-dim:     #555555;
  --border:       rgba(0, 180, 216, 0.18);
  --border-subtle: rgba(255,255,255,0.06);
  --nav-height:   72px;
  --radius:       4px;
  --font-head:    'Archivo', sans-serif; /* expanded (wdth 125) to match the KM logo */
  --font-body:    'Inter', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.accent { color: var(--accent); }

.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
}

.glow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 16px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* Full width so the logo sits at the far left edge (lined up with the hero text) */
  padding: 0 48px;
}
@media (max-width: 768px) {
  .nav__inner { padding: 0 20px; }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__logo img {
  height: 38px;
  width: auto;
}
.nav__logo-text span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s;
}
.nav__link:hover, .nav__link.active { color: var(--text); }

.nav__cta {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: all 0.2s;
  margin-left: 8px;
}
.nav__cta:hover {
  background: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav__hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: all 0.25s;
  display: block;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(13,13,13,0.98);
  backdrop-filter: blur(16px);
  padding: 24px;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  padding: 14px 0;
  font-size: 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.nav__mobile .nav__cta {
  margin: 16px 0 0;
  text-align: center;
  padding: 16px;
}

/* Page offset for fixed nav */
.page-content { padding-top: var(--nav-height); }

/* ============================================================
   HERO BANNER
   ============================================================ */

.hero-banner {
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
}
.hero-banner__img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 24px;
}

/* ============================================================
   HERO (legacy — kept for scroll indicator utility)
   ============================================================ */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/logo-banner.png');
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.22) saturate(0.8);
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,13,13,0.7) 0%,
    rgba(13,13,13,0.3) 50%,
    rgba(0,180,216,0.05) 100%
  );
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero__overline {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.2s forwards;
}
.hero__overline::before {
  content: '';
  width: 40px; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.4s forwards;
}

.hero__title .line-accent {
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

.hero__sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.8s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.hero__scroll span {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================================
   TICKER
   ============================================================ */

.ticker {
  background: var(--accent);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}

.ticker__item {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ticker__item::after {
  content: '•';
  color: rgba(0,0,0,0.35);
  font-size: 8px;
}

/* ============================================================
   STATS SCOREBOARD
   ============================================================ */

.stats {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Column count follows the number of stats (set from the admin page) */
.stats__grid--1 { grid-template-columns: 1fr;            max-width: 380px;  margin: 0 auto; }
.stats__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 720px;  margin: 0 auto; }
.stats__grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }

.stats__card {
  background: var(--bg-card);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  transition: background 0.2s;
}
.stats__card:hover { background: var(--bg-card-2); }

.stats__number {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  text-shadow: none;
  position: relative;
  z-index: 1;
}

/* Glow sits directly behind the number — perfectly centered, no box, no outline */
.stats__number::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220%;
  height: 300%;
  background: radial-gradient(ellipse at center, rgba(0,180,216,0.3) 0%, rgba(0,180,216,0.1) 30%, transparent 62%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  border-radius: 50%;
}
.stats__card.counting .stats__number::before {
  opacity: 1;
  transition: opacity 0.2s ease;
}
.stats__card.count-done .stats__number::before {
  opacity: 0;
  transition: opacity 3s ease 0.5s;
}

.stats__suffix {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--accent);
}

.stats__label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================================
   SPORT CATEGORY CARDS
   ============================================================ */

.sports {
  padding: 96px 0;
}

.sports__header {
  margin-bottom: 48px;
}

.sports__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-subtle);
}

.sport-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-top: 3px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sport-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.sport-card:hover {
  background: var(--bg-card-2);
  border-top-color: var(--accent);
}
.sport-card:hover::before { opacity: 1; }

.sport-card__icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: border-color 0.25s;
}
.sport-card:hover .sport-card__icon { border-color: var(--accent); }

.sport-card__name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sport-card__count {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.sport-card__link {
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s;
}
.sport-card:hover .sport-card__link {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   FEATURED WORK
   ============================================================ */

.featured {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
}

.featured__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.featured__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px 200px;
  gap: 4px;
}

.featured__item {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.featured__item:first-child {
  grid-row: 1 / 3;
}

.featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
  filter: brightness(0.8) saturate(0.9);
}
.featured__item:hover .featured__img {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(1);
}

.featured__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-card-2) 0%, #1e2a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-dim);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.featured__placeholder svg { opacity: 0.3; }
.featured__item:hover .featured__placeholder {
  color: var(--text-muted);
  background: linear-gradient(135deg, #1a2a30 0%, #1e3038 100%);
}
.featured__placeholder svg { transition: opacity 0.3s; }
.featured__item:hover .featured__placeholder svg { opacity: 0.5; }

.featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.featured__item:hover .featured__overlay { opacity: 1; }

.featured__tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent);
  color: #000;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(0,180,216,0.10) 20%,
    rgba(0,180,216,0.12) 50%,
    rgba(0,180,216,0.10) 80%,
    var(--bg) 100%
  );
  border-top: 1px solid rgba(0,180,216,0.15);
  border-bottom: 1px solid rgba(0,180,216,0.15);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.cta-banner__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  position: relative;
}

.cta-banner__sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 240px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer__logo img { height: 32px; }
.footer__logo span { color: var(--accent); }

.footer__col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer__col li a:hover { color: var(--accent); }

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer__qr {
  width: 100px;
  border-radius: var(--radius);
}

/* QR — clickable anywhere */
.qr-clickable {
  cursor: zoom-in;
  transition: opacity 0.2s, transform 0.2s;
  display: block;
}
.qr-clickable:hover {
  opacity: 0.88;
  transform: scale(1.04);
}

/* QR Lightbox Modal */
#qr-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
#qr-modal.open {
  opacity: 1;
  pointer-events: all;
}
.qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.qr-modal__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 36px 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  max-width: 460px;
  width: 92vw;
  box-shadow: 0 0 60px rgba(0, 180, 216, 0.12);
}
.qr-modal__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 4px;
}
.qr-modal__close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.qr-modal__close:hover { color: var(--text); }
.qr-modal__label {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.qr-modal__hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: -8px;
}

.footer__ig {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}
.footer__bottom-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: var(--text-muted); }

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */

.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: attr(data-title);
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: clamp(100px, 20vw, 200px);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.025);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.filter-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 9px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  color: var(--text);
  border-color: var(--border);
}
.filter-btn.active {
  color: #000;
  background: var(--accent);
  border-color: var(--accent);
}

.gallery {
  padding: 48px 0 80px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-card);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery__item.hidden {
  display: none;
}

.gallery__item img,
.gallery__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__item img {
  object-fit: contain;
  background: #0a0a0a;
  transition: transform 0.5s ease;
}
.gallery__item:hover img,
.gallery__item:hover .gallery__placeholder { transform: scale(1.06); }

.gallery__placeholder {
  background: linear-gradient(135deg, var(--bg-card-2) 0%, #1a2428 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--text-dim);
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }

.gallery__zoom {
  width: 48px; height: 48px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: rgba(255,255,255,0.8);
}

.gallery__item-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--accent);
  color: #000;
  padding: 3px 8px;
  border-radius: 2px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
  font-family: var(--font-head);
}
.lightbox__close:hover { color: var(--text); }
.lightbox__tag {
  position: absolute;
  bottom: 40px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Lightbox previous / next (portfolio) */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; line-height: 1;
  color: var(--text);
  background: rgba(20,20,20,0.6);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 1;
}
.lightbox__nav:hover { background: var(--accent); color: #000; }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__count {
  position: absolute;
  top: 30px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 34px; top: auto; bottom: 28px; transform: none; }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-hero {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-hero__image {
  position: relative;
}
.about-hero__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.about-hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-hero__accent-bar {
  position: absolute;
  bottom: -20px; left: 20px; right: -20px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.about-hero__name {
  font-family: 'Pacifico', cursive, var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent);
  font-style: italic;
  margin-bottom: 24px;
}
.about-hero__title-role {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-hero__bio {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}
.about-hero__bio p + p { margin-top: 16px; }

.values {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-subtle);
  margin-top: 48px;
}

.value-card {
  background: var(--bg-card);
  padding: 36px 24px;
  transition: background 0.2s;
}
.value-card:hover { background: var(--bg-card-2); }

.value-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.value-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.value-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.instagram-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
.instagram-section__qr {
  width: 160px;
  margin: 32px auto;
  border-radius: 8px;
}
.instagram-section__handle {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.instagram-section__sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ============================================================
   PRICING PAGE
   ============================================================ */

.pricing {
  padding: 80px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-subtle);
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-card {
  background: var(--bg-card);
  padding: 44px 32px;
  position: relative;
  transition: background 0.2s;
}
.pricing-card--featured {
  background: var(--bg-card-2);
  border-top: 3px solid var(--accent);
}
.pricing-card:not(.pricing-card--featured) { border-top: 3px solid transparent; }

.pricing-card__badge {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--accent);
  color: #000;
  padding: 4px 10px;
  border-radius: 2px;
}

.pricing-card__tier {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card__name {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card__price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  margin-top: 12px;
}

.pricing-card__divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: 28px;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.pricing-card__features li::before {
  content: '—';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* À la carte selection card */
.alacarte-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.alacarte-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.alacarte-item:hover { border-color: rgba(0,180,216,0.3); background: var(--bg-card-2); }
.alacarte-item.selected { border-color: var(--accent); background: var(--accent-dim); }
.alacarte-item input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}
.alacarte-item__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.3;
  flex: 1;
}
.alacarte-item.selected .alacarte-item__label { color: var(--text-primary); }
.alacarte-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.5;
}

.pricing-card .btn { width: 100%; justify-content: center; }

.addons {
  padding: 64px 0 80px;
  border-top: 1px solid var(--border-subtle);
}

.addons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-subtle);
  margin-top: 40px;
}

.addon-card {
  background: var(--bg-card);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.2s;
}
.addon-card:hover { background: var(--bg-card-2); }
.addon-card__icon { font-size: 24px; flex-shrink: 0; }
.addon-card__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.addon-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   BOOKING PAGE
   ============================================================ */

.booking {
  padding: 80px 0 120px;
}

.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.booking__info h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  margin-top: 40px;
}
.booking__info h3:first-child { margin-top: 0; }

.booking__contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.booking__contact-item span:first-child { font-size: 18px; }
.booking__contact-item a { color: var(--accent); }

.booking__sports {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.booking__sport-tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card-2);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius);
}

.booking__form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 44px 40px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form__label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form__input,
.form__select,
.form__textarea {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form__select option { background: var(--bg-card); }
.form__textarea { resize: vertical; min-height: 120px; }

.form__submit {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 18px;
  margin-top: 8px;
  letter-spacing: 0.15em;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .featured__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .featured__item:first-child { grid-row: auto; }
  .about-hero { grid-template-columns: 1fr; gap: 48px; }
  .about-hero__image { max-width: 400px; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .sports__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; }
  .addons__grid { grid-template-columns: 1fr; }
  .booking__grid { grid-template-columns: 1fr; }
  .booking__form-card { padding: 28px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .featured__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .sports__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(3.5rem, 18vw, 6rem); }
}

/* ============================================================
   HERO DESIGNED (CSS Recreation)
   ============================================================ */
.hero-designed {
  background:
    radial-gradient(ellipse at 20% 38%, rgba(0,180,216,0.09) 0%, transparent 50%),
    var(--bg);
  position: relative;
  overflow: hidden;
  border-left: none;
  border-right: none;
  display: flex;
  flex-direction: column;
}
/* Left gradient bar */
.hero-designed::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}
/* Right gradient bar + bottom fade overlay */
.hero-designed::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.hd__watermark {
  position: absolute;
  top: 2%;
  left: -1%;
  width: clamp(160px, 26vw, 310px);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: grayscale(1) brightness(4) drop-shadow(0 0 16px rgba(0,180,216,0.6)) drop-shadow(0 0 40px rgba(0,180,216,0.3));
}

.hd__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  position: relative;
  z-index: 1;
  min-height: 300px;
}

.hd__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px 32px 48px;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hd__title {
  /* Wide (expanded) letters to match the proportions of the KM logo */
  font-family: var(--font-head);
  font-stretch: 125%;
  font-variation-settings: 'wdth' 125;
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  font-weight: 900;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow: 0 0 60px var(--accent-glow);
}

.hd__services {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hd__services li {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hd__svc-icon {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.hd__cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Hero feature photo — sits between MEDIA and the QR, edges fade into the background */
.hd__feature {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 35%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 45%, rgba(0,0,0,0.6) 70%, transparent 100%);
          mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 45%, rgba(0,0,0,0.6) 70%, transparent 100%);
}
@media (max-width: 1100px) {
  .hd__feature { left: 44%; width: 40%; }
}
/* Hero photos uploaded from admin are already cropped to fit this spot — never trim them */
.hd__feature.is-custom { object-fit: contain; object-position: 50% 50%; }

.hd__right {
  position: relative;
  overflow: hidden;
}

.hd__photo-wrap {
  position: absolute;
  inset: 0;
}

.hd__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.45) grayscale(0.3);
}

/* Fallback when logo-square.png isn't placed yet */
.hd__photo-wrap {
  background: linear-gradient(135deg, #0d1a1f 0%, #0a1015 100%);
}

.hd__photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(13,13,13,1) 0%, rgba(13,13,13,0.82) 15%, rgba(13,13,13,0.3) 42%, transparent 62%),
    linear-gradient(to bottom, transparent 40%, rgba(13,13,13,0.5) 100%),
    linear-gradient(135deg, rgba(0,180,216,0.14) 0%, rgba(0,180,216,0.06) 40%, rgba(13,13,13,0.35) 100%);
}

.hd__right-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 28px 24px 20px;
}

.hd__signature {
  font-family: 'Pacifico', cursive, var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.9rem);
  color: var(--accent);
  text-align: right;
  text-shadow: 0 0 20px var(--accent-glow);
  line-height: 1;
}

.hd__follow {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.hd__follow-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hd__handle {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hd__qr {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 6px;
}

.hd__ig-note {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: right;
  line-height: 1.5;
}

.hd__sports-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 1;
}

.hd__sports-bar span {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hd__bull {
  color: var(--accent) !important;
  font-size: 7px !important;
}

/* ============================================================
   FEATURED CAROUSEL
   ============================================================ */
.featured-carousel {
  overflow: hidden;
  position: relative;
  margin: 0 -24px;
  padding: 0 24px;
}

.featured-carousel::before,
.featured-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.featured-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.featured-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.featured-track {
  display: flex;
  gap: 12px;
  align-items: center;
  will-change: transform;
  padding: 12px 0;
}

.fc__item {
  position: relative;
  margin: 0;
  flex: 0 0 280px;
  height: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc__item--large {
  flex: 0 0 380px;
  height: 280px;
}

.fc__item:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px -20px var(--accent-glow);
}

/* Real photos: tile width follows the photo's shape so nothing is cropped */
.fc__item:has(> img) { flex: 0 0 auto; }
.fc__item img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.fc__item:hover img { transform: scale(1.05); }

.fc__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-card-2) 0%, #1a2428 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-dim);
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fc__tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--accent);
  color: #000;
  padding: 3px 9px;
  border-radius: 2px;
  pointer-events: none;
}

.fc__controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.fc__controls .btn {
  padding: 9px 18px;
  font-size: 13px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .fc__controls { gap: 6px; }
  .fc__controls .btn { padding: 9px 10px; font-size: 11px; letter-spacing: 0.04em; flex-shrink: 0; }
}

/* ============================================================
   IMAGE PROTECTION
   ============================================================ */
img, video {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.no-download {
  pointer-events: none;
}

/* Gallery/carousel items need pointer events for click-to-view */
.gallery__item,
.fc__item,
.featured__item {
  pointer-events: auto;
}
.gallery__item img,
.fc__item img,
.featured__item img {
  pointer-events: none;
}

/* ============================================================
   HERO DESIGNED — RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hd__grid { grid-template-columns: 1fr; }
  .hd__right { min-height: 280px; }
  .hd__feature { top: auto; left: -18%; width: 90%; height: 300px; object-position: 52% 30%; }
  .hd__feature.is-custom { object-position: 50% 50%; }
  .hd__left { padding: 32px 24px 24px; }
  .hd__title { font-size: clamp(2.4rem, 13vw, 4.4rem); }
  .hd__sports-bar { gap: 8px; }
}

/* ============================================================
   GRADIENT SECTION TRANSITIONS
   ============================================================ */

/* Bottom fade on hero — blends into stats section */
.hd__sports-bar {
  position: relative;
  padding-bottom: 36px;
}
.hd__sports-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 5;
}

/* Stats — replace hard bottom border with gradient fade */
.stats {
  border-bottom: none;
  position: relative;
}
.stats::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 25%, var(--border-subtle) 75%, transparent);
}

/* Featured — replace hard top border with gradient fade */
.featured {
  border-top: none;
  position: relative;
}
.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 25%, var(--border-subtle) 75%, transparent);
}

/* Footer — gradient top border instead of hard line */
.footer {
  border-top: none;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle) 20%, var(--accent-dim) 50%, var(--border-subtle) 80%, transparent);
}

/* Hero QR — slightly larger zoom on hover to make it more noticeable */
.hd__qr.qr-clickable:hover {
  transform: scale(1.1);
}

/* ============================================================
   DEMO REEL (home page)
   ============================================================ */
.reel {
  padding: 72px 0 24px;
}
.reel__header {
  margin-bottom: 28px;
}
.reel__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(0, 180, 216, 0.08);
}
.reel__frame iframe,
.reel__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.reel__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(0, 180, 216, 0.12) 0%, transparent 65%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0 14px, transparent 14px 28px);
}
.reel__play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}
.reel__soon {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.reel__sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 420px;
}
@media (max-width: 768px) {
  .reel { padding: 48px 0 8px; }
  .reel__play { width: 56px; height: 56px; }
  .reel__play svg { width: 22px; height: 22px; }
}

/* Stats: keep a single stat full-width on small screens */
@media (max-width: 1024px) {
  .stats__grid.stats__grid--1 { grid-template-columns: 1fr; }
}
/* 3 stats in a 2-column layout: let the last one fill the row instead of leaving a gap */
@media (max-width: 768px) {
  .stats__grid--3 .stats__card:last-child { grid-column: 1 / -1; }
}
