/* ============================================================
   Eleanor Voss — Author Site
   Aesthetic: clean editorial · pure white · ink type
   Typography: Fraunces (display) + Inter (UI/labels)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:        #ffffff;
  --bg-alt:    #fafaf8;
  --bg-card:   #fafaf8;
  --ink:       #111111;
  --ink-soft:  #4a4a4a;
  --muted:     #8a8a8a;
  --muted-soft:#b8b8b8;
  --rule:      #ececec;
  --rule-soft: #f3f3f1;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:  'Inter', -apple-system, system-ui, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: #111; color: #fff; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.wrap-narrow {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}

/* HEADER / NAV */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  padding: 0.5rem 0;
}
.brand {
  display: flex; align-items: center;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.25rem; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
  color: var(--ink);
  flex-shrink: 0;
  margin-right: auto;
}
.brand em { font-style: italic; font-weight: 400; color: var(--muted); }
/* Custom logo image — always flush left, never centred */
.brand .custom-logo-link {
  display: flex; align-items: center; line-height: 1;
  margin: 0;
  justify-content: flex-start;
}
.brand .custom-logo {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex; gap: 2.25rem; align-items: center;
  list-style: none;
  font-family: var(--sans);
  font-size: 13px; font-weight: 400; letter-spacing: 0.04em;
  margin-left: 0;
}
.nav-links a {
  position: relative; color: var(--ink-soft);
  padding: 0.25rem 0; transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--ink);
  transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink);
  margin-left: auto;
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 1rem var(--gutter) 1.5rem;
  }
  .nav-links.open li { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
  .nav-links.open li:last-child { border: 0; }
  .nav-toggle { display: block; }
}

/* HERO */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.04; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  margin: 1.25rem 0 1.5rem;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero p.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 48ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }

.hero-portrait {
  position: relative;
  overflow: hidden;
}
.hero-portrait svg { position: relative; width: 100%; height: 100%; }
.hero-caption {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  display: flex; justify-content: space-between;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 440px; order: -1; }
}

