/* ============================================================
   Amber Elynne Summers — He's Just the Same Today!
   Palette: cover golds and browns, with a blush-pink ground.
   ============================================================ */

:root {
  --cream:      #f7e9e4;
  --cream-2:    #f1ddd6;
  --cream-3:    #e8cfc6;
  --paper:      #fff8f5;

  --ink:        #241f19;
  --ink-2:      #4a4139;
  --ink-soft:   #6d6155;

  --gold:       #b4884a;
  --gold-deep:  #8a6428;
  --gold-light: #d9b877;

  --maxw: 1140px;
  --radius: 4px;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-cover: 0 2px 4px rgba(60, 42, 20, .08),
                  0 12px 24px rgba(60, 42, 20, .10),
                  0 40px 80px rgba(60, 42, 20, .16);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
p { margin: 0 0 1.15em; }
a { color: var(--gold-deep); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: var(--radius); font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

:where(a, button):focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .9em;
}

.section-title {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem);
  letter-spacing: -.005em;
  margin-bottom: .7em;
  max-width: 18ch;
}
.section-title.center { max-width: none; margin-inline: auto; }

/* Decorative daisies — sit in corners, never intercept clicks */
.daisy {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.verse .wrap,
.cta .wrap { position: relative; z-index: 1; }
.verse .wrap { padding-right: clamp(140px, 26vw, 360px); }

.daisy-verse {
  right: -6%;
  bottom: -28%;
  width: min(580px, 44vw);
  opacity: .96;
}
.daisy-cta-tl {
  left: -10%;
  top: -16%;
  width: min(300px, 52vw);
  transform: scaleX(-1) rotate(8deg);
  opacity: .9;
}
.daisy-cta-br {
  right: -6%;
  bottom: -18%;
  width: min(380px, 64vw);
}
@media (max-width: 700px) {
  .daisy-verse {
    right: -6%;
    bottom: -16%;
    width: min(248px, 64vw);
    opacity: .92;
  }
  .verse .wrap { padding-right: 26%; }
  .daisy-cta-tl {
    width: min(168px, 43vw);
    left: -20%;
    top: -12%;
    opacity: .86;
  }
  .daisy-cta-br {
    width: min(260px, 72vw);
    right: -14%;
    bottom: -12%;
  }
  .cta { padding-top: 136px; }
}

/* ---------- reveal ----------
   Scoped to .js so the page still renders fully if the script never runs. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,.61,.36,1);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--btn-bg);
  box-shadow: 0 1px 2px rgba(88, 63, 25, .18), 0 6px 18px rgba(138, 100, 40, .22);
  transition: transform .18s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn:hover {
  background: #74531f;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(88, 63, 25, .2), 0 12px 28px rgba(138, 100, 40, .3);
}
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 11.5px; letter-spacing: .11em; }
.btn-lg { padding: 17px 40px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-invert {
  background: var(--cream); border-color: var(--cream); color: var(--ink);
  box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 14px 34px rgba(0,0,0,.22);
}
.btn-invert:hover { background: #fff; border-color: #fff; }

.btn-ghost {
  font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid rgba(180, 136, 74, .45);
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease;
}
.btn-ghost:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost span { display: inline-block; transition: transform .25s ease; }
.btn-ghost:hover span { transform: translateY(3px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.is-stuck {
  background: rgba(247, 233, 228, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(180, 136, 74, .18), 0 6px 24px rgba(60, 42, 20, .07);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.wordmark { text-decoration: none; color: var(--ink); line-height: 1.1; }
.wordmark-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem);
  letter-spacing: .04em;
}
.wordmark-role {
  display: block;
  font-size: 9.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.site-nav > a:not(.btn) {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
  transition: color .2s ease;
}
.site-nav > a:not(.btn):hover { color: var(--gold-deep); }
@media (max-width: 700px) { .site-nav > a:not(.btn) { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(130px, 16vh, 180px) 0 clamp(70px, 9vw, 120px);
  background:
    linear-gradient(180deg, #faebe6 0%, var(--cream) 62%, var(--cream) 100%);
  overflow: hidden;
}
.hero-glow {
  position: absolute; left: 50%; top: -10%;
  width: min(1400px, 150vw); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 40%,
      rgba(255, 210, 196, .48) 0%,
      rgba(255, 224, 210, .28) 32%,
      rgba(247, 233, 228, 0) 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

/* cover */
.hero-cover { display: flex; justify-content: center; }
.cover-frame {
  position: relative;
  width: min(360px, 100%);
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.cover-frame:hover { transform: translateY(-6px); }
.cover-frame img {
  width: 100%;
  border-radius: 3px;
  box-shadow: var(--shadow-cover);
}
/* spine highlight */
.cover-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  border-radius: 3px;
  background: linear-gradient(90deg,
      rgba(0,0,0,.16) 0%, rgba(0,0,0,.05) 1.5%,
      rgba(255,255,255,.16) 4%, rgba(255,255,255,0) 9%);
  pointer-events: none;
}
/* soft ground shadow */
.cover-frame::after {
  content: ""; position: absolute;
  left: 6%; right: 6%; bottom: -26px; height: 26px; z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, rgba(94, 68, 30, .26), rgba(94, 68, 30, 0) 70%);
  filter: blur(3px);
}

