/* LEAPVG site styles, v3. Editorial, high-contrast, restrained: large serif
   statements, full-bleed deep-green bands, hairlines instead of boxes, and
   original survey-map artwork instead of stock photography.
   Color tokens are sampled from the logo; src/tokens.mjs mirrors them for the
   build's contrast check. */

@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-var-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-green: #0A4437;
  --color-deep: #062A22;
  --color-moss: #1F5E4E;
  --color-ink: #1B2A27;
  --color-slate: #3E4A47;
  --color-bronze: #8A5A24;
  --color-champagne: #E2C08A;
  --color-brass: #C2965A;
  --color-paper: #F7F6F1;
  --color-mist: #E6ECE8;
  --color-white: #FFFFFF;
  --color-error: #A3271F;

  --line: rgba(27, 42, 39, 0.14);
  --line-strong: rgba(27, 42, 39, 0.6);
  --line-dark: rgba(247, 246, 241, 0.18);

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: Manrope, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section-y: clamp(72px, 9.5vw, 144px);
  --header-h: 84px;
  --radius: 4px;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-slate);
  font-family: var(--font-sans);
  font-size: clamp(16px, 0.96rem + 0.14vw, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.5rem + 3.9vw, 5rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.95rem, 1.35rem + 2vw, 3.2rem); letter-spacing: -0.016em; }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); line-height: 1.22; font-weight: 500; }
h4 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.15s;
}
a:hover { color: var(--color-deep); text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--color-green); outline-offset: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--color-champagne); }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--color-white);
  color: var(--color-green);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Type helpers */

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-bronze);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lede {
  max-width: 44em;
  color: var(--color-slate);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem);
  line-height: 1.5;
}

.measure { max-width: 42em; }
.small { font-size: 0.9rem; }
.note-text { color: var(--color-slate); font-size: 0.9rem; }

.on-dark { color: rgba(247, 246, 241, 0.86); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--color-paper); }
.on-dark a:not(.btn) { color: var(--color-champagne); }
.on-dark .eyebrow { color: var(--color-champagne); }
.on-dark .lede { color: rgba(247, 246, 241, 0.9); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  text-decoration: none;
}
.arrow-link svg { flex: none; width: 1.05em; height: 1.05em; transition: transform 0.2s; }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover svg { transform: translateX(4px); }

/* Owner-input placeholders (development builds only).
   Deliberately off-brand so nobody mistakes them for finished design. */
.ph {
  padding: 1px 6px;
  border: 1.5px dashed #B45309;
  border-radius: 3px;
  background: #FFF4C2;
  color: #4A2A00;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ph__id { font-weight: 700; }

.draft-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1.5px dashed #B45309;
  border-radius: 3px;
  background: #FFF4C2;
  color: #4A2A00;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(6, 42, 34, 0.18);
}
.draft-bar a { color: #4A2A00; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 13px 26px;
  border: 1.5px solid var(--color-green);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--color-green); color: var(--color-white); }
.btn--primary:hover { background: var(--color-deep); border-color: var(--color-deep); color: var(--color-white); }
.btn--secondary { background: transparent; color: var(--color-green); }
.btn--secondary:hover { background: var(--color-green); color: var(--color-white); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.on-dark .btn--primary { background: var(--color-champagne); border-color: var(--color-champagne); color: var(--color-deep); }
.on-dark .btn--primary:hover { background: var(--color-paper); border-color: var(--color-paper); color: var(--color-deep); }
.on-dark .btn--secondary { border-color: rgba(247, 246, 241, 0.55); color: var(--color-paper); }
.on-dark .btn--secondary:hover { background: var(--color-paper); border-color: var(--color-paper); color: var(--color-deep); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 32px; }

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--color-white);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; margin-right: clamp(8px, 2vw, 32px); }
.brand img { width: auto; height: 46px; }

