:root {
  --teal-950: #073e43;
  --teal-900: #0c4f55;
  --teal-800: #12636a;
  --teal-700: #197781;
  --teal-600: #238e96;
  --teal-500: #3aa9aa;
  --teal-300: #a2d8d2;
  --teal-200: #cce9e4;
  --teal-100: #eaf6f3;
  --teal-050: #f4faf8;
  --coral: #ef7d7d;
  --coral-soft: #fff0ef;
  --gold: #e7b44c;
  --gold-soft: #fff7df;
  --ink-950: #102326;
  --ink-800: #284044;
  --ink-600: #607276;
  --line: #d9e7e4;
  --paper: #fff;
  --paper-soft: #f7faf9;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --container: 1240px;
  --shadow: 0 22px 60px rgba(11, 74, 80, .13);
  --shadow-small: 0 12px 34px rgba(11, 74, 80, .09);
  --ease: 280ms cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink-950); background: var(--paper); font-family: var(--sans); line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 14px; top: 14px; z-index: 1000; padding: 9px 15px; color: #fff; background: var(--teal-900); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid rgba(58,169,170,.55); outline-offset: 4px; }

.demo-notice { color: #624b0c; background: var(--gold-soft); border-bottom: 1px solid #ecd89e; font-size: 12px; text-align: center; }
.demo-notice .container { padding-block: 8px; }
.utility { color: rgba(255,255,255,.82); background: var(--teal-950); font-size: 12px; }
.utility-inner { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 20px; }
.utility-links { display: flex; gap: 18px; align-items: center; }
.utility a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 80; color: var(--ink-950); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(217,231,228,.9); box-shadow: 0 8px 24px rgba(14,77,82,.05); backdrop-filter: blur(16px); }
.header-inner { position: relative; display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand img { width: 52px; height: 52px; }
.brand-copy strong { display: block; font-family: var(--serif); font-size: 24px; letter-spacing: .12em; line-height: 1.15; }
.brand-copy span { display: block; margin-top: 5px; color: var(--teal-700); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.main-nav { display: flex; align-self: stretch; align-items: stretch; }
.main-nav a { position: relative; display: flex; align-items: center; padding: 0 13px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.main-nav a::after { position: absolute; right: 13px; bottom: 20px; left: 13px; height: 2px; content: ""; background: var(--teal-600); transform: scaleX(0); transition: transform var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--teal-800); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.tool-link, .nav-toggle { display: grid; min-width: 42px; height: 42px; padding: 0 13px; place-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 13px; }
.tool-link.primary { color: #fff; border-color: var(--teal-700); background: var(--teal-700); }
.nav-toggle { display: none; }

.hero { position: relative; min-height: 660px; overflow: hidden; background: linear-gradient(112deg, #eaf7f4 0%, #f7fbfa 54%, #fff2ef 100%); }
.hero::before { position: absolute; inset: 0; content: ""; background-image: radial-gradient(circle at 12% 18%, rgba(58,169,170,.12) 0 2px, transparent 2px), radial-gradient(circle at 87% 22%, rgba(239,125,125,.13) 0 2px, transparent 2px); background-size: 34px 34px, 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.hero-inner { position: relative; display: grid; min-height: 660px; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: 52px; align-items: center; padding-block: 76px 66px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--teal-700); font-size: 12px; font-weight: 800; letter-spacing: .24em; }
.hero-kicker::before { width: 34px; height: 2px; content: ""; background: var(--teal-500); }
.hero h1 { max-width: 700px; margin: 0; font-family: var(--serif); font-size: clamp(52px, 6.5vw, 88px); letter-spacing: .04em; line-height: 1.09; }
.hero h1 em { color: var(--teal-700); font-style: normal; }
.hero-lead { max-width: 650px; margin: 27px 0 0; color: var(--ink-600); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid transparent; font-size: 14px; font-weight: 800; letter-spacing: .03em; transition: transform var(--ease), box-shadow var(--ease), background var(--ease); }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--teal-700); box-shadow: 0 12px 28px rgba(25,119,129,.2); }
.button-secondary { color: var(--teal-900); border-color: var(--teal-300); background: rgba(255,255,255,.8); }
.hero-visual { position: relative; min-height: 520px; }
.hero-photo { position: absolute; top: 15px; right: 0; width: min(100%, 620px); overflow: hidden; border-radius: 54% 46% 44% 56% / 48% 50% 50% 52%; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.hero-badge { position: absolute; left: -12px; bottom: 66px; max-width: 240px; padding: 20px 22px; background: rgba(255,255,255,.95); border-left: 4px solid var(--coral); box-shadow: var(--shadow-small); }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 20px; }
.hero-badge span { display: block; margin-top: 5px; color: var(--ink-600); font-size: 13px; }
.hero-stamp { position: absolute; right: 6px; bottom: 10px; display: grid; width: 112px; height: 112px; place-items: center; color: #fff; border-radius: 50%; background: var(--teal-700); font-family: var(--serif); font-size: 18px; text-align: center; transform: rotate(8deg); box-shadow: var(--shadow-small); }

.quick-actions { position: relative; z-index: 5; margin-top: -28px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; box-shadow: var(--shadow); }
.quick-card { position: relative; display: flex; min-height: 112px; align-items: center; gap: 17px; padding: 24px 26px; border-right: 1px solid var(--line); transition: background var(--ease); }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: var(--teal-050); }
.quick-icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; color: #fff; border-radius: 50%; background: var(--teal-600); font-family: var(--serif); font-size: 20px; }
.quick-card:nth-child(2) .quick-icon { background: var(--coral); }
.quick-card:nth-child(3) .quick-icon { color: var(--teal-900); background: var(--gold); }
.quick-card:nth-child(4) .quick-icon { background: var(--teal-800); }
.quick-card strong { display: block; font-size: 16px; }
.quick-card small { color: var(--ink-600); }

.section { padding: 104px 0; }
.section-soft { background: var(--paper-soft); }
.section-teal { color: #fff; background: var(--teal-950); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.eyebrow { margin: 0 0 8px; color: var(--teal-600); font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.section-teal .eyebrow { color: var(--teal-300); }
.section-head h2, .content-title { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 54px); letter-spacing: .04em; line-height: 1.2; }
.section-head p { max-width: 520px; margin: 0; color: var(--ink-600); }
.section-teal .section-head p { color: rgba(255,255,255,.65); }
.more-link { color: var(--teal-700); font-size: 14px; font-weight: 800; }
.section-teal .more-link { color: var(--teal-300); }

.news-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); gap: 38px; }
.lead-story { position: relative; min-height: 460px; overflow: hidden; color: #fff; }
.lead-story img { width: 100%; height: 460px; object-fit: cover; transition: transform 800ms var(--ease); }
.lead-story:hover img { transform: scale(1.035); }
.lead-story::after { position: absolute; inset: 0; content: ""; background: linear-gradient(to top, rgba(3,35,38,.9), transparent 65%); }
.lead-story-copy { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 34px; }
.story-tag { display: inline-block; margin-bottom: 10px; padding: 4px 9px; color: var(--teal-950); background: var(--teal-300); font-size: 11px; font-weight: 800; }
.lead-story h3 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.35; }
.lead-story time { display: block; margin-top: 12px; color: rgba(255,255,255,.72); font-size: 13px; }
.news-list { display: grid; align-content: start; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.news-date strong { display: block; color: var(--teal-700); font-family: var(--serif); font-size: 30px; line-height: 1; }
.news-date span { color: var(--ink-600); font-size: 12px; }
.news-item h3 { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.news-item p { margin: 7px 0 0; color: var(--ink-600); font-size: 13px; }

.explore-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.explore-card { position: relative; min-height: 260px; padding: 28px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform var(--ease), box-shadow var(--ease); }
.explore-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-small); }
.explore-index { color: var(--teal-600); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.explore-card h3 { margin: 42px 0 10px; font-family: var(--serif); font-size: 25px; }
.explore-card p { margin: 0; color: var(--ink-600); font-size: 14px; }
.explore-arrow { position: absolute; right: 25px; bottom: 21px; color: var(--teal-700); font-size: 22px; }
.explore-card.accent { color: #fff; border-color: var(--teal-800); background: var(--teal-800); }
.explore-card.accent .explore-index, .explore-card.accent p, .explore-card.accent .explore-arrow { color: rgba(255,255,255,.75); }

.major-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.major-card { padding: 28px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); transition: background var(--ease), transform var(--ease); }
.major-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.major-card span { color: var(--teal-300); font-size: 12px; font-weight: 800; }
.major-card h3 { margin: 15px 0 8px; font-family: var(--serif); font-size: 24px; }
.major-card p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.mascot-section { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--coral-soft), #fff 47%, var(--teal-050)); }
.mascot-grid { display: grid; grid-template-columns: minmax(380px,.92fr) minmax(0,1.08fr); gap: 64px; align-items: center; }
.mascot-photo { position: relative; overflow: hidden; border-radius: 42px 8px 42px 8px; box-shadow: var(--shadow); }
.mascot-photo img { width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.mascot-copy h2 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(36px,5vw,58px); line-height: 1.2; }
.mascot-copy > p { color: var(--ink-600); font-size: 17px; }
.guide-list { display: grid; gap: 12px; margin-top: 26px; }
.guide-item { display: flex; align-items: start; gap: 14px; padding: 16px 18px; background: rgba(255,255,255,.8); border: 1px solid rgba(217,231,228,.85); }
.guide-item i { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; color: #fff; border-radius: 50%; background: var(--coral); font-style: normal; font-weight: 800; }
.guide-item:nth-child(2) i { background: var(--teal-600); }
.guide-item:nth-child(3) i { color: var(--teal-950); background: var(--gold); }
.guide-item strong { display: block; }
.guide-item span { color: var(--ink-600); font-size: 13px; }

.pdf-viewer {
  display: block;
  width: 100%;
  height: 90vh;
  min-height: 850px;
  border: 0;
  background: #fff;
}

.campus-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 230px 230px; gap: 16px; }
.campus-card { position: relative; overflow: hidden; color: #fff; }
.campus-card:first-child { grid-row: 1 / 3; }
.campus-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.campus-card:hover img { transform: scale(1.04); }
.campus-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(to top, rgba(4,41,44,.82), transparent 58%); }
.campus-caption { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 25px; }
.campus-caption strong { display: block; font-family: var(--serif); font-size: 22px; }
.campus-caption span { color: rgba(255,255,255,.72); font-size: 13px; }

.cta { position: relative; overflow: hidden; color: #fff; background: var(--teal-700); }
.cta::before { position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; content: ""; border: 70px solid rgba(255,255,255,.07); border-radius: 50%; }
.cta-inner { position: relative; display: flex; min-height: 250px; align-items: center; justify-content: space-between; gap: 40px; padding-block: 52px; }
.cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px,4.5vw,52px); }
.cta p { margin: 10px 0 0; color: rgba(255,255,255,.72); }
.cta .button-secondary { background: #fff; }

.site-footer { color: rgba(255,255,255,.74); background: #06383d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 42px; padding-block: 62px; }
.footer-grid h3 { margin: 0 0 16px; color: #fff; font-family: var(--serif); font-size: 18px; }
.footer-grid a { display: block; margin: 7px 0; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.footer-brand img { width: 50px; filter: brightness(0) invert(1); }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 22px; }
.footer-note { margin: 0; color: rgba(255,255,255,.52); font-size: 12px; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; text-align: center; }

.subhero { position: relative; min-height: 340px; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--teal-900); }
.subhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.subhero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(6,56,61,.93), rgba(6,56,61,.52), rgba(6,56,61,.2)); }
.subhero-inner { position: relative; z-index: 1; padding-block: 70px 55px; }
.subhero h1 { margin: 0; font-family: var(--serif); font-size: clamp(42px,6vw,68px); }
.subhero p { max-width: 680px; margin: 12px 0 0; color: rgba(255,255,255,.75); }
.breadcrumb { border-bottom: 1px solid var(--line); background: var(--teal-050); }
.breadcrumb .container { display: flex; min-height: 52px; align-items: center; gap: 10px; color: var(--ink-600); font-size: 13px; }
.page-main { padding: 70px 0 100px; }
.page-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 48px; }
.page-layout > article {
  min-width: 0;
  width: 100%;
}
.side-nav { align-self: start; border-top: 4px solid var(--teal-600); background: var(--teal-050); }
.side-nav h2 { margin: 0; padding: 19px 20px 14px; font-family: var(--serif); font-size: 21px; }
.side-nav a { display: block; padding: 12px 20px; border-top: 1px solid var(--line); color: var(--ink-600); font-size: 14px; }
.side-nav a:hover, .side-nav a.is-active { color: var(--teal-800); background: #fff; font-weight: 800; }
.content-title { margin-bottom: 26px; }
.content-lead { margin-bottom: 34px; color: var(--ink-600); font-size: 17px; }
.content-card {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  padding: 27px;
  overflow: hidden;
  color: inherit;
  border: 1px solid var(--line);
  background: #fff;
}
.content-card h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 21px; }
.content-card p { margin: 0; color: var(--ink-600); }
.content-card time { color: var(--teal-700); font-size: 12px; }
.notice-box { margin-bottom: 28px; padding: 18px 22px; color: #624b0c; border: 1px solid #ecd89e; background: var(--gold-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--teal-900); background: var(--teal-050); font-size: 13px; }
td { font-size: 14px; }
.filter-bar { display: grid; grid-template-columns: repeat(3,1fr) auto; gap: 12px; margin-bottom: 24px; padding: 19px; background: var(--paper-soft); }
.filter-bar input, .filter-bar select, .search-form input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #bfd6d2; background: #fff; }
.filter-bar button, .search-form button, .query-form button { min-height: 46px; padding: 0 22px; color: #fff; border: 0; background: var(--teal-700); cursor: pointer; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; width: 100%; padding: 20px 0; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; cursor: pointer; text-align: left; font-weight: 800; }
.faq-question span:last-child { color: var(--teal-700); font-size: 22px; transition: transform var(--ease); }
.faq-item.is-open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 38px 22px 0; color: var(--ink-600); }
.faq-item.is-open .faq-answer { display: block; }
.search-form, .query-form { display: flex; gap: 10px; margin-bottom: 28px; }
.search-results { display: grid; gap: 14px; }
.search-result { display: block; padding: 20px; border: 1px solid var(--line); }
.search-result:hover { border-color: var(--teal-300); background: var(--teal-050); }
.search-result h3 { margin: 0 0 6px; font-family: var(--serif); }
.search-result p { margin: 0; color: var(--ink-600); font-size: 14px; }
.query-result {
  display: none;
  position: relative;
  margin-top: 28px;
  padding: 30px 32px;
  overflow: hidden;
  border: 1px solid var(--teal-200);
  border-left: 6px solid var(--teal-600);
  border-radius: 4px;
  background:
    linear-gradient(135deg, var(--teal-050), #fff);
  box-shadow: var(--shadow-small);
}

.query-result.is-visible {
  display: block;
  animation: query-result-in 400ms ease;
}

.query-result-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  color: #fff;
  background: var(--teal-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.query-result strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-900);
  font-family: var(--serif);
  font-size: 24px;
}

.query-result p {
  margin: 8px 0 0;
  color: var(--ink-600);
}

.query-result .query-student {
  padding: 14px 17px;
  color: var(--ink-800);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

@keyframes query-result-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mascot-helper { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: end; gap: 8px; }
.mascot-helper img { width: 78px; height: 78px; object-fit: cover; border: 4px solid #fff; border-radius: 50%; box-shadow: var(--shadow-small); }
.helper-bubble { max-width: 205px; padding: 12px 14px; color: var(--ink-800); border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; background: #fff; box-shadow: var(--shadow-small); font-size: 12px; }
.helper-bubble a { color: var(--teal-700); font-weight: 800; }
.back-top { position: fixed; left: 20px; bottom: 20px; z-index: 50; display: grid; width: 44px; height: 44px; place-items: center; color: #fff; border: 0; border-radius: 50%; background: var(--teal-800); box-shadow: var(--shadow-small); opacity: 0; pointer-events: none; transition: opacity var(--ease); cursor: pointer; }
.back-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .main-nav.is-open { position: absolute; top: 86px; right: 0; left: 0; display: grid; padding: 12px 22px 22px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav.is-open a::after { display: none; }
  .hero-inner { grid-template-columns: 1fr 430px; }
  .explore-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .utility-inner { justify-content: center; }
  .utility-inner > span { display: none; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { min-height: 420px; }
  .hero-photo { right: 5%; width: 90%; }
  .hero-badge { left: 0; }
  .quick-grid { grid-template-columns: repeat(2,1fr); }
  .quick-card:nth-child(2) { border-right: 0; }
  .news-layout, .mascot-grid { grid-template-columns: 1fr; }
  .major-grid { grid-template-columns: repeat(2,1fr); }
  .campus-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3,240px); }
  .campus-card:first-child { grid-row: auto; }
  .page-layout { grid-template-columns: 1fr; }
  .side-nav { display: grid; grid-template-columns: repeat(2,1fr); }
  .side-nav h2 { grid-column: 1 / -1; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdf-viewer {
    height: 80vh;
    min-height: 650px;
  }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .utility-links { gap: 11px; }
  .utility-links a:nth-child(-n+2) { display: none; }
  .header-inner { min-height: 74px; }
  .brand img { width: 44px; height: 44px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy span { font-size: 9px; }
  .header-tools .tool-link { display: none; }
  .main-nav.is-open { top: 74px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; }
  .hero-visual { min-height: 340px; }
  .hero-badge { max-width: 190px; bottom: 28px; padding: 14px; }
  .hero-stamp { width: 86px; height: 86px; font-size: 14px; }
  .quick-grid, .explore-grid, .major-grid, .footer-grid { grid-template-columns: 1fr; }
  .quick-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .lead-story, .lead-story img { min-height: 390px; height: 390px; }
  .cta-inner { align-items: start; flex-direction: column; }
  .filter-bar { grid-template-columns: 1fr; }
  .search-form, .query-form { flex-direction: column; }
  .side-nav { grid-template-columns: 1fr; }
  .mascot-helper { right: 10px; bottom: 10px; }
  .mascot-helper img { width: 58px; height: 58px; }
  .helper-bubble { display: none; }
  .pdf-viewer {
    height: 75vh;
    min-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
