:root {
  --bg: #fffdf9;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --line: rgba(146, 121, 198, 0.18);
  --line-strong: rgba(146, 121, 198, 0.28);
  --text: #40395b;
  --muted: #7a7492;
  --purple: #7f5ad6;
  --purple-strong: #6841bb;
  --gold: #dfab4e;
  --gold-soft: #f5e0b6;
  --peach: #f3c4a0;
  --pink: #f0c0d8;
  --shadow: 0 28px 70px rgba(170, 151, 214, 0.13);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 224, 182, 0.22), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(196, 188, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #fffefc 0%, #fffaf4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 30%, rgba(216, 198, 255, 0.14) 0, transparent 9px),
    radial-gradient(circle at 80% 12%, rgba(255, 210, 171, 0.16) 0, transparent 8px),
    radial-gradient(circle at 72% 42%, rgba(196, 178, 255, 0.12) 0, transparent 7px);
  opacity: 0.9;
}

.site-frame {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(185, 163, 223, 0.08);
  position: sticky;
  top: 10px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-star {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(223, 171, 78, 0.15), rgba(127, 90, 214, 0.08));
  font-size: 20px;
}

.brand-copy strong,
.brand-copy small {
  display: block;
  letter-spacing: 0.18em;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.64rem;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a,
.footer a {
  color: var(--text);
  text-decoration: none;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 0.93rem;
}

.nav a.is-active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.ghost-button,
.primary-button,
.secondary-button,
.year-pill {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.ghost-button,
.primary-button,
.secondary-button {
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 700;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--text);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.primary-button {
  background: linear-gradient(135deg, var(--purple), var(--purple-strong));
  color: white;
  box-shadow: 0 16px 30px rgba(122, 90, 194, 0.2);
}

.secondary-button {
  background: white;
  color: var(--gold);
  border: 1px solid rgba(223, 171, 78, 0.36);
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 36px;
  padding: 42px 8px 18px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.77rem;
  color: var(--gold);
  font-weight: 700;
}

.eyebrow.muted {
  color: var(--muted);
}

.hero h1,
.section-title h2,
.show-meta h2,
.archive-lead h3,
.phase-copy h3 {
  font-family: "Cormorant Garamond", serif;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(4.3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--purple-strong);
  max-width: 520px;
}

.hero-body {
  max-width: 460px;
  font-size: 1.18rem;
  line-height: 1.75;
  color: #60597c;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin: 34px 0 40px;
}

.show-meta h2 {
  margin: 8px 0 6px;
  font-size: 2.2rem;
  color: var(--text);
}

.show-meta p:last-child {
  margin: 0;
  color: var(--muted);
}

.hero-art {
  position: relative;
  min-height: 720px;
}

.hero-illustration {
  position: absolute;
  inset: 0;
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.74), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.08));
}

.hero-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(223, 171, 78, 0.16);
  pointer-events: none;
}

.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 18%;
  transform: scale(1.2);
  filter: saturate(1.02) brightness(1.02);
}

.hero-signature {
  position: absolute;
  right: 46px;
  bottom: 44px;
  display: grid;
  gap: 4px;
  text-align: right;
}

.hero-signature span {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-style: italic;
  color: #7e62c9;
}

.hero-signature small {
  color: var(--muted);
  font-size: 1rem;
}

.phase-panel,
.how-card,
.archive-panel,
.cta-panel,
.faq-panel,
.updates-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.phase-panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  padding: 34px 38px;
}

.phase-copy h3 {
  margin: 8px 0 10px;
  font-size: 3rem;
  color: var(--purple-strong);
}

.phase-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.timer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.timer div {
  min-width: 68px;
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(245, 239, 255, 0.9);
  text-align: center;
}

.timer strong {
  display: block;
  font-size: 1.9rem;
  color: var(--purple-strong);
}

.timer span {
  color: var(--muted);
  font-size: 0.78rem;
}

.phase-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 18px;
}

.phase-step {
  text-align: center;
  color: var(--muted);
}

.phase-step span {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.94);
  font-size: 1.25rem;
}

.phase-step.is-active span {
  color: white;
  background: linear-gradient(135deg, #9a78eb, #7f5ad6);
  box-shadow: 0 14px 28px rgba(127, 90, 214, 0.2);
}

.phase-step.is-complete span {
  color: var(--purple);
}

.phase-step strong,
.phase-step small {
  display: block;
}

.phase-step strong {
  margin-bottom: 6px;
  color: var(--text);
}

.section {
  padding-top: 56px;
}

.section-title {
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--purple-strong);
}

