/* ============================================================
   心危档案 · BOKUYABA ARCHIVE
   site.css — 基础、页头页脚、首页与通用组件
   ============================================================ */

:root {
  --paper: #f4efe4;
  --paper-2: #fbf7ee;
  --paper-3: #e9e1d1;
  --ink: #1e2128;
  --ink-2: #4b5059;
  --muted: #7a7f88;
  --line: rgba(30, 33, 40, 0.14);
  --line-soft: rgba(30, 33, 40, 0.07);
  --rose: #d24d68;
  --rose-deep: #9e2f47;
  --rose-soft: #f0c4ce;
  --sky: #6f9cc0;
  --lav: #9b87bd;
  --gold: #b8912f;
  --white: #fffdf8;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --shell: 1240px;
  --pad: 32px;
  --head-h: 74px;
  --radius: 2px;
  --shadow: 0 18px 60px rgba(38, 31, 24, 0.13);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 33, 40, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 33, 40, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.is-rose { color: var(--rose); }
.nowrap { white-space: nowrap; }

/* ---------- 通用入场 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   页头
   ============================================================ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 228, 0.88);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}
.site-head.is-scrolled {
  background: rgba(251, 247, 238, 0.96);
  box-shadow: 0 10px 30px rgba(38, 31, 24, 0.07);
}
.site-head__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--head-h);
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__icon {
  width: 38px; height: 38px;
  display: block;
  image-rendering: auto;
  filter: drop-shadow(0 2px 5px rgba(158, 47, 71, 0.22));
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand__text small {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.17em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--rose-deep); font-weight: 700; }

.head-tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.head-cta svg { width: 15px; height: 15px; }
.head-cta:hover { background: var(--rose-deep); border-color: var(--rose-deep); transform: translateY(-1px); }

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.28s, opacity 0.2s, top 0.28s;
}
.menu-btn span { top: 20px; }
.menu-btn span::before { top: -6px; left: 0; }
.menu-btn span::after { top: 6px; left: 0; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   按钮 / 文本链接
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s, color 0.22s, border-color 0.22s;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--rose); color: #fff; box-shadow: 0 10px 26px rgba(210, 77, 104, 0.26); }
.btn--primary:hover { background: var(--rose-deep); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn--ink { background: var(--ink); color: var(--paper-2); }
.btn--ink:hover { background: #000; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--rose-deep); border-color: var(--rose); }
.text-link:hover svg { transform: translateX(4px); }

/* ============================================================
   首页 Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 66px 0 74px;
  overflow: hidden;
}
.hero__ghost {
  position: absolute;
  top: 4%;
  right: -4vw;
  z-index: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(180px, 27vw, 380px);
  line-height: 0.8;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(30, 33, 40, 0.075);
  pointer-events: none;
  user-select: none;
  transform: rotate(-4deg);
}
.hero__blob {
  position: absolute;
  left: -140px; bottom: -180px;
  z-index: 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(210, 77, 104, 0.12), rgba(210, 77, 104, 0) 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero__copy { max-width: 640px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.19em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(210, 77, 104, 0.13);
  animation: pulse 2.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(210, 77, 104, 0.1); }
  50% { box-shadow: 0 0 0 7px rgba(210, 77, 104, 0.04); }
}
.eyebrow__jp {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: none;
}

.hero__title {
  margin: 22px 0 0;
  font-size: clamp(47px, 6.15vw, 86px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.05em;
}
.hero__title span { display: block; }
.hero__title .hero__title-accent {
  position: relative;
  display: inline-block;
  color: var(--rose);
  z-index: 0;
}
.hero__title .hero__title-accent::after {
  content: "";
  position: absolute;
  left: 1%;
  right: -3%;
  bottom: 5%;
  height: 14%;
  z-index: -1;
  background: var(--rose-soft);
  opacity: 0.62;
  transform: rotate(-1.2deg);
}
.hero__title small {
  display: block;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero__titles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.hero__titles .en { color: var(--muted); }

.hero__lede {
  max-width: 33em;
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink-2);
}
.hero__lede strong { color: var(--ink); font-weight: 700; }

.hero__maintainer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hero__maintainer b { color: var(--ink-2); font-weight: 600; }
.hero__maintainer a { border-bottom: 1px solid var(--line); }
.hero__maintainer a:hover { color: var(--rose-deep); border-color: var(--rose); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero__facts li {
  padding: 16px 16px 15px 0;
  border-right: 1px solid var(--line);
}
.hero__facts li:last-child { border-right: 0; }
.hero__facts span {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.hero__facts strong {
  display: block;
  margin-top: 5px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero__facts strong small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.hero__facts em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- Hero 视觉 ---------- */
.hero__visual {
  position: relative;
  min-height: 620px;
}
.hero__poster {
  position: absolute;
  top: 10px;
  right: 4%;
  width: min(76%, 396px);
  padding: 11px 11px 50px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(45, 35, 28, 0.2), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
  transform: rotate(1.6deg);
  z-index: 2;
}
.hero__poster::before,
.hero__poster::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 92px; height: 26px;
  background: rgba(225, 210, 184, 0.72);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  z-index: 3;
}
.hero__poster::before { left: -18px; transform: rotate(-8deg); }
.hero__poster::after { right: -18px; transform: rotate(7deg); }
.hero__poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.706;
  object-fit: cover;
  object-position: center;
}
.hero__poster figcaption {
  position: absolute;
  left: 18px; right: 18px; bottom: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.hero__poster figcaption b { color: var(--ink); font-weight: 600; }

.hero__sub {
  position: absolute;
  left: -58px;
  bottom: 6px;
  width: 154px;
  padding: 8px 8px 30px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(45, 35, 28, 0.2);
  transform: rotate(-6deg);
  z-index: 3;
}
.hero__sub img { width: 100%; height: auto; aspect-ratio: 0.86; object-fit: cover; }
.hero__sub figcaption {
  position: absolute;
  left: 10px; bottom: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero__stamp {
  position: absolute;
  top: -14px;
  right: 0;
  z-index: 4;
  width: 116px; height: 116px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1.5px solid var(--rose);
  border-radius: 50%;
  background: rgba(251, 247, 238, 0.9);
  color: var(--rose-deep);
  transform: rotate(12deg);
  font-family: var(--mono);
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(158, 47, 71, 0.12);
}
.hero__stamp span { display: block; font-size: 8.5px; letter-spacing: 0.16em; }
.hero__stamp strong { display: block; font-size: 21px; letter-spacing: 0.04em; margin: 2px 0; }
.hero__stamp em { display: block; font-style: normal; font-size: 8.5px; letter-spacing: 0.1em; }

.hero__vertical {
  position: absolute;
  top: 40px;
  right: -26px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--muted);
  z-index: 1;
}

.hero__note {
  position: absolute;
  right: 2%;
  bottom: 6px;
  z-index: 4;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transform: rotate(-2deg);
}
.hero__note b { color: var(--rose-deep); }

/* ============================================================
   跑马灯
   ============================================================ */
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; }
.ticker__group span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  margin-right: 34px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(244, 239, 228, 0.86);
}
.ticker__group span::after {
  content: "✳";
  color: var(--rose);
  font-size: 9px;
  letter-spacing: 0;
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============================================================
   区块
   ============================================================ */
.section { position: relative; padding: 96px 0; border-top: 1px solid var(--line); }
.section--tight { padding: 72px 0; }
.section--surface { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--paper); border-color: transparent; }

