/* Home page + candidate profile */

/* ---------- Nav ---------- */
.nav-spacer { height: var(--nav-h); }
.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; gap: clamp(10px, 2.5vw, 20px);
  padding: 0 var(--gutter); background: var(--ink); color: var(--paper);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__shield { display: none; height: 72px; width: auto; }
.brand__word { font-weight: 900; font-stretch: 80%; letter-spacing: .01em; text-transform: uppercase; font-size: clamp(16px, 5.4vw, 22px); }
.brand__light { color: var(--paper); }
.brand__hot { color: var(--red); }
.brand__desk { display: none; }
.site-nav__links, .site-nav__lang, .site-nav__join { display: none; }
.site-nav__links {
  flex: 1 1 auto; min-width: 0; gap: 4px; justify-content: flex-end;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.site-nav__links a { padding: 8px 12px; font-weight: 600; font-size: 15px; text-decoration: none; }
.site-nav__links a:hover { color: var(--red); }
.site-nav__donate { margin-left: auto; padding: 9px 10px; font-size: 14px; }

.burger {
  display: flex; flex: none; width: 44px; height: 44px; padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 2px solid var(--paper);
}
.burger span { display: block; width: 20px; height: 3px; background: var(--paper); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] { background: var(--paper); }
.burger[aria-expanded="true"] span { background: var(--ink); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu__backdrop { position: fixed; inset: var(--nav-h) 0 0; z-index: 39; background: rgba(14, 14, 16, .5); }
.mobile-menu__panel {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 41;
  display: flex; flex-direction: column; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  padding: 8px 16px 20px; background: var(--ink); color: var(--paper); border-bottom: 3px solid var(--red);
}
.mobile-menu__link {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 4px;
  border-bottom: 1px solid var(--charcoal); font-weight: 900; font-stretch: 80%; font-size: 26px;
  text-transform: uppercase; text-decoration: none;
}
.mobile-menu__link:hover { color: var(--red); }
.mobile-menu__link span { font-size: 18px; color: var(--red); }
.mobile-menu__foot { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.mobile-menu__join { flex: 1; min-width: 140px; padding: 13px 18px; }

@media (min-width: 780px) {
  .brand__shield { display: block; }
  .brand__word { font-size: 30px; }
  .brand__mobile { display: none; }
  .brand__desk { display: inline; }
}
@media (min-width: 1440px) {
  .site-nav__links { display: flex; }
  .site-nav__lang, .site-nav__join { display: block; }
  .site-nav__join { display: inline-flex; }
  .site-nav__donate { margin-left: 0; padding: 10px 18px; font-size: 15px; }
  .burger, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(40px, 6vw, 72px);
  display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px);
  --hero-fg: var(--paper); --hero-bg: var(--ink); --hero-accent: var(--orange);
  background: var(--ink); color: var(--hero-fg);
}
.hero__eyebrow { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero__accent { color: var(--hero-accent); }
.hero__title {
  margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .04em;
  font-weight: 900; font-stretch: 75%; text-transform: uppercase; line-height: .86; letter-spacing: -.01em;
  font-size: clamp(67px, 13.1vw, 230px);
}
html[lang="es"] .hero__title { font-size: min(67px, 15.8vw); }
.hero__line--a { animation: lp-rise .7s var(--ease-out) .05s both; }
.hero__line--b { background: var(--red); color: var(--ink); padding: 0 .12em; animation: lp-wipe .6s var(--ease-wipe) .35s both; }
.hero__line--c { animation: lp-rise .7s var(--ease-out) .6s both; }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; align-items: end; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; max-width: 600px; }
.hero__sub { margin: 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; font-weight: 500; text-wrap: pretty; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 16px 24px;
  font-weight: 800; font-size: 17px; text-transform: uppercase; text-decoration: none; border: 3px solid var(--hero-fg);
}
.hero-btn--solid { background: var(--hero-fg); color: var(--hero-bg); }
.hero-btn--solid:hover { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.hero-btn--ghost { background: transparent; color: var(--hero-fg); }
.hero-btn--ghost:hover { background: var(--red); color: var(--ink); }
.hero__count-wrap { position: relative; justify-self: end; max-width: 100%; display: flex; flex-direction: column; align-items: flex-end; }
.hero__hand { display: block; width: min(400px, 100%); height: auto; z-index: 1; pointer-events: none; }
.countdown { max-width: 100%; display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: var(--blue); color: var(--white); }
.countdown__days { font-weight: 900; font-stretch: 75%; font-size: clamp(64px, 8vw, 104px); line-height: .8; color: var(--white); }
.countdown__meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.countdown__label { font-weight: 800; font-size: 18px; text-transform: uppercase; line-height: 1.1; }
.countdown__date { font-family: var(--mono); }
.countdown__clock { font-family: var(--mono); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }

.featured { display: flex; flex-direction: column; gap: 14px; }
.featured__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 3px solid var(--hero-fg); padding-top: 14px; }
.featured__all { font-weight: 700; font-size: 15px; text-underline-offset: 4px; color: var(--hero-fg); }
.featured__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.feat-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s; }
.feat-card:hover { transform: translateY(-4px); color: var(--ink); }
.feat-card__meta { background: var(--ink); color: var(--paper); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.feat-card__office { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.feat-card__name { font-weight: 900; font-stretch: 80%; font-size: 24px; line-height: 1; text-transform: uppercase; }

@media (min-width: 780px) {
  .hero { --hero-fg: var(--ink); --hero-bg: var(--paper); --hero-accent: var(--blue); background: transparent; }
  .hero__title, html[lang="es"] .hero__title { font-size: clamp(54px, 10.5vw, 184px); }
  .hero__line--b { background: var(--blue); color: var(--white); }
  .hero__hand { position: absolute; right: 0; bottom: 100%; }
  .countdown { background: var(--ink); color: var(--paper); }
  .countdown__days, .countdown__clock { color: var(--red); }
}

/* Portrait tile shared by featured, grid, drawer */
.tile {
  position: relative; width: 100%; display: flex; align-items: flex-end; padding: 14px; overflow: hidden;
  background-color: var(--tone, var(--ink)); color: var(--tone-fg, var(--paper));
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 12px);
}
.tile--portrait { aspect-ratio: 4 / 5; }
.tile__initials { font-weight: 900; font-stretch: 62%; font-size: 112px; line-height: .8; opacity: .9; }
.tile__initials--xl { font-size: 180px; }
.tile__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.tile__photo--high { object-position: 50% 22%; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 14px 0; background: var(--blue); color: var(--white); border-block: 3px solid var(--ink); }
.marquee__track {
  display: flex; width: max-content; animation: lp-marquee 60s linear infinite;
  font-weight: 900; font-stretch: 75%; font-size: 30px; text-transform: uppercase; white-space: nowrap;
}
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee__dot { width: 12px; height: 12px; background: var(--red); display: inline-block; transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section-title { display: flex; flex-direction: column; gap: 12px; }

.endorse { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 32px; background: var(--ink); color: var(--paper); }
.endorse__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.endorse__total-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.endorse__total { display: flex; align-items: flex-end; gap: 14px; }
.endorse__num { font-weight: 900; font-stretch: 62%; font-size: clamp(96px, 14vw, 200px); line-height: .9; color: var(--red); }
.endorse__label { max-width: 9em; padding-bottom: .3em; font-weight: 800; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.1; text-transform: uppercase; }
.endorse__links { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.endorse__links a { text-underline-offset: 4px; }
.endorse__links a:hover { color: var(--red); }

.map-block { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--line); padding-top: 20px; }
.map-block__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.map-block__legend { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted-2); }
.map-block__key { display: flex; align-items: center; gap: 8px; }
.map-block__key i { width: 14px; height: 14px; background: var(--orange); display: inline-block; }
.map-block__frame { width: 100%; aspect-ratio: 975 / 610; max-height: 70vh; border: 0; display: block; background: var(--ink); }

.filters { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--line); padding-top: 20px; }
.filters__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.filters__search { border: 0; padding: 14px 16px; font-size: 16px; font-weight: 600; outline-color: var(--red); background: var(--paper); color: var(--ink); }
.filters__select { border: 2px solid var(--paper); padding: 12px 14px; font-size: 16px; font-weight: 600; outline-color: var(--red); background: var(--ink); color: var(--paper); }
.filters__chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip-group { display: contents; }
.filters__divider { width: 2px; height: 28px; background: var(--line); margin: 0 6px; }
.filters__count { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.js .filters__submit { display: none; }

.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; border: 2px solid var(--gray); color: var(--white); }
.chip--level span { padding: 8px 14px; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.chip--level input:checked + span { border-color: var(--blue); background: var(--blue); }
.chip--issue span { padding: 6px 12px; font-weight: 600; font-size: 13px; border-radius: 999px; color: var(--paper); }
.chip--issue input:checked + span { border-color: var(--red); background: var(--red); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.cand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.cand-card {
  display: flex; flex-direction: column; text-decoration: none; transition: transform .15s, border-color .15s;
  border: 2px solid var(--charcoal); background: var(--card); color: var(--paper);
}
.cand-card:hover { transform: translateY(-4px); border-color: var(--red); color: var(--paper); }
.cand-card .tile__initials { font-size: 120px; }
.cand-card__st { position: absolute; z-index: 2; top: 10px; right: 10px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 4px 7px; }
.cand-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.cand-card__prog { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.cand-card__name { font-weight: 900; font-stretch: 80%; font-size: 27px; line-height: .95; text-transform: uppercase; }
.cand-card__office { font-size: 15px; line-height: 1.35; color: var(--muted-2); }
.cand-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: 13px; font-weight: 700; }
.cand-card__party { color: var(--muted); }
.cand-card__cta { text-decoration: underline; text-underline-offset: 3px; }

.empty-state { border: 2px dashed var(--line); padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.empty-state__msg { font-weight: 800; font-size: 22px; }

/* Issues */
.issues { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.issues__head { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.issues__art { display: block; width: min(280px, 100%); height: auto; margin-bottom: -12px; order: 2; margin-left: auto; }
.issues__grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 3px solid var(--ink); border-left: 3px solid var(--ink); }
@media (min-width: 1200px) { .issues__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.issue-card {
  min-height: 280px; padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none;
  color: var(--ink); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transition: background .15s, color .15s;
}
.issue-card:hover { background: var(--blue); color: var(--white); }
.issue-card__num { font-weight: 900; font-stretch: 62%; font-size: 64px; line-height: .8; }
.issue-card__title { font-weight: 900; font-stretch: 85%; font-size: 28px; line-height: 1; text-transform: uppercase; text-wrap: balance; }
.issue-card__pos { flex: 1; font-size: 17px; line-height: 1.4; text-wrap: pretty; }
.issue-card__count { font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; }

/* Vote */
.vote { padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 36px; background: var(--blue); color: var(--white); border-top: 3px solid var(--ink); }
.vote__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.vote__days { margin-left: auto; font-weight: 900; font-stretch: 75%; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; line-height: 1; }
.vote__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.step-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--white); color: var(--ink);
  text-decoration: none; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transition: transform .15s;
}
.step-card:hover { transform: translate(-3px, -3px); color: var(--ink); }
.step-card__num { font-weight: 900; font-stretch: 62%; font-size: 56px; line-height: .8; color: var(--blue); }
.step-card__title { font-weight: 900; font-stretch: 85%; font-size: 26px; text-transform: uppercase; line-height: 1; }
.step-card__body { flex: 1; font-size: 17px; line-height: 1.4; }
.step-card__link { font-family: var(--mono); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vote__info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.key-dates { border: 3px solid var(--white); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.key-dates__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 2px solid rgba(255, 255, 255, .35); padding-top: 12px; font-size: 17px; }
.key-dates__label { font-weight: 700; }
.key-dates__when { font-family: var(--mono); font-size: 14px; }
.hotline { background: var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.hotline__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; text-decoration: none; font-size: 14px; }
.hotline__row:hover { color: var(--red); }
.hotline__num { font-weight: 900; font-stretch: 80%; font-size: 32px; }

/* Share card maker */
.share {
  padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px; align-items: center; border-top: 3px solid var(--ink);
}
.share__controls { display: flex; flex-direction: column; gap: 24px; }
.share__title {
  margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .06em; font-weight: 900; font-stretch: 75%;
  font-size: clamp(40px, 5.5vw, 88px); line-height: .88; text-transform: uppercase; overflow-wrap: anywhere;
}
.share__line-b { background: var(--red); color: var(--ink); padding: 0 .12em; }
.share__sub { margin: 0; font-size: 19px; line-height: 1.45; max-width: 480px; }
.field-label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.field-label > legend { margin-bottom: 8px; }
.share__select { background: var(--white); color: var(--ink); border: 3px solid var(--ink); padding: 12px; font-family: var(--sans); font-size: 17px; font-weight: 700; text-transform: none; max-width: 420px; outline-color: var(--red); }
.share__toggles { display: flex; gap: 28px; flex-wrap: wrap; }
.seg { display: flex; border: 3px solid var(--ink); }
.seg__opt { cursor: pointer; position: relative; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span { display: block; padding: 10px 16px; font-family: var(--sans); font-weight: 800; font-size: 14px; text-transform: uppercase; background: var(--white); color: var(--ink); }
.seg__opt input:checked + span { background: var(--ink); color: var(--paper); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--red); outline-offset: -4px; }
.share__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.share__btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; font-weight: 800; font-size: 16px;
  text-transform: uppercase; text-decoration: none; cursor: pointer; border: 3px solid var(--ink);
}
.share__btn--ink { background: var(--ink); color: var(--paper); }
.share__btn--ink:hover { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.share__btn--wa { background: var(--whatsapp); color: var(--ink); }
.share__btn--wa:hover { color: var(--ink); }
.share__stage {
  min-height: 560px; display: flex; justify-content: center; align-items: center; padding: 24px;
  background-color: var(--sand); background-image: repeating-linear-gradient(45deg, rgba(14, 14, 16, .05) 0 1px, transparent 1px 10px);
}
.share-card {
  width: 400px; height: 400px; max-width: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: var(--blue); color: var(--white); box-shadow: 10px 10px 0 var(--ink); transition: width .25s, height .25s;
}
.share-card--story { width: 300px; height: 534px; }
.share-card__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.share-card__brand { display: flex; align-items: center; gap: 6px; }
.share-card__brand img { height: 45px; width: auto; display: block; }
.share-card__photo {
  position: relative; flex: 1; margin: 0 16px; padding: 10px; display: flex; align-items: flex-end; overflow: hidden;
  background-color: var(--ink); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 12px);
}
.share-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.share-card__initials { font-weight: 900; font-stretch: 62%; font-size: 96px; line-height: .8; color: var(--red); }
.share-card__foot { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.share-card__voting { font-weight: 800; font-size: 14px; text-transform: uppercase; }
.share-card__name { font-weight: 900; font-stretch: 72%; font-size: 44px; line-height: .86; text-transform: uppercase; }
.share-card--story .share-card__name { font-size: 52px; }
.share-card__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 600; }
.share-card__date { background: var(--red); color: var(--ink); font-weight: 900; font-size: 13px; padding: 4px 8px; text-transform: uppercase; white-space: nowrap; }

/* Join */
.join {
  padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px; background: var(--red); color: var(--ink); border-top: 3px solid var(--ink);
}
.join__copy { display: flex; flex-direction: column; gap: 18px; }
.display--join { font-size: clamp(48px, 7vw, 120px); line-height: .84; }
.join__sub { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 500; max-width: 460px; }
.vol-cta {
  align-self: flex-start; max-width: 460px; display: flex; flex-direction: column; gap: 4px; padding: 16px 22px;
  background: var(--ink); color: var(--paper); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--paper); text-decoration: none;
}
.vol-cta:hover { color: var(--red); }
.vol-cta__title { font-weight: 900; font-size: 19px; text-transform: uppercase; }
.vol-cta__title--sm { font-size: 17px; }
.vol-cta__sub { font-size: 14px; font-weight: 500; color: var(--muted-2); }
.join__links { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 800; font-size: 16px; }
.join__links a { text-underline-offset: 4px; }
.join__links a:hover { color: var(--ink); }
.signup { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 3vw, 32px); background: var(--ink); color: var(--paper); }
.signup__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.input { border: 0; padding: 14px; font-family: var(--sans); font-size: 17px; font-weight: 400; width: 100%; background: var(--paper); color: var(--ink); outline-color: var(--red); text-transform: none; }
.input[aria-invalid="true"] { outline: 3px solid var(--red); }
.field-error { font-family: var(--sans); text-transform: none; font-weight: 600; color: var(--err-light); font-size: 13px; }
.field-error:empty { display: none; }
.signup__consent { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted-2); }
.signup-done { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 4vw, 40px); background: var(--ink); color: var(--paper); font-size: 18px; line-height: 1.4; }
.signup-done__title { font-weight: 900; font-stretch: 75%; font-size: clamp(44px, 6vw, 80px); line-height: .9; text-transform: uppercase; color: var(--red); }

