@font-face {
  font-family: Public Sans;
  src: url("assets/fonts/public-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Source Serif 4;
  src: url("assets/fonts/source-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 650;
  font-display: swap;
}

@font-face {
  font-family: Source Serif 4;
  src: url("assets/fonts/source-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --green: #104936;
  --green-deep: #0b3327;
  --green-dark: #0a2b20;
  --green-ink: #174d3b;
  --green-soft: #eaf0e9;
  --gold: #efca6a;
  --gold-hover: #ffdc82;
  --white: #fff;
  --paper: #f7f7f1;
  --ink: #182a22;
  --muted: #4c6056;
  --line: #d6ded5;
  --on-green: #e1ece4;
  --focus: #996000;
  --sans: "Public Sans", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --max-width: 1200px;
  --gutter: clamp(18px, 4.5vw, 52px);
  --section: clamp(48px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: #6a8a76 var(--paper); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: 0.23em; }
button, input, select { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--green-dark); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
main:focus, h1:focus { outline: none; }

h1, h2, h3 {
  color: var(--green-deep);
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.65rem, 5.2vw, 4.65rem); }
h2 { font-size: clamp(2rem, 3.55vw, 3.15rem); }
h3 { font-size: clamp(1.32rem, 2.1vw, 1.85rem); }
p { max-width: 68ch; }
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: middle; }

.wrap { width: min(var(--max-width), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); }
.soft { background: var(--green-soft); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 5;
  padding: 12px 18px;
  background: var(--white);
  color: var(--green-deep);
}
.small-note { font-size: 0.88rem; color: var(--muted); }

.utility { padding: 8px var(--gutter); background: var(--green-dark); color: var(--on-green); font-size: 0.79rem; }
.utility-inner { width: min(var(--max-width), 100%); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.utility-motto { font: italic 1rem var(--serif); color: #f5d78c; }
.utility-links { display: flex; align-items: center; gap: clamp(13px, 2.3vw, 32px); }
.utility-links a, .utility-links button {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0;
  background: none;
  border: 0;
  text-decoration: none;
  color: inherit;
  font-weight: 560;
}
.utility-links a:hover, .utility-links button:hover { text-decoration: underline; color: var(--white); }
.utility-links .icon { margin-left: 2px; width: 1.1em; }

.masthead { background: var(--white); }
.nav-wrap { min-height: 94px; display: flex; align-items: center; gap: clamp(10px, 2.5vw, 32px); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand img { flex: 0 0 auto; width: 60px; height: 60px; object-fit: contain; }
.brand > span { font: 620 clamp(1.05rem, 1.75vw, 1.47rem)/1.05 var(--serif); letter-spacing: -0.025em; }
.brand-location { display: block; margin-top: 4px; font: 690 0.7rem/1 var(--sans); letter-spacing: 0.20em; text-transform: uppercase; }
#navigation { display: flex; align-items: center; gap: clamp(12px, 2.1vw, 29px); margin-left: auto; }
#navigation a {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 660;
  white-space: nowrap;
}
#navigation a:hover, #navigation a[aria-current] { color: var(--green); }
#navigation a[aria-current]::after, #navigation a:hover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: #ab7b21;
}
.nav-actions { display: flex; gap: 4px; }
.icon-button {
  display: inline-grid;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  color: var(--green);
  background: var(--white);
}
.icon-button:hover { background-color: var(--green-soft); border-color: #88a594; }
.icon-button .icon { width: 21px; height: 21px; }
.menu-toggle, #navigation .mobile-nav-link { display: none; }

.text-link, .button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  font-weight: 700;
}
.text-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green-ink);
  text-decoration-line: underline;
  text-decoration-color: #8ca497;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.23em;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link .icon { width: 1.05em; }
.button {
  min-height: 49px;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  font-size: 0.925rem;
  line-height: 1.35;
}
.button.gold { background: var(--gold); color: var(--green-dark); }
.button.gold:hover { background: var(--gold-hover); }
.button.outline { background: transparent; border-color: #abc4b6; color: var(--white); }
.button.outline:hover { background: var(--white); color: var(--green-deep); }
.button.green { background: var(--green); color: var(--white); }
.button.green:hover { background: var(--green-dark); }
.button.light { border-color: #91aa9b; color: var(--green-deep); background: var(--white); }
.button.light:hover { background: var(--green-soft); }

.hero { background: var(--green); color: var(--white); border-bottom: 4px solid var(--gold); }
.hero-inner { display: grid; grid-template-columns: minmax(0, calc(50% - 41px)) minmax(0, 1fr); }
.hero-copy {
  align-self: center;
  container-type: inline-size;
  padding: clamp(42px, 5.5vw, 84px) clamp(18px, 2.65vw, 42px) clamp(46px, 5.8vw, 88px)
    max(var(--gutter), (100vw - var(--max-width)) / 2);
}
.hero-copy h1 { color: var(--white); font-size: clamp(2.1rem, 12.2cqi, 4.45rem); text-wrap: initial; }
.hero-copy p { max-width: 35ch; margin: 22px 0 29px; color: var(--on-green); font-size: clamp(1rem, 1.4vw, 1.16rem); }
.hero-photo { min-height: 510px; position: relative; background: #709589; }
.hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; }
.hero-photo figcaption {
  position: absolute;
  bottom: 0;
  right: max(var(--gutter), (100vw - var(--max-width)) / 2);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}
.hero-photo figcaption .icon { width: 23px; height: 23px; color: var(--gold); }
.hero-photo figcaption small { color: var(--on-green); font-size: 0.73rem; font-weight: 500; }
.hero :focus-visible, .utility :focus-visible, .site-footer :focus-visible, .next-step :focus-visible { outline-color: var(--gold-hover); }

.quick-links { background: var(--paper); border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick-grid > :is(a, button) {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 94px;
  align-items: center;
  gap: clamp(7px, 1.2vw, 14px);
  padding: 14px clamp(8px, 1.6vw, 26px);
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--green-deep);
  text-align: left;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 730;
  line-height: 1.35;
}
.quick-grid > :last-child { border-right: 1px solid var(--line); }
.quick-grid > :hover { background: var(--green-soft); }
.quick-grid > :focus-visible { outline-offset: -4px; }
.quick-grid > :is(a, button) > .icon:first-child { width: 26px; height: 26px; color: var(--green-ink); }
.quick-grid > :is(a, button) > .icon:last-child { width: 17px; height: 17px; }
.quick-grid small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.78rem; font-weight: 500; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 26px; margin-bottom: 30px; }
.section-head p { margin-top: 9px; color: var(--muted); }
.section-head > .text-link { flex: 0 0 auto; min-height: 38px; }
.academic-explorer { border: 1px solid var(--line); }
.academic-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-bottom: 1px solid var(--line); }
.academic-tabs button {
  min-height: 53px;
  padding: 10px 14px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--green-deep);
  font-weight: 700;
  line-height: 1.3;
}
.academic-tabs button:last-child { border-right: 0; }
.academic-tabs button:hover { background: var(--green-soft); }
.academic-tabs button[aria-selected="true"] { background: var(--green); color: var(--white); box-shadow: inset 0 -3px var(--gold); }
.academic-tabs button:focus-visible { outline-offset: -6px; }
.academic-tabs button[aria-selected="true"]:focus-visible { outline-color: var(--gold); }
.academic-panel { min-height: 290px; display: grid; grid-template-columns: 0.7fr 1fr; }
.academic-panel > div { padding: clamp(24px, 4.6vw, 52px); background: var(--green-soft); }
.academic-panel h3 { font-size: clamp(1.7rem, 2.9vw, 2.35rem); }
.academic-panel p { max-width: 34ch; margin: 10px 0 16px; color: var(--muted); }
.academic-panel .link-list { padding: 10px clamp(18px, 3.5vw, 40px); align-self: center; }
.academic-panel .link-list li:last-child { border: 0; }

.identity-section { background: var(--paper); }
.identity-grid, .split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 6.2vw, 88px); }
.identity-grid { align-items: center; }
.identity-photo img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.identity-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 0.8rem; }
.identity-copy .motto { margin: 16px 0 8px; color: var(--green-ink); font: 400 italic clamp(1.4rem, 2.35vw, 2.05rem)/1.2 var(--serif); }
.identity-copy p:not(.motto) { margin: 0 0 18px; color: var(--muted); }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px clamp(20px, 3.2vw, 38px); }
.news-card { min-width: 0; border-bottom: 1px solid var(--line); }
.news-card > img { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; object-position: center 38%; background: var(--paper); }
.news-card > img[src*="boston"] { object-position: center 23%; }
.news-content { padding: 20px 0 24px; }
.story-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 10px; font-size: 0.8rem; color: var(--muted); }
.story-meta span { color: var(--green-ink); font-weight: 750; }
.news-card h3 { font-size: clamp(1.25rem, 2.25vw, 1.77rem); text-wrap: initial; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.news-card p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }

