/* chhi.health — Chinedozi Hospitals & Healthcare International.
   Editorial, warm, high-contrast. Deep forest and gold on paper, because the
   default palette for African health nonprofits is either UN blue or a photo
   of a child, and CHHI is neither an agency nor a fundraising appeal. */

:root {
  --ink: #101a15;
  --ink-soft: #3d4c44;
  --forest: #0f3d2e;
  --forest-deep: #082019;
  --emerald: #12694c;
  --leaf: #1f8f66;
  --gold: #d2952a;
  --gold-soft: #f0c975;
  --clay: #b4552f;
  --paper: #fbf8f2;
  --sand: #f2ece0;
  --sand-deep: #e8dfcd;
  --line: rgba(15, 61, 46, .16);
  --line-soft: rgba(15, 61, 46, .09);
  --white: #fff;
  --shadow-sm: 0 1px 2px rgba(8, 32, 25, .06), 0 6px 16px -10px rgba(8, 32, 25, .28);
  --shadow: 0 2px 6px rgba(8, 32, 25, .07), 0 22px 48px -28px rgba(8, 32, 25, .38);
  --radius: 16px;
  --radius-lg: 26px;
  --wrap: 1180px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

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

body.chhi {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.12;
  margin: 0 0 .5em;
  font-variation-settings: 'opsz' 44, 'SOFT' 0;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); letter-spacing: -.022em; }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; color: var(--emerald); }

a { color: var(--emerald); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--forest); color: var(--white); padding: .7rem 1.1rem;
  border-radius: 0 0 10px 0; text-decoration: none;
}
.skip:focus { left: 0; }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 760px); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ── Header ───────────────────────────────────────────────────────────── */
.c-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 242, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.c-header.is-scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 14px 30px -26px rgba(8, 32, 25, .5); }
.c-header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }

.c-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; flex: none; }
.c-brand strong {
  display: block; font-family: var(--serif); font-weight: 700; font-size: 1.32rem;
  letter-spacing: .04em; color: var(--forest); line-height: 1;
}
.c-brand small {
  display: block; font-size: .655rem; letter-spacing: .085em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: .28rem; max-width: 22ch;
}

.c-nav { display: flex; align-items: center; gap: 1.35rem; margin-left: auto; }
.c-nav > a { font-size: .92rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.c-nav > a:hover { color: var(--forest); }
.c-nav > a[aria-current] { color: var(--forest); font-weight: 600; }

.c-nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 40px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--white); flex-direction: column; gap: 4px;
  align-items: center; justify-content: center; cursor: pointer;
}
.c-nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; background: var(--forest); border-radius: 2px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .82rem 1.35rem; border-radius: 999px; border: 1px solid var(--forest);
  background: var(--forest); color: var(--white); font: 600 .95rem/1 var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}
.btn:hover { color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn .ico { transition: transform .18s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { padding: .58rem 1rem; font-size: .875rem; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--forest-deep); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--forest-deep); }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: rgba(15, 61, 46, .07); color: var(--forest); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600;
  font-size: .95rem; text-decoration: none; color: var(--emerald);
  border-bottom: 1px solid rgba(18, 105, 76, .3); padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: var(--emerald); }