.section-title.centered {
  text-align: center;
}

.section-title.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-title.split a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.how-card {
  padding: 28px 22px;
  text-align: center;
}

.how-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  color: var(--gold);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.94), rgba(244, 234, 255, 0.82)),
    linear-gradient(135deg, rgba(223, 171, 78, 0.14), rgba(127, 90, 214, 0.06));
  border: 1px solid rgba(223, 171, 78, 0.22);
}

.how-card h3 {
  margin: 0 0 10px;
  color: var(--text);
}

.how-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category-card {
  border-radius: 22px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(197, 177, 229, 0.1);
}

.category-orb {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: white;
  font-size: 2rem;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.4);
}

.category-card h3 {
  margin: 0 0 10px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  color: var(--text);
}

.category-card p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}

.archive-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  padding: 28px;
}

.archive-lead {
  padding: 10px 8px;
}

.archive-lead h3 {
  margin: 0 0 10px;
  font-size: 4rem;
  color: var(--text);
}

.archive-lead p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.year-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.year-pill {
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  border: 1px solid var(--line);
  font-weight: 700;
}

.year-pill.is-active {
  background: linear-gradient(135deg, rgba(127, 90, 214, 0.12), rgba(223, 171, 78, 0.16));
  color: var(--purple-strong);
}

.winner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.winner-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.winner-thumb {
  aspect-ratio: 0.92;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, rgba(207, 191, 255, 0.54), rgba(255, 227, 190, 0.48));
}

.winner-thumb::after {
  content: attr(data-tag);
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 238, 195, 0.92);
  color: #936313;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.winner-info {
  padding: 14px;
}

.winner-info strong,
.winner-info small {
  display: block;
}

.winner-info strong {
  color: var(--text);
  margin-bottom: 6px;
}

.winner-info small {
  color: var(--muted);
}

.cta-row,
.lower-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 22px;
  padding: 30px;
}

.cta-panel.accent {
  background:
    radial-gradient(circle at top right, rgba(255, 240, 212, 0.36), transparent 26%),
    rgba(255, 255, 255, 0.78);
}

.cta-copy h2 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  color: var(--purple-strong);
}

.cta-copy ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.placeholder-visual {
  position: relative;
  min-height: 260px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.86), transparent 40%),
    linear-gradient(180deg, rgba(205, 188, 255, 0.34), rgba(255, 255, 255, 0.3));
}

.ballot-box::before,
.trophy-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 28px;
  border: 1px solid rgba(127, 90, 214, 0.1);
}

.placeholder-card {
  width: 120px;
  height: 160px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(147, 118, 220, 0.46));
  box-shadow: 0 18px 40px rgba(149, 119, 206, 0.18);
  position: relative;
}

.placeholder-card::before {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: white;
}

.trophy {
  width: 122px;
  height: 152px;
  position: relative;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #f2cc82, #d89e36);
  box-shadow: inset 0 0 0 10px rgba(255, 248, 224, 0.25);
}

.trophy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -78px;
  width: 0;
  height: 0;
  border-left: 46px solid transparent;
  border-right: 46px solid transparent;
  border-bottom: 78px solid #e1b158;
  transform: translateX(-50%);
}

.faq-panel,
.updates-panel {
  padding: 30px;
}

.faq-list {
  display: grid;
}

.faq-item {
  border-bottom: 1px solid rgba(127, 90, 214, 0.12);
}

.faq-button {
  width: 100%;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  font: inherit;
  color: var(--text);
  cursor: pointer;
}

.faq-panel-copy {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 0.28s ease;
}

.faq-item.is-open .faq-panel-copy {
  max-height: 200px;
  padding-bottom: 14px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 20px;
}

.newsletter input {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: var(--purple);
  font-weight: 600;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px 8px 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 1220px) {
  .hero,
  .phase-panel,
  .archive-panel,
  .cta-row,
  .lower-grid,
  .cta-panel,
  .how-grid,
  .category-grid,
  .winner-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .topbar,
  .footer,
  .section-title.split {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-art {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .site-frame {
    width: min(calc(100% - 18px), var(--max));
  }

  .topbar {
    border-radius: 30px;
    padding: 18px;
  }

  .topbar-actions,
  .hero-cta,
  .newsletter,
  .timer {
    width: 100%;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .hero-art {
    min-height: 420px;
  }

  .hero-signature {
    right: 20px;
    bottom: 20px;
  }

  .hero-signature span {
    font-size: 2.6rem;
  }
}
