:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --paper-bright: #fcfbf8;
  --paper-deep: #e9e2d7;
  --ink: #171717;
  --ink-soft: #2a2825;
  --muted: #625f59;
  --bordeaux: #6b2b2b;
  --bordeaux-dark: #4b1c1d;
  --line: #d8d1c6;
  --line-dark: rgba(244, 240, 232, 0.2);
  --plate: #181614;
  --plate-soft: #25211e;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
  --content: 76rem;
  --reading: 43rem;
  --header-height: 5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% 16%, rgba(107, 43, 43, 0.035), transparent 24rem),
    radial-gradient(circle at 88% 78%, rgba(23, 23, 23, 0.03), transparent 28rem);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.67;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #b55f5f;
  outline-offset: 4px;
}

::selection {
  color: var(--paper-bright);
  background: var(--bordeaux);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
}

h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

p {
  margin: 0;
}

em {
  font-style: italic;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  color: var(--paper-bright);
  background: var(--bordeaux-dark);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(216, 209, 198, 0.82);
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(100%, calc(var(--content) + (var(--gutter) * 2)));
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--ink);
  place-items: center;
  font-size: 0.88rem;
  line-height: 1;
  letter-spacing: 0.06em;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.brand-role {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.6vw, 2.6rem);
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 2px;
  background: var(--bordeaux);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-lines {
  position: relative;
  display: block;
  width: 1.3rem;
  height: 1rem;
  margin: auto;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after,
.nav-toggle-lines span {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, top 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines::before {
  top: 0;
}

.nav-toggle-lines span {
  top: 0.45rem;
}

.nav-toggle-lines::after {
  top: 0.9rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0.45rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0.45rem;
  transform: rotate(-45deg);
}

main {
  overflow: clip;
}

.shell {
  width: min(100%, calc(var(--content) + (var(--gutter) * 2)));
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.reading {
  max-width: var(--reading);
}

.eyebrow {
  color: var(--bordeaux);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #d49999;
}

.lede {
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.45;
}

.body-copy {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  line-height: 1.72;
}

.body-copy + .body-copy {
  margin-top: 1rem;
}

.button,
.text-link {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.button {
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--ink);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button::after,
.text-link::after {
  font-size: 1rem;
  line-height: 1;
  content: "→";
  transition: transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--paper-bright);
  border-color: var(--bordeaux);
  background: var(--bordeaux);
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(0.25rem);
}

.button-primary {
  color: var(--paper-bright);
  border-color: var(--bordeaux);
  background: var(--bordeaux);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--bordeaux-dark);
  background: var(--bordeaux-dark);
}

.button-light {
  color: var(--paper-bright);
  border-color: rgba(252, 251, 248, 0.62);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--ink);
  border-color: var(--paper-bright);
  background: var(--paper-bright);
}

.text-link {
  color: var(--bordeaux);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  color: var(--paper-bright);
  background:
    linear-gradient(112deg, rgba(19, 16, 15, 0.99) 0 44%, rgba(31, 24, 22, 0.94) 70%, rgba(24, 20, 18, 0.98)),
    var(--plate);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(244, 240, 232, 0.07) 50%, transparent 50.1%),
    repeating-linear-gradient(90deg, transparent 0 9.95%, rgba(244, 240, 232, 0.018) 10% 10.05%);
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(18rem, 0.88fr) minmax(30rem, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
  padding-top: clamp(3rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 7ch;
  margin-top: 1rem;
}

.hero .lede {
  max-width: 29rem;
  margin-top: 1.7rem;
  color: rgba(252, 251, 248, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.hero-archive {
  position: relative;
  min-height: 35rem;
  align-self: stretch;
}

.hero-archive::before {
  position: absolute;
  right: 0;
  bottom: 5.2rem;
  left: 0;
  height: 1px;
  background: rgba(252, 251, 248, 0.3);
  content: "";
}

.hero-cover {
  position: absolute;
  bottom: 5.3rem;
  display: block;
  width: clamp(8.6rem, 13.5vw, 12.2rem);
  aspect-ratio: 5 / 7;
  background: #0c0b0a;
  box-shadow: 0 1.7rem 3.5rem rgba(0, 0, 0, 0.46);
  transform: translateY(var(--lift, 0)) rotate(var(--angle, 0));
  transform-origin: center bottom;
  transition: filter 220ms ease, transform 260ms var(--ease), z-index 0s 220ms;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-cover:hover,
.hero-cover:focus-visible {
  z-index: 10;
  filter: saturate(1.06);
  transform: translateY(calc(var(--lift, 0px) - 1.2rem)) rotate(var(--angle, 0)) scale(1.025);
  transition-delay: 0s;
}

.hero-cover:nth-child(1) {
  --angle: -8deg;
  --lift: 1.5rem;
  z-index: 1;
  left: 0;
}

.hero-cover:nth-child(2) {
  --angle: -4deg;
  --lift: 0.55rem;
  z-index: 2;
  left: 17%;
}

.hero-cover:nth-child(3) {
  z-index: 3;
  left: 34%;
}

.hero-cover:nth-child(4) {
  --angle: 4deg;
  --lift: 0.55rem;
  z-index: 4;
  left: 51%;
}

.hero-cover:nth-child(5) {
  --angle: 8deg;
  --lift: 1.5rem;
  z-index: 5;
  left: 68%;
}

.archive-caption {
  position: absolute;
  right: 0;
  bottom: 0.6rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  color: rgba(252, 251, 248, 0.58);
  font-family: var(--sans);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-caption strong {
  color: var(--paper-bright);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.section {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.section-rule {
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(20rem, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.intro-grid h2 {
  max-width: 9ch;
  margin-top: 0.9rem;
}

.intro-copy {
  max-width: var(--reading);
  align-self: end;
}

.intro-copy .text-link {
  margin-top: 1.6rem;
}

.feature-section {
  color: var(--paper-bright);
  background: var(--plate);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.78fr) minmax(20rem, 1.22fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.feature-cover {
  position: relative;
  width: min(100%, 22rem);
  margin: 0 auto;
}

.feature-cover::before {
  position: absolute;
  z-index: 0;
  inset: 8% -12% -8% 12%;
  border: 1px solid rgba(244, 240, 232, 0.14);
  content: "";
}

.feature-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.45);
}

.feature-copy h2 {
  max-width: 9ch;
  margin-top: 0.8rem;
}

.feature-copy .lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: rgba(252, 251, 248, 0.72);
}

.feature-copy .button {
  margin-top: 1.8rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2 {
  max-width: 10ch;
  margin-top: 0.8rem;
}

.section-heading .body-copy {
  max-width: 35rem;
  justify-self: end;
}

.compact-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.catalog-list {
  border-top: 1px solid var(--line);
}

.catalog-entry {
  display: grid;
  grid-template-columns: 4rem minmax(7.5rem, 10rem) minmax(17rem, 1fr) auto;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
}

.catalog-number {
  align-self: start;
  padding-top: 0.3rem;
  color: var(--bordeaux);
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.catalog-cover-link {
  display: block;
  background: var(--ink);
}

.catalog-cover-link img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  box-shadow: 0 1rem 2.3rem rgba(31, 24, 22, 0.16);
  transition: filter 200ms ease, transform 240ms var(--ease);
}

.catalog-cover-link:hover img,
.catalog-cover-link:focus-visible img {
  filter: saturate(1.05);
  transform: scale(1.025);
}

.catalog-copy h2,
.catalog-copy h3 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.catalog-copy h2 a,
.catalog-copy h3 a {
  text-decoration: none;
}

.catalog-copy h2 a:hover,
.catalog-copy h2 a:focus-visible,
.catalog-copy h3 a:hover,
.catalog-copy h3 a:focus-visible {
  color: var(--bordeaux);
}

.catalog-meta {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.catalog-copy p:last-child {
  max-width: 42rem;
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.58;
}

.author-strip {
  display: grid;
  grid-template-columns: minmax(15rem, 0.78fr) minmax(20rem, 1.22fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
}

.author-motif {
  position: relative;
  min-height: 23rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent 0 49.8%, var(--line) 50%, transparent 50.2%),
    var(--paper-bright);
}

.author-motif::before {
  position: absolute;
  top: 1.4rem;
  left: 1.6rem;
  color: var(--bordeaux);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  content: "Archivo de autor";
}

.author-motif strong {
  position: absolute;
  right: 1.5rem;
  bottom: 0.3rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 400;
  line-height: 0.8;
}

.author-motif span {
  position: absolute;
  right: 2rem;
  bottom: 1.8rem;
  color: var(--bordeaux);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.author-copy h2 {
  max-width: 9ch;
  margin-top: 0.8rem;
}

.author-copy .body-copy {
  max-width: 38rem;
  margin-top: 1.5rem;
}

.author-copy .text-link {
  margin-top: 1.6rem;
}

.contact-band {
  color: var(--paper-bright);
  background: var(--bordeaux-dark);
}

.contact-band-inner {
  display: grid;
  grid-template-columns: minmax(20rem, 1fr) auto;
  align-items: end;
  gap: 2.5rem;
}

.contact-band h2 {
  max-width: 12ch;
  margin-top: 0.8rem;
}

.contact-band p:not(.eyebrow) {
  max-width: 39rem;
  margin-top: 1.4rem;
  color: rgba(252, 251, 248, 0.76);
  font-size: 1.16rem;
}

.page-hero {
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4.25rem, 8vw, 7.2rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper-bright);
}

.page-hero-dark {
  color: var(--paper-bright);
  border-color: var(--line-dark);
  background: var(--plate);
}

.page-hero h1 {
  max-width: 11ch;
  margin-top: 1rem;
  font-size: clamp(3.4rem, 8.5vw, 7.5rem);
}

.page-hero .lede {
  max-width: 43rem;
  margin-top: 1.7rem;
  color: var(--muted);
}

.page-hero-dark .lede {
  color: rgba(252, 251, 248, 0.72);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.page-hero-dark .breadcrumb {
  color: rgba(252, 251, 248, 0.58);
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.54fr) minmax(21rem, 1.46fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.prose-index {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose-index::before {
  display: block;
  width: 3.5rem;
  height: 2px;
  margin-bottom: 1rem;
  background: var(--bordeaux);
  content: "";
}

.prose h2 {
  margin-top: 3.4rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  line-height: 1.72;
}

.prose p {
  margin-top: 1rem;
}

.prose ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.prose .text-link,
.prose .button {
  margin-top: 1.5rem;
}

.status-note {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--bordeaux);
  background: var(--paper-deep);
}

.status-note strong {
  display: block;
  color: var(--bordeaux-dark);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-note p {
  margin-top: 0.45rem;
  font-size: 1rem;
}

.fact-list {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.fact-list div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.55fr) minmax(12rem, 1.45fr);
  gap: 1.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  line-height: 1.5;
}

.book-hero {
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 82% 30%, rgba(107, 43, 43, 0.26), transparent 25rem),
    var(--plate);
}

.book-hero-inner {
  display: grid;
  min-height: clamp(39rem, calc(100svh - var(--header-height)), 56rem);
  grid-template-columns: minmax(14rem, 0.7fr) minmax(22rem, 1.3fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.book-hero-cover {
  position: relative;
  width: min(100%, 23rem);
  justify-self: center;
}

.book-hero-cover::after {
  position: absolute;
  z-index: 0;
  top: 1.8rem;
  right: -1.8rem;
  bottom: -1.8rem;
  left: 1.8rem;
  border: 1px solid rgba(252, 251, 248, 0.18);
  content: "";
}

.book-hero-cover img {
  position: relative;
  z-index: 1;
  width: 100%;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.48);
}

.book-hero-copy {
  position: relative;
  z-index: 2;
}

.book-hero-copy h1 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(3.3rem, 7vw, 6.9rem);
}

.book-hero-copy .lede {
  max-width: 34rem;
  margin-top: 1.7rem;
  color: rgba(252, 251, 248, 0.72);
}

.book-purchase-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.book-purchase-fallback {
  max-width: 34rem;
  color: rgba(252, 251, 248, 0.68);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.5;
  text-underline-offset: 0.2em;
}

.book-purchase-fallback:hover,
.book-purchase-fallback:focus-visible {
  color: var(--paper-bright);
}

.book-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.book-kicker span + span::before {
  margin-right: 1rem;
  color: rgba(252, 251, 248, 0.32);
  content: "／";
}

.book-content-grid {
  display: grid;
  grid-template-columns: minmax(20rem, 1.3fr) minmax(17rem, 0.7fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.book-content-grid h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.book-facts {
  align-self: start;
  padding-top: 0.4rem;
}

.book-nav-band {
  border-top: 1px solid var(--line);
  background: var(--paper-bright);
}

.book-nav-inner {
  display: flex;
  min-height: 8.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.book-nav-inner p {
  max-width: 32rem;
  color: var(--muted);
}

.press-bio {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  background: var(--paper-bright);
  font-size: 1.15rem;
}

.download-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.download-item {
  display: grid;
  grid-template-columns: 4rem minmax(12rem, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.download-item img {
  width: 4rem;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  background: var(--ink);
}

.download-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.download-item span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.73rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 0.9fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.spaced-heading {
  margin-top: 1.5rem;
}

.contact-address .contact-note {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
  text-transform: none;
}

.contact-address {
  align-self: start;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border-top: 3px solid var(--bordeaux);
  background: var(--paper-bright);
}

.contact-address p {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-address a {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--bordeaux);
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  overflow-wrap: anywhere;
}

.contact-topics {
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-topics li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.empty-state {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  place-items: center;
  text-align: center;
}

.empty-state-inner {
  max-width: 48rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.error-code {
  color: rgba(107, 43, 43, 0.16);
  font-family: var(--serif);
  font-size: clamp(7rem, 25vw, 18rem);
  line-height: 0.72;
}

.empty-state h1 {
  max-width: 12ch;
  margin: -1rem auto 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.empty-state .lede {
  max-width: 39rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
}

.empty-state .hero-actions {
  justify-content: center;
}

.site-footer {
  color: rgba(252, 251, 248, 0.7);
  background: var(--plate);
  font-family: var(--sans);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-brand {
  color: var(--paper-bright);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.footer-meta {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem 1.5rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal.is-visible {
  animation: reveal-in 650ms var(--ease) both;
}

.motion-ready .hero-copy.reveal,
.motion-ready .book-hero-copy.reveal {
  animation-delay: 100ms;
}

@keyframes reveal-in {
  from {
    opacity: 1;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 1.15rem;
    font-size: 0.68rem;
  }

  .hero-inner {
    grid-template-columns: minmax(17rem, 0.78fr) minmax(27rem, 1.22fr);
  }

  .hero-archive {
    min-height: 31rem;
  }

  .catalog-entry {
    grid-template-columns: 3rem 8rem minmax(16rem, 1fr);
  }

  .catalog-entry > .text-link,
  .catalog-entry > .store-actions {
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 4.5rem;
  }

  body {
    font-size: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100svh - var(--header-height));
    gap: 0;
    overflow-y: auto;
    padding: 0.9rem var(--gutter) 1.4rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper-bright);
    box-shadow: 0 1.3rem 2.6rem rgba(23, 23, 23, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    z-index: 49;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .site-nav a {
    min-height: 3.35rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
  }

  .site-nav a::after {
    right: auto;
    bottom: 0.7rem;
    width: 2.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1rem;
    padding-top: 3.5rem;
  }

  .hero-copy {
    max-width: 36rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-archive {
    min-height: clamp(21rem, 65vw, 31rem);
  }

  .hero-cover {
    width: clamp(6.3rem, 20vw, 9.8rem);
  }

  .intro-grid,
  .feature-grid,
  .author-strip,
  .prose-layout,
  .book-content-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .feature-grid,
  .author-strip,
  .prose-layout,
  .book-content-grid,
  .contact-panel {
    gap: 3rem;
  }

  .intro-grid h2,
  .feature-copy h2,
  .author-copy h2 {
    max-width: 12ch;
  }

  .feature-cover {
    width: min(70vw, 20rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading .body-copy {
    justify-self: start;
  }

  .compact-heading {
    grid-template-columns: 1fr auto;
  }

  .author-motif {
    min-height: 19rem;
  }

  .prose-index {
    position: static;
  }

  .book-hero-inner {
    min-height: 0;
    grid-template-columns: minmax(11rem, 0.62fr) minmax(18rem, 1.38fr);
    gap: 3rem;
  }

  .book-hero-cover {
    width: min(100%, 18rem);
  }

  .book-facts {
    max-width: 36rem;
  }

  .contact-band-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .brand-name {
    font-size: 1rem;
  }

  .brand-role {
    font-size: 0.6rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 3.2rem;
    padding-bottom: 3.8rem;
  }

  .hero .lede {
    margin-top: 1.3rem;
  }

  .hero-archive {
    min-height: 19rem;
    margin-top: 0.5rem;
  }

  .hero-archive::before {
    bottom: 4rem;
  }

  .hero-cover {
    bottom: 4.1rem;
    width: 25%;
  }

  .hero-cover:nth-child(1) {
    left: 0;
  }

  .hero-cover:nth-child(2) {
    left: 17.5%;
  }

  .hero-cover:nth-child(3) {
    left: 35%;
  }

  .hero-cover:nth-child(4) {
    left: 52.5%;
  }

  .hero-cover:nth-child(5) {
    left: 70%;
  }

  .archive-caption {
    right: auto;
    left: 0;
  }

  .section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .compact-heading {
    grid-template-columns: 1fr;
  }

  .catalog-entry {
    grid-template-columns: 3rem minmax(6.8rem, 8rem) 1fr;
    align-items: start;
    gap: 1rem;
  }

  .catalog-copy {
    grid-column: 2 / -1;
  }

  .catalog-entry > .text-link,
  .catalog-entry > .store-actions {
    grid-column: 2 / -1;
  }

  .contact-band-inner,
  .book-nav-inner {
    align-items: flex-start;
  }

  .book-hero-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .book-hero-cover {
    width: min(68vw, 17rem);
  }

  .book-hero-copy {
    grid-row: 1;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .book-nav-inner,
  .contact-band-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .book-nav-inner {
    flex-direction: column;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .download-item {
    grid-template-columns: 3.7rem 1fr;
  }

  .download-item .text-link {
    grid-column: 2;
    justify-self: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Parallel stores remain together in the existing catalog grid cell. */
.store-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}
