/* ==========================================================================
   奶龙四中 · 搞怪限定主题
   非官方演示 / 2026
   Loaded after style.css; overrides the editorial identity with a loud,
   round, sticker-covered Nailong look.
   ========================================================================== */

:root {
  --paper: #fff8e6;
  --paper-2: #fff0b8;
  --paper-3: #ffe27a;
  --ink: #2b2618;
  --ink-2: #3d3521;
  --muted: #7a6a4d;
  --cinnabar: #f26a1b;
  --cinnabar-d: #d45207;
  --jade: #4c8a3f;
  --jade-d: #2f5e2b;
  --gold: #ffd23f;
  --gold-soft: #ffe893;
  --line: rgba(43, 38, 24, 0.14);
  --line-strong: rgba(43, 38, 24, 0.3);
  --serif: "YouYuan", "幼圆", "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --shadow: 0 20px 50px -28px rgba(80, 60, 20, 0.42);
}

body {
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(43, 38, 24, 0.055) 1.4px, transparent 1.5px),
    radial-gradient(circle at 8% 2%, rgba(255, 210, 63, 0.46), transparent 26rem),
    radial-gradient(circle at 94% 8%, rgba(242, 106, 27, 0.13), transparent 30rem);
  background-size: 26px 26px, auto, auto;
  font-size: 16px;
}

body::before { opacity: 0.018; }

