/* Herald & Mishra · heraldmishra.com
   Color ratio 60 / 30 / 10: Warm Ivory (canvas) / Deep Business Blue (authority) / Teal (action).
   Spacing follows a Fibonacci scale (8, 13, 21, 34, 55, 89) and key grids split 1.618 : 1. */

:root {
  --ivory: #F8F7F4;
  --paper: #F8F7F4;
  --blue: #0E5A78;
  --ink: #0E5A78;
  --ink-deep: #0E5A78;
  --teal: #28B7B0;
  --teal-ink: #0E5A78;
  --sage: #DFF4F1;
  --char: #2D2D2D;
  --gray: #8A9099;
  --gray-ink: #8A9099;
  --line: rgba(138, 144, 153, .38);
  --line-dark: rgba(248, 247, 244, .14);
  --warn: #2D2D2D;
  --s1: 8px; --s2: 13px; --s3: 21px; --s4: 34px; --s5: 55px; --s6: 89px;
  /* Display type: a tight, bold grotesk for headlines and numbers. Editorial: an italic serif for accent words and owner quotes. */
  --serif: "Inter Tight", "Inter", "Segoe UI", system-ui, Arial, sans-serif;
  --editorial: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 90, 120, .05), 0 12px 34px rgba(14, 90, 120, .07);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--char);
  font-family: var(--sans); font-size: 17px; line-height: 1.618;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--teal-ink); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.14; margin: 0 0 var(--s3); font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.55rem); }
h3 { font-size: 1.28rem; line-height: 1.25; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 var(--s3); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 42px); margin-inline: auto; }
.section { padding: var(--s6) 0; }
.section.tight { padding: var(--s5) 0; }
.section.white { background: var(--paper); border-block: 1px solid var(--line); }
.section.sage { background: var(--sage); }
.section.dark { background: var(--ink); color: var(--sage); }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #F8F7F4; }
.eyebrow { font-size: .76rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin: 0 0 var(--s2); }
.dark .eyebrow { color: var(--teal); }
.lede { font-size: 1.16rem; color: var(--char); max-width: 62ch; }
.dark .lede { color: var(--sage); }
.head { max-width: 760px; margin-bottom: var(--s5); }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lede { margin-inline: auto; }
.muted { color: var(--gray-ink); }
.small { font-size: .86rem; }
.accent { color: var(--teal-ink); font-style: italic; }
.dark .accent { color: var(--teal); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .96rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, color .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #F8F7F4; }
.btn-primary:hover { background: var(--ink); color: #F8F7F4; }
.btn-teal { background: var(--teal); color: var(--ink-deep); }
.btn-teal:hover { background: var(--sage); color: var(--ink-deep); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #F8F7F4; }
.dark .btn-ghost, .offer .btn-ghost { border-color: rgba(248,247,244,.5); color: #F8F7F4; }
.dark .btn-ghost:hover, .offer .btn-ghost:hover { background: #F8F7F4; color: var(--ink); }
.link-arrow { font-weight: 600; border-bottom: 1.5px solid var(--teal); padding-bottom: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 247, 244, .93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); min-height: 76px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo-mark { --s: 50px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; background: url("logo.webp") no-repeat; background-size: calc(var(--s) * 2.1333); background-position: calc(var(--s) * -.5667) calc(var(--s) * -.3958); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--sans); font-weight: 700; letter-spacing: .09em; font-size: .98rem; color: var(--char); }
.brand-tag { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-ink); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--char); font-size: .93rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-bottom-color: var(--teal); }
.nav-links .btn { padding: 11px 20px; color: #F8F7F4; border-bottom: 1.5px solid transparent; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

/* Hero */
.hero { padding: var(--s6) 0 var(--s5); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -220px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(40,183,176,.13), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s5); align-items: center; position: relative; }
.hero .lede { margin-bottom: var(--s4); }
.hero-note { margin-top: var(--s3); font-size: .9rem; color: var(--gray-ink); }
.page-hero { padding: var(--s6) 0 var(--s5); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 17ch; }

/* Illustrative dashboard card */
.dash { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: var(--s3); font-size: .85rem; }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); }
.dash-title { font-weight: 650; color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--teal-ink); font-weight: 600; background: var(--sage); padding: 4px 10px; border-radius: 99px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: var(--s3); }
.kpi { background: var(--ivory); border-radius: 10px; padding: 12px; }
.kpi b { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.1; }
.kpi span { color: var(--gray-ink); font-size: .72rem; }
.dash-rows { margin-top: var(--s2); border-top: 1px solid var(--line); }
.dash-rows li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.dash-rows li b { color: var(--ink); font-weight: 600; }
.dash-foot { margin: var(--s2) 0 0; font-size: .7rem; color: var(--gray); }
.bar { height: 8px; border-radius: 99px; background: var(--sage); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.bar i.low { background: var(--warn); }
.job-table { width: 100%; border-collapse: collapse; }
.job-table th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-ink); font-weight: 600; padding: 0 8px 8px 0; }
.job-table td { padding: 9px 8px 9px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.job-table td:last-child { width: 30%; }

/* Product pictures (demo dashboards) */
.shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(14,90,120,.06), 0 24px 55px rgba(14,90,120,.14); background: #F8F7F4; }
.shot img { width: 100%; height: auto; }
.hero-figure { margin: 0; min-width: 0; }
.hero-shot { width: 800px; max-width: none; }
.hero-figure figcaption, .showcase figcaption { font-size: .78rem; color: var(--gray-ink); margin-top: 13px; }
.showcase { margin: 0; }
.showcase-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); }
.showcase-tab { background: var(--paper); border: 1.5px solid var(--line); border-radius: 99px; padding: 10px 18px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--char); }
.showcase-tab:hover { border-color: var(--teal); }
.showcase-tab.on { background: var(--ink); border-color: var(--ink); color: #F8F7F4; }
.showcase-cap { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s4); margin-top: var(--s4); align-items: start; }
.showcase-cap h3 { margin-bottom: 8px; }
.showcase-cap p { color: var(--char); margin: 0; }
.showcase-cap .ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s3); }

