/* ==========================================================================
   ISJENSENBACKYET.COM — GPU TELEMETRY & AUTOMOTIVE FUEL GAUGE THEME
   ========================================================================== */

:root {
  --bg-0: #060708;
  --bg-1: #0c0e11;
  --bg-2: #121519;
  --bg-3: #191d22;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-0: #f4f7f9;
  --text-1: #aeb7c0;
  --text-2: #6f7882;

  --nv-green: #76b900;
  --nv-green-bright: #98e600;
  --danger: #ff3b30;
  --warn: #ff7a1a;
  --amber: #f5c418;

  --accent-current: #ff5c28;

  --font-display: "Chakra Petch", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

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

html {
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-0);
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Ambient tech grid & reactive spotlight */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 35%, transparent 100%);
}

.bg-glow {
  position: fixed;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 120vw);
  height: 560px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 68, 42, 0.16) 0%,
    rgba(118, 185, 0, 0.05) 45%,
    transparent 72%
  );
  transition: background 0.6s ease;
}

body.mode-so-back .bg-glow {
  background: radial-gradient(
    ellipse at center,
    rgba(118, 185, 0, 0.34) 0%,
    rgba(152, 230, 0, 0.12) 48%,
    transparent 74%
  );
}

.mono {
  font-family: var(--font-mono);
}

.hidden {
  display: none !important;
}

.container {
  position: relative;
  z-index: 1;
  width: min(1080px, 100% - 32px);
  margin: 0 auto;
}

/* ==========================================================================
   TOP TELEMETRY BAR
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 7, 8, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-0);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.brand-tld {
  color: var(--nv-green);
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 12px var(--danger);
  animation: pulse 1.8s ease-in-out infinite;
}

body.mode-so-back .brand-dot {
  background: var(--nv-green-bright);
  box-shadow: 0 0 14px var(--nv-green-bright);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ff9c8a;
  background: rgba(255, 59, 48, 0.14);
  border: 1px solid rgba(255, 59, 48, 0.35);
}

body.mode-so-back .status-pill {
  color: #d6ff80;
  background: rgba(118, 185, 0, 0.18);
  border-color: rgba(118, 185, 0, 0.5);
}

.days-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.days-label {
  color: var(--text-2);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.days-value {
  color: var(--text-0);
  font-weight: 700;
}

/* ==========================================================================
   MAIN SPACING
   ========================================================================== */
.main-content {
  padding: 28px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ==========================================================================
   HERO CARD + FUEL GAUGE
   ========================================================================== */
.hero-card {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, #090b0d 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

body.mode-so-back .hero-card {
  border-color: rgba(118, 185, 0, 0.55);
  box-shadow:
    0 24px 70px rgba(118, 185, 0, 0.18),
    inset 0 1px 0 rgba(152, 230, 0, 0.25);
}

.hero-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 12px;
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--text-2);
}

.verdict {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 9vw, 6.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--text-0);
  text-shadow: 0 0 36px rgba(255, 59, 48, 0.35);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

body.mode-so-back .verdict {
  color: var(--nv-green-bright);
  text-shadow: 0 0 42px rgba(118, 185, 0, 0.6);
}

.subverdict {
  margin: 12px auto 0;
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  color: var(--text-1);
  max-width: 580px;
}

/* Gauge + LCD + Rungs Layout */
.gauge-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
  margin-top: 10px;
}

.gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  overflow: visible;
  user-select: none;
}

.endcap-letter {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}

.endcap-e {
  fill: var(--danger);
}

.endcap-f {
  fill: var(--nv-green-bright);
}

.endcap-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  fill: var(--text-2);
}

.endcap-sub-f {
  fill: var(--nv-green);
}

.dial-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  fill: var(--text-2);
}

.gauge-tick-dot {
  cursor: pointer;
  transition: r 0.2s ease, opacity 0.2s ease;
}

/* Needle smooth spring animation */
#gauge-needle {
  transition: transform 0.85s cubic-bezier(0.22, 1.28, 0.36, 1);
  transform-origin: 0px 0px;
}

/* Embedded LCD readout below the dial */
.gauge-lcd {
  width: 100%;
  max-width: 440px;
  margin-top: 8px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #0b0d0f 0%, #101418 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.65);
  text-align: center;
  position: relative;
  z-index: 2;
}

.lcd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.lcd-mode {
  color: var(--text-2);
  letter-spacing: 0.12em;
  font-weight: 700;
}

.lcd-mode.is-preview {
  color: var(--amber);
}

.lcd-pct {
  font-weight: 700;
  color: var(--accent-current);
  font-size: 0.88rem;
}

.lcd-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-0);
  text-transform: uppercase;
}

.lcd-roast {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--text-1);
  line-height: 1.45;
}

.snap-back-btn {
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-0);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.snap-back-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--nv-green);
}

/* Rung Ladder */
.rungs-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rungs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.rungs-label {
  color: var(--text-2);
  font-weight: 700;
}

.rungs-hint {
  color: var(--nv-green);
  white-space: nowrap;
}

.rungs-grid {
  display: flex;
  flex-direction: column-reverse; /* F at top, E at bottom like a climb to glory */
  gap: 7px;
}

.rung-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.rung-btn:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--border-strong);
  color: var(--text-0);
  transform: translateX(3px);
}

.rung-btn.is-active {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--rung-color, var(--nv-green));
  color: var(--text-0);
  box-shadow: 0 0 18px -4px var(--rung-color, var(--nv-green));
}

.rung-btn.is-live-reality .rung-tag {
  background: rgba(255, 59, 48, 0.2);
  color: #ff9c8a;
  border-color: rgba(255, 59, 48, 0.45);
}

