/* ---------------------------------------------------------------
   JESTAR palette. Sampled from the In My Soul cover art and mapped
   onto the brand guide: near-black, burgundy, cold night blue,
   sodium orange, cream, silver. Never random brights.
   --------------------------------------------------------------- */
:root {
  --jest-black: #08070a;
  --jest-ink: #0e0c11;
  --jest-ember: #f0a137;
  --jest-flame: #f8dca8;
  --jest-cream: #ece2d2;
  --jest-wine: #7c1f2e;
  --jest-plum: #57193c;
  --jest-night: #1a2947;
  --jest-silver: #b9b6ae;
  --font-sans: "Archivo", sans-serif;
  --font-heading: "Cinzel", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--jest-black);
  color: var(--jest-cream);
  font-family: var(--font-sans);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.hidden {
  display: none;
}

/* ============================== layout ============================== */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 3.5rem 1.25rem;
}

.column {
  display: flex;
  width: 100%;
  max-width: 26rem;
  flex-direction: column;
  gap: 2.25rem;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* ============================== ambient backdrop ============================== */
.bg-night {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -20;
  opacity: 0.5;
  background: radial-gradient(120% 75% at 50% 115%, var(--jest-night) 0%, transparent 60%);
}

.bg-ember-glow {
  pointer-events: none;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: -10;
  height: 34rem;
  background: radial-gradient(70% 100% at 50% 0%, rgba(240, 161, 55, 0.22) 0%, rgba(124, 31, 46, 0.14) 38%, transparent 72%);
  animation: ember 7s ease-in-out infinite;
}

@keyframes ember {
  0%, 100% { opacity: 0.55; transform: translate3d(0, 0, 0) scale(1); }
  50%      { opacity: 0.85; transform: translate3d(0, -1.5%, 0) scale(1.06); }
}

.embers {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
}

.ember-particle {
  position: absolute;
  bottom: -5%;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(248, 220, 168, 0.9) 0%, rgba(240, 161, 55, 0.5) 45%, transparent 75%);
  animation-name: ember-rise;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
  pointer-events: none;
}

@keyframes ember-rise {
  0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  10%  { opacity: 0.9; }
  50%  { transform: translate3d(6px, -50vh, 0) scale(1); }
  90%  { opacity: 0.35; }
  100% { transform: translate3d(-8px, -100vh, 0) scale(0.4); opacity: 0; }
}

/* Texture law: things that have lived a life. Grain over gloss. */
.grain::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainshift 1.1s steps(4) infinite;
}

@keyframes grainshift {
  0%   { background-position: 0 0; }
  25%  { background-position: -22px 14px; }
  50%  { background-position: 14px -22px; }
  75%  { background-position: -14px -8px; }
  100% { background-position: 0 0; }
}

/* ============================== header ============================== */
.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.5rem;
  text-align: center;
}

.share-btn {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(236, 226, 210, 0.15);
  padding: 0.35rem 0.6rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(236, 226, 210, 0.45);
  transition: color 0.3s, border-color 0.3s, transform 0.075s;
}

.share-btn:hover {
  border-color: rgba(240, 161, 55, 0.5);
  color: var(--jest-ember);
}

.share-btn:active {
  transform: scale(0.96);
}

.constellation {
  width: 2.75rem;
  height: auto;
  color: rgba(185, 182, 174, 0.6);
}

.twinkle {
  animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.wordmark-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.wordmark {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--jest-cream);
}

.wordmark-flicker {
  animation: wordmark-flicker 1.6s steps(1, end) 1;
}

@keyframes wordmark-flicker {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  8%   { opacity: 0.2; }
  12%  { opacity: 1; }
  18%  { opacity: 0.3; }
  22%  { opacity: 1; }
  55%  { opacity: 1; }
  58%  { opacity: 0.4; }
  62%  { opacity: 1; }
  100% { opacity: 1; }
}

.wordmark-sub {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(236, 226, 210, 0.4);
}

.manifesto {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--jest-ember);
}

/* ============================== section label ============================== */
.label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.label h2 {
  margin: 0;
  white-space: nowrap;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(236, 226, 210, 0.4);
}

.label-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, rgba(236, 226, 210, 0.15), transparent);
}

.belt {
  height: 0.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  color: rgba(185, 182, 174, 0.4);
}

.belt-lg {
  width: 2.25rem;
  height: auto;
  color: rgba(185, 182, 174, 0.5);
}

/* ============================== release card ============================== */
.release-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(236, 226, 210, 0.12);
  background: var(--jest-ink);
}