/* Credential row */
.creds { border-block: 1px solid var(--line); background: var(--paper); }
.creds ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 18px 0; font-size: .84rem; color: var(--gray-ink); letter-spacing: .03em; }
.creds li { display: flex; align-items: center; gap: 10px; }
.creds li::before { content: ""; width: 6px; height: 6px; background: var(--teal); transform: rotate(45deg); }

/* Grids and cards */
.grid { display: grid; gap: var(--s3); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.golden { grid-template-columns: 1.618fr 1fr; gap: var(--s5); align-items: center; }
.golden.flip { grid-template-columns: 1fr 1.618fr; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3) var(--s3); position: relative; }
.card.top::before { content: ""; position: absolute; left: var(--s3); top: 0; width: 34px; height: 3px; background: var(--teal); border-radius: 0 0 3px 3px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--char); font-size: .96rem; }
.card.deep { background: var(--ink); border-color: var(--ink); }
.card.deep h3 { color: #F8F7F4; } .card.deep p { color: var(--sage); }
.dark .card { background: rgba(248,247,244,.05); border-color: var(--line-dark); }
.dark .card p { color: var(--sage); }
.num { font-family: var(--serif); font-size: .95rem; color: var(--teal-ink); font-weight: 600; margin-bottom: var(--s2); display: block; }
.dark .num, .card.deep .num { color: var(--teal); }
.quote-card h3 { font-style: italic; font-weight: 500; font-size: 1.2rem; }
.ticks li { position: relative; padding: 0 0 10px 26px; font-size: .96rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* Stats */
.stat b { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.5rem); color: var(--blue); line-height: 1; display: block; margin-bottom: var(--s2); font-weight: 600; }
.stat p { font-size: .96rem; margin-bottom: 6px; }
.stat cite { font-style: normal; font-size: .74rem; color: var(--gray-ink); }
.stat { border-top: 1px solid var(--line); padding-top: var(--s3); }
.pull { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--ink); font-style: italic; max-width: 30em; margin: var(--s5) auto 0; text-align: center; line-height: 1.4; }

/* Bridge diagram */
.bridge { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; gap: var(--s3); align-items: center; }
.bridge-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.bridge-col.core { background: var(--ink); border-color: var(--ink); color: var(--sage); box-shadow: var(--shadow); }
.bridge-col.core h4 { color: #F8F7F4; }
.bridge-col h4 { margin-bottom: var(--s2); }
.bridge-col .cap { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-ink); margin-bottom: 6px; display: block; }
.bridge-col.core .cap { color: var(--teal); }
.bridge-arrow { align-self: center; width: 34px; height: 2px; background: var(--teal); position: relative; }
.bridge-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 9px; height: 9px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .8rem; padding: 6px 12px; border-radius: 99px; background: var(--ivory); border: 1px solid var(--line); color: var(--char); }
.steps-mini li { padding: 10px 0; border-top: 1px solid var(--line-dark); font-size: .92rem; }
.steps-mini li b { color: #F8F7F4; display: block; }
.out-list li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .92rem; font-weight: 500; color: var(--ink); }
.out-list li:first-child, .steps-mini li:first-child { border-top: 0; }

