/* Zinds — lightweight cinematic ebook discovery */

:root {
  --bg: #08080c;
  --bg-card: #101014;
  --text: #ebe8ea;
  --muted: rgba(235, 232, 234, 0.62);
  --line: rgba(120, 110, 120, 0.16);
  --accent: #8c3d4a;
  --accent-soft: rgba(140, 61, 74, 0.35);
  --azure: #a8a4b0;
  --warm: #c45c68;
  --copper: #2a2830;
  --burgundy: rgba(40, 20, 28, 0.55);
  --max: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 70% 50% at 50% -20%, rgba(140, 61, 74, 0.14), transparent 55%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azure); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: 0.5rem 1rem; z-index: 99; }
.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { font-weight: 700; font-size: 1.25rem; color: #fff; text-decoration: none; }
.brand span { color: var(--azure); }
.brand { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: 0.02em; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--text); padding: 0.35rem 0.6rem; border-radius: 8px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.site-nav a { color: var(--muted); font-size: 0.92rem; }
.site-nav a:hover { color: #fff; text-decoration: none; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .header-inner { flex-wrap: wrap; }
}

.page, .home { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb span { margin: 0 0.35rem; opacity: 0.5; }

.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.btn-primary { background: var(--accent); color: #0c1420; }
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-soft); text-decoration: none; }

/* Hero — lightweight */
.hero {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; }
}
.eyebrow { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.75rem; }
.hero h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); line-height: 1.12; margin: 0 0 1rem; letter-spacing: -0.03em; }
.hero__lead { color: var(--muted); margin: 0 0 1rem; max-width: 38ch; }
.hero__stats { font-size: 0.9rem; color: var(--muted); margin: 0 0 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hero__visual { position: relative; min-height: 280px; }
.hero__covers { position: relative; height: 300px; max-width: 420px; margin: 0 auto; }
.hero-cover { position: absolute; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,0.35); transition: transform 0.25s var(--ease); }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2/3; }
.hero-cover--0 { width: 52%; left: 0; top: 0; z-index: 3; }
.hero-cover--1 { width: 44%; right: 0; top: 12%; z-index: 2; opacity: 0.92; }
.hero-cover--2 { width: 38%; left: 18%; bottom: 0; z-index: 1; opacity: 0.85; }
.hero-cover:hover { transform: translateY(-4px); }
.hero__pick {
  display: block;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.hero__pick:hover { border-color: var(--accent-soft); text-decoration: none; }
.hero__pick-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.hero__pick strong { display: block; margin-top: 0.35rem; font-size: 1rem; }
.hero__pick span { color: var(--muted); font-size: 0.85rem; }

.home-section { margin-bottom: 2.5rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.section-head h2 { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.section-head a { font-size: 0.88rem; color: var(--muted); }

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .card-row { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.book-card:hover { border-color: var(--accent-soft); transform: translateY(-2px); }
.book-card__cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.book-card__body { padding: 0.65rem 0.75rem 0.85rem; }
.book-card__meta { margin: 0; font-size: 0.75rem; color: var(--muted); }
.book-card__title { margin: 0.3rem 0 0; font-size: 0.92rem; line-height: 1.3; }
.book-card__title a { color: #fff; text-decoration: none; }
.book-card__title a:hover { color: var(--azure); }
.book-card__genre { margin: 0.25rem 0 0; font-size: 0.75rem; }

.genre-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.genre-pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}
.genre-pill:hover { border-color: var(--accent); color: #fff; text-decoration: none; }

.collection-row { display: grid; gap: 0.75rem; }
@media (min-width: 600px) { .collection-row { grid-template-columns: repeat(2, 1fr); } }
.collection-card {
  display: block;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
}
.collection-card:hover { border-color: var(--accent-soft); text-decoration: none; }
.collection-card__title { display: block; font-weight: 600; }
.collection-card__sub { display: block; margin-top: 0.35rem; font-size: 0.82rem; color: var(--muted); }

.author-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.author-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
}
.author-chip:hover { border-color: var(--accent); text-decoration: none; }

/* Book page */
.book-page__head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 720px) {
  .book-page__head { grid-template-columns: 220px 1fr; }
}
.book-page__cover img {
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.kicker { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.5rem; }
.book-page h1 { margin: 0 0 0.5rem; font-size: 1.75rem; letter-spacing: -0.02em; }
.book-page__author { color: var(--muted); margin: 0 0 0.75rem; }
.book-page__atmosphere { font-size: 0.95rem; color: var(--warm); margin: 0; }
.prose-block { margin-bottom: 1.75rem; }
.prose-block h2 { font-size: 1.1rem; margin: 0 0 0.65rem; }
.prose-block p { margin: 0 0 0.75rem; color: var(--muted); }
.muted { color: var(--muted); font-size: 0.9rem; }
.read-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.link-list { padding-left: 1.1rem; color: var(--muted); }
.page-head h1 { margin: 0 0 0.5rem; }
.lede { color: var(--muted); margin: 0 0 1.5rem; }
.index-list { columns: 2; gap: 2rem; padding-left: 1.2rem; }
@media (min-width: 700px) { .index-list { columns: 3; } }
.genre-cta { margin-top: 2rem; font-size: 0.95rem; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  margin-top: 2rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-brand { margin: 0 0 1rem; }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-bottom: 1rem; }
.footer-nav a, .footer-legal a { color: var(--muted); font-size: 0.88rem; }
.footer-copy { margin: 1rem 0 0; font-size: 0.8rem; color: var(--muted); }

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.85rem; flex: 1; min-width: 200px; }

/* Expanded homepage */
.home { max-width: 1240px; }
.home-block { margin-bottom: 3rem; }
.section-sub { margin: 0.35rem 0 0; font-size: 0.88rem; color: var(--muted); }
.section-more { font-size: 0.88rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.section-more:hover { color: #fff; }

.home-rail__track {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
}
.home-rail__inner {
  display: flex;
  gap: 1rem;
  width: max-content;
}
.home-rail__inner .book-card {
  flex: 0 0 150px;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .home-rail__inner .book-card { flex-basis: 165px; }
}

.cine-feature {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 220px;
  background: var(--bg-card) center/cover no-repeat;
  background-image: linear-gradient(120deg, rgba(5,6,10,0.92), rgba(5,6,10,0.55)), var(--cine-bg, none);
}
.cine-feature__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,6,10,0.95) 0%, rgba(5,6,10,0.4) 55%, transparent 100%);
  pointer-events: none;
}
.cine-feature__inner {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.25rem;
  max-width: 52rem;
}
@media (min-width: 768px) {
  .cine-feature__inner { padding: 2.25rem 2rem; }
}
.cine-feature__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.cine-feature h2 { margin: 0 0 0.65rem; font-size: 1.45rem; }
.cine-feature__body { color: var(--muted); max-width: 42ch; margin: 0 0 1rem; }
.cine-feature__minis {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.cine-mini {
  display: block;
  width: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s var(--ease);
}
.cine-mini:hover { transform: translateY(-2px); text-decoration: none; }
.cine-mini img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }

.card-row--mixed {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
@media (min-width: 900px) {
  .card-row--mixed { grid-template-columns: repeat(4, 1fr); }
  .card-row--mixed .book-card:first-child { grid-column: span 2; }
  .card-row--mixed .book-card:first-child .book-card__cover img { aspect-ratio: 2/3; min-height: 280px; }
}

.card-row--editor .book-card:nth-child(-n+2) {
  border-color: rgba(140, 61, 74, 0.4);
}

.reco-strip {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(196,59,74,0.14), rgba(168,164,176,0.08));
}
@media (min-width: 768px) {
  .reco-strip { grid-template-columns: 1fr 1.4fr; align-items: center; }
}
.reco-strip__copy h2 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.reco-strip__copy p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.reco-strip__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.reco-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem 0.45rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(26, 22, 20, 0.9);
  text-decoration: none;
  color: inherit;
  max-width: 100%;
}
.reco-chip:hover { border-color: var(--accent-soft); text-decoration: none; }
.reco-chip__cover {
  flex-shrink: 0;
  width: 40px;
  border-radius: 6px;
  overflow: hidden;
}
.reco-chip__cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.reco-chip__t { display: block; font-size: 0.82rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.reco-chip__a { display: block; font-size: 0.72rem; color: var(--muted); }

.author-spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.author-spot {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
}
.author-spot:hover { border-color: var(--accent-soft); text-decoration: none; }
.author-spot__cover { flex-shrink: 0; width: 56px; border-radius: 8px; overflow: hidden; }
.author-spot__cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.author-spot__meta { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85rem; }
.author-spot__meta span { color: var(--muted); font-size: 0.78rem; }

.book-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5,6,10,0.5));
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.book-card__cover { position: relative; display: block; }
.book-card:hover .book-card__cover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}


