:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #f5f5f5;
  --surface-light: #ebebeb;
  --ink: #111111;
  --ink-deep: #111111;
  --dark-surface: #1a1a1a;
  --muted: #626262;
  --caption: #858585;
  --line: #e0e0e0;
  --line-dark: #303030;
  --line-light: #303030;
  --white: #ffffff;
  --font: "Manrope", "Segoe UI", sans-serif;
  --page-pad: clamp(1.25rem, 4vw, 4rem);
  --content-width: 1440px;
  --radius: 10px;
  --step-body: clamp(1rem, .96rem + .15vw, 1.125rem);
  --step-lead: clamp(1rem, .93rem + .35vw, 1.25rem);
  --step-head: clamp(2.25rem, 3.7vw, 3.5rem);
  --panel-shadow: 0 12px 44px rgb(0 0 0 / 7%);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { min-width: 0; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
p { max-width: 70ch; }
.page-width { width: min(100% - var(--page-pad) * 2, var(--content-width)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 20px; background: var(--ink); color: var(--white); }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; min-height: 80px; justify-content: space-between; align-items: center; gap: 24px; transition: min-height 250ms ease; }
.site-header.is-scrolled .header-inner { min-height: 70px; }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font-size: 17px; font-weight: 700; line-height: 1; white-space: nowrap; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid currentColor; border-radius: 9px; font-size: 15px; letter-spacing: -.08em; }
.brand-name > span { display: block; margin-top: 7px; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); font-size: 14px; }
.main-nav a { position: relative; text-decoration: none; white-space: nowrap; padding-block: 10px; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-assistant { padding: 12px 18px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--white); font-size: 14px; transition: background 200ms ease; }
.nav-assistant:hover { background: var(--line-dark); }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; min-height: 710px; padding-block: 88px 90px; }
.hero-label { margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.hero h1 { max-width: 10ch; font-size: clamp(3.5rem, 5.6vw, 5.5rem); line-height: 1.04; font-weight: 500; letter-spacing: -.065em; }
.hero-lead { max-width: 37rem; margin-top: 28px; color: var(--muted); font-size: var(--step-lead); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 52px; padding: 14px 22px; justify-content: center; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: var(--radius); font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--line-dark); }
.button-quiet { border-color: var(--line); background: var(--paper); color: var(--ink); }
.button-quiet:hover { background: var(--surface); border-color: var(--muted); }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button-light:hover { background: var(--surface-light); }
.hero-caption { max-width: 36rem; margin-top: 24px; font-size: 13px; color: var(--muted); }
.hero-visual { min-width: 0; }
.coordinate-board { position: relative; width: 100%; aspect-ratio: 1.12; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.coordinate-drawing { position: absolute; inset: 0; width: 100%; height: 100%; }
.plot-disc { fill: none; stroke: var(--line); stroke-width: 1; }
.plot-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.plot-route { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1100; animation: draw-route 900ms var(--ease) both; }
.plot-axis { fill: none; stroke: var(--caption); stroke-width: 1; }
.plot-point { fill: var(--ink); stroke: var(--surface); stroke-width: 5; }
.plot-note { fill: var(--muted); font-family: var(--font); font-size: 13px; }
.plot-controls { position: absolute; inset: 0; }
.plot-node { position: absolute; min-width: 82px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 14px; transition: color 200ms ease, background 200ms ease; }
.plot-node:hover { border-color: var(--ink); }
.plot-node.is-selected { background: var(--ink); border-color: var(--ink); color: var(--white); }
.node-faculty { left: 7%; top: 58%; }
.node-university { left: 40%; top: 16%; }
.node-city { right: 7%; top: 76%; }
.plot-caption { display: grid; grid-template-columns: 1fr auto; gap: 20px; margin-top: 22px; font-size: 13px; color: var(--muted); min-height: 66px; }
.plot-caption a { align-self: start; font-weight: 600; color: var(--ink); }
.route-band { background: var(--surface); border-block: 1px solid var(--line); }
.route-band-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; padding-block: 40px; align-items: center; }
.route-band h2 { max-width: 16ch; font-size: 28px; }
.route-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.route-principles p { border-left: 1px solid var(--line); padding-left: 24px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.route-principles strong { font-size: 19px; font-weight: 500; color: var(--ink); }
.route-principles br { display: block; content: ""; margin: 8px; }
.route-principles .route-dot { display: none; }
.section { padding-block: 112px; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 48px; }
.section-intro h2, .source-inner h2 { max-width: 17ch; font-size: var(--step-head); }
.section-lead { max-width: 55ch; padding-top: 6px; color: var(--muted); font-size: var(--step-lead); }
.faculty-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.faculty-feature { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.feature-wide { grid-column: 1 / -1; }
.feature-point { display: none; }
.faculty-feature h3 { font-size: 26px; margin-bottom: 12px; }
.faculty-feature p { max-width: 55ch; color: var(--muted); font-size: 16px; }
.content-status, .table-status { display: inline-block; width: fit-content; padding: 5px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; white-space: nowrap; }
.university-note { display: grid; grid-template-columns: .6fr 1.6fr auto; align-items: start; gap: 32px; margin-top: 40px; padding: 32px; background: var(--surface); border-radius: 12px; }
.university-symbol { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.06em; }
.university-note h3 { font-size: 24px; margin-bottom: 14px; }
.university-note p { color: var(--muted); font-size: 16px; }
.tour-section { width: 100%; max-width: none; margin: 0; padding-inline: max(var(--page-pad), calc((100% - 1440px) / 2)); background: var(--ink); color: var(--white); }
.tour-section .section-lead { color: var(--line); }
.tour-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr); gap: 40px; align-items: center; }
.tour-viewer { border: 1px solid var(--line-dark); background: var(--dark-surface); border-radius: 12px; overflow: hidden; }
.viewer-header, .viewer-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 13px; color: var(--line); }
.viewer-header { border-bottom: 1px solid var(--line-dark); }
.viewer-status { display: inline-flex; align-items: center; gap: 8px; }
.viewer-status i { display: block; width: 5px; height: 5px; background: #858585; border-radius: 50%; }
.viewer-stage { position: relative; min-height: 360px; display: grid; place-items: center; }
.viewer-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .26; }
.viewer-message { position: relative; max-width: 85%; text-align: center; padding: 36px 0; }
.viewer-degree { display: block; font-size: 72px; line-height: 1.2; letter-spacing: -.07em; font-weight: 400; }
.viewer-message p { font-size: 19px; margin: 16px 0 8px; }
.viewer-message > span:last-child { font-size: 13px; color: var(--line); }
.viewer-footer { border-top: 1px solid var(--line-dark); }
.viewer-track { display: flex; gap: 8px; }
.viewer-track i { width: 5px; height: 5px; background: var(--muted); border-radius: 50%; }
.viewer-fullscreen { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--muted); border-radius: 6px; background: transparent; color: var(--white); }
.icon { display: inline-block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.tour-copy h3 { font-size: 24px; margin-bottom: 24px; }
.tour-copy details { border-top: 1px solid var(--line-dark); }
.tour-copy summary { padding-block: 18px; font-size: 15px; cursor: pointer; }
.tour-copy details p { font-size: 14px; color: var(--line); padding-bottom: 20px; }
.source-reminder { font-size: 13px; color: var(--line); margin-top: 24px; }
.tour-viewer:fullscreen { display: flex; flex-direction: column; border-radius: 0; }
.tour-viewer:fullscreen .viewer-stage { flex: 1; }
.life-explorer { display: grid; grid-template-columns: 1fr 2fr; border-block: 1px solid var(--line); gap: 40px; }
.life-options { display: flex; flex-direction: column; padding-block: 24px; }
.life-option { min-height: 58px; text-align: left; padding: 14px 18px; border: 0; border-left: 2px solid transparent; background: transparent; color: var(--muted); font-size: 18px; transition: background 200ms ease; }
.life-option:hover { background: var(--surface); }
.life-option.is-selected { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.life-result { position: relative; padding: 48px; background: var(--surface); min-height: 310px; display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 24px; }
.life-result-point { display: none; }
.life-result h3 { font-size: 32px; margin-bottom: 20px; }
.life-result p { font-size: 18px; color: var(--muted); max-width: 50ch; }
.admission-section { background: var(--surface); padding-block: 112px; }
.admission-table-wrap { margin-bottom: 28px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 15px; }
th, td { border-bottom: 1px solid var(--line); padding: 24px 20px 24px 0; vertical-align: top; }
thead th { color: var(--muted); font-size: 13px; font-weight: 500; padding-top: 0; }
tbody th { width: 30%; font-weight: 600; }
td { color: var(--muted); }
.table-status { background: var(--paper); }
.history-track { position: relative; margin-left: calc(50% + 24px); border-left: 1px solid var(--line); }
.history-stop { position: relative; padding: 0 0 38px 32px; }
.history-stop:last-child { padding-bottom: 0; }
.history-point { position: absolute; top: 8px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px var(--paper); }
.history-stop h3 { font-size: 24px; margin-bottom: 14px; }
.history-stop p { color: var(--muted); font-size: 16px; }
.map-section { padding-top: 0; }
.map-layout { display: grid; gap: 64px; }
.map-panel { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.map-panel-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px; }
.map-panel-head h3 { font-size: 26px; }
.map-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 24px; }
.map-filter, .prompt-chips button { min-height: 40px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 14px; transition: background 200ms ease, color 200ms ease; }
.map-filter:hover, .prompt-chips button:hover { background: var(--surface); }
.map-filter.is-selected { color: var(--white); background: var(--ink); border-color: var(--ink); }
.map-canvas { position: relative; min-height: 350px; display: grid; place-items: center; background: var(--surface); border-block: 1px solid var(--line); }
.map-drawing { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.map-empty { position: relative; margin: 24px; max-width: 430px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); text-align: center; }
.map-empty-point { display: none; }
.map-empty p { font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
.map-empty > span:last-child { font-size: 14px; color: var(--muted); }
.map-note { font-size: 13px; color: var(--muted); padding: 16px 24px; }
.city-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; align-items: start; }
.city-collage-heading { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 32px; align-items: start; }
.city-collage-heading h3 { font-size: 28px; }
.city-collage-heading p { max-width: 46ch; font-size: 15px; color: var(--muted); }
.city-image-large { grid-column: 1 / -1; }
.city-image img { aspect-ratio: 1.35; height: auto; object-fit: cover; border-radius: 10px; }
.city-image-large img { aspect-ratio: 2.65; object-position: center 55%; }
.city-image-map img { object-fit: contain; background: var(--surface); }
.city-image figcaption { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.city-image a { text-decoration-color: var(--line); }
.map-image-link { display: block; overflow: hidden; border-radius: 10px; }
.map-image-link img { transition: transform 450ms var(--ease); }
.map-image-link:hover img { transform: scale(1.035); }
.career-section { border-top: 1px solid var(--line); }
.career-route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.career-route article { border-top: 1px solid var(--ink); padding-top: 24px; }
.career-route h3 { font-size: 26px; margin-bottom: 16px; }
.career-route p { color: var(--muted); font-size: 15px; }
.career-route .route-dot { display: none; }
.career-note { margin-top: 32px; color: var(--muted); font-size: 13px; }
.source-section { border-top: 1px solid var(--line); background: var(--surface); padding-block: 64px; }
.source-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; align-items: start; }
.source-inner h2 { font-size: 36px; }
.source-inner > p { color: var(--muted); font-size: 16px; }
.source-inner > .button { grid-column: 2; justify-self: start; }
.site-footer { background: var(--ink); color: var(--white); padding-block: 64px 28px; }
.footer-main { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 48px; }
.brand-footer .brand-name > span { color: var(--line); }
.footer-brand p { color: var(--line); font-size: 14px; max-width: 35ch; margin-top: 24px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-content: start; font-size: 14px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.credits { border-top: 1px solid var(--line-dark); padding-top: 24px; color: var(--line); font-size: 12px; }
.credits p { max-width: 120ch; }
.credits p + p { margin-top: 12px; }
.assistant-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 35; width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--ink); color: var(--white); transition: background 200ms ease; }
.assistant-launcher:hover { background: var(--line-dark); }
.assistant-launcher > span:not(.assistant-launch-mark) { display: none; }
.assistant-launch-mark { display: grid; place-items: center; }
.assistant-panel { position: fixed; bottom: 92px; right: 24px; z-index: 35; width: 390px; max-height: min(620px, calc(100dvh - 120px)); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); overflow: hidden; box-shadow: var(--panel-shadow); animation: panel-in 240ms var(--ease); }
[hidden] { display: none !important; }
.assistant-head { display: flex; padding: 22px; border-bottom: 1px solid var(--line); gap: 16px; align-items: start; }
.assistant-head h2 { font-size: 20px; letter-spacing: -.025em; margin-bottom: 8px; }
.assistant-head p { font-size: 12px; color: var(--muted); }
.assistant-close { display: grid; place-items: center; flex-shrink: 0; margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 6px; background: var(--surface); }
.chat-log { min-height: 130px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-bubble { max-width: 94%; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.chat-answer { background: var(--surface); align-self: start; }
.chat-question { background: var(--ink); color: var(--white); align-self: end; }
.prompt-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 16px; }
.prompt-chips button { min-height: 36px; padding: 8px 12px; font-size: 12px; }
.chat-form { display: flex; gap: 8px; margin: 0 20px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; }
.chat-form input { width: 100%; min-width: 0; border: 0; padding: 8px; background: transparent; font-size: 13px; }
.chat-form button { padding: 9px 12px; border: 0; border-radius: 6px; background: var(--ink); color: var(--white); font-size: 12px; }
.assistant-footnote { color: var(--muted); font-size: 11px; padding: 12px 20px 18px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-copy.reveal, .hero-visual.reveal { transition-duration: 700ms; }
.hero-visual.reveal { transition-delay: 100ms; }
.is-switching { animation: content-in 260ms var(--ease); }
@keyframes draw-route { from { stroke-dashoffset: 1100; } to { stroke-dashoffset: 0; } }
@keyframes content-in { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
 .main-nav { gap: 14px; font-size: 13px; }
 .nav-assistant { padding-inline: 12px; font-size: 13px; }
 .hero { gap: 32px; min-height: 650px; }
 .hero h1 { font-size: clamp(52px, 6vw, 72px); }
 .hero-actions { flex-direction: column; align-items: start; }
 .university-note { grid-template-columns: .5fr 1.5fr; }
 .university-note > .content-status { grid-column: 2; }
 .faculty-feature { grid-template-columns: 1fr; gap: 16px; }
 .tour-layout { grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: 28px; }
 .viewer-header { flex-wrap: wrap; }
}
@media (max-width: 860px) {
 .header-inner { min-height: 72px; }
 .site-header.is-scrolled .header-inner { min-height: 68px; }
 .menu-toggle { display: flex; align-items: center; gap: 10px; padding: 12px; margin-right: -12px; border: 0; background: transparent; font-size: 14px; }
 .menu-icon, .menu-icon::after { display: block; width: 20px; height: 1px; background: var(--ink); }
 .menu-icon::after { content: ""; transform: translateY(6px); }
 .menu-icon { transform: translateY(-3px); }
 .main-nav { display: none; position: absolute; left: 0; top: 100%; width: 100%; padding: 20px var(--page-pad) 28px; background: var(--paper); border-bottom: 1px solid var(--line); align-items: stretch; gap: 4px; }
 .main-nav.is-open { display: flex; flex-direction: column; }
 .main-nav a { padding: 12px 0; font-size: 16px; }
 .main-nav a::after { display: none; }
 .main-nav a.is-active { font-weight: 700; }
 .nav-assistant { align-self: start; margin-top: 12px; padding: 14px 20px; }
 .hero { padding-block: 64px; grid-template-columns: 1fr 1fr; min-height: 0; gap: 24px; }
 .hero h1 { font-size: 52px; }
 .hero-label { margin-bottom: 22px; }
 .hero-lead { font-size: 16px; }
 .plot-caption { grid-template-columns: 1fr; gap: 10px; }
 .plot-node { min-width: 66px; padding-inline: 10px; font-size: 12px; }
 .plot-note { font-size: 16px; }
 .route-band-inner { gap: 32px; grid-template-columns: 1fr 1.7fr; }
 .route-band h2 { font-size: 25px; }
 .route-principles { gap: 12px; }
 .route-principles p { padding-left: 16px; }
 .section, .admission-section { padding-block: 80px; }
 .section-intro { gap: 32px; }
 .tour-layout { grid-template-columns: 1fr; }
 .tour-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
 .tour-copy h3, .source-reminder { grid-column: 1 / -1; }
 .life-explorer { grid-template-columns: 1fr 2fr; gap: 24px; }
 .life-result { padding: 32px; }
 .map-section { padding-top: 0; }
 .city-collage-heading { display: grid; grid-template-columns: 1fr 1fr; }
 .career-route { gap: 24px; }
 .career-route h3 { font-size: 22px; }
}
@media (max-width: 600px) {
 :root { --page-pad: 22px; --step-head: 36px; }
 .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 40px; }
 .hero h1 { font-size: clamp(36px, 10.5vw, 44px); max-width: 12ch; }
 .hero-label { margin-bottom: 20px; font-size: 13px; }
 .hero-lead { margin-top: 24px; }
 .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; margin-top: 24px; }
 .button { width: fit-content; font-size: 14px; }
 .hero-actions .button { width: 100%; }
 .hero-caption { font-size: 12px; margin-top: 18px; }
 .coordinate-board { max-width: 440px; margin-inline: auto; border-radius: 12px; }
 .plot-node { min-width: 78px; font-size: 13px; }
 .plot-caption { grid-template-columns: 1fr auto; font-size: 12px; min-height: 60px; }
 .route-band-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
 .route-band h2 { max-width: none; font-size: 26px; }
 .route-principles { gap: 12px; }
 .route-principles p { font-size: 11px; padding-left: 12px; }
 .route-principles strong { font-size: 17px; }
 .section, .admission-section { padding-block: 64px; }
 .section-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
 .section-intro h2 { max-width: 17ch; }
 .section-lead { font-size: 16px; padding: 0; }
 .faculty-grid { grid-template-columns: 1fr; }
 .faculty-feature { padding-block: 24px; }
 .faculty-feature h3 { font-size: 24px; }
 .university-note { grid-template-columns: 1fr; gap: 20px; padding: 24px; margin-top: 24px; }
 .university-note > .content-status { grid-column: auto; }
 .university-symbol { font-size: 32px; }
 .university-note h3 { font-size: 24px; }
 .tour-section { padding-inline: var(--page-pad); }
 .tour-layout { gap: 32px; }
 .viewer-header { padding: 16px; gap: 8px; font-size: 12px; }
 .viewer-stage { min-height: 300px; }
 .viewer-degree { font-size: 64px; }
 .viewer-message p { font-size: 18px; }
 .viewer-message > span:last-child { font-size: 12px; }
 .viewer-footer { padding: 14px; font-size: 11px; gap: 8px; }
 .viewer-track { display: none; }
 .tour-copy { display: block; }
 .life-explorer { grid-template-columns: 1fr; gap: 0; border-bottom: 0; }
 .life-options { flex-direction: row; gap: 4px; padding-block: 16px; overflow-x: auto; }
 .life-option { padding: 12px 10px; min-height: 44px; font-size: 14px; border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
 .life-result { min-height: 300px; padding: 28px; border-radius: 10px; }
 .life-result h3 { font-size: 28px; }
 .life-result p { font-size: 16px; }
 table, tbody, tr, tbody th, td { display: block; width: 100%; }
 thead { display: none; }
 tr { padding: 20px 0; border-top: 1px solid var(--line); }
 th, td { border: 0; padding: 0 0 10px; font-size: 14px; }
 tbody th { font-size: 17px; }
 td:last-child { padding-bottom: 0; }
 .history-track { margin-left: 5px; }
 .history-stop { padding-left: 28px; }
 .history-stop h3 { font-size: 23px; }
 .map-section { padding-top: 0; }
 .map-panel-head { padding: 20px; flex-direction: column; align-items: start; gap: 12px; }
 .map-panel-head h3 { font-size: 25px; }
 .map-filters { padding: 0 20px 20px; gap: 6px; }
 .map-filter { font-size: 12px; padding-inline: 12px; }
 .map-canvas { min-height: 330px; }
 .map-empty { margin: 18px; padding: 20px; }
 .map-note { padding: 16px 20px; font-size: 12px; }
 .map-layout { gap: 40px; }
 .city-collage { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
 .city-collage-heading { grid-template-columns: 1fr; gap: 18px; }
 .city-collage-heading h3 { font-size: 26px; }
 .city-image-large img { aspect-ratio: 1.3; }
 .city-image-map { grid-column: 1 / -1; }
 .city-image-map img { aspect-ratio: 1.5; }
 .city-image:not(.city-image-large):not(.city-image-map) img { aspect-ratio: 1; }
 .city-image figcaption { font-size: 11px; }
 .career-route { grid-template-columns: 1fr; gap: 28px; }
 .career-route h3 { font-size: 25px; }
 .source-section { padding-block: 48px; }
 .source-inner { grid-template-columns: 1fr; gap: 24px; }
 .source-inner h2 { font-size: 32px; }
 .source-inner > .button { grid-column: auto; }
 .site-footer { padding-top: 48px; }
 .footer-main { flex-direction: column; gap: 36px; padding-bottom: 32px; }
 .footer-nav { gap: 16px 24px; }
 .assistant-launcher { right: 18px; bottom: 18px; width: 52px; height: 52px; }
 .assistant-panel { width: calc(100% - 28px); right: 14px; bottom: 82px; max-height: calc(100dvh - 100px); }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-delay: 0ms !important; }
 .reveal { opacity: 1; transform: none; }
}
.assistant-panel.is-closing { opacity: 0; transform: translateY(8px); transition: opacity 180ms ease, transform 180ms ease; }
.career-note + .button { margin-top: 24px; }
.career-callout { display: flex; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 32px; }
.career-callout p { max-width: 55ch; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .career-callout { flex-direction: column; align-items: start; gap: 24px; } }
body.viewer-open { overflow: hidden; }
.tour-viewer.is-expanded { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; width: 100%; height: 100dvh; border-radius: 0; color: var(--white); }
.tour-viewer.is-expanded .viewer-stage { flex: 1; }

@media (max-width: 360px) {
 :root { --page-pad: 20px; }
 .hero h1 { font-size: 36px; }
 .plot-caption { grid-template-columns: 1fr; gap: 10px; }
 .map-filter { padding-inline: 10px; }
 .viewer-footer { flex-wrap: wrap; }
 .source-inner > .button { width: 100%; }
}
.chat-log { min-height: 0; flex: 1 1 auto; max-height: 280px; }
.assistant-head, .prompt-chips, .chat-form, .assistant-footnote { flex-shrink: 0; }

/* Chat: explicit contrast also covers browser autofill and inherited form colours. */
.chat-form { background: var(--paper); transition: border-color 200ms ease, box-shadow 200ms ease; }
.chat-form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.chat-form input { color: var(--ink); -webkit-text-fill-color: var(--ink); caret-color: var(--ink); background: var(--paper); opacity: 1; }
.chat-form input::placeholder { color: var(--muted); -webkit-text-fill-color: var(--muted); opacity: 1; }
.chat-form input:focus-visible { outline: none; }
.chat-form input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 1000px var(--paper) inset; }
.navigation-toast { position: fixed; left: 50%; bottom: 28px; z-index: 45; max-width: min(90vw, 520px); width: max-content; margin: 0; padding: 14px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink); color: var(--white); font-size: 14px; transform: translateX(-50%); box-shadow: var(--panel-shadow); animation: toast-in 260ms var(--ease); pointer-events: none; }
.destination-heading { animation: destination-in 1000ms var(--ease); }
@keyframes toast-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes destination-in { 0% { opacity: .3; translate: 0 10px; } 100% { opacity: 1; translate: 0 0; } }

