:root {
  --bg-ink: #07080f;
  --bg-deep: #0d1220;
  --bg-violet: #201629;
  --gold-1: #f7d189;
  --gold-2: #ca8f33;
  --teal: #3eb8a5;
  --coral: #d87247;
  --text-main: #f7f1e6;
  --text-soft: #d0c2ab;
  --line: rgba(247, 209, 137, 0.28);
  --focus: #fff3d1;
  --panel: rgba(15, 18, 30, 0.86);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;

  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;

  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text-main);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 12% 0%, rgba(62, 184, 165, 0.24), transparent 30%),
    radial-gradient(circle at 88% 3%, rgba(216, 114, 71, 0.24), transparent 35%),
    linear-gradient(170deg, var(--bg-violet) 0%, var(--bg-deep) 52%, var(--bg-ink) 100%);
  overflow-x: hidden;
}

body.transitioning {
  overflow: hidden;
}

.space-warp-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
}

.space-warp-halo {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.72;
  background:
    radial-gradient(circle at 50% 50%, rgba(198, 236, 255, 0.14), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(255, 217, 178, 0.1), transparent 49%),
    linear-gradient(180deg, rgba(7, 10, 20, 0.06), rgba(4, 7, 14, 0.2));
  animation: warp-halo-pulse 5.8s ease-in-out infinite;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  opacity: 0.18;
  z-index: -1;
  overflow: hidden;
}

.grain::before,
.grain::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.grain::before {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 244, 214, 0.9) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(166, 232, 255, 0.75) 0 0.8px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 0 0.7px, transparent 1.25px);
  background-size: 230px 230px, 310px 310px, 260px 260px, 190px 190px;
  background-position: 22px 18px, 140px 90px, 56px 132px, 170px 34px;
  opacity: 0.54;
  animation:
    star-drift 60s linear infinite,
    star-twinkle 6.4s ease-in-out infinite;
}

.grain::after {
  background-image:
    radial-gradient(circle, rgba(255, 247, 228, 0.95) 0 1.4px, transparent 2px),
    radial-gradient(circle, rgba(247, 209, 137, 0.85) 0 1.6px, transparent 2.2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.6) 0 0.9px, transparent 1.5px);
  background-size: 420px 420px, 520px 520px, 360px 360px;
  background-position: 80px 60px, 250px 200px, 190px 120px;
  opacity: 0.26;
  filter: blur(0.15px);
  animation:
    star-drift 90s linear infinite reverse,
    star-twinkle 8.8s ease-in-out infinite reverse;
}

@keyframes warp-halo-pulse {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(1);
    filter: blur(0px);
  }

  50% {
    opacity: 0.88;
    transform: scale(1.06);
    filter: blur(0.6px);
  }
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: #10131d;
  font-weight: 700;
  text-decoration: none;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.hero,
main,
.footer {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: clamp(1.2rem, 4vw, 2.2rem) 0 clamp(2.2rem, 6vw, 3.8rem);
  text-align: center;
}

.hero-frame {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: clamp(1.2rem, 3.8vw, 2.2rem) clamp(1rem, 4vw, 2.4rem) clamp(1.2rem, 3.8vw, 2rem);
  border-radius: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(247, 209, 137, 0.2);
  background:
    radial-gradient(circle at 8% 0%, rgba(62, 184, 165, 0.12), transparent 36%),
    radial-gradient(circle at 96% 6%, rgba(216, 114, 71, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(14, 19, 32, 0.72), rgba(9, 13, 22, 0.78));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 242, 214, 0.1),
    inset 0 0 0 1px rgba(247, 209, 137, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 32%),
    radial-gradient(circle at 50% 18%, rgba(247, 209, 137, 0.07), transparent 52%);
  pointer-events: none;
}

.hero-frame > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 800;
}

.hero h1 {
  margin: 0.5rem auto 0;
  max-width: 11ch;
  font-family: "Cinzel", serif;
  font-size: clamp(2.35rem, 6.6vw, 4.95rem);
  line-height: 0.98;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
}

