:root {
  --ink: #17202a;
  --muted: #596579;
  --line: #d9e0e8;
  --paper: #fbf6ef;
  --brand: #234c6a;
  --accent: #c9d8b6;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Baskerville, Georgia, serif;
  line-height: 1.55;
}
a { color: var(--brand); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 240px; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 800; }
.brand small { display: block; color: var(--muted); }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 20px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 650; }
main section { padding: 46px clamp(18px, 5vw, 72px); }
.hero { min-height: 72vh; display: grid; align-items: end; padding: 0; position: relative; overflow: hidden; background: var(--brand); }
.hero img { width: 100%; height: 72vh; object-fit: cover; display: block; opacity: 0.88; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.12) 62%, transparent); }
.hero-copy { position: absolute; left: clamp(18px, 6vw, 80px); bottom: clamp(24px, 8vw, 86px); z-index: 1; max-width: 760px; color: var(--white); }
.hero-copy h1 { margin: 0; font-size: clamp(42px, 8vw, 84px); line-height: 0.98; letter-spacing: 0; }
.hero-copy p { font-size: 20px; max-width: 680px; }
.eyebrow { color: var(--brand); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.hero .eyebrow { color: var(--accent); }
.hero-actions, .location-grid, .card-grid, .faculty-grid, .policy-list, .level-grid { display: grid; gap: 16px; }
.hero-actions { grid-template-columns: repeat(2, max-content); align-items: center; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 6px; color: inherit; text-decoration: none; font-weight: 800; }
.button.primary { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.page-title { max-width: 980px; padding-top: 68px; padding-bottom: 28px; }
.page-title h1, section h2 { line-height: 1.08; letter-spacing: 0; }
.page-title h1 { font-size: clamp(36px, 6vw, 68px); margin: 0 0 16px; }
.page-title p { font-size: 19px; }
.facts, .band, .program-summary { background: rgba(255,255,255,0.62); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0; }
.fact-grid div { padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
dt { color: var(--muted); font-weight: 750; }
dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.notice { padding: 22px; background: var(--brand); color: var(--white); border-radius: 8px; }
.notice .eyebrow, .notice a { color: var(--accent); }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.level-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card, .program-summary { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.card.wide { margin-bottom: 22px; }
.card h2, .card h3, .program-summary h2 { margin-top: 0; }
.details div { margin-bottom: 14px; }
.feature-image { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--brand); background: color-mix(in srgb, var(--accent) 22%, white); }
tr:last-child td { border-bottom: 0; }
.faculty-grid, .location-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.portrait { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 14px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: white; font-weight: 900; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px clamp(18px, 5vw, 72px); color: var(--white); background: #111820; }
.site-footer a { color: var(--accent); }
.fineprint { color: #cbd5e1; }
.harbor-lede, .desert-grid, .classic-marquee, .lab-hero, .route-hero, .academy-home, .urban-hero, .festival-hero, .alpine-hero {
  min-height: 68vh;
}
.harbor-lede { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: end; background: var(--white); }
.harbor-lede h1, .classic-marquee h1, .academy-home h1 { font-size: clamp(48px, 9vw, 102px); line-height: 0.98; margin: 0 0 18px; }
.harbor-lede img { width: 100%; height: 58vh; object-fit: cover; border: 1px solid var(--line); }
.harbor-tide { background: color-mix(in srgb, var(--brand) 10%, white); }
.desert-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr); gap: 24px; align-items: stretch; background: color-mix(in srgb, var(--accent) 15%, var(--paper)); }
.desert-grid img { grid-column: 1 / -1; width: 100%; height: 260px; object-fit: cover; border: 1px solid var(--brand); }
.desert-title, .desert-card { background: rgba(255,255,255,0.74); border: 1px solid var(--line); padding: 28px; }
.desert-title h1, .lab-hero h1, .route-hero h1, .urban-hero h1, .festival-hero h1, .alpine-hero h1 { font-size: clamp(44px, 8vw, 92px); line-height: 1; margin: 0 0 18px; }
.classic-marquee { display: grid; align-content: center; justify-items: center; text-align: center; background: #fbfaf7; border-bottom: 8px double var(--brand); }
.classic-marquee p { max-width: 760px; }
.lab-hero { display: grid; align-content: end; background: var(--brand); color: white; }
.lab-hero .eyebrow, .lab-hero a { color: var(--accent); }
.lab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lab-actions a, .route-list a, .festival-strip a, .level-strip a { display: grid; gap: 4px; padding: 14px; background: var(--white); color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 8px; }
.lab-board { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; background: #111820; }
.lab-card { color: white; background: color-mix(in srgb, var(--brand) 70%, black); border-color: color-mix(in srgb, var(--accent) 35%, var(--brand)); }
.lab-card-1 { grid-row: span 2; }
.route-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; background: color-mix(in srgb, var(--brand) 12%, white); }
.route-list, .festival-strip, .level-strip { display: grid; gap: 10px; }
.route-list a { border-left: 8px solid var(--accent); }
.academy-home { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr); gap: 38px; align-items: center; background: var(--white); }
.academy-home img { width: 100%; max-height: 520px; object-fit: cover; border: 1px solid var(--line); }
.academy-directory { background: color-mix(in srgb, var(--accent) 16%, white); }
.urban-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: stretch; background: #16151f; color: white; }
.urban-hero .eyebrow { color: var(--accent); }
.urban-access { display: grid; place-items: center; text-align: center; background: var(--accent); color: #111820; text-decoration: none; font-size: 28px; font-weight: 900; padding: 24px; border-radius: 8px; }
.urban-access span { font-size: 16px; }
.urban-modules { display: grid; grid-template-columns: 1.5fr 0.65fr; gap: 18px; }
.festival-hero { display: grid; align-content: end; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 26%, white), var(--paper)); }
.festival-strip { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 26px; }
.festival-strip a { border-bottom: 6px solid var(--accent); }
.alpine-hero { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr); gap: 26px; align-items: center; background: color-mix(in srgb, var(--brand) 8%, white); }
.home-alpine .alpine-hero h1 { font-size: clamp(40px, 6vw, 78px); }
.alpine-hero img { width: 100%; height: 58vh; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.alpine-routes { background: #eef8f6; }
.level-strip { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 16px 0 26px; }
.home-harbor .site-header { position: static; display: grid; justify-items: center; text-align: center; }
.home-desert .site-header { background: color-mix(in srgb, var(--accent) 28%, white); }
.home-classic .site-header { border-top: 6px solid var(--brand); position: static; }
.home-lab .site-header { background: #111820; }
.home-lab .site-header a, .home-lab .brand { color: white; }
.home-route .site-header { background: #f7f2df; }
.home-academy .site-header { position: static; background: white; }
.home-urban .site-header { background: #111820; }
.home-urban .site-header a, .home-urban .brand { color: white; }
.home-festival .site-header { background: color-mix(in srgb, var(--accent) 18%, white); }
.home-alpine .site-header { background: #f6fbfb; }
@media (max-width: 820px) {
  .site-header, .site-footer, .split, .harbor-lede, .desert-grid, .route-hero, .academy-home, .urban-hero, .urban-modules, .alpine-hero, .lab-board { grid-template-columns: 1fr; display: grid; }
  nav { justify-content: start; }
  .brand { min-width: 0; }
  .hero img { height: 76vh; }
  .hero-copy h1 { font-size: 42px; }
  .hero-copy p { font-size: 17px; }
  .hero-actions { grid-template-columns: 1fr; width: min(100%, 320px); }
  table { display: block; overflow-x: auto; white-space: nowrap; }
}