/* The connected line is both the navigation and the visual signature. */
.investment-hero { padding-top: 48px; }
.hero-heading { grid-template-columns: 1.7fr 1fr; align-items: end; gap: 32px 100px; }
.hero-heading > .eyebrow { margin-bottom: 0; }
.hero-heading h1 { font-size: clamp(72px, 8.5vw, 122px); line-height: .96; letter-spacing: -.065em; }
.hero-aside { padding-bottom: 22px; }
.hero-aside > p { font-size: 18px; }
.hero-context { margin-top: 48px; }
.connected-demo { margin-top: 8px; }
.investment-map { padding-top: 8px; margin-bottom: 28px; }
.investment-map[hidden], .investment-panel[hidden] { display: none; }
.map-sources { display: flex; gap: 36px; width: 51%; padding-bottom: 40px; position: relative; font: 10px var(--font-mono); color: var(--muted); }
.map-sources span { position: relative; flex: 1; padding-top: 8px; border-top: 1px solid var(--border-2); }
.map-sources span::after { content: ''; position: absolute; width: 1px; height: 25px; top: 24px; left: 8px; background: var(--border-2); }
.map-sources::after { content: ''; position: absolute; left: 8px; right: 0; bottom: 0; height: 14px; border-top: 1px solid var(--border-2); border-left: 1px solid var(--border-2); }
.map-stages { display: grid; grid-template-columns: repeat(4, 1fr); }
.map-stages button { position: relative; text-align: left; padding: 22px 20px 18px 0; border: 0; border-top: 1px solid var(--border-2); background: transparent; color: var(--muted); cursor: pointer; font-family: var(--font-sans); }
.map-stages button::before { content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 350ms var(--ease); }
.map-stages button[aria-selected='true']::before { width: 100%; }
.junction { position: absolute; left: 0; top: -5px; width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--muted); border-radius: 50%; }
[aria-selected='true'] .junction { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.stage-index { display: block; font: 10px var(--font-mono); margin-bottom: 10px; }
.stage-label { font-size: clamp(22px, 2.7vw, 38px); font-weight: 500; letter-spacing: -.04em; }
.stage-arrow { display: inline-block; margin-left: 18px; font-size: 24px; opacity: 0; transform: translate(-4px,4px); transition: .25s; }
.map-stages button[aria-selected='true'] { color: var(--ink); }
[aria-selected='true'] .stage-arrow, .map-stages button:hover .stage-arrow { opacity: 1; transform: none; }
.investment-panel { display: grid; grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr); border-top: 1px solid var(--border-2); }
.investment-panel .story-film { border-radius: 0; border: 1px solid var(--border-2); border-top: 0; }
.investment-explanation { display: flex; flex-direction: column; align-items: start; padding: 30px 0 24px 32px; }
.panel-index { font: 11px var(--font-mono); color: var(--accent); margin-bottom: 36px; }
.investment-explanation h2 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.12; font-weight: 500; letter-spacing: -.035em; text-wrap: initial; }
.investment-explanation > p { font-size: 14px; line-height: 1.8; margin-top: 22px; color: var(--muted); }
.technical-note { border-top: 1px solid var(--border-2); width: 100%; margin-top: 28px; }
.technical-note summary { cursor: pointer; list-style: none; font-size: 12px; padding: 16px 22px 16px 0; position: relative; color: var(--ink); }
.technical-note summary::-webkit-details-marker { display: none; }
.technical-note summary::after { content: '+'; position: absolute; right: 2px; }
.technical-note[open] summary::after { content: '−'; }
.technical-note p { font-size: 13px; color: var(--muted); line-height: 1.8; padding-bottom: 18px; }
.operations-note { margin-top: 36px; }
.operations-note p { max-width: 85ch; }
.operations-note summary { font-size: 15px; }
.film-playback { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.film-playback svg { width: 17px; height: 17px; fill: currentColor; }
.film-playback:hover { background: var(--ink); color: var(--paper); }
.film-status { position: absolute; left: 12px; bottom: 12px; right: 68px; background: var(--panel); color: var(--ink); font-size: 12px; padding: 8px 12px; }
.outcome-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
.outcome-notes article { border-top: 1px solid var(--border-2); position: relative; padding-top: 28px; scroll-margin-top: 110px; }
.note-junction { display: block; color: var(--accent); font-size: 38px; margin-bottom: 24px; line-height: 1; }
.outcome-notes h3 { font-size: 25px; margin-bottom: 16px; }
.outcome-notes p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.chapter-mark i { position: relative; width: 48px; background: var(--accent); opacity: 1; }
.chapter-mark i::after { content: ''; width: 5px; height: 5px; position: absolute; right: 0; top: -2px; background: var(--accent); border-radius: 50%; }
.editorial-close h2::after { content: '↗'; display: inline-block; color: var(--accent); margin-left: 40px; font-weight: 400; }
@media (prefers-reduced-motion: no-preference) {
  .investment-map { animation: map-arrive .7s var(--ease) both; }
  @keyframes map-arrive { from { opacity: .3; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1100px) {
  .hero-heading { gap: 32px 48px; }
  .hero-heading h1 { font-size: 90px; }
  .investment-panel { grid-template-columns: minmax(0, 2.5fr) minmax(210px, 1fr); }
  .investment-explanation { padding-left: 24px; }
}
@media (max-width: 980px) {
  .hero-heading { grid-template-columns: 1fr; }
  .hero-aside { padding: 0; }
  .hero-aside > p { font-size: 16px; }
  .investment-panel { grid-template-columns: 1fr; }
  .investment-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; padding: 24px 0; }
  .panel-index { grid-column: 1 / -1; margin: 0; }
  .investment-explanation > p { margin: 0; }
  .investment-explanation .technical-note { grid-column: 1 / -1; margin: 0; }
}
@media (max-width: 760px) {
  .investment-hero { padding-top: 32px; }
  .hero-heading h1 { font-size: clamp(60px, 12vw, 88px); }
  .hero-heading { gap: 24px; }
  .hero-context { margin-top: 30px; }
  .map-sources { width: 100%; gap: 16px; font-size: 9px; }
  .map-stages button { padding-right: 8px; }
  .stage-label { font-size: clamp(19px, 4.8vw, 28px); }
  .stage-arrow { display: none; }
  .stage-index { font-size: 9px; }
  .investment-explanation { display: block; padding: 24px 0 0; }
  .panel-index { display: block; margin-bottom: 20px; }
  .investment-explanation h2 { font-size: 30px; }
  .investment-explanation > p { margin-top: 16px; }
  .investment-explanation .technical-note { margin-top: 20px; }
  .outcome-notes { grid-template-columns: 1fr; gap: 32px; }
  .outcome-notes article { padding-left: 48px; }
  .note-junction { position: absolute; left: 0; top: 30px; font-size: 28px; }
  .editorial-close h2::after { margin-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-stages button::before, .stage-arrow { transition: none; }
}
