:root {
  --red: #e30613;
  --red-dark: #c90010;
  --black: #171717;
  --gray: #62666b;
  --gray-light: #ecedef;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: Poppins, system-ui, sans-serif;
  color: var(--black);
  background: var(--white);
}

a {
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 96px;
  background: var(--white);
}

.header-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo img {
  display: block;
  height: 76px;
  width: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  padding: 8px 0;
}

.nav a.is-active {
  color: var(--red);
  box-shadow: inset 0 -2px 0 var(--red);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 8px 16px 8px 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 45fr 55fr;
  grid-template-areas:
    "copy photo"
    "metrics photo";
  align-items: stretch;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.curve {
  position: absolute;
  border-radius: 50%;
}

.curve-red {
  width: 520px;
  height: 520px;
  right: -120px;
  bottom: -180px;
  background: var(--red);
  opacity: 0.05;
}

.curve-gray {
  width: 380px;
  height: 380px;
  right: 18%;
  top: 18%;
  background: var(--gray-light);
  opacity: 0.7;
}

.hero-city {
  display: none;
}

.ballot-line {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}

.hero-copy,
.hero-photo {
  position: relative;
  z-index: 1;
}

.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 24px 8px 0;
  animation: fade-left 0.9s ease both;
}

.kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
}

.kicker i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--black);
}

h1 span {
  color: var(--red);
}

.role {
  margin: 18px 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.46em;
  text-transform: uppercase;
}

.role::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 12px;
  background: var(--red);
}

.lead {
  margin: 0;
  max-width: 500px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-ghost {
  background: var(--white);
  color: var(--black);
  border: 1px solid #d7d8db;
}

.btn-ghost:hover {
  border-color: var(--black);
}

.metrics {
  grid-area: metrics;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 18px 24px 28px 0;
  max-width: 520px;
  border-top: 1px solid var(--gray-light);
  align-self: start;
}

.metrics li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-right: 1px solid var(--gray-light);
}

.metrics li:first-child {
  padding-left: 0;
}

.metrics li:last-child {
  border-right: 0;
  padding-right: 0;
}

.metrics svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  flex-shrink: 0;
}

.metrics span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
}

.hero-photo {
  grid-area: photo;
  display: grid;
  place-items: end center;
  animation: fade-in 1s ease 0.15s both;
}

.hero-photo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  object-fit: contain;
  object-position: bottom center;
  margin: 0 auto;
}

.side-label {
  position: absolute;
  right: 0;
  top: 28%;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gray);
}

.side-label::after {
  content: "";
  display: block;
  width: 2px;
  height: 28px;
  margin: 12px auto 0;
  background: var(--red);
}

@keyframes fade-left {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1366px) {
  h1 {
    font-size: clamp(3rem, 6vw, 5.6rem);
  }

  .hero-photo img {
    max-height: 72vh;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .cta {
    display: inline-flex;
    font-size: 11px;
    padding: 7px 10px;
    gap: 6px;
    justify-self: end;
  }

  .cta span br {
    display: none;
  }

  .cta svg {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 40px;
    height: 40px;
    place-content: center;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--black);
  }

  .nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    padding: 8px 24px 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "photo"
      "metrics";
    min-height: auto;
    width: calc(100% - 48px);
    padding: 8px 0 32px;
  }

  .hero-copy {
    padding: 16px 0 8px;
  }

  .hero-photo {
    min-height: 420px;
    margin-top: 12px;
  }

  .hero-photo img {
    max-height: 70vh;
    width: auto;
    margin-inline: auto;
    object-position: bottom center;
  }

  .metrics {
    grid-template-columns: 1fr;
    max-width: none;
    padding: 0;
  }

  .metrics li {
    border-right: 0;
    border-bottom: 1px solid var(--gray-light);
    padding: 12px 0;
  }

  .side-label {
    display: none;
  }

  .hero-city {
    width: 70%;
    opacity: 0.08;
  }
}

@media (max-width: 390px) {
  .logo img {
    height: 62px;
  }

  .header {
    height: 84px;
  }

  .header-inner,
  .hero {
    width: calc(100% - 32px);
    padding-left: 0;
    padding-right: 0;
  }
}

.page-section {
  scroll-margin-top: 104px;
  padding: 88px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
}

.page-alt {
  background: var(--gray-light);
  border-top: 0;
}

.page-wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.page-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-lead,
.prose p,
.proposal-grid p {
  color: var(--gray);
  line-height: 1.6;
  max-width: 34rem;
}

.split-page {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.proposal-grid {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.proposal-grid li {
  padding: 24px;
  border-top: 3px solid var(--red);
  background: var(--gray-light);
}

.proposal-grid li:last-child {
  grid-column: span 2;
}

.proposal-grid span {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.proposal-grid h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid #d5d7db;
  background: var(--white);
}

.card.contact {
  grid-template-columns: 1fr 1fr;
}

.card label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.card .full,
.card .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.card input,
.card textarea {
  font: inherit;
  color: var(--black);
  padding: 12px 14px;
  border: 1px solid #cfd2d6;
  border-radius: 8px;
  background: #f3f4f5;
}

.card input::placeholder,
.card textarea::placeholder {
  color: #8b9096;
}

.card input:focus,
.card textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}

.status {
  margin: 0;
  color: var(--gray);
}

.result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.result-box {
  padding: 12px 14px;
  border: 1px solid #d5d7db;
  background: var(--gray-light);
}

.result-box-full,
.result-codes {
  grid-column: 1 / -1;
}

.result-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.result-value {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  font-size: 1.05rem;
}

.result-box .result-label {
  color: var(--gray);
}

.result-tile {
  padding: 16px 14px;
  text-align: center;
}

.result-tile .result-label,
.result-tile .result-value {
  color: var(--white);
}

.result-tile .result-value {
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.result-tile-red {
  background: var(--red);
}

.result-tile-black {
  background: var(--black);
}

.footer {
  padding: 28px 0;
  background: var(--black);
  color: #c5c7ca;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: #fff;
  padding: 8px 12px;
}

.note {
  font-size: 13px;
  color: var(--gray);
  max-width: 34rem;
}

@media (max-width: 900px) {
  .split-page,
  .proposal-grid,
  .card.contact {
    grid-template-columns: 1fr;
  }

  .result {
    grid-template-columns: 1fr;
  }

  .proposal-grid li:last-child {
    grid-column: auto;
  }
}
