:root {
  --paper: #efe3c8;
  --paper-light: #f7efdf;
  --paper-deep: #dcc9a5;
  --ink: #2f3024;
  --olive: #4b5133;
  --olive-dark: #303522;
  --olive-soft: #73765a;
  --brown: #6a4933;
  --brown-dark: #463225;
  --rust: #8a5a3b;
  --line: rgba(63, 56, 39, 0.22);
  --shadow: 0 18px 45px rgba(47, 39, 26, 0.14);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(119, 106, 71, .08), transparent 27rem),
    radial-gradient(circle at 88% 30%, rgba(91, 96, 56, .08), transparent 25rem),
    var(--paper-light);
  font-family: var(--serif);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    repeating-linear-gradient(0deg, rgba(60, 48, 30, .025) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(60, 48, 30, .015) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
  z-index: 999;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--olive-dark);
  color: white;
  padding: 10px 14px;
  z-index: 2000;
}
.skip-link:focus { left: 8px; }

.announcement {
  border-bottom: 1px solid rgba(239, 227, 200, .18);
  background: var(--olive-dark);
  color: #eee4cf;
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.announcement__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.announcement__latin { opacity: .66; font-family: var(--serif); font-style: italic; text-transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 239, 223, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  align-items: center;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; width: fit-content; }
.brand img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px rgba(46, 42, 29, .16); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 1.08rem; letter-spacing: .02em; }
.brand-copy small { margin-top: 6px; color: var(--olive-soft); font-style: italic; font-size: .76rem; }

.primary-nav { display: flex; gap: 24px; font-family: var(--sans); font-size: .88rem; }
.primary-nav a { text-decoration: none; position: relative; }
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--rust);
  transition: right .2s ease;
}
.primary-nav a:hover::after { right: 0; }
.header-cta {
  text-decoration: none;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--paper-light);
  background: var(--olive);
  padding: 11px 16px;
  border: 1px solid var(--olive-dark);
}

