@font-face {
  font-family: "Amsterdam One";
  src: url("assets/fonts/AmsterdamOne-eZ12l.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-top: #140b32;
  --bg-mid: #030612;
  --bg-base: #010208;
  --surface: rgba(10, 12, 24, 0.45);
  --surface-strong: rgba(8, 11, 20, 0.55);
  --text: #f4f6ff;
  --muted: #c5cae8;
  --focus: #ac95e3;
  --glow-lavender: 152, 122, 224;
  --glow-indigo: 108, 82, 186;
  --glow-mist: 90, 66, 158;
  --glow-warm: 206, 184, 246;
  --font-display: "Brush Script MT", cursive;
  --font-body: "Segoe UI", serif;
  --champ-text: #fdfbf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.5;
  background-color: var(--bg-base);
}

.space-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  contain: paint;
  backface-visibility: hidden;
  background: radial-gradient(ellipse at 20% 8%, var(--bg-top) 0%, var(--bg-mid) 38%, var(--bg-base) 100%);
}

/* Subtle film-grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
  contain: paint;
  backface-visibility: hidden;
  background-image: repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 3px),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 4px);
  animation: grain-shift 14s steps(8) infinite;
}

@keyframes grain-shift {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-2%, 1.2%);
  }

  50% {
    transform: translate(1.4%, -1.3%);
  }

  75% {
    transform: translate(0.8%, 2%);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* ============================
   Atmospheric layers
   ============================ */

.space-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  contain: paint;
  backface-visibility: hidden;
  background: radial-gradient(circle at 50% 30%, transparent 0%, transparent 35%, rgba(0, 0, 0, 0.62) 100%);
}

.starfield-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  contain: paint;
  backface-visibility: hidden;
}

.shooting-stars-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  contain: paint;
  backface-visibility: hidden;
}

/* Drifting nebula color clouds */
.nebula-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  contain: paint;
  backface-visibility: hidden;
  will-change: transform;
}

.nebula-layer--1 {
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(88, 60, 180, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(40, 80, 160, 0.17) 0%, transparent 45%);
  animation: nebula-drift-1 45s ease-in-out infinite alternate;
}

.nebula-layer--2 {
  z-index: 0;
  background:
    radial-gradient(ellipse at 65% 20%, rgba(120, 60, 140, 0.16) 0%, transparent 42%),
    radial-gradient(ellipse at 25% 75%, rgba(50, 100, 180, 0.13) 0%, transparent 50%);
  animation: nebula-drift-2 55s ease-in-out infinite alternate;
}

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

  50% {
    transform: translate(3%, -2%) scale(1.04);
  }

  100% {
    transform: translate(-2%, 3%) scale(1.02);
  }
}

@keyframes nebula-drift-2 {
  0% {
    transform: translate(0, 0) scale(1.02);
  }

  50% {
    transform: translate(-4%, 2%) scale(1);
  }

  100% {
    transform: translate(2%, -3%) scale(1.05);
  }
}

/* ============================
   Layout
   ============================ */

.section,
.site-footer {
  position: relative;
  z-index: 2;
}

body.coarse-pointer::before,
body.low-end::before {
  animation: none;
  opacity: 0.04;
}

body.coarse-pointer .nebula-layer,
body.low-end .nebula-layer {
  animation: none;
  transform: none !important;
}

body.coarse-pointer .nebula-layer--1,
body.low-end .nebula-layer--1 {
  opacity: 0.18;
}

body.coarse-pointer .nebula-layer--2,
body.low-end .nebula-layer--2 {
  display: none;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 1.2rem;
}

.content-wrap {
  width: min(1100px, 100%);
  margin: 0 auto;
}

/* ============================
   Glass panels — NO borders
   ============================ */

.glass-panel {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  box-shadow: 0 0 60px rgba(var(--glow-indigo), 0.18), 0 24px 60px rgba(2, 5, 14, 0.4);
}

/* ============================
   Glow-pulse for titles
   ============================ */

@keyframes glow-pulse {

  0%,
  100% {
    text-shadow: 0 0 20px rgba(var(--glow-lavender), 0.42), 0 0 60px rgba(var(--glow-indigo), 0.18);
  }

  50% {
    text-shadow: 0 0 30px rgba(var(--glow-warm), 0.55), 0 0 80px rgba(var(--glow-lavender), 0.25);
  }
}

@keyframes subtle-glow-pulse {

  0%,
  100% {
    text-shadow: 0 0 30px rgba(var(--glow-warm), 0.5), 0 0 80px rgba(var(--glow-lavender), 0.22), 0 0 120px rgba(var(--glow-mist), 0.1);
  }

  50% {
    text-shadow: 0 0 50px rgba(var(--glow-warm), 0.62), 0 0 100px rgba(var(--glow-lavender), 0.32), 0 0 150px rgba(var(--glow-mist), 0.16);
  }
}

@keyframes button-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(var(--glow-indigo), 0.36), 0 14px 28px rgba(56, 41, 108, 0.38);
  }

  50% {
    box-shadow: 0 0 35px rgba(var(--glow-lavender), 0.4), 0 14px 36px rgba(72, 53, 132, 0.42);
  }
}