::selection { background: var(--cinnabar); color: #fff; }

h1, h2, h3, h4,
.hero-title,
.page-hero h1,
.article-head h1,
.prose h2,
.prose h3 {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.btn {
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 0 rgba(43, 38, 24, 0.16);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--cinnabar);
  color: #fff;
  box-shadow: 0 4px 0 var(--cinnabar-d);
}
.btn--primary:hover { background: #ff7f2f; }
.btn--ghost { background: #fffdf5; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--gold); border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--cinnabar); }
.btn--light { background: #fffdf5; color: var(--ink); border-color: var(--ink); }
.btn--light:hover { background: var(--gold); }

.tag {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--ink-2);
  font-weight: 600;
}
.tag--red { border-color: var(--cinnabar); color: var(--cinnabar-d); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--gold);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 6px 0 rgba(43, 38, 24, 0.08);
}
.topbar {
  background: var(--ink);
  color: rgba(255, 248, 230, 0.8);
}
.topbar__motto { color: rgba(255, 248, 230, 0.86); }
.topbar__motto span {
  display: inline-block;
  margin-right: 9px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cinnabar);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.08em;
  vertical-align: 1px;
}
.topbar__links a:hover,
.topbar__search:hover { color: var(--gold); }

.header-main { height: 96px; }
.site-header.is-scrolled .header-main { height: 76px; }

.brand { gap: 12px; }
.brand__seal {
  width: 58px;
  height: 58px;
  padding: 2px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #fffdf5;
  object-fit: cover;
  box-shadow: 3px 3px 0 rgba(43, 38, 24, 0.28);
  transform: rotate(-4deg);
}
.site-header.is-scrolled .brand__seal { width: 46px; height: 46px; }
.brand__cn {
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand__cn em {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: 3px;
}
.brand__en { font-size: 8px; color: rgba(43, 38, 24, 0.58); }

.main-nav__list { gap: 2px; }
.nav-link {
  height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.site-header.is-scrolled .nav-link { height: 40px; }
.nav-link::after { display: none; }
.nav-link:hover { background: #fffdf5; color: var(--ink); }
.nav-link[aria-current="page"] { background: var(--ink); color: var(--gold); }
.nav-drop {
  top: calc(100% + 10px);
  min-width: 200px;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: #fffdf5;
  box-shadow: 5px 5px 0 var(--ink);
}
.nav-drop::before { top: -16px; height: 16px; }
.nav-drop a { padding: 9px 14px; border-radius: 10px; font-weight: 600; }
.nav-drop a:hover { background: var(--gold); color: var(--ink); padding-left: 14px; }

.header-cta {
  height: 44px;
  padding: 0 19px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cinnabar);
  color: #fff;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
}
.header-cta:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.icon-btn {
  border: 2px solid var(--ink);
  background: #fffdf5;
  color: var(--ink);
}
.icon-btn:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }

.mobile-menu { background: var(--paper); }
.mobile-menu__label { color: var(--cinnabar-d); font-weight: 700; }
.mobile-nav > li > a { font-family: var(--serif); font-size: 27px; }
.mobile-menu__note { margin-top: 6px; font-size: 10px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: calc(100svh - 132px);
  background:
    radial-gradient(circle at 76% 30%, rgba(255, 255, 255, 0.45), transparent 22rem),
    linear-gradient(128deg, #fff9e8 0%, #fff3c4 58%, #ffe27a 100%);
  border-bottom: 3px solid var(--ink);
}
.hero-copy { padding-top: clamp(34px, 4.6vw, 62px); padding-bottom: clamp(28px, 4vw, 50px); }
.hero-copy::before { display: none; }

.hero-kicker {
  width: fit-content;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fffdf5;
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
}
.hero-kicker .dot { width: 8px; height: 8px; background: var(--cinnabar); }
.hero-kicker .dot::after { border-color: var(--cinnabar); }

.hero-title {
  margin-top: clamp(24px, 3.4vh, 38px);
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 9.6em;
}
.hero-title em {
  color: var(--cinnabar-d);
  background: linear-gradient(transparent 60%, rgba(255, 210, 63, 0.92) 60%);
  padding: 0 0.06em;
}
.hero-title em::after { display: none; }

.hero-lead {
  margin-top: clamp(18px, 2.6vh, 28px);
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.9;
}
.hero-actions { margin-top: clamp(24px, 3.4vh, 34px); }
.hero-meta { border-top: 2px dashed rgba(43, 38, 24, 0.22); }
.hero-meta__item strong { color: var(--ink); font-family: var(--serif); }
.hero-meta__item span { font-weight: 600; }
.hero-scroll { color: var(--muted); }

.hero-visual {
  min-width: 0;
  min-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, #ffe873 0%, #ffd23f 52%, #ffc21a 100%);
  border-left: 3px solid var(--ink);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 2.2px, transparent 2.2px);
  background-size: 34px 34px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-visual::after { display: none; }

.hero-visual__img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 100%;
  padding: 34px 18px 86px;
  object-fit: contain;
  object-position: 50% 62%;
  transform: none;
  filter: drop-shadow(0 26px 22px rgba(92, 58, 6, 0.25));
  transition: transform 0.5s var(--ease);
}
.hero-visual:hover .hero-visual__img { transform: translateY(-6px) rotate(-1.2deg); }

.hero-visual__frame {
  inset: 22px;
  z-index: 1;
  border: 2px dashed rgba(43, 38, 24, 0.3);
  border-radius: 30px;
}

.hero-sticker {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fffdf5;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-sticker--one { top: 9%; left: 7%; transform: rotate(-8deg); }
.hero-sticker--two { top: 6%; right: 6%; transform: rotate(7deg); background: var(--cinnabar); color: #fff; }

.hero-burst {
  position: absolute;
  z-index: 5;
  top: 13%;
  right: 9%;
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: 1;
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--ink);
  transform: rotate(12deg);
  clip-path: polygon(50% 0%, 61% 18%, 82% 12%, 78% 34%, 100% 50%, 78% 66%, 82% 88%, 61% 82%, 50% 100%, 39% 82%, 18% 88%, 22% 66%, 0% 50%, 22% 34%, 18% 12%, 39% 18%);
}

.hero-bubble {
  position: absolute;
  z-index: 5;
  left: 5%;
  bottom: 17%;
  max-width: 178px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: #fffdf5;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-2deg);
}
.hero-bubble::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -9px;
  width: 14px;
  height: 14px;
  background: #fffdf5;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}

.hero-caption { left: 30px; right: 30px; bottom: 18px; color: var(--ink); }
.hero-caption__title { font-size: 21px; }
.hero-caption__sub { color: rgba(43, 38, 24, 0.6); font-weight: 600; }
.hero-caption__index { color: var(--ink-2); }
.hero-side-note { color: rgba(43, 38, 24, 0.55); }

/* --------------------------------------------------------------------------
   Ticker and sections
   -------------------------------------------------------------------------- */

.ticker { background: var(--ink); border-bottom: 3px solid var(--ink); }
.ticker__label { background: var(--gold); color: var(--ink); font-weight: 800; }
.ticker__label::before { background: var(--cinnabar); }
.ticker__item { color: rgba(255, 248, 230, 0.84); }
.ticker__item time { color: var(--gold); }
.ticker__item:hover { color: var(--gold); }

.section-head h2 { font-weight: 800; }
.eyebrow { color: var(--cinnabar-d); font-weight: 700; }
.link-arrow { font-weight: 700; }

/* --------------------------------------------------------------------------
   News / posters
   -------------------------------------------------------------------------- */

.poster {
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: 5px 5px 0 rgba(43, 38, 24, 0.92);
}
.poster::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.26) 1.8px, transparent 1.8px);
  background-size: 26px 26px;
  opacity: 0.55;
}
.poster::after { background: radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.28), transparent 46%); }
.poster--jade { background: var(--jade); }
.poster--cinnabar { background: var(--cinnabar); }
.poster--gold { background: var(--gold); color: var(--ink); }
.poster--ink { background: var(--ink); }
.poster--clay { background: #c96b2c; }
.poster__label { border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 12px; font-weight: 700; }
.poster__num { font-family: var(--sans); font-weight: 800; }
.poster__char {
  right: -0.02em;
  bottom: -0.02em;
  font-size: clamp(150px, 18vw, 250px);
  line-height: 1;
  font-family: var(--serif);
}
.feature h3 { font-weight: 800; text-wrap: balance; }
.news-item:hover { background: rgba(255, 210, 63, 0.2); }
.tabs { border-bottom: 2px solid rgba(43, 38, 24, 0.12); }
.tab { font-weight: 800; }
.tab[aria-selected="true"] { color: var(--cinnabar-d); }
.tab::after { height: 3px; border-radius: 999px; }

/* --------------------------------------------------------------------------
   Belief / curriculum / campus / numbers / admissions
   -------------------------------------------------------------------------- */

.belief { background: var(--paper-2); border-block: 3px solid var(--ink); }
.belief-grid { gap: 18px; background: transparent; border: 0; }
.pillar {
  background: #fffdf5;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.pillar:hover { transform: translateY(-5px); background: var(--ink); color: var(--gold); }
.pillar__num { font-family: var(--sans); font-weight: 800; }
.pillar__char { color: rgba(43, 38, 24, 0.06); }
.pillar:hover .pillar__char { color: rgba(255, 210, 63, 0.12); }

.curriculum {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 210, 63, 0.12), transparent 22rem),
    var(--jade-d);
  border-block: 3px solid var(--ink);
}
.curriculum::before { content: "龙"; color: rgba(255, 210, 63, 0.055); }
.curriculum__quote { color: var(--gold); }
.course-list { border-top: 2px solid rgba(255, 248, 230, 0.2); }
.course-list li { border-bottom: 1px solid rgba(255, 248, 230, 0.16); }
.course-row:hover { background: rgba(255, 210, 63, 0.1); border-radius: 12px; }
.course-row h3 { font-weight: 800; }