.link-arrow .ico { transition: transform .18s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ── Bands ────────────────────────────────────────────────────────────── */
.band { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.band-head { padding-bottom: clamp(2rem, 3.5vw, 3rem); }
.band-tint { background: var(--sand); }
.band-tint, .band-dark { position: relative; }
/* A woven ground: two thin diagonals, barely visible. Texture, not costume. */
.band-tint::before, .band-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(58deg, rgba(15, 61, 46, .045) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-58deg, rgba(180, 85, 47, .035) 0 1px, transparent 1px 34px);
}
.band-dark { background: var(--forest-deep); color: rgba(255, 255, 255, .82); }
.band-dark::before { opacity: .35; background:
    repeating-linear-gradient(58deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-58deg, rgba(210, 149, 42, .07) 0 1px, transparent 1px 34px); }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .eyebrow { color: var(--gold-soft); }
.band-dark em { color: var(--gold-soft); }
.band > .wrap { position: relative; z-index: 1; }

.eyebrow {
  font-size: .715rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay); margin: 0 0 .85rem;
}
.lede { font-size: clamp(1.06rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }
.section-lede { color: var(--ink-soft); max-width: 68ch; margin-bottom: 2.4rem; font-size: 1.05rem; }
.band-dark .lede, .band-dark .section-lede { color: rgba(255, 255, 255, .72); }
.disclaimer { font-size: .84rem; color: var(--ink-soft); margin-top: 1.4rem; max-width: 72ch; }
.band-dark .disclaimer { color: rgba(255, 255, 255, .6); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 130%;
  background:
    radial-gradient(50% 45% at 78% 30%, rgba(31, 143, 102, .16), transparent 70%),
    radial-gradient(40% 40% at 12% 8%, rgba(210, 149, 42, .16), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; gap: clamp(2.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
}
.hero-copy h1 { max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.6rem; }
.hero-meta {
  display: flex; align-items: center; gap: .55rem; font-size: .88rem;
  color: var(--ink-soft); margin: 0;
}
.hero-meta strong { color: var(--forest); }
.hero-meta .ico { color: var(--gold); }

/* ── Stat strip ───────────────────────────────────────────────────────── */
.band-strip { padding: 0 0 clamp(3rem, 5vw, 4.5rem); }
.stat-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.stat { background: var(--white); padding: 1.7rem 1.4rem; }
.stat strong {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--forest); line-height: 1;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: .55rem; font-size: .85rem; color: var(--ink-soft); line-height: 1.45; }
.stat-note { margin: 1rem 0 0; font-size: .85rem; color: var(--ink-soft); }

/* ── Layout helpers ───────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 4vw, 3.75rem); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.tight { gap: .9rem; }

.card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
}
.card p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.card h3 { margin-bottom: .45rem; }
.card-sm { padding: 1.25rem 1.2rem; }
.card-sm h3 { font-size: 1.02rem; }
.card-sm p { font-size: .89rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: .95rem;
  background: rgba(31, 143, 102, .1); color: var(--emerald);
}
.card-icon .ico { width: 21px; height: 21px; }

.pull {
  background: var(--white); border: 1px solid var(--line-soft); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.75rem 1.6rem; box-shadow: var(--shadow-sm);
}
.pull blockquote { margin: 0 0 1.4rem; }
.pull blockquote p {
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.32; color: var(--forest);
  letter-spacing: -.015em; margin: 0;
}
.pull h3 { margin-bottom: .6rem; }
.pull p { font-size: .95rem; color: var(--ink-soft); }
.warn {
  background: rgba(180, 85, 47, .08); border-radius: 12px; padding: .95rem 1rem;
  font-size: .88rem; color: var(--ink); display: flex; gap: .6rem; align-items: flex-start;
}
.warn .ico { color: var(--clay); margin-top: .15rem; }

.tick { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tick li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.tick .ico { color: var(--emerald); margin-top: .22rem; }
.pull .btn { margin-top: 1.4rem; }

.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.principles li {
  border-left: 2px solid rgba(210, 149, 42, .5); padding-left: 1.1rem;
}
.principles strong { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--white); margin-bottom: .3rem; }
.principles span { display: block; font-size: .92rem; color: rgba(255, 255, 255, .7); }
.principles-light li { border-left-color: rgba(15, 61, 46, .25); }
.principles-light strong { color: var(--forest); }
.principles-light span { color: var(--ink-soft); }

/* ── Doors (audience switcher) ────────────────────────────────────────── */
.doors { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 1.75rem; margin-top: 2.2rem; }
.door-tabs { display: grid; gap: .6rem; align-content: start; }
.door-tab {
  text-align: left; font: 600 1rem/1.3 var(--sans); padding: 1rem 1.15rem;
  border: 1px solid var(--line-soft); border-radius: 14px; background: var(--white);
  color: var(--ink-soft); cursor: pointer; transition: all .18s;
}
.door-tab:hover { border-color: var(--line); color: var(--forest); }
.door-tab.is-active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.door-panel {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm);
}
.door-panel h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--forest); }
.door-panel p { color: var(--ink-soft); }
.door-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }

/* ── Pathway stepper ──────────────────────────────────────────────────── */
.pathway { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 1.75rem; }
.steps { display: grid; gap: .45rem; align-content: start; }
.step {
  display: flex; gap: .95rem; align-items: flex-start; text-align: left; cursor: pointer;
  padding: .85rem .95rem; border: 1px solid transparent; border-radius: 13px;
  background: transparent; font-family: var(--sans); transition: all .18s;
}
.step:hover { background: rgba(255, 255, 255, .7); border-color: var(--line-soft); }
.step b {
  font-family: var(--serif); font-size: .92rem; color: var(--gold); letter-spacing: .05em;
  padding-top: .1rem; flex: none;
}
.step strong { display: block; font-size: .98rem; font-weight: 600; color: var(--ink); }
.step small { display: block; font-size: .855rem; color: var(--ink-soft); margin-top: .15rem; }
.step.is-active { background: var(--white); border-color: var(--line-soft); box-shadow: var(--shadow-sm); }
.step.is-active b { color: var(--clay); }
.step.is-active strong { color: var(--forest); }
.step-detail {
  background: var(--forest-deep); color: rgba(255, 255, 255, .78); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.2vw, 2.8rem); display: flex; align-items: center;
}
.step-panel h3 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 2rem); }
.step-panel .eyebrow { color: var(--gold-soft); }
.step-panel p { font-size: 1.02rem; }
.pathway + .link-arrow { margin-top: 1.8rem; display: inline-flex; }

