/* ============================================================
   GR Classes — design system
   Direction: Sophisticated Academic
   Oxford ink · warm ivory · antique brass · aubergine · slate
   Playfair Display (display) · Inter (text and UI)
   ============================================================ */

:root {
  --ink: #101827;
  --ink-2: #232c3d;
  --ivory: #F4F0E7;
  --paper: #FBF9F3;
  --brass: #B08D57;
  --brass-2: #8f7146;
  --aubergine: #49273A;
  --slate: #657080;
  --slate-2: #8a93a0;
  --line: rgba(16, 24, 39, .14);
  --line-soft: rgba(16, 24, 39, .08);
  --line-light: rgba(244, 240, 231, .18);

  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --w: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4.5rem; --s7: 7rem;

  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: .18em; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
a:hover { text-decoration-color: var(--ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ivory); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 var(--s2); letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
h4 { font-size: 1.125rem; font-family: var(--sans); font-weight: 600; }
p { margin: 0 0 var(--s2); }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.measure { max-width: 62ch; }
.muted { color: var(--slate); }
.small { font-size: .875rem; }
em.brand { font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-2); margin: 0 0 var(--s2); display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brass); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: var(--brass); }

/* ---------- layout ---------- */
.grid > *, .split > *, .wizard > *, .teacher > *, .hero-grid > *, .foot-grid > * { min-width: 0; }
select { min-width: 0; max-width: 100%; }
.pick { min-width: 0; }
.wrap { width: min(var(--w), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 5vw + 1.5rem, 6.5rem); }
.section.tight { padding-block: clamp(2.5rem, 3vw + 1rem, 4rem); }
.section + .section.rule { border-top: 1px solid var(--line-soft); }
.paper { background: var(--paper); }
.navy { background: var(--ink); color: var(--ivory); }
.navy .eyebrow { color: var(--brass); }
.navy .muted { color: rgba(244, 240, 231, .68); }
.navy a { text-decoration-color: rgba(176, 141, 87, .8); }
.navy a:hover { text-decoration-color: var(--ivory); }

.grid { display: grid; gap: var(--s4); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .split, .split.even { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); margin-bottom: var(--s5); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 240, 231, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { display: block; width: 180px; height: auto; max-width: 100%; }
.brand-dark { position: relative; }
.brand-dark img.logo-light-text { position: absolute; inset: 0; width: 100%; max-width: none; filter: brightness(0) invert(1); clip-path: inset(0 0 0 25%); pointer-events: none; }
.brand-word { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: .06em; line-height: 1; }
.brand-tag { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-2); margin-top: .3rem; font-weight: 600; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; padding: .55rem .8rem; font-size: .92rem; font-weight: 500; color: var(--ink-2); border-radius: var(--r); position: relative; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1px; background: var(--brass); }
.nav .divider { width: 1px; height: 20px; background: var(--line); margin: 0 .6rem; }
.nav .quiet { color: var(--slate); font-weight: 500; }
.nav .btn { margin-left: .5rem; }
.nav a.btn { color: var(--ivory); }
.nav a.btn:hover { color: var(--ivory); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: .5rem .75rem; gap: .5rem; align-items: center; font-size: .85rem; font-weight: 600; cursor: pointer; }
.menu-btn span.ic { width: 18px; height: 12px; position: relative; display: inline-block; }
.menu-btn span.ic::before, .menu-btn span.ic::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span.ic::before { top: 1px; } .menu-btn span.ic::after { top: 9px; }
.menu-btn[aria-expanded="true"] span.ic::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span.ic::after { top: 5px; transform: rotate(-45deg); }
@media (max-width: 480px) { .brand img { width: 148px; } }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(16, 24, 39, .3);
    flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.25rem; gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--brass-2); }
  .nav .divider { display: none; }
  .nav .btn { margin: 1rem 0 0; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: var(--r); font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.1;
  border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: rgba(16, 24, 39, .06); }
