:root {
  --blue-950: #081d39;
  --blue-900: #123864;
  --blue-800: #1b5797;
  --blue-700: #387ab5;
  --yellow: #f4df62;
  --yellow-deep: #cdb943;
  --green: #4cae73;
  --cream: #f5f3ee;
  --paper: #fffef9;
  --white: #ffffff;
  --ink: #14243a;
  --muted: #647185;
  --line: rgba(7, 20, 38, 0.12);
  --shadow: 0 26px 70px rgba(8, 29, 57, 0.11);
  --display: "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 82px;
  color: var(--white);
  background: rgba(8, 29, 57, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  transition: background 250ms ease, box-shadow 250ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 29, 57, 0.96);
  box-shadow: 0 12px 36px rgba(2, 15, 34, 0.18);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.header-actions,
.menu-socials,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-number {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.34rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.icon-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: 180ms ease;
}

.icon-link:hover,
.icon-link:focus-visible {
  color: var(--blue-950);
  background: var(--yellow);
  border-color: var(--yellow);
}

.icon-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.icon-link:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.menu-button {
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-content: center;
  gap: 5px;
  color: var(--blue-950);
  background: var(--yellow);
  border: 0;
  border-radius: 12px;
  transition: transform 180ms ease, background 180ms ease;
}

.menu-button:hover {
  transform: translateY(-2px);
  background: #fff0a3;
}

.menu-button span {
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.menu-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(1, 12, 31, 0.66);
  backdrop-filter: blur(8px);
}

.menu-panel {
  width: min(500px, 100%);
  height: 100%;
  padding: 34px clamp(24px, 6vw, 56px) 42px;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 102, 207, 0.72), transparent 40%),
    var(--blue-950);
  box-shadow: -30px 0 70px rgba(0, 0, 0, 0.32);
  animation: menuIn 220ms ease-out both;
  overflow-y: auto;
}

@keyframes menuIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.menu-top img {
  width: 220px;
}

.menu-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.menu-nav {
  display: grid;
  margin: 34px 0;
}

