:root {
  --blue: #0000ff;
  --ink: #13132b;
  --muted: #656576;
  --line: #dedee8;
  --soft: #f0f0ff;
  --lime: #d9f9a5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: #fafafc;
  color: var(--ink);
  font: 16px/1.65 'DM Sans', sans-serif;
}

::selection {
  background: var(--blue);
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #9999ff;
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1320px, 90%);
  margin: auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  z-index: 70;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background: #fafafcf5;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  z-index: 40;
}

header.scrolled {
  box-shadow: 0 8px 30px #14143c0a;
}

nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font: 800 21px/1 Manrope, sans-serif;
  letter-spacing: -1px;
  display: flex;
  gap: 11px;
  align-items: center;
}

.brand small {
  font: 500 9px/1.5 'DM Sans', sans-serif;
  letter-spacing: 1.55px;
  margin-top: 7px;
  display: block;
}

.brandmark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 30px;
  color: var(--blue);
  transition: transform 0.5s;
}

.brand:hover .brandmark {
  transform: rotate(90deg);
}

.navlinks {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.navlinks a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.navlinks a:after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.navlinks a:hover:after,
.navlinks a[aria-current]:after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  background: var(--blue);
  color: white;
  padding: 14px 25px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: #2525ca;
  transform: translateY(-3px);
}

.btn:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #fff3, transparent);
  transform: translateX(-120%);
  transition: transform 0.6s;
}

.btn:hover:after {
  transform: translateX(120%);
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid #c9c9d7;
}

.btn.secondary:hover {
  background: var(--soft);
  border-color: var(--blue);
}

.btn.btn-sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}

.menu {
  display: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  align-items: center;
  gap: 25px;
  padding: 65px 0 60px;
  position: relative;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 1.8px;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow:before {
  content: '';
  height: 7px;
  width: 7px;
  background: currentColor;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  margin: 38px 0 15px;
}

.hero h1 {
  font-size: clamp(52px, 6.4vw, 96px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.99;
}

.hero h1 > span:not(.hero-period) {
  color: var(--blue);
  white-space: nowrap;
  font-size: 0.81em;
}

.hero-period {
  color: var(--blue);
}

.hero p {
  max-width: 440px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 26px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 27px;
}

.mini-marks {
  display: flex;
}

.mini-marks i {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #dcdcf5;
  border-radius: 50%;
  color: var(--blue);
  font-style: normal;
  background: #fafafc;
  margin-left: -5px;
}

.mini-marks i:first-child {
  margin-left: 0;
}

.art {
  height: 535px;
  background: var(--blue);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 220px 220px 8px 8px;
  transform: rotate(3deg);
  margin: 16px 8px 20px 10px;
  box-shadow: 18px 22px 0 #e6e6fa;
}

.art:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#ffffff12 1px, transparent 1px),
    linear-gradient(90deg, #ffffff12 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(transparent, #000);
}

.art:after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.art svg {
  position: absolute;
  inset: 80px 0 0;
  width: 100%;
  height: 85%;
  filter: drop-shadow(0 20px 20px #00005b55);
  animation: float 6s ease-in-out infinite;
}

.art-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  text-align: center;
  color: white;
  font: 800 38px/0.95 Manrope, sans-serif;
  letter-spacing: -2px;
  transform: rotate(-3deg);
}

.art-stamp {
  position: absolute;
  right: 16px;
  top: 205px;
  border: 1px solid #ffffff88;
  background: #0000d9;
  padding: 12px;
  color: white;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1.5px;
  z-index: 2;
  transform: rotate(9deg);
}

.art-stamp b {
  font-size: 11px;
}

.float-tag {
  position: absolute;
  left: 20px;
  bottom: 89px;
  background: #f0ffb5;
  color: #151541;
  z-index: 3;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(-8deg);
  animation: tag 5s ease-in-out infinite;
}

.art-footer {
  position: absolute;
  bottom: 19px;
  left: 23px;
  right: 23px;
  color: #ddddff;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1px;
}

.values {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  font-size: 13px;
}

.values b {
  font-size: 20px;
  margin-right: 12px;
  color: var(--blue);
  font-weight: 400;
  vertical-align: middle;
}

/* Sections */
.section {
  padding: 95px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 45px;
  margin-top: 20px;
  font-weight: 800;
}

.serif-word {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -2px;
  text-transform: none;
  color: var(--blue);
  font-size: 1.1em;
}

.section-head p {
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
}

.demo {
  display: inline-flex;
  font-size: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 5px 10px;
  margin-top: 20px;
  border-radius: 3px;
}

/* Candidates (#calon) */
#calon {
  padding-top: 100px;
  padding-bottom: 80px;
}

#calon .section-head {
  align-items: center;
  margin-bottom: 35px;
}

