:root {
  --green: #003c28;
  --ink: #111714;
  --gold: #ad7b0e;
  --cream: #fbf8f1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1532px, calc(100% - 136px)); margin-inline: auto; }
.hero { min-height: 941px; color: var(--ink); background: linear-gradient(90deg, rgba(250,244,234,.28), rgba(250,244,234,0) 62%), url("assets/hero.jpg") center / cover no-repeat; }
.nav { height: 114px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--green); font-family: Georgia, 'Times New Roman', serif; font-size: 40px; letter-spacing: 8px; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 57px; font-size: 18px; }
.button { display: inline-flex; min-height: 66px; padding: 0 50px; align-items: center; justify-content: center; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: white; font-size: 20px; font-weight: 600; }
.nav-cta { min-height: 60px; padding-inline: 31px; margin-left: 4px; }
.menu { display: none; border: 0; background: transparent; padding: 8px; }
.menu span { display: block; width: 45px; height: 4px; margin: 8px 0; border-radius: 4px; background: var(--green); }
.hero-content { padding-top: 31px; }
h1, h2, h3 { margin: 0; color: var(--green); font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
h1 { max-width: 780px; font-size: clamp(76px, 6.25vw, 105px); line-height: .96; letter-spacing: -3px; }
.gold-rule { width: 110px; height: 4px; margin: 35px 0 23px; background: var(--gold); }
.hero-copy { margin: 0; font-size: 25px; line-height: 1.45; }
.hero-actions { display: flex; gap: 23px; margin-top: 27px; }
.button-outline { min-width: 237px; background: rgba(255,255,255,.13); color: var(--ink); border-color: var(--ink); }
.trust-row { display: flex; align-items: center; gap: 15px; margin-top: 27px; font-size: 18px; }
.trust-row b, .details b { color: var(--gold); }
.tree-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--gold); border-radius: 50%; color: var(--green); font-size: 31px; transform: rotate(180deg); }
.courses { min-height: 1024px; padding: 43px 0 28px; background: radial-gradient(circle at 50% 10%, #fff 0, var(--cream) 68%); }
.section-heading { text-align: center; }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: 17px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.section-heading h2 { font-size: 62px; line-height: 1.05; }
.section-heading > p:last-child { margin: 18px 0 36px; font-size: 21px; line-height: 1.55; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.course-card { overflow: hidden; border-radius: 14px; background: #fffdf8; box-shadow: 0 8px 20px rgba(45,38,24,.10); }
.course-card > img { display: block; width: 100%; aspect-ratio: 1.67; object-fit: cover; }
.course-body { padding: 28px 27px 21px; }
.course-body .eyebrow { margin-bottom: 12px; font-size: 14px; letter-spacing: 2px; }
.course-body h3 { font-size: 37px; line-height: 1.08; }
.description { min-height: 77px; margin: 10px 0 13px; font-size: 18px; line-height: 1.46; }
.details { padding: 11px 0 13px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); font-size: 16px; }
.details p { margin: 0; }
.details p + p { margin-top: 8px; }
.details span { margin-right: 5px; font-size: 22px; }
.details .gold { color: var(--gold); }
.course-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; }
.course-footer strong { color: var(--green); font-family: Georgia, 'Times New Roman', serif; font-size: 38px; font-weight: 500; }
.course-footer .button { min-height: 51px; padding: 0 26px; font-size: 17px; }
.all-courses { display: block; width: max-content; margin: 34px auto 0; padding-bottom: 5px; border-bottom: 2px solid var(--gold); font-size: 19px; font-weight: 600; }

@media (max-width: 1100px) {
  .shell { width: min(100% - 48px, 900px); }
  .nav-links { gap: 24px; }
  .brand { font-size: 30px; }
  .course-body h3 { white-space: normal; font-size: 30px; }
}

@media (max-width: 900px) {
  .shell { width: calc(100% - 70px); }
  .hero { min-height: 1844px; background-position: 58% center; }
  .nav { height: 154px; }
  .brand { font-size: 37px; letter-spacing: 7px; }
  .menu { display: block; }
  .nav-links { position: absolute; z-index: 3; top: 120px; left: 35px; right: 35px; display: none; padding: 24px; border-radius: 8px; background: rgba(251,248,241,.98); box-shadow: 0 12px 30px rgba(0,0,0,.15); flex-direction: column; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-cta { margin: 0; }
  .hero-content { padding-top: 35px; }
  h1 { max-width: 620px; font-size: clamp(72px, 12.4vw, 106px); line-height: 1.02; letter-spacing: -2px; }
  .gold-rule { width: 106px; height: 5px; margin: 31px 0 30px; }
  .hero-copy { font-size: clamp(25px, 4.2vw, 36px); line-height: 1.52; }
  .desktop-only { display: none; }
  .hero-actions { margin-top: 48px; flex-direction: column; gap: 23px; }
  .hero-actions .button { width: 100%; min-height: 98px; font-size: 31px; }
  .trust-row { display: grid; grid-template-columns: 75px auto; column-gap: 18px; margin-top: 43px; font-size: clamp(20px, 3.4vw, 28px); line-height: 1.35; }
  .trust-row .tree-mark { width: 73px; height: 73px; font-size: 46px; }
  .trust-row .benefits { align-self: center; }

  .courses { padding: 48px 0 30px; }
  .section-heading .eyebrow { margin-bottom: 23px; font-size: 17px; }
  .section-heading h2 { font-size: clamp(42px, 7.2vw, 58px); line-height: 1.12; }
  .section-heading > p:last-child { margin: 20px 0 34px; font-size: clamp(19px, 3.2vw, 26px); line-height: 1.52; }
  .course-grid { grid-template-columns: 1fr; gap: 20px; }
  .course-card { border-radius: 12px; }
  .course-card > img { aspect-ratio: 2.05; }
  .course-body { padding: 21px 25px 20px; }
  .course-body .eyebrow { font-size: 14px; margin-bottom: 12px; }
  .course-body h3 { font-size: clamp(31px, 5.1vw, 40px); white-space: normal; }
  .description { min-height: auto; margin: 8px 0 15px; font-size: clamp(17px, 2.8vw, 22px); }
  .details { font-size: clamp(16px, 2.5vw, 20px); }
  .course-footer strong { font-size: 39px; }
  .course-footer .button { min-height: 58px; min-width: 260px; font-size: 20px; }
  .all-courses { margin-top: 25px; font-size: 20px; }
}

@media (max-width: 500px) {
  .shell { width: calc(100% - 40px); }
  .brand { font-size: 25px; letter-spacing: 5px; }
  .hero { min-height: 1050px; }
  .nav { height: 100px; }
  .hero-content { padding-top: 22px; }
  h1 { font-size: 58px; }
  .hero-copy { font-size: 20px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .button { min-height: 65px; font-size: 21px; }
  .trust-row { margin-top: 25px; font-size: 16px; grid-template-columns: 54px auto; }
  .trust-row .tree-mark { width: 52px; height: 52px; font-size: 34px; }
  .course-footer .button { min-width: 180px; }
}