/* Zinds evolved homepage */
.home--zinds { max-width: 1260px; }
.hero--zinds {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(40,20,28,0.5) 0%, transparent 50%), radial-gradient(ellipse 80% 60% at 100% 0%, rgba(74,126,196,0.12), transparent 55%);
}
@media (min-width: 920px) {
  .hero--zinds { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}
.hero--zinds h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero__stage { position: relative; min-height: 300px; }
.hero__stacks { position: relative; height: 310px; max-width: 440px; margin: 0 auto; }
.hero-stack {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 28px rgba(74,126,196,0.15);
  transition: transform 0.25s var(--ease);
}
.hero-stack img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.hero-stack--0 { width: 50%; left: 4%; top: 0; z-index: 3; }
.hero-stack--1 { width: 42%; right: 2%; top: 14%; z-index: 2; opacity: 0.9; }
.hero-stack--2 { width: 36%; left: 22%; bottom: 0; z-index: 1; opacity: 0.82; }
.hero-stack:hover { transform: translateY(-4px); }
.hero__float {
  display: block;
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(26,22,20,0.95), rgba(40,20,28,0.25));
  text-decoration: none;
  color: inherit;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 32px rgba(196,59,74,0.15);
}
.hero__float:hover { border-color: var(--accent-soft); text-decoration: none; }
.hero__float-kicker { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--azure); }
.hero__float strong { display: block; margin-top: 0.4rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.15rem; }
.hero__float span:last-child { color: var(--muted); font-size: 0.85rem; }