.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}
.sec-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.sec-kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.sec-kicker b { font-weight: 600; color: var(--ink); }
.sec-title {
  font-size: clamp(32px, 3.7vw, 48px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
}
.sec-title em {
  font-style: normal;
  color: var(--rose);
}
.sec-title small {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.sec-note {
  max-width: 36ch;
  padding-bottom: 4px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  text-align: right;
}
.sec-note strong { color: var(--ink-2); font-weight: 600; }
.sec-note a { color: var(--rose-deep); border-bottom: 1px solid rgba(158, 47, 71, 0.3); }

/* ============================================================
   档案总览
   ============================================================ */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.arc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.arc-card:hover {
  border-color: rgba(30, 33, 40, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(38, 31, 24, 0.1);
}
.arc-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}
.arc-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.4s;
}
.arc-card:hover .arc-card__media img { transform: scale(1.045); }
.arc-card__no {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 7px;
  background: rgba(251, 247, 238, 0.92);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
}
.arc-card__type {
  position: absolute;
  right: 10px; bottom: 10px;
  padding: 3px 7px;
  background: rgba(30, 33, 40, 0.78);
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
}
.arc-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 9px;
  padding: 18px 18px 17px;
}
.arc-card__body h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.arc-card__body h3 small {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}
.arc-card__body p {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 3.6em;
}
.arc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.arc-card__go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--rose-deep);
}
.arc-card__go svg { width: 15px; height: 15px; transition: transform 0.28s var(--ease); }
.arc-card:hover .arc-card__go svg { transform: translateX(5px); }

