/* ============================================================================
   Mahākāla — "Ink & Ember" (spec §6)
   A void with depth that warms toward fire at the dissolution. Gold = eternal /
   the witness / live numbers. Ember = destruction / countdowns / pralaya.
   ========================================================================== */

:root {
  --void: #0A0B12;
  --deep-indigo: #161A2E;
  --ember: #E8642C;
  --ember-soft: #c8521f;
  --gold: #D9A441;
  --gold-soft: #b9893a;
  --ash: #8A8FA3;
  --pale-lotus: #EDE6D6;

  --display: "Cormorant Garamond", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --body: "Inter", system-ui, sans-serif;

  --maxw: 64rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --temp: 0; /* 0 = cool spiritual/void · 1 = ember/dissolution — driven by scroll */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--pale-lotus);
  font-family: var(--body);
  font-size: clamp(15px, 1rem + 0.2vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.gold { color: var(--gold); }
.ember { color: var(--ember); }
em { color: var(--gold); font-style: italic; }

.skip-link {
  position: fixed; left: 0; top: -100%; z-index: 1000;
  background: var(--gold); color: var(--void); padding: 0.6em 1em; border-radius: 0 0 0.4em 0;
  font-weight: 500;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ── Atmosphere backdrop: star grain + temperature field ───────────────────── */
.atmosphere { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.star-layer {
  position: absolute; inset: -10%;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(237,230,214,0.55), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(237,230,214,0.4), transparent),
    radial-gradient(1.2px 1.2px at 40% 80%, rgba(217,164,65,0.4), transparent),
    radial-gradient(1px 1px at 85% 20%, rgba(237,230,214,0.35), transparent),
    radial-gradient(1.4px 1.4px at 10% 70%, rgba(237,230,214,0.3), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(217,164,65,0.3), transparent);
  background-size: 50vmax 50vmax;
  opacity: 0.7;
  will-change: transform;
}
.star-layer:nth-child(2) { background-size: 38vmax 38vmax; opacity: 0.5; }
.star-layer:nth-child(3) { background-size: 28vmax 28vmax; opacity: 0.35; }
/* the page's temperature: a warm ember glow that rises from below as --temp grows */
.temperature-field {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(232,100,44, calc(0.22 * var(--temp))), transparent 60%),
    radial-gradient(100% 60% at 50% 110%, rgba(217,164,65, calc(0.10 * var(--temp))), transparent 55%),
    linear-gradient(180deg, var(--void), #07080d);
  transition: background 0.6s linear;
}

/* ── Mode toggle ───────────────────────────────────────────────────────────── */
.mode-toggle {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 60; display: flex; gap: 2px;
  background: rgba(10,11,18,0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(217,164,65,0.25); border-radius: 999px; padding: 3px;
}
.mode-toggle button {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: transparent; border: 0; cursor: pointer; color: var(--ash);
  padding: 0.4em 1.1em; border-radius: 999px; line-height: 1.1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.mode-toggle .mt-k { font-family: var(--display); font-size: 1.05rem; }
.mode-toggle .mt-s { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; }
.mode-toggle button[aria-pressed="true"] { background: rgba(217,164,65,0.16); color: var(--pale-lotus); }
.mode-toggle button[aria-pressed="true"] .mt-k { color: var(--gold); }

/* ── HUD (§5) ──────────────────────────────────────────────────────────────── */
.hud {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 55;
  background: rgba(10,11,18,0.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(217,164,65,0.22); border-radius: 0.8rem;
  padding: 0.8rem 0.9rem; max-width: 15rem;
}
.hud-now { display: flex; flex-direction: column; gap: 0.1rem; margin-bottom: 0.6rem; }
.hud-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ash); }
.hud-kali { font-size: 0.95rem; color: var(--gold); }
.hud-rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.hud-rail button {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  color: var(--ash); font-family: var(--body); font-size: 0.72rem;
  padding: 0.18em 0.3em; border-left: 2px solid transparent; border-radius: 0 3px 3px 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.hud-rail button:hover { color: var(--pale-lotus); }
.hud-rail button[aria-current="true"] { color: var(--gold); border-left-color: var(--gold); background: rgba(217,164,65,0.08); }

/* ── Tracks / shells ───────────────────────────────────────────────────────── */
.track { position: relative; z-index: 1; }
.shell { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 6rem 1.25rem; }
.shell-inner { width: 100%; max-width: var(--maxw); }

.eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ash); margin: 0 0 1.2rem; }
.shell-title { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 6vw, 4rem); line-height: 1.02; margin: 0 0 0.8rem; }
.shell-lede { max-width: 44rem; font-size: 1.05rem; color: #cfcab9; margin: 0 0 2rem; }
.shell-note { max-width: 44rem; color: var(--ash); margin-top: 1.5rem; }
.shell-lede strong, .shell-note strong { color: var(--pale-lotus); font-weight: 500; }

/* reveal on scroll */
.shell-inner > * { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.shell.in-view .shell-inner > * { opacity: 1; transform: none; }
.shell.in-view .shell-inner > *:nth-child(2) { transition-delay: 0.06s; }
.shell.in-view .shell-inner > *:nth-child(3) { transition-delay: 0.12s; }
.shell.in-view .shell-inner > *:nth-child(4) { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  .shell-inner > * { opacity: 1 !important; transform: none !important; transition: none; }
}

/* hero */
.hero { text-align: center; }
.hero-num { font-family: var(--mono); font-weight: 700; font-size: clamp(2.6rem, 11vw, 7rem); line-height: 1; margin: 0; color: var(--pale-lotus); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.hero-num .shimmer-tail { color: var(--gold); }
.hero-unit { font-family: var(--display); font-size: clamp(1rem, 2.2vw, 1.5rem); color: var(--ash); letter-spacing: 0.04em; }
.thesis { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 2rem); margin: 1.6rem 0 0; color: var(--pale-lotus); }
.scroll-prompt { margin-top: 3rem; color: var(--ash); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 1; } }

/* stats */
.stat { display: grid; gap: 1.2rem 2.5rem; margin: 0; }
.stat.inline { display: flex; flex-wrap: wrap; gap: 1.4rem 3rem; }
.stat dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--ash); margin-bottom: 0.2rem; }
.stat dd { margin: 0; font-size: clamp(1.4rem, 4vw, 2.4rem); }