.hero-copy {
  margin: 0.95rem auto 0;
  max-width: 52ch;
  color: color-mix(in srgb, var(--text-soft) 88%, #fff 12%);
  font-size: clamp(0.98rem, 1.55vw, 1.12rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: stretch;
}

.hero-actions .button {
  min-width: 11.5rem;
  padding-inline: 1.1rem;
}

.hero-actions .button-secondary {
  border-color: rgba(247, 209, 137, 0.28);
  background:
    linear-gradient(180deg, rgba(16, 21, 35, 0.9), rgba(12, 16, 27, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-windrush-badge {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0.8rem 0.42rem 0.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(247, 209, 137, 0.24);
  background:
    linear-gradient(180deg, rgba(16, 21, 35, 0.9), rgba(12, 16, 27, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-windrush-badge:hover,
.hero-windrush-badge:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(247, 209, 137, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 24px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(247, 209, 137, 0.12);
}

.hero-windrush-badge-copy {
  display: grid;
  gap: 0.08rem;
  text-align: left;
  min-width: 0;
}

.hero-windrush-badge-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-soft);
  font-weight: 800;
}

.hero-windrush-badge-title {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  white-space: nowrap;
}

.windrush-medallion {
  --size: 3.6rem;
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid rgba(240, 222, 174, 0.42);
  box-shadow:
    0 0 0 1px rgba(7, 9, 14, 0.35) inset,
    0 12px 24px rgba(0, 0, 0, 0.28);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 72%, rgba(64, 152, 138, 0.92) 72.5% 82%, rgba(21, 58, 56, 0.94) 82.5% 86%, transparent 86.2%),
    radial-gradient(circle at 50% 46%, rgba(247, 209, 137, 0.06), transparent 44%),
    radial-gradient(circle at 18% 12%, rgba(166, 232, 255, 0.22), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(64, 120, 255, 0.2), transparent 34%),
    conic-gradient(
      from -8deg,
      #2c73c4 0 8%,
      #2f5cb9 8% 16%,
      #2478cf 16% 24%,
      #2253ab 24% 32%,
      #2e84d8 32% 40%,
      #255fbe 40% 48%,
      #1f4ea5 48% 56%,
      #2a79ce 56% 64%,
      #2564bf 64% 72%,
      #2e88da 72% 80%,
      #2c68bf 80% 88%,
      #2d7ed1 88% 100%
    );
}

.windrush-medallion::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(18deg, rgba(17, 23, 34, 0.22) 0 1.6px, transparent 1.6px 10px),
    repeating-linear-gradient(-38deg, rgba(17, 23, 34, 0.14) 0 1.2px, transparent 1.2px 9px),
    radial-gradient(circle at 50% 50%, transparent 0 27%, rgba(15, 16, 23, 0.18) 28% 31%, transparent 33%);
  opacity: 0.92;
  pointer-events: none;
}

.windrush-medallion::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from -10deg,
      rgba(14, 20, 30, 0.58) 0deg 2.2deg,
      transparent 2.2deg 18deg
    ),
    radial-gradient(circle at 50% 50%, transparent 0 27%, rgba(14, 20, 30, 0.52) 27.4% 31.6%, transparent 32.2%);
  opacity: 0.95;
  pointer-events: none;
}

.windrush-medallion-star {
  position: absolute;
  inset: 20% 18% 16%;
  clip-path: polygon(
    50% 0%,
    61% 34%,
    98% 35%,
    69% 57%,
    79% 95%,
    50% 73%,
    21% 95%,
    31% 57%,
    2% 35%,
    39% 34%
  );
  background: #1f232c;
  filter: drop-shadow(0 0 12px rgba(247, 209, 137, 0.18));
}

.windrush-medallion-star::before {
  content: "";
  position: absolute;
  inset: 7%;
  clip-path: inherit;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 244, 213, 0.95), rgba(247, 209, 137, 0.92) 46%, rgba(202, 143, 51, 0.95) 100%);
}

.windrush-medallion-star::after {
  content: "";
  position: absolute;
  inset: 12%;
  background:
    repeating-linear-gradient(28deg, rgba(36, 34, 29, 0.18) 0 1.5px, transparent 1.5px 9px),
    repeating-linear-gradient(-32deg, rgba(36, 34, 29, 0.14) 0 1.2px, transparent 1.2px 8px);
  clip-path: inherit;
  opacity: 0.75;
}

.windrush-medallion-wordmark {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
  color: #eef3f8;
  font-weight: 800;
  font-size: 0.34rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
  white-space: nowrap;
  pointer-events: none;
  padding: 0.03rem 0.2rem 0.02rem;
  border-radius: 999px;
  background: rgba(18, 34, 66, 0.62);
  border: 1px solid rgba(207, 232, 255, 0.18);
}

