:root {
  color-scheme: light;
  --gold: #f0a51f;
  --graphite: #252525;
  --green: #2f8f68;
  --red: #d94f45;
  --sky: #dceef4;
  --paper: #ffffff;
  --ink: #252525;
  --muted: #66645f;
  --line: rgba(37, 37, 37, 0.14);
  --shadow: 0 20px 46px rgba(37, 37, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 94px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(240, 165, 31, 0.23), transparent 34%),
    linear-gradient(315deg, rgba(47, 143, 104, 0.12), transparent 34%),
    #fbfaf5;
  font-family: "Arial Rounded MT Bold", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(37, 37, 37, 0.1);
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--gold);
  font-size: 22px;
  font-weight: 950;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 22px;
  line-height: 1.05;
}

.brand span span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-action,
.dock a,
.button,
.gallery-lock {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(37, 37, 37, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.top-action,
.button {
  border-color: var(--gold);
  background: var(--gold);
  color: #20190a;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(37, 37, 37, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--graphite);
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.nav-toggle strong {
  font-size: 13px;
}

.button.dark {
  border-color: var(--graphite);
  background: var(--graphite);
  color: #ffffff;
}

.button.alt {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  display: flex;
  gap: 8px;
  max-width: calc(100vw - 36px);
  padding: 8px;
  border: 1px solid rgba(37, 37, 37, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.dock a[aria-current="page"] {
  background: var(--graphite);
  color: #ffffff;
}

.gallery-lock {
  position: fixed;
  right: 18px;
  top: 86px;
  z-index: 80;
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(37, 37, 37, 0.18);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  display: grid;
  align-items: end;
  padding: 110px max(22px, calc((100vw - 1180px) / 2)) 76px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(37, 37, 37, 0.86), rgba(37, 37, 37, 0.54) 48%, rgba(37, 37, 37, 0.1)),
    var(--hero-image, url("https://images.unsplash.com/photo-1551730459-92db2a308d6a?auto=format&fit=crop&w=1800&q=80")) center / cover;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 44%;
  background: linear-gradient(0deg, rgba(37, 37, 37, 0.8), transparent);
}

.hero-copy {
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  font-size: 74px;
  line-height: 0.96;
}

h2 {
  color: var(--graphite);
  font-size: 48px;
  line-height: 1.06;
}

h3 {
  font-size: 22px;
}

.hero p:not(.eyebrow),
.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: 78px max(22px, calc((100vw - 1180px) / 2));
}

.section.white {
  background: #ffffff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading .eyebrow,
.track .eyebrow,
.form-card .eyebrow {
  color: var(--red);
}

.section-heading p,
.track p,
.drill p,
.schedule-card p,
.resource p,
.quote p,
.form-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 32px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
}

.photo-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.photo-panel img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.track-grid,
.drill-grid,
.schedule-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.split + .track-grid {
  margin-top: 24px;
}

.track,
.drill,
.schedule-card,
.resource,
.quote,
.form-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 32px rgba(37, 37, 37, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.track:hover,
.drill:hover,
.schedule-card:hover,
.resource:hover,
.quote:hover,
.form-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(37, 37, 37, 0.12);
}

.track strong,
.drill strong,
.schedule-card strong,
.resource strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 18px;
}

.track code,
.schedule-card code {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 0 10px;
  background: var(--gold);
  color: #211909;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
}

.schedule-card {
  display: grid;
  gap: 10px;
}

.time {
  color: var(--graphite);
  font-size: 30px;
  font-weight: 950;
}

.resource {
  display: grid;
  gap: 14px;
}

.resource img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 24px;
}

.chooser {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.chooser-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chooser-options button {
  min-height: 42px;
  border: 1px solid rgba(37, 37, 37, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--graphite);
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.chooser-options button.is-active {
  background: var(--gold);
  border-color: var(--gold);
}

.chooser-result {
  margin: 0;
  color: var(--green);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.5;
}

.review-grid,
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-grid .quote strong {
  display: block;
  margin-bottom: 12px;
  color: var(--graphite);
  font-size: 19px;
  line-height: 1.35;
}

.review-grid .quote span {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-strip img {
  width: 100%;
  height: 310px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--graphite);
  font-size: 13px;
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

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

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green);
  font-weight: 950;
}

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

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(22px, calc((100vw - 1180px) / 2)) 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a {
  color: var(--green);
  font-weight: 950;
}

@media (max-width: 860px) {
  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-lock {
    top: auto;
    right: 18px;
    bottom: 96px;
  }

  .top-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .dock {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100vw - 24px);
    overflow-x: auto;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px;
  }

  .dock.is-open {
    display: grid;
  }

  .dock a {
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
  }

  .hero {
    min-height: 560px;
    padding-top: 84px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .split,
  .split.reverse,
  .track-grid,
  .drill-grid,
  .schedule-grid,
  .resource-grid,
  .two-column,
  .form-grid,
  .review-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }
}

/* Client-ready interaction pass */
.dock {
  position: fixed;
}

.dock a {
  position: relative;
  z-index: 1;
  transition: color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.dock a:hover,
.dock a:focus-visible {
  transform: translateY(-1px);
}

.menu-orbit {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  border: 1px solid rgba(240, 165, 31, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(240, 165, 31, 0.28), rgba(47, 143, 104, 0.16));
  opacity: 0;
  transition: transform 260ms ease, width 260ms ease, height 260ms ease, opacity 180ms ease;
  pointer-events: none;
}

.nav-toggle span {
  transition: transform 220ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.interactive-surface {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.interactive-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(240, 165, 31, 0.24), transparent 36%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.interactive-surface > * {
  position: relative;
  z-index: 1;
}

.interactive-surface:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(37, 37, 37, 0.14);
}

.interactive-surface:hover::after {
  opacity: 1;
}

.form-card.is-success {
  border-color: rgba(47, 143, 104, 0.34);
  box-shadow: 0 18px 42px rgba(47, 143, 104, 0.12);
}

@media (max-width: 860px) {
  body {
    padding-bottom: 0;
  }

  .dock {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 32px);
    max-height: 0;
    margin: 0 16px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 280ms ease, opacity 220ms ease, transform 220ms ease;
  }

  .dock.is-open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .dock a {
    min-width: 0;
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .dock {
    grid-template-columns: 1fr;
  }

  .gallery-lock {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-indent: -999px;
  }

  .gallery-lock::before {
    content: "<";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 20px;
    text-indent: 0;
  }
}
