/* =========================================================
   FORTEAN BOOKS — shared stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Crimson+Pro:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --paper:        #f1eadb;
  --paper-warm:   #ece3cf;
  --paper-deep:   #e3d8be;
  --ink:          #1b1814;
  --ink-soft:     #524739;
  --ink-faint:    #897b66;
  --rule:         #c8bda1;
  --rule-soft:    #dbd0b6;
  --oxblood:      #6e1d1d;
  --oxblood-deep: #4a1212;
  --indigo:       #25365c;
  --ochre:        #8a6916;

  --f-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --f-body:    "Crimson Pro", "Crimson Text", Georgia, serif;
  --f-mono:    "JetBrains Mono", "Courier New", monospace;

  --max:    1240px;
  --maxnar: 880px;
  --gut:    32px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  background-image:
    radial-gradient(rgba(80,60,30,0.025) 1px, transparent 1px),
    radial-gradient(rgba(80,60,30,0.018) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

img { max-width: 100%; display: block; }
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
  transition: text-decoration-color .15s, color .15s;
}
a:hover { text-decoration-color: var(--oxblood); color: var(--oxblood); }

/* ------------- Type ------------- */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 .4em;
  letter-spacing: -0.005em;
  text-wrap: balance;
  line-height: 1.05;
}
h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 500; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
h4 { font-size: 20px; }

p { margin: 0 0 1em; text-wrap: pretty; }
p.lead {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.smallcaps {
  font-variant: small-caps;
  letter-spacing: 0.04em;
}
.mono { font-family: var(--f-mono); }
.italic { font-style: italic; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 48px 0;
}
hr.thin { border-top-color: var(--rule-soft); }
hr.double {
  border-top: 1px solid var(--rule);
  position: relative;
  margin: 60px 0;
}
hr.double::after {
  content:"";
  position:absolute;
  left:0; right:0; top:3px;
  border-top: 1px solid var(--rule);
}

/* ------------- Layout helpers ------------- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: var(--maxnar); margin: 0 auto; padding: 0 var(--gut); }

.section { padding: 80px 0; }
.section--lg { padding: 120px 0; }
.section--sm { padding: 48px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.section-head .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-head h2 { margin: 0; }

/* ------------- Site header — single row ------------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 30;
  transition: background .35s ease, border-color .35s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: 58px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
  gap: 36px;
}

/* ── Wordmark ── */
.wordmark {
  font-family: var(--f-display);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  transition: color .35s ease;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}
.wordmark__dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--oxblood);
  border-radius: 50%;
  transform: translateY(-3px);
  transition: background .35s ease;
}

/* ── Primary nav ── */
.site-nav {
  flex: 1;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.site-nav a {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: color .35s ease;
  position: relative;
  white-space: nowrap;
}
.site-nav a.is-current::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -5px;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--oxblood);
  border-radius: 50%;
}
.site-nav a:hover { color: var(--oxblood); }

/* ── Right-side action cluster (shop + cart) ── */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Shop button ── */
.shop-btn {
  background: var(--oxblood);
  border: 1px solid var(--oxblood);
  color: #f1eadb;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.shop-btn:hover {
  background: var(--oxblood-deep);
  border-color: var(--oxblood-deep);
  color: #f1eadb;
  text-decoration: none;
}
/* On the dark transparent header: solid white, matching the hero button */
.site-header--transparent .shop-btn {
  background: #fff;
  border-color: #fff;
  color: #0a0809;
}
.site-header--transparent .shop-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.85);
  color: #0a0809;
}

/* ── Basket pill ── */
.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--ink);
  padding: 6px 13px;
  border-radius: 999px;
  background: transparent;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .15s, border-color .15s;
}
.cart-pill svg { flex-shrink: 0; }
.cart-pill:hover {
  color: var(--oxblood);
  border-color: var(--oxblood);
  text-decoration: none;
}
.cart-pill .snipcart-items-count {
  color: var(--oxblood);
  font-weight: 700;
}