.feat-literary__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
@media (min-width: 900px) {
  .feat-literary__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .feat-literary__grid .book-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .feat-literary__grid .book-card:nth-child(1) .book-card__cover img { min-height: 320px; }
}

.atmo-banner {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 240px;
  background: var(--bg-card) center/cover no-repeat;
  background-image: linear-gradient(110deg, rgba(18,16,14,0.94), rgba(40,20,28,0.45)), var(--atmo-bg, none);
}
.atmo-banner__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,16,14,0.96) 0%, rgba(18,16,14,0.35) 60%, transparent);
  pointer-events: none;
}
.atmo-banner__inner { position: relative; z-index: 1; padding: 2rem 1.5rem; max-width: 54rem; }
.atmo-banner__eyebrow { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--azure); margin: 0 0 0.5rem; }
.atmo-banner h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.65rem; margin: 0 0 0.65rem; }
.atmo-banner__body { color: var(--muted); max-width: 40ch; margin: 0 0 1rem; }
.atmo-banner__minis { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-bottom: 1rem; }
.atmo-mini { display: block; width: 76px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.atmo-mini:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168,164,176,0.25); text-decoration: none; }
.atmo-mini img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }

.discover-rail__track {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.35rem;
}
.discover-rail__inner { display: flex; gap: 1rem; width: max-content; }
.discover-rail__inner .book-card { flex: 0 0 158px; scroll-snap-align: start; }

.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }

.author-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.author-tile {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
}
.author-tile:hover { border-color: var(--accent-soft); box-shadow: 0 4px 20px rgba(196,59,74,0.12); text-decoration: none; }
.author-tile__cover { flex-shrink: 0; width: 58px; border-radius: 8px; overflow: hidden; }
.author-tile__cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.author-tile__meta { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.86rem; }
.author-tile__meta span { color: var(--muted); font-size: 0.78rem; }

.cozy-split {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(74,126,196,0.08), rgba(26,22,20,0.9));
}
@media (min-width: 768px) {
  .cozy-split { grid-template-columns: minmax(200px, 280px) 1fr; align-items: start; }
}
.cozy-split__copy h2 { font-family: "Cormorant Garamond", Georgia, serif; margin: 0 0 0.65rem; }
.cozy-split__copy p { color: var(--muted); margin: 0 0 1rem; }
.cozy-split__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.85rem;
}

.psych-shelf__row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
@media (min-width: 900px) {
  .psych-shelf__row { grid-template-columns: repeat(5, 1fr); }
  .psych-shelf__row .book-card:nth-child(1) { grid-column: span 2; }
}

.editor-duplex__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 900px) {
  .editor-duplex__grid { grid-template-columns: repeat(5, 1fr); }
  .editor-duplex__grid .book-card:nth-child(-n+2) {
    grid-column: span 1;
    border-color: rgba(140, 61, 74, 0.45);
    box-shadow: 0 0 0 1px rgba(224, 122, 58, 0.15);
  }
}