.campus-card .poster { box-shadow: 5px 5px 0 var(--ink); }
.campus-card h3 { font-weight: 800; }

.numbers { background: #fff1b8; border-block: 3px solid var(--ink); }
.number strong { color: var(--cinnabar-d); text-shadow: 2px 2px 0 rgba(255, 210, 63, 0.55); }
.number em { color: var(--jade-d); font-weight: 700; }

.admissions { background: var(--cinnabar); border-block: 3px solid var(--ink); }
.admissions::before { content: "龙"; color: rgba(255, 248, 230, 0.1); }
.admissions-card {
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
}
.admissions-card::before { height: 6px; background: var(--gold); border-radius: 24px 24px 0 0; }
.admissions-card__head strong { font-weight: 800; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { background: #221d12; border-top: 3px solid var(--ink); }
.footer::before { content: "奶龙"; color: rgba(255, 210, 63, 0.04); letter-spacing: -0.04em; }
.footer__brand .brand__seal { border-color: var(--gold); }
.footer__brand .brand__cn { color: var(--paper); }
.footer__brand .brand__cn em { background: var(--gold); color: var(--ink); }
.footer__motto { color: var(--gold); }
.footer h4 { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255, 248, 230, 0.14); }

.to-top {
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
}
.to-top:hover { background: var(--cinnabar); color: #fff; }

/* --------------------------------------------------------------------------
   Page heroes and inner-page furniture
   -------------------------------------------------------------------------- */

.page-hero {
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.55), transparent 20rem),
    linear-gradient(135deg, #ffedaa 0%, #fff8e6 58%, #ffe27a 100%);
  border-bottom: 3px solid var(--ink);
}
.page-hero::before {
  background-image: radial-gradient(rgba(43, 38, 24, 0.09) 1.6px, transparent 1.7px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to right, black, transparent 78%);
  -webkit-mask-image: linear-gradient(to right, black, transparent 78%);
}
.page-hero__char { color: rgba(43, 38, 24, 0.07); }
.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(22px, 6vw, 92px);
  bottom: 18px;
  z-index: 1;
  width: clamp(86px, 9vw, 128px);
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--gold) url("../nailong-logo.png") center / cover no-repeat;
  box-shadow: 5px 5px 0 rgba(43, 38, 24, 0.35);
  transform: rotate(-8deg);
  pointer-events: none;
}
.page-hero h1 { font-weight: 800; }