.section-title {
  margin: 2.0rem;
  /* font-family: var(--font-display); */
  color: #f3ece0;
  font-family: 'Amsterdam One', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.04em;
  text-shadow: 0 0 24px rgba(var(--glow-lavender), 0.48), 0 0 60px rgba(var(--glow-indigo), 0.2);
  animation: glow-pulse 6s ease-in-out infinite;
}

.section-intro {
  margin: 0.9rem auto 2.1rem;
  max-width: 700px;
  text-align: center;
  color: var(--muted);
  text-shadow: 0 0 12px rgba(var(--glow-lavender), 0.18);
}

/* ============================
   Hero section
   ============================ */

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.hero-wrap {
  position: relative;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.hero-logo-shell {
  position: absolute;
  top: clamp(0.5rem, 2vw, 1.6rem);
  width: clamp(200px, 32vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow-lavender), 0.34) 0%, rgba(var(--glow-mist), 0.2) 42%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  /* width: clamp(120px, 18vw, 188px); */
  max-width: 100%;
  /* width: 50%; */
  filter: drop-shadow(0 0 30px rgba(var(--glow-warm), 0.35)) drop-shadow(0 0 60px rgba(var(--glow-lavender), 0.2));
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #f0f4ff 0%, #d4c8ff 40%, #a8c4ff 70%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: subtle-glow-pulse 7s ease-in-out infinite;
}

.hero-quote {
  margin: -3.0rem 0 0;
  max-width: 580px;
  font-size: clamp(1rem, 2.2vw, 1.32rem);
  color: rgba(230, 228, 255, 0.9);
  font-style: italic;
  text-shadow: 0 0 16px rgba(var(--glow-lavender), 0.24);
  letter-spacing: 0.02em;
}

.hero-date {
  margin: 2.0rem 4.0rem 0.75rem;
  font-family: "Amsterdam One", "Brush Script MT", cursive;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(246, 250, 255, 0.97);
  text-shadow:
    0 0 18px rgba(var(--glow-warm), 0.56),
    0 0 48px rgba(var(--glow-lavender), 0.38),
    0 0 92px rgba(var(--glow-mist), 0.24);
  animation: subtle-glow-pulse 6.6s ease-in-out infinite;
}

.hero-event-meta {
  margin-top: 2.5rem;
  margin-inline: auto;
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(168, 195, 255, 0.12);
  background: rgba(10, 16, 36, 0.24);
}

.hero-event-meta::before {
  content: none;
}

.hero-event-meta::after {
  content: none;
}

.hero-event-item {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0;
}

.hero-event-item--date {
  justify-content: center;
}

.hero-event-item--location {
  justify-content: center;
}

.hero-event-icon {
  width: 1rem;
  height: 1rem;
  color: rgba(180, 203, 246, 0.82);
  flex: 0 0 auto;
}

.hero-event-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-event-text {
  color: rgba(231, 240, 255, 0.9);
  font-size: clamp(0.8rem, 1.12vw, 0.92rem);
  letter-spacing: 0.02em;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}

/* ============================
   Countdown — horizontal digital clock
   ============================ */

.countdown-section {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.2rem, 3.2vh, 2.4rem) 1.2rem;
}

.countdown-wrap {
  width: min(1320px, 100%);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(1.1rem, 2.8vh, 2rem);
}

.countdown-title {
  line-height: 1.2;
  font-size: clamp(2.2rem, 5vw, 4rem);
  padding-bottom: 0.08em;
}

.countdown-clock {
  font-family: 'Amsterdam One', sans-serif;
  margin-top: 2rem;
  position: relative;
  width: min(100%, 700px);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.countdown-section .countdown-clock {
  margin-top: 0;
  width: min(100%, 1320px);
  padding: clamp(1.8rem, 4.6vw, 3.6rem) clamp(1rem, 4.2vw, 3.6rem);
}

.countdown-clock:hover,
.countdown-clock:focus-visible {
  transform: translateY(-2px);
}

.clock-display {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.countdown-section .clock-display {
  width: 100%;
  align-items: center;
  gap: clamp(0.1rem, 0.45vw, 0.48rem);
}

.clock-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  gap: 0.25rem;
  padding: 0 clamp(0.4rem, 1.5vw, 1rem);
  min-width: clamp(52px, 10vw, 90px);
}

.countdown-section .clock-segment {
  gap: 0.44rem;
  padding: 0 clamp(0.65rem, 2.2vw, 1.9rem);
  min-width: clamp(88px, 13.4vw, 184px);
}

.clock-digits {
  position: relative;
  font-family: 'Amsterdam One', sans-serif;
  display: inline-block;
  min-height: 1.26em;
  overflow: visible;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding-top: 0.1em;
  padding-bottom: 0.2em;
  background: linear-gradient(180deg, #ffffff 0%, #fffef7 48%, #fffef4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 16px rgba(var(--glow-lavender), 0.54)) drop-shadow(0 0 44px rgba(var(--glow-mist), 0.32));
  font-variant-numeric: tabular-nums;
}

.countdown-section .clock-digits {
  font-size: clamp(3.8rem, 10.8vw, 9.2rem);
  min-height: 1.22em;
  padding-top: 0.1em;
  padding-bottom: 0.2em;
}

.clock-label {
  font-family: var(--font-body);
  margin-top: 0;
  font-size: clamp(0.55rem, 1.2vw, 0.72rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 232, 255, 0.78);
  text-shadow: 0 0 8px rgba(var(--glow-lavender), 0.22);
  font-weight: 600;
}

.countdown-section .clock-label {
  font-size: clamp(0.82rem, 1.8vw, 1.24rem);
  letter-spacing: 0.14em;
}

.clock-separator {
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 400;
  color: rgba(198, 220, 255, 0.8);
  line-height: 1;
  padding: 0 0.1rem;
  text-shadow: 0 0 14px rgba(var(--glow-lavender), 0.35);
  animation: separator-pulse 2s ease-in-out infinite;
  align-self: flex-start;
  margin-top: 0.07em;
}

.countdown-section .clock-separator {
  font-size: clamp(2.8rem, 8.6vw, 6.8rem);
  margin-top: 0.06em;
}

@keyframes separator-pulse {

  0%,
  100% {
    opacity: 0.5;
    text-shadow: 0 0 8px rgba(var(--glow-lavender), 0.24);
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 16px rgba(var(--glow-warm), 0.42);
  }
}

.clock-orbit-line {
  width: 80%;
  max-width: 460px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--glow-indigo), 0.28), rgba(var(--glow-lavender), 0.33), transparent);
  position: relative;
  margin-top: 0.3rem;
}

