/* Larger source-aware composition and camera depth. Existing transforms,
   chapter heights, snap rules, original sources and control states remain. */
.home-impact-ready :is(.mission-earth,.mission-mars,.gas-orbit) > img,
.home-impact-ready .impact-resource-planet > img {
  clip-path:circle(48% at 50% 50%);
}
.home-impact-ready #resources .impact-resource-planet {
  display:block; position:absolute; z-index:-1; pointer-events:none;
  left:88%; top:7%; width:clamp(90px,22vw,170px); aspect-ratio:1;
  transform:translate(-50%,-35%);
}
.home-impact-ready .impact-resource-planet > img { display:block; width:100%; height:auto; object-fit:contain; }
/* The source composition is a solid pie in every mode, including reduced
   motion. Its small nitrogen/other sectors stay visible and unobstructed. */
.home-impact-ready #resources .gas-orbit {
  width:min(100%,360px); border-radius:50%;
  background:conic-gradient(from -90deg,#e5aa86 0 95.3%,#8ed9e8 95.3% 98%,#b698d1 98% 100%);
}
.home-impact-ready #resources .gas-orbit::before { content:none; }
.home-impact-ready #resources[data-choice="co2"] .gas-orbit {
  background:conic-gradient(from -90deg,#e9b28d 0 95.3%,#8ed9e8 95.3% 98%,#b698d1 98% 100%);
}
.home-impact-ready #resources[data-choice="n2"] .gas-orbit {
  background:conic-gradient(from -90deg,#b58f80 0 95.3%,#cef7ff 95.3% 98%,#a18bb1 98% 100%);
}
.home-impact-ready #resources[data-choice="other"] .gas-orbit {
  background:conic-gradient(from -90deg,#b58f80 0 95.3%,#8bbecb 95.3% 98%,#f1d3ff 98% 100%);
}
.home-impact-ready #resources .gas-orbit > .impact-pie-separators {
  position:absolute; inset:0; z-index:1; display:block; width:100%; height:100%;
  pointer-events:none; overflow:visible; fill:none; stroke:#fff4ebbf; stroke-width:1;
}
.home-impact-ready #resources .gas-orbit > .gas-readout { z-index:3; }
.home-impact-ready :is(.mission-earth,.mission-mars) > span {
  position:relative; z-index:3; width:max-content; max-width:100%;
  margin-inline:auto; background:#0d1429d9; border-radius:2px;
  box-shadow:0 0 0 4px #0d1429d9;
}
.home-impact-ready #journey .home-visual-caption {
  position:relative; z-index:5; text-shadow:0 1px 3px #090f23,0 0 10px #090f23b3;
}

