:root {
  color-scheme: light;
  --paper: #f3efe6;
  --paper-deep: #e5ddcf;
  --ink: #241f20;
  --muted: #6f6662;
  --plum: #33232f;
  --plum-soft: #5a4052;
  --clay: #c55e3c;
  --clay-dark: #914128;
  --sage: #4f6255;
  --sage-soft: #aab5a5;
  --gold: #c59d58;
  --line: rgba(36, 31, 32, 0.18);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(49, 32, 40, 0.13);
  --shell: min(1480px, calc(100% - 64px));
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 11%, rgba(197, 157, 88, 0.09), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image: repeating-linear-gradient(90deg, transparent 0 79px, rgba(36, 31, 32, 0.035) 80px);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, dl, dd { margin-top: 0; }

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--plum);
  color: var(--white);
}

.brand-bar {
  width: var(--shell);
  min-height: 116px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 15px; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 1.45rem; letter-spacing: 0.08em; }
.brand-copy small { color: rgba(255, 255, 255, 0.56); font-size: 0.68rem; letter-spacing: 0.23em; }
.brand-note { margin: 0; color: rgba(255, 255, 255, 0.72); font-family: var(--serif); letter-spacing: 0.2em; }

.primary-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
  padding-inline: max(32px, calc((100vw - 1480px) / 2));
}
.primary-nav::-webkit-scrollbar { display: none; }
.primary-nav a {
  position: relative;
  flex: 0 0 auto;
  min-width: 148px;
  padding: 20px 20px 18px;
  color: rgba(255, 255, 255, 0.67);
  text-align: center;
  font-size: 0.9rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 180ms ease, background 180ms ease;
}
.primary-nav a:first-child { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.primary-nav a[aria-current="page"]::after { position: absolute; right: 22px; bottom: 0; left: 22px; height: 3px; content: ""; background: var(--clay); }

.hero {
  width: var(--shell);
  min-height: min(780px, calc(100vh - 160px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(470px, 0.82fr);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, transparent 46%, rgba(51, 35, 47, 0.82) 100%),
    url("../images/library-hero.webp");
  background-position: center;
  background-size: cover;
}
.hero-image::after {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}
.hero-index {
  position: absolute;
  z-index: 1;
  bottom: 38px;
  left: 42px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.3em;
  font-size: 0.7rem;
}

.hero-panel {
  position: relative;
  padding: clamp(54px, 7vw, 110px) clamp(38px, 5vw, 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-panel::before {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 94px;
  height: 94px;
  content: "片\A 库";
  white-space: pre;
  display: grid;
  place-content: center;
  border: 1px solid var(--clay);
  border-radius: 50%;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  transform: rotate(8deg);
}
.eyebrow { margin-bottom: 18px; color: var(--clay-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; }
.hero h1 {
  max-width: 13ch;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5vw, 6.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.hero-lead { max-width: 720px; margin-bottom: 30px; color: var(--muted); font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.button { min-height: 48px; padding: 11px 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); font-size: 0.88rem; font-weight: 700; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--plum-soft); }
.button-quiet { background: transparent; }
.button-quiet:hover { background: var(--paper); }
.hero-facts { margin: 0; padding-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-facts div { padding-right: 15px; border-right: 1px solid var(--line); }
.hero-facts div + div { padding-left: 18px; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt { color: var(--muted); font-size: 0.66rem; letter-spacing: 0.16em; }
.hero-facts dd { margin: 3px 0 0; font-family: var(--serif); font-size: 1.1rem; }

.library-intro {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(90px, 11vw, 170px) 0;
  display: grid;
  grid-template-columns: 0.55fr 1.3fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}
.library-intro > p { color: var(--clay-dark); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }
.library-intro h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 5rem); font-weight: 600; line-height: 1.15; }
.intro-copy { color: var(--muted); }
.intro-copy p + p { margin-top: 24px; }

.section-shell { width: var(--shell); margin: 0 auto; }
.shelf { padding: clamp(90px, 10vw, 150px) 0; }
.section-heading { margin-bottom: 48px; display: grid; grid-template-columns: 1fr minmax(330px, 0.62fr); align-items: end; gap: 48px; }
.section-heading h2, .atlas-heading h2, .comic-heading h2, .catalog-title h2, .knowledge-heading h2, .viewing-note h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(2.7rem, 4.5vw, 5.4rem); font-weight: 600; line-height: 1.12; }
.section-heading > p { margin-bottom: 0; color: var(--muted); }

.poster-shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.poster-card { min-width: 0; }
.poster-frame { aspect-ratio: 7 / 10; overflow: hidden; background: var(--paper-deep); }
.poster-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms cubic-bezier(.2,.7,.2,1); }
.poster-card:hover img { transform: scale(1.035); }
.poster-meta { padding: 20px 4px 0; }
.poster-meta span, .atlas-card span { color: var(--clay-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; }
.poster-meta h3 { margin: 7px 0 8px; font-size: 1.12rem; line-height: 1.45; }
.poster-meta p { margin-bottom: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.7; }

.urban-deck {
  padding: clamp(90px, 10vw, 150px) max(32px, calc((100vw - 1480px) / 2));
  background: var(--sage);
  color: var(--white);
}
.urban-title { margin-bottom: 66px; display: grid; grid-template-columns: 0.7fr 1.5fr 0.9fr; gap: 42px; align-items: end; }
.urban-title h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(3.1rem, 5.4vw, 6.8rem); font-weight: 500; line-height: 1.05; }
.urban-title > p:last-child { margin-bottom: 0; color: rgba(255, 255, 255, 0.7); }
.urban-story {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) 1fr;
  background: rgba(22, 29, 24, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.urban-story + .urban-story { margin-top: 28px; }
.urban-story img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; object-position: center top; }
.urban-story > div { padding: clamp(46px, 7vw, 108px); display: flex; flex-direction: column; justify-content: center; }
.urban-story.reverse { grid-template-columns: 1fr minmax(300px, 0.55fr); }
.urban-story.reverse img { order: 2; }
.file-number { color: #e9c99e; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.urban-story h3 { margin: 18px 0 20px; font-family: var(--serif); font-size: clamp(2.6rem, 4.8vw, 5.9rem); font-weight: 500; line-height: 1.06; }
.story-hook { max-width: 660px; color: #f0dbc0; font-family: var(--serif); font-size: 1.35rem; }
.urban-story > div > p:last-child { max-width: 700px; margin-bottom: 0; color: rgba(255, 255, 255, 0.66); }

.ancient-atlas { padding: clamp(100px, 11vw, 170px) 0; }
.atlas-heading { max-width: 980px; margin-bottom: 56px; }
.atlas-heading > p:last-child { max-width: 780px; margin-top: 28px; color: var(--muted); }
.atlas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.atlas-card { min-height: 520px; display: grid; grid-template-columns: minmax(230px, 0.72fr) 1fr; background: var(--white); border: 1px solid var(--line); }
.atlas-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.atlas-card > div { padding: clamp(34px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.atlas-card h3 { margin: 12px 0 20px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.8rem); font-weight: 600; line-height: 1.15; }
.atlas-card p { margin-bottom: 0; color: var(--muted); }
.atlas-note { margin-top: 28px; padding: 28px 34px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); }
.atlas-note p { margin: 0; font-weight: 700; }
.atlas-note ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; list-style: none; }
.atlas-note li { padding: 7px 12px; border-radius: 999px; background: var(--paper-deep); color: var(--muted); font-size: 0.78rem; }

.mystery-ledger {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) 1fr;
  background: var(--plum);
  color: var(--white);
}
.mystery-cover { position: relative; min-height: 850px; overflow: hidden; }
.mystery-cover::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 56%, rgba(24, 16, 22, 0.92)); }
.mystery-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(0.78) contrast(1.04); }
.mystery-cover > span { position: absolute; z-index: 1; right: 32px; bottom: 34px; left: 32px; color: rgba(255, 255, 255, 0.82); font-size: 0.72rem; letter-spacing: 0.18em; }
.mystery-copy { padding: clamp(70px, 9vw, 150px); align-self: center; }
.mystery-copy .eyebrow { color: #e3ae8e; }
.mystery-copy h2 { margin-bottom: 42px; font-family: var(--serif); font-size: clamp(3rem, 5vw, 6.3rem); font-weight: 500; line-height: 1.06; }
.mystery-copy > h3 { margin-bottom: 15px; font-size: 1.45rem; }
.mystery-copy > p { max-width: 760px; color: rgba(255, 255, 255, 0.66); }
.clue-list { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.clue-list li { padding: 22px 0; display: grid; grid-template-columns: 54px 1fr; gap: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.clue-list li > span { color: #e3ae8e; font-family: var(--serif); font-size: 1.2rem; }
.clue-list strong { font-size: 1.02rem; }
.clue-list p { margin: 5px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 0.86rem; }

.comic-observatory { padding: clamp(100px, 11vw, 170px) 0; }
.comic-heading { display: grid; grid-template-columns: 1fr minmax(330px, 0.62fr); gap: 50px; align-items: end; }
.comic-heading > p { margin-bottom: 0; color: var(--muted); }
.comic-track { margin-top: 55px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.comic-entry { min-height: 360px; padding: clamp(30px, 3.5vw, 54px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, 0.44); }
.comic-entry span { color: var(--clay-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; }
.comic-entry h3 { margin: 32px 0 18px; font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2.7rem); font-weight: 600; line-height: 1.22; }
.comic-entry p { margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }
.source-note { margin: 20px 0 0; color: var(--muted); font-size: 0.75rem; }

.episode-catalog {
  padding: clamp(90px, 10vw, 150px) max(32px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(50px, 8vw, 120px);
  background: var(--paper-deep);
}
.catalog-title { position: sticky; top: 28px; align-self: start; }
.catalog-title p:last-child { max-width: 500px; margin-top: 28px; color: var(--muted); }
.catalog-table { border-top: 2px solid var(--ink); }
.catalog-row { min-height: 102px; padding: 21px 0; display: grid; grid-template-columns: 1.2fr 0.55fr 1fr; gap: 26px; align-items: center; border-bottom: 1px solid var(--line); }
.catalog-row strong { font-family: var(--serif); font-size: 1.2rem; }
.catalog-row span { color: var(--muted); font-size: 0.88rem; }
.catalog-head { min-height: 62px; }
.catalog-head span { color: var(--ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; }

.brand-knowledge { padding: clamp(100px, 11vw, 170px) 0; }
.knowledge-heading { max-width: 900px; margin-bottom: 54px; }
.knowledge-heading > p:last-child { color: var(--muted); }
.knowledge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.knowledge-card { min-height: 300px; padding: clamp(34px, 5vw, 70px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.knowledge-card span { color: var(--clay-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; }
.knowledge-card h3 { margin: 22px 0 15px; font-family: var(--serif); font-size: clamp(1.8rem, 2.5vw, 3.1rem); line-height: 1.18; }
.knowledge-card p { margin-bottom: 0; color: var(--muted); }
.semantic-ribbon { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 10px; }
.semantic-ribbon span { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: 0.78rem; }

.viewing-note {
  padding: clamp(70px, 8vw, 120px) max(32px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 70px;
  background: var(--clay);
  color: var(--white);
}
.viewing-note .eyebrow { color: rgba(255, 255, 255, 0.7); }
.viewing-note > p { max-width: 780px; margin: 0; align-self: end; color: rgba(255, 255, 255, 0.78); }

.site-footer {
  padding: 70px max(32px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: 0.72fr 1.2fr 0.45fr;
  gap: 60px;
  align-items: center;
  background: #1f1a1d;
  color: rgba(255, 255, 255, 0.64);
}
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.footer-brand strong { color: var(--white); font-size: 1.2rem; letter-spacing: 0.08em; }
.footer-brand p, .footer-copy p, .footer-meta p { margin: 3px 0 0; font-size: 0.76rem; }
.footer-copy p + p { margin-top: 10px; }
.footer-meta { text-align: right; }

.back-to-top {
  position: fixed;
  z-index: 15;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 10px 34px rgba(24, 16, 22, 0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1280px) {
  :root { --shell: min(100% - 44px, 1220px); }
  .hero { grid-template-columns: 1fr 0.9fr; }
  .poster-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .comic-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-card { grid-template-columns: 0.62fr 1fr; }
}

@media (max-width: 960px) {
  :root { --shell: min(100% - 32px, 900px); }
  .brand-bar { min-height: 92px; }
  .brand-note { display: none; }
  .primary-nav { padding-inline: 16px; }
  .primary-nav a { min-width: 128px; padding: 16px 14px; }
  .hero { margin-top: 24px; grid-template-columns: 1fr; }
  .hero-image { min-height: 58vw; }
  .hero-panel::before { width: 68px; height: 68px; top: 24px; right: 24px; }
  .library-intro { grid-template-columns: 1fr; gap: 24px; }
  .section-heading, .comic-heading { grid-template-columns: 1fr; gap: 22px; }
  .urban-title { grid-template-columns: 1fr; }
  .urban-title .eyebrow { margin-bottom: 0; }
  .urban-story, .urban-story.reverse { grid-template-columns: 0.72fr 1fr; }
  .urban-story.reverse img { order: 0; }
  .atlas-grid { grid-template-columns: 1fr; }
  .mystery-ledger { grid-template-columns: 0.72fr 1fr; }
  .mystery-cover { min-height: 700px; }
  .episode-catalog { grid-template-columns: 1fr; }
  .catalog-title { position: static; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 24px); }
  .brand-bar { width: calc(100% - 28px); }
  .brand img { width: 50px; height: 50px; }
  .brand-copy strong { font-size: 1.16rem; }
  .brand-copy small { font-size: 0.58rem; letter-spacing: 0.16em; }
  .hero { border: 0; box-shadow: none; }
  .hero-image { min-height: 78vw; }
  .hero-image::after { inset: 12px; }
  .hero-index { bottom: 24px; left: 24px; }
  .hero-panel { padding: 45px 24px 36px; }
  .hero-panel::before { display: none; }
  .hero h1 { max-width: none; font-size: clamp(2.65rem, 12vw, 4.4rem); }
  .hero-lead { font-size: 0.94rem; }
  .hero-actions { display: grid; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts div:last-child { border-bottom: 0; }
  .library-intro { padding: 84px 0; }
  .library-intro h2 { font-size: 2.6rem; }
  .poster-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; row-gap: 36px; }
  .poster-meta { padding-top: 14px; }
  .poster-meta p { display: none; }
  .poster-meta h3 { font-size: 0.95rem; }
  .urban-deck { padding: 78px 12px; }
  .urban-title { padding: 0 12px; margin-bottom: 36px; }
  .urban-story, .urban-story.reverse { grid-template-columns: 1fr; }
  .urban-story img { height: auto; max-height: none; aspect-ratio: 7 / 10; }
  .urban-story > div { padding: 36px 24px; }
  .urban-story h3 { font-size: 2.7rem; }
  .story-hook { font-size: 1.1rem; }
  .atlas-card { grid-template-columns: 0.75fr 1fr; min-height: 410px; }
  .atlas-card > div { padding: 25px 20px; }
  .atlas-card h3 { font-size: 1.55rem; }
  .atlas-card p { font-size: 0.82rem; }
  .atlas-note { align-items: flex-start; flex-direction: column; }
  .atlas-note ul { justify-content: flex-start; }
  .mystery-ledger { grid-template-columns: 1fr; }
  .mystery-cover { min-height: 125vw; }
  .mystery-copy { padding: 70px 24px; }
  .mystery-copy h2 { font-size: 3rem; }
  .comic-track { grid-template-columns: 1fr; }
  .comic-entry { min-height: 0; }
  .catalog-row { grid-template-columns: 1fr; gap: 5px; padding: 20px 0; }
  .catalog-head { display: none; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-card { min-height: 0; padding: 38px 26px; }
  .viewing-note { grid-template-columns: 1fr; gap: 25px; padding: 70px 24px; }
  .site-footer { grid-template-columns: 1fr; padding: 58px 24px; gap: 30px; }
  .footer-meta { grid-column: auto; }
}

@media (max-width: 430px) {
  .poster-shelf { grid-template-columns: 1fr 1fr; }
  .atlas-card { grid-template-columns: 1fr; }
  .atlas-card img { aspect-ratio: 7 / 10; }
}

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