@font-face {
  font-family: "Course Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Course Serif";
  src: url("/assets/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --paper-light: #fcfaf4;
  --ink: #14251c;
  --text: #252b25;
  --muted: #515b52;
  --forest: #184637;
  --forest-dark: #102b23;
  --green-soft: #e8eee4;
  --ochre: #d7a24d;
  --line: #d5d8cd;
  --line-strong: #b3bcaf;
  --serif: "Course Serif", Georgia, "Times New Roman", serif;
  --sans: "Course Sans", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 3.33vw, 56px);
  --measure: 1320px;
  --radius: 6px;
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--text);
  line-height: 1.57;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
svg { display: inline-block; flex: none; vertical-align: middle; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 640;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 { font-size: clamp(31px, 3.55vw, 51px); }
h3 { font-size: clamp(23px, 2.25vw, 32px); }
a { color: var(--forest); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 0.11em; }
button, input, select, textarea { font: inherit; }
button, select, input[type="checkbox"] { cursor: pointer; }
button:disabled { cursor: not-allowed; }
::selection { background: #dce7d5; color: var(--forest-dark); }
:focus-visible { outline: 3px solid #9e621b; outline-offset: 4px; }

.sr-only, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  clip-path: inset(50%);
  padding: 9px 15px;
  background: var(--forest-dark);
  color: white;
}

.skip-link:focus { clip-path: none; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--measure)); margin-inline: auto; }
.muted, small { color: var(--muted); }
.nowrap { white-space: nowrap; }

.site-header { position: relative; z-index: 4; border-bottom: 1px solid var(--line); }
.nav-inner {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font: 650 clamp(26px, 3vw, 37px)/1 var(--serif);
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; color: var(--forest); }
.brand-mark svg { width: 100%; height: 100%; }
.site-nav, .footer-nav { display: flex; align-items: center; gap: clamp(16px, 2.8vw, 42px); }
.site-nav > a, .footer-nav a { color: inherit; font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-nav > a:hover, .site-nav > a[aria-current="page"], .footer-nav a:hover { text-decoration: underline; }
.site-nav > a.nav-action, a.nav-action { color: #fbfaf2; }

.button, .nav-action {
  display: inline-flex;
  min-height: 44px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  background: var(--forest);
  color: #fbfaf2;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.button:hover, .site-nav > a.nav-action:hover { background: var(--forest-dark); color: #fff; border-color: var(--forest-dark); text-decoration: none; }
.button.secondary, .button.outline, .button--secondary, .button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--forest);
}

.button.secondary:hover, .button.outline:hover, .button--secondary:hover, .button-secondary:hover { background: var(--green-soft); color: var(--forest-dark); }
.button.is-disabled, .button[aria-disabled="true"], .button:disabled { opacity: .62; pointer-events: none; }
.menu-toggle, [data-menu-button] { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .435fr) minmax(0, .565fr);
  align-items: center;
  gap: clamp(26px, 2.4vw, 42px);
  margin-block: clamp(22px, 2vw, 35px) clamp(26px, 2.45vw, 44px);
}

.hero-title {
  max-width: 11em;
  font-size: clamp(46px, 5.65vw, 90px);
  font-weight: 680;
  line-height: .99;
  letter-spacing: -.059em;
  text-wrap: wrap;
}

.hero-copy > p, .hero-copy > .lede { margin-top: 20px; max-width: 34rem; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.35; }
.hero-photo { min-width: 0; min-height: 0; margin: 0; }
.hero-photo:is(img), .hero-photo img { width: 100%; aspect-ratio: 1.54; object-fit: cover; object-position: center 52%; }
.hero-search { display: flex; align-items: stretch; gap: 9px; margin-top: clamp(23px, 2.6vw, 36px); }
.hero-search .button { min-height: 52px; padding-inline: clamp(16px, 2vw, 24px); }
.search-field { position: relative; display: flex; flex: 1 1 auto; min-width: 0; align-items: center; }
.search-field svg, .search-field > .icon { position: absolute; left: 14px; width: 19px; height: 19px; color: var(--ink); pointer-events: none; }
.search-field input, .hero-search > input { width: 100%; min-height: 52px; }
.search-field:has(svg) input, .search-field:has(.icon) input { padding-left: 43px; }

input[type="search"], input[type="text"], select, .contact-form .field :is(input, textarea) {
  display: block;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-light);
  color: var(--text);
  line-height: 1.35;
}

