/* ============================================================
   HomeField Growth — shared stylesheet
   Palette: deep forest / warm ivory / stone / muted brass
   Type: Source Serif 4 (display) + Archivo (UI + body)
   ============================================================ */

:root {
  /* Color */
  --ink:          #16241d;
  --forest:       #1f4034;
  --forest-mid:   #2c5344;
  --forest-deep:  #10211a;
  --ivory:        #fbf8f1;
  --ivory-warm:   #f5f1e6;
  --stone:        #ebe6d9;
  --stone-line:   #ddd6c4;
  --gray:         #6c6a60;
  --gray-light:   #9a9789;
  --brass:        #927535;
  --brass-soft:   #c3a463;
  --white:        #ffffff;

  /* Type */
  --display: "Source Serif 4", "Source Serif Pro", Charter, "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Scale */
  --step--1: 0.875rem;
  --step-0:  1.0625rem;
  --step-1:  1.25rem;
  --step-2:  1.5rem;
  --step-3:  clamp(1.75rem, 1.4rem + 1.5vw, 2.375rem);
  --step-4:  clamp(2.125rem, 1.6rem + 2.4vw, 3.25rem);
  --step-5:  clamp(2.625rem, 1.7rem + 4vw, 4.75rem);

  /* Space */
  --gutter: 1.5rem;
  --maxw: 76rem;
  --maxw-narrow: 48rem;
  --section-y: clamp(4rem, 3rem + 6vw, 7.5rem);

  --radius: 3px;
  --radius-lg: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.2; }
h4 { font-size: var(--step-1); line-height: 1.3; }
p  { margin: 0 0 1.15em; max-width: 66ch; }
ul { margin: 0 0 1.15em; padding-left: 1.1em; }
li { margin-bottom: 0.4em; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 200;
  background: var(--forest); color: var(--ivory);
  padding: 0.7rem 1rem; border-radius: var(--radius);
  font-size: var(--step--1); font-weight: 600; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.band-ivory { background: var(--ivory); }
.band-warm  { background: var(--ivory-warm); }
.band-stone { background: var(--stone); }
.band-forest { background: var(--forest); color: var(--ivory); }
.band-deep   { background: var(--forest-deep); color: var(--ivory); }
.band-forest h1, .band-forest h2, .band-forest h3, .band-forest h4,
.band-deep h1, .band-deep h2, .band-deep h3, .band-deep h4 { color: var(--ivory); }
.band-forest p, .band-deep p { color: rgba(251, 248, 241, 0.8); }

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--gray); max-width: 56ch; }
.band-forest .lede, .band-deep .lede { color: rgba(251, 248, 241, 0.82); }
.muted { color: var(--gray); }
.small { font-size: var(--step--1); line-height: 1.55; }

/* Section headers */
.sec-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }
.sec-head.centered { margin-inline: auto; text-align: center; }
.sec-head p:last-child { margin-bottom: 0; }

/* Brand mark used on product labels — part of the identity, kept deliberate */
.mark {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-block;
  margin-bottom: 0.9rem;
}
.band-forest .mark, .band-deep .mark { color: var(--brass-soft); }

