@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;700;900&display=swap");

:root {
  --ink: #111217;
  --muted: #5d636f;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --charcoal: #17181c;
  --charcoal-2: #24262d;
  --red: #f3122a;
  --red-dark: #dc0000;
  --gold: #999999;
  --line: rgba(17, 18, 23, 0.12);
  --shadow: 0 22px 60px rgba(17, 18, 23, 0.18);
  --radius: 6px;
  --radius-sm: 4px;
  --shell: min(1200px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "Figtree", Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.top-bar {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 60;
  width: 100%;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 0.86rem;
}

.top-bar .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 8px 0;
}

.top-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  position: absolute;
  top: 38px;
  left: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 70px;
  max-width: 220px;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.brand span {
  display: none;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  padding: 10px 16px;
  font-weight: 800;
}

.site-nav {
  position: fixed;
  inset: 116px 16px auto 16px;
  display: none;
  max-height: calc(100vh - 136px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(23, 24, 28, 0.98);
  box-shadow: var(--shadow);
  padding: 16px;
}

body.nav-open .site-nav {
  display: grid;
  gap: 8px;
}

.site-nav a,
.site-nav summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 8px 13px;
  text-decoration: none;
}

.site-nav summary::-webkit-details-marker {
  display: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav summary:hover,
.site-nav summary:focus-visible {
  background: #fff;
  color: var(--charcoal);
  outline: none;
}

.site-nav .is-current {
  background: #fff;
  color: var(--charcoal);
  outline: none;
  text-transform: uppercase;
}

.nav-group {
  display: grid;
}

.submenu {
  display: grid;
  gap: 4px;
  padding: 4px 0 8px 16px;
}

.submenu a {
  min-height: 38px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.button,
.site-nav .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border: 1px solid var(--red);
  border-radius: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #fff;
  color: var(--red);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.button.secondary {
  background: #fff;
  color: var(--charcoal);
  border-color: #fff;
}

.button.dark {
  background: var(--charcoal);
}

.button.small {
  min-height: 38px;
  padding: 8px 14px;
}

.reserve-cta {
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  text-align: center;
}

.reserve-cta span {
  display: block;
  white-space: nowrap;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-copy .button-row {
  justify-content: center;
}

.eyebrow {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Figtree", Verdana, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.7rem);
  text-transform: uppercase;
}

.hero-location-title {
  font-size: clamp(2.8rem, 6.8vw, 4.9rem);
}

.hero-location-title span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

h3 {
  font-size: clamp(1.45rem, 3.6vw, 2rem);
}

h4 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 1rem;
}

.page-hero {
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 18, 23, 0.92), rgba(17, 18, 23, 0.68)),
    var(--hero-image, url("/assets/images/training-floor.jpg")) center / cover;
  color: #fff;
  min-height: 62vh;
  padding: clamp(180px, 24vw, 250px) 0 clamp(72px, 10vw, 128px);
  text-align: center;
}

.page-hero::after {
  position: absolute;
  inset: auto 0 -60px auto;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 50vh solid transparent;
  border-left: 50vh solid transparent;
  border-right: 50vh solid var(--red);
  content: "";
  opacity: 0.76;
  pointer-events: none;
}

.page-hero::before {
  position: absolute;
  inset: auto 0 -82px auto;
  z-index: -1;
  width: 0;
  height: 0;
  border-top: 55vh solid transparent;
  border-left: 55vh solid transparent;
  border-right: 55vh solid #000;
  content: "";
  opacity: 0.9;
  pointer-events: none;
}

body[data-page="home"] .page-hero {
  min-height: 100vh;
}

.page-hero h1,
.page-hero h2,
.page-hero p {
  color: #fff;
}

.hero-grid {
  display: grid;
  gap: 32px;
  justify-items: center;
}

.hero-copy {
  max-width: 760px;
  margin-inline: auto;
}

.hero-copy .lead {
  color: #fff;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-copy .location-lead {
  margin-bottom: 0.75rem;
}

.hero-subheadline {
  max-width: 620px;
  margin: 0 auto 1.1rem;
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.review-line {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.36);
  padding: 8px 14px;
  font-weight: 800;
}

.review-stars {
  color: #ffc107;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.review-line strong {
  color: #fff;
  margin-right: 0.35em;
}

.hero-copy .instructor-proof {
  font-weight: 800;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  padding: 24px;
}

.section {
  padding: clamp(52px, 9vw, 96px) 0;
}

.home-intro {
  text-align: center;
}

.home-intro .copy-block {
  margin-inline: auto;
}

.section.tight {
  padding: clamp(32px, 6vw, 64px) 0;
}

.section.dark {
  background: #000;
  color: #fff;
}

.section.dark h2,
.section.dark h3,
.section.dark p {
  color: #fff;
}

.section.dark .card h2,
.section.dark .card h3,
.section.dark .card p,
.section.dark .form-card p,
.section.dark .form-card label {
  color: var(--ink);
}

.section.dark .form-card .form-note,
.section.dark .form-card .form-status {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.lead {
  color: var(--muted);
  font-size: 1.12rem;
}

.grid {
  display: grid;
  gap: 22px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  box-shadow: 0 14px 34px rgba(17, 18, 23, 0.08);
}

.card-body {
  padding: 24px;
}

.card-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.program-tiles {
  padding: 0;
}

.program-tiles .shell {
  width: 100%;
  max-width: none;
}

.program-tiles .section-heading {
  display: none;
}

.program-tiles .cards {
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
}

.program-tiles .card {
  position: relative;
  min-height: clamp(300px, 42vw, 620px);
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.35s ease;
}

.program-tiles .card:hover {
  transform: translateY(-14px);
}

.program-tiles .card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 25%, rgba(0, 0, 0, 0.92));
  content: "";
}

