:root {
  --plum: #86198f;
  --plum-light: #c026d3;
  --plum-dark: #650d6c;
  --peach: #fdba74;
  --peach-dark: #c2410c;
  --white: #ffffff;
  --ink: #1a1523;
  --ink-soft: #625d6b;
  --bg-alt: #fbf7fa;
  --border: #ece3ec;
  --shadow-sm: 0 2px 10px rgba(28, 10, 30, 0.06);
  --shadow-md: 0 12px 32px rgba(28, 10, 30, 0.1);
  --shadow-lg: 0 24px 60px rgba(28, 10, 30, 0.16);
  --radius: 20px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo-main, .btn {
  font-family: "Poppins", "Manrope", sans-serif;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; flex-shrink: 0; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.16,.8,.3,1), transform 0.7s cubic-bezier(.16,.8,.3,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-weight: 800; font-size: 19px; color: var(--plum); }
.logo-sub { font-weight: 600; font-size: 12px; color: var(--peach-dark); }

.nav { display: flex; align-items: center; gap: 8px; }

.nav a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:not(.nav-cta):hover { color: var(--plum); background: rgba(134,25,143,0.06); }

.nav-cta {
  background: var(--plum);
  color: var(--white) !important;
  box-shadow: 0 6px 16px rgba(134,25,143,0.28);
}
.nav-cta:hover { background: var(--plum-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--plum) 0%, var(--plum-dark) 100%);
  padding: 100px 0;
  overflow: hidden;
}
.hero > .container { width: 100%; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.blob--pink {
  width: 480px; height: 480px;
  background: var(--plum-light);
  top: -180px; right: -120px;
}
.blob--green {
  width: 380px; height: 380px;
  background: var(--peach);
  bottom: -160px; left: -100px;
  opacity: 0.25;
}
.dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.5) 40%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(44px, 6.4vw, 78px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero-line { display: block; }
.hero-line--white { color: var(--white); }
.hero-line--green {
  color: var(--peach);
  font-size: 0.58em;
  margin-top: 8px;
}

.hero-text {
  max-width: 520px;
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  margin: 0 0 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: var(--shadow-md);
}
.btn:hover { transform: translateY(-3px); }
.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--light { background: var(--white); color: var(--plum); }
.btn--outline {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow: none;
}
.btn--outline:hover { background: rgba(255,255,255,0.14); }

.btn--outline-plum {
  background: transparent;
  color: var(--plum);
  border: 2px solid var(--plum);
  box-shadow: none;
}
.btn--outline-plum:hover { background: rgba(134,25,143,0.08); }

.section--cta .btn--light { color: var(--plum-dark); }

/* Hero visual */
.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sections */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin: 0 0 48px; }

.section-title {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title--light { color: var(--white); }

.section-lead {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 16.5px;
  margin: 0 0 16px;
}
.section-lead:last-of-type { margin-bottom: 0; }
.section-lead--light { color: rgba(255,255,255,0.9); }


.section-statement {
  font-size: 21px;
  font-weight: 800;
  color: var(--plum);
  margin: -6px 0 16px;
}

/* Accomplishments */
.features {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.feature:nth-child(even) .feature-media { order: 2; }
.feature:nth-child(even) .feature-content { order: 1; }

.feature-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #b7abb9;
}
.feature-media span {
  font-size: 13px;
  font-weight: 600;
}

.feature-media--photo {
  border: none;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media--gallery {
  border: none;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-media--gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-media--lightbox {
  position: relative;
  border: none;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-media--lightbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media-expand {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: rgba(26, 21, 35, 0.65);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.feature-media-expand:hover {
  background: rgba(26, 21, 35, 0.85);
  transform: translateX(-50%) translateY(-2px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 13, 0.9);
  animation: modal-fade 0.25s ease;
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modal-pop 0.3s cubic-bezier(.16,.8,.3,1);
}

.lightbox-image {
  max-width: 100%;
  max-height: 74vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.lightbox-counter {
  margin-top: 14px;
  color: rgba(255,255,255,0.8);
  font-size: 13.5px;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.28); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

@media (max-width: 640px) {
  .lightbox-close { top: -50px; right: 0; }
  .lightbox-prev { left: -4px; }
  .lightbox-next { right: -4px; }
}
.feature-media--gallery img:first-child { grid-row: 1 / 3; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(134, 25, 143, 0.1);
  color: var(--plum);
  margin-bottom: 18px;
}
.feature:nth-child(even) .feature-icon {
  background: rgba(194,65,12,0.1);
  color: var(--peach-dark);
}

.feature-content h3 { margin: 0 0 10px; font-size: 21px; font-weight: 800; }

.feature-intro {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plum);
}
.feature:nth-child(even) .feature-list li::before { background: var(--peach-dark); }

.feature-substreets {
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
  color: var(--ink);
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.event-tag {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
}

.program-lock {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 40px;
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  background: var(--bg-alt);
  text-align: center;
}

.program-lock-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(134,25,143,0.1);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-lock-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(134,25,143,0.25);
  animation: video-pulse 2.2s ease-out infinite;
}

.program-lock h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.program-lock p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.results-outro {
  position: relative;
  margin-top: 88px;
  padding: 64px 0;
  background: linear-gradient(150deg, var(--plum) 0%, var(--plum-dark) 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.results-outro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.6;
}
.results-outro > .container { position: relative; }
.results-outro h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
}
.results-outro-tagline {
  font-size: 17px;
  font-weight: 700;
  color: var(--peach);
  margin: 0 0 20px;
}
.results-outro p {
  max-width: 560px;
  margin: 0 auto 14px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
}
.results-outro-thanks {
  font-weight: 800;
  color: var(--white) !important;
  font-size: 17px;
}

/* Candidates */
.progress { margin-top: 28px; max-width: 420px; }
.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--plum), var(--peach));
  transition: width 1.1s cubic-bezier(.16,.8,.3,1);
}
.progress.is-visible .progress-fill { width: var(--progress); }
.progress-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.candidates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.candidate {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.candidate--revealed { border-color: transparent; box-shadow: var(--shadow-md); }
.candidate:hover { transform: translateY(-6px); }

.candidate-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--plum), var(--plum-dark));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(134,25,143,0.28);
  overflow: hidden;
}