@media (min-width:1000px) and (min-height:700px) and (prefers-reduced-motion:no-preference) {
  .home-impact-on #top .hero-landscape > img {
    scale:var(--impact-horizon-scale,1);
    translate:0 var(--impact-horizon-y,0px);
    transform-origin:72% 65%;
  }
  .home-impact-on #top .hero-mascot {
    scale:var(--impact-mascot-scale,1);
    translate:var(--impact-mascot-x,0px) var(--impact-mascot-y,0px);
    transform-origin:55% 65%;
  }
  .home-impact-on #journey .mission-earth > img {
    scale:var(--impact-earth-scale,1);
    translate:var(--impact-earth-x,0px) var(--impact-earth-y,0px);
    transform-origin:20% 50%;
  }
  .home-impact-on #journey .mission-mars > img {
    scale:var(--impact-mars-scale,1);
    translate:var(--impact-mars-x,0px) var(--impact-mars-y,0px);
    transform-origin:80% 50%;
  }
  .home-impact-on #journey .mission-orbit {
    scale:var(--impact-orbit-scale,1);
    translate:var(--impact-orbit-x,0px) var(--impact-orbit-y,0px);
    rotate:var(--impact-orbit-angle,0deg);
    transform-origin:67% 50%;
  }
  .home-impact-on #journey .mission-craft > img {
    scale:var(--impact-craft-scale,1);
    translate:var(--impact-craft-x,0px) var(--impact-craft-y,0px);
    rotate:var(--impact-craft-angle,0deg);
  }
  .home-impact-on #challenge .home-visual-panel > img {
    scale:var(--impact-challenge-scale,1);
    translate:var(--impact-challenge-x,0px) var(--impact-challenge-y,0px);
    transform-origin:65% 50%;
  }
  /* The one original Mars node sits behind its independent composition pie.
     The percentage sectors and numerical readout keep their normal scale. */
  .home-impact-on #resources .impact-resource-planet {
    display:block; position:absolute; z-index:-1; pointer-events:none;
    left:80%; top:43%; width:min(54vw,760px); aspect-ratio:1;
    transform:translate(-50%,-50%);
  }
  .home-impact-on .impact-resource-planet > img {
    display:block; width:100%; height:auto; object-fit:contain;
    scale:var(--impact-resource-scale,.35);
    translate:var(--impact-resource-x,0px) var(--impact-resource-y,0px);
    rotate:var(--impact-resource-angle,0deg);
    opacity:var(--impact-resource-opacity,0);
    transform-origin:60% 55%;
  }
  .home-impact-on #resources .gas-instrument { translate:var(--impact-instrument-x,0px) 0; }
  .home-impact-on #platform .flow-carbon > img {
    translate:var(--impact-carbon-x,0px) var(--impact-input-y,0px);
    scale:var(--impact-input-scale,1);
  }
  .home-impact-on #platform .flow-nitrogen > img {
    translate:var(--impact-nitrogen-x,0px) var(--impact-input-y,0px);
    scale:var(--impact-input-scale,1);
  }
  .home-impact-on #platform .flow-core > img {
    scale:var(--impact-core-scale,1);
    translate:0 var(--impact-core-y,0px);
    transform-origin:50% 60%;
  }
  /* Scientific annotation stays complete and at its existing scale. */
  .home-impact-on #biology .home-image-zoom > img {
    translate:0 var(--impact-science-y,0px);
    opacity:var(--impact-science-opacity,1);
  }
  .home-impact-on #nutrition .nutrition-visual .home-visual-panel > img {
    scale:var(--impact-output-scale,1);
    translate:0 var(--impact-output-y,0px);
    transform-origin:50% 55%;
  }
  .home-impact-on #vision .vision-world > img {
    scale:var(--impact-vision-scale,1);
    translate:var(--impact-vision-x,0px) var(--impact-vision-y,0px);
    transform-origin:74% 70%;
  }
  .home-impact-on .impact-near :is(.hero-landscape > img,.hero-mascot,
    .mission-earth > img,.mission-mars > img,.mission-craft > img,.mission-orbit,
    .impact-resource-planet > img) { will-change:translate,scale; }
}
/* Wide, sufficiently tall screens give the artwork more of the existing
   chapter. The fixed 185/210svh story lengths and their sticky rules are kept. */
@media (min-width:1100px) and (min-height:780px) {
  body.home-impact-ready.home-reimagined :is(.home-chapter,.home-chapter:nth-of-type(even)) > .home-chapter-inner {
    max-width:1320px;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
    column-gap:clamp(42px,4.5vw,72px);
  }
  .home-impact-ready.home-reimagined .home-copy { max-width:none; }
  body.home-impact-ready.home-reimagined .home-copy > p,
  body.home-impact-ready.home-reimagined .home-copy .home-choice-panel p { max-width:46ch; }
  .home-impact-ready.home-reimagined #journey .mission-earth { width:30%; max-width:170px; }
  .home-impact-ready.home-reimagined #journey .mission-mars { width:40%; max-width:240px; }
  .home-impact-ready.home-reimagined #journey .mission-craft { max-width:110px; }
  .home-impact-ready.home-reimagined #challenge .home-visual-panel > img { max-width:600px; max-height:440px; }
  .home-impact-ready.home-reimagined #platform .flow-input > img { height:140px; max-width:260px; }
  .home-impact-ready.home-reimagined #platform .flow-core > img { max-width:650px; max-height:300px; }
  .home-impact-ready.home-reimagined #biology .pathway-image { max-width:650px; margin-inline:auto; }
  .home-impact-ready.home-reimagined #biology .pathway-image > img { max-width:600px; max-height:400px; margin-inline:auto; }
  .home-impact-ready.home-reimagined #biology .bio-micrograph { max-width:460px; margin-inline:auto; }
  .home-impact-ready.home-reimagined #biology .bio-micrograph > img { max-width:420px; max-height:310px; margin-inline:auto; }
  .home-impact-ready.home-reimagined #nutrition .nutrition-visual { min-height:350px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="protein"] > img { max-width:480px; max-height:350px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="future"] > img { max-width:460px; max-height:320px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="amino"] > img { max-width:560px; max-height:320px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="functional"] > img { max-width:600px; max-height:220px; }
}
/* Smaller viewports use their full available image column, with no approach
   layer or overflow into the reading and control area. */
