:root {
  --navy: #0c2340;
  --lime: #c6d82f;
  --ink: #0c2340;
  --muted: #5c6b7a;
  --paper: #ffffff;
  --line: #d8dee6;
  --dots: #d5dbe3;
  --sans: "Montserrat", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 9; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.dots {
  background-image: radial-gradient(var(--dots) 1.1px, transparent 1.2px);
  background-size: 16px 16px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 8;
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-top: max(12px, env(safe-area-inset-top));
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.top .wrap {
  width: min(1180px, 100%);
}
.top-inner {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 10px 0;
  overflow: visible;
}
.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  overflow: visible;
  text-decoration: none;
}
.brand .logo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1667 / 452;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: nowrap;
}
.nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.nav a[aria-current="page"], .nav a:hover { color: var(--lime); }
.nav-btn {
  display: none;
  border: 1px solid var(--navy);
  background: #fff;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  flex-shrink: 0;
}
.stamp {
  display: grid;
  place-items: center;
  min-width: 86px;
  min-height: 64px;
  border: 2px solid var(--navy);
  text-decoration: none;
  padding: 6px 10px;
  line-height: 1.05;
  text-align: center;
  flex-shrink: 0;
}
.stamp span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.stamp strong {
  color: var(--lime);
  font-size: 18px;
  font-weight: 900;
}

.hero { padding: 28px 0 20px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 900;
}
.hero h1 span {
  display: block;
  color: var(--lime);
  font-size: 1.12em;
}
.lead { font-size: 16px; color: var(--muted); max-width: 38ch; }
.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}
.btn.lime { background: var(--lime); color: var(--navy); }
.btn.ghost { background: #fff; color: var(--lime); border: 2px solid var(--navy); }
.hero-shot { margin: 0; }
.hero-clip {
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  overflow: hidden;
  min-height: 280px;
}
.hero-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}
.hero-shot figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  padding: 18px 0 48px;
}
a.value {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px 14px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--lime);
  background: #fff;
  box-shadow: 0 10px 0 rgba(12, 35, 64, 0.06), 0 18px 32px rgba(12, 35, 64, 0.1);
  transform: perspective(900px) rotateX(0deg);
  transform-origin: 50% 100%;
  transition: transform 0.55s ease, opacity 0.55s ease, box-shadow 0.55s ease;
}
a.value.will-reveal {
  transform: perspective(900px) rotateX(10deg) translateY(22px);
  opacity: 0;
}
a.value.is-in {
  transform: perspective(900px) rotateX(0deg) translateY(0);
  opacity: 1;
}

@media (min-width: 901px) {
  a.value.will-reveal:nth-child(1) { transition-delay: 0ms; }
  a.value.will-reveal:nth-child(2) { transition-delay: 80ms; }
  a.value.will-reveal:nth-child(3) { transition-delay: 160ms; }
  a.value.will-reveal:nth-child(4) { transition-delay: 240ms; }
  a.value.will-reveal:nth-child(5) { transition-delay: 320ms; }
}
a.value:hover h2 { color: var(--navy); }
a.value:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}
.value-num {
  display: block;
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.value h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-transform: none;
}
.value p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ico {
  display: block;
  width: 52px;
  color: var(--lime);
}
.ico svg { width: 52px; height: 34px; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.volte-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 72px;
}
.vote-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}
.clock {
  background: var(--navy);
  color: #fff;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.clock-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.clock-remain {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 0 0 12px;
}
.clock-remain[hidden], .clock-note[hidden] { display: none; }
.clock-unit {
  display: grid;
  gap: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9d2dc;
}
.clock-unit strong {
  color: var(--lime);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.clock-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  max-width: 36ch;
}
.volte-band {
  background: var(--lime);
  color: #fff;
  clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px 22px 0;
  margin: 0;
}
.volte-band p {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.volte-band strong { font-weight: 900; }
.volte-bar {
  background: var(--navy);
  color: #fff;
  margin: 0 -22px;
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-poster {
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 40px auto 80px;
}
.team-head { padding: 0 0 8px; }
.team-banner {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  padding: 18px 56px 18px 22px;
  margin: 0 0 16px;
}
.team-banner span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.team-banner strong {
  display: block;
  color: var(--lime);
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.roster {
  list-style: none;
  padding: 12px 0 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(9, auto);
  grid-auto-flow: column;
  column-gap: 48px;
  justify-content: center;
}
.roster-item {
  display: grid;
  grid-template-columns: 36px max-content;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--lime);
}
.roster-item span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--lime);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.roster-item strong { font-size: 15px; font-weight: 800; }

.pagehead { padding: 48px 0 8px; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--lime);
  font-weight: 800;
  margin: 0 0 10px;
}
h1 { font-size: clamp(36px, 6vw, 58px); line-height: 0.95; letter-spacing: -0.04em; margin: 0 0 14px; }
.topics, .cand-list, .steps, .contact { padding: 12px 0 72px; }
.topic, .step, .cand {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  margin: 0 0 12px;
}
.topic {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 20px;
  align-items: start;
  scroll-margin-top: 108px;
}
.topic-num {
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.04em;
  padding-top: 2px;
}
.topic h2 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.topic-lede {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 28ch;
}
.topic-copy > p:last-child { margin: 0; }
.step h2, .cand h2 { margin: 0 0 8px; letter-spacing: -0.03em; }
.p + .p { display: block; margin-top: 10px; }
.cand { padding: 0; overflow: hidden; }
.cand summary {
  display: grid;
  grid-template-columns: 48px 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}
