/**
 * home.css — Home page (matches public/index.php v3). Load after about.css, before interactions.css.
 * Requires about.css for .portrait / .portrait__frame / .facts / .label-style rules.
 *
 * One section system:
 *   .hm-section  (padding)  +  --cream | --sand | --navy  (background)
 *   .hm-head     (label → H2 → optional sub, ALWAYS left-aligned)
 * Rhythm on the page: cream · sand · cream · NAVY · cream · sand · cream · NAVY (footer)
 */

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Section system ---------- */
.hm-section { padding-block: var(--section-pad-y); }
.hm-section.band-dusk,
.hm-section--navy.band-dusk {
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem);
}
.hm-section--cream { background: var(--bg); }
.hm-section--sand  { background: var(--sand); }
.hm-section--navy  { 
  background: var(--navy); 
  color: #F7F4ED; 
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hm-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.hm-label {
  display: inline-flex; align-items: center; gap: 0.9rem; margin: 0;
  font: 600 0.75rem/1 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.hm-label::before { content: ""; width: 36px; height: 1px; background: var(--brass); flex: none; }
.hm-head h2 {
  margin: 1rem 0 0; font-size: clamp(1.9rem, 2.2vw + 1.2rem, 2.75rem); line-height: 1.12; letter-spacing: -0.01em;
}
.hm-head__sub { margin: 1rem 0 0; max-width: 54ch; color: var(--muted); }
.hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
@media (max-width: 575px) { .hm-actions .btn { width: 100%; } }

/* ==========================================================================
   1. AUTHOR-LED EDITORIAL HERO (Phase 2.10 - Premium Minimalist Layout)
   Palette: Heritage Teak (#2B1D14), Parchment (#F1E6CF), Light Parchment (#FAF7F0),
            Arch Parchment (#E6D5B1), Brass (#A9792B), Oxblood (#6E2B25)
   ========================================================================== */

.hm-hero-author {
  position: relative;
  background-color: #F1E6CF;
  min-height: clamp(560px, calc(100svh - var(--site-header-height, 74px)), 820px);
  overflow: hidden;
  border-bottom: 1px solid rgba(169, 121, 43, 0.4);
  display: flex;
  align-items: stretch;
}

/* Paper Grain Texture (<= 8KB, opacity 3%) */
.hm-hero-author__grain {
  position: absolute;
  inset: 0;
  background-image: url('../img/patterns/grain.svg');
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* 12-Column Desktop Grid Container */
.hm-hero-author__container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hm-hero-author__container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 3.5vw, 4rem);
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hm-hero-author__container {
    grid-template-columns: 6fr 6fr;
    gap: clamp(2.5rem, 4vw, 5rem);
    align-items: stretch;
  }
}

@media (min-width: 1920px) {
  .hm-hero-author__container {
    max-width: 1320px;
  }
}

/* ---------- Left Column: Author Identity & Copy (z3) ---------- */
.hm-hero-author__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 1024px) {
  .hm-hero-author__copy {
    padding-block: clamp(3.5rem, 5vh, 5.5rem);
    padding-right: 1.5rem;
  }
}

/* Eyebrow with hairline */
.hm-hero-author__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6E2B25; /* Oxblood / Accent */
}

.hm-hero-author__eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background-color: #A9792B; /* Brass */
  flex-shrink: 0;
}

/* H1 with overflow mask for line slide-up (descender-safe) */
.hm-hero-author__title-mask {
  overflow: hidden;
  margin: 0 0 0.85rem;
  padding-bottom: 0.25em;
  margin-bottom: calc(0.85rem - 0.25em);
}