/* Hairline rule motif — the "field line" */
.rule { height: 1px; background: var(--stone-line); border: 0; margin: 0; }
.band-forest .rule, .band-deep .rule { background: rgba(251, 248, 241, 0.16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.005em;
  padding: 0.9rem 1.55rem;
  border-radius: var(--radius);
  text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn-primary { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.btn-primary:hover { background: var(--forest-deep); border-color: var(--forest-deep); }
.btn-ghost { background: transparent; color: var(--forest); border-color: rgba(31, 64, 52, 0.3); }
.btn-ghost:hover { border-color: var(--forest); background: rgba(31, 64, 52, 0.05); }
.btn-light { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.btn-light:hover { background: var(--stone); border-color: var(--stone); }
.btn-outline-light { background: transparent; color: var(--ivory); border-color: rgba(251, 248, 241, 0.35); }
.btn-outline-light:hover { border-color: var(--ivory); background: rgba(251, 248, 241, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.textlink {
  font-weight: 600; font-size: 0.95rem; color: var(--forest);
  text-decoration: none; border-bottom: 1.5px solid rgba(146, 117, 53, 0.5);
  padding-bottom: 2px;
  transition: border-color 0.18s var(--ease);
}
.textlink:hover { border-color: var(--brass); }
.band-forest .textlink, .band-deep .textlink { color: var(--ivory); border-color: rgba(195, 164, 99, 0.6); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone-line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 4.5rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
.wordmark-text {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem;
  letter-spacing: -0.02em; line-height: 1;
}
.wordmark .wm-accent { color: var(--forest); }
.logo-mark {
  flex: none; display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 4px;
  background: var(--forest); color: var(--ivory);
  font-family: var(--sans); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.04em; padding-right: 0.02em;
}

.nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li { margin: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 0.55rem 0.75rem; border-radius: var(--radius);
  background: none; border: 0; font-family: var(--sans); cursor: pointer;
}
.nav-link:hover { color: var(--forest); background: rgba(31, 64, 52, 0.05); }
.nav-link[aria-current="page"] { color: var(--forest); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.caret { width: 9px; height: 9px; transition: transform 0.2s var(--ease); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 0.5rem); left: 0;
  min-width: 19rem; background: var(--white);
  border: 1px solid var(--stone-line); border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px -18px rgba(22, 36, 29, 0.45);
  padding: 0.5rem; list-style: none; margin: 0;
  display: none;
}
.dropdown-panel.open { display: block; }
.dropdown-panel a {
  display: block; padding: 0.7rem 0.85rem; text-decoration: none;
  border-radius: var(--radius); color: var(--ink);
}
.dropdown-panel a:hover { background: var(--ivory-warm); }
.dropdown-panel strong { display: block; font-weight: 600; font-size: 0.95rem; }
.dropdown-panel em {
  display: block; font-style: normal; font-size: 0.78rem; color: var(--gray);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-top: 2px;
}
.nav-cta { margin-left: 0.5rem; padding: 0.7rem 1.15rem; font-size: 0.88rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--stone-line);
  border-radius: var(--radius); padding: 0.55rem 0.7rem; cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu { display: none; border-top: 1px solid var(--stone-line); background: var(--ivory); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0.75rem 0 1.25rem; }
.mobile-menu li { margin: 0; }
.mobile-menu ul a {
  display: block; padding: 0.8rem 0; text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--stone-line);
}
.mobile-menu .sub { padding-left: 1rem; font-size: 0.95rem; color: var(--gray); }
.mobile-menu .btn { width: 100%; margin-top: 1.25rem; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.25rem, 2rem + 6vw, 6rem) clamp(3.5rem, 2rem + 6vw, 6rem); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--stone-line);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: center;
}
.hero h1 { margin-bottom: 0.35em; }
.hero-kicker {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--brass);
  margin: 0 0 1.4rem;
}
.hero-sub { font-size: var(--step-1); line-height: 1.5; color: var(--gray); max-width: 34rem; }

.triad { display: flex; flex-wrap: wrap; gap: 0.5rem 2.25rem; margin: 2.25rem 0 0; }
.triad div {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--forest);
}
.tagline-sub { margin-top: 2.25rem; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--gray); }

/* Hero diagram */
.flowfig { width: 100%; height: auto; }
.flowfig .node-label { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; fill: var(--forest); }
.flowfig .out-label { font-family: var(--sans); font-size: 11.5px; font-weight: 600; fill: var(--ivory); }
.flowfig .out-sub { font-family: var(--sans); font-size: 9.5px; font-weight: 500; fill: rgba(251,248,241,0.65); letter-spacing: 0.08em; }
.flowfig .wire { stroke: var(--stone-line); stroke-width: 1.25; fill: none; }
.flowfig .pulse { stroke: var(--brass); stroke-width: 1.5; fill: none; stroke-dasharray: 4 96; animation: travel 5s linear infinite; }
.flowfig .pulse.b { animation-delay: 1.7s; }
.flowfig .pulse.c { animation-delay: 3.4s; }
@keyframes travel { to { stroke-dashoffset: -100; } }

/* ---------- Demand framework (3 behaviors) ---------- */
.behaviors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(251,248,241,0.2); }
.behavior { padding: 2.25rem 1.75rem 0 0; }
.behavior + .behavior { padding-left: 2rem; border-left: 1px solid rgba(251,248,241,0.2); }
.behavior h3 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1rem; }
.behavior p { font-size: 1.05rem; color: rgba(251,248,241,0.82); margin-bottom: 1.25rem; }
.behavior .maps-to { font-size: 0.92rem; color: var(--ivory); font-weight: 600; }
.behavior .maps-to em { font-style: normal; display: block; color: rgba(251,248,241,0.55); font-weight: 500; font-size: 0.85rem; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.product {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--stone-line);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
}
.product h3 { margin-bottom: 0.6rem; }
.product .cap-list { list-style: none; padding: 0; margin: 1.4rem 0 0; border-top: 1px solid var(--stone-line); padding-top: 1.1rem; }
.product .cap-list li { font-size: 0.92rem; color: var(--gray); padding-left: 1rem; position: relative; margin-bottom: 0.5rem; }
.product .cap-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 1px; background: var(--brass); }
.product .card-foot { margin-top: auto; padding-top: 1.6rem; }
.product.feature { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.product.feature h3 { color: var(--ivory); }
.product.feature p { color: rgba(251,248,241,0.82); }
.product.feature .cap-list { border-color: rgba(251,248,241,0.2); }
.product.feature .cap-list li { color: rgba(251,248,241,0.72); }
.product.feature .cap-list li::before { background: var(--brass-soft); }
.product.feature .mark { color: var(--brass-soft); }
.product-note { font-size: 0.85rem; color: rgba(251,248,241,0.6); margin-top: 1rem; margin-bottom: 0; }

/* ---------- Growth system diagram ---------- */
.system-fig { width: 100%; height: auto; margin-top: 1rem; }
.system-fig text { font-family: var(--sans); }
.system-fig .track-name { font-size: 12px; font-weight: 700; letter-spacing: 0.11em; fill: var(--forest); }
.system-fig .track-sub { font-size: 11px; font-weight: 500; fill: var(--gray); }
.system-fig .prod { font-size: 13px; font-weight: 600; fill: var(--ink); font-family: var(--display); }
.system-fig .chain { font-size: 11.5px; font-weight: 600; fill: var(--ivory); letter-spacing: 0.06em; }
.system-fig .wire { stroke: var(--stone-line); stroke-width: 1.25; fill: none; }
.system-fig .flow { stroke: var(--brass); stroke-width: 1.5; fill: none; stroke-dasharray: 6 200; animation: travel2 7s linear infinite; }
.system-fig .flow.b { animation-delay: 2.3s; }
.system-fig .flow.c { animation-delay: 4.6s; }
@keyframes travel2 { to { stroke-dashoffset: -412; } }
.system-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.system-col { border-top: 2px solid var(--forest); padding-top: 1rem; }
.system-col h4 { font-family: var(--sans); font-size: 0.95rem; margin-bottom: 0.35rem; }
.system-col p { font-size: 0.92rem; color: var(--gray); margin: 0; }

/* ---------- Community spotlight ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: start; }
.post-stack { display: grid; gap: 1rem; }
.post {
  background: var(--white); border: 1px solid var(--stone-line);
  border-radius: var(--radius-lg); padding: 1.1rem 1.25rem;
  box-shadow: 0 10px 30px -24px rgba(22,36,29,0.5);
}
.post-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--stone); flex: none; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: var(--forest); }
.post-meta { font-size: 0.75rem; color: var(--gray-light); line-height: 1.3; }
.post-meta strong { display: block; font-size: 0.85rem; color: var(--ink); font-weight: 600; }
.post-body { font-size: 1rem; margin: 0; color: var(--ink); }
.post.flagged { border-color: var(--brass); }
.post-flag {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass);
}
.post-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px rgba(146,117,53,0.18); }

.radar-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.radar-list li { border-top: 1px solid var(--stone-line); padding: 1rem 0; margin: 0; }
.radar-list strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.radar-list span { font-size: 0.94rem; color: var(--gray); }

.audit-box { background: var(--ivory-warm); border-left: 3px solid var(--brass); padding: 1.5rem 1.6rem; margin-top: 2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.audit-box h4 { margin-bottom: 0.5rem; }
.audit-box ul { columns: 2; column-gap: 1.5rem; font-size: 0.92rem; color: var(--gray); margin-bottom: 0; padding-left: 1.1em; }
@media (max-width: 620px) { .audit-box ul { columns: 1; } }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.case {
  border: 1px solid rgba(251,248,241,0.18); border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem; display: flex; flex-direction: column;
  background: rgba(251,248,241,0.03);
}
.case-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--brass-soft); }
.case-top span:last-child { color: rgba(251,248,241,0.5); }
.case-figure { font-family: var(--display); font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); line-height: 1; margin: 1.4rem 0 0.35rem; color: var(--ivory); letter-spacing: -0.02em; }
.case-figure-label { font-size: 0.85rem; color: rgba(251,248,241,0.6); margin: 0 0 1.4rem; }
.case-metrics { list-style: none; padding: 0; margin: 0 0 1.4rem; border-top: 1px solid rgba(251,248,241,0.18); }
.case-metrics li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; margin: 0; font-size: 0.92rem; border-bottom: 1px solid rgba(251,248,241,0.1); color: rgba(251,248,241,0.75); }
.case-metrics li b { font-weight: 600; color: var(--ivory); font-variant-numeric: tabular-nums; }
.case p { font-size: 0.94rem; color: rgba(251,248,241,0.72); margin: auto 0 0; }

.quote { border-left: 2px solid var(--brass); padding-left: 1.5rem; margin: 0; }
.quote p { font-family: var(--display); font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.quote footer { font-size: 0.88rem; color: var(--gray); font-weight: 500; }
.band-deep .quote p, .band-forest .quote p { color: var(--ivory); }
.band-deep .quote footer, .band-forest .quote footer { color: rgba(251,248,241,0.6); }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 1.5rem 0 0; position: relative; }
.step + .step { padding-left: 1.75rem; border-left: 1px solid var(--stone-line); }
.step-n {
  font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--brass);
  display: block; margin-bottom: 1.1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--stone-line);
  max-width: 2.5rem;
}
.step h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.5rem; }
.step p { font-size: 0.94rem; color: var(--gray); margin: 0; }

/* ---------- Stages (after you become a client) ---------- */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; }
.stage { border-top: 1px solid var(--stone-line); padding-top: 1rem; }
.stage h4 { font-family: var(--sans); font-size: 0.98rem; margin-bottom: 0.3rem; }
.stage p { font-size: 0.92rem; color: var(--gray); margin: 0; }

