/* Reference atmosphere, scoped to the two existing terrain hosts.
   Host sizes, backgrounds, foregrounds and the tunnel remain untouched.
   cognitive-terrain.css already contains the byte-identical reference canvas
   and orbit geometry, including the 760px and reduced-motion breakpoints. */
:is(#top.hero.ct-terrain, #about .about-grid > .bio-terrain.ct-terrain) {
  --ct-line: rgba(37, 61, 129, 0.17);
  --ct-line-accent: rgba(172, 73, 42, 0.24);
  --ct-star: rgba(37, 61, 129, 0.32);
  --ct-star-accent: rgba(172, 73, 42, 0.46);
  --ct-orbit: rgba(37, 61, 129, 0.14);
  --ct-orbit-far: rgba(37, 61, 129, 0.08);
  --ct-orbit-accent: rgba(172, 73, 42, 0.18);
  --ct-noise-opacity: 0;
}
:is(#top.hero.ct-terrain, #about .about-grid > .bio-terrain.ct-terrain) > .ct-terrain__canvas {
  opacity: 1;
  transform: none;
  filter: none;
  mix-blend-mode: normal;
  mask: none;
  -webkit-mask: none;
  pointer-events: none;
}
:is(#top.hero.ct-terrain, #about .about-grid > .bio-terrain.ct-terrain) > .ct-terrain__orbit {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  mask: none;
  -webkit-mask: none;
  pointer-events: none;
}
/* Retain this absolute layer's existing inset, bottom, clamped height and
   clipping. Remove only its old effect attenuation / desktop-only suppression.
   The quotes' separate mobile visibility rule is deliberately not changed. */
#about .about-grid > .bio-terrain.ct-terrain {
  display: block;
  mask: none;
  -webkit-mask: none;
}
@media print {
  #about .about-grid > .bio-terrain.ct-terrain { display: none !important; }
}

/* Mobile hero: borrow the bio terrain's shallow, gently rolling proportions
   instead of stretching contour geometry across the stacked portrait layout.
   This controls drawing geometry only, not the hero/canvas/content dimensions.
   Desktop and the bio instance intentionally inherit no override. */
@media screen and (max-width: 760px) {
  #top.hero.ct-terrain { --ct-contour-height: 220px; }
}
