/* ===========================================================
   egd-consulting.com — Eden Group Development, Inc.
   Media company: podcasts · virtual conferences & training · books
   Evergreen + gold theme (family cousin of jgoehle.com)
   =========================================================== */

:root {
  --forest:   #0e3a2c;
  --forest-2: #14513c;
  --green:    #1f7a5a;
  --green-lt: #e7f1ec;
  --gold:     #c8a24a;
  --gold-lt:  #fdf6e6;
  --ink:      #1d2733;
  --muted:    #566173;
  --line:     #e3e8ee;
  --bg:       #f6f9f7;
  --white:    #ffffff;
  --radius:   10px;
  --shadow:   0 6px 24px rgba(14, 58, 44, 0.10);
  --shadow-sm: 0 2px 8px rgba(14, 58, 44, 0.08);
  --max:      1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forest);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

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

img { max-width: 100%; display: block; }

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

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin-bottom: 0.6em;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 70ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.98rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--gold); color: #2a2208; }
.btn--primary:hover { background: #d6b258; box-shadow: var(--shadow-sm); }
.btn--solid { background: var(--green); color: #fff; }
.btn--solid:hover { background: var(--forest-2); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px;
  background: var(--forest);
  color: var(--gold);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: Georgia, serif; font-weight: 700; color: var(--forest); font-size: 1.15rem; }
.brand__tag { font-size: 0.72rem; color: var(--muted); letter-spacing: .04em; }

.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 6px;
}
.nav-links a:hover { background: var(--green-lt); text-decoration: none; color: var(--forest); }
.nav-links a.active { color: var(--green); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; font-size: 1.5rem; color: var(--forest);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, var(--forest) 0%, var(--forest-2) 62%, var(--green) 135%);
  color: #fff;
  padding: 88px 0;
}
.hero h1 { color: #fff; font-size: 2.9rem; max-width: 18ch; }
.hero .lead { color: #d2e6dd; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: #e3c878; }

/* Hero "pillars" panel */
.hero-pillars { display: grid; gap: 14px; }
.hero-pillar {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hero-pillar__icon {
  font-size: 1.4rem; line-height: 1;
  color: var(--gold);
  flex: none;
  margin-top: 2px;
}
.hero-pillar h3 { color: #fff; font-size: 1.05rem; margin: 0 0 2px; }
.hero-pillar p { color: #c3dcd2; font-size: 0.92rem; margin: 0; }

/* ---------- Stats / trust band ---------- */
.band { background: var(--green-lt); }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; text-align: center; }
.stat__num { font-family: Georgia, serif; font-size: 2.2rem; color: var(--forest); font-weight: 700; }
.stat__label { color: var(--muted); font-size: 0.92rem; }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { display: flex; align-items: center; gap: 10px; }
.card__icon { color: var(--gold); font-size: 1.4rem; }

/* ---------- Brand cards ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.brand-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-card__top {
  padding: 22px 26px;
  color: #fff;
  background: var(--forest);
}
.brand-card__top--podcast { background: linear-gradient(135deg, #6a2f7a 0%, #8a3d9e 100%); }
.brand-card__top--conf    { background: linear-gradient(135deg, var(--forest) 0%, var(--green) 120%); }
.brand-card__top--books   { background: linear-gradient(135deg, #0f2c4d 0%, #1f5f9e 120%); }
.brand-card__kicker {
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .7rem; font-weight: 700;
  opacity: .85; margin-bottom: 6px;
  font-family: -apple-system, sans-serif;
}
.brand-card__top h3 { color: #fff; margin: 0; font-size: 1.3rem; }
.brand-card__body { padding: 24px 26px; display: flex; flex-direction: column; flex: 1; }
.brand-card__body p { color: var(--muted); font-size: 0.95rem; }
.brand-card__body .btn-row { margin-top: auto; padding-top: 14px; }
.brand-card__domains {
  font-size: .82rem; color: var(--muted);
  margin: 0 0 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Feature list ---------- */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.features li { position: relative; padding-left: 32px; }
.features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
  background: var(--green-lt);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem;
}

/* ---------- Page head ---------- */
.pagehead {
  background: var(--forest);
  color: #fff;
  padding: 56px 0;
}
.pagehead h1 { color: #fff; }
.pagehead p { color: #d2e6dd; margin: 0; }
.pagehead .eyebrow { color: #e3c878; }

/* ---------- Brand detail hero band ---------- */
.brandhead { color: #fff; padding: 60px 0; }
.brandhead h1 { color: #fff; }
.brandhead p { color: rgba(255,255,255,.9); margin: 0; max-width: 60ch; }
.brandhead .eyebrow { color: rgba(255,255,255,.85); }
.brandhead--conf    { background: linear-gradient(135deg, var(--forest) 0%, var(--green) 130%); }
.brandhead--podcast { background: linear-gradient(135deg, #4f2360 0%, #8a3d9e 130%); }
.brandhead--books   { background: linear-gradient(135deg, #0f2c4d 0%, #1f5f9e 130%); }

/* ---------- Meta list ---------- */
.meta-list { list-style: none; padding: 0; margin: 22px 0 0; font-size: 0.92rem; }
.meta-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.meta-list li span:first-child { color: var(--muted); }
.meta-list li span:last-child { font-weight: 600; text-align: right; }

/* ---------- Contact / forms ---------- */
.form-grid { display: grid; gap: 18px; max-width: 620px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea, .field select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,122,90,.15);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest);
  color: #c6d8d0;
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: -apple-system, sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { color: #c6d8d0; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: #93b3a7;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center-narrow { max-width: 760px; margin: 0 auto; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  vertical-align: middle;
}
.badge--soon { background: #fdf1d6; color: #8a6d1c; border: 1px solid #ecd9a4; }
.badge--live { background: var(--green-lt); color: var(--green); border: 1px solid #c2e6cf; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.15rem; }
  .hero__grid, .grid-2, .grid-3, .brand-grid, .footer-grid, .stats { grid-template-columns: 1fr; }
  .hero-pillars { margin-top: 8px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; border-radius: 6px; }
  .nav-toggle { display: block; }
  .stats { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

/* ===========================================================
   STORE PAGE  (Amazon Associates affiliate storefront)
   =========================================================== */
.brandhead--store { background: linear-gradient(135deg, var(--forest) 0%, var(--green) 70%, var(--gold) 165%); }

/* Affiliate disclosure band — appears BEFORE any affiliate links */
.affiliate-band {
  background: var(--gold-lt);
  border-bottom: 1px solid #ecd9a4;
  color: #6b551d;
}
.affiliate-band .container { padding-top: 16px; padding-bottom: 16px; }
.affiliate-band p { margin: 0; font-size: 0.92rem; }
.affiliate-band strong { color: #5a4715; }

/* Category intro */
.store-cat-head { margin-bottom: 26px; }
.store-cat-head h2 { margin-bottom: 6px; }
.store-cat-head p { color: var(--muted); margin: 0; max-width: 68ch; }

/* Featured book grid (John's own titles, with covers) */
.book-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.book-feature .card { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.book-feature .card img { border-radius: 6px; box-shadow: var(--shadow-sm); width: 120px; }
.book-feature .card h3 { margin: 0 0 4px; font-size: 1.12rem; }
.book-feature .card .byline { color: var(--muted); font-size: 0.85rem; margin: 0 0 10px; }
.book-feature .card p { font-size: 0.93rem; color: var(--muted); }
.book-feature .btn-row { margin-top: 12px; }

/* Recommendation cards (curated third-party resources) */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.store-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.store-card__tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.store-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.store-card .byline { color: var(--muted); font-size: 0.82rem; margin: 0 0 10px; }
.store-card p { font-size: 0.9rem; color: var(--muted); margin: 0 0 16px; }
.store-card .btn { margin-top: auto; }
.store-card .btn--amz { background: #ff9900; color: #1d1d1d; border-color: #ff9900; }
.store-card .btn--amz:hover { background: #f39400; }

.btn--amz { background: #ff9900; color: #1d1d1d; border-color: #ff9900; }
.btn--amz:hover { background: #f39400; box-shadow: var(--shadow-sm); }

@media (max-width: 860px) {
  .book-feature { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .book-feature .card { grid-template-columns: 96px 1fr; gap: 16px; }
  .book-feature .card img { width: 96px; }
}