.windrush-medallion-badge {
  --size: 3rem;
}

.windrush-medallion-badge .windrush-medallion-wordmark {
  font-size: 0.31rem;
}

.windrush-medallion-panel {
  --size: clamp(3.4rem, 10vw, 4.6rem);
}

.button {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  min-height: 2.8rem;
  padding: 0.68rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #311f0f;
  background: linear-gradient(140deg, #ffe8bc, var(--gold-1) 40%, var(--gold-2));
  box-shadow: 0 10px 22px rgba(202, 143, 51, 0.35);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(16, 20, 35, 0.88);
  color: var(--text-main);
}

main {
  display: grid;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
}

.section-head {
  text-align: center;
  max-width: 68ch;
  margin: 0 auto var(--space-4);
}

.section-head h2 {
  margin: var(--space-1) 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.section-head p {
  color: var(--text-soft);
}

.wheel-shell {
  width: min(88vw, 760px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(247, 209, 137, 0.2) 0%, rgba(9, 10, 18, 0.82) 54%, rgba(7, 8, 15, 0.95) 78%),
    radial-gradient(circle at 10% 10%, rgba(62, 184, 165, 0.15), transparent 40%),
    radial-gradient(circle at 90% 8%, rgba(216, 114, 71, 0.15), transparent 42%);
  position: relative;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(247, 209, 137, 0.14);
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.wheel-shell.is-dragging {
  cursor: grabbing;
}

.wheel-shell::before,
.wheel-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.wheel-shell::before {
  inset: 7%;
  border: 1px solid rgba(247, 209, 137, 0.35);
}

.wheel-shell::after {
  inset: 11%;
  border: 1px dashed rgba(247, 209, 137, 0.35);
  animation: slow-spin 32s linear infinite;
}

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

.wheel-track {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wheel-star {
  --x: 0px;
  --y: 0px;
  appearance: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translate(var(--x), var(--y));
  width: clamp(138px, 20vw, 190px);
  min-height: clamp(138px, 20vw, 190px);
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
  color: var(--text-main);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: transform 180ms ease;
  transform-origin: center;
  padding: 0.2rem;
}

.wheel-star:hover,
.wheel-star:focus-visible,
.wheel-star.is-active {
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(1.06);
}

.star-shape {
  font-size: clamp(4.2rem, 9.2vw, 6.2rem);
  line-height: 1;
  color: var(--gold-1);
  text-shadow:
    0 0 0.7rem rgba(247, 209, 137, 0.52),
    0 0 1.6rem rgba(202, 143, 51, 0.45);
  transition: transform 180ms ease, text-shadow 180ms ease;
}

.wheel-star:hover .star-shape,
.wheel-star:focus-visible .star-shape,
.wheel-star.is-active .star-shape {
  transform: scale(1.1);
  text-shadow:
    0 0 0.8rem rgba(247, 209, 137, 0.65),
    0 0 2rem rgba(202, 143, 51, 0.62);
}

.star-label {
  font-size: clamp(0.75rem, 1.65vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wheel-star:focus-visible {
  outline: none;
}

.wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(46%, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(247, 209, 137, 0.38);
  background: linear-gradient(180deg, rgba(24, 30, 48, 0.92), rgba(8, 10, 17, 0.95));
  padding: 1rem;
}

.wheel-center p {
  margin: 0;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-soft);
}

.wheel-center strong {
  font-family: "Cinzel", serif;
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  line-height: 1.15;
}

.wheel-shell.is-launching .wheel-star {
  opacity: 0.55;
}

.wheel-shell.is-launching .wheel-star.is-active {
  opacity: 1;
}

.wheel-shell.is-launching .wheel-star.is-active .star-shape {
  animation: star-burst 650ms cubic-bezier(0.15, 0.75, 0.15, 1) forwards;
}

.feature-pair-grid {
  display: grid;
  gap: var(--space-4);
}

.windrush-spotlight,
.audio-section {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.windrush-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  background:
    radial-gradient(circle at 20% 10%, rgba(62, 184, 165, 0.14), transparent 42%),
    radial-gradient(circle at 90% 12%, rgba(216, 114, 71, 0.12), transparent 40%),
    var(--panel);
}

.windrush-head {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
  text-align: left;
}

.windrush-spotlight-copy {
  min-width: 0;
  max-width: 56ch;
}

.windrush-spotlight-copy .eyebrow {
  margin: 0;
}

.windrush-spotlight-copy h2 {
  margin-top: 0.05rem;
}

.windrush-spotlight-copy p:last-child {
  max-width: 48ch;
}

.windrush-spotlight-cta {
  justify-self: start;
  align-self: center;
  min-width: 15.25rem;
}

.windrush-spotlight h2,
.audio-section h2 {
  margin: 0.3rem 0 0.55rem;
  font-family: "Cinzel", serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.windrush-spotlight p,
.audio-section p {
  color: var(--text-soft);
  margin: 0;
}

@keyframes star-twinkle {
  0%,
  100% {
    opacity: 0.38;
    filter: brightness(0.92);
  }

  25% {
    opacity: 0.62;
    filter: brightness(1);
  }

  55% {
    opacity: 0.82;
    filter: brightness(1.14);
  }

  78% {
    opacity: 0.46;
    filter: brightness(0.94);
  }
}

@keyframes star-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-1.1%, 0.8%, 0) scale(1.01);
  }

  100% {
    transform: translate3d(-2.2%, 1.6%, 0) scale(1.02);
  }
}

.audio-section {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.audio-box {
  display: grid;
  gap: 0.72rem;
  align-items: center;
  align-content: end;
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(247, 209, 137, 0.22);
  background:
    linear-gradient(180deg, rgba(18, 24, 41, 0.9), rgba(11, 15, 28, 0.95));
  padding: 0.85rem 0.85rem 0.8rem;
  overflow: hidden;
  isolation: isolate;
}

.audio-box::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid rgba(247, 209, 137, 0.25);
  box-shadow:
    0 0 0 0 rgba(110, 198, 255, 0.09),
    0 0 0 0 rgba(255, 153, 112, 0.08);
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 200ms ease, box-shadow 220ms ease;
}

.audio-box.is-idle::before {
  opacity: 0.28;
}

.audio-box.is-playing::before {
  opacity: 0.72;
  box-shadow:
    0 0 0 1px rgba(97, 214, 255, 0.2),
    0 0 22px rgba(215, 127, 248, 0.2);
}

#audioToggle {
  width: fit-content;
  border: 1px solid rgba(247, 209, 137, 0.5);
  border-radius: var(--radius-pill);
  background: rgba(19, 25, 40, 0.9);
  color: var(--text-main);
  font-weight: 700;
  min-height: 2.7rem;
  padding: 0.6rem 1.15rem;
  cursor: pointer;
}

#audioToggle:hover,
#audioToggle:focus-visible {
  border-color: rgba(247, 209, 137, 0.76);
  box-shadow:
    0 0 0 1px rgba(247, 209, 137, 0.2),
    0 8px 20px rgba(2, 9, 20, 0.42);
}

.audio-track-shell {
  position: relative;
  width: 100%;
  min-height: 2.65rem;
  display: grid;
  align-items: center;
  padding: 0.08rem 0;
}

.audio-track-wave {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2.5rem;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  filter:
    drop-shadow(0 0 10px rgba(117, 213, 255, 0.38))
    drop-shadow(0 0 14px rgba(215, 127, 248, 0.24));
  transition: opacity 180ms ease;
}

.audio-box.is-playing .audio-track-wave {
  opacity: 1;
  animation: audio-track-wave-pulse 2.4s ease-in-out infinite;
}

#audioSeek {
  appearance: none;
  width: 100%;
  height: 1.08rem;
  position: relative;
  z-index: 2;
  background: transparent;
  cursor: pointer;
}

