/* ===== GROUNDWORK — The Groundwork Series =====
   Static site styles. Forest-green branding to match the book cover & logo. */

:root {
  --green-deep: #1f4223;
  --green: #2e6b32;
  --green-mid: #3d8b40;
  --green-light: #6ba76f;
  --gold: #c9a227;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --ink: #21261f;
  --ink-soft: #4a5245;
  --shadow: 0 6px 24px rgba(31, 66, 35, 0.18);
  --radius: 12px;
  --maxw: 1100px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; color: var(--green-deep); }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 66, 35, 0.12);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 48px; width: 48px; object-fit: contain; }
.nav-brand .brand-text { font-family: 'Roboto Slab', var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--green-deep); letter-spacing: .3px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--green); text-decoration: none; }
@media (max-width: 700px) { .nav-links { display: none; } }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  color: #fff;
  text-align: center;
  background: linear-gradient(rgba(20,40,22,0.55), rgba(20,40,22,0.65)), url('../images/hero-forest.png') center/cover no-repeat;
}
.hero-inner { max-width: 820px; margin: 0 auto; padding: 80px 24px; }
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem);
  text-shadow: 0 2px 18px rgba(0,0,0,.45); letter-spacing: .5px;
}
.hero .tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  margin-top: 18px; text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero .subtitle { margin-top: 10px; font-size: 1.05rem; opacity: .95; }
.btn-row { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 100px;
  font-weight: 700; font-size: 1rem; transition: all .18s ease;
}
.btn-primary { background: var(--gold); color: #2a2306; }
.btn-primary:hover { background: #dbb43a; text-decoration: none; transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.22); text-decoration: none; }

/* ===== Sections ===== */
section { padding: 84px 0; }
.section-title { text-align: center; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.section-lead { text-align: center; max-width: 720px; margin: 0 auto 48px; color: var(--ink-soft); font-size: 1.1rem; }

.alt { background: var(--paper); }

/* About / book */
.book-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .book-grid { grid-template-columns: 1fr; gap: 32px; } }
.book-cover { text-align: center; }
.book-cover img { max-width: 340px; width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.book-copy h2 { font-size: 2rem; margin-bottom: 8px; }
.book-copy .byline { color: var(--green-mid); font-weight: 700; margin-bottom: 20px; font-size: 1.05rem; }
.book-copy p { margin-bottom: 16px; color: var(--ink-soft); }

/* Discovery lines */
.discovery { background: var(--green-deep); color: var(--cream); text-align: center; }
.discovery .lines { font-family: var(--font-serif); font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.5; }
.discovery .lines span { display: block; }
.discovery .lead-note { max-width: 760px; margin: 30px auto 0; opacity: .9; font-size: 1.05rem; line-height: 1.7; }

/* Testimonials */
.testimonials { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.quote-card {
  background: var(--cream); border-left: 5px solid var(--green-mid);
  padding: 26px 28px; border-radius: var(--radius); box-shadow: 0 3px 14px rgba(31,66,35,.08);
  flex: 0 1 320px; max-width: 440px;
}
.quote-card p { font-style: italic; color: var(--ink); margin-bottom: 12px; }
.quote-card .attr { font-weight: 700; color: var(--green-mid); font-style: normal; }

/* Author */
.author { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 780px; margin: 0 auto; text-align: center; }
.author p { color: var(--ink-soft); }

/* Buy */
.buy { position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(20,40,22,0.72), rgba(20,40,22,0.82)), url('../images/accent-path.png') center/cover no-repeat; }
.buy h2 { color: #fff; }
.buy .price { font-size: 1.5rem; font-weight: 700; margin: 10px 0 6px; color: var(--gold); }
.buy .isbn { opacity: .85; margin-bottom: 34px; font-family: var(--font-sans); }
.retailers { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.retailer {
  background: #fff; color: var(--green-deep); font-weight: 700;
  padding: 14px 28px; border-radius: 100px; min-width: 150px; transition: transform .15s ease;
}
.retailer:hover { transform: translateY(-3px); text-decoration: none; }

/* Footer */
.site-footer { background: var(--green-deep); color: #cdd8ce; padding: 44px 0; text-align: center; }
.site-footer img { height: 64px; width: 64px; object-fit: contain; margin-bottom: 16px; }
.site-footer a { color: #fff; }
.site-footer .fine { margin-top: 14px; font-size: .85rem; opacity: .7; }

/* utility */
.center { text-align: center; }
.mt { margin-top: 24px; }
