/* ==========================================================================
   Campanile | College, School and Course HTML Template
   Table of contents
   1. Base             2. Layout & type       3. Buttons & links
   4. Header & nav     5. Heroes & pennant    6. Page heads & sections
   7. The campus (3D)  8. The trail           9. Programmes & finder
   10. Tuition         11. Application        12. Calendar
   13. Campus plan     14. Cards: faculty, places, posts, steps, rules
   15. FAQ & forms     16. Footer, CTA, 404   17. Motion
   18. Breakpoints     19. Print
   All colors, fonts, spacing and timings come from tokens.css.
   ========================================================================== */

/* 1. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--text-base)/1.6 var(--font-body); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--dark-3); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--on-brand); padding: var(--space-sm) var(--space-md); z-index: var(--z-modal); }
.skip:focus { left: var(--space-md); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 5.5rem; }
button { font: inherit; color: inherit; }

/* 2. Layout & type ------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.015em; margin: 0 0 var(--space-md); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--text-display); font-weight: 800; }
h2 { font-size: var(--text-display-s); }
h3 { font-size: var(--text-lg); line-height: 1.15; }
p { margin: 0 0 var(--space-md); }
.lead { font-size: var(--text-md); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.section--dark .lead, .page-head .lead, .hero .lead { color: var(--on-dark-2); }
/* The kicker: a small pennant before a short line in the display face. Never tracked capitals. */
.note { display: flex; align-items: center; gap: .5em; font: 600 var(--text-base)/1.2 var(--font-display); color: var(--brand-deep); margin: 0 0 var(--space-sm); }
.note::before { content: ""; width: .9em; height: .7em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
.section--dark .note, .page-head .note, .hero .note, .cta .note, .campus .note, .lost .note { color: var(--brand); }
.muted { color: var(--muted); }
.prose p { max-width: 62ch; }
.prose h2 { margin-top: var(--space-lg); }
.prose h3 { font-size: var(--text-md); margin-top: var(--space-lg); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 var(--space-md); }
.prose li { margin-bottom: .35em; }
/* The highlighter: a yellow stroke under a word, drawn when the card is hovered or the heading enters */
.highlight { background: linear-gradient(transparent 58%, var(--brand) 58%, var(--brand) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size var(--dur-short) var(--ease-out); padding: 0 .08em; margin: 0 -.08em; }
.is-in .highlight, .course:hover .highlight, h3 a:hover .highlight { background-size: 100% 100%; }
.table { border-collapse: collapse; width: 100%; margin: 0 0 var(--space-md); }
.table th, .table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--space-md) var(--space-lg); margin: var(--space-lg) 0; max-width: 56rem; }
.facts div { border-top: 2px solid var(--brand); padding-top: var(--space-xs); }
.facts dt { font-size: var(--text-sm); color: var(--on-dark-2); }
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; }
.facts b { font-size: var(--text-md); }
.two { display: grid; gap: var(--space-xl); align-items: center; }
.two--reverse > :first-child { order: 2; }
.frame { margin: 0; position: relative; }
.frame img { border-radius: var(--radius); box-shadow: var(--shadow); }
.frame::after { content: ""; position: absolute; right: -.6rem; bottom: -.6rem; width: 40%; height: 40%; border-right: 3px solid var(--brand); border-bottom: 3px solid var(--brand); border-radius: 0 0 var(--radius) 0; pointer-events: none; }
.actions { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-md) var(--space-lg); margin: var(--space-lg) 0 0; }
.aside { background: var(--wash); border-radius: var(--radius); padding: var(--space-lg); align-self: start; }
.aside h3 { font-size: var(--text-md); margin: 0 0 var(--space-xs); }
.aside h3 + .aside__list { margin-bottom: var(--space-lg); }
.aside__list { list-style: none; margin: 0; padding: 0; }
.aside__list li { padding: .4em 0; border-bottom: 1px solid var(--rule); }
.aside__list li:last-child { border: 0; }