.next-step { background: var(--green); color: var(--on-green); }
.next-step-inner { display: flex; align-items: center; justify-content: space-between; gap: 23px; padding-block: clamp(35px, 5vw, 66px); }
.next-step h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); }
.next-step p { margin-top: 6px; }
.next-step .button { flex: 0 0 auto; }

.site-footer { background: var(--green-dark); color: var(--on-green); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.85fr 0.85fr 1fr; gap: 30px; padding-block: 56px 42px; }
.footer-identity .brand { margin-bottom: 14px; color: var(--white); }
.footer-identity .brand-location { color: var(--gold); }
.footer-identity :is(p, address) { font-size: 0.88rem; }
.footer-identity p { max-width: 26ch; margin-bottom: 10px; }
.footer-grid h2 { margin: 5px 0 14px; font: 750 0.95rem var(--sans); color: var(--white); letter-spacing: 0; text-wrap: initial; }
.footer-grid :is(nav, div:not(.footer-identity)) > :is(a, button), .footer-bottom :is(a, button) {
  display: block;
  max-width: fit-content;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  font-size: 0.845rem;
  overflow-wrap: anywhere;
}
.footer-grid :is(a, button):hover, .footer-bottom :is(a, button):hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 18px; padding-block: 15px; border-top: 1px solid #466759; }
.footer-bottom :is(a, button) { font-size: 0.78rem; }