.btn.brass { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn.brass:hover { background: #c19d65; border-color: #c19d65; }
.btn.light { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.btn.light:hover { background: #fff; }
.btn.ghost-light { background: transparent; border-color: rgba(244, 240, 231, .5); color: var(--ivory); }
.btn.ghost-light:hover { border-color: var(--ivory); background: rgba(244, 240, 231, .08); }
.btn.sm { padding: .55rem .95rem; font-size: .85rem; }
.btn.lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: .1rem; }
.link:hover { border-color: var(--ink); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* ---------- chips, status ---------- */
.chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--paper); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.chip.aub { background: var(--aubergine); color: var(--ivory); border-color: var(--aubergine); }
.chip.aub .dot { background: var(--brass); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); }
.tag.brass { color: var(--brass-2); }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); padding: clamp(1.25rem, 2vw, 1.75rem); position: relative; }
.card.ink { background: var(--ink); color: var(--ivory); border-color: transparent; }
.card.line { background: transparent; border-color: var(--line); }
.card h3 { margin-top: .25rem; }
.card > :last-child { margin-bottom: 0; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .9rem; margin: var(--s2) 0; }
.meta dt { color: var(--slate); font-weight: 500; }
.meta dd { margin: 0; }
.hair { height: 1px; background: var(--line-soft); border: 0; margin: var(--s3) 0; }
.navy .hair { background: var(--line-light); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .pattern { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 7.5rem); }
.hero h1 { margin: var(--s3) 0 var(--s3); }
.hero .lede { margin-bottom: var(--s4); }
.hero-facts { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line-light); }
.hero-facts div { min-width: 120px; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1; }
.hero-facts > div > span { display: block; font-size: .8rem; color: rgba(244, 240, 231, .68); margin-top: .35rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: clamp(2.5rem, 6vw, 4rem); }
  .hero-aside .frame { aspect-ratio: 16 / 10; max-height: 300px; }
  .hero-facts { gap: 1.5rem; }
}