/* copy */
.hero-copy { max-width: 520px; }

.hero-title {
  color: var(--ink);
  margin-bottom: .42em;
  text-transform: uppercase;
}
.hero-title .t-small {
  display: block;
  font-size: clamp(1.5rem, .95rem + 2.1vw, 2.35rem);
  font-weight: 500;
  letter-spacing: .10em;
}
.hero-title .t-the {
  display: block;
  font-size: clamp(.95rem, .8rem + .55vw, 1.2rem);
  font-weight: 300;
  letter-spacing: .16em;
  text-transform: lowercase;
  font-style: italic;
  color: var(--ink-2);
  margin: .18em 0;
}
.hero-title .t-big {
  display: block;
  font-size: clamp(3.6rem, 2.1rem + 6vw, 6.2rem);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--gold);
  background: linear-gradient(175deg, #d4ac66 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: .04em 0 .02em;
}

.ornament {
  display: flex; align-items: center; gap: 12px;
  color: var(--gold);
  max-width: 260px;
  margin-bottom: 1.5em;
}
.ornament .rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); }

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1rem + .5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.42;
  color: var(--ink-2);
  margin-bottom: .55em;
}
.hero-byline {
  font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.8em;
}

.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.18rem, 1.02rem + .6vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--gold-light);
  padding-left: 20px;
  margin-bottom: 2em;
}

.hero-actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(18px, 3vw, 32px);
  margin-bottom: 1.4em;
}
.hero-formats {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-copy { max-width: 560px; margin-inline: auto; }
  .ornament { margin-inline: auto; }
  .hero-lede { border-left: 0; padding-left: 0; border-top: 1px solid var(--cream-3); padding-top: 1em; }
  .hero-actions { justify-content: center; }
}

/* ============================================================
   Verse band
   ============================================================ */
.verse {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: clamp(64px, 8vw, 96px) 0;
  text-align: center;
}
.verse blockquote { margin: 0; }
.verse p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 1.05rem + 2vw, 2.5rem);
  line-height: 1.35;
  max-width: 20ch;
  margin: 0 auto .8em;
  color: #f6ecd9;
}
.verse cite {
  display: block;
  font-family: var(--sans); font-style: normal;
  font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-light);
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 40%, var(--cream-2) 100%);
  border-top: 1px solid rgba(180, 136, 74, .14);
  border-bottom: 1px solid rgba(180, 136, 74, .14);
}

.prose { color: var(--ink-2); }
.prose p { max-width: 64ch; }
.prose a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--ink); }
.prose em { font-family: var(--serif); font-style: italic; font-size: 1.09em; color: var(--ink); }
.prose .pull {
  font-family: var(--serif);
  font-size: clamp(1.32rem, 1.1rem + .9vw, 1.72rem);
  line-height: 1.42;
  color: var(--ink);
  border-top: 1px solid var(--cream-3);
  border-bottom: 1px solid var(--cream-3);
  padding: .85em 0;
  margin: 1.7em 0;
}

/* ---------- reviews ---------- */
.reviews {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, #f3e2da 48%, var(--cream) 100%);
  border-top: 1px solid rgba(180, 136, 74, .14);
  border-bottom: 1px solid rgba(180, 136, 74, .14);
}
.reviews-inner { position: relative; z-index: 1; text-align: center; }

.stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--gold);
}
.stars svg { fill: currentColor; display: block; }

