/* ============================================================
   Annette Garvey — author site
   Palette drawn from the pasture photo:
   sky blue, rust and copper, cream, blush
   ============================================================ */

:root {
  --paper: #fdfaf4;      /* warm white, sunlit paper */
  --ink: #372c21;        /* warm near-black */
  --ink-soft: #6b5c4c;
  --rust: #a65a33;       /* copper rust, primary accent */
  --rust-deep: #8a4826;
  --sky: #5d7f97;        /* dusty sky blue, links and grounding */
  --sky-pale: #dce8ef;   /* pale sky wash */
  --blush: #e9c2b2;      /* blush off the nose */
  --blush-pale: #f6e7de; /* blush wash */
  --cream: #f3ead9;
  --max: 1040px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.12;
  font-weight: 600;
  color: var(--ink);
}

a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

.eyebrow {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--rust);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */

header.site {
  background: var(--paper);
  border-bottom: 1px solid #eadfce;
}

.site-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  flex-wrap: wrap;
}

.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--rust); }

nav.main { display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav.main a {
  color: var(--ink-soft);
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--rust); border-bottom-color: var(--blush); }
nav.main a[aria-current="page"] { color: var(--rust); border-bottom-color: var(--rust); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 4.5rem;
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
  .hero-photo { order: -1; }   /* she stacks above the headline on phones */
  .hero-text { text-align: center; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.2rem);
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.hero p.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34ch;
}
@media (max-width: 760px) { .hero p.lede { margin: 0 auto; } }

.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 22px 45px rgba(93, 127, 151, 0.28);
}
/* soft blush wash behind her, like a wet-on-wet bloom */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -9% -12% -6% -10%;
  background: radial-gradient(closest-side, var(--blush-pale) 0%, rgba(246, 231, 222, 0) 72%);
  z-index: -1;
}

.hero-cta { margin-top: 1.8rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 2px solid var(--rust);
  color: #fff;
  background: var(--rust);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--rust-deep); border-color: var(--rust-deep); color: #fff; }

.btn.ghost { background: transparent; color: var(--rust); }
.btn.ghost:hover { background: var(--rust); color: #fff; }

/* ---------- Sections and washes ---------- */

section.band { padding: 4.2rem 0; }

/* soft washes instead of hard color blocks */
section.wash-blush {
  background:
    radial-gradient(120% 90% at 15% 0%, var(--blush-pale) 0%, rgba(246,231,222,0) 60%),
    radial-gradient(110% 90% at 90% 100%, var(--cream) 0%, rgba(243,234,217,0) 55%),
    var(--paper);
}
section.wash-sky {
  background:
    radial-gradient(120% 95% at 85% 0%, var(--sky-pale) 0%, rgba(220,232,239,0) 62%),
    radial-gradient(100% 85% at 8% 100%, var(--blush-pale) 0%, rgba(246,231,222,0) 50%),
    var(--paper);
}

.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-top: 0.4rem; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col.flip { grid-template-columns: 1fr minmax(0, 360px); }
@media (max-width: 760px) {
  .two-col, .two-col.flip { grid-template-columns: 1fr; }
}

.prose h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 0.4rem 0 1.2rem; }
.prose p + p { margin-top: 1.1rem; }

.pull {
  border-left: 4px solid var(--blush);
  padding: 0.4rem 0 0.4rem 1.3rem;
  margin: 1.8rem 0;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
}

/* ---------- Photo treatments ---------- */

.photo-soft img, img.photo-soft {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(93, 127, 151, 0.22);
}

/* ---------- Book cover placeholder ---------- */

.cover {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(93, 127, 151, 0.25);
  background: linear-gradient(180deg, var(--sky-pale) 0%, #cdd9c9 55%, var(--cream) 56%, var(--blush) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 2.2rem 1.4rem;
}
.cover .cover-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink);
}
.cover .cover-sub {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.cover .cover-author {
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust-deep);
}

/* ---------- Meta list ---------- */

.meta {
  list-style: none;
  border-top: 1px solid #eadfce;
  margin-top: 2rem;
}
.meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #eadfce;
  font-size: 1rem;
}
.meta li span:first-child {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- CTA panel ---------- */

.panel {
  background:
    radial-gradient(130% 110% at 20% 0%, var(--sky-pale) 0%, rgba(220,232,239,0) 65%),
    radial-gradient(120% 100% at 90% 100%, var(--blush-pale) 0%, rgba(246,231,222,0) 60%),
    #fff;
  border: 1px solid #eadfce;
  border-radius: 22px;
  padding: 2.8rem 2rem;
  text-align: center;
}
.panel h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.panel p { color: var(--ink-soft); max-width: 48ch; margin: 0.8rem auto 1.6rem; }

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid #eadfce;
  background: var(--cream);
  color: var(--ink-soft);
  padding: 2.4rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.95rem;
}
footer.site .wordmark { font-size: 1.05rem; }
footer.site nav { display: flex; justify-content: center; gap: 1.4rem; margin: 1rem 0; flex-wrap: wrap; }
footer.site nav a { color: var(--sky); text-decoration: none; font-family: "Fraunces", Georgia, serif; font-size: 0.95rem; }
footer.site nav a:hover { color: var(--rust); }

/* ---------- Page title strip (interior pages) ---------- */

.page-title {
  text-align: center;
  padding: 3.2rem 1.5rem 2.4rem;
  background:
    radial-gradient(130% 120% at 50% -20%, var(--sky-pale) 0%, rgba(220,232,239,0) 70%),
    var(--paper);
}
.page-title h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 0.5rem; }