input::placeholder { color: #576057; opacity: 1; }
input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--forest); }
.popular { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 19px; margin-top: 18px; font-size: 15px; }
.popular strong { color: var(--ink); font-weight: 650; }
.popular a { white-space: nowrap; }

.stats-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; border-block: 1px solid var(--line); padding-block: 18px; }
.stat { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding-inline: 12px; font-size: clamp(15px, 1.55vw, 20px); line-height: 1.1; }
.stat + .stat { border-left: 1px solid var(--line-strong); }
.stat :is(strong, b, .stat-number) { color: var(--ink); font: 650 clamp(32px, 3.65vw, 49px)/1 var(--serif); letter-spacing: -.045em; }

.section { margin-block: clamp(36px, 3.35vw, 61px); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: clamp(17px, 2.2vw, 31px); }
.text-link { font-weight: 600; overflow-wrap: anywhere; }
.text-button { min-height: 36px; padding: 0 4px; border: 0; background: transparent; color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.source-link { font-weight: 600; overflow-wrap: anywhere; }
.source-link-small { font-size: 13px; }
.programme-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 29px); }
.programme-card { display: block; min-width: 0; padding-bottom: 13px; border-bottom: 1px solid var(--forest-dark); color: var(--ink); text-decoration: none; }
.programme-card a { color: inherit; text-decoration: inherit; }
.programme-card:hover .programme-name { text-decoration: underline; text-decoration-thickness: .065em; text-underline-offset: .16em; }
.programme-image { display: block; overflow: hidden; }
.programme-image:is(img), .programme-image img { width: 100%; aspect-ratio: 1.62; object-fit: cover; object-position: center; }
.programme-card .programme-name { display: flex; justify-content: space-between; align-items: baseline; gap: 5px; margin-top: 9px; color: var(--ink); font: 630 clamp(21px, 2.15vw, 31px)/1.15 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.programme-name svg { align-self: center; width: clamp(13px, 1.4vw, 19px); }

.guide-band { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; gap: clamp(24px, 3.5vw, 51px); margin-block: clamp(38px, 3.6vw, 65px) clamp(32px, 3vw, 54px); }
.guide-image { min-width: 0; margin: 0; }
.guide-image:is(img), .guide-image img { width: 100%; aspect-ratio: 2.22; object-fit: cover; object-position: center 52%; }
.guide-links h2 { margin-bottom: 12px; }
.guide-links ul { margin: 0; padding: 0; list-style: none; }
.guide-link { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 46px; padding: 8px 4px; border-bottom: 1px solid #87928a; color: var(--ink); font-size: clamp(17px, 1.7vw, 22px); text-decoration: none; }
.guide-link:hover { color: var(--forest); border-color: var(--forest); text-decoration: underline; }
.guide-link .arrow { flex: none; color: var(--forest); }
.guide-link small { display: block; margin-top: 2px; font-size: 14px; }

.site-footer { margin-top: clamp(32px, 4vw, 62px); background: var(--forest-dark); color: #f8f5ed; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 17px 26px; padding-block: 20px; }
.site-footer .brand { color: inherit; font-size: 28px; }
.site-footer .brand-mark { width: 29px; height: 29px; color: inherit; }
.site-footer :is(p, small, .muted) { color: #dbe5db; font-size: 13px; }
.footer-nav { flex-wrap: wrap; gap: clamp(12px, 2.4vw, 32px); font-size: 14px; }

.page-head { margin-block: clamp(24px, 3.5vw, 55px) clamp(22px, 2.8vw, 42px); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; margin: 0 0 14px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.breadcrumb :is(ol, ul) { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--forest); }
.page-head-row { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.page-title { max-width: 18ch; font-size: clamp(46px, 6.1vw, 85px); line-height: 1.01; letter-spacing: -.057em; text-wrap: balance; }
.page-head .lede { margin-top: 14px; }
.lede { max-width: 69ch; color: var(--muted); font-size: clamp(17px, 1.65vw, 21px); line-height: 1.5; }
.page-head :is(.button, .actions) { margin-top: 16px; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); }
.field { display: grid; flex: 1 1 150px; min-width: 0; gap: 4px; }
.field:has(input[type="search"]), .field-wide { flex-grow: 2; flex-basis: 235px; }
.field > :is(label, span) { color: var(--ink); font-size: 14px; font-weight: 650; }
.field :is(input, select) { width: 100%; }
.field .search-field input { min-height: 44px; font-weight: 400; }
.contact-form { display: grid; max-width: 40rem; gap: 18px; }
.contact-form textarea { width: 100%; resize: vertical; }
.contact-form .button { justify-self: start; }
.filter-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 44px; }
.filter-actions a:not(.button) { font-size: 14px; }
.inline-popular { margin-top: 12px; }

.result-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; padding-block: 16px 10px; color: var(--muted); font-size: 14px; }
.result-head h2 { color: var(--ink); }
.result-list { margin: 0; padding: 0; border-top: 1px solid var(--line-strong); list-style: none; }
.result-row { display: flex; align-items: center; min-width: 0; gap: clamp(12px, 2vw, 25px); min-height: 89px; padding: 14px 1px; border-bottom: 1px solid var(--line); }
.result-icon { display: inline-grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border: 1px solid #c3cec1; border-radius: 4px; background: var(--green-soft); color: var(--forest); font: 650 15px/1 var(--serif); text-transform: uppercase; }
.result-main { flex: 1 1 auto; min-width: 0; }
.result-main :is(h2, h3) { font-size: clamp(21px, 2.2vw, 30px); text-wrap: wrap; }
.result-main :is(h2, h3) a { color: var(--ink); text-decoration: none; }
.result-title { display: block; width: fit-content; color: var(--ink); font: 630 clamp(23px, 2.1vw, 31px)/1.15 var(--serif); letter-spacing: -.027em; text-decoration: none; }
.result-university { display: block; width: fit-content; margin-top: 3px; color: var(--forest); font-weight: 600; text-decoration: none; }
.result-main a:hover { text-decoration: underline; }
.result-main > p, .result-details { margin-top: 4px; color: var(--muted); line-height: 1.42; font-size: 14px; }
.result-details { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 13px; margin-left: auto; }
.result-actions > label, .compare-option { display: inline-flex; align-items: center; gap: 7px; color: var(--forest); font-weight: 550; font-size: 14px; min-height: 36px; cursor: pointer; }
.row-arrow { display: inline-grid; min-width: 40px; min-height: 40px; place-items: center; border-radius: var(--radius); }
.row-arrow:hover { background: var(--green-soft); }
.status { display: inline-flex; width: fit-content; min-height: 22px; align-items: center; padding: 2px 7px; border-radius: 4px; background: var(--green-soft); color: var(--forest-dark); font-size: 12px; font-weight: 650; line-height: 1.35; }
.status.unknown, .status.status-unknown, .status--neutral, .status-neutral { background: #eceae1; color: #4d5045; }
.status.interim, .status.status-interim, .status--interim { background: #f0e6ce; color: #694719; }
.status.denied, .status.status-denied, .status--denied { background: #f1e0d9; color: #7c3426; }
.empty-state { border-block: 1px solid var(--line); padding-block: 30px; }
.empty-state :is(h2, h3) { margin-bottom: 10px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 18px; font-size: 14px; }
.pagination > :is(a, .page-disabled, .page-current) { display: inline-flex; justify-content: center; align-items: center; min-width: 39px; min-height: 39px; padding-inline: 9px; border-radius: 4px; }
.pagination a { text-decoration: none; }
.pagination a:hover, .pagination .page-current { background: var(--green-soft); color: var(--forest-dark); }
.pagination .page-current { font-weight: 700; }
.pagination .page-disabled { color: var(--muted); opacity: .74; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .36fr); align-items: start; gap: clamp(23px, 4vw, 60px); }
.detail-main, .detail-sidebar, .detail-section, .guide-body { min-width: 0; }
.detail-section { padding-block: 22px; border-top: 1px solid var(--line); }
.detail-section > h2 { margin-bottom: 13px; font-size: clamp(27px, 3.13vw, 43px); text-wrap: wrap; }
.detail-section > :is(p, ul, ol) + :is(p, ul, ol) { margin-top: 11px; }
.detail-section p { max-width: 76ch; }
.detail-sidebar { display: grid; gap: 20px; }
.head-actions { flex: 0 0 auto; }
.in-page-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-block: 0 15px; font-size: 14px; font-weight: 650; }
.inline-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 15px; }
.sidebar-links, .related-guides { display: grid; gap: 9px; justify-items: start; }
.related-guides { padding-block: 13px; border-block: 1px solid var(--line); }
.fact-panel { padding: clamp(15px, 2vw, 25px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); }
.fact-panel h2 { margin-bottom: 12px; font-size: clamp(24px, 2.4vw, 34px); }
.fact-panel p + p { margin-top: 10px; }
.fact-panel ul { margin: 0; padding-left: 18px; }
.fact-panel li + li { margin-top: 7px; }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 11px 17px; margin-block: 12px; }
.fact-grid > div { min-width: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fact-grid dt { color: var(--muted); font-weight: 550; font-size: 13px; }
.fact-grid dd { margin: 3px 0 0; color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.fact-grid:empty, .sidebar-links:empty { display: none; }
.requirement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-block: 12px; }
.requirement-grid > div { padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); }
.requirement-grid h3 { margin-bottom: 8px; font: 700 16px/1.3 var(--sans); letter-spacing: 0; }
.pill-links, .subject-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.pill-link, .subject-tags > li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--green-soft); color: var(--forest-dark); font-size: 14px; }
.pill-link { text-decoration: none; }
.pill-link > span { color: var(--muted); }
.pill-link:hover { text-decoration: underline; }
.plain-list { padding-left: 22px; }
.more-details { margin-top: 12px; }
.more-details summary { color: var(--forest); font-weight: 650; cursor: pointer; }
.more-details[open] summary { margin-bottom: 8px; }
.data-table-wrap { position: relative; width: 100%; margin-block: 12px; overflow-x: auto; scrollbar-color: var(--line-strong) transparent; }
.data-table { width: 100%; border-collapse: collapse; border-block: 1px solid var(--line); font-size: 15px; line-height: 1.45; text-align: left; }
.data-table :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--green-soft); color: var(--ink); font-size: 14px; font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: #faf8f1; }
.data-table td a { font-weight: 550; }
.cell-note { display: block; margin-top: 2px; font-size: 13px; }
.faq-list { margin: 12px 0; }
.faq-list details { padding-block: 12px; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; color: var(--ink); font-weight: 650; }
.faq-list details > p { margin-top: 8px; max-width: 74ch; }
.faq-list dt { margin-top: 13px; color: var(--ink); font-weight: 650; }
.faq-list dd { margin: 4px 0 0; }
.guide-body .detail-main { max-width: 76ch; }
.guide-body .detail-main > p { margin-bottom: 22px; font-size: 18px; }
.guide-body h2 { text-wrap: wrap; }
.guide-body :is(p, ul, ol) + :is(p, ul, ol) { margin-top: 10px; }
.guide-body a { overflow-wrap: anywhere; }
.admission-research { display: grid; grid-template-columns: minmax(0, 1fr) minmax(235px, .55fr); align-items: start; gap: 18px 35px; padding-top: 24px; border-top: 1px solid var(--line); }
.admission-research p { margin-block: 9px; }
.notice, .answer-block { margin-block: 0 18px; padding: 13px clamp(13px, 2.2vw, 23px); border-left: 3px solid var(--forest); background: var(--green-soft); }
.answer-block h2 { margin-bottom: 7px; font-size: clamp(25px, 3vw, 42px); text-wrap: wrap; }
.answer-block p { max-width: 75ch; }
.compare-table { min-width: 570px; }
.compare-table thead th { min-width: 165px; }
.compare-table :is(th, td) { overflow-wrap: anywhere; }
.compare-table thead th > span { display: block; margin-block: 5px; color: var(--muted); }
.compare-programme { font: 650 clamp(19px, 2vw, 27px)/1.15 var(--serif); letter-spacing: -.025em; text-decoration: none; }
.compare-programme:hover { text-decoration: underline; }
.compare-remove { font-size: 13px; font-weight: 550; }

