:root {
  color-scheme: light;
  --ink: #102027;
  --ink-soft: #283b42;
  --muted: #65757a;
  --paper: #f5f7f2;
  --paper-2: #eaf0e8;
  --panel: #ffffff;
  --line: #d5ded9;
  --water: #0b6474;
  --river: #26705f;
  --reed: #778a34;
  --amber: #bd7a22;
  --coral: #b95745;
  --foam: #d8f1eb;
  --shadow: 0 24px 70px rgba(17, 37, 43, 0.14);
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* reverted to one clean sans family — serif/mono aliases kept so existing rules resolve to sans */
  --serif: var(--sans);
  --mono: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(38, 112, 95, 0.22);
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  color: #ffffff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(245, 247, 242, 0.93);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(16, 32, 39, 0.11);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0) 0 42%, rgba(255, 255, 255, 0.86) 43% 51%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(150deg, #0b6474, #26705f 56%, #bd7a22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 0;
  color: currentColor;
  opacity: 0.74;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}

.brand strong {
  font-family: var(--mono);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(9, 28, 32, 0.2);
}

.is-scrolled .nav {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(16, 32, 39, 0.1);
}

.nav a {
  padding: 8px 11px;
  border-radius: 7px;
  color: currentColor;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 760;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.is-scrolled .nav a:hover,
.is-scrolled .nav a:focus-visible {
  background: rgba(11, 100, 116, 0.1);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 36px));
  display: grid;
  align-content: end;
  padding: 148px clamp(18px, 5vw, 72px) 26px;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/monterey-elkhorn-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.012);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 22, 27, 0.84) 0%, rgba(7, 22, 27, 0.58) 36%, rgba(7, 22, 27, 0.16) 66%, rgba(7, 22, 27, 0.04) 100%),
    linear-gradient(180deg, rgba(6, 18, 23, 0.52) 0%, rgba(6, 18, 23, 0.08) 38%, rgba(6, 18, 23, 0.58) 100%);
}

.hero-content {
  width: min(850px, 100%);
  padding-bottom: clamp(26px, 6vw, 70px);
}

.eyebrow {
  margin: 0 0 14px;
  color: currentColor;
  opacity: 0.85;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 16ch;
  margin-bottom: 20px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-copy {
  width: min(720px, 100%);
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 820;
}

.button.primary {
  color: #0e242a;
  background: #ffffff;
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.status-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 100%);
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(13px);
}

.status-rail div {
  padding: 15px;
  background: rgba(8, 31, 36, 0.46);
}

.status-rail span,
.status-rail strong {
  display: block;
}

