/* =====================================================================
   Self-hosted fonts (SIL Open Font License). No external requests.
   Downloaded latin-subset woff2 from Google Fonts; replaces the
   runtime dependency on fonts.googleapis.com / fonts.gstatic.com.
   ===================================================================== */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/fraunces-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/fraunces-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/fraunces-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/manrope-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* =====================================================================
   Jane Gleeson — landing page
   Design notes:
   - Colors and typography echo the new book cover for "Infertility, Help
     and Hope": cream-to-warm-pale background, forest-green typography,
     a trillium-flower accent.
   - Bold modern sans (Manrope) for display + section titles, mirroring
     the cover's heavy uppercase. Fraunces (serif) reserved for italicized
     pull-quotes and the book's subtitle line, so the cover lockup carries
     into the page lockups.
   - Inter for body — high readability, neutral.
   ===================================================================== */

:root {
  --c-bg:        #fbf6e8;            /* warm cream — close to cover bg */
  --c-bg-2:      #f3ead0;            /* slightly deeper cream for sections */
  --c-surface:   #ffffff;
  --c-ink:       #1f2a1c;            /* deep forest near-black */
  --c-ink-2:     #4f5c4a;            /* secondary text */
  --c-rule:      #e3dcc3;            /* hairline rules */
  --c-leaf:      #3e7d32;            /* primary green, matches cover */
  --c-leaf-2:    #2d5a26;            /* deeper green for hover */
  --c-leaf-soft: #d8e6cf;            /* pale sage backgrounds */
  --c-cream:     #f9efce;            /* yellow-cream accent */
  --c-stamen:    #e3c45e;            /* trillium stamen yellow */

  --max:        72rem;               /* container width */
  --pad-x:      clamp(1.25rem, 4vw, 2.5rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;

  --shadow-1: 0 1px 2px rgba(31, 42, 28, .06), 0 8px 24px rgba(31, 42, 28, .07);
  --shadow-2: 0 1px 2px rgba(31, 42, 28, .08), 0 18px 44px rgba(31, 42, 28, .12);
  --shadow-book:
    0 1px 0 rgba(0,0,0,.06),
    0 12px 28px rgba(31, 42, 28, .18),
    0 30px 60px rgba(31, 42, 28, .12);

  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif:   "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- Reset ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-leaf-2); text-underline-offset: 3px; }
a:hover { color: var(--c-leaf); }

/* Keyboard focus — consistent visible ring on every interactive element */
:focus-visible {
  outline: 3px solid var(--c-leaf);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-ink); color: var(--c-bg);
  padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Type ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-leaf);
  margin: 0 0 1rem;
  font-family: var(--font-display);
}
.eyebrow-center { text-align: center; }
.eyebrow .dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--c-leaf);
  border-radius: 50%;
  margin: 0 .55em .15em;
  vertical-align: middle;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.95rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--c-ink);
}
.section-title-center { text-align: center; max-width: 38ch; margin-inline: auto; }

p { margin: 0 0 1rem; color: var(--c-ink); }
p + p { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1.1;
}
.btn-primary {
  background: var(--c-leaf);
  color: #fff;
  box-shadow: var(--shadow-1);
}
.btn-primary:hover { background: var(--c-leaf-2); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-leaf);
}
.btn-ghost:hover { background: var(--c-leaf-soft); color: var(--c-leaf-2); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 232, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-rule);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .9rem;
  gap: 1rem;
}
.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  color: var(--c-ink);
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-credentials {
  font-size: .78rem;
  color: var(--c-ink-2);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 1.4rem;
}
.nav-list a {
  text-decoration: none;
  color: var(--c-ink);
  font-size: .95rem;
  font-weight: 500;
  padding: .35rem .15rem;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover { color: var(--c-leaf-2); border-bottom-color: var(--c-leaf); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-rule);
  border-radius: var(--r-sm);
  padding: .5rem .65rem;
  cursor: pointer;
  position: relative;
  width: 42px; height: 38px;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--c-ink);
  position: absolute;
  left: 50%; transform: translateX(-50%);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before { top: -6px; left: 0; transform: none; }
.nav-toggle-bar::after  { top:  6px; left: 0; transform: none; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-rule);
    padding: .5rem var(--pad-x) 1rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .15s ease, opacity .15s ease, visibility .15s ease;
  }
  .nav-list.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-list li { border-top: 1px solid var(--c-rule); }
  .nav-list a { display: block; padding: .9rem 0; font-size: 1rem; border: 0; }
}

/* No-JS fallback: if scripting is unavailable, the hamburger can't toggle,
   so lay the nav out inline and hide the inert button. */