#calon .section-head h2 {
  font-size: 48px;
}

#calon .section-head p {
  border-left: 2px solid var(--blue);
  padding-left: 22px;
  line-height: 1.8;
}

#calon .demo {
  border: 0;
  padding: 0;
  color: #76768a;
  font-size: 12px;
}

.candidate-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.search-box input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d5d5e5;
  background: white;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink);
}

.search-box input:focus {
  border-color: var(--blue);
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-items: stretch;
}

.candidate-empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  background: white;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
}

.candidate {
  position: relative;
  background: white;
  border: 1px solid #dcdcea;
  border-radius: 16px;
  box-shadow: 0 4px 0 #ededf6;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  overflow: hidden;
}

.candidate:hover,
.candidate:focus-within {
  border-color: #9999f3;
  box-shadow: 0 24px 50px #0000ff10;
  transform: translateY(-7px);
}

.candidate-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 23px;
  color: #62627d;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
}

.candidate-spark {
  font-size: 22px;
  color: var(--blue);
  line-height: 1;
}

.portrait {
  height: 300px;
  margin: 0 12px;
  border-radius: 9px;
  background: linear-gradient(145deg, #e9e9ff, #c4c4f5);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.candidate:nth-child(2) .portrait {
  background: linear-gradient(145deg, #e4eaff, #c1d0f2);
}

.candidate:nth-child(3) .portrait {
  background: linear-gradient(145deg, #ece5ff, #cfc2ed);
}

.portrait:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#ffffff44 1px, transparent 1px),
    linear-gradient(90deg, #ffffff44 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(#000, transparent);
  z-index: -1;
}

.portrait:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 70px;
  background: linear-gradient(transparent, #17175228);
  z-index: 2;
  pointer-events: none;
}

.candidate-big-number {
  position: absolute;
  left: 12px;
  top: 0;
  font: 800 138px/1 Manrope, sans-serif;
  letter-spacing: -12px;
  color: #fff9;
  z-index: 0;
  user-select: none;
}

.candidate-orbit {
  position: absolute;
  left: 50%;
  top: 28%;
  width: 255px;
  height: 255px;
  transform: translateX(-50%);
  border: 1px solid #ffffffa0;
  border-radius: 50%;
  z-index: 0;
}

.candidate-orbit:after {
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px solid #ffffff60;
  border-radius: 50%;
}

.portrait svg,
.portrait img.portrait-photo {
  height: 94%;
  width: 95%;
  position: relative;
  z-index: 1;
  transform-origin: bottom;
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.portrait svg {
  filter: saturate(0.8);
}

.portrait img.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.candidate:hover .portrait svg,
.candidate:hover .portrait img.portrait-photo {
  transform: scale(1.045) translateY(-2px);
}

.candidate-portrait-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 9px;
  letter-spacing: 1px;
  z-index: 3;
  text-shadow: 0 1px 3px #19194c;
}

.candidate-number-label {
  position: absolute;
  right: 13px;
  top: 15px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #35356f;
  z-index: 3;
}

.candidate-info {
  padding: 25px 25px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.candidate-focus {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.candidate-focus > span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--blue);
  transform: rotate(45deg);
}

.candidate-info h3 {
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -1.7px;
  margin: 17px 0 14px;
}

.candidate-info .candidate-quote {
  font-size: 15px;
  line-height: 1.7;
  color: #67677f;
  min-height: 60px;
  max-width: 280px;
}

.candidate-priority {
  padding: 17px 0 19px;
  border-top: 1px solid #ebebf2;
  margin-top: 19px;
}

.candidate-priority small {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #818192;
}

.candidate-priority p {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
  color: #343450;
  font-weight: 500;
}

.text-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: auto;
  border: 1px solid #dcdcf4;
  border-radius: 6px;
  padding: 13px 15px;
  background: #f5f5ff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.text-btn .candidate-button-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 22px;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.25s, color 0.25s;
}

.text-btn:hover,
.text-btn:focus-visible {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.text-btn:hover .candidate-button-icon {
  color: white;
  transform: rotate(90deg);
}

/* Comparison Panel */
.compare-panel {
  margin-top: 32px;
  background: white;
  border: 1px solid #cfcfe8;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 16px 40px #0000ff0c;
  animation: enter 0.3s ease;
}

.compare-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.compare-head h3 {
  font-size: 26px;
  margin-top: 8px;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.compare-table th {
  width: 170px;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  background: #f8f8ff;
}

.compare-table thead th {
  background: #13132b;
  color: white;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-transform: none;
}

.compare-table thead th:first-child {
  background: var(--blue);
}

.compare-table ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.compare-table li {
  margin-bottom: 6px;
}

.candidate-section-note {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 30px;
  border-top: 1px solid #e1e1ec;
  padding-top: 22px;
  color: #727285;
}

.candidate-section-note > span:first-child {
  font-size: 24px;
  color: var(--blue);
}

.candidate-section-note p {
  font-size: 12px;
  flex: 1;
}

.candidate-section-note > span:last-child {
  font-size: 10px;
  letter-spacing: 1.3px;
  color: var(--blue);
  white-space: nowrap;
}

/* Manifesto */
.manifesto {
  padding: 74px 0;
  background: var(--blue);
  color: white;
  position: relative;
  overflow: hidden;
}

.manifesto:after {
  content: '✳';
  position: absolute;
  right: 32%;
  top: -85px;
  color: #ffffff10;
  font-size: 330px;
  line-height: 1;
  pointer-events: none;
}

.manifesto .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
  position: relative;
  z-index: 1;
}

.manifesto h2 {
  font-size: 47px;
  margin-top: 20px;
}

.manifesto em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--lime);
}

.manifesto .eyebrow {
  color: #c9c9ff;
}

.manifesto p {
  color: #d5d5ff;
  font-size: 16px;
}

.manifesto strong {
  color: white;
  font-weight: 500;
}

.manifesto-line {
  height: 1px;
  background: #ffffff40;
  margin: 23px 0;
}

.manifesto .manifesto-note {
  font-size: 12px;
  color: #bebeff;
}

/* Committee */
.committee-section {
  background: #eeeef4;
}

.committee-section .section-head {
  align-items: center;
}

.tabs {
  display: flex;
  gap: 5px;
  border: 1px solid #cecedd;
  padding: 5px;
  background: #e6e6ef;
}

.tabs button {
  padding: 10px 19px;
  background: transparent;
  font-size: 13px;
  color: #62627a;
}

.tabs button[aria-pressed='true'] {
  background: var(--blue);
  color: white;
}

.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #cfcfdf;
}