.status-rail span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-rail strong {
  font-size: clamp(1.05rem, 2vw, 1.36rem);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.intro-band {
  padding-top: 42px;
  padding-bottom: 50px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  color: var(--water);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.split,
.section-head,
.evidence-grid,
.domain-grid,
.ledger-grid,
.pilot-section {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.lede-stack {
  display: grid;
  gap: 14px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.lede-stack p {
  margin-bottom: 0;
}

.section-head {
  display: block;
  margin-bottom: 30px;
}

.section-head .eyebrow {
  color: var(--water);
  opacity: 1;
}

.section-head h2 {
  max-width: 20ch;
}

.section-head p {
  max-width: 60ch;
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.source-note {
  padding: 12px 14px;
  border-left: 4px solid var(--water);
  background: rgba(216, 241, 235, 0.58);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.outcome-grid,
.proof-grid {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  display: grid;
  gap: 14px;
}

.outcome-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outcome-grid article,
.proof-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(16, 32, 39, 0.06);
}

.outcome-grid article {
  min-height: 230px;
  padding: 20px;
}

.outcome-grid h3,
.proof-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.12;
}

.outcome-grid p,
.proof-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-section {
  background:
    linear-gradient(180deg, rgba(216, 241, 235, 0.55), rgba(245, 247, 242, 1));
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-stat {
  display: block;
  margin-bottom: 14px;
  color: var(--water);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.proof-note {
  width: min(1180px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.proof-note a {
  color: var(--water);
  font-weight: 600;
  text-underline-offset: 3px;
}

.proof-card {
  display: grid;
  align-content: start;
  min-height: 0;
  padding: 22px 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.proof-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 100, 116, 0.4);
  box-shadow: 0 22px 50px rgba(11, 100, 116, 0.14);
}

.proof-card > p {
  font-size: 0.98rem;
  line-height: 1.5;
}

.proof-card dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.proof-card dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.proof-card dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--water);
}

.proof-card dd {
  margin-top: 4px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.metric-card,
.source-row,
.engine-card,
.result-detail,
.glossary-strip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(16, 32, 39, 0.06);
}

.engine-card p,
.source-row p {
  color: var(--muted);
}

.fact ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.metric-card strong {
  margin-bottom: 8px;
  font-size: 1.06rem;
  line-height: 1.16;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.evidence-card,
.ledger-card,
.domain-grid article,
.pilot-steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(16, 32, 39, 0.06);
}

.evidence-card {
  display: grid;
  align-content: space-between;
  min-height: 390px;
  padding: 20px;
}

.evidence-card.strong {
  grid-column: span 2;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(9, 65, 74, 0.96), rgba(28, 103, 84, 0.94)),
    var(--water);
  border-color: rgba(255, 255, 255, 0.16);
}

.evidence-card.wash {
  background: #fff8ef;
  border-color: #e8d6bc;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  width: max-content;
  max-width: 100%;
  border-radius: 99px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill.good {
  color: #073a31;
  background: #bcebdd;
}

.pill.neutral {
  color: #103d48;
  background: #cde9ef;
}

.pill.caution {
  color: #5b2c16;
  background: #f5d2a4;
}

.metric {
  color: currentColor;
  opacity: 0.66;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
}

.evidence-card h3,
.ledger-card h3,
.domain-grid h3,
.pilot-steps h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.12;
}

.evidence-card p,
.ledger-card p,
.domain-grid p,
.pilot-steps p {
  color: var(--muted);
}

.evidence-card.strong p,
.evidence-card.strong dd {
  color: rgba(255, 255, 255, 0.78);
}

.evidence-card dl {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.evidence-card dl div {
  padding-top: 10px;
  border-top: 1px solid rgba(101, 117, 122, 0.22);
}

.evidence-card.strong dl div {
  border-color: rgba(255, 255, 255, 0.18);
}

dt {
  margin-bottom: 3px;
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 860;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--muted);
}

.water-section {
  background:
    linear-gradient(180deg, rgba(216, 241, 235, 0.82), rgba(245, 247, 242, 0.6) 58%, rgba(245, 247, 242, 1));
}

.lakehouse-section {
  background: #ffffff;
}

.metric-grid {
  width: min(1180px, 100%);
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  min-height: 122px;
  padding: 18px;
}

.metric-card strong {
  display: block;
  color: var(--water);
  font-size: 1.9rem;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
}

.source-table-shell,
.table-head {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.source-table-shell {
  margin-top: 22px;
}

.table-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.table-head h3 {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.table-head p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
}

.source-table {
  display: grid;
  gap: 9px;
}

.source-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.94fr) minmax(170px, 0.46fr) minmax(300px, 1.18fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.row-index {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--river);
  font-size: 0.72rem;
  font-weight: 880;
}

.source-row h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.row-count {
  display: grid;
  gap: 8px;
}

.row-count strong {
  color: var(--ink-soft);
}

.bar {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: #e4ebe7;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--water), var(--river), var(--amber));
}

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 99px;
  color: #2d454b;
  background: #eef4f2;
  font-size: 0.74rem;
  font-weight: 760;
}

.engines-section {
  background: var(--paper);
}

.engine-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.engine-card {
  padding: 18px;
}

.engine-card h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.engine-card dl,
.result-detail dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.engine-card dl div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.domain-grid article {
  min-height: 210px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 249, 0.96));
}

.domain-index {
  display: block;
  margin-bottom: 44px;
  color: var(--river);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ledger-section {
  background: #ffffff;
}

.glossary-strip {
  width: min(1180px, 100%);
  margin: -8px auto 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
}

.glossary-strip span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 99px;
  color: var(--ink-soft);
  background: #eef4f2;
  font-size: 0.78rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--ink-soft);
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: #ffffff;
  background: var(--water);
  border-color: var(--water);
  outline: none;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ledger-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.ledger-layout .ledger-grid {
  width: 100%;
  grid-template-columns: 1fr;
  margin: 0;
}

.ledger-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  min-height: 245px;
}

.result-button {
  width: 100%;
  min-height: 0;
  text-align: left;
  cursor: pointer;
}

.result-button strong,
.result-button span {
  display: block;
}

.result-button > span:not(.pill) {
  color: var(--muted);
}

.result-button.active,
.result-button:hover,
.result-button:focus-visible {
  border-color: rgba(11, 100, 116, 0.42);
  box-shadow: 0 20px 46px rgba(11, 100, 116, 0.13);
  outline: none;
}

.result-detail {
  position: sticky;
  top: 88px;
  padding: 20px;
}