/* ---------- Measurement ladder ---------- */
.ladder { display: grid; gap: 0; max-width: 34rem; }
.rung {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding: 1.05rem 1.35rem; background: var(--white);
  border: 1px solid var(--stone-line); border-bottom: 0;
}
.rung:last-child { border-bottom: 1px solid var(--stone-line); background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.rung:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.rung:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.rung b { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; flex: none; width: 11.5rem; }
.rung span { font-size: 0.92rem; color: var(--gray); }
.rung:last-child span { color: rgba(251,248,241,0.75); }
.rung-shade-1 { background: var(--white); }
.rung-shade-2 { background: #fdfcf8; }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--stone-line); border-radius: var(--radius-lg); overflow: hidden; }
.compare-col { padding: 2rem 1.85rem; }
.compare-col:first-child { background: var(--ivory-warm); }
.compare-col:last-child { background: var(--forest); color: var(--ivory); }
.compare-col h3 { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.compare-col:first-child h3 { color: var(--gray); }
.compare-col:last-child h3 { color: var(--brass-soft); }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li { padding: 0.85rem 0; border-top: 1px solid var(--stone-line); font-size: 1rem; margin: 0; }
.compare-col:last-child li { border-color: rgba(251,248,241,0.18); }
.compare-col li:first-child { border-top: 0; padding-top: 0; }

/* ---------- Why / differentiators ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.why-item { border-top: 2px solid var(--forest); padding-top: 1.1rem; }
.why-item h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin-bottom: 0.45rem; }
.why-item p { font-size: 0.94rem; color: var(--gray); margin: 0; }

/* ---------- Fit ---------- */
.fit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 4rem); }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { padding: 0.7rem 0 0.7rem 1.9rem; border-top: 1px solid var(--stone-line); position: relative; margin: 0; font-size: 0.98rem; }
.fit h3 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 1rem; }
.fit .yes li::before {
  content: ""; position: absolute; left: 0; top: 1.15em;
  width: 10px; height: 5px; border-left: 1.5px solid var(--forest); border-bottom: 1.5px solid var(--forest);
  transform: rotate(-45deg);
}
.fit .no li::before {
  content: ""; position: absolute; left: 0; top: 1.35em; width: 11px; height: 1.5px; background: var(--gray-light);
}
.fit .no { color: var(--gray); }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--stone-line); }
.faq details:first-of-type { border-top: 1px solid var(--stone-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0;
  font-size: 1.08rem; font-weight: 600; position: relative;
  font-family: var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 1.75rem;
  width: 11px; height: 11px; border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: rotate(45deg); transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.95rem; }
.faq .answer { padding: 0 2.5rem 1.4rem 0; }
.faq .answer p { color: var(--gray); margin-bottom: 0.8em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA block ---------- */
.cta-block { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.cta-block h2 { margin-bottom: 0.4em; }
.cta-points { list-style: none; padding: 0; margin: 0; }
.cta-points li { padding: 0.7rem 0; border-top: 1px solid rgba(251,248,241,0.18); font-size: 0.96rem; color: rgba(251,248,241,0.8); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-deep); color: rgba(251,248,241,0.7); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer a { color: rgba(251,248,241,0.7); text-decoration: none; }
.footer a:hover { color: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer .wordmark { color: var(--ivory); }
.footer .wordmark .wm-accent { color: var(--brass-soft); }
.footer .logo-mark { background: var(--brass-soft); color: var(--forest-deep); }
.footer h4 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.6rem; font-size: 0.94rem; }
.footer-tag { font-family: var(--display); font-style: italic; margin: 1rem 0 0; font-size: 1.02rem; color: rgba(251,248,241,0.6); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(251,248,241,0.14);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.85rem;
}

/* ---------- Product page hero ---------- */
.phero { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.phero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: center; }
.phero h1 { font-size: var(--step-4); }
.phero .product-name { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-soft); margin: 0 0 1rem; }
.phero .outcome { font-family: var(--display); font-size: clamp(2.5rem, 2rem + 2.5vw, 3.75rem); line-height: 1; color: var(--ivory); margin: 0 0 1.5rem; letter-spacing: -0.02em; }

/* mechanism panels */
.mech { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.mech-item { background: var(--white); border: 1px solid var(--stone-line); border-radius: var(--radius-lg); padding: 1.75rem; }
.mech-item h3 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 0.5rem; }
.mech-item p { font-size: 0.95rem; color: var(--gray); margin: 0; }
.mech-item .mark { margin-bottom: 0.6rem; }

.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.included ul { list-style: none; padding: 0; margin: 0; }
.included li { padding: 0.8rem 0; border-top: 1px solid var(--stone-line); font-size: 0.98rem; margin: 0; }

/* case detail on product pages */
.case-detail { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: center; }
.case-panel { background: var(--forest); color: var(--ivory); border-radius: var(--radius-lg); padding: 2rem 1.9rem; }
.case-panel .case-figure { margin-top: 0.75rem; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--stone-line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em; }
.field .hint { font-size: 0.78rem; color: var(--gray-light); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 0.75rem 0.85rem; border: 1px solid var(--stone-line);
  border-radius: var(--radius); background: var(--ivory); width: 100%;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); background: var(--white); }
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5L6 8.5L10 4.5' stroke='%236c6a60' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 12px; padding-right: 2.25rem; }
.radio-set { display: grid; gap: 0.6rem; grid-template-columns: 1fr 1fr; }
.radio-opt {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem;
  border: 1px solid var(--stone-line); border-radius: var(--radius); cursor: pointer; font-size: 0.94rem;
  background: var(--ivory);
}
.radio-opt:hover { border-color: var(--forest); }
.radio-opt input { width: auto; accent-color: var(--forest); }
.form-foot { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--stone-line); }
.form-foot .btn { width: 100%; }
.form-foot p { font-size: 0.84rem; color: var(--gray); margin: 1rem 0 0; }
fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
legend { font-family: var(--display); font-size: 1.2rem; font-weight: 600; padding: 0; margin-bottom: 1rem; }