#audioSeek:focus-visible {
  outline: none;
}

#audioSeek::-webkit-slider-runnable-track {
  height: 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 209, 137, 0.35);
  background:
    linear-gradient(
      90deg,
      rgba(69, 211, 216, 0.62) 0%,
      rgba(142, 164, 255, 0.62) 26%,
      rgba(255, 198, 108, 0.62) 52%,
      rgba(255, 155, 119, 0.62) 74%,
      rgba(215, 127, 248, 0.66) 100%
    );
  background-size: 210% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(17, 25, 41, 0.28),
    0 0 7px rgba(95, 185, 255, 0.14);
}

#audioSeek::-webkit-slider-thumb {
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: -0.28rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 236, 198, 0.88);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.98), rgba(247, 209, 137, 0.96) 60%, rgba(202, 143, 51, 0.96));
  box-shadow:
    0 0 0 2px rgba(18, 27, 46, 0.75),
    0 0 12px rgba(247, 209, 137, 0.72);
}

#audioSeek::-moz-range-track {
  height: 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 209, 137, 0.35);
  background:
    linear-gradient(
      90deg,
      rgba(69, 211, 216, 0.62) 0%,
      rgba(142, 164, 255, 0.62) 26%,
      rgba(255, 198, 108, 0.62) 52%,
      rgba(255, 155, 119, 0.62) 74%,
      rgba(215, 127, 248, 0.66) 100%
    );
  background-size: 210% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(17, 25, 41, 0.28),
    0 0 7px rgba(95, 185, 255, 0.14);
}