/* Tool strip */
.strip { padding: 18px 0 21px; background: var(--paper); border-block: 1px solid var(--line); overflow: hidden; }
.creds + .strip { border-top: 0; }
.strip-label { text-align: center; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gray-ink); margin: 0 0 13px; font-weight: 600; }
/* One continuous white ribbon: no boxes, no gaps. Multiply blends each logo's white background into the ribbon. */
.strip { background: #F8F7F4; }
.strip .marquee { margin-bottom: 0; }
.strip .marquee-track { gap: 0; padding-right: 0; }
.logo-tile { flex: none; width: 156px; height: 68px; display: grid; place-items: center; overflow: hidden; }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; padding: 6px 16px; mix-blend-mode: multiply; }
.cred-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 13px 55px; padding: 21px 0; }
/* The supplied Clark file is a photo; this crops it to the university seal only. */
.cred-seal { width: 60px; height: 60px; border-radius: 50%; flex: none; background: url("creds/clark-university.jpg") no-repeat; background-size: 196px auto; background-position: -71px -2px; }
.cred-logos img { height: 58px; width: auto; max-width: 170px; object-fit: contain; }
.strip-head { text-align: center; margin-bottom: var(--s4); }
.strip-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 6px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-bottom: var(--s2); }
.marquee-track { display: flex; gap: var(--s2); padding-right: var(--s2); flex: none; animation: slide 60s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.tool { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); white-space: nowrap; font-size: .88rem; font-weight: 550; color: var(--char); }
.tool i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: .68rem; font-weight: 700; color: #F8F7F4; letter-spacing: .02em; }
.tool small { color: var(--gray-ink); font-weight: 400; font-size: .72rem; }
.tool.manual { border-style: dashed; background: var(--paper); }

/* Problems accordion grid */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); align-items: start; grid-auto-flow: dense; }
.problem { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.problem[open] { grid-column: 1 / -1; border-color: var(--teal); box-shadow: var(--shadow); }
.problem summary { list-style: none; cursor: pointer; padding: var(--s3); display: grid; grid-template-columns: 1fr auto; gap: var(--s2); align-items: start; min-height: 148px; }
.problem[open] summary { min-height: 0; }
.problem summary::-webkit-details-marker { display: none; }
.problem .tag { grid-column: 1 / -1; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); font-weight: 650; }
.problem .q { font-family: var(--serif); font-size: 1.14rem; font-style: italic; color: var(--ink); line-height: 1.3; }
.problem .plus { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex: none; transition: transform .2s, background .2s; }
.problem .plus::before, .problem .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--blue); transform: translate(-50%, -50%); }
.problem .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.problem[open] .plus { transform: rotate(45deg); background: var(--sage); border-color: var(--teal); }
.problem-body { padding: 0 var(--s3) var(--s4); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); border-top: 1px solid var(--line); padding-top: var(--s3); }
.problem-body h4 { color: var(--teal-ink); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s2); }
.problem-body p { font-size: .96rem; }
.problem-body .solve { grid-column: 1 / -1; font-size: 1.02rem; color: var(--char); margin: 0; max-width: 75ch; }

