:root {
  color-scheme: light;
  --ink: #183433;
  --petrol: #0d3337;
  --muted: #526762;
  --mint: #bfebd8;
  --gold: #f4ca75;
  --paper: #fbfaf4;
  --line: #d9e2d7;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #21705e; outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - 88px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.header { background: #fffefa; border-bottom: 1px solid #edf0e8; }
.header-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 23px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; }
.brand-mark { width: 43px; height: 43px; }
.brand strong { display: block; font-size: 20px; font-weight: 760; letter-spacing: -.04em; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; color: #407461; font-size: 8.5px; font-weight: 800; letter-spacing: .16em; }
.header nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(17px, 2.2vw, 34px); font-size: 14px; font-weight: 640; }
.header nav .current { color: #276551; box-shadow: 0 2px #82b7a4; }
.portal-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px; background: #f1f5ef; font-weight: 650; font-size: 12px; }
.portal-link .icon { width: 14px; height: 14px; }

.hero {
  color: #fffaf0;
  background:
    repeating-linear-gradient(90deg, transparent 0 67px, #c9e6dd09 67px 68px),
    radial-gradient(ellipse at 63% 100%, #235052, transparent 75%), var(--petrol);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(30px, 5vw, 69px); align-items: center; padding-block: 39px 68px; }
.eyebrow { color: #27624f; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .19em; }
.hero .eyebrow { display: flex; align-items: center; gap: 11px; color: var(--gold); }
.hero .eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.062em; line-height: 1.03; }
h1 { margin-block: 16px 20px; font-size: clamp(48px, 5.8vw, 86px); }
h1 em { color: var(--mint); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 455px; color: #daebe4; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.62; }
.city-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 20px; color: #cfe7de; font-size: 12px; font-weight: 650; }
.city-links span + span { padding: 3px 9px; border: 1px solid #a7d5c657; border-radius: 99px; color: #eff9f4; }
.map { position: relative; isolation: isolate; aspect-ratio: 720 / 540; overflow: hidden; border: 1px solid #a4d9c858; border-radius: 14px; background: #123c3f; box-shadow: 0 14px 30px #071f2469; }
.map img { display: block; width: 100%; height: 100%; object-fit: contain; }
.map figcaption { position: absolute; bottom: 13px; right: 13px; display: flex; align-items: center; gap: 8px; border: 1px solid #e4d398; border-radius: 7px; padding: 8px 10px; color: #163b39; background: #f8e4ae; font-size: 13px; }
.map figcaption .icon { width: 16px; height: 16px; }

.search-wrap { position: relative; margin-top: -40px; }
.search-dock { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; align-items: center; gap: 0; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 28px #173c3c1c; }
.search-cell { min-width: 0; min-height: 54px; padding: 6px 14px; }
.search-cell + .search-cell { border-left: 1px solid var(--line); }
.search-cell label { display: block; color: var(--ink); font-size: 12px; font-weight: 750; }
.search-cell span { display: flex; align-items: center; gap: 7px; min-height: 22px; margin-top: 3px; color: var(--muted); font-size: 14px; }
.search-cell .icon { width: 16px; height: 16px; color: #3a7867; }
.search-cell .down { margin-left: auto; }
.search-button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 8px 19px; border-radius: 7px; background: var(--gold); color: #233630; font-size: 14px; font-weight: 750; }

.section { padding-top: 39px; }
h2 { margin-block: 6px 8px; font-size: clamp(35px, 3.35vw, 49px); }
.section-copy { color: var(--muted); }
.level-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.level { position: relative; display: grid; align-content: start; gap: 11px; min-height: 113px; padding: 13px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fffefa; }
.level-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 7px; color: #246453; background: #e0f2e8; }
.level:nth-child(3n + 1) .level-icon { color: #704f1e; background: #f8ecc9; }
.level h3 { padding-right: 4px; font-size: 15px; font-weight: 760; line-height: 1.25; }
.level .more { position: absolute; top: 16px; right: 11px; width: 16px; height: 16px; color: #2d6d5a; }

.schools { padding-block: 39px 46px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.section-link { display: inline-flex; align-items: center; gap: 7px; color: #286751; font-size: 13px; font-weight: 750; }
.section-heading .section-link { margin-bottom: 8px; }
.section-link .icon { width: 15px; height: 15px; }
.school-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 11px; }
.school-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.school-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.card-copy { display: flex; flex: 1; flex-direction: column; padding: 13px 15px 14px; }
.place { display: flex; align-items: center; gap: 5px; color: #286751; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.place .icon { width: 14px; height: 14px; }
.card-copy h3 { margin-block: 6px 13px; font-size: 18px; letter-spacing: -.022em; line-height: 1.2; }
.card-copy .section-link { margin-top: auto; }
.footer { border-top: 1px solid var(--line); background: #edf4eb; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 15px; padding-block: 16px; color: var(--muted); font-size: 12px; }
.footer-inner div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; }
.footer-inner strong { color: var(--ink); font-size: 14px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 4px; }
.footer-inner .icon { width: 14px; height: 14px; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 48px); }
  .header nav { gap: 13px; font-size: 13px; }
  .level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; gap: 10px; }
  .header nav { display: none; }
  .brand { gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 8px; }
  .portal-link { padding: 5px 7px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 27px 49px; }
  h1 { margin-block: 11px 13px; font-size: clamp(38px, 12vw, 66px); }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .city-links { margin-top: 12px; font-size: 11px; }
  .map { border-radius: 11px; }
  .map figcaption { right: 8px; bottom: 8px; padding: 5px 7px; gap: 5px; font-size: 11px; }
  .map figcaption .icon { width: 14px; height: 14px; }
  .search-wrap { margin-top: -30px; }
  .search-dock { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 7px; }
  .search-cell { padding: 6px 7px; }
  .search-cell:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .search-cell:nth-child(2) { border-left: 0; }
  .search-cell span { font-size: 12px; }
  .search-button { grid-column: 1 / -1; min-height: 43px; }
  .section { padding-top: 27px; }
  .section-copy { font-size: 14px; }
  .level-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
  .level { min-height: 90px; gap: 7px; padding: 9px; }
  .level h3 { font-size: 14px; }
  .level .more { top: 11px; right: 9px; }
  .schools { padding-bottom: 29px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 0; }
  .section-heading .section-link { margin-bottom: 0; }
  .school-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .card-copy h3 { font-size: 17px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; }
  .footer-inner > span { grid-row: 2; grid-column: 1 / -1; font-size: 10px; }
}

@media (max-width: 350px) {
  .wrap { width: calc(100% - 24px); }
  .header .portal-link { display: none; }
}
