:root {
  --paper: #f5f1e8;
  --ink: #141817;
  --brand: #0f5c5a;
  --accent: #d58b1f;
  --muted: #6e746f;
  --line: rgba(20, 24, 23, .16);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: Inter, system-ui, sans-serif; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
.site-header {
  max-width: var(--max); margin: 0 auto; padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.hero, .section {
  max-width: var(--max); margin: 0 auto; padding: 64px 24px;
}
.hero h1 {
  font-family: Georgia, serif; font-size: clamp(44px, 7vw, 72px);
  line-height: .98; letter-spacing: -.04em; max-inline-size: 24ch; margin: 16px 0 24px;
}
.lede { font-size: clamp(18px, 2vw, 24px); max-width: 68ch; line-height: 1.5; color: #343a37; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; color: var(--brand); }
.button {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  padding: 10px 16px; border: 1px solid var(--ink); border-radius: 4px;
  background: var(--accent); color: var(--ink); font-weight: 800; text-decoration: none;
}
.button.ghost { background: transparent; }
.button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 3px;
}
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); margin-top: 48px; }
.facts > div { background: var(--paper); padding: 16px; }
.facts dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 8px 0 0; font-weight: 800; }
.course-list { border-top: 1px solid var(--line); }
.course-row {
  min-height: 80px; border-bottom: 1px solid var(--line); display: flex;
  align-items: center; justify-content: space-between; gap: 24px; text-decoration: none;
  transition: padding-left 180ms cubic-bezier(.2,.8,.2,1);
}
.course-row:hover { padding-left: 8px; }
.course-row strong, .course-row small { display: block; }
.course-row small { color: var(--muted); margin-top: 6px; }
.enquiry-form, .auth-card { display: grid; gap: 16px; max-width: 640px; }
label { display: grid; gap: 8px; font-weight: 700; }
input, textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--ink); border-radius: 4px;
  background: #fffdf8; color: var(--ink); padding: 10px 12px; font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(100%, 480px); border-top: 8px solid var(--brand); padding: 32px 0; }
.auth-card h1 { font-family: Georgia, serif; font-size: 44px; margin: 0 0 16px; }
@media (max-width: 640px) {
  .site-header { padding: 16px; }
  .hero, .section { padding: 48px 16px; }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

.course-prose {
  white-space: pre-wrap;
  line-height: 1.75;
}

.course-content {
  max-width: 900px;
}

.course-awarding-body {
  margin-top: 1rem;
}

.course-hero-image {
  display: block;
  width: 100%;
  max-height: 520px;
  margin: 0 0 2rem;
  border-radius: 16px;
  object-fit: cover;
}
