:root {
  --bg: #0e0f12;
  --bg-alt: #15171c;
  --text: #f4f5f7;
  --muted: #9aa0aa;
  --line: #2a2d34;
  --accent: #ff4b2b;
  --accent-deep: #e23a1c;
  --card: #16181e;
  --radius: 0.9rem;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --maxw: 1150px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--maxw), 92vw);
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  text-transform: uppercase;
}

h1 .accent {
  color: var(--accent);
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 800;
  max-width: 20ch;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.accent {
  color: var(--accent);
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.inline-link:hover {
  color: var(--text);
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(14, 15, 18, 0.85);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.6rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand-logo {
  width: min(220px, 56vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav .nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.site-nav .nav-cta:hover {
  background: var(--accent-deep);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--card);
  padding: 0.42rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.24rem;
  background: var(--text);
}

/* ── Hero ── */

.hero {
  min-height: calc(100svh - 4.6rem);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 75, 43, 0.16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 75, 43, 0.06), transparent 40%);
}

.hero-grid {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

.lead {
  max-width: 54ch;
  font-size: clamp(1.04rem, 2.1vw, 1.25rem);
  color: #c4c8d0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin: 2.2rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-facts strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-mark {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.hero-mark .ring-1 {
  transform-origin: 210px 210px;
  animation: spin 26s linear infinite;
  stroke-dasharray: 18 14;
}

.hero-mark .ring-2 {
  transform-origin: 210px 210px;
  animation: spin 40s linear infinite reverse;
}

.hero-mark .barbell {
  transform-origin: 210px 320px;
  animation: nudge 4s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0.78rem 1.4rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 12px 24px rgba(255, 75, 43, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-deep);
  box-shadow: 0 16px 30px rgba(255, 75, 43, 0.34);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--muted);
}

/* ── About ── */

.about-grid {
  display: grid;
  gap: 1.4rem;
}

.about-closer {
  color: var(--text);
  font-weight: 600;
}

/* ── Cards (Classes) ── */

.cards-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.6rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 200ms ease, transform 200ms ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card p {
  margin-bottom: 0;
}

/* ── Pricing ── */

.pricing-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 0.6rem;
}

.price-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.price-table h3 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.price-table ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-table li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.price-table li:first-child {
  border-top: none;
}

.price-table li strong {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
}

.pricing-note {
  margin: 1.6rem 0 0;
  font-size: 0.9rem;
}

/* ── Schedule & Hours ── */

.schedule-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.class-times {
  display: flex;
  gap: 1rem;
  margin: 1.6rem 0 1rem;
}

.class-time {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
}

.ct-time {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.ct-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.schedule-note {
  font-size: 0.88rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hours-table caption {
  text-align: left;
  padding: 1rem 1.2rem 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: var(--accent);
}

.hours-table th,
.hours-table td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours-table th {
  font-weight: 600;
  color: var(--text);
}

.hours-table td {
  color: var(--muted);
}

.hours-table .closed {
  color: var(--accent);
  font-weight: 600;
}

/* ── Location ── */

.location-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-top: 0.6rem;
}

.address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.address strong {
  color: var(--text);
}

.contact-links {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}

.contact-links li {
  margin-bottom: 0.6rem;
}

.contact-links a {
  color: var(--text);
  transition: color 200ms ease;
}

.contact-links a:hover {
  color: var(--accent);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

/* ── Contact ── */

.contact-grid {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.contact-form label {
  display: grid;
  gap: 0.42rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #0f1115;
  font: inherit;
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(255, 75, 43, 0.4);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-success {
  text-align: center;
  padding: 2.4rem 1.2rem;
}

.form-success h3 {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.form-success p {
  max-width: 36ch;
  margin-inline: auto;
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 200px;
  margin-bottom: 0.6rem;
}

.footer-left p {
  margin: 0;
  font-size: 0.86rem;
}

.footer-social {
  display: flex;
  gap: 1.4rem;
}

.footer-social a {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 200ms ease;
}

.footer-social a:hover {
  color: var(--accent);
}

/* ── Reveal animation ── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

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

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

  .about-grid,
  .schedule-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 4.6rem;
    right: 4vw;
    width: min(260px, 90vw);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: var(--bg-alt);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.5);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-cta {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .reveal {
    transition: none;
  }

  .hero-mark .ring-1,
  .hero-mark .ring-2,
  .hero-mark .barbell {
    animation: none;
  }
}