/* ── Transparent variant — homepage only, applied in HTML ── */
.site-header--transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header--transparent .wordmark,
.site-header--transparent .site-nav a,
.site-header--transparent .cart-pill {
  color: rgba(255, 255, 255, 0.80);
}
.site-header--transparent .wordmark__dot {
  background: rgba(255, 255, 255, 0.70);
}
.site-header--transparent .cart-pill {
  border-color: rgba(255, 255, 255, 0.40);
}
.site-header--transparent .cart-pill:hover {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}
.site-header--transparent .cart-pill .snipcart-items-count {
  color: rgba(255, 255, 255, 0.80);
}
.site-header--transparent .site-nav a:hover,
.site-header--transparent .wordmark:hover {
  color: #fff;
}
.site-header--transparent .site-nav a.is-current::after {
  background: rgba(255, 255, 255, 0.60);
}

/* ------------- Burger menu button ------------- */

.burger-btn {
  display: none; /* revealed at mobile breakpoint */
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 2px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  margin-left: auto; /* pushes to right when nav is hidden */
  -webkit-tap-highlight-color: transparent;
}
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: background .35s ease;
}
.site-header--transparent .burger-btn span {
  background: rgba(255, 255, 255, 0.85);
}

/* ------------- Mobile navigation overlay ------------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 40; /* above sticky header */
  display: flex;
  flex-direction: column;
  padding: 0 var(--gut) 48px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s .35s;
  visibility: hidden;
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateX(0);
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
  visibility: visible;
}

