/* ============================================================
   D2 — NEWSPAPER (QUIET) — shared styles for all pages
   ============================================================ */

:root {
  --cream: #f1ead8;
  --cream-2: #ece3c9;
  --ink: #1a0f1f;
  --ink-soft: #2a1a32;
  --plum: #3a1538;
  --plum-deep: #1a0a25;
  --peach: #ffd2a3;
  --peach-warm: #f0a86a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.06 0 0 0 0 0.12 0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ========== TICKER ========== */
.ticker {
  background: var(--ink);
  color: var(--cream);
  padding: 9px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 14px; color: var(--cream); }
.ticker-track span::after { content: '·'; color: var(--peach); font-size: 18px; line-height: 0; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== NAV ========== */
.nav {
  background: var(--cream);
  border-bottom: 4px double var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.logo .name {
  font-family: 'Roboto Slab', serif;
  font-weight: 900;
  letter-spacing: 0.005em;
  font-size: 18px;
  text-transform: uppercase;
}
.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover { color: var(--plum); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--plum);
}
.nav-cta {
  background: var(--ink);
  color: var(--peach);
  padding: 11px 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
}
.nav-cta:hover { background: var(--plum); border-color: var(--plum); }

/* ========== HERO / PAGE HEAD ========== */
.hero, .page-head {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--ink);
  text-align: left;
}
.page-head { padding: 80px 0 70px; }

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--plum); }

.hero h1, .page-head h1 {
  font-family: 'Roboto Slab', serif;
  font-weight: 900;
  font-size: clamp(56px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 1100px;
}
.hero h1 .accent, .page-head h1 .accent { color: var(--plum); font-style: italic; }

.hero-lede {
  margin-top: 30px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 660px;
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
}

.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform 0.12s ease;
}
.btn-primary { background: var(--ink); color: var(--peach); }
.btn-primary:hover { background: var(--plum); border-color: var(--plum); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--peach); }

/* ========== STAT BAND (index only) ========== */
.stat-band {
  padding: 32px 0;
  border-bottom: 4px double var(--ink);
}
.stat-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  border-right: 1px solid var(--ink);
  padding: 8px 0;
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: 'Roboto Slab', serif;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 60px);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .label {
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ========== PAIN ========== */
.pain { padding: 100px 0; border-bottom: 1px solid var(--ink); }

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--plum); }

.section-title {
  font-family: 'Roboto Slab', serif;
  font-weight: 900;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 1000px;
}
.section-title .accent { color: var(--plum); font-style: italic; }

.pain-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.pain-col {
  padding: 28px 28px 8px;
  border-right: 1px solid var(--ink);
}
.pain-col:last-child { border-right: none; }
.pain-time {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--peach-warm);
  margin-bottom: 14px;
}
.pain-col h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}
.pain-col p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ========== SERVICES / GENERIC LIST ========== */
.services { padding: 100px 0; border-bottom: 4px double var(--ink); }
.services-intro {
  max-width: 720px;
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
}

.services-list { margin-top: 50px; border-top: 1px solid var(--ink); }
.svc-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink);
  align-items: baseline;
}
.svc-num {
  font-family: 'Roboto Slab', serif;
  font-weight: 900;
  font-size: 48px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}
.svc-body h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--ink);
}
.svc-body p { font-size: 16px; color: var(--ink-soft); max-width: 760px; }
.svc-body p.examples {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
  border-left: 2px solid var(--peach-warm);
  padding-left: 14px;
}
.svc-body p.examples strong {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.services-cta { text-align: center; margin-top: 40px; }

/* ========== ABOUT ========== */
.about { padding: 100px 0; border-bottom: 1px solid var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.about-photo {
  border: 2px solid var(--ink);
  background: var(--cream-2);
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-body h2 {
  font-family: 'Roboto Slab', serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}
.about-body h2 .accent { color: var(--plum); font-style: italic; }
.about-body p {
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.about-body p strong { color: var(--ink); }
.about-body .signature {
  margin-top: 28px;
  font-style: italic;
  color: var(--plum);
  font-weight: 500;
}

/* ========== FORM (audit) ========== */
.form-section { padding: 60px 0 100px; border-bottom: 1px solid var(--ink); }
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream-2);
  border: 2px solid var(--ink);
  padding: 40px 32px;
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
}
.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
}
.or-divider span { text-transform: uppercase; font-weight: 600; }
.calendly-link {
  display: inline-block;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--plum);
  padding-bottom: 4px;
}
.calendly-link:hover { color: var(--plum); }

/* ========== FAQ ========== */
.faq { padding: 100px 0; border-bottom: 4px double var(--ink); }
.faq-list {
  margin-top: 50px;
  border-top: 1px solid var(--ink);
}
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color 0.15s ease;
}
.faq-q:hover { color: var(--plum); }
.faq-q .chevron {
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--plum);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  display: inline-block;
}
.faq-item.open .faq-q .chevron { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 0 24px;
}

/* ========== AUDIT CTA ========== */
.audit {
  padding: 100px 0;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
}
.audit h3 {
  font-family: 'Roboto Slab', serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin-bottom: 16px;
}
.audit h3 .accent { color: var(--peach); font-style: italic; }
.audit p {
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 28px;
  color: rgba(241,234,216,0.85);
}
.audit .btn-primary { background: var(--peach); color: var(--ink); border-color: var(--peach); }
.audit .btn-primary:hover { background: var(--cream); border-color: var(--cream); }

/* ========== FOOTER ========== */
.footer {
  background: var(--cream);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--plum); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--ink); padding-bottom: 18px; margin-bottom: 14px; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-col { border-right: none; border-bottom: 1px solid var(--ink); }
  .pain-col:last-child { border-bottom: none; }
  .svc-row { grid-template-columns: 60px 1fr; gap: 18px; }
  .svc-num { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { aspect-ratio: 1/1; }
}