.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-list > li > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 0;
  background: none;
  color: var(--color-ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.nav-list > li > a:hover, .nav-trigger:hover { color: var(--color-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.nav-list > li > a[aria-current], .nav-trigger[data-current] { box-shadow: inset 0 -2px 0 var(--color-brass); }
.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s;
}
.nav-trigger[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

.mega {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--color-white);
  box-shadow: 0 24px 48px rgba(6, 42, 34, 0.12);
}
.has-mega.open .mega,
html:not(.js) .has-mega:focus-within .mega,
html:not(.js) .has-mega:hover .mega { display: block; }
.mega__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding-block: 36px 44px; }
.mega__col { grid-column: span 4; }
.mega__col--wide { grid-column: span 8; }
.mega__title {
  margin: 0 0 14px;
  color: var(--color-bronze);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.mega__links { display: grid; gap: 2px; list-style: none; }
.mega__links--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 28px; }
.mega__links a { display: block; padding: 9px 0; color: var(--color-ink); font-weight: 600; text-decoration: none; }
.mega__links a span { display: block; color: var(--color-slate); font-size: 0.86rem; font-weight: 400; line-height: 1.4; }
.mega__links a:hover { color: var(--color-green); }
.mega__links a:hover strong { text-decoration: underline; text-underline-offset: 0.2em; }
.mega__links strong { font-weight: 600; }
.mega__feature { position: relative; display: block; overflow: hidden; min-height: 230px; padding: 24px; background: var(--color-deep); color: var(--color-paper); text-decoration: none; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__feature > span { position: relative; display: block; }
.mega__feature .mega__kicker { margin-bottom: 8px; color: var(--color-champagne); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.mega__feature .mega__headline { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.22; }
.mega__feature:hover { color: var(--color-paper); }
.mega__feature:hover .mega__headline { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--color-ink);
  cursor: pointer;
}
.icon-btn:hover { background: var(--color-mist); }
.icon-btn svg { width: 20px; height: 20px; }

.nav-toggle { display: none; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.15s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  :root { --header-h: 70px; }
  .brand img { height: 36px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 6px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    background: var(--color-white);
    box-shadow: 0 24px 40px rgba(6, 42, 34, 0.12);
  }
  .js .site-nav { display: none; }
  .js .site-header.nav-open .site-nav { display: block; }
  html:not(.js) .site-nav { position: static; box-shadow: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .nav-trigger {
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    border-bottom: 1px solid var(--line);
    font-size: 1.08rem;
  }
  .nav-list > li > a[aria-current], .nav-trigger[data-current] { box-shadow: none; color: var(--color-green); font-weight: 700; }
  .mega { position: static; border: 0; box-shadow: none; }
  .mega .wrap { padding-inline: 0; }
  .mega__grid { display: block; padding-block: 14px 18px; }
  .mega__col + .mega__col { margin-top: 20px; }
  .mega__links--2 { grid-template-columns: minmax(0, 1fr); }
  .mega__feature { display: none; }
}

@media (max-width: 519px) {
  .hide-sm { display: none; }
  .brand img { height: 32px; }
  .brand { margin-right: 0; }
  .header-inner { gap: 6px; }
  .header-actions { gap: 2px; }
  .header-actions .btn { padding-inline: 12px; font-size: 0.86rem; }
}

/* Sections */

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--paper { background: var(--color-paper); }
.section--mist { background: var(--color-mist); }
.section--deep { background: var(--color-deep); }
.section--green { background: var(--color-green); }

.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head h2 { margin-bottom: 0.4em; }

.rail {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.rail > .rail__head { position: sticky; top: calc(var(--header-h) + 32px); }
.rail__head h2 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.7rem); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(20px, 2.6vw, 36px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 999px) {
  .rail { grid-template-columns: minmax(0, 1fr); }
  .rail > .rail__head { position: static; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 679px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* Art bands */

.art-band { position: relative; overflow: hidden; background: var(--color-deep); isolation: isolate; }
.art-band__art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.art-band--fade::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 42, 34, 0.94) 0%, rgba(6, 42, 34, 0.72) 48%, rgba(6, 42, 34, 0.1) 100%);
}

/* Home hero */

.hero { padding-block: clamp(64px, 9vw, 136px) clamp(150px, 15vw, 220px); }
.hero h1 { max-width: 15.5em; font-size: clamp(2.5rem, 1.35rem + 4.3vw, 5.4rem); }
.hero .lede { max-width: 36em; margin-top: 8px; }

.tiles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 14px;
  margin-top: clamp(-170px, -12vw, -96px);
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 300px;
  padding: clamp(22px, 2.4vw, 34px);
  background: var(--color-green);
  color: var(--color-paper);
  text-decoration: none;
  isolation: isolate;
}
.tile--paper { background: var(--color-paper); color: var(--color-slate); box-shadow: inset 0 0 0 1px var(--line); }
.tile__art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tile:hover .tile__art { transform: scale(1.03); }
.tile__label { margin: 0 0 10px; color: var(--color-champagne); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.tile--paper .tile__label { color: var(--color-bronze); }
.tile__title { margin: 0; color: inherit; font-family: var(--font-serif); font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); font-weight: 400; line-height: 1.2; }
.tile--lead .tile__title { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.5rem); line-height: 1.12; }
.tile--paper .tile__title { color: var(--color-ink); }
.tile:hover { color: var(--color-paper); }
.tile--paper:hover { color: var(--color-slate); }
.tile:hover .tile__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

