:root {
  color-scheme: dark;
  --ink: #080b13;
  --ink-soft: #10141f;
  --paper: #f3eee5;
  --paper-dim: #c9c3bb;
  --muted: #8c929e;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .28);
  --cobalt: #3157ff;
  --burgundy: #7a1738;
  --copper: #c98b5b;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 2px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 11, 19, .82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--paper);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: -.04em;
}
.brand-name {
  font-size: .83rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
.main-nav a {
  position: relative;
  color: rgba(243, 238, 229, .82);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  content: "";
  inset: auto 0 -7px;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 17px; border: 1px solid var(--line-strong); }
.nav-cta:hover { background: var(--paper); color: var(--ink); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-art,
.hero-overlay { position: absolute; inset: 0; }
.hero-art { background: var(--ink); }
.hero-art picture { display: block; width: 100%; height: 100%; }
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity .45s ease;
}
.hero-art.is-swapping img { opacity: 0; }
.hero-art::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 19, .86) 0%, rgba(8, 11, 19, .44) 52%, rgba(8, 11, 19, .2) 100%);
}
.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,11,19,.16), transparent 30%, rgba(8,11,19,.65)),
    radial-gradient(circle at 35% 48%, rgba(49,87,255,.11), transparent 38%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: min(810px, calc(100svh - 110px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: center;
  padding-top: 110px;
}
.hero-copy { max-width: 870px; padding-block: 80px 120px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 0 30px;
  color: rgba(243, 238, 229, .74);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow span + span { color: #db9ab0; }
.eyebrow span + span::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 30px 4px 0;
  background: var(--copper);
}
.hero h1 {
  max-width: 960px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.65rem, 8.2vw, 7.6rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.062em;
}
.hero h1 em { color: var(--paper); font-weight: 400; }
.hero-lead {
  max-width: 710px;
  margin: 35px 0 0;
  color: rgba(243, 238, 229, .76);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid transparent;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--paper); color: var(--ink); }
.button-primary:hover { background: #fff; }
.button-ghost { border-color: var(--line-strong); color: var(--paper); background: rgba(8, 11, 19, .18); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--paper); }
.hero-signature {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 13px;
  writing-mode: vertical-rl;
  color: rgba(243, 238, 229, .56);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.signature-line { width: 1px; height: 92px; background: linear-gradient(var(--cobalt), var(--copper), var(--burgundy)); }
.hero-index {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: rgba(8, 11, 19, .5);
  backdrop-filter: blur(14px);
}
.hero-index div { min-height: 105px; display: flex; align-items: center; gap: 16px; padding: 22px 30px; border-right: 1px solid var(--line); }
.hero-index div:last-child { border-right: 0; }
.hero-index strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.hero-index span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.section { padding-block: clamp(92px, 12vw, 170px); }
.manifesto,
.themes { display: grid; grid-template-columns: 280px 1fr; gap: clamp(50px, 8vw, 130px); }
.section-kicker { display: flex; align-items: flex-start; gap: 24px; }
.section-kicker > span,
.section-label { color: var(--copper); font-size: .72rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.section-kicker p { margin: 0; color: var(--muted); font-size: .79rem; font-weight: 650; letter-spacing: .07em; line-height: 1.7; text-transform: uppercase; }
.manifesto-copy h2,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.3vw, 5.4rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.manifesto-copy h2 { max-width: 900px; }
.manifesto-copy > p {
  max-width: 720px;
  margin: 38px 0 0 auto;
  color: var(--paper-dim);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.books { background: #ece7de; color: #10131a; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-label { margin: 0 0 20px; }
.text-link {
  flex: 0 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(16, 19, 26, .32);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}
.text-link:hover { border-color: currentColor; }
.book-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 52px; }
.filter {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid rgba(16, 19, 26, .22);
  border-radius: 999px;
  color: #333844;
  background: transparent;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .05em;
}
.filter:hover,
.filter:focus-visible { border-color: #10131a; }
.filter.is-active { border-color: #10131a; background: #10131a; color: #f5f0e7; }
.book-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.book-status {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  margin: 0;
  color: #666b75;
  text-align: center;
}
.book-status-error { color: #7a1738; }
.book-card {
  --card-accent: #3157ff;
  position: relative;
  grid-column: span 4;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(16, 19, 26, .15);
  background: #f7f3ec;
  box-shadow: 0 18px 45px rgba(21, 22, 28, .06);
  transition: transform .3s ease, box-shadow .3s ease, opacity .25s ease;
}
.book-card-featured {
  grid-column: span 8;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  align-items: center;
  column-gap: clamp(34px, 5vw, 68px);
}
.book-number { position: absolute; top: 28px; right: 28px; color: rgba(16, 19, 26, .34); font-family: var(--serif); font-size: 1.2rem; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: rgba(16, 19, 26, .55); font-size: .68rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.book-card h3 { max-width: 650px; margin: 18px 0 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.25rem); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.book-description { max-width: 600px; margin: 22px 0 32px; color: #525765; font-size: .98rem; line-height: 1.65; }
.book-description > :first-child { margin-top: 0; }
.book-description > :last-child { margin-bottom: 0; }
.book-description p { margin: 0 0 .8em; color: inherit; font-size: inherit; line-height: inherit; }
.book-description ul,
.book-description ol { margin: .7em 0; padding-left: 1.35em; }
.book-description li + li { margin-top: .25em; }
.book-description blockquote { margin: .8em 0; padding-left: 1em; border-left: 2px solid var(--card-accent); }
.book-description a { font-size: inherit; font-weight: 700; letter-spacing: normal; text-decoration: underline; text-underline-offset: 3px; text-transform: none; }
.book-card a { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.book-card a span { color: var(--card-accent); }
.book-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: auto; }
.book-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(21, 22, 28, .12); }
.book-cover {
  --cover-tilt: -3.5deg;
  position: relative;
  width: min(178px, 72%);
  aspect-ratio: 2 / 3;
  margin: 12px auto 34px;
  transform: perspective(900px) rotateZ(var(--cover-tilt)) rotateY(3deg);
  transform-origin: 50% 100%;
  transition: transform .38s cubic-bezier(.2, .75, .2, 1), filter .38s ease;
  filter:
    drop-shadow(0 5px 5px rgba(16, 19, 26, .2))
    drop-shadow(16px 24px 22px rgba(16, 19, 26, .34));
  will-change: transform;
}
.book-card:nth-child(3n + 2) .book-cover { --cover-tilt: 3deg; transform: perspective(900px) rotateZ(var(--cover-tilt)) rotateY(-3deg); }
.book-card:nth-child(3n) .book-cover { --cover-tilt: -2deg; }
.book-card:hover .book-cover,
.book-cover:hover {
  transform: perspective(900px) rotateZ(0) rotateY(0) translateY(-5px);
  filter:
    drop-shadow(0 5px 6px rgba(16, 19, 26, .18))
    drop-shadow(11px 28px 27px rgba(16, 19, 26, .36));
}
.book-cover-placeholder,
.book-cover > img {
  width: 100%;
  height: 100%;
  border-radius: 2px 6px 6px 2px;
}
.book-cover > img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity .25s ease;
}
.book-cover.has-image > img { opacity: 1; }
.book-cover-placeholder {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 19px 24px;
  border: 1px solid #c9c4bc;
  border-color: color-mix(in srgb, var(--card-accent) 55%, #ffffff);
  background: #f2eee7;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--card-accent) 16%, #ffffff), #f7f3ec 54%, color-mix(in srgb, var(--card-accent) 11%, #ffffff));
  color: #171a22;
}
.book-cover-placeholder::before {
  position: absolute;
  content: "";
  inset: 0 auto 0 0;
  width: 9px;
  background: var(--card-accent);
  box-shadow: 2px 0 0 rgba(255, 255, 255, .55), 5px 0 10px rgba(16, 19, 26, .1);
}
.book-cover-placeholder::after {
  position: absolute;
  content: "";
  width: 86px;
  height: 1px;
  top: 50%;
  left: 50%;
  background: var(--card-accent);
  transform: translate(-50%, -50%) rotate(-32deg);
  opacity: .55;
}
.cover-monogram { align-self: flex-start; color: var(--card-accent); font-size: .68rem; font-weight: 850; letter-spacing: .15em; }
.cover-label { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 400; letter-spacing: -.03em; }
.cover-note { align-self: flex-end; color: rgba(16, 19, 26, .55); font-size: .54rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.book-card-featured .book-cover { grid-column: 1; grid-row: 1 / -1; width: min(215px, 100%); margin: 0 auto; }
.book-card-featured .book-meta,
.book-card-featured h3,
.book-card-featured .book-description,
.book-card-featured .book-links { grid-column: 2; }
.book-card-featured .book-meta { grid-row: 1; align-self: end; }
.book-card-featured h3 { grid-row: 2; align-self: start; }
.book-card-featured .book-description { grid-row: 3; align-self: start; }
.book-card-featured .book-links { grid-row: 4; align-self: end; }
.book-card.is-hidden { display: none; }
.tone-cobalt { --card-accent: #234dff; background: linear-gradient(135deg, #edf0ff, #faf8f3 58%); }
.tone-blue { --card-accent: #0e65a8; }
.tone-cyan { --card-accent: #00838b; }
.tone-charcoal { --card-accent: #3a414b; }
.tone-steel { --card-accent: #48657c; }
.tone-plum { --card-accent: #813e7a; }
.tone-rust { --card-accent: #a24d2c; }
.tone-violet { --card-accent: #5e4dc5; }
.tone-ink { --card-accent: #7a1738; background: linear-gradient(135deg, #f4e9eb, #faf8f3 58%); }
.tone-wine { --card-accent: #a53d4e; }
.tone-lake { --card-accent: #4f7487; background: linear-gradient(135deg, #e9f0f1, #faf8f3 58%); }

.themes { border-bottom: 1px solid var(--line); }
.themes-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.themes-content article { min-height: 320px; padding: 5px 30px 20px; border-left: 1px solid var(--line); }
.themes-content article > span { color: var(--muted); font-size: .7rem; letter-spacing: .16em; }
.themes-content h3 { margin: 70px 0 17px; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 400; letter-spacing: -.04em; }
.themes-content p { margin: 0; color: var(--paper-dim); font-size: .96rem; }

.about { position: relative; overflow: hidden; background: #111621; }
.about::before { position: absolute; content: ""; width: 520px; aspect-ratio: 1; right: -210px; top: -210px; border: 1px solid rgba(49, 87, 255, .18); border-radius: 50%; box-shadow: 0 0 0 90px rgba(49,87,255,.025), 0 0 0 180px rgba(122,23,56,.025); }
.about-grid { position: relative; display: grid; grid-template-columns: minmax(300px, .8fr) 1.25fr; gap: clamp(70px, 10vw, 150px); align-items: center; }
.about-monogram { position: relative; min-height: 540px; display: grid; grid-template-columns: 1fr 1fr; place-items: center; border: 1px solid var(--line); overflow: hidden; background: linear-gradient(135deg, rgba(49,87,255,.24), rgba(8,11,19,.2) 50%, rgba(122,23,56,.26)); }
.about-monogram::before { position: absolute; content: ""; inset: 50% 12% auto; height: 1px; background: var(--copper); transform: rotate(-28deg); }
.about-monogram span { font-family: var(--serif); font-size: clamp(6rem, 14vw, 12rem); line-height: 1; opacity: .9; }
.about-monogram span:last-of-type { align-self: end; padding-bottom: 70px; color: #dca0b4; }
.about-monogram span:first-of-type { align-self: start; padding-top: 70px; color: #9cabff; }
.about-monogram i { position: absolute; width: 12px; aspect-ratio: 1; border: 2px solid var(--copper); border-radius: 50%; background: #111621; }
.about-copy { max-width: 690px; }
.about-lead { margin: 35px 0 20px; color: var(--paper); font-size: clamp(1.15rem, 1.7vw, 1.35rem); }
.about-copy > p:not(.section-label):not(.about-lead) { margin: 0 0 36px; color: var(--paper-dim); }

.closing { padding-block: 55px; background: linear-gradient(90deg, #234dff, #6c2443); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing p { margin: 0; font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.9rem); letter-spacing: -.03em; }
.closing a { width: 54px; aspect-ratio: 1; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.48); text-decoration: none; transition: background .2s, color .2s; }
.closing a:hover { background: var(--paper); color: var(--ink); }

.site-footer { padding-block: 70px 36px; background: #05070b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 60px; }
.footer-brand { margin-bottom: 16px; }
.footer-grid p { margin: 0; color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
.footer-links,
.footer-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links a,
.footer-legal a { color: var(--paper-dim); font-size: .78rem; text-decoration: none; }
.footer-links a:hover,
.footer-legal a:hover { color: var(--paper); }
.music-toggle {
  position: fixed;
  z-index: 70;
  right: calc(22px + env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(8, 11, 19, .84);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}
.music-toggle:hover { transform: translateY(-2px); border-color: var(--paper); }
.music-toggle strong { color: var(--copper); font: inherit; }
.music-toggle[aria-pressed="false"] strong { color: var(--muted); }
.music-indicator {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--muted);
  transition: background .22s ease, box-shadow .22s ease;
}
.music-toggle[aria-pressed="true"] .music-indicator {
  background: var(--copper);
  box-shadow: 0 0 0 5px rgba(201, 139, 91, .14), 0 0 16px rgba(201, 139, 91, .5);
}
.back-to-top { position: fixed; z-index: 60; right: calc(22px + env(safe-area-inset-right)); bottom: calc(82px + env(safe-area-inset-bottom)); width: 46px; aspect-ratio: 1; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--paper); background: rgba(8,11,19,.78); backdrop-filter: blur(10px); cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s; }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--paper); color: var(--ink); }

.legal-page { min-height: 100svh; background: #ece7de; color: #10131a; }
.legal-header { position: static; border-bottom: 1px solid rgba(16,19,26,.14); background: #ece7de; }
.legal-header .brand { color: #10131a; }
.legal-header .brand-mark { border-color: rgba(16,19,26,.35); }
.legal-header .main-nav a { color: #10131a; }
.legal-main { width: min(780px, calc(100vw - 48px)); margin: 0 auto; padding: clamp(80px, 11vw, 140px) 0; }
.legal-main .section-label { margin-bottom: 15px; }
.legal-main h1 { margin: 0 0 45px; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; line-height: 1; letter-spacing: -.05em; }
.legal-main h2 { margin: 42px 0 10px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.legal-main p, .legal-main li { color: #4d525d; }
.legal-main a { color: #1e43c6; }
.legal-note { margin-top: 50px; padding: 22px; border-left: 3px solid var(--copper); background: rgba(255,255,255,.48); }
.legal-footer { padding: 30px 0; border-top: 1px solid rgba(16,19,26,.14); }
.legal-footer .shell { display: flex; justify-content: space-between; gap: 30px; }
.legal-footer a { color: #10131a; }

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 38px, 0) scale(.985);
  transition:
    opacity .82s cubic-bezier(.22, 1, .36, 1),
    transform .9s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.book-card[data-reveal].is-revealed:hover { transform: translate3d(0, -5px, 0) scale(1); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }

@media (max-width: 960px) {
  :root { --shell: min(100% - 36px, 780px); }
  .menu-toggle { display: grid; place-items: center; gap: 6px; width: 46px; aspect-ratio: 1; border: 1px solid var(--line); color: var(--paper); background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 84px 0 0; display: flex; flex-direction: column; align-items: flex-start; padding: 50px max(24px, calc((100vw - min(100% - 36px, 780px)) / 2)); background: rgba(8,11,19,.98); transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav a { font-size: 1.35rem; }
  .main-nav .nav-cta { margin-top: 20px; font-size: .9rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-signature { display: none; }
  .hero h1 { font-size: clamp(3.4rem, 11vw, 6.4rem); }
  .manifesto, .themes { grid-template-columns: 1fr; }
  .section-kicker { margin-bottom: 20px; }
  .book-card { grid-column: span 6; }
  .book-card-featured { grid-column: span 12; }
  .themes-content article { min-height: 280px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-monogram { min-height: 430px; max-width: 620px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-legal { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .legal-header .menu-toggle { display: none; }
  .legal-header .main-nav { position: static; display: flex; transform: none; visibility: visible; padding: 0; background: none; }
  .legal-header .main-nav a { font-size: .78rem; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 28px); }
  .header-inner { min-height: 74px; }
  .brand-name { font-size: .73rem; letter-spacing: .12em; }
  .main-nav { top: 74px; }
  .hero { min-height: 940px; }
  .hero-grid { min-height: 790px; padding-top: 80px; }
  .hero-copy { padding-block: 75px 170px; }
  .eyebrow { display: grid; gap: 8px; margin-bottom: 24px; }
  .eyebrow span + span::before { width: 20px; margin-right: 12px; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 5.1rem); line-height: .94; }
  .hero-lead { margin-top: 28px; font-size: 1.02rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-index { grid-template-columns: 1fr 1fr; }
  .hero-index div { min-height: 76px; padding: 16px; }
  .hero-index div:nth-child(2) { border-right: 0; }
  .hero-index div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 28px; }
  .book-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .filter { white-space: nowrap; }
  .book-grid { grid-template-columns: 1fr; }
  .book-card, .book-card-featured { grid-column: auto; min-height: 650px; }
  .book-card-featured { display: flex; }
  .book-card-featured .book-cover { width: min(178px, 72%); margin: 12px auto 34px; }
  .themes-content { grid-template-columns: 1fr; }
  .themes-content article { min-height: auto; padding: 35px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .themes-content h3 { margin-top: 32px; }
  .about-monogram { min-height: 360px; }
  .about-monogram span { font-size: 7rem; }
  .closing-inner { align-items: flex-end; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { grid-column: auto; }
  .legal-header .main-nav { display: none; }
  .legal-main { width: calc(100vw - 32px); }
  .legal-footer .shell { flex-direction: column; }
  .music-toggle { right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); }
  .back-to-top { right: calc(14px + env(safe-area-inset-right)); bottom: calc(74px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .book-cover,
  .book-card:nth-child(3n + 2) .book-cover,
  .book-card:nth-child(3n) .book-cover { transform: none; }
}

@media print {
  .site-header, .hero-art, .hero-overlay, .hero-signature, .hero-actions, .book-filters, .music-toggle, .back-to-top, .closing { display: none !important; }
  body, .books, .about { background: #fff; color: #000; }
  .hero { min-height: auto; padding: 40px 0; }
  .hero-grid { min-height: auto; padding: 0; }
  .hero h1 { font-size: 48pt; }
  .hero-index { position: static; background: none; color: #000; }
  .book-card { break-inside: avoid; box-shadow: none; }
}
