:root {
  --ink: #070914;
  --navy: #10182c;
  --navy-2: #182238;
  --paper: #f4eee4;
  --paper-2: #ebe3d4;
  --ink-text: #16141c;
  --muted: #5c5666;
  --line: rgba(22, 20, 28, 0.12);
  --line-dark: rgba(246, 241, 232, 0.12);
  --rose: #ff3d7f;
  --rose-2: #ff6b9d;
  --cyan: #1ecad3;
  --gold: #e0b84a;
  --cream: #f6f1e8;
  --shadow: 0 24px 60px rgba(7, 9, 20, 0.28);
  --radius: 22px;
  --font-ui: "Outfit", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header-h: 78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--cream);
  background: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--rose);
  color: white;
  padding: 8px 14px;
  z-index: 100;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 9, 20, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.brand-copy span {
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: #d8d2c8;
}

.nav a:hover { color: white; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-rose {
  background: linear-gradient(135deg, var(--rose), #ff6a4a);
  color: white;
  box-shadow: 0 10px 28px rgba(255, 61, 127, 0.35);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid var(--line-dark);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-dark);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  background: #0c1120;
  padding: 10px 0;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b7b0a4;
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 28s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker b { color: var(--rose-2); font-weight: 700; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 28px;
}

.hero::before {
  content: "10";
  position: absolute;
  right: -4%;
  top: -8%;
  font-family: var(--font-display);
  font-size: clamp(18rem, 32vw, 28rem);
  font-weight: 700;
  color: rgba(255, 61, 127, 0.07);
  pointer-events: none;
  line-height: 0.8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(30, 202, 211, 0.35);
  background: rgba(30, 202, 211, 0.08);
  color: var(--cyan);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(30, 202, 211, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(30, 202, 211, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin: 16px 0 14px;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-2);
}

.lede {
  color: #c9c2b6;
  font-size: 1.08rem;
  max-width: 38rem;
}

.lede-te {
  color: #e8d5b5;
  font-size: 1.12rem;
  font-weight: 600;
  max-width: 38rem;
  margin: 0 0 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #9b9488;
  font-size: 0.9rem;
}

.meta-row strong { color: var(--gold); font-weight: 700; }

.live-panel {
  background: linear-gradient(180deg, #171f36, #10182c);
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  padding: 26px 24px 22px;
}

.live-panel-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.live-panel-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.25;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 12px 14px;
}

.stat span {
  display: block;
  color: #8d8690;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.live-panel-btn {
  width: 100%;
  margin-top: 18px;
}

/* Contestant grid */
.cast-section {
  background: var(--paper);
  color: var(--ink-text);
  border-radius: 36px;
  padding: 42px 0 36px;
  margin: 12px 0 8px;
}

.cast-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 28px;
}

.cast-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  margin: 12px 0 10px;
}

.cast-head p { color: var(--muted); margin: 0; }

.kicker-ink {
  color: #c2410c;
  border-color: rgba(194, 65, 12, 0.28);
  background: rgba(234, 88, 12, 0.08);
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cast-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(22, 20, 28, 0.08);
  border: 1px solid rgba(22, 20, 28, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cast-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(22, 20, 28, 0.14);
}

.cast-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.cast-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  background: #e8e2d6;
}

.cast-body { padding: 14px 14px 16px; }

.cast-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.cast-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.confirmed {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #f97316;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cast-age {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.cast-vote {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roster-list {
  padding-left: 1.1rem;
}

.roster-list li { margin: 8px 0; color: #2a2730; }

.roster-list a { color: #b42318; }

/* Voting booth */
.vote-section {
  padding: 20px 0 48px;
}

.booth {
  position: relative;
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(255, 61, 127, 0.18), transparent 50%),
    radial-gradient(800px 300px at 100% 100%, rgba(30, 202, 211, 0.12), transparent 45%),
    var(--navy);
  border: 1px solid var(--line-dark);
  border-radius: 32px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.booth::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent 0 18px,
    rgba(255, 255, 255, 0.015) 18px 19px
  );
  pointer-events: none;
  z-index: 0;
}

.booth-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.booth-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.booth-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin: 0;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(255, 61, 127, 0.12);
  color: var(--rose-2);
  border: 1px solid rgba(255, 61, 127, 0.3);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-chip-cyan {
  background: rgba(30, 202, 211, 0.12);
  color: var(--cyan);
  border-color: rgba(30, 202, 211, 0.3);
}

.embed-stage {
  position: relative;
  z-index: 1;
}

.embed-frame {
  position: relative;
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  min-height: 400px;
}

.embed-frame-comments {
  background: #fff;
  min-height: 300px;
}

.embed-frame iframe {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  min-height: inherit;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.embed-frame iframe.is-loaded {
  opacity: 1;
}

.embed-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, #ece7dc 20%, #f7f3ea 40%, #ece7dc 60%);
  background-size: 180% 100%;
  animation: shimmer 1.4s ease infinite;
  pointer-events: none;
}

.embed-skeleton.is-gone {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -80% 0; }
}

.embed-note {
  margin: 14px 0 0;
  color: #b7b0a4;
  font-size: 0.88rem;
}

.embed-note a { color: var(--cyan); }

.comments-booth {
  margin-top: 22px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.ticket {
  background: var(--paper);
  color: var(--ink-text);
  border-radius: 24px;
  padding: 28px;
  position: relative;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--navy);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.ticket::before { left: -11px; }
.ticket::after { right: -11px; }

.ticket h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.ticket p { color: var(--muted); margin-top: 0; }

.official-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  padding: 16px 18px;
  border-radius: 16px;
}