@media (max-width: 999px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--lead { grid-column: 1 / -1; }
  .tile { min-height: 240px; }
}
@media (max-width: 559px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 200px; }
}

/* Question index */

.index-list { list-style: none; border-top: 1px solid var(--line); }
.index-list li { border-bottom: 1px solid var(--line); }
.index-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) 36px;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding-block: clamp(22px, 2.6vw, 34px);
  color: inherit;
  text-decoration: none;
  transition: padding 0.2s;
}
.index-row__q { color: var(--color-ink); font-family: var(--font-serif); font-size: clamp(1.35rem, 1.1rem + 0.95vw, 2.05rem); line-height: 1.18; }
.index-row__a { color: var(--color-slate); font-size: 0.97rem; line-height: 1.5; }
.index-row__a strong { display: block; color: var(--color-green); font-weight: 600; }
.index-row svg { width: 26px; height: 26px; color: var(--color-green); transition: transform 0.2s; }
.index-row:hover { color: inherit; }
.index-row:hover .index-row__q { color: var(--color-green); }
.index-row:hover svg { transform: translateX(6px); }
.on-dark .index-list, .on-dark .index-list li { border-color: var(--line-dark); }
@media (max-width: 759px) {
  .index-row { grid-template-columns: minmax(0, 1fr) 28px; }
  .index-row__q { grid-column: 1; }
  .index-row__a { grid-column: 1; grid-row: 2; }
  .index-row svg { grid-column: 2; grid-row: 1 / span 2; }
}