/* 3. Buttons & links ----------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; flex-shrink: 0; min-height: 2.9rem; padding: .8em 1.4em; border-radius: var(--radius); font: 700 1rem/1 var(--font-display); text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer; color: inherit; background: none; transition: background-color var(--dur-micro) linear, color var(--dur-micro) linear, transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--dark { background: var(--dark); color: var(--on-dark); }
.btn--ghost { border-color: currentColor; color: var(--dark); }
.section--dark .btn--ghost, .hero .btn--ghost, .page-head .btn--ghost { color: var(--on-dark); }
.btn--sm { min-height: 2.4rem; padding: .55em 1em; font-size: var(--text-sm); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.link { font: 600 1rem/1.3 var(--font-display); color: var(--dark); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--brand); text-decoration-thickness: 2px; background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.link--light, .section--dark .link, .cta .link { color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .btn--brand:hover { background: var(--brand-hi); transform: translateY(-2px); box-shadow: var(--shadow-up); }
  .btn--dark:hover { background: var(--dark-3); transform: translateY(-2px); box-shadow: var(--shadow-up); }
  .btn--ghost:hover { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
  .section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--paper); color: var(--dark); border-color: var(--paper); }
  .link:hover { text-decoration-thickness: 4px; }
}

/* 4. Header & nav: the navy bar, the yellow ruler that fills with the scroll ------------------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background-color: var(--dark); color: var(--on-dark); transition: box-shadow var(--dur-short) var(--ease-out); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px oklch(10% 0.05 265 / .7); }
.site-header__row { display: flex; align-items: center; gap: var(--space-lg); min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.brand__mark { width: 1.7rem; height: 2.1rem; fill: var(--on-dark); flex: none; }
.brand__mark .brand__bell, .brand__mark .brand__flag { fill: var(--brand); }
.brand__name { font: 800 1.35rem/1 var(--font-display); letter-spacing: -0.01em; }
.nav { margin-left: auto; }
.nav__toggle { display: none; background: none; border: 2px solid var(--rule-dark); color: inherit; border-radius: var(--radius-s); padding: .45rem .7rem; align-items: center; gap: .5rem; cursor: pointer; }
.nav__bars { display: block; width: 1.1rem; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav__list a { display: block; padding: .55rem .7rem; border-radius: var(--radius-s); color: var(--on-dark-2); text-decoration: none; font: 600 var(--text-sm)/1 var(--font-display); }
.nav__list a[aria-current="page"] { color: var(--on-dark); box-shadow: inset 0 -3px 0 var(--brand); }
@media (hover: hover) and (pointer: fine) { .nav__list a:hover { color: var(--on-dark); background: var(--dark-3); } }
.site-header__phone { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-dark); text-decoration: none; font: 600 var(--text-sm)/1 var(--font-display); white-space: nowrap; }
.site-header__phone-icon { width: 1rem; height: 1rem; fill: var(--brand); }
.site-header__cta { min-height: 2.5rem; padding: .55em 1.1em; font-size: var(--text-sm); }
.site-header__ruler { height: 4px; background: var(--dark-2); }
.site-header__ruler span { display: block; height: 100%; width: var(--progress, 0%); background: var(--brand); transition: width 80ms linear; }
.action-bar { display: none; }

/* 5. Heroes & the pennant ------------------------------------------------- */
.hero { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -6% 0; z-index: -2; }
.hero__media .hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: var(--grad-side); }
.hero__veil::after { content: ""; position: absolute; inset: 0; background: var(--grad-veil); opacity: .55; }
.hero__inner { display: grid; gap: var(--space-xl); padding: clamp(4rem, 8vw, 6rem) 0 var(--space-2xl); min-height: min(86vh, 50rem); align-content: center; }
.hero h1 { font-size: clamp(2.4rem, 3.4vw + 1rem, 4.3rem); }
.hero__copy { max-width: 36rem; }
.hero__lead { font-size: var(--text-md); line-height: 1.5; color: var(--on-dark-2); max-width: 34em; }
.pennant { display: inline-flex; margin: 0 0 var(--space-md); transform-origin: left center; }
.pennant span { display: inline-block; background: var(--brand); color: var(--on-brand); font: 700 var(--text-sm)/1 var(--font-display); padding: .6em 1.6em .6em .9em; clip-path: polygon(0 0, 100% 0, calc(100% - .9em) 50%, 100% 100%, 0 100%); }
.hero__facts { list-style: none; margin: 0; padding: var(--space-lg) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); border-top: 1px solid var(--rule-dark); max-width: 48rem; }
.hero__facts b { display: block; font: 800 var(--text-xl)/1 var(--font-display); color: var(--brand); margin-bottom: .25em; }
.hero__facts span { color: var(--on-dark-2); font-size: var(--text-sm); }
/* the split hero of the online home page: copy left, photo right, paper ground */
.hero--split { background: var(--paper); color: var(--ink); }
.hero--split .hero__inner { grid-template-columns: 1fr 1fr; align-items: center; padding: var(--space-2xl) 0; min-height: 0; }
.hero--split .hero__lead { color: var(--ink-2); }
.hero--split .note { color: var(--brand-deep); }
.hero__figure { margin: 0; position: relative; }
.hero__figure .hero__photo { border-radius: var(--radius-l); box-shadow: var(--shadow-up); }
.hero__figure::before { content: ""; position: absolute; inset: 12% -1.2rem -1.2rem 12%; background: var(--dots-light) 0 0 / 14px 14px, var(--tint); border-radius: var(--radius-l); z-index: -1; }

