/* Election Moves — navy, red & white */

:root {
  --navy-950: #060f24;
  --navy-900: #0a1733;
  --navy-800: #0f2148;
  --navy-700: #17306a;
  --navy-200: #c2cde3;
  --navy-100: #e3e9f5;
  --red-700: #a50d26;
  --red-600: #c8102e;
  --red-400: #f0384e;
  --red-50: #fdecef;
  --ink: #0b1630;
  --ink-soft: #2b3756;
  --muted: #5a6681;
  --line: #dde3ee;
  --paper: #f7f5f0;
  --chart-muted: #a3adbf;
  --focus: #ffc94d;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Oswald", "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow-card: 0 28px 60px -30px rgba(6, 15, 36, 0.55);
  /* One vertical rhythm for every section */
  --space-section: 3.5rem;
  /* Faint star field used on the navy bands */
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath fill='%23ffffff' fill-opacity='0.07' d='M14 6l1.96 4.17 4.57.52-3.4 3.12.93 4.52L14 16.18l-4.06 2.15.93-4.52-3.4-3.12 4.57-.52z'/%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M42 34l1.47 3.13 3.43.39-2.55 2.34.7 3.39L42 41.64l-3.05 1.61.7-3.39-2.55-2.34 3.43-.39z'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  :root {
    --space-section: 5rem;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

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

a {
  color: inherit;
}

/* Keep the hidden attribute winning over component display rules (e.g. .btn) */
[hidden] {
  display: none !important;
}

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

.container {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

/* Decorative overhangs (ballot sticker, tilted cards) never cause sideways scrolling.
   clip, unlike hidden, keeps position: sticky working inside. */
main {
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn svg {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
}

.btn--red {
  background: var(--red-600);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(200, 16, 46, 0.8);
}

.btn--red:hover {
  background: var(--red-700);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.btn--small {
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-size: 0.875rem;
  white-space: nowrap;
}

.btn--small svg {
  width: 0.95rem;
  height: 0.95rem;
}

.btn--large {
  padding: 1rem 1.6rem;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.85;
  transform: none;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 15, 36, 0.97);
  color: #fff;
  backdrop-filter: blur(10px);
}

.topbar::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(to bottom, #fff 0 2px, var(--red-600) 2px 100%);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
}

.wordmark__star {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 0.25rem;
  border-radius: 6px;
  background: var(--red-600);
}

.wordmark__star svg {
  width: 1rem;
  height: 1rem;
}

.wordmark__accent {
  color: var(--red-400);
}

@media (max-width: 360px) {
  .wordmark {
    font-size: 1.05rem;
  }

  .topbar .btn--small {
    padding: 0.5rem 0.7rem;
  }
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar__when {
  display: none;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .topbar__when {
    display: inline;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 60% at 90% 0%, rgba(200, 16, 46, 0.28), transparent 60%),
    radial-gradient(ellipse 80% 70% at 0% 100%, rgba(35, 68, 143, 0.55), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--stars);
  -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(115deg, #000 0%, transparent 55%);
  pointer-events: none;
}

.hero__trend {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 70%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 960px) {
  .hero {
    padding: 4rem 0 4.5rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 25rem;
    gap: 3.5rem;
    align-items: start;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow__dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--red-400);
  animation: pulse 2s ease-out infinite;
}

.eyebrow--ended .eyebrow__dot {
  background: var(--navy-200);
  animation: none;
}

.hero__headline {
  margin-top: 1.1rem;
  font-size: clamp(2.25rem, 6.4vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__headline span {
  display: block;
}

.hero__headline-accent {
  color: var(--red-400);
}

.hero__subhead {
  max-width: 38rem;
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

/* Election Day → live event */
.timeline {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

.timeline__step {
  position: relative;
  padding: 0.85rem 1rem 0.9rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline__step--event {
  border-color: rgba(240, 56, 78, 0.55);
  background: rgba(200, 16, 46, 0.12);
}

.timeline__dot {
  position: absolute;
  top: 1.1rem;
  left: 1rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.timeline__step--done .timeline__dot {
  border-color: #fff;
  background: #fff;
}

.timeline__step--today .timeline__dot,
.timeline__step--live .timeline__dot {
  border-color: var(--red-400);
  background: var(--red-400);
  animation: pulse 2s ease-out infinite;
}

.timeline__when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.timeline__state {
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  background: var(--red-600);
  font-size: 0.6875rem;
  font-style: normal;
  color: #fff;
}

.timeline__step--done .timeline__state {
  background: rgba(255, 255, 255, 0.18);
}

.timeline__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  font-weight: 800;
}

.timeline__text {
  display: block;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* Countdown */
.countdown {
  margin-top: 1.75rem;
}

.countdown__label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 30rem;
  margin-top: 0.6rem;
}

.countdown__cell {
  padding: 0.7rem 0.25rem 0.6rem;
  border-top: 3px solid var(--red-600);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  text-align: center;
  color: var(--navy-900);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
}

.countdown__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.6rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown__unit {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown__local {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.countdown__local:empty {
  display: none;
}

.countdown__status {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  max-width: 30rem;
  padding: 1.1rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.countdown__status--live {
  border-color: rgba(240, 56, 78, 0.6);
  background: rgba(200, 16, 46, 0.16);
}

.countdown__status-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.countdown__status--ended .eyebrow__dot {
  background: var(--navy-200);
  animation: none;
}

.countdown__status-text {
  color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero__actions:empty {
  display: none;
}

.hero__actions-label {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Registration card */
.register__card {
  padding: 1.5rem 1.5rem 1.25rem;
  border-top: 6px solid var(--red-600);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

@media (min-width: 480px) {
  .register__card {
    padding: 1.75rem 1.75rem 1.5rem;
  }
}

.register__badge:empty {
  display: none;
}

.register__badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-600);
}

.register__title {
  margin-top: 0.3rem;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.register__text {
  margin-top: 0.45rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

.register__form {
  min-height: 16rem;
  margin-top: 1.1rem;
}

.register__form:empty {
  min-height: 0;
}

/* WebinarJam pads its form 24px inside the iframe. Pull the embed into the card's
   padding so its fields line up with the heading; !important beats the inline width it sets. */
.register .wj-embed-wrapper {
  width: calc(100% + 3rem) !important;
  margin: -0.5rem -1.5rem -0.75rem;
}

/* Stand-in until a WebinarJam hash is configured */
.wj-preview {
  display: grid;
  gap: 0.75rem;
}

.wj-preview__note {
  padding: 0.6rem 0.75rem;
  border: 1px dashed #e7a3b0;
  border-radius: 10px;
  background: var(--red-50);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--red-700);
}

.wj-preview__field span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.wj-preview__field em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.wj-preview__field input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  font: inherit;
  color: var(--ink);
}

/* Sections */
.section {
  padding: var(--space-section) 0;
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--stars), var(--navy-800);
  color: #fff;
}

.section-head {
  max-width: 46rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
}

.section-label svg {
  width: 0.85rem;
  height: 0.85rem;
}

.section--navy .section-label {
  color: var(--red-400);
}

.section-title {
  margin-top: 0.6rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-intro {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--muted);
}

.section--navy .section-intro {
  color: rgba(255, 255, 255, 0.8);
}

.prose {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: 1rem;
}

.split {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 3.5rem;
  }
}

.quote {
  margin-top: 2rem;
  padding: 1.25rem 1.25rem 1.25rem 1.4rem;
  border-left: 4px solid var(--red-600);
  border-radius: 0 12px 12px 0;
  background: #fff;
}

.quote p {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.quote cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 700;
  color: var(--muted);
}

.figure__frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px -26px rgba(11, 22, 48, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.figure__frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -26px rgba(11, 22, 48, 0.55);
}

.figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.fine-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Stats + presidential-cycle chart */
.stats-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

@media (min-width: 960px) {
  .stats-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: start;
  }
}

.stats {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) and (max-width: 959px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stat {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.stat__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.stat__value {
  margin-top: 0.1rem;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.stat__detail {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.cycle-card {
  padding: 1.25rem 1rem 1rem;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

@media (min-width: 480px) {
  .cycle-card {
    padding: 1.5rem 1.5rem 1.25rem;
  }
}

.cycle__title {
  font-size: 0.9375rem;
  font-weight: 700;
}

.cycle__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.cycle__col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  cursor: default;
}

.cycle__plot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  width: 100%;
  height: 13.5rem;
}

.cycle__bar {
  width: 24px;
  border-radius: 4px 4px 0 0;
  background: var(--chart-muted);
  transition: filter 0.15s ease;
}

.cycle__col--current .cycle__bar {
  background: var(--red-600);
}

.cycle__col--next .cycle__bar {
  background: var(--navy-700);
}

.cycle__col:hover .cycle__bar,
.cycle__col:focus-visible .cycle__bar {
  filter: brightness(1.15);
}

.cycle__value {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.cycle__marker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--red-50);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cycle__marker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--red-600);
}

.cycle__col--next .cycle__marker {
  background: var(--navy-100);
}

.cycle__col--next .cycle__marker::before {
  background: var(--navy-700);
}

.cycle__axis {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  line-height: 1.35;
}

.cycle__year {
  font-size: 0.75rem;
  font-weight: 700;
}

.cycle__name {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Hover/focus tooltip; every value is also labeled and in the table */
.cycle__col::after {
  content: attr(data-tip);
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: max-content;
  max-width: 11rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%);
  transition: opacity 0.15s ease;
}

.cycle__col:first-child::after {
  left: 0;
  transform: translate(0, -100%);
}

.cycle__col:last-child::after {
  right: 0;
  left: auto;
  transform: translate(0, -100%);
}

.cycle__col:hover::after,
.cycle__col:focus-visible::after {
  opacity: 1;
}

.cycle__source {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.cycle__table {
  margin-top: 0.6rem;
  font-size: 0.8125rem;
}

.cycle__table summary {
  font-weight: 700;
  color: var(--navy-700);
  cursor: pointer;
}

.cycle__table table {
  width: 100%;
  margin-top: 0.6rem;
  border-collapse: collapse;
}

.cycle__table th,
.cycle__table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.cycle__table td:last-child {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.cycle__table thead th {
  font-size: 0.75rem;
  color: var(--muted);
}

/* The last midterm */
.moments {
  display: grid;
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .moments {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.moment {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-700);
  border-radius: 14px;
  background: #fff;
}

.moment__date {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-600);
}

.moment__title {
  margin-top: 0.35rem;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}

.moment__text {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.figure-pair {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .figure-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Agenda */
.agenda-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .agenda-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: start;
  }

  .agenda-layout__head {
    position: sticky;
    top: 7rem;
  }
}

.agenda-layout__cta {
  margin-top: 1.75rem;
}

.agenda {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.agenda__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red-600);
}

.agenda__title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}

.agenda__text {
  margin-top: 0.3rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* Members' Watchlist */
.steps {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step__num {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}

.step__title {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.3;
}

.step__text {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.ballot {
  position: relative;
  max-width: 25rem;
  margin: 0 auto;
  padding-bottom: 2rem;
  border: 1px solid #e6dfcf;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 30px 60px -30px rgba(11, 22, 48, 0.55);
  transform: rotate(-2deg);
}

.ballot__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem 1.25rem 0.9rem;
  border-radius: 8px 8px 0 0;
  background: var(--navy-900);
  text-align: center;
  color: #fff;
}

.ballot__stars {
  display: flex;
  gap: 0.35rem;
}

.ballot__stars svg {
  width: 0.8rem;
  height: 0.8rem;
}

.ballot__heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ballot__date {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ballot__stripe {
  height: 8px;
  background: repeating-linear-gradient(to bottom, var(--red-600) 0 2px, #fff 2px 4px);
}

.ballot__question {
  padding: 1.25rem 1.5rem 0;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
}

.ballot__instruction {
  padding: 0.35rem 1.5rem 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ballot__row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.1rem 1.5rem 0;
}

.ballot__oval {
  flex-shrink: 0;
  width: 2.1rem;
  height: 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
}

.ballot__write {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: 0.3rem;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.ballot__placeholder {
  letter-spacing: 0.08em;
  color: #c7ccd6;
}

.ballot__field-label {
  margin: 0.4rem 1.5rem 0 4.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.ballot__sticker {
  position: absolute;
  right: -0.75rem;
  bottom: -1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 6.25rem;
  height: 6.25rem;
  border: 3px solid var(--red-600);
  border-radius: 50%;
  background: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-900);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.45);
  transform: rotate(12deg);
}

@media (max-width: 480px) {
  .ballot__sticker {
    right: -0.25rem;
    width: 5.25rem;
    height: 5.25rem;
    font-size: 1rem;
  }
}

.ballot__sticker-stars {
  display: flex;
  gap: 0.15rem;
  color: var(--red-600);
}

.ballot__sticker-stars svg {
  width: 0.6rem;
  height: 0.6rem;
}

.requested {
  max-width: 25rem;
  margin: 3rem auto 0;
}

.requested__label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.requested__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rank;
}

.requested__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem 0.35rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  counter-increment: rank;
}

.requested__list li::before {
  content: counter(rank);
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--red-600);
  font-size: 0.75rem;
  color: #fff;
}

/* Host */
.host {
  display: grid;
  gap: 1.75rem;
  max-width: 60rem;
  margin-inline: auto;
  align-items: center;
}

@media (min-width: 768px) {
  .host {
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 3rem;
  }
}

.host__photo {
  width: 100%;
  max-width: 16rem;
  aspect-ratio: 1;
  border-bottom: 6px solid var(--red-600);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 50px -28px rgba(11, 22, 48, 0.6);
}

.host__name {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.host__role {
  margin-top: 0.2rem;
  font-weight: 600;
  color: var(--muted);
}

.host__quote {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  font-style: italic;
  color: var(--navy-700);
}

/* Closing call to action */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: var(--space-section) 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(200, 16, 46, 0.35), transparent 70%),
    var(--stars),
    var(--navy-900);
  text-align: center;
  color: #fff;
}

.final-cta__inner {
  max-width: 44rem;
}

.final-cta__title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.final-cta__text {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: balance;
}

.final-cta .btn {
  margin-top: 1.75rem;
}

.final-cta__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 7rem;
  background: var(--navy-950);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
}

@media (min-width: 960px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.site-footer__links a {
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__disclaimer {
  max-width: 60rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.site-footer__copyright {
  margin-top: 1rem;
}

/* Mobile sticky registration bar */
.sticky-cta {
  position: fixed;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  left: 0.75rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  border-radius: 14px;
  background: rgba(10, 23, 51, 0.96);
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.55);
  transform: translateY(160%);
  transition: transform 0.3s ease;
  backdrop-filter: blur(8px);
}

.sticky-cta--show {
  transform: translateY(0);
}

.sticky-cta:empty {
  display: none;
}

.sticky-cta__meta {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.75);
}

.sticky-cta__meta strong {
  font-size: 0.875rem;
  color: #fff;
}

@media (min-width: 960px) {
  .sticky-cta {
    display: none;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 56, 78, 0.55);
  }

  70% {
    box-shadow: 0 0 0 0.55rem rgba(240, 56, 78, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(240, 56, 78, 0);
  }
}

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

  .eyebrow__dot,
  .timeline__dot {
    animation: none !important;
  }

  .btn,
  .figure__frame,
  .sticky-cta {
    transition: none;
  }

  .btn--red:hover,
  .figure__frame:hover {
    transform: none;
  }
}