.success-state { display: none; text-align: left; }
.success-state.show { display: block; }
.success-mark { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--brass); display: grid; place-items: center; margin-bottom: 1.5rem; }
.success-mark svg { width: 20px; height: 20px; }
.next-steps { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.next-steps li { border-top: 1px solid var(--stone-line); padding: 0.9rem 0; font-size: 0.96rem; color: var(--gray); margin: 0; }
.next-steps li b { color: var(--ink); font-weight: 600; }

.assess-list { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.assess-list li { border-top: 1px solid var(--stone-line); padding: 0.85rem 0; font-size: 0.98rem; margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .spotlight, .phero-grid, .form-wrap, .case-detail, .cta-block { grid-template-columns: 1fr; }
  .products, .cases, .system-cols, .why-grid, .stages { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .behaviors { grid-template-columns: 1fr; }
  .behavior { padding: 1.75rem 0 0; }
  .behavior + .behavior { padding-left: 0; border-left: 0; border-top: 1px solid rgba(251,248,241,0.2); }
  .compare { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mech, .included { grid-template-columns: 1fr; }
  .included li:first-child { border-top: 1px solid var(--stone-line); }
}
@media (max-width: 640px) {
  .products, .cases, .system-cols, .why-grid, .stages, .steps { grid-template-columns: 1fr; }
  .step { padding: 0; }
  .step + .step { padding-left: 0; border-left: 0; padding-top: 1.75rem; border-top: 1px solid var(--stone-line); }
  .field-grid, .radio-set { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .rung { flex-direction: column; gap: 0.15rem; }
  .rung b { width: auto; }
  h1 { letter-spacing: -0.02em; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .flowfig .pulse, .system-fig .flow { display: none; }
}

@media print {
  .nav, .footer { display: none; }
}

/* ---------- Growth System map (CSS-based so it reflows on mobile) ---------- */
.system-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 19rem);
  align-items: center;
}
.track {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem; align-items: center;
  padding: 1.6rem 1.75rem 1.6rem 0; border-top: 1px solid var(--stone-line);
}
.tracks .track:last-child { border-bottom: 1px solid var(--stone-line); }
.track-q { font-family: var(--display); font-size: 1.1rem; line-height: 1.35; margin: 0; color: var(--ink); }
.track-p span {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 0.3rem;
}
.track-p strong { font-family: var(--display); font-size: 1.2rem; font-weight: 600; display: block; }
.track-p em { font-style: normal; font-size: 0.92rem; color: var(--gray); }
.connector { width: 96px; height: 300px; }
.connector .wire { stroke: var(--stone-line); stroke-width: 1.25; fill: none; }
.connector .flow { stroke: var(--brass); stroke-width: 1.5; fill: none; stroke-dasharray: 4 96; animation: travel 5s linear infinite; }
.connector .flow.b { animation-delay: 1.7s; }
.connector .flow.c { animation-delay: 3.4s; }
.chain-panel { background: var(--forest); color: var(--ivory); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; }
.chain-panel h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 0.75rem; }
.chain-row { padding: 0.85rem 0; border-bottom: 1px solid rgba(251, 248, 241, 0.18); font-size: 0.98rem; font-weight: 600; }
.chain-row:last-child { border-bottom: 0; padding-bottom: 0; }
.chain-row em { display: block; font-style: normal; font-weight: 400; font-size: 0.82rem; color: rgba(251, 248, 241, 0.55); margin-top: 0.1rem; }

@media (max-width: 1024px) {
  .system-map { grid-template-columns: 1fr; gap: 2rem; }
  .connector { display: none; }
  .track { padding-right: 0; }
}
@media (max-width: 640px) {
  .track { grid-template-columns: 1fr; gap: 0.85rem; }
}
@media (max-width: 980px) {
  .nav-cta { display: none; }
}


/* ---------- Late refinements ---------- */
.product > p.small { font-size: 0.96rem; line-height: 1.6; }
.group-label { font-size: 0.85rem; font-weight: 600; display: block; margin-bottom: 0.15rem; }
.assess-list li b { font-weight: 600; }
.phero .lede { max-width: 38rem; }
.case-panel .case-top { color: var(--brass-soft); }
.sec-head h2:last-child { margin-bottom: 0; }


/* ---------- Specificity corrections ---------- */
/* `.case p` (0,1,1) was overriding the figure classes (0,1,0). */
.case p.case-top { margin: 0; }
.case p.case-figure {
  font-family: var(--display);
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--ivory); margin: 1.5rem 0 0.35rem;
}
.case p.case-figure-label { font-size: 0.85rem; color: rgba(251, 248, 241, 0.6); margin: 0 0 1.5rem; }

/* Connector should span the full height of the three tracks so the curves
   meet each row's centre line. */
.connector { align-self: stretch; height: 100%; }

/* Triad in the hero was wrapping "Get Recommended." */

.product .cap-list li::before { top: 0.78em; }
.flowfig .fig-head { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; fill: var(--gray-light); }


/* Mobile: stack the three-part framework instead of dividing it vertically. */
@media (max-width: 640px) {
  .triad { gap: 0.45rem 1.5rem; }
}


/* ---------- v2 ---------- */
/* The feature card sits on forest inside an ivory band, so its link needs
   the light treatment the band selectors don't reach. */
.product.feature .textlink { color: var(--ivory); border-color: rgba(195, 164, 99, 0.65); }
.product.feature .textlink:hover { border-color: var(--brass-soft); }

/* Hero outcome panel */
.flowfig .eyebrow { font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; fill: var(--brass-soft); }
.flowfig .big { font-family: var(--display); font-size: 31px; font-weight: 600; fill: var(--ivory); letter-spacing: -0.015em; }
.flowfig .chain-txt { font-family: var(--sans); font-size: 11.5px; font-weight: 500; fill: rgba(251, 248, 241, 0.78); }
.flowfig .chain-txt.last { font-weight: 600; fill: var(--brass-soft); }


/* ---------- Form submission states ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* `.form-foot p` (0,1,1) outranks `.form-error` (0,1,0), which was eating the
   margin and font-size and letting the button sit flush against the message. */
.form-foot p.form-error {
  background: #fdf3ef; border-left: 3px solid #a5442b; color: #7c3320;
  padding: 0.85rem 1rem; margin: 0 0 1.25rem; font-size: 0.92rem; line-height: 1.5;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form-foot .btn[disabled] { opacity: 0.6; cursor: progress; }


/* ---------- Field alignment ---------- */
/* The "Towns, counties, or metro" hint wraps its label onto a second line,
   which pushed that input below its neighbour. Put hints on their own line and
   bottom-align the controls so inputs stay level however the labels wrap.
   Direct children only — radio inputs inside .radio-set must not be affected. */
.field .hint { display: block; margin-top: 0.1rem; }
.field > input, .field > select, .field > textarea { margin-top: auto; }