.program-tiles .card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  opacity: 0.86;
  transition: opacity 0.35s ease;
}

.program-tiles .card:hover .card-image {
  opacity: 0.52;
}

.program-tiles .card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  color: #fff;
  padding: 24px 24px 64px;
  text-align: center;
}

.section.dark.program-tiles .card-body h3,
.section.dark.program-tiles .card-body p {
  color: #fff;
  text-shadow:
    -1px -1px 0 rgba(0, 0, 0, 0.95),
    1px -1px 0 rgba(0, 0, 0, 0.95),
    -1px 1px 0 rgba(0, 0, 0, 0.95),
    1px 1px 0 rgba(0, 0, 0, 0.95),
    0 3px 12px rgba(0, 0, 0, 0.72);
}

.program-tiles .card-body p {
  max-width: 460px;
  margin-inline: auto;
}

.home-location .split {
  grid-template-columns: 1fr;
  justify-items: center;
}

.home-location {
  position: relative;
  padding: 140px 0 160px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.36)),
    url("/assets/images/location-training.jpg") center / cover;
}

.home-location .split-media {
  display: none;
}

.home-location .copy-block {
  max-width: 620px;
  margin-inline: auto;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(24px, 4vw, 42px);
  text-align: center;
}

.home-location .button-row {
  justify-content: center;
}

.membership-strip {
  position: relative;
  overflow: hidden;
  background: #000 url("/assets/images/training-floor.jpg") right center / 55% auto no-repeat;
}

.membership-strip::before {
  position: absolute;
  inset: 0 auto 0 -18%;
  width: 90%;
  background: var(--red);
  content: "";
  transform: skew(-18deg);
  transform-origin: top;
}

.membership-strip .shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin-left: max(20px, calc((100% - 1180px) / 2));
}

.membership-strip .section-heading,
.membership-strip .cards {
  max-width: 560px;
}

.membership-strip .eyebrow,
.membership-strip .lead,
.membership-strip h2,
.membership-strip h3,
.membership-strip p {
  color: #fff;
}

.membership-strip .cards {
  display: block;
}

.membership-strip .card {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.membership-strip .card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
}

.section.dark.membership-strip .card h3,
.section.dark.membership-strip .card p {
  color: #fff;
}

.membership-strip .card .button {
  min-width: 180px;
  background: #000;
  border-color: #000;
  color: #fff;
  justify-self: end;
}

.membership-strip .card .button:hover,
.membership-strip .card .button:focus-visible {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.split.reverse .split-media {
  order: -1;
}

.split-media img {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.copy-block {
  max-width: 820px;
}

.copy-block ul,
.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
}

.copy-block li,
.check-list li {
  list-style: none;
  padding-left: 32px;
  position: relative;
}

.copy-block li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
}

.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: var(--red);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  padding: 18px;
  text-align: center;
}

.stat strong {
  display: block;
  color: #fff;
  font-family: "Figtree", Verdana, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  gap: 18px;
}

.testimonial {
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 18, 23, 0.08);
  padding: 24px;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.form-card {
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.lead-form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--charcoal);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 18, 23, 0.18);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
}

.form-status {
  font-weight: 800;
}

.form-status[data-status="success"] {
  color: #176b2c;
}

.form-status[data-status="error"] {
  color: var(--red-dark);
}

.page-band {
  background: var(--charcoal);
  color: #fff;
  padding: 18px 0;
}

.page-band .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
}

.site-footer {
  background: #0f1014;
  color: #f6ead4;
  padding: 52px 0 24px;
  text-align: center;
}

.footer-grid {
  display: grid;
  gap: 28px;
  justify-items: center;
}

.footer-logo {
  width: 150px;
  border-radius: 0;
  background: transparent;
  margin-bottom: 16px;
  padding: 0;
}

.site-footer h2,
.site-footer h3,
.site-footer p {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
}

.footer-links li {
  list-style: none;
}

.footer-links a,
.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 36px;
  padding-top: 18px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 680px) {
  .brand span {
    display: block;
    max-width: 280px;
  }

  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  body.nav-open {
    overflow: auto;
  }

  .site-nav a,
  .site-nav summary {
    min-height: 40px;
    padding: 8px 10px;
  }

  .nav-group {
    position: relative;
  }

  .submenu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    display: none;
    width: 290px;
    border-radius: 18px;
    background: var(--charcoal-2);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .nav-group[open] .submenu,
  .nav-group:hover .submenu,
  .nav-group:focus-within .submenu {
    display: grid;
  }

  .split {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  }

  .split.reverse .split-media {
    order: 2;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .membership-strip {
    background: #000;
  }

  .membership-strip::before {
    inset: 0;
    width: 100%;
    transform: none;
  }

  .membership-strip .section-heading,
  .membership-strip .cards {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .top-bar,
  .site-header {
    position: relative;
    top: auto;
    background: #000;
  }

  .site-header .shell {
    justify-content: center;
  }

  .brand {
    flex-direction: column;
    text-align: center;
  }

  .brand span {
    display: block;
  }

  .page-hero {
    min-height: auto;
    padding: 70px 0;
  }

  body[data-page="home"] .page-hero {
    min-height: auto;
  }

  .page-hero::before,
  .page-hero::after {
    display: none;
  }

  .site-nav {
    inset: 16px;
  }
}

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