/* Capability pillars */

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.pillar { padding-top: 22px; border-top: 2px solid var(--color-green); }
.pillar__num { display: block; margin-bottom: 26px; color: var(--color-bronze); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; }
.pillar h3 { margin-bottom: 6px; font-size: clamp(1.8rem, 1.4rem + 1.1vw, 2.6rem); font-weight: 400; }
.pillar h3 a { color: inherit; text-decoration: none; }
.pillar h3 a:hover { color: var(--color-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.pillar__promise { margin-bottom: 18px; color: var(--color-ink); font-weight: 600; }
@media (max-width: 859px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
}

.hair-list { display: grid; list-style: none; border-top: 1px solid var(--line); }
.hair-list li { padding: 11px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.hair-list--lg li { padding: 18px 0; color: var(--color-ink); font-size: clamp(1.05rem, 1rem + 0.2vw, 1.18rem); }
.on-dark .hair-list, .on-dark .hair-list li { border-color: var(--line-dark); }
.on-dark .hair-list--lg li { color: var(--color-paper); }

/* Four Layers strata diagram */

.strata { display: grid; gap: 3px; list-style: none; }
.stratum {
  display: grid;
  grid-template-columns: 3.2em minmax(7em, 3fr) minmax(0, 7fr);
  gap: 8px clamp(14px, 2vw, 28px);
  align-items: baseline;
  padding: clamp(18px, 2.2vw, 30px) clamp(20px, 2.6vw, 36px);
  color: var(--color-paper);
}
.stratum:nth-child(1) { background: var(--color-deep); margin-inline: clamp(0px, 12%, 180px); }
.stratum:nth-child(2) { background: var(--color-green); margin-inline: clamp(0px, 8%, 120px); }
.stratum:nth-child(3) { background: var(--color-moss); margin-inline: clamp(0px, 4%, 60px); }
.stratum:nth-child(4) { background: var(--color-champagne); color: var(--color-deep); }
.stratum__num { color: var(--color-champagne); font-family: var(--font-serif); font-size: 1.15rem; }
.stratum:nth-child(4) .stratum__num { color: var(--color-deep); }
.stratum__name { margin: 0; color: inherit; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem); font-weight: 400; }
.stratum__desc { margin: 0; }
@media (max-width: 759px) {
  .stratum { grid-template-columns: 2.4em minmax(0, 1fr); margin-inline: 0 !important; }
  .stratum__desc { grid-column: 2; }
}

/* Founder */

.founder-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 24px; background: var(--color-mist); text-align: center; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder-block__name { margin-bottom: 2px; color: var(--color-ink); font-weight: 700; }
.founder-block__role { margin-bottom: 18px; }
.cred-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; list-style: none; }
.cred-row li { padding: 5px 12px; border: 1px solid var(--line-strong); color: var(--color-ink); font-size: 0.86rem; font-weight: 600; line-height: 1.3; }
.on-dark .cred-row li { border-color: rgba(247, 246, 241, 0.45); color: var(--color-paper); }
.cred-table { display: grid; margin: 0 0 28px; border-top: 1px solid var(--line); }
.cred-table div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cred-table dt { color: var(--color-ink); font-weight: 700; }
.cred-table dd { margin: 0; }
@media (max-width: 859px) {
  .founder-block { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .portrait { max-width: 340px; }
}
@media (max-width: 479px) {
  .cred-table div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Statements */

.statements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.statement { padding-top: 22px; border-top: 1px solid var(--line-dark); }
.statement h3 { margin-bottom: 10px; font-weight: 400; }
@media (max-width: 859px) {
  .statements { grid-template-columns: minmax(0, 1fr); }
}

.pull {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.012em;
}
.on-dark .pull { color: var(--color-paper); }

/* Editorial cards */

.story { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.story__art { aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 18px; background: var(--color-deep); }
.story__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.story:hover .story__art img { transform: scale(1.03); }
.story__topic { margin: 0 0 8px; color: var(--color-bronze); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.story__title { margin: 0 0 10px; color: var(--color-ink); font-family: var(--font-serif); font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.55rem); font-weight: 400; line-height: 1.22; }
.story--lead .story__title { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.7rem); line-height: 1.12; }
.story__excerpt { margin: 0 0 12px; font-size: 0.97rem; }
.story__meta { margin: 0; color: var(--color-slate); font-size: 0.82rem; }
.story:hover { color: inherit; }
.story:hover .story__title { color: var(--color-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }

.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); }
.story-stack { display: grid; align-content: start; }
.story-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.story-row:first-child { padding-top: 0; border-top: 0; }
.story-row .story__title { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); margin-bottom: 8px; }
.story-row img { width: 130px; height: 88px; object-fit: cover; }
.story-row:hover { color: inherit; }
.story-row:hover .story__title { color: var(--color-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
@media (max-width: 899px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 459px) {
  .story-row { grid-template-columns: minmax(0, 1fr) 84px; gap: 14px; }
  .story-row img { width: 84px; height: 64px; }
}

/* Offer cards */

.offer {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 36px);
  border-top: 2px solid var(--color-green);
  background: var(--color-paper);
}
.section--paper .offer { background: var(--color-white); }
.offer h3 { margin-bottom: 14px; }
.offer__label { display: block; margin-bottom: 2px; color: var(--color-ink); font-size: 0.82rem; font-weight: 700; }
.offer p { margin-bottom: 14px; font-size: 0.97rem; }
.offer__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.offer__foot dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 0; }
.offer__foot dt { color: var(--color-ink); font-weight: 700; }
.offer__foot dd { margin: 0; }

/* Page hero */

.page-hero { padding-block: clamp(56px, 7vw, 112px) clamp(56px, 7vw, 104px); }
.page-hero h1 { max-width: 17em; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.4rem); }
.page-hero .lede { max-width: 38em; margin-top: 8px; }
.page-hero--plain { padding-block: clamp(48px, 6vw, 88px) clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); background: var(--color-paper); }
.page-hero--plain .lede { color: var(--color-slate); }

