
/* Homepage composition: one decision system, not a gallery of cards. */
#top,
.trust-strip {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(13,43,78,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,43,78,.035) 1px, transparent 1px);
  background-size: 38px 38px;
}
#top {
  --hero-edge-space: clamp(96px, 8vw, 126px);
  --hero-header-clearance: 86px;
  position: relative;
  isolation: isolate;
  min-height: auto;
  grid-template-columns: minmax(450px, 600px) minmax(480px, 500px);
  justify-content: space-between;
  align-items: center;
  gap: clamp(48px, 6vw, 104px);
  padding-top: calc(var(--hero-edge-space) + var(--hero-header-clearance));
  padding-bottom: var(--hero-edge-space);
}
#top::before {
  display: none;
}
#top::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 42%;
  height: 48%;
  right: 1.5%;
  bottom: 4%;
  background: radial-gradient(circle at 50% 50%, rgba(13,43,78,.09), transparent 68%);
  filter: blur(20px);
}
#top .copy { max-width: 600px; padding: 0; }
#top .hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 560px;
  margin: 0 0 24px;
  padding: 7px 12px;
  color: white;
  background: var(--navy-deep);
  font: 600 11px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
#top h1 {
  max-width: 600px;
  font-family: "Source Serif 4", var(--serif);
  font-size: clamp(48px, 5vw, 78px);
  line-height: .98;
  letter-spacing: -.048em;
}
#top .lede {
  max-width: 560px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.62;
}
#top .copy::after {
  display: none;
}
#top .kg-demo-wrap {
  margin-left: 0;
  justify-items: end;
}
#top .kg-demo-wrap::before,
#top .kg-demo-wrap::after {
  display: none;
}
#top .kg-demo { box-shadow: 0 26px 72px rgba(7,29,52,.11); }