/* 6. Page heads & sections ------------------------------------------------ */
.page-head { position: relative; background: var(--grad-dark); color: var(--on-dark); padding: var(--space-2xl) 0 var(--space-2xl); overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; background: var(--dots) 0 0 / 18px 18px; opacity: .6; z-index: -1; }
.page-head h1 { max-width: 20ch; }
.page-head--photo .page-head__media { position: absolute; inset: -10% 0 -10% 50%; z-index: -2; }
.page-head--photo .page-head__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page-head--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-side); }
.page-head__grid { display: grid; gap: var(--space-xl); align-items: end; }
.page-head__portrait { margin: 0; width: min(100%, 22rem); }
.page-head__portrait img { border-radius: var(--radius-l); box-shadow: var(--shadow-up); }
.page-head--article { padding-bottom: var(--space-3xl); }
.page-head--article + .article__hero { margin-top: calc(-1 * var(--space-2xl)); }
.crumbs ol { list-style: none; margin: 0 0 var(--space-lg); padding: 0; display: flex; flex-wrap: wrap; gap: .3em; font-size: var(--text-sm); color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: .3em; color: var(--rule-dark); }
.crumbs a { color: inherit; }
.crumbs [aria-current] { color: var(--on-dark); }
.section { padding: var(--space-3xl) 0; }
.section--wash { background: var(--wash); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--grad-dark); color: var(--on-dark); position: relative; isolation: isolate; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: var(--dots) 0 0 / 18px 18px; opacity: .5; z-index: -1; pointer-events: none; }
.section__head { display: grid; gap: var(--space-md) var(--space-2xl); align-items: end; margin-bottom: var(--space-xl); }
.section__head h2 { margin-bottom: 0; max-width: 22ch; }
.section__head > p { margin: 0; max-width: 40em; color: var(--ink-2); }
.section--dark .section__head > p { color: var(--on-dark-2); }
.steps, .rules, .after, .docs, .dates, .syllabus { list-style: none; margin: 0; padding: 0; }
.steps { display: grid; gap: var(--space-lg); counter-reset: step; }
.steps li { position: relative; padding: var(--space-lg) var(--space-lg) var(--space-lg) 4.2rem; border: 1px solid var(--rule-dark); border-radius: var(--radius); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: var(--space-lg); top: var(--space-lg); width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font: 800 1rem/1 var(--font-display); clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%); padding-right: .3rem; }
.steps h3 { font-size: var(--text-md); margin-bottom: .3em; }
.steps p { margin: 0; color: var(--on-dark-2); }
.rules { display: grid; gap: var(--space-lg); }
.rules li { background: var(--paper); border-radius: var(--radius); padding: var(--space-lg); border-top: 4px solid var(--brand); box-shadow: var(--shadow); }
.rules h3, .after h3 { font-size: var(--text-md); }
.rules p, .after p { margin: 0; }
.after { display: grid; gap: var(--space-lg); }
.after li { border-left: 3px solid var(--brand); padding-left: var(--space-lg); }
.after p { color: var(--on-dark-2); }
.docs { display: grid; gap: var(--space-md); margin: 0 0 var(--space-xl); }
.docs li { display: grid; gap: .2em; padding: var(--space-md) 0; border-bottom: 1px solid var(--rule); }
.docs b { font-family: var(--font-display); }
.dates { display: grid; gap: .5rem; }
.dates div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--space-md); }
.dates dt { font: 700 1rem/1.5 var(--font-display); color: var(--brand-deep); }
.dates dd { margin: 0; }
.syllabus { display: grid; gap: var(--space-lg); }
.syllabus > li { background: var(--paper); border-radius: var(--radius); padding: var(--space-lg); box-shadow: var(--shadow); }
.syllabus > li h3 { font-size: var(--text-md); padding-bottom: .4em; border-bottom: 2px solid var(--brand); }
.syllabus ul { margin: 0; padding-left: 1.1em; }
.syllabus ul li { margin-bottom: .3em; }
.money { padding: var(--space-3xl) 0; }
.money__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.money__list li { display: grid; gap: .15em; padding: var(--space-md) var(--space-lg); background: oklch(100% 0 0 / .06); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.money__list b { font-family: var(--font-display); }
.money__list span { color: var(--on-dark-2); font-size: var(--text-sm); }

/* 7. The campus in 3D: canvas over a drawn maquette, the area tabs --------------------------- */
.campus { background: var(--grad-dark); color: var(--on-dark); padding: var(--space-3xl) 0; position: relative; isolation: isolate; overflow: hidden; }
.campus::before { content: ""; position: absolute; inset: 0; background: var(--dots) 0 0 / 18px 18px; opacity: .5; z-index: -1; }
.campus__grid { display: grid; gap: var(--space-xl); align-items: center; }
.campus__copy > p { color: var(--on-dark-2); max-width: 40em; }
.areas { list-style: none; margin: var(--space-lg) 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas button { background: oklch(100% 0 0 / .08); color: var(--on-dark); border: 1px solid var(--rule-dark); border-radius: var(--radius-pill); padding: .55em 1em; font: 600 var(--text-sm)/1 var(--font-display); cursor: pointer; transition: background-color var(--dur-micro) linear, color var(--dur-micro) linear, border-color var(--dur-micro) linear; }
.areas button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .areas button:hover { border-color: var(--brand); } }
.campus__pick { font-family: var(--font-display); font-weight: 600; min-height: 1.6em; }
.campus__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-l); overflow: hidden; background: oklch(22% 0.09 265); box-shadow: var(--shadow-up); }
.campus__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; touch-action: pan-y; }
.campus.is-3d .campus__stage canvas { display: block; }
.campus.is-3d .campus__fallback { display: none; }
.campus__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.campus__ground path { fill: oklch(30% 0.09 265); }
.campus__paths path { fill: none; stroke: oklch(40% 0.08 265); stroke-width: 6; }
.campus__blocks .b-top { fill: var(--paper); }
.campus__blocks .b-left { fill: oklch(84% 0.01 95); }
.campus__blocks .b-right { fill: oklch(74% 0.015 95); }
.campus__blocks .b-bell { fill: var(--brand); }
.campus__blocks g { transform-box: fill-box; transform-origin: 50% 100%; transition: transform var(--dur-long) var(--ease-out); }
.campus__blocks g.is-lit .b-top { fill: var(--brand); }
.campus__blocks g.is-lit .b-left { fill: var(--brand-deep); }
.campus__blocks g.is-lit .b-right { fill: oklch(66% 0.14 85); }
.campus__blocks g.is-lit { transform: translateY(-10px); }
.campus__hint { position: absolute; left: var(--space-md); bottom: var(--space-sm); margin: 0; font-size: var(--text-sm); color: var(--on-dark-2); display: none; }
.campus.is-3d .campus__hint { display: block; }

