/* Clear Path Curriculum — academic design system */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0E1C2F;
  --crimson: #8C1F2B;
  --crimson-dark: #701822;
  --ivory: #F4EFE6;
  --paper: #FBFAF6;
  --gold: #C6A15B;
  --gold-dark: #A88444;
  --ink: #1B1916;
  --slate: #5C574E;
  --stone: #E6DFD2;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tap: 52px;
  --radius: 2px;
  --max: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--crimson); }
h1, h2 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.25rem, 7vw, 3.35rem); color: var(--ivory); }
h2 { font-size: clamp(1.6rem, 4vw, 2rem); }
p { margin: 0 0 1em; }
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 20;
  background: var(--gold); color: var(--navy); font-weight: 600;
  padding: 10px 16px; text-decoration: none; border-radius: var(--radius);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: max(14px, env(safe-area-inset-top)) 20px 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ivory);
  width: fit-content;
  max-width: 100%;
}
.brand:hover { color: var(--ivory); }
.brand-mark { width: 56px; height: 56px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: 0.01em; color: var(--ivory); }
.brand-sub { font-family: var(--sans); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory); margin-top: 0.35rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 2.6rem 20px 3.2rem;
  text-align: left;
}
.hero-inner, .section-inner, .site-footer .footer-inner {
  max-width: 44rem;
  margin: 0 auto;
}
.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.8rem;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3.4vw, 1.45rem);
  line-height: 1.35;
  color: var(--ivory);
  margin: 0 0 1.6rem;
  max-width: 34rem;
}
.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 12px 20px;
  border-radius: var(--radius);
  font: 600 0.95rem/1.2 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  flex: 1 1 100%;
  max-width: 28rem;
}
.btn-primary {
  background: var(--crimson);
  color: var(--ivory);
  border: 1.5px solid var(--crimson);
}
.btn-primary:hover { background: var(--crimson-dark); border-color: var(--crimson-dark); color: var(--ivory); }
.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid var(--gold);
}
.btn-secondary:hover { background: var(--gold); color: var(--navy); }
.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

main { flex: 1; }
.section { padding: 2.4rem 20px; }
.section + .section { padding-top: 0; }
.section p:last-child { margin-bottom: 0; }
.muted { color: var(--slate); }

.site-footer {
  background: var(--navy);
  color: var(--ivory);
  padding: 2rem 20px max(2.2rem, env(safe-area-inset-bottom));
  border-top: 3px solid var(--gold);
  margin-top: auto;
}
.site-footer h2 { color: var(--ivory); font-size: 1.45rem; }
.site-footer a { color: var(--ivory); }
.site-footer a:hover { color: var(--gold); }
.contact { margin: 0 0 1rem; }
.social {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.fine {
  color: #C9C1B3;
  font-size: 0.9rem;
  margin: 0;
}

@media (min-width: 700px) {
  .brand-mark { width: 64px; height: 64px; }
  .brand-name { font-size: 1.85rem; }
  .brand-sub { font-size: 0.72rem; }
  .hero { padding: 3.4rem 24px 3.8rem; }
  .section { padding: 2.8rem 24px; }
  .actions { gap: 12px; }
  .btn { flex: 1 1 auto; min-width: 12.5rem; max-width: none; }
}

.btn-navy {
  background: var(--navy);
  color: var(--ivory);
  border: 1.5px solid var(--navy);
}
.btn-navy:hover { background: #17263d; color: var(--ivory); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--ivory); }
