:root {
  --bg: #0c0c0e;
  --surface: #141416;
  --elevated: #1c1c20;
  --fg: #f4f1ea;
  --muted: #a39e94;
  --primary: #dc2828;
  --deep: #8e1616;
  --gold: #f0c14b;
  --line: #2c2c31;
  --display: "Oswald", sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --wrap: 72rem;
  --header: 4rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.55;
}

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

::selection { background: var(--primary); color: var(--fg); }

[id] { scroll-margin-top: 5rem; }

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.fire {
  background-image: linear-gradient(120deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-size: 0.85rem;
}

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  border-radius: 0.5rem;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-fire {
  background-image: linear-gradient(135deg, var(--primary), var(--deep));
  color: var(--fg);
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--primary) 70%, transparent);
}

.btn-ghost {
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: var(--fg); }
.btn-block { width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--wrap), calc(100% - 2rem));
}

.brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 1.2rem; }
.brand img { width: 40px; height: 40px; }
.brand span { color: var(--primary); }

.nav { display: none; align-items: center; gap: 1rem; }
.nav a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.nav a:hover { color: var(--primary); }
.nav .btn { min-height: 2.4rem; padding: 0.4rem 0.9rem; font-size: 0.75rem; }

.menu-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header);
  left: 0; right: 0;
  z-index: 39;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
}
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 0.8rem 0.4rem; font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 1.1rem; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), color-mix(in srgb, var(--bg) 75%, transparent) 45%, color-mix(in srgb, var(--bg) 25%, transparent));
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: 4.5rem; padding-top: 7rem; }
.hero h1 { font-size: clamp(3.4rem, 10vw, 6.5rem); }
.quote { margin: 1.2rem 0 0; font-size: clamp(1.2rem, 2vw, 1.6rem); font-style: italic; color: var(--gold); }
.lede { max-width: 34rem; color: var(--muted); margin: 1rem 0 0; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

section { padding: 5rem 0; }
.surface { background: var(--surface); }
.elevated { background: var(--elevated); border-block: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }

.split { display: grid; gap: 3rem; align-items: center; }
.stack { display: grid; gap: 0.9rem; }
.coach { width: 100%; border-radius: 0.75rem; border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent); box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--primary) 70%, transparent); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pair img, .cover, .shot, .tile img, .g-item img, .day img, .team-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 0.6rem;
}
.pair img { aspect-ratio: 4/3; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }

.phone { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--primary); font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; }

.cards { display: grid; gap: 1.4rem; }
.card, .tile, .stat, .review, .contact-link, .note, .banner, .day {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: 0.75rem;
  overflow: hidden;
}
.card img, .mark { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.mark { display: grid; place-items: center; background: var(--elevated); }
.mark img { width: 6rem; height: 6rem; aspect-ratio: auto; }
.card div, .tile div, .day div { padding: 1rem 1.1rem 1.2rem; }
.card h3, .tile h3, .day h3 { font-size: 1.15rem; }
.card p, .tile p, .day p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }

.banner { padding: 2rem 1.4rem; text-align: center; margin-top: 2.2rem; background: var(--surface); }

.challenge-btn { position: relative; display: block; width: 100%; padding: 0; border-radius: 1rem; overflow: hidden; border: 2px solid color-mix(in srgb, var(--primary) 35%, transparent); }
.challenge-btn img { width: 100%; max-height: 32rem; object-fit: cover; }
.challenge-btn span {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(to top, var(--bg), transparent);
}

.achievers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 1.5rem; }
.achievers img { aspect-ratio: 3/4; width: 100%; object-fit: cover; border-radius: 0.6rem; border: 2px solid color-mix(in srgb, var(--primary) 40%, transparent); }

.motto { max-width: 52rem; margin-inline: auto; text-align: center; }
.motto h2 { font-size: clamp(1.7rem, 4vw, 3rem); }
.tag { margin-top: 1.4rem; font-family: var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); font-size: 0.85rem; }

