:root {
  --ink: #142221;
  --ink-soft: #31423f;
  --paper: #f4f1e9;
  --paper-bright: #fffdf7;
  --teal: #0b6660;
  --teal-dark: #073f3c;
  --lime: #cce66a;
  --line: rgba(20, 34, 33, 0.18);
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

.site-header { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; max-width: 340px; font-size: .91rem; font-weight: 750; line-height: 1.2; text-decoration: none; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: .78rem; letter-spacing: .08em; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { padding: .3rem 0; color: var(--ink-soft); font-size: .92rem; font-weight: 680; text-decoration: none; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); border-color: var(--teal); }

.hero, .contact-hero { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(40px, 7vw, 96px); align-items: center; padding: clamp(72px, 10vw, 138px) 0; }
.hero-copy { max-width: 760px; }
.eyebrow, .card-label { margin: 0 0 18px; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 900px; margin-bottom: 30px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.15rem, 7.2vw, 6.8rem); font-weight: 500; }
h2 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 4.4vw, 4.4rem); font-weight: 500; }
h3 { margin-bottom: 16px; font-size: 1.22rem; }
p { margin-top: 0; }
.lede { max-width: 760px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.34rem); line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.15rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .92rem; font-weight: 760; text-decoration: none; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary:hover { background: var(--paper-bright); }
.button-light { border-color: white; background: white; color: var(--ink); }
.button-light:hover { background: var(--lime); border-color: var(--lime); }

.signal-card, .contact-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--teal-dark); color: white; box-shadow: 18px 18px 0 var(--lime); }
.signal-card .card-label, .contact-card .card-label { color: var(--lime); }
.principle-list { margin: 0; padding: 0; list-style: none; }
.principle-list li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.2); font-weight: 680; }
.principle-list span { color: var(--lime); font-size: .75rem; letter-spacing: .1em; }

.section { padding: clamp(76px, 10vw, 132px) max(20px, calc((100% - var(--max)) / 2)); }
.section-dark { background: var(--ink); color: white; }
.section-dark .eyebrow, .section-dark .card-number { color: var(--lime); }
.section-heading { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-bottom: 56px; }
.section-heading h2 { max-width: 850px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card, .plain-card { min-height: 280px; padding: 30px; border: 1px solid rgba(255,255,255,.19); border-radius: var(--radius); }
.service-card p:last-child, .plain-card p:last-child { color: rgba(255,255,255,.72); }
.card-number { margin-bottom: 76px; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.plain-card { min-height: 210px; }

.split-section { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1fr); gap: clamp(50px, 9vw, 130px); }
.prose-stack { max-width: 720px; color: var(--ink-soft); font-size: 1.12rem; }
.prose-stack p { margin-bottom: 22px; }
.text-link { display: inline-block; margin-top: 14px; color: var(--teal-dark); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cta-band { width: min(var(--max), calc(100% - 40px)); margin: 30px auto 80px; padding: clamp(36px, 6vw, 70px); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: var(--radius); background: var(--teal); color: white; }
.cta-band .eyebrow { color: var(--lime); }
.cta-band h2 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); }

.page-hero { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: clamp(72px, 10vw, 128px) 0 clamp(58px, 8vw, 100px); }
.page-hero h1 { max-width: 1050px; font-size: clamp(3rem, 6.5vw, 6.1rem); }
.service-list { padding-top: 20px; }
.service-row { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 44px 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .card-number { margin: 6px 0 0; }
.service-row h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.service-row p:last-child { max-width: 760px; color: var(--ink-soft); font-size: 1.08rem; }
.contact-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); }
.contact-email { display: inline-block; margin-bottom: 26px; color: var(--lime); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 800; text-underline-offset: 5px; }
.contact-card p:last-child { color: rgba(255,255,255,.75); }

.site-footer { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .82rem; }
.site-footer p { margin: 0; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; padding: 22px 0; }
  .brand { max-width: 220px; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
  .hero, .contact-hero, .split-section { grid-template-columns: 1fr; }
  .signal-card, .contact-card { max-width: 620px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .card-number { margin-bottom: 42px; }
  .cta-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header { display: block; }
  .brand { max-width: none; }
  nav { margin-top: 22px; justify-content: flex-start; }
  .hero, .contact-hero, .page-hero { width: min(100% - 28px, var(--max)); }
  .hero, .contact-hero { padding-top: 62px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.4rem); }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .site-footer { padding: 26px 0; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --- Expansion additions (systems flow, capability tags, system blocks) --- */

.flow-strip { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.flow-step { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); }
.flow-num { margin: 0 0 30px; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.flow-step h3 { margin-bottom: 10px; font-size: 1.05rem; }
.flow-step p:last-child { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }

.card-grid-five { grid-template-columns: repeat(5, 1fr); }
.card-grid-five .plain-card { min-height: 190px; padding: 26px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.tag { padding: .34rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-dark); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.system-block h2 { margin-bottom: 26px; }
.system-block .mini-label { margin: 26px 0 8px; color: var(--teal); font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.system-block .mini-label:first-of-type { margin-top: 0; }
.system-block div p { max-width: 760px; color: var(--ink-soft); font-size: 1.05rem; }
.system-block div p.outcome-line { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.24rem; line-height: 1.45; }
.system-block div p.continuity-note { margin-top: 28px; padding: 16px 20px; border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; background: var(--paper-bright); font-size: .98rem; }
.continuity-note strong { color: var(--teal-dark); }

.prose-on-dark { color: rgba(255, 255, 255, .78); }
.section-footnote { margin: 44px 0 0; }
.text-link-light { color: var(--lime); }

@media (max-width: 1100px) {
  .flow-strip { grid-template-columns: 1fr; }
  .card-grid-five { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .card-grid-five { grid-template-columns: 1fr; }
  .card-grid-five .plain-card { min-height: 0; }
  .system-block .mini-label:first-of-type { margin-top: 4px; }
}

/* --- Rebalance additions (cross-sector sections, proof blocks, six-step flows) --- */

.section-lede { max-width: 780px; margin: -26px 0 48px; color: var(--ink-soft); font-size: 1.12rem; line-height: 1.65; }
.flow-strip.flow-six { grid-template-columns: repeat(6, 1fr); }
.card-grid-two { grid-template-columns: repeat(2, 1fr); }
.proof-card { min-height: 0; }
.proof-card h3 { margin-bottom: 18px; }
.proof-card p { margin-bottom: 12px; font-size: .96rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.proof-card p:last-child { margin-bottom: 0; color: rgba(255, 255, 255, .82); }
.proof-card strong { color: var(--lime); font-weight: 750; }
.system-block .block-title { margin-bottom: 26px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.service-row p.continuity-note { margin-top: 18px; max-width: 760px; padding: 16px 20px; border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; background: var(--paper-bright); color: var(--ink-soft); font-size: .98rem; }
.service-row p.continuity-note strong { color: var(--teal-dark); }
.hero-copy .tag-row { margin-top: 40px; }

@media (max-width: 1100px) {
  .flow-strip.flow-six { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .card-grid-two { grid-template-columns: 1fr; }
}