.crumbs { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 26px; list-style: none; font-size: 0.84rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.55; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.on-dark .crumbs, .on-dark .crumbs a { color: rgba(247, 246, 241, 0.82); }
.crumbs [aria-current] { opacity: 0.8; }

/* Engagement timeline */

.timeline { display: grid; gap: 0; counter-reset: step; list-style: none; }
.timeline--h { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.timeline li { padding-top: 18px; border-top: 2px solid var(--color-green); }
.timeline__when { display: block; margin-bottom: 10px; color: var(--color-bronze); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.timeline h3 { margin-bottom: 8px; font-size: clamp(1.15rem, 1.05rem + 0.3vw, 1.35rem); }
.timeline p { font-size: 0.96rem; }
.on-dark .timeline li { border-top-color: var(--color-champagne); }
.on-dark .timeline__when { color: var(--color-champagne); }
@media (max-width: 859px) {
  .timeline--h { grid-auto-flow: row; grid-auto-columns: auto; }
}

/* Definition rows */

.def-rows { display: grid; border-top: 1px solid var(--line); }
.def-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(12px, 3vw, 44px); padding-block: 22px; border-bottom: 1px solid var(--line); }
.def-row h3 { margin: 0; font-size: clamp(1.1rem, 1.02rem + 0.3vw, 1.3rem); }
.def-row p { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 679px) {
  .def-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* Notes and scope */

.note {
  padding: 20px 24px;
  border-left: 3px solid var(--color-brass);
  background: var(--color-paper);
  font-size: 0.97rem;
}
.section--paper .note { background: var(--color-white); }
.on-dark .note { border-left-color: var(--color-champagne); background: rgba(247, 246, 241, 0.07); }

.scope-note { padding: 20px 24px; border: 1px solid var(--line); font-size: 0.9rem; }
.scope-note__label { display: block; margin-bottom: 6px; color: var(--color-bronze); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.on-dark .scope-note { border-color: var(--line-dark); }
.on-dark .scope-note__label { color: var(--color-champagne); }

/* Charter */

.charter { display: grid; counter-reset: charter; list-style: none; border-bottom: 1px solid var(--line); }
.charter li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); counter-increment: charter; }
.charter li::before { content: counter(charter, decimal-leading-zero); color: var(--color-bronze); font-family: var(--font-serif); font-size: 1.15rem; }
.charter strong { display: block; margin-bottom: 4px; color: var(--color-ink); font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.charter p { margin: 0; }
.on-dark .charter, .on-dark .charter li { border-color: var(--line-dark); }
.on-dark .charter li::before { color: var(--color-champagne); }
.on-dark .charter strong { color: var(--color-paper); }

/* FAQ */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  min-height: 44px;
  padding: 20px 44px 20px 0;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.03rem + 0.35vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 15px; right: 6px; color: var(--color-green); font-family: var(--font-sans); font-size: 1.7rem; font-weight: 300; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq__a { max-width: 44em; padding: 0 0 24px; }

/* Article */

.article-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.article-side { position: sticky; top: calc(var(--header-h) + 32px); font-size: 0.9rem; }
.article-side h2 { margin-bottom: 12px; color: var(--color-bronze); font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.article-side ol { display: grid; gap: 10px; list-style: none; }
.article-side a { color: var(--color-slate); text-decoration: none; line-height: 1.35; }
.article-side a:hover { color: var(--color-green); text-decoration: underline; }
.article-cover { aspect-ratio: 21 / 8; overflow: hidden; background: var(--color-deep); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 42em; font-size: clamp(1.03rem, 1rem + 0.2vw, 1.16rem); line-height: 1.72; }
.prose h2 { margin: 1.9em 0 0.55em; font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem); }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose p { margin-bottom: 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose table { margin: 1.4em 0 1.6em; font-size: 0.93rem; line-height: 1.45; }
.prose th, .prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--color-ink); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--color-brass); color: var(--color-ink); font-family: var(--font-serif); font-size: 1.28em; line-height: 1.3; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 0.9rem; }
.sources { margin-top: 3em; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.86rem; line-height: 1.5; }
.sources h2 { margin: 0 0 12px; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-bronze); }
.sources ol { padding-left: 1.3em; }
.sources li { margin-bottom: 6px; overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .article-cover { aspect-ratio: 16 / 7; }
}