/* Assessment */
.assess { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(21px, 4vw, 55px); max-width: 860px; margin-inline: auto; }
.progress { height: 4px; background: var(--sage); border-radius: 99px; overflow: hidden; margin-bottom: var(--s3); }
.progress i { display: block; height: 100%; width: 0; background: var(--teal); transition: width .3s; }
.q-meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--gray-ink); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s2); }
.q-meta b { color: var(--teal-ink); font-weight: 650; }
.q-text { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: var(--ink); margin-bottom: var(--s3); line-height: 1.25; }
.opts { display: grid; gap: 10px; }
.opt { text-align: left; width: 100%; background: var(--ivory); border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 18px; cursor: pointer; font-size: .98rem; transition: border-color .15s, background .15s; display: flex; gap: 12px; align-items: center; }
.opt::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--gray); flex: none; }
.opt:hover { border-color: var(--teal); background: #F8F7F4; }
.opt.sel { border-color: var(--teal); background: var(--sage); }
.opt.sel::before { border-color: var(--teal-ink); background: radial-gradient(circle, var(--teal-ink) 45%, transparent 50%); }
.assess-nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s3); }
.text-btn { background: none; border: 0; color: var(--gray-ink); cursor: pointer; font-weight: 550; padding: 8px 0; }
.text-btn:hover { color: var(--blue); }
.text-btn[disabled] { opacity: .35; cursor: default; }
.result-top { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: center; margin-bottom: var(--s4); }
.ring { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--teal) calc(var(--p) * 1%), var(--sage) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 11px; background: var(--paper); border-radius: 50%; }
.ring div { position: relative; text-align: center; line-height: 1; }
.ring b { font-family: var(--serif); font-size: 2.7rem; color: var(--ink); }
.ring span { display: block; font-size: .72rem; color: var(--gray-ink); margin-top: 4px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-bottom: var(--s4); }
.pillar { font-size: .86rem; }
.pillar div { display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 600; color: var(--ink); }
.gaps li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; font-size: .96rem; }
.gaps li::before { content: attr(data-n); position: absolute; left: 0; top: 12px; font-family: var(--serif); color: var(--teal-ink); font-weight: 600; }
.reco { background: var(--sage); border-radius: var(--radius); padding: var(--s3); margin: var(--s3) 0; }
.reco h4 { margin-bottom: 6px; color: var(--ink); }
.reco p { margin: 0; font-size: .96rem; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s3); }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font-size: .96rem; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(40,183,176,.18); }
.dark .field label { color: #F8F7F4; }
.dark .field input, .dark .field select, .dark .field textarea { background: rgba(248,247,244,.96); color: var(--char); border-color: transparent; }
.form-msg { grid-column: 1 / -1; font-size: .9rem; margin: 0; min-height: 1.4em; }
.form-msg.ok { color: var(--teal-ink); font-weight: 600; } .dark .form-msg.ok { color: var(--teal); }
.form-msg.err { color: var(--warn); } .dark .form-msg.err { color: var(--sage); }
.hp { position: absolute; left: -9999px; }
.consent { font-size: .76rem; color: var(--gray-ink); margin: 0; } .dark .consent { color: var(--sage); }

/* Offer block */
.offer { background: linear-gradient(140deg, var(--ink) 0%, var(--blue) 100%); color: var(--sage); border-radius: 22px; padding: clamp(28px, 5vw, 55px); display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s5); align-items: center; position: relative; overflow: hidden; }
.offer::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(248,247,244,.1); pointer-events: none; }
.offer h2 { color: #F8F7F4; }
.offer .eyebrow { color: var(--teal); }
.offer .ticks li { color: var(--sage); }
.offer .ticks b { color: #F8F7F4; }
.price-card { background: rgba(248,247,244,.08); border: 1px solid var(--line-dark); border-radius: 18px; padding: var(--s4) var(--s3); text-align: center; position: relative; z-index: 1; }
.price { font-family: var(--serif); font-size: 3.6rem; color: #F8F7F4; line-height: 1; font-weight: 600; }
.price-was { color: var(--sage); font-size: .92rem; margin: 8px 0 var(--s3); }
.price-card .btn { width: 100%; justify-content: center; }
.price-card .small { color: var(--sage); margin: var(--s2) 0 0; }
.terms { font-size: .76rem; color: var(--sage); margin: var(--s3) 0 0; grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: var(--s2); position: relative; z-index: 1; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); counter-reset: t; }
.timeline li { border-top: 2px solid var(--teal); padding-top: var(--s2); font-size: .92rem; color: var(--char); }
.timeline b { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }
.timeline span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); font-weight: 650; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--s3) 34px var(--s3) 0; font-family: var(--serif); font-size: 1.14rem; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; color: var(--teal-ink); font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--char); max-width: 68ch; }