.side-nav {
  border: 2px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: #fffdf5;
  box-shadow: 4px 4px 0 rgba(43, 38, 24, 0.85);
}
.side-nav h2 { background: var(--gold); color: var(--ink); border-bottom: 2px solid var(--ink); font-weight: 800; }
.side-nav a:hover { background: #fff3c4; color: var(--cinnabar-d); }
.side-nav a[aria-current="page"] { background: var(--ink); color: var(--gold); }
.side-card { border: 2px solid var(--ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
.side-card::before { content: "龙"; }

.prose { color: #4b412d; }
.prose h2::before { width: 4px; border-radius: 999px; }
.prose blockquote { border-left: 4px solid var(--cinnabar); border-radius: 0 16px 16px 0; }
.article-head__lead { border-left: 4px solid var(--gold); }
.article-cover .poster { border-radius: 24px; }

.listing-item:hover { background: rgba(255, 210, 63, 0.16); }
.filter-chips .chip { border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 700; }
.filter-chips .chip:hover { background: var(--gold); border-color: var(--ink); }
.listing-note { border-left-color: var(--cinnabar); }

.notice-callout {
  border: 2px dashed var(--cinnabar);
  border-radius: 16px;
  background: #fff3c4;
}
.course-tile, .life-card, .admission-step, .map-card, .day-schedule, .faq details, .contact-list {
  border-radius: 18px;
}
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fffdf5;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(242, 106, 27, 0.14);
}
.map-card { border: 2px solid var(--ink); box-shadow: 5px 5px 0 rgba(43, 38, 24, 0.2); }

.search-dialog__panel { border: 3px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); }
.search-form { border: 2px solid var(--ink); border-radius: 999px; }
.search-hit { border-radius: 12px; }
.search-hit:hover { background: #fff3c4; }

.not-found h1 { font-weight: 800; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .brand__en { display: none; }
  .brand__cn { font-size: 21px; }
  .nav-link { padding: 0 10px; font-size: 12.5px; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-top: 46px; }
  .hero-visual { min-height: 0; height: auto; width: 100%; aspect-ratio: 16 / 10; border-left: 0; border-top: 3px solid var(--ink); }
  .page-hero::after { width: 90px; bottom: 12px; }
}

@media (max-width: 900px) {
  .hero-title { font-size: clamp(44px, 7.6vw, 64px); }
  .hero-visual { min-height: 0; }
  .hero-sticker--one { top: 7%; }
  .hero-sticker--two { top: auto; bottom: 12%; }
  .hero-bubble { bottom: 14%; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .site-header { border-bottom-width: 3px; }
  .header-main { height: 78px; }
  .site-header.is-scrolled .header-main { height: 68px; }
  .brand { gap: 9px; }
  .brand__seal { width: 46px; height: 46px; border-width: 2px; }
  .site-header.is-scrolled .brand__seal { width: 42px; height: 42px; }
  .brand__cn { font-size: 18px; letter-spacing: 0.01em; }
  .brand__cn em { display: none; }
  .brand__en { display: none; }

  .hero-copy { padding: 28px 20px 30px; }
  .hero-kicker { font-size: 9px; padding: 6px 10px; box-shadow: 2px 2px 0 var(--ink); }
  .hero-title { margin-top: 22px; font-size: clamp(40px, 11vw, 54px); letter-spacing: -0.04em; }
  .hero-lead { margin-top: 18px; font-size: 14px; line-height: 1.85; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 46px; padding: 0 18px; font-size: 13px; }
  .hero-meta { gap: 22px; margin-top: 28px; }
  .hero-visual { min-height: 0; height: auto; aspect-ratio: 4 / 5; }
  .hero-visual__img { padding: 18px 8px 72px; }
  .hero-visual__frame { inset: 14px; border-radius: 22px; }
  .hero-sticker { padding: 5px 9px; border-width: 1.5px; font-size: 9.5px; box-shadow: 2px 2px 0 var(--ink); }
  .hero-sticker--one { top: 5%; left: 5%; }
  .hero-sticker--two { top: auto; bottom: 11%; right: 5%; }
  .hero-burst { top: 8%; right: 7%; width: 58px; font-size: 14px; text-shadow: 1px 1px 0 var(--ink); }
  .hero-bubble { left: 4%; bottom: 14%; max-width: 132px; padding: 8px 11px; border-width: 1.5px; font-size: 10.5px; box-shadow: 3px 3px 0 var(--ink); }
  .hero-bubble::after { left: 18px; width: 11px; height: 11px; border-width: 0 1.5px 1.5px 0; }
  .hero-caption { left: 20px; right: 20px; bottom: 10px; }
  .hero-caption__title { font-size: 16px; }
  .hero-caption__sub { font-size: 8px; }
  .hero-caption__index { font-size: 10px; }
  .hero-side-note, .hero-seal { display: none; }

  .page-hero::after { display: none; }
  .poster { border-radius: 20px; box-shadow: 3px 3px 0 var(--ink); }
  .pillar { border-radius: 20px; box-shadow: 3px 3px 0 var(--ink); }
  .admissions-card { border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(36px, 10.8vw, 46px); }
  .hero-meta__item strong { font-size: 25px; }
  .hero-bubble { display: none; }
}

/* --------------------------------------------------------------------------
   Maker credit + real-photo scrapbook
   -------------------------------------------------------------------------- */

.hero-credit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 14px;
  padding: 5px 10px;
  border: 1.5px dashed var(--ink);
  border-radius: 5px;
  background: rgba(255, 253, 245, 0.55);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(-1deg);
}
.hero-credit strong {
  color: var(--cinnabar);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.hero-credit small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.photo-section {
  background: #fff0b8;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}
.photo-section .section-head {
  align-items: end;
}
.photo-note {
  display: inline-block;
  padding: 9px 15px;
  border: 2px dashed var(--ink);
  border-radius: 999px;
  background: #fffdf5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  white-space: nowrap;
  transform: rotate(2deg);
}
.photo-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(22px, 3.2vw, 52px);
  align-items: start;
  margin-top: clamp(38px, 5vw, 66px);
}
.photo-card {
  position: relative;
  margin: 0;
  padding: 12px 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fffdf5;
  box-shadow: 7px 8px 0 var(--ink);
}
.photo-card--wide { margin-top: 24px; }
.photo-card--tilt-l { transform: rotate(-1.6deg); }
.photo-card--tilt-r { margin-top: 0; transform: rotate(1.4deg); }
.photo-card:nth-child(3) { margin-top: 54px; }
.photo-card__tape {
  position: absolute;
  z-index: 4;
  top: -13px;
  left: 50%;
  width: 88px;
  height: 24px;
  border: 1px solid rgba(43, 38, 24, 0.18);
  background: rgba(255, 210, 63, 0.82);
  transform: translateX(-50%) rotate(-2deg);
}
.photo-card__img {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  background: #e7ddc2;
}
.photo-card__img > img:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.55s var(--ease);
}
.photo-card--wide .photo-card__img > img:first-child {
  aspect-ratio: 16 / 11;
}
.photo-card:hover .photo-card__img > img:first-child {
  transform: scale(1.035);
}
.photo-card__mascot {
  position: absolute;
  z-index: 3;
  right: -10px;
  bottom: -16px;
  width: clamp(54px, 5.4vw, 84px);
  height: auto;
  transform: rotate(7deg);
  filter: drop-shadow(2px 3px 0 rgba(43, 38, 24, 0.25));
  pointer-events: none;
}
.photo-card__sticker {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  transform: rotate(-3deg);
}
.photo-card figcaption { padding: 14px 2px 0; }
.photo-card__index {
  color: var(--cinnabar);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.photo-card h3 {
  margin: 5px 0 0;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
  font-weight: 800;
  text-wrap: balance;
}
.photo-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
.mood-strip {
  display: grid;
  grid-template-columns: 190px repeat(3, 1fr);
  margin-top: clamp(44px, 5vw, 64px);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--gold);
  box-shadow: 5px 5px 0 var(--ink);
}
.mood-strip__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px;
  background: var(--ink);
  color: var(--paper);
}
.mood-strip__title span { font-size: 15px; font-weight: 800; letter-spacing: 0.03em; }
.mood-strip__title small { color: rgba(255, 248, 230, 0.62); font-size: 8px; letter-spacing: 0.14em; }
.mood {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-left: 2px dashed rgba(43, 38, 24, 0.35);
}
.mood__emoji {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.42));
}
.mood strong { display: block; font-size: 13px; }
.mood p { margin: 3px 0 0; color: #5b4b2c; font-size: 11.5px; line-height: 1.5; }
.photo-credit {
  margin-top: 18px;
  color: #6f5b38;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  text-align: right;
}

@media (max-width: 1080px) {
  .photo-grid { grid-template-columns: 1.15fr 1fr; }
  .photo-card:nth-child(3) {
    grid-column: 1 / -1;
    width: min(520px, 100%);
    margin-top: 10px;
  }
  .mood-strip { grid-template-columns: 170px repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .hero-credit { margin-top: 11px; font-size: 10px; }
  .photo-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 36px; }
  .photo-card,
  .photo-card--wide,
  .photo-card--tilt-l,
  .photo-card--tilt-r,
  .photo-card:nth-child(3) {
    width: 100%;
    margin-top: 0;
    transform: none;
  }
  .photo-card__img > img:first-child,
  .photo-card--wide .photo-card__img > img:first-child { aspect-ratio: 4 / 3; }
  .photo-note { font-size: 9px; padding: 7px 12px; }
  .mood-strip { grid-template-columns: 1fr 1fr; }
  .mood-strip__title { grid-column: 1 / -1; padding: 14px 18px; }
  .mood { border-top: 2px dashed rgba(43, 38, 24, 0.35); border-left: 0; }
  .mood:nth-child(2),
  .mood:nth-child(4) { border-left: 2px dashed rgba(43, 38, 24, 0.35); }
  .mood:nth-child(4) { grid-column: 1 / -1; border-left: 0; }
  .photo-credit { text-align: left; font-size: 10px; }
}

@media (max-width: 420px) {
  .photo-card__mascot { width: 62px; right: -7px; bottom: -12px; }
  .photo-card__sticker { font-size: 9px; }
  .mood { padding: 14px; gap: 9px; }
  .mood__emoji { font-size: 27px; }
}


/* --------------------------------------------------------------------------
   Abstract / ghost section
   -------------------------------------------------------------------------- */

.abstract-section {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: #fff8e6;
}
.abstract-section::before {
  content: "抽象";
  position: absolute;
  z-index: 0;
  top: 34px;
  right: -2vw;
  color: rgba(242, 106, 27, 0.06);
  font-size: clamp(220px, 32vw, 500px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
}
.abstract-section > .container {
  position: relative;
  z-index: 1;
}
.ghost-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding: 8px 0;
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--gold);
  transform: rotate(-0.6deg) scale(1.01);
}
.ghost-marquee__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  animation: ghost-marquee 28s linear infinite;
}
.ghost-marquee__track span { opacity: 0.88; }
.ghost-marquee__track b {
  padding: 2px 8px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--cinnabar);
  color: #fff8e6;
  font-weight: 800;
}
@keyframes ghost-marquee {
  to { transform: translateX(-50%); }
}

