:root {
  --navy: #1c2045;
  --navy-deep: #111633;
  --orange: #f99d1c;
  --orange-strong: #fc8703;
  --ink: #22242b;
  --muted: #646877;
  --line: #e5e7ec;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --shadow: 0 18px 48px rgba(28, 32, 69, 0.16);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
  line-height: 1.12;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--orange);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
  padding: 1rem max(1rem, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: rgba(28, 32, 69, 0.95);
  transition: box-shadow 0.2s ease, background 0.2s ease;
  max-width: 100vw;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

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

.brand img {
  width: min(213px, 56vw);
  height: auto;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.75rem 0.85rem;
  border: 2px solid transparent;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--orange);
  outline: none;
}

.menu-toggle {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__line,
.menu-toggle__line::before,
.menu-toggle__line::after {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle__line {
  margin: 0 auto;
  position: relative;
}

.menu-toggle__line::before,
.menu-toggle__line::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__line::before {
  top: -9px;
}

.menu-toggle__line::after {
  top: 9px;
}

.nav-open .menu-toggle__line {
  transform: rotate(45deg);
}

.nav-open .menu-toggle__line::before {
  opacity: 0;
}

.nav-open .menu-toggle__line::after {
  transform: translateY(-9px) rotate(-90deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: var(--navy) url("../images/hero.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5vw;
  right: -5vw;
  bottom: -1px;
  height: 86px;
  background: #fff;
  clip-path: polygon(0 24%, 50% 100%, 100% 24%, 100% 100%, 0 100%);
}

.hero__shade,
.trial__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 32, 69, 0.94) 0%, rgba(28, 32, 69, 0.62) 42%, rgba(28, 32, 69, 0.50) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 1.35rem;
  justify-self: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem 1rem 7rem;
  text-align: center;
}

.hero__content > * {
  min-width: 0;
}

.hero h1,
.hero h2,
.hero h3,
.hero .eyebrow,
.hero__lead {
  color: #fff;
}

.hero h1 {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

.hero h1 span,
.hero__lead span {
  display: inline-block;
}

.hero__lead {
  width: min(780px, 100%);
  margin: 0 auto;
  font-size: clamp(1.12rem, 2.4vw, 1.5rem);
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
  font-weight: 700;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button--primary {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--orange-strong);
  border-color: var(--orange-strong);
}

.button--ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.78);
}

.button--ghost-dark {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.button--full {
  width: 100%;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 1rem;
}

.section__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.eyebrow {
  color: var(--orange-strong);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.courses h2,
.about h2,
.testimonials h2 {
  margin-top: 0.2rem;
  margin-bottom: 2rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.course-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 32, 69, 0.08);
}

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

.course-card div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.25rem;
}

.course-card h3 {
  color: var(--orange-strong);
}

.course-meta {
  color: var(--muted);
  font-weight: 700;
}

.about,
.testimonials {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

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

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

.split__text {
  display: grid;
  gap: 1rem;
}

.split__image {
  margin: 0;
}

.split__image img {
  width: 100%;
  max-height: 520px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.trial {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6rem) 1rem;
  color: #fff;
  background: var(--orange) url("../images/trial-class.jpg") center / cover no-repeat;
}

.trial__shade {
  background: rgba(252, 135, 3, 0.82);
}

.trial__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.trial h2,
.trial h3,
.trial .eyebrow {
  color: #fff;
}

.trial__copy {
  display: grid;
  gap: 1.2rem;
}

.benefit-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 700;
}

.benefit-list li {
  position: relative;
  padding-left: 1.7rem;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--navy);
  transform: rotate(45deg);
}

.signup-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.signup-form h3 {
  text-align: center;
}

.signup-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--navy);
  font-weight: 700;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fafafa;
  font: inherit;
}

.signup-form textarea {
  min-height: 116px;
  border-radius: 18px;
  resize: vertical;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(249, 157, 28, 0.24);
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  font-weight: 400;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.2rem;
}

.honeypot {
  position: absolute;
  left: -100vw;
}

.form-status {
  min-height: 1.4rem;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}

.testimonial-list {
  display: grid;
  gap: 0.85rem;
}

blockquote {
  margin: 0;
  padding: 1rem;
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff;
}

blockquote p {
  margin-bottom: 0.45rem;
}

cite {
  color: var(--navy);
  font-style: normal;
  font-weight: 700;
}

.contact {
  padding: clamp(4rem, 7vw, 6rem) 2rem;
  color: #fff;
  background: var(--navy);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(560px, 1fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: stretch;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.contact__details {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
}

.contact h2,
.contact .eyebrow {
  color: #fff;
}

.contact .button--ghost-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
}

.contact .button--ghost-dark:hover,
.contact .button--ghost-dark:focus-visible {
  border-color: var(--orange);
}

address {
  margin-top: 1rem;
  font-style: normal;
}

.contact__details .contact__actions {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 0.75rem;
}

.contact__details .button {
  min-width: min(100%, 270px);
}

.contact__details .button[href^="mailto:"] {
  min-width: min(100%, 330px);
  text-transform: none;
}

.contact__map {
  min-height: clamp(360px, 28vw, 460px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 28vw, 460px);
  border: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.3rem max(1rem, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--navy-deep);
}

.site-footer a {
  color: #fff;
}

.legal-page {
  min-height: 100vh;
  padding-top: 8.5rem;
}

.legal-page .section__inner {
  display: grid;
  gap: 1rem;
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.legal-page h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

@media (max-width: 960px) {
  .menu-toggle {
    position: fixed;
    top: 0.8rem;
    right: 0.9rem;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.6rem;
    padding: 5rem 1rem;
    background: rgba(28, 32, 69, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .site-nav a {
    width: min(320px, 100%);
    justify-content: center;
    font-size: 1.1rem;
  }

  .site-nav.legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav.legal-nav a {
    width: auto;
    min-height: 38px;
    padding: 0.55rem 0.65rem;
    font-size: 0.88rem;
  }

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

  .split,
  .split--reverse,
  .trial__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__text,
  .split--reverse .split__image {
    order: initial;
  }

  .contact__actions {
    justify-content: flex-start;
  }

  .contact {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .contact__inner {
    width: min(760px, 100%);
    gap: 2rem;
  }

  .contact__details {
    align-content: start;
  }

  .contact__details .contact__actions {
    flex-direction: row;
    align-items: center;
  }

  .contact__map,
  .contact__map iframe {
    min-height: 360px;
  }
}

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

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .brand img {
    width: min(190px, 52vw);
  }

  .site-nav.legal-nav {
    display: none;
  }

  h1 {
    font-size: clamp(1.85rem, 8.9vw, 2.25rem);
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .hero .eyebrow {
    width: min(28rem, 100%);
    margin: 0 auto;
    font-size: 0.86rem;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .hero__lead {
    width: min(21rem, 100%);
    font-size: 1rem;
    line-height: 1.35;
  }

  .hero h1 span,
  .hero__lead span {
    display: block;
  }

  .hero__content {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 7rem;
  }

  .hero__actions,
  .contact__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact__details .contact__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .contact__details .button,
  .contact__details .button[href^="mailto:"] {
    min-width: 0;
    width: 100%;
  }

  .contact__map,
  .contact__map iframe {
    min-height: 260px;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    grid-template-rows: auto auto;
  }

  .trial {
    padding-left: 0;
    padding-right: 0;
  }

  .trial__inner {
    padding: 0 1rem;
  }

  .signup-form {
    padding: 1rem;
  }

  .site-footer {
    display: grid;
  }
}