.countdown-section .clock-orbit-line {
  width: min(94%, 940px);
  max-width: none;
  margin-top: 0.95rem;
}

.clock-orbit-line::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--glow-warm), 0.84);
  box-shadow: 0 0 10px rgba(var(--glow-warm), 0.58), 0 0 20px rgba(var(--glow-lavender), 0.32);
  top: 50%;
  transform: translateY(-50%);
  animation: orbit-slide 8s ease-in-out infinite;
}

@keyframes orbit-slide {
  0% {
    left: 0%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 0%;
  }
}

/* ============================
   Story roadmap — Blended Galaxy
   ============================ */

#story .content-wrap {
  position: relative;
  isolation: isolate;
}

#story .content-wrap::before {
  content: "";
  position: absolute;
  inset: 5.5rem -6% 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 24% 18%, rgba(122, 96, 198, 0.055), transparent 52%),
    radial-gradient(circle at 72% 62%, rgba(170, 134, 230, 0.05), transparent 56%),
    radial-gradient(circle at 52% 94%, rgba(96, 74, 174, 0.045), transparent 50%);
  filter: blur(40px);
}

#story .section-title,
#story .section-intro {
  position: relative;
  z-index: 1;
}

#story .section-title {
  line-height: 1.24;
  padding-bottom: 0.08em;
}

#story .section-intro {
  margin-top: 2.0rem;
}

.story-roadmap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.15rem, 2.2vw, 1.85rem);
  padding: clamp(2.4rem, 4vw, 3.4rem) 0;
  max-width: 1120px;
  margin: 0 auto;
  isolation: isolate;
}

.story-roadmap::before {
  content: "";
  position: absolute;
  top: clamp(3rem, 5vw, 4rem);
  bottom: clamp(3rem, 5vw, 4rem);
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  z-index: 0;
  background: linear-gradient(to bottom, transparent, rgba(var(--glow-lavender), 0.34) 12%, rgba(var(--glow-indigo), 0.2) 88%, transparent);
  box-shadow: 0 0 24px rgba(var(--glow-lavender), 0.2);
}

.story-roadmap::after {
  content: "";
  position: absolute;
  inset: auto 8% 4% 8%;
  height: 42%;
  z-index: 0;
  pointer-events: none;
  filter: blur(44px);
}

.story-roadmap::after {
  background: radial-gradient(circle at 70% 46%, rgba(164, 126, 226, 0.07), transparent 65%);
}

@keyframes story-haze {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.62;
    transform: scale(1.04);
  }
}

.story-node {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  padding-inline: clamp(0.4rem, 2vw, 1rem);
}

.story-node:nth-child(odd) {
  justify-content: flex-start;
}

.story-node:nth-child(even) {
  justify-content: flex-end;
}

.story-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background: rgba(var(--node-color), 0.9);
  box-shadow: 0 0 0 6px rgba(var(--node-color), 0.14),
    0 0 18px rgba(var(--node-color), 0.45);
}

.story-node--heart::before {
  width: 12px;
  height: 12px;
}

.story-node--star::before {
  width: 10px;
  height: 10px;
}

.story-node--orbit::before {
  width: 11px;
  height: 11px;
}

.story-content {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 520px);
  min-height: clamp(168px, 20vw, 200px);
  padding: clamp(1.3rem, 2.6vw, 1.8rem) clamp(1.2rem, 2.7vw, 1.9rem);
  gap: 0.55rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(16, 24, 51, 0.78) 0%, rgba(12, 18, 42, 0.62) 50%, rgba(8, 14, 31, 0.84) 100%);
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  border: 1px solid rgba(var(--node-color), 0.18);
  box-shadow: 0 18px 30px rgba(3, 6, 18, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 0 1px rgba(var(--node-color), 0.07);
  overflow: hidden;
  text-align: center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease, border-color 360ms ease;
}

.story-content::before,
.story-content::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.story-content::before {
  inset: 0;
  z-index: 0;
  background: linear-gradient(95deg, rgba(var(--node-color), 0.2), rgba(var(--node-color), 0.02) 42%, rgba(var(--node-color), 0) 75%);
  opacity: 0.15;
}