#audioSeek::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 236, 198, 0.88);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.98), rgba(247, 209, 137, 0.96) 60%, rgba(202, 143, 51, 0.96));
  box-shadow:
    0 0 0 2px rgba(18, 27, 46, 0.75),
    0 0 12px rgba(247, 209, 137, 0.72);
}

.audio-box.is-idle #audioSeek::-webkit-slider-runnable-track,
.audio-box.is-idle #audioSeek::-moz-range-track {
  animation: audio-seek-sweep 2.3s linear infinite;
}

.audio-box.is-idle #audioSeek::-webkit-slider-thumb,
.audio-box.is-idle #audioSeek::-moz-range-thumb {
  animation: audio-playhead-glow 1.9s ease-in-out infinite;
}

.time-row {
  display: flex;
  gap: 0.45rem;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}

@keyframes audio-track-wave-pulse {
  0%,
  100% {
    filter:
      drop-shadow(0 0 9px rgba(117, 213, 255, 0.3))
      drop-shadow(0 0 13px rgba(215, 127, 248, 0.2));
  }

  50% {
    filter:
      drop-shadow(0 0 12px rgba(69, 211, 216, 0.42))
      drop-shadow(0 0 18px rgba(215, 127, 248, 0.32));
  }
}

@keyframes audio-seek-sweep {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 210% 50%;
  }
}

@keyframes audio-playhead-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(18, 27, 46, 0.75),
      0 0 12px rgba(247, 209, 137, 0.72);
  }

  50% {
    box-shadow:
      0 0 0 2px rgba(18, 27, 46, 0.75),
      0 0 14px rgba(69, 211, 216, 0.86),
      0 0 24px rgba(215, 127, 248, 0.58);
  }
}

.star-transition {
  --burst-origin-x: 50vw;
  --burst-origin-y: 50vh;
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
}

.star-transition[hidden] {
  display: none;
}

.star-transition.is-active {
  opacity: 1;
}

.star-transition-flash,
.star-transition-shockwave,
.star-transition-dust,
.star-transition-veil {
  position: absolute;
  inset: 0;
}

.star-transition-flash {
  background:
    radial-gradient(
      circle at var(--burst-origin-x) var(--burst-origin-y),
      rgba(255, 246, 212, 0.95) 0%,
      rgba(247, 209, 137, 0.85) 8%,
      rgba(247, 209, 137, 0.1) 22%,
      transparent 44%
    );
  opacity: 0;
}

.star-transition-shockwave {
  background:
    radial-gradient(
      circle at var(--burst-origin-x) var(--burst-origin-y),
      transparent 0 5%,
      rgba(255, 234, 176, 0.92) 6%,
      rgba(202, 143, 51, 0.58) 9%,
      rgba(202, 143, 51, 0.12) 15%,
      transparent 23%
    );
  transform: scale(0.12);
  transform-origin: var(--burst-origin-x) var(--burst-origin-y);
  opacity: 0;
  filter: blur(0.4px);
}

.star-transition-dust {
  overflow: hidden;
}

.star-transition-particle {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size, 6px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 249, 229, 0.98) 0 30%, rgba(247, 209, 137, 0.88) 50%, rgba(202, 143, 51, 0.2) 100%);
  box-shadow:
    0 0 10px rgba(255, 234, 176, 0.65),
    0 0 24px rgba(202, 143, 51, 0.35);
  opacity: 0;
  transform:
    translate3d(var(--origin-x, 0px), var(--origin-y, 0px), 0)
    scale(0.4);
  filter: blur(0);
  will-change: transform, opacity, filter;
}

.star-transition-veil {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 236, 173, 0.2), rgba(255, 236, 173, 0.02) 38%, transparent 60%),
    linear-gradient(180deg, rgba(255, 228, 158, 0.06), rgba(255, 228, 158, 0.38));
  opacity: 0;
}

