/* =========================================================
   Perfectly Respectable — brand stylesheet
   Colours and type follow the brand guidelines:
   Forest Green #1F3B2E · Burgundy #6B1F2A
   Parchment #F6F2E9 · Stone #C9C2BB
   Canela (display) · Lora (body)
   ========================================================= */

:root {
  --forest: #1f3b2e;
  --forest-deep: #16291f;
  --forest-soft: #2c4d3d;
  --burgundy: #6b1f2a;
  --burgundy-deep: #551721;
  --parchment: #f6f2e9;
  --parchment-warm: #efe9dc;
  --parchment-pale: #fbf9f4;
  --stone: #c9c2bb;
  --stone-deep: #a8a099;
  --ink: #221f1b;
  --muted: #6e6960;

  /* Canela is a licensed typeface (Commercial Type). If the studio
     licenses it, drop the webfont in and it takes over automatically.
     Fraunces is the closest free stand-in. */
  --font-display: "Canela", "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;

  --shell: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --rule: 1px solid rgba(34, 31, 27, 0.14);
  --rule-light: 1px solid rgba(246, 242, 233, 0.22);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "liga" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 48;
  letter-spacing: -0.012em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0 0 1em; }

/* ---------- layout helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: 820px; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--parchment { background: var(--parchment); }
.section--warm { background: var(--parchment-warm); }
.section--forest { background: var(--forest); color: var(--parchment); }
.section--forest h1,
.section--forest h2,
.section--forest h3 { color: var(--parchment); }

.rule-top { border-top: var(--rule); }

/* ---------- typographic utilities ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 500;
}

.section--forest .eyebrow { color: rgba(246, 242, 233, 0.6); }

.display-xl { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.display-l  { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.display-m  { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.display-s  { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }

.lede {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--ink);
  max-width: 46ch;
}

.section--forest .lede { color: rgba(246, 242, 233, 0.84); }

.meta {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- links & buttons ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.25s ease, opacity 0.25s ease;
}

.link-arrow svg { width: 20px; height: 8px; flex: none; }
.link-arrow:hover { gap: 18px; opacity: 0.72; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--parchment);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); }

.btn--ghost {
  background: transparent;
  color: var(--forest);
}
.btn--ghost:hover { background: var(--forest); color: var(--parchment); }

.btn--burgundy { background: var(--burgundy); border-color: var(--burgundy); }
.btn--burgundy:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }

.btn--small { padding: 11px 20px; font-size: 10.5px; }

.btn--light {
  background: var(--parchment);
  border-color: var(--parchment);
  color: var(--forest);
}
.btn--light:hover { background: #fff; border-color: #fff; }

/* =========================================================
   Header
   ========================================================= */