.hm-hero-author__title {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.25em;
  line-height: 1.05;
  color: var(--walnut, #2B1D14);
  padding-bottom: 0.08em;
  animation: heroLineMaskSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hm-hero-author__title-initial {
  font-family: var(--font-display, 'Cormorant Garamond', 'Libre Caslon Display', Georgia, serif);
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--walnut, #2B1D14);
  white-space: nowrap !important;
}

.hm-hero-author__title-surname {
  font-family: var(--font-display, 'Cormorant Garamond', 'Libre Caslon Display', Georgia, serif);
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--walnut, #2B1D14);
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

@media (max-width: 480px) {
  .hm-hero-author__title-surname {
    font-size: clamp(1.8rem, 7.5vw, 2.3rem);
  }
}

/* ROLE STRIP */
.hm-hero-author__role-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid rgba(169, 121, 43, 0.45);
  background: rgba(241, 230, 207, 0.4);
  padding: 8px 16px;
  gap: 0.65rem 1rem;
  margin-block: 0.5rem 1.25rem;
  width: fit-content;
  max-width: 100%;
  animation: heroFadeUp 0.6s 0.08s ease-out both;
}

.hm-hero-author__role-item {
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2B1D14;
  white-space: nowrap;
}

.hm-hero-author__role-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background-color: rgba(169, 121, 43, 0.45);
  flex-shrink: 0;
}

/* Lead text (max 52ch) */
.hm-hero-author__lead {
  margin: 0 0 2rem;
  max-width: 52ch;
  font-family: var(--font-serif, 'Libre Caslon Text', Georgia, serif);
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.22rem);
  line-height: 1.65;
  color: #4A3A2C;
  animation: heroFadeUp 0.6s 0.16s ease-out both;
}

/* CTAs */
.hm-hero-author__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  animation: heroFadeUp 0.6s 0.24s ease-out both;
}

@media (max-width: 639.98px) {
  .hm-hero-author__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hm-hero-author__actions .btn-hero-oxblood,
  .hm-hero-author__actions .btn-primary {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    padding-inline: 24px;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .hm-hero-author__actions .link-hero-literary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    box-sizing: border-box;
  }
}