.book-card:hover { box-shadow: 0 8px 28px rgba(140, 61, 74, 0.18); }
.book-page__atmosphere { color: var(--warm); }
.page-head h1, .book-page h1 { font-family: "Cormorant Garamond", Georgia, serif; }


/* Zinds semantic hero — reading study */
.hero--zinds {
  background: linear-gradient(155deg, rgba(40,20,28,0.45) 0%, transparent 50%),
    radial-gradient(ellipse 90% 70% at 85% 20%, rgba(201,162,39,0.1), transparent 55%);
}
.hero-vault {
  position: relative;
  min-height: 340px;
  max-width: 480px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1f1812 0%, #0f0c09 100%);
}
.hero-vault__room { position: absolute; inset: 0; pointer-events: none; }
.hero-vault__lamp {
  position: absolute;
  top: 8%;
  right: 18%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,164,176,0.55) 0%, rgba(201,162,39,0.15) 45%, transparent 70%);
  filter: blur(2px);
}
.hero-vault__rays {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 75%;
  background: linear-gradient(225deg, rgba(168,164,176,0.12) 0%, transparent 60%);
  opacity: 0.9;
}
.hero-vault__desk {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(180deg, #2a2018 0%, #1a1410 100%);
  border-top: 1px solid rgba(184,115,51,0.25);
}
.hero-vault__fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,14,10,0.5) 0%, transparent 40%, rgba(18,14,10,0.2) 100%);
}
.hero-vault__books {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem 1.25rem 1.5rem;
  min-height: 300px;
}
.hero-vault__volume {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease);
}
.hero-vault__volume:hover { transform: translateY(-4px); text-decoration: none; }
.hero-vault__volume img {
  border-radius: 6px;
  border: 1px solid rgba(212,175,120,0.35);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 20px rgba(201,162,39,0.15);
  object-fit: cover;
}
.hero-vault__volume--open img { width: 140px; aspect-ratio: 2/3; }
.hero-vault__volume--stack { margin-bottom: 0.5rem; opacity: 0.92; }
.hero-vault__volume--stack img { width: 88px; aspect-ratio: 2/3; }
.hero-vault__label {
  margin-top: 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azure);
  text-align: center;
  max-width: 120px;
}
.hero-vault__caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.hero__float {
  border-color: rgba(201,162,39,0.35);
  background: linear-gradient(135deg, rgba(26,20,16,0.96), rgba(40,20,28,0.35));
  box-shadow: 0 8px 32px rgba(201,162,39,0.18);
}
.cine-banner {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 230px;
  background: var(--bg-card) center/cover no-repeat;
  background-image: linear-gradient(110deg, rgba(18,14,10,0.94), rgba(40,20,28,0.4)), var(--cine-bg, none);
}
.cine-banner__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,14,10,0.96) 0%, rgba(18,14,10,0.35) 58%, transparent);
  pointer-events: none;
}
.cine-banner__inner { position: relative; z-index: 1; padding: 2rem 1.5rem; max-width: 54rem; }
.cine-banner__eyebrow { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--azure); margin: 0 0 0.5rem; }
.cine-banner h2 { font-family: Cormorant Garamond, Georgia, serif; font-size: 1.6rem; margin: 0 0 0.65rem; }
.cine-banner__body { color: var(--muted); max-width: 42ch; margin: 0 0 1rem; }
.cine-banner__minis { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-bottom: 1rem; }
.cine-mini { display: block; width: 76px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.cine-mini:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,162,39,0.22); text-decoration: none; }
.cine-mini img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }


