/* Mobile-first. Base rules target phones; wider layouts are added at 700px and 1000px. */
:root {
  color-scheme: light;
  --brand: #304d68;
  --brand-dark: #243b51;
  --brand-soft: #dce3e7;
  --cream: #e9e9e5;
  --cream-deep: #dcdeda;
  --accent: #304d68;
  --accent-dark: #22394e;
  --accent-soft: #dce3e7;
  --ink: #20262c;
  --muted: #363e45;
  --white: #f0f0eb;
  --on-accent: #f5f5f0;
  --line: rgba(32, 38, 44, 0.28);
  --shadow: 0 12px 32px rgba(32, 38, 44, 0.07);
  --radius: 4px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
[id] { scroll-margin-top: 6rem; }
p, a { overflow-wrap: anywhere; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.7rem 1rem; border-radius: 999px; background: var(--ink); color: var(--cream); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.shell { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding: 3.5rem 0; }

.eyebrow { margin: 0 0 0.75rem; color: var(--brand-dark); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 600; line-height: 1.15; overflow-wrap: break-word; }
h1 { margin-bottom: 1rem; font-size: 2.3rem; }
h2 { margin-bottom: 1rem; font-size: 1.85rem; }
h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }
p { margin: 0 0 1.1rem; }
.lede { color: var(--muted); font-size: 1.12rem; }
.small { color: var(--muted); font-size: 0.9rem; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--line); }
.nav { position: relative; display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 0.75rem; color: var(--brand-dark); text-decoration: none; }
.brand-mark { display: block; width: 2rem; height: 2rem; flex: none; border: 1px solid var(--accent); border-radius: 50%; background: radial-gradient(circle, var(--accent) 0 17%, transparent 19% 40%, var(--accent) 42% 45%, transparent 47%); }
.brand-text { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.15; text-transform: uppercase; }
.nav-toggle { min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--brand-dark); cursor: pointer; font-weight: 600; }
.nav-toggle::after { content: " +"; padding-left: 0.3rem; }
.nav-toggle[aria-expanded="true"]::after { content: " −"; }
.nav-links { position: absolute; top: 100%; right: 0; left: 0; display: none; margin: 0 1.25rem; padding: 0.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); flex-direction: column; }
.nav-links.open { display: flex; max-height: calc(100dvh - 80px); overflow-y: auto; }
.nav-links a[aria-current="page"] { background: var(--brand-soft); }
.nav-links a { display: block; padding: 0.85rem 1rem; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-links a:hover { background: var(--brand-soft); }
.nav-links .button { margin-top: 0.4rem; color: var(--on-accent); }

/* Buttons and links */
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0.75rem 1.4rem; border: 2px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 1rem; font-weight: 700; text-align: center; text-decoration: none; transition: background 150ms ease; }
.button:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.button.gold, .button.light { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.button.secondary { background: transparent; color: var(--accent); }
.button.secondary:hover { background: var(--accent-soft); }
.button-row { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.button-row .button { width: 100%; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 0.4rem; color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.light-text { color: var(--accent); }

/* Homepage hero */
.curriculum-hero { padding: 2.75rem 0 0; background: var(--cream); }
.hero-orbit { display: none; }
.curriculum-hero-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.curriculum-hero h1 { color: var(--ink); font-size: clamp(2.6rem, 7.4vw, 4.3rem); letter-spacing: -0.045em; line-height: 1.06; }
.curriculum-hero h1 em { color: var(--brand); font-weight: inherit; }
.hero-message .eyebrow { max-width: 30em; font-size: 0.72rem; }
.hero-note { display: flex; align-items: center; gap: 0.6rem; margin: 1.25rem 0 0; color: var(--muted); font-size: 0.82rem; }
.hero-note::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--brand); }
.hero-lede { color: var(--muted); font-size: 1.15rem; }
.hero-message .text-link { justify-content: center; }
.path-choice-panel { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.panel-kicker { margin-bottom: 0.25rem; color: var(--brand-dark); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.path-choice-panel h2 { margin-bottom: 1rem; font-size: 1.6rem; }
.path-choice-panel > a { display: grid; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--ink); grid-template-columns: 1fr auto; column-gap: 1rem; text-decoration: none; }
.path-choice-panel > a span { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.path-choice-panel > a small { grid-column: 1; color: var(--muted); font-size: 0.92rem; }
.path-choice-panel > a b { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: var(--cream); grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--accent); font-size: 1.3rem; }
.path-choice-panel > a:hover span { color: var(--accent); }
.independence-line { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.independence-line span { display: block; color: var(--brand-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.independence-line p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Course list */
.curriculum-intro { background: var(--cream-deep); }
.intro-statement { margin-bottom: 2rem; }
.curriculum-track { display: grid; gap: 1rem; }
.pathway-divider { margin-top: 1.5rem; padding: 1rem 1.1rem; border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; background: var(--brand-soft); }
.pathway-divider span { display: block; margin-bottom: 0.3rem; color: var(--brand-dark); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pathway-divider p { margin: 0; color: var(--ink); font-size: 0.98rem; }
.track-course { display: grid; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); grid-template-columns: 1fr; gap: 0.75rem; }
.track-number { color: var(--brand); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.track-main { display: grid; gap: 0.5rem; }
.track-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.track-meta span { padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--cream-deep); color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.track-main h3 { margin: 0; font-size: 1.35rem; }
.track-main p { margin: 0; color: var(--muted); }
.track-main a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; text-decoration: none; }
.track-live { border: 1px solid var(--brand); background: var(--white); box-shadow: inset 4px 0 var(--brand), var(--shadow); }
.track-live .track-number { color: var(--accent); }
.track-live .track-meta span:nth-child(2) { background: var(--brand); color: var(--on-accent); }
.track-main { min-width: 0; }
.track-main a { gap: 0.5rem; }

/* Pathway cards */
.credit-section { padding: 3.5rem 0; background: var(--brand-soft); }
.credit-grid { display: grid; gap: 1.5rem; }
.audience-cards { display: grid; gap: 1rem; }
.audience-card { padding: 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.audience-card h3 { margin-top: 0.75rem; font-size: 1.45rem; }
.audience-card p { color: var(--muted); }
.audience-index { color: var(--brand-dark); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.accent-card { border-top: 4px solid var(--accent); }
.path-card-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; text-decoration: none; }

/* Development steps */
.ethics-feature { background: var(--cream); }
.ethics-feature-grid { display: grid; gap: 2rem; }
.ethics-promise .button { width: 100%; }
.scenario-stack { display: grid; gap: 0.75rem; }
.scenario-stack article { display: grid; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--brand-soft); grid-template-columns: 2rem 1fr; gap: 0.75rem; align-items: center; }
.scenario-stack span { color: var(--accent); font-weight: 700; }
.scenario-stack p { margin: 0; font-family: var(--serif); font-size: 1.1rem; }

/* How it works */
.process-section { background: var(--cream-deep); }
.section-head { margin-bottom: 1.5rem; }
.process-grid { display: grid; gap: 1rem; }
.process-grid article { padding: 1.25rem; border-radius: var(--radius); background: var(--white); }
.process-grid span { display: inline-block; margin-bottom: 0.5rem; color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.process-grid p { margin: 0; color: var(--muted); }

/* Teacher */
.teacher-band { background: var(--brand-soft); color: var(--ink); }
.teacher-band .eyebrow { color: var(--accent); }
.teacher-band .lede, .teacher-band p { color: var(--muted); }
.teacher-grid { display: grid; gap: 2rem; }
.teacher-proof { display: flex; min-height: 240px; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); flex-direction: column; justify-content: space-between; }
.teacher-proof span { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.teacher-proof strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1.1; }

/* Closing call to action */
.final-cta { background: var(--accent-soft); }
.final-cta .eyebrow { color: var(--accent-dark); }
.final-cta-inner { display: grid; gap: 1rem; }
.final-cta-inner .button { width: 100%; }

/* Inner pages */
.page-hero { padding: 2.5rem 0; background: var(--brand-soft); }
.page-hero h1 { font-size: 2.2rem; }
.status { display: inline-flex; margin-bottom: 1rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.content-grid { display: grid; gap: 2rem; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 2.25rem; font-size: 1.6rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.side-card { padding: 1.4rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.side-card .label { margin-bottom: 0.15rem; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.side-card .value { margin-bottom: 0.9rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.side-card .button { width: 100%; }
.notice { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent-soft); }
.split { display: grid; gap: 2rem; }
.portrait-placeholder { position: relative; min-height: 280px; border-radius: var(--radius); background: var(--brand-soft); }
.portrait-placeholder span { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; padding: 0.75rem; border-radius: 10px; background: var(--white); font-size: 0.9rem; text-align: center; }
.callout { padding: 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }

/* FAQ */
.faq-list { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.1rem 2.5rem 1.1rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; top: 1rem; right: 0.25rem; color: var(--accent); content: "+"; font-family: var(--sans); font-size: 1.4rem; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 1rem; color: var(--muted); }

/* Footer */
.site-footer { padding: 3rem 0 2rem; background: var(--cream-deep); color: var(--ink); }
.site-footer .eyebrow { color: var(--accent); }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid h2 { font-size: 1.6rem; }
.footer-links { display: grid; gap: 0.25rem; }
.footer-links strong { margin-bottom: 0.25rem; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); text-decoration: none; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); flex-direction: column; gap: 0.5rem; color: var(--muted); font-size: 0.85rem; }

/* Tablet and up */
@media (min-width: 700px) {
  .shell { padding-inline: 2rem; }
  .section, .credit-section { padding: 5rem 0; }
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.4rem; }
  .button-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .button-row .button, .ethics-promise .button, .final-cta-inner .button { width: auto; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .audience-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .track-course { padding: 1.5rem; grid-template-columns: 3.5rem 1fr; }
  .track-main h3 { font-size: 1.6rem; }
  .page-hero h1 { font-size: 3rem; }
}

/* Desktop */
@media (min-width: 1000px) {
  .nav { min-height: 76px; }
  .nav-toggle { display: none; }
  .nav-links { position: static; display: flex; margin: 0; padding: 0; background: transparent; box-shadow: none; flex-direction: row; align-items: center; gap: 0.25rem; }
  .nav-links a { color: var(--brand-dark); }
  .nav-links a:hover { background: var(--brand-soft); }
  .nav-links .button:hover { background: var(--accent-dark); }
  .nav-links .button { margin: 0 0 0 0.75rem; }
  .curriculum-hero { padding-top: 4.5rem; }
  .curriculum-hero-grid { grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 4rem; padding-bottom: 4.5rem; }
  .curriculum-hero h1 { font-size: 4.3rem; }
  .independence-line { display: flex; justify-content: space-between; gap: 2rem; }
  .intro-statement { max-width: 760px; }
  .credit-grid { grid-template-columns: 0.6fr 1.4fr; gap: 3rem; }
  .ethics-feature-grid, .teacher-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .teacher-proof { min-height: 380px; }
  .section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .final-cta-inner { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 4rem; }
  .side-card { position: sticky; top: 6rem; }
  .split { grid-template-columns: 1fr 1fr; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Newsletter signup (site.js posts it to Listmonk through /subscribe) */
.newsletter { background: var(--brand-soft); border-block: 1px solid var(--line); }
.newsletter h2 em { color: var(--brand); font-weight: inherit; }
.newsletter-grid { display: grid; gap: 2rem; }
.newsletter-form, .newsletter-done { display: grid; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--brand); border-top: 4px solid var(--brand); background: var(--white); }
.newsletter-form label { font-weight: 600; }
.newsletter-form .optional { color: var(--muted); font-weight: 400; }
.newsletter-form input[type="email"], .newsletter-form input[type="text"] { min-height: 48px; margin-bottom: 0.5rem; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.newsletter-form .newsletter-consent { display: flex; gap: 0.6rem; font-weight: 400; line-height: 1.5; }
.newsletter-form .newsletter-consent input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; accent-color: var(--accent); }
.newsletter-form .button { margin-top: 0.75rem; cursor: pointer; }
.newsletter-form .button:disabled { opacity: 0.6; cursor: wait; }
.newsletter-form .small { margin: 0; }
.newsletter-error { margin: 0; color: #9b2c2c; font-weight: 600; }
.newsletter-error:empty { display: none; }
.newsletter-form[hidden], .newsletter-done[hidden] { display: none; }
.newsletter-done p:last-child { margin: 0; }
.newsletter-form .nonce { position: absolute; left: -9999px; }
@media (min-width: 700px) {
  .newsletter-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .newsletter-form, .newsletter-done { padding: 2rem; }
}

/* Cassadaga history section */
.heritage { background: var(--cream); }
.heritage-dates article { grid-template-columns: 3.5rem 1fr; }
.heritage-dates span { font-family: var(--serif); font-size: 1.15rem; }

@media (max-width: 699px) {
  .section, .credit-section { padding-block: 2.75rem; }
  .curriculum-hero-grid { gap: 1.75rem; }
  .hero-lede { font-size: 1.0625rem; }
  .path-choice-panel { padding: 1.25rem; }
  .path-choice-panel h2 { font-size: 1.45rem; }
  .path-choice-panel > a { padding-block: 0.85rem; }
  .track-number { font-size: 1rem; }
  .track-meta { gap: 0.35rem; }
  .track-meta span { font-size: 0.75rem; letter-spacing: 0.02em; }
  .content-grid > .side-card { grid-row: 1; }
  .teacher-proof { min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (scripting: none) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: none; }
  .nav-links { position: static; display: flex; width: 100%; margin: 0 0 1rem; box-shadow: none; }
}

/* Editorial layouts: each subject has its own page and reading rhythm. */
h1, h2 { letter-spacing: -0.035em; text-wrap: balance; }
.button { gap: 0.75rem; border-radius: 4px; }
.nav-links { border: 1px solid var(--line); border-radius: 4px; }
.nav-links a { font-size: 0.9rem; border-radius: 2px; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-student { border-top: 1px solid var(--line); }
.home-intro { padding-top: 2.5rem; }
.home-intro-grid { display: grid; gap: 2rem; }
.home-intro h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.07; margin-bottom: 1.5rem; }
.home-intro h1 em { color: var(--brand); font-weight: inherit; }
.home-intro .lede { max-width: 34rem; margin-bottom: 1.5rem; }
.home-intro .button { width: 100%; }
.study-cover { display: grid; grid-template-columns: 0.85fr 1fr; align-items: center; background: #d7dfe2; border: 1px solid #a8b6bd; }
.study-cover img { display: block; width: 100%; }
.cover-caption { padding: 1rem; }
.cover-caption > span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cover-caption p { font-family: var(--serif); line-height: 1.2; font-size: 1.25rem; margin: 0.75rem 0 0; }
.home-byline { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; padding-block: 1.1rem; margin-top: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
.editorial-heading { margin-bottom: 1.75rem; }
.editorial-heading > p:last-child { max-width: 31rem; }
.pathway-spread { display: grid; }
.pathway-entry { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; padding-block: 1.75rem; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pathway-number { font-family: var(--serif); font-size: 1.4rem; color: var(--brand); }
.pathway-entry h3 { font-size: 2rem; }
.pathway-entry .eyebrow { font-size: 0.68rem; }
.pathway-entry p:not(.eyebrow) { color: var(--muted); }
.entry-link { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 1rem; color: var(--brand-dark); font-weight: 650; }
.entry-link > span { font-size: 1.5rem; }
.pathway-entry:hover h3, .pathway-entry:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.featured-study { background: var(--brand-soft); border-block: 1px solid var(--line); }
.featured-study-grid { display: grid; gap: 1.5rem; }
.featured-course { padding: 1.5rem; border: 1px solid var(--brand); border-top: 4px solid var(--brand); background: var(--white); }
.featured-course h3 { font-size: 2rem; margin-block: 1.5rem; }
.course-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.78rem; font-weight: 650; }
.availability { display: inline-flex; align-items: center; gap: 0.4rem; }
.availability::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.course-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1rem; padding-block: 1rem; border-block: 1px solid var(--line); }
.course-facts dt { font-size: 0.75rem; color: var(--muted); }
.course-facts dd { margin: 0; font-weight: 600; font-size: 0.9rem; }
.featured-course .small { margin: 0.5rem 0 0; font-size: 0.8rem; }
.tradition-grid { display: grid; gap: 2rem; }
.heritage-year { display: flex; flex-direction: column; justify-content: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.heritage-year strong { display: block; font: 5rem/1 var(--serif); letter-spacing: -0.065em; color: var(--brand); margin-bottom: 0.6rem; }
.heritage-year > span:last-child { color: var(--muted); font-size: 0.85rem; }
.editorial-links { display: grid; gap: 0.25rem; margin-bottom: 1rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-description { font: 1.5rem/1.3 var(--serif); margin: 1.5rem 0 1rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.page-hero { padding-block: 2rem 3rem; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; }
.page-hero .lede { max-width: 700px; }
.breadcrumb { display: inline-flex; gap: 0.75rem; min-height: 44px; align-items: center; margin-bottom: 1.5rem; font-size: 0.85rem; }
.catalog-note { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.catalog-note p { margin: 0.5rem 0 0; max-width: 45rem; }
.curriculum-track { gap: 0; }
.track-course { border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; padding-block: 1.75rem; }
.track-live { border: 1px solid var(--brand); background: var(--white); box-shadow: inset 4px 0 var(--brand); }
.track-meta span { padding-left: 0; background: transparent; }
.track-live .track-meta span:nth-child(2) { padding-inline: 0.6rem; border-radius: 2px; }
.track-main h3 a { color: var(--ink); font-weight: inherit; }
.pathway-divider { margin-block: 2rem 0.75rem; border-left: 0; border-top: 2px solid var(--brand); border-radius: 0; padding: 1rem 0; background: transparent; }
.pathway-detail, .reading-grid { display: grid; gap: 2.5rem; }
.pathway-summary { padding: 1.5rem; background: var(--brand-soft); border-top: 3px solid var(--brand); }
.pathway-summary dl { margin: 0; }
.pathway-summary dt { font-size: 0.8rem; color: var(--muted); }
.pathway-summary dd { margin: 0.2rem 0 1.25rem; font-weight: 600; }
.study-topics article { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.study-topics article > span { color: var(--brand); font-family: var(--serif); }
.study-topics article p { margin: 0; }
.pathway-foundation { background: var(--brand-soft); }
.course-footnote { margin-top: 1rem; }
.next-page { border-top: 1px solid var(--line); background: var(--cream-deep); }
.next-page-inner { display: grid; gap: 1rem; }
.next-page-inner h2 { margin: 0; }
.process-grid { counter-reset: study-step; }
.process-grid article { border-top: 2px solid var(--brand); padding: 1.5rem 0; background: transparent; }
.process-grid article::before { counter-increment: study-step; content: "0" counter(study-step); display: block; font: 2.5rem/1 var(--serif); color: var(--brand); margin-bottom: 1.5rem; }
.side-card { border: 1px solid var(--line); border-top: 3px solid var(--brand); box-shadow: none; }
.instructor-portrait { margin: 0; max-width: 400px; }
.instructor-portrait img { display: block; width: 100%; border-radius: 3px; }
.instructor-portrait figcaption { padding-top: 0.75rem; color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.instructor-portrait figcaption a { display: inline-flex; align-items: center; min-height: 44px; }
.instructor-grid { display: grid; gap: 2rem; }
.syllabus { margin-bottom: 2rem; }
.home-byline a { display: inline-flex; align-items: center; min-height: 44px; }
.heritage-dates article { background: transparent; border-top: 1px solid var(--line); border-radius: 0; padding-inline: 0; }

@media (min-width: 700px) {
  .home-intro { padding-top: 3.5rem; }
  .home-intro-grid { grid-template-columns: 1.3fr 0.8fr; align-items: center; gap: 2.5rem; }
  .home-intro .button { width: auto; }
  .study-cover { display: block; }
  .cover-caption { padding: 1.5rem; border-top: 1px solid #a8b6bd; }
  .cover-caption p { font-size: 1.65rem; }
  .home-byline { justify-content: space-between; margin-top: 3rem; }
  .editorial-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; align-items: end; }
  .editorial-heading .eyebrow { grid-column: 1 / -1; }
  .pathway-spread { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .pathway-entry { grid-template-columns: 3rem 1fr; }
  .featured-study-grid, .tradition-grid, .reading-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
  .instructor-grid { grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 3.5rem; }
  .heritage-year { border-bottom: 0; border-right: 1px solid var(--line); padding-bottom: 0; min-height: 280px; }
  .heritage-year strong { font-size: 7rem; }
  .page-hero h1 { font-size: 3.5rem; }
  .page-hero { padding-block: 2rem 4rem; }
  .next-page-inner { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
  .pathway-detail { grid-template-columns: 0.75fr 1.5fr; align-items: start; }
}
@media (min-width: 1000px) {
  .nav-links { border: 0; gap: 0; }
  .nav-links a { padding-inline: 0.8rem; }
  .nav-student { border-top: 0; border-left: 1px solid var(--line); margin-left: 0.75rem; }
  .home-intro-grid { gap: 4.5rem; }
  .home-intro h1 { font-size: 3.75rem; }
  .home-intro { padding-top: 4rem; }
  .featured-study-grid { gap: 5rem; }
  .featured-course { padding: 2rem; }
  .study-cover { max-width: 380px; justify-self: end; }
}

/* Make the first phone screen explain the offer, the benefit, and the next step. */
.opening { padding-block: 1.5rem 0; border-bottom: 1px solid var(--line); }
.opening-grid { display: grid; gap: 1.75rem; }
.opening .eyebrow { font-size: 0.68rem; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.opening h1 { font-size: clamp(2rem, 8.5vw, 3rem); line-height: 1.08; margin-bottom: 1rem; text-wrap: initial; }
.opening h1 em { color: var(--brand); font-weight: inherit; }
.opening-lede { color: var(--ink); font-size: 1rem; line-height: 1.6; max-width: 35rem; margin-bottom: 1rem; }
.opening-actions { display: grid; gap: 0.35rem; margin-top: 1rem; }
.opening-actions .button { width: 100%; }
.opening-actions .text-link { font-size: 0.85rem; justify-content: center; }
.opening-facts { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.78rem; color: var(--brand-dark); font-weight: 650; }
.opening-facts span { display: inline-flex; align-items: center; gap: 0.4rem; }
.opening-facts span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.opening-teacher { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 0.75rem; padding-block: 1rem; margin-top: 0.5rem; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.opening-teacher img { border-radius: 50%; object-fit: cover; }
.opening-teacher strong { display: block; font-size: 0.8rem; line-height: 1.4; }
.opening-teacher small { display: block; font-size: 0.72rem; line-height: 1.4; color: var(--muted); }
.opening-teacher:hover strong { text-decoration: underline; }
.opening-feature { background: var(--brand-soft); border-top: 3px solid var(--brand); padding: 1.4rem; margin-bottom: 1.75rem; }
.opening-feature h2 { font-size: 1.85rem; }
.opening-feature > p:not(.eyebrow) { font-size: 0.95rem; }
.opening-feature .text-link { margin-top: 0.75rem; }
.course-questions { list-style: none; padding: 0; margin: 0 0 1rem; }
.course-questions li { padding-block: 0.7rem; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.5; }
.course-catalog .curriculum-intro { padding-top: 2rem; }
.catalog-note h2 { margin-bottom: 0.5rem; }
@media (min-width: 700px) {
  .opening { padding-block: 3rem; }
  .opening-grid { grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
  .opening h1 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); }
  .opening-lede { font-size: 1.0625rem; }
  .opening-actions { justify-items: start; }
  .opening-actions .button { width: auto; }
  .opening-actions .text-link { justify-content: start; }
  .opening-feature { padding: 2rem; margin-bottom: 0; }
  .opening-feature h2 { font-size: 2.25rem; }
}

/* Unapproved placeholders in draft legal pages; none may remain at deploy */
.todo { background: #fff3b0; color: #6b4e00; }