.story-content::after {
  inset: 0 0 auto;
  height: 2px;
  z-index: 0;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, rgba(var(--node-color), 0), rgba(var(--node-color), 0.9), rgba(var(--node-color), 0));
  opacity: 0.74;
}

.story-content:hover,
.story-content:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(var(--node-color), 0.33);
  box-shadow: 0 24px 38px rgba(3, 6, 18, 0.58),
    0 0 22px rgba(var(--node-color), 0.2);
}

.story-content-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

body.coarse-pointer #story .content-wrap::before,
body.low-end #story .content-wrap::before,
body.coarse-pointer .story-roadmap::after,
body.low-end .story-roadmap::after {
  display: none;
}

body.coarse-pointer .story-content,
body.low-end .story-content {
  background: linear-gradient(145deg, rgba(14, 20, 44, 0.96) 0%, rgba(8, 13, 30, 0.92) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 14px 24px rgba(3, 6, 18, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 0 1px rgba(var(--node-color), 0.06);
}

body.coarse-pointer .story-content-canvas,
body.low-end .story-content-canvas {
  display: none;
}

/* Nebula style node — violet */
.story-node--nebula {
  --node-color: 170, 136, 232;
}

/* Blackhole style node — deep violet */
.story-node--blackhole {
  --node-color: 138, 108, 214;
}

.story-header,
.story-chip,
.story-date,
.story-title,
.story-text {
  position: relative;
  z-index: 2;
}

.story-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
}

.story-chip {
  margin: 0;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--node-color), 0.32);
  background: rgba(var(--node-color), 0.09);
  color: rgba(236, 243, 255, 0.94);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-date {
  margin: 0;
  color: rgba(202, 216, 246, 0.86);
  font-size: clamp(0.82rem, 1.3vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.story-title {
  margin: 0;
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  font-weight: 600;
  line-height: 1.28;
  padding-bottom: 0.08em;
  letter-spacing: 0.03em;
  /* color: rgba(241, 245, 255, 0.96); */
  color: var(--champ-text);
  text-shadow: 0 0 18px rgba(var(--node-color), 0.24);
}

.story-text {
  margin: 0;
  color: rgba(219, 228, 255, 0.84);
  font-size: clamp(0.94rem, 1.45vw, 1.02rem);
  line-height: 1.65;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .story-roadmap {
    gap: 1rem;
    padding: 1.75rem 0 2.2rem;
  }

  .story-roadmap::before {
    display: none;
  }

  .story-node::before {
    display: none;
  }

  .story-node {
    justify-content: center;
    padding-inline: 0.1rem;
    animation-duration: 12s;
  }

  .story-content {
    width: 100%;
    min-height: 0;
    padding: 1.2rem 1rem 1.25rem;
  }

  .story-content:hover,
  .story-content:focus-visible {
    transform: translateY(-2px);
  }

  .story-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .story-title {
    font-size: clamp(1.12rem, 4.8vw, 1.28rem);
  }

  .story-date {
    font-size: 0.78rem;
  }

  .story-text {
    font-size: clamp(0.92rem, 3.8vw, 0.98rem);
  }
}

/* ============================
   Wear panels — borderless
   ============================ */

.wear-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wear-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  min-height: 560px;
  border: none;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.wear-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background: radial-gradient(circle at 50% 18%, rgba(var(--accent), 0.2), transparent 60%);
  transition: opacity 300ms ease;
}

.wear-panel:hover,
.wear-panel:focus-visible,
.wear-panel.wear-panel--active {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 0 50px rgba(var(--accent), 0.15), 0 28px 60px rgba(12, 20, 44, 0.35);
}

.wear-panel:hover::before,
.wear-panel:focus-visible::before,
.wear-panel.wear-panel--active::before {
  opacity: 0.85;
}

.wear-panel--ladies {
  --accent: 188, 142, 236;
}

.wear-panel--gents {
  --accent: 150, 114, 214;
}

.panel-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wear-content {
  position: relative;
  z-index: 1;
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(6, 9, 22, 0.3), rgba(6, 9, 22, 0.6));
  min-height: 100%;
}

.wear-content h3 {
  color: var(--champ-text) margin: 0 0 0.95rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  text-shadow: 0 0 16px rgba(var(--accent), 0.35);
}

.wear-content img {
  width: 100%;
  border-radius: 14px;
  border: none;
  display: block;
  margin-bottom: 0.85rem;
  height: clamp(160px, 20vw, 190px);
  object-fit: cover;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: 0 0 20px rgba(var(--accent), 0.08);
}

.wear-content p {
  margin: 0.5rem 0 0;
  color: #d2d8f3;
}

/* ============================
   RSVP form — borderless + glowing
   ============================ */

.rsvp-form {
  max-width: 540px;
  margin: 0 auto;
  background: rgba(8, 12, 30, 0.22);
  border-radius: 22px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 0 30px rgba(var(--glow-indigo), 0.12);
}

.rsvp-form label,
.rsvp-form legend {
  font-weight: 600;
  color: #ecf0ff;
  text-shadow: 0 0 8px rgba(var(--glow-lavender), 0.22);
}

.rsvp-form input[type="text"],
.rsvp-form textarea {
  width: 100%;
  color: #f7f9ff;
  font-size: 16px;
  border-radius: 12px;
  border: none;
  background: rgba(8, 12, 30, 0.45);
  font: inherit;
  padding: 0.8rem 0.9rem;
  outline: none;
  box-shadow: 0 0 15px rgba(var(--glow-indigo), 0.14);
  transition: box-shadow 250ms ease, background 250ms ease;
}

