:root {
  --black: #171717;
  --ink: #202020;
  --charcoal: #292929;
  --orange: #e73a04;
  --orange-dark: #b92d00;
  --gold: #f1c40f;
  --gold-soft: #ffe08a;
  --paper: #f7f5ef;
  --white: #ffffff;
  --muted: #626262;
  --line: #d8d3c8;
  --success: #c7ff55;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 23, 23, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}

.brand img {
  width: 52px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 12px 13px;
  color: #f5f5f5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

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

.nav-links .login-link {
  margin-left: 8px;
  background: var(--gold);
  color: var(--black);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: transparent;
  color: var(--white);
  font-size: 25px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  background: var(--orange);
}

.hero video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 14, 14, .93) 0%, rgba(14, 14, 14, .78) 52%, rgba(231, 58, 4, .45) 100%);
}

.hero-inner {
  padding: 88px 0 94px;
  color: var(--white);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 890px;
  margin: 0;
  font-size: clamp(48px, 7.5vw, 100px);
  line-height: .95;
  font-weight: 950;
  text-transform: uppercase;
}

h1 strong {
  color: var(--gold);
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 21px;
  border: 2px solid var(--success);
  background: var(--success);
  color: var(--black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.button.secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--white);
  color: var(--black);
}

.section {
  padding: 84px 0;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-orange {
  background: #a62800;
  color: var(--white);
}

.section-white {
  background: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.section-kicker {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section-dark .section-kicker,
.section-orange .section-kicker {
  color: var(--gold-soft);
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5.5vw, 70px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.section-copy {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.section-dark .section-copy,
.section-orange .section-copy {
  color: #f4f0e7;
}

.image-frame {
  border: 3px solid var(--gold);
  background: var(--charcoal);
  overflow: hidden;
}

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

.funding-number {
  display: block;
  color: var(--gold-soft);
  font-size: clamp(72px, 12vw, 148px);
  font-weight: 950;
  line-height: .85;
}

.course-head {
  max-width: 840px;
  margin-bottom: 34px;
}

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

.course {
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 7px solid var(--orange);
}

.course img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--black);
}

.course-body {
  padding: 22px;
}

.course-number {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.course h3 {
  margin: 10px 0 12px;
  font-size: 25px;
  line-height: 1.1;
}

.course p {
  margin: 0;
  color: #4f4f4f;
  line-height: 1.6;
}

.pyramid {
  width: 100%;
  height: auto;
}

.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 46px 22px 0;
  font-size: 18px;
  font-weight: 900;
}

.faq-list details p {
  margin: 0;
  padding: 0 0 24px;
  color: #4f4f4f;
  line-height: 1.7;
}

.legal-note {
  padding: 34px;
  border: 2px solid var(--gold);
  background: #222;
  color: #f6f2e8;
  line-height: 1.65;
}

.legal-note strong {
  color: var(--gold);
}

.site-footer {
  padding: 56px 0 34px;
  background: #0c0c0c;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, .7fr) minmax(220px, .7fr);
  gap: 36px;
}

.footer-brand img {
  width: 160px;
  height: auto;
}

.footer-brand p,
.site-footer p {
  color: #d5d5d5;
  line-height: 1.65;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #3d3d3d;
  color: #bdbdbd;
  font-size: 13px;
  line-height: 1.6;
}

.page-hero {
  padding: 74px 0 64px;
  background: var(--orange);
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(46px, 8vw, 88px);
}

.prose {
  max-width: 900px;
}

.prose h2 {
  margin-top: 48px;
  font-size: clamp(29px, 4vw, 46px);
}

.prose h3 {
  margin: 32px 0 8px;
  font-size: 22px;
}

.prose p,
.prose li {
  color: #3f3f3f;
  font-size: 17px;
  line-height: 1.75;
}

.prose a {
  color: var(--orange-dark);
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.choice {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 7px solid var(--orange);
  background: var(--white);
}

.choice h2 {
  font-size: 32px;
}

.choice p {
  color: #4d4d4d;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 18px 20px 24px;
    background: var(--black);
    border-top: 1px solid #3b3b3b;
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #3a3a3a;
  }

  .nav-links .login-link {
    margin: 8px 0 0;
    justify-content: center;
  }

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

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand span {
    font-size: 13px;
  }

  .hero {
    min-height: calc(100svh - 76px);
  }

  .hero-inner {
    padding: 62px 0 72px;
  }

  h1 {
    font-size: clamp(43px, 14vw, 68px);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

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

  .funding-number {
    font-size: 88px;
  }
}

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

  .hero video {
    display: none;
  }
}