/* Zinds — midnight library lounge hero */
.hero--zinds {
  background: linear-gradient(160deg, rgba(40,20,28,0.5) 0%, transparent 50%),
    radial-gradient(ellipse 85% 65% at 90% 15%, rgba(77,140,255,0.14), transparent 55%);
}
.hero-vault {
  position: relative;
  min-height: 350px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #141a24 0%, #080a10 100%);
}
.hero-vault__vault { position: absolute; inset: 0; pointer-events: none; }
.hero-vault__grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: linear-gradient(rgba(168,164,176,0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,164,176,0.2) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-vault__haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(77,140,255,0.12), transparent 65%);
}
.hero-vault__console {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(180deg, #1a2230 0%, #0e1218 100%);
  border-top: 1px solid rgba(168,164,176,0.2);
  box-shadow: 0 -8px 40px rgba(77,140,255,0.08);
}
.hero-vault__shadow {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,164,176,0.35) 0%, transparent 70%);
  filter: blur(8px);
}
.hero-vault__surface {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 2.75rem 1.25rem 1.5rem;
  min-height: 310px;
}
.hero-vault__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.hero-vault__tile:hover { transform: translateY(-4px); text-decoration: none; }
.hero-vault__neon {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(77,140,255,0.4), rgba(168,164,176,0.15));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}
.hero-vault__tile:hover .hero-vault__neon { opacity: 1; }
.hero-vault__tile img {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  border: 1px solid rgba(168,164,176,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 24px rgba(77,140,255,0.12);
  object-fit: cover;
}
.hero-vault__tile--active img { width: 136px; aspect-ratio: 2/3; }
.hero-vault__tile--stack { margin-bottom: 0.75rem; opacity: 0.9; }
.hero-vault__tile--stack img { width: 84px; aspect-ratio: 2/3; }
.hero-vault__label {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure);
  text-align: center;
  max-width: 110px;
}
.hero-vault__caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.hero__float {
  border-color: rgba(77,140,255,0.35);
  background: linear-gradient(135deg, rgba(18,22,31,0.96), rgba(40,20,28,0.4));
  box-shadow: 0 8px 32px rgba(77,140,255,0.15);
}
.cine-banner {
  background-image: linear-gradient(110deg, rgba(10,12,16,0.94), rgba(40,20,28,0.45)), var(--cine-bg, none);
}
.cine-banner__eyebrow { color: var(--azure); }
.cine-banner h2 { font-family: Cormorant Garamond, Georgia, serif; }
.cine-mini:hover { box-shadow: 0 6px 20px rgba(77,140,255,0.22); }
.book-card:hover { box-shadow: 0 8px 28px rgba(140, 61, 74, 0.18); }


/* Zinds — reading sanctuary hero */
.hero--zinds {
  background: linear-gradient(165deg, rgba(40,20,28,0.45) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 88% 20%, rgba(168,164,176,0.12), transparent 55%);
}
.hero-vault {
  position: relative;
  min-height: 350px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1a221c 0%, #0e1410 100%);
}
.hero-vault__room { position: absolute; inset: 0; pointer-events: none; }
.hero-vault__window {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 42%;
  height: 38%;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(20,30,40,0.5), rgba(30,45,55,0.35));
  border: 1px solid rgba(168,164,176,0.15);
}
.hero-vault__corridor {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 42%;
  height: 38%;
  opacity: 0.25;
  background: repeating-linear-gradient(
    105deg,
    transparent,
    transparent 6px,
    rgba(168,164,176,0.15) 6px,
    rgba(168,164,176,0.15) 7px
  );
}
.hero-vault__lamp {
  position: absolute;
  top: 18%;
  left: 22%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,164,176,0.5) 0%, transparent 70%);
  filter: blur(6px);
}
.hero-vault__chair {
  position: absolute;
  bottom: 8%;
  left: 12%;
  width: 45%;
  height: 28%;
  border-radius: 40% 40% 8px 8px;
  background: linear-gradient(180deg, #2a3228, #1a201c);
  border: 1px solid rgba(140,160,120,0.2);
}
.hero-vault__haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 35% 40%, rgba(122,143,92,0.1), transparent 65%);
}
.hero-vault__surface {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 1.25rem 1.5rem;
  min-height: 310px;
}
.hero-vault__volume {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.hero-vault__volume:hover { transform: translateY(-4px); text-decoration: none; }
.hero-vault__shadow {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(168,164,176,0.35), rgba(122,143,92,0.12));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}
.hero-vault__volume:hover .hero-vault__shadow { opacity: 1; }
.hero-vault__volume img {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  border: 1px solid rgba(168,164,176,0.3);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45), 0 0 20px rgba(168,164,176,0.1);
  object-fit: cover;
}
.hero-vault__volume--lamp img { width: 132px; aspect-ratio: 2/3; }
.hero-vault__volume--stack { margin-bottom: 0.5rem; opacity: 0.92; }
.hero-vault__volume--stack img { width: 80px; aspect-ratio: 2/3; }
.hero-vault__label {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure);
  text-align: center;
  max-width: 110px;
}
.hero-vault__caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.hero__float {
  border-color: rgba(122,143,92,0.35);
  background: linear-gradient(135deg, rgba(22,28,24,0.96), rgba(40,20,28,0.4));
  box-shadow: 0 8px 28px rgba(122,143,92,0.12);
}
.cine-banner {
  background-image: linear-gradient(110deg, rgba(14,20,16,0.94), rgba(40,20,28,0.42)), var(--cine-bg, none);
}
.cine-banner__eyebrow { color: var(--azure); }
.cine-banner h2 { font-family: "Cormorant Garamond", Georgia, serif; }
.cine-mini:hover { box-shadow: 0 6px 18px rgba(122,143,92,0.2); }
.book-card:hover { box-shadow: 0 8px 24px rgba(140, 61, 74, 0.16); }
.fantasy-shelf__row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}


