:root {
  --ink: #17171b;
  --muted: #544e49;
  --paper: #fbfaf7;
  --line: #d9d2c9;
  --burgundy: #6d1e29;
  --charcoal: #201e27;
  --gold: #f0cf9a;
  --display: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
section[id], article[id] { scroll-margin-top: 110px; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 72px 88px; }
:focus-visible { outline: 3px solid #c78c30; outline-offset: 5px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1000; padding: 12px 18px; background: #fff; color: #151519; }
.skip-link:focus { top: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #111115; border-bottom: 1px solid #3a343b; }
.masthead { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: flex; flex-direction: column; gap: 9px; text-decoration: none; }
.wordmark-name { color: #fff7ed; font-family: var(--display); font-size: 1.5625rem; font-weight: 700; line-height: 1.1; letter-spacing: .035em; }
.wordmark-tag { color: var(--gold); font-size: .75rem; line-height: 1.5; letter-spacing: .075em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.site-nav a { color: #f1ece6; font-size: .875rem; text-decoration: none; }
.site-nav a:hover { color: var(--gold); text-decoration: underline; }
.menu-button { display: none; border: 1px solid #6a5d65; color: #fff; background: transparent; padding: 10px 14px; font-size: .875rem; }

/* Each of the six books has one card and one cover image. */
.section-topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding-bottom: 26px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.section-kicker { margin: 0 0 12px; color: var(--burgundy); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-topline h1 { margin: 0; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.catalog-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; max-width: 630px; }
.filter-button { min-height: 44px; padding: 8px 3px; background: transparent; color: #534b46; border: 0; border-bottom: 2px solid transparent; font-size: .875rem; }
.filter-button:hover { color: var(--burgundy); }
.filter-button.is-active { color: var(--burgundy); border-bottom-color: var(--burgundy); font-weight: 700; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 44px; }
.work-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.cover-link {
  display: block; width: min(100%, 240px); align-self: center;
  margin-bottom: 26px; box-shadow: 0 12px 26px rgb(34 20 17 / 18%);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cover-link:hover { transform: translateY(-4px); box-shadow: 0 17px 32px rgb(34 20 17 / 22%); }
.cover-link img { width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.work-meta { margin: 0 0 8px; color: var(--burgundy); font-size: .8125rem; line-height: 1.5; }
.work-card h2 { margin: 0 0 14px; font-size: 1.625rem; line-height: 1.2; font-weight: 400; letter-spacing: -.025em; }
.book-description { margin: 0 0 22px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.book-buy, .button {
  display: inline-flex; min-height: 44px; padding: 10px 18px;
  align-items: center; justify-content: center; text-decoration: none;
  font-size: .875rem; font-weight: 700; line-height: 1.4;
}
.book-buy { margin-top: auto; border: 1px solid #9c7373; color: var(--burgundy); }
.book-buy:hover { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.button-light { color: #1f1819; background: var(--gold); }

/* Author */
.author-section { padding-block: 88px; background: #141418; color: #f4eee6; }
.author-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.section-kicker-light { color: var(--gold); }
.author-title h2 { margin: 0; font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.author-deck { max-width: 25rem; margin: 22px 0 0; color: #cec6be; font-size: 1rem; }
.author-copy { min-width: 0; padding-left: 32px; border-left: 1px solid #454048; }
.author-copy > p { margin: 0 0 24px; font-family: var(--display); font-size: 1.125rem; line-height: 1.8; }
.author-copy > p:last-of-type { margin-bottom: 0; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 26px; }
.inline-actions a { color: var(--gold); font-size: .875rem; text-decoration: none; }
.inline-actions a:hover { text-decoration: underline; }

/* A clean, native newsletter call to action. Substack hosts the actual signup
   page; no embedded publication bio or unrelated promotional copy appears. */
.newsletter-section { padding-block: 72px; background: var(--burgundy); color: #fff5e9; }
.newsletter-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 80px); }
.newsletter-copy { min-width: 0; }
.newsletter-copy .section-kicker { color: #f4d9c2; }
.newsletter-copy h2 { margin: 0; color: var(--gold); font-size: clamp(2.875rem, 4.8vw, 4.625rem); line-height: 1.1; font-weight: 400; letter-spacing: -.035em; }
.newsletter-copy > p:not(.section-kicker) { max-width: 28rem; margin: 24px 0 0; color: #f7e7df; font-size: 1.0625rem; }
.newsletter-signup-card { min-width: 0; padding: clamp(28px, 4vw, 46px); background: var(--charcoal); border-top: 3px solid var(--gold); }
.newsletter-signup-card > h3 { margin: 0 0 16px; color: var(--gold); font-weight: 400; font-size: clamp(1.875rem, 3vw, 2.375rem); line-height: 1.15; letter-spacing: -.025em; }
.newsletter-intro { max-width: 32rem; margin: 0 0 28px; color: #f1e7df; font-size: 1rem; line-height: 1.65; }
.newsletter-cta { display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 54px; width: 100%; max-width: 400px; padding: 12px 20px; background: var(--gold); color: #201e27; text-decoration: none; font-weight: 700; font-size: .9375rem; line-height: 1.4; transition: background-color .18s, transform .18s; }
.newsletter-cta:hover { background: #ffe3b6; transform: translateY(-1px); }
.newsletter-cta span { font-size: 1.25rem; font-weight: 400; }
.newsletter-fineprint { max-width: 32rem; margin: 20px 0 0; color: #d9cbc8; font-size: .8125rem; line-height: 1.7; }
.newsletter-section :focus-visible { outline-color: var(--gold); }

/* Footer */
.follow-section { background: #201d23; color: #fff3e6; border-bottom: 1px solid #454048; }
.follow-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 96px; padding-block: 24px; }
.follow-label { margin: 0; color: #d2bba2; font-size: .875rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.social-links a { font-size: .875rem; text-decoration: none; }
.social-links a:hover { color: var(--gold); text-decoration: underline; }
.site-footer { padding-block: 44px 32px; background: #101014; color: #cfc4bb; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; }
.footer-grid strong { color: #fff3e6; font-family: var(--display); font-size: 1.25rem; font-weight: 400; }
.footer-grid p { margin: 8px 0 0; font-size: .875rem; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: start; gap: 14px 22px; }
.footer-nav a { font-size: .875rem; text-decoration: none; }
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid .copyright { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid #383139; }

@media (max-width: 1050px) {
  .section-topline { flex-direction: column; align-items: flex-start; }
  .catalog-links { justify-content: flex-start; max-width: none; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 42px; }
  .newsletter-signup-card { padding: 30px 24px; }
}
@media (max-width: 820px) {
  .shell { width: calc(100% - 40px); }
  .masthead { min-height: 86px; flex-wrap: wrap; gap: 14px; padding-block: 18px; }
  .wordmark-name { font-size: 1.375rem; }
  .wordmark-tag { font-size: .75rem; letter-spacing: .02em; }
  .site-nav { width: 100%; }
  .js .menu-button { display: block; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; border-top: 1px solid #4c424a; }
  .js .site-nav a { padding: 10px 2px; }
  .author-grid, .newsletter-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .author-copy { padding: 28px 0 0; border: 0; border-top: 1px solid #454048; }
  .newsletter-copy h2 { font-size: clamp(2.875rem, 7vw, 4rem); }
  .newsletter-desktop-break { display: none; }
  .newsletter-signup-card { width: 100%; max-width: 560px; padding: 34px; }
  .newsletter-signup-card > h3, .newsletter-intro, .newsletter-fineprint { max-width: none; }
}
@media (max-width: 600px) {
  .section { padding-block: 50px 64px; }
  .works-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .work-card { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
  .work-card:last-child { padding-bottom: 0; border-bottom: 0; }
  .cover-link { width: min(100%, 225px); }
  .book-description { max-width: 34rem; }
  .author-section, .newsletter-section { padding-block: 56px; }
  .follow-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid .copyright { grid-column: auto; }
}
@media (max-width: 440px) {
  .shell { width: calc(100% - 28px); }
  .wordmark-name { font-size: 1.1875rem; }
  .wordmark-tag { max-width: 210px; font-size: .75rem; }
  .masthead { gap: 12px; }
  .menu-button { padding: 9px 11px; }
  .catalog-links { gap: 4px 14px; }
  .newsletter-signup-card { padding: 26px 16px; }
  .newsletter-signup-card > h3 { font-size: 1.875rem; }
  .newsletter-copy h2 { font-size: clamp(2.375rem, 10vw, 2.875rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
