/* Separate layout exploration. The approved art, copy and product logic remain intact. */
:root { --gutter: clamp(28px, 4.4vw, 80px); --rule: rgb(242 245 243 / .16); }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1320px); }
.scene { background: var(--canvas); }
.site-header, .hero-foot { border: 0; }
.hero-foot { padding-top: 10px; }

/* Full-width canvas; one image perimeter treatment, with no bounded scene boxes.
   Contain protects the complete approved composition at every aspect ratio. */
.scene > .scenery {
  inset: 0; width: 100%; height: 100%; opacity: 1;
  mask-image: linear-gradient(to bottom,transparent,#000 14%,#000 84%,transparent);
  -webkit-mask-image: linear-gradient(to bottom,transparent,#000 14%,#000 84%,transparent);
  overflow: visible;
}
.scene > .scenery img {
  position: absolute; inset: auto; top: 50%; left: 50%; margin: 0;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%; object-fit: contain; object-position: center;
  transform: translate(-50%,-50%); opacity: .56;
  mask-image: linear-gradient(to bottom,transparent,#000 14%,#000 82%,transparent),
              linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);
  -webkit-mask-image: linear-gradient(to bottom,transparent,#000 14%,#000 82%,transparent),
              linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);
  mask-composite: intersect; -webkit-mask-composite: source-in;
}
.scene > .scenery::after { display: none; }

/* A reading spine aligns chapter labels, titles, controls and evidence. */
.scene:not(.hero) > .scene-body {
  padding-block: 68px;
  min-height: min(84svh, 800px);
}
.chapter-heading, .economics .chapter-heading {
  text-align: left; margin: 0 0 36px; max-width: 100%;
}
.chapter-heading > .wordmark, .economics .chapter-heading > .wordmark {
  font-size: 23px; margin-bottom: 20px;
}
.chapter-heading h2, .economics .chapter-heading h2 {
  font-size: clamp(42px, 3.8vw, 56px); line-height: 1.07;
  max-width: 1000px; margin: 0; text-wrap: balance;
}
.chapter-heading > p, .economics .chapter-heading > p {
  margin: 20px 0 0; max-width: 680px; font-size: 16px; line-height: 1.65;
}
.controls { width: 100%; justify-content: flex-start; margin: 0 0 32px; }
.controls button { padding-inline: 20px; }
.controls button:first-child { padding-left: 0; padding-right: 24px; }
.lens-grid { gap: 48px; }
.expectation-grid, .curve-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; }
.lens-explanation, .curve-explanation, .ai-explanation {
  text-align: left; text-wrap: initial; margin: 28px 0 0;
  max-width: 760px; min-height: 0; line-height: 1.7;
}
.disclosure, .economics .disclosure { text-align: left; margin-top: 26px; }
.ai-metrics { max-width: none; gap: 48px; }
.economics .scene-body { min-height: min(80svh, 800px); }
.economics > .scenery img {
  mask-image: linear-gradient(to bottom,transparent,#000 14%,#000 82%,transparent),
              linear-gradient(to right,transparent,#000 10%,#000 96%,transparent);
  -webkit-mask-image: linear-gradient(to bottom,transparent,#000 14%,#000 82%,transparent),
              linear-gradient(to right,transparent,#000 10%,#000 96%,transparent);
}
.closing > .scene-body { padding-bottom: 32px; min-height: min(82svh,820px); }
.closing > .scenery img { opacity: .8; }
.invitation { min-height: 430px; }
.site-footer { padding-top: 22px; margin-top: 26px; border-top: 1px solid var(--rule); }

@media(min-width:701px) {
  .closing > .scenery { height: calc(100% - 150px); }
  .expectation-grid > article, .curve-grid > article { display: flex; flex-direction: column; }
  .expectation-grid > article > details, .curve-grid > article > details { margin-top: auto; padding-top: 22px; }
  .expectation-grid .chart, .curve-grid .chart { flex: none; }
  .rates { height: 200px; }
  .oil { height: 220px; }
}
@media(min-width:1001px) {
  .scene .chapter-heading {
    display: grid; grid-template-columns: minmax(0,1fr) 320px;
    column-gap: 56px; align-items: end; margin-bottom: 28px;
  }
  .scene .chapter-heading > .wordmark {
    grid-column: 1 / -1; font-size: 22px; margin-bottom: 18px;
  }
  .scene .chapter-heading h2 {
    grid-column: 1; grid-row: 2; font-size: 52px;
  }
  .scene .chapter-heading > p {
    grid-column: 2; grid-row: 2; margin: 0; font-size: 15px;
  }
  .scene .controls { margin-bottom: 24px; }
}
@media(min-width:701px) and (max-width:1000px) {
  .lens-grid { gap: 28px; }
  .expectation-grid, .curve-grid { gap: 36px; }
  .chapter-heading h2, .economics .chapter-heading h2 { font-size: 44px; }
  .scene:not(.hero) > .scene-body { padding-block: 64px; min-height: 0; }
  .ai-metrics { gap: 24px; }
}
@media(max-width:700px) {
  :root { --gutter: 24px; }
  .hero { min-height: 100svh; }
  .hero-copy { padding-top: 44px; }
  .hero-foot { padding-top: 8px; }
  .scene:not(.hero) > .scene-body { min-height: 0; padding-block: 56px 60px; }
  .scene > .scenery { inset: 64px 0 auto; height: auto; aspect-ratio: 3 / 2; }
  .scene > .scenery img {
    mask-image: linear-gradient(to bottom,transparent,#000 12%,#000 75%,transparent),
                linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);
    -webkit-mask-image: linear-gradient(to bottom,transparent,#000 12%,#000 75%,transparent),
                linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);
  }
  .chapter-heading, .economics .chapter-heading { margin-bottom: 28px; }
  .chapter-heading > .wordmark, .economics .chapter-heading > .wordmark { font-size: 22px; margin-bottom: 18px; }
  .chapter-heading h2, .economics .chapter-heading h2 { font-size: clamp(34px,9.25vw,40px); line-height: 1.08; }
  .chapter-heading > p, .economics .chapter-heading > p { margin-top: 18px; font-size: 15px; max-width: none; }
  .controls { margin-bottom: 26px; }
  .controls button, .controls button:first-child { padding-inline: 6px; }
  .enhanced .lens-grid { min-height: 286px; }
  .lens { padding-bottom: 0; }
  .lens-explanation, .curve-explanation, .ai-explanation { margin-top: 24px; min-height: 0; }
  .disclosure, .economics .disclosure { margin-top: 24px; }
  .expectation-grid, .curve-grid { display: block; }
  .event-column { margin-top: 26px; padding-top: 26px; }
  .enhanced [data-curve-panel] { min-height: 440px; }
  .economics > .scenery { top: 80px; }
  .ai-metrics button { padding-left: 0; border-left: 0; border-bottom: 2px solid transparent; }
  .ai-metrics button[aria-pressed=true] { border-left: 0; border-bottom-color: var(--emerald); }
  .closing > .scenery { top: auto; bottom: 220px; }
  .closing > .scene-body { padding-top: 48px; padding-bottom: 28px; }
  .invitation { min-height: 430px; }
  .site-footer { margin-top: 24px; padding-top: 24px; }
}
@media(max-width:360px) {
  :root { --gutter: 20px; }
  .chapter-heading h2, .economics .chapter-heading h2 { font-size: 33px; }
  .enhanced .lens-grid { min-height: 286px; }
}
@media(prefers-reduced-motion:reduce) {
  .scene > .scenery { transform: none !important; }
}