/* Zinds — midnight reading desk hero */
.hero--zinds {
  background: linear-gradient(165deg, rgba(40,20,28,0.5) 0%, transparent 50%),
    radial-gradient(ellipse 85% 65% at 90% 12%, rgba(123,94,168,0.16), transparent 55%);
}
.hero-vault {
  position: relative;
  min-height: 355px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1a1628 0%, #0c0a14 100%);
}
.hero-vault__scene { position: absolute; inset: 0; pointer-events: none; }
.hero-vault__window {
  position: absolute;
  top: 6%;
  right: 8%;
  width: 46%;
  height: 40%;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(20,16,40,0.6), rgba(40,30,60,0.35));
  border: 1px solid rgba(196,92,104,0.12);
}
.hero-vault__corridor {
  position: absolute;
  top: 6%;
  right: 8%;
  width: 46%;
  height: 40%;
  opacity: 0.3;
  background: repeating-linear-gradient(108deg, transparent, transparent 5px, rgba(196,92,104,0.12) 5px, rgba(196,92,104,0.12) 6px);
}
.hero-vault__lamp {
  position: absolute;
  top: 22%;
  left: 20%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,164,176,0.55) 0%, rgba(196,92,104,0.15) 45%, transparent 70%);
  filter: blur(7px);
}
.hero-vault__desk {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(180deg, #221c32 0%, #12101a 100%);
  border-top: 1px solid rgba(123,94,168,0.22);
}
.hero-vault__haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 60% at 40% 35%, rgba(123,94,168,0.12), transparent 65%);
}
.hero-vault__surface {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 2.6rem 1.25rem 1.5rem;
  min-height: 315px;
}
.hero-vault__volume {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.hero-vault__volume:hover { transform: translateY(-4px); text-decoration: none; }
.hero-vault__shadow {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(196,92,104,0.4), rgba(123,94,168,0.2));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}
.hero-vault__volume:hover .hero-vault__shadow { opacity: 1; }
.hero-vault__volume img {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  border: 1px solid rgba(196,92,104,0.32);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 24px rgba(123,94,168,0.14);
  object-fit: cover;
}
.hero-vault__volume--open img { width: 134px; aspect-ratio: 2/3; }
.hero-vault__volume--stack { margin-bottom: 0.6rem; opacity: 0.9; }
.hero-vault__volume--stack img { width: 82px; aspect-ratio: 2/3; }
.hero-vault__label {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure);
  text-align: center;
  max-width: 110px;
}
.hero-vault__caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.hero__float {
  border-color: rgba(123,94,168,0.38);
  background: linear-gradient(135deg, rgba(20,18,31,0.96), rgba(40,20,28,0.42));
  box-shadow: 0 8px 32px rgba(196,92,104,0.14);
}
.cine-banner {
  background-image: linear-gradient(110deg, rgba(12,10,20,0.94), rgba(40,20,28,0.48)), var(--cine-bg, none);
}
.cine-banner__eyebrow { color: var(--azure); }
.cine-banner h2 { font-family: "Cormorant Garamond", Georgia, serif; }
.cine-mini:hover { box-shadow: 0 6px 22px rgba(123,94,168,0.24); }
.book-card:hover { box-shadow: 0 8px 28px rgba(140, 61, 74, 0.2); }