@media (max-width: 760px) and (scripting: none) {
  .nav-toggle { display: none; }
  .nav-list {
    position: static; opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; flex-direction: row; flex-wrap: wrap; gap: .25rem 1.2rem;
    background: none; border: 0; padding: 0;
  }
  .nav-list li { border-top: 0; }
  .nav-list a { display: inline-block; padding: .3rem 0; }
}

/* ---------- Hero ===========================================
   Background mirrors the cover: cream at top, warmer pale below.
   Hero title uses the cover's heavy sans treatment in green. */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf6e8 0%, #f6ecc9 100%);
}
.hero::before {
  /* Soft sun glow behind the right side, like the cover's center */
  content: "";
  position: absolute; inset: -10% -20% auto auto;
  width: 70vw; height: 70vw; max-width: 800px; max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(249, 239, 206, .9), rgba(249, 239, 206, 0));
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--c-leaf-soft);
  color: var(--c-leaf-2);
  padding: .35rem .8rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  margin: 0 0 1.25rem;
}
.hero-eyebrow .dot {
  width: 5px; height: 5px;
  background: var(--c-leaf);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
  color: var(--c-leaf);            /* match cover green */
  text-transform: uppercase;
}
.hero-lede {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--c-ink);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.4;
  margin: .9rem 0 1.1rem;
  max-width: 32ch;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--c-ink-2);
  max-width: 42ch;
  margin-top: .25rem;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}
.hero-cover {
  position: relative;
  z-index: 2;
  width: min(360px, 78%);
  border-radius: 4px;
  box-shadow: var(--shadow-book);
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.hero-cover:hover { transform: rotate(0deg) translateY(-4px); }
.hero-blob {
  position: absolute;
  inset: 5% 8% 5% 8%;
  background: radial-gradient(closest-side, var(--c-leaf-soft) 0%, transparent 70%);
  z-index: 1;
}
.hero-trillium {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .4;
}

/* ---------- Section spacing ---------- */
section { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
section + section { border-top: 1px solid var(--c-rule); }

/* ---------- Book feature ===========================================
   The lockup mirrors the cover: title in heavy sans-uppercase green,
   subtitle in serif italic underneath, then body in Inter. */
.book-feature {
  background:
    radial-gradient(800px 400px at 80% 10%, rgba(216, 230, 207, .55), transparent 70%),
    var(--c-bg-2);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 880px) {
  .book-grid { grid-template-columns: 360px 1fr; gap: 4.5rem; }
}
.book-cover-wrap { display: flex; flex-direction: column; align-items: center; }
.book-cover {
  width: min(340px, 80%);
  border-radius: 4px;
  box-shadow: var(--shadow-book);
}
.book-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  margin: 1.25rem 0 0;
}
.book-meta-row span::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--c-leaf);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: .55rem;
  margin-bottom: .15rem;
}

.book-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-leaf);
  margin: 0 0 .6rem;
}
.book-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--c-ink);
  margin: 0 0 1.5rem;
  max-width: 42ch;
}

.book-bullets {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.book-bullets li {
  padding: .5rem 0 .5rem 1.7rem;
  position: relative;
  color: var(--c-ink);
}
.book-bullets li::before {
  /* Trillium-shape bullet: three rounded petals */
  content: "";
  position: absolute;
  left: 0; top: .9em;
  width: .8rem; height: .8rem;
  background:
    radial-gradient(circle at 50% 25%, #fff 0 .25rem, transparent .26rem),
    radial-gradient(circle at 22% 70%, #fff 0 .25rem, transparent .26rem),
    radial-gradient(circle at 78% 70%, #fff 0 .25rem, transparent .26rem),
    var(--c-leaf);
  border-radius: 50%;
  transform: translateY(-50%);
}

.fine-print {
  font-size: .9rem;
  color: var(--c-ink-2);
  margin-top: 1.25rem;
}

/* ---------- About =========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 320px 1fr; gap: 4rem; }
}
.about-photo img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.about-philosophy {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--c-ink);
  border-left: 3px solid var(--c-leaf);
  padding-left: 1.25rem;
  margin-top: 1.5rem;
}
.philosophy-attribution {
  font-size: .9rem;
  color: var(--c-ink-2);
  margin-left: 1.4rem;
}

/* ---------- Praise / testimonials =========================== */
.praise { background: var(--c-bg); }
.praise-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 720px) {
  .praise-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) {
  .praise-grid { grid-template-columns: 1fr 1fr 1fr; }
  .quote-card-feature { grid-column: span 3; }
}

.quote-card {
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: 1.85rem 1.7rem 1.5rem;
  margin: 0;
  position: relative;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -.25rem; left: 1.1rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--c-leaf);
  opacity: .3;
}
.quote-card blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--c-ink);
  font-weight: 400;
}
.quote-card-feature blockquote {
  font-size: 1.4rem;
  line-height: 1.4;
}
.quote-card figcaption {
  display: block;
  border-top: 1px solid var(--c-rule);
  padding-top: .9rem;
  font-size: .9rem;
}
.cite-name { display: block; font-weight: 600; color: var(--c-ink); }
.cite-role { display: block; color: var(--c-ink-2); margin-top: .15rem; }