/* ── Hub network ──────────────────────────────────────────────────────── */
.network { display: grid; gap: 1.5rem; }
.network-field {
  position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 55% at 60% 55%, rgba(31, 143, 102, .16), transparent 72%),
    linear-gradient(160deg, var(--white), var(--sand));
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); overflow: hidden;
}
.network-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.network-lines path {
  fill: none; stroke: rgba(15, 61, 46, .22); stroke-width: .45;
  stroke-dasharray: 1.6 2.2; vector-effect: non-scaling-stroke;
}
.node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: .45rem; padding: .35rem .7rem .35rem .45rem;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: 999px;
  font: 600 .8rem/1 var(--sans); color: var(--ink-soft); cursor: pointer;
  box-shadow: var(--shadow-sm); transition: all .18s; white-space: nowrap;
}
.node i { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); flex: none; }
.node.phase-2 i { background: var(--gold); }
.node.phase-3 i { background: var(--clay); }
.node:hover { transform: translate(-50%, -50%) scale(1.05); color: var(--forest); }
.node[aria-pressed="true"] {
  background: var(--forest); border-color: var(--forest); color: var(--white);
  box-shadow: 0 0 0 5px rgba(15, 61, 46, .12), var(--shadow-sm);
}
.node[aria-pressed="true"] i { background: var(--gold-soft); }

.network-detail {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem; box-shadow: var(--shadow-sm);
}
.hub-panel h3 { color: var(--forest); }
.hub-panel p { font-size: .94rem; color: var(--ink-soft); }
.hub-focus { font-weight: 600; color: var(--ink) !important; }
.network-legend { display: grid; gap: .4rem; margin: 1.2rem 0 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.legend-item { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--ink-soft); }
.phase-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; }
.phase-dot.phase-2 { background: var(--gold); }
.phase-dot.phase-3 { background: var(--clay); }

.phases .phase { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.phases header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .8rem; }
.phases header strong { font-family: var(--serif); color: var(--clay); font-size: 1rem; letter-spacing: .04em; }
.phases header span { font-size: .82rem; color: var(--ink-soft); }
.phases h3 { font-size: 1.05rem; }
.phases p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ── Partners ─────────────────────────────────────────────────────────── */
.partner header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.partner-short {
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--forest);
  letter-spacing: .02em;
}
.tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px; background: var(--sand-deep); color: var(--ink-soft);
}
.tag-engaged { background: rgba(31, 143, 102, .14); color: var(--emerald); }
.tag-in-discussion { background: rgba(210, 149, 42, .18); color: #8a6111; }
.partner-area { font-weight: 600; font-size: .9rem !important; color: var(--ink) !important; margin-bottom: .6rem !important; }
.partner p { margin-bottom: .9rem; }
.partner .link-arrow { font-size: .88rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item > button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.3rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 1.05rem/1.4 var(--serif); color: var(--forest); letter-spacing: -.01em;
}
.faq-ico { color: var(--gold); transition: transform .22s; width: 1.3rem; height: 1.3rem; }
.faq-item.is-open .faq-ico { transform: rotate(45deg); }
.faq-body { padding-bottom: 1.4rem; }
.faq-body p { color: var(--ink-soft); font-size: .96rem; margin: 0; max-width: 74ch; }

/* ── Impact model ─────────────────────────────────────────────────────── */
.band-model { background: var(--sand); padding-top: clamp(2rem, 3vw, 3rem); }
.model-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.model-controls {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm); position: sticky; top: 92px;
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.model-controls-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.3rem; }
.model-controls-head h2 { font-size: 1.3rem; margin: 0; }
.control { margin-bottom: 1.25rem; }
.control label {
  display: flex; justify-content: space-between; align-items: baseline; gap: .75rem;
  font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem;
}
.control output {
  font-family: var(--serif); font-weight: 700; font-size: 1.02rem; color: var(--clay);
  font-variant-numeric: tabular-nums; flex: none;
}
.control small { display: block; font-size: .765rem; color: var(--ink-soft); margin-top: .4rem; line-height: 1.45; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 22px;
  background: transparent; cursor: pointer; display: block;
}
input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: var(--sand-deep); }
input[type="range"]::-moz-range-track { height: 5px; border-radius: 3px; background: var(--sand-deep); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 19px; height: 19px; margin-top: -7px;
  border-radius: 50%; background: var(--forest); border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(8, 32, 25, .35);
}
input[type="range"]::-moz-range-thumb {
  width: 19px; height: 19px; border-radius: 50%; background: var(--forest);
  border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(8, 32, 25, .35);
}