/* big ring readout (Kali) */
.ring-readout { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }
.big-ring { width: clamp(180px, 32vw, 280px); aspect-ratio: 1; flex: 0 0 auto; }

/* yuga bars (4:3:2:1) */
.yuga-bars { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; }
.yuga-bar { display: grid; grid-template-columns: 6rem 1fr auto; align-items: center; gap: 1rem; }
.yuga-bar .yb-name { font-family: var(--display); font-size: 1.2rem; }
.yuga-bar .yb-track { height: 0.5rem; background: rgba(138,143,163,0.15); border-radius: 999px; overflow: hidden; }
.yuga-bar .yb-fill { height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); border-radius: 999px; transform-origin: left; }
.yuga-bar[data-current="true"] .yb-fill { background: linear-gradient(90deg, var(--ember-soft), var(--ember)); }
.yuga-bar .yb-years { font-family: var(--mono); font-size: 0.8rem; color: var(--ash); }
.yuga-bar[data-current="true"] .yb-name { color: var(--ember); }

/* manu track */
.manu-track { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr)); gap: 0.5rem; }
.manu { border: 1px solid rgba(138,143,163,0.18); border-radius: 0.5rem; padding: 0.6rem 0.4rem; text-align: center; position: relative; }
.manu .mi { font-family: var(--mono); font-size: 0.7rem; color: var(--ash); }
.manu .mn { font-family: var(--display); font-size: 0.92rem; line-height: 1.1; display: block; margin-top: 0.2rem; }
.manu[data-state="done"] { opacity: 0.45; }
.manu[data-state="current"] { border-color: var(--gold); background: rgba(217,164,65,0.1); }
.manu[data-state="current"] .mn { color: var(--gold); }
.manu[data-state="current"]::after { content: "now"; position: absolute; top: -0.6rem; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.55rem; color: var(--void); background: var(--gold); padding: 0.05em 0.4em; border-radius: 999px; }

/* day arc */
.day-arc { width: 100%; max-width: 40rem; margin: 0 auto 2rem; }

