/* ============================================================================
   Brigid — Design System
   Bridging Home and Healthcare
   A single shared stylesheet for the whole marketing site.
   ========================================================================== */

:root {
  /* Surfaces */
  --cream: #f5efe4;
  --cream-2: #ece3d2;
  --cream-3: #e2d6bf;
  --paper: #fbf7ee;

  /* Ink */
  --ink: #11140f;
  --ink-2: #2c3329;
  --muted: #6c7062;
  --muted-2: #989a8c;

  /* Brand */
  --forest: #1a3225;
  --forest-2: #234534;
  --forest-deep: #0f2419;
  --sage: #7c9879;
  --sage-light: #c8d6c0;
  --sage-bg: #e3ead8;

  /* Triage + accents */
  --green: #4f7a4d;
  --green-bg: #d6e3cd;
  --amber: #c89a3a;
  --amber-bg: #f0e3c2;
  --coral: #d97757;
  --coral-bg: #f4d9cc;
  --rose: #b85c5c;
  --rose-bg: #f0d4d4;

  /* Lines + shadow */
  --line: rgba(26, 50, 37, 0.10);
  --line-2: rgba(26, 50, 37, 0.18);
  --line-on-dark: rgba(245, 239, 228, 0.16);
  --shadow-sm: 0 1px 2px rgba(26, 50, 37, 0.05);
  --shadow: 0 8px 30px -12px rgba(26, 50, 37, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(26, 50, 37, 0.28);

  /* Type */
  --serif: 'Newsreader', 'Instrument Serif', Georgia, serif;
  --display: 'Instrument Serif', 'Newsreader', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Rhythm */
  --nav-h: 68px;
  --pad-x: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--forest); color: var(--cream); }

/* ---- Type helpers ---------------------------------------------------------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
.italic { font-style: italic; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--sage);
}
.eyebrow.on-dark { color: var(--sage-light); }
.lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--ink-2); }

/* ---- Layout ---------------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding: clamp(72px, 12vh, 140px) 0; }
.section-sm { padding: clamp(48px, 8vh, 96px) 0; }
.bleed-forest { background: var(--forest); color: var(--cream); }
.bleed-forest-deep { background: var(--forest-deep); color: var(--cream); }
.bleed-paper { background: var(--paper); }
.bleed-cream2 { background: var(--cream-2); }
.center { text-align: center; }

/* ---- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--forest); color: var(--cream);
  font-size: 15px; font-weight: 500; line-height: 1;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 10px 26px -12px rgba(26,50,37,.5); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--forest); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(26,50,37,.05); }
.btn-on-dark { background: var(--cream); color: var(--forest); }
.btn-on-dark:hover { background: #fff; }
.btn-ghost-on-dark { background: transparent; color: var(--cream); border: 1px solid var(--line-on-dark); }
.btn-ghost-on-dark:hover { background: rgba(245,239,228,.08); }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.textlink {
  color: var(--forest); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid transparent; transition: border-color .18s var(--ease);
}
.textlink:hover { border-color: var(--forest); }
.textlink.on-dark { color: var(--sage-light); }

/* ---- Pills / tags ---------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--sage-bg); color: var(--forest);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--forest); }
.pill.on-dark { background: rgba(245,239,228,.1); color: var(--sage-light); }
.pill.on-dark .dot { background: var(--sage-light); }

/* ============================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(245, 239, 228, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(245, 239, 228, 0.9); }
.nav .brand {
  font-family: var(--display); font-size: 27px; color: var(--forest);
  letter-spacing: -0.02em; line-height: 1; font-style: italic;
  display: inline-flex; align-items: center; gap: 9px;
}
.nav .brand .glyph { width: 22px; height: 22px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a.link {
  font-size: 15px; color: var(--ink-2); font-weight: 450;
  position: relative; transition: color .18s var(--ease);
}
.nav-links a.link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1.5px;
  background: var(--forest); transition: right .25s var(--ease);
}
.nav-links a.link:hover { color: var(--forest); }
.nav-links a.link:hover::after,
.nav-links a.link.active::after { right: 0; }
.nav-links a.link.active { color: var(--forest); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  align-items: center; justify-content: center; color: var(--forest);
}
.nav-toggle:hover { background: rgba(26,50,37,.06); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--cream);
  padding: calc(var(--nav-h) + 24px) var(--pad-x) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display); font-size: 34px; color: var(--forest);
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 20px; align-self: flex-start; font-size: 17px; }

/* Page content offset so fixed nav doesn't overlap */
.page { padding-top: var(--nav-h); }