/* Calendar table */

.cal-table th, .cal-table td { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cal-table th { color: var(--color-ink); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.cal-table td:first-child { width: 11rem; color: var(--color-ink); font-weight: 700; white-space: nowrap; }
.cal-table td:nth-child(2) { color: var(--color-ink); font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.3; }
.status { display: inline-block; padding: 2px 9px; border: 1px solid currentColor; color: var(--color-bronze); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap; }
.status--live { color: var(--color-green); }
@media (max-width: 759px) {
  .cal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cal-table tr { display: block; padding-block: 16px; border-bottom: 1px solid var(--line); }
  .cal-table td { display: block; padding: 2px 0; border: 0; }
  .cal-table td:first-child { width: auto; }
}

/* Self-assessment */

.check-form { display: grid; gap: 34px; }
.check-group { margin: 0; padding: 0; border: 0; }
.check-group__title { margin-bottom: 14px; padding-top: 18px; border-top: 2px solid var(--color-green); color: var(--color-ink); font-family: var(--font-serif); font-size: 1.5rem; }
.check-q { margin: 0 0 22px; padding: 0; border: 0; }
.check-q legend { margin-bottom: 10px; padding: 0; color: var(--color-ink); font-weight: 600; line-height: 1.4; }
.check-q__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.check-q__opts label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); font-size: 0.92rem; line-height: 1.25; cursor: pointer; }
.check-q__opts label:hover { background: var(--color-paper); }
.check-q__opts input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--color-green); }
.check-q__opts label:has(input:checked) { border-color: var(--color-green); box-shadow: inset 0 0 0 1px var(--color-green); background: var(--color-mist); color: var(--color-ink); font-weight: 600; }
@media (max-width: 559px) {
  .check-q__opts { grid-template-columns: minmax(0, 1fr); }
}
.check-result { padding: clamp(24px, 3vw, 40px); background: var(--color-deep); }
.meter { display: grid; gap: 16px; margin: 24px 0; }
.meter__row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 3.4rem; gap: 14px; align-items: center; color: var(--color-paper); }
.meter__track { height: 8px; background: rgba(247, 246, 241, 0.16); }
.meter__fill { height: 100%; background: var(--color-champagne); }

/* Forms */

.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 639px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
}
.field { display: grid; gap: 6px; align-content: start; }
.field label { color: var(--color-ink); font-size: 0.93rem; font-weight: 600; }
.field .optional { color: var(--color-slate); font-weight: 400; }
.hint { margin: 0; font-size: 0.87rem; }

input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-ink);
  font: inherit;
  font-size: 1rem;
}
textarea { min-height: 160px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--color-green); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--color-error); border-width: 1.5px; }
.field-error { margin: 0; color: var(--color-error); font-size: 0.87rem; font-weight: 600; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; }