.abstract-head { max-width: 860px; }
.abstract-head h2 {
  margin-top: 12px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.abstract-head h2 em {
  color: var(--cinnabar);
  font-style: normal;
  background: linear-gradient(transparent 64%, rgba(255, 210, 63, 0.9) 64%);
  padding: 0 0.04em;
}
.abstract-head > p:last-child {
  max-width: 34em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.abstract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
  margin-top: clamp(34px, 4vw, 52px);
}
.abstract-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  overflow: hidden;
  padding: 54px 22px 26px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 7px 7px 0 var(--ink);
}
.abstract-card:nth-child(1) { transform: rotate(-1.2deg); }
.abstract-card:nth-child(2) { transform: rotate(0.8deg) translateY(14px); }
.abstract-card:nth-child(3) { transform: rotate(-0.5deg) translateY(4px); }
.abstract-card--yellow { background: var(--gold); color: var(--ink); }
.abstract-card--orange { background: var(--cinnabar); color: var(--paper); }
.abstract-card--green { background: var(--jade); color: var(--paper); }
.abstract-card__tag {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 4px 9px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.78;
}
.abstract-card__char {
  position: absolute;
  z-index: 0;
  top: 4%;
  right: -0.06em;
  font-size: clamp(150px, 17vw, 240px);
  font-weight: 900;
  line-height: 0.8;
  opacity: 0.16;
  pointer-events: none;
}
.abstract-card--orange .abstract-card__char,
.abstract-card--green .abstract-card__char { opacity: 0.2; }
.abstract-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.36;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.abstract-card p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  opacity: 0.82;
}
.abstract-meter {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: clamp(42px, 5vw, 60px);
  padding: 24px 26px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 6px 6px 0 var(--gold);
}
.abstract-meter__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}
.abstract-meter__label {
  width: 100%;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.abstract-meter__copy strong {
  color: var(--gold);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.abstract-meter__copy p {
  flex: 1 1 180px;
  margin: 0;
  color: rgba(255, 248, 230, 0.72);
  font-size: 12px;
  line-height: 1.55;
}
.abstract-meter__bar {
  height: 16px;
  overflow: hidden;
  border: 1.5px solid var(--paper);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.abstract-meter__bar span {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: inherit;
  background: repeating-linear-gradient(45deg, var(--gold) 0 8px, #ffb000 8px 16px);
  transition: width 0.45s var(--ease);
}
.abstract-meter__btn {
  min-height: 46px;
  border-color: var(--ink);
  background: var(--gold);
  color: var(--ink);
  white-space: nowrap;
}
.abstract-meter__btn:hover { background: #fff8e6; }
.abstract-meter__btn:disabled { opacity: 0.45; cursor: not-allowed; }
.abstract-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  text-align: right;
}

.abstract-section::after {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(242, 106, 27, 0.14) 3px 4px);
}
.abstract-section.is-ghosting { animation: ghost-shake 0.12s linear 8; }
.abstract-section.is-ghosting::after { opacity: 1; animation: ghost-scan 0.12s steps(2) infinite; }
.abstract-section.is-ghosting .ghost-marquee__track { animation-duration: 3s; }
.abstract-section.is-ghosting .abstract-card { filter: contrast(1.15) saturate(1.25); }
.abstract-section.is-ghosting .abstract-card__char {
  text-shadow: 6px 0 var(--cinnabar), -6px 0 var(--jade);
  transform: translateX(5px) skewX(-6deg);
}
@keyframes ghost-shake {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-4px, 2px) rotate(-0.25deg); }
  50% { transform: translate(3px, -2px) rotate(0.2deg); }
  75% { transform: translate(-2px, 1px); }
  100% { transform: translate(0, 0); }
}
@keyframes ghost-scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

@media (max-width: 1080px) {
  .abstract-grid { grid-template-columns: 1fr 1fr; }
  .abstract-card--green { grid-column: 1 / -1; min-height: 300px; }
  .abstract-card:nth-child(2) { transform: rotate(0.8deg); }
  .abstract-card:nth-child(3) { transform: rotate(-0.5deg); }
  .abstract-meter { grid-template-columns: 1fr auto; }
  .abstract-meter__copy { grid-column: 1; }
  .abstract-meter__bar { grid-column: 1 / -1; grid-row: 2; }
  .abstract-meter__btn { grid-column: 2; grid-row: 1; }
}
@media (max-width: 720px) {
  .ghost-marquee { margin-bottom: 38px; }
  .ghost-marquee__track { gap: 16px; font-size: 10px; }
  .abstract-head h2 { font-size: clamp(34px, 9vw, 50px); }
  .abstract-head > p:last-child { font-size: 13px; }
  .abstract-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .abstract-card,
  .abstract-card:nth-child(1),
  .abstract-card:nth-child(2),
  .abstract-card:nth-child(3),
  .abstract-card--green {
    grid-column: auto;
    min-height: 300px;
    transform: none;
  }
  .abstract-meter { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .abstract-meter__copy { grid-column: 1; }
  .abstract-meter__bar { grid-column: 1; grid-row: auto; }
  .abstract-meter__btn { grid-column: 1; grid-row: auto; width: 100%; }
  .abstract-note { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .ghost-marquee__track,
  .abstract-section.is-ghosting,
  .abstract-section.is-ghosting::after { animation: none; }
  .abstract-section.is-ghosting .abstract-card__char { transform: none; }
}