/* Zinds — luxury reading lounge hero */
.hero--zinds {
  background: linear-gradient(165deg, rgba(40,20,28,0.42) 0%, transparent 52%),
    radial-gradient(ellipse 80% 60% at 88% 18%, rgba(168,164,176,0.1), transparent 55%);
}
.hero-vault {
  position: relative;
  min-height: 355px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1e2430 0%, #12161c 100%);
}
.hero-vault__scene { position: absolute; inset: 0; pointer-events: none; }
.hero-vault__fireplace {
  position: absolute;
  bottom: 32%;
  left: 8%;
  width: 38%;
  height: 28%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #2a3040 0%, #1a2028 100%);
  border: 1px solid rgba(168,164,176,0.2);
}
.hero-vault__mantel {
  position: absolute;
  bottom: 58%;
  left: 6%;
  width: 42%;
  height: 6%;
  background: linear-gradient(90deg, #3d4f66, #2a3545);
  border-radius: 2px;
}
.hero-vault__lamp {
  position: absolute;
  top: 20%;
  right: 18%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,164,176,0.45) 0%, transparent 70%);
  filter: blur(8px);
}
.hero-vault__chair {
  position: absolute;
  bottom: 10%;
  right: 14%;
  width: 38%;
  height: 26%;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(180deg, #2a323e, #1a2028);
  border: 1px solid rgba(120,140,170,0.2);
}
.hero-vault__haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(74,111,168,0.1), transparent 65%);
}
.hero-vault__surface {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 2.6rem 1.25rem 1.5rem;
  min-height: 315px;
}
.hero-vault__volume {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.hero-vault__volume:hover { transform: translateY(-4px); text-decoration: none; }
.hero-vault__shadow {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(168,164,176,0.35), rgba(74,111,168,0.15));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}
.hero-vault__volume:hover .hero-vault__shadow { opacity: 1; }
.hero-vault__volume img {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  border: 1px solid rgba(168,164,176,0.28);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45), 0 0 22px rgba(168,164,176,0.1);
  object-fit: cover;
}
.hero-vault__volume--hearth img { width: 132px; aspect-ratio: 2/3; }
.hero-vault__volume--stack { margin-bottom: 0.55rem; opacity: 0.92; }
.hero-vault__volume--stack img { width: 80px; aspect-ratio: 2/3; }
.hero-vault__label {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure);
  text-align: center;
  max-width: 110px;
}
.hero-vault__caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.hero__float {
  border-color: rgba(74,111,168,0.35);
  background: linear-gradient(135deg, rgba(26,32,40,0.96), rgba(40,20,28,0.4));
  box-shadow: 0 8px 30px rgba(168,164,176,0.1);
}
.cine-banner {
  background-image: linear-gradient(110deg, rgba(18,22,28,0.94), rgba(40,20,28,0.45)), var(--cine-bg, none);
}
.cine-banner__eyebrow { color: var(--azure); }
.cine-banner h2 { font-family: "Cormorant Garamond", Georgia, serif; }
.cine-mini:hover { box-shadow: 0 6px 20px rgba(74,111,168,0.2); }
.book-card:hover { box-shadow: 0 8px 26px rgba(140, 61, 74, 0.18); }


/* Zinds — underground library hero */
.hero--zinds {
  background: linear-gradient(165deg, rgba(40,20,28,0.4) 0%, transparent 52%),
    radial-gradient(ellipse 80% 60% at 88% 15%, rgba(168,164,176,0.12), transparent 55%);
}
.hero-vault {
  position: relative;
  min-height: 355px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #141a28 0%, #0a0e18 100%);
}
.hero-vault__scene { position: absolute; inset: 0; pointer-events: none; }
.hero-vault__window {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 44%;
  height: 42%;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(25,30,50,0.55), rgba(40,50,80,0.25));
  border: 1px solid rgba(168,164,176,0.15);
}
.hero-vault__corridor {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 44%;
  height: 42%;
  opacity: 0.22;
  background: repeating-linear-gradient(108deg, transparent, transparent 6px, rgba(168,164,176,0.12) 6px, rgba(168,164,176,0.12) 7px);
}
.hero-vault__lamp {
  position: absolute;
  top: 6%;
  right: 22%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,164,176,0.5) 0%, rgba(139,124,184,0.15) 50%, transparent 70%);
  filter: blur(2px);
}
.hero-vault__shadow {
  position: absolute;
  top: 28%;
  left: 18%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,168,216,0.35) 0%, transparent 70%);
  filter: blur(10px);
}
.hero-vault__haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 55% at 45% 40%, rgba(139,124,184,0.1), transparent 65%);
}
.hero-vault__surface {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 2.6rem 1.25rem 1.5rem;
  min-height: 315px;
}
.hero-vault__volume {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.hero-vault__volume:hover { transform: translateY(-4px); text-decoration: none; }
.hero-vault__sheen {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(168,164,176,0.35), rgba(139,124,184,0.18));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}
.hero-vault__volume:hover .hero-vault__sheen { opacity: 1; }
.hero-vault__volume img {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  border: 1px solid rgba(168,164,176,0.28);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45), 0 0 24px rgba(139,124,184,0.12);
  object-fit: cover;
}
.hero-vault__volume--open img { width: 132px; aspect-ratio: 2/3; }
.hero-vault__volume--stack { margin-bottom: 0.55rem; opacity: 0.92; }
.hero-vault__volume--stack img { width: 80px; aspect-ratio: 2/3; }
.hero-vault__label {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure);
  text-align: center;
  max-width: 110px;
}
.hero-vault__caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.hero__float {
  border-color: rgba(139,124,184,0.35);
  background: linear-gradient(135deg, rgba(18,24,40,0.96), rgba(40,20,28,0.42));
  box-shadow: 0 8px 30px rgba(168,164,176,0.1);
}
.cine-banner {
  background-image: linear-gradient(110deg, rgba(10,14,24,0.94), rgba(40,20,28,0.45)), var(--cine-bg, none);
}
.cine-banner__eyebrow { color: var(--azure); }
.cine-banner h2 { font-family: Cormorant Garamond, Georgia, serif; }
.cine-mini:hover { box-shadow: 0 6px 20px rgba(139,124,184,0.22); }
.book-card:hover { box-shadow: 0 8px 26px rgba(140, 61, 74, 0.18); }