.form-status { padding: 18px 20px; border: 1.5px solid; background: var(--color-white); }
.form-status h2 { margin-bottom: 6px; font-size: 1.25rem; font-weight: 500; }
.form-status--ok { border-color: var(--color-green); }
.form-status--warn { border-color: var(--color-bronze); }
.form-status--error { border-color: var(--color-error); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
.aside-block { padding-block: 22px; border-top: 2px solid var(--color-green); }
.aside-block + .aside-block { margin-top: 18px; }
.aside-block h2 { font-size: 1.35rem; font-weight: 500; }
.steps-mini { display: grid; gap: 14px; list-style: none; counter-reset: s; }
.steps-mini li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); counter-increment: s; font-size: 0.95rem; }
.steps-mini li::before { content: counter(s); color: var(--color-bronze); font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; }
.steps-mini strong { display: block; color: var(--color-ink); }

/* Closing band */

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 68, 55, 0.96) 0%, rgba(10, 68, 55, 0.9) 55%, rgba(10, 68, 55, 0.45) 100%);
}

.closing { padding-block: clamp(72px, 9vw, 132px); }
.closing h2 { max-width: 15em; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.9rem); }
.closing__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin: 40px 0 8px; list-style: none; counter-reset: s; }
.closing__steps li { padding-top: 14px; border-top: 1px solid var(--line-dark); counter-increment: s; font-size: 0.97rem; }
.closing__steps li::before { content: counter(s); display: block; margin-bottom: 6px; color: var(--color-champagne); font-family: var(--font-serif); font-size: 1.5rem; }
.closing__steps strong { display: block; margin-bottom: 4px; color: var(--color-paper); font-weight: 600; }
@media (max-width: 759px) {
  .closing__steps { grid-template-columns: minmax(0, 1fr); }
}

/* Footer */

.footer-brand { padding-block: 28px; border-top: 1px solid var(--line); background: var(--color-white); }
.footer-brand .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-brand img { width: auto; height: 46px; }
.footer-descriptor { margin: 0; color: var(--color-ink); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }

.site-footer { padding-block: 64px 32px; background: var(--color-deep); color: rgba(247, 246, 241, 0.86); font-size: 0.93rem; }
.site-footer a { color: var(--color-paper); text-decoration: none; }
.site-footer a:hover { color: var(--color-champagne); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-grid h2 { margin-bottom: 14px; color: var(--color-champagne); font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-grid ul { display: grid; gap: 9px; list-style: none; }
.footer-lead { max-width: 24em; color: var(--color-paper); font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.28; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 0.84rem; }
.footer-legal p { max-width: 58em; margin: 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
@media (max-width: 899px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 479px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Additions: founder tile, sample finding, takeaways, light statements */

.tile__sub { margin: 8px 0 0; font-size: 0.95rem; }

.sample-finding { padding: clamp(20px, 3vw, 36px); background: var(--color-white); }
.sample-finding .def-row:first-child { border-top: 1px solid var(--line); }
.sample-finding .def-row:last-child { border-bottom: 0; padding-bottom: 0; }

.takeaways { margin-bottom: 2em; padding: 22px 26px; background: var(--color-paper); font-size: 0.97em; }
.takeaways ul { margin-bottom: 0; }
.takeaways li:last-child { margin-bottom: 0; }

.statement--light { border-top: 1px solid var(--line); }
.founder-block--top { align-items: start; }
.measure-wide { max-width: 860px; }

/* Spacing utilities */

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* Print: articles and service pages should print cleanly for circulation. */
@media print {
  .site-header, .site-footer, .footer-brand, .closing, .draft-bar, .article-side, .search-panel, .art-band__art { display: none !important; }
  .art-band, .section--deep, .section--green { background: none !important; }
  .on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark .lede, .on-dark .eyebrow { color: #000 !important; }
  a { color: #000; }
  .article-layout { display: block; }
}

.hero__statement {
  max-width: 24em;
  margin: 4px 0 18px;
  color: var(--color-paper);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2.1rem);
  line-height: 1.25;
}