.rsvp-form textarea {
  min-height: 120px;
  resize: vertical;
}

.rsvp-form input[type="text"]:focus-visible,
.rsvp-form textarea:focus-visible {
  box-shadow: 0 0 0 2px rgba(var(--glow-lavender), 0.42), 0 0 30px rgba(var(--glow-indigo), 0.26);
  background: rgba(10, 16, 40, 0.55);
}

.lookup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.rsvp-fields {
  display: grid;
  gap: 1rem;
}

.rsvp-form fieldset {
  margin: 0;
  border: none;
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  display: grid;
  gap: 0.6rem;
  background: rgba(8, 12, 30, 0.2);
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  color: #e8edff;
}

.choice input {
  accent-color: #9cc3ff;
}

#guest-lookup,
#rsvp-submit {
  border: none;
  border-radius: 14px;
  padding: 0.85rem 1.2rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  color: #f6f9ff;
  background: linear-gradient(135deg, rgba(var(--glow-indigo), 0.88), rgba(var(--glow-lavender), 0.88));
  cursor: pointer;
  touch-action: manipulation;
  animation: button-glow 4s ease-in-out infinite;
  transition: transform 200ms ease, filter 200ms ease;
  letter-spacing: 0.03em;
}

#guest-lookup:hover,
#guest-lookup:focus-visible,
#rsvp-submit:hover,
#rsvp-submit:focus-visible {
  transform: translateY(-3px) scale(1.02);
  filter: saturate(1.1) brightness(1.1);
  animation: none;
  box-shadow: 0 0 40px rgba(var(--glow-lavender), 0.5), 0 18px 40px rgba(var(--glow-indigo), 0.44);
}

#guest-lookup {
  min-width: 148px;
}

#guest-lookup.button-secondary {
  background: linear-gradient(135deg, rgba(52, 80, 160, 0.88), rgba(var(--glow-indigo), 0.88));
}

#rsvp-submit:active {
  transform: translateY(1px) scale(0.99);
}

.rsvp-form button:disabled {
  cursor: wait;
  transform: none;
  filter: saturate(0.8) brightness(0.9);
  box-shadow: none;
  animation: none;
}

.match-status,
.feedback {
  min-height: 1.5rem;
  margin: 0;
  color: #d9ebff;
}

.match-status[data-state="error"],
.feedback[data-state="error"] {
  color: #ffb6c5;
}

.match-status[data-state="success"],
.feedback[data-state="success"] {
  color: #bbffda;
  text-shadow: 0 0 12px rgba(var(--glow-lavender), 0.35);
}

.match-status[data-state="info"],
.feedback[data-state="info"] {
  color: #cfe0ff;
}

.note-meta {
  margin: -0.45rem 0 0;
  text-align: right;
  color: rgba(220, 232, 255, 0.78);
  font-size: 0.82rem;
}

/* ============================
   Trivia game
   ============================ */

.trivia-section {
  padding-top: clamp(4.5rem, 8vw, 7rem);
}

.trivia-intro {
  max-width: 760px;
}

.trivia-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.trivia-root {
  min-height: 240px;
}

.trivia-card,
.trivia-loading-card,
.trivia-finish-card,
.trivia-question-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(13, 18, 39, 0.88), rgba(7, 10, 24, 0.86));
  box-shadow: 0 24px 48px rgba(3, 6, 16, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.trivia-card,
.trivia-loading-card,
.trivia-finish-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.trivia-card::before,
.trivia-loading-card::before,
.trivia-finish-card::before,
.trivia-question-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 208, 154, 0.12), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(166, 128, 236, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%);
}

.trivia-kicker,
.trivia-card-title,
.trivia-card-copy,
.trivia-progress-count,
.trivia-question-prompt,
.trivia-action-copy,
.trivia-review-item,
.trivia-review-answer {
  position: relative;
  z-index: 1;
}

.trivia-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 255, 0.7);
}

.trivia-card-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  color: #fff8f1;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(var(--glow-lavender), 0.18);
}

.trivia-card-copy {
  margin: 0.9rem 0 0;
  color: rgba(226, 232, 255, 0.84);
  line-height: 1.7;
}

.trivia-card-copy--muted {
  color: rgba(214, 223, 249, 0.72);
}