/* ============================================================
   新闻
   ============================================================ */
.news-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 68px;
  align-items: start;
}
.news-aside { position: sticky; top: calc(var(--head-h) + 28px); }
.news-aside__ghost {
  font-family: var(--sans);
  font-size: 64px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(30, 33, 40, 0.16);
}
.news-aside__note {
  margin-top: 18px;
  max-width: 26ch;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.news-aside__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.news-list { border-top: 1px solid var(--ink); }
.news-item a {
  display: grid;
  grid-template-columns: 92px 86px 1fr 22px;
  gap: 14px;
  align-items: baseline;
  padding: 19px 2px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, padding-left 0.3s var(--ease);
}
.news-item a:hover { background: rgba(255, 253, 248, 0.55); padding-left: 10px; }
.news-item time {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.news-item__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 2px 7px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.news-item__body { display: block; }
.news-item__title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.news-item a:hover .news-item__title { color: var(--rose-deep); }
.news-item__ja {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.85;
}
.news-item__arrow {
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.25s, color 0.2s;
}
.news-item a:hover .news-item__arrow { transform: translate(2px, -2px); color: var(--rose); }

.news-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ============================================================
   故事
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 76px;
  align-items: center;
}
.story-figure { position: relative; }
.story-figure::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--line);
  z-index: 0;
}
.story-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 0.82;
  object-fit: cover;
  object-position: center 36%;
}
.story-figure__tag {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  padding: 7px 11px;
  background: var(--ink);
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}
.story-figure__quote {
  position: absolute;
  right: -22px;
  bottom: 34px;
  z-index: 3;
  max-width: 320px;
  padding: 18px 20px;
  background: var(--paper-2);
  border-left: 3px solid var(--rose);
  box-shadow: 0 16px 40px rgba(38, 31, 24, 0.14);
}
.story-figure__quote span {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--rose-deep);
}
.story-figure__quote small {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--muted);
}
.story-copy .sec-title { margin-bottom: 20px; }
.story-copy p {
  max-width: 34em;
  margin-top: 14px;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
}
.story-copy p.lead { font-size: 16px; color: var(--ink); }
.story-quote {
  margin-top: 24px;
  padding: 16px 0 16px 18px;
  border-left: 2px solid var(--rose-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-2);
}
.story-quote b { display: block; color: var(--rose-deep); font-weight: 400; }
.story-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.story-facts span {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.story-facts strong { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; }

/* ============================================================
   分集聚光
   ============================================================ */
.karte-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.karte-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow 0.35s;
}
.karte-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 33, 40, 0.4);
  box-shadow: 0 16px 40px rgba(38, 31, 24, 0.1);
}
.karte-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); }
.karte-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.karte-card:hover .karte-card__media img { transform: scale(1.04); }
.karte-card__stamp {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 8px;
  background: rgba(210, 77, 104, 0.92);
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.karte-card__season {
  position: absolute;
  right: 10px; bottom: 10px;
  padding: 3px 7px;
  background: rgba(30, 33, 40, 0.8);
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}
.karte-card__body { padding: 16px 17px 17px; }
.karte-card__date {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.karte-card__body h3 { margin-top: 4px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.karte-card__body p { margin-top: 7px; font-size: 12px; line-height: 1.75; color: var(--muted); }
.karte-card__ja { margin-top: 6px; font-family: var(--serif); font-size: 11px; color: var(--muted); }

/* ============================================================
   角色
   ============================================================ */
.cast-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.32s var(--ease), box-shadow 0.32s, border-color 0.25s;
}
.cast-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 33, 40, 0.32);
  box-shadow: 0 16px 36px rgba(38, 31, 24, 0.1);
}
.cast-card__art {
  position: relative;
  aspect-ratio: 0.72;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: var(--tint, #e9e1d1);
}
.cast-card__art::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: 0;
  height: 1px;
  background: rgba(30, 33, 40, 0.1);
}
.cast-card__art img {
  width: auto;
  height: 100%;
  max-width: 92%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 18px rgba(60, 48, 36, 0.14));
  transition: transform 0.45s var(--ease);
}
.cast-card:hover .cast-card__art img { transform: scale(1.025) translateY(-2px); }
.cast-card__no {
  position: absolute;
  top: 8px; left: 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(30, 33, 40, 0.45);
}
.cast-card__body { display: block; padding: 10px 11px 12px; border-top: 1px solid var(--line-soft); }
.cast-card__name { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; }
.cast-card__en {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-card__cv { margin-top: 5px; font-size: 11px; color: var(--ink-2); }
.cast-card__cv span { font-family: var(--mono); font-size: 7.5px; color: var(--muted); letter-spacing: 0.08em; }

.cast-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   音乐（深色区）
   ============================================================ */
.music-section { background: var(--ink); color: var(--paper); }
.music-section::before {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 77, 104, 0.18), transparent 68%);
  pointer-events: none;
}
.music-section .sec-kicker { color: var(--rose-soft); }
.music-section .sec-kicker b { color: var(--paper); }
.music-section .sec-title { color: var(--paper-2); }
.music-section .sec-title em { color: var(--rose-soft); }
.music-section .sec-note { color: rgba(244, 239, 228, 0.6); }
.music-section .sec-note strong { color: var(--paper); }

