:root {
  --bg: #fff8fb;
  --bg-soft: #ffe9f3;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #241222;
  --ink-soft: #5c4558;
  --pink: #ff2d86;
  --pink-deep: #d31563;
  --pink-soft: #ffd0e4;
  --gold-soft: #f5d8a7;
  --dark: #161019;
  --dark-soft: #24192a;
  --border: rgba(89, 40, 74, 0.16);
  --shadow: 0 18px 40px rgba(85, 23, 60, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100vw - 2rem));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 45, 134, 0.16), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 208, 228, 0.7), transparent 30%),
    linear-gradient(180deg, #fff8fb 0%, #fffdfd 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.7; color: var(--ink-soft); }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.05; margin: 0 0 0.75rem; color: var(--ink); }
h1 { font-size: clamp(2.9rem, 5.2vw, 4.35rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-shell { width: var(--container); margin: 0 auto; padding-bottom: 4rem; }
.site-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; backdrop-filter: blur(18px); background: rgba(255, 248, 251, 0.75);
}
.site-header--solid { position: static; }
.brand { display: grid; gap: 0.08rem; min-width: 0; }
.brand__eyebrow { max-width: 48ch; font-size: 0.72rem; letter-spacing: 0.08em; line-height: 1.35; text-transform: uppercase; color: var(--pink-deep); font-weight: 700; }
.brand__eyebrow span { display: block; }
.brand__name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.9rem; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.site-nav a { padding: 0.75rem 0.95rem; border-radius: 999px; color: var(--ink-soft); transition: 180ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(255, 45, 134, 0.1); color: var(--ink); }
.nav-toggle { display: none; border: 0; background: var(--surface-strong); border-radius: 14px; padding: 0.8rem; box-shadow: var(--shadow); }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 999px; background: var(--ink); margin: 4px 0; }
.hero { min-height: calc(100vh - 5rem); display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 2rem; padding: 2rem 0 3rem; }
.hero__media, .hero__content, .section, .site-footer, .archive-hero, .archive-grid { position: relative; }
.hero__media img { width: 100%; height: min(75vh, 760px); object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); }
.hero__media::after { content: ''; position: absolute; inset: auto 8% -20px auto; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 45, 134, 0.32), rgba(255, 45, 134, 0)); pointer-events: none; }
.hero__content { padding: 1.5rem 0; }
.hero__content > * { max-width: 60ch; }
.kicker { margin: 0 0 0.9rem; color: var(--pink-deep); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.77rem; font-weight: 700; }
.lede { font-size: 1.08rem; max-width: 58ch; }
.hero__actions, .slider-controls { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; margin-top: 1.6rem; }
.slider-controls { margin-top: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 1.35rem; border-radius: 999px; font-weight: 700; transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--primary { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: white; box-shadow: 0 14px 24px rgba(211, 21, 99, 0.24); }
.button--ghost { background: rgba(255, 45, 134, 0.08); color: var(--ink); }
.button--ghost-light { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid rgba(255,255,255,0.18); }
.section, .site-footer { padding: 5.6rem 0 1rem; }
.section--accent { background: linear-gradient(180deg, rgba(255, 45, 134, 0.06), rgba(255,255,255,0)); border-radius: 40px; padding-inline: 1.5rem; }
.section--dark { background: linear-gradient(135deg, var(--dark) 0%, #2c1933 100%); color: white; border-radius: 40px; padding-inline: 1.5rem; }
.section--dark h2, .section--dark h3, .section--dark p, .section--dark .media-caption { color: white; }
.section--dark p { color: rgba(255,255,255,0.82); }
.section-heading { max-width: 780px; margin-bottom: 2rem; }
.media-caption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--ink-soft); }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.book-card, .story-card, .archive-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.book-card figure, .book-card img { width: 100%; }
.book-card img, .archive-card img { height: 290px; object-fit: cover; }
.book-card__body { padding: 1.25rem; }
.book-tag, .archive-card__category, .blog-card__category { display: inline-flex; border-radius: 999px; padding: 0.4rem 0.75rem; background: rgba(255, 45, 134, 0.12); color: var(--pink-deep); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.book-title { margin-bottom: 0.85rem; }
.book-title__separator,
.book-title__subtitle {
  display: inline;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.45em;
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
}
.book-title__separator {
  margin-left: 0.12em;
  margin-right: 0.12em;
  color: var(--pink-deep);
}
.text-link { color: var(--pink-deep); font-weight: 700; }
.placeholder-cover, .feature-placeholder { min-height: 290px; display: grid; place-items: center; padding: 1rem; background: linear-gradient(135deg, #ffd6e8, #ff8dbf 55%, #d31563 100%); color: white; }
.placeholder-cover__inner, .feature-placeholder { text-align: center; display: grid; gap: 0.45rem; }
.placeholder-cover__inner strong, .feature-placeholder strong { font-size: 2rem; font-family: 'Cormorant Garamond', Georgia, serif; }
.about-intro { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; }
.about-intro__portrait img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-grid { display: grid; gap: 1.25rem; }
.story-card { display: grid; grid-template-columns: minmax(250px, 380px) 1fr; gap: 1.2rem; padding: 1rem; align-items: center; }
.story-card img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; border-radius: 22px; }
.story-card--duo .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.story-card--duo .duo img { min-height: 240px; }
.blog-preview { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 1.5rem; align-items: stretch; }
.blog-preview__media { display: grid; grid-template-rows: auto auto; align-content: start; gap: 0.75rem; }
.blog-preview__media img { width: 100%; height: auto; min-height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.blog-preview__slider { display: grid; grid-template-rows: 1fr auto; gap: 1rem; align-content: start; min-height: 590px; border-radius: var(--radius-lg); padding: 1.35rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); }
.blog-track { height: 470px; min-height: 470px; overflow: hidden; }
.blog-preview__footer { display: grid; justify-items: start; gap: 0.9rem; }
.blog-track { position: relative; }
.blog-card { display: none; gap: 0.9rem; align-content: start; align-self: stretch; background: rgba(255,255,255,0.02); grid-template-rows: auto auto minmax(72px, auto) 1fr; min-height: 470px; height: 470px; }
.blog-card.is-active { display: grid; }
.blog-card img, .blog-card__text-only { width: 100%; border-radius: 22px; margin-top: 0.35rem; }
.blog-card img { height: 250px; object-fit: contain; object-position: center; background: rgba(255,255,255,0.08); padding: 0.35rem; }
.blog-card__text-only { min-height: 250px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04)); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.9); font-weight: 700; }
.slider-dot { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.25); cursor: pointer; flex: 0 0 auto; }
.slider-dot.is-active { background: var(--pink-soft); }
.books-detail { position: relative; }
.books-detail::before { content: ''; position: absolute; top: 8rem; right: 0; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 45, 134, 0.16), transparent 68%); pointer-events: none; }
.book-feature { display: grid; grid-template-columns: 320px 1fr; gap: 1.5rem; align-items: center; padding: 1.25rem; margin-bottom: 1.25rem; border-radius: var(--radius-lg); background: rgba(255,255,255,0.9); border: 1px solid var(--border); box-shadow: var(--shadow); }
.book-feature--reverse { grid-template-columns: 1fr 320px; }
.book-feature--reverse .book-feature__media { order: 2; }
.book-feature__media img, .book-feature__media .feature-placeholder { width: 100%; height: 100%; min-height: 340px; object-fit: cover; border-radius: 26px; }
.site-footer { display: grid; grid-template-columns: 1fr 0.85fr; gap: 1.5rem; align-items: center; }
.site-footer__media img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.site-footer__media .media-caption { padding-inline: 0.7rem; }
.story-card .media-caption { max-width: 38ch; }
.footer-note { margin-top: 1rem; font-size: 0.95rem; }
.archive-body { min-height: 100vh; }
.archive-main { width: var(--container); margin: 0 auto; padding-bottom: 4rem; }
.archive-hero { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; align-items: center; padding: 2rem 0; }
.archive-hero img { width: 100%; height: 300px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.archive-toolbar { display: flex; gap: 0.75rem; flex-wrap: wrap; padding: 1rem 0 1.5rem; }
.filter-pill { border: 1px solid var(--border); background: white; border-radius: 999px; padding: 0.8rem 1rem; font-weight: 700; cursor: pointer; }
.filter-pill.is-active { background: rgba(255, 45, 134, 0.12); color: var(--pink-deep); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.archive-card { display: grid; grid-template-rows: auto 1fr; }
.archive-card > div { padding: 1rem 1rem 1.2rem; }
.archive-card__no-image { min-height: 290px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255, 45, 134, 0.18), rgba(255, 208, 228, 0.6)); color: var(--pink-deep); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; font-weight: 700; }
.archive-card.is-hidden { display: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 260ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1080px) {
  .hero, .blog-preview, .site-footer, .archive-hero, .story-card, .book-feature, .book-feature--reverse, .about-intro { grid-template-columns: 1fr; }
  .book-feature--reverse .book-feature__media { order: 0; }
  .book-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__highlights { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-shell, .archive-main { width: min(100vw - 1rem, 100%); }
  .site-header, .hero__content, .about-intro, .site-footer__content, .section-heading, .hero__media .media-caption { padding-inline: 0.7rem; }
  .site-header { gap: 0.75rem; }
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .site-nav {
    position: absolute; top: calc(100% + 0.5rem); right: 0; flex-direction: column; align-items: stretch; min-width: 210px; padding: 0.6rem;
    border-radius: 18px; background: rgba(255,255,255,0.96); border: 1px solid var(--border); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: 180ms ease;
  }
  .site-nav--static { position: static; opacity: 1; pointer-events: auto; transform: none; min-width: 0; background: transparent; border: 0; box-shadow: none; flex-direction: row; padding: 0; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .section, .site-footer { padding-top: 4.4rem; }
  .section--accent, .section--dark { padding-inline: 1rem; }
  .book-grid, .archive-grid { grid-template-columns: 1fr; }
  .blog-preview__footer { align-items: flex-start; justify-items: start; }
  .hero__media img, .blog-preview__media img { min-height: 340px; height: auto; }
}

.contact-actions { display: grid; gap: 0.9rem; align-items: start; margin-top: 1.2rem; }
.contact-copy { margin: 0; font-size: 0.98rem; }
.contact-copy a { color: var(--pink-deep); font-weight: 700; word-break: break-word; }
@media (min-width: 761px) {
  .contact-actions { justify-items: start; }
}

@media (max-width: 760px) {
  .site-footer__media .media-caption { padding-inline: 0.7rem; }
}


/* v10: Normalize "At a glance" book cards to use fixed portrait cover stages by breakpoint.
   v11 (2026-05-12): stretch cards to equal height across the row (drop align-items: start)
   so the two Buy-now cards match the longer Coming-Soon / Out-of-print cards. */
#books-overview .book-grid {
  align-items: stretch;
}

#books-overview .book-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#books-overview .book-card > figure {
  width: min(calc(100% - 2rem), 220px);
  aspect-ratio: 0.72 / 1;
  margin: 1.15rem auto 0;
  padding: 0.55rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

#books-overview .book-card > figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 18px;
  display: block;
}

