:root {
  color-scheme: light;
  --ink: #251a27;
  --ink-soft: #3b293d;
  --paper: #f7f1e9;
  --white: #fffdf8;
  --coral: #e6533f;
  --coral-dark: #b8312c;
  --sun: #f4c95d;
  --lilac: #d8cef0;
  --blue: #253d78;
  --muted: #726a70;
  --line: rgba(37, 26, 39, .16);
  --shell: min(1420px, calc(100% - 72px));
  --shadow: 0 28px 80px rgba(37, 26, 39, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; }
section { scroll-margin-top: 88px; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--shell); margin-inline: auto; }
.section-index { color: var(--coral); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; background: rgba(37, 26, 39, .94); backdrop-filter: blur(18px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; width: var(--shell); min-height: 82px; margin-inline: auto; gap: 30px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 13px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span, .footer-brand span { display: grid; gap: 2px; }
.brand strong { font-size: 18px; }
.brand small { color: #bcb0bf; font-size: 8px; letter-spacing: .16em; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { position: relative; color: #ddd2df; font-size: 11px; }
.main-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--sun); content: ""; transform: scaleX(0); transform-origin: left; transition: .2s ease; }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 9px 15px; color: #fff; background: transparent; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .75fr); min-height: 800px; padding: 74px max(36px, calc((100vw - 1420px) / 2)) 120px; overflow: hidden; color: #fff; background: var(--ink); }
.hero::before { position: absolute; top: -260px; left: -180px; width: 620px; height: 620px; border: 1px solid rgba(244,201,93,.18); border-radius: 50%; content: ""; box-shadow: 0 0 0 90px rgba(244,201,93,.025), 0 0 0 180px rgba(244,201,93,.018); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 70px 70px 70px 0; }
.eyebrow { color: var(--sun); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.hero h1 { max-width: 840px; margin-top: 30px; font-size: clamp(56px, 6.3vw, 104px); letter-spacing: -.065em; line-height: .98; }
.hero-lead { max-width: 760px; margin-top: 30px; color: #d4c8d6; font-size: 15px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 168px; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-light { color: var(--ink); background: var(--sun); }
.button-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.button-outline:hover { background: rgba(255,255,255,.08); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #a99cab; font-size: 10px; list-style: none; }
.hero-notes li::before { margin-right: 8px; color: var(--coral); content: "●"; }

.hero-stage { position: relative; z-index: 2; display: grid; place-items: center; min-height: 610px; margin: 28px 0; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(145deg, #4f334e 0%, #2d2030 58%, #1f1621 100%); }
.hero-stage::before { position: absolute; inset: 22px; border: 1px solid rgba(244,201,93,.28); content: ""; }
.stage-number { position: absolute; top: 40px; left: 42px; z-index: 2; color: var(--sun); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .18em; }
.hero-poster { position: relative; display: grid; grid-template-columns: minmax(220px, 340px) minmax(160px, 240px); align-items: end; width: min(90%, 620px); min-height: 500px; margin: 60px auto 32px; box-shadow: var(--shadow); }
.hero-poster > img { width: 100%; height: 500px; object-fit: cover; }
.hero-poster figcaption { display: grid; align-content: end; min-height: 340px; padding: 34px 28px; color: var(--ink); background: var(--sun); }
.hero-poster figcaption span { color: var(--coral-dark); font-size: 10px; font-weight: 800; }
.hero-poster figcaption strong { margin-top: 16px; font-family: "Songti SC", STSong, serif; font-size: 46px; line-height: 1.1; }
.hero-poster figcaption small { margin-top: 26px; font-size: 10px; }
.stage-seal { position: absolute; right: 30px; bottom: 22px; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: var(--coral); font-family: "Songti SC", STSong, serif; font-size: 17px; line-height: 1.1; transform: rotate(8deg); }
.hero-ticker { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-around; gap: 50px; padding: 21px 30px; color: var(--ink); background: var(--lilac); font-size: 10px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }

.chapter-section { padding: 130px 0; background: var(--white); }
.chapter-heading, .recommend-heading { display: grid; grid-template-columns: 1fr minmax(360px, .85fr); align-items: end; gap: 72px; margin-bottom: 68px; }
.chapter-heading h2, .gallery-heading h2, .recommend-heading h2, .shelf-heading h2, .latest-heading h2, .manifesto-grid h2 { margin-top: 12px; font-size: clamp(44px, 5.3vw, 78px); letter-spacing: -.055em; line-height: 1.04; }
.chapter-heading > p, .recommend-heading > p, .shelf-heading > p, .latest-heading > p, .gallery-heading > p, .manifesto-grid > div > p { color: var(--muted); font-size: 13px; line-height: 2; }
.chapter-list { border-top: 2px solid var(--ink); }
.chapter-item { display: grid; grid-template-columns: 74px 122px minmax(0, 1fr) 90px; align-items: center; gap: 34px; min-height: 210px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.chapter-item img { width: 122px; height: 166px; object-fit: cover; border-radius: 2px; }
.chapter-no { color: var(--coral); font-family: "Songti SC", STSong, serif; font-size: 42px; }
.chapter-item small { color: var(--coral-dark); font-size: 9px; font-weight: 800; }
.chapter-item h3 { margin-top: 8px; font-size: clamp(24px, 2.5vw, 38px); line-height: 1.25; }
.chapter-item p { max-width: 720px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.chapter-tag { justify-self: end; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; }

.comic-gallery { padding: 130px 0; color: #fff; background: var(--blue); }
.gallery-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px 80px; align-items: end; margin-bottom: 64px; }
.gallery-heading .section-index { grid-column: 1 / 3; color: #ffab99; }
.gallery-heading > p { color: #c9d3ed; }
.comic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.comic-card { overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 2px 34px 2px 2px; background: rgba(255,255,255,.055); transition: transform .22s ease, background .22s ease; }
.comic-card:hover { transform: translateY(-7px); background: rgba(255,255,255,.09); }
.comic-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.comic-card > div { min-height: 184px; padding: 24px 20px 28px; }
.comic-card span { color: #ffab99; font-size: 9px; font-weight: 800; }
.comic-card h3 { min-height: 56px; margin-top: 8px; font-size: 18px; line-height: 1.5; }
.comic-card p { margin-top: 13px; color: #b9c7e7; font-size: 11px; line-height: 1.75; }

.recommend-section { padding: 130px 0; color: #fff; background: var(--coral); }
.recommend-heading .section-index { color: var(--sun); }
.recommend-heading > p { color: #ffe0d9; }
.recommend-runway { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.recommend-card { overflow: hidden; color: var(--ink); background: var(--paper); box-shadow: 0 24px 60px rgba(104,27,25,.18); }
.recommend-card:nth-child(even) { transform: translateY(30px); }
.recommend-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.recommend-card > div { min-height: 194px; padding: 24px 22px 28px; }
.recommend-card small { color: var(--coral-dark); font-size: 9px; font-weight: 800; }
.recommend-card h3 { margin-top: 9px; font-size: 20px; line-height: 1.45; }
.recommend-card p { margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.7; }

.series-shelf { padding: 140px 0; background: var(--paper); }
.shelf-layout { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 90px; }
.shelf-heading { position: sticky; top: 116px; }
.shelf-heading > p { margin-top: 26px; }
.shelf-list { border-top: 2px solid var(--ink); }
.shelf-list article { display: grid; grid-template-columns: 44px 94px minmax(0, 1fr); align-items: center; gap: 28px; min-height: 176px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.shelf-list article > span { align-self: start; padding-top: 10px; color: var(--coral); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.shelf-list img { width: 94px; height: 136px; object-fit: cover; }
.shelf-list small { color: var(--coral-dark); font-size: 9px; font-weight: 800; }
.shelf-list h3 { margin-top: 7px; font-size: 24px; line-height: 1.35; }
.shelf-list p { margin-top: 9px; color: var(--muted); font-size: 11px; }

.latest-section { padding: 120px 0; color: #fff; background: var(--ink); }
.latest-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.latest-heading .section-index { color: var(--sun); }
.latest-heading > p { margin-top: 24px; color: #b9aebc; }
.latest-list { border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.latest-list li { display: grid; grid-template-columns: 86px 1fr; gap: 26px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.latest-list time { color: var(--sun); font-size: 10px; }
.latest-list h3 { font-size: 21px; }
.latest-list p { margin-top: 8px; color: #aa9ead; font-size: 11px; }

.brand-manifesto { padding: 120px 0; background: var(--lilac); }
.manifesto-grid { display: grid; grid-template-columns: 180px 1.25fr .75fr; align-items: center; gap: 64px; }
.manifesto-mark { display: grid; place-items: center; gap: 14px; min-height: 230px; border: 1px solid rgba(37,26,39,.2); background: rgba(255,255,255,.26); }
.manifesto-mark img { width: 110px; height: 110px; object-fit: contain; }
.manifesto-mark span { font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.manifesto-grid > div > p { margin-top: 24px; }
.brand-topic-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.brand-topic-cloud span { padding: 7px 11px; border: 1px solid rgba(37,26,39,.16); border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.24); font-size: 9px; font-weight: 700; }
.manifesto-grid blockquote { padding-left: 40px; border-left: 1px solid rgba(37,26,39,.24); color: var(--coral-dark); font-family: "Songti SC", STSong, serif; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.45; }

.site-footer { color: #ddd3df; background: #171018; }
.footer-grid { display: grid; grid-template-columns: .7fr 1.3fr .65fr; align-items: center; gap: 70px; padding: 64px 0; }
.footer-brand img { width: 54px; height: 54px; }
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand small { color: #9d8fa0; font-size: 8px; }
.footer-grid > p { color: #a99cab; font-size: 11px; line-height: 1.9; }
.footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-size: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.1); color: #786d7a; font-size: 9px; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 4px; color: var(--ink); background: var(--sun); box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 44px, 1060px); }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 9px; }
  .hero { grid-template-columns: 1fr .78fr; padding-inline: 34px; }
  .hero-copy { padding-right: 38px; }
  .hero-poster { grid-template-columns: 1fr; width: min(76%, 340px); }
  .hero-poster > img { height: auto; }
  .hero-poster figcaption { min-height: 180px; }
  .stage-seal { display: none; }
  .comic-grid, .recommend-runway { grid-template-columns: repeat(2, 1fr); }
  .recommend-card:nth-child(even) { transform: none; }
  .manifesto-grid { grid-template-columns: 150px 1fr; }
  .manifesto-grid blockquote { grid-column: 1 / 3; padding: 28px 0 0; border-top: 1px solid rgba(37,26,39,.2); border-left: 0; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 760px); }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 82px; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: stretch; width: min(84vw, 380px); padding: 26px; background: var(--ink); transform: translateX(105%); transition: .25s ease; }
  .main-nav.is-open { transform: none; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding: 30px 28px 116px; }
  .hero-copy { padding: 80px 0 40px; }
  .hero-stage { min-height: 520px; margin-top: 0; }
  .hero-poster { grid-template-columns: minmax(180px, 280px) minmax(150px, 220px); width: min(88%, 500px); min-height: 420px; }
  .hero-poster > img { height: 420px; }
  .hero-poster figcaption { min-height: 280px; }
  .chapter-heading, .recommend-heading, .gallery-heading, .shelf-layout, .latest-layout { grid-template-columns: 1fr; gap: 30px; }
  .gallery-heading .section-index { grid-column: auto; }
  .shelf-heading { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid nav { grid-column: 1 / 3; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 24px); }
  .nav-shell { min-height: 70px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 16px; }
  .brand small { display: none; }
  .main-nav { top: 70px; }
  .hero { padding-inline: 16px; }
  .hero h1 { font-size: clamp(45px, 13.5vw, 68px); }
  .hero-lead { font-size: 13px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-stage { min-height: 560px; }
  .hero-poster { grid-template-columns: 1fr; width: min(78%, 290px); margin-top: 70px; }
  .hero-poster > img { height: auto; }
  .hero-poster figcaption { min-height: 150px; padding: 24px; }
  .hero-poster figcaption strong { font-size: 36px; }
  .hero-ticker { justify-content: flex-start; overflow: hidden; }
  .chapter-section, .comic-gallery, .recommend-section, .series-shelf, .latest-section, .brand-manifesto { padding: 84px 0; }
  .chapter-heading h2, .gallery-heading h2, .recommend-heading h2, .shelf-heading h2, .latest-heading h2, .manifesto-grid h2 { font-size: 42px; }
  .chapter-item { grid-template-columns: 44px 92px 1fr; gap: 14px; min-height: 168px; }
  .chapter-item img { width: 92px; height: 138px; }
  .chapter-no { font-size: 28px; }
  .chapter-item h3 { font-size: 17px; }
  .chapter-item p { display: none; }
  .chapter-tag { display: none; }
  .comic-grid, .recommend-runway { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .comic-card > div, .recommend-card > div { min-height: 190px; padding: 17px 13px 20px; }
  .comic-card h3, .recommend-card h3 { min-height: 0; font-size: 14px; }
  .comic-card p, .recommend-card p { display: none; }
  .shelf-list article { grid-template-columns: 32px 80px 1fr; gap: 14px; min-height: 150px; }
  .shelf-list img { width: 80px; height: 112px; }
  .shelf-list h3 { font-size: 16px; }
  .shelf-list p { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-mark { min-height: 190px; }
  .manifesto-grid blockquote { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid nav { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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