/* 8. The trail: a path that draws itself from the open day to the diploma ------------------- */
.trail-section { overflow: hidden; }
.trail { position: relative; }
.trail__svg { width: 100%; height: auto; aspect-ratio: 1200 / 220; overflow: visible; }
.trail__shadow { fill: none; stroke: var(--rule); stroke-width: 6; stroke-linecap: round; }
.trail__ink { fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round; stroke-dasharray: var(--len, 2000); stroke-dashoffset: calc(var(--len, 2000) * (1 - var(--p, 0))); }
.trail__stops { list-style: none; margin: calc(-1 * var(--space-lg)) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-md); counter-reset: stop; }
.trail__stops li { position: relative; padding-top: var(--space-lg); counter-increment: stop; }
.trail__stops li::before { content: counter(stop); position: absolute; top: -.6rem; left: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--dark); color: var(--on-dark); font: 700 .85rem/1.8rem var(--font-display); text-align: center; border: 3px solid var(--tint); }
.trail__stops b { display: block; font-family: var(--font-display); font-size: var(--text-md); margin-bottom: .2em; }
.trail__stops span { font-size: var(--text-sm); color: var(--ink-2); }

/* 9. Programmes: the finder and the cards --------------------------------- */
.finder { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--space-md); align-items: end; background: var(--wash); padding: var(--space-lg); border-radius: var(--radius); margin-bottom: var(--space-xl); }
.finder .field { margin: 0; }
.finder__count { grid-column: 1 / -1; margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: var(--space-lg); }
.finder__clear { grid-column: 1 / -1; justify-self: start; font-size: var(--text-sm); }
.courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: var(--space-lg); }
.course { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.course--empty { grid-column: 1 / -1; padding: var(--space-xl); text-align: center; color: var(--muted); box-shadow: none; border: 1px dashed var(--rule); }
.course--empty p { margin: 0; }
.course__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.course__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.course__body { padding: var(--space-lg); display: flex; flex-direction: column; flex: 1; }
.course__area { margin: 0 0 .3em; font: 600 var(--text-sm)/1.2 var(--font-display); color: var(--brand-deep); }
.course h3 { font-size: var(--text-md); margin-bottom: .4em; }
.course h3 a { color: inherit; text-decoration: none; }
.course__body > p { color: var(--ink-2); font-size: var(--text-sm); }
.course__meta { list-style: none; margin: auto 0 var(--space-md); padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.course__meta li { font-size: .8rem; padding: .25em .6em; border: 1px solid var(--rule); border-radius: var(--radius-pill); color: var(--ink-2); }
.course__tuition { margin: 0; display: flex; align-items: baseline; gap: .5em; border-top: 1px solid var(--rule); padding-top: var(--space-sm); }
.course__tuition b { font: 800 var(--text-lg)/1 var(--font-display); }
.course__tuition small { color: var(--muted); font-size: var(--text-sm); }
@media (hover: hover) and (pointer: fine) { .course:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); } .course:hover .course__photo img { transform: scale(1.04); } }
.schools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: var(--space-lg); }
.schools a { display: block; color: inherit; text-decoration: none; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; }
.schools img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.schools h3 { font-size: var(--text-md); margin: var(--space-md) var(--space-lg) .3em; }
.schools p { margin: 0 var(--space-lg) var(--space-lg); color: var(--ink-2); font-size: var(--text-sm); }
@media (hover: hover) and (pointer: fine) { .schools a:hover h3 { color: var(--brand-deep); } }
.page-head--course .facts dt { color: var(--on-dark-2); }