.release-art-wrap {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.release-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-art-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--jest-ink) 0%, rgba(14, 12, 17, 0.25) 50%, transparent 100%);
}

/* Smoke rising off the burning doorway. Loops, never explains itself. */
.smoke-layer {
  position: absolute;
  inset: -25%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.93  0 0 0 0 0.89  0 0 0 0 0.82  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23s)'/%3E%3C/svg%3E");
  background-size: cover;
  mix-blend-mode: screen;
  filter: blur(14px);
  animation: smoke-drift 17s ease-in-out infinite;
}

@keyframes smoke-drift {
  0%   { transform: translate3d(-3%, 5%, 0) scale(1.15) rotate(0deg); opacity: 0.28; }
  50%  { transform: translate3d(4%, -6%, 0) scale(1.3) rotate(3deg); opacity: 0.42; }
  100% { transform: translate3d(-3%, 5%, 0) scale(1.15) rotate(0deg); opacity: 0.28; }
}

.fire-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 38% at 50% 80%, rgba(240, 161, 55, 0.6) 0%, rgba(124, 31, 46, 0.32) 45%, transparent 75%);
  mix-blend-mode: screen;
  animation: fire-flicker 2.4s ease-in-out infinite;
}

@keyframes fire-flicker {
  0%, 100% { opacity: 0.55; transform: scale(1) translateY(0); }
  20%      { opacity: 0.85; transform: scale(1.06) translateY(-1%); }
  35%      { opacity: 0.4;  transform: scale(0.95) translateY(1%); }
  50%      { opacity: 0.9;  transform: scale(1.1) translateY(-2%); }
  65%      { opacity: 0.5;  transform: scale(0.97) translateY(0.5%); }
  80%      { opacity: 0.7;  transform: scale(1.02) translateY(-0.5%); }
}

.release-body {
  position: relative;
  margin-top: -4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.release-heading {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.release-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  line-height: 1;
  color: var(--jest-cream);
}

.release-date {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--jest-ember);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 0.25rem;
  border: 1px solid rgba(236, 226, 210, 0.1);
  background: rgba(236, 226, 210, 0.1);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: var(--jest-black);
  padding: 0.75rem 0.5rem;
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--jest-flame);
}

.countdown-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(236, 226, 210, 0.35);
}

.presave-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--jest-ember);
  padding: 0.875rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #120a02;
  transition: background-color 0.3s, transform 0.075s;
}

.presave-btn:hover {
  background: var(--jest-flame);
}

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

.cta-pulse {
  animation: cta-pulse 3.2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 161, 55, 0.35); }
  50%      { box-shadow: 0 0 0 8px rgba(240, 161, 55, 0); }
}

.release-note {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(236, 226, 210, 0.45);
}

/* ============================== link list ============================== */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  overflow: hidden;
  border-radius: 0.375rem;
  border: 1px solid rgba(236, 226, 210, 0.12);
  background: rgba(236, 226, 210, 0.025);
  padding: 0.875rem 1rem;
  transition: border-color 0.3s, background-color 0.3s, transform 0.075s;
}

.link-item:hover {
  border-color: rgba(240, 161, 55, 0.45);
  background: rgba(240, 161, 55, 0.06);
}

.link-item:active {
  transform: scale(0.98);
  border-color: rgba(240, 161, 55, 0.5);
  background: rgba(240, 161, 55, 0.08);
}

.link-item-bar {
  pointer-events: none;
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: var(--jest-ember);
  opacity: 0;
  transition: opacity 0.3s;
}

.link-item:hover .link-item-bar {
  opacity: 1;
}

.link-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: rgba(185, 182, 174, 0.7);
  transition: color 0.3s;
}

.link-item:hover .link-icon {
  color: var(--jest-ember);
}

.link-text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.link-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--jest-cream);
}

.link-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(236, 226, 210, 0.35);
}

.link-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: rgba(236, 226, 210, 0.25);
  transition: color 0.3s, transform 0.3s;
}

.link-item:hover .link-arrow {
  color: var(--jest-ember);
  transform: translate(2px, -2px);
}

.link-item-soon {
  cursor: default;
  border-color: rgba(236, 226, 210, 0.08);
  background: rgba(236, 226, 210, 0.015);
}

.link-item-soon .link-icon {
  color: rgba(236, 226, 210, 0.2);
}

.link-item-soon .link-label {
  color: rgba(236, 226, 210, 0.3);
}

.link-soon {
  flex-shrink: 0;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(236, 226, 210, 0.25);
}

/* ============================== player ============================== */
.player {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border-radius: 0.375rem;
  border: 1px solid rgba(236, 226, 210, 0.12);
  background: rgba(236, 226, 210, 0.025);
  padding: 1rem;
}