/* BUTTONS */
.btn {
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.95rem 1.75rem;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  cursor: pointer; transition: all .2s var(--ease);
  display: inline-flex; align-items: center; gap: 0.65rem;
}
.btn:hover { background: var(--bg); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn .arrow { transition: transform .25s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.link-inline {
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 2px; transition: opacity .2s;
}
.link-inline:hover { opacity: 0.6; }

/* SECTIONS */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.015em; font-variation-settings: "opsz" 96;
}
.section-head h2 em { font-style: italic; }

/* FEATURED */
.featured {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center; padding: clamp(2rem, 4vw, 3rem) 0;
}
.featured .book-cover-wrap { position: relative; }
.featured .book-cover { transition: transform .5s var(--ease); }
.featured .book-cover-wrap:hover .book-cover { transform: translateY(-4px); }
.featured .status-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.featured .status-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
}
.featured h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05; letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 0.5rem;
}
.featured h3 em { font-style: italic; }
.featured .byline {
  font-family: var(--sans); font-size: 12px;
  color: var(--muted); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.featured .book-summary {
  color: var(--ink-soft); font-size: 1.02rem;
  margin-bottom: 2rem; max-width: 52ch;
}
.featured .book-meta {
  display: flex; gap: 2.5rem; margin-bottom: 2rem;
  font-family: var(--sans); font-size: 12px;
  color: var(--muted); flex-wrap: wrap;
}
.featured .book-meta span {
  display: block; color: var(--ink); font-family: var(--serif);
  font-size: 15px; margin-top: 4px;
}
@media (max-width: 760px) {
  .featured { grid-template-columns: 1fr; }
  .featured .book-cover-wrap { max-width: 280px; }
}

/* BOOK COVERS */
.book-cover {
  aspect-ratio: 2/3;
  background: var(--bg-card); color: var(--ink);
  padding: 1.4rem 1.2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; font-family: var(--serif);
  border: 1px solid var(--rule);
}
.book-cover .cover-top {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}
.book-cover .cover-title {
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 400; line-height: 1.05;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144;
}
.book-cover .cover-title em { font-style: italic; font-weight: 300; }
.book-cover .cover-author {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
}
.cover-ornament {
  font-size: 1.1rem; font-family: var(--serif);
  text-align: center; color: var(--muted-soft);
  font-style: italic; margin-bottom: 0.4rem;
}

/* Featured/inked variant — only on the highlighted book */
.cover-ink {
  background: #fff;
  color: var(--ink);
  border-color: var(--rule);
}
.cover-ink::before {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid #d9d9d9;
  pointer-events: none;
}
.cover-ink .cover-top { color: var(--muted); }
.cover-ink .cover-author { color: var(--muted); }
.cover-ink .cover-ornament { color: var(--muted-soft); }

/* Legacy color variants now read as the clean stone look */
.cover-burgundy, .cover-sage, .cover-ochre,
.cover-plum, .cover-cream, .cover-stone {
  background: var(--bg-card); color: var(--ink);
  border-color: var(--rule);
}

/* BOOKS GRID */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem);
}
.home .books-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .home .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .home .books-grid {
    grid-template-columns: 1fr;
  }
}
.book-card { display: block; transition: transform .35s var(--ease); }
.book-card:hover { transform: translateY(-3px); }
.book-card .book-cover { margin-bottom: 1.1rem; }
.book-card h4 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.25rem; line-height: 1.25;
  margin-bottom: 0.3rem;
  font-variation-settings: "opsz" 48;
}
.book-card h4 em { font-style: italic; }
.book-card .book-meta-small {
  font-family: var(--sans); font-size: 11px;
  color: var(--muted); letter-spacing: 0.05em;
}
.book-card .tag {
  display: inline-block; margin-top: 0.5rem;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.book-card .tag.tag-out { color: var(--muted); border-color: var(--rule); }

/* POSTS */
.posts {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}
.post-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 2rem; align-items: center;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--rule);
  transition: padding .3s var(--ease);
}
.post-item:hover { padding-left: 0.5rem; }

.post-thumb {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
  border: 1px solid var(--rule);
  position: relative;
}
.post-thumb img,
.post-thumb svg {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.post-item:hover .post-thumb img,
.post-item:hover .post-thumb svg { transform: scale(1.03); }

.post-item .post-text .date {
  font-family: var(--sans); font-size: 11px;
  color: var(--muted); letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem; display: block;
}
.post-item h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.25; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
  margin-bottom: 0.45rem;
  transition: opacity .2s;
}
.post-item:hover h3 { opacity: 0.6; }
.post-item h3 em { font-style: italic; }
.post-item p {
  color: var(--ink-soft); font-size: 0.95rem; max-width: 58ch;
}
.post-item .read-more {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); align-self: center; white-space: nowrap;
}
/* When a post has no thumbnail, gracefully collapse the column */
.post-item.no-thumb { grid-template-columns: 130px 1fr auto; }
.post-item.no-thumb .post-thumb { display: none; }
.post-item.no-thumb .date {
  /* When no image, date appears in its own first column for the older layout */
  grid-column: 1; align-self: baseline;
}

@media (max-width: 720px) {
  .post-item,
  .post-item.no-thumb { grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem 0; }
  .post-thumb { aspect-ratio: 16/9; }
  .post-item .read-more { display: none; }
}

