/* ==========================================================================
   Thermal band: WebGL liquid field (cold teal ⇄ warm amber).
   If WebGL is unavailable (or reduced motion is on) the canvas renders a
   single still frame, and the CSS gradient underneath is the safe fallback.
   ========================================================================== */

.thermal {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(80svh, 48rem);
  padding-block: clamp(4.5rem, 10vw, 8rem);
  color: #fff;
  overflow: hidden;
  background: var(--abyss-900);
}

.thermal__fallback {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 70% at 15% 20%, rgb(46 196 241 / 0.55), transparent 65%),
    radial-gradient(55% 70% at 90% 85%, rgb(242 137 74 / 0.8), transparent 65%),
    linear-gradient(120deg, var(--teal-700), #5b2f1b 140%);
}
.thermal__canvas {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  touch-action: pan-y;
}
/* Scrim keeps white text readable over the bright warm regions */
.thermal::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(75% 65% at 50% 50%, rgb(3 27 38 / 0.62), rgb(3 27 38 / 0.18) 75%, transparent),
    linear-gradient(0deg, rgb(3 27 38 / 0.45), transparent 40%);
  pointer-events: none;
}

/* Centred layout: eyebrow, headline, then the note and button stacked below */
.thermal__inner { display: grid; justify-items: center; text-align: center; gap: clamp(1.5rem, 4vw, 2.5rem); }
.thermal__inner .eyebrow { color: var(--sand-400); }
.thermal__inner .eyebrow::after { content: ""; width: 2rem; height: 2px; background: currentColor; opacity: 0.7; }
.thermal__title {
  max-width: 22ch;
  text-shadow: 0 0.1em 0.5em rgb(3 27 38 / 0.45);
}
.thermal__row { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.thermal__body { max-width: 32rem; padding: 1.1rem 1.4rem; border-radius: var(--radius-m); font-size: var(--step-0); }