/* ============================================================
   Canadian Online Learning Academy — site stylesheet
   Design tokens per design_handoff_cola_website/README.md
   ============================================================ */

:root {
  --red: oklch(0.48 0.18 25);
  --red-dark: oklch(0.4 0.19 25);
  --red-light: oklch(0.7 0.15 25);
  --ink: oklch(0.2 0.02 80);
  --ink-2: oklch(0.3 0.02 80);
  --ink-3: oklch(0.35 0.02 80);
  --muted: oklch(0.4 0.02 80);
  --muted-2: oklch(0.45 0.02 80);
  --faint: oklch(0.5 0.02 80);
  --bg: oklch(0.98 0.005 80);
  --border: oklch(0.91 0.01 80);
  --border-2: oklch(0.9 0.01 80);
  --border-3: oklch(0.85 0.01 80);
  --input-border: oklch(0.88 0.01 80);
  --dark: oklch(0.2 0.02 80);
  --footer-bg: oklch(0.16 0.02 80);
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Public Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
}

body.page-flex { display: flex; flex-direction: column; }
body.page-flex main { flex: 1; display: flex; flex-direction: column; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
::selection { background: oklch(0.48 0.18 25 / 0.2); }

img { max-width: 100%; }

/* ---------- Layout ---------- */
.container { max-width: 1120px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.container--1000 { max-width: 1000px; }
.container--mid { max-width: 900px; }
.container--narrow { max-width: 800px; }
.container--640 { max-width: 640px; }

.band { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band--dark { background: var(--dark); border: none; }

.center { text-align: center; }

/* ---------- Typography ---------- */
.serif { font-family: var(--serif); }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.eyebrow--light { color: var(--red-light); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }

.display-xl { font-size: 54px; line-height: 1.1; letter-spacing: -0.01em; }
.display { font-size: 42px; line-height: 1.15; }
.display-sm { font-size: 40px; line-height: 1.15; }
.display-xs { font-size: 36px; line-height: 1.2; }

.h-section { font-size: 30px; }
.h-band { font-size: 28px; }
.h-medium { font-size: 26px; }
.h-small { font-size: 24px; }
.h-card { font-size: 22px; }

h2.sans, .sans { font-family: var(--sans); }

.lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
.lead--lg { font-size: 18px; }
.body-text { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; }
.small-note { font-size: 13px; color: var(--faint); }
.pending-note { font-size: 13px; color: oklch(0.5 0.1 80); }
.principal-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: center; border: 3px solid white; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.leadership-profile { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.leadership-photo { position: relative; width: 220px; height: 280px; overflow: hidden; border-radius: 18px; border: 3px solid white; background: var(--cream); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.leadership-photo img { position: absolute; width: 480px; max-width: none; height: auto; left: -60px; top: -42px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 6px;
  font-size: 16px; font-weight: 600; border: none; cursor: pointer;
  font-family: var(--sans); text-align: center;
}
.btn--primary { background: var(--red); color: white; }
.btn--primary:hover { background: var(--red-dark); color: white; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-3); }
.btn--ghost:hover { color: var(--ink); border-color: oklch(0.7 0.01 80); }
.btn--ghost-dark { background: transparent; color: white; border: 1px solid oklch(0.4 0.02 80); }
.btn--ghost-dark:hover { color: white; border-color: oklch(0.6 0.02 80); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--md { padding: 12px 24px; font-size: 15px; }
button.btn:disabled { opacity: 0.5; cursor: default; }
button.btn:disabled:hover { background: var(--red); }

.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.text-link { font-size: 14px; font-weight: 600; }

/* ---------- Notices, pills, chips ---------- */
.notice {
  padding: 24px 28px; border-radius: 10px;
  background: oklch(0.5 0.14 25 / 0.06); border: 1px solid oklch(0.5 0.14 25 / 0.2);
  font-size: 14px; line-height: 1.6; color: oklch(0.35 0.05 25);
}
.notice--sm { padding: 18px 22px; font-size: 13px; }
.notice--inline { padding: 12px 16px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.notice__title { font-size: 14px; font-weight: 700; color: oklch(0.35 0.08 25); margin-bottom: 8px; }
.notice p { margin: 0; }

.notice--gold {
  background: oklch(0.55 0.13 80 / 0.08); border: 1px solid oklch(0.55 0.13 80 / 0.25);
  color: oklch(0.4 0.1 80); font-size: 13px; line-height: 1.6; padding: 16px 20px;
}

.notice--error {
  background: oklch(0.55 0.16 25 / 0.08); border: 1px solid oklch(0.55 0.16 25 / 0.3);
  color: oklch(0.4 0.16 25); font-size: 13px; padding: 10px 14px; border-radius: 7px;
}

.pill {
  display: inline-block; padding: 4px 10px; border-radius: 100px;
  background: oklch(0.55 0.13 80 / 0.12); font-size: 11px; font-weight: 700;
  color: oklch(0.4 0.1 80);
}
.pill--lg {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  border: 1px solid oklch(0.55 0.13 80 / 0.3); font-size: 12px;
}

.chip {
  padding: 6px 14px; border-radius: 100px; background: oklch(0.92 0.005 80);
  font-size: 13px; font-weight: 600; color: var(--ink-3);
}
.chip--red { background: oklch(0.48 0.18 25 / 0.08); color: var(--red); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  padding: 26px; border-radius: 12px; background: white;
  border: 1px solid var(--border); display: block; color: inherit;
}
.card--lg { padding: 28px; }
a.card:hover { color: inherit; border-color: oklch(0.82 0.01 80); }
.card__title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.card__title--sm { font-size: 15px; }
.card__title--lg { font-size: 17px; }
.card__text { font-size: 13px; color: var(--muted-2); line-height: 1.5; overflow-wrap: anywhere; }
.card__text--md { font-size: 14px; line-height: 1.6; }
.card__text--relaxed { font-size: 14px; line-height: 1.7; }
.card__code { font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 6px; }

.icon-sq { width: 34px; height: 34px; border-radius: 8px; background: oklch(0.48 0.18 25 / 0.1); margin-bottom: 14px; }

/* Stacked list "table" (rows separated by 1px lines, rounded frame) */
.list-table {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.list-table > * { background: white; }

.step-row { padding: 22px 26px; display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: center; }
.step-row--sm { padding: 20px 24px; }
.step-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: white;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step-label { font-size: 15px; font-weight: 600; }

.info-row { padding: 20px 24px; }
.info-row__title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.info-row__text { font-size: 14px; color: var(--muted-2); line-height: 1.6; }

.spec-row { padding: 18px 22px; display: grid; grid-template-columns: 220px 1fr; gap: 16px; }
.spec-row__label { font-size: 13px; font-weight: 700; color: var(--muted-2); }
.spec-row__value { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* Grid "table" with 1px gaps (subject areas, intakes) */
.grid-table {
  display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.grid-table--4 { grid-template-columns: repeat(4, 1fr); }
.grid-table > * { background: white; padding: 26px; }

/* Wide data tables (tuition, calendar) */
.table-scroll { overflow-x: auto; }
.table-scroll .list-table { min-width: 660px; }
.thead-row {
  background: oklch(0.95 0.005 80) !important; padding: 14px 22px; display: grid; gap: 12px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-2);
}
.tbody-row { padding: 16px 22px; display: grid; gap: 12px; font-size: 14px; align-items: center; }
.cols-tuition { grid-template-columns: 1fr 140px 140px; }
.cols-calendar { grid-template-columns: 100px 1fr 90px 90px 140px; }
.cols-tuition-single { grid-template-columns: 1fr 180px; }
.tbody-row--muted { color: var(--faint); }

/* Dash lists (course units/expectations, format bullets) */
.dash-list { display: flex; flex-direction: column; gap: 10px; }
.dash-item { font-size: 14px; line-height: 1.6; color: var(--muted); display: flex; gap: 8px; }
.dash-item > .dash { color: var(--red); flex-shrink: 0; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--border-2); padding: 20px 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; width: 100%; background: none; border: none; padding: 0;
  font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink); text-align: left;
}
.faq-icon { font-size: 18px; color: var(--red); flex-shrink: 0; }
.faq-a { font-size: 15px; line-height: 1.7; color: var(--muted); margin-top: 12px; }

/* ---------- Forms ---------- */
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-stack--lg { gap: 16px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-2--lg { gap: 16px; }

.field label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: 7px;
  border: 1px solid var(--input-border); font-size: 14px; font-family: var(--sans);
  background: white; color: var(--ink);
}
.field--lg input, .field--lg select, .field--lg textarea { padding: 12px 14px; font-size: 15px; }
.field textarea { resize: vertical; }

.check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.check input { margin-top: 2px; }
.form-note { font-size: 12px; line-height: 1.5; color: var(--faint); margin: 0; }
.form-note a { font-size: 12px; }

.form-card { background: white; border-radius: 14px; border: 1px solid var(--border); padding: 36px; }
.form-card--registration { padding: 40px; }
.form-stack--registration { gap: 28px; }
.form-section { margin: 0; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--border); }
.form-section:last-of-type { padding-bottom: 0; border-bottom: 0; }
.form-section legend {
  width: 100%; padding: 0; margin: 0 0 18px;
  font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink);
}
.form-section--consent { display: flex; flex-direction: column; gap: 16px; }
.optional { font-size: 11px; font-weight: 500; color: var(--faint); margin-left: 4px; }
.field-help { margin: 7px 0 0; font-size: 12px; line-height: 1.5; color: var(--faint); }
.field-error { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--red); }
.course-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.choice-card {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px;
  border: 1px solid var(--input-border); border-radius: 8px; background: var(--bg);
  font-size: 13px; line-height: 1.5; color: var(--ink-3); cursor: pointer;
}
.choice-card:hover { border-color: var(--border-3); background: white; }
.choice-card:has(input:checked) { border-color: var(--red); background: oklch(0.5 0.14 25 / 0.05); }
.choice-card input { margin: 3px 0 0; flex-shrink: 0; accent-color: var(--red); }
.choice-card--guidance { grid-column: 1 / -1; }
.check--registration { font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.check--registration input { margin-top: 4px; flex: 0 0 auto; accent-color: var(--red); }
.form-note--privacy { padding: 14px 16px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); font-size: 13px; }
.btn--registration { width: 100%; padding: 15px 24px; }

/* ---------- September Ready campaign & toolkit ---------- */
.september-promo {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
  padding: 28px 32px; border-radius: 14px; background: var(--dark);
  border: 1px solid oklch(0.32 0.03 50); box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.september-promo p { margin: 0; color: oklch(0.8 0.01 80); font-size: 14px; line-height: 1.6; }
.september-hero { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 54px; align-items: center; }
.toolkit-feature-list { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.toolkit-feature-list li { position: relative; padding-left: 26px; color: var(--ink-3); font-size: 15px; line-height: 1.5; }
.toolkit-feature-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%; background: oklch(0.48 0.18 25 / 0.1);
  color: var(--red); font-size: 11px; font-weight: 700; text-align: center; line-height: 18px;
}
.btn--toolkit { min-width: 210px; }
.september-hero__card {
  padding: 32px; border-radius: 16px; background: var(--dark); color: white;
  box-shadow: 0 18px 42px rgba(0,0,0,0.14); transform: rotate(1deg);
}
.september-hero__card h2 { font-size: 30px; margin: 22px 0 12px; color: white; }
.september-hero__card p { margin: 0; color: oklch(0.8 0.01 80); font-size: 14px; line-height: 1.65; }
.toolkit-preview-label { color: var(--red-light); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.toolkit-preview-grade { display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: 100px; background: white; color: var(--ink); font-size: 12px; font-weight: 700; }
.toolkit-preview-rule { height: 1px; margin: 24px 0 18px; background: oklch(0.4 0.02 80); }
.toolkit-preview-note { font-size: 12px !important; }
.toolkit-jump-nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  padding-top: 16px; padding-bottom: 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.toolkit-jump-nav a { padding: 8px 14px; border-radius: 100px; background: white; border: 1px solid var(--border); color: var(--ink-3); font-size: 13px; font-weight: 600; }
.toolkit-jump-nav a:hover { border-color: var(--red); color: var(--red); }
.toolkit-section { display: grid; grid-template-columns: 48px 1fr; gap: 28px; align-items: start; }
.toolkit-section__number {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--red); color: white; font-family: var(--serif); font-size: 21px; font-weight: 700;
}
.practice-list { margin: 0; padding: 0; list-style-position: inside; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.practice-list li { padding: 18px 20px; background: white; color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.answer-key { margin-top: 18px; border: 1px solid var(--border); border-radius: 10px; background: white; overflow: hidden; }
.answer-key summary { padding: 16px 18px; cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 700; }
.answer-key ol { margin: 0; padding: 4px 24px 20px 48px; columns: 2; color: var(--muted); font-size: 14px; line-height: 1.8; }
.writing-prompt { margin: 0 0 18px; padding: 22px 24px; border-left: 4px solid var(--red); background: white; font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.writing-checklist, .ready-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.writing-checklist label, .ready-checklist label {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px;
  border: 1px solid var(--border); border-radius: 8px; background: white; color: var(--ink-3); font-size: 14px; line-height: 1.5;
}
.writing-checklist input, .ready-checklist input { margin-top: 3px; accent-color: var(--red); }
.planner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.planner-grid label { display: flex; flex-direction: column; gap: 7px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.planner-grid input, .planner-grid textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--input-border); border-radius: 7px;
  background: white; color: var(--ink); font-family: var(--sans); font-size: 14px; resize: vertical;
}
.planner-wide { grid-column: 1 / -1; }

.confirm { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 0; }
.confirm__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: oklch(0.48 0.18 25 / 0.12); color: var(--red);
  font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.confirm__title { font-size: 17px; font-weight: 600; }
.confirm__text { font-size: 14px; color: var(--muted-2); line-height: 1.6; }

.student-support-email {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.confirm-box {
  padding: 20px; border-radius: 10px; background: oklch(0.48 0.18 25 / 0.06);
  border: 1px solid oklch(0.48 0.18 25 / 0.2); font-size: 14px; color: var(--ink-2);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.98 0.005 80 / 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 28px; height: 28px; border-radius: 7px; background: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; font-weight: 700; font-family: var(--sans); flex-shrink: 0;
}
.brand-mark--lg { width: 40px; height: 40px; border-radius: 9px; font-size: 17px; }

.nav-desktop { display: flex; align-items: center; gap: 14px; flex: 1; justify-content: center; min-width: 0; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap;
  background: none; border: none; padding: 0; cursor: pointer; font-family: var(--sans);
}
.nav-link:hover { color: var(--red-dark); }
.caret { font-size: 10px; }
.dropdown-toggle { display: flex; align-items: center; gap: 4px; }

/* Active page highlighting */
body[data-page="home"] .nav-link[data-nav="home"],
body[data-page="about"] .nav-link[data-nav="about"],
body[data-page="courses"] .nav-link[data-nav="courses"],
body[data-page="how-it-works"] .nav-link[data-nav="how-it-works"],
body[data-page="admissions"] .nav-link[data-nav="admissions"],
body[data-page="support"] .nav-link[data-nav="support"],
body[data-page="resources"] .nav-link[data-nav="resources"],
body[data-page="contact"] .nav-link[data-nav="contact"] { font-weight: 700; color: var(--red); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  background: white; border: 1px solid var(--border-2); border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.1); padding: 8px; min-width: 210px;
  display: none; flex-direction: column; z-index: 60;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 8px 12px; border-radius: 6px; font-size: 14px; color: var(--ink-3); }
.dropdown-menu a:hover { background: oklch(0.96 0.005 80); color: var(--ink); }
.dropdown-menu a.dd-strong { color: var(--ink); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: 4px; }
.login-link { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.btn--nav { padding: 10px 16px; font-size: 13px; white-space: nowrap; }

.quick-nav { display: none; align-items: center; justify-content: center; gap: 4px; flex: 1; min-width: 0; }
.quick-menu { position: relative; }
.quick-menu summary {
  list-style: none; cursor: pointer; padding: 9px 10px; border-radius: 6px;
  color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.quick-menu summary::-webkit-details-marker { display: none; }
.quick-menu summary:hover,
.quick-menu[open] summary { color: var(--red-dark); background: oklch(0.95 0.01 25); }
.quick-menu summary span { color: var(--faint); font-size: 11px; margin-left: 2px; }
.quick-menu-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; width: 220px; padding: 8px;
  background: white; border: 1px solid var(--border-2); border-radius: 9px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.12); z-index: 70;
}
.quick-menu:first-child .quick-menu-panel { left: 0; transform: none; }
.quick-menu:last-child .quick-menu-panel { left: auto; right: 0; transform: none; }
.quick-menu-panel a { padding: 9px 11px; border-radius: 6px; color: var(--ink-3); font-size: 13px; }
.quick-menu-panel a:hover { color: var(--ink); background: oklch(0.96 0.005 80); }
.quick-menu-panel .quick-strong { color: var(--ink); font-weight: 700; }

.calendar-preview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start;
}
.calendar-preview {
  display: block; overflow: hidden; background: white; border: 1px solid var(--border-2);
  border-radius: 12px; box-shadow: 0 10px 28px rgba(23, 34, 52, 0.08);
  transition: transform 0.16s, box-shadow 0.16s;
}
.calendar-preview:hover {
  transform: translateY(-2px); box-shadow: 0 14px 34px rgba(23, 34, 52, 0.12);
}
.calendar-preview img { display: block; width: 100%; height: auto; }
.calendar-preview span {
  display: block; padding: 14px 16px; color: var(--ink); font-size: 14px;
  font-weight: 700; text-align: center; border-top: 1px solid var(--border-2);
}

.hamburger {
  display: none; align-items: center; justify-content: center; gap: 7px;
  min-width: 64px; height: 40px; border: none; background: transparent;
  color: var(--ink); cursor: pointer; padding: 0 4px; font-family: var(--sans);
}
.hamburger-label { font-size: 12px; font-weight: 700; }
.hamburger-lines { width: 18px; height: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.hamburger-lines i {
  display: block; height: 2px; width: 18px; background: var(--ink); border-radius: 2px;
  transition: transform 0.15s, opacity 0.15s;
}
.hamburger.is-open .hamburger-lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger-lines i:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none; border-top: 1px solid var(--border-2); background: white;
  padding: 12px 20px 24px; flex-direction: column; gap: 2px;
  max-height: calc(100vh - 60px); overflow-y: auto;
}
.mobile-panel.is-open { display: flex; }
.mobile-panel .m-link { padding: 12px 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.mobile-panel .m-link + .m-link, .mobile-panel .m-link--gap { margin-top: 6px; }
.mobile-panel .m-group {
  padding: 12px 8px 4px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: oklch(0.55 0.02 80);
}
.mobile-panel .m-sub { padding: 8px 16px; font-size: 14px; color: var(--ink-2); }
.mobile-panel .m-actions {
  display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid oklch(0.92 0.01 80);
}
.mobile-panel .m-actions .m-login {
  padding: 12px; border-radius: 6px; text-align: center; font-size: 14px; font-weight: 600;
  color: var(--ink); border: 1px solid var(--border-3);
}
.mobile-panel .m-actions .m-cta {
  padding: 12px; border-radius: 6px; text-align: center; background: var(--red);
  color: white; font-size: 14px; font-weight: 600;
}

@media (max-width: 1399px) {
  .nav-desktop, .header-actions, .brand-text { display: none; }
  .quick-nav, .hamburger { display: flex; }
}

@media (max-width: 540px) {
  .header-inner { padding: 11px 12px; gap: 4px; }
  .quick-nav { gap: 0; }
  .quick-menu summary { padding: 9px 6px; font-size: 12px; }
  .quick-menu summary span { display: none; }
  .hamburger { min-width: 54px; gap: 5px; }
  .hamburger-label { font-size: 11px; }
  .quick-menu-panel { width: 205px; }
}

@media (max-width: 360px) {
  .brand { display: none; }
  .header-inner { padding-inline: 8px; }
  .quick-menu summary { padding-inline: 5px; font-size: 11px; }
  .hamburger { min-width: 50px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); padding: 64px 40px 32px; }
.footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--serif); font-size: 18px; font-weight: 600; color: white; margin-bottom: 12px; }
.footer-text { font-size: 14px; line-height: 1.6; color: oklch(0.65 0.01 80); max-width: 280px; margin: 0 0 12px; }
.footer-head {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: oklch(0.55 0.01 80); margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact { font-size: 14px; color: oklch(0.8 0.01 80); }
.footer-links a:hover { color: white; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.social-row { display: flex; gap: 12px; }
.social-btn {
  width: 32px; height: 32px; border-radius: 7px; background: oklch(0.24 0.02 80);
  display: flex; align-items: center; justify-content: center;
  color: oklch(0.8 0.01 80); font-size: 12px; font-weight: 700;
}
.social-btn:hover { color: white; }
.social-btn--sm { width: 30px; height: 30px; font-size: 11px; }
.footer-bottom { max-width: 1120px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid oklch(0.28 0.02 80); }
.footer-copy { font-size: 13px; color: oklch(0.55 0.01 80); margin-bottom: 10px; }
.footer-legal { font-size: 13px; color: oklch(0.6 0.01 80); line-height: 1.6; max-width: 760px; }
.footer-meta { font-size: 12px; color: oklch(0.5 0.01 80); margin-top: 10px; }
.footer-meta a { font-size: 12px; color: oklch(0.6 0.01 80); }
.footer-meta a:hover { color: white; }

/* Contact page dark panel */
.contact-info { display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: oklch(0.85 0.01 80); }
.contact-info strong { color: white; }
.social-row--contact .social-btn { width: 36px; height: 36px; border-radius: 8px; background: oklch(0.3 0.02 80); color: white; font-size: 13px; }

/* Visible keyboard focus across navigation, controls, and form elements. */
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid oklch(0.72 0.16 75);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid-table--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2, .two-col { grid-template-columns: 1fr !important; }
  .leadership-profile { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .display-xl { font-size: 40px; }
  .display, .display-sm { font-size: 34px; }
  .september-hero { grid-template-columns: 1fr; gap: 34px; }
  .september-hero__card { transform: none; max-width: 520px; }
}
@media (max-width: 640px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .leadership-photo { width: 200px; height: 250px; }
  .leadership-photo img { width: 430px; left: -54px; top: -38px; }
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .grid-table--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .calendar-preview-grid { grid-template-columns: 1fr; gap: 18px; }
  .site-footer { padding: 48px 24px 32px; }
  .display-xl { font-size: 34px; }
  .display, .display-sm { font-size: 30px; }
  .display-xs { font-size: 28px; }
  .h-section { font-size: 24px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-card--registration { padding: 26px 20px; }
  .course-choice-grid { grid-template-columns: 1fr; }
  .choice-card--guidance { grid-column: auto; }
  .september-promo { grid-template-columns: 1fr; padding: 24px; }
  .september-promo .btn { width: 100%; }
  .toolkit-section { grid-template-columns: 1fr; gap: 18px; }
  .toolkit-section__number { width: 38px; height: 38px; font-size: 18px; }
  .practice-list, .writing-checklist, .ready-checklist, .planner-grid { grid-template-columns: 1fr; }
  .planner-wide { grid-column: auto; }
  .answer-key ol { columns: 1; }
  .btn--toolkit { width: 100%; min-width: 0; }
  .sec-pad { padding-top: 56px !important; padding-bottom: 56px !important; }
}

/* ---------- Print (course calendar) ---------- */
@media print {
  [data-no-print] { display: none !important; }
  body { background: white; }
}