/* callouts */
.callout { border-radius: 0.8rem; padding: 1.3rem 1.4rem; margin-top: 1.8rem; border: 1px solid rgba(138,143,163,0.2); background: rgba(22,26,46,0.5); }
.callout h3 { font-family: var(--display); font-size: 1.3rem; margin: 0 0 0.5rem; }
.callout p { margin: 0.3rem 0; color: #cfcab9; }
.callout-num { font-size: clamp(1.6rem, 5vw, 2.6rem); margin-top: 0.4rem !important; }
.ember-callout { border-color: rgba(232,100,44,0.4); background: linear-gradient(180deg, rgba(232,100,44,0.08), rgba(22,26,46,0.4)); }
.ember-callout h3 { color: var(--ember); }
.science { border-color: rgba(217,164,65,0.3); }
.science h3 { color: var(--gold); }
.caveat { font-size: 0.82rem; color: var(--ash); font-style: italic; }

/* loka stack */
.loka-stack { display: flex; flex-direction: column; gap: 2px; max-width: 34rem; }
.loka { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 0.5rem 0.9rem; border-radius: 0.4rem; background: rgba(22,26,46,0.55); border: 1px solid transparent; }
.loka .lk-name { font-family: var(--display); font-size: 1.05rem; }
.loka .lk-tag { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ash); }
.loka[data-earth="true"] { border-color: var(--gold); background: rgba(217,164,65,0.12); }
.loka[data-earth="true"] .lk-name { color: var(--gold); }
.loka[data-fate="floods"] { border-left: 3px solid var(--ember); }
.loka[data-fate="survives"] { border-left: 3px solid var(--gold-soft); }

/* dissolution sequence */
.dissolution { margin-top: 1.8rem; }
.dissolution-lede { color: var(--ash); }
.dissolution-seq { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.dissolution-seq li { font-family: var(--display); font-size: 1.05rem; padding: 0.2em 0.7em; border: 1px solid rgba(232,100,44,0.3); border-radius: 999px; color: #cfcab9; }
.dissolution-seq li::after { content: "→"; margin-left: 0.55rem; color: var(--ember); }
.dissolution-seq li:last-child::after { content: ""; }

/* final dashboard */
.final-dash { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1px; background: rgba(138,143,163,0.15); border: 1px solid rgba(138,143,163,0.15); border-radius: 0.6rem; overflow: hidden; margin-bottom: 2.5rem; }
.fd-cell { background: var(--void); padding: 1rem 1.1rem; }
.fd-cell .fd-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ash); display: block; }
.fd-cell .fd-val { font-family: var(--mono); font-size: 1.3rem; margin-top: 0.2rem; }
.fd-cell[data-pace="fast"] .fd-val { color: var(--gold); }
.fd-cell[data-pace="frozen"] .fd-val { color: var(--ash); }

.closing { text-align: center; }
.closing-quote { max-width: 40rem; margin: 0 auto; }
.closing-quote p { font-family: var(--display); font-size: clamp(1.4rem, 3.5vw, 2.2rem); line-height: 1.3; }
.closing-quote cite { display: block; margin-top: 1.2rem; font-style: normal; color: var(--ash); font-size: 0.85rem; }