.utility-bar {
  background: var(--parchment);
  border-bottom: 1px solid rgba(34, 31, 27, 0.08);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.utility-bar .shell {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
  min-height: 34px;
}

.utility-bar a { text-decoration: none; }
.utility-bar a:hover { color: var(--ink); }
.utility-bar .sep { color: var(--stone-deep); }

.site-header {
  background: var(--parchment);
  position: relative;
  z-index: 40;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 20px 22px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.brand-duck { width: 34px; height: 40px; color: var(--forest); flex: none; }

.brand-logo { display: block; width: auto; height: clamp(52px, 5.6vw, 68px); flex: none; }
.footer-brand .brand-logo { height: 96px; margin-bottom: 18px; }
.brand-wordmark { display: block; width: auto; height: clamp(58px, 6.4vw, 84px); flex: none; }

.main-nav ul {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { border-bottom-color: var(--forest); }

.header-meta {
  justify-self: end;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.75;
  text-align: left;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(34, 31, 27, 0.2);
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
}

.search-trigger {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.search-trigger svg { width: 14px; height: 14px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(120% 100% at 85% 20%, rgba(70, 58, 38, 0.55) 0%, rgba(22, 41, 31, 0) 60%),
    linear-gradient(100deg, #1a2d22 0%, #26382a 38%, #4a4433 72%, #6b5c40 100%);
  color: var(--parchment);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.hero .shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  line-height: 1.04;
  margin-bottom: 28px;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 38ch;
  color: rgba(246, 242, 233, 0.86);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  margin-bottom: 32px;
}

.hero-copy .link-arrow { color: var(--parchment); }

/* --- the shelf of spines --- */
.shelf {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(6px, 0.9vw, 12px);
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.42));
  perspective: 1200px;
}

.spine {
  --spine-bg: var(--parchment-warm);
  --spine-ink: var(--forest);
  width: clamp(58px, 6.3vw, 88px);
  height: clamp(232px, 27vw, 358px);
  background: var(--spine-bg);
  color: var(--spine-ink);
  border-radius: 2px 4px 4px 2px;
  padding: 26px 7px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  position: relative;
  box-shadow: inset -7px 0 12px -8px rgba(0, 0, 0, 0.45),
              inset 4px 0 6px -4px rgba(255, 255, 255, 0.5);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.shelf:hover .spine { transform: translateY(4px); }
.spine:hover { transform: translateY(-14px) !important; }

/* staggered heights, as on a real shelf */
.spine:nth-child(1) { height: clamp(216px, 25.2vw, 334px); }
.spine:nth-child(3) { height: clamp(242px, 28.2vw, 374px); }
.spine:nth-child(5) { height: clamp(224px, 26vw, 344px); }

.spine-title {
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 0.8vw, 0.84rem);
  line-height: 1.24;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.spine-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.spine-author {
  font-size: 7.4px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}

.spine-mark { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.04em; }

/* colourways — these match the .cover--* names exactly, so a
   title keeps the same colour on its spine and on its cover */
.spine--cream  { --spine-bg: #ece3d2; }
.spine--sand   { --spine-bg: #e3dac8; }
.spine--pale   { --spine-bg: #ded5c6; }
.spine--mist   { --spine-bg: #d6d8d3; }
.spine--stone  { --spine-bg: #cfc6b7; }
.spine--forest { --spine-bg: var(--forest); --spine-ink: var(--parchment); }
.spine--burgundy { --spine-bg: var(--burgundy); --spine-ink: var(--parchment); }
.spine--ink    { --spine-bg: #2a2a28; --spine-ink: var(--parchment); }

/* =========================================================
   Book covers
   ========================================================= */
.cover {
  aspect-ratio: 2 / 3;
  /* type inside a cover scales with the cover, so the same markup
     works at 100px in an article and at 360px on a product page */
  container-type: inline-size;
  background: var(--cover-bg, var(--parchment-pale));
  color: var(--cover-ink, var(--ink));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11% 11% 9%;
  text-align: center;
  position: relative;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 18px 30px -22px rgba(34, 31, 27, 0.6);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease;
  overflow: hidden;
}

.cover::before {
  /* spine shadow on the left edge, like a photographed book */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0));
}

a:hover > .cover,
.card:hover .cover {
  transform: translateY(-6px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 26px 38px -22px rgba(34, 31, 27, 0.65);
}

.cover-kicker {
  font-size: 6.5px;
  font-size: clamp(4.6px, 3.5cqw, 9px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 9%;
  line-height: 1.4;
}

.cover-title {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.45vw, 1.12rem);
  font-size: clamp(0.6rem, 9.4cqw, 1.7rem);
  line-height: 1.22;
  text-wrap: balance;
  margin-bottom: auto;
}

.cover-motif {
  width: 54%;
  max-height: 42%;
  margin: 6% 0;
  color: currentColor;
  opacity: 0.92;
}

.cover-author {
  font-size: 6.8px;
  font-size: clamp(4.8px, 3.7cqw, 9.5px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.68;
  margin-top: auto;
}

.cover--forest   { --cover-bg: var(--forest);   --cover-ink: var(--parchment); }
.cover--burgundy { --cover-bg: var(--burgundy); --cover-ink: var(--parchment); }
.cover--stone    { --cover-bg: #dcd8d2; }
.cover--cream    { --cover-bg: #f1e9d8; }
.cover--sand     { --cover-bg: #e8e1d1; }
.cover--mist     { --cover-bg: #d9dbd6; }
.cover--ink      { --cover-bg: #2a2a28; --cover-ink: var(--parchment); }

/* =========================================================
   Featured rail
   ========================================================= */
.rail-section .shell {
  display: grid;
  grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.rail-intro h2 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); margin-bottom: 18px; }
.rail-intro p { font-size: 15px; color: var(--ink); margin-bottom: 26px; }

.rail-wrap { position: relative; min-width: 0; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(132px, 15vw, 168px);
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
}

.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 3px; }
.rail::-webkit-scrollbar-thumb { background: var(--stone); }
.rail::-webkit-scrollbar-track { background: rgba(34, 31, 27, 0.07); }

.rail-nav {
  position: absolute;
  top: 38%;
  right: -18px;
  background: var(--parchment);
  border: var(--rule);
  box-shadow: 0 2px 14px rgba(34, 31, 27, 0.14);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s ease;
}
.rail-nav:hover { background: #fff; }
.rail-nav svg { width: 13px; height: 13px; }

/* ---------- book card ---------- */
.book-card { text-decoration: none; display: block; }
.book-card .book-info { margin-top: 14px; }

.book-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  line-height: 1.3;
  margin: 0 0 2px;
}

.book-author { font-size: 12.5px; color: var(--muted); margin: 0 0 4px; }

.book-spec {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
}
.book-spec .divider { color: var(--stone-deep); }

/* ---------- catalogue card ---------- */
.card .cover { margin-bottom: 14px; }
.card a { text-decoration: none; }

.card-cat {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-deep);
  margin: 0 0 6px;
}

.card .book-title { font-size: 15.5px; margin-bottom: 3px; }
.card .book-title a { text-decoration: none; }
.card .book-title a:hover { color: var(--burgundy); }

.card-blurb {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 6px 0 10px;
}

.card .book-spec { margin-bottom: 14px; }

/* =========================================================
   Grids
   ========================================================= */
.grid-books {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: clamp(24px, 3vw, 42px) clamp(18px, 2.4vw, 32px);
}

.grid-covers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: clamp(26px, 3vw, 44px) clamp(20px, 2.4vw, 32px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 3.4vw, 52px);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 3.4vw, 56px);
}

/* =========================================================
   Filters
   ========================================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 22px 30px;
  border-bottom: var(--rule);
  margin-bottom: clamp(30px, 4vw, 48px);
}

.filter {
  background: none;
  border: 1px solid rgba(34, 31, 27, 0.18);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  padding: 9px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter:hover { border-color: var(--forest); color: var(--forest); }
.filter.is-active { background: var(--forest); border-color: var(--forest); color: var(--parchment); }

/* =========================================================
   Product detail (books / covers)
   ========================================================= */
.product {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.product-media .cover { max-width: 360px; }

.product-info .eyebrow { margin-bottom: 14px; }
.product-info h1 { margin-bottom: 10px; }

.byline {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 26px;
  font-style: italic;
}

.spec-list {
  list-style: none;
  margin: 30px 0;
  padding: 24px 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  font-size: 13.5px;
  color: var(--muted);
  display: grid;
  gap: 9px;
}

.spec-list strong {
  color: var(--ink);
  font-weight: 400;
  display: inline-block;
  min-width: 118px;
}

.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

.buy-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  font-style: italic;
}

/* =========================================================
   Editorial band (photo-less, typographic)
   ========================================================= */
.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: 420px;
}

.band-feature {
  background:
    linear-gradient(170deg, rgba(22, 41, 31, 0.9) 0%, rgba(31, 59, 46, 0.86) 55%, rgba(62, 52, 36, 0.9) 100%);
  color: var(--parchment);
  display: flex;
  align-items: center;
  padding: clamp(40px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}

.band-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(246, 242, 233, 0.16) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.5;
}

.band-feature > * { position: relative; }
.band-feature h2 { margin-bottom: 20px; max-width: 12ch; }
.band-feature p { color: rgba(246, 242, 233, 0.84); max-width: 34ch; margin-bottom: 30px; }
.band-feature .link-arrow { color: var(--parchment); }

.band-side {
  background: var(--parchment-warm);
  padding: clamp(36px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 3vw, 48px);
}

.band-side h2 { margin-bottom: 22px; }

/* ---------- editorial cards ---------- */
.entry { text-decoration: none; display: block; }

.entry-thumb {
  aspect-ratio: 16 / 10;
  background: var(--thumb-bg, var(--forest));
  color: var(--thumb-ink, var(--parchment));
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease;
}

.entry:hover .entry-thumb { transform: translateY(-4px); }
.entry-thumb svg { width: 36%; opacity: 0.9; }

.entry-thumb--burgundy { --thumb-bg: var(--burgundy); }
.entry-thumb--stone    { --thumb-bg: #cfc8bd; --thumb-ink: var(--forest); }
.entry-thumb--cream    { --thumb-bg: #e6dcc7; --thumb-ink: var(--forest); }
.entry-thumb--ink      { --thumb-bg: #2a2a28; }

.entry-kicker {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

.entry h3 { font-size: clamp(1.18rem, 1.6vw, 1.42rem); margin-bottom: 8px; }
.entry p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

/* =========================================================
   Journal index
   ========================================================= */
.journal-hero {
  border-bottom: var(--rule);
  padding-block: clamp(44px, 6vw, 80px);
}

.journal-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
  border-bottom: var(--rule);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.journal-lead .entry-thumb { aspect-ratio: 4 / 3; margin-bottom: 0; }
.journal-lead h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }

/* =========================================================
   Article
   ========================================================= */
.article-head {
  padding-block: clamp(44px, 6vw, 84px) clamp(30px, 4vw, 48px);
  border-bottom: var(--rule);
  text-align: center;
}

.article-head h1 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  max-width: 20ch;
  margin-inline: auto;
  margin-bottom: 20px;
  text-wrap: balance;
}

.article-head .standfirst {
  max-width: 54ch;
  margin-inline: auto;
  font-size: 1.05rem;
  color: var(--muted);
}

.article-byline {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-body {
  max-width: 680px;
  margin-inline: auto;
  padding-block: clamp(38px, 5vw, 64px);
  font-size: 1.05rem;
  line-height: 1.78;
}

.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 3.9em;
  line-height: 0.82;
  padding: 0.07em 0.1em 0 0;
  color: var(--forest);
}

.article-body h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin: 48px 0 16px;
}

.article-body h3 { font-size: 1.3rem; margin: 36px 0 12px; }

.article-body blockquote {
  margin: 38px 0;
  padding: 0 0 0 26px;
  border-left: 2px solid var(--burgundy);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--forest);
}

.article-body hr {
  border: 0;
  border-top: var(--rule);
  margin: 46px 0;
}

.article-body a { color: var(--burgundy); text-underline-offset: 3px; }

/* ---------- numbered pick inside articles ---------- */
.pick {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 30px 0;
  border-top: var(--rule);
}

.pick:last-of-type { border-bottom: var(--rule); }

.pick-media .cover { padding: 12% 10% 10%; }

.pick-no {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.pick h3 { font-size: 1.3rem; margin: 0 0 4px; }

.pick-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
}

.pick p { font-size: 0.97rem; margin-bottom: 16px; }

.pick-swatch {
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
  background: var(--swatch-bg, var(--parchment-warm));
  color: var(--swatch-ink, var(--forest));
  border: 1px solid rgba(34, 31, 27, 0.1);
}
.pick-swatch svg { width: 54%; }

/* =========================================================
   Newsletter
   ========================================================= */
.newsletter {
  background: var(--forest);
  color: var(--parchment);
  text-align: center;
  padding-block: clamp(52px, 7vw, 92px);
}

.newsletter h2 { margin-bottom: 16px; }
.newsletter p { color: rgba(246, 242, 233, 0.78); max-width: 44ch; margin-inline: auto; margin-bottom: 30px; }

.subscribe {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe input {
  flex: 1 1 240px;
  background: transparent;
  border: 1px solid rgba(246, 242, 233, 0.4);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 16px;
}

.subscribe input::placeholder { color: rgba(246, 242, 233, 0.5); }
.subscribe input:focus { outline: none; border-color: var(--parchment); }

.newsletter .fineprint {
  font-size: 11.5px;
  color: rgba(246, 242, 233, 0.5);
  margin: 20px 0 0;
  font-style: italic;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--forest-deep);
  color: rgba(246, 242, 233, 0.76);
  padding-block: clamp(48px, 6vw, 76px) 30px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 56px);
  padding-bottom: 44px;
  border-bottom: var(--rule-light);
}

.footer-brand .brand-name { color: var(--parchment); font-size: 1.6rem; }
.footer-brand .brand-duck { color: var(--parchment); }
.footer-brand p { margin-top: 18px; max-width: 32ch; color: rgba(246, 242, 233, 0.62); font-size: 13px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 242, 233, 0.5);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--parchment); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 11.5px;
  color: rgba(246, 242, 233, 0.45);
}

.footer-seal { width: 86px; height: 86px; color: rgba(246, 242, 233, 0.5); }

/* =========================================================
   Search overlay
   ========================================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 41, 31, 0.97);
  z-index: 100;
  display: none;
  padding: clamp(40px, 8vh, 110px) var(--gutter);
  overflow-y: auto;
}

.search-overlay.is-open { display: block; }

.search-inner { max-width: 760px; margin-inline: auto; }

.search-overlay input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(246, 242, 233, 0.4);
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  padding: 0 0 16px;
}

.search-overlay input:focus { outline: none; border-bottom-color: var(--parchment); }
.search-overlay input::placeholder { color: rgba(246, 242, 233, 0.35); }

.search-close {
  position: absolute;
  top: 26px;
  right: var(--gutter);
  background: none;
  border: 0;
  color: rgba(246, 242, 233, 0.7);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.search-results { margin-top: 34px; display: grid; gap: 2px; }

.search-results a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  text-decoration: none;
  color: rgba(246, 242, 233, 0.85);
  padding: 15px 4px;
  border-bottom: 1px solid rgba(246, 242, 233, 0.12);
}

.search-results a:hover { color: var(--parchment); background: rgba(246, 242, 233, 0.05); }
.search-results .r-title { font-family: var(--font-display); font-size: 1.12rem; }
.search-results .r-type { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; white-space: nowrap; }
.search-empty { color: rgba(246, 242, 233, 0.5); font-style: italic; margin-top: 30px; }

/* =========================================================
   Misc
   ========================================================= */
.page-head {
  padding-block: clamp(44px, 6vw, 84px) clamp(22px, 3vw, 36px);
}

.page-head h1 { margin-bottom: 18px; }
.page-head .lede { max-width: 56ch; }

.notice {
  background: var(--parchment-warm);
  border-left: 2px solid var(--burgundy);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 140%);
  background: var(--forest-deep);
  color: var(--parchment);
  padding: 14px 24px;
  font-size: 13px;
  z-index: 200;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
  max-width: min(520px, calc(100vw - 32px));
  text-align: center;
}

.toast.is-visible { transform: translate(-50%, 0); }

.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 26px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

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

.is-hidden { display: none !important; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .header-meta { display: none; }
  .header-grid { grid-template-columns: auto 1fr; }
  .main-nav { justify-self: end; }
}

@media (max-width: 860px) {
  .hero .shell { grid-template-columns: 1fr; }
  .shelf { order: 2; }
  .rail-section .shell { grid-template-columns: 1fr; }
  .rail-nav { display: none; }
  .band { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-media .cover { max-width: 260px; }
  .journal-lead { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: inline-block; justify-self: end; }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: var(--rule);
    margin-top: 16px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .main-nav a { font-size: 17px; }
  .header-grid { grid-template-columns: 1fr auto; }
}

@media (max-width: 620px) {
  .spine { height: 200px; width: 46px; padding: 16px 5px 11px; }
  .spine-title { font-size: 0.62rem; }
  .spine-author { display: none; }
  .shelf { gap: 4px; }
  .pick { grid-template-columns: 84px minmax(0, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-books { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); }
}

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