.page-top { background: var(--green); border-bottom: 4px solid var(--gold); color: var(--on-green); padding-block: 24px clamp(38px, 5.4vw, 76px); }
.page-top h1 { max-width: 22ch; color: var(--white); font-size: clamp(2.5rem, 5.3vw, 4.5rem); text-wrap: initial; overflow-wrap: anywhere; }
.page-top > .wrap > p { margin-top: 14px; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.page-top :focus-visible { outline-color: var(--gold); }
.breadcrumb { margin-bottom: 34px; font-size: 0.82rem; }
.breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #c6dacd; }
.breadcrumb li[aria-current] { color: var(--white); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); gap: clamp(26px, 7vw, 100px); }
.content-grid > :is(h2, .prose, div) { min-width: 0; }
.content-grid > .panel { align-self: start; }
.prose h2 { margin-bottom: 13px; }
.prose p { margin: 0 0 14px; color: var(--muted); }
.prose > p:last-child { margin-bottom: 0; }
.prose p + h2 { margin-top: 36px; }
.prose .actions { margin-top: 21px; }
.panel { background: var(--green-soft); padding: clamp(20px, 3.5vw, 34px); }
.panel > h2 { font-size: clamp(1.65rem, 2.55vw, 2.3rem); }
.panel > p { margin: 10px 0 14px; color: var(--muted); }
.panel > .button:not(:first-child) { margin-top: 10px; }
.panel > .text-link + .button { display: flex; width: fit-content; margin-top: 22px; }
.motto-panel { border-top: 3px solid #aa791f; }
.motto-panel h2 { font-style: italic; font-weight: 400; }
.motto-panel p:last-child { margin-bottom: 0; }
.resource-groups { display: grid; gap: 38px; }
.resource-groups h2, .split-grid h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 12px; }