/* Calculators */
.calc-shell { display: grid; grid-template-columns: 250px 1fr; gap: var(--s4); align-items: start; }
.calc-tabs { display: grid; gap: 6px; position: sticky; top: 100px; }
.calc-tab { text-align: left; background: none; border: 1px solid transparent; border-radius: 10px; padding: 12px 14px; cursor: pointer; font-weight: 550; font-size: .94rem; color: var(--char); }
.calc-tab:hover { background: var(--paper); }
.calc-tab.on { background: var(--ink); color: #F8F7F4; }
.calc-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(21px, 3vw, 34px); }
.calc-panel > p { color: var(--char); }
.calc-body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s3); }
.calc-fields { display: grid; gap: var(--s2); align-content: start; }
.calc-out { background: var(--ink); color: var(--sage); border-radius: var(--radius); padding: var(--s3); align-self: start; }
.calc-out .big { font-family: var(--serif); font-size: 2.5rem; color: #F8F7F4; line-height: 1.1; display: block; }
.calc-out .big-label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 650; }
.calc-out ul { margin-top: var(--s3); }
.calc-out li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.calc-out li b { color: #F8F7F4; white-space: nowrap; }
.calc-out .verdict { margin: var(--s3) 0 0; font-size: .92rem; color: #F8F7F4; background: rgba(40,183,176,.16); border-left: 3px solid var(--teal); padding: 10px 12px; border-radius: 0 8px 8px 0; }
.checklist li { padding: 10px 0 10px 32px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 15px; height: 15px; border: 1.5px solid var(--gray); border-radius: 4px; }

/* People */
.person { display: grid; grid-template-columns: 180px 1fr; gap: var(--s4); align-items: start; }
.photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--sage); border: 1px dashed var(--teal); display: grid; place-items: center; text-align: center; color: var(--teal-ink); font-size: .74rem; padding: 10px; overflow: hidden; position: relative; }
.photo b { font-family: var(--serif); font-size: 2.2rem; display: block; color: var(--blue); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 16 / 10; }
.role { color: var(--teal-ink); font-size: .84rem; font-weight: 600; letter-spacing: .04em; margin: -12px 0 var(--s2); }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--sage); padding: var(--s6) 0 var(--s4); font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.618fr 1fr 1fr 1fr; gap: var(--s4); margin-bottom: var(--s5); }
.site-footer h4 { color: #F8F7F4; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--s2); }
.site-footer a { color: var(--sage); display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--teal); }
.site-footer .brand-name { color: #F8F7F4; } .site-footer .brand-tag { color: var(--teal); }
.site-footer .logo-mark { --s: 54px; box-shadow: 0 0 0 4px #F8F7F4; }
.foot-promise { font-family: var(--serif); font-style: italic; color: #F8F7F4; font-size: 1.1rem; margin: var(--s3) 0 0; max-width: 24em; }
.legal { border-top: 1px solid var(--line-dark); padding-top: var(--s3); font-size: .76rem; line-height: 1.6; color: var(--gray); }
.legal p { margin-bottom: 10px; }

.sticky-cta { display: none; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .golden, .golden.flip, .offer, .calc-shell, .calc-body, .showcase-cap { grid-template-columns: 1fr; }
  .hero-shot { width: 100%; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .problems { grid-template-columns: repeat(2, 1fr); }
  .bridge { grid-template-columns: 1fr; }
  .bridge-arrow { transform: rotate(90deg); margin: 4px auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .calc-tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: var(--s2) 21px var(--s3); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .btn { justify-content: center; margin-top: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .section { padding: var(--s5) 0; }
  .hero, .page-hero { padding: var(--s5) 0 var(--s4); }
  .g2, .g3, .g4, .problems, .form, .pillars, .problem-body, .person, .timeline, .foot-grid { grid-template-columns: 1fr; }
  .problem summary { min-height: 0; }
  .showcase-cap .ticks { grid-template-columns: 1fr; }
  .person .photo { max-width: 180px; }
  .result-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .brand-tag { display: none; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); padding: 10px 16px; gap: 10px; }
  .sticky-cta .btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; }
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .site-footer, .sticky-cta, .strip, .no-print { display: none !important; }
  body { background: #F8F7F4; }
}

/* ---------- Editorial type system (v2) ---------- */
h1, h2, h3 { font-weight: 650; letter-spacing: -.032em; }
h1 { font-size: clamp(2.6rem, 5.9vw, 4.7rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.95rem); line-height: 1.06; }
h3 { letter-spacing: -.02em; }
.page-hero h1 { font-size: clamp(2.3rem, 4.9vw, 3.9rem); }
.accent, .quote-card h3, .problem .q, .pull, .foot-promise { font-family: var(--editorial); font-weight: 400; letter-spacing: -.012em; }
.accent { font-size: 1.1em; line-height: .9; }
.quote-card h3 { font-size: 1.5rem; line-height: 1.16; }
.problem .q { font-size: 1.36rem; line-height: 1.18; }
.pull { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.18; }
.foot-promise { font-size: 1.4rem; line-height: 1.2; }
.stat b, .price, .ring b, .kpi b, .calc-out .big { font-weight: 650; letter-spacing: -.04em; }
.num, .timeline b, .q-text, .faq summary { font-weight: 600; letter-spacing: -.015em; }
.num { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.lede { font-size: 1.2rem; line-height: 1.55; letter-spacing: -.008em; }
.eyebrow { letter-spacing: .2em; font-size: .72rem; }
.layer-rule { display: block; height: 1px; background: var(--line); margin: 0 0 var(--s3); position: relative; }
.layer-rule::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: var(--fill, 25%); background: var(--teal); }
.card.deep .layer-rule { background: var(--line-dark); }

/* ---------- Color hierarchy v3: six codes only. Blue dominant, ivory and sage surfaces, teal accent. ---------- */
/* Navigation */
.site-header { background: var(--blue); border-bottom: 1px solid rgba(14, 90, 120, .45); backdrop-filter: none; }
.site-header .brand-name { color: var(--ivory); }
.site-header .brand-tag { color: var(--sage); }
.site-header .logo-mark { box-shadow: 0 0 0 2px var(--ivory); }
.nav-links a { color: var(--ivory); }
.nav-links a:hover, .nav-links a.active { color: var(--ivory); border-bottom-color: var(--teal); }
.nav-links .btn, .nav-links .btn:hover { background: var(--teal); color: var(--blue); font-weight: 700; }
.nav-toggle { border-color: rgba(248, 247, 244, .4); }
.nav-toggle span { background: var(--ivory); }
@media (max-width: 980px) { .nav-links { background: var(--blue); border-bottom-color: rgba(14, 90, 120, .45); } }

/* Hero, page heroes and every blue band share one treatment */
.hero, .page-hero, .section.dark { background: var(--blue); color: var(--sage); }
.hero h1, .page-hero h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: var(--ivory); }
.hero .eyebrow, .page-hero .eyebrow, .section.dark .eyebrow { color: var(--teal); }
.hero .lede, .page-hero .lede, .section.dark .lede { color: var(--sage); }
.hero .accent, .page-hero .accent, .section.dark .accent, .offer .accent { color: var(--teal); }
.hero .btn-primary, .page-hero .btn-primary, .section.dark .btn-primary, .btn-teal { background: var(--teal); color: var(--blue); font-weight: 700; }
.hero .btn-primary:hover, .page-hero .btn-primary:hover, .section.dark .btn-primary:hover, .btn-teal:hover { background: var(--sage); color: var(--blue); }
.hero .btn-ghost, .page-hero .btn-ghost, .section.dark .btn-ghost, .offer .btn-ghost { border-color: var(--ivory); color: var(--ivory); background: transparent; }
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .section.dark .btn-ghost:hover, .offer .btn-ghost:hover { background: var(--ivory); color: var(--blue); }
.hero .link-arrow, .page-hero .link-arrow, .section.dark .link-arrow { color: var(--ivory); }
.hero-note, .hero-figure figcaption { color: var(--sage); }
.hero-figure figcaption a { color: var(--ivory); text-decoration: underline; }
.hero::before { display: none; }
.page-hero .photo { background: var(--sage); }

/* Light sections: ivory ground, sage cards with a gray border */
.section.white { background: var(--ivory); border-block: 0; }
.card, .problem, .bridge-col, .assess, .calc-panel { background: var(--sage); border: 1px solid rgba(14, 90, 120, .5); }
.card p, .problem-body p, .problem-body .solve, .calc-panel > p, .faq details p, .showcase-cap p, .timeline li { color: var(--char); }
.card h3, .card h4 { color: var(--blue); }
.problem[open] { border-color: var(--teal); }
.problem .plus { border-color: var(--gray); }
.problem[open] .plus { background: var(--ivory); }
.problem .tag, .problem-body h4, .num, .timeline span, .q-meta b, .role { color: var(--blue); }
.chip, .opt, .field input, .field select, .field textarea, .showcase-tab, .calc-tab:hover { background: var(--ivory); }
.chip, .opt, .field input, .field select, .field textarea, .showcase-tab { border-color: rgba(14, 90, 120, .55); }
.opt.sel { background: var(--ivory); border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.opt.sel::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 45%, transparent 50%); }
.progress, .bar { background: rgba(14, 90, 120, .28); }
.bar i.low { background: var(--gray); }
.ring { background: conic-gradient(var(--teal) calc(var(--p) * 1%), rgba(14, 90, 120, .28) 0); }
.ring::before { background: var(--sage); }
.reco { background: var(--ivory); border: 1px solid rgba(14, 90, 120, .5); }
.muted, .consent, .stat cite, .q-meta, .strip-label, figcaption { color: var(--gray); }
.card.top::before { background: var(--teal); }
.layer-rule { background: rgba(14, 90, 120, .5); }
#assessment, #calculators { padding-top: var(--s5) !important; }
.section.tight[style*="padding-top:0"] { padding-top: var(--s5) !important; }

/* Blue cards and blocks sitting on light sections */
.card.deep, .bridge-col.core, .calc-out, .calc-tab.on, .showcase-tab.on, .offer { background: var(--blue); border-color: var(--blue); color: var(--sage); }
.card.deep h3, .bridge-col.core h4, .offer h2, .calc-out .big, .calc-out li b, .steps-mini li b, .offer .ticks b { color: var(--ivory); }
.card.deep p, .offer p, .offer .ticks li, .calc-out li, .steps-mini li { color: var(--sage); }
.card.deep .num, .bridge-col.core .cap, .calc-out .big-label, .offer .eyebrow { color: var(--teal); }
.calc-tab.on, .showcase-tab.on { color: var(--ivory); }
.calc-out .verdict { color: var(--ivory); background: rgba(200, 164, 93, .18); }
.price { color: var(--teal); }
.price-card { background: rgba(248, 247, 244, .08); border-color: rgba(14, 90, 120, .6); }
.price-was, .price-card .small, .terms { color: var(--sage); }
.terms { border-top-color: rgba(14, 90, 120, .6); }

/* Cards inside blue bands */
.section.dark .card { background: rgba(248, 247, 244, .07); border-color: rgba(14, 90, 120, .6); }
.section.dark .card p { color: var(--sage); }
.section.dark .card h3, .section.dark .card h4 { color: var(--ivory); }
.section.dark .card .num, .section.dark .num { color: var(--teal); }
.section.dark .card.deep { background: rgba(200, 164, 93, .14); border-color: var(--teal); }
.section.dark .layer-rule { background: rgba(14, 90, 120, .6); }
.section.dark .field label { color: var(--ivory); }
.section.dark .field input, .section.dark .field select, .section.dark .field textarea { background: var(--ivory); color: var(--char); border-color: transparent; }
.section.dark .consent, .section.dark .small.muted { color: var(--sage); }
.section.dark .form-msg.ok { color: var(--teal); }
.section.dark .form-msg.err { color: var(--ivory); }
.form-msg.ok { color: var(--blue); }

/* Metrics band */
.section.dark .stat { border-top-color: var(--gray); }
.section.dark .stat b { color: var(--teal); }
.section.dark .stat p { color: var(--ivory); }
.section.dark .stat cite { color: var(--gray); }
.section.dark .pull { color: var(--ivory); }

/* Secondary panels: sage ground, ivory cards */
.section.sage { background: var(--sage); }
.section.sage .card { background: var(--ivory); border-color: rgba(14, 90, 120, .5); }
.section.sage .card.deep { background: var(--blue); border-color: var(--blue); }
.section.sage .card h4 { color: var(--blue); }

/* Logo rows sit on ivory */
.creds, .strip { background: var(--ivory); border-color: rgba(14, 90, 120, .38); }

/* Footer */
.site-footer { background: var(--blue); border-top: 3px solid var(--teal); color: var(--sage); }
.site-footer h4, .site-footer .brand-name, .foot-promise { color: var(--ivory); }
.site-footer .brand-tag { color: var(--teal); }
.site-footer a { color: var(--sage); }
.site-footer a:hover { color: var(--teal); }
.site-footer .logo-mark { box-shadow: 0 0 0 3px var(--ivory); }
.legal { color: var(--gray); border-top-color: rgba(14, 90, 120, .6); }
.sticky-cta { background: var(--blue); border-top: 1px solid var(--teal); }
.logo-tile { background: var(--ivory); }
.site-footer a.brand { display: flex; padding: 0; }

/* =====================================================================
   Palette v4 · Blue 60 · Ivory 26 · Teal 10 · Gold 4
   Teal means DO something: buttons, links, selection.
   Gold means LOOK here: underlines, dividers, key numbers on blue.
   Gold is never body text on ivory; text on ivory is blue.
   ===================================================================== */
:root {
  --gold: #C8A45D;
  --sage: #F8F7F4;
  --char: #0E5A78;
  --gray: rgba(14, 90, 120, .72);
  --gray-ink: rgba(14, 90, 120, .72);
  --teal-ink: #0E5A78;
  --line: rgba(14, 90, 120, .16);
  --line-dark: rgba(248, 247, 244, .16);
  --on-blue: rgba(248, 247, 244, .84);
}
body { color: var(--blue); }
a { color: var(--blue); }

/* Buttons: teal everywhere they are the action */
.btn-primary, .hero .btn-primary, .page-hero .btn-primary, .section.dark .btn-primary, .btn-teal, .nav-links .btn { background: var(--teal); color: var(--blue); font-weight: 700; }
.btn-primary:hover { background: var(--blue); color: var(--ivory); }
.hero .btn-primary:hover, .page-hero .btn-primary:hover, .section.dark .btn-primary:hover, .btn-teal:hover, .nav-links .btn:hover, .offer .btn-teal:hover { background: var(--ivory); color: var(--blue); }
.link-arrow { border-bottom-color: var(--teal); }
.section.dark a:not(.btn):not(.card), .hero-figure figcaption a, .offer a:not(.btn) { color: var(--teal); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(40, 183, 176, .2); }

/* Eyebrows: a short gold rule, then the label */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); flex: none; }
.hero .eyebrow, .page-hero .eyebrow, .section.dark .eyebrow, .offer .eyebrow { color: var(--on-blue); }

/* Accent words: gold underline, never gold text */
.accent, .hero .accent, .page-hero .accent, .section.dark .accent, .offer .accent { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .12em; text-decoration-skip-ink: none; }

/* Gold dividers and highlights */
.card.top::before, .layer-rule::after, .progress i, .bar i { background: var(--gold); }
.layer-rule { background: var(--line); }
.timeline li { border-top-color: var(--gold); }
.bridge-arrow { background: var(--gold); }
.bridge-arrow::after { border-color: var(--gold); }
.ticks li::before { border-color: var(--gold); }
.ring { background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--line) 0); }
.ring::before { background: var(--ivory); }
.bar i.low { background: rgba(14, 90, 120, .35); }
.problem[open] { border-color: var(--blue); }
.creds li::before { background: var(--gold); }