.trivia-primary-button,
.trivia-secondary-button {
  position: relative;
  z-index: 1;
  border: none;
  border-radius: 16px;
  padding: 0.9rem 1.25rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fffaf1;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.trivia-primary-button {
  margin-top: 1.25rem;
  background: linear-gradient(135deg, rgba(232, 147, 99, 0.92), rgba(138, 83, 206, 0.92));
  box-shadow: 0 18px 32px rgba(15, 11, 28, 0.38), 0 0 20px rgba(var(--glow-lavender), 0.22);
}

.trivia-secondary-button {
  background: rgba(21, 29, 56, 0.85);
  color: rgba(244, 247, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.trivia-primary-button:hover,
.trivia-primary-button:focus-visible,
.trivia-secondary-button:hover,
.trivia-secondary-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.trivia-primary-button:disabled,
.trivia-secondary-button:disabled {
  cursor: not-allowed;
  transform: none;
  filter: saturate(0.72) brightness(0.78);
  box-shadow: none;
  opacity: 0.58;
}

.trivia-loading-card {
  min-height: 220px;
}

.trivia-loading-glow {
  position: absolute;
  inset: auto auto -20% -10%;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 164, 0.38), rgba(255, 215, 164, 0));
  filter: blur(8px);
}

.trivia-progress-bar {
  width: min(720px, 100%);
  height: 9px;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.trivia-progress-step {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(248, 199, 138, 0.92), rgba(159, 110, 229, 0.92));
  box-shadow: 0 0 18px rgba(var(--glow-lavender), 0.28);
}

.trivia-progress-count {
  margin: 0 0 1rem;
  text-align: center;
  color: rgba(225, 233, 255, 0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.trivia-progress-count--transition {
  animation: trivia-progress-shift 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.trivia-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.trivia-choice-card {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.35rem 1.35rem 2.15rem;
  border: none;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  background-color: rgba(8, 10, 18, 0.55);
  background-image: var(--trivia-choice-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 24px 42px rgba(3, 5, 14, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
}

.trivia-choice-card--adham {
  grid-column: 1;
}

.trivia-choice-card--yara {
  grid-column: 3;
}

.trivia-choice-card:hover,
.trivia-choice-card:focus-visible,
.trivia-choice-card--selected {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 54px rgba(2, 4, 12, 0.52), 0 0 22px rgba(var(--glow-lavender), 0.22);
}

.trivia-choice-card--selected {
  box-shadow: 0 30px 58px rgba(2, 4, 12, 0.56), 0 0 26px rgba(255, 210, 140, 0.3);
}

.trivia-choice-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.1), transparent 35%),
    linear-gradient(180deg, rgba(5, 7, 14, 0.1), rgba(5, 7, 14, 0.54) 60%, rgba(5, 7, 14, 0.86));
  transition: opacity 220ms ease;
}

.trivia-choice-card:hover .trivia-choice-overlay,
.trivia-choice-card:focus-visible .trivia-choice-overlay,
.trivia-choice-card--selected .trivia-choice-overlay {
  opacity: 0;
}

.trivia-choice-sparkle {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 193, 0.5) 0%, rgba(255, 236, 193, 0) 72%);
  filter: blur(3px);
}

.trivia-choice-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: "Amsterdam One", "Brush Script MT", cursive;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.16;
  padding-top: 0.04em;
  padding-bottom: 0.24em;
  color: #fff8ef;
  text-shadow: 0 0 18px rgba(5, 6, 12, 0.45), 0 0 32px rgba(var(--glow-lavender), 0.2);
}

.trivia-choice-status {
  position: relative;
  z-index: 1;
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.trivia-choice-status-core {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 249, 239, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.trivia-choice-card--selected .trivia-choice-status {
  background: rgba(255, 226, 184, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 239, 212, 0.26), 0 0 16px rgba(255, 216, 156, 0.18);
}

.trivia-choice-card--selected .trivia-choice-status-core {
  background: #fff3d8;
  border-color: #fff3d8;
  box-shadow: 0 0 0 4px rgba(255, 219, 164, 0.16), 0 0 16px rgba(255, 219, 164, 0.25);
  transform: scale(1.08);
}

.trivia-choice-card--saving .trivia-choice-status-core {
  animation: trivia-saving-pulse 0.9s ease-in-out infinite;
}

@keyframes trivia-saving-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(255, 219, 164, 0.12), 0 0 12px rgba(255, 219, 164, 0.2);
  }

  50% {
    transform: scale(1.16);
    box-shadow: 0 0 0 7px rgba(255, 219, 164, 0.18), 0 0 18px rgba(255, 219, 164, 0.3);
  }
}