/* 10. Tuition simulator --------------------------------------------------- */
.tuition { display: grid; gap: var(--space-xl); align-items: start; }
.tuition__form { display: grid; gap: var(--space-lg); }
.choices { border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-md) var(--space-lg); margin: 0; }
.choices legend { font: 600 var(--text-sm)/1.2 var(--font-display); padding: 0 .4em; color: var(--ink-2); }
.choices label { display: grid; grid-template-columns: auto 1fr auto; gap: .6em; align-items: start; padding: .5em 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.choices label:last-child { border: 0; }
.choices input { margin: .35em 0 0; accent-color: var(--dark); }
.choices small { display: block; color: var(--muted); font-size: var(--text-sm); }
.choices b { font: 700 1rem/1.4 var(--font-display); color: var(--brand-deep); white-space: nowrap; }
.tuition__result { position: sticky; top: 6rem; background: var(--dark); color: var(--on-dark); border-radius: var(--radius-l); padding: var(--space-xl); box-shadow: var(--shadow-up); }
.tuition__label { margin: 0; font: 600 var(--text-sm)/1.2 var(--font-display); color: var(--on-dark-2); }
.tuition__big { margin: 0 0 var(--space-xs); display: flex; align-items: baseline; gap: .4em; }
.tuition__big b { font: 800 var(--text-2xl)/1 var(--font-display); color: var(--brand); }
.tuition__big small { color: var(--on-dark-2); }
.tuition__was { color: var(--on-dark-2); font-size: var(--text-sm); }
.tuition__bar { height: 10px; border-radius: var(--radius-pill); background: var(--dark-3); overflow: hidden; margin: var(--space-md) 0 var(--space-lg); }
.tuition__bar span { display: block; height: 100%; width: var(--w, 0%); background: var(--brand); transition: width var(--dur-long) var(--ease-out); }
.tuition__lines { margin: 0; display: grid; gap: .5rem; }
.tuition__lines div { display: flex; justify-content: space-between; gap: var(--space-md); border-top: 1px solid var(--rule-dark); padding-top: .5rem; }
.tuition__lines dt { color: var(--on-dark-2); }
.tuition__lines dd { margin: 0; font-family: var(--font-display); font-weight: 600; text-align: right; }
.tuition__note { margin: var(--space-md) 0 0; font-size: var(--text-sm); color: var(--on-dark-2); min-height: 1.5em; }

/* 11. Application in three steps ------------------------------------------ */
.apply { background: var(--paper); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: var(--space-xl); }
.apply__progress { list-style: none; margin: 0 0 var(--space-xl); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; counter-reset: mark; }
.apply__progress li { counter-increment: mark; }
.apply__progress button { width: 100%; display: flex; align-items: center; gap: .6em; padding: .7em .2em; background: none; border: 0; border-top: 4px solid var(--rule); color: var(--muted); font: 600 var(--text-sm)/1.2 var(--font-display); cursor: pointer; text-align: left; }
.apply__progress button::before { content: counter(mark); width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--wash); flex: none; }
.apply__progress li[aria-current] button { border-top-color: var(--brand); color: var(--ink); }
.apply__progress li[aria-current] button::before { background: var(--brand); color: var(--on-brand); }
.apply__progress li.is-done button { border-top-color: var(--dark); color: var(--ink); }
.apply__progress li.is-done button::before { background: var(--dark); color: var(--on-dark); }
.apply__progress button[disabled] { cursor: default; }
.apply__step { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--space-md) var(--space-lg); }
.apply__step legend { font: 700 var(--text-md)/1.2 var(--font-display); margin-bottom: var(--space-md); padding: 0; }
.apply__plan { grid-column: 1 / -1; margin: 0; padding: var(--space-md); background: var(--tint); border-radius: var(--radius); font-size: var(--text-sm); }
.apply__review { grid-column: 1 / -1; margin: 0; display: grid; gap: .5rem; }
.apply__review div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-md); border-bottom: 1px solid var(--rule); padding-bottom: .5rem; }
.apply__review dt { color: var(--muted); }
.apply__review dd { margin: 0; font-family: var(--font-display); font-weight: 600; }
.apply__err { color: var(--error); font-weight: 600; min-height: 1.5em; margin: var(--space-md) 0 0; }
.apply__nav { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-md); }
.apply__nav .btn { margin-left: auto; }
.apply__done h3 { font-size: var(--text-xl); }
.apply__done b { color: var(--brand-deep); }

/* 12. Calendar ----------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-pill); padding: .5em 1em; font: 600 var(--text-sm)/1 var(--font-display); color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
@media (hover: hover) and (pointer: fine) { .filters button:hover { border-color: var(--dark); color: var(--ink); } }
.events__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-xl); }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.events--row { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-lg); }
.event { display: grid; grid-template-columns: 4.6rem 1fr; gap: var(--space-md); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-md); align-items: start; }
.events--list .event { grid-template-columns: 4.6rem 1fr auto; align-items: center; }
.event__date { display: grid; place-items: center; background: var(--dark); color: var(--on-dark); border-radius: var(--radius-s); padding: .5rem .2rem; text-align: center; align-self: start; }
.event__date b { font: 800 1.6rem/1 var(--font-display); }
.event__date span { font: 600 .8rem/1.4 var(--font-display); color: var(--brand); }
.event__body h3 { font-size: var(--text-md); margin: 0 0 .25em; }
.event__body p { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.event__kind { font: 600 .8rem/1.4 var(--font-display); color: var(--brand-deep); margin-bottom: .1em; }
.event__when { color: var(--muted); }
.event__ics { white-space: nowrap; }
.events__empty { color: var(--muted); }
.events__month { grid-column: 1 / -1; margin: var(--space-md) 0 0; font: 700 var(--text-md)/1.2 var(--font-display); border-bottom: 2px solid var(--brand); padding-bottom: .3em; }

/* 13. Campus plan ---------------------------------------------------------- */
.plan__map { position: relative; }
.plan__map svg { width: 100%; height: auto; }
.plan__ground rect { fill: var(--wash); }
.plan__paths path { fill: none; stroke: var(--paper); stroke-width: 10; stroke-linecap: round; }
.plan__trees circle { fill: oklch(78% 0.08 150); }
.plan__blocks g { cursor: pointer; }
.plan__blocks rect { fill: var(--paper); stroke: var(--rule); stroke-width: 2; transition: fill var(--dur-short) linear, stroke var(--dur-short) linear; }
.plan__blocks text { font: 600 15px/1 var(--font-display); fill: var(--ink); text-anchor: middle; pointer-events: none; }
.plan__blocks .plan__sub { font-size: 12px; fill: var(--muted); }
.plan__blocks g.is-on rect { fill: var(--brand); stroke: var(--brand-deep); }
.plan__blocks g:focus-visible { outline: none; }
.plan__blocks g:focus-visible rect { stroke: var(--focus); stroke-width: 4; }
@media (hover: hover) and (pointer: fine) { .plan__blocks g:hover rect { stroke: var(--brand-deep); } }
.plan__keys { list-style: none; margin: var(--space-md) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.plan__keys button { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-pill); padding: .4em .9em; font: 600 .8rem/1 var(--font-display); color: var(--ink-2); cursor: pointer; }
.plan__keys button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.plan__panel { background: var(--paper); border-radius: var(--radius-l); box-shadow: var(--shadow-up); overflow: hidden; align-self: start; position: sticky; top: 6rem; }
.plan__panel img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.plan__panel .note, .plan__panel h3, .plan__panel p, .plan__panel .plan__facts, .plan__panel .actions { margin-left: var(--space-lg); margin-right: var(--space-lg); }
.plan__panel .note { margin-top: var(--space-lg); }
.plan__panel h3 { font-size: var(--text-lg); }
.plan__facts { display: grid; gap: .5rem; margin-bottom: var(--space-lg); }
.plan__facts div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--space-md); border-top: 1px solid var(--rule); padding-top: .5rem; }
.plan__facts dt { color: var(--muted); }
.plan__facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; }
.plan__panel .actions { margin-top: 0; margin-bottom: var(--space-lg); }