/* ============================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative; min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: clamp(40px, 8vh, 90px) 0 clamp(60px, 10vh, 110px);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(40px, 6vw, 88px);
  align-items: center; width: 100%;
}
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(52px, 8vw, 108px); line-height: 0.96;
  letter-spacing: -0.03em; margin: 26px 0 28px; color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--sage); }
.hero .lede { max-width: 500px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 22px; }

/* soft ambient blobs behind hero */
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1;
  pointer-events: none;
}
.hero-glow.g1 { width: 460px; height: 460px; background: var(--sage-bg); top: -120px; right: -80px; }
.hero-glow.g2 { width: 380px; height: 380px; background: var(--coral-bg); bottom: -140px; left: -100px; opacity: .35; }

/* ============================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-scale.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; }
}

/* ============================================================================
   Section headings
   ========================================================================== */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02;
  letter-spacing: -0.025em; margin: 16px 0 0; color: inherit;
}
.section-head h2 em { font-style: italic; color: var(--sage); }
.bleed-forest .section-head h2 em, .bleed-forest-deep .section-head h2 em { color: var(--sage-light); }
.section-head p { margin: 20px 0 0; max-width: 620px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ============================================================================
   Big statement / pull sections
   ========================================================================== */
.statement {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 4.6vw, 60px); line-height: 1.12;
  letter-spacing: -0.02em;
}
.statement em { font-style: italic; color: var(--sage); }
.bleed-forest .statement em, .bleed-forest-deep .statement em { color: var(--sage-light); }

/* ============================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 34px);
}
.card-dark { background: rgba(245,239,228,.04); border-color: var(--line-on-dark); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Feature card */
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature .ficon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--sage-bg); color: var(--forest);
  display: grid; place-items: center;
}
.bleed-forest .feature .ficon, .bleed-forest-deep .feature .ficon {
  background: rgba(245,239,228,.09); color: var(--sage-light);
}
.feature h3 { font-family: var(--display); font-size: 26px; font-weight: 400; letter-spacing: -0.01em; margin: 4px 0 0; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.bleed-forest .feature p, .bleed-forest-deep .feature p { color: rgba(245,239,228,.8); }

/* ============================================================================
   Stat blocks
   ========================================================================== */
.stat-huge { font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; line-height: 0.9; color: var(--forest); }
.bleed-forest .stat-huge, .bleed-forest-deep .stat-huge { color: var(--sage-light); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.stat-block .num { font-family: var(--display); font-size: clamp(52px, 7vw, 92px); line-height: 0.9; letter-spacing: -0.03em; color: var(--forest); }
.bleed-forest .stat-block .num, .bleed-forest-deep .stat-block .num { color: var(--sage-light); }
.stat-block .desc { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin-top: 16px; max-width: 300px; }
.bleed-forest .stat-block .desc, .bleed-forest-deep .stat-block .desc { color: rgba(245,239,228,.82); }
.stat-block .src { font-size: 13px; color: var(--muted); margin-top: 10px; }
.bleed-forest .stat-block .src, .bleed-forest-deep .stat-block .src { color: rgba(245,239,228,.5); }

/* ============================================================================
   Numbered steps (how it works)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.step { border-top: 1px solid var(--line-on-dark); padding-top: 26px; }
.bleed-paper .step, .bleed-cream2 .step { border-top-color: var(--line-2); }
.step .snum { font-family: var(--display); font-size: 15px; letter-spacing: 0.14em; color: var(--sage-light); opacity: .85; }
.bleed-paper .step .snum, .bleed-cream2 .step .snum { color: var(--sage); opacity: 1; }
.step h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 400; letter-spacing: -0.01em; margin: 12px 0 12px; }
.step p { font-size: 15px; line-height: 1.62; opacity: .86; margin: 0; }

/* ============================================================================
   Triage strip (green / amber / red)
   ========================================================================== */
.triage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.triage-card { border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); background: var(--paper); }
.triage-card .tdot { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 20px; }
.triage-card h3 { font-family: var(--display); font-size: 30px; font-weight: 400; margin: 0 0 8px; letter-spacing: -0.01em; }
.triage-card p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.triage-card .tlabel { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.t-green { border-top: 3px solid var(--green); } .t-green .tdot { background: var(--green); } .t-green .tlabel { color: var(--green); }
.t-amber { border-top: 3px solid var(--amber); } .t-amber .tdot { background: var(--amber); } .t-amber .tlabel { color: var(--amber); }
.t-red   { border-top: 3px solid var(--coral); } .t-red .tdot   { background: var(--coral); } .t-red .tlabel   { color: var(--coral); }

/* ============================================================================
   Comparison table (why Brigid)
   ========================================================================== */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 20px 22px; vertical-align: top; }
.compare thead th { font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.compare thead th.brigid-col { color: var(--forest); font-size: 22px; font-family: var(--display); letter-spacing: -0.01em; text-transform: none; font-weight: 400; }
.compare tbody td { border-bottom: 1px solid var(--line); line-height: 1.5; color: var(--ink-2); }
.compare tbody td:first-child { font-weight: 500; color: var(--ink); font-size: 14px; width: 190px; }
.compare .brigid-col { background: var(--sage-bg); color: var(--ink); }
.compare tbody td.brigid-col { font-weight: 500; }
.compare .check { color: var(--green); font-weight: 600; }
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }

/* ============================================================================
   Roadmap / timeline
   ========================================================================== */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: phase; }
