/* DNA Growth Co. — design tokens.
   Every value here was checked against WCAG before it was written down:
   ink 17.5:1, ink-soft 7.9:1, accent 5.9:1, accent-lift on ink 8.1:1,
   signal 5.2:1. The original ochre (#C8651B) measured 3.80:1 and was
   darkened — it would have failed on anything body-sized. */

:root {
  /* ground + ink */
  --paper:        #FBFBF9;   /* warm white, not clinical */
  --paper-2:      #F4F5F2;   /* alternating section ground */
  --ink:          #14161A;
  --ink-soft:     #4A5058;
  --ink-mute:     #6E6E67;   /* 4.96:1 on paper — #9A9A93 measured 2.73:1 and failed */
  --ink-mute-dk:  #9A9A93;   /* the same role on the dark band, where it is light-on-dark */
  --rule:         #E3E3DD;

  /* accent */
  --accent:       #1F6F4A;   /* growth, money, and not the blue every agency uses */
  --accent-soft:  #E8F1EC;
  --accent-lift:  #5FC08D;   /* the accent, on dark */

  /* data */
  --signal:       #A85314;   /* FIGURES ONLY — never body copy */

  /* type */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* scale */
  --t-display:  clamp(38px, 5.2vw, 58px);
  --t-h2:       clamp(27px, 3.3vw, 36px);
  --t-h3:       21px;
  --t-body-lg:  19px;
  --t-body:     17px;
  --t-small:    14px;
  --t-label:    10px;

  /* spacing — 8px base */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  16px;
  --s-4:  24px;
  --s-5:  40px;
  --s-6:  72px;
  --s-7:  120px;

  /* layout */
  --measure:    66ch;   /* running text never wider than this */
  --container:  1120px;
  --gutter:     clamp(20px, 5vw, 44px);

  --radius:     5px;
  --tap:        44px;   /* minimum touch target */
}


/* DNA Growth Co. — the register is a published report, not a marketing site.
   Hairline rules and white space do the dividing. No cards, no shadows, no
   rounded tinted panels: the moment it gets cards it looks like every other
   agency, and the differentiator here is that the evidence is real. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 50;
}
.skip:focus { left: 12px; top: 12px; }

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

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-6); }
.section-tight { padding-block: var(--s-5); }
.ground-2 { background: var(--paper-2); }
.measure { max-width: var(--measure); }
.stack > * + * { margin-top: var(--s-3); }
.stack-lg > * + * { margin-top: var(--s-4); }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--t-display); line-height: 1.08; letter-spacing: .004em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--t-h2); line-height: 1.18; text-wrap: balance;
}
.h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; }
.body-lg { font-size: var(--t-body-lg); color: var(--ink-soft); line-height: 1.6; }
.body { color: var(--ink-soft); }
.small { font-size: var(--t-small); color: var(--ink-soft); line-height: 1.6; }
.label {
  font-family: var(--font-mono); font-size: var(--t-label); font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute);
}
.lede { font-size: var(--t-body-lg); color: var(--ink-soft); }
strong, b { font-weight: 600; color: var(--ink); }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-3); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .wordmark { font-family: var(--font-display); font-size: 21px; line-height: 1; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  display: inline-flex; align-items: center; min-height: var(--tap); }  /* was 23px tall */
.nav a:hover { color: var(--ink); }
.nav a.is-current { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 0 24px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #185B3C; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-text {
  min-height: 0; padding: 0; color: var(--accent); font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px;
}
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 104px) var(--s-6); }
.hero .display { max-width: 15ch; }
.hero .lede { max-width: 54ch; margin-top: var(--s-4); }
.hero .actions { margin-top: var(--s-5); }
.hero-note { margin-top: var(--s-3); font-size: var(--t-small); color: var(--ink-mute); }

/* ---------- proof strip ---------- */
.proof {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.proof.cols-2 { grid-template-columns: repeat(2, 1fr); }
.proof > * + * { border-left: 1px solid var(--rule); }
.proof-item { padding: var(--s-4) var(--s-4) var(--s-4) 0; }
.proof > * + * .proof-item { padding-left: var(--s-4); }
.proof .who { font-size: var(--t-small); font-weight: 600; }
.proof .where { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.proof .metric {
  font-family: var(--font-mono); font-weight: 500; font-size: 15px;
  color: var(--signal); margin-top: var(--s-2); font-variant-numeric: tabular-nums;
}

/* ---------- the three stages ---------- */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.stage { background: var(--paper); padding: var(--s-4); }
.stage .n { font-family: var(--font-mono); font-size: var(--t-label); letter-spacing: .2em; color: var(--accent); }
.stage h3 { margin-top: var(--s-2); }
.stage p { margin-top: var(--s-2); font-size: var(--t-small); color: var(--ink-soft); }

/* ---------- dark band — one per page, maximum ---------- */
.band-dark { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: var(--s-5); }
.band-dark .quote { font-family: var(--font-display); font-size: clamp(23px, 3vw, 31px); line-height: 1.32; }
.band-dark .attrib { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute-dk); margin-top: var(--s-3); }
.band-dark .body { color: #C9CBC8; }

/* ---------- the figure convention: evidence, not decoration ---------- */
figure { margin: 0; }
figure .frame { border: 1px solid var(--rule); background: #fff; border-radius: 3px; padding: var(--s-3); }
figcaption {
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.6;
  color: var(--ink-soft); margin-top: var(--s-2);
}
figcaption b { color: var(--ink); font-weight: 500; }

/* ---------- stat block ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.stat { background: var(--paper); padding: var(--s-4) var(--s-3); }
.stat .v {
  font-family: var(--font-mono); font-weight: 500; font-size: clamp(24px, 3.4vw, 32px);
  color: var(--signal); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat .k { font-size: 13px; color: var(--ink-soft); margin-top: var(--s-2); line-height: 1.4; }

/* ---------- who it's for ---------- */
.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.chip { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 100px; color: var(--ink-soft); }
.chip-no { color: var(--ink-mute); text-decoration: line-through; text-decoration-thickness: 1px; }

/* ---------- rules ---------- */
.hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: var(--s-5); margin-top: var(--s-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5); }
.footer-grid h4 { font-family: var(--font-mono); font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; margin: 0 0 var(--s-3); }
.footer-grid a { display: block; font-size: var(--t-small); color: var(--ink-soft); text-decoration: none; padding-block: 5px; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-mute); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: var(--s-4); }
  .stages { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .header-in { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .nav { flex-wrap: wrap; gap: var(--s-2) var(--s-4); width: 100%; }
  .nav .btn { width: 100%; }
  /* .proof.cols-2 is (0,2,0) and was beating a bare .proof here, so the strip
     stayed two columns at 390px. Both selectors, explicitly. */
  .proof, .proof.cols-2 { grid-template-columns: 1fr; }
  .proof > * + * { border-left: 0; border-top: 1px solid var(--rule); }
  .proof > * + * .proof-item { padding-left: 0; }
  .proof-item { padding-inline: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero .display { max-width: none; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