#books-overview .placeholder-cover {
  background: linear-gradient(160deg, #ffe1ee 0%, #ffb8d4 52%, #f06ca8 100%);
  color: #3b1730;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55);
}

#books-overview .placeholder-cover__inner {
  gap: 0.7rem;
  max-width: 90%;
}

#books-overview .placeholder-cover__inner span,
#books-overview .placeholder-cover__inner small {
  color: rgba(59, 23, 48, 0.9);
  font-weight: 700;
}

#books-overview .placeholder-cover__inner strong {
  color: #4b1434;
  line-height: 1.03;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
}

#books-overview .placeholder-cover__inner strong em {
  display: inline;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.45em;
  font-style: italic;
  font-weight: 600;
}

#books-overview .book-card__body {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

#books-overview .book-card__body > .book-cta {
  margin-top: auto;
}

#books-overview .book-tag {
  margin-bottom: 0.8rem;
}

@media (min-width: 1200px) {
  #books-overview .book-card > figure {
    width: min(calc(100% - 2.2rem), 230px);
  }
}

@media (max-width: 1100px) {
  #books-overview .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #books-overview .book-card > figure {
    width: min(calc(100% - 2.2rem), 280px);
    aspect-ratio: 0.72 / 1;
  }
}

@media (max-width: 760px) {
  #books-overview .book-grid {
    grid-template-columns: 1fr;
  }

  #books-overview .book-card > figure {
    width: min(calc(100% - 1.8rem), 320px);
    aspect-ratio: 0.72 / 1;
    margin-top: 1rem;
    padding: 0.6rem;
  }

  #books-overview .book-card__body {
    padding-top: 0.95rem;
  }
}

