:root {
  --black: #151515;
  --black-soft: #3b3b3b;
  --bone: #ffffff;
  --paper: #ffffff;
  --paper-deep: #f3f3f2;
  --ink-muted: #5d5d5d;
  --acid: #9b1c1c;
  --acid-dark: #9b1c1c;
  --orange: #9b1c1c;
  --teal: #f3f3f2;
  --line: rgba(21, 21, 21, 0.14);
  --line-strong: rgba(21, 21, 21, 0.32);
  --radius: 0;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --brand-serif: Didot, "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--bone);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--black);
  background: var(--acid);
  transform: translateY(-150%);
}

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

.container {
  width: min(1240px, calc(100% - 3.5rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line-strong);
  background: var(--bone);
}

.nav-wrap {
  display: flex;
  min-height: 5.6rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-block;
  color: var(--black);
  font-family: var(--brand-serif);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.82;
}

.brand-name {
  display: flex;
  flex-direction: column;
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-name span:last-child {
  margin-left: 1rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav > a:not(.nav-cta) {
  padding-block: 0.5rem;
  border-bottom: 2px solid transparent;
}

.primary-nav > a:hover,
.primary-nav > a[aria-current="page"] {
  border-color: var(--black);
}

.nav-cta {
  padding: 0.72rem 1rem;
  color: var(--bone);
  background: var(--black);
}

.nav-cta:hover {
  color: var(--black);
  background: var(--acid);
}

.lang-switch {
  display: grid;
  grid-template-columns: auto 1px auto;
  align-items: center;
  gap: 0.55rem;
}

.lang-switch button {
  position: relative;
  min-width: 1.75rem;
  padding: 0.55rem 0.05rem 0.48rem;
  border: 0;
  color: var(--ink-muted);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 160ms ease;
}

.lang-switch button::after {
  position: absolute;
  right: 0.05rem;
  bottom: 0.2rem;
  left: 0.05rem;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.lang-switch button:hover,
.lang-switch button.is-active {
  color: var(--black);
}

.lang-switch button.is-active::after {
  transform: scaleX(1);
}

.lang-divider {
  width: 1px;
  height: 0.9rem;
  background: var(--line);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  color: var(--black-soft);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  color: var(--black);
  border-color: var(--line-strong);
  background: rgba(215, 218, 215, 0.42);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--acid-dark);
  outline-offset: 3px;
}

.nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 1px;
  margin: 0.3rem auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.home-hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding-block: 4.5rem;
}

.hero-copy {
  color: var(--black);
}

.hero-copy .eyebrow {
  color: var(--orange);
}

.hero-copy h1,
.page-intro h1,
.section-heading h2,
.statement h2,
.english-feature h2,
.coming-next h2 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(3.5rem, 6.4vw, 6.4rem);
  text-transform: uppercase;
}

.hero-copy h1 em {
  display: block;
  color: var(--black-soft);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
  text-transform: none;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 1.8rem 0 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.hero-actions,
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.1rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

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

.button-primary {
  color: var(--paper);
  border-color: var(--black);
  background: var(--black);
}

.button-primary:hover {
  border-color: var(--black-soft);
  background: var(--black-soft);
}

.button-ghost {
  color: var(--black);
  border-color: var(--line);
}

.button-ghost:hover {
  color: var(--paper);
  border-color: var(--black);
  background: var(--black);
}

.arrow {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M6 3h7v7' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M6 3h7v7' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero-feature {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(175px, 0.55fr);
  align-items: end;
  gap: 1.4rem;
}

.hero-rotator {
  min-width: 0;
}

.hero-rotator-stage {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(1rem);
  visibility: hidden;
  transition: opacity 360ms ease, transform 360ms ease, visibility 360ms;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.hero-rotator-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.hero-rotator-controls p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-rotator-controls div {
  display: flex;
  gap: 0.4rem;
}

.hero-rotator-controls button {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.hero-rotator-controls button:hover,
.hero-rotator-controls button:focus-visible {
  color: var(--paper);
  background: var(--black);
}

.feature-cover {
  position: relative;
  margin-left: auto;
}

.feature-cover::after {
  position: absolute;
  z-index: -1;
  top: -1.2rem;
  right: -1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  border: 2px solid var(--acid);
  content: "";
}

.feature-cover .cover-picture {
  display: block;
  width: min(100%, 370px);
}

.feature-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 18px 22px 0 var(--teal);
}

.feature-number {
  position: absolute;
  z-index: 2;
  top: -2.2rem;
  left: -2.2rem;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 5.7rem;
  font-style: italic;
  line-height: 1;
}

.feature-meta {
  padding-bottom: 1rem;
  color: var(--black);
}

.feature-meta > p {
  margin: 0 0 1rem;
  color: var(--acid-dark);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.feature-meta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.feature-meta > span {
  display: block;
  margin-top: 0.8rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.feature-meta .book-rating {
  margin-top: 0.75rem;
}

.feature-meta a {
  display: inline-block;
  margin-top: 2rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--black);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  color: var(--bone);
  background: var(--black-soft);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding-block: 0.9rem;
  animation: ticker 28s linear infinite;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "✦";
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding-block: 7rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading h2 {
  max-width: 900px;
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid currentColor;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.4rem 1.4rem;
}

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

.book-card {
  min-width: 0;
}

.book-cover-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dedbd0;
}

/* Stacks, strips and engravings wrap each image in a bare <picture> only to offer AVIF and WebP;
   the image keeps its place in the layout as if the wrapper were not there. */
picture:not([class]) {
  display: contents;
}

/* Without a box of their own, the sources would otherwise become empty grid and flex items. */
picture:not([class]) > source {
  display: none;
}

.cover-picture {
  display: block;
}

.book-cover-link::before {
  position: absolute;
  z-index: 2;
  right: 0.65rem;
  bottom: 0.65rem;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: var(--black);
  background-color: var(--acid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M6 3h7v7' fill='none' stroke='%23252729' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1rem;
  content: "";
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.book-card:hover .book-cover-link::before {
  opacity: 1;
  transform: translateY(0);
}

.book-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.book-card:hover .book-cover {
  filter: contrast(1.04);
  transform: scale(1.018);
}

.book-meta {
  padding-top: 1rem;
  border-top: 1px solid var(--black);
  margin-top: 0.8rem;
}

.book-series-label {
  display: inline-flex;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
  color: var(--acid-dark);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.book-series-label:hover,
.inline-link:hover {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.book-meta h2,
.book-meta h3,
.book-meta h4 {
  margin: 0 0 0.15rem;
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.book-author {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.book-rating {
  display: flex;
  min-height: 1.3rem;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.55rem;
  color: var(--black);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.rating-star {
  color: var(--orange);
  font-size: 0.8rem;
}

.rating-count,
.rating-source {
  color: var(--ink-muted);
}

.rating-source {
  margin-left: 0.2rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-buy {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--black);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-buy:hover {
  background: var(--acid);
}

.store-links {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.store-picker {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
}

.store-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.store-picker summary::-webkit-details-marker {
  display: none;
}

.store-picker summary:hover,
.store-picker[open] summary {
  background: var(--paper-deep);
}

.store-picker summary:focus-visible,
.store-link:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.store-chevron {
  flex: 0 0 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  margin: -0.2rem 0.15rem 0 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.store-picker[open] .store-chevron {
  margin-top: 0.2rem;
  transform: rotate(225deg);
}

.store-picker .store-links {
  margin: 0;
  padding: 0.35rem;
  border-top: 1px solid var(--line);
}

.book-availability {
  margin-top: 1.5rem;
  scroll-margin-top: 7rem;
}

.book-availability h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.book-availability .store-links {
  max-width: 32rem;
}

.book-availability .store-link {
  padding: 0.8rem 1rem;
  font-size: 0.75rem;
}

.store-link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 44px;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  color: var(--black);
  border: 1px solid var(--line);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease;
}

.store-link:hover {
  border-color: var(--black);
  background: var(--paper-deep);
}

.store-price {
  white-space: nowrap;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

@media (max-width: 520px) {
  .store-picker .store-link {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.2rem 0.35rem;
  }

  .store-picker .store-price {
    grid-column: 1;
    grid-row: 2;
  }

  .store-picker .arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.statement-section {
  padding-block: 2rem 7rem;
}

.statement {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 500px;
  grid-template-columns: 0.45fr 1.55fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 6rem);
  color: var(--black);
  border: 1px solid var(--line);
  background: var(--teal);
}

.statement-symbol {
  align-self: start;
  font-family: var(--serif);
  font-size: clamp(10rem, 24vw, 20rem);
  font-style: italic;
  line-height: 0.75;
}

.statement h2 {
  max-width: 850px;
  font-size: clamp(2.8rem, 5.5vw, 5.8rem);
  text-transform: uppercase;
}

.statement p:last-child {
  max-width: 650px;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

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

.language-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.language-card {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--black);
  background: var(--paper);
}

.language-card:nth-child(2) {
  color: var(--bone);
  background: var(--black);
}

.language-card::after {
  position: absolute;
  right: -1rem;
  bottom: -4rem;
  color: rgba(37, 39, 41, 0.08);
  content: attr(data-code);
  font-size: 15rem;
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 1;
}

.language-card:nth-child(2)::after {
  color: rgba(135, 147, 151, 0.18);
}

.language-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

.language-card p {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 1.2rem 0 2rem;
  color: var(--ink-muted);
}

.language-card:nth-child(2) p {
  color: rgba(238, 239, 235, 0.7);
}

.language-card .text-link {
  position: relative;
  z-index: 1;
}

.home-series-section {
  overflow: hidden;
  color: var(--bone);
  background: var(--black);
}

.home-series-section .section-heading .eyebrow,
.home-series-section .text-link {
  color: var(--acid);
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}

.home-series-section .series-grid {
  border-color: rgba(238, 239, 235, 0.22);
  background: rgba(238, 239, 235, 0.22);
}

.series-card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  color: var(--black);
  background: var(--paper);
}

.home-series-section .series-card {
  color: var(--bone);
  background: var(--black);
}

.series-card-visual {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 345px;
  border: 1px solid var(--line);
  background: var(--teal);
}

.home-series-section .series-card-visual {
  border-color: rgba(238, 239, 235, 0.18);
  background: #34383a;
}

.series-card-covers {
  position: absolute;
  inset: 2.5rem 2rem 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.series-card-covers img {
  width: min(40%, 190px);
  height: auto;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(37, 39, 41, 0.2);
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(37, 39, 41, 0.24);
  transition: transform 260ms ease;
}

.series-card-covers > :first-child > img {
  z-index: 1;
  transform: rotate(-7deg) translate(1.4rem, 0.55rem);
}

.series-card-covers > :nth-child(2) > img {
  z-index: 3;
  transform: translateY(-0.5rem);
}

.series-card-covers > :nth-child(3) > img {
  z-index: 2;
  transform: rotate(7deg) translate(-1.4rem, 0.55rem);
}

.series-card-visual:hover .series-card-covers > :first-child > img {
  transform: rotate(-10deg) translate(0.8rem, 0);
}

.series-card-visual:hover .series-card-covers > :nth-child(2) > img {
  transform: translateY(-1rem);
}

.series-card-visual:hover .series-card-covers > :nth-child(3) > img {
  transform: rotate(10deg) translate(-0.8rem, 0);
}

.series-card-count {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.5rem;
  color: var(--bone);
  background: var(--black);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.home-series-section .series-card-count {
  color: var(--black);
  background: var(--acid);
}

.series-card-copy {
  padding-top: 1.6rem;
}

.series-card-copy .eyebrow {
  margin-bottom: 0.7rem;
  color: var(--orange);
}

.home-series-section .series-card-copy .eyebrow {
  color: var(--acid);
}

.series-card-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.series-card-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 1rem 0 1.5rem;
  color: var(--ink-muted);
}

.home-series-section .series-card-copy > p:not(.eyebrow) {
  color: rgba(238, 239, 235, 0.62);
}

.series-index-section {
  padding-block: 1.75rem 6rem;
  background: var(--bone);
}

.series-index-section .series-grid {
  border-color: var(--line);
  background: var(--line);
}

.series-detail-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.series-detail-grid {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 1fr) minmax(470px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(4rem, 7vw, 7rem);
}

.series-detail-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.series-author {
  margin: 1.2rem 0 0;
  color: var(--acid-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.series-tagline {
  max-width: 630px;
  margin: 2rem 0;
  color: var(--black-soft);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.series-stats {
  display: flex;
  gap: 0;
  margin: 2.5rem 0 0;
}

.series-stats div {
  min-width: 130px;
  padding: 0.8rem 1.5rem 0.8rem 0;
  border-top: 1px solid var(--black);
}

.series-stats div + div {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.series-stats dt {
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.series-stats dd {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 1;
}

.series-cover-stack {
  position: relative;
  min-height: 510px;
}

.series-cover-stack::before {
  position: absolute;
  inset: 1.5rem 0 0 2.5rem;
  border: 2px solid var(--acid);
  content: "";
}

.series-cover-stack img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(52%, 270px);
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 24px 52px rgba(37, 39, 41, 0.25);
  transform-origin: center bottom;
}

.series-cover-stack > :first-child > img {
  z-index: 2;
  transform: translateX(-92%) rotate(-9deg);
}

.series-cover-stack > :nth-child(2) > img {
  z-index: 4;
  transform: translateX(-50%) translateY(-1.2rem);
}

.series-cover-stack > :nth-child(3) > img {
  z-index: 3;
  transform: translateX(-8%) rotate(9deg);
}

.series-story-section {
  color: var(--bone);
  background: var(--black);
}

.series-story-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1.55fr);
  gap: 3rem;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.series-story-index {
  margin: 0;
  color: var(--acid);
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 11rem);
  font-style: italic;
  line-height: 0.75;
}

.series-story-grid > div {
  max-width: 820px;
}

.series-story-grid > div p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  line-height: 1.42;
}

.series-story-grid > div p + p {
  margin-top: 1.5rem;
  color: rgba(238, 239, 235, 0.64);
}

.series-books-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.book-series-navigation {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  color: var(--bone);
  background: var(--black);
}

.book-series-navigation-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.book-series-navigation h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.book-series-navigation-inner > div > p:last-child {
  max-width: 480px;
  color: rgba(238, 239, 235, 0.58);
}

.book-series-navigation nav {
  display: grid;
  align-content: center;
}

.book-series-navigation nav a {
  display: grid;
  grid-template-columns: minmax(110px, 0.3fr) 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(238, 239, 235, 0.22);
}

.book-series-navigation nav a:last-child {
  border-bottom: 1px solid rgba(238, 239, 235, 0.22);
}

.book-series-navigation nav span {
  color: var(--acid);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.book-series-navigation nav strong {
  font-weight: 600;
}

.book-series-navigation nav a:hover strong {
  color: var(--acid);
}

.page-hero {
  color: var(--black);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-intro {
  display: grid;
  min-height: 290px;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.52fr);
  align-items: center;
  gap: 3rem;
  padding-block: 2.75rem;
}

.page-intro .eyebrow {
  color: var(--orange);
}

.page-intro h1 {
  max-width: 950px;
  font-size: clamp(3.6rem, 6.7vw, 7.1rem);
  text-transform: uppercase;
}

.page-intro-copy {
  padding-bottom: 0.65rem;
  color: var(--ink-muted);
}

.page-intro-copy p {
  margin: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.breadcrumbs a:hover {
  color: var(--black);
}

.book-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.book-detail-cover {
  position: sticky;
  top: 2rem;
  width: min(100%, 430px);
  justify-self: center;
}

.book-detail-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  object-fit: contain;
  box-shadow: 20px 20px 0 var(--teal);
}

.book-detail-copy {
  padding-top: 1rem;
}

.book-detail-copy h1 {
  max-width: 780px;
  margin: 0.65rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.book-detail-author {
  margin: 0 0 1.4rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.book-detail-description {
  max-width: 690px;
  margin: 2rem 0;
  color: var(--black-soft);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.5;
}

.book-facts {
  display: grid;
  max-width: 690px;
  margin: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.book-facts div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.book-facts dt {
  color: var(--ink-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-facts dd {
  margin: 0;
}

.book-detail-stores {
  max-width: 690px;
  margin-bottom: 2.2rem;
}

.book-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.policy-page-hero .page-intro {
  min-height: 390px;
}

.policy-page-hero .page-intro h1 {
  font-size: clamp(3.1rem, 6vw, 6.2rem);
}

.policy-content {
  width: min(880px, calc(100% - 3.5rem));
  padding-block: clamp(4rem, 8vw, 7rem);
}

.policy-lead {
  margin: 0 0 4rem;
  color: var(--black-soft);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.45;
}

.policy-content section {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.policy-content h3 {
  margin: 1.8rem 0 0.65rem;
  font-size: 1rem;
}

.policy-content p,
.policy-content li {
  color: var(--black-soft);
}

.policy-content ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.policy-content li + li {
  margin-top: 0.55rem;
}

.policy-content a {
  border-bottom: 1px solid var(--acid-dark);
}

.policy-content a:hover {
  color: var(--acid-dark);
}

.privacy-storage {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.privacy-storage code {
  overflow-wrap: anywhere;
}

.privacy-reset {
  width: fit-content;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.privacy-reset:hover:not(:disabled) {
  color: var(--paper);
  background: var(--black);
}

.privacy-reset:disabled {
  cursor: default;
  opacity: 0.65;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--black);
}

.catalog-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.catalog-language-filter {
  gap: 0.75rem;
}

.catalog-language-filter select {
  min-width: 5.2rem;
}

.series-catalog-toolbar {
  padding-block: 1rem;
}

.catalog-language-label {
  color: var(--ink-muted);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-catalog-panel][hidden] {
  display: none;
}

.catalog-count {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.author-filter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-filter label {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-filter select {
  appearance: none;
  min-height: 2.8rem;
  padding: 0.55rem 2.4rem 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.25 5 5 5-5' fill='none' stroke='%23252729' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 0.85rem center;
  background-repeat: no-repeat;
  background-size: 0.75rem auto;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.author-filter select:hover {
  border-color: var(--black);
}

.author-filter select:focus-visible {
  outline: 2px solid var(--acid-dark);
  outline-offset: 2px;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(104, 118, 122, 0.14);
}

.catalog-section {
  padding-block: 1.75rem 6rem;
}

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

.english-feature {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--black);
  border: 1px solid var(--line);
  background: var(--teal);
}

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

.english-cover-wrap::after {
  position: absolute;
  z-index: 0;
  top: -1rem;
  right: -1rem;
  bottom: 1rem;
  left: 1rem;
  border: 2px solid var(--acid);
  content: "";
}

.english-cover {
  position: relative;
  z-index: 1;
  width: min(100%, 350px);
  margin-inline: auto;
  box-shadow: 16px 18px 0 var(--acid);
}

.english-feature .eyebrow {
  color: var(--orange);
}

.english-feature h2 {
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  text-transform: uppercase;
}

.english-feature .author {
  margin: 1rem 0 0;
  color: var(--acid-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.english-feature .description {
  max-width: 630px;
  margin: 1.5rem 0 0;
  color: var(--ink-muted);
}

.english-feature .button-primary {
  color: var(--paper);
}

.coming-next {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.coming-next h2 {
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  text-transform: uppercase;
}

.coming-copy {
  max-width: 620px;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.coming-copy p:first-child {
  margin-top: 0;
}

.site-footer {
  color: rgba(238, 239, 235, 0.82);
  background: var(--black);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 3rem;
  padding-block: 5rem;
}

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

.footer-brand p {
  max-width: 390px;
  margin: 1.4rem 0 0;
  color: rgba(238, 239, 235, 0.56);
}

.footer-group h2 {
  margin: 0 0 1rem;
  color: var(--acid);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-group a {
  display: block;
  width: fit-content;
  margin: 0.55rem 0;
}

.footer-group a:hover {
  color: var(--acid);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(238, 239, 235, 0.2);
  color: rgba(238, 239, 235, 0.5);
  font-size: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 550ms ease, transform 550ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(7rem, 28vw, 16rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.75;
}

.not-found p {
  max-width: 480px;
  margin: 2rem auto;
  color: var(--ink-muted);
}

@media (max-width: 1040px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0.45rem max(1.75rem, calc((100vw - 1240px) / 2)) 1.25rem;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    color: var(--black);
    background: var(--paper);
    box-shadow: 0 18px 38px rgba(37, 39, 41, 0.09);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.55rem);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav > a:not(.nav-cta) {
    display: flex;
    min-height: 3.45rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav > a:not(.nav-cta)::after {
    width: 0.42rem;
    height: 0.42rem;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    color: var(--acid-dark);
    content: "";
    transform: rotate(45deg);
  }

  .nav-cta {
    display: flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.9rem;
    padding: 0.9rem 1rem;
    background: var(--black-soft);
  }

  .lang-switch {
    width: 100%;
    justify-content: start;
    margin-top: 0.85rem;
    padding-top: 0.45rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 5rem 6rem;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-feature {
    width: min(700px, 100%);
    margin-inline: auto;
  }

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

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .series-detail-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .series-cover-stack {
    width: min(100%, 650px);
    margin-inline: auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 2rem, 1240px);
  }

  .nav-wrap {
    min-height: 4.8rem;
  }

  .primary-nav {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero {
    padding-block: 3.5rem 5rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 14vw, 4.8rem);
  }

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

  .hero-feature {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .feature-cover {
    width: min(78%, 340px);
    margin-inline: auto;
  }

  .feature-number {
    top: -1.6rem;
    left: -1.4rem;
    font-size: 4.5rem;
  }

  .feature-meta {
    text-align: center;
  }

  .feature-meta .book-rating {
    justify-content: center;
  }

  .section {
    padding-block: 5rem;
  }

  .section-heading,
  .page-intro {
    display: block;
  }

  .section-heading h2 {
    font-size: clamp(2.4rem, 10.5vw, 4rem);
  }

  .section-heading .text-link {
    margin-top: 1.4rem;
  }

  .books-grid,
  .home-books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.8rem 0.8rem;
  }

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

  .series-card {
    padding: 1.2rem;
  }

  .series-card-visual {
    min-height: 300px;
  }

  .series-card-covers {
    inset: 2.5rem 1rem 0;
  }

  .series-detail-copy h1 {
    font-size: clamp(4rem, 19vw, 6.5rem);
  }

  .series-cover-stack {
    min-height: 390px;
  }

  .series-cover-stack::before {
    inset: 1rem 0 0 1rem;
  }

  .series-cover-stack img {
    width: min(55%, 220px);
  }

  .series-story-grid,
  .book-series-navigation-inner {
    grid-template-columns: 1fr;
  }

  .series-story-index {
    font-size: 6rem;
  }

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

  .book-series-navigation nav a {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .book-meta h2,
  .book-meta h3,
  .book-meta h4 {
    font-size: 1rem;
  }

  .statement {
    display: block;
    min-height: auto;
  }

  .statement-symbol {
    height: 6rem;
    font-size: 10rem;
  }

  .statement h2 {
    font-size: clamp(2.4rem, 10.5vw, 4rem);
  }

  .statement-section {
    padding-bottom: 5rem;
  }

  .language-cards {
    grid-template-columns: 1fr;
  }

  .page-intro {
    min-height: auto;
    padding-block: 3rem;
  }

  .page-intro h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(3.1rem, 13vw, 4.8rem);
  }

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

  .book-detail-cover {
    position: static;
    width: min(78%, 360px);
  }

  .book-detail-copy {
    padding-top: 0;
  }

  .book-detail-copy h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .policy-page-hero .page-intro {
    min-height: auto;
  }

  .policy-content {
    width: min(100% - 3rem, 880px);
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-filter-row {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .author-filter {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .author-filter select {
    width: 100%;
  }

  .catalog-section,
  .series-index-section {
    padding-block: 2rem 4.5rem;
  }

  .english-feature {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .english-cover {
    width: min(75%, 300px);
  }

  .english-feature h2 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

  .coming-next {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 420px) {
  .book-meta h2,
  .book-meta h3,
  .book-meta h4 {
    font-size: 0.9rem;
  }

  .book-author,
  .book-buy {
    font-size: 0.62rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------
   Rycina — identity layer (2026-10): white paper, black ink, one rubric
   red, serif headings and engraved illustrations. Layout mechanics above
   stay as they are; this layer sets type, colour and decoration.
   ------------------------------------------------------------------ */

body {
  background: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.skip-link {
  color: #fff;
  background: var(--black);
}

.site-header {
  border-bottom: 1px solid var(--black);
  background: #fff;
}

.brand-mark {
  font-weight: 400;
  letter-spacing: -0.06em;
}

.brand-name {
  border-left-color: var(--black);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.24em;
}

.primary-nav,
.eyebrow,
.button,
.text-link,
.book-buy,
.store-link,
.feature-meta > p,
.feature-meta a,
.hero-rotator-controls p,
.rating-source,
.book-series-label,
.series-author,
.series-card-count,
.series-stats dt,
.book-facts dt,
.book-series-navigation nav span,
.footer-group h2,
.catalog-count,
.author-filter label,
.catalog-language-label,
.lang-switch button {
  font-family: var(--sans);
  font-weight: 600;
}

.primary-nav {
  gap: 2rem;
  letter-spacing: 0.14em;
}

.nav-cta {
  color: #fff;
  background: var(--black);
}

.nav-cta:hover {
  color: #fff;
  background: var(--acid);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.lang-label {
  color: var(--ink-muted);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.primary-nav > a[aria-current="page"] {
  border-color: var(--acid);
}

.eyebrow {
  color: var(--acid);
  letter-spacing: 0.2em;
}

.eyebrow::before {
  width: 1.4rem;
  height: 1px;
}

.hero-copy h1,
.page-intro h1,
.section-heading h2,
.statement h2,
.english-feature h2,
.coming-next h2,
.language-card h3,
.not-found h1,
.policy-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
  text-transform: none;
}

.book-meta h2,
.book-meta h3,
.book-meta h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}

.hero-copy h1 em,
.section-heading h2 em {
  display: inline;
  color: var(--acid);
  font-style: italic;
  letter-spacing: -0.01em;
}

.button {
  min-height: 3.1rem;
  letter-spacing: 0.14em;
}

.button:hover {
  transform: none;
}

.button-primary:hover {
  border-color: var(--acid);
  background: var(--acid);
}

.button-ghost {
  border-color: var(--black);
  background: #fff;
}

.text-link {
  border-bottom-width: 1px;
}

.text-link:hover,
.book-buy:hover,
.feature-meta a:hover {
  color: var(--acid);
  background: none;
}

/* Hero: the storm engraving fills the band; copy sits on the light sky. */
.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--black);
  background: #fff;
}

.hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 30%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 72%);
  content: "";
}

.home-hero .hero {
  position: relative;
  z-index: 1;
  min-height: min(720px, calc(100vh - 5.6rem));
  padding-block: 3rem;
}

.hero-copy h1 {
  max-width: 640px;
  font-size: clamp(3rem, 5.6vw, 5.6rem);
}

.hero-copy > p:not(.eyebrow) {
  color: var(--black-soft);
  font-size: 1.2rem;
}

.feature-cover::after,
.series-cover-stack::before {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Latest releases: the framed cover is the whole message; one slim caption
   below it, arrows on its edges. */
.home-hero .hero-rotator,
.home-hero > .hero > .hero-feature {
  position: relative;
  width: min(100%, 330px);
  justify-self: end;
  margin-right: 2rem;
}

.home-hero .hero-feature {
  display: block;
  width: 100%;
}

.feature-cover {
  display: block;
  width: 100%;
  margin: 0;
  transition: transform 220ms ease;
}

.feature-cover:hover {
  transform: translateY(-4px);
}

.feature-cover .cover-picture {
  width: 100%;
}

.feature-cover img,
.hero-cover {
  border: 10px solid #fff;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

.feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: #fff;
  background: var(--black);
  text-align: left;
}

.feature-meta > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
}

.feature-meta > p,
.feature-meta a {
  white-space: nowrap;
}

.feature-meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding-bottom: 0.15rem;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
  font-size: 0.66rem;
}

.feature-meta a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.hero-rotator-controls {
  position: absolute;
  z-index: 3;
  top: calc(50% - 2.5rem);
  right: -1.4rem;
  left: -1.4rem;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
}

.hero-rotator-controls div {
  display: contents;
}

.hero-rotator-controls button {
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  color: #fff;
  background: var(--black);
  font-family: var(--sans);
  pointer-events: auto;
}

.hero-rotator-controls button:hover,
.hero-rotator-controls button:focus-visible {
  background: var(--acid);
}

.ticker {
  display: none;
}

/* Books */
.book-cover-link {
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.book-cover-link::before {
  display: none;
}

.book-card:hover .book-cover {
  filter: none;
  transform: none;
}

.book-card:hover .book-cover-link {
  border-color: var(--black);
}

.book-meta {
  border-top-color: var(--black);
}

.book-author {
  font-size: 0.95rem;
  font-style: italic;
}

.rating-star {
  color: var(--black);
}

.store-link:hover {
  background: var(--paper-deep);
}

.book-detail-image {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

/* Statement: engraved desk beside the copy. */
.statement-section {
  padding-block: 2rem 6rem;
}

.statement {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: #fff;
}

.statement-symbol {
  align-self: center;
  font-size: 1rem;
  line-height: 1;
}

.statement-symbol img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.statement h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
}

.statement p:last-child {
  color: var(--black-soft);
  font-size: 1.15rem;
}

/* Series */
.home-series-section {
  color: var(--black);
  border-top: 1px solid var(--black);
  background: var(--paper-deep);
}

.home-series-section .section-heading .eyebrow,
.home-series-section .series-card-copy .eyebrow {
  color: var(--acid);
}

.home-series-section .text-link {
  color: var(--black);
}

.home-series-section .series-grid,
.series-grid {
  border-color: var(--black);
  background: var(--black);
}

.home-series-section .series-card,
.series-card {
  color: var(--black);
  background: #fff;
}

.home-series-section .series-card-visual,
.series-card-visual {
  border-color: var(--line);
  background: var(--paper-deep);
}

.home-series-section .series-card-count,
.series-card-count {
  color: #fff;
  background: var(--black);
}

.home-series-section .series-card-copy > p:not(.eyebrow) {
  color: var(--ink-muted);
}

.series-card-copy h3,
.series-detail-copy h1,
.book-series-navigation h2,
.book-detail-copy h1 {
  letter-spacing: -0.02em;
  line-height: 1;
}

.series-author {
  color: var(--acid);
}

.series-story-section,
.book-series-navigation {
  color: #fff;
  background: var(--black);
}

.series-story-index {
  color: rgba(255, 255, 255, 0.35);
}

.series-story-grid > div p + p,
.book-series-navigation-inner > div > p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.book-series-navigation nav span {
  color: rgba(255, 255, 255, 0.6);
}

.book-series-navigation nav a:hover strong {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Language cards */
.language-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

.language-card {
  min-height: 300px;
  border-color: var(--black);
  background: #fff;
}

.language-card:nth-child(2) {
  color: #fff;
  background: var(--black);
}

.language-card::after {
  display: none;
}

.language-card h3 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.language-card:nth-child(2) p {
  color: rgba(255, 255, 255, 0.7);
}

/* Inner pages */
.page-hero,
.series-detail-hero {
  border-bottom: 1px solid var(--black);
  background: #fff;
}

.page-intro h1 {
  font-size: clamp(3rem, 5.6vw, 5.4rem);
}

/* Catalogue pages open like the homepage: an engraving across the full
   width, one per catalogue language, with the title on its washed-out left
   side. */
.catalog-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--black);
  background: #fff;
}

.catalog-hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.catalog-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.catalog-hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.55) 52%, rgba(255, 255, 255, 0) 70%);
  content: "";
}

.catalog-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: clamp(240px, 27vw, 400px);
  align-items: center;
}

.catalog-hero h1 {
  max-width: 9.5em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
}

.catalog-hero h1 em {
  color: var(--acid);
  font-style: italic;
  letter-spacing: -0.01em;
}

[data-catalog-only][hidden] {
  display: none;
}

@media (max-width: 720px) {
  .catalog-hero-art {
    position: relative;
    height: clamp(180px, 50vw, 300px);
  }

  .catalog-hero-art img {
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 94%);
    mask-image: linear-gradient(180deg, #000 50%, transparent 94%);
  }

  .catalog-hero-art::after {
    display: none;
  }

  .catalog-hero-copy {
    min-height: auto;
    margin-top: -1.2rem;
    padding-block: 0 2rem;
  }

  .catalog-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }
}

/* Book page */
.book-hero {
  border-bottom: 1px solid var(--line);
}

.book-hero .book-detail {
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.book-hero .book-detail-cover {
  position: static;
  width: 100%;
}

.book-detail-image {
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.book-detail-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  text-wrap: balance;
}

.book-detail-author {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-style: italic;
}

.book-tagline {
  max-width: 34ch;
  margin: 1.6rem 0 0;
  color: var(--black-soft);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.45;
}

.book-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.buy-button {
  gap: 0.9rem;
}

.buy-price {
  padding-left: 0.9rem;
  border-left: 1px solid currentColor;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.book-excerpt-link {
  margin-top: 1.4rem;
}

.book-section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.book-section-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.book-section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
}

.book-section-head .text-link {
  margin-top: 1.4rem;
}

.book-about-copy {
  max-width: 64ch;
}

.book-about-copy p {
  margin: 0 0 1.1rem;
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

.book-about-copy .book-genre-note {
  font-style: italic;
}

.book-excerpt {
  background: var(--paper-deep);
}

.book-excerpt-text {
  max-width: 62ch;
  padding: clamp(1.8rem, 4vw, 3.4rem);
  border: 1px solid var(--line);
  background: #fff;
}

.book-excerpt-chapter {
  margin: 0 0 1.4rem;
  color: var(--acid);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.book-excerpt-text > p:not(.book-excerpt-chapter) {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.75;
}

.book-excerpt-chapter + p::first-letter {
  float: left;
  margin: 0.1rem 0.6rem 0 0;
  color: var(--acid);
  font-size: 3.6em;
  line-height: 0.85;
}

.book-excerpt-text .book-buy {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.series-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.series-strip a {
  display: grid;
  gap: 0.45rem;
}

.series-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  object-fit: cover;
  transition: transform 200ms ease;
}

.series-strip a:hover img {
  transform: translateY(-4px);
}

.series-strip span {
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.series-strip strong {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
}

.series-strip .is-current img {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.series-strip .is-current span {
  color: var(--acid);
}

.book-details .book-facts {
  margin-top: 0;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--black);
}

.footer-brand .brand-mark {
  color: #fff;
}

.footer-brand .brand-name {
  border-left-color: rgba(255, 255, 255, 0.4);
}

.footer-group h2 {
  color: rgba(255, 255, 255, 0.5);
}

.footer-group a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 1040px) {
  .primary-nav {
    background: #fff;
  }

  .lang-switch {
    padding-left: 0;
    border-left: 0;
  }

  .hero-art {
    position: relative;
    height: clamp(220px, 46vw, 420px);
  }

  .hero-art::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #fff 100%);
  }

  .home-hero .hero {
    min-height: auto;
    padding-block: 1rem 4rem;
  }

  .home-hero .hero-rotator,
  .home-hero > .hero > .hero-feature {
    justify-self: center;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
  }

  .statement {
    display: grid;
    grid-template-columns: 1fr;
  }

  .statement-symbol {
    height: auto;
  }

  .home-hero .hero-rotator,
  .home-hero > .hero > .hero-feature {
    width: min(82%, 340px);
  }

  .hero-rotator-controls {
    right: -1.1rem;
    left: -1.1rem;
  }

  .hero-rotator-controls button {
    width: 2.4rem;
    height: 2.4rem;
  }

  .statement h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .page-intro h1 {
    font-size: clamp(2.6rem, 11vw, 3.8rem);
  }

  .book-hero .book-detail,
  .book-section-inner {
    grid-template-columns: 1fr;
  }

  .book-hero .book-detail-cover {
    width: min(70%, 300px);
    margin-inline: auto;
  }

  .buy-button {
    width: 100%;
  }

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

/* Authors: profile pages reuse the series layout; the bibliography groups
   books by series in reading order. */
.book-author a,
.book-detail-author a,
.series-author a {
  color: inherit;
}

.book-author a:hover,
.book-detail-author a:hover,
.series-author a:hover {
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.author-hero .series-detail-copy h1 {
  font-size: clamp(3.4rem, 6.5vw, 6.8rem);
  overflow-wrap: break-word;
}

.series-cover-stack > :only-child > img {
  transform: translateX(-50%);
}

.series-card-covers > :only-child > img,
.series-card-visual:hover .series-card-covers > :only-child > img {
  transform: translateY(-0.5rem);
}

.author-start-section {
  border-bottom: 1px solid var(--black);
  background: #fff;
}

.author-start {
  display: grid;
  grid-template-columns: minmax(180px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.author-start-image {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.author-start-copy h2 {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.author-start-note {
  max-width: 640px;
  margin: 1rem 0 0;
  color: var(--black-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
}

.author-start-copy .text-link {
  margin-top: 1.6rem;
}

.author-book-group + .author-book-group {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.author-book-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--black);
}

.author-book-group-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.author-book-group-head h3 a:hover {
  color: var(--acid);
}

.author-book-group-head p {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .author-hero .series-detail-copy h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .author-start {
    grid-template-columns: 1fr;
  }

  .author-start-cover {
    width: min(60%, 240px);
    margin-inline: auto;
  }
}

/* Author page: the copy sits in the hero; a lone author gets a compact one above the book. */
.author-hero .series-detail-grid {
  min-height: 0;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.author-hero .series-tagline {
  max-width: 34ch;
}

.author-hero-text {
  max-width: 60ch;
  margin-top: 1.6rem;
}

.author-hero-text p {
  margin: 0 0 0.9rem;
  color: var(--black-soft);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

.author-meta {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-meta a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.author-meta a:hover {
  color: var(--acid);
}

.author-hero-single .series-detail-grid {
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.author-hero-single .series-tagline {
  max-width: 44ch;
}

.author-start-copy .book-rating {
  margin-top: 0.9rem;
}

.author-start-note + .author-start-note {
  margin-top: 0.8rem;
}

.author-start-copy .book-buy {
  margin-top: 1.5rem;
}

/* On a phone the stack would sit directly above the same cover in the start section. */
@media (max-width: 720px) {
  .author-hero .series-cover-stack {
    display: none;
  }
}

/* The <head> script picks the catalogue language before layout; hiding the other language this
   early keeps its lazy covers and engraving from downloading before main.js runs. */
html[data-catalog-language="pl"] [data-catalog-panel="en"],
html[data-catalog-language="pl"] [data-catalog-only="en"],
html[data-catalog-language="en"] [data-catalog-panel="pl"],
html[data-catalog-language="en"] [data-catalog-only="pl"] {
  display: none;
}

/* Genre pages (/litrpg/): a readable intro column above the catalogue cards. */
.genre-hub-intro {
  padding-block: 4rem 1rem;
}

.genre-hub-copy {
  max-width: 46rem;
}

.genre-hub-copy p {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

.genre-hub-books {
  padding-block: 2rem 5rem;
}

.genre-hub-other-language {
  padding-block: 2rem 5rem;
}

.genre-hub-other-intro {
  max-width: 46rem;
  margin: 0 0 2rem;
}

.book-genre-more {
  margin-top: 1rem;
}