.player-glow {
  pointer-events: none;
  position: absolute;
  left: -1.5rem;
  top: 50%;
  width: 6rem;
  height: 6rem;
  transform: translateY(-50%);
  border-radius: 9999px;
  background: rgba(240, 161, 55, 0.25);
  filter: blur(24px);
  opacity: 0;
  transition: opacity 0.7s;
}

.player-glow.active {
  opacity: 1;
}

.vinyl {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(185, 182, 174, 0.3);
  background-image: repeating-radial-gradient(circle, var(--jest-ink) 0px, var(--jest-ink) 2px, #000 3px, #000 4px);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
  transition: transform 0.5s;
}

.vinyl:hover {
  transform: scale(1.05);
}

.vinyl:active {
  transform: scale(0.95);
}

.vinyl.spinning {
  animation: spin 3.6s linear infinite;
}

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

.vinyl-hole {
  position: absolute;
  inset: 38%;
  border-radius: 9999px;
  border: 1px solid rgba(240, 161, 55, 0.5);
  background: var(--jest-black);
}

.vinyl-pin {
  position: absolute;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--jest-ember);
}

.vinyl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(8, 7, 10, 0);
  opacity: 0;
  backdrop-filter: blur(1px);
  transition: opacity 0.2s, background-color 0.2s;
}

.vinyl:hover .vinyl-overlay {
  background: rgba(8, 7, 10, 0.4);
  opacity: 1;
}

.track-info {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.375rem;
}

.track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.track-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--jest-cream);
}

.smoke-window {
  position: relative;
  width: 5rem;
  height: 1.75rem;
  flex-shrink: 0;
  mask-image: radial-gradient(55% 65% at 50% 55%, black 40%, transparent 92%);
  -webkit-mask-image: radial-gradient(55% 65% at 50% 55%, black 40%, transparent 92%);
}

/* Real turbulence smoke, scaled down for the player window. */
.player-smoke {
  position: absolute;
  inset: -70%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='ps'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.06 0.14' numOctaves='4' seed='23' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.93  0 0 0 0 0.89  0 0 0 0 0.82  0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23ps)'/%3E%3C/svg%3E");
  background-size: 140% 140%;
  mix-blend-mode: screen;
  filter: blur(2px);
  opacity: 0.85;
  animation: player-smoke-drift 5.5s ease-in-out infinite;
}

.player-smoke.is-idle {
  animation-play-state: paused;
  opacity: 0.2;
  filter: blur(2px) grayscale(0.4);
}

@keyframes player-smoke-drift {
  0%   { transform: translate3d(-5%, 10%, 0) scale(1.15) rotate(0deg); }
  50%  { transform: translate3d(6%, -12%, 0) scale(1.3) rotate(5deg); }
  100% { transform: translate3d(-5%, 10%, 0) scale(1.15) rotate(0deg); }
}

.smoke-window-glow {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0 0;
  height: 0.5rem;
  background: radial-gradient(60% 100% at 50% 100%, rgba(240, 161, 55, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.smoke-window-glow.active {
  opacity: 1;
}

.track-note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(236, 226, 210, 0.35);
}

/* ============================== catalogue ============================== */
.catalogue-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(236, 226, 210, 0.12);
  background: rgba(236, 226, 210, 0.025);
  padding: 0.625rem;
  transition: border-color 0.3s, background-color 0.3s, transform 0.075s;
}

.catalogue-item:hover {
  border-color: rgba(240, 161, 55, 0.45);
  background: rgba(240, 161, 55, 0.06);
}

.catalogue-item:active {
  transform: scale(0.98);
}

.catalogue-art {
  border-radius: 0.125rem;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s;
}

.catalogue-item:hover .catalogue-art {
  filter: grayscale(0);
}

/* ============================== the takers card ============================== */
.takers-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(124, 31, 46, 0.4);
  background: linear-gradient(160deg, rgba(124, 31, 46, 0.16), rgba(87, 25, 60, 0.08) 55%, transparent);
  padding: 1.5rem;
}

.takers-glow {
  pointer-events: none;
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  background: rgba(240, 161, 55, 0.1);
  filter: blur(32px);
}

.takers-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.takers-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--jest-cream);
}

.takers-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(236, 226, 210, 0.75);
}

.takers-sub {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(236, 226, 210, 0.4);
}

.takers-cta {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(236, 226, 210, 0.25);
  padding: 0.625rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--jest-cream);
  transition: border-color 0.3s, color 0.3s, transform 0.075s;
}