/* glossary */
.gloss { border-bottom: 1px dotted var(--gold-soft); cursor: help; }
.glossary-pop { position: fixed; z-index: 200; max-width: 18rem; background: var(--deep-indigo); border: 1px solid var(--gold); border-radius: 0.5rem; padding: 0.7rem 0.85rem; font-size: 0.82rem; color: var(--pale-lotus); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.glossary-pop .gp-term { font-family: var(--display); color: var(--gold); font-size: 1rem; display: block; margin-bottom: 0.2rem; }

/* methodology footer */
.methodology { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.25rem 5rem; color: var(--ash); font-size: 0.85rem; border-top: 1px solid rgba(138,143,163,0.15); }
.methodology strong { color: var(--pale-lotus); font-weight: 500; }
.colophon { margin-top: 1rem; font-family: var(--mono); font-size: 0.72rem; }

/* ════════ THE COSMIC DESCENT (§4B) — signature spectacle #2 ════════ */
.track-map { position: relative; }
.descent { position: relative; }
.dlayer { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 6rem 1.25rem; position: relative; overflow: hidden; }
.dlayer-inner { width: 100%; max-width: 46rem; position: relative; z-index: 2; text-align: center; }
.dlayer .d-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.dlayer .d-eyebrow { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ash); margin: 0 0 0.6rem; }
.dlayer .d-name { font-family: var(--display); font-size: clamp(2rem, 6vw, 3.6rem); margin: 0 0 0.2rem; line-height: 1.04; }
.dlayer .d-sanskrit { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.dlayer .d-desc { max-width: 36rem; margin: 1rem auto 0; color: #cfcab9; }
.dlayer .d-fate { display: inline-block; margin-top: 1rem; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em; padding: 0.25em 0.8em; border-radius: 999px; border: 1px solid currentColor; }
.dlayer .d-fate.eternal { color: var(--gold); }
.dlayer .d-fate.perishable { color: var(--ember); }

/* parallax bubble field + figural tableaux drawn per-layer via inline svg/divs */
.bubble-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(217,164,65,0.22), rgba(22,26,46,0.05) 60%, transparent 72%); border: 1px solid rgba(217,164,65,0.18); }
.vishnu-tableau { margin: 1.6rem auto 0; max-width: 30rem; }

/* depth-driven atmosphere is applied to each .dlayer via --layer-temp inline */
.dlayer { background:
  radial-gradient(120% 90% at 50% 30%, rgba(217,164,65, calc(0.12 * (1 - var(--lt, 0)))), transparent 60%),
  radial-gradient(120% 90% at 50% 80%, rgba(232,100,44, calc(0.14 * var(--lt, 0))), transparent 60%); }

/* responsive */
@media (max-width: 720px) {
  .mode-toggle { top: auto; bottom: 1rem; left: 1rem; transform: none; }
  .mode-toggle .mt-s { display: none; }
  .hud { right: 0.6rem; bottom: 4.5rem; max-width: 11rem; padding: 0.6rem; }
  .hud-rail { display: none; }
  .ring-readout { gap: 1.5rem; }
  .shell { padding: 5rem 1.1rem; }
}

/* reduced motion: still the orrery + parallax, fade between layers */
@media (prefers-reduced-motion: reduce) {
  .scroll-prompt { animation: none; }
  .star-layer { transform: none !important; }
  [data-spin] { animation: none !important; }
}

/* ════════ CAPTIVATING MOTION (default-bold; gated so reduced-motion stays calm) ════════ */
@media (prefers-reduced-motion: no-preference) {
  /* deep-decimal shimmer — hypnotic micro-motion on the live Kali year (§3) */
  .shimmer-tail {
    color: var(--gold);
    animation: shimmer 1.7s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(217,164,65,0.45);
  }
  @keyframes shimmer {
    0%, 100% { opacity: 0.4; filter: brightness(0.85); }
    50% { opacity: 1; filter: brightness(1.4); text-shadow: 0 0 16px rgba(217,164,65,0.85); }
  }
  .hero-num .shimmer-tail { animation-duration: 1.2s; }
  .hud-kali .shimmer-tail { animation-duration: 2.3s; }

  /* hero number breathes a faint gold aura */
  .hero-num { animation: heroGlow 6s ease-in-out infinite; }
  @keyframes heroGlow {
    0%,100% { text-shadow: 0 0 24px rgba(217,164,65,0.06); }
    50% { text-shadow: 0 0 42px rgba(217,164,65,0.18); }
  }

  /* orrery racing dots — glow + pulse; the inner ones spin (SMIL), outer ≈ frozen */
  .orrery-dot { filter: drop-shadow(0 0 5px currentColor); animation: dotPulse 2.4s ease-in-out infinite; }
  @keyframes dotPulse { 0%,100% { opacity: 0.8; } 50% { opacity: 1; } }
  .orrery svg { animation: orreryBreath 9s ease-in-out infinite; }
  @keyframes orreryBreath { 0%,100% { filter: drop-shadow(0 0 0 transparent); } 50% { filter: drop-shadow(0 0 14px rgba(217,164,65,0.12)); } }

  /* universe-bubbles drift around Maha-Viṣṇu (§4B) */
  .bubble {
    animation: drift var(--bd, 20s) ease-in-out var(--bdelay, 0s) infinite alternate;
    will-change: transform, opacity;
  }
  @keyframes drift {
    from { transform: translate(0,0) scale(1); opacity: 0.4; }
    to { transform: translate(var(--dx, 16px), var(--dy, -22px)) scale(1.1); opacity: 0.85; }
  }

  /* the descent glow drifts subtly so each realm feels alive */
  .dlayer .d-glow {
    background: radial-gradient(60% 50% at 50% 40%, rgba(217,164,65,0.10), transparent 70%);
    animation: glowFloat 14s ease-in-out infinite;
  }
  .dlayer[data-realm="material"] .d-glow,
  .dlayer[data-realm="now"] .d-glow { background: radial-gradient(60% 50% at 50% 70%, rgba(232,100,44,0.12), transparent 70%); }
  @keyframes glowFloat { 0%,100% { transform: translateY(0) scale(1); opacity: 0.8; } 50% { transform: translateY(-3%) scale(1.06); opacity: 1; } }

  /* star layers twinkle faintly under the parallax translate */
  .star-layer { animation: twinkle 7s ease-in-out infinite; }
  .star-layer:nth-child(2) { animation-duration: 9s; }
  .star-layer:nth-child(3) { animation-duration: 11s; }
  @keyframes twinkle { 0%,100% { opacity: var(--o, 0.5); } 50% { opacity: calc(var(--o, 0.5) * 0.55); } }
}