.compare-tray {
  position: fixed;
  z-index: 5;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 15px;
  width: min(calc(100% - 2 * var(--gutter)), 1000px);
  padding: 10px 13px;
  transform: translateX(-50%);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 8px 34px #102b2321;
  background: var(--paper-light);
}

.compare-tray-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; width: 100%; }
.compare-selected { display: flex; flex: 1 1 auto; align-items: center; min-width: 0; gap: 7px 13px; }
.compare-selected > strong { flex: 0 0 auto; }
.compare-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.compare-labels { min-width: 0; flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.compare-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--green-soft); color: var(--forest-dark); font-size: 12px; }
.compare-chip-label { min-width: 0; max-width: 215px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-chip > button { display: inline-grid; flex-shrink: 0; place-items: center; padding: 0; min-width: 24px; min-height: 23px; border: 0; background: transparent; color: var(--forest-dark); font-size: 16px; line-height: 1; }
.compare-tray [data-compare-clear] { border: 0; background: transparent; color: var(--forest); text-decoration: underline; text-underline-offset: .2em; }
.compare-tray [data-compare-count] { color: var(--ink); font-weight: 650; }
.compare-feedback { flex-basis: 100%; color: var(--muted); font-size: 13px; }
body:has(.compare-tray:not([hidden])) { padding-bottom: 80px; }

@media (max-width: 890px) {
  .hero { grid-template-columns: minmax(0, .475fr) minmax(0, .525fr); gap: 22px; }
  .hero-title { font-size: clamp(41px, 6.25vw, 58px); }
  .hero-photo:is(img), .hero-photo img { aspect-ratio: 1.26; }
  .hero-copy > p, .hero-copy > .lede { font-size: 18px; }
  .programme-card .programme-name { font-size: 22px; }
  .guide-band { gap: 23px; }
  .guide-image:is(img), .guide-image img { aspect-ratio: 1.65; }
}

@media (max-width: 680px) {
  .nav-inner { min-height: 61px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .menu-toggle, [data-menu-button] { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--forest); }
  .site-nav { position: absolute; inset: 100% 0 auto; display: none; padding: 11px var(--gutter) 15px; border-bottom: 1px solid var(--line-strong); background: var(--paper); }
  .site-nav.is-open { display: grid; gap: 3px; }
  .site-nav > a { padding: 8px 0; min-height: 43px; }
  .site-nav > a.nav-action { width: fit-content; padding-inline: 13px; }
  .hero { grid-template-columns: 1fr; gap: 22px; margin-block: 23px; }
  .hero-title { font-size: clamp(45px, 10.5vw, 66px); }
  .hero-copy > p, .hero-copy > .lede { margin-top: 12px; }
  .hero-search { margin-top: 19px; }
  .hero-search .button { min-height: 49px; }
  .hero-search .search-field input, .hero-search > input { min-height: 49px; }
  .popular { gap: 4px 12px; margin-top: 12px; }
  .hero-photo:is(img), .hero-photo img { aspect-ratio: 1.55; }
  .stats-band { padding-block: 12px; }
  .stat { display: grid; align-content: start; justify-items: center; gap: 4px; min-height: 46px; padding-inline: 6px; font-size: 12px; line-height: 1.18; text-align: center; }
  .stat :is(strong, b, .stat-number) { font-size: clamp(25px, 7vw, 38px); }
  .programme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 13px; }
  .programme-card { padding-bottom: 9px; }
  .programme-card .programme-name { font-size: clamp(18px, 5vw, 24px); }
  .guide-band { grid-template-columns: 1fr; gap: 17px; }
  .guide-image:is(img), .guide-image img { aspect-ratio: 1.85; }
  .footer-inner { gap: 13px 18px; }
  .footer-inner > p { flex-basis: 100%; }
  .detail-grid, .admission-research { grid-template-columns: 1fr; }
  .detail-sidebar { grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); }
  .filter-bar { padding: 12px; gap: 9px; }
  .filter-actions { width: 100%; }
  .result-row { align-items: flex-start; min-height: 75px; gap: 9px; }
  .result-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 12px; }
  .result-main :is(h2, h3) { font-size: 22px; }
  .result-actions { gap: 4px 7px; }
  .result-actions > label { min-height: 31px; }
  .data-table :is(th, td) { padding-inline: 8px; }
  .compare-tray { gap: 6px 8px; padding: 8px 10px; }
  .compare-selected { flex-wrap: wrap; }
  .compare-labels { flex-basis: 100%; }
  .compare-chip-label { max-width: 145px; }
  body:has(.compare-tray:not([hidden])) { padding-bottom: 126px; }
}

@media (max-width: 430px) {
  :root { --gutter: 16px; }
  .result-row { flex-wrap: wrap; }
  .result-main { flex-basis: calc(100% - 44px); }
  .result-actions { margin-left: 43px; justify-content: flex-start; }
  .index-row { flex-wrap: nowrap; }
  .index-row .result-main { flex: 1 1 auto; }
  .index-row .result-actions { margin-left: auto; }
  .hero-search { gap: 6px; }
  .hero-search .button { padding-inline: 11px; }
  .hero-search input { font-size: 15px; }
  .search-field:has(svg) input, .search-field:has(.icon) input { padding-left: 36px; }
  .search-field svg, .search-field > .icon { left: 11px; width: 16px; height: 16px; }
  .compare-tray-inner { flex-wrap: wrap; }
  .compare-selected { flex-basis: 100%; }
  .compare-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-chip { min-width: 0; width: fit-content; }
  .compare-actions { margin-left: auto; }
  body:has(.compare-tray:not([hidden])) { padding-bottom: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
