/* =======================================================================
   Phase 2 — full live site
   Ivory background, wine + gold accents, generous whitespace.
   ======================================================================= */

body.live { background: var(--ivory); color: var(--ink); }

.gold-ink { color: var(--gold-deep); }
section { padding-block: clamp(3.5rem, 9vh, 7rem); }
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--wine);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.eyebrow { color: var(--gold-deep); margin-bottom: 0.8rem; }
.deco-divider { color: var(--gold); }

/* Top bar ----------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 236, 219, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(194, 161, 91, 0.4);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.9rem; gap: 1rem;
}
.mark { font-size: clamp(1.1rem, 3.2vw, 1.55rem); color: var(--wine); text-decoration: none; line-height: 1.05; min-width: 0; }
.mark em { color: var(--gold-deep); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); flex-shrink: 0; }
.nav > a:not(.btn) {
  text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.78rem; color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav > a:not(.btn):hover { color: var(--wine); }
.nav-cta { padding: 0.65rem 1.4rem; font-size: 0.72rem; }

/* Hero -------------------------------------------------------------- */
.hero { background:
    radial-gradient(90% 70% at 80% 10%, rgba(194,161,91,0.12), transparent 60%),
    var(--ivory);
}
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.05fr 0.95fr; align-items: center;
}
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); color: var(--wine); font-weight: 600; }
.hero-sub { max-width: 44ch; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); margin: 1.4rem 0 2rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn-lg { padding: 1.15rem 2.8rem; font-size: 0.85rem; }
.btn-outline-dark { color: var(--wine); border-color: var(--wine); }
.btn-outline-dark:hover { background: rgba(124, 26, 34, 0.08); }
.btn.is-disabled { opacity: 0.65; cursor: default; pointer-events: none; }

/* Photo placeholders (hero + bio) ----------------------------------- */
.photo-placeholder {
  aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(194,161,91,0.07) 0 10px, transparent 10px 20px),
    var(--ivory-soft);
  border: 1px solid rgba(194, 161, 91, 0.55);
  color: var(--gold-deep);
  padding: 2rem;
}
.ph-script { font-size: clamp(2rem, 6vw, 3rem); color: var(--wine); opacity: 0.85; }
.ph-note { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.ph-note code { background: rgba(124,26,34,0.08); padding: 0.05em 0.35em; border-radius: 3px; }
.hero-photo, .about-photo { box-shadow: var(--shadow); }

/* About ------------------------------------------------------------- */
.about { background: var(--ivory-soft); }
.about-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 0.85fr 1.15fr; align-items: center;
}
.about-copy p { margin: 0 0 1.1rem; color: var(--ink-soft); max-width: 56ch; }
.about-copy strong { color: var(--ink); font-weight: 500; }
.signoff { font-size: 2rem; color: var(--wine); margin-top: 0.5rem; }

/* Buy --------------------------------------------------------------- */
.buy-grid {
  display: grid; gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 0.8fr 1.2fr; align-items: center;
}
.book-cover img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-inline: auto;
  max-height: 70vh; width: auto;
}
.buy-subtitle { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-deep); margin: -0.4rem 0 1.4rem; }
.buy-copy p { color: var(--ink-soft); max-width: 56ch; margin: 0 0 1.1rem; }

.book-meta { list-style: none; padding: 0; margin: 1.8rem 0; border-top: 1px solid rgba(194,161,91,0.45); }
.book-meta li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid rgba(194,161,91,0.45);
}
.book-meta li span {
  flex: 0 0 6.5rem; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; color: var(--gold-deep);
}
.book-meta strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--wine); font-weight: 600; }
.price-tbc { color: var(--ink-soft); font-style: italic; }
.buy-actions { margin-top: 0.5rem; }
.buy-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.9rem; font-style: italic; }

/* Footer ------------------------------------------------------------ */
.site-footer {
  background: linear-gradient(170deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--ivory);
  padding-block: clamp(2.5rem, 6vh, 4rem);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.mark-lg { font-size: clamp(1.8rem, 6vw, 2.6rem); color: var(--ivory); margin: 0; line-height: 1.1; }
.mark-lg em { color: var(--gold-light); }
.site-footer .tagline { font-family: var(--font-display); font-style: italic; color: var(--gold-light); margin: 0.3rem 0 0; }
.footer-social { display: flex; gap: clamp(1.2rem, 4vw, 2.2rem); flex-wrap: wrap; justify-content: center; }
.footer-social a {
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.74rem; color: rgba(244,236,219,0.85); transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--gold-light); }
.footer-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; justify-content: center; font-size: 0.85rem; }
.footer-meta a { color: rgba(244,236,219,0.85); text-decoration: none; text-underline-offset: 3px; }
.footer-meta a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-meta .dot { color: var(--gold); }
.copyright { font-size: 0.75rem; color: rgba(244,236,219,0.55); margin: 0.5rem 0 0; }

/* Responsive -------------------------------------------------------- */
@media (max-width: 860px) {
  .hero-grid, .about-grid, .buy-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-photo { order: 1; max-width: 420px; margin-inline: auto; }
  .about-photo { max-width: 420px; margin-inline: auto; }
  .book-cover { max-width: 320px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .nav > a:not(.btn) { display: none; }   /* keep only the buy CTA on mobile */
  .mark { font-size: 1.05rem; }
  .nav-cta { padding: 0.6rem 1rem; letter-spacing: 0.12em; white-space: nowrap; }
  .topbar-inner { gap: 0.7rem; }
}
