/* ==========================================================================
   petesparrow.com — dark editorial, zero dependencies
   Design tokens come from the approved spec: all-dark page, section contrast
   via lightness steps of the same hue (never white panels), muted gold accent,
   serif display headings on a system stack (no webfont downloads).
   ========================================================================== */

:root {
  --bg: #14181d;         /* base page surface */
  --bg-raised: #1c222a;  /* alternating sections & cards — one step lighter */
  --bg-deep: #0f1216;    /* final CTA band — one step darker */
  --border: #29313b;
  --text: #f2efe9;       /* warm off-white */
  --text-muted: #9aa3ad;
  --text-dim: #c9c4ba;   /* body copy on raised surfaces */
  --label: #7b8591;
  --accent: #d9a441;     /* muted gold */
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Shared content width — every band is full-bleed, content is capped */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Headings use the serif display voice; body stays sans */
h1, h2, .final-cta h2 { font-family: var(--serif); font-weight: 500; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Small-caps letterspaced section labels */
.label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 1.25rem;
}

/* ============ Header ============ */

.site-header { padding: 28px 0; }

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.wordmark { font-weight: 600; letter-spacing: 0.15em; font-size: 0.9rem; }

.site-header nav { display: flex; gap: 22px; }

.site-header nav a { color: var(--text-muted); font-size: 0.9rem; }
.site-header nav a:hover { color: var(--text); text-decoration: none; }

/* ============ Hero ============ */

.hero { padding: 56px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: center;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 em { color: var(--accent); }

.hero-sub {
  color: var(--text-muted);
  margin-top: 1.1rem;
  max-width: 34rem;
}

.cta-row {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* Gold outline button (hero) / solid gold (final CTA) */
.btn {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 11px 22px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn:hover { background: rgba(217, 164, 65, 0.1); text-decoration: none; }

.btn--solid { background: var(--accent); color: var(--bg-deep); }
.btn--solid:hover { background: #e3b45c; }

.link-cta { font-size: 0.95rem; font-weight: 600; }

.hero-portrait {
  width: 260px;
  height: 310px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ============ Bands (alternating full-bleed sections) ============ */

.band { padding: 56px 0; }
.band--raised { background: var(--bg-raised); }
.band--deep { background: var(--bg-deep); }

/* ============ "Sound familiar?" quotes ============ */

.quotes { list-style: none; }

.quotes li {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text-dim);
  padding: 0.35rem 0;
}

.quotes-after { color: var(--text-muted); margin-top: 1rem; font-size: 0.95rem; }

/* ============ Two paths ============ */

.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.path-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* The guided path is the business — it gets the gold border */
.path-card--featured { border-color: var(--accent); }

.path-card h2 { font-size: 1.35rem; }
.path-card p { color: var(--text-muted); font-size: 0.97rem; flex-grow: 1; }

/* ============ Three-up card rows (steps & proof points) ============ */

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card, .why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
}

/* On the base-dark bands the cards flip to the raised tone instead */
.band:not(.band--raised) .why-card { background: var(--bg-raised); }

.step-card h3, .why-card h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }

.step-card h3 span {
  color: var(--accent);
  font-family: var(--serif);
  margin-right: 6px;
}

.step-card p, .why-card p { color: var(--text-muted); font-size: 0.93rem; }

/* ============ Final CTA ============ */

.band--deep { padding: 72px 0; }

.final-cta { text-align: center; }
.final-cta h2 { font-size: 1.9rem; }
.final-cta p { color: var(--text-muted); margin: 0.75rem 0 1.5rem; }

/* ============ Footer ============ */

.footer { padding: 36px 0 48px; border-top: 1px solid var(--border); text-align: center; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--text); }
.footer-note { color: #5d6874; font-size: 0.82rem; margin-top: 0.6rem; }

/* ============ Responsive: single column under 720px ============ */

@media (max-width: 720px) {
  .hero { padding-top: 32px; }

  .hero-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Portrait drops below the text and shrinks */
  .hero-portrait { width: 200px; height: 238px; order: 2; }

  .paths-grid, .cards3 { grid-template-columns: 1fr; }

  .site-header nav { gap: 14px; }
}
