/* ============================================================
   Voice Catalyst — shared stylesheet
   Design tokens live at the top: restyle in one place.
   Palette + type per brand/palette.md (2026-06-28).
   ============================================================ */

:root {
  /* --- Brand palette (6 colors, 80/15/5 distribution) --- */
  --bone:        #F6F2EC;   /* field — ~50% */
  --navy:        #16213E;   /* structure / type — ~22% */
  --moss:        #56684E;   /* structural secondary — ~14% */
  --soft-pink:   #F3D6D1;   /* gentle tint — ~8% */
  --bold-pink:   #E13C7E;   /* accent, rare — ~4% */
  --ink:         #1E1E22;   /* body at small sizes — ~2% */

  --navy-tint:   rgba(22, 33, 62, 0.08);
  --moss-tint:   rgba(86, 104, 78, 0.12);

  /* --- Type --- */
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'EB Garamond', Georgia, serif;

  /* --- Rhythm --- */
  --maxw: 68rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }

a { color: inherit; }

/* ---------- Header ---------- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--navy);
}

.wordmark-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--bold-pink);   /* sealing-wax dot — the rare accent */
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.95rem;
}

.site-nav a { text-decoration: none; color: var(--navy); opacity: 0.85; }
.site-nav a:hover { opacity: 1; }

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--navy); color: var(--bone); }

/* ---------- Layout helpers ---------- */
main > section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.eyebrow, .section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 1rem;
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 5vw, 4rem); }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 1.5rem;
  max-width: 20ch;
}

.lede {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--navy);
  margin: 0 0 2.25rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--navy); color: var(--bone); }
.btn-primary:hover { background: var(--bold-pink); }

.btn-ghost { border: 1px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy-tint); }

/* ---------- Pull-quote band (serif voice on soft pink) ---------- */
.pullquote-band {
  background: var(--soft-pink);
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.pullquote-band blockquote {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.3;
  color: var(--navy);
  max-width: 24ch;
  margin: 0 0 1rem;
}
.pullquote-band cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--moss);
  font-weight: 500;
}

/* ---------- Method / cards ---------- */
.section-lede {
  font-size: 1.15rem;
  max-width: 52ch;
  color: var(--ink);
  margin: 0 0 2.5rem;
}
.method h2, .offer h2, .contact h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--bone);
  border: 1px solid var(--moss-tint);
  border-left: 3px solid var(--moss);
  border-radius: 0.4rem;
  padding: 1.75rem;
}
.card-num {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--moss);
}
.card h3 { font-size: 1.25rem; margin: 0.5rem 0 0.6rem; }
.card p { margin: 0; color: var(--ink); }

/* ---------- Offer (navy panel) ---------- */
.offer { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
.offer-inner {
  background: var(--navy);
  color: var(--bone);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
  border-radius: 0.75rem;
}
.offer-inner .section-eyebrow { color: var(--soft-pink); }
.offer-inner h2 { color: var(--bone); }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.offer-card {
  background: rgba(246, 242, 236, 0.06);
  border: 1px solid rgba(246, 242, 236, 0.16);
  border-radius: 0.5rem;
  padding: 1.75rem;
}
.offer-card--apex { border-color: var(--bold-pink); }
.offer-card h3 { font-size: 1.35rem; margin: 0 0 0.35rem; color: var(--bone); }
.offer-tag {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft-pink);
  margin: 0 0 0.9rem;
}
.offer-card p:last-child { margin: 0; color: rgba(246, 242, 236, 0.82); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .section-eyebrow,
.contact .section-lede { margin-left: auto; margin-right: auto; }
.contact .section-lede { max-width: 42ch; }

/* ---------- Footer ---------- */
.site-foot {
  border-top: 1px solid var(--navy-tint);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 3.5rem;
  text-align: center;
}
.foot-mark { font-weight: 600; margin: 0 0 0.35rem; }
.foot-fine { font-size: 0.85rem; color: var(--moss); margin: 0.15rem 0; }
.foot-draft { color: var(--bold-pink); font-weight: 500; }

/* ---------- Motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