.music-list { border-top: 1px solid rgba(244, 239, 228, 0.34); }
.music-row {
  display: grid;
  grid-template-columns: 44px 82px 1fr auto 24px;
  gap: 16px;
  align-items: center;
  padding: 20px 2px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.14);
  transition: background 0.2s, padding-left 0.3s var(--ease);
}
.music-row:hover { background: rgba(244, 239, 228, 0.035); padding-left: 10px; }
.music-row__no { font-family: var(--mono); font-size: 10px; color: rgba(244, 239, 228, 0.4); }
.music-row__type {
  justify-self: start;
  padding: 2px 7px;
  border: 1px solid rgba(244, 239, 228, 0.28);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: rgba(244, 239, 228, 0.7);
}
.music-row__main { min-width: 0; }
.music-row__title {
  display: block;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.music-row:hover .music-row__title { color: var(--rose-soft); }
.music-row__artist {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: rgba(244, 239, 228, 0.5);
}
.music-row__season {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(244, 239, 228, 0.45);
  white-space: nowrap;
}
.music-row__arrow { color: rgba(244, 239, 228, 0.5); font-size: 14px; transition: transform 0.25s, color 0.2s; }
.music-row:hover .music-row__arrow { color: var(--rose-soft); transform: translate(2px, -2px); }

/* ============================================================
   支持 / 赞赏
   ============================================================ */
.support-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: center;
  padding: 52px 56px;
  background: var(--paper-2);
  border: 1px dashed rgba(30, 33, 40, 0.26);
}
.support-panel::before {
  content: "THANK YOU";
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.24em;
  color: rgba(30, 33, 40, 0.22);
}
.support-copy .sec-title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; }
.support-copy p { max-width: 36em; font-size: 14px; line-height: 1.95; color: var(--ink-2); }
.support-copy .support-quote {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--rose-deep);
}
.support-copy .support-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--muted);
}
.support-qr { text-align: center; }
.support-qr img {
  width: 100%;
  height: auto;
  max-width: 224px;
  margin: 0 auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.support-qr figcaption {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.support-qr figcaption small { display: block; font-size: 9.5px; opacity: 0.75; }

/* ============================================================
   链接
   ============================================================ */
.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
.link-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.28s var(--ease), background 0.2s;
}
.link-row:hover { padding-left: 8px; background: rgba(255, 253, 248, 0.5); }
.link-row__group {
  flex-shrink: 0;
  width: 46px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--rose-deep);
}
.link-row__main { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
.link-row__main strong { font-size: 14px; font-weight: 600; }
.link-row__main small {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-row__go { color: var(--muted); font-size: 14px; transition: transform 0.25s, color 0.2s; }
.link-row:hover .link-row__go { transform: translate(2px, -2px); color: var(--rose); }

.links-note {
  margin-top: 26px;
  max-width: 70ch;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ============================================================
   页脚
   ============================================================ */
.site-foot {
  position: relative;
  overflow: hidden;
  background: #15171c;
  color: rgba(244, 239, 228, 0.82);
  padding: 64px 0 0;
}
.site-foot::before {
  content: "";
  position: absolute;
  left: -120px; top: -160px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 77, 104, 0.13), transparent 68%);
}
.foot-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.14);
}
.foot-brand .brand { color: var(--paper); }
.foot-brand .brand__text small { color: rgba(244, 239, 228, 0.45); }
.foot-brand p {
  max-width: 36em;
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(244, 239, 228, 0.55);
}
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 8px 20px; align-content: start; }
.foot-nav a {
  font-size: 12.5px;
  color: rgba(244, 239, 228, 0.7);
  transition: color 0.2s;
}
.foot-nav a:hover { color: var(--rose-soft); }
.foot-contact p { font-size: 12px; line-height: 1.9; color: rgba(244, 239, 228, 0.55); }
.foot-contact b { color: rgba(244, 239, 228, 0.9); font-weight: 600; }
.foot-contact a { border-bottom: 1px solid rgba(244, 239, 228, 0.2); }
.foot-contact a:hover { color: var(--rose-soft); border-color: var(--rose-soft); }
.foot-contact .foot-contact__owner {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 239, 228, 0.35);
  margin-bottom: 10px;
}
.foot-word {
  position: relative;
  margin: 34px 0 0;
  font-family: var(--sans);
  font-size: clamp(54px, 12.4vw, 176px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 228, 0.16);
  user-select: none;
  pointer-events: none;
}
.foot-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(244, 239, 228, 0.1);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: rgba(244, 239, 228, 0.38);
}
.foot-bottom a { color: rgba(244, 239, 228, 0.55); }
.foot-bottom__mark { display: flex; align-items: center; gap: 8px; }
.foot-bottom__mark::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

