:root {
  --bg: #070706;
  --bg-2: #0d0c0a;
  --paper: #efe9df;
  --paper-2: #d8d0c4;
  --gold: #c5a45c;
  --gold-2: #e1c47f;
  --red: #8b1e1e;
  --red-2: #b53a2e;
  --ink: #171512;
  --line: rgba(197, 164, 92, .26);
  --muted: #a79f93;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0,0,0,.34);
  --shell: min(1480px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gold); color: #111; }

h1, h2, h3, .book-title, .profile-label {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 6vw, 6.8rem); margin: 0 0 28px; max-width: 11ch; }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.9rem); margin: 0 0 22px; }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
p { margin-top: 0; }

.shell { width: var(--shell); margin: 0 auto; }
.section { padding: 112px 0; position: relative; }
.section-dark { background: var(--bg); }
.section-ink { background: #0b0a09; }
.kicker, .eyebrow {
  color: var(--gold-2);
  font-size: .76rem;
  line-height: 1.3;
  letter-spacing: .22em;
  font-weight: 800;
  text-transform: uppercase;
}
.kicker { display: block; margin-bottom: 16px; }

.sr-only {
  position: absolute !important;
  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;
  top: 10px; left: 10px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--gold);
  color: #090806;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(5,5,4,.96), rgba(5,5,4,.82));
  border-bottom: 1px solid rgba(197,164,92,.16);
  backdrop-filter: blur(14px);
}
.header-inner {
  height: 82px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 230px; height: auto; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2vw, 34px); }
.primary-nav a {
  color: #d8d0c2;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
  transition: color .2s ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--gold-2); }
.menu-toggle { display: none; }

.amazon-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3a847;
  color: #17120b;
  border-radius: 999px;
  padding: 9px 14px;
  text-decoration: none;
  font-weight: 850;
  line-height: 1;
  box-shadow: inset 0 -2px rgba(0,0,0,.12);
}
.amazon-smile { font-family: Arial, sans-serif; font-size: .83em; letter-spacing: -.05em; }