.trivia-question-card {
  min-height: 450px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.trivia-question-card--transition {
  animation-duration: 680ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

.trivia-question-card--transition-forward {
  animation-name: trivia-question-reveal-forward;
}

.trivia-question-card--transition-backward {
  animation-name: trivia-question-reveal-backward;
}

.trivia-question-flash {
  position: absolute;
  inset: -12% auto auto -18%;
  width: 56%;
  height: 160%;
  pointer-events: none;
  opacity: 0;
  transform: rotate(14deg);
  background: linear-gradient(90deg, rgba(255, 243, 217, 0), rgba(255, 243, 217, 0.2), rgba(255, 243, 217, 0));
}

.trivia-question-card--transition-forward .trivia-question-flash {
  animation: trivia-question-flash 520ms ease-out;
}

.trivia-question-card--transition-backward .trivia-question-flash {
  animation: trivia-question-flash-backward 520ms ease-out;
}

.trivia-stage--transition-forward .trivia-choice-card--adham,
.trivia-stage--transition-forward .trivia-choice-card--yara,
.trivia-stage--transition-backward .trivia-choice-card--adham,
.trivia-stage--transition-backward .trivia-choice-card--yara {
  animation-duration: 560ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

.trivia-stage--transition-forward .trivia-choice-card--adham {
  animation-name: trivia-choice-reveal-forward-left;
  animation-delay: 50ms;
}

.trivia-stage--transition-forward .trivia-choice-card--yara {
  animation-name: trivia-choice-reveal-forward-right;
  animation-delay: 100ms;
}

.trivia-stage--transition-backward .trivia-choice-card--adham {
  animation-name: trivia-choice-reveal-backward-left;
  animation-delay: 50ms;
}

.trivia-stage--transition-backward .trivia-choice-card--yara {
  animation-name: trivia-choice-reveal-backward-right;
  animation-delay: 100ms;
}

@keyframes trivia-question-reveal-forward {
  0% {
    opacity: 0;
    transform: translateX(56px) scale(0.96) rotate(-1deg);
    filter: blur(10px);
    box-shadow: 0 12px 20px rgba(3, 6, 16, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  55% {
    opacity: 1;
    transform: translateX(-10px) scale(1.02) rotate(0deg);
    filter: blur(0);
    box-shadow: 0 34px 66px rgba(3, 6, 16, 0.54), 0 0 28px rgba(255, 223, 174, 0.24), inset 0 0 0 1px rgba(255, 244, 223, 0.08);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    box-shadow: 0 24px 48px rgba(3, 6, 16, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

@keyframes trivia-question-reveal-backward {
  0% {
    opacity: 0;
    transform: translateX(-56px) scale(0.96) rotate(1deg);
    filter: blur(10px);
    box-shadow: 0 12px 20px rgba(3, 6, 16, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  55% {
    opacity: 1;
    transform: translateX(10px) scale(1.02) rotate(0deg);
    filter: blur(0);
    box-shadow: 0 34px 66px rgba(3, 6, 16, 0.54), 0 0 28px rgba(190, 171, 255, 0.22), inset 0 0 0 1px rgba(239, 235, 255, 0.08);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    box-shadow: 0 24px 48px rgba(3, 6, 16, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

@keyframes trivia-question-flash {
  0% {
    opacity: 0;
    transform: translateX(-18%) rotate(14deg);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(150%) rotate(14deg);
  }
}

@keyframes trivia-question-flash-backward {
  0% {
    opacity: 0;
    transform: translateX(140%) rotate(-14deg);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(-18%) rotate(-14deg);
  }
}

@keyframes trivia-choice-reveal-forward-left {
  0% {
    opacity: 0;
    transform: translateX(-32px) scale(0.96);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes trivia-choice-reveal-forward-right {
  0% {
    opacity: 0;
    transform: translateX(32px) scale(0.96);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes trivia-choice-reveal-backward-left {
  0% {
    opacity: 0;
    transform: translateX(-24px) scale(0.96);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes trivia-choice-reveal-backward-right {
  0% {
    opacity: 0;
    transform: translateX(24px) scale(0.96);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes trivia-progress-shift {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    letter-spacing: 0.2em;
  }

  55% {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
    letter-spacing: 0.16em;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 0.08em;
  }
}
.trivia-question-prompt {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.42;
  color: #fffaf2;
}

.trivia-inline-message {
  margin: 0.75rem 0 0;
  min-height: 1.4rem;
  color: rgba(220, 230, 255, 0.86);
}

.trivia-inline-message[data-state="error"] {
  color: #ffbecc;
}

.trivia-inline-message[data-state="info"] {
  color: rgba(220, 230, 255, 0.86);
}

.trivia-inline-message--success {
  color: #cbffd8;
}

.trivia-question-actions,
.trivia-finish-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.trivia-question-actions {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
}

.trivia-next-button {
  margin-top: 0;
}

.trivia-action-copy {
  margin: 0;
  text-align: right;
  color: rgba(219, 227, 249, 0.72);
  font-size: 0.92rem;
}

.trivia-review-list {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.trivia-review-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(14, 18, 35, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.trivia-review-index,
.trivia-review-prompt,
.trivia-review-answer {
  margin: 0;
}

.trivia-review-index {
  color: rgba(249, 206, 154, 0.88);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trivia-review-prompt {
  color: rgba(238, 242, 255, 0.9);
  line-height: 1.55;
}

.trivia-review-answer {
  justify-self: end;
  color: #fff8ef;
  font-weight: 700;
}

/* ============================
   Footer
   ============================ */

.site-footer {
  padding: 3rem 1.2rem 3.5rem;
  text-align: center;
  color: #bac2e7;
}

.site-footer img {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(var(--glow-lavender), 0.4));
}

.site-footer p {
  margin: 0.5rem 0 0;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(var(--glow-indigo), 0.32);
}

/* ============================
   Accessibility
   ============================ */

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

:focus-visible {
  outline: 2px solid rgba(var(--glow-lavender), 0.55);
  outline-offset: 3px;
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 920px) {
  .wear-grid {
    grid-template-columns: 1fr;
  }

  .wear-panel {
    min-height: 520px;
  }

  .trivia-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "question question"
      "adham yara";
  }

  .trivia-question-card {
    grid-area: question;
    grid-column: 1 / -1;
    min-height: 0;
  }

  .trivia-choice-card--adham {
    grid-area: adham;
  }

  .trivia-choice-card--yara {
    grid-area: yara;
  }

  .trivia-choice-card {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .countdown-section {
    padding-top: 1.25rem;
    padding-bottom: 1.45rem;
  }

  .countdown-wrap {
    gap: 0.8rem;
  }

  .countdown-section .clock-display {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .countdown-section .clock-segment {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 0.65rem;
    border-radius: 18px;
    background: rgba(8, 12, 30, 0.32);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }

  .countdown-section .clock-digits {
    font-size: clamp(3rem, 12.8vw, 5.4rem);
  }

  .countdown-section .clock-separator {
    display: none;
  }

  .countdown-section .clock-orbit-line {
    width: min(95%, 560px);
    margin-top: 0.45rem;
  }

  .clock-segment {
    min-width: 60px;
    padding: 0 0.5rem;
  }

  .lookup-row {
    grid-template-columns: 1fr;
  }

  #guest-lookup {
    width: 100%;
  }

  .trivia-card,
  .trivia-loading-card,
  .trivia-finish-card,
  .trivia-question-card {
    border-radius: 24px;
  }

  .trivia-card,
  .trivia-loading-card,
  .trivia-finish-card {
    padding: 1.2rem;
  }

  .trivia-progress-count {
    margin-bottom: 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .trivia-stage {
    gap: 0.75rem;
  }

  .trivia-choice-card {
    min-height: 230px;
    border-radius: 26px;
    padding: 0.95rem 0.95rem 1.45rem;
  }

  .trivia-choice-label {
    font-size: clamp(1.7rem, 6.8vw, 2.35rem);
  }

  .trivia-choice-status {
    top: 0.85rem;
    left: 0.85rem;
    width: 2rem;
    height: 2rem;
  }

  .trivia-question-card {
    padding: 1.15rem;
    gap: 0.85rem;
  }

  .trivia-question-prompt {
    font-size: clamp(1.15rem, 4.9vw, 1.48rem);
    line-height: 1.36;
  }

  .trivia-card-copy,
  .trivia-action-copy,
  .trivia-inline-message,
  .trivia-review-prompt,
  .trivia-review-answer {
    font-size: 0.95rem;
  }

  .trivia-question-actions,
  .trivia-finish-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .trivia-action-copy {
    text-align: left;
  }

  .trivia-primary-button,
  .trivia-secondary-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .section {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .hero-wrap {
    gap: 0.62rem;
  }

  .hero-quote {
    margin-top: 0;
  }

  .hero-date {
    margin: 0.5rem 0 0.55rem;
    font-size: clamp(2.5rem, 12.5vw, 4.2rem);
    letter-spacing: 0.05em;
  }

  .hero-event-meta {
    width: min(100%, 350px);
    gap: 0.7rem;
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
  }

  .hero-event-icon {
    width: 0.92rem;
    height: 0.92rem;
  }

  .hero-event-text {
    white-space: normal;
    line-height: 1.4;
    font-size: 0.78rem;
  }

  .countdown-section {
    min-height: 100svh;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }

  .countdown-title {
    font-size: clamp(2rem, 9.8vw, 2.9rem);
  }

  .countdown-section .countdown-clock {
    width: min(100%, 520px);
    padding-inline: 0.5rem;
  }

  .countdown-section .clock-digits {
    font-size: clamp(2.7rem, 14.8vw, 4.1rem);
  }

  .countdown-section .clock-label {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .countdown-section .clock-separator {
    font-size: clamp(2rem, 10vw, 2.8rem);
    padding: 0;
  }

  .countdown-section .clock-orbit-line {
    margin-top: 0.35rem;
  }

  .clock-digits {
    font-size: 2.2rem;
  }

  .clock-separator {
    font-size: 1.8rem;
  }

  .wear-panel {
    min-height: 500px;
  }

  .wear-content img {
    height: 150px;
  }

  .trivia-shell {
    gap: 0.75rem;
  }

  .trivia-stage {
    gap: 0.65rem;
  }

  .trivia-choice-card {
    min-height: 176px;
    aspect-ratio: 0.82;
    padding: 0.8rem 0.8rem 1.3rem;
    border-radius: 22px;
  }

  .trivia-question-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .trivia-card,
  .trivia-loading-card,
  .trivia-finish-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .trivia-kicker {
    margin-bottom: 0.55rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

  .trivia-card-title {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .trivia-card-copy {
    margin-top: 0.7rem;
    line-height: 1.58;
  }

  .trivia-progress-bar {
    margin-bottom: 0.7rem;
    height: 8px;
  }

  .trivia-progress-count {
    margin-bottom: 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .trivia-choice-label {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .trivia-choice-status {
    top: 0.72rem;
    left: 0.72rem;
    width: 1.8rem;
    height: 1.8rem;
  }

  .trivia-choice-status-core {
    width: 0.72rem;
    height: 0.72rem;
  }

  .trivia-choice-sparkle {
    top: 0.8rem;
    right: 0.8rem;
    width: 56px;
    height: 56px;
  }

  .trivia-question-prompt {
    font-size: clamp(1.08rem, 5.6vw, 1.34rem);
    line-height: 1.34;
  }

  .trivia-question-actions,
  .trivia-finish-actions {
    gap: 0.65rem;
  }

  .trivia-primary-button,
  .trivia-secondary-button {
    padding: 0.82rem 1rem;
    font-size: 0.96rem;
  }

  .trivia-inline-message {
    margin-top: 0.55rem;
    min-height: 1.2rem;
  }

  .trivia-review-list {
    gap: 0.7rem;
  }

  .trivia-review-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.85rem 0.9rem;
  }

  .trivia-review-answer {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  body::before {
    opacity: 0.06;
  }
}

@media (hover: none) {
  .countdown-clock:hover,
  .story-content:hover,
  .trivia-choice-card:hover,
  .trivia-primary-button:hover,
  .trivia-secondary-button:hover,
  #guest-lookup:hover,
  #rsvp-submit:hover {
    transform: none;
    filter: none;
    box-shadow: none;
  }
}