/* Header row — wordmark + close button */
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 59px;
  flex-shrink: 0;
}
.mobile-nav__head .wordmark {
  color: rgba(241, 234, 219, 0.88);
  text-decoration: none;
}
.mobile-nav__head .wordmark:hover { color: #fff; }
.mobile-nav__head .wordmark__dot { background: var(--oxblood); }

/* Close (×) button */
.mobile-nav__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav__close span {
  display: block;
  position: absolute;
  width: 20px;
  height: 2px;
  background: rgba(241, 234, 219, 0.55);
  border-radius: 1px;
  top: 50%; left: 50%;
  transition: background .15s;
}
.mobile-nav__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-nav__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-nav__close:hover span { background: #fff; }

/* Nav links — large italic display type */
.mobile-nav__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}
.mobile-nav__links a {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(40px, 12vw, 64px);
  font-weight: 500;
  color: rgba(241, 234, 219, 0.60);
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color .15s;
}
.mobile-nav__links a:hover { color: #fff; }

/* Footer — Browse + Cart */
.mobile-nav__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(241, 234, 219, 0.12);
  flex-shrink: 0;
}
.mobile-nav .shop-btn {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
  color: rgba(255, 255, 255, 0.75);
}
.mobile-nav .shop-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
}
.mobile-nav .cart-pill {
  border-color: rgba(255, 255, 255, 0.30);
  color: rgba(255, 255, 255, 0.65);
}
.mobile-nav .cart-pill:hover {
  border-color: rgba(255, 255, 255, 0.65);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

/* ------------- Hero ------------- */

.hero {
  padding: 100px 0 80px;
  position: relative;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero h1 em { font-weight: 400; color: var(--oxblood); }
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero__meta p { font-size: 18px; max-width: 38ch; }

/* Catalogue marquee */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--paper-warm);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.marquee__track {
  display: inline-block;
  animation: scroll 60s linear infinite;
  padding-left: 100%;
}
.marquee__track span { margin: 0 28px; }
.marquee__track .dot { color: var(--oxblood); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ------------- Book covers (placeholder geometric) ------------- */

.cover {
  aspect-ratio: 2 / 3;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.06),
    0 6px 18px -8px rgba(40,30,15,0.35),
    inset 0 0 0 1px rgba(0,0,0,0.05);
  display: block;
  font-family: var(--f-display);
  color: #f1eadb;
  user-select: none;
}
.cover__inner {
  position: absolute;
  inset: 14px;
  border: 1px solid currentColor;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
}
.cover__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.cover__author {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.cover__num {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
}
.cover__motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* Cover palette — usable on any element (covers, catalogue thumbnails, etc.) */
.c-oxblood   { background: #6e1d1d; color: #f1eadb; }
.c-indigo    { background: #25365c; color: #ede1c1; }
.c-ochre     { background: #8a6916; color: #f1eadb; }
.c-forest    { background: #2c3d2a; color: #ede1c1; }
.c-ink       { background: #1b1814; color: #c9b079; }
.c-cream     { background: #ece3cf; color: #1b1814; }
.c-rust      { background: #8a3a14; color: #f1eadb; }
.c-slate     { background: #3a3f48; color: #d8cda6; }
.c-violet    { background: #3a2543; color: #d8b27a; }

/* ------------- Featured grid ------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 36px;
}
.feature-card { display: flex; flex-direction: column; gap: 14px; }
.feature-card a { text-decoration: none; }
.feature-card .cover { transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover .cover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06),
              0 18px 32px -14px rgba(40,30,15,0.45),
              inset 0 0 0 1px rgba(0,0,0,0.05);
}
.feature-card__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
}
.feature-card__title {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
}
.feature-card__author {
  font-family: var(--f-body);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: -8px;
}
.feature-card__price {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink);
}

/* ------------- Newsletter ------------- */

.newsletter {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0;
  position: relative;
}
.newsletter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.newsletter h2 { color: var(--paper); }
.newsletter p { color: rgba(241,234,219,0.7); }
.newsletter form {
  display: flex;
  border-bottom: 1px solid rgba(241,234,219,0.4);
  padding-bottom: 10px;
}
.newsletter input[type=email] {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--paper);
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  padding: 8px 0;
  outline: none;
}
.newsletter input[type=email]::placeholder { color: rgba(241,234,219,0.4); }
.newsletter button {
  background: transparent;
  border: 0;
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0 10px;
}
.newsletter button:hover { color: #d8b27a; }
.newsletter__small {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241,234,219,0.45);
  margin-top: 14px;
}

/* ------------- Footer ------------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 60px 0 36px;
  color: var(--ink-soft);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--ink-soft); }
.site-footer a:hover { color: var(--oxblood); }
.site-footer__address { line-height: 1.6; font-size: 16px; margin-top: 18px; }
.site-footer__bottom {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ------------- Buttons / forms ------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper);}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; justify-content: center; padding: 18px 22px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

label { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
input[type=text], input[type=email], input[type=tel], input[type=url], textarea, select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--f-body);
  font-size: 18px;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-bottom-color: var(--oxblood); outline: none; }

select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23524739' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 22px;
  cursor: pointer;
}
select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236e1d1d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

.form-row { margin-bottom: 28px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }

/* ------------- Tables / catalogue rows ------------- */

.catalogue {
  border-top: 1px solid var(--ink);
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-row {
  display: grid;
  grid-template-columns: 60px 90px 1fr 1.5fr 1fr 90px 100px 130px;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: background .15s;
}
.cat-row:hover { background: var(--paper-warm); }
.cat-row__num { font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint); }
.cat-row__cover-mini {
  width: 60px; height: 90px;
  background: var(--ink);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.cat-row__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.cat-row__title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}
.cat-row__author { font-style: italic; color: var(--ink-soft); font-size: 16px; }
.cat-row__year, .cat-row__cond, .cat-row__price { font-family: var(--f-mono); font-size: 12px; }
.cat-row__price { font-size: 14px; text-align: right; }
.cat-row__cond .pill {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--rule);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Filter bar */
.filterbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
  align-items: center;
}
.filterbar .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 12px;
}
.chip {
  border: 1px solid var(--rule);
  padding: 6px 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  background: var(--paper);
  border-radius: 999px;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ------------- Book detail page ------------- */

.book {
  padding: 64px 0 96px;
}
.book__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.book__cover-stack {
  position: sticky;
  top: 110px;
}

/* Back link — above cover photo on LHS */
.book__back-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 20px;
  gap: 8px;
  transition: color .15s;
}
.book__back-link svg {
  flex-shrink: 0;
  transition: transform .15s;
}
.book__back-link:hover { color: var(--oxblood); text-decoration: none; }
.book__back-link:hover svg { transform: translateX(-3px); }

/* Active thumbnail state */
.book__photo-thumb.is-active {
  opacity: 1;
  outline: 2px solid var(--oxblood);
  outline-offset: 2px;
}
.book__cover {
  max-width: 360px;
}
.book__crumbs {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.book__crumbs a { text-decoration: none; color: var(--ink-faint); }
.book__crumbs a:hover { color: var(--oxblood); }

.book__author {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.book__title {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  margin: 16px 0 24px;
}
.book__price-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  margin: 32px 0;
}
.book__price {
  font-family: var(--f-mono);
  font-size: 38px;
  letter-spacing: -0.01em;
  color: var(--oxblood);
}
.book__stock {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
  font-size: 16px;
}
.spec-table th {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-faint);
  width: 160px;
}
.spec-table td { font-family: var(--f-body); }

.book__desc p { font-size: 18px; line-height: 1.6; }
.book__desc p:first-of-type::first-letter {
  font-family: var(--f-display);
  font-size: 4.2em;
  float: left;
  line-height: 0.86;
  padding: 4px 6px 0 0;
  color: var(--oxblood);
  font-weight: 500;
}

.book__provenance {
  background: var(--paper-warm);
  padding: 28px 32px;
  border-left: 2px solid var(--oxblood);
  margin: 36px 0;
  font-style: italic;
  font-size: 17px;
}
.book__provenance .eyebrow { font-style: normal; margin-bottom: 8px; display: block; }

/* ------------- About page ------------- */

.about-hero {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--rule);
}
.about-hero h1 { font-size: clamp(56px, 8vw, 120px); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  padding: 80px 0;
}
.about-grid h2 { margin-bottom: 24px; }
.about-grid p { font-size: 19px; line-height: 1.6; }
.aside-card {
  background: var(--paper-warm);
  padding: 32px;
  border-top: 2px solid var(--oxblood);
}
.aside-card h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.aside-card p { font-size: 16px; font-style: italic; }

.pull-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  color: var(--ink);
  margin: 72px auto;
  max-width: 22ch;
  text-align: center;
}
.pull-quote::before, .pull-quote::after {
  content: "—";
  display: block;
  font-style: normal;
  color: var(--oxblood);
  margin: 16px 0;
  font-size: 18px;
}

/* ------------- Page hero (shared, small) ------------- */
.page-hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  margin: 8px 0 20px;
}
.page-hero p {
  font-size: 20px;
  max-width: 52ch;
  color: var(--ink-soft);
}

/* ------------- Index of books on About page / related ------------- */
.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* ------------- Categories grid on home ------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.cat-tile {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  text-decoration: none;
  color: var(--ink);
  transition: background .15s;
}
.cat-tile:hover { background: var(--paper-warm); }
.cat-tile__num { font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint); letter-spacing: 0.18em; }
.cat-tile__name { font-family: var(--f-display); font-size: 30px; font-style: italic; line-height: 1.05; }
.cat-tile__count { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.18em; text-transform: uppercase; }

/* ------------- Misc utilities ------------- */
.center { text-align: center; }
.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.muted { color: var(--ink-soft); }

/* ------------- Newsletter inline (used in footer / pages) ------------- */
.nl-inline {
  display: flex;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.nl-inline input[type=email] {
  border: 0;
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: 16px;
  flex: 1;
  background: transparent;
}
.nl-inline button {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 0 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.nl-inline button:hover { background: var(--oxblood); }

/* ------------- Stamp (decorative) ------------- */
.stamp {
  display: inline-block;
  border: 1.5px solid currentColor;
  padding: 6px 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  color: var(--oxblood);
  border-radius: 2px;
}

/* ------------- Featured one-up ------------- */
.book-of-month {
  padding: 96px 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.book-of-month__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.book-of-month .cover { max-width: 320px; margin: 0 auto; }

/* =========================================================
   v3 refined — confident editorial layouts
   ========================================================= */

/* ------------- Centered title-page hero ------------- */
.hero-centered {
  padding: 140px 0 120px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
  position: relative;
}
/* Typing cursor in hero title */
.hero-cursor {
  display: inline-block;
  width: 2px;
  height: 0.82em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: -0.08em;
  animation: cursor-blink .85s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-centered__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 56px;
}
.hero-centered__title {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 0.88;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 auto;
  max-width: 12ch;
  text-wrap: balance;
}
.hero-centered__title .accent { color: var(--oxblood); }
.hero-centered__rule {
  width: 56px;
  height: 1px;
  background: var(--ink);
  margin: 64px auto 40px;
  position: relative;
}
.hero-centered__rule::before,
.hero-centered__rule::after {
  content: "";
  position: absolute;
  width: 4px; height: 4px;
  background: var(--ink);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.hero-centered__rule::before { left: -12px; }
.hero-centered__rule::after  { right: -12px; }
.hero-centered__epigraph {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--ink-soft);
  max-width: 32ch;
  margin: 0 auto 16px;
  line-height: 1.4;
  font-weight: 400;
}
.hero-centered__attr {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ------------- Featured: primary + list ------------- */

.featured-editorial {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  align-items: start;
}
.featured-editorial__primary { display: flex; flex-direction: column; }
.featured-editorial__primary .cover {
  margin: 0 0 36px;
  transform: rotate(-1.2deg);
  box-shadow: 0 26px 44px -22px rgba(20,15,5,0.4);
}
.featured-editorial__primary h3 {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.0;
  margin: 0 0 10px;
}
.featured-editorial__primary .author {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.featured-editorial__primary p {
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 44ch;
  line-height: 1.55;
}
.featured-editorial__meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.featured-editorial__meta .price {
  font-size: 22px;
  color: var(--oxblood);
  letter-spacing: 0;
}

.featured-editorial__list { padding-top: 8px; }
.featured-editorial__list .item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  align-items: center;
  transition: padding .25s ease, background .15s;
}
.featured-editorial__list .item:first-child { border-top: 1px solid var(--ink); }
.featured-editorial__list .item:hover { padding-left: 10px; padding-right: 10px; }
.featured-editorial__list .item:hover .item__title { color: var(--oxblood); }
.featured-editorial__list .item__cover {
  width: 64px;
  height: 96px;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(20,15,5,0.25);
}
.featured-editorial__list .item__title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.05;
  transition: color .15s;
}
.featured-editorial__list .item__author {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.featured-editorial__list .item__meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 6px;
}
.featured-editorial__list .item__price {
  font-family: var(--f-mono);
  font-size: 16px;
  color: var(--oxblood);
  text-align: right;
  align-self: center;
}

/* ------------- Subject list (replaces tile grid) ------------- */

.subject-list {
  border-top: 1px solid var(--ink);
  list-style: none;
  padding: 0;
  margin: 0;
}
.subject-list__item {
  display: grid;
  grid-template-columns: 80px 1.4fr 1.6fr 60px;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  align-items: baseline;
  transition: margin .25s ease, padding .25s ease, background .2s;
}
.subject-list__item:hover {
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
  background: var(--paper-warm);
}
.subject-list__item:hover .subject-list__name { color: var(--oxblood); }
.subject-list__item:hover .subject-list__arrow { color: var(--oxblood); transform: translateX(8px); }
.subject-list__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.subject-list__name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.0;
  transition: color .2s;
  letter-spacing: -0.005em;
}
.subject-list__desc {
  font-family: var(--f-body);
  font-size: 17px;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.4;
}
.subject-list__arrow {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  text-align: right;
  color: var(--ink-faint);
  transition: color .2s, transform .25s ease;
}

/* Monument quote — kept from v3 */
.monument {
  padding: 140px 0;
  text-align: left;
  position: relative;
}
.monument__lede {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.monument__quote {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.monument__quote .accent { color: var(--oxblood); font-style: normal; }
.monument__attr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  margin-top: 64px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  gap: 24px;
  flex-wrap: wrap;
}
.monument__attr em {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 19px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}

/* Editorial spread (book of the month) */
.spread {
  padding: 120px 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.spread__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 96px;
  align-items: center;
}
.spread__cover-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spread__cover-stage .cover {
  width: 100%;
  max-width: 320px;
  transform: rotate(-2deg);
  box-shadow: 0 30px 50px -25px rgba(20,15,5,0.45);
}
.spread__cover-stage .stamp-overlay {
  position: absolute;
  bottom: 24px;
  right: 0;
  background: var(--paper);
  border: 1.5px solid var(--oxblood);
  padding: 10px 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
  transform: rotate(6deg);
  box-shadow: 0 8px 16px -6px rgba(20,15,5,0.2);
}
.spread__col h2 {
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.94;
  margin-bottom: 32px;
}
.spread__col .pulled {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
  color: var(--ink);
  margin: 32px 0 32px;
  padding-left: 28px;
  border-left: 2px solid var(--oxblood);
  max-width: 38ch;
}

/* ------------- Section modifiers ------------- */

.section--warm {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ------------- Page hero shared grid ------------- */

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}

/* ------------- Eyebrow modifiers ------------- */

.eyebrow--on-dark { color: rgba(241,234,219,0.6); }

/* ------------- Catalogue components ------------- */

.cat-row__edition {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.catalogue__header {
  display: grid;
  grid-template-columns: 60px 90px 1fr 1.5fr 1fr 90px 100px 130px;
  gap: 24px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ink);
  cursor: default;
  align-items: center;
}

.catalogue__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* ------------- Form utilities ------------- */

.form-lead {
  font-size: 18px;
  margin-bottom: 48px;
  color: var(--ink-soft);
}

.form-note {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.form-actions__note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

input[type=file] {
  width: 100%;
  border: 1px dashed var(--rule);
  padding: 20px 20px 20px 0;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--ink-soft);
}
input[type=file]::file-selector-button,
input[type=file]::-webkit-file-upload-button {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--rule);
  padding: 20px 20px 20px 20px;
  margin-right: 20px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
input[type=file]::file-selector-button:hover,
input[type=file]::-webkit-file-upload-button:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ------------- Honeypot (spam prevention) ------------- */

.honeypot { display: none; }

/* ------------- address reset ------------- */

address { font-style: normal; }

/* ------------- Responsive ------------- */

@media (max-width: 980px) {
  /* Switch to burger menu — raised to fit 6-item nav */
  .site-nav,
  .site-header__actions { display: none; }
  .burger-btn { display: flex; }
  /* Tighten wordmark slightly so burger has room */
  .wordmark { font-size: 24px; }
}

@media (max-width: 980px) {
  .hero__grid, .newsletter__grid, .book__grid, .about-grid, .book-of-month__grid, .section-head,
  .spread__grid, .featured-editorial, .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .catalogue__header { display: none; }
  .feature-grid, .three-up, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cat-row {
    grid-template-columns: 50px 70px 1fr 1fr;
    gap: 16px;
  }
  .cat-row__year, .cat-row__cond { display: none; }
  .book__cover-stack { position: static; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .subject-list__item { grid-template-columns: 60px 1fr 40px; gap: 20px; }
  .subject-list__desc { display: none; }
}
@media (max-width: 600px) {
  .feature-grid, .three-up, .cat-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .subnav { gap: 18px; font-size: 14px; }
  .site-header__row { grid-template-columns: auto auto; }
  .site-header__left { display: none; }
}

/* ------------- Real cover photos (book detail pages) ------------- */

.book__cover-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.06),
    0 6px 18px -8px rgba(40,30,15,0.35);
}

/* Real photo inside .cover container (feature cards) */
.cover__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ------------- Book page photo strip (additional images) ------------- */

.book__photo-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.book__photo-thumb {
  width: 64px;
  height: 86px;
  object-fit: cover;
  object-position: center top;
  display: block;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity .15s;
  box-shadow: 0 2px 6px -2px rgba(40,30,15,0.3);
}

.book__photo-thumb:hover { opacity: 1; }

/* ------------- Copy label (catalogue) ------------- */

.copy-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-left: 6px;
  vertical-align: middle;
}

/* ------------- Catalogue view toggle ------------- */

.view-toggle {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.view-btn {
  background: none;
  border: 1px solid var(--rule);
  padding: 5px 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .12s, color .12s;
}

.view-btn.is-active,
.view-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ------------- Catalogue tile view ------------- */

.catalogue--tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 28px;
  padding: 0;
  list-style: none;
  border-top: none;
}

.catalogue--tiles .cat-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: none;
  background: none;
  text-decoration: none;
  color: var(--ink);
}

.catalogue--tiles .cat-row:hover { background: none; }

.catalogue--tiles .cat-row__cover-mini {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
}

.catalogue--tiles .cat-row__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.catalogue--tiles .cat-row__num,
.catalogue--tiles .cat-row__edition,
.catalogue--tiles .cat-row__year { display: none; }

.catalogue--tiles .cat-row__title {
  font-size: 15px;
  line-height: 1.2;
  margin-top: 10px;
}

.catalogue--tiles .cat-row__author {
  font-size: 13px;
  margin-top: 4px;
}

.catalogue--tiles .cat-row__cond { margin-top: 4px; }

.catalogue--tiles .cat-row__price {
  font-size: 13px;
  text-align: left;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .catalogue--tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .catalogue--tiles { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}
