@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --green: #142a25;
  --paper: #eee5d3;
  --brass: #c7ac79;
  --ink: #191c1e;
  --burgundy: #652e36;
  --display: "Cormorant Garamond", Georgia, serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --rule: #c9b89c;
  --gutter: clamp(1.125rem, 5vw, 5.25rem);
  --wrap: 77rem;
  --space: clamp(3.5rem, 7vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 1.0625rem; line-height: 1.62; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button:not(:disabled) { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #976435;
  outline-offset: 4px;
}
.site-header :focus-visible, .dark-panel :focus-visible, .club :focus-visible, .home-hero :focus-visible, .site-footer :focus-visible {
  outline-color: #ebd4a6;
}
p, ul, ol, figure { margin-top: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: .99; text-wrap: balance; }
h1 { font-size: clamp(3.125rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.65rem, 5.8vw, 5.15rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 5; top: 1rem; left: 1rem; background: var(--paper); padding: .6rem .9rem; }
.eyebrow {
  display: block;
  font: 400 .8125rem/1.5 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.eyebrow.ruled { display: flex; align-items: center; gap: .75rem; }
.eyebrow.ruled::before { content: ""; width: 2rem; flex: 0 0 2rem; height: 1px; background: currentColor; opacity: .65; }
.button {
  display: inline-flex;
  min-height: 3.125rem;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  font: 400 .8125rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .045em;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button-brass { background: var(--brass); color: #17251f; }
.button-brass:hover { background: #dfc895; }
.button-green { background: var(--green); color: #f8efdb; }
.button-green:hover { background: #2d473c; }
.button-outline { color: #fff4de; border-color: #b29a72; background: #13241d80; }
.button-outline:hover { background: #ebd4aa; border-color: #ebd4aa; color: var(--green); }
.paper {
  background-color: var(--paper);
  background-image: url("/assets/editorial/paper.webp"), radial-gradient(ellipse at 28% 9%, #f5eddd 0%, #eee5d3 59%, #e8ddc7 100%);
}

.site-header { position: relative; z-index: 2; background: #10231e; color: var(--paper); border-bottom: 1px solid #c7ac794a; }
.header-inner { min-height: 5.125rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 3.2rem; height: 3.2rem; }
.brand > span {
  display: grid;
  gap: .14rem;
  margin-top: -.075rem;
  color: #f2e8d6;
  font: 700 1.55rem/.89 var(--display);
  text-transform: uppercase;
  letter-spacing: .055em;
}
.brand small { font-family: var(--mono); font-weight: 400; font-size: .69rem; letter-spacing: .26em; color: var(--brass); }
.main-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.7vw, 2.85rem); }
.main-nav a {
  position: relative;
  padding-block: .7rem;
  white-space: nowrap;
  text-decoration: none;
  color: #e7ddca;
  font: 400 .875rem/1.4 var(--mono);
}
.main-nav a:hover, .main-nav [aria-current] { color: #f2d69d; }
.main-nav [aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: .23rem; height: 1px; background: var(--brass); }
.nav-toggle { display: none; }

.home-hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(35rem, 47vw, 47rem);
  overflow: hidden;
  background: #142a25;
  color: #f7eddb;
}
.hero-media, .home-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.home-hero::after {
  content: "";
  background: linear-gradient(90deg, #0c1916f5 0%, #0c1916d9 25%, #0d1b1790 47%, #0d1a1640 65%, #0c191615 100%),
    linear-gradient(0deg, #101d18a8, transparent 32%);
}
.hero-inner { padding-block: clamp(4rem, 7vw, 7.25rem) clamp(4.4rem, 8vw, 8rem); }
.hero-inner .eyebrow { color: #e2c38a; margin-bottom: 1rem; }
.hero-inner h1 { font-size: clamp(3.9rem, 7.25vw, 7.3rem); letter-spacing: -.04em; line-height: .87; }
.hero-inner h1 em { color: #dabb81; font-weight: 500; }
.hero-inner > p {
  max-width: 35rem;
  margin: clamp(1.35rem, 3vw, 2rem) 0 1.7rem;
  color: #efe5d4;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.feature { padding-block: var(--space); border-top: 1px solid #decbb0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: clamp(2rem, 7vw, 7.8rem); }
.feature-copy h2 { margin-top: .55rem; color: var(--green); }
.feature-format { margin: .6rem 0 .95rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.7vw, 1.75rem); }
.case-meta { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: .5rem; margin: 0 0 1rem; }
.case-meta li { padding: .19rem .55rem; border: 1px solid #b9a38a; color: #563035; font: 400 .8125rem/1.45 var(--mono); white-space: nowrap; }
.feature-lead { max-width: 34rem; margin-bottom: 1.5rem; }
.feature-figure { margin: 0; }
.photo-mat { padding: .55rem; border: 1px solid #b9a585; background: #f4e7cf; box-shadow: 0 15px 34px #3820101f; }
.photo-mat img { width: 100%; aspect-ratio: 1.43; object-fit: cover; }
.feature-figure figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem .6rem;
  padding: .75rem .1rem 0;
  color: #654a32;
  font: 400 .75rem/1.45 var(--mono);
  letter-spacing: .035em;
  text-transform: uppercase;
}

.dark-panel { background: radial-gradient(ellipse at 40% 15%, #1f3930 0%, #142a25 65%, #12251f 100%); color: #f7eddb; }
.archive, .books { padding-block: var(--space); }
.section-heading { margin-bottom: clamp(1.7rem, 4vw, 3rem); }
.section-heading h2 { margin-top: .4rem; }
.section-heading p, .page-heading > p { margin: .65rem 0 0; max-width: 48rem; }
.dark-panel .eyebrow { color: #dfc694; }
.dark-panel .section-heading p, .dark-panel .page-heading > p { color: #e4d8c1; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.6rem); }
.category-card { min-width: 0; background: #162c25; border: 1px solid #947a506e; }
.category-card a { display: block; height: 100%; text-decoration: none; }
.category-photo { position: relative; overflow: hidden; }
.category-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #142a2550, transparent 64%); }
.category-photo img { width: 100%; aspect-ratio: 2.05; object-fit: cover; transform: scale(1.008); transition: transform .35s; }
.category-card a:hover img { transform: scale(1.045); }
.category-card a:hover h3 { color: #f9e2b8; }
.category-info { padding: .9rem clamp(.8rem, 2vw, 1.55rem) 1.2rem; border-top: 1px solid #947a506e; }
.category-info h3 { color: #f5e8d0; font-size: clamp(1.65rem, 3.5vw, 2.15rem); }
.category-info p { margin: .25rem 0 .7rem; color: #e8dbc4; font-size: 1rem; }
.category-count { display: block; color: #dcc08c; font: 400 .75rem/1.4 var(--mono); letter-spacing: .045em; text-transform: uppercase; }

.books h2, .catalog h1, .about h2 { color: var(--green); }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.book-card { min-width: 0; }
.book-cover {
  display: grid;
  place-items: center;
  aspect-ratio: .9;
  overflow: hidden;
  background: radial-gradient(ellipse at 40% 20%, #eddcc0, #c5ae8a);
  border: 1px solid #c4ad8c;
  padding: clamp(.65rem, 2.3vw, 1.6rem);
}
.book-cover img { width: 78%; height: 100%; object-fit: contain; filter: drop-shadow(6px 9px 7px #25130d56); transition: transform .23s; }
.book-cover:hover img, .book-card:focus-within .book-cover img { transform: translateY(-.2rem); }
.book-card-info { padding-block: 1rem .15rem; }
.book-card-info .eyebrow { margin: 0 0 .32rem; font-size: .72rem; line-height: 1.5; }
.book-card-info h3 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); text-wrap: initial; color: var(--green); }
.book-card-info h3 a { text-decoration-color: #80634468; }
.book-card-info h3 a:hover { text-decoration-color: currentColor; }
.book-card-info p:last-child { font-size: .98rem; line-height: 1.56; margin: .48rem 0 0; color: #433a32; }
.missing-cover { font: 400 .8125rem/1.5 var(--mono); }

.club { padding-block: clamp(1.2rem, 3vw, 2.5rem); background: radial-gradient(ellipse at top left, #74434a, #58272f 69%, #49232a); color: #f6ead9; }
.club-border {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 6vw, 6rem);
  padding: clamp(1.4rem, 4.8vw, 4rem);
  border: 1px solid #c7ac7990;
}
.club-border::before, .club-border::after { position: absolute; content: ""; width: .55rem; height: .55rem; background: #ceae78; transform: rotate(45deg); }
.club-border::before { top: -.29rem; left: -.29rem; }
.club-border::after { bottom: -.29rem; right: -.29rem; }
.club .eyebrow { color: #ebce98; margin-bottom: .35rem; }
.club h2 { font-size: clamp(2.6rem, 5.25vw, 4.65rem); }
.club-copy p { margin: .75rem 0 0; max-width: 28rem; }
.club-form label { display: block; margin-bottom: .38rem; color: #f7ecd9; }
.club-input { display: flex; align-items: stretch; }
.club-input input { min-width: 0; width: 100%; border: 1px solid var(--brass); border-right: 0; background: #fff7e9; color: var(--ink); padding: .6rem .7rem; border-radius: 0; }
.club-input .button { white-space: nowrap; }
.club-form p { margin: .52rem 0 0; color: #f3dec4; font-size: .9rem; }
.club-status:empty { display: none; }
.club-status:not(:empty) { padding-left: .6rem; border-left: 2px solid #e3c391; }

.about { padding-block: clamp(2.5rem, 5.7vw, 5.3rem); }
.about-grid { display: grid; grid-template-columns: .75fr 1fr; gap: clamp(2rem, 7vw, 6.8rem); align-items: center; }
.about-mark { display: grid; place-items: center; min-height: 14rem; border: 1px solid #cab99a; outline: 1px solid #cab99a; outline-offset: -.5rem; }
.about-mark img { width: min(100%, 29rem); }
.about-copy h2 { margin-top: .42rem; font-size: clamp(2.45rem, 5.25vw, 4.65rem); }
.about-copy p { max-width: 39rem; margin: .75rem 0 0; }

.site-footer { background: #101e1b; color: #e9ddc5; border-top: 1px solid #a78a5c9c; }
.footer-main { display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr auto; align-items: center; gap: clamp(.6rem, 3vw, 3rem); padding-block: 1.25rem 1.6rem; }
.footer-logo { justify-self: start; display: block; width: min(100%, 16rem); }
.footer-press p { margin-bottom: .4rem; }
.footer-press nav { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.footer-press nav a { font: 400 .8rem/2 var(--mono); }
.footer-social { display: grid; gap: .2rem; text-align: right; }
.footer-social .eyebrow { color: #ddc18b; }
.footer-social span:last-child { font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-block: .8rem; border-top: 1px solid #967b506b; color: #e0c79b; font: 400 .8125rem/1.5 var(--mono); }
.footer-bottom small { font-size: inherit; }

.detail-wrap { min-height: 30rem; padding-top: 1.5rem; padding-bottom: clamp(3.4rem, 6vw, 6.5rem); }
.breadcrumbs { margin-bottom: clamp(1.45rem, 3vw, 2.65rem); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .15rem .6rem; padding: 0; margin: 0; list-style: none; font: 400 .8125rem/1.65 var(--mono); }
.breadcrumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .63; }
.breadcrumbs [aria-current] { color: #654943; }
.dark-panel .breadcrumbs [aria-current] { color: #e1c392; }
.page-heading { margin-bottom: clamp(1.55rem, 4vw, 3rem); }
.page-heading h1 { margin-top: .42rem; letter-spacing: -.025em; }
.page-heading h1:not(:only-child) { margin-bottom: .75rem; }
.paper .page-heading h1 { color: var(--green); }
.archive-page { padding-block: 0; }
.category-intro { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: clamp(1rem, 6vw, 5rem); margin-bottom: 2rem; }
.category-intro .page-heading { margin-bottom: 0; }
.category-intro img { width: 100%; max-height: 15rem; object-fit: cover; border: .35rem solid #ead9bb; outline: 1px solid #b49e7e; }
.file-row, .file-empty { border: 1px solid #c2af90; border-left: 4px solid var(--burgundy); padding: clamp(1.05rem, 3.3vw, 2.4rem); background: #fbf2e0b5; }
.file-row { display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.file-row + .file-row { margin-top: .75rem; }
.file-row h2, .file-empty h2 { font-size: clamp(2rem, 4vw, 3.55rem); color: var(--green); }
.file-row h2 a { text-decoration-thickness: 1px; text-decoration-color: #80634485; text-underline-offset: .11em; }
.file-row h2 a:hover { text-decoration-color: currentColor; }
.file-row p, .file-empty p { margin: .4rem 0 0; }
.file-row .eyebrow { margin: 0 0 .35rem; letter-spacing: .09em; }
.file-row .eyebrow span { white-space: nowrap; }
.file-row .button { flex-shrink: 0; }
.file-empty .button { margin-top: 1rem; }

.book-detail { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(1.5rem, 6.5vw, 6.25rem); align-items: start; }
.book-detail-cover { display: grid; place-items: center; background: radial-gradient(ellipse at 30% 20%, #ddc9a9, #b19773); border: 1px solid #b19a78; padding: clamp(1.5rem, 5vw, 3.6rem); }
.book-detail-cover img { width: auto; max-height: min(68vh, 38rem); filter: drop-shadow(10px 12px 12px #21130d70); }
.book-detail .page-heading { margin: 0 0 1.15rem; }
.book-detail h1 { font-size: clamp(2.6rem, 6.3vw, 5.65rem); text-wrap: initial; }
.book-lead { margin-bottom: 1rem; font-size: clamp(1rem, 1.8vw, 1.18rem); }
.book-features { list-style: square; padding-left: 1.25rem; }
.book-features li { padding: .16rem 0 .16rem .1rem; }
.book-features li::marker { color: var(--burgundy); }
.availability { margin: .6rem 0 0; color: #584a38; font-size: .9rem; }
.book-samples { border-top: 1px solid var(--rule); margin-top: clamp(2rem, 6vw, 5rem); padding-top: clamp(1.5rem, 4vw, 3rem); }
.book-samples h2 { color: var(--green); margin-bottom: 1.2rem; }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 24rem)); gap: 1rem; }
.sample-grid figure { margin: 0; }
.sample-grid a { display: block; background: #d9c6a8; border: 1px solid #c5ad89; padding: .65rem; }
.sample-grid img { width: 100%; height: auto; }
.sample-grid figcaption { padding: .6rem 0; color: #493e33; }
.sample-dialog { position: fixed; inset: 0; width: min(54rem, calc(100% - 1.2rem)); max-height: 95dvh; padding: 1rem; border: 1px solid #9b7956; background: var(--paper); color: var(--ink); }
.sample-dialog::backdrop { background: #09120de0; }
.sample-dialog img { width: 100%; margin-top: .65rem; }
.sample-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.sample-toolbar p { margin: 0; }
.not-found { display: grid; align-content: center; justify-items: start; }
.ornament { display: block; width: 3rem; height: 1px; margin: 0 0 1rem; background: var(--burgundy); }

@media (max-width: 56rem) {
  .header-inner { min-height: 4.6rem; gap: .6rem; }
  .main-nav { gap: clamp(.6rem, 1.7vw, 1.1rem); }
  .main-nav a { font-size: .78rem; }
  .feature-grid { gap: clamp(1.5rem, 5vw, 3.25rem); }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.7rem 1.15rem; }
  .book-cover { aspect-ratio: 1; }
  .book-cover img { width: 63%; }
  .club-input { flex-wrap: wrap; gap: .45rem; }
  .club-input input { border-right: 1px solid var(--brass); }
  .footer-main { grid-template-columns: 10rem 1fr; }
  .footer-social { grid-column: 2; text-align: left; }
}
@media (max-width: 43rem) {
  .header-inner { flex-wrap: wrap; min-height: 4.3rem; }
  .brand img { width: 2.75rem; height: 2.75rem; }
  .brand > span { font-size: 1.3rem; }
  .brand small { font-size: .6rem; }
  .nav-toggle:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    padding: .3rem .55rem;
    color: var(--paper);
    background: transparent;
    border: 1px solid #9c865f;
    font: 400 .8125rem/1.4 var(--mono);
  }
  .menu-lines { width: .85rem; height: .53rem; border-block: 1px solid currentColor; }
  .main-nav { flex: 1 0 100%; gap: 0 .6rem; flex-wrap: wrap; padding-bottom: .5rem; }
  .main-nav a { display: inline-flex; min-height: 2.75rem; align-items: center; }
  .nav-toggle:not([hidden])[aria-expanded="false"] + .main-nav { display: none; }
  .nav-toggle:not([hidden]) + .main-nav { flex-direction: column; align-items: stretch; padding-bottom: .64rem; }
  .nav-toggle:not([hidden]) + .main-nav a { padding-inline: .55rem; border-top: 1px solid #c7ac7930; }
  .nav-toggle:not([hidden]) + .main-nav [aria-current]::after { display: none; }
  .home-hero { min-height: 34rem; align-items: end; }
  .hero-image { object-position: 70% center; }
  .home-hero::after { background: linear-gradient(0deg, #0b1b16 0%, #0c1b17ed 24%, #11201b87 64%, #11201b30 100%), linear-gradient(90deg, #0b1916c6, transparent 80%); }
  .hero-inner { padding-block: 7rem 3.1rem; }
  .hero-inner h1 { font-size: clamp(3.2rem, 10.8vw, 5rem); letter-spacing: -.035em; }
  .hero-inner .eyebrow { font-size: .72rem; letter-spacing: .07em; }
  .hero-inner .eyebrow.ruled::before { flex-basis: 1.25rem; width: 1.25rem; }
  .hero-inner > p { margin-bottom: 1.35rem; max-width: 29rem; }
  .hero-actions { gap: .5rem; }
  .hero-actions .button { padding-inline: .75rem; }
  .feature-grid, .club-border, .about-grid, .book-detail { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-info { padding: .7rem .62rem .85rem; }
  .category-info h3 { font-size: clamp(1.48rem, 5vw, 1.9rem); text-wrap: initial; }
  .category-info p { font-size: .88rem; line-height: 1.35; }
  .category-count { font-size: .67rem; }
  .about-mark { order: 1; min-height: 0; }
  .about-mark img { max-width: 22rem; width: 100%; }
  .footer-main { grid-template-columns: minmax(6.2rem, .7fr) 1fr; padding-block: .95rem 1.12rem; gap: .65rem; }
  .footer-press > p { font-size: .9rem; }
  .footer-press nav { gap: 0 .6rem; }
  .footer-social { grid-column: 1 / -1; padding-left: 0; }
  .category-intro { grid-template-columns: 1fr; }
  .category-intro img { max-width: 28rem; }
  .file-row { align-items: flex-start; flex-direction: column; }
  .book-detail-cover { width: min(100%, 27rem); justify-self: center; }
  .book-detail-cover img { max-height: 25rem; }
}
@media (max-width: 23rem) {
  .hero-actions { flex-direction: column; align-items: start; }
  .book-cover img { width: 77%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