/* JOURNAL CARDS (3-up grid for home-page preview) */
.journal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3vw, 2.75rem);
}
.journal-card {
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease);
}
.journal-card:hover { transform: translateY(-4px); }
.journal-card .post-thumb {
  aspect-ratio: 4/3;
  margin-bottom: 1.4rem;
  width: 100%;
  background: var(--bg-alt);
  overflow: hidden;
  border: 1px solid var(--rule);
  position: relative;
}
.journal-card .post-thumb img,
.journal-card .post-thumb svg {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.journal-card:hover .post-thumb img,
.journal-card:hover .post-thumb svg { transform: scale(1.04); }

.journal-card .meta-row {
  display: flex; gap: 0.75rem; align-items: center;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.6rem;
}
.journal-card .meta-row .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--muted-soft); flex: none;
}
.journal-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
  margin-bottom: 0.6rem;
  color: var(--ink);
  transition: opacity .2s;
}
.journal-card:hover h3 { opacity: 0.65; }
.journal-card h3 em { font-style: italic; }
.journal-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .journal-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .journal-cards { grid-template-columns: 1fr; gap: 2.5rem; }
  .journal-card .post-thumb { aspect-ratio: 16/10; }
}

/* BOXED JOURNAL CARDS — used in "More from the journal" related section */
.journal-cards--boxed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.journal-card--boxed {
  border: 1px solid var(--rule);
  background: var(--bg-card);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.journal-card--boxed:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}