.link-list, .catalog { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 4px;
  color: var(--green-deep);
  text-decoration: none;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.link-list a:hover { background: color-mix(in srgb, var(--green-soft) 54%, transparent); }
.link-list a:hover strong { text-decoration: underline; }
.link-list strong { font-weight: 680; }
.link-list small { display: block; margin-top: 5px; color: var(--muted); font-size: 0.84rem; line-height: 1.5; }
.link-list .icon { color: var(--green-ink); }
.soft .link-list a:hover { background: #e0e9e0; }

.filters {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr;
  align-items: end;
  gap: 16px;
  padding: clamp(14px, 2.5vw, 27px);
  background: var(--green-soft);
}
.filters > div { min-width: 0; }
.filters label { display: block; margin-bottom: 6px; font-size: 0.87rem; font-weight: 700; }
input[type="search"], select {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 8px 12px;
  border: 1px solid #94aa9c;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  caret-color: var(--green);
}
select { text-overflow: ellipsis; }
input[type="search"]::placeholder { color: var(--muted); opacity: 1; }
.search-control { position: relative; }
.search-control .icon { position: absolute; top: 50%; left: 13px; transform: translateY(-50%); color: var(--green-ink); pointer-events: none; }
.search-control input { padding-left: 42px; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; font-size: 0.9rem; }
.results-head p { color: var(--muted); font-weight: 640; }
.results-head button { min-height: 44px; }
.catalog { border-top: 1px solid var(--line); }
.catalog li { border-bottom: 1px solid var(--line); }
.catalog a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10ch auto;
  gap: 16px;
  align-items: center;
  padding: 16px 10px;
  text-decoration: none;
  color: var(--green-ink);
}
.catalog a:hover { background: var(--paper); }
.catalog a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; }
.catalog h2 { font-size: clamp(1.28rem, 2.6vw, 1.8rem); text-wrap: initial; }
.catalog p { margin-top: 4px; font-size: 0.88rem; color: var(--muted); }
.catalog-level { font-size: 0.81rem; text-align: right; font-weight: 670; }
.source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-block: 10px;
}
.source-row + .source-row { margin-top: 0; border-top: 1px solid var(--line); }
.source-row p { color: var(--muted); font-size: 0.9rem; }
.empty { padding: 24px 22px; background: var(--paper); }
.empty :is(h2, h3) { font-size: 1.4rem; }
.empty p { margin: 6px 0 0; color: var(--muted); }
.empty .text-link { margin-top: 10px; }
.route-body { padding-top: clamp(30px, 5vw, 66px); }

