:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #080808;
  --ink: #ffffff;
  --muted: #a9b0bb;
  --line: #242424;
  --yellow: #ffc400;
  --yellow-dark: #d8a600;
  --success: #50d0a8;
  --error: #ff6868;
  --warning: #ffd66d;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", "Oswald", Impact, Arial, Helvetica, sans-serif;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 0 32px;
  background: #000;
  border-bottom: 1px solid #1b1b1b;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  min-width: 168px;
  min-height: 58px;
  background: #000;
  padding: 8px 10px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 46px;
}

.site-nav a,
.nav-cta {
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--yellow);
}

.nav-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #000;
  padding: 0 30px;
}

.nav-cta:hover {
  background: var(--yellow-dark);
}

.schedule-section {
  max-width: 1720px;
  margin: 0 auto;
  padding: 72px 34px 86px;
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 72px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  color: #fff;
  font-size: clamp(3.3rem, 5.6vw, 5.8rem);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 span {
  color: var(--yellow);
}

h2 {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading p,
.empty-state p,
.selected-summary {
  color: var(--muted);
  font-size: 1.32rem;
  line-height: 1.55;
}

.schedule-layout {
  display: grid;
  gap: 28px;
}

.schedule-panel,
.booking-panel {
  background: #020202;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.schedule-panel {
  padding: 40px;
}

.booking-panel {
  padding: 26px;
  max-width: 520px;
  margin: 0 auto;
}

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

.status-line {
  min-height: 24px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 850;
}

.class-list {
  display: grid;
  gap: 20px;
}

.day-heading {
  display: block;
  margin: 28px 0 4px;
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.day-heading:first-child {
  margin-top: 0;
}

.class-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 150px;
  gap: 22px;
  align-items: center;
  min-height: 108px;
  border: 1px solid #1f1f1f;
  background: #020202;
  padding: 26px 30px;
  text-align: left;
  cursor: pointer;
}

.class-card:hover,
.class-card.is-selected {
  border-color: var(--yellow);
}

.class-time {
  color: var(--yellow);
  font-size: 1.45rem;
  font-weight: 950;
}

.class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.class-name {
  margin: 0;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pill,
.availability {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.pill {
  display: inline-flex;
  align-items: center;
}

.pill:not(:first-child)::before {
  content: "/";
  margin-right: 8px;
  color: #4d4d4d;
}

.availability {
  display: none;
}

.class-card::after {
  content: "Book Now";
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 42px;
  background: var(--yellow);
  color: #000;
  font-size: 0.9rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.class-card:hover::after,
.class-card.is-selected::after {
  background: var(--yellow-dark);
}

.empty-state,
.booking-form {
  display: grid;
  gap: 18px;
}

.hidden {
  display: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
}

label span {
  color: #f1f1f1;
  font-size: 0.82rem;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #333;
  background: #0b0b0b;
  color: #fff;
  padding: 10px 12px;
}

input:focus,
select:focus {
  outline: 2px solid rgba(255, 196, 0, 0.24);
  border-color: var(--yellow);
}

.consent-stack {
  display: grid;
  gap: 16px;
}

.consent-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.consent-row input {
  appearance: none;
  width: 24px;
  height: 24px;
  min-height: 24px;
  border: 2px solid #7d8796;
  border-radius: 5px;
  background: #0b0b0b;
  cursor: pointer;
}

.consent-row input:checked {
  border-color: var(--yellow);
  background: var(--yellow);
  box-shadow: none;
}

.consent-row input:checked::after {
  content: "✓";
  display: block;
  color: #000;
  font-size: 18px;
  font-weight: 950;
  line-height: 19px;
  text-align: center;
}

.consent-row span,
.legal-copy {
  color: #aeb4be;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.legal-copy {
  margin: 0;
  text-align: center;
}

.book-button {
  min-height: 50px;
  border: 0;
  background: var(--yellow);
  color: #000;
  padding: 0 20px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.book-button:hover {
  background: var(--yellow-dark);
}

.booking-result {
  min-height: 24px;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.45;
}

.booking-result.success {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(80, 208, 168, 0.45);
  background: rgba(80, 208, 168, 0.1);
  padding: 18px;
  color: var(--success);
}

.booking-result.success strong {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
}

.booking-result.success span {
  color: #c7f4e8;
}

.booking-result.error {
  color: var(--error);
}

.booking-result.pending {
  color: var(--warning);
}

.return-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 0 18px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.return-link:hover {
  background: var(--yellow);
  color: #000;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 44px;
  background: #000;
  border-top: 1px solid #1b1b1b;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .schedule-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.78rem;
  }

  .schedule-section {
    padding: 28px 12px 70px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading p {
    font-size: 1rem;
  }

  .schedule-panel,
  .booking-panel {
    padding: 18px;
  }

  .class-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .class-card::after {
    justify-self: stretch;
    width: 100%;
  }
}