.hero {
  min-height: 100vh;
  padding-top: 82px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 80% 28%, rgba(120,28,20,.22), transparent 31%),
    radial-gradient(circle at 18% 42%, rgba(197,164,92,.13), transparent 32%),
    linear-gradient(135deg, #090807 0%, #050505 45%, #0d0b08 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .2;
  background-image:
    linear-gradient(rgba(197,164,92,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,164,92,.08) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 75%);
}
.hero-grid {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr);
  gap: 28px;
  align-items: center;
  padding-block: 70px 82px;
}
.hero-copy { position: relative; z-index: 2; padding-right: 5vw; }
.hero-copy .eyebrow { margin: 0 0 22px; }
.hero-lead { font-size: clamp(1.08rem, 1.45vw, 1.42rem); color: #c9c1b6; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 28px; }
.button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  min-height: 48px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .filter-btn:focus-visible, .profile-card:focus-visible, .dialog-close:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(225,196,127,.65);
  outline-offset: 3px;
}
.button-primary { color: #0d0b07; background: linear-gradient(135deg, #e4c97f, #aa853c); box-shadow: 0 12px 28px rgba(170,133,60,.24); }
.button-amazon { color: #17120b; background: linear-gradient(135deg, #ffbc64, #e8962d); }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--paper); }
.button-disabled { pointer-events: none; opacity: .46; filter: grayscale(.4); }

.independent-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 690px;
  color: #bdb4a6;
  font-size: .95rem;
}
.note-icon {
  width: 30px; height: 30px; flex: 0 0 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--gold-2);
  border-radius: 50%;
  font-family: Georgia, serif;
}
.hero-stats { display: flex; gap: 36px; margin: 38px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(197,164,92,.15); }
.hero-stats div { min-width: 90px; }
.hero-stats dt { color: var(--paper); font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.hero-stats dd { margin: 6px 0 0; color: #8e867a; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }

.hero-library { position: relative; min-height: 690px; display: grid; place-items: center; }
.cover-stage { width: min(100%, 760px); height: 640px; position: relative; }
.hero-cover {
  position: absolute;
  width: clamp(220px, 17vw, 280px);
  aspect-ratio: 2 / 3;
  object-fit: contain;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 35px 70px rgba(0,0,0,.58), 0 0 0 1px rgba(225,196,127,.12);
  transition: transform .35s ease, filter .35s ease;
}
.hero-cover:nth-child(1) { left: 34%; top: 4%; transform: rotate(-2deg); z-index: 5; }
.hero-cover:nth-child(2) { left: 6%; top: 16%; transform: rotate(-9deg) scale(.88); z-index: 3; filter: brightness(.72); }
.hero-cover:nth-child(3) { right: 3%; top: 14%; transform: rotate(8deg) scale(.9); z-index: 4; filter: brightness(.84); }
.hero-cover:nth-child(4) { left: 17%; bottom: 0; transform: rotate(7deg) scale(.75); z-index: 2; filter: brightness(.62); }
.hero-cover:nth-child(5) { right: 14%; bottom: 0; transform: rotate(-7deg) scale(.72); z-index: 1; filter: brightness(.58); }
.hero-library:hover .hero-cover:nth-child(1) { transform: rotate(0deg) translateY(-6px); }
.hero-seal {
  position: absolute;
  right: 4%; bottom: 7%; z-index: 9;
  width: 110px; aspect-ratio: 1;
  background: rgba(7,7,6,.86);
  border: 1px solid rgba(197,164,92,.36);
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.hero-seal img { width: 100%; height: auto; }
.hero-gridline {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, #090807);
  pointer-events: none;
}

.section-heading { max-width: 820px; }
.section-heading.centered { margin: 0 auto 56px; text-align: center; }
.section-heading p, .catalog-head p, .chooser-intro p, .author-copy p { color: #b7aea1; font-size: 1.04rem; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promise-card {
  min-height: 250px;
  border: 1px solid rgba(197,164,92,.18);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(197,164,92,.055), rgba(255,255,255,.015)),
    #0b0a08;
  position: relative;
  overflow: hidden;
}
.promise-card::after {
  content: attr(data-index);
  position: absolute; right: 18px; bottom: 4px;
  font: 500 5.3rem/1 Georgia, serif;
  color: rgba(197,164,92,.055);
}
.promise-card .promise-icon { color: var(--gold); font-size: 1.7rem; margin-bottom: 42px; display: block; }
.promise-card h3 { margin: 0 0 12px; color: var(--paper); }
.promise-card p { color: #9f978b; margin: 0; font-size: .94rem; }

.catalog { border-top: 1px solid rgba(197,164,92,.12); border-bottom: 1px solid rgba(197,164,92,.12); }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.catalog-head > div:first-child { max-width: 850px; }
.catalog-counter { color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 38px; }
.filter-btn {
  border: 1px solid rgba(197,164,92,.18);
  background: transparent;
  color: #bdb4a6;
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
  transition: .18s ease;
}
.filter-btn:hover, .filter-btn.active { color: #110f0b; background: var(--gold-2); border-color: var(--gold-2); }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.book-card {
  border: 1px solid rgba(197,164,92,.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #11100e, #0a0908);
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px rgba(0,0,0,.14);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.book-card:hover { transform: translateY(-5px); border-color: rgba(225,196,127,.38); box-shadow: 0 28px 55px rgba(0,0,0,.26); }
.book-cover-wrap {
  padding: 22px 22px 0;
  background: radial-gradient(circle at 50% 20%, rgba(197,164,92,.085), transparent 54%);
}
.book-cover-button { width: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.book-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 22px 44px rgba(0,0,0,.35);
}
.book-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.book-topline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: .7rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 850;
}
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-proximamente { color: #d5b66f; background: rgba(197,164,92,.09); }
.status-publicado { color: #93d69d; background: rgba(79,160,92,.12); }
.book-genre { color: #8e867b; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.book-title { color: var(--paper); font-size: clamp(1.65rem, 2.2vw, 2.2rem); margin: 0 0 10px; }
.book-meta { color: #958d82; font-size: .85rem; margin: 0 0 18px; min-height: 2.7em; }
.book-hook { color: var(--gold-2); font-family: Georgia, serif; font-size: 1.02rem; line-height: 1.45; margin: 0 0 15px; }
.book-description { color: #aaa195; font-size: .91rem; line-height: 1.58; margin: 0 0 22px; }
.book-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 18px; }
.book-tag { font-size: .68rem; color: #8d857a; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; padding: 5px 8px; }
.book-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.book-actions .button { min-height: 44px; padding: 10px 12px; font-size: .84rem; }
.book-actions .more-button { width: 44px; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--gold-2); }
.catalog-empty { color: var(--muted); text-align: center; padding: 50px; }

.chooser { background: #11100e; }
.chooser-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px 64px; }
.chooser-intro { grid-row: span 2; max-width: 520px; position: sticky; top: 125px; align-self: start; }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.profile-card {
  min-height: 150px;
  text-align: left;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(197,164,92,.16);
  background: #0b0a08;
  color: inherit;
  cursor: pointer;
  transition: .2s ease;
}
.profile-card:hover, .profile-card.active { border-color: rgba(225,196,127,.6); background: linear-gradient(145deg, rgba(197,164,92,.11), #0b0a08); }
.profile-label { color: var(--paper); font-size: 1.35rem; display: block; margin-bottom: 8px; }
.profile-card p { color: #91897d; margin: 0; font-size: .86rem; }
.chooser-results {
  min-height: 280px;
  border-top: 1px solid rgba(197,164,92,.14);
  padding-top: 28px;
}
.chooser-placeholder { color: #80786d; display: flex; gap: 12px; align-items: center; }
.chooser-placeholder span { color: var(--gold); font-size: 1.6rem; }
.recommendation-title { font-size: 1.05rem; color: #b7aea1; margin-bottom: 18px; }
.recommendation-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.recommendation-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(197,164,92,.12);
  background: #0a0908;
  border-radius: 12px;
  cursor: pointer;
}
.recommendation-item img { width: 84px; height: auto; aspect-ratio: 2/3; object-fit: contain; border-radius: 3px; }
.recommendation-item h3 { margin: 4px 0 8px; font-size: 1.18rem; }
.recommendation-item p { margin: 0; color: #8f877b; font-size: .82rem; line-height: 1.45; }

.author-section { overflow: hidden; }
.author-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 17% 45%, rgba(139,30,30,.16), transparent 30%);
  pointer-events: none;
}
.author-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.author-visual {
  min-height: 510px;
  border: 1px solid rgba(197,164,92,.22);
  border-radius: 22px;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(197,164,92,.11), transparent 35%),
    repeating-radial-gradient(circle at center, transparent 0 58px, rgba(139,30,30,.14) 59px 60px, transparent 61px 118px),
    #080706;
}
.author-visual::before, .author-visual::after {
  content: ""; position: absolute; width: 70%; height: 1px; background: rgba(197,164,92,.2); left: 15%;
}
.author-visual::before { top: 25%; transform: rotate(18deg); }
.author-visual::after { bottom: 23%; transform: rotate(-15deg); }
.author-emblem { width: min(80%, 560px); text-align: center; position: relative; z-index: 2; padding: 50px; background: rgba(5,5,4,.58); border: 1px solid rgba(197,164,92,.18); backdrop-filter: blur(6px); }
.author-emblem img { margin: 0 auto; height: auto; }
.author-emblem p { color: #8f8160; font-size: .7rem; letter-spacing: .18em; margin: 28px 0 0; }
.author-copy { max-width: 720px; }
.author-short { color: #ddd2c1 !important; font-family: Georgia, serif; font-size: 1.4rem !important; line-height: 1.45; }
.genre-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 22px; }
.genre-pill { border: 1px solid var(--line); color: var(--gold-2); border-radius: 999px; padding: 7px 11px; font-size: .78rem; }
.author-photo-note { color: #756e65 !important; font-size: .8rem !important; border-left: 2px solid rgba(197,164,92,.22); padding-left: 12px; }

.newsletter { background: #0d0c0a; }
.newsletter-card {
  border: 1px solid rgba(197,164,92,.24);
  border-radius: 22px;
  padding: clamp(34px, 5vw, 66px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(197,164,92,.08), transparent 48%),
    #0a0908;
  box-shadow: var(--shadow);
}
.newsletter-copy h2 { font-size: clamp(2.4rem, 4vw, 4.3rem); }
.newsletter-copy p { color: #aaa195; max-width: 560px; }
.field-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  color: var(--paper);
  background: #14120f;
  border: 1px solid rgba(197,164,92,.24);
  border-radius: 10px;
}
.consent-row { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; margin-top: 14px; color: #968e83; font-size: .82rem; }
.consent-row input { margin-top: 4px; accent-color: var(--gold); }
.form-meta { color: #746d64; font-size: .76rem; margin: 8px 0 0; }
.form-meta a { color: #aaa195; }
.form-status { min-height: 24px; font-size: .85rem; margin-top: 10px; color: var(--gold-2); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.faq { background: #0a0908; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid rgba(197,164,92,.18); }
.faq-item { border-bottom: 1px solid rgba(197,164,92,.16); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 46px 22px 0;
  position: relative;
  color: #ddd5ca;
  font-family: Georgia, serif;
  font-size: 1.16rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 17px; color: var(--gold); font: 300 1.7rem Georgia, serif; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: #989084; padding: 0 44px 22px 0; margin: 0; }

.site-footer { background: #050504; border-top: 1px solid rgba(197,164,92,.18); padding: 56px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 40px; align-items: start; }
.footer-brand img { width: 250px; height: auto; }
.footer-brand p { color: #756e65; margin: 14px 0 0; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #968e82; text-decoration: none; }
.footer-links a:hover { color: var(--gold-2); }
.footer-market { display: grid; gap: 10px; justify-items: start; }
.footer-market > span { color: #6e675e; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-bottom { display: flex; justify-content: space-between; color: #5e5850; border-top: 1px solid rgba(255,255,255,.05); margin-top: 42px; padding-top: 20px; font-size: .78rem; }

.book-dialog {
  width: min(920px, calc(100% - 34px));
  max-height: min(88vh, 900px);
  border: 1px solid rgba(197,164,92,.34);
  background: #0b0a08;
  color: var(--paper);
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 30px 100px rgba(0,0,0,.72);
}
.book-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 16px; top: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(5,5,5,.9); color: var(--paper); cursor: pointer; font-size: 1.4rem; }
.dialog-book { display: grid; grid-template-columns: 330px 1fr; gap: 36px; padding: 42px; }
.dialog-book img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: contain; box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.dialog-book h2 { font-size: clamp(2.3rem, 4vw, 4rem); margin-top: 12px; }
.dialog-book .dialog-hook { color: var(--gold-2); font: 1.2rem/1.45 Georgia, serif; }
.dialog-book .dialog-description { color: #a79f93; }
.dialog-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.dialog-meta div { border-top: 1px solid rgba(197,164,92,.14); padding-top: 9px; }
.dialog-meta span { display: block; color: #6f685f; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.dialog-meta strong { color: #b8afa4; font-weight: 650; font-size: .9rem; }

.noscript { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; padding: 14px; background: #9a2b22; color: white; text-align: center; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1240px) {
  :root { --shell: min(100% - 48px, 1180px); }
  .header-inner { grid-template-columns: 220px 1fr auto; }
  .brand img { width: 200px; }
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: .82rem; }
  .hero-grid { grid-template-columns: .95fr 1.05fr; }
  .hero-library { min-height: 620px; }
  .cover-stage { transform: scale(.9); }
  .book-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --shell: calc(100% - 40px); }
  .header-inner { grid-template-columns: 1fr auto auto; height: 74px; }
  .header-amazon { display: none; }
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 42px; height: 42px;
    align-content: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { width: 19px; height: 2px; background: var(--paper); display: block; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px); left: 20px; right: 20px;
    display: none;
    padding: 18px;
    background: #090807;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: grid; gap: 0; }
  .primary-nav a { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.04); }
  .hero { padding-top: 74px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 80px 64px; }
  .hero-copy { padding-right: 0; max-width: 760px; }
  .hero-library { min-height: 620px; margin-top: 10px; }
  .cover-stage { height: 620px; width: min(100%, 720px); transform: none; }
  .hero-cover { width: min(34vw, 260px); }
  .section { padding: 86px 0; }
  .book-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .chooser-layout { grid-template-columns: 1fr; }
  .chooser-intro { position: static; grid-row: auto; max-width: 750px; }
  .author-layout { grid-template-columns: 1fr; gap: 46px; }
  .author-visual { min-height: 430px; }
  .newsletter-card { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-market { grid-column: span 2; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 28px); }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .header-inner { gap: 12px; }
  .brand img { width: 175px; }
  .hero-grid { padding-top: 58px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-stats { gap: 18px; justify-content: space-between; }
  .hero-stats div { min-width: 0; }
  .hero-library { min-height: 450px; }
  .cover-stage { height: 440px; }
  .hero-cover { width: min(42vw, 190px); }
  .hero-cover:nth-child(1) { left: 29%; top: 0; }
  .hero-cover:nth-child(2) { left: 0; top: 17%; }
  .hero-cover:nth-child(3) { right: 0; top: 16%; }
  .hero-cover:nth-child(4) { left: 14%; bottom: -3%; }
  .hero-cover:nth-child(5) { right: 8%; bottom: -4%; }
  .hero-seal { width: 78px; right: 0; bottom: 1%; padding: 9px; }
  .section { padding: 70px 0; }
  .promise-grid, .book-grid, .profile-grid, .recommendation-list { grid-template-columns: 1fr; }
  .promise-card { min-height: 220px; }
  .catalog-head { align-items: start; flex-direction: column; }
  .book-cover-wrap { padding: 18px 18px 0; }
  .book-body { padding: 20px; }
  .book-title { font-size: 2rem; }
  .chooser-results { min-height: 180px; }
  .author-visual { min-height: 340px; }
  .author-emblem { width: 88%; padding: 34px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .newsletter-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-market { grid-column: auto; }
  .footer-bottom { gap: 12px; flex-direction: column; }
  .dialog-book { grid-template-columns: 1fr; padding: 24px; }
  .dialog-book > img { width: min(76%, 330px); margin: 0 auto; }
  .dialog-meta { grid-template-columns: 1fr; }
}

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