/* Zinds — underground library hero */
.hero--zinds {
  background: linear-gradient(165deg, rgba(40,20,28,0.45) 0%, transparent 52%),
    radial-gradient(ellipse 80% 60% at 88% 15%, rgba(196,92,104,0.1), transparent 55%);
}
.hero-vault {
  position: relative;
  min-height: 355px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #141018 0%, #08080c 100%);
}
.hero-vault__scene { position: absolute; inset: 0; pointer-events: none; }
.hero-vault__arch {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(20,16,24,0.9));
  border-top: 1px solid rgba(140,61,74,0.2);
}
.hero-vault__corridor {
  position: absolute;
  top: 15%;
  left: 8%;
  width: 35%;
  height: 70%;
  background: linear-gradient(90deg, rgba(8,8,12,0.2), rgba(42,40,48,0.5));
  border-left: 1px solid rgba(168,164,176,0.12);
}
.hero-vault__lamp {
  position: absolute;
  top: 12%;
  right: 18%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,92,104,0.45) 0%, rgba(140,61,74,0.15) 50%, transparent 70%);
  filter: blur(3px);
}
.hero-vault__shadow {
  position: absolute;
  bottom: 20%;
  left: 25%;
  width: 100px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
}
.hero-vault__haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 55% at 50% 45%, rgba(140,61,74,0.08), transparent 65%);
}
.hero-vault__surface {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 2.6rem 1.25rem 1.5rem;
  min-height: 315px;
}
.hero-vault__volume {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.hero-vault__volume:hover { transform: translateY(-4px); text-decoration: none; }
.hero-vault__sheen {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(196,92,104,0.3), rgba(140,61,74,0.15));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}
.hero-vault__volume:hover .hero-vault__sheen { opacity: 1; }
.hero-vault__volume img {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  border: 1px solid rgba(140,61,74,0.35);
  box-shadow: 0 8px 30px rgba(0,0,0,0.55), 0 0 20px rgba(140,61,74,0.12);
  object-fit: cover;
}
.hero-vault__volume--open img { width: 132px; aspect-ratio: 2/3; }
.hero-vault__volume--stack { margin-bottom: 0.55rem; opacity: 0.92; }
.hero-vault__volume--stack img { width: 80px; aspect-ratio: 2/3; }
.hero-vault__label {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure);
  text-align: center;
  max-width: 110px;
}
.hero-vault__caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.hero__float {
  border-color: rgba(140,61,74,0.4);
  background: linear-gradient(135deg, rgba(16,16,20,0.96), rgba(40,20,28,0.45));
  box-shadow: 0 8px 30px rgba(196,92,104,0.1);
}
.cine-banner {
  background-image: linear-gradient(110deg, rgba(8,8,12,0.95), rgba(40,20,28,0.5)), var(--cine-bg, none);
}
.cine-banner__eyebrow { color: var(--warm); }
.cine-banner h2 { font-family: "Cormorant Garamond", Georgia, serif; }
.cine-mini:hover { box-shadow: 0 6px 20px rgba(140,61,74,0.25); }
.book-card:hover { box-shadow: 0 8px 26px rgba(140, 61, 74, 0.2); }