.steps { padding: 0; margin: 14px 0 0; list-style: none; counter-reset: step; }
.steps > li { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 14px; counter-increment: step; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps > li:last-child { border: 0; }
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 750;
}
.steps h3 { text-wrap: initial; }
.steps p { margin: 7px 0 9px; }
.progress-label { font-size: 0.85rem; font-weight: 700; color: var(--green-ink); }
.checklist-panel #check-status { color: var(--green-ink); margin: 15px 0 2px; }
progress { display: block; width: 100%; height: 9px; border: 0; border-radius: 100px; overflow: hidden; accent-color: var(--green); background: #d4e1d6; }
progress::-webkit-progress-bar { background: #d4e1d6; }
progress::-webkit-progress-value { background: var(--green); }
progress::-moz-progress-bar { background: var(--green); }
.checklist { margin: 10px 0 18px; }
.checklist label { display: flex; align-items: start; gap: 10px; min-height: 46px; padding: 11px 0; border-bottom: 1px solid #cbd9d0; font-size: 0.88rem; line-height: 1.5; cursor: pointer; }
.checklist input { accent-color: var(--green); width: 17px; height: 17px; flex: 0 0 auto; margin: 2px 0 0; }
.checklist label:focus-within { color: var(--green-ink); }

.faq details { border-bottom: 1px solid #c4d4c9; padding: 13px 0; }
.faq summary { display: list-item; padding: 5px 0; color: var(--green-deep); font-weight: 690; }
.faq details > p { color: var(--muted); margin: 9px 0; }
.values-list > div { padding: 15px 0; border-bottom: 1px solid #c4d4c9; }
.values-list dt { color: var(--green-deep); font: 600 1.4rem/1.2 var(--serif); }
.values-list dd { margin-top: 5px; color: var(--muted); }
.article-top h1 { max-width: 29ch; }
.article { max-width: 780px; }
.article img { width: auto; max-height: 690px; max-width: 100%; height: auto; margin-bottom: 26px; }
.article p { margin-bottom: 16px; }
.article-lead { font-size: clamp(1.1rem, 2vw, 1.38rem); color: var(--green-deep); }
.article .button { margin-top: 12px; }
.visit-panel { background: var(--paper); align-self: start; }
.visit-panel > img { width: 100%; height: auto; }
.visit-panel > div { padding: clamp(18px, 3.5vw, 34px); }
.visit-panel address { color: var(--muted); margin-bottom: 14px; }

dialog {
  width: min(600px, 100% - 28px);
  max-width: none;
  max-height: min(84dvh, 760px);
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  background: var(--white);
  color: var(--ink);
  overscroll-behavior: contain;
}
dialog::backdrop { background: rgb(9 36 26 / 68%); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-close { position: absolute; top: 14px; right: 14px; }
#dialog-title { padding-right: 50px; margin-bottom: 12px; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
#dialog-body > p { color: var(--muted); margin-bottom: 14px; }
#search-status { margin-top: 14px; margin-bottom: 3px; }

@media (max-width: 1050px) {
  .hero-photo { min-height: 446px; }
  #navigation { gap: 17px; }
  #navigation a { font-size: 0.82rem; }
}

@media (max-width: 885px) {
  .nav-wrap { min-height: 76px; justify-content: space-between; }
  .brand img { width: 52px; height: 52px; }
  .menu-toggle { display: inline-grid; }
  #navigation {
    display: none;
    position: absolute;
    top: 100%;
    right: calc(-1 * var(--gutter));
    left: calc(-1 * var(--gutter));
    z-index: 2;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--gold);
    background: var(--white);
    box-shadow: 0 10px 18px rgb(7 33 23 / 12%);
  }
  #navigation.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  #navigation a, #navigation .mobile-nav-link { display: flex; border-bottom: 1px solid var(--line); font-size: 0.95rem; white-space: normal; }
  #navigation a[aria-current]::after, #navigation a:hover::after { bottom: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr); }
  .hero-copy { padding-right: 20px; }
  .hero-copy p { margin: 16px 0 22px; }
  .hero-photo { min-height: 410px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-grid > :is(a, button) { min-height: 71px; padding-inline: 16px; }
  .quick-grid > :nth-child(2) { border-right: 1px solid var(--line); }
  .quick-grid > :nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 740px) {
  .hero-inner { display: block; }
  .hero-copy { padding: 36px var(--gutter) 34px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 12.2cqi, 4rem); }
  .hero-photo { min-height: unset; aspect-ratio: 1.75; }
  .hero-photo > img { object-position: 50% 57%; }
  .hero-photo figcaption { right: var(--gutter); padding: 7px 10px; font-size: 0.79rem; }
  .hero-photo figcaption .icon { width: 19px; height: 19px; }
  .hero-photo figcaption small { font-size: 0.68rem; }
  .identity-grid, .content-grid { grid-template-columns: 1fr; }
  .content-grid { gap: 26px; }
  .identity-grid { gap: 24px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .utility-inner { justify-content: flex-end; }
  .utility-motto, .utility-links > a:first-child { display: none; }
  .nav-wrap { min-height: 69px; }
  .brand { gap: 6px; }
  .brand img { width: 44px; height: 44px; }
  .brand > span { font-size: clamp(1rem, 4.7vw, 1.24rem); }
  .nav-actions { gap: 5px; }
  .hero-copy { padding-block: 31px 27px; }
  .hero-copy p { margin: 12px 0 20px; }
  .hero .actions { gap: 8px; }
  .hero .button { padding-inline: 11px; font-size: 0.84rem; }
  .quick-grid > :is(a, button) { gap: 7px; font-size: 0.82rem; padding: 9px 7px; min-height: 66px; }
  .quick-grid small { font-size: 0.69rem; margin-top: 2px; }
  .quick-grid > :is(a, button) > .icon:first-child { width: 19px; height: 19px; }
  .quick-grid > :is(a, button) > .icon:last-child { width: 13px; height: 13px; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 19px; }
  .section-head > .text-link { min-height: 33px; }
  .academic-tabs button { padding: 7px 3px; font-size: 0.735rem; }
  .academic-panel { grid-template-columns: 1fr; min-height: 0; }
  .academic-panel > div { padding: 21px 18px; }
  .academic-panel p { margin: 6px 0 10px; }
  .academic-panel .link-list { padding-block: 3px; }
  .news-grid, .split-grid { grid-template-columns: 1fr; gap: 26px; }
  .news-content { padding: 12px 0 16px; }
  .next-step-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { gap: 23px 16px; padding-top: 36px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-top { padding-top: 20px; }
  .breadcrumb { margin-bottom: 21px; }
  .catalog a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 9px; padding-inline: 4px; }
  .catalog-level { grid-row: 2; text-align: left; }
  .catalog a .icon { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 360px) {
  .brand img { width: 40px; height: 40px; }
  .brand > span { font-size: 0.97rem; }
  .quick-grid > :is(a, button) { grid-template-columns: auto 1fr; }
  .quick-grid > :is(a, button) > .icon:last-child { display: none; }
  .academic-tabs button { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: no-preference) {
  :is(.button, .text-link, .icon-button, .academic-tabs button, .quick-grid > *) {
    transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out;
  }
}

@media (forced-colors: active) {
  .academic-tabs button[aria-selected="true"] { border-bottom: 3px solid SelectedItem; color: SelectedItem; }
  #navigation a[aria-current]::after { background: LinkText; }
  .button { border-color: ButtonText; }
}