.menu-nav a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.menu-nav a span {
  color: var(--yellow);
  font-family: var(--body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.menu-nav a:hover,
.menu-nav a:focus-visible {
  color: var(--yellow);
}

.menu-vote-link {
  margin-top: auto;
}

.menu-socials {
  justify-content: flex-start;
  margin-top: 24px;
}

.menu-socials a,
.footer-socials a {
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 730px;
  padding: 138px 0 86px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 32%, rgba(37, 96, 157, 0.46), transparent 34%),
    linear-gradient(125deg, #07172d 0%, var(--blue-950) 50%, #153d67 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(125deg, transparent 0 88px, rgba(255, 255, 255, 0.018) 89px 90px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: min(64vw, 760px);
  aspect-ratio: 1;
  right: -12%;
  top: 11%;
  border: 1px solid rgba(244, 223, 98, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(244, 223, 98, 0.027), 0 0 0 180px rgba(244, 223, 98, 0.018);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 8vw, 96px);
}

.eyebrow,
.step-label,
.preview-kicker {
  margin: 0 0 15px;
  color: var(--blue-800);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

.hero h1,
.section h2,
.support-section h2,
.results-section h2 {
  margin: 0;
  font-family: var(--display);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(3.7rem, 7.7vw, 6.5rem);
}

.hero h1 em {
  display: block;
  color: var(--yellow);
  font-style: normal;
}

.hero-text {
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-text strong {
  color: var(--yellow);
}

.hero-cta-row {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.button {
  min-height: 52px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 11px;
  font-family: var(--display);
  font-size: 0.91rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(252, 235, 8, 0.55);
  outline-offset: 3px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.button-yellow {
  color: var(--blue-950);
  background: var(--yellow);
  box-shadow: 0 12px 30px rgba(252, 235, 8, 0.18);
}

.button-yellow:hover,
.button-yellow:focus-visible {
  background: #fff45a;
}

.button-blue {
  color: var(--white);
  background: var(--blue-800);
}

.button-white {
  color: var(--blue-950);
  background: var(--white);
  border-color: rgba(2, 26, 70, 0.15);
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.button-full {
  width: 100%;
}

.text-action {
  padding: 8px 0;
  color: var(--white);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  font-weight: 800;
}

.privacy-note {
  width: fit-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.88rem;
}

.privacy-note span {
  color: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-number {
  position: absolute;
  z-index: -1;
  top: 1%;
  right: -5%;
  color: rgba(244, 223, 98, 0.15);
  font-family: var(--display);
  font-size: clamp(5.5rem, 11vw, 9rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-2deg);
}

.photo-frame {
  position: relative;
  width: min(425px, 86%);
  height: 540px;
  background: #e8e6e4;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  box-shadow: 0 36px 80px rgba(2, 14, 36, 0.32), 17px 17px 0 rgba(244, 223, 98, 0.8);
  overflow: hidden;
}

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

.hero-candidate-card {
  position: absolute;
  right: -6px;
  bottom: 8px;
  width: min(340px, 80%);
  padding: 19px 23px;
  display: grid;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.96);
  border-left: 5px solid var(--yellow);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-candidate-card span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-candidate-card strong {
  margin-top: 2px;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
}

.hero-candidate-card b {
  color: var(--blue-800);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.bio-copy h2,
.motion-copy h2,
.support-intro h2,
.results-heading h2 {
  font-size: clamp(2.45rem, 5vw, 4.7rem);
}

.section-heading p:last-child,
.bio-copy > p,
.motion-copy > p,
.support-intro > div > p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.colinha-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: start;
  gap: 36px;
}

.candidate-form {
  padding: clamp(18px, 3vw, 30px);
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.candidate-input-card {
  padding: 20px;
  background: #faf9f6;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.candidate-card-heading > div,
.candidate-fixed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.candidate-card-heading span,
.fixed-copy > span {
  font-family: var(--display);
  font-size: 0.94rem;
  font-style: italic;
  text-transform: uppercase;
}

.candidate-card-heading small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.candidate-fields {
  margin-top: 13px;
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 12px;
}

.candidate-fields label,
.photo-adjustments label {
  display: grid;
  gap: 6px;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.candidate-fields input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d7dbe2;
  border-radius: 10px;
  font-size: 1rem;
}

.candidate-fields input:focus {
  border-color: var(--blue-800);
}

.number-label input {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-align: center;
}

.candidate-fixed {
  position: relative;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-950), var(--blue-900));
  border: 0;
  border-bottom: 7px solid var(--yellow);
  overflow: hidden;
}

.candidate-fixed::after {
  content: "✓";
  position: absolute;
  right: 9px;
  top: -29px;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--display);
  font-size: 7rem;
}

.fixed-copy {
  display: grid;
}

.fixed-copy strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
  text-transform: uppercase;
}

.fixed-copy small {
  color: rgba(255, 255, 255, 0.68);
}

.fixed-number {
  position: relative;
  z-index: 1;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1;
}

.clear-button {
  width: fit-content;
  margin: 4px 0 0 auto;
  padding: 8px 0;
  color: var(--blue-800);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.preview-column {
  position: sticky;
  top: 106px;
  padding: clamp(18px, 3vw, 28px);
  color: var(--white);
  background: linear-gradient(155deg, var(--blue-950), #123b64);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.preview-kicker {
  color: var(--yellow);
}

.vote-sheet {
  background: var(--paper);
  border-radius: 18px;
  color: var(--ink);
  overflow: hidden;
}

.vote-sheet-head {
  padding: 23px 20px 20px;
  display: grid;
  justify-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  text-align: center;
  text-transform: uppercase;
}

.vote-sheet-head span,
.vote-sheet-head small {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.vote-sheet-head strong {
  font-family: var(--display);
  font-size: 1.7rem;
  font-style: italic;
  line-height: 1;
}

.vote-sheet-body {
  padding: 13px;
  display: grid;
  gap: 8px;
}

.sheet-row {
  min-height: 64px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid #e2e4e9;
  border-radius: 12px;
}

.sheet-row > div {
  min-width: 0;
  display: grid;
}

.sheet-row span {
  color: var(--blue-800);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sheet-row strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-row b {
  color: #697386;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.07em;
}

.sheet-row-fixed {
  background: #fffdeb;
  border: 3px solid var(--yellow);
}

.sheet-row-fixed strong,
.sheet-row-fixed b {
  color: var(--blue-900);
}

.vote-sheet-footer {
  padding: 11px 15px 14px;
  color: #758092;
  font-size: 0.67rem;
  text-align: center;
}

.download-card {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.download-card > span,
.control-step > span {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.download-card h3,
.control-step h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  text-transform: uppercase;
}

.download-card p,
.control-step p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.action-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.utility-bar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 20px;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  background: #ece5c4;
  border: 1px solid #ded1a0;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(2, 26, 70, 0.12);
}

.utility-bar > div {
  display: grid;
}

.utility-bar span {
  color: var(--blue-800);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.utility-bar strong {
  font-family: var(--display);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-style: italic;
  text-transform: uppercase;
}

.bio-section {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  align-items: center;
  gap: clamp(48px, 7vw, 90px);
}

.bio-gallery {
  min-width: 0;
  overflow: hidden;
  background: var(--blue-950);
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(8, 29, 57, 0.19);
}

.bio-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.bio-gallery-track::-webkit-scrollbar {
  display: none;
}

.bio-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  background: #dce1e7;
}

.bio-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.bio-gallery-controls {
  min-height: 62px;
  padding: 8px 18px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.bio-gallery-controls > div {
  display: flex;
  gap: 8px;
}

.bio-gallery-controls button {
  width: 42px;
  height: 42px;
  color: var(--blue-950);
  background: var(--yellow);
  border: 0;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.bio-gallery-controls button:hover,
.bio-gallery-controls button:focus-visible {
  transform: translateY(-2px);
  background: #fff1a3;
}

.bio-copy > p {
  max-width: 690px;
}

.bio-facts {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bio-facts div {
  padding: 18px 14px;
  display: grid;
  background: var(--white);
  border-top: 3px solid var(--yellow);
  border-radius: 8px;
  box-shadow: 0 13px 35px rgba(2, 26, 70, 0.08);
}

.bio-facts strong {
  color: var(--blue-800);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.bio-facts span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.results-section {
  position: relative;
  padding: 108px max(20px, calc((100vw - 1180px) / 2));
  background: #eaece9;
  overflow: hidden;
}

.results-section::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -250px;
  width: 560px;
  aspect-ratio: 1;
  border: 1px solid rgba(18, 56, 100, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(18, 56, 100, 0.025), 0 0 0 140px rgba(18, 56, 100, 0.017);
  pointer-events: none;
}

.results-inner {
  position: relative;
}

.results-heading {
  display: grid;
  margin-bottom: 42px;
}

.results-heading h2 {
  max-width: 810px;
}

.results-heading .step-label {
  color: var(--blue-800);
}

.results-stats {
  padding: 33px;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 0;
  color: var(--white);
  background: linear-gradient(115deg, #081d39, #153f6e);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.results-stats > div {
  padding: 10px 22px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.results-stats > div:first-child {
  border-left: 0;
  padding-left: 6px;
}

.results-stats strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.results-stats span {
  max-width: 175px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.3;
}

.results-note {
  margin: 14px 0 40px;
  color: #5d6977;
  font-size: 0.79rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.result-card {
  min-height: 272px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid rgba(8, 29, 57, 0.08);
  border-radius: 15px;
  box-shadow: 0 16px 38px rgba(8, 29, 57, 0.045);
  transition: transform 230ms ease, box-shadow 230ms ease;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 55px rgba(8, 29, 57, 0.12);
}

.result-index {
  color: var(--blue-800);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.result-card h3 {
  margin: 20px 0 9px;
  color: var(--blue-950);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.result-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.result-card a,
.results-economy a {
  margin-top: auto;
  color: var(--blue-800);
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.result-card a span,
.results-economy a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.result-card a:hover span,
.results-economy a:hover span {
  transform: translate(2px, -2px);
}

.result-card a + a {
  margin-top: 6px;
}

.projects-list {
  margin-top: 16px;
  background: var(--paper);
  border: 1px solid rgba(8, 29, 57, 0.1);
  border-radius: 15px;
  overflow: hidden;
}

.projects-list summary {
  min-height: 78px;
  padding: 22px clamp(24px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--blue-950);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.summary-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.projects-list[open] .summary-mark {
  transform: rotate(45deg);
}

.projects-list-body {
  padding: 0 clamp(24px, 3vw, 34px) 26px;
}

.projects-list-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.projects-list ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  list-style: none;
}

.projects-list li {
  padding: 16px 0;
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.projects-list li a {
  width: fit-content;
  color: var(--blue-800);
  font-weight: 800;
  text-underline-offset: 3px;
}

.projects-list li span {
  color: var(--muted);
}

.results-economy {
  margin-top: 16px;
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  column-gap: 48px;
  background: #e4dcae;
  border: 1px solid #d5c993;
  border-radius: 15px;
}

.results-economy div {
  grid-row: span 2;
  display: grid;
  gap: 7px;
}

.results-economy span {
  color: var(--blue-800);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.results-economy strong {
  max-width: 430px;
  color: var(--blue-950);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.results-economy p {
  margin: 0 0 14px;
  color: #334355;
  font-size: 0.94rem;
}

.motion-section {
  width: min(1240px, calc(100% - 32px));
  padding: clamp(36px, 7vw, 78px);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(42px, 8vw, 90px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 15%, rgba(45, 107, 162, 0.47), transparent 32%),
    linear-gradient(135deg, var(--blue-950), #123862);
  border-radius: 18px;
  overflow: hidden;
}

.step-label-yellow {
  color: var(--yellow);
}

.motion-copy > p {
  color: rgba(255, 255, 255, 0.7);
}

.video-card {
  width: min(390px, 100%);
  margin: 0 auto;
  background: #e9deb0;
  border: 5px solid var(--white);
  border-radius: 16px;
  box-shadow: 18px 18px 0 rgba(244, 223, 98, 0.78), 0 28px 65px rgba(2, 14, 36, 0.28);
  overflow: hidden;
}

.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--ink);
}

.video-caption {
  padding: 15px 16px;
  display: grid;
  color: var(--blue-950);
}

.video-caption span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-caption strong {
  font-family: var(--display);
  font-weight: 800;
}

.centered-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.flag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.flag-card {
  min-height: 270px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 45px rgba(2, 26, 70, 0.08);
  transition: 180ms ease;
}

.flag-card:hover {
  transform: translateY(-5px);
  border-color: var(--yellow-deep);
}

.flag-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue-950);
  background: var(--yellow);
  font-weight: 900;
  border-radius: 50%;
}

.flag-card h3 {
  margin: auto 0 8px;
  color: var(--blue-900);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.05;
}

.flag-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.support-section {
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 5% 20%, rgba(40, 99, 160, 0.43), transparent 28%),
    linear-gradient(145deg, #07172d, #123b65);
}

.support-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 40px;
}

.support-intro > div > p:last-child {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.7);
}

.jingle-card {
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 7px solid var(--yellow);
  border-radius: 13px;
}

.jingle-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 900;
}

.jingle-card > div:nth-child(2) {
  display: grid;
}

.jingle-card span {
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jingle-card strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
}

.jingle-card audio {
  grid-column: 1 / -1;
  width: 100%;
  height: 42px;
  margin-top: 4px;
  accent-color: var(--yellow);
}

.art-builder {
  margin-top: 52px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 78px);
  align-items: start;
}

.art-preview-column {
  position: sticky;
  top: 106px;
  display: grid;
  justify-items: center;
}

.preview-kicker-light {
  justify-self: start;
  color: var(--yellow);
}

#artCanvas {
  width: min(100%, 450px);
  height: auto;
  aspect-ratio: 1 / 1;
  background: var(--blue-900);
  border: 6px solid var(--white);
  border-radius: 14px;
  box-shadow: 18px 18px 0 rgba(244, 223, 98, 0.82);
  touch-action: none;
}

.art-hint {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  text-align: center;
}

.art-controls {
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border-top: 5px solid var(--yellow);
  border-radius: 14px;
  color: var(--ink);
}

.control-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.control-step + * {
  margin-top: 18px;
}

.control-step:not(:first-child) {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.control-step p {
  color: var(--muted);
}

.format-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.format-tab {
  min-height: 64px;
  padding: 10px;
  display: grid;
  color: var(--blue-900);
  background: #f5f7fa;
  border: 2px solid transparent;
  border-radius: 9px;
  font-weight: 900;
}

.format-tab b {
  color: var(--muted);
  font-size: 0.74rem;
}

.format-tab.active {
  background: #fffdeb;
  border-color: var(--yellow-deep);
}

.photo-adjustments {
  margin-top: 18px;
  padding: 18px;
  background: #f5f7fa;
  border-radius: 10px;
}

.photo-adjustments input[type="range"] {
  width: 100%;
  margin: 12px 0 5px;
  accent-color: var(--blue-800);
}

.adjustment-buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.adjustment-buttons button {
  padding: 7px 0;
  color: var(--blue-800);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.site-footer {
  padding: 54px max(20px, calc((100vw - 1180px) / 2)) 24px;
  color: var(--white);
  background: #06162a;
}

.footer-main {
  padding-bottom: 38px;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: start;
  gap: 36px;
}

.footer-main > img {
  width: 270px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-socials a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-links a:hover,
.footer-socials a:hover {
  color: var(--yellow);
}

.footer-socials {
  flex-direction: row;
  gap: 10px;
}

.footer-socials .icon-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-socials .icon-link:hover,
.footer-socials .icon-link:focus-visible {
  color: var(--blue-950);
  background: var(--yellow);
  border-color: var(--yellow);
}

.legal-line {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.56);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
}

.legal-line a {
  color: var(--yellow);
}

.toast {
  position: fixed;
  z-index: 500;
  left: 50%;
  bottom: 24px;
  min-width: min(340px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  color: var(--white);
  background: var(--ink);
  border-left: 6px solid var(--yellow);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.26);
  font-weight: 800;
  text-align: center;
  transform: translate(-50%, calc(100% + 50px));
  opacity: 0;
  transition: 200ms ease;
  pointer-events: none;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.js-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-motion .hero-visual[data-reveal] {
  transition-delay: 120ms;
}

.js-motion .results-grid .result-card:nth-child(2),
.js-motion .flag-card:nth-child(2) {
  transition-delay: 80ms;
}

.js-motion .results-grid .result-card:nth-child(3),
.js-motion .flag-card:nth-child(3) {
  transition-delay: 140ms;
}

.js-motion .results-grid .result-card:nth-child(4),
.js-motion .flag-card:nth-child(4) {
  transition-delay: 200ms;
}

noscript {
  position: fixed;
  z-index: 600;
  inset: auto 0 0;
  padding: 14px;
  color: var(--blue-950);
  background: var(--yellow);
  text-align: center;
  font-weight: 900;
}

@media (max-width: 1020px) {
  .hero-grid,
  .bio-section,
  .motion-section,
  .support-intro,
  .art-builder {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .photo-frame {
    height: 470px;
  }

  .colinha-layout {
    grid-template-columns: 1fr;
  }

  .preview-column,
  .art-preview-column {
    position: static;
  }

  .bio-section {
    max-width: 820px;
  }

  .bio-gallery {
    width: min(580px, 92%);
    margin: 0 auto;
  }

  .results-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .results-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-stats > div:nth-child(3) {
    border-left: 0;
  }

  .results-stats > div:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 22px;
    margin-top: 22px;
  }

  .motion-copy {
    max-width: 780px;
  }

  .flag-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-intro {
    align-items: start;
  }

  .jingle-card {
    max-width: 680px;
  }

  .art-preview-column {
    margin-bottom: 18px;
  }

  #artCanvas {
    width: min(100%, 520px);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header {
    height: 70px;
  }

  .header-inner,
  .hero-grid,
  .section,
  .utility-bar {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand-lockup {
    gap: 6px;
  }

  .brand {
    width: 150px;
  }

  .header-number {
    font-size: 1rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-social {
    width: 34px;
    height: 34px;
  }

  .header-social svg {
    width: 16px;
    height: 16px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding: 112px 0 48px;
  }

  .hero::after {
    width: 410px;
    right: -220px;
    top: 45%;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 17vw, 5.1rem);
  }

  .hero-text {
    margin-top: 20px;
  }

  .hero-cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-cta-row .button,
  .hero-cta-row .text-action {
    width: 100%;
  }

  .privacy-note {
    align-items: flex-start;
    border-radius: 12px;
    line-height: 1.35;
  }

  .hero-visual {
    min-height: 360px;
  }

  .photo-frame {
    width: 250px;
    height: 335px;
    box-shadow: 12px 14px 0 rgba(244, 223, 98, 0.82);
  }

  .hero-candidate-card {
    right: 0;
    bottom: 10px;
    width: min(285px, 82%);
    padding: 13px 15px;
  }

  .hero-candidate-card b {
    font-size: 2rem;
  }

  .section {
    padding: 70px 0;
  }

  .results-section {
    padding: 76px 16px;
  }

  .results-stats {
    padding: 20px 16px;
  }

  .results-stats > div {
    padding: 12px;
  }

  .results-stats strong {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .results-grid,
  .results-economy {
    grid-template-columns: 1fr;
  }

  .projects-list ul {
    grid-template-columns: 1fr;
  }

  .result-card {
    min-height: 0;
  }

  .results-economy {
    gap: 18px;
  }

  .results-economy div {
    grid-row: auto;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .candidate-form,
  .preview-column {
    border-radius: 18px;
  }

  .candidate-input-card {
    padding: 16px;
  }

  .candidate-fields {
    grid-template-columns: minmax(0, 1fr) 106px;
  }

  .candidate-fixed {
    align-items: flex-end;
  }

  .fixed-number {
    font-size: 1.9rem;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .utility-bar {
    padding: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .bio-facts {
    grid-template-columns: 1fr;
  }

  .bio-facts div {
    grid-template-columns: 76px 1fr;
    align-items: center;
  }

  .motion-section {
    width: 100%;
    border-radius: 0;
  }

  .video-card {
    width: min(330px, calc(100% - 20px));
    box-shadow: 14px 14px 0 var(--yellow);
  }

  .flag-grid {
    grid-template-columns: 1fr;
  }

  .flag-card {
    min-height: 220px;
  }

  .support-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .jingle-card {
    grid-template-columns: auto 1fr;
  }

  .art-builder {
    margin-top: 38px;
  }

  #artCanvas {
    box-shadow: 12px 12px 0 var(--yellow);
  }

  .format-tabs {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main > img {
    width: 230px;
  }

  .footer-socials {
    flex-direction: row;
  }

  .legal-line {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .header-inner,
  .hero-grid,
  .section,
  .utility-bar {
    width: min(100% - 22px, 1180px);
  }

  .brand {
    width: clamp(118px, 32vw, 132px);
  }

  .brand-lockup {
    gap: 4px;
  }

  .header-number {
    font-size: 0.95rem;
  }

  .header-inner {
    gap: 8px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-social {
    width: 31px;
    height: 31px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  .menu-panel {
    padding-right: 20px;
    padding-left: 20px;
  }

  .menu-top img {
    width: 180px;
  }

  .candidate-fields {
    grid-template-columns: 1fr;
  }

  .number-label input {
    text-align: left;
  }

  .candidate-fixed {
    align-items: flex-start;
    flex-direction: column;
  }

  .sheet-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sheet-row b {
    font-size: 0.94rem;
  }

  .bio-gallery {
    width: 100%;
  }

  .results-stats span {
    font-size: 0.79rem;
  }


  .jingle-card {
    grid-template-columns: 1fr;
  }

  .jingle-icon {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  #voteSheet,
  #voteSheet * {
    visibility: visible;
  }

  #voteSheet {
    position: fixed;
    inset: 0;
    width: 100%;
    border-radius: 0;
  }
}