/* ============================================================
   通用页头（子页面）
   ============================================================ */
.page-hero {
  position: relative;
  padding: 54px 0 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero__ghost {
  position: absolute;
  right: -2vw;
  bottom: -3vw;
  font-family: var(--sans);
  font-size: clamp(120px, 20vw, 300px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(30, 33, 40, 0.07);
  pointer-events: none;
  user-select: none;
}
.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--rose-deep); }
.breadcrumb span[aria-current] { color: var(--ink-2); }

.page-title {
  margin-top: 8px;
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.page-title em {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.36em;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--rose);
}
.page-hero__lead {
  max-width: 44em;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
}
.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--ink);
  max-width: 620px;
}
.page-hero__stats li {
  padding: 12px 26px 11px 0;
  margin-right: 26px;
  border-right: 1px solid var(--line);
}
.page-hero__stats li:last-child { border-right: 0; }
.page-hero__stats span {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.page-hero__stats strong { display: block; margin-top: 3px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.page-hero__stats small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted); }

.page-hero__seal {
  width: 196px; height: 196px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1.5px solid var(--rose);
  border-radius: 50%;
  color: var(--rose-deep);
  transform: rotate(-8deg);
  background: rgba(251, 247, 238, 0.7);
  font-family: var(--mono);
  line-height: 1.5;
}
.page-hero__seal img { width: 38px; margin: 0 auto 6px; }
.page-hero__seal span { display: block; font-size: 8.5px; letter-spacing: 0.18em; }
.page-hero__seal strong { display: block; font-family: var(--serif); font-size: 26px; letter-spacing: 0.1em; font-weight: 400; }
.page-hero__seal em { display: block; font-style: normal; font-size: 8px; letter-spacing: 0.12em; opacity: 0.7; }