.candidate-photo--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.candidate-photo--locked {
  background: var(--bg-alt);
  color: #b7abb9;
  box-shadow: none;
  border: 1.5px dashed var(--border);
}

.candidate-name { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.candidate-role { margin: 0; font-size: 13px; font-weight: 700; color: #b7abb9; letter-spacing: 0.2px; }
.candidate-role--active { color: var(--peach-dark); margin-bottom: 8px; }
.candidate-bio { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.candidate-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 0;
  border: none;
  background: none;
  color: var(--plum);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.candidate-toggle svg { transition: transform 0.25s ease; }
.candidate-toggle:hover { color: var(--plum-dark); }
.candidate-toggle:hover svg { transform: translateX(3px); }

.candidate--locked { background: var(--bg-alt); }

/* Candidate modal */
.candidate-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.candidate-modal.is-open { display: flex; }

.candidate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 21, 35, 0.6);
  backdrop-filter: blur(3px);
  animation: modal-fade 0.25s ease;
}

.candidate-modal-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  animation: modal-pop 0.3s cubic-bezier(.16,.8,.3,1);
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.candidate-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.candidate-modal-close:hover { background: var(--border); color: var(--ink); }

.candidate-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-right: 30px;
}
.candidate-modal-header .candidate-photo {
  width: 64px;
  height: 64px;
  margin: 0;
  flex-shrink: 0;
}
.candidate-modal-header h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; }
.candidate-modal-header .candidate-role--active { margin: 0; }

.candidate-modal-body { text-align: left; }
.candidate-modal-body p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.candidate-modal-body p:last-child { margin-bottom: 0; }

body.modal-open { overflow: hidden; }

/* CTA */
.section--cta {
  position: relative;
  background: linear-gradient(150deg, var(--plum) 0%, var(--plum-dark) 100%);
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.6;
}

.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-links { display: flex; gap: 12px; margin-top: 12px; }
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-link:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px 24px;
  font-size: 13.5px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--white);
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-text { max-width: 100%; }
  .hero-visual { margin-top: 24px; }
  .candidates-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature:nth-child(even) .feature-media,
  .feature:nth-child(even) .feature-content { order: initial; }
  .feature-media { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: max-height 0.35s cubic-bezier(.16,.8,.3,1), opacity 0.25s ease, padding 0.35s ease;
  }
  .nav a {
    padding: 14px 4px;
    border-top: 1px solid var(--border);
    border-radius: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav a:first-child { border-top: none; }
  .nav-cta { margin-top: 12px; text-align: center; border-radius: 999px; }
  .nav.nav--open {
    max-height: 400px;
    opacity: 1;
    padding: 8px 24px 20px;
  }
  .nav.nav--open a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }
  .nav-toggle { display: flex; }
  .nav-toggle span { transform-origin: center; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 76px 0 100px; }
  .section { padding: 72px 0; }
  .candidates-grid { grid-template-columns: 1fr; }
  .features { gap: 48px; }
  .results-outro { padding: 40px 0; margin-top: 56px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