.person {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 20px;
  align-items: center;
  padding: 28px 25px 28px 0;
  border-bottom: 1px solid #cfcfdf;
  transition: background 0.2s;
}

.person:nth-child(even) {
  padding-left: 30px;
  border-left: 1px solid #cfcfdf;
}

.avatar {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  background: #dcdcf0;
  color: var(--blue);
  border-radius: 50%;
  font: 600 18px Manrope, sans-serif;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person h3 {
  font-size: 21px;
  letter-spacing: -0.7px;
}

.person p {
  grid-column: 2;
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

.person small {
  grid-row: 1 / 3;
  grid-column: 3;
  font-size: 9px;
  color: var(--blue);
  writing-mode: vertical-rl;
  letter-spacing: 1px;
}

.person:hover {
  background: #ffffff60;
}

.people-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 22px;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-top: 40px;
}

.step {
  position: relative;
  padding: 35px 25px;
  border-right: 1px solid var(--line);
  transition: background 0.3s;
  min-height: 240px;
}

.step:last-child {
  border-right: 0;
}

.step:before {
  content: '✳';
  display: block;
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 24px;
}

.step-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-weight: 700;
}

.step-badge.upcoming {
  background: #ededf6;
  color: #5b5b70;
}

.step-badge.active {
  background: var(--blue);
  color: white;
}

.step-badge.done {
  background: var(--lime);
  color: #13132b;
}