.banner-photo { position: relative; border-radius: 1rem; overflow: hidden; border: 2px solid color-mix(in srgb, var(--primary) 40%, transparent); margin: 2rem auto; }
.banner-photo img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.banner-photo figcaption {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-grid, .sprint, .stats, .gallery, .reviews, .contact-grid, .place { display: grid; gap: 1rem; }
.team-card { position: relative; border-radius: 0.8rem; overflow: hidden; border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.team-card img { aspect-ratio: 3/4; border-radius: 0; }
.team-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, var(--bg), transparent);
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tile img { aspect-ratio: 1; border-radius: 0; }
.wide { width: 100%; height: auto; border-radius: 0.75rem; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
.card-text { display: flex; align-items: center; min-height: 100%; }
.card-text div { padding: 2rem 1.2rem; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1rem; }
.pills span { border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); background: var(--bg); border-radius: 999px; padding: 0.7rem 1.3rem; font-family: var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.stat { background: var(--bg); text-align: center; padding: 1.4rem 0.8rem; }
.stat b { display: block; font-family: var(--display); font-size: 2rem; color: var(--gold); font-weight: 600; }
.stat span { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

.g-item { padding: 0; border-radius: 0.6rem; overflow: hidden; border: 1px solid var(--line); }
.g-item img { aspect-ratio: 1; border-radius: 0; }

.panel { max-width: 36rem; margin: 0 auto 2.5rem; background: var(--bg); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); border-radius: 0.75rem; padding: 1.4rem; }
.stars { display: flex; justify-content: center; gap: 0.2rem; margin-bottom: 0.8rem; }
.stars button { width: 2.75rem; height: 2.75rem; font-size: 1.4rem; color: var(--muted); }
.stars button.on { color: var(--gold); }
label.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
input, textarea {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: var(--elevated);
  color: var(--fg);
}
.panel input, .panel textarea { background: var(--surface); }
input:focus, textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
textarea { resize: vertical; }
.review { background: var(--bg); padding: 1.1rem 1.2rem; }
.review .who { font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; margin: 0.7rem 0 0; }
.review .when { color: var(--muted); font-size: 0.75rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 0.7rem; margin-top: 1rem; }
.pager button { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 0.5rem; }
.pager button:disabled { opacity: 0.4; }

.note { background: color-mix(in srgb, var(--primary) 12%, var(--surface)); text-align: center; padding: 1.2rem; margin-bottom: 2rem; }
.contact-link { display: flex; gap: 0.9rem; align-items: center; padding: 1rem; background: transparent; }
.contact-link strong { display: block; font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.map { width: 100%; min-height: 22rem; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); border-radius: 0.75rem; }
.caption { color: var(--muted); font-size: 0.75rem; padding: 0.45rem 0.7rem 0.6rem; }

.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 5.5rem; }
.foot { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; }
.socials { display: flex; gap: 0.4rem; }
.socials a { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: var(--muted); }
.socials a:hover { color: var(--primary); }
.copy { text-align: center; color: var(--muted); font-size: 0.75rem; margin: 1.4rem 0 0; }

.fab {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 40;
  border-radius: 999px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  overflow: auto;
  padding: 1.2rem;
}
.modal[hidden] { display: none; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.icon-btn { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 0.5rem; }
.days { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.day { position: relative; background: var(--surface); }
.day img { aspect-ratio: 1; border-radius: 0; }
.day .num { position: absolute; top: 0; left: 0; background: var(--fg); color: var(--bg); font-family: var(--display); font-size: 0.75rem; padding: 0.25rem 0.45rem; }
.lightbox { display: grid; place-items: center; }
.lightbox img { max-height: 85vh; max-width: min(100%, 1100px); object-fit: contain; border-radius: 0.6rem; }
.lightbox .icon-btn { position: absolute; top: 1rem; right: 1rem; }

@media (min-width: 720px) {
  .split, .place, .contact-grid { grid-template-columns: 1fr 1fr; }
  .cards, .team-grid { grid-template-columns: 1fr 1fr; }
  .sprint, .stats { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .achievers { grid-template-columns: repeat(5, 1fr); }
  .days { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1080px) {
  .cards, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .nav { display: flex; }
  .menu-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