/* About */
.about {
  padding: clamp(48px, 7vw, 70px) var(--gutter) clamp(48px, 7vw, 60px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: end;
}
.about__body { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.about__body p { margin: 0; font-size: 20px; line-height: 1.45; text-wrap: pretty; }
.about__logo { display: block; width: 65%; max-width: 520px; height: auto; margin-left: -2%; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3.5vw, 40px) 0 clamp(20px, 3vw, 32px); margin-bottom: 15px; }
.timeline__bar { padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.timeline__title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; min-width: 0; }
.timeline__title h2 { margin: 0; font-weight: 900; font-stretch: 75%; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; text-transform: uppercase; }
.timeline__title span { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--blue); }
.timeline__nav { display: flex; align-items: center; gap: 8px; }
.timeline__count { font-family: var(--mono); font-size: 12px; font-weight: 700; margin-right: 4px; }
.square-btn { width: 40px; height: 40px; background: var(--ink); color: var(--paper); border: 0; font-weight: 900; font-size: 16px; cursor: pointer; }
.square-btn:hover { background: var(--blue); }
.timeline__track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 4px var(--gutter) 10px; scrollbar-width: thin;
}
.tl-card {
  flex: none; width: 250px; align-self: flex-start; scroll-snap-align: start; display: flex; flex-direction: column;
  padding: 0; text-align: left; cursor: pointer; background: var(--white); color: var(--ink); border: 2px solid var(--ink); transition: width .25s;
}
.tl-card:hover, .tl-card[aria-expanded="true"] { border-color: var(--red); }
.tl-card--landmark { background: var(--blue); color: var(--white); }
.tl-card__photo {
  position: relative; flex: none; width: 100%; height: 200px; overflow: hidden; transition: height .25s;
  background-color: var(--charcoal); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 10px);
}
.tl-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.tl-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; height: 112px; min-height: 112px; padding: 10px 12px; overflow: hidden; }
.tl-card__top { display: flex; align-items: baseline; gap: 8px; }
.tl-card__year { font-weight: 900; font-stretch: 62%; font-size: 30px; line-height: .85; }
.tl-card__when { font-family: var(--mono); font-size: 10px; font-weight: 700; text-transform: uppercase; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-card__title { font-weight: 800; font-size: 14px; line-height: 1.15; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tl-card__body, .tl-card__credit { display: none; }
.tl-card__body { font-size: 13px; line-height: 1.4; text-wrap: pretty; }
.tl-card__credit { margin-top: 4px; font-family: var(--mono); font-size: 10px; line-height: 1.4; opacity: .75; }
.tl-card[aria-expanded="true"] { width: min(480px, 85vw); }
.tl-card[aria-expanded="true"] .tl-card__photo { height: 387px; }
.tl-card[aria-expanded="true"] .tl-card__text { height: auto; }
.tl-card[aria-expanded="true"] .tl-card__title { -webkit-line-clamp: unset; }
.tl-card[aria-expanded="true"] .tl-card__body, .tl-card[aria-expanded="true"] .tl-card__credit { display: block; }

/* Apply CTA */
.apply-cta {
  padding: clamp(40px, 6vw, 72px) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 4vw, 56px); align-items: end; background: var(--red); color: var(--ink); border-top: 3px solid var(--ink);
}
.display--apply { font-stretch: 70%; font-size: clamp(40px, 6vw, 88px); line-height: .88; text-wrap: balance; }
.apply-cta__body { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 520px; }
.apply-cta__body p { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; text-wrap: pretty; }
.apply-cta .vol-cta { padding: 16px 26px; }

/* Footer */
.site-foot { display: flex; flex-direction: column; gap: 36px; padding: 48px var(--gutter) 32px; background: var(--ink); color: var(--paper); border-top: 3px solid var(--red); }
.site-foot__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-foot__brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.site-foot__brand { display: flex; align-items: center; gap: 20px; }
.site-foot__brand img { width: 96px; display: block; }
.site-foot__brand > span { font-weight: 900; font-size: clamp(40px, 6vw, 72px); font-stretch: 75%; line-height: .9; text-transform: uppercase; color: var(--white); }
.site-foot__links { margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 40px; }
.site-foot__links a { text-decoration: none; }
.site-foot__links a:hover { color: var(--red); }
.site-foot__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; border-top: 2px solid var(--line); padding-top: 24px; }
.site-foot__cta { font-weight: 800; font-size: 15px; text-transform: uppercase; color: var(--red); text-decoration: none; }
.site-foot__cta:hover { color: var(--paper); }
.site-foot__copy { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.site-foot__disc { margin: 0; max-width: 900px; font-size: 13px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ---------- Drawer + profile ---------- */
.drawer__backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(14, 14, 16, .7); }
.drawer__panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(560px, 100%); overflow-y: auto; outline: none;
  background: var(--paper) url(/media/site/site-background-pattern.webp) repeat; background-size: 400px 400px; color: var(--ink);
  border-left: 4px solid var(--ink); animation: lp-drawer-in .25s ease-out;
}
.profile__hero { aspect-ratio: 16 / 11; padding: 20px; }
.profile__close {
  position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper); border: 0; font-size: 20px; font-weight: 900; cursor: pointer; text-decoration: none;
}
.profile__close:hover { color: var(--red); }
.profile__body { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.profile__head { display: flex; flex-direction: column; gap: 10px; }
.profile__kick { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.profile__credit { font-family: var(--mono); font-size: 11px; color: var(--gray); }
.profile__name { margin: 0; font-weight: 900; font-stretch: 75%; font-size: 56px; line-height: .88; text-transform: uppercase; }
.profile__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--ink); border-left: 3px solid var(--ink); }
.profile__facts > div { padding: 12px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); display: flex; flex-direction: column; gap: 4px; }
.profile__facts dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.profile__facts dd { margin: 0; font-weight: 700; font-size: 16px; }
.profile__facts .profile__fact--hot { background: var(--red); }
.profile__fact--hot dd { font-weight: 800; }
.profile__why { display: flex; flex-direction: column; gap: 10px; }
.profile__subhead { margin: 0; font-weight: 900; font-stretch: 85%; font-size: 22px; text-transform: uppercase; }
.profile__why p { margin: 0; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.profile__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-link { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; text-decoration: none; }
.pill-link:hover { background: var(--blue); color: var(--paper); }
.profile__share { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--ink); padding-top: 18px; }
.profile__share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.share-btn { border: 3px solid var(--ink); padding: 12px; text-align: center; font-weight: 800; text-decoration: none; background: none; color: var(--ink); cursor: pointer; }
.share-btn--wa { background: var(--whatsapp); }
.profile__share .btn { padding: 16px; }