.approval-failures {
  position: relative;
  padding: 118px clamp(28px,6vw,96px) 94px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(13,43,78,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,43,78,.035) 1px, transparent 1px);
  background-size: 38px 38px;
}
.approval-failures::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(28px,6vw,96px);
  left: clamp(28px,6vw,96px);
  height: 1px;
  background: rgba(13,43,78,.12);
}
.approval-failures-intro {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.approval-failures-kicker {
  display: inline-flex;
  margin: 0;
  padding: 7px 12px;
  color: white;
  background: var(--navy-deep);
  font: 600 11px/1 "JetBrains Mono", var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.approval-failures-intro h2 {
  max-width: 820px;
  margin: 23px auto 0;
  color: var(--ink);
  font: 400 clamp(42px,4.2vw,64px)/1.02 var(--serif);
  letter-spacing: -.043em;
  text-wrap: balance;
}
.approval-failures-intro > p:last-child {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.62;
}
.approval-failures-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(48px,4.2vw,64px);
  max-width: 1368px;
  margin: 66px auto 0;
  padding-top: 0;
}
.approval-failure-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.approval-failure-card::before {
  content: "";
  width: 48px;
  height: 2px;
  flex: 0 0 auto;
  background: #C4A035;
}
.approval-failure-index {
  margin-top: 20px;
  color: var(--graphite);
  font: 500 12px/1 "JetBrains Mono", var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.approval-failure-card h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font: 400 clamp(28px,2vw,30px)/1.1 var(--serif);
  letter-spacing: -.025em;
}
.approval-failure-card > p {
  max-width: 36ch;
  margin: 12px 0 0;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.55;
}
.approval-failure-evidence {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  padding-left: 14px;
  color: var(--graphite);
  border-left: 1px solid rgba(13,43,78,.2);
}
.approval-evidence-row {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr);
  gap: 16px;
  align-items: baseline;
}
.approval-evidence-key {
  color: var(--graphite);
  font: 500 12px/1.45 "JetBrains Mono", var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.approval-evidence-value {
  color: var(--ink);
  font: 500 13px/1.45 "JetBrains Mono", var(--mono);
  white-space: nowrap;
}
.approval-stage-link {
  display: inline-block;
  width: fit-content;
  margin-top: auto;
  padding-top: 28px;
  color: var(--navy);
  border: 0;
  font: 400 13px/1.4 "JetBrains Mono", var(--mono);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.approval-stage-link:hover,
.approval-stage-link:focus-visible {
  text-decoration: underline;
}
.approval-stage-link:focus-visible,
.approval-failures-analysis a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}
.approval-failures-analysis {
  margin-top: 64px;
  text-align: center;
}
.approval-failures-analysis a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}
.approval-failures-analysis a > span:first-child { color: var(--graphite); }
.approval-failures-analysis em {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: rgba(13,43,78,.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.approval-analysis-arrow { color: var(--navy); }
.approval-failures-analysis a:hover em { text-decoration-color: var(--navy); }

.reproducibility-section {
  position: relative;
  padding: 118px clamp(28px,6vw,96px) 94px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(13,43,78,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,43,78,.035) 1px, transparent 1px);
  background-size: 38px 38px;
}
.reproducibility-intro {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.reproducibility-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--navy);
  font: 600 12px/1 "JetBrains Mono", var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.reproducibility-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--navy);
}
.reproducibility-intro h2 {
  max-width: 820px;
  margin: 23px auto 0;
  color: var(--ink);
  font: 400 clamp(42px,4.2vw,64px)/1.02 var(--serif);
  letter-spacing: -.043em;
  text-wrap: balance;
}
.reproducibility-intro > p:last-child {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.62;
}
.reproducibility-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(48px,4.2vw,64px);
  max-width: 1368px;
  margin: 66px auto 0;
  padding-top: 33px;
}
.reproducibility-grid::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(13,43,78,.16);
}
.reproducibility-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.reproducibility-item::before {
  content: "";
  width: 48px;
  height: 2px;
  flex: 0 0 auto;
  background: #C4A035;
}
.reproducibility-index {
  margin-top: 20px;
  color: var(--graphite);
  font: 500 12px/1 "JetBrains Mono", var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.reproducibility-item h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font: 400 clamp(28px,2vw,30px)/1.1 var(--serif);
  letter-spacing: -.025em;
}
.reproducibility-item p {
  max-width: 38ch;
  margin: 12px 0 0;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.55;
}
.reproducibility-link-wrap {
  max-width: 1368px;
  margin: 56px auto 0;
}
.reproducibility-link-wrap a {
  color: var(--navy);
  font: 400 13px/1.4 "JetBrains Mono", var(--mono);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.reproducibility-link-wrap a:hover,
.reproducibility-link-wrap a:focus-visible {
  text-decoration: underline;
}
.reproducibility-link-wrap a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.trust-strip {
  min-height: 480px;
  padding: 72px clamp(28px,6vw,96px);
  color: var(--ink);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  align-items: center;
  gap: 64px;
  max-width: 1368px;
  margin: 0 auto;
}
.trust-strip-copy { min-width: 0; }
.trust-strip-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  color: white;
  background: var(--navy-deep);
  font: 600 12px/1 "JetBrains Mono", var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.trust-strip-copy h2 {
  margin: 20px 0 0;
  color: var(--ink);
  font: 400 clamp(46px,4.4vw,66px)/1 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.trust-strip-last-line { display: block; }
.trust-strip-copy > p:not(.trust-strip-eyebrow) {
  max-width: 44ch;
  margin: 20px 0 0;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.62;
}
.trust-strip-copy > a {
  display: inline-block;
  margin-top: 28px;
  color: var(--navy);
  font: 500 13px/1.4 "JetBrains Mono", var(--mono);
  text-decoration: none;
  text-underline-offset: 3px;
}
.trust-strip-copy > a:hover { text-decoration: underline; }
.trust-strip-copy > a:focus-visible,
.kg-seal:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}
.kg-seal {
  --seal-navy: var(--navy, #0D2B4E);
  --seal-gold: var(--gold, #C4A035);
  --seal-paper: var(--paper, #F7F4EE);
  position: relative;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 54px;
}
.kg-seal-graphic {
  position: relative;
  width: min(260px,100%);
  isolation: isolate;
}
.kg-seal-graphic svg { position: relative; z-index: 2; width: 100%; height: auto; display: block; }
.kg-seal-ribbon {
  position: absolute;
  z-index: 1;
  top: -44px;
  bottom: -28px;
  left: 50%;
  width: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background: var(--seal-gold);
  border-inline: 1px solid color-mix(in srgb,var(--seal-navy) 20%,transparent);
}
.kg-seal-ribbon span,
.kg-seal-ribbon-tail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--seal-navy);
  font: 500 8px/1 "JetBrains Mono",ui-monospace,monospace;
  letter-spacing: .14em;
  white-space: nowrap;
}
.kg-seal-ribbon-tail {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  width: 22px;
  height: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--seal-gold);
  border-inline: 1px solid color-mix(in srgb,var(--seal-navy) 20%,transparent);
}
.kg-seal-face { fill: #FBFAF6; }
.kg-seal-gold { stroke: var(--seal-gold); }
.kg-seal-core { fill: var(--seal-navy); }
.kg-seal-ring-text { font: 500 12px "JetBrains Mono",ui-monospace,monospace; fill: var(--seal-navy); }
.kg-seal figcaption { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.kg-seal-statement { font-family: var(--font-display,"Source Serif 4",Georgia,serif); font-size: 18px; line-height: 1.4; color: var(--ink,#111418); }
.kg-seal-hash { font: 400 12px "JetBrains Mono",ui-monospace,monospace; letter-spacing: .04em; color: var(--muted,#5B616B); }

.research-index-section {
  position: relative;
  padding: 118px clamp(28px,6vw,96px) 94px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(13,43,78,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,43,78,.035) 1px, transparent 1px);
  background-size: 38px 38px;
}
.research-index-head {
  display: block;
  max-width: 1368px;
  margin: 0 auto;
  text-align: left;
}
.research-index-kicker {
  display: inline-flex;
  margin: 0;
  padding: 7px 12px;
  color: white;
  background: var(--navy-deep);
  font: 600 11px/1 "JetBrains Mono", var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.research-index-head h2 {
  max-width: 720px;
  margin: 23px 0 0;
  color: var(--ink);
  font: 400 clamp(42px,4.2vw,64px)/1.02 var(--serif);
  letter-spacing: -.043em;
  text-wrap: balance;
}
.research-index-head > div > p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.62;
}
.research-all-link,
.research-read-link {
  width: fit-content;
  color: var(--navy);
  font: 400 13px/1.4 "JetBrains Mono", var(--mono);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.research-index-head > .research-academy-button {
  display: inline-flex;
  min-height: 48px;
  margin: 28px 0 0;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--navy);
  border: 1px solid var(--navy);
  font: 650 14px/1 var(--sans);
  text-decoration: none;
}
.research-academy-button:hover { background: var(--navy-deep); }
.research-all-link:hover,
.research-all-link:focus-visible,
.research-featured-link:hover .research-read-link,
.research-featured-link:focus-visible .research-read-link {
  text-decoration: underline;
}
.research-all-link:focus-visible,
.research-academy-button:focus-visible,
.research-featured-link:focus-visible,
.research-grid article > a:focus-visible,
.research-secondary > a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}
.research-featured {
  max-width: 1368px;
  margin: 66px auto 0;
}
.research-featured-main {
  display: block;
}
.research-featured-link {
  display: grid;
  grid-template-columns: minmax(300px,440px) minmax(0,1fr);
  gap: clamp(48px,6vw,92px);
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.research-cover {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1;
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  background: var(--paper);
  border: 1px solid rgba(13,43,78,.14);
  border-radius: 10px;
}
.research-dossier-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(to right,rgba(13,43,78,.045) 1px,transparent 1px),linear-gradient(to bottom,rgba(13,43,78,.045) 1px,transparent 1px);
  background-size: 5cqi 5cqi;
}
.research-dossier-mast { position:absolute; left:7.4cqi; top:6.65cqi; display:flex; align-items:center; gap:1.1cqi; }
.research-dossier-mast img { display:block; width:13.2cqi; height:auto; }
.research-dossier-mast em { color:#5B616B; font-family:Inter,sans-serif; font-size:2.04cqi; font-style:normal; }
.research-dossier-issue { position:absolute; top:7cqi; right:7.4cqi; color:#5B616B; font:400 1.57cqi/1 "JetBrains Mono",var(--mono); }
.research-dossier-sheet { position:absolute; width:72.22cqi; height:75cqi; border:1px solid rgba(17,20,24,.14); }
.research-dossier-sheet-back { left:10.37cqi; top:14.63cqi; background:#E4DED1; }
.research-dossier-sheet-front { left:8.89cqi; top:16.11cqi; background:#EDE8DE; }
.research-dossier-tab { position:absolute; z-index:3; left:7.4cqi; top:13.52cqi; display:flex; align-items:center; width:19.44cqi; height:4.44cqi; padding-left:2.04cqi; color:rgba(247,244,238,.72); background:var(--navy); border-radius:.55cqi .55cqi 0 0; font:400 1.39cqi/1 "JetBrains Mono",var(--mono); }
.research-dossier-file { position:absolute; z-index:2; left:7.4cqi; top:17.59cqi; width:72.22cqi; height:75cqi; background:var(--navy); }
.research-dossier-file::after { content:""; position:absolute; inset:1.48cqi; border:1px solid rgba(247,244,238,.1); pointer-events:none; }
.research-dossier-kind { position:absolute; left:5.93cqi; top:5.93cqi; color:rgba(247,244,238,.56); font:400 1.39cqi/1 "JetBrains Mono",var(--mono); }
.research-dossier-body { position:absolute; left:5.93cqi; bottom:5.93cqi; width:47.22cqi; }
.research-dossier-rule { width:5.19cqi; height:.28cqi; margin-bottom:2.59cqi; background:var(--gold,#C4A035); }
.research-dossier-body strong { display:block; overflow:hidden; max-height:35.2cqi; color:var(--paper); font:400 7.04cqi/1.04 var(--serif); letter-spacing:-.012em; text-wrap:balance; }
.research-dossier-body p { margin:2.96cqi 0 0; color:rgba(247,244,238,.62); font:400 1.39cqi/1.2 "JetBrains Mono",var(--mono); }
.research-dossier-strap { position:absolute; z-index:4; left:65.37cqi; top:12.22cqi; display:flex; align-items:flex-end; justify-content:center; width:2.78cqi; height:81.85cqi; padding-bottom:3.7cqi; background:linear-gradient(to right,#A8892A 0 1px,#C4A035 1px calc(100% - 1px),#A8892A calc(100% - 1px)); }
.research-dossier-strap span { color:var(--navy); font:400 1.06cqi/1 "JetBrains Mono",var(--mono); letter-spacing:.2em; opacity:.82; writing-mode:vertical-rl; transform:rotate(180deg); white-space:nowrap; }
.research-dossier-seal { position:absolute; z-index:5; left:58.89cqi; top:21.85cqi; width:15.74cqi; height:15.74cqi; }
.research-dossier-seal svg { display:block; overflow:visible; width:100%; height:100%; }
.research-featured-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  max-width: 680px;
}
.research-meta {
  margin: 0;
  color: var(--graphite);
  font: 500 12px/1.4 "JetBrains Mono", var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.research-featured-copy h3 {
  margin: 17px 0 0;
  color: var(--ink);
  font: 400 clamp(32px,3vw,36px)/1.08 var(--serif);
  letter-spacing: -.03em;
}
.research-featured-copy > p:not(.research-meta) {
  max-width: 48ch;
  margin: 18px 0 0;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.58;
}
.research-read-link { margin-top: 28px; }
.research-external { margin-left: 6px; font: 400 .55em/1 "JetBrains Mono", var(--mono); vertical-align: super; }
.research-secondary {
  margin-top: 48px;
  border-top: 1px solid rgba(13,43,78,.16);
}
.research-secondary > a {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: 24px;
  align-items: baseline;
  padding-top: 24px;
  color: var(--navy);
  text-decoration: none;
}
.research-secondary h3 { margin: 0; font: 400 24px/1.2 var(--serif); }
.research-secondary .research-meta { white-space: nowrap; }
.research-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(32px,3vw,40px);
  max-width: 1368px;
  margin: 66px auto 0;
}
.research-grid article > a { display: block; color: inherit; text-decoration: none; }
.research-grid .research-cover { max-width: none; }
.research-grid .research-meta { margin-top: 20px; }
.research-grid h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  color: var(--ink);
  font: 400 clamp(22px,2vw,24px)/1.15 var(--serif);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.research-grid article > a > p:not(.research-meta) {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.research-grid article > a:hover h3 { text-decoration: underline; }
.research-grid article > a:hover .research-dossier-rule { background: #A8892A; }

.journey-section {
  position: relative;
  color: var(--navy-deep);
  background: #E9EDF1;
  border-top: 1px solid var(--rule);
}
.journey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(13,43,78,.033) 1px, transparent 1px), linear-gradient(90deg, rgba(13,43,78,.033) 1px, transparent 1px);
  background-size: 34px 34px;
}
.journey-intro {
  position: relative;
  max-width: 100%;
  padding: 118px clamp(28px,6vw,96px);
  text-align: center;
}
.journey-intro .system-kicker { margin-bottom: 24px; }
.journey-intro h2 {
  max-width: 850px;
  margin: 0 auto;
  font: 400 clamp(48px,5vw,78px)/.98 var(--serif);
  letter-spacing: -.048em;
}
.journey-intro p { max-width: 820px; margin: 24px auto 0; color: var(--graphite); font-size: 18px; line-height: 1.62; }
.journey-intro-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--navy);
  font: 650 12px/1.4 var(--mono);
  text-underline-offset: 5px;
}
.journey-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px,.66fr) minmax(600px,1.34fr);
  gap: clamp(48px,6vw,100px);
  padding: 0 clamp(28px,6vw,96px) 126px;
}
.journey-copy { padding-bottom: 10vh; }
.j-copy-step {
  min-height: clamp(390px, 58vh, 610px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: .28;
  transform: translateY(16px);
  transition: opacity .2s ease, transform .24s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
}
.j-copy-step.is-active { opacity: 1; transform: none; }
.j-no { color: var(--navy); font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.j-copy-step h3 { max-width: 460px; margin: 19px 0 0; font: 400 clamp(40px,3.4vw,56px)/1.02 var(--serif); letter-spacing: -.04em; }
.j-copy-step p { max-width: 430px; margin: 20px 0 0; color: var(--graphite); font-size: 17px; line-height: 1.62; }
.j-copy-step a { width: fit-content; max-width: 430px; margin-top: 23px; color: var(--navy); font: 650 12px/1.5 var(--mono); text-underline-offset: 5px; }
.journey-visual {
  position: sticky;
  top: 92px;
  height: 560px;
  min-height: 0;
  align-self: start;
  transition: height .24s cubic-bezier(.22,1,.36,1), top .24s cubic-bezier(.22,1,.36,1);
}
.journey-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: rgba(248,247,243,.82);
  border: 1px solid rgba(13,43,78,.2);
  box-shadow: 0 30px 80px rgba(7,29,52,.11);
  backdrop-filter: blur(10px);
  transition: box-shadow .2s ease;
}
.journey-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(13,43,78,.036) 1px, transparent 1px), linear-gradient(90deg, rgba(13,43,78,.036) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.j-chrome { position: relative; z-index: 4; height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: var(--navy-deep); color: white; }
.j-chrome strong { font-size: 14px; }
.j-chrome span { color: #b7c3cf; font: 10px/1 var(--mono); }
.j-rail { position: relative; z-index: 4; height: 64px; display: grid; grid-template-columns: repeat(5,1fr); border-bottom: 1px solid var(--rule); background: rgba(255,255,252,.88); }
.j-rail button { position: relative; border: 0; border-right: 1px solid rgba(13,43,78,.08); background: transparent; color: #8a94a2; font: 650 9px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.j-rail button:last-child { border-right: 0; }
.j-rail button::before { content: ""; position: absolute; left: 16%; right: 16%; bottom: -1px; height: 2px; background: transparent; }
.j-rail button.is-active { color: var(--navy); }
.j-rail button.is-active::before { background: var(--navy); }
.j-panels {
  position: absolute;
  z-index: 2;
  top: 122px;
  right: 0;
  left: 0;
  height: 438px;
  transition: height .24s cubic-bezier(.22,1,.36,1);
}
.j-panel {
  --stage-accent: #2D4E9E;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: clamp(22px,2vw,28px);
  opacity: 0;
  transform: translateY(10px) scale(.992);
  pointer-events: none;
  transition: opacity .16s ease, transform .22s cubic-bezier(.22,1,.36,1);
}
.j-panel[data-stage="1"] { --stage-accent: #8C6B1F; }
.j-panel[data-stage="2"] { --stage-accent: #23704A; }
.j-panel[data-stage="3"] { --stage-accent: #9E5B14; }
.j-panel[data-stage="4"] { --stage-accent: #5B2D9E; }
.j-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.j-flow { display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr; align-items: stretch; margin-bottom: 16px; }
.j-node { padding: 15px; background: rgba(255,255,252,.9); border: 1px solid var(--rule); }
.j-node small,.j-title { display: block; color: #788396; font: 650 9px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.j-node b { display: block; margin-top: 8px; color: var(--navy-deep); font-size: 13px; }
.j-arrow { position: relative; }
.j-arrow::before { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 1px; background: var(--navy); }
.j-arrow::after { content: ""; position: absolute; right: 5px; top: calc(50% - 3px); width: 6px; height: 6px; border-top: 1px solid var(--navy); border-right: 1px solid var(--navy); transform: rotate(45deg); }
.j-grid { display: grid; grid-template-columns: minmax(0,1fr) 190px; gap: 14px; align-items: start; }
.j-card { min-width: 0; padding: 20px; background: rgba(255,255,252,.9); border: 1px solid rgba(13,43,78,.14); box-shadow: 0 7px 24px rgba(7,29,52,.045); }
.j-grid > .j-card {
  border-top: 2px solid var(--stage-accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--stage-accent) 4%, white), rgba(255,255,252,.94) 80px);
}
.j-stack .j-card { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--stage-accent) 38%, transparent), 0 7px 24px rgba(7,29,52,.045); }
.j-flow .j-node:first-child { box-shadow: inset 3px 0 0 var(--stage-accent); }
.j-panel.is-active .j-card,
.j-panel.is-active .j-node {
  animation: jcardin .22s cubic-bezier(.22,1,.36,1) both;
}
.j-panel.is-active .j-grid > .j-stack .j-card:nth-child(2) { animation-delay: .035s; }
.j-panel.is-active .j-grid > .j-stack .j-card:nth-child(3) { animation-delay: .07s; }
.j-card::selection { background: rgba(45,78,158,.18); }
.j-stack { display: grid; gap: 11px; align-content: start; }
.j-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; border-bottom: 1px solid rgba(13,43,78,.08); }
.j-row:last-child { border-bottom: 0; }
.j-row span { color: #788396; font: 650 9px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.j-row b { color: var(--navy-deep); font: 650 11px/1.35 var(--mono); text-align: right; }
.j-stat { color: var(--navy-deep); font: 500 36px/1 var(--mono); letter-spacing: -.055em; }
.j-sub { margin-top: 7px; color: #7c8796; font: 9px/1.45 var(--mono); }
.j-badge { display: inline-flex; width: fit-content; margin-top: 9px; padding: 6px 8px; font: 750 9px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.j-badge.green { color: var(--green); background: #EAF4EF; }
.j-badge.amber { color: var(--amber); background: #F6EFE3; }
.j-badge.blue { color: #2D4E9E; background: #EEF2FB; }
.j-tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.j-tile { padding: 17px; background: #F7F4EE; border: 1px solid rgba(13,43,78,.1); }
.j-tile b { display: block; margin-top: 8px; color: var(--navy-deep); font: 650 15px/1.25 var(--sans); }
.j-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.j-bar { height: 4px; margin-top: 12px; background: #dde3e9; overflow: hidden; }
.j-bar i { display: block; width: var(--w); height: 100%; background: var(--c,var(--navy)); transform-origin: left; transform: scaleX(0); }
.j-panel.is-active .j-bar i { animation: jload .38s cubic-bezier(.22,1,.36,1) .04s both; }
.j-list { display: grid; }
.j-list-row { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; align-items: center; gap: 11px; min-height: 48px; border-bottom: 1px solid rgba(13,43,78,.08); }
.j-list-row:last-child { border-bottom: 0; }
.j-list-row i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.j-list-row span { font-size: 12px; }
.j-list-row code { color: var(--graphite); font: 9px/1 var(--mono); }
.j-decision { margin-top: 15px; padding: 18px 20px; color: white; background: var(--navy); }
.j-decision small { color: #adbbca; font: 9px/1 var(--mono); text-transform: uppercase; }
.j-decision strong { display: block; margin-top: 8px; font: 400 24px/1.05 var(--serif); }
.j-timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin: 28px 0 18px; }
.j-time { position: relative; padding: 28px 10px 14px; text-align: center; border-top: 1px solid #bcc6d0; }
.j-time::before { content: ""; position: absolute; top: -6px; left: calc(50% - 6px); width: 11px; height: 11px; border: 2px solid #b5bec8; border-radius: 50%; background: #f8f7f3; }
.j-time.done::before { background: var(--green); border-color: var(--green); }
.j-time.active::before { background: #c49a32; border-color: #c49a32; box-shadow: 0 0 0 5px rgba(196,154,50,.11); }
.j-time code { color: #788396; font: 9px/1 var(--mono); }
.j-time b { display: block; margin-top: 7px; font-size: 12px; }
.j-time small { display: block; margin-top: 5px; color: #788396; font: 9px/1.3 var(--mono); }

.roles-system { position: relative; overflow: hidden; padding: 128px clamp(28px,6vw,96px) 140px; color: white; background: var(--navy-deep); }
.roles-system::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 36px 36px; }
.roles-head { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.roles-head .system-kicker { color: var(--navy-deep); background: var(--paper); }
.roles-head h2 { max-width: 800px; margin: 25px auto 0; font: 400 clamp(48px,5vw,76px)/1 var(--serif); letter-spacing: -.045em; }
.roles-head p { max-width: 700px; margin: 23px auto 0; color: rgba(255,255,255,.62); font-size: 18px; line-height: 1.62; }
.role-hub { position: relative; display: grid; grid-template-columns: 290px minmax(0,1fr); gap: clamp(30px,5vw,74px); margin-top: 128px; }
.role-tabs { display: grid; align-self: center; align-content: start; width: 100%; border-top: 1px solid rgba(255,255,255,.18); }
.role-tabs button { position: relative; min-height: 100px; padding: 14px 34px 14px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.18); background: transparent; color: rgba(255,255,255,.45); text-align: left; cursor: pointer; }
.role-tabs button small { display: block; font: 650 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.role-tabs button strong { display: block; margin-top: 9px; font-size: 16px; }
.role-tabs button span { display: block; margin-top: 7px; color: rgba(255,255,255,.38); font-size: 11px; line-height: 1.35; }
.role-tabs button::after { content: "→"; position: absolute; right: 4px; top: 42px; opacity: 0; }
.role-tabs button.is-active { color: white; }
.role-tabs button.is-active span { color: rgba(255,255,255,.68); }
.role-tabs button.is-active::after { opacity: 1; }
.role-surface { min-height: 520px; padding: clamp(22px,3vw,38px); background: #F3F2EE; color: var(--navy-deep); border: 1px solid rgba(255,255,255,.24); box-shadow: 0 35px 90px rgba(0,0,0,.24); }
.role-view { display: none; animation: rolein .45s cubic-bezier(.22,1,.36,1) both; }
.role-view.is-active { display: block; }
.role-view-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.role-view-head span { font: 650 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #788396; }
.role-view-head b { font-size: 14px; }
.role-table-new { width: 100%; margin-top: 12px; border-collapse: collapse; }
.role-table-new th { padding: 11px 8px; color: #87919f; font: 650 8px/1 var(--mono); letter-spacing: .07em; text-align: left; text-transform: uppercase; }
.role-table-new td { padding: 15px 8px; border-top: 1px solid rgba(13,43,78,.08); font-size: 11px; }
.role-table-new code { color: var(--graphite); font: 9px/1.3 var(--mono); }
.role-outcome { padding: 5px 7px; color: var(--green); background: #eaf4ef; font: 750 8px/1 var(--mono); text-transform: uppercase; }
.role-outcome.review { color: var(--amber); background: #f6efe3; }
.role-outcome.neutral { color: var(--graphite); background: var(--rule); }
.role-table-note { margin: 10px 8px 0; color: #7b8695; font: 9px/1.3 var(--mono); }
.role-approval td { padding-top: 11px; padding-bottom: 11px; }
.role-approval td:first-child { color: var(--ink); font-family: var(--sans); }
.role-approval td:nth-child(2) { width: 52%; }
.role-approval td:last-child { text-align: right; }
.role-view-foot { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.role-view-foot p { max-width: 610px; margin: 0; color: var(--graphite); font-size: 15px; line-height: 1.55; }
.role-view-foot a { flex: 0 0 auto; color: var(--navy); font: 650 11px/1.2 var(--mono); text-underline-offset: 5px; }
.audit-chain-new { display: grid; gap: 9px; margin-top: 22px; }
.audit-line-new { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; min-height: 56px; padding: 0 16px; background: white; border: 1px solid rgba(13,43,78,.1); }
.audit-line-new b { color: var(--navy); font: 650 10px/1 var(--mono); }
.audit-line-new span { font-size: 12px; }
.audit-line-new code { color: var(--green); font: 9px/1 var(--mono); }
.portfolio-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-top: 20px; }
.portfolio-stat { padding: 16px; background: white; border: 1px solid rgba(13,43,78,.1); }
.portfolio-stat small { color: #7b8695; font: 8px/1 var(--mono); text-transform: uppercase; }
.portfolio-stat b { display: block; margin-top: 8px; font: 500 26px/1 var(--mono); }
@keyframes jload { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes jcardin { from { opacity:.15; transform:translateY(7px); } to { opacity:1; transform:none; } }
@keyframes rolein { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

@media (max-width: 1023px) {
  .approval-failures-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 560px;
    padding-top: 0;
  }
  .approval-stage-link { margin-top: 28px; padding-top: 0; }
  .reproducibility-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 560px;
    padding-top: 0;
  }
  .reproducibility-grid::before { display: none; }
  .reproducibility-link-wrap { max-width: 560px; }
  .trust-strip-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .kg-seal { gap: 42px; }
  .kg-seal-graphic { width: min(220px,68vw); }
  .kg-seal-ribbon { top: -32px; bottom: -22px; }
  .kg-seal-ribbon-tail { top: calc(100% + 16px); height: 16px; }
  .trust-strip-desktop-break { display: none; }
  .research-index-head {
    max-width: 720px;
    margin: 0 auto;
  }
  .research-featured-link { grid-template-columns: 1fr; gap: 40px; }
  .research-cover { max-width: 440px; }
  .research-grid { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 1080px) {
  #top {
    --hero-edge-space: 88px;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 72px;
    padding-top: calc(var(--hero-edge-space) + var(--hero-header-clearance));
    padding-bottom: var(--hero-edge-space);
  }
  #top .kg-demo-wrap { margin-left: 0; justify-items: center; }
  .journey-shell { grid-template-columns: 1fr; }
  .journey-copy { display: grid; grid-template-columns: repeat(5,minmax(210px,1fr)); gap: 16px; overflow-x: auto; padding: 0 0 18px; scroll-snap-type: x mandatory; }
  .j-copy-step { min-height: 270px; padding: 20px; background: rgba(255,255,252,.65); border: 1px solid var(--rule); scroll-snap-align: start; opacity: .62; }
  .j-copy-step h3 { font-size: 36px; }
  .journey-visual { position: relative; top: auto; height: 560px; }
  .role-hub { grid-template-columns: 1fr; }
  .role-tabs { grid-template-columns: repeat(4,1fr); align-self: stretch; border-left: 1px solid rgba(255,255,255,.18); }
  .role-tabs button { padding: 0 15px; border-right: 1px solid rgba(255,255,255,.18); }
}
@media (max-width: 700px) {
  #top {
    --hero-edge-space: 68px;
    --hero-header-clearance: 70px;
    gap: 52px;
    padding: calc(var(--hero-edge-space) + var(--hero-header-clearance)) 20px var(--hero-edge-space);
    background-size: 28px 28px;
  }
  #top .hero-eyebrow { margin-bottom: 20px; padding: 7px 10px; font-size: 10px; line-height: 1.25; }
  #top h1 { font-size: 46px; }
  #top .lede { font-size: 16px; }
  #top .copy::after,#top .kg-demo-wrap::before,#top .kg-demo-wrap::after { display:none; }
  .journey-intro { padding: 84px 20px; }
  .journey-intro h2,.roles-head h2 { font-size: 46px; }
  .journey-intro p,.roles-head p { font-size: 16px; }
  .journey-shell { padding: 0 20px 84px; }
  .journey-copy { grid-template-columns: repeat(5,82vw); }
  .journey-visual { height: 560px; min-height: 0; }
  .j-chrome { height: 52px; padding: 0 14px; }
  .j-chrome span { display:none; }
  .j-rail { height: 52px; }
  .j-rail button { font-size: 0; }
  .j-rail button::after { content: attr(data-step); font: 650 9px/1 var(--mono); }
  .j-panels { top: 104px; right:0; bottom:auto; left:0; }
  .j-panel { padding: 12px; overflow:visible; }
  .j-flow { grid-template-columns: 1fr; gap: 6px; }
  .j-arrow { display:none; }
  .j-grid { grid-template-columns: 1fr; }
  .j-stack { grid-template-columns: repeat(3,1fr); }
  .j-card { padding: 13px; }
  .j-title { font-size: 8px; }
  .j-stat { font-size: 25px; }
  .j-timeline { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .roles-system { padding: 88px 20px 96px; }
  .role-hub { margin-top: 88px; }
  .role-tabs { grid-template-columns: 1fr; border-left: 0; }
  .role-tabs button { min-height: 88px; padding: 13px 34px 13px 0; border-right: 0; }
  .role-tabs button small { display:none; }
  .role-tabs button strong { margin-top:0; }
  .role-tabs button span { margin-top:6px; font-size:10px; }
  .role-tabs button::after { top:35px; }
  .role-surface { min-height: 0; padding: 16px; }
  .role-table-new:not(.role-approval) th:nth-child(3),.role-table-new:not(.role-approval) td:nth-child(3) { display:none; }
  .role-approval,.role-approval tbody,.role-approval tr { display:block; width:100%; }
  .role-approval thead { display:none; }
  .role-approval tr { display:grid; grid-template-columns:minmax(0,1fr) auto; padding:11px 0; border-top:1px solid rgba(13,43,78,.08); }
  .role-approval td { padding:0 8px; border:0; }
  .role-approval td:first-child { grid-column:1; grid-row:1; font-size:12px; }
  .role-approval td:nth-child(2) { grid-column:1 / -1; grid-row:2; width:auto; margin-top:7px; }
  .role-approval td:last-child { grid-column:2; grid-row:1; }
  .role-view-foot { align-items:start; flex-direction:column; }
  .portfolio-strip { grid-template-columns:1fr 1fr; }
  .audit-line-new { grid-template-columns:24px 1fr; padding:10px; }
  .audit-line-new code { grid-column:2; margin-top:4px; }
}
@media (max-width: 639px) {
  .approval-failures { padding: 84px 20px 68px; background-size: 28px 28px; }
  .approval-failures::before { right: 20px; left: 20px; }
  .approval-failures-intro h2 { font-size: 42px; }
  .approval-failures-intro > p:last-child { font-size: 16px; }
  .approval-failures-grid { margin-top: 48px; gap: 48px; }
  .approval-failure-card { padding: 0; }
  .approval-failures-analysis { margin-top: 64px; }
  .reproducibility-section { padding: 84px 20px 68px; background-size: 28px 28px; }
  .reproducibility-intro h2 { font-size: 42px; }
  .reproducibility-intro > p:last-child { font-size: 16px; }
  .reproducibility-grid { margin-top: 48px; gap: 48px; }
  .trust-strip { min-height: 0; padding: 56px 20px; }
  .trust-strip-copy h2 { font-size: 40px; }
  .trust-strip-copy > p:not(.trust-strip-eyebrow) { font-size: 16px; }
  .research-index-section { padding: 84px 20px 68px; background-size: 28px 28px; }
  .research-index-head h2 { font-size: 42px; }
  .research-index-head > div > p { font-size: 16px; }
  .research-featured,.research-grid { margin-top: 48px; }
  .research-cover { max-width: none; }
  .research-secondary > a { grid-template-columns: 1fr auto; gap: 12px; }
  .research-secondary .research-meta { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 420px) {
  .approval-evidence-row { grid-template-columns: 1fr; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-visual,.j-panels,.j-panel,.j-copy-step,.role-view { transition:none; animation:none; }
}

/* Rounded product geometry shared by the homepage surfaces. */
.journey-canvas,.role-surface,.system-card,.role-card{border-radius:18px}
.j-card,.j-node,.j-tile,.j-decision,.audit-line-new,.portfolio-stat,.mini-panel,.module-art,.role-art{border-radius:12px}
.j-badge,.role-outcome{border-radius:8px}
.j-chrome{border-radius:18px 18px 0 0}
.role-tabs button:first-child{border-radius:10px 10px 0 0}
.role-surface{overflow:hidden}
.j-node small,.j-title{font-size:10px}
.j-node b{font-size:13px}
.j-row{min-height:44px}
.j-row span{font-size:10px;line-height:1.25}
.j-row b{font-size:12px;line-height:1.4}
.j-sub,.j-list-row code,.j-time code,.j-time small{font-size:10px}
.j-list-row span,.j-time b{font-size:12px}
.j-badge{font-size:10px}
.role-view-head span{font-size:10px}.role-view-head b{font-size:15px}
.role-table-new th{font-size:9px}.role-table-new td{font-size:12px}
.role-table-new code,.role-outcome,.audit-line-new code{font-size:10px}

/* iPhone 13 portrait: preserve the editorial hierarchy without horizontal spill. */
@media (max-width: 430px) {
  html,body { max-width:100%; overflow-x:clip; }
  #top {
    --hero-edge-space:56px;
    padding-right:18px;
    padding-left:18px;
    gap:44px;
  }
  #top .copy { max-width:none; }
  #top h1 { font-size:clamp(40px,12vw,46px); line-height:1; }
  #top .lede { font-size:16px; line-height:1.55; }
  #top .actions { display:grid; width:100%; }
  #top .btn { width:100%; min-height:50px; }
  #top .kg-demo-wrap { min-width:0; width:100%; }

  .approval-failures,
  .reproducibility-section,
  .research-index-section,
  .roles-system { padding-right:18px; padding-left:18px; }
  .approval-failures-intro h2,
  .reproducibility-intro h2,
  .research-index-head h2,
  .journey-intro h2,
  .roles-head h2 { font-size:40px; line-height:1.03; }
  .approval-failures-analysis a { line-height:1.5; }
  .approval-evidence { padding-left:12px; }
  .reproducibility-link-wrap a,
  .research-all-link,
  .research-read-link { white-space:normal; }
  .research-featured-link { gap:28px; }
  .research-featured-copy h3 { font-size:30px; }
  .research-secondary > a { grid-template-columns:1fr; }
  .research-secondary .research-meta { grid-column:1; grid-row:auto; white-space:normal; }

  .journey-intro { padding:78px 18px; }
  .journey-shell { padding:0 18px 78px; }
  .journey-copy { grid-template-columns:repeat(5,calc(100vw - 54px)); gap:12px; }
  .j-copy-step { min-height:auto; padding:20px 18px; }
  .j-copy-step h3 { font-size:34px; }
  .j-copy-step a { overflow-wrap:anywhere; }
  .journey-visual { width:100%; margin:0; }
  .journey-canvas { width:100%; }
  .j-panel { padding:10px; }
  .j-flow { grid-template-columns:1fr; }
  .j-grid,.j-stack,.j-tiles,.j-timeline { grid-template-columns:1fr; }
  .j-row { align-items:flex-start; flex-direction:column; gap:7px; padding:10px 0; }
  .j-row b { max-width:100%; text-align:left; overflow-wrap:anywhere; }
  .j-list-row { grid-template-columns:10px minmax(0,1fr); padding:9px 0; }
  .j-list-row code { grid-column:2; overflow-wrap:anywhere; }
  .j-time { padding:20px 10px 12px; text-align:left; }
  .j-time::before { left:10px; }

  .role-hub { margin-top:64px; }
  .role-tabs button { min-height:82px; }
  .role-surface { padding:14px; }
  .role-view-head { align-items:flex-start; flex-direction:column; gap:8px; }
  .role-view-head b { line-height:1.35; }
  .role-table-new { table-layout:fixed; }
  .role-table-new th,.role-table-new td { padding-right:5px; padding-left:5px; overflow-wrap:anywhere; }
  .role-table-new code { white-space:normal; }
  .role-view-foot a { max-width:100%; overflow-wrap:anywhere; }
  .portfolio-strip { grid-template-columns:1fr; }
}

/* Site-wide card CI — matched to the hero decision record. */
.journey-canvas,
.role-surface,
.system-card,
.role-card,
.mobile-journey-panel {
  border:.5px solid #D0CBC0;
  border-radius:10px;
  box-shadow:0 2px 24px rgba(13,43,78,.07);
}
.journey-canvas,
.role-surface,
.mobile-journey-panel { background:#F2EFEA; }
.j-card,
.j-node,
.j-tile,
.audit-line-new,
.portfolio-stat,
.mini-panel,
.module-art,
.role-art {
  background:#FAFAF6;
  border:.5px solid #D0CBC0;
  border-radius:6px;
  box-shadow:0 2px 24px rgba(13,43,78,.07);
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
}
.j-flow .j-node:first-child,
.j-stack .j-card { box-shadow:0 2px 24px rgba(13,43,78,.07); }
.j-grid > .j-card {
  background:#FAFAF6;
  border-top:.5px solid #D0CBC0;
}
.j-decision {
  border-radius:6px;
  box-shadow:none;
}
.j-chrome { border-radius:10px 10px 0 0; }
.j-badge,
.role-outcome { border-radius:3px; }

/* Mobile homepage narrative: every stage is a self-contained reading unit. */
.mobile-journey-panel{display:none}
@media (max-width: 700px) {
  .journey-copy{
    display:grid;
    grid-template-columns:1fr;
    gap:76px;
    overflow:visible;
    padding:0;
    scroll-snap-type:none;
  }
  .j-copy-step{
    min-height:0;
    padding:0;
    border:0;
    background:transparent;
    opacity:1;
    transform:none;
    scroll-snap-align:none;
  }
  .j-copy-step h3{max-width:none;font-size:36px}
  .j-copy-step p{max-width:none;margin-top:17px}
  .journey-visual{display:none!important}
  .mobile-journey-panel{
    display:block;
    width:100%;
    margin-top:30px;
    overflow:hidden;
    border:.5px solid #D0CBC0;
    border-radius:10px;
    background:#F2EFEA;
    box-shadow:0 2px 24px rgba(13,43,78,.07);
  }
  .mobile-journey-chrome{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    min-height:48px;
    padding:13px 14px;
    color:white;
    background:var(--navy-deep);
  }
  .mobile-journey-chrome strong{font-size:12px;line-height:1.35}
  .mobile-journey-chrome span{color:#b7c3cf;font:9px/1.35 var(--mono);text-align:right;text-transform:uppercase}
  .mobile-journey-panel .j-panel{
    position:relative;
    inset:auto;
    display:block;
    padding:12px;
    opacity:1;
    transform:none;
    pointer-events:auto;
    animation:none;
  }
  .mobile-journey-panel .j-grid,
  .mobile-journey-panel .j-stack,
  .mobile-journey-panel .j-tiles,
  .mobile-journey-panel .j-timeline{grid-template-columns:1fr}
  .mobile-journey-panel .j-stack{margin-top:9px}
  .mobile-journey-panel .j-row{align-items:flex-start;flex-direction:column;gap:6px;padding:10px 0}
  .mobile-journey-panel .j-row b{text-align:left;overflow-wrap:anywhere}
  .mobile-journey-panel .j-list-row{grid-template-columns:10px minmax(0,1fr);padding:10px 0}
  .mobile-journey-panel .j-list-row code{grid-column:2;overflow-wrap:anywhere}
  .mobile-journey-panel .j-time{padding:20px 10px 12px;text-align:left}
  .mobile-journey-panel .j-time::before{left:10px}

  .role-tabs{
    display:flex;
    gap:0;
    overflow-x:auto;
    border:1px solid rgba(255,255,255,.18);
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .role-tabs::-webkit-scrollbar{display:none}
  .role-tabs button{
    flex:0 0 184px;
    min-height:84px;
    padding:14px;
    border-right:1px solid rgba(255,255,255,.18);
    border-bottom:0;
    scroll-snap-align:start;
  }
  .role-tabs button small{display:block}
  .role-tabs button strong{margin-top:7px}
  .role-tabs button::after{display:none}
  .role-table-new:not(.role-approval),
  .role-table-new:not(.role-approval) tbody,
  .role-table-new:not(.role-approval) tr,
  .role-table-new:not(.role-approval) td{display:block;width:100%}
  .role-table-new:not(.role-approval) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .role-table-new:not(.role-approval) tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:12px 0;border-top:1px solid rgba(13,43,78,.08)}
  .role-table-new:not(.role-approval) td{padding:0;border:0}
  .role-table-new:not(.role-approval) td:nth-child(3){display:block;grid-column:1/-1}
}
.audit-line-new span{font-size:12px}

/* Homepage decision record follows the product walkthrough's card and stage rail. */
.journey-canvas { background:#fbf8f5; }
.journey-canvas .j-chrome {
  height:58px;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:0 22px;
  color:#fff;
  background:#0d2438;
  border:0;
}
.journey-canvas .j-chrome span {
  color:#f7f4ee;
  font:650 11px/1.3 'JetBrains Mono',var(--mono);
  letter-spacing:.1em;
  text-transform:uppercase;
}
.j-window-dots { display:flex; gap:6px; flex-shrink:0; }
.j-window-dots i { width:7px; height:7px; border:1px solid #a5b5c6; border-radius:50%; }
.journey-canvas .j-rail { background:#fff; }
.journey-canvas .j-rail button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  color:#8290a0;
  font:650 10px/1.3 'JetBrains Mono',var(--mono);
  letter-spacing:.06em;
}
.journey-canvas .j-rail button:not(:last-child)::after {
  content:'·';
  position:absolute;
  right:-2px;
  color:#9aa7b7;
  font-size:16px;
}
.journey-canvas .j-rail button i { width:9px; height:9px; border:1px solid #9aa7b7; border-radius:50%; }
.journey-canvas .j-rail button.is-active { color:#0d2b4e; }
.journey-canvas .j-rail button.is-active i { border:2px solid #f0f2f4; background:#0d2b4e; box-shadow:0 0 0 4px #f0f2f4; }
.journey-canvas .j-rail button::before { display:none; }
.journey-canvas .j-panel {
  transform:translateY(18px);
  transition:opacity .4s ease,transform .48s cubic-bezier(.22,1,.36,1);
}
.journey-canvas .j-panel.is-active { transform:none; }
.journey-canvas .j-flow { grid-template-columns:1fr 30px 1fr 30px 1fr; gap:0; margin-bottom:14px; }
.journey-canvas .j-node,
.journey-canvas .j-card,
.mobile-journey-panel .j-node,
.mobile-journey-panel .j-card { background:#fff; }
.journey-canvas .j-flow .j-node:first-child { box-shadow:0 2px 24px rgba(13,43,78,.07); }
.journey-canvas .j-grid { grid-template-columns:minmax(0,1fr) minmax(175px,28%); gap:14px; }
.journey-canvas .j-stack .j-card { box-shadow:0 2px 24px rgba(13,43,78,.07); }
.journey-canvas .j-key { margin-top:12px; font-size:18px; letter-spacing:0; white-space:nowrap; }
.journey-canvas .j-footnote { margin:14px 0 0; color:#4a5566; font:10px/1.5 'JetBrains Mono',var(--mono); }
.j-context { max-width:460px; margin-top:32px; border-top:1px solid #cbd4de; }
.j-context-row { display:grid; grid-template-columns:62px 1fr; gap:14px; padding:12px 0; border-bottom:1px solid #cbd4de; }
.j-context-row b { color:#788396; font:650 10px/1.5 'JetBrains Mono',var(--mono); letter-spacing:.05em; text-transform:uppercase; }
.j-context-row:last-child b { color:#1c674a; }
.j-context-row span { color:#193048; font:400 14px/1.5 var(--sans); }
@media(max-width:1080px) and (min-width:701px) {
  .journey-canvas .j-chrome { height:52px; padding:0 14px; }
  .journey-canvas .j-chrome span { font-size:9px; }
  .journey-canvas .j-rail button { font-size:0; }
  .journey-canvas .j-rail button::after { content:attr(data-step); position:static; color:#8290a0; font:650 9px/1 var(--mono); }
  .journey-canvas .j-rail button:not(:last-child)::after { content:attr(data-step); position:static; color:#8290a0; font-size:9px; }
  .journey-canvas .j-flow { grid-template-columns:1fr; gap:6px; }
  .journey-canvas .j-grid { grid-template-columns:1fr; }
}
@media(max-width:700px) {
  .mobile-journey-panel .mobile-journey-chrome { background:#0d2438; }
  .mobile-journey-panel .j-flow { grid-template-columns:1fr; }
  .j-context { margin-top:24px; }
  .j-context-row span { font-size:13px; }
  .mobile-journey-panel .j-footnote { color:#4a5566; font:10px/1.5 var(--mono); }
}
@media(prefers-reduced-motion:reduce) { .journey-canvas .j-panel { transition:none; transform:none; } }