.btn-hero-oxblood,
.hm-hero-author__actions .btn-primary {
  background-color: var(--cta, #6E2B25);
  color: #FAF7F0 !important;
  font-family: var(--font-sans, 'Inter', -apple-system, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.85rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  box-shadow: 0 4px 14px rgba(110, 43, 37, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--cta, #6E2B25);
}

@media (hover: hover) and (pointer: fine) {
  .btn-hero-oxblood:hover,
  .hm-hero-author__actions .btn-primary:hover {
    background-color: #55201B;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(110, 43, 37, 0.3);
  }
  .btn-hero-oxblood:hover .cta-arrow,
  .hm-hero-author__actions .btn-primary:hover .cta-arrow {
    transform: translateX(4px);
  }
}

.btn-hero-oxblood:focus-visible,
.hm-hero-author__actions .btn-primary:focus-visible {
  outline: 2px solid var(--brass, #A9792B);
  outline-offset: 3px;
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* Secondary literary text link with growing underline */
.link-hero-literary {
  position: relative;
  font-family: var(--font-sans, 'Inter', -apple-system, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brass-text, #7A5416);
  text-decoration: none;
  min-height: 44px;
  padding-block: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.link-hero-literary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brass, #A9792B);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .link-hero-literary:hover {
    color: var(--cta, #6E2B25);
  }
  .link-hero-literary:hover::after {
    width: 100%;
  }
  .link-hero-literary:hover .cta-arrow {
    transform: translateX(4px);
  }
}

.link-hero-literary:focus-visible {
  outline: 2px solid var(--brass, #A9792B);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Inline social links for tablet & mobile (< 1024px) */
.hero-social-row-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.75rem;
}

@media (min-width: 1024px) {
  .hero-social-row-inline {
    display: none !important;
  }
}

.hero-social-label {
  font-family: var(--font-sans, 'Inter', -apple-system, sans-serif);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-text, #7A5416);
  margin-right: 2px;
}

.hero-social-inline-link {
  color: var(--cta, #6E2B25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(169, 121, 43, 0.4);
  background: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-social-inline-link:hover {
    color: var(--brass, #A9792B);
    border-color: var(--brass, #A9792B);
    transform: translateY(-2px);
  }
}

.hero-social-inline-link:focus-visible {
  outline: 2px solid var(--brass, #A9792B);
  outline-offset: 2px;
}

/* ---------- Right Column: Visual Ensemble (z0, z1, z2) ---------- */
.hm-hero-author__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  min-height: 480px;
}

@media (max-width: 899px) {
  .hm-hero-author__visual {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
    min-height: 380px;
  }
}

/* z0: Chettinad Arch Backdrop */
.hero-arch-backdrop {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 460px);
  height: 88%;
  background-color: #E6D5B1;
  border-top-left-radius: 230px;
  border-top-right-radius: 230px;
  border: 1px solid rgba(169, 121, 43, 0.25);
  border-bottom: none;
  z-index: 0;
  pointer-events: none;
}

/* z1: GIANT OUTLINE WORD */
.hero-outline-word {
  position: absolute;
  bottom: -0.08em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display, 'Libre Caslon Display', 'Playfair Display', Georgia, serif);
  font-size: clamp(6rem, 19vw, 20rem);
  line-height: 0.78;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(169, 121, 43, 0.45);
  text-stroke: 1px rgba(169, 121, 43, 0.45);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  animation: heroOutlineFadeIn 1.2s ease-out both;
}

@media (max-width: 899px) {
  .hero-outline-word {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hm-hero-author__role-strip {
    font-size: 0.68rem;
    padding: 6px 12px;
  }
}

/* z1: Dot grid (6x8 dots, 14px pitch, opacity 0.35) */
.hero-dot-grid {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 3.5rem);
  left: clamp(0.5rem, 2vw, 2rem);
  width: 84px;  /* 6 columns * 14px */
  height: 112px; /* 8 rows * 14px */
  background-image: radial-gradient(circle, rgba(169, 121, 43, 0.7) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 480px) {
  .hero-dot-grid {
    display: none !important;
  }
}

/* z2: PORTRAIT CUTOUT */
.hero-author-cutout {
  position: relative;
  display: block;
  z-index: 2;
  align-self: flex-end;
  line-height: 0;
  max-height: 92%;
  width: auto;
  pointer-events: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000000 9%, #000000 91%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000000 9%, #000000 91%, transparent 100%);
  animation: heroPortraitEnter 0.8s 0.15s ease-out both;
}

.hero-author-cutout__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(460px, 86svh, 740px);
  object-fit: contain;
  object-position: bottom center;
  /* Strictly NO filters or smoothing on the author's skin/face */
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 899px) {
  .hero-author-cutout__img {
    max-height: 380px;
    margin-inline: auto;
  }
}

/* ---------- z3: Vertical Social Rail (Desktop >= 1024px) ---------- */
.hero-social-rail {
  display: none;
}

@media (min-width: 1024px) {
  .hero-social-rail {
    position: absolute;
    right: clamp(1rem, 2vw, 2.5rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    pointer-events: auto;
  }
}

.social-rail-line {
  display: block;
  width: 1px;
  height: 32px;
  background-color: rgba(169, 121, 43, 0.45);
}

.social-rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(43, 29, 20, 0.6);
  user-select: none;
}

.social-rail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-rail-link {
  color: var(--cta, #6E2B25);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(169, 121, 43, 0.4);
  background: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-rail-link svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .social-rail-link:hover {
    color: var(--brass, #A9792B);
    border-color: var(--brass, #A9792B);
    transform: scale(1.08);
  }
}

.social-rail-link:focus-visible {
  outline: 2px solid var(--brass, #A9792B);
  outline-offset: 3px;
  border-radius: 50%;
}

/* ---------- 5. SLIM VERSE BAND (Full-Width, Immediately Below Hero) ---------- */
.hm-verse-band {
  background-color: #FAF7F0; /* Parchment-Light */
  padding-block: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid rgba(43, 29, 20, 0.08);
  position: relative;
  z-index: 2;
}

.hm-verse-band__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hm-verse-band__inner {
    grid-template-columns: 1fr auto;
    gap: 3.5rem;
  }
}

.hm-verse-band__quote-col {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.verse-band-rule {
  width: 2px;
  background-color: #A9792B; /* Brass vertical rule */
  flex-shrink: 0;
  border-radius: 1px;
}

.verse-band-text-wrap {
  flex: 1;
}

.hm-verse-band__quote {
  margin: 0;
  font-family: var(--font-serif, 'Libre Caslon Text', Georgia, serif);
  font-style: italic;
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.75rem);
  line-height: 1.6;
  color: #2B1D14;
  text-wrap: balance;
  transition: opacity 0.2s ease;
}

.verse-line {
  display: block;
}

.hm-verse-band__meta-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .hm-verse-band__meta-col {
    align-items: flex-end;
    text-align: right;
  }
}

.verse-band-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.verse-band-title {
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E2B25;
}

.verse-band-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: 0.75rem;
  color: #4A3A2C;
}

.verse-toggle-btn {
  background: transparent;
  border: none;
  min-height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6B5B4E;
  cursor: pointer;
  transition: color 0.15s ease;
}

.verse-toggle-btn.active {
  color: #2B1D14;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #A9792B;
  text-decoration-thickness: 2px;
}

.verse-toggle-sep {
  color: rgba(169, 121, 43, 0.5);
  font-size: 0.7rem;
}

.verse-band-link {
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: #6E2B25;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
  .verse-band-link:hover {
    color: #A9792B;
    transform: translateX(3px);
  }
}

.verse-band-link:focus-visible {
  outline: 2px solid #A9792B;
  outline-offset: 2px;
}

/* ---------- Keyframe Animations (Task 4) ---------- */
@keyframes heroLineMaskSlideUp {
  from {
    transform: translateY(105%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroFadeUp {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroPortraitEnter {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroOutlineFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Reduced Motion Kill Switch (Task 4) */
@media (prefers-reduced-motion: reduce) {
  .hm-hero-author__title,
  .hm-hero-author__role-strip,
  .hm-hero-author__lead,
  .hm-hero-author__actions,
  .hero-author-cutout,
  .hero-outline-word {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Note: About section portrait removed per Task 2 spec */

.hm-hero__role {
  margin: 0;
  font: italic 400 clamp(1.15rem, 1.2vw + 0.95rem, 1.5rem)/1.35 var(--font-serif);
  color: var(--muted, #6B5645);
}

.hm-hero__role em {
  font-style: italic;
}

.hm-hero__lede {
  max-width: 60ch;
  margin: 1.25rem 0 2rem;
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.2rem);
  line-height: 1.6;
  color: var(--muted, #6B5645);
}

.hm-hero .hm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

@media (max-width: 991px) {
  .hm-hero__copy {
    text-align: left;
  }
}

/* ---------- 2. Featured Book Band (Deep Walnut/Teak, Task 3) ---------- */
.hm-featured-book-band {
  background: radial-gradient(circle at 25% 45%, rgba(169, 121, 43, 0.14) 0%, transparent 55%),
              linear-gradient(180deg, #2A1A10 0%, #3F2A1D 100%);
  color: #FAF7F0;
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;
  border-top: 1px solid rgba(169, 121, 43, 0.35);
  border-bottom: 1px solid rgba(169, 121, 43, 0.35);
}
.hm-featured-book-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--wood-grain, none);
  pointer-events: none;
  opacity: 0.5;
}
.hm-featured-book-band .site-container {
  position: relative;
  z-index: 1;
}
.hm-featured-book-band .hm-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hm-featured-book__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 1.2rem + 3.2vw, 3.75rem);
  color: #FAF7F0;
  letter-spacing: -0.01em;
  margin: 0.5rem 0 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hm-featured-book__subtitle {
  font-size: 1.0625rem;
  color: #D1BFA5;
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.6;
}
.hm-featured-book__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hm-featured-book__grid {
    grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
    gap: clamp(3rem, 6vw, 5rem);
  }
}
.hm-featured-book__cover {
  margin: 0;
  justify-self: center;
  width: min(85%, 340px);
  position: relative;
}
.hm-featured-book__cover a {
  display: block;
  outline-offset: 4px;
  border-radius: 4px;
}
.hm-featured-book__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 2px 6px 6px 2px;
  box-shadow: inset 4px 0 8px -3px rgba(0, 0, 0, 0.5), 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .hm-featured-book__cover:hover .hm-featured-book__img {
    transform: translateY(-4px) rotate(0.5deg);
    box-shadow: inset 4px 0 8px -3px rgba(0, 0, 0, 0.5), 0 28px 50px -10px rgba(0, 0, 0, 0.8);
  }
}
.hm-featured-book__blurb {
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  line-height: 1.75;
  color: #FAF7F0;
  max-width: 58ch;
  margin: 0 0 1.5rem;
}
.hm-featured-book__price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0 0.5rem;
}
.hm-price-amount {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2vw + 1.2rem, 2.75rem);
  font-weight: 700;
  color: #FAF7F0;
  line-height: 1;
}
.hm-price-mrp {
  font-size: 1.25rem;
  color: rgba(250, 247, 240, 0.6);
  text-decoration: line-through;
}
.hm-badge-save {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill, 9999px);
  background-color: #C9922F;
  color: #1A0F08;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.hm-featured-book__watermark-note {
  font-size: 0.875rem;
  color: #D1BFA5;
  margin: 0.5rem 0 1.75rem;
  line-height: 1.5;
}
.hm-featured-book__actions {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
/* Primary Oxblood Buy Now */
.btn-featured-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.75rem;
  background-color: var(--cta, #6E2B25);
  color: #FAF7F0;
  border: 1px solid rgba(229, 195, 131, 0.4);
  border-radius: var(--radius-ui, 6px);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn-featured-primary:hover {
    background-color: #85342D;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  }
}
.btn-featured-primary:active {
  transform: scale(0.985);
}
/* Secondary OUTLINE on Dark (Parchment Border & Text) */
.btn-featured-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  background-color: transparent;
  color: #FAF7F0;
  border: 1.5px solid rgba(250, 247, 240, 0.7);
  border-radius: var(--radius-ui, 6px);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn-featured-outline:hover {
    background-color: rgba(250, 247, 240, 0.12);
    border-color: #FAF7F0;
    color: #FAF7F0;
    transform: translateY(-1px);
  }
}
.btn-featured-outline:active {
  transform: scale(0.985);
}
.link-featured-about {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  gap: 0.35rem;
  color: #E5C383;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 195, 131, 0.4);
  padding-bottom: 2px;
  transition: color 150ms ease, border-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .link-featured-about:hover {
    color: #FAF7F0;
    border-color: #FAF7F0;
  }
}
/* Specs Grid */
.hm-featured-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.25rem 1.75rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(169, 121, 43, 0.3);
}
.hm-featured-spec {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hm-spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brass, #A9792B);
  font-weight: 700;
  white-space: nowrap;
}
.hm-spec-value {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #FAF7F0;
  margin: 0;
  white-space: nowrap;
}

/* ---------- 3. About the Author Editorial Redesign (Task 2) ---------- */
.hm-about-editorial {
  background-color: var(--paper, #FAF7F0);
  color: var(--ink, #2B1D14);
  padding-block: clamp(56px, 8vw, 112px);
  position: relative;
}
.hm-about-editorial__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 992px) {
  .hm-about-editorial__container {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
  .hm-about-editorial__sticky {
    position: sticky;
    top: calc(var(--site-header-height, 68px) + 32px);
  }
}
.hm-about-editorial__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.15;
  color: var(--ink, #2B1D14);
  margin: 1rem 0 1.5rem;
  max-width: 14ch;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
.hm-about-editorial__lead {
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.2rem);
  line-height: 1.75;
  color: #2A1A10;
  max-width: 62ch;
  margin-bottom: 2.25rem;
}
.about-facts-list {
  margin: 0 0 2rem;
  padding: 0;
  border-top: 1px solid rgba(169, 121, 43, 0.25);
}
.about-fact-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: baseline;
  padding: 1.15rem 0.85rem;
  border-bottom: 1px solid rgba(169, 121, 43, 0.2);
  text-decoration: none;
  color: inherit;
  transition: background-color 150ms ease, border-color 150ms ease;
  border-radius: 4px;
}
.about-fact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brass, #A9792B);
  font-weight: 700;
  margin: 0;
}
.about-fact-value {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: #2A1A10;
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.about-fact-arrow {
  color: var(--brass, #A9792B);
  font-family: var(--font-sans);
  transition: transform 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .about-fact-row--link:hover {
    background-color: rgba(42, 26, 16, 0.06);
    border-bottom-color: rgba(169, 121, 43, 0.45);
  }
  .about-fact-row--link:hover .about-fact-arrow {
    transform: translateX(4px);
  }
}
@media (max-width: 767.98px) {
  .about-fact-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.95rem 0.5rem;
  }
}
.about-pullquote {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  background-color: rgba(169, 121, 43, 0.08);
  border-left: 3px solid var(--brass, #A9792B);
  border-radius: 0 4px 4px 0;
}
.about-pullquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #2B1D14;
  margin: 0;
}
.link-literary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brass-text, #7E5A1E);
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 121, 43, 0.4);
  padding-bottom: 2px;
  transition: color 150ms ease, border-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .link-literary:hover {
    color: var(--ink, #2B1D14);
    border-color: var(--ink, #2B1D14);
  }
  .link-literary:hover .cta-arrow {
    transform: translateX(3px);
  }
}

/* ---------- 4. Poems (navy band, white paper cards) ---------- */
.hm-poems { display: grid; gap: 1.25rem; }
.hm-poem {
  --ink: #1B2742; --muted: #5C6475; --accent: #85622A; --line: rgba(27, 39, 66, 0.14);
  display: flex; flex-direction: column; gap: 0.85rem; min-width: 0;
  padding: clamp(1.4rem, 2.4vw, 2rem); background: #FFFFFF; color: var(--ink);
  border-radius: var(--radius-paper); text-decoration: none;
  box-shadow: 0 1px 1px rgba(10, 20, 40, 0.1), 0 18px 32px -20px rgba(10, 20, 40, 0.6);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.hm-poem__meta { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; min-height: 1.5rem; }
.hm-poem__theme { color: var(--accent); font-size: var(--text-xs); font-weight: 600; }
.hm-poem .hm-poem__title { margin: 0; color: var(--ink); font-size: clamp(1.35rem, 1vw + 1.1rem, 1.6rem); line-height: 1.2; overflow-wrap: anywhere; }
.hm-poem__excerpt {
  flex: 1; margin: 0; white-space: pre-line; color: var(--ink);
  font: italic 400 1.125rem/1.75 var(--font-serif);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.hm-poem__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: var(--text-sm); color: var(--muted);
}
.hm-poem .read-more { color: var(--accent); font-weight: 600; }
.hm-more { 
  margin: clamp(1.5rem, 2.5vw, 2rem) 0 0; 
  text-align: center;
}
.hm-more .btn-outline-literary,
.hm-section--navy .btn-outline-literary,
.band-dusk .btn-outline-literary,
.band-wood .btn-outline-literary {
  background-color: rgba(248, 240, 221, 0.08) !important;
  border: 1.5px solid rgba(229, 195, 131, 0.6) !important;
  color: #F8F0DD !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.8rem !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
}

.hm-more .btn-outline-literary:hover,
.hm-section--navy .btn-outline-literary:hover,
.band-dusk .btn-outline-literary:hover,
.band-wood .btn-outline-literary:hover {
  background-color: rgba(229, 195, 131, 0.2) !important;
  border-color: #E5C383 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

/* Phones + tablets: swipeable row with the next card peeking. Desktop: 3 equal cards. */
@media (max-width: 1023px) {
  .hm-poems {
    grid-auto-flow: column; grid-auto-columns: minmax(260px, 46%);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 1.25rem; scroll-padding-inline: var(--gutter);
  }
  .hm-poems::-webkit-scrollbar { display: none; }
  .hm-poem { scroll-snap-align: start; }
}
@media (max-width: 575px) { .hm-poems { grid-auto-columns: 84%; } }
@media (min-width: 1024px) { .hm-poems { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 5. Poetry Lab ---------- */
.hm-steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .hm-steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.hm-step { padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.hm-step__kicker { display: block; margin-bottom: 0.9rem; font: 600 0.75rem/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.hm-step h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.hm-step p { margin: 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.65; }

.hm-lab-panel {
  display: grid; gap: 1.25rem; margin-top: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel);
}
@media (min-width: 900px) { .hm-lab-panel { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2.5rem; } }
.hm-lab-panel h3 { margin: 0.75rem 0 0; font-size: 1.35rem; }
.hm-lab-panel .hm-note { margin-bottom: 0; }
.hm-pill { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--sand); color: var(--ink); font: 600 0.8125rem/1.4 var(--font-sans); }
.hm-pill--open { background: rgba(31, 107, 79, 0.12); color: var(--success); }
.hm-inline-form { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hm-inline-form .form-control-literary { flex: 1 1 220px; min-width: 0; }
.hm-consent { margin: 0.75rem 0 0; font-size: var(--text-xs); color: var(--muted); }
.hm-consent .link-arrow { min-height: 0; margin-left: 0.35rem; }
@media (max-width: 575px) { .hm-inline-form .btn { width: 100%; } }

/* ---------- 6. Events ---------- */
.hm-events { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.hm-event {
  display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel);
  color: inherit; text-decoration: none; transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 150ms ease;
}
.hm-event__date { display: flex; align-items: baseline; gap: 0.6rem; color: var(--muted); font-size: var(--text-sm); }
.hm-event__date b { font: 600 2.75rem/1 var(--font-serif); color: var(--accent); }
.hm-event h3 { margin: 0; font-size: 1.3rem; line-height: 1.25; overflow-wrap: anywhere; }
.hm-event p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.hm-event__foot { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--muted); }

/* ---------- 7. Reader words ---------- */
.hm-quotes { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .hm-quotes { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
.hm-quote { margin: 0; padding-left: 1.25rem; border-left: 2px solid var(--brass); }
.hm-quote blockquote { margin: 0; font: italic 400 clamp(1.15rem, 1vw + 1rem, 1.35rem)/1.6 var(--font-serif); }
.hm-quote figcaption { margin-top: 0.9rem; font-size: var(--text-sm); color: var(--muted); }

/* ---------- 8. Correspondence & Author Studio Contact Band (Task 2) ---------- */
.hm-correspondence-section {
  padding-block: clamp(56px, 8vw, 112px);
  background-color: var(--bg);
}

.hm-correspondence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 992px) {
  .hm-correspondence-grid {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: start;
  }
}

.hm-newsletter-col {
  max-width: 52ch;
}

.hm-newsletter-col h2 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: var(--type-h2);
  line-height: var(--type-h2-lh);
  color: var(--walnut, #3F2A1D);
  margin: 0.5rem 0 1rem;
}

.hm-newsletter-lead {
  font-size: var(--type-lead);
  line-height: var(--type-lead-lh);
  color: var(--muted, #6B5645);
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hm-newsletter-form-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.hm-newsletter-input {
  flex: 1;
  min-width: 0;
  height: 56px !important;
  min-height: 56px !important;
  border-radius: var(--radius-control, 10px) !important;
  background-color: var(--surface, #FAF7F0) !important;
  border: 1px solid var(--line-strong, rgba(63, 42, 29, 0.28)) !important;
  padding: 0 1.25rem !important;
  font-size: 1rem !important;
  color: var(--ink, #2A1A10) !important;
  box-sizing: border-box !important;
}

.hm-newsletter-btn {
  flex-shrink: 0;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 1.75rem !important;
  border-radius: var(--radius-control, 10px) !important;
  background-color: var(--cta, #6E2B25) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hm-newsletter-btn:hover {
  background-color: var(--cta-hover, #56211C) !important;
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .hm-newsletter-form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hm-newsletter-btn {
    width: 100%;
  }
}

.hm-newsletter-consent {
  margin-top: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted, #6B5645);
}

.hm-newsletter-consent a {
  color: var(--brass-text, #7A5416);
  text-decoration: underline;
}

/* Success panel replacing form */
.hm-newsletter-success {
  background: var(--surface, #FAF7F0);
  border: 1px solid rgba(169, 121, 43, 0.3);
  border-radius: var(--radius-control, 10px);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.hm-newsletter-success__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #EAF3EC;
  color: #265C39;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hm-newsletter-success__title {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink, #2A1A10);
}
.hm-newsletter-success__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted, #6B5645);
}

/* Right Column: Literary Inquiries Card */
.hm-inquiries-card {
  background-color: var(--surface, #FAF7F0);
  border: 1px solid rgba(169, 121, 43, 0.28);
  border-radius: 16px;
  padding: clamp(24px, 3.5vw, 32px) clamp(20px, 3vw, 24px);
  box-shadow: 0 2px 8px rgba(43, 29, 20, 0.06);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.hm-inquiries-badge {
  font-family: var(--font-ui, "Inter", sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass-text, #7A5416);
  margin-bottom: 8px;
}

.hm-inquiries-title {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--walnut, #3F2A1D);
  margin: 0 0 8px;
  font-weight: 600;
}

.hm-inquiries-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted, #6B5645);
  margin: 0 0 20px;
}

.hm-inquiries-divider {
  border: none;
  border-top: 1px solid rgba(169, 121, 43, 0.2);
  margin: 0 0 20px;
}

.hm-inquiries-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  padding: 0;
  list-style: none;
}

.hm-inquiry-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--ink, #2A1A10);
  min-height: 36px;
}

.hm-inquiry-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(169, 121, 43, 0.12);
  color: var(--brass-text, #7A5416);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-inquiry-row a {
  color: var(--walnut, #3F2A1D);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

.hm-inquiry-btn-cta {
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 1.5px solid var(--walnut, #3F2A1D);
  border-radius: var(--radius-control, 10px);
  color: var(--walnut, #3F2A1D);
  background-color: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hm-inquiry-btn-cta:hover {
  background-color: rgba(63, 42, 29, 0.06);
  color: var(--walnut, #3F2A1D);
  transform: translateY(-1px);
}

/* ---------- Hover (pointer devices only) ---------- */
.hm-poem:active, .hm-event:active { transform: scale(0.995); }
@media (hover: hover) {
  .hm-poem:hover { transform: translateY(-4px); box-shadow: 0 1px 1px rgba(10, 20, 40, 0.1), 0 28px 44px -22px rgba(10, 20, 40, 0.75); }
  .hm-poem:hover .read-more { text-decoration: underline; text-underline-offset: 0.3em; }
  .hm-event:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-paper); }
}

/* ---------- Footer: navy (was near-black brown) ---------- */
.site-footer { background: var(--navy); color: #C9D1E0; }
.site-footer :is(h2, h3, h4) { color: #FFFFFF; }
.site-footer a { color: #E7EBF3; }
.site-footer small, .site-footer .footer-muted { color: #AEB8CC; }

@media (prefers-reduced-motion: reduce) {
  .hm-poem, .hm-event { transition: none; }
}