.journal-card--boxed .post-thumb {
  aspect-ratio: 16/9; width: 100%;
  background: var(--bg-alt);
  overflow: hidden; position: relative;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.journal-card--boxed .post-thumb img,
.journal-card--boxed .post-thumb svg {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.journal-card--boxed:hover .post-thumb img,
.journal-card--boxed:hover .post-thumb svg { transform: scale(1.04); }
.journal-card--boxed .card-body {
  padding: 1.4rem 1.5rem 1.75rem;
  display: flex; flex-direction: column; flex: 1;
}
.journal-card--boxed .card-meta {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.65rem;
}
.journal-card--boxed h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.25rem; line-height: 1.25;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
  margin-bottom: 0.6rem; color: var(--ink);
  transition: opacity .2s;
}
.journal-card--boxed:hover h3 { opacity: 0.65; }
.journal-card--boxed h3 em { font-style: italic; }
.journal-card--boxed p {
  color: var(--ink-soft); font-size: 0.92rem;
  line-height: 1.6; flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.journal-card--boxed .card-link {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--rule);
  display: inline-block; padding-bottom: 2px;
  align-self: flex-start; transition: border-color .2s;
}
.journal-card--boxed:hover .card-link { border-color: var(--ink); }
@media (max-width: 640px) {
  .journal-cards--boxed { grid-template-columns: 1fr; }
}

/* LEAD STORY (top of /blog listing) */
.lead-story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--rule);
}
.lead-story .lead-thumb {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}
.lead-story .lead-thumb img,
.lead-story .lead-thumb svg {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.lead-story:hover .lead-thumb img,
.lead-story:hover .lead-thumb svg { transform: scale(1.03); }
.lead-story .lead-eyebrow {
  font-family: var(--sans); font-size: 11px;
  font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 1rem; display: inline-block;
  padding-bottom: 4px; border-bottom: 1px solid var(--ink);
}
.lead-story .meta-row {
  display: flex; gap: 0.75rem; align-items: center;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.lead-story .meta-row .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--muted-soft); flex: none;
}
.lead-story h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
  margin-bottom: 1rem;
  color: var(--ink);
  transition: opacity .2s;
}
.lead-story:hover h2 { opacity: 0.7; }
.lead-story h2 em { font-style: italic; font-weight: 400; }
.lead-story .lead-excerpt {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 52ch;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lead-story .lead-cta {
  font-family: var(--sans); font-size: 12px;
  font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
@media (max-width: 760px) {
  .lead-story { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
}

/* Section sub-heading on listing pages */
.list-subheading {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

/* PAGINATION */
.pagination ul,
.page-numbers {
  list-style: none;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0;
  margin: 0;
}
.pagination li,
.page-numbers li { margin: 0; }
.pagination a, .pagination span,
.page-numbers a, .page-numbers span {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 0.6rem;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  background: var(--bg);
  transition: all .2s var(--ease);
  text-decoration: none;
}
.pagination a:hover,
.page-numbers a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.pagination .current,
.page-numbers .current {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.pagination .dots,
.page-numbers .dots {
  border: 0; background: transparent;
  color: var(--muted);
}
.post-hero {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 var(--gutter);
}
.post-hero figure {
  aspect-ratio: 21/9;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  overflow: hidden;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}
.post-hero figure img,
.post-hero figure svg {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.post-hero figcaption {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.75rem;
}

/* IMAGES INSIDE POST BODY */
.post-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  border: 1px solid var(--rule);
}
.post-body figure {
  margin: 2rem auto;
  max-width: 65ch;
}
.post-body figure img { margin: 0 auto; }
.post-body figcaption {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.75rem;
  text-align: center;
}

/* NEWSLETTER (light) */
.newsletter {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.newsletter h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: -0.015em; margin-bottom: 1rem;
  font-variation-settings: "opsz" 144;
}
.newsletter h2 em { font-style: italic; }
.newsletter p {
  color: var(--ink-soft); max-width: 48ch;
  margin: 0 auto 2.25rem; font-size: 1rem;
}
.newsletter-form {
  display: flex; max-width: 460px; margin: 0 auto;
  border-bottom: 1px solid var(--ink);
}
.newsletter-form input {
  flex: 1; background: transparent; border: 0;
  color: var(--ink); padding: 0.85rem 0.5rem;
  font-family: var(--serif); font-size: 1rem; outline: none;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button {
  background: transparent; border: 0; color: var(--ink);
  padding: 0.85rem 0.5rem; cursor: pointer;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  transition: opacity .2s;
}
.newsletter-form button:hover { opacity: 0.6; }

/* FOOTER */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-grid h5 {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a {
  font-family: var(--serif); font-size: 0.95rem;
  color: var(--ink-soft); transition: opacity .2s;
}
.footer-grid a:hover { opacity: 0.6; }
.footer-brand .brand { font-size: 1.4rem; margin-bottom: 0.75rem; display: block; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 36ch; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.05em; color: var(--muted);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* PAGE HEADER */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
.page-header .eyebrow { margin-bottom: 1rem; display: block; }
.page-header h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.04; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  max-width: 16ch;
}
.page-header h1 em { font-style: italic; }
.wp-singular .page-header h1 {
  width: 100%;
  max-width: 100%;
  text-align: center;
}
.page-header p.intro {
  color: var(--ink-soft); font-size: 1.05rem;
  max-width: 52ch; margin-top: 1.25rem;
}

/* BOOK DETAIL */
.book-detail {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.book-detail .cover-stage {
  position: sticky; top: 100px; align-self: start;
}
.book-detail .cover-stage .book-cover {
  max-width: 340px; margin-left: auto;
}
.book-detail h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.04; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  margin: 0.5rem 0 1rem;
}
.book-detail h1 em { font-style: italic; }
.book-detail .subtitle {
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--muted);
  margin-bottom: 2rem;
}
.book-detail .prose p {
  margin-bottom: 1.2rem; color: var(--ink-soft);
}
.book-detail .prose p:first-of-type::first-line {
  font-variant: small-caps; letter-spacing: 0.04em;
}
.book-detail .details-table {
  margin: 2.5rem 0;
  border-top: 1px solid var(--rule);
}
.book-detail .details-table .row {
  display: grid; grid-template-columns: 140px 1fr;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.book-detail .details-table .label {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); align-self: center;
}

/* PREORDER BOX */
.preorder-box {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  padding: 2rem; margin: 2.5rem 0;
}
.preorder-box h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.45rem; margin-bottom: 0.25rem;
}
.preorder-box h3 em { font-style: italic; }
.preorder-box .release {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}
.format-options {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem; margin-bottom: 1.25rem;
}
.format-option { cursor: pointer; position: relative; }
.format-option input { position: absolute; opacity: 0; pointer-events: none; }
.format-option .box {
  border: 1px solid var(--rule); padding: 0.95rem 0.5rem;
  text-align: center; transition: all .2s var(--ease);
  background: var(--bg);
}
.format-option .box .fmt {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.35rem;
}
.format-option .box .price {
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
}
.format-option input:checked ~ .box {
  border-color: var(--ink); background: var(--ink);
}
.format-option input:checked ~ .box .fmt,
.format-option input:checked ~ .box .price { color: var(--bg); }
.format-option:hover .box { border-color: var(--ink-soft); }

.preorder-form input[type="email"] {
  width: 100%; background: var(--bg);
  border: 1px solid var(--rule);
  padding: 0.9rem 1rem;
  font-family: var(--serif); font-size: 1rem;
  color: var(--ink); margin-bottom: 1rem;
  outline: none; transition: border-color .2s;
}
.preorder-form input[type="email"]:focus { border-color: var(--ink); }
.preorder-form .btn { width: 100%; justify-content: center; }

.retailers {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.retailers .eyebrow { display: block; margin-bottom: 0.75rem; }
.retailers ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.retailers a {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.06em;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--rule);
  color: var(--ink-soft); background: var(--bg);
  transition: all .2s;
}
.retailers a:hover { border-color: var(--ink); color: var(--ink); }

.success-msg {
  display: none; padding: 1rem;
  background: var(--bg); border: 1px solid var(--ink);
  color: var(--ink); font-family: var(--serif); font-style: italic;
  margin-top: 1rem; animation: fadeIn .4s var(--ease);
}
.success-msg.show { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

blockquote.praise {
  border-left: 1px solid var(--ink);
  padding-left: 1.25rem; font-style: italic;
  color: var(--ink); margin-bottom: 1.25rem;
}
blockquote.praise cite {
  display: block; font-style: normal;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.75rem;
}

@media (max-width: 860px) {
  .book-detail { grid-template-columns: 1fr; }
  .book-detail .cover-stage { position: static; }
  .book-detail .cover-stage .book-cover { margin: 0 auto; }
  .format-options { grid-template-columns: 1fr; }
}

/* BUY SECTION (always-visible on detail page) */
.buy-section {
  margin: 2rem 0;
  padding: 1.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
}
.buy-section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.buy-section-title em { font-style: italic; }

/* BUY NOW */
.buy-now {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.buy-now .eyebrow { display: block; margin-bottom: 0.85rem; }
.buy-now-intro {
  font-family: var(--sans); font-size: 0.9rem;
  color: var(--muted); margin-bottom: 1.25rem;
}
.buy-now-note {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 1rem; text-align: center;
}
.buy-now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.6rem;
}
.buy-btn {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: all .2s var(--ease);
  text-decoration: none;
}
.buy-btn:hover {
  border-color: var(--ink); background: var(--ink); color: var(--bg);
}
.buy-btn .buy-platform { font-weight: 600; }
.buy-btn .buy-arrow { opacity: 0.5; transition: opacity .2s, transform .2s; }
.buy-btn:hover .buy-arrow { opacity: 1; transform: translateX(3px); }
.buy-btn--primary {
  border-color: var(--ink-soft);
}
@media (max-width: 540px) {
  .buy-now-grid { grid-template-columns: 1fr; }
}

/* BLOG POST (single) */
.post-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center; border-bottom: 1px solid var(--rule);
}
.post-header .wrap-narrow {
  max-width: var(--maxw);
}
.post-header .meta {
  display: flex; gap: 1.5rem; justify-content: center;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}
.post-header h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.1rem, 5.2vw, 3.75rem);
  line-height: 1.06; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  width: 100%; max-width: 100%; margin: 0;
}
.post-header h1 em { font-style: italic; }

/* Single-post related entries: show as columns instead of stacked rows */
.single-post .section-alt .wrap-narrow {
  max-width: var(--maxw);
}
.single-post .section-alt .posts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  border-top: 0;
}
.single-post .section-alt .post-item {
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--bg);
  overflow: hidden;
}
.single-post .section-alt .post-item:hover {
  padding-left: 0;
  transform: translateY(-3px);
}
.single-post .section-alt .post-thumb {
  aspect-ratio: 16/9;
  border: 0;
  border-bottom: 1px solid var(--rule);
}
.single-post .section-alt .post-text {
  padding: 0 1.35rem 1.5rem;
}
.single-post .section-alt .post-item .read-more {
  padding: 0 1.35rem 1.35rem;
  align-self: start;
}
@media (max-width: 720px) {
  .single-post .section-alt .posts {
    grid-template-columns: 1fr;
  }
}

.post-body { padding: clamp(3rem, 5vw, 4.5rem) 0; 
  font-size: 1.1rem; line-height: 1.75;
  color: var(--ink-soft); margin-bottom: 1.5rem;
  max-width: 65ch; margin-left: auto; margin-right: auto;
}
.post-body p, .post-body ol, .post-body ul{
	margin-bottom: 10px;
}
 .post-body ol, .post-body ul{
	 padding-left: 30px;
 }
.post-body li{
	padding: 8px;
}

.post-body p:first-of-type::first-letter {
  font-family: var(--serif); font-size: 2.8rem;
  line-height: 0.9; float: left;
  margin: 0.22rem 0.42rem -0.1rem 0;
  color: var(--ink); font-weight: 300;
  font-variation-settings: "opsz" 144;
}
.post-body h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.65rem; margin: 2.75rem auto 1rem;
  max-width: 65ch; letter-spacing: -0.01em;
}
.post-body h2 em { font-style: italic; }
.post-body blockquote {
  border-left: 1px solid var(--ink);
  padding-left: 1.5rem; font-style: italic;
  color: var(--ink); font-size: 1.18rem;
}
.post-body .divider {
  text-align: center; font-family: var(--serif);
  color: var(--muted-soft); margin: 2.5rem 0;
  letter-spacing: 1em; font-size: 1rem;
}