.cand summary::-webkit-details-marker { display: none; }
.num { font-weight: 900; font-size: 22px; color: var(--lime); }
.ava {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef2f6;
}
.ava.ph { display: grid; place-items: center; font-weight: 800; color: var(--muted); }
.role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin: 0 0 4px !important;
}
.more { padding: 0 18px 20px 152px; color: var(--muted); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.step span { font-weight: 900; color: var(--lime); }
.socials a { color: var(--navy); font-weight: 700; }
.socials.big { font-size: 22px; }
.foot {
  border-top: 1px solid var(--line);
  padding: 32px max(24px, env(safe-area-inset-right)) calc(56px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: #f7f8fa;
  overflow: visible;
}
.foot .wrap { width: min(1180px, 100%); }
.foot-inner { display: grid; gap: 14px; overflow: visible; }
.foot .brand { padding: 4px 0 8px; }
.foot .brand .logo {
  width: 280px;
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1667 / 452;
  object-fit: contain;
}
.fine { color: var(--muted); font-size: 13px; }

.version-update-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px;
  text-align: center;
  z-index: 99999;
  cursor: pointer;
  font-weight: 700;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.version-update-bar.visible { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  a.value, a.value.will-reveal, a.value.is-in {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .top-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 72px;
    padding: 14px 0 16px;
    align-items: center;
  }
  .nav-btn { display: block; justify-self: end; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    flex-direction: column;
  }
  .nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  body[data-page="home"] main {
    display: flex;
    flex-direction: column;
  }
  body[data-page="home"] .volte-wrap {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 16px 8px;
  }
  body[data-page="home"] .hero { order: 2; }
  body[data-page="home"] .values { order: 3; }
  .vote-block { grid-template-columns: 1fr; }
  .brand .logo {
    width: min(168px, 44vw);
    max-width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1667 / 452;
    object-fit: contain;
    object-position: left center;
  }
  .foot .brand .logo {
    width: min(220px, 72vw);
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 4px 0 10px;
    object-fit: contain;
  }
  .values { padding: 18px 0 calc(56px + env(safe-area-inset-bottom)); }
  .stamp {
    min-width: 62px;
    min-height: 46px;
    padding: 4px 8px;
    margin-right: 2px;
  }
  .roster {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    width: min(420px, 100%);
    column-gap: 0;
  }
  .roster-item { min-width: 0; grid-template-columns: 36px 1fr; }
  .team-poster { width: min(420px, calc(100% - 32px)); }
  .hero-clip { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .topic { grid-template-columns: 48px 1fr; gap: 8px 14px; padding: 20px; }
  .topic-num { font-size: 24px; }
  .topic-lede { max-width: none; }
  .cand summary { grid-template-columns: 32px 56px 1fr; }
  .ava { width: 56px; height: 56px; }
  .more { padding-left: 18px; }
}