.official-link small {
  display: block;
  color: #9aa;
  font-weight: 500;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 14px 16px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 61, 127, 0.16);
  color: var(--rose-2);
  font-weight: 800;
}

.step h4 { margin: 0 0 4px; font-size: 0.98rem; }
.step p { margin: 0; color: #b7b0a4; font-size: 0.9rem; }

/* Magazine article */
.magazine {
  background: var(--paper);
  color: var(--ink-text);
  border-radius: 36px 36px 0 0;
  margin-top: 8px;
  padding: 56px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  align-self: start;
}

.toc h3 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.toc a {
  display: block;
  text-decoration: none;
  color: var(--ink-text);
  font-size: 0.92rem;
  padding: 7px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
}

.toc a:hover,
.toc a.active {
  border-left-color: var(--rose);
  color: var(--rose);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin: 42px 0 14px;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2a2730;
}

.dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.4rem;
  line-height: 0.75;
  padding-right: 10px;
  color: var(--rose);
}

.pullquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--rose);
  background: var(--paper-2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.fact {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.fact span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.callout {
  background: #16141c;
  color: var(--cream);
  border-radius: 22px;
  padding: 22px 24px;
  margin: 28px 0;
}

.callout a { color: var(--cyan); }

.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 18px;
  margin: 10px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
}

.faq details p {
  margin: 0 0 14px;
  color: var(--muted);
}

.profile {
  padding: 40px 0 20px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
}

.profile-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #10182c;
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
}

.profile h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 14px 0 10px;
}

.profile h1 em {
  font-style: italic;
  color: var(--rose-2);
}

/* Legal */
.legal {
  background: var(--paper);
  color: var(--ink-text);
  min-height: 70vh;
  padding: 48px 0 80px;
}

.legal-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 42px);
  max-width: 820px;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 8px 0 8px;
}

.legal .btn { margin-top: 8px; }

.eyebrow {
  color: var(--rose);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.legal h2 {
  font-family: var(--font-display);
  margin-top: 32px;
}

.legal p, .legal li { color: #3a3640; line-height: 1.75; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  background: var(--paper);
  border-radius: 16px;
  padding: 18px;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.form textarea { min-height: 140px; resize: vertical; }

.form .btn {
  justify-self: start;
  min-width: 180px;
}

.success {
  background: #e7f8ef;
  color: #146c43;
  padding: 12px 14px;
  border-radius: 12px;
}

.field-error { color: #b42318; font-size: 0.85rem; }

/* Footer */
.site-footer {
  background: #05060d;
  border-top: 1px solid var(--line-dark);
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.legal-links {
  display: grid;
  gap: 14px;
}

.legal-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #c9c2b6;
  font-size: 1rem;
}

.legal-links a:hover { color: white; }

.legal-links svg {
  width: 22px;
  height: 22px;
  stroke: #9aa;
  fill: none;
  stroke-width: 1.7;
}

.copy {
  color: #7d7784;
  font-size: 0.85rem;
  margin-top: 28px;
}

/* Error */
.error-page {
  padding: 80px 0;
  text-align: center;
}

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #0c1120;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
    gap: 12px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav.open { display: flex; }
  .hero-grid,
  .article-layout,
  .footer-grid,
  .contact-grid,
  .fact-grid,
  .steps-row,
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .toc { display: none; }
  .header-cta { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }

  .wrap,
  .header-inner {
    width: min(1180px, calc(100% - 24px));
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong { font-size: 0.82rem; }
  .brand-copy span { font-size: 0.6rem; letter-spacing: 0.12em; }

  .hero {
    padding: 24px 0 8px;
  }

  .hero::before {
    font-size: 12rem;
    right: -18%;
    top: -6%;
  }

  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.18;
    margin: 12px 0 10px;
  }

  .lede {
    font-size: 0.98rem;
    max-width: none;
  }

  .hero-actions {
    margin: 18px 0 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .meta-row {
    gap: 10px 14px;
    font-size: 0.82rem;
  }

  .live-panel { padding: 18px 16px 16px; }
  .live-panel-title { font-size: 1.28rem; }

  .cast-section {
    border-radius: 22px;
    padding: 24px 0 20px;
  }

  .cast-head h2 { font-size: 1.4rem; }
  .cast-grid { gap: 10px; }
  .cast-body { padding: 10px 10px 12px; }
  .cast-body h3 { font-size: 0.92rem; }

  .vote-section { padding: 12px 0 36px; }

  .booth {
    border-radius: 20px;
    padding: 16px 14px 18px;
  }

  .booth-head { margin-bottom: 16px; gap: 8px; }

  .kicker {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    padding: 5px 10px;
  }

  .live-chip {
    padding: 5px 10px;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .booth-head h2 {
    font-size: 1.42rem;
    line-height: 1.22;
  }

  .embed-frame { min-height: 720px; }
  .embed-frame-comments { min-height: 520px; }

  .magazine {
    border-radius: 22px 22px 0 0;
    padding: 28px 0 64px;
  }

  .prose h2 { font-size: 1.45rem; }
  .prose p { font-size: 1rem; line-height: 1.7; }
  .dropcap::first-letter { font-size: 3rem; }
  .pullquote {
    font-size: 1.12rem;
    padding: 14px 16px;
  }

  .legal h1 { font-size: 1.7rem; }
  .legal-card { border-radius: 18px; padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .pulse { animation: none; }
}