/* A single visible journey from the faculty to the city. */
.plot-route-base, .plot-route-halo { fill: none; stroke: var(--ink); stroke-linecap: round; }
.plot-route-base { stroke-width: 1; stroke-opacity: .11; }
.plot-route { animation: none; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-width: 2; }
.plot-route-halo { stroke-width: 18; stroke-opacity: .1; stroke-dasharray: 1; stroke-dashoffset: 0; filter: blur(3px); }
.route-ready .plot-route, .route-ready .plot-route-halo { stroke-dashoffset: 1; }
.plot-traveller, .plot-trail { opacity: 0; pointer-events: none; }
.route-playing .plot-traveller, .route-playing .plot-trail { opacity: 1; }
.traveller-glow { fill: var(--ink); opacity: .07; }
.traveller-ring { fill: var(--paper); fill-opacity: .6; stroke: var(--ink); stroke-width: 1; stroke-opacity: .5; }
.traveller-core { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.plot-trail circle { fill: var(--ink); }
.plot-echo { fill: none; stroke: var(--ink); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.plot-echo.is-hit { animation: node-echo 1300ms var(--ease); }
.plot-node { transition: background 250ms ease, color 250ms ease, border-color 250ms ease, box-shadow 350ms ease, translate 250ms ease; }
.plot-node.is-on-route { border-color: var(--ink); box-shadow: 0 0 0 5px rgb(17 17 17 / 5%); translate: 0 -3px; }
.plot-node:hover { translate: 0 -2px; }
.plot-sweep { position: absolute; inset: -30%; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(112deg, transparent 35%, rgb(255 255 255 / 75%) 49%, transparent 63%); transform: translateX(-70%); }
.route-playing .plot-sweep { animation: board-sweep 6.8s ease-in-out both; }
.route-playing .plot-disc { stroke-dasharray: 3 11; transform-box: fill-box; transform-origin: center; animation: orbit-turn 7s ease-out both; }
.route-playing .plot-ring { transform-box: fill-box; transform-origin: center; animation: orbit-breathe 6.8s ease-in-out both; }
.plot-controls { z-index: 2; }
.plot-playback { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 12px; }
.plot-replay { display: inline-flex; gap: 8px; align-items: center; padding: 8px 0 8px 8px; border: 0; background: transparent; font-size: 12px; color: var(--ink); }
.plot-replay .icon { width: 15px; height: 15px; transition: rotate 400ms var(--ease); }
.plot-replay:hover .icon { rotate: -45deg; }
.plot-caption { margin-top: 12px; }
@keyframes board-sweep { 0%, 8% { opacity: 0; transform: translateX(-70%); } 20% { opacity: .7; } 85% { opacity: .7; } 100% { opacity: 0; transform: translateX(70%); } }
@keyframes orbit-turn { from { rotate: -35deg; } to { rotate: 0deg; } }
@keyframes orbit-breathe { 0%, 100% { scale: 1; opacity: .65; } 45% { scale: 1.07; opacity: 1; } }
@keyframes node-echo { 0% { opacity: .7; scale: 1; } 100% { opacity: 0; scale: 4; } }

/* More motion in the page, with each effect tied to an entrance or an action. */
.button, .nav-assistant { transition: translate 220ms var(--ease), background 200ms ease, color 200ms ease, border-color 200ms ease; }
@media (hover: hover) {
 .button:hover, .nav-assistant:hover { translate: 0 -2px; }
 .button:active, .nav-assistant:active { translate: 0 0; }
 .city-image img { transition: scale 650ms var(--ease), filter 650ms ease; }
 .city-image:hover img { scale: 1.018; }
 .faculty-feature h3 { transition: translate 300ms var(--ease); }
 .faculty-feature:hover h3 { translate: 5px 0; }
}
.history-track { --timeline-progress: 0; }
.history-track::before { content: ""; position: absolute; top: 0; left: -1px; width: 1px; height: 100%; background: var(--ink); transform: scaleY(var(--timeline-progress)); transform-origin: top; transition: transform 180ms linear; }
.history-stop { opacity: .35; translate: 0 14px; transition: opacity 650ms var(--ease), translate 650ms var(--ease); }
.history-stop.is-in-view { opacity: 1; translate: 0 0; }
.history-stop.is-in-view .history-point { animation: history-point-in 700ms var(--ease); }
@keyframes history-point-in { from { box-shadow: 0 0 0 12px var(--surface); } to { box-shadow: 0 0 0 6px var(--paper); } }
.site-header { animation: header-in 650ms var(--ease) both; }
@keyframes header-in { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }
.chat-bubble { animation: message-in 250ms var(--ease); }
@keyframes message-in { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 600px) { .navigation-toast { bottom: 84px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) {
 .plot-traveller, .plot-trail, .plot-sweep { display: none; }
 .plot-route, .plot-route-halo { stroke-dashoffset: 0 !important; }
 .history-stop { opacity: 1; translate: none; }
 .history-track::before { transform: scaleY(1); }
 .plot-node, .button, .nav-assistant, .faculty-feature h3, .city-image img { translate: none !important; scale: 1 !important; }
}
.route-paused .plot-sweep, .route-paused .plot-disc, .route-paused .plot-ring { animation-play-state: paused; }
.hero-copy.is-visible > * { animation: hero-part-in 700ms var(--ease) both; }
.hero-copy.is-visible > :nth-child(2) { animation-delay: 70ms; }
.hero-copy.is-visible > :nth-child(3) { animation-delay: 150ms; }
.hero-copy.is-visible > :nth-child(4) { animation-delay: 230ms; }
.hero-copy.is-visible > :nth-child(5) { animation-delay: 300ms; }
@keyframes hero-part-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.main-nav.is-open { animation: menu-in 240ms var(--ease); }
@keyframes menu-in { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.menu-icon, .menu-icon::after { transition: transform 220ms var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .hero-copy.is-visible > * { animation: none; } }
.coordinate-board { --signal-x: 16%; --signal-y: 68%; }
.coordinate-board::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle 110px at var(--signal-x) var(--signal-y), rgb(255 255 255 / 95%), transparent); transition: opacity 500ms ease; }
.coordinate-board.route-playing::before { opacity: 1; }
html:not(.js) .history-stop { opacity: 1; translate: none; }

/* Official content follows the existing editorial layout. */
.fact-block { margin-top: 52px; }
.fact-block > h3, .admission-inner > h3, .news-list > h3 { font-size: 28px; margin-bottom: 18px; }
.fact-block > p, .admission-inner > p { max-width: 70ch; margin-bottom: 20px; }
.fact-source { margin-top: 18px; font-size: 12px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.fact-source a { text-underline-offset: 3px; }
.small-copy { color: var(--muted); font-size: 13px; line-height: 1.8; }
.faculty-feature p + p { margin-top: 14px; }
.text-link { display: inline-block; margin-top: 18px; }
.facts-table-wrap { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.facts-table-wrap table { width: 100%; margin: 0; min-width: 0; font-variant-numeric: tabular-nums; }
.facts-table-wrap caption { text-align: left; padding: 16px 20px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.facts-table-wrap th, .facts-table-wrap td { padding: 18px 20px; white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.facts-table-wrap thead th { background: var(--surface-light); color: var(--ink); font-size: 13px; }
.facts-table-wrap tbody th { font-weight: 500; }
.facts-table-wrap tbody tr:last-child > * { border-bottom: 0; }
.contact-strip { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 30px 0; margin-top: 32px; border-block: 1px solid var(--line); }
.contact-strip h3 { font-size: 26px; margin-bottom: 16px; }
.contact-strip > div > a { display: block; margin: 8px 0; width: fit-content; overflow-wrap: anywhere; }
.contact-strip p { max-width: 60ch; }
.university-note .fact-source { margin-bottom: 0; }
.fact-details { border-bottom: 1px solid var(--line); padding: 0; margin: 0; }
.fact-details summary { padding: 23px 4px; cursor: pointer; font-size: 18px; font-weight: 500; }
.details-body { padding: 0 4px 25px; max-width: 78ch; }
.details-body > p + p { margin-top: 16px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.resource-links a { font-size: 14px; text-underline-offset: 5px; padding-block: 6px; }
.news-list { margin-top: 52px; }
.news-list article { display: grid; grid-template-columns: 180px 1fr; gap: 14px 36px; border-top: 1px solid var(--line); padding: 28px 0; }
.news-list time { font-size: 12px; color: var(--muted); }
.news-list h4 { font-size: 23px; font-weight: 500; }
.news-list article > p { grid-column: 2; max-width: 65ch; color: var(--muted); }
.archive-notice { background: var(--paper); border: 1px solid var(--ink); padding: 28px; border-radius: 12px; margin-bottom: 40px; }
.archive-notice strong { display: block; font-size: 22px; margin-bottom: 12px; }
.archive-notice p { max-width: 65ch; margin-bottom: 16px; }
.place-results { padding: 0 24px; min-height: 300px; }
.place-row { padding: 24px 0; border-top: 1px solid var(--line); }
.place-row h4 { font-size: 21px; font-weight: 500; margin-bottom: 10px; }
.place-row p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.place-row a { font-size: 14px; }
.map-panel > .fact-source { padding: 0 24px 24px; }
.career-callout > div { max-width: 65ch; }
.career-callout h3 { font-size: 26px; margin-bottom: 18px; }
.career-callout .button { flex-shrink: 0; }
.source-section .section-lead { font-size: 17px; }
.source-section .section-intro { margin-bottom: 10px; }
.footer-nav { flex-wrap: wrap; }
#people, #contacts, #scholarships, #exams, #housing { scroll-margin-top: 110px; }
@media (max-width: 600px) {
 .facts-table-wrap th, .facts-table-wrap td { padding: 14px 10px; font-size: 12px; }
 .facts-table-wrap caption { padding: 14px 10px; }
 .contact-strip { grid-template-columns: 1fr; gap: 12px; }
 .fact-block { margin-top: 36px; }
 .fact-block > h3, .admission-inner > h3 { font-size: 24px; }
 .news-list article { grid-template-columns: 1fr; gap: 12px; }
 .news-list article > p { grid-column: auto; }
 .archive-notice { padding: 22px; }
 .fact-details summary { font-size: 16px; }
 .resource-links { gap: 8px 22px; }
}