.rung-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rung-color);
  box-shadow: 0 0 8px var(--rung-color);
}

.rung-name {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rung-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-2);
}

.rung-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid transparent;
}

/* ==========================================================================
   SECTION BARS
   ========================================================================== */
.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.section-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-1);
}

/* ==========================================================================
   STOCK DAMAGE STRIP
   ========================================================================== */
.feed-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-1);
}

.feed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.feed-pill.is-live {
  color: #c8ff66;
  border-color: rgba(118, 185, 0, 0.45);
  background: rgba(118, 185, 0, 0.12);
}

.feed-pill.is-live .feed-dot {
  background: var(--nv-green-bright);
  box-shadow: 0 0 8px var(--nv-green-bright);
  animation: pulse 1.6s infinite;
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.refresh-btn:hover {
  border-color: var(--nv-green);
  color: var(--text-0);
  background: var(--bg-3);
}

.refresh-btn.is-loading .refresh-icon {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  background: linear-gradient(180deg, var(--bg-1) 0%, #0a0c0f 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-card-danger {
  border-color: rgba(255, 59, 48, 0.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 59, 48, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, #0d090a 100%);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-2);
}

.metric-value {
  font-size: clamp(1.9rem, 3.6vw, 2.55rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-0);
}

.metric-value-danger {
  color: #ff5247;
  text-shadow: 0 0 24px rgba(255, 59, 48, 0.28);
}

.metric-value-positive {
  color: var(--nv-green-bright);
  text-shadow: 0 0 24px rgba(118, 185, 0, 0.28);
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-1);
  line-height: 1.4;
}

.delta-up {
  color: var(--nv-green-bright);
}

.delta-down {
  color: #ff665c;
}

/* ==========================================================================
   ROTATING LUMINARY QUOTES CAROUSEL
   ========================================================================== */
.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.carousel-counter {
  font-size: 0.76rem;
  color: var(--text-2);
  min-width: 56px;
  text-align: center;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-0);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--nv-green);
  background: var(--bg-3);
}

.quote-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(118, 185, 0, 0.08), transparent 45%),
    linear-gradient(180deg, var(--bg-1) 0%, #090b0d 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px 32px 24px;
  outline: none;
}

.quote-stage:focus-visible {
  border-color: var(--nv-green);
}

.quote-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.quote-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--nv-green), var(--nv-green-bright));
}

.quote-body {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.quote-body.is-transitioning {
  opacity: 0;
  transform: translateY(6px);
}

.quote-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--nv-green-bright);
  background: rgba(118, 185, 0, 0.14);
  border: 1px solid rgba(118, 185, 0, 0.35);
  padding: 4px 9px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.quote-text {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.1vw, 2.2rem);
  line-height: 1.25;
  color: var(--text-0);
  letter-spacing: 0.005em;
}

.quote-attrib {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.quote-author {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-0);
}

.quote-role {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-2);
}

.quote-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.quote-dot {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.quote-dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.quote-dot.is-active {
  width: 38px;
  background: var(--nv-green-bright);
}

/* ==========================================================================
   CTA BANNER (STAND WITH JENSEN + SHARE)
   ========================================================================== */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 50%, rgba(118, 185, 0, 0.2), transparent 55%),
    var(--bg-1);
  border: 1px solid rgba(118, 185, 0, 0.38);
}

.cta-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--nv-green-bright);
  margin-bottom: 4px;
}

.cta-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: var(--text-0);
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--nv-green);
  color: #070907;
  box-shadow: 0 0 24px rgba(118, 185, 0, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.12);
}

.btn-secondary {
  background: var(--bg-2);
  border-color: var(--border-strong);
  color: var(--text-0);
}

.btn-secondary:hover {
  border-color: var(--nv-green);
  background: var(--bg-3);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-1);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text-0);
}

/* ==========================================================================
   COMPACT CHAOS TIMELINE
   ========================================================================== */
.timeline-meta {
  font-size: 0.72rem;
  color: var(--text-2);
}

.timeline-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline-item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-top: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-item[data-tone="danger"] {
  border-top-color: var(--danger);
}

.timeline-item[data-tone="warn"] {
  border-top-color: var(--warn);
}

.timeline-item[data-tone="hope"] {
  border-top-color: var(--nv-green);
}

.timeline-item[data-tone="calm"] {
  border-top-color: #5a6572;
}

.timeline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.timeline-date {
  color: var(--text-1);
  font-weight: 700;
}

.timeline-tag {
  color: var(--text-2);
  letter-spacing: 0.08em;
}

.timeline-title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-0);
  line-height: 1.25;
}

.timeline-detail {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-1);
  line-height: 1.45;
}

/* ==========================================================================
   FOOTER, TOAST & CONFETTI CANVAS
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 36px;
  color: var(--text-2);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer p {
  margin: 0;
}

.footer strong {
  color: var(--text-1);
}

.footer-note {
  font-size: 0.72rem;
  color: #59616a;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 10px 16px;
  border-radius: 999px;
  background: #14181d;
  border: 1px solid var(--nv-green);
  color: var(--text-0);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.celebration-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 50;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE BREAKPOINTS
   ========================================================================== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.86);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 920px) {
  .gauge-stage {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .metrics-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 24px 16px 20px;
  }

  .quote-stage {
    padding: 24px 18px 20px;
  }

  .quote-body {
    min-height: 220px;
  }

  .cta-banner {
    padding: 20px 18px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .status-pill {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #gauge-needle,
  .brand-dot,
  .feed-dot,
  .quote-body {
    animation: none !important;
    transition: none !important;
  }
}