.phase { position: relative; background: rgba(245,239,228,.04); border: 1px solid var(--line-on-dark); border-radius: var(--radius); padding: 30px; }
.bleed-paper .phase, .bleed-cream2 .phase { background: var(--paper); border-color: var(--line); }
.phase .ptag { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-light); font-weight: 600; }
.bleed-paper .phase .ptag, .bleed-cream2 .phase .ptag { color: var(--sage); }
.phase h3 { font-family: var(--display); font-size: 26px; font-weight: 400; margin: 10px 0 14px; letter-spacing: -0.01em; }
.phase ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.phase li { font-size: 14.5px; line-height: 1.5; opacity: .85; padding-left: 20px; position: relative; }
.phase li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

/* ============================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-family: var(--display); font-size: clamp(21px, 2.6vw, 27px); font-weight: 400; letter-spacing: -0.01em; color: var(--ink);
}
.faq-q .fico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s var(--ease); }
.faq-item.open .faq-q .fico { transform: rotate(45deg); background: var(--forest); color: var(--cream); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 0 28px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }
.faq-a-inner a { color: var(--forest); border-bottom: 1px solid var(--line-2); }

/* ============================================================================
   Split / feature-media rows
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 34px);
}
.split h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.02em; margin: 14px 0 20px; }
.split p { margin: 0 0 16px; }
.split ul.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.split ul.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.split ul.ticks li .tk { flex-shrink: 0; color: var(--green); margin-top: 2px; }

/* ============================================================================
   Dashboard preview mock (reused visuals)
   ========================================================================== */
.mock {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mock-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar .d1 { background: #e2b3a2; } .mock-bar .d2 { background: #e6d29a; } .mock-bar .d3 { background: #a9c3a0; }
.mock-bar .mock-title { margin-left: 10px; font-size: 12px; color: var(--muted); }
.mock-body { padding: clamp(18px, 2.6vw, 28px); }
.mini-ring-wrap { display: flex; align-items: center; gap: 18px; }
.trend-grid { display: grid; grid-template-columns: repeat(14, 1fr); gap: 5px; }
.trend-grid .cell { aspect-ratio: 1; border-radius: 4px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--cream-2); color: var(--ink-2); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.live-pill .dot { width: 7px; height: 7px; background: var(--sage); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ============================================================================
   CTA band
   ========================================================================== */
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 auto 20px; max-width: 900px; }
.cta-band h2 em { font-style: italic; color: var(--sage-light); }
.cta-band p { max-width: 560px; margin: 0 auto 34px; color: rgba(245,239,228,.82); font-size: 18px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   Contact form
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border-radius: 14px; background: var(--paper);
  border: 1px solid var(--line-2); outline: none; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px var(--sage-bg); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-success {
  display: none; padding: 18px 20px; border-radius: 14px; background: var(--green-bg); color: var(--green);
  font-size: 15px; font-weight: 500; align-items: center; gap: 10px;
}
.form-success.show { display: flex; }

/* ============================================================================
   Footer
   ========================================================================== */
.footer { background: var(--forest-deep); color: rgba(245,239,228,.72); padding: clamp(56px, 9vh, 96px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer .brand { font-family: var(--display); font-style: italic; font-size: 34px; color: var(--cream); letter-spacing: -0.02em; }
.footer .tag { margin-top: 16px; max-width: 300px; font-size: 15px; line-height: 1.6; color: rgba(245,239,228,.6); }
.footer h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-light); margin: 0 0 18px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: rgba(245,239,228,.72); font-size: 15px; transition: color .18s var(--ease); }
.footer ul a:hover { color: var(--cream); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line-on-dark); font-size: 13px; color: rgba(245,239,228,.5); }

/* ============================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero { padding: clamp(70px, 14vh, 150px) 0 clamp(40px, 6vh, 70px); }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.03em; margin: 20px 0 24px; }
.page-hero h1 em { font-style: italic; color: var(--sage); }
.page-hero .lede { max-width: 640px; }

/* prose */
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin: 0 0 22px; }
.prose h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 400; letter-spacing: -0.01em; margin: 44px 0 16px; }
.prose ul { margin: 0 0 22px; padding-left: 22px; }
.prose li { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin-bottom: 10px; }