/* ============================================================
   弹层 / 灯箱
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 19, 24, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  background: var(--paper-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
  transform: translateY(16px) scale(0.985);
  transition: transform 0.3s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.modal__close:hover { background: var(--ink); color: var(--paper); }

.chara-modal { display: grid; grid-template-columns: 0.78fr 1.22fr; min-height: 480px; }
.chara-modal__art {
  position: relative;
  display: grid;
  place-items: end center;
  background: var(--tint, var(--paper-3));
  overflow: hidden;
  padding: 24px 12px 0;
}
.chara-modal__art img { width: auto; height: 100%; max-height: 560px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(60, 48, 36, 0.18)); }
.chara-modal__no {
  position: absolute;
  top: 16px; left: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(30, 33, 40, 0.45);
}
.chara-modal__body { padding: 38px 38px 34px; }
.chara-modal__en { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--rose-deep); }
.chara-modal__name {
  margin-top: 6px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.chara-modal__name small { display: block; margin-top: 5px; font-family: var(--serif); font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0.1em; }
.chara-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
}
.chara-modal__meta span { font-family: var(--mono); font-size: 8.5px; color: var(--muted); letter-spacing: 0.08em; margin-right: 5px; }
.chara-modal__desc { margin-top: 18px; font-size: 13.5px; line-height: 1.95; color: var(--ink-2); }
.chara-modal__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chara-modal__tags li { padding: 3px 9px; border: 1px solid var(--line); font-family: var(--mono); font-size: 9px; color: var(--muted); }

.video-modal .modal__dialog { width: min(960px, 100%); background: #000; }
.video-modal__frame { position: relative; aspect-ratio: 16 / 9; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__title { padding: 12px 16px; color: rgba(255, 255, 255, 0.72); font-size: 12px; background: #000; }

.lightbox .modal__dialog { width: min(1100px, 100%); background: transparent; box-shadow: none; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox__caption { padding: 10px 4px; color: rgba(255, 255, 255, 0.72); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(251, 247, 238, 0.92);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s;
  backdrop-filter: blur(8px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: var(--paper); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  :root { --pad: 26px; }
  .hero__grid { gap: 32px; }
  .hero__facts strong { font-size: 21px; }
  .cast-grid { grid-template-columns: repeat(5, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .arc-card__body p { min-height: 0; }
  .foot-grid { gap: 36px; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: var(--head-h);
    left: 0; right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 24px 22px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px rgba(38, 31, 24, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 2px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav a::after { display: none; }
  .menu-btn { display: block; }
  .head-cta { display: none; }

  .hero { padding: 44px 0 54px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { max-width: none; }
  .hero__visual { min-height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .hero__poster { width: min(72%, 380px); right: 8%; }
  .hero__sub { display: none; }
  .hero__vertical { right: 0; }
  .hero__ghost { top: 8%; opacity: 0.7; }

  .news-layout { grid-template-columns: 1fr; gap: 36px; }
  .news-aside { position: static; }
  .news-aside__ghost { font-size: 52px; }

  .story-grid { grid-template-columns: 1fr; gap: 52px; }
  .story-figure { max-width: 560px; }
  .story-figure__quote { right: 10px; }

  .karte-grid { grid-template-columns: 1fr 1fr; }
  .karte-grid .karte-card:last-child { grid-column: 1 / -1; }

  .cast-grid { grid-template-columns: repeat(4, 1fr); }

  .support-panel { grid-template-columns: 1fr; gap: 32px; padding: 38px; }
  .support-qr { text-align: left; }
  .support-qr img { margin: 0; max-width: 190px; }

  .links-grid { grid-template-columns: 1fr; gap: 0; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero__seal { width: 150px; height: 150px; }
  .page-hero__seal strong { font-size: 21px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .sec-note { text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --pad: 20px; --head-h: 64px; }
  body { font-size: 15px; }
  .brand__icon { width: 32px; height: 32px; }
  .brand__text strong { font-size: 14.5px; }
  .brand__text small { font-size: 8px; }

  .hero { padding: 34px 0 44px; }
  .hero__title { font-size: clamp(40px, 11.5vw, 58px); }
  .hero__titles { font-size: 10px; }
  .hero__lede { font-size: 14.5px; margin-top: 20px; }
  .hero__actions .btn { flex: 1; min-width: 0; padding: 0 14px; font-size: 13px; }
  .hero__facts { grid-template-columns: 1fr 1fr; margin-top: 30px; }
  .hero__facts li { padding: 12px 12px 11px 0; }
  .hero__facts li:nth-child(2n) { border-right: 0; padding-left: 12px; }
  .hero__facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero__facts strong { font-size: 21px; }
  .hero__visual { min-height: 480px; margin-top: 6px; }
  .hero__poster { width: min(78%, 330px); right: 6%; padding-bottom: 42px; }
  .hero__sub { display: none; }
  .hero__stamp { width: 92px; height: 92px; top: -6px; right: 0; }
  .hero__stamp strong { font-size: 17px; }
  .hero__vertical { display: none; }
  .hero__note { right: 4%; bottom: -4px; }

  .section { padding: 64px 0; }
  .sec-title { font-size: 29px; }
  .sec-head { margin-bottom: 30px; }

  .archive-grid { grid-template-columns: 1fr; gap: 10px; }
  .arc-card { flex-direction: row; }
  .arc-card__media { flex: 0 0 116px; width: 116px; aspect-ratio: 1; }
  .arc-card__no { top: 6px; left: 6px; font-size: 7.5px; padding: 2px 4px; }
  .arc-card__type { display: none; }
  .arc-card__body { padding: 12px 14px 11px; gap: 5px; }
  .arc-card__body h3 { font-size: 17px; }
  .arc-card__body h3 small { font-size: 7px; }
  .arc-card__body p {
    font-size: 11px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .arc-card__meta { display: none; }
  .arc-card__go {
    margin-top: 3px;
    padding-top: 6px;
    font-size: 10px;
  }
  .arc-card__go svg { width: 13px; height: 13px; }

  .news-item a {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    padding: 14px 24px 14px 0;
  }
  .news-item time { order: 1; }
  .news-item__tag { order: 2; justify-self: start; margin-top: 0; }
  .news-item__body { order: 3; flex: 1 0 100%; }
  .news-item__arrow { position: absolute; right: 0; top: 18px; }
  .news-item__title { font-size: 14.5px; }
  .news-item__ja { font-size: 10.5px; }

  .story-figure::before { inset: 8px -8px -8px 8px; }
  .story-figure__quote { position: relative; right: auto; bottom: auto; margin: -26px 12px 0; max-width: none; }
  .story-copy p { font-size: 14px; }
  .story-facts { gap: 10px; }

  .karte-grid { grid-template-columns: 1fr; }
  .karte-grid .karte-card:last-child { grid-column: auto; }

  .cast-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .music-row { grid-template-columns: 28px 1fr 20px; gap: 8px 10px; padding: 15px 0; }
  .music-row__type { grid-column: 2; grid-row: 1; }
  .music-row__main { grid-column: 2; grid-row: 2; }
  .music-row__no { grid-row: 1 / span 3; align-self: start; padding-top: 3px; }
  .music-row__season { grid-column: 2; grid-row: 3; }
  .music-row__arrow { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
  .music-row__title { font-size: 18px; }

  .support-panel { padding: 26px 22px; }
  .support-copy .sec-title { font-size: 26px; }

  .link-row { gap: 10px; }
  .link-row__group { width: 38px; }
  .link-row__main { flex-direction: column; gap: 1px; }
  .link-row__main small { font-size: 9px; }

  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
  .foot-word { font-size: 17vw; }
  .foot-bottom { font-size: 8.5px; }

  .page-hero { padding: 34px 0 40px; }
  .breadcrumb { margin-bottom: 20px; }
  .page-title { font-size: 36px; }
  .page-hero__lead { font-size: 14px; }
  .page-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: none;
  }
  .page-hero__stats li {
    padding: 10px 12px 10px 0;
    margin-right: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .page-hero__stats li:nth-child(2n) { border-right: 0; padding-left: 12px; }
  .page-hero__stats li:nth-last-child(-n+2) { border-bottom: 0; }
  .page-hero__seal { display: none; }

  .chara-modal { grid-template-columns: 1fr; }
  .chara-modal__art { min-height: 260px; padding-top: 10px; }
  .chara-modal__art img { max-height: 300px; }
  .chara-modal__body { padding: 24px 22px 28px; }
  .modal { padding: 0; }
  .modal__dialog { max-height: 100vh; width: 100%; }
  .modal__close { top: 8px; right: 8px; }

  .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 380px) {
  .hero__facts strong { font-size: 19px; }
  .cast-grid { grid-template-columns: 1fr 1fr; }
}

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