/* v5: Book purchase CTAs and status badges */
.book-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }
.book-cta--feature { margin-top: 1.2rem; }
.button--compact { padding: 0.7rem 1.05rem; font-size: 0.92rem; }
.book-status {
  display: inline-flex; align-items: center;
  padding: 0.55rem 0.95rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.book-status--coming { background: rgba(255, 45, 134, 0.14); color: var(--pink-deep); }
.book-status--out { background: rgba(36, 18, 34, 0.08); color: var(--ink-soft); }

/* v5: Musings homepage teaser (replaces the old blog slider) */
.musings-preview { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 1.5rem; align-items: center; }
.musings-preview__media img { width: 100%; height: auto; min-height: 360px; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.musings-preview__content { display: grid; gap: 1rem; align-content: center; padding: 0.5rem 0; }
.musings-preview__content p { max-width: 56ch; }
.musings-cta { align-self: start; margin-top: 0.4rem; gap: 0.75rem; }
.musings-cta__arrow { font-size: 1.25em; transition: transform 180ms ease; }
.musings-cta:hover .musings-cta__arrow,
.musings-cta:focus-visible .musings-cta__arrow { transform: translateX(4px); }
@media (max-width: 1080px) {
  .musings-preview { grid-template-columns: 1fr; }
}

/* v5: Musings archive list (replaces the old categorized card grid) */
.musings-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.85rem; }
.musing-row { background: var(--surface-strong); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.musing-row:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(85, 23, 60, 0.16); }
.musing-row__link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem; }
.musing-row--with-image .musing-row__link { grid-template-columns: 140px 1fr auto; }
.musing-row__thumb { width: 140px; height: 100px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.musing-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.musing-row__body { min-width: 0; }
.musing-row__title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.35rem, 2.1vw, 1.7rem); margin: 0 0 0.35rem; color: var(--ink); line-height: 1.15; }
.musing-row__excerpt { margin: 0; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.55; }
.musing-row__chevron { color: var(--pink-deep); font-size: 1.7rem; font-weight: 700; padding-inline: 0.25rem; }
.musings-footnote { text-align: center; font-size: 0.92rem; color: var(--ink-soft); margin: 1rem 0 2rem; }
@media (max-width: 760px) {
  .musing-row--with-image .musing-row__link { grid-template-columns: 88px 1fr auto; }
  .musing-row__thumb { width: 88px; height: 88px; }
  .musing-row__excerpt { font-size: 0.92rem; }
}