/* 14. Cards: faculty, places, posts ------------------------------------------- */
.faculty { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: var(--space-lg); }
.faculty--row { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.teacher a { display: block; color: inherit; text-decoration: none; }
.teacher img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: var(--space-sm); transition: transform var(--dur-short) var(--ease-out); }
.teacher h3 { font-size: var(--text-md); margin: 0 0 .15em; }
.teacher p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.section--dark .teacher p { color: var(--on-dark-2); }
.teacher__field { display: block; margin-top: .4em; font-size: var(--text-sm); color: var(--brand-deep); border-top: 1px solid var(--rule); padding-top: .4em; }
.faculty__empty { color: var(--muted); margin-top: var(--space-lg); }
@media (hover: hover) and (pointer: fine) { .teacher a:hover img { transform: translateY(-4px); } .teacher a:hover h3 { color: var(--brand-deep); } }
.places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-lg); }
.places--four { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.place figure { margin: 0 0 var(--space-md); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.place figure img { width: 100%; height: 100%; object-fit: cover; }
.place h3 { font-size: var(--text-md); margin-bottom: .3em; }
.place p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-lg); }
.post a { display: block; color: inherit; text-decoration: none; }
.post img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: var(--space-sm); transition: transform var(--dur-short) var(--ease-out); }
.post time { display: block; font: 600 var(--text-sm)/1.4 var(--font-display); color: var(--brand-deep); margin-bottom: .2em; }
.post h3 { font-size: var(--text-md); margin: 0; }
.post p { margin: .4em 0 0; color: var(--ink-2); font-size: var(--text-sm); }
.posts--list { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.post--lead { grid-column: 1 / -1; }
.post--lead a { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-xl); align-items: center; }
.post--lead img { aspect-ratio: 3 / 2; margin: 0; }
.post--lead h3 { font-size: var(--text-xl); }
@media (hover: hover) and (pointer: fine) { .post a:hover img { transform: translateY(-4px); } .post a:hover h3 { color: var(--brand-deep); } }
.article__meta { color: var(--on-dark-2); font-size: var(--text-sm); }
.article__hero { margin: 0 auto; }
.article__hero img { border-radius: var(--radius-l); box-shadow: var(--shadow-up); width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article__hero figcaption { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-sm); }
.article__body { padding: var(--space-2xl) 0 var(--space-xl); }
.article__body h2 { font-size: var(--text-lg); }
.article__foot { border-top: 1px solid var(--rule); padding: var(--space-lg) 0 var(--space-2xl); color: var(--ink-2); }

/* 15. FAQ, forms, contact ------------------------------------------------ */
.faq { display: grid; gap: var(--space-sm); }
.faq__item { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.faq__item summary { cursor: pointer; padding: var(--space-md) var(--space-lg); font: 700 var(--text-md)/1.3 var(--font-display); list-style: none; display: flex; justify-content: space-between; gap: var(--space-md); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--brand-deep); font-weight: 800; flex: none; transition: transform var(--dur-short) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item[open] summary { box-shadow: inset 0 -3px 0 var(--brand); }
.faq__item p { margin: 0; padding: var(--space-md) var(--space-lg) var(--space-lg); animation: fadein var(--dur-short) var(--ease-out); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md) var(--space-lg); align-content: start; background: var(--paper); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: var(--space-xl); }
.field { display: grid; gap: .3rem; margin: 0; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .choices legend { font: 600 var(--text-sm)/1.2 var(--font-display); color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 2.9rem; padding: .6rem .8rem; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); font: inherit; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--dark); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__err { font-size: var(--text-sm); color: var(--error); min-height: 1.2em; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .6em; align-items: start; margin: 0; font-size: var(--text-sm); }
.check input { margin: .3em 0 0; accent-color: var(--dark); }
.check .field__err { grid-column: 2; }
.honey { position: absolute; left: -999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.form__status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--error); }
.contact { display: grid; gap: var(--space-2xl); align-items: start; }
.contact__info h2 { font-size: var(--text-xl); }
.contact__info h3 { font-size: var(--text-md); margin-top: var(--space-lg); }
.contact__list { margin: 0 0 var(--space-lg); display: grid; gap: var(--space-sm); }
.contact__list div { display: grid; grid-template-columns: 6rem 1fr; gap: var(--space-md); }
.contact__list dt { color: var(--muted); }
.contact__list dd { margin: 0; font-family: var(--font-display); font-weight: 600; }
.contact__list address { font-style: normal; }
.hours { border-collapse: collapse; width: 100%; max-width: 24rem; }
.hours th, .hours td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--rule); font-weight: 400; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; background: var(--tint); }
.hours__now { font: 600 1rem/1.4 var(--font-display); color: var(--ok); min-height: 1.5em; }
.hours__now.is-closed { color: var(--error); }