.rating-summary { margin: 0 0 clamp(28px, 4vw, 40px); }
.rating-score {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  line-height: 1;
  color: var(--ink);
  margin: .35em 0 .15em;
}
.rating-score span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: .35em;
  vertical-align: middle;
}
.rating-count {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.review-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .7em;
}

.quote-list {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.quote-item {
  margin: 0;
  padding: clamp(28px, 4vw, 36px) 0;
  border-top: 1px solid rgba(180, 136, 74, .22);
}
.quote-item:last-child { border-bottom: 1px solid rgba(180, 136, 74, .22); }
.quote-item blockquote { margin: 0 0 1em; }
.quote-item blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.12rem, 1.02rem + .4vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.quote-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote-item figcaption strong {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.quote-item figcaption span {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.reviews-foot { margin: clamp(28px, 4vw, 40px) 0 0; }

/* ---------- formats ---------- */
.formats {
  list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  align-items: stretch;
}
.format-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(180, 136, 74, .22);
  border-radius: 6px;
  padding: clamp(28px, 3.5vw, 38px) clamp(22px, 3vw, 30px);
  text-align: center;
  box-shadow: 0 1px 2px rgba(60, 42, 20, .04), 0 10px 30px rgba(60, 42, 20, .05);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.format-card:hover {
  transform: translateY(-5px);
  border-color: rgba(180, 136, 74, .45);
  box-shadow: 0 2px 4px rgba(60, 42, 20, .06), 0 18px 44px rgba(60, 42, 20, .11);
}
.format-card.featured {
  border-color: var(--gold);
  box-shadow: 0 2px 4px rgba(60, 42, 20, .06), 0 16px 40px rgba(138, 100, 40, .14);
}
.ribbon {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--gold-deep); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  white-space: nowrap;
}
.format-card h3 {
  font-size: clamp(1.5rem, 1.3rem + .5vw, 1.8rem);
  margin-bottom: .1em;
}
.format-card .price {
  font-family: var(--sans);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1em;
}
.format-card .format-note {
  color: var(--ink-soft);
  font-size: 15px; line-height: 1.6;
  margin-bottom: 1.8em;
  flex: 1;
}
.formats-foot {
  text-align: center;
  margin: clamp(28px, 4vw, 40px) 0 0;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- author ---------- */
.author-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.author-inner:has(.author-photo) { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.author-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 50%;
  box-shadow: var(--shadow-cover);
}
.author-copy { max-width: 640px; }

/* No photo yet? Centre the block so the section doesn't sit lopsided. */
.author-inner:not(:has(.author-photo)) { justify-items: center; text-align: center; }
.author-inner:not(:has(.author-photo)) .section-title { max-width: none; }
.author-inner:not(:has(.author-photo)) .prose { text-align: left; max-width: 62ch; }

@media (max-width: 860px) {
  .author-inner:has(.author-photo) { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */
.contact {
  text-align: center;
  border-top: 1px solid rgba(180, 136, 74, .14);
}
.contact .section-title { margin-bottom: .45em; }
.contact-lede {
  color: var(--ink-2);
  margin: 0 auto 1.35em;
  max-width: 42ch;
}
.contact-email-wrap { margin: 0; }
.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.02rem + .7vw, 1.65rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 136, 74, .45);
  padding-bottom: 3px;
  overflow-wrap: anywhere;
  transition: color .2s ease, border-color .2s ease;
}
.contact-email svg { flex-shrink: 0; }
.contact-email:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ============================================================
   Closing CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(180, 136, 74, .38) 0%, rgba(36, 31, 25, 0) 62%),
    var(--ink);
  color: var(--cream);
  padding: clamp(80px, 11vw, 140px) 0;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(1.85rem, 1.25rem + 2.6vw, 3.1rem);
  line-height: 1.24;
  color: #f8f0e0;
  margin-bottom: 1.1em;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #1b1713;
  color: rgba(246, 236, 217, .62);
  padding: 32px 0 18px;
  text-align: center;
}
.footer-inner p { margin: 0; }
.footer-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: .07em;
  color: #f6ecd9;
  margin-bottom: .28em !important;
}
.footer-email {
  margin-bottom: 1.15em !important;
}
.footer-email a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  color: rgba(246, 236, 217, .78);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(217, 184, 119, .35);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-email a svg { flex-shrink: 0; }
.footer-email a:hover {
  color: #f6ecd9;
  border-color: var(--gold-light);
}
.footer-meta { font-size: 12.5px; letter-spacing: .05em; }