/* v5: Archive page footer reuses site-footer__content without a media column */
.archive-footer { grid-template-columns: 1fr; padding-top: 3rem; }

/* v5: Per-musing date line on the archive row */
.musing-row__date {
  margin: 0 0 0.2rem; color: var(--pink-deep);
  font-size: 0.73rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}

/* v5: Individual musing post page */
.musing-main { max-width: 760px; margin-inline: auto; padding-top: 1.5rem; }
.musing-back, .musing-end a { color: var(--pink-deep); font-weight: 700; }
.musing-back { display: inline-block; margin-bottom: 1.5rem; }
.musing-article {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.musing-article__header { margin-bottom: 1.5rem; }
.musing-article__header h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 0.5rem; }
.musing-article__date {
  margin: 0; color: var(--ink-soft); font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.musing-article__body p { margin: 0 0 1rem; font-size: 1.04rem; line-height: 1.7; color: var(--ink); }
.musing-article__body img,
.musing-article__body figure { max-width: 100%; border-radius: var(--radius-md); margin: 1.25rem auto; }
.musing-article__body a { color: var(--pink-deep); font-weight: 600; border-bottom: 1px solid rgba(211, 21, 99, 0.25); }
.musing-article__body a:hover, .musing-article__body a:focus-visible { border-bottom-color: var(--pink-deep); }
.musing-article__body blockquote {
  margin: 1.25rem 0; padding: 0.9rem 1.25rem;
  border-left: 3px solid var(--pink); background: rgba(255, 45, 134, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.1rem;
}
.musing-end { margin-top: 1.5rem; }

/* v5: Featured-image hero on individual musing post */
.musing-article__hero { margin: -0.25rem 0 1.5rem; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
.musing-article__hero img { width: 100%; max-height: 460px; object-fit: cover; display: block; }

/* v5: Buy area in the lower book-feature rows */
.buy-area {
  margin-top: 1.4rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(180deg, rgba(255, 45, 134, 0.05), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: grid;
  gap: 0.85rem;
}
.buy-area__heading {
  margin: 0;
  color: var(--pink-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  font-weight: 800;
}
.buy-area__note { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.buy-retailer {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.6rem 0;
  border-top: 1px dashed var(--border);
}
.buy-retailer:first-of-type { border-top: 0; padding-top: 0.2rem; }
.buy-retailer__label {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.buy-retailer__buttons { display: flex; flex-wrap: wrap; gap: 0.55rem; }
@media (max-width: 600px) {
  .buy-retailer { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* v5: Small-card "Buy now" anchor — same look, slightly tighter */
.card-cta { width: 100%; justify-content: center; }

/* v5: Post-page cross-promo book strip */
.post-books {
  margin-top: 2rem;
  padding: 1.75rem clamp(1rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 45, 134, 0.08), rgba(255, 208, 228, 0.18));
  border: 1px solid var(--border);
}
.post-books__heading { margin: 0 0 0.35rem; }
.post-books__lede { margin: 0 0 1.25rem; max-width: 60ch; color: var(--ink-soft); }
.post-books__grid {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.post-books__card {
  display: grid; grid-template-rows: auto 1fr auto;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.post-books__cover { aspect-ratio: 0.72 / 1; background: linear-gradient(160deg, #ffe1ee, #ffb8d4 55%, #f06ca8); display: flex; align-items: center; justify-content: center; padding: 0.6rem; }
.post-books__cover img { width: 100%; height: 100%; object-fit: contain; }
.post-books__cover--placeholder { color: white; text-align: center; padding: 1rem 0.7rem; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; line-height: 1.1; font-size: 1.05rem; }
.post-books__body { padding: 0.85rem 0.95rem 0.45rem; }
.post-books__tag { display: inline-flex; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink-deep); margin-bottom: 0.35rem; }
.post-books__title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.18rem; line-height: 1.15; margin: 0 0 0.2rem; color: var(--ink); }
.post-books__sub { margin: 0; font-size: 0.78rem; color: var(--ink-soft); font-style: italic; line-height: 1.3; }
.post-books__cta-row { padding: 0.4rem 0.95rem 0.95rem; display: flex; }
.post-books__cta {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 0.7rem; border-radius: 999px;
  font-size: 0.83rem; font-weight: 800; letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: white;
  transition: transform 180ms ease;
}
.post-books__cta:hover, .post-books__cta:focus-visible { transform: translateY(-2px); }
.post-books__cta--ghost { background: rgba(36,18,34,0.06); color: var(--ink-soft); }
@media (max-width: 980px) {
  .post-books__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .post-books__grid { grid-template-columns: 1fr; }
}

/* v5: Photo picker (utilitarian numbered gallery) */
.gallery-body .page-shell { padding-bottom: 3rem; }
.gpicker { max-width: var(--container); margin: 0 auto; padding: 1.5rem 0 3rem; }
.gpicker__intro { max-width: 760px; margin-bottom: 1.5rem; }
.gpicker__intro h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.gpicker__counts { font-size: 0.95rem; color: var(--ink-soft); margin: 0.75rem 0 0; }
.gpicker__counts strong { color: var(--ink); }

.gpicker__grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.gpic {
  margin: 0;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.gpic--used { border-color: rgba(255, 45, 134, 0.45); }
.gpic__thumb { display: block; aspect-ratio: 1 / 1; background: var(--bg-soft); }
.gpic__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gpic__caption { padding: 0.5rem 0.6rem 0.65rem; display: grid; gap: 0.15rem; align-content: start; }
.gpic__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700; font-size: 1.25rem; color: var(--pink-deep); line-height: 1;
}
.gpic__name {
  font-size: 0.72rem; line-height: 1.25; color: var(--ink); word-break: break-word;
}
.gpic__meta {
  font-size: 0.68rem; color: var(--ink-soft); opacity: 0.8; line-height: 1.3;
}
.gpic__used {
  display: inline-block; margin-left: 0.25rem;
  padding: 0 0.4rem; border-radius: 4px;
  background: rgba(255, 45, 134, 0.16); color: var(--pink-deep);
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
}

/* v5: Photo-picker sections (Decide / Used / Delete / Unknown) */
.gpicker__sectionnav {
  position: sticky; top: 0; z-index: 5;
  background: var(--bg, #fff);
  padding: 0.6rem 0; margin: 0 0 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--ink-soft);
}
.gpicker__sectionnav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.gpicker__sectionnav a:hover { color: var(--pink-deep); }
.gpicker__sectionnav a span { color: var(--ink-soft); font-weight: 400; }

.gpicker__recon {
  margin: 0 0 1.5rem; padding: 0.85rem 1rem;
  background: rgba(255, 45, 134, 0.06);
  border: 1px solid rgba(255, 45, 134, 0.25);
  border-radius: 8px;
  font-size: 0.9rem;
}
.gpicker__recon-title {
  margin: 0 0 0.4rem; font-size: 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--pink-deep);
}
.gpicker__recon ul { margin: 0; padding-left: 1.1rem; }
.gpicker__recon li { margin-bottom: 0.3rem; line-height: 1.4; }
.gpicker__recon a { color: var(--pink-deep); }

.gsection { margin: 1.5rem 0 2.25rem; scroll-margin-top: 4rem; }
.gsection__head { margin-bottom: 0.75rem; }
.gsection__title {
  margin: 0; font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--ink);
}
.gsection__count { color: var(--ink-soft); font-weight: 400; font-size: 0.85em; }
.gsection__blurb { margin: 0.15rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.gsection__empty { color: var(--ink-soft); font-style: italic; margin: 0.25rem 0; }

/* v5: Deer pic crops off Sandra's head with default center cover —
   anchor at top so the bottom of the frame gets trimmed instead. */
img[src*="272-Sandra-feeding-the-deer"] { object-position: center top; }