/* ABOUT */
.bio {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.bio .portrait { position: sticky; top: 100px; align-self: start; }
.bio .portrait-frame {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  overflow: hidden; position: relative;
}
.bio figcaption {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.75rem; text-align: center;
}
.bio-prose p { margin-bottom: 1.2rem; color: var(--ink-soft); font-size: 1rem; }
.bio-prose p:first-of-type {
  font-size: 1.25rem; color: var(--ink);
  font-style: italic; line-height: 1.5; margin-bottom: 2rem;
}
.bio-prose h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.4rem; margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}
.awards { list-style: none; margin: 2rem 0; }
.awards li {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 80px 1fr;
  gap: 1.5rem; font-family: var(--serif);
  color: var(--ink-soft);
}
.awards li:last-child { border-bottom: 1px solid var(--rule); }
.awards .year {
  font-family: var(--sans); font-size: 11px;
  color: var(--muted); letter-spacing: 0.1em; align-self: center;
}
@media (max-width: 760px) {
  .bio { grid-template-columns: 1fr; }
  .bio .portrait { position: static; max-width: 320px; }
}

/* CONTACT */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.contact-card { padding: 1.85rem 0; border-top: 1px solid var(--rule); }
.contact-card:last-child { border-bottom: 1px solid var(--rule); }
.contact-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.3rem; margin-bottom: 0.4rem;
}
.contact-card h3 em { font-style: italic; }
.contact-card p { color: var(--ink-soft); margin-bottom: 0.5rem; font-size: 0.97rem; }
.contact-card a {
  border-bottom: 1px solid var(--rule); transition: border-color .2s;
}
.contact-card a:hover { border-color: var(--ink); }

.contact-form label {
  display: block; font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; background: var(--bg);
  border: 1px solid var(--rule);
  padding: 0.85rem 1rem;
  font-family: var(--serif); font-size: 1rem;
  color: var(--ink); margin-bottom: 1.5rem;
  outline: none; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--ink);
}
.contact-form textarea { min-height: 140px; resize: vertical; font-family: var(--serif); }
.contact-form .btn { width: auto; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* FADE-IN
   Progressive enhancement: content stays visible unless JS opts in. */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