.takers-cta:hover {
  border-color: var(--jest-ember);
  color: var(--jest-ember);
}

.takers-cta:active {
  transform: scale(0.98);
}

.takers-divider {
  position: relative;
  height: 1px;
  width: 100%;
  background: rgba(124, 31, 46, 0.3);
}

/* ============================== pulse (vote + comment) ============================== */
.pulse {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pulse-q {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.pulse-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--jest-cream);
}

.pulse-sub {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(236, 226, 210, 0.45);
}

.pulse-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pulse-option {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  border: 1px solid rgba(124, 31, 46, 0.4);
  padding: 0.75rem 1rem;
  text-align: left;
  transition: border-color 0.3s, transform 0.075s;
}

.pulse-option:not(:disabled):hover {
  border-color: rgba(240, 161, 55, 0.5);
}

.pulse-option:not(:disabled):active {
  transform: scale(0.98);
}

.pulse-option:disabled {
  cursor: default;
}

.pulse-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: rgba(240, 161, 55, 0.18);
  transition: width 0.7s;
}

.pulse-flash {
  position: absolute;
  inset: 0;
  background: rgba(240, 161, 55, 0.45);
  opacity: 0;
}

.pulse-flash.flashing {
  animation: vote-flash 0.6s ease-out;
}

@keyframes vote-flash {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

.pulse-option-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pulse-option-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--jest-cream);
}

.pulse-option.picked .pulse-option-label {
  color: var(--jest-ember);
}

.pulse-check {
  flex-shrink: 0;
}

.pulse-pct {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: rgba(236, 226, 210, 0.4);
}

.pulse-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.pulse-confirm-line {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--jest-ember);
}

.pulse-live {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(236, 226, 210, 0.3);
}

.pulse-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--jest-ember);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.pulse-comment {
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(124, 31, 46, 0.25);
  padding-top: 1rem;
}

.pulse-label {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(236, 226, 210, 0.4);
}

.pulse-comment textarea {
  resize: none;
  border-radius: 0.375rem;
  border: 1px solid rgba(124, 31, 46, 0.4);
  background: rgba(8, 7, 10, 0.4);
  padding: 0.625rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--jest-cream);
  outline: none;
}

.pulse-comment textarea::placeholder {
  color: rgba(236, 226, 210, 0.25);
}

.pulse-comment textarea:focus {
  border-color: rgba(240, 161, 55, 0.5);
}

.pulse-comment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pulse-error {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(248, 220, 168, 0.8);
}

.pulse-take-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(236, 226, 210, 0.25);
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--jest-cream);
  transition: border-color 0.3s, color 0.3s, transform 0.075s;
}

.pulse-take-btn:not(:disabled):hover {
  border-color: var(--jest-ember);
  color: var(--jest-ember);
}

.pulse-take-btn:not(:disabled):active {
  transform: scale(0.97);
}

.pulse-take-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.pulse-take-btn.sent {
  border-color: var(--jest-ember);
  color: var(--jest-ember);
}

.pulse-wall {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(124, 31, 46, 0.25);
  padding-top: 1rem;
}

.pulse-comments {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pulse-comments li {
  border-radius: 0.375rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(236, 226, 210, 0.7);
  transition: background-color 1s, color 1s;
}

.pulse-comments li.new {
  margin: 0 -0.5rem;
  background: rgba(240, 161, 55, 0.1);
  padding: 0.375rem 0.5rem;
  color: var(--jest-cream);
}

.pulse-comments .pulse-comment-tag {
  margin-left: 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(236, 226, 210, 0.25);
}

.pulse-comments li.new .pulse-comment-tag {
  color: var(--jest-ember);
}

/* ============================== footer ============================== */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0 0.5rem;
}

.footer-line {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-style: italic;
  letter-spacing: 0.14em;
  color: rgba(236, 226, 210, 0.35);
}

.footer-copy {
  margin: 0;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(236, 226, 210, 0.2);
}

/* ============================== cursor ============================== */
.smoke-cursor-canvas {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
}

.smoke-cursor-active,
.smoke-cursor-active * {
  cursor: none !important;
}

/* ============================== motion accessibility ============================== */
@media (prefers-reduced-motion: reduce) {
  .grain::after,
  .bg-ember-glow,
  .ember-particle,
  .smoke-layer,
  .fire-glow,
  .player-smoke,
  .wordmark-flicker,
  .cta-pulse,
  .pulse-flash.flashing,
  .pulse-dot,
  .twinkle,
  .vinyl.spinning {
    animation: none;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 420px) {
  .page {
    padding: 3rem 1rem;
  }
}
