:root {
  --ink: #1c2c4a;
  --muted: #5d6874;
  --green: #2f6d45;
  --green-deep: #245738;
  --sage: #d7e6d4;
  --gold: #c6a15a;
  --gold-soft: #f6efd8;
  --cream: #f7f5f1;
  --line: #e6e1d8;
  --footer: #17324d;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(28, 44, 74, 0.08);
  --serif: "Source Serif 4", Georgia, "Palatino Linotype", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #0b5cad; outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: white;
  border-radius: 8px;
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 241, 0.94);
  border-bottom: 1px solid transparent;
}
.header-bar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo { width: 46px; height: 46px; display: grid; place-items: center; }
.logo svg { width: 46px; height: 46px; }
.logo-large { width: 92px; height: 92px; }
.logo-large svg { width: 92px; height: 92px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-family: var(--serif); font-size: 1.15rem; }
.brand-name small { color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.68rem; font-weight: 700; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; color: #314056; }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--green); }
.menu-button {
  display: none;
  min-height: 44px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
}

.hero { position: relative; overflow: hidden; padding: 28px 0 20px; }
.hero-arcs {
  position: absolute;
  right: -80px;
  top: -40px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 28px solid #e7efe4;
  box-shadow: inset 0 0 0 18px transparent, 18px 18px 0 8px rgba(198, 161, 90, 0.55);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr) 340px; gap: 28px; align-items: center; min-height: 460px; }
.logo-card {
  justify-self: start;
  width: 168px;
  padding: 22px 16px 18px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}
.logo-card strong, .logo-card small { display: block; }
.logo-card strong { margin-top: 8px; font-family: var(--serif); font-size: 1rem; }
.logo-card small { margin-top: 4px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.62rem; font-weight: 700; }
.kicker { margin: 0 0 10px; color: var(--green); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.kicker::after { content: ""; display: inline-block; width: 42px; height: 2px; margin-left: 10px; background: var(--gold); vertical-align: middle; }
.hero-copy h1, .section-title { margin: 0 0 14px; font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.hero-copy h1 { max-width: 11ch; font-size: clamp(2.3rem, 4vw, 3.35rem); }
.hero-copy p { max-width: 46ch; margin: 0 0 22px; color: #3e4a58; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 700;
}
.button:hover { background: #121e33; }
.hero-photo { justify-self: end; width: min(340px, 100%); margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 180px 180px 28px 28px; box-shadow: var(--shadow); }

.features { background: white; border-block: 1px solid #f0ece6; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-row article { min-height: 118px; display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.feature-row article + article { border-left: 1px solid var(--line); }
.feature-row h2 { margin: 0; font-size: 1.05rem; }
.feature-row p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }
.feature-icon { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.feature-icon.green { background: #e7f3ea; color: var(--green); }
.feature-icon.green svg { fill: var(--green); stroke: none; }
.feature-icon.blue { background: #eef2f6; color: #607086; }
.feature-icon.gold { background: var(--gold-soft); color: #a8843b; }

.courses { padding: 64px 0 36px; }
.section-title { font-size: clamp(2rem, 3vw, 2.7rem); }
.section-lead { max-width: 62ch; margin: 0 0 28px; color: #3e4a58; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card { display: flex; flex-direction: column; overflow: hidden; background: white; border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; }
a.course-card:hover { transform: translateY(-2px); }
.course-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; }
.card-body h3 { margin: 0; font-family: var(--serif); font-size: 1.45rem; }
.card-body p { margin: 0; color: #445061; }
.card-meta { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; color: var(--green); font-weight: 700; }
.play { width: 28px; height: 28px; display: inline-grid; place-items: center; margin-right: 8px; border: 1.5px solid var(--green); border-radius: 50%; vertical-align: middle; }
.play::before { content: ""; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--green); margin-left: 2px; }
.on-demand { display: inline-flex; align-items: center; }
.arrow { width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid #d5ddd6; border-radius: 50%; color: #607086; }
.card-note { color: var(--muted); font-size: 0.92rem; }

.about { padding: 12px 0 72px; }
.about-panel { padding: 8px 0 0; }
.about-panel p { max-width: 68ch; }

.site-footer { position: relative; background: var(--footer); color: white; }
.footer-sweep {
  position: absolute;
  left: 0;
  top: -42px;
  width: 280px;
  height: 42px;
  background: linear-gradient(90deg, #6f9a62 0 46%, #c6a15a 46% 100%);
  clip-path: polygon(0 100%, 0 20%, 78% 100%, 100% 40%, 100% 100%);
}
.footer-bar { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand .brand-name strong, .footer-brand .brand-name small { color: white; }
.footer-brand .brand-name small { color: #d5deea; }
.powered { margin: 0; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.35); color: #e7eef6; }

@media (max-width: 980px) {
  .hero-grid, .card-grid, .feature-row { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .logo-card { display: none; }
  .hero-photo { justify-self: start; width: min(420px, 100%); }
  .feature-row article + article { border-left: 0; border-top: 1px solid var(--line); }
  .hero-arcs { width: 320px; height: 320px; }
}

@media (max-width: 720px) {
  .menu-button { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    padding: 8px 20px 16px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
  }
  .nav-open .site-nav { display: flex; }
  .footer-bar { align-items: flex-start; flex-direction: column; padding: 28px 0; }
  .powered { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.course-card:hover { transform: none; }
}