/* reduced-motion: everything above is simply never declared; numbers still update,
   the orrery freezes to a true-position snapshot, atmospheres are static. */
@media (prefers-reduced-motion: reduce) {
  .bubble { opacity: 0.5; }
  .orrery svg animateTransform { display: none; }
}

/* mobile hardening — guarantee the hero number never overflows the viewport */
@media (max-width: 720px) {
  .hero-num { font-size: clamp(1.9rem, 9vw, 3.4rem); max-width: 100%; }
  .hero-num > span:first-child { overflow-wrap: anywhere; }
  .dlayer, .shell { padding-left: 1rem; padding-right: 1rem; }
}

/* ── Hero cosmic backdrop (canvas starfield-warp + nebula) ─────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; opacity: 0.85; }
/* vignette: darken the centre so the live number always reads clearly over the stars */
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(58% 48% at 50% 46%, rgba(10,11,18,0.86), rgba(10,11,18,0.45) 55%, rgba(10,11,18,0.12) 78%, transparent),
    linear-gradient(180deg, rgba(10,11,18,0.5), transparent 25%, transparent 75%, var(--void));
}
.hero .shell-inner { position: relative; z-index: 2; }
@media (max-width: 720px) { .hero-bg { opacity: 0.7; } }

/* ── REGRESSION FIX: starfield is now a FIXED full-page backdrop ────────────── */
/* .cosmos-canvas lives inside .atmosphere (position:fixed, z-index:-2,
   pointer-events:none) → it sits BEHIND all content and can never overlay
   sections or capture scroll/clicks. Hero positioning reverted. */
.cosmos-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; display: block; }
.hero { overflow: visible; }                  /* revert the earlier overflow:hidden */
.hero-bg, .hero-vignette { display: none; }   /* elements removed from HTML; kill dead rules */
@media (max-width: 720px) { .cosmos-canvas { opacity: 0.5; } }

/* ── DARK-PAGE FIX: temperature-field must NOT be opaque (it was covering the ──
   starfield). The body already paints var(--void); the temperature-field is now
   PURELY the additive ember/gold warm-shift over transparent. The starfield
   canvas is the topmost atmosphere layer so the warp is clearly visible. */
.temperature-field {
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(232,100,44, calc(0.22 * var(--temp))), transparent 60%),
    radial-gradient(100% 60% at 50% 110%, rgba(217,164,65, calc(0.10 * var(--temp))), transparent 55%);
}
.cosmos-canvas { opacity: 0.82; }
@media (max-width: 720px) { .cosmos-canvas { opacity: 0.62; } }