/* Key numbers on blue are gold */
.section.dark .stat b, .price, .calc-out .big, .card.deep .num, .section.dark .num, .section.dark .timeline span { color: var(--gold); }
.section.dark .stat { border-top-color: var(--gold); }
.stat b { color: var(--blue); }

/* Surfaces on ivory: ivory cards with a quiet blue hairline */
.card, .problem, .bridge-col, .assess, .calc-panel, .reco, .chip, .opt, .showcase-tab { background: var(--ivory); border-color: var(--line); }
.card, .problem, .assess, .calc-panel { box-shadow: 0 1px 2px rgba(14, 90, 120, .05), 0 10px 28px rgba(14, 90, 120, .06); }
.card p, .problem-body p, .problem-body .solve, .calc-panel > p, .faq details p, .showcase-cap p, .timeline li, .lede { color: var(--blue); }
.lede { opacity: .92; }

/* Blue surfaces */
.card.deep, .bridge-col.core, .calc-out, .offer { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.card.deep p, .offer p, .offer .ticks li, .calc-out li, .steps-mini li, .price-was, .price-card .small, .terms { color: var(--on-blue); }
.bridge-col.core .cap, .calc-out .big-label { color: var(--gold); }
.calc-out .verdict { color: var(--ivory); background: rgba(200, 164, 93, .14); border-left-color: var(--gold); }
.offer-band .offer { border: 1px solid var(--line-dark); background: rgba(248, 247, 244, .03); }
.offer-band .offer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); }
.section.dark .card { background: rgba(248, 247, 244, .06); border-color: var(--line-dark); box-shadow: none; }
.section.dark .card p, .section.dark .ticks li, .section.dark .timeline li, .section.dark p { color: var(--on-blue); }
.section.dark .card h3, .section.dark .card h4, .section.dark .timeline b, .section.dark h2 { color: var(--ivory); }
.section.dark .card.deep { background: rgba(248, 247, 244, .1); border-color: var(--gold); }
.section.dark .assess, .section.dark .calc-panel { background: var(--ivory); border-color: transparent; box-shadow: 0 24px 55px rgba(0, 0, 0, .18); }
.section.dark .assess p, .section.dark .calc-panel p { color: var(--blue); }
.section.dark .calc-panel .calc-out p { color: var(--ivory); }
.section.dark .calc-tab { color: var(--on-blue); }
.section.dark .calc-tab:hover { background: rgba(248, 247, 244, .08); }
.section.dark .calc-tab.on { background: var(--ivory); color: var(--blue); }
.section.dark .person .photo { background: rgba(248, 247, 244, .08); }
.page-hero + .section.dark.tight { padding-top: 0 !important; }
.section.dark + .section.dark { border-top: 1px solid var(--line-dark); }