.detail-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.detail-head h3 {
  margin: 12px 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.detail-head p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.fact {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
}

.fact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--water);
  font-size: 0.74rem;
  font-weight: 880;
  text-transform: uppercase;
}

.fact span,
.fact li {
  color: var(--ink-soft);
}

.artifact-fact {
  display: grid;
  gap: 7px;
}

.artifact-fact a {
  color: var(--water);
  font-size: 0.84rem;
  font-weight: 760;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 80px repeat(2, minmax(72px, 1fr));
  margin: 8px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.matrix-grid div {
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.matrix-grid div:nth-child(3n) {
  border-right: 0;
}

.matrix-grid div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.pilot-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.pilot-copy .eyebrow {
  color: var(--water);
  opacity: 1;
}

.pilot-copy p:last-child {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.pilot-steps {
  display: grid;
  gap: 12px;
}

.pilot-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  padding: 16px;
}

.pilot-steps span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--water);
  font-weight: 880;
}

.pilot-steps h3,
.pilot-steps p {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .evidence-grid,
  .outcome-grid,
  .proof-grid,
  .domain-grid,
  .ledger-grid,
  .metric-grid,
  .engine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-card.strong {
    grid-column: span 2;
  }

  .status-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-row {
    grid-template-columns: minmax(220px, 0.9fr) minmax(160px, 0.42fr);
  }

  .source-row .signals {
    grid-column: 1 / -1;
  }

  .ledger-layout {
    grid-template-columns: 1fr;
  }

  .result-detail {
    position: static;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    gap: 2px;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding: 150px 16px 20px;
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero-content {
    padding-bottom: 30px;
  }

  .eyebrow {
    letter-spacing: 0.1em;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 8.4vw, 3.3rem);
    overflow-wrap: break-word;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .status-rail,
  .split,
  .section-head,
  .evidence-grid,
  .outcome-grid,
  .proof-grid,
  .metric-grid,
  .source-row,
  .engine-grid,
  .domain-grid,
  .ledger-grid,
  .detail-grid,
  .pilot-section {
    grid-template-columns: 1fr;
  }

  .evidence-card.strong {
    grid-column: span 1;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-head {
    align-items: start;
  }

  .filters {
    justify-content: flex-start;
  }

  .evidence-card,
  .outcome-grid article,
  .proof-card,
  .domain-grid article,
  .ledger-card,
  .source-row {
    min-height: 0;
  }

  .table-head {
    display: block;
  }

  .domain-index {
    margin-bottom: 28px;
  }
}

@media (max-width: 430px) {
  .status-rail {
    grid-template-columns: 1fr;
  }

  .card-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .pilot-steps article {
    grid-template-columns: 1fr;
  }

  .pilot-steps span {
    grid-row: auto;
    margin-bottom: 10px;
  }
}

/* ---------- approach / trust ---------- */
.approach-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.trust-stats {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(16, 32, 39, 0.06);
}

.trust-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--water);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 2.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.trust-stat span {
  color: var(--muted);
  font-size: 0.96rem;
}

.approach-grid {
  margin-top: 14px;
}

.approach-cta {
  width: min(1180px, 100%);
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(9, 65, 74, 0.96), rgba(28, 103, 84, 0.94)),
    var(--water);
  color: #ffffff;
}

.approach-cta strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.16rem;
}

.approach-cta span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
}

.approach-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button.ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- contact ---------- */
.contact-section {
  background:
    linear-gradient(180deg, rgba(216, 241, 235, 0.6), rgba(245, 247, 242, 1));
  border-top: 1px solid var(--line);
}

.contact-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-lead h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-bottom: 12px;
}

.contact-lead > p {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.02em;
}

.field label span {
  color: var(--muted);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--water);
  box-shadow: 0 0 0 3px rgba(11, 100, 116, 0.16);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

.form-row .button {
  min-width: 170px;
}

.button.primary[disabled] {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.form-status.is-ok {
  color: var(--river);
}

.form-status.is-error {
  color: var(--coral);
}

.contact-checklist {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8faf8;
}

.contact-checklist h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.contact-checklist ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}

.checklist-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.checklist-note a,
.contact-checklist a {
  color: var(--water);
  font-weight: 760;
  text-underline-offset: 3px;
}

/* ---------- footer ---------- */
.site-footer {
  padding: clamp(34px, 5vw, 56px) clamp(18px, 5vw, 72px);
  background: #0c2329;
  color: rgba(255, 255, 255, 0.86);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 620px;
}

.footer-brand strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 760;
  text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer-note {
  width: min(1180px, 100%);
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
}

@media (max-width: 1040px) {
  .trust-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .trust-stats {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .approach-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row .button {
    width: auto;
  }
}