.step small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}

.step h3 {
  font-size: 22px;
  margin: 12px 0;
}

.step p {
  font-size: 14px;
  color: var(--muted);
}

.step:hover {
  background: #ededff;
}

/* Simulasi Pemilihan */
.simulasi-section {
  padding-top: 20px;
}

.simulasi-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.simulasi-ballot,
.simulasi-results {
  background: white;
  border: 1px solid #dcdcea;
  border-radius: 16px;
  padding: 28px;
}

.simulasi-ballot h3,
.simulasi-results h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.simulasi-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.ballot-options {
  display: grid;
  gap: 12px;
}

.ballot-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: #f7f7fc;
  border: 1px solid #dcdcf0;
  border-radius: 10px;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.ballot-btn:hover {
  border-color: var(--blue);
  background: #eeeeff;
  transform: translateX(4px);
}

.ballot-btn.selected {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.ballot-btn small {
  display: block;
  font-size: 12px;
  opacity: 0.78;
}

.simulasi-receipt {
  margin-top: 20px;
  padding: 16px;
  background: #f3ffe0;
  border: 1px solid #c5e88c;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.simulasi-receipt p {
  font-size: 13px;
  color: #2c3a16;
  margin-top: 4px;
}

.results-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.results-head span {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.results-bars {
  display: grid;
  gap: 16px;
}

.result-row-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.result-track {
  height: 10px;
  background: #ededf5;
  border-radius: 999px;
  overflow: hidden;
}

.result-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.results-note {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

/* Ruang Aspirasi */
.aspirasi-section {
  padding-top: 20px;
}

.aspirasi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.aspirasi-form,
.aspirasi-feed {
  background: white;
  border: 1px solid #dcdcea;
  border-radius: 16px;
  padding: 28px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d5e5;
  border-radius: 8px;
  background: #fafafc;
  color: var(--ink);
  font-size: 14px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  background: white;
}

.form-feedback {
  margin-top: 12px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}

.feed-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.feed-head h3 {
  font-size: 20px;
}

.feed-head span {
  font-size: 12px;
  color: var(--muted);
}

.aspirasi-list {
  display: grid;
  gap: 12px;
  max-height: 360px;
  overflow-y: auto;
}

.aspirasi-item {
  padding: 14px 16px;
  border: 1px solid #ebebf5;
  border-radius: 10px;
  background: #fafaff;
}

.aspirasi-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 6px;
}

.aspirasi-item p {
  font-size: 14px;
  color: var(--ink);
}

.aspirasi-item small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.aspirasi-delete {
  background: transparent;
  color: #8c8ca0;
  font-size: 12px;
  padding: 2px 6px;
}

.aspirasi-delete:hover {
  color: #c92a2a;
}

/* FAQ */
.faq-section {
  padding-top: 20px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 75px;
}

.faq-layout h2 {
  font-size: 49px;
  margin: 20px 0;
}

.faq-layout p {
  color: var(--muted);
  font-size: 15px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 23px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:after {
  content: '+';
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.faq details[open] summary:after {
  content: '−';
}

.faq details p {
  padding: 16px 30px 0 0;
  font-size: 14px;
  animation: enter 0.3s;
}

/* Closing & Footer */
.closing {
  margin-bottom: 70px;
  background: #11112b;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 65px;
}

.closing h2 {
  font-size: 58px;
  position: relative;
  z-index: 1;
}

.closing .serif-word {
  color: var(--lime);
}

.closing p {
  color: #bcbccd;
  font-size: 14px;
  max-width: 450px;
  margin-top: 22px;
}

.closing .btn {
  background: var(--lime);
  color: #18182e;
  flex-shrink: 0;
}

.closing:after {
  content: '✳';
  position: absolute;
  right: 35px;
  top: -65px;
  font-size: 400px;
  color: #ffffff05;
  line-height: 1;
  pointer-events: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-top p {
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  padding: 23px 0 60px;
}

.footer-bottom a {
  margin-left: 25px;
}

.motion-toggle {
  position: fixed;
  bottom: 16px;
  right: 16px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: #ffffffee;
  color: #43435a;
  border-radius: 30px;
  font-size: 11px;
  z-index: 45;
  box-shadow: 0 5px 15px #00000008;
}

.motion-toggle:before {
  content: 'Ⅱ';
  margin-right: 7px;
  color: var(--blue);
}

body.motion-paused .motion-toggle:before {
  content: '▷';
}

/* Profile Dialog */
dialog {
  width: min(890px, 94vw);
  max-height: 90vh;
  border: 0;
  padding: 0;
  border-radius: 17px;
  overflow: auto;
  color: var(--ink);
  background: #fafafc;
}

dialog::backdrop {
  background: #11112b99;
  backdrop-filter: blur(7px);
}

dialog[open] {
  animation: enter 0.3s;
}

.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  border-radius: 50%;
  background: #eaeafa;
  color: var(--ink);
  z-index: 3;
  width: 36px;
  height: 36px;
  font-size: 21px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  min-height: 550px;
}

.profile-art {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
}

.profile-art:before {
  content: 'HIMIT';
  font: 800 85px/1 Manrope, sans-serif;
  letter-spacing: -7px;
  color: #ffffff18;
  position: absolute;
  top: 115px;
  left: 15px;
}

.profile-art:after {
  content: '';
  width: 300px;
  height: 300px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  position: absolute;
  left: 10px;
  top: 190px;
  pointer-events: none;
}

.profile-art-label {
  position: absolute;
  top: 35px;
  left: 26px;
  color: #d3d3ff;
  font-size: 10px;
  letter-spacing: 2px;
}

#profile-portrait {
  position: relative;
  z-index: 1;
}

#profile-portrait svg,
#profile-portrait img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 10px 12px #00006644);
}

#profile-portrait img {
  max-height: 360px;
  object-fit: cover;
  object-position: top;
}

.profile-art-note {
  position: absolute;
  bottom: 25px;
  left: 26px;
  font-size: 11px;
  color: #c2c2ff;
}

.profile-content {
  padding: 50px 35px 35px;
}

.profile-content .eyebrow {
  font-size: 10px;
}

.profile-content h2 {
  font-size: 39px;
  letter-spacing: -1.7px;
  margin: 16px 0 8px;
}

.profile-meta {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.profile-content #profile-tagline {
  font-size: 15px;
  color: #737388;
}

.profile-vision-panel {
  padding: 22px;
  background: #eeeeff;
  border-left: 2px solid var(--blue);
  margin-top: 22px;
  border-radius: 0 7px 7px 0;
}

.profile-vision-panel h3 {
  font-size: 15px;
  color: var(--blue);
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.profile-vision-panel p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.profile-content > h3 {
  font-size: 18px;
  margin: 22px 0 12px;
}

.profile-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-content li {
  position: relative;
  padding: 0 0 10px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.profile-content li:before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
}

.profile-actions {
  margin-top: 20px;
}

.profile-content .demo {
  font-size: 10px;
  margin-top: 16px;
}

.skip {
  position: absolute;
  top: -100px;
  left: 15px;
  z-index: 100;
  background: white;
  padding: 10px;
}

.skip:focus {
  top: 15px;
}

[hidden] {
  display: none !important;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-pending.is-visible {
  opacity: 1;
  transform: none;
}

.filter-enter {
  animation: enter 0.35s both;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-13px) rotate(0deg);
  }
}

@keyframes tag {
  0%, 100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(7px);
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.motion-paused *,
body.motion-paused *:before,
body.motion-paused *:after {
  animation: none !important;
  transition: none !important;
}

body.motion-paused .reveal-pending {
  opacity: 1;
  transform: none;
}

html:has(body.motion-paused) {
  scroll-behavior: auto;
}

/* Responsive */
@media (min-width: 1450px) {
  .hero {
    min-height: 730px;
  }
  .hero h1 {
    font-size: 100px;
  }
  .art {
    height: 580px;
  }
}

@media (max-width: 1000px) {
  .navlinks {
    gap: 16px;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero h1 {
    font-size: 65px;
  }
  .art {
    height: 465px;
  }
  .art-label {
    font-size: 33px;
    top: 55px;
  }
  .art-stamp {
    top: 190px;
    font-size: 8px;
  }
  .section-head h2,
  #calon .section-head h2 {
    font-size: 38px;
  }
  .candidate-grid {
    gap: 16px;
  }
  .candidate .portrait {
    height: 245px;
    margin: 0 9px;
  }
  .candidate-big-number {
    font-size: 110px;
  }
  .candidate-info {
    padding: 22px 18px 18px;
  }
  .candidate-info h3 {
    font-size: 30px;
  }
  .manifesto .wrap {
    gap: 40px;
  }
  .manifesto h2 {
    font-size: 38px;
  }
  .person {
    column-gap: 14px;
  }
  .person h3 {
    font-size: 18px;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(2) {
    border-right: 0;
  }
  .step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .simulasi-grid,
  .aspirasi-layout {
    grid-template-columns: 1fr;
  }
  .closing {
    padding: 45px;
  }
  .closing h2 {
    font-size: 46px;
  }
  .faq-layout {
    gap: 40px;
  }
  .profile-content {
    padding: 48px 28px 28px;
  }
}

@media (max-width: 650px) {
  .wrap {
    width: 89%;
  }
  nav {
    height: 75px;
  }
  .brand {
    font-size: 19px;
  }
  .brand small {
    font-size: 8px;
  }
  .brandmark {
    width: 31px;
  }
  .menu {
    display: block;
    background: #eaeaff;
    padding: 8px 13px;
    color: var(--blue);
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: #fafafc;
    padding: 20px 6%;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 12px;
  }
  .navlinks.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 37px 0 45px;
    gap: 35px;
  }
  .hero-kicker {
    margin-top: 29px;
    font-size: 10px;
  }
  .hero h1 {
    font-size: clamp(46px, 11.5vw, 72px);
  }
  .hero p {
    font-size: 15px;
    margin-top: 23px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .art {
    height: 430px;
    max-width: 380px;
    width: 90%;
    margin: 10px auto 20px;
    border-radius: 180px 180px 4px 4px;
    box-shadow: 12px 14px 0 #e6e6fa;
  }
  .art svg {
    top: 55px;
    height: 90%;
  }
  .art-label {
    top: 46px;
    font-size: 33px;
  }
  .art-stamp {
    top: 170px;
  }
  .float-tag {
    bottom: 65px;
    font-size: 11px;
  }
  .values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 0;
    font-size: 11px;
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 28px;
  }
  .section-head h2,
  #calon .section-head h2 {
    font-size: 34px;
  }
  #calon .section-head p {
    padding-left: 16px;
    font-size: 14px;
    margin-top: 20px;
  }
  .candidate-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .candidate .portrait {
    height: 310px;
    margin: 0 12px;
  }
  .candidate:hover {
    transform: none;
  }
  .manifesto {
    padding: 48px 0;
  }
  .manifesto .wrap {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .manifesto h2 {
    font-size: 36px;
  }
  .tabs {
    width: max-content;
    margin-top: 20px;
  }
  .people {
    grid-template-columns: 1fr;
  }
  .person {
    padding: 23px 0;
    grid-template-columns: 60px 1fr auto;
  }
  .person:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .timeline {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .step {
    padding: 25px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .step:last-child {
    border-bottom: 0;
  }
  .step:before {
    float: right;
    font-size: 25px;
    margin: 0;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-layout h2 {
    font-size: 42px;
  }
  .closing {
    padding: 35px 27px;
    display: block;
    margin-bottom: 45px;
  }
  .closing h2 {
    font-size: 40px;
  }
  .closing .btn {
    margin-top: 26px;
  }
  .footer-top {
    display: block;
  }
  .footer-top p {
    margin-top: 20px;
  }
  .footer-bottom {
    display: block;
    padding-bottom: 70px;
  }
  .footer-bottom div {
    margin-top: 12px;
  }
  .footer-bottom a {
    margin: 0 22px 0 0;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-art {
    height: 240px;
    min-height: 0;
    padding: 0;
    justify-content: end;
    align-items: center;
  }
  .profile-art:before {
    font-size: 100px;
    top: 65px;
    left: 25px;
  }
  .profile-art:after {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
  }
  #profile-portrait {
    height: 220px;
    width: 235px;
  }
  .profile-content {
    padding: 30px 24px;
  }
  .profile-content h2 {
    font-size: 34px;
  }
  #profile .dialog-close {
    position: sticky;
    float: right;
    top: 12px;
    right: 12px;
    margin: 12px 12px -48px 0;
    background: white;
  }
}

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