@media (max-width:1099px), (max-height:779px) {
  .home-impact-ready.home-reimagined #platform .flow-input > img { height:125px; max-width:240px; }
  .home-impact-ready.home-reimagined #platform .flow-core > img { max-height:280px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="protein"] > img { max-height:320px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="future"] > img { max-height:300px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="amino"] > img { max-height:290px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="functional"] > img { max-height:210px; }
  .home-impact-ready.home-reimagined #challenge .home-visual-panel > img { max-height:420px; }
  .home-impact-ready.home-reimagined #biology .home-image-zoom > img { max-height:380px; }
}
@media (max-width:480px) {
  .home-impact-ready.home-reimagined #resources .gas-orbit { width:min(85%,280px); }
  .home-impact-ready.home-reimagined #platform .flow-input > img { height:110px; }
  .home-impact-ready.home-reimagined #platform .flow-core > img { max-height:260px; }
  .home-impact-ready.home-reimagined #nutrition .nutrition-visual { min-height:270px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="protein"] > img { max-height:290px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="future"] > img { max-height:280px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="amino"] > img { max-height:260px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="functional"] > img { max-height:180px; }
}
/* Lower-resolution originals have a smaller pixel budget on dense screens.
   The higher-resolution pathway and reactor keep their larger presentation. */
@media (min-resolution:1.5dppx) {
  .home-impact-ready.home-reimagined #challenge [data-visual-key="stored"] > img,
  .home-impact-ready.home-reimagined #challenge [data-visual-key="gas"] > img { max-height:433px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="amino"] > img { max-width:473px; max-height:253px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="functional"] > img { max-width:500px; max-height:160px; }
}
@media (min-resolution:1.75dppx) {
  .home-impact-ready.home-reimagined #challenge [data-visual-key="stored"] > img,
  .home-impact-ready.home-reimagined #challenge [data-visual-key="gas"] > img { max-height:371px; }
  .home-impact-ready.home-reimagined #biology .bio-micrograph > img { max-width:400px; max-height:271px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="protein"] > img { max-width:429px; max-height:331px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="future"] > img { max-width:442px; max-height:331px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="amino"] > img { max-width:405px; max-height:217px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="functional"] > img { max-width:429px; max-height:137px; }
}
@media (min-resolution:2dppx) {
  .home-impact-ready.home-reimagined #challenge [data-visual-key="stored"] > img,
  .home-impact-ready.home-reimagined #challenge [data-visual-key="gas"] > img { max-height:325px; }
  .home-impact-ready.home-reimagined #biology .bio-micrograph > img { max-width:350px; max-height:237px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="protein"] > img { max-width:375px; max-height:290px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="future"] > img { max-width:387px; max-height:290px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="amino"] > img { max-width:355px; max-height:190px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="functional"] > img { max-width:375px; max-height:120px; }
}
@media (min-resolution:3dppx) {
  .home-impact-ready.home-reimagined #challenge [data-visual-key="stored"] > img,
  .home-impact-ready.home-reimagined #challenge [data-visual-key="gas"] > img { max-height:216px; }
  .home-impact-ready.home-reimagined #biology .pathway-image > img { max-width:510px; max-height:255px; }
  .home-impact-ready.home-reimagined #biology .bio-micrograph > img { max-width:233px; max-height:158px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="protein"] > img { max-width:250px; max-height:193px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="future"] > img { max-width:258px; max-height:193px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="amino"] > img { max-width:236px; max-height:126px; }
  .home-impact-ready.home-reimagined #nutrition [data-visual-key="functional"] > img { max-width:250px; max-height:80px; }
}
@media (prefers-reduced-motion:reduce) {
  .home-impact-ready #resources .impact-resource-planet > img { opacity:1; scale:1; translate:none; rotate:none; }
}
@media print {
  .home-impact-ready #resources .impact-resource-planet {
    position:static; width:100px; margin-inline:auto; transform:none;
  }
  .home-impact-ready #resources .gas-orbit { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
}
