/* Vamos a Votar — site stylesheet. Mirrors the approved design (Vamos a Votar.dc.html). */

:root {
  --ink: #131A26;
  --cream: #F2EDE3;
  --paper: #F2EDE3;
  --orange: #ff6e3b;
  --orange-deep: #C24417;
  --yellow: #FFC72C;
  --blue: #3C7FB5;
  --blue-light: #5FA8DE;
  --blue-block: #3179B5;
  --muted: #4A5260;
  --body: #3A424F;
  --rule: rgba(19, 26, 38, 0.2);
  --rule-light: rgba(242, 237, 227, 0.22);
  --display: 'Bebas Neue', Impact, sans-serif;
  --text: Archivo, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--text); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--orange-deep); }
a:hover { color: var(--ink); }
::selection { background: var(--orange); color: var(--ink); }
select, input, button { font-family: var(--text); }
mark { background: var(--yellow); color: var(--ink); padding: 0 0.15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.012em; line-height: 0.88; margin: 0; }
.h1 { font-size: clamp(42px, 9vw, 150px); line-height: 0.88; }
.h1--hero { font-size: clamp(52px, 10.5vw, 190px); }
.h2 { font-size: clamp(30px, 6vw, 92px); }
.h2--md { font-size: clamp(28px, 5vw, 70px); line-height: 0.9; }
.h2--sm { font-size: clamp(26px, 4vw, 52px); line-height: 0.95; }
.h2--xs { font-size: clamp(26px, 4.2vw, 56px); line-height: 0.95; }
.h3 { font-size: clamp(24px, 3vw, 38px); line-height: 1; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange-deep); }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--ink { color: var(--ink); }
.eyebrow--muted { color: var(--muted); letter-spacing: 0.18em; }
.lede { margin: 0; font-size: clamp(19px, 2.3vw, 26px); line-height: 1.4; font-weight: 600; text-wrap: pretty; }
.lede--lg { font-size: clamp(18px, 2.2vw, 25px); line-height: 1.45; }
.body { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.body--dark { color: var(--body); line-height: 1.65; }
.small { font-size: 13px; color: var(--muted); }
.caption { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.accent { color: var(--orange); }
.subhead-orange { font-family: var(--display); margin: 0; font-size: clamp(26px, 3.2vw, 44px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--orange); }
.stat { font-family: var(--display); margin: 0; line-height: 1; letter-spacing: 0.012em; }
.stat--xl { font-size: clamp(46px, 5.4vw, 78px); line-height: 0.95; }
.stat--lg { font-size: 56px; line-height: 0.95; }
.stat--md { font-size: 48px; }
.stat--sm { font-size: 46px; }
.stat--xs { font-size: 34px; }
.stat-label { margin: 8px 0 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
.stat-note { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.dark .stat-note, .dark .small, .dark .caption { color: rgba(242, 237, 227, 0.7); }

/* ---------- Layout ---------- */
.section { padding: 5vw 4vw; }
.section--tight { padding: 4vw 4vw 0; }
.section--tall { padding: 6vw 4vw; }
.section--bottom { padding: 0 4vw 5vw; }
.dark { background: var(--ink); color: var(--cream); }
.yellow { background: var(--yellow); color: var(--ink); }
.orange { background: var(--orange); color: var(--ink); }
.blue-block { background: var(--blue-block); color: var(--ink); border-radius: 20px; }
.rule-top { border-top: 2px solid var(--ink); }
.dark .rule-top { border-top-color: rgba(242, 237, 227, 0.3); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 32px; }
.split--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; align-items: center; }
.split--hero { margin-top: 36px; padding-top: 26px; border-top: 2px solid var(--ink); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 3vw; align-items: stretch; padding-bottom: 50px; }
@media (max-width: 1023px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-photo { align-self: center; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; margin: 30px 0; }
.logo-lockup { width: 55%; max-width: 760px; height: auto; display: block; }
@media (max-width: 1023px) { .logo-lockup { width: 100%; } }
.photo-band { width: 100%; height: clamp(220px, 34vw, 480px); object-fit: cover; object-position: center 32%; display: block; }

/* ---------- Header / nav ---------- */
.ticker { background: var(--ink); color: var(--cream); overflow: hidden; white-space: nowrap; padding: 9px 0; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.ticker__track { display: inline-block; animation: vv-marquee 38s linear infinite; }
.ticker__track span { padding: 0 22px; }
.ticker__dot { color: var(--orange); }
@keyframes vv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

.header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 4vw; border-bottom: 2px solid var(--ink); background: var(--cream); position: sticky; top: 0; z-index: 60; }
.header__logo { display: block; line-height: 0; }
.header__logo img { height: 60px; width: auto; display: block; margin: 10px 0; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; padding-bottom: 3px; }
.nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.nav .btn-donate { background: var(--blue-block); color: #fff; padding: 11px 20px; border-bottom: 0; }
.nav .btn-donate:hover { background: var(--orange-deep); color: #fff; }
.lang-toggle { background: transparent; border: 2px solid var(--ink); color: var(--ink); padding: 8px 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-block; }
.lang-toggle:hover { background: var(--ink); color: var(--cream); }
.mobile-controls { display: none; align-items: center; gap: 10px; }
.mobile-controls .lang-toggle { height: 48px; padding: 0 12px; display: inline-flex; align-items: center; }
.burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 0 10px; background: var(--ink); border: 0; cursor: pointer; }
.burger span { display: block; height: 3px; background: var(--cream); }
.drawer { display: none; position: sticky; top: 0; z-index: 59; background: var(--ink); padding: 8px 4vw 24px; flex-direction: column; }
.drawer a { color: var(--cream); text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 16px 0; border-bottom: 1px solid var(--rule-light); }
.drawer .btn-donate { margin-top: 18px; text-align: center; color: #fff; padding: 18px 20px; font-size: 18px; background: var(--blue-block); border-bottom: 0; }
.drawer.is-open { display: flex; }
@media (max-width: 1023px) {
  .header__logo img { height: 44px; }
  .nav { display: none; }
  .mobile-controls { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; font-weight: 700; cursor: pointer; border: 0; }
.btn--ink { background: var(--ink); color: var(--cream); padding: 20px 26px; font-size: 18px; }
.btn--ink:hover { background: var(--orange); color: var(--ink); }
.btn--outline { border: 2px solid var(--ink); color: var(--ink); background: transparent; padding: 18px 26px; font-size: 18px; }
.btn--outline:hover { background: var(--yellow); color: var(--ink); }
.btn--orange { background: var(--orange); color: var(--ink); padding: 18px 26px; font-size: 17px; }
.btn--orange:hover { background: var(--orange-deep); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); padding: 15px 22px; font-size: 16px; }
.btn--yellow:hover { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); padding: 17px 26px; font-size: 16px; }
.btn--white:hover { background: var(--yellow); color: var(--ink); }
.btn--ghost { background: transparent; border: 2px solid rgba(242, 237, 227, 0.45); color: var(--cream); padding: 13px 22px; font-size: 16px; }
.btn--md { padding: 18px 26px; font-size: 17px; }
.btn--sm { padding: 16px 24px; font-size: 16px; }
.link-caps { display: inline-block; color: var(--orange-deep); font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--orange-deep); padding-bottom: 4px; }

/* ---------- Tiles (hairline grids) ---------- */
.tiles { display: grid; gap: 2px; }
.tiles--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
.tiles--card { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.tiles--stat { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.tiles--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tiles--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tile { box-shadow: 0 0 0 2px var(--ink); background: var(--cream); color: var(--ink); padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.tile--stat { padding: 30px 24px; gap: 0; }
.tile--min { min-height: 190px; }
.tile--min-sm { min-height: 170px; }
.tile--orange { background: var(--orange); }
.tile--yellow { background: var(--yellow); }
.tile--blue { background: var(--blue); color: #fff; }
.tile--ink { background: var(--ink); color: var(--cream); }
.tile__step { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.tile--yellow .tile__step { color: #5C4A00; opacity: 1; }
.tile__title { font-family: var(--display); font-size: 27px; line-height: 1.02; text-transform: uppercase; letter-spacing: 0.012em; }
.tile__title--md { font-size: 24px; line-height: 1.05; }
.tile__title--lg { font-size: 28px; line-height: 1; }
.tile__body { font-size: 16px; line-height: 1.5; }
.tile__arrow { margin-top: auto; font-size: 22px; }
a.tile:hover.tile--orange { background: var(--orange-deep); color: #fff; }
a.tile:hover.tile--yellow { background: #F0B400; }
a.tile:hover.tile--blue { background: #2E6693; }
a.tile:hover.tile--cream-o { background: var(--orange); }
a.tile:hover.tile--cream-y { background: var(--yellow); }
a.tile:hover.tile--cream-b { background: var(--blue); color: #fff; }
a.tile:hover.tile--cream-i { background: var(--ink); color: var(--cream); }
a.tile:hover.tile--plain { background: #fff; }

/* ---------- Stat rows ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 34px 40px; padding-top: 34px; }
.stat-grid--sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 30px; padding-top: 28px; }
.stat-grid--md { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 30px; padding-top: 28px; }
.stat-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 36px; padding-top: 30px; }
.bar-top { padding-top: 16px; border-top: 3px solid var(--cream); }
.bar-top--yellow { border-top-color: var(--yellow); }
.bar-top--orange { border-top-color: var(--orange); }
.bar-top--blue { border-top-color: var(--blue-light); }

/* ---------- Home: case callout ---------- */
.callout { position: relative; overflow: hidden; margin-top: 44px; padding: 64px 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 26px; align-items: center; }
.callout .btn { position: relative; z-index: 1; justify-self: start; }
.callout__art { position: absolute; z-index: 0; top: -90px; right: 0; height: 375px; width: 403px; max-width: 38%; object-fit: contain; object-position: right center; pointer-events: none; }
@media (max-width: 999px) { .callout__art { display: none; } }

/* ---------- Org cards ---------- */
.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 2px solid var(--ink); }
.org { padding: 26px; border-bottom: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.org:first-child { padding-left: 0; border-left: 0; }
.org img { height: 54px; width: auto; object-fit: contain; object-position: left; display: block; margin-bottom: 18px; }
.org__num { font-family: var(--display); margin: 0; font-size: 34px; line-height: 1; }
.org__sub { margin: 4px 0 14px; font-size: 15px; font-weight: 700; }
.org__body { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.org-card { padding: 30px 26px 34px; display: flex; flex-direction: column; gap: 14px; }
.org-card img { height: 56px; width: auto; object-fit: contain; object-position: left; align-self: flex-start; }
.org-card__kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.org-card__body { margin: 0; font-size: 16px; line-height: 1.55; }

/* ---------- Battleground ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.chip { background: var(--ink); color: var(--yellow); font-family: var(--display); font-size: 17px; padding: 9px 14px; text-transform: uppercase; letter-spacing: 0.012em; }
.table { display: grid; font-size: 16px; }
.table--tier1 { grid-template-columns: 1fr auto auto; border-top: 2px solid var(--ink); }
.table--tier1 > span { padding: 13px 0; border-bottom: 1px solid rgba(19, 26, 38, 0.35); }
.table--tier1 > span:nth-child(3n+1) { font-weight: 700; }
.table--tier1 > span:nth-child(3n+2) { padding: 13px 14px; text-align: right; }
.table--tier1 > span:nth-child(3n) { text-align: right; font-weight: 700; }
.map-panel { background: var(--yellow); padding: 3vw 4vw; }
.map-panel .us-map { display: block; max-width: 1000px; margin: 0 auto 30px; }
.state-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 2px solid var(--ink); }
.state-cell { min-width: 0; padding: 20px 20px 24px 0; border-bottom: 2px solid var(--ink); border-right: 1px solid rgba(19, 26, 38, 0.25); }
.state-cell__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.state-cell__flag { width: 48px; height: 32px; object-fit: cover; flex: 0 0 auto; display: block; box-shadow: 0 0 0 1px rgba(19, 26, 38, 0.4); }
.state-cell__name { font-family: var(--display); margin: 0; font-size: clamp(17px, 2vw, 28px); line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.state-cell__districts { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }

/* ---------- Data tables ---------- */
.scroll { overflow-x: auto; border: 2px solid var(--ink); }
.data { display: grid; font-size: 15px; }
.data--rules { min-width: 760px; grid-template-columns: 1.4fr 1fr 0.9fr 1fr 1.3fr 1.2fr; }
.data--districts { min-width: 680px; grid-template-columns: 0.8fr 1.3fr 1.2fr 1fr; font-size: 16px; }
.data--placements { min-width: 700px; grid-template-columns: 1fr 2fr 1.1fr 0.8fr; }
.data__h { padding: 14px 16px; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.data__c { padding: 12px 16px; border-bottom: 1px solid rgba(19, 26, 38, 0.16); }
.data__c--b { font-weight: 700; }
.data__c--muted { color: var(--body); }
.data__c--id { font-family: var(--display); font-size: 18px; padding: 14px 16px; }
.data .zebra { background: rgba(19, 26, 38, 0.04); }
.data__link { color: var(--orange-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.data__link:hover { color: var(--ink); }
.cases { min-width: 680px; display: grid; grid-template-columns: 1fr 1.7fr 1fr; font-size: 16px; border-top: 2px solid rgba(242, 237, 227, 0.35); }
.cases > span { border-bottom: 1px solid rgba(242, 237, 227, 0.18); padding: 15px 18px; }
.cases > span:nth-child(3n+1) { padding-left: 0; font-weight: 700; }
.cases > span:nth-child(3n+2) { color: rgba(242, 237, 227, 0.85); }
.cases > span:nth-child(3n) { padding-right: 0; text-align: right; color: var(--yellow); font-weight: 700; }
.cases a { color: var(--yellow); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Vote tool ---------- */
.tool { border: 2px solid var(--ink); }
.tool__tabs { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--ink); }
.tool__tab { flex: 1 1 180px; background: var(--cream); color: var(--ink); border: 0; border-right: 2px solid var(--ink); padding: 18px 20px; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; text-align: left; text-decoration: none; }
.tool__tab:last-child { border-right: 0; }
.tool__tab[aria-current="step"] { background: var(--ink); color: var(--cream); }
.tool__body { padding: 32px 4vw 38px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 36px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { padding: 14px; font-size: 17px; border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; text-transform: none; letter-spacing: 0; font-weight: 400; font-family: var(--text); }
.field--state select { max-width: 420px; padding: 16px 14px; font-size: 19px; font-weight: 700; }
.field__error { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--orange-deep); text-transform: none; letter-spacing: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; font-size: 16px; border-top: 2px solid var(--ink); }
.kv > span { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.kv > span:nth-child(odd) { padding-right: 18px; font-weight: 700; }
.kv > span:nth-child(even) { text-align: right; }
.kv > span:nth-last-child(-n+2) { border-bottom: 2px solid var(--ink); }
.method { text-align: left; background: var(--cream); color: var(--ink); border: 2px solid var(--ink); padding: 16px 20px; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none; display: block; }
.method[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.plan { background: var(--ink); color: var(--cream); padding: 28px; }
.plan__k { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); }
.plan__title { font-family: var(--display); margin: 0 0 16px; font-size: 27px; line-height: 1.1; text-transform: uppercase; }
.plan__body { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: rgba(242, 237, 227, 0.9); text-wrap: pretty; }
.countdown { background: var(--orange); color: var(--ink); padding: 24px; }
.countdown__n { font-family: var(--display); margin: 0; font-size: 58px; line-height: 0.95; }
.countdown__l { margin: 6px 0 0; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Chart ---------- */
.chart { margin-bottom: 44px; border: 2px solid var(--ink); padding: 30px 4vw 24px; }
.chart__bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 40px); align-items: end; height: clamp(220px, 32vw, 360px); }
.chart__col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.chart__val { font-family: var(--display); font-size: clamp(30px, 4vw, 52px); line-height: 1; margin-bottom: 8px; }
.chart__bar { width: 100%; background: var(--blue); }
.chart__bar--drop { background: var(--orange); }
.chart__axis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 40px); border-top: 2px solid var(--ink); padding-top: 12px; text-align: center; font-size: 15px; font-weight: 700; }

/* ---------- Strongholds / lanes / innovations ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 30px; }
.card-grid--lines { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.line-card { padding: 28px 26px 32px; border-bottom: 2px solid var(--ink); border-right: 1px solid var(--rule); }
.line-card__num { font-family: var(--display); margin: 0 0 12px; font-size: 40px; line-height: 1; color: var(--orange); }
.line-card__title { font-family: var(--display); margin: 0 0 12px; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.line-card__title--sm { font-size: 21px; }
.line-card__body { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.line-card__org { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-deep); }
.stronghold__place { margin: 0 0 6px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.stronghold__val { font-family: var(--display); margin: 0 0 10px; font-size: 32px; line-height: 1; }
.stronghold__body { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(242, 237, 227, 0.85); }
.stronghold .state-shape { width: 96px; margin: 0 auto 14px; display: block; }

/* ---------- Ambassador ---------- */
.ambassador { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; width: 100%; max-width: 966px; margin: 0 auto; }
.ambassador__text { order: 1; flex: 0 1 auto; max-width: 560px; }
.ambassador__photo { order: 2; flex: 0 1 380px; width: 100%; max-width: 380px; height: auto; display: block; }

/* ---------- Collage ---------- */
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; }
.collage__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.collage img { width: 100%; height: auto; display: block; }
@media (max-width: 639px) { .collage { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Budget ---------- */
.budget { display: flex; flex-direction: column; gap: 18px; }
.budget__head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.budget__name { margin: 0; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.budget__amt { margin: 0; font-size: 17px; font-weight: 700; }
.budget__track { height: 30px; background: rgba(19, 26, 38, 0.1); border: 2px solid var(--ink); }
.budget__fill { height: 100%; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); border-top: 2px solid var(--ink); }
.timeline__item { padding: 24px 22px 28px; border-bottom: 2px solid var(--ink); border-right: 1px solid rgba(19, 26, 38, 0.25); }
.timeline__when { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.timeline__date { font-family: var(--display); margin: 0 0 10px; font-size: 24px; line-height: 1.05; }
.timeline__body { margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------- Volunteer form ---------- */
.form { background: var(--cream); color: var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.form legend { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.check:has(input:checked) { background: var(--ink); color: var(--cream); }
.check input { width: 20px; height: 20px; accent-color: var(--orange); margin: 0; }
.form__submit { margin-top: 6px; background: var(--orange); color: var(--ink); border: 0; padding: 19px 28px; font-size: 18px; font-weight: 700; cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; }
.form__submit:hover { background: var(--ink); color: var(--cream); }
.confirm { background: var(--cream); color: var(--ink); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.confirm__title { font-family: var(--display); margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 0.95; text-transform: uppercase; color: var(--orange-deep); }
.roles { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; color: rgba(242, 237, 227, 0.85); }
.roles strong { color: var(--cream); }
.cta-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--ink); color: var(--cream); text-decoration: none; padding: 30px 32px; }
.cta-banner:hover { background: var(--orange); color: var(--ink); }
.cta-banner__title { font-family: var(--display); font-size: clamp(26px, 3.6vw, 44px); line-height: 1; text-transform: uppercase; }

/* ---------- Hotline block ---------- */
.hotline { background: var(--orange); color: var(--ink); padding: 3vw 4vw; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 30px; align-items: center; }
.hotline .btn--white { padding: 20px 24px; font-size: 18px; }
.hotline .btn--outline { padding: 18px 24px; font-size: 18px; }
.hotline .btn--outline:hover { background: var(--ink); color: var(--cream); }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 24px; border-top: 2px solid rgba(242, 237, 227, 0.3); padding-top: 26px; font-size: 15px; line-height: 1.5; }
.contacts p { margin: 0; }
.contacts span { color: rgba(242, 237, 227, 0.7); }
.contacts a { color: var(--yellow); }

/* ---------- Footer ---------- */
.footer { padding: 4vw; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 30px; }
.footer__logo { height: 74px; width: auto; display: block; }
.footer__h { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-block); }
.footer__links { display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__copy { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.5; color: var(--muted); }


/* ---- Hero headline (3-line) ---- */
.h1__kicker { display: block; font-size: 0.42em; line-height: 1; letter-spacing: 0.04em; margin-bottom: 0.18em; color: var(--ink); }
.logo-lockup { display: flex; align-items: center; justify-content: space-between; gap: 4%; max-width: 760px; width: 55%; height: clamp(34px, 5vw, 78px); }
.logo-lockup img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
@media (max-width: 999px) { .logo-lockup { width: 100%; } .h1--hero { font-size: clamp(44px, 18vw, 150px); } }

/* ---- Home battleground: map, chips, teaser ---- */
.us-map--home { display: block; width: 100%; max-width: 360px; }
.chip--link { text-decoration: none; cursor: pointer; }
.chip--link:hover { background: var(--orange); color: var(--ink); }
.teaser { display: block; margin: 0 0 28px; border: 2px solid var(--ink); color: var(--ink); text-decoration: none; background: var(--paper); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.teaser:hover { background: #fff; box-shadow: 6px 6px 0 var(--orange); transform: translate(-2px, -2px); }
.teaser__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.teaser__cta { color: var(--yellow); font-size: 12px; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.teaser__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px 16px; }
.teaser__cand { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.teaser__cand--r { align-items: flex-end; text-align: right; }
.teaser__photo { width: 84px; height: 84px; border-radius: 50%; border: 3px solid; background: var(--ink) center/cover no-repeat; }
.teaser__party { margin: 0 0 3px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.teaser__name { margin: 0; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 24px; line-height: .95; letter-spacing: .02em; text-transform: uppercase; }
.teaser__vs { margin: 0; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 34px; line-height: 1; color: var(--orange); }
.teaser__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 16px 16px; border-top: 1px solid rgba(19,26,38,.25); font-size: 13px; line-height: 1.35; }
.teaser__k { margin: 0 0 2px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(19,26,38,.6); }
.teaser__v { margin: 0; font-weight: 700; }

/* ---- Candidate comparison tool ---- */
.tiers { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.tiers__label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tiers__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tier-chip { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 22px; letter-spacing: .04em; border: 2px solid var(--ink); padding: 10px 18px 7px; color: var(--ink); text-decoration: none; }
.tier-chip:hover { background: var(--orange); }
.tier-chip.is-active,
.tier-chip.is-active:hover { background: var(--ink); color: var(--yellow); }
.race { border: 2px solid var(--ink); }
.race__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 32px; padding: 26px; background: var(--ink); color: var(--paper); }
.race__id { margin: 0; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(44px, 6vw, 84px); line-height: .9; letter-spacing: .012em; color: var(--yellow); }
.race__facts { display: flex; flex-wrap: wrap; gap: 18px 32px; font-size: 15px; line-height: 1.4; }
.race__k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.race__note { margin: 0; padding: 16px 26px; background: var(--yellow); font-size: 16px; line-height: 1.5; font-weight: 700; text-wrap: pretty; }
.race__grid { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 0 26px; padding: 30px 26px; }
.race__vs { align-self: start; margin-top: 60px; font-family: 'Bebas Neue', Impact, sans-serif; font-size: 40px; color: var(--orange); }
.race__src { margin: 0; padding: 14px 26px 18px; border-top: 1px solid rgba(19,26,38,.2); font-size: 12px; color: var(--muted); line-height: 1.5; }
.cand { min-width: 0; }
.cand__photo { width: 140px; height: 140px; background: var(--ink) center/cover no-repeat; margin-bottom: 16px; }
.cand__photo--init { display: grid; place-items: center; color: var(--paper); font-family: 'Bebas Neue', Impact, sans-serif; font-size: 48px; }
.cand__party { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cand__name { margin: 0 0 6px; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(30px, 3.4vw, 46px); line-height: .95; letter-spacing: .012em; text-transform: uppercase; }
.cand__role { margin: 0 0 22px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.cand__h { margin: 18px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cand__bio { margin: 0; font-size: 15px; line-height: 1.6; color: #2A313C; text-wrap: pretty; }
.cand__list { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.6; color: #2A313C; }
.cand__list li { padding: 3px 0; border-bottom: 1px solid rgba(19,26,38,.12); }
.cand__pending { color: var(--muted); font-style: italic; }
@media (max-width: 760px) { .race__grid { grid-template-columns: minmax(0,1fr); gap: 30px; } .race__vs { display: none; } .teaser__facts { grid-template-columns: repeat(2, 1fr); } }

/* ---- Footer legal + privacy pages ---- */
.footer__legal { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid rgba(19,26,38,.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer__legal .footer__copy { grid-column: auto; margin: 0; padding: 0; border: 0; }
.footer__legal-links { display: flex; gap: 18px; font-size: 13px; }
.footer__legal-links a { color: var(--muted); text-decoration: none; font-weight: 700; }
.legal { max-width: 820px; }
.legal__h1 { margin-bottom: 24px; font-size: clamp(42px, 7vw, 110px); }
.legal__h { margin: 34px 0 12px; font-size: 30px; line-height: 1; text-transform: uppercase; }
.legal__notice { margin: 0 0 28px; padding: 18px 22px; background: var(--yellow); font-size: 17px; line-height: 1.55; font-weight: 700; text-wrap: pretty; }
.body--lg { font-size: 17px; line-height: 1.6; margin: 0 0 18px; text-wrap: pretty; }