/* ---------- Prior book =========================================== */
.prior-book {
  background: var(--c-bg-2);
}
.prior-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .prior-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}
.prior-cover img {
  width: min(280px, 70%);
  margin-inline: auto;
  filter: drop-shadow(0 14px 28px rgba(31, 42, 28, .18));
}
.prior-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c-ink-2);
  margin-bottom: 1.25rem;
}
.quote-inline {
  margin: 1.5rem 0 1.5rem;
  border-left: 3px solid var(--c-leaf);
  padding-left: 1rem;
}
.quote-inline blockquote {
  margin: 0 0 .4rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--c-ink);
}
.quote-inline figcaption {
  font-size: .9rem;
  color: var(--c-ink-2);
}

/* ---------- Writing =========================================== */
.writing { background: var(--c-bg); }
.writing-lede {
  text-align: center;
  max-width: 55ch;
  margin: 0 auto 2.5rem;
  color: var(--c-ink-2);
}
.writing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 760px) {
  .writing-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.essay-card {
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.essay-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
  border-color: var(--c-leaf-soft);
}
.essay-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0 0 .75rem;
  letter-spacing: -0.01em;
}
.essay-title a { color: var(--c-ink); text-decoration: none; }
.essay-title a:hover { color: var(--c-leaf-2); }
.writing-all-cta {
  text-align: center;
  margin-top: 2.25rem;
}

/* ---------- Instagram =========================================
   Restrained "follow along" callout. Two-column on desktop:
   copy on the left, a 3x2 thumbnail grid on the right. Tiles use
   palette gradients so the unit reads as composed, not empty,
   even before the live Behold widget is wired up. */
.ig-feature {
  background:
    radial-gradient(700px 400px at 90% -10%, rgba(216, 230, 207, .55), transparent 70%),
    var(--c-bg);
}
.ig-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}
.ig-copy { max-width: 46ch; }
.ig-copy .section-title { text-align: center; }
.ig-glyph {
  width: 1rem; height: 1rem;
  vertical-align: -.18em;
  margin-right: .35rem;
  color: var(--c-leaf);
}
.ig-handle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--c-ink);
  margin: -.25rem 0 1rem;
}
.ig-handle a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--c-leaf-soft);
  text-underline-offset: 4px;
}
.ig-handle a:hover { text-decoration-color: var(--c-leaf); }
.ig-blurb {
  color: var(--c-ink-2);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}
.ig-cta { margin: 0; }

/* ---------- Contact =========================================== */
.contact {
  background: var(--c-leaf);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::after {
  content: "";
  position: absolute;
  inset: auto -5% -40% auto;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(255,255,255,.07), transparent 70%);
  border-radius: 50%;
}
.contact .eyebrow { color: var(--c-cream); }
.contact .section-title { color: #fff; }
.contact-inner { text-align: center; max-width: 48rem; margin-inline: auto; position: relative; z-index: 1; }
.contact-lede {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 42rem;
  margin-inline: auto;
}
.contact-email {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  margin: 0;
}
.contact-email a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.4);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.contact-email a:hover { text-decoration-color: #fff; }

/* ---------- Footer =========================================== */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,.7);
  padding-block: 2rem;
  font-size: .9rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.footer-meta { margin: 0; }
.footer-meta a { color: rgba(255,255,255,.85); }
.footer-meta a:hover { color: #fff; }

/* ---------- Reduced motion =========================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Print: keep cards, images, and headings intact across pages ---------- */
@media print {
  img, .book-cover-wrap, .hero-art, .t-card, .essay-card, .post-card,
  .book-meta-row, blockquote { break-inside: avoid; page-break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
  .hero-blob, .hero-trillium { display: none; }
  .hero::before { display: none; }
  .hero { background: var(--c-bg); }
  .hero-cover { transform: none; }
  .site-header { position: static; }
  * { box-shadow: none !important; text-shadow: none !important; }
}