/* value cards */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value { padding: 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.value h3 { font-family: var(--display); font-size: 26px; font-weight: 400; margin: 0 0 10px; letter-spacing: -0.01em; }
.value p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* pricing cards */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.tier.featured { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.tier .tname { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--sage); }
.tier.featured .tname { color: var(--sage-light); }
.tier .tprice { font-family: var(--display); font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.tier .tprice small { font-size: 15px; color: var(--muted); font-family: var(--sans); }
.tier.featured .tprice small { color: rgba(245,239,228,.6); }
.tier ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tier li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.tier li .tk { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.tier.featured li .tk { color: var(--sage-light); }

/* the ask */
.ask-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ask-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.ask-item .anum { font-family: var(--display); font-size: 46px; line-height: 1; color: var(--forest); letter-spacing: -0.02em; }
.ask-item h3 { font-size: 17px; font-weight: 600; margin: 14px 0 10px; }
.ask-item p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ============================================================================
   Imagery — illustrations now, photo-ready for later
   ========================================================================== */
/* Frame any illustration or photo. Add .duotone to a photo to tint it into the
   brand palette (see README → "Adding your own photos"). */
.media-figure {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--sage-bg);
  aspect-ratio: 4 / 3;
}
.media-figure.tall { aspect-ratio: 4 / 5; }
.media-figure.square { aspect-ratio: 1 / 1; }
.media-figure > img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.media-figure.contain { background: var(--paper); }
.media-figure.contain > img { object-fit: contain; }
/* Duotone: forces a colour photo into a forest→sage wash so it matches the site */
.media-figure.duotone > img { filter: grayscale(1) contrast(1.04) brightness(1.02); }
.media-figure.duotone::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(145deg, rgba(26,50,37,0.62), rgba(124,152,121,0.22) 70%, rgba(200,154,58,0.18));
  mix-blend-mode: color;
}
.media-figure .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px 16px;
  background: linear-gradient(transparent, rgba(15,36,25,0.78));
  color: var(--cream); font-size: 13px; line-height: 1.4; z-index: 1;
}
/* Round portrait */
.portrait { width: 100%; max-width: 340px; }
.portrait img { width: 100%; display: block; }

/* Soft decorative blob behind a figure */
.figure-wrap { position: relative; }
.figure-wrap .blob {
  position: absolute; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  filter: blur(2px); z-index: -1;
}

/* ============================================================================
   Ambient motion
   ========================================================================== */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(10px) translateX(-8px); } }
.float { animation: floaty 8s var(--ease) infinite; }
.float.slow { animation: floaty2 12s var(--ease) infinite; }
@media (prefers-reduced-motion: reduce) { .float, .float.slow { animation: none; } }

/* ============================================================================
   Paper grain — a whisper of texture over the whole page
   ========================================================================== */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================================
   Testimonial / human voice
   ========================================================================== */
.quote-block { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-mark {
  font-family: var(--display); font-size: 90px; line-height: 0.6; color: var(--sage);
  opacity: 0.5; height: 44px; display: block;
}
.quote-block blockquote {
  font-family: var(--display); font-weight: 400; margin: 0;
  font-size: clamp(26px, 4vw, 46px); line-height: 1.18; letter-spacing: -0.02em; color: var(--ink);
}
.quote-block blockquote em { font-style: italic; color: var(--sage); }
.bleed-forest .quote-block blockquote, .bleed-forest-deep .quote-block blockquote { color: var(--cream); }
.bleed-forest .quote-block blockquote em, .bleed-forest-deep .quote-block blockquote em { color: var(--sage-light); }
.bleed-forest .quote-mark, .bleed-forest-deep .quote-mark { color: var(--sage-light); }
.quote-by { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; }
.quote-by .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--forest), var(--sage));
  color: var(--cream); display: grid; place-items: center;
  font-family: var(--display); font-size: 18px;
}
.quote-by .who { text-align: left; }
.quote-by .who .n { font-weight: 600; font-size: 15px; color: var(--ink); }
.bleed-forest .quote-by .who .n, .bleed-forest-deep .quote-by .who .n { color: var(--cream); }
.quote-by .who .r { font-size: 13px; color: var(--muted); }
.bleed-forest .quote-by .who .r, .bleed-forest-deep .quote-by .who .r { color: rgba(245,239,228,0.6); }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: auto; }
  .grid-3, .grid-4, .stat-row, .steps, .triage, .roadmap, .values, .tiers, .ask-grid { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
