:root {
  color-scheme: light;
  --ink: #142a28;
  --muted: #465c58;
  --teal: #0b554d;
  --dark: #123b36;
  --wash: #f5f7f2;
  --line: #d7e1da;
  font-family: "Instrument Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--wash);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: var(--teal); }
a:focus-visible, summary:focus-visible { outline: 3px solid #ca7623; outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: 12px; left: 12px; transform: translateY(-200%); padding: 8px 16px; background: white; }
.skip-link:focus { transform: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.header-inner { min-height: 70px; }
.brand img { object-fit: contain; object-position: left; }
.back-link, .footer-inner a { font-size: .91rem; font-weight: 700; text-underline-offset: .24em; }
.intro { background: var(--dark); color: #fff; }
.intro-inner { display: grid; grid-template-columns: 1fr .97fr; align-items: stretch; min-height: 438px; }
.intro-copy { align-self: center; padding: 52px 36px 52px 0; }
.school-names { color: #bfe0cb; font-weight: 650; letter-spacing: .02em; line-height: 1.35; }
.intro h1 { font-size: clamp(2rem, 4.4vw, 3.85rem); letter-spacing: -.04em; line-height: 1.14; margin-block: 18px 17px; }
.intro-copy > p:last-of-type { color: #e5f1e9; max-width: 35ch; }
.intro-photo { position: relative; overflow: hidden; background: #23574d; }
.intro-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 47px; padding: 10px 16px; border-radius: 8px; text-align: center; text-decoration: none; font-weight: 730; }
.intro-button { margin-top: 24px; background: #ddf0dd; color: #173e34; }
.intro-button:hover { background: #f3faf1; }
.pathways { padding-block: 54px 42px; scroll-margin-top: 20px; }
.section-intro { max-width: 730px; margin-bottom: 22px; }
.section-intro h2, .school-guide h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1.2; margin-bottom: 9px; }
.section-intro p, .school-guide p { color: var(--muted); }
.pathway-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.pathway { min-height: 480px; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; scroll-margin-top: 18px; }
.school-logo { object-fit: contain; object-position: left center; }
.pathway h3 { font-size: clamp(1.14rem, 1.9vw, 1.45rem); line-height: 1.3; }
.pathway-description { color: var(--muted); font-size: .94rem; min-height: 3.2em; }
.program-list { display: grid; align-content: start; gap: 8px; min-height: 126px; padding: 0; margin: 0; list-style: none; }
.program-list li { display: grid; gap: 1px; padding-left: 10px; border-left: 2px solid #a3c9b7; font-size: .88rem; line-height: 1.5; }
.program-list span { color: var(--muted); }
.film .program-list li { border-color: #c96461; }
.pathway details { border-block: 1px solid var(--line); padding-block: 10px; font-size: .88rem; }
.pathway summary { color: var(--teal); font-weight: 740; cursor: pointer; }
.checklist { margin: 9px 0; padding-left: 1.3rem; }
.checklist li + li { margin-top: 5px; }
.pathway-actions { display: grid; gap: 8px; margin-top: auto; }
.primary { background: var(--teal); color: white; }
.primary:hover { background: #0b443e; }
.school-guide { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 54px; background: #e8f0e8; }
.school-guide > img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
.school-guide > div { align-self: center; padding: clamp(22px, 4vw, 46px); }
.guide-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: .9rem; font-weight: 690; }
.guide-links a { text-underline-offset: .22em; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 72px; color: var(--muted); font-size: .9rem; }

@media (max-width: 1060px) {
  .pathway-grid { gap: 12px; }
  .pathway { padding: 17px; }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 40px); }
  .intro-inner { min-height: 370px; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway { min-height: 0; padding: 22px; }
  .pathway-description, .program-list { min-height: 0; }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 58px; }
  .intro-inner { grid-template-columns: 1fr; min-height: 0; }
  .intro-copy { padding: 32px 0 25px; }
  .intro-photo { aspect-ratio: 2 / 1; margin-bottom: 16px; border-radius: 8px; }
  .title-break { display: none; }
  .pathways { padding-block: 34px 28px; }
  .pathway-actions, .school-guide { grid-template-columns: 1fr; }
  .pathway-actions { justify-items: stretch; }
  .school-guide > img { max-height: 180px; }
  .school-guide { margin-bottom: 34px; }
}
