:root {
  --ink: #172d38;
  --muted: #64757c;
  --paper: #fffdf8;
  --white: #ffffff;
  --coral: #ff5f45;
  --teal: #00a9a3;
  --yellow: #ffd34e;
  --green: #41a86a;
  --blue: #3d7df2;
  --pink: #ee6d99;
  --line: #dce5e5;
  --shadow: 0 18px 48px rgba(23, 45, 56, 0.12);
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { width: 1.15em; height: 1.15em; stroke-width: 2; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  height: var(--header-h);
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(23, 45, 56, 0.08);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--coral);
  font-size: 21px;
  font-weight: 900;
  transform: rotate(-4deg);
}
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 18px; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 40px); font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; padding: 28px 0 24px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 3px; background: var(--coral); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.main-nav a[aria-current="page"]::after { right: 0; }
.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.icon-button:hover { color: var(--coral); border-color: var(--coral); }

.hero {
  min-height: calc(100vh - var(--header-h) - 54px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  isolation: isolate;
}
.hero-photo { position: absolute; inset: 0; z-index: -3; background: url("assets/campus-hero.jpg") center 45% / cover no-repeat; transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10, 39, 48, .92) 0%, rgba(10, 39, 48, .68) 45%, rgba(10, 39, 48, .1) 78%); }
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -10vw -24vh 38vw;
  height: 48vh;
  background: rgba(255, 95, 69, .88);
  transform: rotate(-8deg);
  transform-origin: left bottom;
}
.hero-content { width: min(1240px, 90%); margin: 0 auto; padding: 76px 350px 74px 0; }
.eyebrow, .kicker { margin: 0 0 18px; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--yellow); }
.eyebrow span { width: 34px; height: 3px; background: var(--yellow); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(54px, 7vw, 98px); line-height: .98; font-weight: 950; letter-spacing: 0; }
.hero-copy { max-width: 610px; margin: 28px 0 0; color: rgba(255,255,255,.86); font-size: clamp(16px, 1.4vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--coral); box-shadow: 0 12px 24px rgba(255, 95, 69, .24); }
.button-primary:hover { background: #eb4932; }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.48); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.button-dark { width: 100%; color: white; background: var(--ink); }
.hero-facts { display: flex; gap: 0; margin-top: 46px; }
.hero-facts div { min-width: 112px; padding-right: 26px; margin-right: 26px; border-right: 1px solid rgba(255,255,255,.28); display: flex; flex-direction: column; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { color: var(--yellow); font-size: 27px; line-height: 1; }
.hero-facts span { margin-top: 7px; color: rgba(255,255,255,.72); font-size: 12px; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; transform: translateX(-50%); }
.scroll-cue svg { animation: nudge 1.8s ease-in-out infinite; }

.notice-band { background: var(--yellow); }
.notice-inner { min-height: 54px; width: min(1240px, 90%); margin: 0 auto; display: flex; align-items: center; gap: 24px; font-size: 13px; }
.notice-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; white-space: nowrap; }
.notice-inner p { margin: 0; flex: 1; }
.notice-inner a { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; white-space: nowrap; }

.content-layout { width: min(1360px, 94%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 54px; }
.page-container { width: min(1240px, 90%); margin-left: auto; margin-right: auto; }
.content-main { min-width: 0; }
.section { padding: 104px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.kicker { color: var(--coral); }
.section h2, .timeline-band h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.14; font-weight: 950; }
.section-heading > p { max-width: 350px; margin: 0; color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guide-card {
  min-height: 250px;
  position: relative;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: var(--ink);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.guide-card::before { content: ""; position: absolute; width: 110px; height: 18px; top: 26px; right: -24px; background: rgba(255,255,255,.45); transform: rotate(38deg); }
.guide-card.coral { background: #ffd8cf; }
.guide-card.teal { background: #c9f1ed; }
.guide-card.yellow { background: #ffeda9; }
.guide-card.green { background: #d6efd8; }
.guide-card.blue { background: #dce7ff; }
.guide-card.pink { background: #f9d9e5; }
.guide-icon { width: 50px; height: 50px; display: grid; place-items: center; color: white; border-radius: 5px; }
.coral .guide-icon { background: var(--coral); }
.teal .guide-icon { background: var(--teal); }
.yellow .guide-icon { background: #d79a00; }
.green .guide-icon { background: var(--green); }
.blue .guide-icon { background: var(--blue); }
.pink .guide-icon { background: var(--pink); }
.guide-icon svg { width: 24px; height: 24px; }
.guide-index { position: absolute; top: 27px; right: 28px; font-size: 12px; font-weight: 900; }
.guide-card strong { margin-top: auto; font-size: 23px; }
.guide-card > span:not(.guide-icon):not(.guide-index) { margin-top: 4px; color: #50646c; font-size: 13px; }
.guide-arrow { position: absolute; right: 24px; bottom: 23px; }

.checklist-section { border-top: 1px solid var(--line); display: grid; grid-template-columns: .72fr 1.28fr; gap: 62px; }
.checklist-copy > p:not(.kicker) { color: var(--muted); }
.progress-wrap { margin-top: 34px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 13px; }
.progress-meta strong { color: var(--coral); }
.progress-track { height: 9px; margin-top: 10px; overflow: hidden; background: #e5eceb; }
.progress-track span { display: block; height: 100%; width: 0; background: var(--teal); transition: width .35s ease; }
.checklist { border-top: 1px solid var(--line); }
.check-item { min-height: 79px; padding: 14px 6px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid #b6c4c5; color: white; transition: .2s ease; }
.custom-check svg { opacity: 0; }
.check-item strong, .check-item small { display: block; }
.check-item strong { font-size: 15px; }
.check-item small { color: var(--muted); font-size: 12px; }
.check-item input:checked + .custom-check { background: var(--green); border-color: var(--green); transform: rotate(-4deg); }
.check-item input:checked + .custom-check svg { opacity: 1; }
.check-item input:checked ~ span:last-child strong { text-decoration: line-through; color: #879397; }
.check-item:focus-within .custom-check { outline: 3px solid rgba(61,125,242,.25); }

.life-section { border-top: 1px solid var(--line); }
.life-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; }
.life-tabs button { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); background: transparent; border: 1px solid var(--line); cursor: pointer; white-space: nowrap; }
.life-tabs button[aria-selected="true"] { color: white; background: var(--ink); border-color: var(--ink); }
.life-panel { min-height: 430px; display: grid; grid-template-columns: 1.25fr .75fr; background: #e9f4f1; overflow: hidden; }
.life-image { min-height: 430px; background: url("assets/map-gaochun.jpg") center / cover no-repeat; transition: background-image .3s ease; }
.life-copy { padding: clamp(34px, 5vw, 62px); align-self: center; }
.life-number { display: block; margin-bottom: 34px; color: var(--teal); font-size: 14px; font-weight: 900; }
.life-copy h3 { margin: 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.2; }
.life-copy > p:not(.kicker) { color: var(--muted); }
.life-copy ul { margin: 26px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; font-size: 13px; }
.life-copy li { display: flex; align-items: center; gap: 8px; }
.source-link { min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); border: 1px solid var(--line); background: white; font-size: 12px; font-weight: 900; white-space: nowrap; }
.source-link:hover { color: var(--coral); border-color: var(--coral); }

.majors-section { border-top: 1px solid var(--line); }
.major-tools { min-height: 64px; padding: 10px 14px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(230px, auto) auto; align-items: center; gap: 12px; color: var(--ink); background: #edf3f1; }
.major-search { min-width: 0; display: flex; align-items: center; gap: 9px; }
.major-search input { width: 100%; min-width: 0; padding: 9px 4px; border: 0; outline: 0; background: transparent; }
.major-select { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 800; }
.major-select select { max-width: 220px; padding: 9px 28px 9px 10px; color: var(--ink); background: white; border: 1px solid #cad5d4; }
.major-count { padding: 7px 10px; color: white; background: var(--teal); font-size: 12px; font-weight: 900; white-space: nowrap; }
.major-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.major-card { min-height: 215px; padding: 22px; position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: white; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.major-card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 14px 34px rgba(23,45,56,.08); }
.major-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.major-card-head > span { max-width: 70%; }
.major-card-head strong { color: var(--coral); font-size: 20px; line-height: 1; white-space: nowrap; }
.major-card-head small { font-size: 10px; }
.major-card h3 { margin: 30px 0 8px; font-size: 20px; line-height: 1.3; }
.major-card > p { margin: 0; display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 12px; }
.major-card > p svg { flex: 0 0 auto; margin-top: 3px; color: var(--blue); }
.major-metrics { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.major-metrics span { padding: 4px 7px; background: #eef2ff; color: #34579d; font-size: 10px; font-weight: 900; }
.major-note { margin-top: 9px; color: #b94834; font-size: 10px; line-height: 1.45; }
.major-empty { grid-column: 1 / -1; padding: 46px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }

.transfer-section { border-top: 1px solid var(--line); }
.transfer-head { display: grid; grid-template-columns: 1fr 240px; gap: 46px; align-items: end; }
.transfer-head > div:first-child > p:last-child { max-width: 660px; color: var(--muted); }
.transfer-status { padding: 22px; color: white; background: var(--coral); }
.transfer-status span, .transfer-status small { display: block; }
.transfer-status span { font-size: 11px; font-weight: 800; }
.transfer-status strong { display: block; margin: 5px 0 4px; font-size: 19px; }
.transfer-status small { color: rgba(255,255,255,.75); }
.policy-strip { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.policy-strip > div { min-height: 132px; padding: 24px; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 14px; border-right: 1px solid var(--line); }
.policy-strip > div:last-child { border-right: 0; }
.policy-strip svg { grid-row: 1 / span 2; width: 27px; height: 27px; color: var(--teal); }
.policy-strip strong { font-size: 14px; }
.policy-strip span { color: var(--muted); font-size: 11px; }
.transfer-timeline { margin-top: 34px; display: grid; grid-template-columns: repeat(5, 1fr); }
.transfer-timeline > div { min-height: 166px; padding: 24px 18px; position: relative; border-top: 4px solid #cbd4d3; background: #f0f4f2; }
.transfer-timeline > div::before { content: ""; position: absolute; width: 12px; height: 12px; left: 18px; top: -8px; background: #cbd4d3; border-radius: 50%; }
.transfer-timeline .is-done { border-top-color: var(--green); }
.transfer-timeline .is-done::before { background: var(--green); }
.transfer-timeline .is-current { color: white; border-top-color: var(--yellow); background: var(--ink); }
.transfer-timeline .is-current::before { background: var(--yellow); }
.transfer-timeline time, .transfer-timeline strong, .transfer-timeline span { display: block; }
.transfer-timeline time { color: var(--coral); font-size: 11px; font-weight: 900; }
.transfer-timeline .is-current time { color: var(--yellow); }
.transfer-timeline strong { margin-top: 26px; font-size: 14px; }
.transfer-timeline span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.transfer-timeline .is-current span { color: rgba(255,255,255,.62); }
.transfer-foot { margin-top: 26px; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.transfer-foot > p { margin: 0; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.transfer-foot > div { display: flex; align-items: center; gap: 14px; }
.transfer-foot > div > span { color: var(--muted); font-size: 11px; white-space: nowrap; }

.timeline-band { margin-bottom: 104px; padding: 70px clamp(28px, 5vw, 58px); color: white; background: var(--ink); }
.timeline-head { margin-bottom: 46px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.timeline-item { min-height: 165px; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.18); }
.timeline-item span { display: block; color: var(--yellow); font-weight: 900; }
.timeline-item strong { display: block; margin-top: 34px; font-size: 18px; }
.timeline-item p { margin: 6px 0 0; color: rgba(255,255,255,.62); font-size: 12px; }

.consult-rail { position: relative; border-left: 1px solid var(--line); }
.consult-sticky { position: sticky; top: calc(var(--header-h) + 30px); padding: 82px 0 80px 34px; }
.consult-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: #075e5a; background: #c9f1ed; font-size: 12px; font-weight: 900; }
.consult-sticky h2 { margin: 24px 0 12px; font-size: 31px; line-height: 1.22; }
.consult-sticky > p { color: var(--muted); font-size: 13px; }
.consult-qr-button { width: 100%; margin: 22px 0 12px; padding: 0; display: block; border: 1px solid var(--line); background: white; cursor: zoom-in; overflow: hidden; }
.consult-qr-button img { width: 100%; display: block; aspect-ratio: 2 / 3; object-fit: cover; object-position: center; }
.consult-name { display: block; font-size: 14px; text-align: center; }
.consult-scan { margin: 2px 0 14px !important; font-size: 11px !important; text-align: center; }
.consult-sticky > small { display: block; margin-top: 12px; color: #899598; text-align: center; }

.site-footer { min-height: 170px; padding: 40px max(5vw, calc((100vw - 1240px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; color: rgba(255,255,255,.7); background: #0c2028; font-size: 12px; }
.site-footer > div { display: flex; flex-direction: column; }
.site-footer strong { color: white; font-size: 20px; }
.site-footer a { display: inline-flex; align-items: center; gap: 7px; color: white; font-weight: 800; }

dialog { color: var(--ink); border: 0; padding: 0; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(8, 25, 31, .7); backdrop-filter: blur(6px); }
.guide-dialog, .consult-dialog { width: min(580px, calc(100vw - 32px)); padding: 48px; }
.dialog-close { position: absolute; top: 16px; right: 16px; }
.dialog-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 28px; color: white; background: var(--coral); }
.guide-dialog h2, .consult-dialog h2 { margin: 0; font-size: 34px; line-height: 1.2; }
.guide-dialog > p:not(.kicker):not(.dialog-note) { color: var(--muted); }
.guide-dialog ul { margin: 26px 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.guide-dialog li { position: relative; padding-left: 24px; }
.guide-dialog li::before { content: ""; width: 8px; height: 8px; position: absolute; left: 0; top: .62em; background: var(--teal); }
.dialog-note { margin: 30px -48px -48px; padding: 18px 48px; display: flex; align-items: center; gap: 8px; color: #54676d; background: #edf3f1; font-size: 12px; }
.consult-dialog form { margin-top: 30px; display: grid; gap: 18px; }
.consult-dialog label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.consult-dialog select, .consult-dialog textarea { width: 100%; padding: 12px 14px; color: var(--ink); background: white; border: 1px solid #b9c6c5; border-radius: 0; outline: 0; }
.consult-dialog select:focus, .consult-dialog textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61,125,242,.14); }
.consult-dialog .button { width: 100%; }
.form-note { margin: -5px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.qr-dialog { text-align: center; }
.qr-dialog h2 { margin-bottom: 20px; }
.qr-dialog > img { width: min(360px, 100%); display: block; margin: 0 auto; border: 1px solid var(--line); }
.qr-caption { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

.search-panel { position: fixed; inset: 0; z-index: 100; padding: 11vh 20px; background: rgba(255,253,248,.98); opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-box { width: min(760px, 100%); margin: 0 auto; padding-bottom: 13px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border-bottom: 3px solid var(--ink); }
.search-box > svg { width: 28px; height: 28px; }
.search-box input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: clamp(22px, 4vw, 34px); font-weight: 800; }
.search-results { width: min(760px, 100%); margin: 28px auto; display: grid; gap: 8px; }
.search-result { padding: 16px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--line); background: white; cursor: pointer; text-align: left; }
.search-result:hover { border-color: var(--coral); }
.search-result span { min-width: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.search-empty { color: var(--muted); }

.toast { position: fixed; z-index: 110; left: 50%; bottom: 28px; padding: 13px 18px; display: flex; align-items: center; gap: 9px; color: white; background: var(--ink); box-shadow: var(--shadow); transform: translate(-50%, 140%); transition: transform .3s ease; }
.toast.show { transform: translate(-50%, 0); }
.mobile-consult { display: none; }

.page-hero {
  min-height: 410px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(10, 39, 48, .76); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 44%; height: 56px; right: -4%; bottom: 46px; background: var(--coral); transform: rotate(-4deg); opacity: .92; }
.page-hero-checklist { background-image: url("assets/campus-life.jpg"); }
.page-hero-campus { background-image: url("assets/campus-hero.jpg"); background-position: center 42%; }
.page-hero-majors { background-image: url("assets/library.jpg"); }
.page-hero-consult { background-image: url("assets/club-campus.jpg"); }
.page-hero-inner { width: min(1240px, 90%); margin: 0 auto; padding: 72px 0 64px; }
.page-hero h1 { margin: 0; font-size: 64px; line-height: 1.05; font-weight: 950; }
.page-hero-inner > p:not(.eyebrow) { max-width: 680px; margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: 18px; }
.page-hero-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.page-hero-links a { padding: 9px 14px; color: white; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); font-size: 12px; font-weight: 800; backdrop-filter: blur(6px); }
.page-hero-links a:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }

.home-contact-band { padding: 64px 0; color: white; background: var(--ink); }
.home-contact-band .page-container { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.home-contact-band h2 { margin: 0; font-size: 34px; line-height: 1.2; }
.home-contact-band p:not(.kicker) { margin: 8px 0 0; color: rgba(255,255,255,.65); }
.home-contact-band .button { flex: 0 0 auto; }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-card { min-height: 260px; padding: 26px; position: relative; overflow: hidden; background: white; border: 1px solid var(--line); }
.info-card > span { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 34px; color: white; background: var(--ink); }
.info-card.coral > span { background: var(--coral); }
.info-card.teal > span { background: var(--teal); }
.info-card.yellow > span { color: var(--ink); background: var(--yellow); }
.info-card.blue > span { background: var(--blue); }
.info-card small { color: var(--coral); font-size: 10px; font-weight: 900; }
.info-card h3 { margin: 8px 0 5px; font-size: 22px; }
.info-card p { margin: 0; color: var(--muted); font-size: 13px; }
.campus-facts { border-top: 1px solid var(--line); }

.consult-page { min-height: 660px; padding-top: 86px; padding-bottom: 86px; display: grid; grid-template-columns: 1fr 430px; align-items: center; gap: 90px; }
.consult-page-copy .kicker { margin-top: 34px; }
.consult-page-copy h2 { margin: 0; font-size: 48px; line-height: 1.15; }
.consult-page-copy > p:not(.kicker) { max-width: 620px; color: var(--muted); }
.consult-topics { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.consult-topics span { padding: 8px 11px; display: inline-flex; align-items: center; gap: 7px; background: #edf3f1; font-size: 12px; font-weight: 800; }
.consult-warning { margin-top: 38px; padding: 20px; display: flex; align-items: flex-start; gap: 14px; background: #fff1c9; }
.consult-warning > svg { flex: 0 0 auto; color: #b06f00; }
.consult-warning p { margin: 0; }
.consult-warning strong, .consult-warning span { display: block; }
.consult-warning span { margin-top: 3px; color: #6f5c2f; font-size: 12px; }
.consult-page-qr { padding: 24px; text-align: center; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.qr-frame { overflow: hidden; border: 1px solid var(--line); }
.qr-frame img { width: 100%; display: block; aspect-ratio: 1036 / 1319; object-fit: contain; }
.consult-page-qr strong, .consult-page-qr > span { display: block; }
.consult-page-qr strong { margin-top: 18px; }
.consult-page-qr > span { color: var(--muted); font-size: 12px; }
.consult-links-band { padding: 34px 0; background: #e8f3f0; }
.consult-links-band .page-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #cad9d5; }
.consult-links-band a { min-height: 100px; padding: 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; background: white; }
.consult-links-band a:hover { color: var(--coral); }
.consult-links-band a > svg:first-child { width: 25px; height: 25px; color: var(--teal); }
.consult-links-band strong, .consult-links-band small { display: block; }
.consult-links-band small { color: var(--muted); font-size: 10px; }

.portal-main { background: #f7fbfc; }
.portal-banner {
  width: min(1320px, calc(100% - 40px));
  min-height: 390px;
  margin: 20px auto 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  background: url("assets/portal-campus-gate.png") center 52% / cover no-repeat;
  border-radius: 8px;
  isolation: isolate;
}
.portal-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,42,51,.58); }
.portal-banner-copy { padding: 40px 24px; text-align: center; }
.portal-banner-copy > span { display: inline-block; padding: 6px 10px; color: var(--ink); background: var(--yellow); font-size: 11px; font-weight: 900; }
.portal-banner h1 { margin: 16px 0 0; font-size: 58px; line-height: 1.1; font-weight: 950; }
.portal-banner p { margin: 12px 0 0; color: rgba(255,255,255,.82); font-size: 16px; }
.portal-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.portal-section { padding: 66px 0 20px; }
.portal-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.portal-heading > span { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 5px; }
.portal-heading > span svg { width: 19px; height: 19px; }
.portal-heading h2 { margin: 0; font-size: 28px; line-height: 1.2; }
.portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 38px; }
.portal-entry { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.portal-entry strong { font-size: 15px; }
.portal-icon { width: 72px; height: 72px; display: grid; place-items: center; color: white; border-radius: 8px; box-shadow: 0 10px 24px rgba(23,45,56,.11); transition: transform .2s ease, box-shadow .2s ease; }
.portal-entry:hover .portal-icon { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,45,56,.16); }
.portal-icon svg { width: 34px; height: 34px; }
.portal-icon.coral { background: var(--coral); }
.portal-icon.teal { background: var(--teal); }
.portal-icon.yellow { color: #705800; background: var(--yellow); }
.portal-icon.green { background: var(--green); }
.portal-icon.blue { background: var(--blue); }
.portal-icon.pink { background: var(--pink); }
.portal-icon.orange { background: #ef8a3c; }
.portal-icon.cyan { background: #14a6c9; }

.portal-feature-banners { padding: 54px 0 4px; display: grid; gap: 18px; }
.portal-wide-banner { min-height: 138px; padding: 26px 32px; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 22px; overflow: hidden; border: 1px solid rgba(23,45,56,.08); border-radius: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.portal-wide-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.consult-banner { background: #c9f1ed; }
.schedule-banner { background: #f9d9e5; }
.wide-banner-icon { width: 62px; height: 62px; display: grid; place-items: center; color: white; background: var(--teal); border-radius: 8px; }
.schedule-banner .wide-banner-icon { background: var(--pink); }
.wide-banner-icon svg { width: 29px; height: 29px; }
.portal-wide-banner small, .portal-wide-banner strong, .portal-wide-banner em { display: block; font-style: normal; }
.portal-wide-banner small { color: var(--coral); font-size: 10px; font-weight: 900; }
.portal-wide-banner strong { margin-top: 4px; font-size: 27px; line-height: 1.2; }
.portal-wide-banner em { margin-top: 5px; color: var(--muted); font-size: 12px; }
.portal-wide-banner > svg { width: 25px; height: 25px; }

.portal-campus { padding-bottom: 52px; }
.portal-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.portal-image-card { min-height: 300px; position: relative; overflow: hidden; border-radius: 8px; background: #e7efed; }
.portal-image-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.portal-image-card:hover img { transform: scale(1.035); }
.portal-image-card::after { content: ""; position: absolute; inset: 55% 0 0; background: rgba(11,42,51,.5); }
.portal-image-card > span { position: absolute; z-index: 1; left: 20px; bottom: 18px; padding: 7px 11px; color: white; font-size: 20px; font-weight: 950; border-radius: 4px; }
.label-yellow { background: #d79a00; }
.label-coral { background: var(--coral); }
.label-pink { background: var(--pink); }
.label-teal { background: var(--teal); }
.portal-signoff { margin: 0; padding: 2px 0 56px; color: #9aa9ad; text-align: center; font-size: 13px; }
.portal-home .site-footer { min-height: 130px; }

.module-hero {
  min-height: 330px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.module-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(10,39,48,.78); }
.module-hero::after { content: ""; position: absolute; z-index: -1; width: 38%; height: 42px; right: -3%; bottom: 36px; background: var(--module-color, var(--coral)); transform: rotate(-4deg); }
.module-hero-inner { width: min(1240px, 90%); margin: 0 auto; padding: 62px 0 52px; }
.module-title-row { display: flex; align-items: center; gap: 18px; }
.module-title-icon { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: var(--module-color, var(--coral)); border-radius: 5px; }
.module-title-icon svg { width: 25px; height: 25px; }
.module-hero h1 { margin: 0; font-size: 58px; line-height: 1.05; font-weight: 950; }
.module-hero-inner > p { max-width: 700px; margin: 18px 0 0; color: rgba(255,255,255,.78); font-size: 16px; }
.module-report { --module-color: var(--coral); background-image: url("assets/campus-life.jpg"); }
.module-map { --module-color: var(--teal); background-image: url("assets/campus-hero.jpg"); }
.module-dorm { --module-color: #d79a00; background-image: url("assets/dorm-campus-view.png"); background-position: center 55%; }
.module-food { --module-color: var(--green); background-image: url("assets/food-hall.jpg"); }
.module-study { --module-color: var(--blue); background-image: url("assets/library.jpg"); }
.module-clubs { --module-color: var(--pink); background-image: url("assets/club-campus.jpg"); }
.module-major { --module-color: var(--coral); background-image: url("assets/majors-sundial.png"); background-position: center 58%; }
.module-transfer { --module-color: var(--teal); background-image: url("assets/campus-hero.jpg"); }

.module-switcher-wrap { display: none; }
.module-switcher { min-height: 92px; display: grid; grid-template-columns: repeat(8, 1fr); }
.module-switcher { scrollbar-width: none; }
.module-switcher::-webkit-scrollbar { display: none; }
.module-switcher a { min-width: 0; padding: 14px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 800; border-right: 1px solid var(--line); }
.module-switcher a:first-child { border-left: 1px solid var(--line); }
.module-switcher a:hover, .module-switcher a[aria-current="page"] { color: var(--ink); background: #f3f7f5; }
.mini-icon { width: 32px; height: 32px; display: grid; place-items: center; color: white; border-radius: 4px; }
.mini-icon svg { width: 16px; height: 16px; }
.mini-icon.coral { background: var(--coral); }
.mini-icon.teal { background: var(--teal); }
.mini-icon.yellow { color: var(--ink); background: var(--yellow); }
.mini-icon.green { background: var(--green); }
.mini-icon.blue { background: var(--blue); }
.mini-icon.pink { background: var(--pink); }

.detail-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.detail-media { min-height: 420px; overflow: hidden; background: #e9f0ed; }
.detail-media img { width: 100%; height: 100%; min-height: 420px; display: block; object-fit: cover; }
.detail-copy h2 { margin: 0; font-size: 42px; line-height: 1.15; }
.detail-copy > p:not(.kicker) { color: var(--muted); }
.detail-list { margin-top: 28px; display: grid; gap: 10px; }
.detail-list > div { min-height: 64px; padding: 13px 15px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 12px; background: #edf3f1; }
.detail-list > div > svg { width: 19px; height: 19px; color: var(--teal); }
.detail-list strong, .detail-list span { display: block; }
.detail-list strong { font-size: 13px; }
.detail-list span { color: var(--muted); font-size: 11px; }
.module-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.module-actions .button-dark { width: auto; }

.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.map-card { margin: 0; overflow: hidden; background: white; border: 1px solid var(--line); }
.map-card img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: contain; background: #edf3f1; }
.map-card figcaption { padding: 20px; }
.map-card strong, .map-card span { display: block; }
.map-card strong { font-size: 20px; }
.map-card span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.schedule-card { padding: 28px; background: white; border-top: 5px solid var(--blue); box-shadow: 0 12px 34px rgba(23,45,56,.07); }
.schedule-card:last-child { border-top-color: var(--coral); }
.schedule-card h2 { margin: 0; font-size: 28px; }
.schedule-card ol { margin: 22px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.schedule-card li { padding: 10px 12px; display: flex; justify-content: space-between; gap: 18px; background: #edf3f1; font-size: 12px; }
.schedule-card li strong { color: var(--coral); }
.gallery-pair { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.gallery-pair img { width: 100%; height: 420px; display: block; object-fit: cover; }
.food-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.food-gallery figure { min-height: 250px; margin: 0; overflow: hidden; background: #e7efed; }
.food-gallery figure:first-child { grid-column: span 7; grid-row: span 2; min-height: 514px; }
.food-gallery figure:nth-child(2) { grid-column: span 5; }
.food-gallery figure:nth-child(3) { grid-column: span 5; }
.food-gallery figure:nth-child(n+4) { grid-column: span 4; }
.food-gallery img { width: 100%; height: 100%; min-height: 250px; display: block; object-fit: cover; transition: transform .35s ease; }
.food-gallery figure:hover img { transform: scale(1.025); }
.club-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.club-gallery figure { min-height: 250px; margin: 0; position: relative; overflow: hidden; background: #e7efed; }
.club-gallery figure:first-child { grid-column: span 7; grid-row: span 2; min-height: 514px; }
.club-gallery figure:nth-child(2), .club-gallery figure:nth-child(3) { grid-column: span 5; }
.club-gallery figure:nth-child(n+4) { grid-column: span 4; }
.club-gallery img { width: 100%; height: 100%; min-height: 250px; display: block; object-fit: cover; transition: transform .35s ease; }
.club-gallery figure:hover img { transform: scale(1.025); }
.club-gallery figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 38px 18px 16px; color: white; background: linear-gradient(transparent, rgba(10,39,48,.82)); }
.club-gallery figcaption strong, .club-gallery figcaption span { display: block; }
.club-gallery figcaption strong { font-size: 18px; line-height: 1.2; }
.club-gallery figcaption span { margin-top: 4px; color: rgba(255,255,255,.8); font-size: 11px; }

@media (max-width: 920px) {
  .module-switcher { overflow-x: auto; grid-template-columns: repeat(8, minmax(82px, 1fr)); }
  .detail-split { grid-template-columns: 1fr; gap: 34px; }
  .detail-media, .detail-media img { min-height: 320px; }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 1080px) {
  .hero-content { padding-right: 200px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 255px; gap: 32px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .major-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist-section { grid-template-columns: 1fr; gap: 35px; }
  .life-panel { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .consult-page { grid-template-columns: 1fr 360px; gap: 54px; }
}

@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .site-header { padding: 0 18px; backdrop-filter: none; }
  .main-nav { height: 64px; position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: rgba(255,253,248,.98); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .main-nav a { padding: 21px 2px 17px; text-align: center; font-size: 11px; white-space: nowrap; }
  .main-nav a::after { left: 22%; right: 78%; top: 0; bottom: auto; height: 3px; }
  .main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a[aria-current="page"]::after { right: 22%; }
  .hero { min-height: calc(100svh - var(--header-h) - 48px); }
  .hero-content { width: 90%; padding: 72px 0 128px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-overlay { background: rgba(9, 34, 42, .75); }
  .hero::after { inset: auto -18vw -24vh 25vw; opacity: .72; }
  .hero-facts div { min-width: 0; flex: 1; padding-right: 14px; margin-right: 14px; }
  .notice-inner { width: 90%; min-height: 48px; }
  .notice-inner p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .notice-inner a { display: none; }
  .content-layout { width: 90%; display: block; }
  .consult-rail { display: none; }
  .section { padding: 76px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .life-panel { grid-template-columns: 1fr; }
  .life-image { min-height: 320px; }
  .major-tools { grid-template-columns: 1fr; }
  .major-select { justify-content: space-between; }
  .major-select select { width: 72%; max-width: none; }
  .major-count { justify-self: start; }
  .transfer-head { grid-template-columns: 1fr; }
  .policy-strip { grid-template-columns: 1fr; }
  .policy-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .policy-strip > div:last-child { border-bottom: 0; }
  .transfer-timeline { grid-template-columns: 1fr 1fr; gap: 12px; }
  .transfer-foot { align-items: flex-start; flex-direction: column; }
  .transfer-foot > div { width: 100%; justify-content: space-between; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .mobile-consult { position: fixed; z-index: 45; right: 16px; bottom: 16px; width: 52px; height: 52px; padding: 0; display: grid; place-items: center; color: white; background: var(--coral); border: 0; border-radius: 50%; box-shadow: 0 12px 30px rgba(23,45,56,.25); cursor: pointer; }
  .mobile-consult svg { width: 23px; height: 23px; }
  .mobile-consult span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .site-footer { padding-bottom: 100px; }
  .page-hero { min-height: 360px; }
  .page-hero h1 { font-size: 48px; }
  .page-hero-inner > p:not(.eyebrow) { font-size: 15px; }
  .home-contact-band .page-container { align-items: flex-start; flex-direction: column; }
  .consult-page { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .consult-page-qr { width: min(430px, 100%); justify-self: center; }
  .consult-links-band .page-container { grid-template-columns: 1fr; }
  .mobile-consult { bottom: 80px; }
  .portal-home .main-nav { display: none; }
  .portal-home .site-footer { padding-bottom: 40px; }
  .portal-banner { width: calc(100% - 24px); min-height: 230px; margin-top: 12px; }
  .portal-banner h1 { font-size: 40px; }
  .portal-shell { width: calc(100% - 28px); }
  .portal-section { padding-top: 48px; }
  .portal-heading { margin-bottom: 28px; }
  .portal-grid { row-gap: 32px; }
  .portal-icon { width: 60px; height: 60px; }
  .portal-icon svg { width: 29px; height: 29px; }
  .portal-feature-banners { padding-top: 44px; }
  .portal-image-card { min-height: 220px; }
}

@media (max-width: 560px) {
  .brand strong { font-size: 16px; }
  .hero-content { padding-top: 52px; }
  .hero-copy { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { display: none; }
  .notice-label { font-size: 0; }
  .notice-label svg { width: 18px; height: 18px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 94px; padding: 16px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 22px; grid-template-rows: 1fr 1fr; column-gap: 13px; align-items: center; }
  .guide-card::before, .guide-index { display: none; }
  .guide-icon { width: 38px; height: 38px; grid-row: 1 / span 2; border-radius: 4px; }
  .guide-icon svg { width: 18px; height: 18px; }
  .guide-card strong { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-size: 17px; }
  .guide-card > span:not(.guide-icon):not(.guide-index) { grid-column: 2; grid-row: 2; align-self: start; margin: 1px 0 0; font-size: 11px; }
  .guide-arrow { position: static; grid-column: 3; grid-row: 1 / span 2; justify-self: end; }
  .major-grid { grid-template-columns: 1fr; }
  .major-card { min-height: 200px; }
  .life-tabs button { min-width: 126px; justify-content: center; }
  .source-link { width: 100%; justify-content: center; }
  .transfer-timeline { grid-template-columns: 1fr; }
  .transfer-timeline > div { min-height: 130px; }
  .transfer-foot > div { align-items: stretch; flex-direction: column; }
  .timeline-band { margin-left: -5.5%; margin-right: -5.5%; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item { min-height: 110px; }
  .timeline-item strong { margin-top: 16px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 220px; }
  .page-hero h1 { font-size: 42px; }
  .page-hero::after { width: 62%; }
  .home-contact-band h2, .consult-page-copy h2 { font-size: 30px; }
  .module-hero { min-height: 285px; }
  .module-hero-inner { padding: 50px 0 42px; }
  .module-title-row { gap: 12px; }
  .module-title-icon { width: 42px; height: 42px; }
  .module-title-icon svg { width: 20px; height: 20px; }
  .module-hero h1 { font-size: 38px; }
  .module-hero-inner > p { font-size: 14px; }
  .module-switcher { width: 100%; margin: 0; }
  .module-switcher a { min-height: 76px; padding: 10px 4px; }
  .mini-icon { width: 28px; height: 28px; }
  .mini-icon svg { width: 14px; height: 14px; }
  .detail-copy h2 { font-size: 30px; }
  .detail-media, .detail-media img { min-height: 240px; }
  .map-grid, .schedule-grid, .gallery-pair { grid-template-columns: 1fr; }
  .gallery-pair img { height: 260px; }
  .food-gallery { grid-template-columns: 1fr; gap: 10px; }
  .food-gallery figure,
  .food-gallery figure:first-child,
  .food-gallery figure:nth-child(2),
  .food-gallery figure:nth-child(3),
  .food-gallery figure:nth-child(n+4) { grid-column: 1; grid-row: auto; min-height: 230px; }
  .food-gallery img { min-height: 230px; aspect-ratio: 4 / 3; }
  .club-gallery { grid-template-columns: 1fr; gap: 10px; }
  .club-gallery figure,
  .club-gallery figure:first-child,
  .club-gallery figure:nth-child(2),
  .club-gallery figure:nth-child(3),
  .club-gallery figure:nth-child(n+4) { grid-column: 1; grid-row: auto; min-height: 230px; }
  .club-gallery img { min-height: 230px; aspect-ratio: 4 / 3; }
  .club-gallery figcaption { padding: 34px 14px 12px; }
  .club-gallery figcaption strong { font-size: 16px; }
  .club-gallery figcaption span { font-size: 10px; }
  .portal-banner { min-height: 210px; background-position: center 44%; }
  .portal-banner-copy { padding: 28px 12px; }
  .portal-banner-copy > span { font-size: 9px; }
  .portal-banner h1 { margin-top: 11px; font-size: 30px; }
  .portal-banner p { margin-top: 8px; font-size: 12px; }
  .portal-heading { gap: 8px; margin-bottom: 24px; }
  .portal-heading > span { width: 29px; height: 29px; }
  .portal-heading > span svg { width: 16px; height: 16px; }
  .portal-heading h2 { font-size: 21px; }
  .portal-grid { row-gap: 29px; }
  .portal-entry { gap: 8px; }
  .portal-entry strong { font-size: 13px; white-space: nowrap; }
  .portal-icon { width: 55px; height: 55px; border-radius: 7px; }
  .portal-icon svg { width: 27px; height: 27px; }
  .portal-feature-banners { gap: 12px; }
  .portal-wide-banner { min-height: 108px; padding: 18px; grid-template-columns: 48px 1fr 18px; gap: 13px; }
  .wide-banner-icon { width: 48px; height: 48px; }
  .wide-banner-icon svg { width: 23px; height: 23px; }
  .portal-wide-banner strong { font-size: 20px; }
  .portal-wide-banner em { font-size: 10px; }
  .portal-image-grid { gap: 8px; }
  .portal-image-card { min-height: 155px; }
  .portal-image-card > span { left: 10px; bottom: 10px; padding: 5px 8px; font-size: 14px; }
  .portal-signoff { padding-bottom: 42px; font-size: 12px; }
  .guide-dialog, .consult-dialog { padding: 38px 24px; }
  .dialog-note { margin: 26px -24px -38px; padding: 17px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