.hero { padding: clamp(54px, 8vw, 105px) 0 clamp(66px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(42px, 7vw, 95px); }
.eyebrow {
  margin: 0 0 13px;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust);
}
.hero h1, .section h2 { margin: 0; font-weight: 500; color: var(--olive-dark); }
.hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); line-height: .94; letter-spacing: -.045em; max-width: 840px; }
.hero-lede { max-width: 700px; margin: 28px 0 28px; font-size: clamp(1.06rem, 1.7vw, 1.28rem); color: #4a493b; }

.search-box {
  max-width: 700px;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 7px;
  background: rgba(255, 252, 243, .78);
  border: 1px solid rgba(72, 72, 49, .28);
  box-shadow: 0 10px 25px rgba(49, 45, 32, .08);
}
.search-box input {
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--sans);
}
.search-box input::placeholder { color: #7c796b; }
.search-box button {
  border: 0;
  background: var(--brown-dark);
  color: #f8f0df;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 700;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .025em;
  border: 1px solid transparent;
}
.button--primary { background: var(--olive); color: #f7efdf; border-color: var(--olive-dark); }
.button--primary:hover { background: var(--olive-dark); }
.button--quiet { border-color: rgba(68, 59, 40, .28); background: rgba(255, 250, 239, .35); }
.button--quiet:hover { border-color: var(--rust); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  font-family: var(--sans);
  font-size: .78rem;
  color: #646151;
}
.trust-row li::before { content: "✦"; margin-right: 8px; color: var(--rust); font-size: .68rem; }

.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.seal-wrap {
  width: min(520px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: var(--shadow);
  position: relative;
  transform: rotate(1.1deg);
}
.seal-wrap::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1px solid rgba(75, 81, 51, .22);
  z-index: 2;
  pointer-events: none;
}
.seal-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: saturate(.82) contrast(.97); }
.paper-note {
  position: absolute;
  right: -2%;
  bottom: 4%;
  width: 245px;
  padding: 17px 20px;
  background: #e9d8b7;
  border: 1px solid rgba(76, 64, 42, .25);
  box-shadow: 0 13px 28px rgba(49, 42, 27, .18);
  transform: rotate(-3deg);
  display: grid;
  gap: 4px;
  font-style: italic;
  color: #494631;
}
.paper-note__mark { font-style: normal; font-size: .69rem; letter-spacing: .18em; font-family: var(--sans); color: var(--rust); }

.section { padding: clamp(68px, 8vw, 105px) 0; }
.section--paper { background: rgba(231, 217, 187, .38); border-block: 1px solid rgba(73, 65, 44, .15); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(300px, 500px); gap: 70px; align-items: end; margin-bottom: 36px; }
.section h2 { font-size: clamp(2.4rem, 4vw, 4.1rem); line-height: 1; letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: #575445; }

.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.collection-card {
  position: relative;
  min-height: 320px;
  padding: 28px 25px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(72, 62, 42, .25);
  background: linear-gradient(160deg, rgba(250,245,232,.95), rgba(225,207,170,.88));
  transition: transform .18s ease, box-shadow .18s ease;
}
.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  background: radial-gradient(circle at 70% 30%, var(--card-tone, var(--olive)), transparent 55%);
  pointer-events: none;
}
.collection-card:hover { transform: translateY(-5px); box-shadow: 0 18px 32px rgba(53, 45, 29, .12); }
.collection-card--theology { --card-tone: #66704c; }
.collection-card--history { --card-tone: #9b6a4d; }
.collection-card--literature { --card-tone: #7d6c4f; }
.collection-card--rare { --card-tone: #5d513d; }
.collection-card__index { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; color: var(--rust); }
.collection-card__rule { display: block; width: 42px; height: 1px; margin: 18px 0 52px; background: var(--olive-soft); }
.collection-card h3 { margin: 0 0 12px; font-size: 1.45rem; line-height: 1.1; font-weight: 500; color: var(--olive-dark); }
.collection-card p { margin: 0; font-size: .94rem; color: #5f5a49; }
.collection-card__link { position: absolute; left: 25px; bottom: 22px; font-family: var(--sans); font-size: .78rem; font-weight: 700; color: var(--brown); }

.arrivals { background: var(--olive-dark); color: #eee5d1; }
.arrivals-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 9vw, 120px); align-items: center; }
.arrivals .eyebrow { color: #c9956d; }
.arrivals h2 { color: #f3ead7; }
.arrivals-copy p:not(.eyebrow) { max-width: 580px; color: #d5cab5; font-size: 1.06rem; }
.arrivals .button--primary { background: #e9ddc5; color: var(--olive-dark); border-color: #e9ddc5; margin-top: 12px; }
.arrivals .button--primary:hover { background: #fff8e8; }

.shelf-card {
  min-height: 400px;
  padding: 60px 42px 32px;
  border: 1px solid rgba(234, 221, 195, .28);
  background: linear-gradient(180deg, rgba(241,228,201,.08), rgba(0,0,0,.08));
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}
.book {
  width: 18%;
  max-width: 104px;
  border-radius: 6px 6px 2px 2px;
  border: 1px solid rgba(235, 215, 178, .35);
  box-shadow: inset 5px 0 rgba(255,255,255,.06), inset -5px 0 rgba(0,0,0,.12);
  display: grid;
  place-items: center;
  padding: 18px 7px;
}
.book span { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .18em; font-size: .71rem; color: #d8c8aa; }
.book--one { height: 220px; background: #68503b; }
.book--two { height: 280px; background: #7a4935; }
.book--three { height: 245px; background: #4f563b; }
.book--four { height: 300px; background: #5b4635; }
.shelf-line { position: absolute; left: 8%; right: 8%; bottom: 51px; height: 10px; background: #80644a; border-top: 1px solid #b99b73; box-shadow: 0 12px 0 rgba(0,0,0,.2); }
.shelf-card p { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font-style: italic; color: #cbbda5; font-size: .88rem; }

.about-section { background: #e8d8b8; }
.about-grid { display: grid; grid-template-columns: .45fr 1fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.about-mark {
  aspect-ratio: 1;
  border: 1px solid rgba(65, 61, 42, .3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--olive);
  background: rgba(247, 239, 223, .38);
  box-shadow: inset 0 0 0 8px rgba(88, 82, 56, .035);
}
.about-mark .roman { font-size: clamp(2.7rem, 7vw, 6rem); letter-spacing: -.08em; }
.about-mark .ornament { color: var(--rust); font-size: 1.6rem; }
.about-copy p:not(.eyebrow) { max-width: 760px; color: #575241; font-size: 1.04rem; }

.newsletter { background: var(--paper-light); }
.newsletter-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(69, 59, 40, .23);
  background: rgba(236, 223, 195, .58);
  box-shadow: 0 18px 40px rgba(61, 52, 35, .07);
}
.newsletter-card h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); }
.newsletter-card p:not(.eyebrow) { color: #5b5748; max-width: 600px; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.newsletter-form input { min-width: 0; border: 1px solid rgba(64, 58, 42, .26); background: #fbf5e8; padding: 13px 14px; outline: none; font-family: var(--sans); }
.newsletter-form input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(75,81,51,.10); }
.newsletter-form button { border: 1px solid var(--olive-dark); background: var(--olive); color: #fff8e9; padding: 0 18px; font-family: var(--sans); font-weight: 700; }
.newsletter-status { grid-column: 1 / -1; margin: 12px 0 0; font-family: var(--sans); font-size: .84rem; font-style: italic; color: var(--olive-dark); }

.site-footer { padding: 56px 0 24px; background: #282b1d; color: #ddd1b9; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .9fr; gap: 60px; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 74px; height: 74px; object-fit: cover; border-radius: 50%; filter: sepia(.18) brightness(.9); }
.footer-brand strong { color: #f4ead6; font-size: 1.08rem; }
.footer-brand p { margin: 5px 0 0; font-style: italic; font-size: .9rem; color: #bfb39c; }
.footer-links { display: grid; align-content: start; gap: 7px; }
.footer-links h3 { margin: 0 0 8px; color: #f2e7d1; font-size: .9rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .11em; }
.footer-links a { color: #cfc3ab; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(236, 222, 192, .16); display: flex; justify-content: space-between; gap: 20px; color: #a99f8a; font-size: .77rem; }
.footer-bottom span:last-child { font-style: italic; }

.picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 32px; }
.pick-card {
  padding: 22px 20px;
  border: 1px solid rgba(72, 62, 42, .25);
  background: linear-gradient(160deg, rgba(250,245,232,.95), rgba(225,207,170,.88));
}
.pick-card .pick-title { font-size: 1.08rem; color: var(--olive-dark); margin: 0 0 4px; }
.pick-card .pick-author { font-style: italic; color: #5f5a49; font-size: .92rem; margin: 0 0 10px; }
.pick-card .pick-meta { font-family: var(--sans); font-size: .82rem; color: var(--brown); margin: 0 0 12px; }
.pick-card a { font-family: var(--sans); font-size: .8rem; font-weight: 700; color: var(--brown); text-decoration: none; }
.pick-card a:hover { color: var(--rust); }
.picks-empty { font-style: italic; color: #6b6753; margin-top: 20px; }

@media (max-width: 1020px) {
  .header-row { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 430px; }
  .seal-wrap { width: min(470px, 80vw); }
  .paper-note { right: 8%; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .arrivals-grid, .about-grid { grid-template-columns: 1fr; }
  .about-mark { max-width: 340px; }
  .newsletter-card { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .announcement__inner { justify-content: center; text-align: center; padding: 7px 0; }
  .announcement__latin { display: none; }
  .header-row { min-height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .brand-copy strong { font-size: .93rem; }
  .brand-copy small, .header-cta { display: none; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .search-box { grid-template-columns: 1fr; }
  .search-box button { min-height: 45px; }
  .hero-art { min-height: 360px; }
  .paper-note { width: 200px; right: 2%; font-size: .84rem; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 280px; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form button { min-height: 46px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
}
