:root {
  --ink: #1c2731;
  --ink-soft: #344758;
  --paper: #fffdf9;
  --sand: #f4efe7;
  --sand-deep: #eadfce;
  --gold: #e6c47e;
  --gold-dark: #8b6327;
  --text: #292824;
  --muted: #6b665e;
  --line: #ddd2c1;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(40, 32, 23, 0.11);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body:has(.selection-drawer.is-open) {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #c4933e;
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cover-excerpt-link {
  position: relative;
  display: block;
  text-decoration: none;
  isolation: isolate;
}

.cover-excerpt-link img {
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.cover-excerpt-cta {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 12px;
  max-width: calc(100% - 18px);
  margin: 0 !important;
  padding: 7px 11px;
  transform: translateX(50%);
  background: rgba(24, 36, 46, 0.94);
  border: 1px solid rgba(230, 196, 126, 0.8);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  color: #fff8ea !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem !important;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2 !important;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cover-excerpt-link:hover img,
.cover-excerpt-link:focus-visible img {
  filter: brightness(0.88);
}

.cover-excerpt-link:hover .cover-excerpt-cta,
.cover-excerpt-link:focus-visible .cover-excerpt-cta {
  transform: translate(50%, -3px);
  background: #9b6c28;
  border-color: #f1d99f;
}

.cover-excerpt-cta-compact {
  bottom: 8px;
  padding: 5px 9px;
  font-size: 0.61rem !important;
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: #efe7db;
}

.section-dark {
  color: var(--white);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid rgba(139, 99, 39, 0.14);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
  white-space: nowrap;
}

.brand span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 5px;
  color: var(--gold-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 25px);
}

.main-nav a {
  color: #3e3c38;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--gold-dark);
}

.main-nav .nav-shop {
  display: none;
}

.share-button,
.menu-toggle {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
}

.share-button {
  padding: 0 17px;
}

.menu-toggle {
  display: none;
  width: 42px;
  font-size: 1.25rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 84px;
  background:
    radial-gradient(circle at 88% 90%, rgba(255, 255, 255, 0.07), transparent 31%),
    linear-gradient(128deg, #17212b, #354858);
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(255, 255, 255, 0.025),
    0 0 0 116px rgba(255, 255, 255, 0.017);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.eyebrow,
.kicker {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: #f0d493;
}

.kicker {
  color: var(--gold-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 17px 0 26px;
  font-size: clamp(3.1rem, 5.6vw, 5.55rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  color: #e5ecef;
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions,
.press-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--ink);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: var(--white);
}

.button-outline-dark {
  border-color: #bca98b;
  background: transparent;
  color: var(--ink);
}

.button-ink {
  background: var(--ink);
  color: var(--white);
}

.button-light {
  border-color: #cdbda3;
  background: var(--white);
  color: #5e4a2a;
}

.hero-facts {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #f2dca8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  list-style: none;
}

.hero-facts li::before {
  margin-right: 8px;
  content: "•";
}

.hero-visual img {
  display: block;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.26);
}

.hero-library-link .cover-excerpt-cta {
  right: 22px;
  bottom: 22px;
  padding: 10px 16px;
  transform: none;
  font-size: 0.76rem !important;
}

.hero-library-link:hover .cover-excerpt-cta,
.hero-library-link:focus-visible .cover-excerpt-cta {
  transform: translateY(-3px);
}

.publisher-strip {
  padding: 18px 0;
  background: #eadcc7;
  border-bottom: 1px solid #d7c6aa;
}

.publisher-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.publisher-inner p {
  margin: 0;
  display: grid;
  line-height: 1.45;
}

.publisher-inner strong {
  font-size: 1.02rem;
}

.publisher-inner span {
  color: var(--muted);
  font-size: 0.9rem;
}

.author-panel {
  padding: clamp(22px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(34px, 5vw, 64px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.author-portrait {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.author-portrait img {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 42px rgba(31, 25, 18, 0.22);
}

.author-portrait figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 14px 16px;
  display: grid;
  background: rgba(255, 253, 249, 0.93);
  border-radius: 13px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
}

.author-portrait strong {
  color: var(--ink);
  font-size: 0.96rem;
}

h2 {
  margin: 10px 0 19px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.author-copy > p:not(.kicker),
.section-heading > p:not(.kicker),
.press-grid > div > p,
.contact-copy > p {
  color: var(--muted);
}

.lead {
  color: #45413a !important;
  font-size: 1.14rem;
}

.author-stats {
  margin-top: 27px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.author-stats span {
  min-height: 92px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f6efe4;
  border-radius: 13px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  line-height: 1.35;
}

.author-stats strong {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading > p:last-child {
  margin: 0;
  font-size: 1.03rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.experience-card {
  min-height: 190px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: 0 12px 30px rgba(41, 33, 25, 0.07);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
}

.experience-card:hover,
.experience-card.active {
  transform: translateY(-4px);
  border-color: #b88a43;
  box-shadow: 0 20px 38px rgba(41, 33, 25, 0.13);
}

.experience-card.active {
  background: #fff7e9;
}

.experience-card span {
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.experience-card strong {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.experience-card small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 17px;
}

.featured-card {
  min-width: 0;
  padding: 15px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 13px 32px rgba(39, 31, 24, 0.09);
}

.featured-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 13px 23px rgba(0, 0, 0, 0.17);
  transition: transform 0.2s ease;
}

.featured-cover:hover img {
  transform: translateY(-3px);
}

.featured-card > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-card p {
  margin: 15px 0 5px;
  color: var(--gold-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.featured-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.18;
}

.featured-card span {
  color: var(--muted);
  font-size: 0.87rem;
}

.featured-card > div > a {
  margin-top: auto;
  padding-top: 13px;
  color: var(--gold-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.excerpt-section {
  background: var(--ink);
  color: var(--white);
}

.excerpt-section .section-heading h2,
.excerpt-section .section-heading > p {
  color: var(--white);
}

.excerpt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.excerpt-card {
  min-width: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  background: #fffdf9;
  border: 1px solid rgba(230, 196, 126, 0.4);
  border-radius: 18px;
  color: var(--text);
}

.excerpt-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.excerpt-card > div {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.excerpt-card .excerpt-genre {
  margin: 0 0 5px;
  color: var(--gold-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.excerpt-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.2;
}

.excerpt-card p:not(.excerpt-genre) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.excerpt-card .button {
  margin-top: auto;
  justify-self: start;
  font-size: 0.74rem;
}

.excerpt-note {
  margin: 20px 0 0;
  color: #d8c9ad;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  text-align: center;
}

.excerpt-overview {
  padding: clamp(28px, 4vw, 50px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(230, 196, 126, 0.27);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(7, 12, 17, 0.2);
}

.excerpt-overview strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.excerpt-overview p {
  max-width: 560px;
  margin: 17px 0 24px;
  color: #d9cfbf;
}

.excerpt-cover-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: clamp(12px, 1.6vw, 22px);
  padding: 8px;
}

.excerpt-cover-row img {
  width: 100%;
  max-width: 138px;
  margin-inline: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.excerpt-cover-row .cover-excerpt-link:hover img,
.excerpt-cover-row .cover-excerpt-link:focus-visible img {
  transform: translateY(-7px);
  box-shadow: 0 25px 42px rgba(0, 0, 0, 0.38);
}

.excerpt-cover-row .cover-excerpt-link {
  min-width: 0;
}

.catalogue-section {
  background: #f3ede4;
}

.catalogue-tools {
  position: sticky;
  z-index: 50;
  top: 82px;
  margin-bottom: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) 0.8fr 0.7fr auto;
  gap: 10px;
  background: rgba(244, 239, 231, 0.95);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(37, 30, 23, 0.08);
  backdrop-filter: blur(12px);
}

.field input,
.field select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  background: var(--white);
  border: 1px solid #cdbfa9;
  border-radius: 11px;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.reset-button {
  padding: 0 16px;
  border: 1px solid #c6b69b;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 780;
}

.result-line {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.result-line button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--gold-dark);
  cursor: pointer;
  font-weight: 800;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.book-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(38, 30, 23, 0.09);
  transition: 0.2s ease;
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 43px rgba(38, 30, 23, 0.13);
}

.book-card-top {
  padding: 18px 18px 8px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 17px;
}

.book-cover-wrap {
  position: relative;
}

.book-cover-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 13px 23px rgba(0, 0, 0, 0.18);
}

.book-cover-wrap .cover-excerpt-cta {
  bottom: 8px;
  padding: 6px 8px;
  font-size: 0.6rem !important;
}

.favorite {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.17);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
}

.favorite.active {
  background: var(--gold);
}

.genre-pill {
  padding: 5px 9px;
  display: inline-flex;
  background: #eee5d7;
  border-radius: 999px;
  color: #69583e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.67rem;
  font-weight: 800;
}

.book-card h3 {
  margin: 11px 0 4px;
  color: var(--ink);
  font-size: 1.24rem;
  line-height: 1.16;
}

.book-author {
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
}

.hook {
  margin: 10px 0 0;
  color: #544d44;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.55;
}

.synopsis {
  margin: 0;
  padding: 7px 18px 0;
  color: #49443d;
  font-size: 0.92rem;
}

.book-markers {
  padding: 13px 18px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.book-markers span {
  padding: 6px 8px;
  background: #f5efe6;
  border-radius: 8px;
  color: #655a4c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.67rem;
  font-weight: 750;
}

.theme-list {
  margin: 0;
  padding: 8px 18px 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.theme-list li {
  padding: 4px 8px;
  border: 1px solid #d7cbb9;
  border-radius: 999px;
  color: #6b6257;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
}

.book-card details {
  margin: 2px 18px 0;
  border-top: 1px solid #eee5d8;
}

.book-card summary {
  padding: 11px 0;
  color: var(--gold-dark);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.77rem;
  font-weight: 800;
}

.book-card details p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.87rem;
}

.book-actions {
  margin-top: auto;
  padding: 13px 18px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.book-actions .button {
  min-height: 42px;
  padding-inline: 10px;
  border-radius: 10px;
  font-size: 0.74rem;
}

.book-actions .excerpt-action {
  grid-column: 1 / -1;
}

.empty-state {
  padding: 45px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state h3 {
  color: var(--ink);
}

.show-more {
  padding-top: 30px;
  text-align: center;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 50px;
}

.split-heading h2 {
  margin-bottom: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 17px;
}

.news-card {
  min-height: 220px;
  padding: 27px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 11px 29px rgba(40, 32, 24, 0.07);
}

.news-card-main {
  grid-row: span 2;
  min-height: 457px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(rgba(20, 31, 41, 0.45), rgba(20, 31, 41, 0.91)),
    url("/images/hero-livres.webp") center / cover;
  color: var(--white);
}

.news-card time {
  color: var(--gold-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card-main time {
  color: #f2d694;
}

.news-card h3 {
  margin: 13px 0 11px;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.15;
}

.news-card-main h3 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.news-card-main p {
  max-width: 610px;
  color: #ecf0f1;
  font-size: 1.02rem;
}

.news-card-main span {
  margin-top: 22px;
  color: #f2d694;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 750;
}

.press-section {
  background: linear-gradient(128deg, #17212b, #324655);
  color: var(--white);
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(35px, 6vw, 78px);
}

.press-grid h2,
.press-grid .lead {
  color: var(--white) !important;
}

.press-grid .kicker {
  color: #f2d694;
}

.press-grid > div > p:not(.kicker) {
  color: #e4eaed;
}

.press-card {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
}

.press-card h3 {
  margin-top: 0;
  color: #f2d694;
  font-size: 1.5rem;
}

.press-card p {
  color: #edf1f2;
}

.press-card ul,
.contact-copy ul {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.press-card li::before,
.contact-copy li::before {
  margin-right: 9px;
  color: var(--gold);
  content: "✓";
}

.contact-section {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(35px, 6vw, 80px);
  align-items: start;
}

.contact-copy h2 {
  max-width: 620px;
}

.contact-copy ul {
  color: #4e4942;
}

.contact-location {
  margin-top: 28px;
  color: var(--gold-dark) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 750;
}

.contact-form {
  padding: clamp(21px, 3.5vw, 36px);
  display: grid;
  gap: 17px;
  background: #f4ede2;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #4b463f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .button {
  justify-self: start;
  border: 0;
}

.form-notice {
  margin: 0;
  padding: 11px 13px;
  background: #fff4d9;
  border-radius: 9px;
  color: #664a1d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
}

footer {
  padding: 54px 0 24px;
  background: #121b23;
  color: #d8dee2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr;
  gap: 40px;
}

.brand-footer {
  color: var(--white);
}

.footer-grid > div > p {
  max-width: 420px;
  color: #aeb8bf;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid nav a {
  color: #d8dee2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: #f2d694;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #98a4ac;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
}

.footer-bottom button {
  border: 0;
  background: transparent;
  color: #f2d694;
  cursor: pointer;
}

.selection-drawer {
  position: fixed;
  z-index: 150;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.selection-drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.selection-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 24, 0.62);
}

.selection-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 94vw);
  padding: 26px;
  overflow-y: auto;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: 0.25s ease;
}

.selection-drawer.is-open .selection-panel {
  transform: translateX(0);
}

.selection-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.selection-heading h2 {
  font-size: 2rem;
}

.selection-heading > button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
}

.selection-panel ul {
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.selection-panel li {
  padding: 10px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #f4ede2;
  border-radius: 12px;
}

.selection-panel li img {
  width: 54px;
  height: 81px;
  border-radius: 5px;
  object-fit: cover;
}

.selection-cover {
  display: block;
  border-radius: 5px;
}

.selection-panel li div {
  display: grid;
  gap: 5px;
  line-height: 1.25;
}

.selection-panel li a {
  color: var(--gold-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 750;
}

.selection-panel li > button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.selection-empty {
  padding: 22px;
  background: #f4ede2;
  border-radius: 12px;
  color: var(--muted);
}

/* Pages intérieures */
.inner-page {
  min-height: 100vh;
  background: var(--sand);
}

.inner-header {
  padding: 24px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.inner-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.inner-main {
  padding: 70px 0 90px;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 58px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 10px 0 25px;
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.legal-card h2 {
  margin-top: 40px;
  font-size: 1.8rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.placeholder-note {
  padding: 14px 16px;
  background: #fff4d9;
  border-left: 4px solid #c4933e;
  color: #65491b !important;
}

.book-detail {
  display: grid;
  grid-template-columns: minmax(260px, 370px) 1fr;
  gap: clamp(35px, 7vw, 90px);
  align-items: start;
}

.detail-cover {
  position: sticky;
  top: 105px;
}

.detail-cover img {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(31, 25, 18, 0.23);
}

.detail-cover .cover-excerpt-link {
  border-radius: 14px;
}

.detail-cover .cover-excerpt-cta {
  bottom: 18px;
  padding: 9px 15px;
  font-size: 0.75rem !important;
}

.detail-copy h1 {
  margin: 12px 0 9px;
  color: var(--ink);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.detail-author {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

.detail-hook {
  max-width: 750px;
  margin: 28px 0;
  color: #4b453d;
  font-size: 1.35rem;
  font-style: italic;
}

.detail-copy h2 {
  margin-top: 42px;
  font-size: 2rem;
}

.detail-copy > p:not(.kicker, .detail-author, .detail-hook) {
  color: var(--muted);
  font-size: 1.04rem;
}

.detail-info {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-info span {
  padding: 14px;
  display: grid;
  background: #eee5d7;
  border-radius: 12px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
}

.detail-info strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.excerpt-library-main {
  background:
    radial-gradient(circle at 88% 7%, rgba(230, 196, 126, 0.2), transparent 25rem),
    #f3ede4;
}

.excerpt-library-heading {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.excerpt-library-heading h1 {
  margin: 9px 0 15px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
}

.excerpt-library-heading > p {
  max-width: 740px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.excerpt-library-heading label {
  max-width: 620px;
  margin: 30px auto 0;
  display: block;
}

.excerpt-library-heading input {
  width: 100%;
  min-height: 58px;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid #cdbfa9;
  border-radius: 999px;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 10px 30px rgba(38, 30, 23, 0.08);
}

.excerpt-result {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
}

.excerpt-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 26px;
}

.excerpt-library-card {
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(38, 30, 23, 0.08);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.excerpt-library-card[hidden] {
  display: none;
}

.excerpt-library-card:hover {
  transform: translateY(-5px);
  border-color: #c9b18b;
  box-shadow: 0 24px 50px rgba(38, 30, 23, 0.14);
}

.excerpt-library-card > a:first-child {
  min-height: 282px;
  padding: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #efe7db, #e4d8c7);
  border-radius: 15px;
}

.excerpt-library-card img {
  width: min(168px, 100%);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 16px 30px rgba(29, 23, 18, 0.23);
  transition: transform 180ms ease;
}

.excerpt-library-card:hover img {
  transform: scale(1.025);
}

.excerpt-library-card > div {
  min-height: 250px;
  padding: 20px 4px 3px;
  display: flex;
  flex-direction: column;
}

.excerpt-library-card p {
  margin: 0 0 5px;
  color: var(--gold-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.excerpt-library-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.22;
}

.excerpt-library-card span {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.excerpt-library-card .button {
  min-height: 44px;
  margin-top: auto;
  padding: 9px 14px;
  font-size: 0.74rem;
}

.reader-body {
  --reader-font-size: 19px;
  background: #eee6da;
}

.reader-main {
  padding-bottom: 90px;
}

.reader-intro {
  width: 100%;
  padding: 58px max(40px, calc((100% - 1120px) / 2));
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 65px);
  background: linear-gradient(135deg, #18242e, #2e4354);
  color: var(--white);
}

.reader-intro > img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.34);
}

.reader-intro h1 {
  margin: 9px 0 10px;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.reader-intro .detail-author {
  color: #d9cdb9;
}

.reader-hook {
  max-width: 700px;
  color: #f1e7d7;
  font-size: 1.08rem;
}

.reader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reader-meta span {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f4dfb3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.reader-shell {
  max-width: 890px;
  margin-top: 38px;
  overflow: hidden;
  background: #fffefa;
  border: 1px solid #d6c9b7;
  border-radius: 14px;
  box-shadow: 0 26px 65px rgba(43, 33, 24, 0.16);
  scroll-margin-top: 88px;
}

.reader-toolbar {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #f4eee4;
  border-bottom: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
}

.reader-toolbar > div:first-child {
  display: grid;
  line-height: 1.35;
}

.reader-toolbar strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.reader-toolbar span {
  color: var(--muted);
  font-size: 0.72rem;
}

.reader-settings {
  display: flex;
  gap: 7px;
}

.reader-settings button {
  min-width: 42px;
  height: 38px;
  padding: 0 9px;
  background: var(--white);
  border: 1px solid #cfc2af;
  border-radius: 9px;
  color: var(--ink);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.reader-progress {
  height: 4px;
  overflow: hidden;
  background: #e4dbce;
}

.reader-progress span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #a8752d, var(--gold));
  transition: width 0.25s ease;
}

.reader-text {
  min-height: 720px;
  padding: clamp(52px, 8vw, 82px) clamp(42px, 9vw, 92px);
  background: #fffefa;
  color: #2e2a25;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  font-size: var(--reader-font-size);
  font-kerning: normal;
  letter-spacing: 0.003em;
  line-height: 1.72;
}

.reader-page[hidden] {
  display: none;
}

.reader-page {
  max-width: 68ch;
  margin-inline: auto;
  text-wrap: pretty;
}

.reader-page h2 {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: 1.48em;
  font-variant-caps: small-caps;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
}

.reader-page h2::after {
  width: 52px;
  height: 1px;
  margin: 22px auto 0;
  display: block;
  background: var(--gold-dark);
  content: "";
  opacity: 0.65;
}

.reader-page h3 {
  margin: -21px 0 36px;
  color: var(--muted);
  font-size: 0.95em;
  font-style: italic;
  font-weight: 400;
  text-align: center;
}

.reader-page p {
  margin: 0;
  text-align: justify;
  text-indent: 1.4em;
  text-justify: inter-word;
  hyphens: auto;
  orphans: 3;
  widows: 3;
}

.reader-page:first-child p:first-of-type {
  text-indent: 0;
}

.reader-page:first-child p:first-of-type::first-letter {
  float: left;
  margin: 0.13em 0.11em 0 0;
  color: var(--gold-dark);
  font-size: 3.1em;
  font-weight: 600;
  line-height: 0.78;
}

.reader-pagination {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: #f4eee4;
  border-top: 1px solid var(--line);
}

.reader-pagination button:last-child {
  justify-self: end;
}

.reader-pagination span {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 750;
}

.reader-pagination button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.reader-finish {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #e9dcc8;
  border-top: 1px solid #d3c2a8;
}

.reader-finish h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.reader-finish > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reader-night {
  background: #10171d;
}

.reader-night .reader-shell {
  background: #192229;
  border-color: #33424d;
}

.reader-night .reader-toolbar,
.reader-night .reader-pagination {
  background: #141d23;
  border-color: #33424d;
}

.reader-night .reader-toolbar strong,
.reader-night .reader-text,
.reader-night .reader-page h2 {
  color: #f2ebdf;
}

.reader-night .reader-text {
  background: #192229;
}

.reader-night .reader-page h3 {
  color: #c8beb0;
}

.reader-night .reader-page h2::after {
  background: #d8b66e;
}

.reader-night .reader-toolbar span,
.reader-night .reader-pagination span {
  color: #bdb5aa;
}

.reader-night .reader-settings button {
  background: #26333c;
  border-color: #455660;
  color: #fff;
}

.reader-night .reader-progress {
  background: #2c3942;
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 13px;
  }

  .main-nav a {
    font-size: 0.78rem;
  }

  .hero-grid,
  .author-panel,
  .press-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 800px;
  }

  .author-portrait {
    max-width: 330px;
  }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogue-tools {
    grid-template-columns: 1fr 1fr;
  }

  .excerpt-library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .share-button {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .excerpt-grid {
    grid-template-columns: 1fr;
  }

  .excerpt-overview {
    grid-template-columns: 1fr;
  }

  .excerpt-cover-row {
    max-width: 680px;
    margin-inline: auto;
  }

  .excerpt-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reader-intro {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .reader-finish {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    margin: 0;
    padding: 14px 20px 22px;
    display: none;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(32, 25, 19, 0.13);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 11px 7px;
    border-bottom: 1px solid #eee6da;
    font-size: 0.9rem;
  }

  .main-nav .nav-shop {
    margin-top: 7px;
    display: inline-flex;
    justify-content: center;
    background: var(--ink);
    border: 0;
    border-radius: 999px;
    color: var(--white);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .author-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-heading,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-main {
    grid-row: auto;
    min-height: 420px;
  }

  .book-detail {
    grid-template-columns: 250px 1fr;
    gap: 35px;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, 1220px);
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 56px 0 60px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions,
  .press-actions {
    display: grid;
  }

  .hero-actions .button,
  .press-actions .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
  }

  .publisher-inner,
  .result-line,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .publisher-inner .button {
    width: 100%;
  }

  .author-panel {
    padding: 18px;
  }

  .experience-grid,
  .featured-grid,
  .book-grid,
  .catalogue-tools,
  .form-row,
  .detail-info {
    grid-template-columns: 1fr;
  }

  .experience-card {
    min-height: 0;
  }

  .excerpt-card {
    padding: 14px;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
  }

  .excerpt-overview {
    padding: 24px 18px;
  }

  .excerpt-cover-row {
    min-height: 0;
    gap: 8px;
    padding: 4px 0;
  }

  .excerpt-library-grid {
    grid-template-columns: 1fr;
  }

  .excerpt-library-card {
    padding: 14px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    border-radius: 18px;
  }

  .excerpt-library-card > a:first-child {
    min-height: 0;
    padding: 0;
    background: transparent;
  }

  .excerpt-library-card img {
    width: 100%;
  }

  .excerpt-library-card > div {
    min-height: 210px;
    padding: 2px 0;
  }

  .excerpt-library-card:hover {
    transform: none;
  }

  .reader-intro {
    padding: 35px 20px;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .reader-intro h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .reader-hook {
    font-size: 0.88rem;
  }

  .reader-meta {
    grid-column: 1 / -1;
  }

  .reader-shell {
    width: calc(100% - 20px);
    margin-top: 14px;
    border-radius: 16px;
  }

  .reader-toolbar {
    padding: 13px 14px;
  }

  .reader-text {
    min-height: 0;
    padding: 36px clamp(20px, 7vw, 28px) 42px;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
    font-size: var(--reader-font-size);
    line-height: 1.72;
  }

  .reader-page {
    max-width: none;
    margin-inline: 0;
  }

  .reader-page h2 {
    margin-bottom: 30px;
    font-size: 1.35em;
    font-variant-caps: small-caps;
    letter-spacing: 0.065em;
    text-align: center;
  }

  .reader-page h3 {
    margin: -18px 0 30px;
    font-size: 0.92em;
    text-align: center;
  }

  .reader-page p {
    margin: 0;
    text-align: justify;
    text-indent: 1.25em;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .reader-page:first-child p:first-of-type {
    text-indent: 0;
  }

  .reader-page:first-child p:first-of-type::first-letter {
    margin-top: 0.14em;
    font-size: 2.8em;
  }

  .reader-pagination {
    padding: 14px;
    grid-template-columns: 1fr 1fr;
  }

  .reader-pagination span {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .reader-pagination button {
    width: 100%;
  }

  .reader-finish > div:last-child,
  .reader-finish .button {
    width: 100%;
  }

  .catalogue-tools {
    position: static;
  }

  .reset-button {
    min-height: 48px;
  }

  .book-card-top {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 14px;
  }

  .book-card h3 {
    font-size: 1.08rem;
  }

  .hook {
    font-size: 0.84rem;
  }

  .book-actions {
    grid-template-columns: 1fr;
  }

  .news-card-main {
    min-height: 370px;
  }

  .contact-form .button {
    width: 100%;
  }

  .book-detail {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }

  .detail-copy h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .topbar,
  .publisher-strip,
  .catalogue-tools,
  .favorite,
  .book-actions,
  .show-more,
  footer,
  .selection-drawer,
  .contact-section {
    display: none !important;
  }

  body,
  .section,
  .catalogue-section,
  .section-soft {
    background: var(--white) !important;
  }

  .book-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .book-card,
  .author-panel {
    break-inside: avoid;
    box-shadow: none;
  }
}
.music-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(198, 151, 79, .16), transparent 34%),
    linear-gradient(135deg, #111a28 0%, #1d2d43 100%);
  color: #f8f3ea;
}

.music-section::after {
  content: "♪";
  position: absolute;
  right: 4vw;
  bottom: -5rem;
  color: rgba(218, 174, 101, .07);
  font-family: Georgia, serif;
  font-size: clamp(16rem, 32vw, 34rem);
  line-height: 1;
  pointer-events: none;
}

.music-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.music-intro {
  max-width: 42rem;
}

.music-intro h2 {
  color: #fff;
}

.music-intro .lead {
  color: #f2dfbf;
}

.music-player-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(221, 181, 111, .35);
  border-radius: 24px;
  background: rgba(7, 13, 22, .64);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
}

.music-player-heading {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.music-player-heading > div {
  display: grid;
  gap: .25rem;
}

.music-player-heading small,
.music-player-heading span {
  color: #d9c6a7;
}

.music-player-heading strong {
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.music-symbol {
  display: grid;
  flex: 0 0 3.6rem;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  border: 1px solid rgba(221, 181, 111, .48);
  border-radius: 50%;
  background: rgba(213, 165, 87, .1);
  color: #ddb56f !important;
  font-size: 1.65rem;
}

.music-select-label {
  display: block;
  margin-bottom: .45rem;
  color: #d9c6a7;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.music-track-select {
  width: 100%;
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(221, 181, 111, .36);
  border-radius: 12px;
  background: #f8f3ea;
  color: #172237;
  font: inherit;
}

.music-audio {
  display: block;
  width: 100%;
  margin: .25rem 0 1rem;
}

.music-navigation {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
}

.music-nav-button {
  padding: .7rem .9rem;
  border: 1px solid rgba(221, 181, 111, .42);
  border-radius: 999px;
  background: transparent;
  color: #f8f3ea;
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
}

.music-nav-button:hover,
.music-nav-button:focus-visible {
  border-color: #ddb56f;
  background: rgba(221, 181, 111, .12);
}

.music-status {
  min-height: 1.4em;
  margin: .8rem 0 0;
  color: #e2cda9;
  font-size: .9rem;
}

.music-copyright {
  margin: .55rem 0 0;
  color: rgba(242, 231, 212, .72);
  font-size: .76rem;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 780px) {
  .music-layout {
    grid-template-columns: 1fr;
  }

  .music-player-card {
    border-radius: 18px;
  }

  .music-navigation {
    flex-direction: column;
  }

  .music-nav-button {
    width: 100%;
  }
}
