/* Shared treatment drawn from the homepage experiment. */
:root {
  --preview-wash: #f4f7fb;
  --preview-panel: #eaf5f4;
  --preview-card: #fcfdfe;
  --preview-radius: 12px;
  --preview-shadow: 0 12px 34px #245ca610;
}
.experiment-hero, .hero.interior { background: var(--preview-wash); }
.hero.interior { padding: clamp(38px, 5vw, 76px) 0; }
.hero.interior .site-width { display: grid; gap: 0 clamp(24px, 5vw, 72px); }
.hero.interior .accent {
  width: 68px;
  height: 4px;
  margin: 0 0 22px;
  background: linear-gradient(90deg, var(--teal) 0 72%, var(--orange) 72%);
}
.hero.interior h1 {
  color: var(--blue);
  font-size: clamp(29px, 3.35vw, 48px);
  letter-spacing: -.036em;
  line-height: 1.23;
  text-wrap: balance;
  margin: 0 0 16px;
}
.hero.interior p { margin-bottom: 12px; max-width: 60ch; }
.hero.interior p:last-child { margin-bottom: 0; }
.example { border-radius: var(--preview-radius); box-shadow: var(--preview-shadow); }
.example-head, .closing-band, .teal-band { background: var(--preview-panel); }
.band .article-width > h2 { font-size: clamp(22px, 2.4vw, 33px); text-wrap: balance; }
.value-band, .loop-band { background: var(--preview-wash); }
.loop-band h2, .loop-band .return, .closing-band h2 { color: var(--blue); }
.closing-band { border-top: 1px solid var(--rule); }
.site-foot { background: var(--preview-wash); color: var(--ink); border-color: var(--rule); }
.site-foot a { color: var(--blue); }
.preview .site-foot a:focus-visible { outline-color: var(--blue); }
.site-cards > article, .platform-flow > div, .evidence .case {
  background: var(--preview-card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 9px 9px;
}
.site-cards > article:nth-child(3n+2), .platform-flow > div:nth-child(2), .evidence .case:nth-child(2) { background: var(--preview-card); border-top-color: var(--teal); }
.site-cards > article:nth-child(3n+3), .platform-flow > div:nth-child(3), .evidence .case:nth-child(3) { background: var(--preview-card); border-top-color: var(--orange); }
.evidence .case:nth-child(4) { background: var(--preview-card); border-top-color: var(--maroon); }
.evidence .case .status { background: var(--blue-tint); color: var(--blue); border-radius: 50px; }
.evidence .case:nth-child(3) .status { background: #fbe6d9; color: #482714; }
.evidence .case:nth-child(4) .status { background: var(--maroon-tint); color: var(--maroon); }
.loop li { border-radius: 0 0 6px 6px; }
@media (min-width: 851px) {
  .hero.interior .site-width:has(> p) {
    grid-template-columns: 1.05fr 1fr;
    align-content: center;
    align-items: center;
  }
  .hero.interior .accent { grid-column: 1 / -1; }
  .hero.interior .site-width:has(> p) h1 { grid-column: 1; grid-row: 2 / span 12; align-self: start; margin: 0; }
  .hero.interior .site-width > p { grid-column: 2; padding-inline: 19px 0; border-left: 2px solid var(--teal); }
  .band .article-width:has(> h2):not(:has(> .site-cards, > .platform-flow, > .evidence, > .loop, > .malue-loop, > .stage-rows)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
    column-gap: clamp(28px, 5vw, 70px);
    align-content: start;
    justify-items: start;
  }
  .band .article-width:has(> h2):not(:has(> .site-cards, > .platform-flow, > .evidence, > .loop, > .malue-loop, > .stage-rows)) > h2 { grid-column: 1; grid-row: 1 / span 20; }
  .band .article-width:has(> h2):not(:has(> .site-cards, > .platform-flow, > .evidence, > .loop, > .malue-loop, > .stage-rows)) > :not(h2) { grid-column: 2; }
}

/* Scale the original logo artwork for large displays and keep room for navigation. */
.site-head .logo {
  width: clamp(192px, 7.3vw, 280px);
}
.site-head .logo img {
  display: block;
  width: 100%;
  height: auto;
}
.site-head > .site-width {
  padding-block: 12px;
}
@container (max-width: 759px) {
  .site-head .logo { width: clamp(132px, 35vw, 156px); }
  .site-head > .site-width { padding-block: 8px; }
}
.legal-copy { max-width: 70ch; }
.legal-copy h3 { margin: 1.1em 0 .3em; }
.legal-copy p:last-child { margin-bottom: 0; }


.malue-loop{--blue:#245ca6;--teal:#80beb9;--orange:#f29966;--maroon:#590202;max-width:1040px;margin:32px auto;padding:clamp(20px,5vw,50px);background:#f4f7fb;border:1px solid #d4dfec;border-radius:12px}
.malue-loop ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:56px 30px;list-style:none;padding:0;margin:0}
.malue-loop li{position:relative;display:flex;align-items:center;gap:8px;min-height:60px;padding:9px 10px;border:1px solid #cdd9e5;border-top:3px solid var(--teal);border-radius:7px;background:white;white-space:nowrap}
.malue-loop .number{color:var(--blue);font-size:.78em;background:#edf3fa;padding:3px 5px;border-radius:3px}
.malue-loop li::after{content:"";position:absolute;width:12px;height:12px;border-top:2px solid var(--blue);border-right:2px solid var(--blue);right:-20px;top:calc(50% - 6px);transform:rotate(45deg)}
.malue-loop li:nth-child(4)::after{right:calc(50% - 6px);top:auto;bottom:-34px;transform:rotate(135deg)}
.malue-loop li:nth-child(n+5){grid-row:2}
.malue-loop li:nth-child(5){grid-column:4}.malue-loop li:nth-child(6){grid-column:3}.malue-loop li:nth-child(7){grid-column:2}.malue-loop li:nth-child(8){grid-column:1}
.malue-loop li:nth-child(n+5)::after{right:auto;left:-20px;transform:rotate(225deg)}
.malue-loop li:nth-child(8)::after{left:calc(50% - 6px);top:-35px;transform:rotate(315deg);border-color:#a95120}
.malue-loop .return{margin:22px 0 0;padding:10px 12px;border-left:4px solid var(--orange);color:var(--maroon);background:#fff6ef}
@media(max-width:850px){
.malue-loop{margin:12px}
.malue-loop ol{grid-template-columns:1fr;gap:19px}
.malue-loop li:nth-child(n){grid-row:auto;grid-column:auto;min-height:44px}
.malue-loop li:nth-child(n)::after{left:20px;right:auto;top:auto;bottom:-11px;width:7px;height:7px;transform:rotate(135deg)}
.malue-loop li:last-child::after{display:none}
}

.editorial-photo{margin-block:0}
.editorial-photo img{display:block;width:100%;height:auto;border-radius:var(--preview-radius)}
.editorial-photo figcaption{color:#52647a;font-size:.75rem;margin-top:.35rem}
.home-photo{margin-block:clamp(22px,4vw,48px)}
.home-photo img{aspect-ratio:2/1;object-fit:cover;object-position:center 48%}
.photo-split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(16px,4vw,56px);margin-bottom:24px}
.photo-split h2{font-size:clamp(22px,2.4vw,33px)}
.loop-band .malue-loop{max-width:none;margin:24px 0 0;padding:clamp(16px,4vw,36px)}
.loop-band .malue-loop li a{color:var(--blue)}
.loop-band .malue-loop .return{color:var(--maroon)}
@media(max-width:730px){.photo-split{grid-template-columns:1fr}.home-photo img{aspect-ratio:4/3}}
.photo-split .editorial-photo{margin-inline:0}