.star-transition.is-active .star-transition-flash {
  animation: star-flash 380ms ease-out forwards;
}

.star-transition.is-active .star-transition-shockwave {
  animation: star-burst 780ms cubic-bezier(0.16, 0.78, 0.2, 1) forwards;
}

.star-transition.is-active .star-transition-veil {
  animation: gold-flood 920ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.star-transition.is-active .star-transition-particle {
  animation:
    star-dust-flight var(--duration, 900ms) cubic-bezier(0.12, 0.72, 0.18, 1) forwards,
    star-dust-fade var(--duration, 900ms) linear forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes star-flash {
  0% {
    opacity: 0;
  }

  14% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes star-burst {
  0% {
    opacity: 0;
    transform: scale(0.12);
    filter: blur(0.5px);
  }

  12% {
    opacity: 1;
  }

  78% {
    opacity: 0.85;
  }

  100% {
    opacity: 0;
    transform: scale(2.35);
    filter: blur(2.2px);
  }
}

@keyframes star-dust-flight {
  0% {
    transform:
      translate3d(var(--origin-x), var(--origin-y), 0)
      scale(0.35);
    filter: blur(0);
  }

  65% {
    transform:
      translate3d(
        calc(var(--origin-x) + (var(--dx) * 0.55)),
        calc(var(--origin-y) + (var(--dy) * 0.55)),
        0
      )
      scale(var(--mid-scale, 1.25));
    filter: blur(0.3px);
  }

  100% {
    transform:
      translate3d(
        calc(var(--origin-x) + var(--dx)),
        calc(var(--origin-y) + var(--dy)),
        0
      )
      scale(var(--end-scale, 3.4));
    filter: blur(var(--end-blur, 4px));
  }
}

@keyframes star-dust-fade {
  0% {
    opacity: 0;
  }

  15% {
    opacity: var(--opacity, 1);
  }

  85% {
    opacity: calc(var(--opacity, 1) * 0.75);
  }

  100% {
    opacity: 0;
  }
}

@keyframes gold-flood {
  0% {
    opacity: 0;
    backdrop-filter: blur(0px);
  }

  45% {
    opacity: 0.42;
    backdrop-filter: blur(1px);
  }

  100% {
    opacity: 0.96;
    backdrop-filter: blur(3px);
  }
}

.footer {
  padding: 0 0 var(--space-6);
  text-align: center;
  color: var(--text-soft);
}

.footer nav {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  justify-content: center;
}

.footer a {
  color: var(--text-main);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 820px) {
  .hero {
    padding-top: 1rem;
  }

  .hero-actions {
    margin-top: 1rem;
    gap: 0.6rem;
  }

  .hero-actions .button {
    min-width: min(100%, 14rem);
    width: 100%;
  }

  .feature-pair-grid {
    grid-template-columns: 1fr;
  }

  .windrush-spotlight {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .windrush-head {
    align-items: flex-start;
  }

  .windrush-spotlight-cta {
    justify-self: start;
    min-width: 0;
    width: fit-content;
  }

  .wheel-star {
    width: clamp(112px, 26vw, 150px);
    min-height: clamp(112px, 26vw, 150px);
  }

  .star-shape {
    font-size: clamp(3.7rem, 12vw, 5rem);
  }

  .star-label {
    font-size: clamp(0.68rem, 2.9vw, 0.88rem);
  }
}

@media (min-width: 821px) {
  .feature-pair-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .feature-pair-grid > .windrush-spotlight,
  .feature-pair-grid > .audio-section {
    aspect-ratio: auto;
    min-height: auto;
    height: auto;
  }

  .feature-pair-grid > .windrush-spotlight {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
    align-content: start;
    gap: var(--space-3);
    padding: clamp(1.1rem, 2.2vw, 1.6rem);
  }

  .feature-pair-grid > .windrush-spotlight .windrush-spotlight-copy {
    max-width: 100%;
  }

  .feature-pair-grid > .windrush-spotlight .windrush-spotlight-copy p:last-child {
    max-width: 34ch;
  }

  .feature-pair-grid > .windrush-spotlight .windrush-spotlight-cta {
    align-self: start;
    justify-self: start;
  }

  .feature-pair-grid > .audio-section {
    grid-template-rows: auto;
    padding: clamp(1.1rem, 2.2vw, 1.6rem);
  }

  .feature-pair-grid > .audio-section .audio-box {
    align-content: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