.candidate-page { max-width: 760px; margin: 0 auto; padding: clamp(16px, 4vw, 48px) var(--gutter) var(--section-y); }
.candidate-page .profile { background: var(--paper); border: 4px solid var(--ink); }

/* ---------- Scroll-in reveals (enabled by public/js/home.js) ---------- */
/* Content stays visible before the observer runs, including slow devices. */
.js .featured__grid.is-in > * { animation: lp-slide-in .6s var(--ease-out) backwards; }
.js .featured__grid.is-in > :nth-child(2) { animation-delay: .22s; }
.js .featured__grid.is-in > :nth-child(3) { animation-delay: .34s; }
.js .featured__grid.is-in > :nth-child(4) { animation-delay: .46s; }
.js .featured__grid.is-in > :nth-child(1) { animation-delay: .1s; }
.js .share__title.is-in .share__line-a { animation: lp-rise .7s var(--ease-out) .05s both; }
.js .share__title.is-in .share__line-b { animation: lp-wipe .6s var(--ease-wipe) .35s both; }
.js .timeline__track.is-in > * { animation: lp-slide-in .55s var(--ease-out) backwards; }
.js .timeline__track.is-in > :nth-child(2) { animation-delay: .09s; }
.js .timeline__track.is-in > :nth-child(3) { animation-delay: .18s; }
.js .timeline__track.is-in > :nth-child(4) { animation-delay: .27s; }
.js .timeline__track.is-in > :nth-child(5) { animation-delay: .36s; }
.js .timeline__track.is-in > :nth-child(6) { animation-delay: .45s; }
.js .timeline__track.is-in > :nth-child(7) { animation-delay: .54s; }
.js .timeline__track.is-in > :nth-child(n+8) { animation-delay: .63s; }

/* Keep first paint and subsequent reveals stable; layout and palette are unchanged. */
.hero__line--a,.hero__line--b,.hero__line--c,.js .featured__grid.is-in > *,.js .share__title.is-in .share__line-a,.js .share__title.is-in .share__line-b,.js .timeline__track.is-in > * {animation:none;}