/* photo frame (placeholder until photography arrives) */
.frame { position: relative; border: 1px solid var(--line-light); border-radius: var(--r); aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.frame.ivory { background: #e9e3d6; border-color: var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.frame .ph svg { width: 60%; height: 60%; opacity: .25; }
.frame .ph span { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.frame.wide { aspect-ratio: 16 / 10; }
.frame.square { aspect-ratio: 1; }
.frame .corner { position: absolute; width: 20px; height: 20px; border: 1px solid var(--brass); }
.frame .corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.frame .corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ---------- pathway ---------- */
.pathway { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; position: relative; margin: var(--s4) 0; }
.pathway::before { content: ""; position: absolute; left: 7%; right: 7%; top: 14px; height: 1px; background: var(--brass); }
.pathway a { text-decoration: none; display: grid; justify-items: center; gap: .6rem; position: relative; padding: 0 .25rem; text-align: center; font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.pathway a .node { width: 29px; height: 29px; border-radius: 50%; border: 1px solid var(--brass); background: var(--ivory); display: grid; place-items: center; font-family: var(--serif); font-size: .85rem; transition: background .2s, color .2s; }
.pathway a:hover .node, .pathway a.active .node { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pathway a .grade { font-size: .68rem; color: var(--slate); font-weight: 400; }
@media (max-width: 760px) {
  .pathway { grid-template-columns: 1fr; gap: .25rem; margin-left: .25rem; }
  .pathway::before { left: 14px; right: auto; top: 14px; bottom: 14px; width: 1px; height: auto; }
  .pathway a { grid-template-columns: 29px 1fr; justify-items: start; text-align: left; align-items: center; padding: .35rem 0; gap: 1rem; }
  .pathway a .grade { grid-column: 2; margin-top: -.6rem; }
}

/* ---------- filters ---------- */
.filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: end; padding: 1rem 1.1rem; border: 1px solid var(--line-soft); background: var(--paper); border-radius: var(--r); margin-bottom: var(--s4); }
.filters label { display: grid; gap: .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); flex: 1 1 150px; }
.filters select, .filters input { font: inherit; font-size: .95rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); width: 100%; letter-spacing: 0; text-transform: none; font-weight: 400; }
.filters .reset { align-self: end; flex: 0 0 auto; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.seg button { background: transparent; border: 0; padding: .55rem .9rem; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--slate); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.count { font-size: .85rem; color: var(--slate); }

/* ---------- schedule rows ---------- */
.day-group { margin-bottom: var(--s4); }
.day-group h3 { display: flex; align-items: baseline; gap: 1rem; margin-bottom: var(--s2); padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.day-group h3 .count { font-family: var(--sans); font-weight: 400; }
.session { display: grid; grid-template-columns: 130px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
.session .time { font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }
.session .course { font-weight: 600; }
.session .course small { display: block; font-weight: 400; color: var(--slate); font-size: .8rem; }
.session .loc { font-size: .92rem; }
.session .loc small { display: block; color: var(--slate); font-size: .78rem; }
.session .fmt { font-size: .8rem; color: var(--slate); display: inline-flex; align-items: center; gap: .4rem; }
.session .fmt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.session .fmt.online::before { background: var(--slate); }
.session .fmt.inperson::before { background: var(--aubergine); }
@media (max-width: 820px) {
  .session { grid-template-columns: 1fr 1fr; gap: .35rem .75rem; padding: 1rem 0; }
  .session .time { grid-column: 1; }
  .session .course { grid-column: 1 / -1; }
  .session .loc { grid-column: 1; }
  .session .fmt { grid-column: 2; justify-self: end; }
  .session .act { grid-column: 1 / -1; margin-top: .25rem; }
  .session .act .btn { width: 100%; }
}
.empty { padding: var(--s5); text-align: center; color: var(--slate); border: 1px dashed var(--line); border-radius: var(--r); }

/* ---------- course cards & table ---------- */
.course-card { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.course-card .head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.course-card .num { font-family: var(--serif); font-size: 2rem; color: var(--brass); line-height: 1; }
.course-card .meta { grid-template-columns: repeat(2, auto 1fr); gap: .35rem 1rem; }
@media (max-width: 600px) { .course-card .meta { grid-template-columns: auto 1fr; } }
.course-card details summary { cursor: pointer; font-weight: 600; font-size: .9rem; list-style: none; display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); }
.course-card details summary::-webkit-details-marker { display: none; }
.course-card details summary::after { content: "+"; font-family: var(--serif); font-size: 1.1rem; color: var(--brass); }
.course-card details[open] summary::after { content: "–"; }
.course-card details p { margin-top: .75rem; }
.course-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.course-card .price { font-family: var(--serif); font-size: 1.15rem; }
.course-card .price small { font-family: var(--sans); color: var(--slate); font-size: .78rem; margin-left: .4rem; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 760px; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; background: var(--ivory); position: sticky; top: 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(16, 24, 39, .025); }
td.name { font-weight: 600; }

/* ---------- steps / process ---------- */
.steps { counter-reset: step; display: grid; gap: var(--s3); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: var(--s3); align-items: start; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 1.6rem; color: var(--brass); line-height: 1; padding-top: .2rem; }
.step h3 { margin-bottom: .35rem; font-size: 1.2rem; }
.step p { margin: 0; color: var(--ink-2); }
.navy .step p { color: rgba(244, 240, 231, .8); }

/* ---------- proof ---------- */
.quote { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.45; font-weight: 400; margin: 0 0 var(--s2); }
.quote::before { content: "“"; color: var(--brass); }
.quote::after { content: "”"; color: var(--brass); }
.cite { font-size: .85rem; color: var(--slate); font-style: normal; }
.cite strong { color: var(--ink); font-weight: 600; }
.navy .cite { color: rgba(244, 240, 231, .68); }
.navy .cite strong { color: var(--ivory); }

/* ---------- accordion / faq ---------- */
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 1px solid var(--line-soft); }
.faq summary { cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; list-style: none; position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 1.4rem; color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.2rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- forms ---------- */
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label, .field .lbl { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.field label .opt, .field .lbl .opt { color: var(--slate); font-weight: 400; letter-spacing: 0; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.field .hint { font-size: .8rem; color: var(--slate); }
.field .err { font-size: .8rem; color: var(--aubergine); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--aubergine); }
.field.invalid .err { display: block; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--ink); }
.check strong { display: block; margin-bottom: .2rem; }
.check p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.radios { display: grid; gap: .5rem; }
.radios label { display: flex; gap: .7rem; align-items: start; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; font-size: .95rem; }
.radios label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radios input { accent-color: var(--ink); margin-top: .2rem; }
.notice { padding: 1rem 1.1rem; border-left: 2px solid var(--brass); background: var(--paper); font-size: .92rem; margin: var(--s3) 0; }
.notice.aub { border-color: var(--aubergine); }
.notice > :last-child { margin-bottom: 0; }

/* ---------- enroll wizard ---------- */
.wizard { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 900px) { .wizard { grid-template-columns: 1fr; } .wizard aside { order: -1; position: static !important; } }
.progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: var(--s4); }
.progress button { background: none; border: 0; border-top: 2px solid var(--line); padding: .75rem 0 0; text-align: left; font-size: .8rem; font-weight: 600; color: var(--slate); cursor: pointer; letter-spacing: .02em; }
.progress button span { display: block; font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--brass); margin-bottom: .15rem; }
.progress button[aria-current="step"] { border-top-color: var(--ink); color: var(--ink); }
.progress button.done { border-top-color: var(--brass); color: var(--ink-2); }
.progress button[disabled] { cursor: default; }
@media (max-width: 600px) { .progress button { font-size: 0; } .progress button span { font-size: 1rem; } }
.pane { display: none; }
.pane.active { display: block; }
.pane h2 { margin-bottom: .5rem; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line-soft); }
.course-pick { display: grid; gap: .75rem; }
.pick { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.pick > label { display: grid; grid-template-columns: 22px 1fr auto; gap: .8rem; align-items: center; padding: .9rem 1rem; cursor: pointer; }
.pick > label input { width: 18px; height: 18px; accent-color: var(--ink); }
.pick .nm { font-weight: 600; }
.pick .nm small { display: block; color: var(--slate); font-weight: 400; font-size: .8rem; }
.pick .pr { font-family: var(--serif); white-space: nowrap; }
.pick .sections { display: none; padding: 0 1rem 1rem 3.1rem; border-top: 1px solid var(--line-soft); }
.pick.on { border-color: var(--ink); }
.pick.on .sections { display: block; }
.pick .sections .lbl { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin: .9rem 0 .5rem; }
.pick .sections select { width: 100%; font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.summary { position: sticky; top: 92px; }
.summary .row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.summary .row.total { border-bottom: 0; font-family: var(--serif); font-size: 1.25rem; padding-top: .9rem; }
.summary .row small { color: var(--slate); display: block; font-size: .78rem; }
.confirm { text-align: center; padding: var(--s5) var(--s3); }
.confirm .mark { width: 64px; height: 64px; margin: 0 auto var(--s3); }
pre.summary-text { white-space: pre-wrap; font: .85rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--paper); border: 1px solid var(--line-soft); padding: 1rem; border-radius: var(--r); text-align: left; max-height: 320px; overflow: auto; }

/* ---------- calendar ---------- */
.cal { display: grid; gap: .5rem; }
.cal-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 1rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
.cal-row .d { font-family: var(--serif); font-size: 1.1rem; }
.cal-row .d small { display: block; font-family: var(--sans); font-size: .75rem; color: var(--slate); }
.cal-row .t { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.cal-row.past { opacity: .5; }
.cal-row.next .t { color: var(--brass-2); }
@media (max-width: 600px) { .cal-row { grid-template-columns: 1fr auto; } .cal-row .d { grid-column: 1 / -1; } }
.months { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
@media (max-width: 900px) { .months { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .months { grid-template-columns: 1fr; } }
.month { border: 1px solid var(--line-soft); background: var(--paper); border-radius: var(--r); padding: 1rem; }
.month h3 { font-size: 1rem; margin-bottom: .6rem; display: flex; justify-content: space-between; }
.month h3 small { font-family: var(--sans); color: var(--slate); font-size: .75rem; }
.month .grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; font-size: .72rem; text-align: center; }
.month .grid7 .h { color: var(--slate); font-weight: 600; padding: .25rem 0; }
.month .grid7 .c { aspect-ratio: 1; display: grid; place-items: center; border-radius: 3px; color: var(--ink-2); }
.month .grid7 .c.off { background: rgba(73, 39, 58, .14); color: var(--aubergine); font-weight: 600; }
.month .grid7 .c.term { outline: 1px solid var(--brass); }
.month .grid7 .c.dim { color: var(--slate-2); opacity: .5; }
.month .grid7 .c.today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.legend { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .8rem; color: var(--slate); margin: var(--s3) 0; }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ---------- teacher ---------- */
.teacher { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 800px) { .teacher { grid-template-columns: 1fr; } .teacher .frame { max-width: 360px; } }
.creds { list-style: none; padding: 0; margin: var(--s2) 0; display: grid; gap: .5rem; }
.creds li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; font-size: .92rem; padding: .5rem 0; border-bottom: 1px solid var(--line-soft); }
.creds li span:first-child { color: var(--slate); }
@media (max-width: 480px) { .creds li { grid-template-columns: 1fr; gap: .15rem; } .meta.stack-sm { grid-template-columns: 1fr; } .meta.stack-sm dt { margin-top: .5rem; } }
.pubs { font-size: .88rem; color: var(--ink-2); }
.pubs li { margin-bottom: .6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding: var(--s6) 0 var(--s4); position: relative; overflow: hidden; }
.site-footer .pattern { position: absolute; right: -80px; bottom: -120px; width: 520px; opacity: .35; pointer-events: none; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: var(--s4); position: relative; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: rgba(244, 240, 231, .85); }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--brass); }
.site-footer .brand img { width: 220px; }
.site-footer .brand-word { color: var(--ivory); }
.site-footer .brand-tag { color: var(--brass); }
.site-footer .fine { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: rgba(244, 240, 231, .6); }

/* ---------- page header ---------- */
.page-head { padding: clamp(2.5rem, 4vw, 4.5rem) 0 clamp(2rem, 3vw, 3rem); border-bottom: 1px solid var(--line-soft); }
.page-head h1 { margin-bottom: var(--s2); }
.page-head .lede { margin-bottom: 0; }
.crumbs { font-size: .8rem; color: var(--slate); margin-bottom: var(--s3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- misc ---------- */
.cta-band { padding: clamp(3rem, 5vw, 5rem) 0; }
.cta-band .inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.toc { position: sticky; top: 92px; font-size: .9rem; }
.toc a { display: block; padding: .4rem 0; text-decoration: none; color: var(--slate); border-left: 1px solid var(--line); padding-left: 1rem; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--brass); }
.prose h2 { font-size: 1.6rem; margin-top: var(--s5); }
.prose h3 { font-size: 1.15rem; margin-top: var(--s4); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose { max-width: 68ch; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--ivory); padding: .8rem 1.2rem; border-radius: var(--r); font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 80; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in, .no-reveal .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .btn .arrow { transition: none; } }