/* 16. Footer, CTA, 404 ---------------------------------------------------- */
.cta { background: var(--brand); color: var(--on-brand); padding: var(--space-2xl) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -4rem; top: -4rem; width: 18rem; height: 18rem; background: var(--dots-light) 0 0 / 14px 14px; clip-path: polygon(0 0, 100% 0, 100% 100%); opacity: .5; }
.cta__inner { display: grid; gap: var(--space-lg); align-items: center; position: relative; }
.cta .note, .cta .link { color: var(--on-brand); }
.cta h2 { margin: 0; max-width: 22ch; }
.cta .btn--brand { background: var(--dark); color: var(--on-dark); }
.cta .actions { margin: 0; }
.site-footer { background: var(--dark); color: var(--on-dark-2); padding: var(--space-3xl) 0 var(--space-xl); }
.site-footer__grid { display: grid; gap: var(--space-xl); }
.site-footer__about { max-width: 34em; }
.site-footer__h { font: 700 var(--text-md)/1.2 var(--font-display); color: var(--on-dark); margin: 0 0 var(--space-sm); }
.site-footer address { font-style: normal; margin-bottom: var(--space-sm); }
.site-footer a { color: var(--on-dark); }
.site-footer__social, .site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .3em; }
.site-footer__social { display: flex; gap: var(--space-md); margin-top: var(--space-md); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); border-top: 1px solid var(--rule-dark); margin-top: var(--space-2xl); padding-top: var(--space-lg); font-size: var(--text-sm); }
.site-footer__base p { margin: 0; }
.lost { min-height: 70vh; display: grid; align-items: center; background: var(--grad-dark); color: var(--on-dark); position: relative; isolation: isolate; }
.lost::before { content: ""; position: absolute; inset: 0; background: var(--dots) 0 0 / 18px 18px; opacity: .5; z-index: -1; }
.lost__inner { padding: var(--space-3xl) 0; }
.lost h1 { max-width: 16ch; }

