/* ============================================================
   MUBES HMIF UKRI — Visual system
   ============================================================ */

:root {
  --ink: #181113;
  --muted: #746a6d;
  --green-950: #0d090a;
  --green-900: #1a0c10;
  --green-800: #450b17;
  --green-700: #aa122b;
  --green-600: #d41f3d;
  --lime: #ef3f59;
  --yellow: #43a660;
  --brand-green: #43a660;
  --cream: #f6f2f1;
  --cream-dark: #ece5e5;
  --surface: #ffffff;
  --line: #e2d9da;
  --danger: #b1122b;
  --danger-soft: #fff0ed;
  --success: #348f50;
  --success-soft: #e9f5ec;
  --gold-soft: #f9e8eb;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 8px 30px rgba(31, 8, 13, 0.07);
  --shadow: 0 20px 60px rgba(40, 7, 15, 0.14);
  --shadow-lg: 0 30px 90px rgba(12, 4, 6, 0.28);
  --font: "Manrope", "Segoe UI", sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
::selection { background: #f36a7e; color: #18070b; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(212, 31, 61, 0.38);
  outline-offset: 3px;
}

.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.section { padding: 112px 0; }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--lime); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 21px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}
.btn svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 10px 25px rgba(170, 18, 43, .22); }
.btn-primary:hover { background: var(--green-800); box-shadow: 0 14px 32px rgba(170, 18, 43, .3); }
.hero .btn-primary { background: var(--lime); color: #fff; box-shadow: 0 15px 40px rgba(0, 0, 0, .26); }
.hero .btn-primary:hover { background: #ff536c; box-shadow: 0 18px 45px rgba(0, 0, 0, .3); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--lime); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-danger-ghost { background: transparent; border-color: #edc8c3; color: var(--danger); }
.btn-danger-ghost:hover { background: var(--danger-soft); }
.btn-nav { min-height: 40px; padding: 8px 17px; background: var(--green-900); color: #fff; }
.btn-nav:hover { background: var(--green-700); }
.btn-lg { min-height: 54px; padding: 14px 25px; font-size: 14px; }
.btn-sm { min-height: 38px; padding: 8px 15px; font-size: 12px; }
.btn-block { width: 100%; }
.btn:disabled { cursor: not-allowed; opacity: .58; transform: none; box-shadow: none; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  border-bottom: 1px solid transparent;
  background: rgba(245, 245, 237, .9);
  backdrop-filter: blur(18px);
  transition: height .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.navbar.is-scrolled { height: 68px; border-color: rgba(10, 61, 43, .1); box-shadow: 0 10px 30px rgba(7, 61, 43, .05); }
.navbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.brand-logo { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.12)); }
.brand-logo-lg { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { margin-top: 2px; color: var(--muted); font-size: 9.5px; font-weight: 600; letter-spacing: .035em; }
.nav-links { display: flex; align-items: center; gap: 31px; }
.nav-links > a:not(.btn) {
  position: relative;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  transition: color .2s ease;
}
.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--green-700);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-links > a:not(.btn):hover, .nav-links > a.is-active { color: var(--green-900); }
.nav-links > a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green-900); }
.menu-toggle span { display: block; width: 17px; height: 1.5px; margin: 5px auto; background: #fff; transition: transform .25s ease; }

/* Di posisi teratas header menyatu dengan hero. Setelah halaman digulir,
   bagian dalamnya berubah menjadi panel mengambang. */
.public-nav {
  position: fixed;
  right: 0;
  left: 0;
  height: 88px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  pointer-events: none;
}
.public-nav .navbar-inner {
  height: 68px;
  margin-top: 10px;
  border: 1px solid transparent;
  border-radius: 22px;
  pointer-events: auto;
  transition: width .35s ease, height .35s ease, padding .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.public-nav:not(.is-scrolled) .brand-text strong { color: #fff; }
.public-nav:not(.is-scrolled) .brand-text small { color: rgba(255,255,255,.55); }
.public-nav:not(.is-scrolled) .brand-logo-wrap { border: 0; background: transparent; box-shadow: none; }
.public-nav.is-scrolled {
  height: 82px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.public-nav.is-scrolled .navbar-inner {
  width: min(calc(100% - 32px), 1140px);
  height: 60px;
  padding: 0 18px;
  border-color: rgba(75, 19, 30, .11);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(25,7,12,.16);
  backdrop-filter: blur(18px);
  animation: navbarFloatIn .38s cubic-bezier(.2,.8,.2,1) both;
}
.public-nav.is-scrolled .brand-logo-wrap { width: 50px; height: 50px; }
.public-nav.is-scrolled .brand-logo { width: 49px; height: 49px; }
@media (min-width: 841px) {
  .public-nav:not(.is-scrolled) .nav-links > a:not(.btn) { color: rgba(255,255,255,.68); }
  .public-nav:not(.is-scrolled) .nav-links > a:not(.btn):hover,
  .public-nav:not(.is-scrolled) .nav-links > a.is-active { color: #fff; }
}
@keyframes navbarFloatIn {
  from { opacity: .65; transform: translateY(-13px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  padding: 72px 0 0;
  background: var(--green-900);
  color: #fff;
  isolation: isolate;
}
.hero-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 80% 40%, rgba(239, 63, 89, .14), transparent 31%),
    linear-gradient(110deg, transparent 42%, rgba(255,255,255,.025) 42% 43%, transparent 43% 100%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -220px;
  top: -360px;
  width: 820px;
  height: 820px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.hero-orb-one { left: -190px; bottom: -240px; width: 510px; height: 510px; border: 1px solid rgba(239,63,89,.13); }
.hero-orb-two { left: -80px; bottom: -130px; width: 280px; height: 280px; border: 1px solid rgba(239,63,89,.13); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(400px, .8fr);
  align-items: center;
  gap: clamp(52px, 8vw, 110px);
  min-height: 620px;
}
.hero-copy { position: relative; z-index: 3; padding-bottom: 44px; }
.election-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  padding: 7px 12px;
  border: 1px solid rgba(239, 63, 89, .28);
  border-radius: 999px;
  background: rgba(239, 63, 89, .08);
  color: #f7d8de;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 0 rgba(185, 231, 105, .45);
  animation: livePulse 2s ease-out infinite;
}
.hero h1 {
  max-width: 670px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(54px, 5.55vw, 80px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .94;
}
.hero h1 em { color: var(--lime); font-weight: 400; }
.hero-lead { max-width: 570px; color: rgba(255,255,255,.69); font-size: 15.5px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 32px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.8);
  font-size: 12.5px;
  font-weight: 700;
  transition: color .2s ease;
}
.text-link span { transition: transform .25s ease; }
.text-link:hover { color: var(--lime); }
.text-link:hover span { transform: translateY(3px); }
.hero-stats { display: flex; align-items: stretch; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); }
.stat { min-width: 122px; padding: 0 29px; border-right: 1px solid rgba(255,255,255,.13); }
.stat:first-child { padding-left: 0; }
.stat strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.stat > span { display: block; margin-top: 7px; color: rgba(255,255,255,.56); font-size: 10px; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; }
.stat-secure { display: flex; align-items: center; gap: 10px; border: 0; }
.stat-secure > span { margin: 0; line-height: 1.55; }
.stat-secure b { color: #fff; font-size: 11px; }
.stat-check { display: grid !important; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(67,166,96,.38); border-radius: 50%; color: var(--brand-green) !important; font-size: 13px !important; }
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 62px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.44);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.trust-row i { width: 3px; height: 3px; border-radius: 50%; background: var(--lime); opacity: .65; }

/* ---------- Candidate showcase ---------- */
.hero-stage { position: relative; width: min(100%, 470px); height: 580px; justify-self: end; }
.candidate-showcase { position: absolute; z-index: 2; right: 31px; bottom: 0; width: 365px; height: 535px; }
.showcase-card, .showcase-empty {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 185px 185px 26px 26px;
  background: var(--green-800);
  box-shadow: var(--shadow-lg);
  animation: showcaseIn .7s cubic-bezier(.2,.85,.2,1) both;
}
.candidate-photo { position: relative; display: block; overflow: hidden; background: var(--green-700); }
.candidate-photo img, .candidate-photo svg { width: 100%; height: 100%; object-fit: cover; }
.showcase-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.showcase-photo img { object-position: center top; }
.showcase-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(2,29,20,.18) 56%, rgba(2,29,20,.97) 100%); }
.showcase-topline { position: absolute; top: 102px; right: 22px; left: 22px; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.8); }
.showcase-topline span { font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.showcase-topline b { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 11px; }
.showcase-info { position: absolute; z-index: 2; right: 25px; bottom: 27px; left: 25px; }
.showcase-info > span { color: var(--lime); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.showcase-info h2 { margin: 2px 0 15px; font-family: var(--font-display); font-size: 37px; font-weight: 400; letter-spacing: -.02em; line-height: 1.05; }
.showcase-info button { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; color: #fff; font-size: 11px; font-weight: 700; }
.showcase-info button span { color: var(--lime); transition: transform .2s ease; }
.showcase-info button:hover span { transform: translateX(4px); }
.showcase-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(150deg, var(--green-700), var(--green-950)); }
.showcase-empty img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 25px; filter: drop-shadow(0 10px 25px rgba(0,0,0,.2)); }
.showcase-empty span { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.showcase-empty h2 { max-width: 250px; margin-top: 8px; font-family: var(--font-display); font-size: 30px; font-weight: 400; line-height: 1.05; }
.stage-ring { position: absolute; border: 1px solid rgba(239,63,89,.2); border-radius: 50%; }
.stage-ring-one { right: -108px; bottom: 55px; width: 420px; height: 420px; animation: ringFloat 7s ease-in-out infinite; }
.stage-ring-two { right: -36px; bottom: -16px; width: 300px; height: 300px; animation: ringFloat 7s 1.2s ease-in-out infinite reverse; }
.float-tag {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(5,46,34,.68);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.78);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: tagFloat 4s ease-in-out infinite;
}
.float-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-green); }
.float-tag-one { top: 105px; left: -26px; }
.float-tag-two { right: -24px; bottom: 130px; animation-delay: 1.4s; }
.showcase-dots { position: absolute; z-index: 5; right: 0; bottom: 25px; display: flex; flex-direction: column; gap: 6px; }
.showcase-dots button { width: 24px; height: 14px; padding: 0; border: 0; background: transparent; }
.showcase-dots button span { display: block; width: 5px; height: 5px; margin: auto; border-radius: 50%; background: rgba(255,255,255,.35); transition: width .25s ease, border-radius .25s ease, background .25s ease; }
.showcase-dots button.is-active span { width: 18px; border-radius: 4px; background: var(--lime); }
.showcase-skeleton { width: 100%; height: 100%; padding: 95px 45px 40px; border-radius: 185px 185px 26px 26px; background: rgba(255,255,255,.06); }
.showcase-skeleton span { display: block; height: 16px; margin: 10px 0; border-radius: 8px; background: rgba(255,255,255,.08); animation: skeleton 1.5s ease-in-out infinite; }
.showcase-skeleton span:first-child { height: 260px; border-radius: 140px 140px 20px 20px; }
.showcase-skeleton span:last-child { width: 65%; }

/* ---------- Hero/reveal animation ---------- */
.hero-reveal { opacity: 0; animation: heroReveal .85s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: var(--delay, 0s); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease var(--delay, 0s), transform .75s cubic-bezier(.2,.75,.2,1) var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroReveal { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: none; } }
@keyframes showcaseIn { from { opacity: 0; transform: translateY(26px) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes tagFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ringFloat { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(67,166,96,.48); } 70%,100% { box-shadow: 0 0 0 8px rgba(67,166,96,0); } }
@keyframes skeleton { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

/* ---------- Candidate section ---------- */
.candidates-section { position: relative; overflow: hidden; background: var(--cream); }
.candidates-section::before {
  content: "";
  position: absolute;
  top: 80px;
  right: 0;
  width: 150px;
  height: 300px;
  background: radial-gradient(ellipse at right, rgba(239,63,89,.15), transparent 68%);
  pointer-events: none;
}
.section-head { display: grid; grid-template-columns: 1.2fr .75fr; align-items: end; gap: 80px; margin-bottom: 56px; }
.section-head h2, .process-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 4.5vw, 62px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .98;
}
.section-head h2 em, .process-intro h2 em { color: var(--green-700); font-weight: 400; }
.section-head > p { max-width: 450px; padding-bottom: 5px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.candidates-grid { position: relative; width: 100%; transition: height .55s cubic-bezier(.2,.8,.2,1); }
.candidate-card {
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(91,15,30,.13);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: perspective(1200px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  transform-style: preserve-3d;
  transition: opacity .75s ease var(--delay, 0s), transform .75s cubic-bezier(.2,.75,.2,1) var(--delay, 0s), box-shadow .35s ease;
}
.candidate-card.reveal { opacity: 0; transform: translateY(30px) perspective(1200px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)); }
.candidate-card.reveal.is-visible { opacity: 1; transform: perspective(1200px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y)); }
.candidate-card:hover { box-shadow: var(--shadow); }
.candidate-card-visual { position: relative; min-height: 420px; overflow: hidden; background: var(--green-800); }
.candidate-card-visual > .candidate-photo { width: 100%; height: 100%; min-height: 420px; }
.candidate-card-visual > .candidate-photo img { object-position: center top; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.candidate-card:hover .candidate-card-visual > .candidate-photo img { transform: scale(1.035); }
.candidate-number { position: absolute; top: 20px; left: 20px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(5,46,34,.66); backdrop-filter: blur(9px); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.candidate-sheen { position: absolute; top: -50%; left: -70%; width: 45%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.17), transparent); transform: rotate(20deg); transition: left .8s ease; pointer-events: none; }
.candidate-card:hover .candidate-sheen { left: 135%; }
.candidate-card-content { display: flex; flex-direction: column; padding: 31px 32px 30px; }
.candidate-title-row { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.candidate-role { color: var(--green-700); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.candidate-title-row h3 { margin-top: 4px; font-family: var(--font-display); font-size: 35px; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.candidate-arrow { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--green-700); font-size: 14px; }
.content-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.vision-block { margin-bottom: 22px; }
.vision-block p { font-family: var(--font-display); font-size: 19px; line-height: 1.4; }
.mission-block { flex: 1; margin-bottom: 28px; }
.mission-block ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.mission-block li { display: grid; grid-template-columns: 18px 1fr; gap: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.mission-block li > span { display: grid; place-items: center; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: #e9f5ec; color: var(--brand-green); font-size: 8px; font-weight: 800; }
.candidate-vote-btn { justify-content: space-between; padding-inline: 23px; }
.candidate-vote-btn span { font-size: 18px; transition: transform .2s ease; }
.candidate-vote-btn:hover span { transform: translateX(4px); }

/* Carousel kartu bertumpuk */
.candidates-carousel { position: relative; padding-top: 10px; }
.candidates-viewport {
  position: relative;
  width: 100%;
  min-height: 300px;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.candidates-viewport:focus-visible { border-radius: var(--radius-lg); outline: 3px solid rgba(212,31,61,.28); outline-offset: 8px; }
.candidates-viewport.is-dragging { cursor: grabbing; }
.candidates-carousel .candidate-card img { -webkit-user-drag: none; }
.candidates-carousel .candidate-card {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  width: min(calc(100% - 180px), 900px);
  grid-template-columns: minmax(300px, .83fr) minmax(0, 1.17fr);
  grid-template-rows: 1fr;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform-origin: center 85%;
  will-change: transform, opacity, filter;
  transition: transform .68s cubic-bezier(.2,.82,.2,1), opacity .45s ease, filter .45s ease, box-shadow .35s ease;
}
.candidates-carousel .candidate-card-visual,
.candidates-carousel .candidate-card-visual > .candidate-photo { min-height: 600px; }
.candidates-carousel .candidate-card-content { padding: 44px; }
.candidates-carousel .candidate-title-row h3 { font-size: 42px; }
.candidates-carousel .vision-block p { font-size: 23px; }
.candidates-carousel .candidate-card.is-active {
  z-index: 5;
  opacity: 1;
  pointer-events: auto;
  filter: none;
  transform: translateX(-50%) translateY(0) scale(1) rotate(0);
}
.candidates-carousel .candidate-card.is-prev {
  z-index: 3;
  opacity: .56;
  filter: saturate(.7) brightness(.92);
  transform: translateX(calc(-50% - 66px)) translateY(27px) scale(.92) rotate(-2.4deg);
}
.candidates-carousel .candidate-card.is-next {
  z-index: 4;
  opacity: .66;
  filter: saturate(.76) brightness(.95);
  transform: translateX(calc(-50% + 66px)) translateY(27px) scale(.92) rotate(2.4deg);
}
.candidates-carousel .candidate-card.is-away-left {
  z-index: 1;
  opacity: 0;
  transform: translateX(calc(-50% - 130px)) translateY(48px) scale(.84) rotate(-4deg);
}
.candidates-carousel .candidate-card.is-away-right {
  z-index: 1;
  opacity: 0;
  transform: translateX(calc(-50% + 130px)) translateY(48px) scale(.84) rotate(4deg);
}
.candidates-viewport.is-dragging .candidate-card.is-active { transform: translateX(-50%) translateY(4px) scale(.985); }
.candidates-carousel.is-single .candidates-viewport { cursor: default; }
.carousel-footer { display: flex; align-items: center; justify-content: center; gap: 23px; margin-top: 32px; }
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  flex: 0 0 auto;
  border: 1px solid #dacdd0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease, opacity .22s ease;
}
.carousel-arrow svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel-arrow:hover:not(:disabled) { border-color: var(--green-700); background: var(--green-700); color: #fff; transform: translateY(-2px); }
.carousel-arrow:active:not(:disabled) { transform: scale(.96); }
.carousel-arrow:disabled { cursor: default; opacity: .28; }
.carousel-position { display: flex; min-width: 210px; flex-direction: column; align-items: center; gap: 9px; }
.carousel-position > span { color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.carousel-dots { display: flex; align-items: center; justify-content: center; gap: 5px; }
.carousel-dots button { display: grid; place-items: center; width: 22px; height: 13px; padding: 0; border: 0; background: transparent; }
.carousel-dots button span { display: block; width: 5px; height: 5px; border-radius: 999px; background: #c9bdc0; transition: width .25s ease, background .25s ease; }
.carousel-dots button.is-active span { width: 19px; background: var(--green-600); }
.carousel-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 15px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.carousel-hint span { color: var(--green-700); font-size: 15px; }
.candidates-grid.is-loading { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.candidates-grid.is-empty { min-height: 300px; }
.loading-state { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.candidate-skeleton { min-height: 680px; padding: 440px 32px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(110deg, #e9eadf 8%, #f3f3ea 18%, #e9eadf 33%); background-size: 220% 100%; animation: loadingShimmer 1.6s linear infinite; }
.candidate-skeleton span { display: block; height: 15px; margin: 13px 0; border-radius: 999px; background: rgba(255,255,255,.65); }
.candidate-skeleton span:first-child { width: 55%; height: 27px; }
.candidate-skeleton span:last-child { width: 70%; }
.load-error, .empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 40px; border: 1px dashed #cbd1c4; border-radius: var(--radius); text-align: center; }
.load-error b, .empty-state h3 { margin-bottom: 6px; font-family: var(--font-display); font-size: 24px; font-weight: 400; }
.load-error span, .empty-state p { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 17px; border-radius: 50%; background: #fae8eb; color: var(--green-700); font-size: 22px; }
.live-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 35px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.live-note .live-dot { width: 6px; height: 6px; background: var(--brand-green); }
@keyframes loadingShimmer { to { background-position-x: -220%; } }

/* ---------- Voting process ---------- */
.process-section { position: relative; overflow: hidden; background: var(--green-950); color: #fff; }
.process-section::after { content: ""; position: absolute; right: -200px; bottom: -310px; width: 650px; height: 650px; border: 1px solid rgba(239,63,89,.14); border-radius: 50%; }
.process-bg-word { position: absolute; top: -105px; left: 7%; color: rgba(255,255,255,.025); font-size: 300px; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.process-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 145px); }
.process-intro { align-self: center; }
.process-intro h2 em { color: var(--lime); }
.process-intro p { max-width: 420px; margin: 26px 0 32px; color: rgba(255,255,255,.58); font-size: 13.5px; line-height: 1.8; }
.steps { position: relative; list-style: none; }
.steps::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 27px; width: 1px; background: rgba(239,63,89,.24); }
.step { position: relative; display: grid; grid-template-columns: 55px 54px 1fr; align-items: center; gap: 22px; min-height: 124px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.step:last-child { border-bottom: 0; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 55px; height: 55px; border: 1px solid rgba(239,63,89,.38); border-radius: 50%; background: var(--green-950); color: var(--lime); font-size: 11px; font-weight: 800; }
.step-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: var(--radius-sm); background: rgba(255,255,255,.07); color: #fff; }
.step-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-bottom: 5px; font-size: 14px; font-weight: 800; }
.step p { max-width: 360px; color: rgba(255,255,255,.53); font-size: 12px; line-height: 1.65; }

/* ---------- Integrity ---------- */
.integrity-section { padding: 90px 0; background: #eef0e6; }
.integrity-card { display: grid; grid-template-columns: 100px 1fr .85fr; align-items: center; gap: 45px; padding: 58px 62px; border: 1px solid rgba(91,15,30,.13); border-radius: var(--radius-lg); background: var(--cream); }
.integrity-mark { display: grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: var(--green-900); color: var(--lime); }
.integrity-mark svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.integrity-card .eyebrow { margin-bottom: 10px; }
.integrity-card h2 { font-family: var(--font-display); font-size: clamp(30px,3.2vw,43px); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; }
.integrity-card > p { padding-left: 45px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.8; }

/* ---------- Footer ---------- */
.footer { padding: 68px 0 26px; background: #041f17; color: #fff; }
.footer-top { display: grid; grid-template-columns: .8fr 1.25fr 1fr; align-items: start; gap: 70px; padding-bottom: 50px; }
.footer .brand-logo-wrap { border: 0; background: transparent; }
.footer .brand-text small { color: rgba(255,255,255,.45); }
.footer-top > p { max-width: 380px; font-family: var(--font-display); font-size: 25px; line-height: 1.3; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 25px; }
.footer-links a { color: rgba(255,255,255,.53); font-size: 11px; font-weight: 700; transition: color .2s ease; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.34); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(3, 26, 18, .73);
  backdrop-filter: blur(12px);
  animation: overlayIn .25s ease both;
}
.modal {
  position: relative;
  width: min(100%, 590px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 40px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: modalIn .45s cubic-bezier(.2,.8,.2,1) both;
}
.modal-close { position: absolute; z-index: 2; top: 20px; right: 20px; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); transition: background .2s ease, transform .2s ease; }
.modal-close:hover { background: var(--cream); transform: rotate(6deg); }
.modal-close svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.modal-heading { margin-bottom: 26px; padding-right: 40px; }
.modal-heading .eyebrow { margin-bottom: 8px; }
.modal h2 { font-family: var(--font-display); font-size: 37px; font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
.modal-sub { margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.candidate-pick { margin: 0 0 23px; border: 0; }
.candidate-pick legend, .form-section-label { margin-bottom: 11px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.candidate-option { display: grid; grid-template-columns: auto 47px 1fr 24px; align-items: center; gap: 13px; margin-bottom: 9px; padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border .2s ease, background .2s ease, transform .2s ease; }
.candidate-option:hover { border-color: #d8aeb5; transform: translateY(-1px); }
.candidate-option.selected { border-color: var(--green-600); background: #fff2f4; }
.candidate-option input { width: 17px; height: 17px; accent-color: var(--green-700); }
.option-photo { width: 47px; height: 47px; border-radius: 50%; }
.option-photo img { object-position: center top; }
.option-copy { display: flex; min-width: 0; flex-direction: column; }
.opt-sub { color: var(--green-700); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.opt-name { overflow: hidden; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.option-check { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--green-700); color: #fff; font-size: 10px; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .2s ease; }
.candidate-option.selected .option-check { opacity: 1; transform: scale(1); }
.form-section-label { margin-top: 5px; }
.form-group { margin-bottom: 17px; }
.form-group label { display: block; margin-bottom: 7px; font-size: 11.5px; font-weight: 800; }
.req { color: var(--danger); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-group input, .form-group select { min-height: 46px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #a0a8a2; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(212,31,61,.1); }
.form-group input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(182,59,53,.08); }
.form-group textarea { min-height: 105px; resize: vertical; }
.form-group small { display: block; margin-top: 6px; color: var(--muted); font-size: 9.5px; }
.form-split, .form-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 13px; }
.form-error { margin-bottom: 13px; padding: 11px 13px; border: 1px solid #f2d1cc; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: 11px; font-weight: 650; }
.privacy-note { display: flex; align-items: center; gap: 7px; margin: 0 0 13px; color: var(--muted); font-size: 9.5px; }
.privacy-note span { color: var(--green-700); font-size: 15px; }
.eligibility-note { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 14px; padding: 12px 13px; border: 1px solid #e8d4d8; border-radius: 12px; background: #fff5f6; color: var(--muted); font-size: 10px; line-height: 1.6; }
.eligibility-note > span:first-child { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 auto; border-radius: 50%; background: var(--green-700); color: #fff; font-size: 9px; }
.eligibility-note b { display: block; color: var(--ink); font-size: 10px; }
.button-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.modal-center { padding: 55px 44px; text-align: center; }
.success-modal { overflow: hidden; }
.success-icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 23px; border-radius: 50%; background: var(--success); color: #fff; animation: successPop .6s .15s cubic-bezier(.2,1.5,.4,1) both; }
.success-icon svg { width: 39px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success-modal .eyebrow { margin-bottom: 9px; }
.success-modal h2 { font-size: 43px; }
.success-modal > p { max-width: 370px; margin: 15px auto 28px; color: var(--muted); font-size: 13px; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -15px; left: calc(var(--x) * 1%); width: 7px; height: 13px; border-radius: 2px; background: var(--color); transform: rotate(var(--r)); animation: confettiFall 2.2s var(--d) ease-in both; }
.confetti i:nth-child(1) { --x: 10; --color: var(--lime); --r: 20deg; --d: .1s; }
.confetti i:nth-child(2) { --x: 23; --color: var(--yellow); --r: -35deg; --d: .35s; }
.confetti i:nth-child(3) { --x: 38; --color: var(--green-600); --r: 60deg; --d: .2s; }
.confetti i:nth-child(4) { --x: 49; --color: var(--yellow); --r: -10deg; --d: .5s; }
.confetti i:nth-child(5) { --x: 61; --color: var(--lime); --r: 40deg; --d: .25s; }
.confetti i:nth-child(6) { --x: 73; --color: var(--green-600); --r: -55deg; --d: .4s; }
.confetti i:nth-child(7) { --x: 84; --color: var(--yellow); --r: 15deg; --d: .16s; }
.confetti i:nth-child(8) { --x: 92; --color: var(--lime); --r: 75deg; --d: .45s; }
@keyframes overlayIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.975); } }
@keyframes successPop { from { opacity: 0; transform: scale(.5) rotate(-12deg); } }
@keyframes confettiFall { to { top: 105%; transform: translateX(35px) rotate(460deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Feedback ---------- */
.toast { position: fixed; z-index: 200; right: 24px; bottom: 24px; max-width: min(390px, calc(100% - 48px)); padding: 13px 18px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 12px; font-weight: 700; animation: toastIn .3s ease both; }
.toast.is-error { background: var(--danger); }
.toast.is-success { background: var(--success); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { min-height: 100vh; background: #eff1e8; }
.login-wrap { position: relative; display: grid; min-height: 100vh; place-items: center; overflow: hidden; padding: 40px 24px; background: var(--green-950); }
.login-wrap::before, .login-wrap::after { content: ""; position: absolute; border: 1px solid rgba(239,63,89,.16); border-radius: 50%; }
.login-wrap::before { top: -330px; right: -200px; width: 720px; height: 720px; }
.login-wrap::after { bottom: -270px; left: -150px; width: 560px; height: 560px; }
.login-card { position: relative; z-index: 1; width: min(100%, 430px); padding: 45px 42px 38px; border: 1px solid rgba(255,255,255,.6); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); text-align: center; animation: modalIn .6s ease both; }
.login-card h1 { font-family: var(--font-display); font-size: 34px; font-weight: 400; letter-spacing: -.02em; }
.login-card > p { margin: 9px 0 27px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.login-card form { text-align: left; }
.back-link { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 10.5px; font-weight: 700; transition: color .2s ease; }
.back-link:hover { color: var(--green-700); }
.admin-nav { background: rgba(245,245,237,.94); }
.admin-main { display: flex; flex-direction: column; gap: 24px; padding: 42px 24px 80px; }
.admin-page-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 5px 0 10px; }
.admin-page-head h1 { font-family: var(--font-display); font-size: 44px; font-weight: 400; line-height: 1; }
.admin-page-head p { max-width: 430px; color: var(--muted); font-size: 12px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card { position: relative; overflow: hidden; min-height: 145px; padding: 27px 29px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.stat-card::after { content: ""; position: absolute; right: -42px; bottom: -62px; width: 130px; height: 130px; border: 1px solid rgba(212,31,61,.12); border-radius: 50%; }
.stat-card-label { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.stat-card-value { display: block; margin-top: 12px; color: var(--green-900); font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.stat-card-name { max-width: 85%; font-family: var(--font-display); font-size: 23px; font-weight: 400; letter-spacing: -.01em; }
.panel { padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 23px; }
.panel-head h2 { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.panel-badge { padding: 5px 12px; border-radius: 999px; background: #fae9ec; color: var(--green-700); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.panel-note { margin: -8px 0 22px; padding: 12px 14px; border-left: 3px solid var(--green-600); border-radius: 0 10px 10px 0; background: #fff4f5; color: var(--muted); font-size: 10.5px; line-height: 1.65; }
.panel-note strong { color: var(--danger); }
.candidate-form-panel { scroll-margin-top: 95px; transition: border-color .25s ease, box-shadow .25s ease; }
.candidate-form-panel.is-editing { border-color: rgba(212,31,61,.42); box-shadow: 0 18px 55px rgba(107,12,32,.12); }
.edit-mode-note { display: flex; align-items: flex-start; gap: 11px; margin: -7px 0 22px; padding: 13px 15px; border: 1px solid #efc5cc; border-radius: 12px; background: #fff2f4; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.edit-mode-note > span { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: var(--green-600); color: #fff; font-size: 11px; }
.edit-mode-note strong { display: block; color: var(--green-800); font-size: 11px; }
.edit-mode-note b { color: var(--ink); }
.candidate-list-note { margin-top: -9px; }
.photo-note { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 11px; }
.photo-uploader { display: flex; align-items: center; gap: 14px; padding: 13px; border: 1px dashed #d2c3c5; border-radius: var(--radius-sm); background: #fcf9f9; }
.photo-preview { width: 67px; height: 78px; flex: 0 0 auto; overflow: hidden; border-radius: 12px; background: var(--cream-dark); }
.photo-preview .candidate-photo, .photo-preview img, .photo-preview svg { width: 100%; height: 100%; object-fit: cover; }
.photo-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.photo-actions small { margin: 0; }
.photo-buttons { display: flex; gap: 7px; flex-wrap: wrap; }
.admin-candidates { display: flex; flex-direction: column; gap: 10px; }
.admin-candidate { display: flex; align-items: center; gap: 15px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; transition: border-color .2s ease, background .2s ease; }
.admin-candidate:hover { border-color: #d7bdc2; background: #fdf9fa; }
.avatar { display: block; width: 80px; height: 80px; overflow: hidden; border-radius: 50%; }
.avatar img, .avatar svg, .avatar .candidate-photo { width: 100%; height: 100%; object-fit: cover; }
.avatar-md { width: 55px; height: 55px; }
.avatar-sm { width: 43px; height: 43px; flex: 0 0 auto; }
.admin-candidate .ac-info { min-width: 160px; flex: 1; }
.admin-candidate .ac-info strong { display: block; font-size: 12.5px; font-weight: 800; }
.admin-candidate .ac-info span { display: block; overflow: hidden; max-width: 560px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-candidate .ac-votes { padding: 5px 12px; border-radius: 999px; background: #fae9ec; color: var(--green-700); font-size: 10px; font-weight: 800; }
.ac-actions { display: flex; gap: 7px; }
.btn-edit-candidate { border-color: #e6aeba; background: #fff0f3; color: var(--green-700); }
.btn-edit-candidate:hover { border-color: var(--green-600); background: var(--green-600); color: #fff; }
.results-chart { display: flex; flex-direction: column; gap: 17px; }
.result-row { display: grid; grid-template-columns: 160px 1fr 90px; align-items: center; gap: 15px; }
.result-name { overflow: hidden; font-size: 11.5px; font-weight: 800; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.result-bar-wrap { height: 22px; overflow: hidden; border-radius: 999px; background: var(--cream-dark); }
.result-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-700), #8fce52); transition: width .75s cubic-bezier(.2,.8,.2,1); }
.result-count { color: var(--muted); font-size: 10.5px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 11px; }
.table th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8.5px; font-weight: 800; letter-spacing: .11em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.table td { padding: 13px 12px; border-bottom: 1px solid #f0e9ea; vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fdf9fa; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 999px; font-size: 8.5px; font-weight: 800; white-space: nowrap; }
.tag-student { background: #fae9ec; color: var(--green-700); }
.tag-nonstudent { background: var(--gold-soft); color: #856c18; }
.tag-valid { background: #e9f5ec; color: var(--success); }
.tag-pending { background: #fff5d9; color: #866816; }
.tag-invalid { background: var(--danger-soft); color: var(--danger); }
.verification-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn-verify { border-color: #b9ddc3; background: #edf8f0; color: var(--success); }
.btn-verify:hover { border-color: var(--success); background: var(--success); color: #fff; }
.admin-body .footer { margin-top: 0; padding: 25px 0; }
.admin-body .footer-inner { color: rgba(255,255,255,.45); font-size: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 45px; }
  .hero-stage { width: 380px; }
  .candidate-showcase { right: 15px; width: 325px; height: 500px; }
  .float-tag-one { left: -10px; }
  .float-tag-two { right: -6px; }
  .integrity-card { grid-template-columns: 80px 1fr; gap: 30px; }
  .integrity-mark { width: 78px; height: 78px; }
  .integrity-card > p { grid-column: 2; padding: 0; border: 0; }
}

@media (max-width: 840px) {
  .section { padding: 85px 0; }
  .navbar { height: 68px; }
  .public-nav:not(.is-scrolled) {
    background: linear-gradient(180deg, var(--green-900) 0%, rgba(26, 12, 16, .97) 72%, rgba(26, 12, 16, 0) 100%);
  }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav-links { position: fixed; z-index: 1; top: 0; right: 0; display: flex; width: 100vw; height: 100vh; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 80px 38px; background: var(--cream); box-shadow: -20px 0 60px rgba(25,7,12,.18); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .menu-open .nav-links { transform: none; }
  .public-nav.menu-open .brand { position: relative; z-index: 2; }
  .public-nav.menu-open .brand-text strong { color: var(--ink); }
  .public-nav.menu-open .brand-text small { color: var(--muted); }
  .nav-links > a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 24px; font-weight: 400; }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 26px; }
  .admin-nav .navbar-inner { gap: 12px; }
  .admin-nav .nav-links {
    position: static;
    z-index: auto;
    display: flex;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .admin-nav .nav-links > a:not(.btn) {
    padding: 0;
    border: 0;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
  }
  .admin-nav .nav-links .btn { margin-top: 0; }
  .hero { min-height: auto; padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { max-width: 650px; padding-bottom: 15px; }
  .hero h1 { font-size: clamp(54px, 10vw, 78px); }
  .hero-stage { justify-self: center; width: min(100%, 470px); height: 565px; }
  .candidate-showcase { right: 50%; width: 355px; height: 520px; transform: translateX(50%); }
  .float-tag-one { left: 5%; }
  .float-tag-two { right: 4%; }
  .showcase-dots { right: 5%; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 23px; }
  .section-head > p { max-width: 580px; }
  .candidates-carousel .candidate-card { width: min(calc(100% - 92px), 570px); grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .candidates-carousel .candidate-card-visual,
  .candidates-carousel .candidate-card-visual > .candidate-photo { min-height: 470px; }
  .candidates-carousel .candidate-card-content { padding: 32px; }
  .candidates-carousel .candidate-card.is-prev { transform: translateX(calc(-50% - 43px)) translateY(23px) scale(.93) rotate(-2.2deg); }
  .candidates-carousel .candidate-card.is-next { transform: translateX(calc(-50% + 43px)) translateY(23px) scale(.93) rotate(2.2deg); }
  .candidates-carousel .candidate-card.is-away-left { transform: translateX(calc(-50% - 90px)) translateY(42px) scale(.86) rotate(-3.5deg); }
  .candidates-carousel .candidate-card.is-away-right { transform: translateX(calc(-50% + 90px)) translateY(42px) scale(.86) rotate(3.5deg); }
  .process-grid { grid-template-columns: 1fr; gap: 50px; }
  .process-intro { max-width: 550px; }
  .steps { max-width: 650px; }
  .integrity-card { padding: 43px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 45px; }
  .footer-links { grid-column: 2; }
  .footer-top > p { grid-row: span 2; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 72px 0; }
  .brand-text small { display: none; }
  .hero { padding-top: 96px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-lead { font-size: 13.5px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-stats { justify-content: space-between; margin-top: 38px; }
  .stat { min-width: 0; padding: 0 16px; }
  .stat strong { font-size: 23px; }
  .stat > span { font-size: 8px; }
  .stat-secure { display: none; }
  .hero-stage { width: 100%; height: 500px; margin-top: 15px; }
  .candidate-showcase { width: min(83vw, 325px); height: 470px; }
  .showcase-info h2 { font-size: 32px; }
  .float-tag-one { left: -4px; top: 110px; }
  .float-tag-two { right: -3px; bottom: 110px; }
  .showcase-dots { right: 0; }
  .trust-row { gap: 11px; font-size: 7.5px; }
  .trust-row i { flex-shrink: 0; }
  .section-head h2, .process-intro h2 { font-size: 43px; }
  .candidates-grid.is-loading, .loading-state { grid-template-columns: 1fr; }
  .candidate-card { max-width: 510px; margin-inline: auto; }
  .candidates-carousel .candidate-card { width: calc(100% - 30px); }
  .candidates-carousel .candidate-card-visual,
  .candidates-carousel .candidate-card-visual > .candidate-photo { min-height: 390px; }
  .candidates-carousel .candidate-card-content { padding: 27px 24px 25px; }
  .candidates-carousel .candidate-title-row h3 { font-size: 33px; }
  .candidates-carousel .vision-block p { font-size: 19px; }
  .candidates-carousel .candidate-card.is-prev { transform: translateX(calc(-50% - 17px)) translateY(17px) scale(.95) rotate(-1.8deg); }
  .candidates-carousel .candidate-card.is-next { transform: translateX(calc(-50% + 17px)) translateY(17px) scale(.95) rotate(1.8deg); }
  .candidates-carousel .candidate-card.is-away-left { transform: translateX(calc(-50% - 52px)) translateY(34px) scale(.9) rotate(-3deg); }
  .candidates-carousel .candidate-card.is-away-right { transform: translateX(calc(-50% + 52px)) translateY(34px) scale(.9) rotate(3deg); }
  .carousel-footer { gap: 15px; margin-top: 25px; }
  .carousel-arrow { width: 47px; height: 47px; }
  .carousel-position { min-width: 170px; }
  .carousel-position > span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .candidate-skeleton { min-height: 600px; padding-top: 390px; }
  .process-bg-word { top: -30px; font-size: 150px; }
  .step { grid-template-columns: 48px 1fr; gap: 17px; }
  .step-num { width: 48px; height: 48px; }
  .step-icon { display: none; }
  .steps::before { left: 23px; }
  .integrity-card { grid-template-columns: 1fr; gap: 24px; padding: 31px 27px; }
  .integrity-card > p { grid-column: auto; }
  .integrity-mark { width: 65px; height: 65px; }
  .integrity-mark svg { width: 33px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-top > p, .footer-links { grid-column: auto; grid-row: auto; }
  .footer-links { grid-template-columns: repeat(3, auto); justify-content: start; }
  .footer-top > p { font-size: 22px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { width: 100%; max-height: 94vh; padding: 30px 22px; border-radius: 25px 25px 0 0; }
  .modal-close { top: 16px; right: 16px; }
  .modal h2 { font-size: 33px; }
  .form-split, .form-grid { grid-template-columns: 1fr; gap: 0; }
  .modal-center { padding: 50px 24px 42px; }
  .success-modal h2 { font-size: 37px; }
  .admin-nav .navbar-inner { width: calc(100% - 24px); }
  .admin-nav .brand { min-width: 0; gap: 8px; }
  .admin-nav .brand-logo { width: 45px; height: 45px; flex: 0 0 auto; }
  .admin-nav .brand-text strong { overflow: hidden; max-width: 120px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .admin-nav .nav-links { flex-shrink: 0; }
  .admin-nav .nav-links > a { display: none; }
  .admin-nav #logoutBtn { min-height: 40px; padding-inline: 13px; }
  .admin-main { width: 100%; gap: 16px; padding: 28px 14px 60px; }
  .admin-page-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 4px; }
  .admin-page-head h1 { font-size: clamp(35px, 11vw, 43px); }
  .admin-page-head p { max-width: 100%; font-size: 11px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { min-height: 108px; padding: 18px 17px; border-radius: 16px; }
  .stat-card:last-child { grid-column: 1 / -1; min-height: 102px; }
  .stat-card-value { margin-top: 9px; font-size: 31px; }
  .stat-card-name { font-size: 22px; }
  .panel { padding: 19px 16px; border-radius: 17px; }
  .panel-head { flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
  .panel-head h2 { min-width: 0; }
  .panel-note { margin-bottom: 17px; padding: 11px 12px; }
  .edit-mode-note { margin-bottom: 17px; padding: 12px; }
  .photo-uploader { align-items: flex-start; padding: 11px; }
  .photo-preview { width: 62px; height: 74px; }
  .photo-actions { min-width: 0; flex: 1; }
  .photo-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .photo-buttons .btn { width: 100%; min-height: 40px; padding-inline: 8px; }
  .photo-buttons #removePhotoBtn { grid-column: 1 / -1; }
  .candidate-form-panel #candidateFormSubmit { width: 100%; min-height: 46px; }
  .admin-body .form-group input,
  .admin-body .form-group textarea { font-size: 16px; }
  .admin-candidate { display: grid; grid-template-columns: 43px minmax(0, 1fr); align-items: start; }
  .admin-candidate .ac-info { min-width: 0; }
  .admin-candidate .ac-info span { white-space: normal; line-height: 1.55; }
  .admin-candidate .ac-votes { grid-column: 2; justify-self: start; margin: -5px 0 2px; }
  .ac-actions { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 3px; }
  .ac-actions .btn { width: 100%; min-height: 42px; }
  .results-chart { gap: 10px; }
  .result-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fdfafa; }
  .result-name { text-align: left; }
  .result-bar-wrap { grid-column: 1 / -1; grid-row: 2; height: 15px; }
  .result-count { grid-column: 2; grid-row: 1; align-self: center; }
  .admin-body .table-wrap { overflow: visible; }
  .admin-body .table,
  .admin-body .table tbody,
  .admin-body .table tr,
  .admin-body .table td { display: block; width: 100%; }
  .admin-body .table thead { display: none; }
  .admin-body .table tbody { display: grid; gap: 11px; }
  .admin-body .table tr { padding: 5px 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(31,8,13,.04); }
  .admin-body .table td { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #f0e9ea; }
  .admin-body .table td::before { content: attr(data-label); color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .admin-body .table td:last-child { display: block; padding: 11px 0 9px; border-bottom: 0; }
  .admin-body .table td:last-child::before { display: block; margin-bottom: 8px; }
  .verification-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; white-space: normal; }
  .verification-actions.is-single { grid-template-columns: 1fr; }
  .verification-actions .btn { width: 100%; min-height: 42px; }
  .admin-body .footer { padding: 20px 0; text-align: center; }
  .login-card { padding: 38px 25px 30px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 45px; }
  .hero-stage { height: 455px; }
  .candidate-showcase { height: 430px; }
  .float-tag { display: none; }
  .trust-row { justify-content: space-between; }
  .trust-row i { display: none; }
  .candidates-carousel .candidate-card-visual,
  .candidates-carousel .candidate-card-visual > .candidate-photo { min-height: 350px; }
  .carousel-footer { gap: 10px; }
  .carousel-arrow { width: 44px; height: 44px; }
  .carousel-position { min-width: 140px; }
  .admin-main { padding-inline: 11px; }
  .panel { padding-inline: 14px; }
  .photo-uploader { flex-direction: column; }
  .photo-preview { width: 72px; height: 86px; }
  .photo-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-reveal, .reveal { opacity: 1; transform: none; }
}