.model-output { display: grid; gap: 1.25rem; }
.headline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.headline { background: var(--white); padding: 1.3rem 1.2rem; }
.headline strong {
  display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--forest); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.headline span { display: block; margin-top: .5rem; font-size: .82rem; color: var(--ink-soft); line-height: 1.4; }

.chart {
  margin: 0; background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.5rem 1.4rem 1.1rem; box-shadow: var(--shadow-sm);
}
.chart-bars {
  list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; align-items: flex-end;
  gap: clamp(3px, 1vw, 10px); height: clamp(180px, 26vw, 260px);
}
.chart-bars li { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 0; }
.bar-pair { display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.bar-pair i { position: relative; flex: 1 1 0; border-radius: 4px 4px 0 0; transition: height .28s ease; }
.bar-base { height: var(--b); background: var(--sand-deep); }
.bar-chhi { height: var(--h); background: linear-gradient(180deg, var(--leaf), var(--forest)); }
.bar-pair b {
  position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -6px);
  font: 600 .7rem/1 var(--sans); color: var(--ink); background: var(--white);
  border: 1px solid var(--line-soft); border-radius: 5px; padding: .2rem .35rem;
  opacity: 0; pointer-events: none; transition: opacity .16s; white-space: nowrap;
}
.chart-bars li:hover .bar-pair b, .chart-bars li:focus-within .bar-pair b { opacity: 1; }
.chart-bars li:hover .bar-base b { opacity: .75; }
.chart-bars small { display: block; text-align: center; font-size: .7rem; color: var(--ink-soft); margin-top: .45rem; }
.chart-key { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .8rem; color: var(--ink-soft); }
.chart-key span { display: flex; align-items: center; gap: .45rem; }
.chart-key i { width: 11px; height: 11px; border-radius: 3px; }
.k-chhi { background: linear-gradient(180deg, var(--leaf), var(--forest)); }
.k-base { background: var(--sand-deep); }

.density { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.35rem 1.4rem; }
.density p { font-size: .95rem; color: var(--ink-soft); }
.density strong { font-family: var(--serif); font-size: 1.25rem; color: var(--forest); font-variant-numeric: tabular-nums; }
.density .disclaimer { margin-top: .8rem; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.inquiry {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-sm);
}
.inquiry .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 11px;
  background: var(--paper); font: 400 .95rem var(--sans); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--emerald); background: var(--white); }
.field small { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: .4rem; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--clay); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry .submit { margin-top: .6rem; }
.form-msg { margin: 1rem 0 0; font-size: .9rem; min-height: 1.2em; }
.form-msg.ok { color: var(--emerald); font-weight: 600; }
.form-msg.err { color: var(--clay); font-weight: 600; }

/* ── CTA band ─────────────────────────────────────────────────────────── */
.band-cta { background: var(--forest); color: rgba(255, 255, 255, .82); }
.band-cta h2 { color: var(--white); margin-bottom: .4rem; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner > div:first-child { max-width: 58ch; }
.cta-inner p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.c-footer { background: var(--forest-deep); color: rgba(255, 255, 255, .62); padding: clamp(3rem, 5vw, 4.5rem) 0 1.6rem; }
.c-footer-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2.2rem; }
.c-footer-brand p { font-size: .9rem; max-width: 40ch; margin: 1.1rem 0 0; }
.c-footer .c-brand strong { color: var(--white); }
.c-footer .c-brand small { color: rgba(255, 255, 255, .5); }
.c-footer-meta { font-size: .8rem !important; color: rgba(255, 255, 255, .45); letter-spacing: .02em; }
.c-footer nav { display: grid; gap: .55rem; align-content: start; }
.c-footer nav strong {
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600; margin-bottom: .3rem;
}
.c-footer nav a { color: rgba(255, 255, 255, .68); text-decoration: none; font-size: .9rem; }
.c-footer nav a:hover { color: var(--white); }
.c-footer-base {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem; color: rgba(255, 255, 255, .45);
}

/* ── Reveal on scroll ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .headline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-inner, .split, .split-wide, .doors, .pathway, .model-layout { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-controls { position: static; max-height: none; }
  .door-tabs { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
}
@media (max-width: 780px) {
  .c-nav-toggle { display: flex; }
  .c-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: .35rem; padding: 1rem 1.25rem 1.4rem;
    background: var(--paper); border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
  }
  .c-nav.is-open { display: flex; }
  .c-nav > a { padding: .55rem 0; font-size: 1rem; }
  .c-nav .btn { justify-content: center; margin-top: .4rem; }
  .c-header-inner { position: relative; }
}
@media (max-width: 640px) {
  body.chhi { font-size: 16px; }
  .grid-2, .grid-3, .inquiry .row, .stat-strip, .headline-grid, .c-footer-inner { grid-template-columns: minmax(0, 1fr); }
  .chart-bars { height: 170px; }
  .chart-bars small { font-size: .62rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