/* 17. Motion: reveals on scroll, parallax, the pennant, the ruler. All of it off under prefers-reduced-motion. --- */
.js [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal-group] > .is-in { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__copy > * { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .hero__copy > :nth-child(2) { transition-delay: 120ms; } .js .hero__copy > :nth-child(3) { transition-delay: 220ms; } .js .hero__copy > :nth-child(4) { transition-delay: 320ms; }
.js.is-ready .hero__copy > * { opacity: 1; transform: none; }
.js .hero__facts, .js .hero__figure { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-long) var(--ease-out) 380ms, transform var(--dur-long) var(--ease-out) 380ms; }
.js.is-ready .hero__facts, .js.is-ready .hero__figure { opacity: 1; transform: none; }
.js .hero__media .hero__photo { transform: translate3d(0, var(--py, 0), 0) scale(1.08); transition: transform 1.8s var(--ease-out); }
.js.is-ready .hero__media .hero__photo { transform: translate3d(0, var(--py, 0), 0) scale(1); }
.js [data-parallax] { transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.js [data-parallax].hero__photo { transform: translate3d(0, var(--py, 0), 0) scale(1); }
.js.is-ready .pennant { animation: pennant 1.1s var(--ease-swing) 500ms both; }
@keyframes pennant { from { transform: rotate(-6deg) translateX(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
.js .campus__blocks g { transform: scaleY(0.001); }
.js .campus.is-risen .campus__blocks g { transform: scaleY(1); transition-delay: calc(var(--k, 0) * 60ms); }
.js .campus.is-risen .campus__blocks g.is-lit { transform: scaleY(1) translateY(-10px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal-group] > *, .js [data-reveal], .js .hero__copy > *, .js .hero__facts, .js .hero__figure { opacity: 1; transform: none; transition: none; }
  .js .hero__media .hero__photo, .js [data-parallax], .js [data-parallax].hero__photo { transform: none; transition: none; }
  .js.is-ready .pennant { animation: none; }
  .js .campus__blocks g, .js .campus.is-risen .campus__blocks g { transform: none; transition: none; }
  .trail__ink { stroke-dashoffset: 0; }
  .faq__item p { animation: none; }
  .highlight, .course, .course__photo img, .teacher img, .post img, .tuition__bar span, .site-header__ruler span { transition: none; }
}

/* 18. Breakpoints: 360 (phone), 820 (tablet portrait), 1180 (tablet landscape, laptop), 1600 (desktop) ---- */
@media (min-width: 51.3rem) {
  .two { grid-template-columns: 1fr 1fr; }
  .section__head { grid-template-columns: 1.2fr 1fr; }
  .campus__grid { grid-template-columns: 1fr 1.1fr; }
  .tuition { grid-template-columns: 1.2fr 1fr; }
  .plan { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-xl); }
  .contact { grid-template-columns: 1fr 1.3fr; }
  .cta__inner { grid-template-columns: 1fr auto; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .page-head__grid { grid-template-columns: 1fr auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .after { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 64rem) {
  .hero__inner { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .hero__facts { grid-template-columns: 1fr; gap: var(--space-md); border-top: 0; border-left: 1px solid var(--rule-dark); padding: 0 0 0 var(--space-xl); max-width: none; }
  .rules { grid-template-columns: repeat(4, 1fr); }
  .syllabus { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 51.25rem) {
  .nav__toggle { display: inline-flex; }
  .nav__list { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); padding: var(--space-md) var(--space-lg) var(--space-lg); box-shadow: var(--shadow-up); flex-direction: column; gap: .2rem; border-top: 1px solid var(--rule-dark); }
  .nav.is-open .nav__list { display: flex; }
  .nav__list a { font-size: 1rem; padding: .7rem .6rem; }
  .site-header__phone-num, .site-header__cta { display: none; }
  .site-header__row { gap: var(--space-md); }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: grid; grid-template-columns: 1fr 1fr 1.2fr; background-color: var(--dark); border-top: 1px solid var(--rule-dark); padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom)); gap: .4rem; }
  .action-bar a { display: grid; place-items: center; min-height: 2.8rem; border-radius: var(--radius-s); color: var(--on-dark); text-decoration: none; font: 700 .9rem/1 var(--font-display); white-space: nowrap; }
  .action-bar__main { background: var(--brand); color: var(--on-brand) !important; }
  body { padding-bottom: 4.4rem; }
  .hero__inner { padding-top: var(--space-2xl); min-height: 0; }
  .hero__veil { background: color-mix(in oklch, var(--dark) 74%, transparent); }
  .hero__facts { grid-template-columns: 1fr; gap: var(--space-sm); }
  .hero__facts b { font-size: var(--text-md); display: inline; margin-right: .4em; }
  .hero--split .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .section { padding: var(--space-2xl) 0; }
  .trail__stops { grid-template-columns: 1fr 1fr; margin-top: var(--space-md); }
  .trail__svg { display: none; }
  .trail__stops li::before { position: static; display: inline-grid; margin-bottom: .4rem; }
  .trail__stops li { padding-top: 0; }
  .two--reverse > :first-child { order: 0; }
  .events--list .event { grid-template-columns: 4rem 1fr; }
  .events--list .event__ics { grid-column: 2; justify-self: start; }
  .post--lead a { grid-template-columns: 1fr; gap: var(--space-md); }
  .post--lead h3 { font-size: var(--text-lg); }
  .form { grid-template-columns: 1fr; padding: var(--space-lg); }
  .apply { padding: var(--space-lg); }
  .apply__progress button { font-size: .8rem; }
  .apply__review div { grid-template-columns: 1fr; gap: .1rem; }
  .tuition__result { position: static; }
  .plan__panel { position: static; }
  .page-head--photo .page-head__media { inset: 0; opacity: .25; }
  .page-head__portrait { width: min(100%, 14rem); }
  .dates div { grid-template-columns: 5rem 1fr; }
}
@media (max-width: 25rem) {
  .actions { gap: var(--space-md); }
  .btn { padding: .75em 1em; font-size: .95rem; }
  .brand__name { font-size: 1.15rem; }
  .areas button, .filters button { padding: .5em .8em; }
  .apply__nav { gap: var(--space-md); }
}

/* 19. Print --------------------------------------------------------------- */
@media print {
  :root { --grad-dark: none; --grad-veil: none; --grad-side: none; --dots: none; --dots-light: none; --dark: #fff; --dark-2: #fff; --dark-3: #ccc; --on-dark: #000; --on-dark-2: #444; --paper: #fff; --wash: #fff; --tint: #fff; --brand: #ddd; --brand-deep: #333; }
  @page { margin: 14mm; }
  html, body { background: #fff; color: #000; padding: 0; }
  .skip, .nav, .site-header__phone, .site-header__cta, .site-header__ruler, .action-bar, .btn, .campus__stage, .campus__hint, .areas, .trail__svg, .finder, .filters, .events__bar, .plan__keys, .site-footer__links, .site-footer__base p + p, .apply__progress, .apply__nav, .hero__media, .hero__veil, .page-head__media, .tuition__bar, .frame::after, .cta::before { display: none !important; }
  .site-header, .tuition__result, .plan__panel { position: static; box-shadow: none; }
  .site-header { border-bottom: 1px solid #ccc; }
  .hero, .page-head, .campus, .section--dark, .cta, .lost { color: #000; background: #fff; }
  .hero { min-height: 0; }
  .section, .page-head, .site-footer, .cta, .campus { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
  .js [data-reveal-group] > *, .js [data-reveal], .js .hero__copy > *, .js .hero__facts, .js .hero__figure { opacity: 1; transform: none; transition: none; }
  .js [data-parallax] { transform: none; }
  .js .campus__blocks g { transform: none; }
  .apply__step { display: grid !important; }
  .course, .event, .rules li, .syllabus > li, .faq__item { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
