:root {
  color-scheme: light;
  --ink: #222720;
  --muted: #62665b;
  --yellow: #ffdc36;
  --pale-yellow: #fff6cf;
  --paper: #faf9f4;
  --line: #dfded5;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #0a775b; outline-offset: 4px; }
button:disabled { cursor: default; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.icon-bank { display: none; }
.icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; inset: 8px auto auto 8px; z-index: 4; padding: 10px 15px; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }

.utility { background: var(--yellow); }
.utility-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 20px; }
.motto { font-size: .81rem; font-weight: 700; letter-spacing: .15em; }
.utility-links { display: flex; align-items: center; }
.utility-links button { display: flex; align-items: center; gap: 6px; border: 0; border-inline-start: 1px solid #6d55053d; background: transparent; padding: 0 14px; font-size: .81rem; line-height: 1; white-space: nowrap; }
.utility-links button:first-child { border: 0; }
.utility-links button:last-child { padding-inline-end: 0; }
.utility-links button:hover { text-decoration: underline; text-underline-offset: 3px; }
.utility-links .icon { width: 15px; height: 15px; }
.masthead { background: #fffef9; position: relative; z-index: 2; }
.mast-inner { display: flex; min-height: 86px; align-items: center; gap: clamp(16px, 2.5vw, 40px); }
.brand { display: inline-flex; align-items: center; flex: none; gap: 13px; }
.seal { width: 58px; height: 58px; position: relative; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); border: 1px solid #463a14; box-shadow: inset 0 0 0 3px var(--yellow), inset 0 0 0 4px #463a14; overflow: hidden; }
.seal > span { position: absolute; inset: 6px 0 auto; text-align: center; font: 700 7px/1 Georgia, serif; letter-spacing: .16em; }
.seal img { width: 48px; position: absolute; top: 6px; }
.wordmark { display: grid; gap: 5px; }
.wordmark strong { font-family: "STZhongsong", "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif; font-size: 1.91rem; line-height: 1.03; font-weight: 900; letter-spacing: .08em; }
.wordmark small { font: 800 .62rem/1.1 system-ui, sans-serif; letter-spacing: .16em; }
.navigation { margin-left: auto; min-height: 86px; display: flex; justify-content: flex-end; align-items: stretch; gap: clamp(13px, 1.88vw, 28px); white-space: nowrap; }
.navigation > * { display: grid; place-items: center; border: 0; padding: 0 2px; background: transparent; font-size: .96rem; font-weight: 650; position: relative; }
.navigation > *:hover::after, .navigation > .is-active::after { content: ""; position: absolute; height: 4px; bottom: 0; inset-inline: 0; background: var(--yellow); }
.header-actions { display: flex; gap: 8px; margin-left: auto; }
.search-button, .menu-button { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; border: 1px solid #dfded5; background: transparent; }
.search-button:hover, .menu-button:hover { background: var(--pale-yellow); border-color: var(--yellow); }
.menu-button { display: none; }

.hero { position: relative; min-height: clamp(465px, 37vw, 640px); display: grid; isolation: isolate; color: white; background: #33382b; overflow: hidden; }
.hero-art, .hero-scrim { position: absolute; inset: 0; z-index: -1; }
.hero-art > img { height: 100%; object-fit: cover; object-position: 64% 50%; }
.hero-pet { position: absolute; width: clamp(280px, 30vw, 465px); right: 11%; bottom: 7%; }
.hero-pet::before { content: ""; position: absolute; z-index: -1; inset: auto 17% 0 24%; height: 5%; border-radius: 50%; background: #2d220a76; filter: blur(10px); }
.hero-art[data-art="1"] img { object-position: center 53%; }
.hero-art[data-art="2"] img { object-position: center 52%; }
.hero-scrim { background: linear-gradient(90deg, #15170ed1, #1a1c128a 28%, #1e1b161c 61%, transparent 74%), linear-gradient(0deg, #18170d76, transparent 31%); }
.hero-inner { position: relative; display: flex; align-items: center; padding-block: 48px 75px; }
.hero-copy { max-width: 570px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; font-size: 1rem; letter-spacing: .15em; font-weight: 700; margin: 0 0 18px; }
.hero-kicker::before { content: ""; display: block; width: 27px; height: 3px; background: var(--yellow); }
.hero h1 { font-family: "STZhongsong", "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif; font-size: clamp(3.4rem, 5.65vw, 5.85rem); font-weight: 900; line-height: 1.05; letter-spacing: .025em; margin: 0; text-shadow: 0 3px 20px #17160840; }
.hero-description { color: #fff8e7; font-size: 1.06rem; margin: 18px 0 24px; line-height: 1.6; }
.hero-cta { border: 0; background: var(--yellow); padding: 13px 21px; min-height: 46px; font-weight: 750; color: var(--ink); }
.hero-cta:hover { background: #ffeb83; }
.hero-controls { display: flex; align-items: center; gap: 16px; position: absolute; inset: auto auto 20px 0; }
.slide-dots, .slide-buttons { display: flex; align-items: center; gap: 8px; }
.slide-dots button { display: grid; place-items: center; border: 0; background: transparent; padding: 0; min-width: 22px; min-height: 33px; }
.slide-dots button::after { content: ""; width: 10px; height: 4px; background: #ffffffa8; transition: width .18s; }
.slide-dots button[aria-current="true"]::after { width: 30px; background: var(--yellow); }
.slide-buttons button { display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid #ffffff94; border-radius: 50%; background: #27281975; color: white; }
.slide-buttons button:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.slide-buttons .icon { width: 17px; height: 17px; }
.previous { transform: rotate(180deg); }
.hero-location { position: absolute; right: max(48px, calc((100% - 1240px) / 2)); bottom: 30px; font-size: .83rem; letter-spacing: .08em; font-weight: 650; }

.section { padding-block: 51px; }
.updates-grid { display: grid; grid-template-columns: minmax(0, 2.08fr) minmax(264px, 1fr); gap: clamp(25px, 3.4vw, 50px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; position: relative; }
.section-heading::after { content: ""; position: absolute; width: 47px; height: 3px; background: var(--yellow); left: 0; bottom: -1px; }
.section-heading h2 { margin: 0 0 5px; font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.17; letter-spacing: .07em; }
.section-heading span { display: block; font: 760 .72rem/1.3 system-ui, sans-serif; letter-spacing: .15em; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 6px 0 5px; background: transparent; font-size: .87rem; font-weight: 700; white-space: nowrap; }
.more .icon { width: 17px; height: 17px; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 25px; }
.lead-story { background: #fffefa; border: 1px solid var(--line); padding: 0; text-align: start; transition: border-color .18s; }
.lead-story:hover { border-color: #9e8215; }
.lead-photo { display: block; position: relative; overflow: hidden; }
.lead-photo img { aspect-ratio: 1.87; object-fit: cover; object-position: center 47%; transition: transform .25s; }
.lead-story:hover img, .campus-card:hover img { transform: scale(1.045); }
.lead-photo span { position: absolute; top: 12px; left: 12px; padding: 5px 9px; background: var(--yellow); font-size: .76rem; font-weight: 750; }
.lead-details { display: grid; gap: 5px; padding: 12px 13px 16px; }
.lead-details time, .news-list time { font: 650 .75rem/1.3 system-ui, sans-serif; letter-spacing: .045em; color: var(--muted); }
.lead-details strong { font-size: 1.06rem; line-height: 1.45; }
.news-list, .notice-list { display: grid; align-content: start; }
.news-item, .notice-item { width: 100%; display: grid; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: start; padding: 13px 0; }
.news-item:first-child, .notice-item:first-child { padding-top: 0; }
.news-item { gap: 6px; }
.news-item span, .notice-item > span:last-child { font-size: .96rem; font-weight: 650; line-height: 1.48; }
.news-item:hover span, .notice-item:hover > span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.notice-column { background: #fff5cd; padding: 22px 23px 20px; margin-top: -10px; }
.notice-column .section-heading { border-color: #e4d8a2; margin-bottom: 16px; }
.notice-column h2 { font-size: clamp(1.43rem, 2vw, 1.8rem); }
.notice-column .more { padding: 7px; border: 1px solid #dfcf8f; }
.notice-column .more:hover { background: var(--yellow); }
.notice-item { grid-template-columns: 48px 1fr; gap: 12px; align-items: center; border-color: #e6d9a6; padding: 11px 0; }
.notice-item:last-child { border-bottom: 0; padding-bottom: 0; }
.date-box { display: grid; place-items: center; gap: 0; min-height: 45px; color: #493a12; background: #ffed9e; font-family: system-ui, sans-serif; }
.date-box strong { font-size: 1.2rem; line-height: 1; align-self: end; }
.date-box small { font-size: .65rem; line-height: 1.2; font-weight: 650; }

.resources { background: var(--yellow); }
.resources-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.resources-grid button { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px 12px; min-height: 94px; border: 0; border-inline-end: 1px solid #66501636; background: transparent; text-align: start; }
.resources-grid button:first-child { border-inline-start: 1px solid #66501636; }
.resources-grid button:hover { background: #ffffff40; }
.resources-grid .icon { width: 30px; height: 30px; }
.resources-grid span { display: grid; gap: 4px; }
.resources-grid small { font-size: .81rem; }
.campus { background: #fffef9; }
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.campus-card { position: relative; display: grid; border: 0; padding: 0; overflow: hidden; background: var(--pale-yellow); aspect-ratio: 1.74; text-align: start; }
.campus-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #18170dd9, transparent 56%); }
.campus-card img { height: 100%; min-height: 0; object-fit: cover; transition: transform .25s; }
.campus-card span { position: absolute; bottom: 14px; left: 17px; color: #fff; z-index: 1; font-size: 1.12rem; font-weight: 750; }
.mascot-card { background: radial-gradient(circle at 50% 58%, #fffadd 0 28%, #ffe668 29% 53%, #ffdc36 54%); }
.mascot-card img { object-fit: contain; }
.mascot-card::after { background: linear-gradient(0deg, #5943109e, transparent 36%); }
.school { background: var(--paper); }
.school-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(26px, 5vw, 73px); }
.school p { line-height: 1.9; color: var(--muted); max-width: 36em; }
.department-list { display: grid; gap: 7px; }
.department-list button { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); text-align: start; background: #fffef9; padding: 11px 13px; }
.department-list button:hover { border-color: #9e8215; }
.department-list .icon { width: 18px; height: 18px; }
.footer { background: #25291f; color: #fff9e7; padding-block: 29px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner div { display: grid; gap: 4px; }
.footer-inner strong { font-size: 1.25rem; letter-spacing: .09em; }
.footer-inner small, .footer-inner p { color: #efead4; font-size: .81rem; }
.footer-inner small { letter-spacing: .1em; }
.footer-inner a { font-size: .87rem; text-decoration: underline; text-underline-offset: 4px; }

.detail-dialog { width: min(100% - 30px, 660px); max-height: min(86dvh, 800px); border: 0; border-top: 6px solid var(--yellow); padding: 0; margin: auto; color: var(--ink); background: #fffef9; box-shadow: 0 15px 80px #14170f55; }
.detail-dialog::backdrop { background: #191d16a3; }
.dialog-inner { padding: clamp(22px, 4vw, 40px); }
.dialog-close { position: absolute; inset: 13px 13px auto auto; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.dialog-close:hover { background: var(--pale-yellow); }
.dialog-type { color: var(--muted); font-size: .87rem; margin: 0 40px 8px 0; }
.dialog-inner h2 { margin: 0 38px 17px 0; line-height: 1.35; font-size: clamp(1.34rem, 4vw, 2rem); }
.dialog-inner p { line-height: 1.8; }
.story-picture { max-height: 265px; object-fit: cover; margin-bottom: 18px; }
.story-picture.mascot { object-fit: contain; height: 190px; background: var(--pale-yellow); }
.dialog-list { display: grid; margin-top: 10px; }
.dialog-list button { padding: 12px 0; text-align: start; border: 0; border-bottom: 1px solid var(--line); background: transparent; line-height: 1.5; }
.dialog-list button:hover { text-decoration: underline; text-underline-offset: 4px; }
.dialog-list time { color: var(--muted); margin: 0 8px 0 0; font-size: .78rem; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; border: 1px solid #b8b5a4; background: white; padding: 10px; }
.search-form button { background: var(--yellow); padding: 10px 15px; border: 0; font-weight: 750; }
.search-status { font-size: .88rem; color: var(--muted); }
.no-script { position: fixed; bottom: 0; padding: 10px; background: var(--yellow); }

@media (max-width: 1050px) {
  .wrap { width: min(100% - 54px, 1240px); }
  .mast-inner { gap: 15px; }
  .navigation { gap: 13px; }
  .navigation > * { font-size: .88rem; }
  .wordmark strong { font-size: 1.65rem; }
  .hero-location { right: 27px; }
}
@media (max-width: 850px) {
  .mast-inner { min-height: 72px; }
  .seal { width: 51px; height: 51px; }
  .seal img { width: 43px; top: 5px; }
  .menu-button { display: grid; }
  .navigation { display: none; min-height: unset; position: absolute; inset: 100% 0 auto; padding: 10px 27px 18px; background: #fffef9; box-shadow: 0 16px 22px #24261424; }
  .navigation.is-open { display: grid; grid-template-columns: repeat(2, 1fr); }
  .navigation > * { padding: 10px 8px; justify-items: start; font-size: .95rem; }
  .navigation > *:hover, .navigation > .is-active { background: var(--pale-yellow); }
  .navigation > *::after { display: none; }
  .hero { min-height: 470px; }
  .hero-art[data-art="0"] img { object-position: 62% 50%; }
  .hero-pet { right: 4%; bottom: 10%; }
  .updates-grid { grid-template-columns: minmax(0, 1fr); }
  .notice-column { margin-top: 0; }
  .notice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 23px; }
  .notice-item:first-child, .notice-item:last-child { padding-block: 11px; }
  .notice-item:last-child { border-bottom: 1px solid #e6d9a6; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 34px); }
  .utility-inner { min-height: 34px; justify-content: center; }
  .motto { display: none; }
  .utility-links button { padding-inline: 11px; }
  .utility-links button:last-child { padding-inline-end: 11px; }
  .mast-inner { min-height: 69px; }
  .search-button, .menu-button { width: 38px; height: 38px; }
  .brand { gap: 9px; }
  .wordmark small { font-size: .54rem; }
  .hero { min-height: 446px; }
  .hero-inner { padding-top: 158px; padding-bottom: 67px; align-items: end; }
  .hero-art[data-art="0"] img { object-position: 71% center; }
  .hero-pet { width: min(56%, 230px); right: -1%; bottom: 39%; }
  .hero-scrim { background: linear-gradient(0deg, #191b10f2, #1c1c1397 40%, transparent 84%), linear-gradient(90deg, #191b1055, transparent 65%); }
  .hero-kicker { font-size: .85rem; margin-bottom: 9px; }
  .hero h1 { font-size: clamp(2.6rem, 10.8vw, 3.25rem); }
  .hero-description { font-size: .93rem; margin-block: 10px 13px; }
  .hero-cta { min-height: 40px; padding: 8px 12px; font-size: .91rem; }
  .hero-controls { bottom: 14px; }
  .hero-location { right: 17px; bottom: 24px; font-size: .7rem; }
  .section { padding-block: 34px; }
  .news-grid { grid-template-columns: 1fr; gap: 20px; }
  .notice-list { grid-template-columns: 1fr; }
  .notice-item:last-child { border: 0; padding-bottom: 0; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid button { justify-content: flex-start; padding: 16px 10px; min-height: 76px; }
  .resources-grid button:nth-child(3) { border-inline-start: 1px solid #66501636; }
  .resources-grid button:nth-child(-n+2) { border-bottom: 1px solid #66501636; }
  .campus-grid, .school-grid { grid-template-columns: 1fr; }
  .campus-grid { gap: 13px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 1; width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