/* Header and footer */
.site-header .brand-name { color: var(--ivory); letter-spacing: .22em; font-size: 1.05rem; }
.site-header .brand-tag { color: var(--on-blue); }
.site-footer { border-top: 2px solid var(--gold); color: var(--on-blue); }
.site-footer .brand-name { letter-spacing: .22em; }
.site-footer .brand-tag, .site-footer a { color: var(--on-blue); }
.site-footer a:hover { color: var(--teal); }
.legal { color: rgba(248, 247, 244, .6); border-top-color: var(--line-dark); }
.muted, .consent, .stat cite, .strip-label, figcaption { color: var(--gray); }
.section.dark .muted, .section.dark .consent, .section.dark .stat cite, .section.dark figcaption { color: rgba(248, 247, 244, .66); }

/* Tagline symbols: Clarity = Agreement, Control = Checkpoint, Forward Plan = Heading */
.symbol { display: inline-block; width: 56px; height: 56px; color: var(--blue); flex: none; }
.symbol svg { width: 100%; height: 100%; display: block; }
.card.deep .symbol, .section.dark .symbol, .site-footer .symbol { color: var(--ivory); }
.stage .symbol { margin-bottom: 21px; }
.stage .num { display: block; }
.foot-symbols { display: flex; gap: 21px; margin-top: 21px; align-items: center; }
.foot-symbols .symbol { width: 28px; height: 28px; }
.symbol-line { font-family: var(--editorial); font-style: italic; font-size: 1.22rem; line-height: 1.25; margin: -8px 0 13px; color: var(--blue); }
.card.deep .symbol-line { color: var(--ivory); }
.stage .symbol-line { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.stage .symbol { width: 76px; height: 76px; margin: -10px 0 8px -10px; }
/* Ivory panels inside blue sections go back to blue-on-ivory text */
.section.dark .assess, .section.dark .calc-panel { color: var(--blue); }
.section.dark .assess :is(h2, h3, h4, p, .lede, .q-text, label, .field label),
.section.dark .calc-panel > :is(h3, p), .section.dark .calc-panel .field label { color: var(--blue); }
.section.dark .assess .eyebrow, .section.dark .calc-panel .eyebrow { color: var(--blue); }
.section.dark .assess :is(.muted, .consent, .q-meta, .small), .section.dark .calc-panel .muted { color: var(--gray); }
.section.dark .assess .q-meta b { color: var(--blue); }
.section.dark .assess :is(.field input, .field select, .field textarea), .section.dark .calc-panel :is(.field input, .field select) { background: var(--ivory); color: var(--blue); border: 1.5px solid var(--line); }
.section.dark .assess .form-msg.ok { color: var(--blue); }
.section.dark .assess .form-msg.err { color: var(--blue); }
.section.dark .assess a:not(.btn) { color: var(--blue); text-decoration: underline; text-decoration-color: var(--teal); }
.section.dark .assess .text-btn { color: var(--gray); }
.section.dark .calc-panel .calc-out p.verdict { color: var(--ivory); }
.section.dark .calc-panel a:not(.btn) { color: var(--blue); text-decoration: underline; text-decoration-color: var(--teal); }
