:root {
  --ink: #11100f;
  --paper: #f3f1ea;
  --paper-strong: #ffffff;
  --red: #ed1c24;
  --red-dark: #ba1118;
  --yellow: #ffc400;
  --muted: #665f57;
  --line: #221f1c;
  --shadow: 7px 7px 0 var(--ink);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }
html[data-text-size="1"] { font-size: 112%; }
html[data-text-size="2"] { font-size: 125%; }
html[data-text-size="3"] { font-size: 150%; }
.accessibility-bar { background: #ecebe7; color: #222; border-bottom: 1px solid #d1cfc7; }
.accessibility-bar .section-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 12px; padding-block: 2px; }
.accessibility-bar button, .accessibility-bar a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px; font-size: .75rem; font-weight: 700; background: transparent; border: 1px solid transparent; color: inherit; cursor: pointer; }
.accessibility-bar button[aria-pressed="true"] { border-color: currentColor; text-decoration: underline; }
.accessibility-bar button:disabled { opacity: .55; cursor: default; }
.candidate-socials { display: flex; align-items: center; gap: 6px; }
.candidate-socials a { display: grid; width: 44px; min-height: 44px; padding: 9px; place-items: center; color: inherit; border: 1px solid transparent; text-decoration: none; }
.candidate-socials a:hover { border-color: currentColor; background: #fff; color: #111; }
.candidate-socials svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.candidate-socials .social-icon-fill { fill: currentColor; stroke: none; }
.header-socials { margin-left: auto; }
.accessibility-information { max-width: 850px; }
html { scroll-padding-top: 190px; }

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: inherit; }

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

button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.04em;
}

.brand-mark {
  display: grid;
  padding: 3px 9px;
  min-height: 28px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(-5deg);
  font-size: .86rem;
  border: 1px solid var(--ink);
}

.brand-name { font-size: 1.15rem; text-transform: uppercase; line-height: 1; }
.brand-name small { display: block; margin-top: 6px; font-size: .6rem; letter-spacing: .06em; font-weight: 650; }
.site-nav .nav-action { gap: 20px; border-bottom: 3px solid var(--red); }

.menu-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  top: 66px;
  right: 0;
  left: 0;
  display: none;
  padding: 8px 16px 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.site-nav.is-open { display: grid; }

.site-nav a {
  min-height: 44px;
  padding: 10px 8px;
  text-decoration: none;
  font-weight: 800;
}

.site-nav a:hover { color: var(--red); }

.hero {
  position: relative;
  isolation: isolate;
  border-bottom: 0;
  background: var(--ink);
  color: #fff;
}

.hero-grid {
  display: grid;
  min-height: 640px;
  align-content: center;
  gap: 36px;
  padding-block: 90px 100px;
}

.hero-territory { position: absolute; inset: 30px 0 auto; z-index: -1; text-align: center; font-size: clamp(3rem, 12vw, 10rem); line-height: .95; font-weight: 900; text-transform: uppercase; letter-spacing: -.07em; color: #272624; pointer-events: none; }
.hero-identity { position: relative; padding-block: 32px; min-width: 0; container-type: inline-size; }
.territory-stamp { display: block; width: max-content; margin-top: 32px; border: 2px solid #a39c8a; border-radius: 50%; padding: 20px 14px; font-size: .6rem; text-align: center; letter-spacing: .12em; line-height: 1.6; color: #c7c2b8; transform: rotate(-14deg); }
.territory-stamp strong { font-size: .85rem; }

.eyebrow,
.section-kicker,
.card-number {
  margin: 0 0 12px;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.number,
.slogan,
.candidate-card h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -.06em;
}

.hero h1 span { display: table; padding: 0 12px 6px; color: var(--ink); background: var(--paper); transform: rotate(-3deg); }
.hero h1 span + span { margin-left: 20px; margin-top: -3px; background: var(--yellow); transform: rotate(1deg); }
.hero .long-name h1 { font-size: clamp(2rem, 13cqw, 5.5rem); }

.role {
  max-width: 29rem;
  margin: 22px 0 0;
  font-size: clamp(1rem, 3.8vw, 1.28rem);
  font-weight: 800;
}

.hero-number {
  position: relative;
  padding: 26px 18px 28px;
  border: 3px solid #fff;
  border-top: 12px solid var(--red);
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: 8px 8px 0 var(--red);
  transform: rotate(-1.5deg);
  min-width: 0;
  container-type: inline-size;
}

.number {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(3rem, 29cqw, 10rem);
  line-height: .78;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: .09em;
  text-underline-offset: .04em;
}

.slogan {
  margin-top: 18px;
  font-size: clamp(1.25rem, 8.5cqw, 3rem);
  line-height: .94;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button.secondary { background: var(--paper-strong); }
.button.dark { color: #fff; background: var(--ink); box-shadow: 4px 4px 0 var(--yellow); }

.section { padding-block: 72px; border-bottom: 2px solid var(--ink); }
.section.dark { color: #fff; background: var(--ink); }
.section.red {
  color: var(--ink);
  border-top: 10px solid var(--red);
  background: var(--paper-strong);
}

.section-heading { margin-bottom: 34px; }
.section-kicker { color: var(--red); }
.dark .section-kicker { color: var(--yellow); }
.red .section-kicker { color: var(--red); }

.section-title {
  max-width: 13ch;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: .98;
}

.intro {
  max-width: 54rem;
  margin: 0 0 26px;
  font-size: clamp(1.24rem, 4vw, 1.7rem);
  font-weight: 760;
  line-height: 1.32;
}

.prose { display: grid; max-width: 48rem; gap: 16px; }
.prose p { margin: 0; }

.biography-layout { display: grid; gap: 48px; align-items: start; }
.biography-copy { min-width: 0; }
.biography-copy .intro { font-size: 1.3rem; }
.biography-copy .button { font-size: .85rem; }
.biography-postcard { position: relative; margin: 10px 8px; padding: 16px; background: #fff; box-shadow: 2px 12px 30px #11100f12; transform: rotate(-3deg); }
.postcard-tag { position: relative; display: table; padding: 5px 12px; margin: -30px 0 16px 4px; background: var(--yellow); font-size: .65rem; text-transform: uppercase; font-weight: 850; letter-spacing: .08em; transform: rotate(4deg); }
.portrait-space { display: grid; min-height: 270px; place-items: center; background: #ddd8ca; }
.portrait-monogram { font-size: clamp(5rem, 12vw, 9rem); font-weight: 950; letter-spacing: -.08em; color: #b5ae9d; }
.postcard-caption { display: grid; gap: 4px; padding: 18px 45px 8px 0; }
.postcard-caption strong { text-transform: uppercase; font-size: 1.4rem; letter-spacing: -.04em; }
.postcard-caption span { font-size: .75rem; color: var(--muted); }
.postcard-stamp { position: absolute; right: -7px; bottom: 25px; border: 2px solid var(--red); color: var(--red); border-radius: 50%; width: 74px; height: 74px; display: grid; place-content: center; text-align: center; font-size: 1rem; line-height: 1.1; font-weight: 900; transform: rotate(15deg); }

.defense-grid,
.candidate-grid,
.agenda-list {
  display: grid;
  gap: 18px;
}

.candidate-card,
.agenda-item {
  padding: 22px;
  border: 2px solid currentColor;
}

.agenda-item h3 { margin: 0 0 10px; font-size: 1.2rem; }
.agenda-item p { margin: 0; color: var(--muted); }
#defesas { background: #e9e5da; color: var(--ink); border: 0; position: relative; padding-block: 90px; }
.defense-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.defense-heading .section-kicker { color: var(--red); }
.headline-strip { display: inline-block; color: var(--paper); background: var(--ink); padding: 3px 14px 10px; transform: rotate(-2deg); margin-top: 8px; }
.headline-strip { white-space: nowrap; }
.defense-seal { flex: 0 0 auto; border: 2px solid var(--red); color: var(--red); border-radius: 50%; width: 140px; height: 140px; display: grid; align-content: center; text-align: center; font-size: .55rem; letter-spacing: .08em; transform: rotate(15deg); }
.defense-seal strong { font-size: 3.6rem; line-height: 1.05; }
.defense-grid { gap: 28px; padding: 20px 10px 30px; }
.defense-card { --tilt: -1.5deg; position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px 28px; color: var(--ink); background: #fffcf4; border: 0; filter: drop-shadow(1px 5px 2px #11100f12); transform: rotate(var(--tilt)); }
.defense-card::before { content: ''; position: absolute; inset: 0 -5px; z-index: -1; background: radial-gradient(circle at 5px 5px, #fffcf4 5px, transparent 5.5px) 0 0 / 10px 10px; }
.defense-card:nth-child(2n) { --tilt: 1.4deg; }
.defense-card:nth-child(3n) { --tilt: -.5deg; }
.postcard-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #11100f25; font-size: .65rem; font-weight: 850; letter-spacing: .12em; }
.postcard-meta span:last-child { font-size: 1.7rem; line-height: .7; color: var(--red); }
.defense-card h3 { margin: 20px 0 14px; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.06; letter-spacing: -.04em; max-width: 16ch; }
.defense-card p { margin: 0 0 26px; color: #4e4942; font-size: .97rem; }
.postcard-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; border-top: 1px dashed #11100f35; padding-top: 12px; }
.postcard-footer span { font-size: 1.8rem; color: var(--red); line-height: 1; }
#defesas .muted-note { color: var(--muted); }

.action-panel {
  display: grid;
  gap: 28px;
  padding: 26px;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.action-panel::before {
  content: "80";
  width: max-content;
  padding: 2px 10px;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 950;
  font-size: 1.7rem;
  line-height: 1.2;
  grid-column: 1 / -1;
}

.action-panel h2 { margin: 0; font-size: clamp(2rem, 9vw, 4.5rem); line-height: .94; text-transform: uppercase; }
.action-panel p { max-width: 48rem; margin: 14px 0 0; font-weight: 700; }

.candidate-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper-strong);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.candidate-card:hover { transform: translateY(-5px); box-shadow: 6px 6px 0 var(--red); }

.candidate-card h3 { font-size: 2rem; line-height: .95; }
.candidate-card p { margin: 10px 0 18px; color: var(--muted); }
.candidate-card a { font-weight: 950; }

.agenda-item time { display: block; margin-bottom: 8px; font-weight: 900; color: var(--red-dark); }

.site-footer { padding-top: 56px; color: #f9f8f2; background: #171b19; border-top: 5px solid var(--red); }
.footer-inner { display: grid; gap: 40px; padding-bottom: 48px; }
.footer-inner p { margin: 0; }
.footer-signature { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; max-width: 100%; }
.footer-party { display: flex; align-items: center; gap: 14px; font-size: 2.8rem; font-weight: 950; line-height: 1; letter-spacing: -.06em; }
.footer-party > span { border-left: 1px solid #ffffff50; padding-left: 14px; font-size: .64rem; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; font-weight: 650; }
.footer-candidate-name { margin-top: 22px; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; text-transform: uppercase; letter-spacing: -.035em; }
.footer-candidate-number { color: var(--yellow); font-size: clamp(3.8rem, 17vw, 5.6rem); font-weight: 950; line-height: 1.08; letter-spacing: -.065em; }
.footer-office { margin-top: 14px !important; color: #bfc8c2; font-size: .85rem; line-height: 1.6; }
.footer-directory { min-width: 0; }
.footer-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 28px; border-bottom: 1px solid #ffffff25; }
.footer-navigation a, .footer-contact a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.footer-navigation a { font-weight: 750; text-decoration: none; }
.footer-navigation .footer-participate { color: #111; background: var(--yellow); padding: 8px 16px; border-radius: 4px; gap: 16px; }
.footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 28px; }
.footer-contact h2 { margin: 0 0 10px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #bfc8c2; }
.footer-contact p { font-size: .85rem; max-width: 28ch; }
.footer-contact a { display: flex; width: fit-content; font-size: .9rem; }
.footer-socials { margin-top: 10px; }
.footer-contact .footer-socials a { display: grid; width: 44px; min-height: 44px; padding: 9px; border-color: #ffffff38; }
.footer-contact .footer-socials a:hover { color: #111; border-color: var(--yellow); background: var(--yellow); }
.footer-bottom { padding-block: 16px; background: #222a25; border-top: 1px solid #ffffff18; }
.footer-bottom .section-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; }
.footer-bottom p { margin: 0 auto 0 0; font-size: .8rem; font-weight: 750; }
.footer-bottom p span { color: var(--yellow); padding-inline: 5px; }
.footer-bottom a { font-size: .8rem; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .footer-participate:hover { color: #111; background: #fff; }

.muted-note { margin: 22px 0 0; color: var(--muted); font-size: .9rem; }
.dark .muted-note { color: #d9d3cb; }

@media (min-width: 720px) {
  .header-inner, .section-inner, .footer-inner { width: min(100% - 64px, 1180px); }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr); align-items: center; }
  .defense-grid, .candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biography-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .biography-postcard { margin-top: 50px; }
  .defense-card:nth-child(2n) { margin-top: 26px; margin-bottom: -26px; }
  .action-panel { grid-template-columns: 1.2fr .8fr; align-items: end; }
}

@media (min-width: 980px) {
  .menu-button { display: none; }
  .site-nav { position: static; display: flex; padding: 0; border: 0; background: transparent; gap: 12px; }
  .site-nav a { display: inline-flex; align-items: center; }
  .candidate-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .footer-inner { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr); align-items: start; gap: 64px; }
}

@media (max-width: 719px) {
  .hero-grid { padding: 88px 8px 62px; gap: 20px; min-height: auto; }
  .hero-identity { padding-block: 0; }
  .hero h1 { font-size: clamp(3.4rem, 14vw, 5.5rem); }
  .hero-number { padding: 22px 15px; }
  .hero .eyebrow { font-size: .65rem; max-width: 30ch; }
  .territory-stamp { position: absolute; right: 0; bottom: 14px; padding: 13px 8px; font-size: .5rem; }
  .role { padding-right: 100px; font-size: .9rem; }
  .hero .button { padding: 10px 12px; font-size: .8rem; }
  .slogan { font-size: clamp(1.25rem, 8.5cqw, 2.5rem); }
  .section { padding-block: 52px; }
  .biography-postcard { max-width: 350px; width: calc(100% - 32px); justify-self: center; }
  .portrait-space { min-height: 220px; }
  .defense-heading { gap: 8px; }
  .defense-heading .section-title { font-size: clamp(2rem, 7vw, 3rem); }
  .defense-seal { width: 80px; height: 80px; font-size: .33rem; }
  .defense-seal strong { font-size: 2rem; }
  .defense-grid { padding-inline: 8px; }
  .action-panel { padding: 22px; }
  .brand { gap: 8px; }
  .brand-name { font-size: .95rem; }
}

.hero-with-media { background: #192822; }
.hero-landscape { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% center; opacity: 1; z-index: -3; }
.hero-with-media::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #0b25352a, transparent 45%, #071812d9), linear-gradient(90deg, #061813b8, #06181315 58%, #06181333); }
.hero-with-media .hero-territory { color: #ffffff19; font-size: clamp(3rem, 10vw, 9rem); top: 24px; }
.hero-with-media .hero-grid { position: relative; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; padding-block: 84px 56px; }
.hero-with-media .hero-identity { z-index: 2; }
.hero-with-media h1 { font-size: clamp(2.3rem, 7vw, 5.5rem); }
.hero-with-media .eyebrow { max-width: 25ch; text-shadow: 0 2px 8px #000; }
.hero-with-media .hero-number { grid-column: 1 / -1; z-index: 3; width: min(100%, 620px); justify-self: center; }
.hero-portrait { position: relative; align-self: end; min-width: 0; isolation: isolate; }
.ai-portrait-label { display: block; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: max-content; max-width: 100%; background: #17261fe8; color: #fff; padding: 4px 8px; font-size: .65rem; text-align: center; }
.postcard-caption small { display: block; font-size: .7rem; color: #555; margin-top: 6px; }
.hero-portrait img { display: block; position: relative; width: 100%; height: auto; max-height: 480px; object-fit: contain; object-position: bottom; filter: drop-shadow(5px 0 0 #f3f1ea) drop-shadow(-3px 0 0 #f3f1ea) drop-shadow(0 -3px 0 #f3f1ea); }
.portrait-paper { position: absolute; inset: 22% 0 3% 0; z-index: -1; background: #b2c9a5; background-image: radial-gradient(#263d251f 1px, transparent 1px); background-size: 5px 5px; clip-path: polygon(12% 0, 92% 5%, 100% 87%, 84% 100%, 0 94%, 5% 17%); transform: rotate(6deg); }
.hero-with-media .territory-stamp { background: #11100f99; border-color: #e7ddbd; color: #e7ddbd; }
.has-portrait { background: #b2c9a5; background-image: radial-gradient(#263d252a 1px, transparent 1px); background-size: 5px 5px; }
.has-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 958; max-height: 430px; object-fit: contain; object-position: bottom; align-self: end; filter: drop-shadow(4px 0 0 #fff) drop-shadow(-3px 0 0 #fff); }
@media (min-width: 980px) {
  .hero-with-media .hero-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.18fr); gap: 12px; min-height: 680px; padding-block: 120px 65px; }
  .hero-with-media .hero-number { grid-column: auto; width: 100%; margin-left: -8px; }
  .hero-with-media h1 { font-size: clamp(3.6rem, 6vw, 5.5rem); }
  .hero-with-media .hero-portrait { margin-inline: -8px 0; align-self: center; transform: translateY(20px); }
  .hero-with-media .hero-number .button { padding: 10px 12px; font-size: .82rem; }
}
@media (max-width: 719px) {
  .hero-with-media .hero-grid { gap: 14px 6px; padding: 64px 6px 44px; }
  .hero-with-media .hero-identity { align-self: center; padding: 0; }
  .hero-with-media h1 span { padding: 2px 7px 4px; }
  .hero-with-media h1 span + span { margin-left: 7px; }
  .hero-with-media .role { padding-right: 0; font-size: .8rem; }
  .hero-with-media .eyebrow { font-size: .55rem; letter-spacing: .08em; }
  .hero-with-media .territory-stamp { position: static; margin-top: 22px; padding: 10px 8px; }
  .hero-with-media .hero-portrait { align-self: center; margin-left: -6px; margin-right: 8px; }
  .biography-postcard:has(.has-portrait) { width: calc(100% - 32px); }
  .hero-with-media .hero-number { margin-top: 10px; }
  .hero-with-media .hero-landscape { object-position: 18% center; }
}

@media (max-width: 359px) {
  .section-title { font-size: 2.4rem; overflow-wrap: anywhere; }
  .defense-heading { display: grid; grid-template-columns: minmax(0, 1fr); }
  .defense-seal { margin: 12px; }
}

/* Fotografia editorial: molduras claras, texto em superfície escura. */
#quem-e { background: #fff; }
#defesas { background: #1e352e; color: #fff; }
#defesas .section-kicker, #defesas .defense-seal { color: #f9cf56; border-color: #f9cf56; }
#defesas .headline-strip { background: #f9cf56; color: var(--ink); }
#defesas .muted-note { color: #d6e3d8; }
.defense-card { isolation: isolate; min-height: 360px; border: 10px solid #fffcf4; background: #101c19; color: #fff; padding: 24px; }
.defense-card::before { z-index: -3; inset: -15px; }
.defense-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0718128c, #06110ef0 88%); }
.defense-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.defense-card:nth-child(3n + 2)::after { background: linear-gradient(180deg, #16233294, #0e1524f5 88%); }
.defense-card:nth-child(3n)::after { background: linear-gradient(180deg, #302112a6, #211608f5 88%); }
.defense-card h3 { margin-top: 58px; }
.defense-card p { color: #fff; }
.postcard-meta { border-color: #ffffff55; }
.postcard-meta span:last-child, .postcard-footer span { color: #f9cf56; }
.postcard-footer { border-color: #ffffff55; }
.instagram-section { background: #f6c95a; }
.instagram-layout { display: grid; gap: 50px; align-items: center; }
.instagram-postcard { display: block; position: relative; width: min(100% - 30px, 370px); justify-self: center; margin-block: 20px; border: 12px solid #fff; color: #fff; background: #223e34; transform: rotate(-5deg); box-shadow: 10px 12px 0 #11100f; text-decoration: none; }
.instagram-postcard img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: top; }
.social-sticker { position: absolute; top: -25px; left: 12px; background: #11100f; color: #fff; border: 2px solid #fff; padding: 8px 15px; font-weight: 850; font-size: .75rem; transform: rotate(7deg); }
.instagram-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; color: #11100f; padding: 14px 4px 4px; font-weight: 800; }
.instagram-copy { min-width: 0; }
.instagram-postcard.social-preview { width: min(100%, 440px); border: 1px solid #c2c2c2; border-radius: 8px; transform: none; background: #fff; color: #171b19; box-shadow: 7px 9px 0 #11100f20; }
.social-preview-header { display: flex; align-items: center; gap: 10px; padding: 14px; }
.social-avatar { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border: 2px solid #b32652; border-radius: 50%; font-size: .7rem; font-weight: 900; }
.social-profile { min-width: 0; flex: 1; }
.social-profile strong, .social-profile small { display: block; overflow-wrap: anywhere; }
.social-profile strong { font-size: .8rem; }
.social-profile small { font-size: .65rem; color: #555; margin-top: 3px; }
.social-profile-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; border-radius: 4px; background: #164fc2; color: #fff; font-size: .75rem; font-weight: 750; flex-shrink: 0; }
.social-preview-caption { display: grid; gap: 8px; padding: 18px; font-size: .9rem; }
.social-preview-caption small { color: #555; font-size: .72rem; line-height: 1.5; }
.social-preview-link { color: #164fc2; font-weight: 800; padding-top: 8px; }
.social-preview:hover .social-preview-link { text-decoration: underline; }
.social-preview:focus-visible { outline: 3px solid #164fc2; outline-offset: 5px; }
.instagram-copy .section-kicker { color: #5c3515; }
.instagram-copy .section-title { font-size: clamp(2.7rem, 6vw, 5.5rem); }
.instagram-copy .section-title span { background: #11100f; color: #fff; padding-inline: 8px; }
.social-handle { font-size: clamp(1rem, 3vw, 1.6rem); font-weight: 850; overflow-wrap: anywhere; }
.social-note { font-size: .8rem; max-width: 46ch; }
#participe { background: #e7efea; }
#noticias { background: #171b1a; color: #fff; border-top: 0; }
#noticias .section-kicker { color: #f9cf56; }
#noticias .button { color: #11100f; }
#noticias .intro { font-size: 1.15rem; max-width: 48ch; font-weight: 500; color: #d4dcd8; }
.editorial-grid { display: grid; gap: 22px; margin-top: 38px; }
.editorial-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; min-width: 0; min-height: 410px; background: #101413; border-radius: 6px; }
.editorial-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.editorial-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, #080c091a, #080c09e8 48%, #080c09 100%); }
.editorial-copy { padding: 160px 24px 26px; }
.editorial-category { color: #f9cf56; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.editorial-copy h3 { font-size: 1.65rem; line-height: 1.12; margin: 14px 0; overflow-wrap: anywhere; hyphens: auto; }
.editorial-copy p:not(.editorial-category) { font-size: .94rem; color: #e1e6e3; }
.editorial-link { display: inline-flex; align-items: center; min-height: 48px; color: #fff; font-weight: 800; text-underline-offset: 5px; }
.editorial-note { color: #b8c5bf; font-size: .78rem; margin-block: 22px; }
#candidaturas { background: #c3d3c4; }
#candidaturas .section-kicker { color: #354d3d; }
.candidate-grid { gap: 26px; padding: 10px; }
.candidate-card { position: relative; isolation: isolate; background: #fffaf0; border: 0; padding: 10px; color: #11100f; min-width: 0; }
.candidate-card::before { content: ""; position: absolute; inset: -5px; z-index: -1; background: radial-gradient(circle at 5px 5px, #fffaf0 5px, transparent 5.5px) 0 0 / 10px 10px; }
.candidate-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; background: #e7bb54; }
.candidate-details { padding: 20px 10px 0; flex: 1; container-type: inline-size; }
.candidate-card .card-number { color: #63542f; font-size: .65rem; }
.candidate-card h3 { font-size: clamp(1.1rem, 12cqw, 1.85rem); overflow-wrap: anywhere; }
.candidate-card > a { min-height: 48px; display: flex; align-items: center; padding: 10px; font-size: .85rem; text-underline-offset: 4px; }
.candidate-card:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 #263d32; }
.mobile-shortcuts { display: none; }
.swipe-hint { display: none; }
@media (min-width: 720px) {
  .instagram-layout { grid-template-columns: .85fr 1.15fr; }
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-card:first-child { grid-column: 1 / -1; }
  .editorial-copy { padding-inline: 18px; }
}
@media (min-width: 1100px) {
  .editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editorial-card:first-child { grid-column: auto; }
}
@media (max-width: 719px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .hero:not(.hero-with-media) h1 { font-size: clamp(2rem, 14cqw, 5.5rem); }
  .hero:not(.hero-with-media) .hero-number { width: calc(100% - 12px); justify-self: center; }
  .hero-with-media h1 { font-size: clamp(2.3rem, 10vw, 3.3rem); }
  .hero-with-media .hero-grid { padding-top: 56px; padding-bottom: 36px; }
  .hero-with-media .territory-stamp { margin-top: 16px; }
  .hero-with-media .hero-number { padding-block: 20px; }
  .hero-with-media .hero-number .button-row { margin-top: 22px; }
  .mobile-shortcuts { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; display: grid; grid-template-columns: 1fr .8fr .8fr; gap: 6px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: #11100f; border-top: 1px solid #ffffff44; }
  .mobile-shortcuts a { display: flex; justify-content: center; align-items: center; min-height: 48px; color: #fff; font-size: .85rem; font-weight: 800; text-decoration: none; }
  .mobile-shortcuts .shortcut-donation { background: var(--yellow); color: #11100f; border-radius: 3px; }
  #defesas { padding-block: 56px; }
  .defense-card { min-height: 355px; padding: 20px; }
  .defense-card h3 { margin-top: 50px; }
  .instagram-layout { gap: 34px; }
  .instagram-postcard { max-width: 280px; }
  .instagram-copy .section-title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .candidate-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; padding: 12px 10px 22px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #31503d #a6bda9; }
  .candidate-card { scroll-snap-align: start; }
  .candidate-card h3 { font-size: 1.8rem; }
  #candidaturas .section-title { max-width: none; font-size: clamp(1.7rem, 8vw, 3rem); overflow-wrap: normal; }
  .swipe-hint { display: block; margin-bottom: 18px; font-size: .8rem; color: #354d3d; }
  .section-title { overflow-wrap: anywhere; }
}

.videos-section { background: #fff; border-top: 1px solid #11100f; }
.videos-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.videos-heading > p { margin: 0; font-size: .95rem; color: #595c58; }
.videos-heading .section-kicker { color: #8f211e; }
.video-grid { display: grid; gap: 24px; }
.video-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); min-width: 0; border: 1px solid #d1d6d2; background: #f5f6f3; }
.video-cover { display: block; position: relative; align-self: start; background: #111; text-decoration: none; }
.video-cover img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }
.video-format { position: absolute; top: 10px; left: 10px; padding: 4px 8px; background: #11100fe8; color: #fff; font-size: .65rem; font-weight: 850; letter-spacing: .08em; }
.video-copy { display: flex; flex-direction: column; min-width: 0; padding: 22px; }
.video-author { margin: 0 0 14px; color: #59634f; font-size: .75rem; font-weight: 700; overflow-wrap: anywhere; }
.video-copy h3 { margin: 0 0 16px; font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.12; letter-spacing: -.025em; }
.video-caption { margin: 0 0 18px; font-size: .95rem; }
.video-context { margin: 0 0 14px; font-size: .75rem; color: #5b6159; }
.video-watch { margin-top: auto; min-height: 48px; display: flex; align-items: center; font-size: .85rem; font-weight: 850; text-underline-offset: 4px; }
.video-note { margin: 22px 0 0; font-size: .78rem; color: #5b6159; }
@media (min-width: 980px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .videos-heading { display: block; }
  .videos-heading > p { margin-top: 20px; }
  .video-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .video-copy { padding: 14px; }
  .video-copy h3 { font-size: 1.22rem; margin-bottom: 12px; }
  .video-caption { font-size: .9rem; margin-bottom: 12px; }
  .video-author { font-size: .65rem; }
  .video-format { top: 6px; left: 6px; }
}

.site-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.gallery-heading { background: #e6eee7; border-bottom: 1px solid var(--ink); }
.gallery-heading .intro, .schedule-heading .intro { margin-top: 24px; }
@media (min-width: 720px) {
  .photo-entry:only-child { display: grid; grid-template-columns: 1fr 1fr; max-width: none; }
  .photo-entry:only-child figcaption { align-self: center; padding: 36px; }
}
.collection-count { display: inline-block; padding: 8px 14px; background: #fff; border: 1px solid var(--ink); font-size: .85rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.photo-entry { margin: 0; max-width: 580px; background: #fff; border: 1px solid #bbb; }
.photo-open { display: block; position: relative; color: #fff; }
.photo-open img { display: block; width: 100%; height: auto; }
.photo-open span { position: absolute; right: 12px; bottom: 12px; padding: 10px 14px; background: #111; font-weight: 700; }
.photo-entry figcaption { padding: 24px; }
.photo-entry h2 { font-size: 1.5rem; margin-block: 8px; }
.gallery-note { max-width: 68ch; margin-block: 32px; }
.schedule-heading { background: #173b31; color: #fff; }
.schedule-heading .section-kicker { color: #ffcd32; }
.schedule-territory { display: inline-block; padding: 10px 16px; color: #111; background: #f4c64e; font-weight: 750; }
.schedule-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.schedule-layout h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.15; }
.empty-collection { padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid #aaa; }
.empty-symbol { display: block; font-size: 3rem; color: #a92225; }
.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-event { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid #aaa; }
.schedule-event time { font-weight: 800; color: #8b1a22; }
.schedule-event h3 { margin-top: 0; }
@media (max-width: 719px) {
  .schedule-layout { grid-template-columns: 1fr; gap: 28px; }
  .schedule-event { grid-template-columns: 1fr; gap: 8px; }
}
.home-bio-summary { max-width: 55ch; }
.materials-banner { padding-block: 38px; background: #f4c64e; color: #11100f; }
.materials-banner > div { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.materials-banner h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.materials-banner p:last-child { margin: 8px 0 0; }
.materials-banner .section-kicker { color: #513612; }
.materials-banner .button { flex-shrink: 0; background: #11100f; color: #fff; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 32px; font-size: .9rem; font-weight: 750; text-underline-offset: 4px; }
.about-intro { background: #e6eee7; }
.about-intro-grid { display: grid; gap: 40px; align-items: center; }
.about-intro .section-title { margin-bottom: 30px; font-size: clamp(2.8rem, 6vw, 5.5rem); overflow-wrap: anywhere; }
.about-portrait { margin: 0; padding: 14px; background: #fff; border: 1px solid #d2d9d1; }
.about-portrait img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; background: #b9ceb8; }
.about-portrait figcaption { font-size: .8rem; padding: 16px 4px 4px; }
.about-story { display: grid; gap: 32px; }
.about-story h2, .about-next h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.035em; }
.story-chapter { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 20px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #c5ccc4; }
.chapter-number { font-size: 1.6rem; font-weight: 900; color: #536c51; }
.story-chapter p { margin: 0; font-size: 1.12rem; line-height: 1.75; }
.story-source { font-size: .85rem; color: #535c52; }
.about-next { background: #fff; }
.materials-page { background: #fff; }
.materials-page .section-title { max-width: 16ch; margin-bottom: 28px; overflow-wrap: anywhere; }
.materials-grid { display: grid; gap: 48px; margin-top: 46px; align-items: start; }
.digital-card { padding: 24px; background: #e6eee7; border: 2px solid #11100f; }
.digital-card img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; }
.digital-card h2 { margin: 24px 0 12px; font-size: 2rem; letter-spacing: -.04em; }
.digital-number { display: block; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.material-status { padding: 18px; border-left: 4px solid #b37e11; background: #fff5d9; }
.materials-information h2 { margin-top: 0; font-size: 1.8rem; }
.materials-information h3 { margin-top: 35px; }
@media (min-width: 720px) {
  .about-intro-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .about-story { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .materials-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
@media (max-width: 719px) {
  .materials-banner > div { display: grid; }
  .materials-banner .button { justify-self: start; }
  .about-portrait { max-width: 360px; width: 100%; justify-self: center; }
  .about-intro .section-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .story-chapter { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; }
  .story-chapter p { font-size: 1rem; }
}

/* Revisão editorial: cores concentradas nos detalhes, fotos e controles. */
#defesas { background: #222224; }
.instagram-section { background: #f0f0ed; border-bottom: 1px solid #d1d1cc; }
.instagram-copy .section-kicker { color: #a71927; }
.hero-portrait img { border-radius: 6px; filter: none; }
.hero-portrait { border: 5px solid #faf9f5; border-radius: 6px; background: #d6d3d6; }
.hero-portrait .portrait-paper { display: none; }
body[data-candidate="ruan-vidal"] .hero-portrait { overflow: hidden; aspect-ratio: 1 / 1.32; border: 0; background: none; box-shadow: none; border-radius: 0; }
body[data-candidate="ruan-vidal"] .hero-portrait > img { position: absolute; top: 0; left: 50%; width: 140%; max-width: none; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(7px 8px 0 #1118); }
body[data-candidate="ruan-vidal"] .hero-portrait .portrait-paper { display: none; }
body[data-candidate="ruan-vidal"] .social-preview > img { height: auto; aspect-ratio: auto; object-fit: contain; }

/* Variante editorial: fotos reais, sem emprestar a paisagem do Rio ao ES/Brasil. */
.hero-editorial { background: #64232d; }
.hero-editorial::before { background: repeating-linear-gradient(-25deg, transparent 0 78px, #ffffff05 78px 80px), linear-gradient(120deg, #231b21, #64232d); }
.hero-editorial .hero-territory { color: #ffffff0d; }
.hero-editorial .hero-portrait { background: #ebe7de; border-radius: 0; transform: rotate(2deg); box-shadow: 10px 12px 0 #1c141c55; }
.hero-editorial .hero-portrait img { border-radius: 0; aspect-ratio: 4 / 5; height: auto; max-height: none; object-fit: cover; object-position: center; }
.hero-editorial .hero-identity h1 { font-size: clamp(1.35rem, 15cqw, 4.3rem); }
.hero-editorial .hero-identity.long-name h1 { font-size: clamp(1rem, 12cqw, 3.6rem); }
.hero-editorial .hero-identity h1 span { max-width: 100%; }
.hero-editorial .hero-number .slogan { font-size: clamp(1.1rem, 2.2vw, 2rem); }
body:not([data-candidate="ruan-vidal"]) .has-portrait { background: #ebe7de; }
body[data-candidate="bianca-rubim"] .hero-portrait img,
body[data-candidate="bianca-rubim"] .has-portrait img,
body[data-candidate="bianca-rubim"] .photo-open img[src$="bianca-oficial.webp"] { object-fit: contain; }
body:not([data-candidate="ruan-vidal"]) .social-preview > img { object-fit: contain; background: #ebe7de; }
@media (min-width: 1120px) {
  .hero-editorial .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr) minmax(0, 1fr); min-height: 630px; padding-block: 92px 64px; }
}
.has-portrait img { object-fit: cover; filter: none; aspect-ratio: 4 / 5; }
.social-avatar { overflow: clip; }
.social-preview .social-avatar img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 22%; }
.video-grid { grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 32px; }
.video-card { display: flex; flex-direction: column; border: 1px solid #c2c2c2; background: #fff; border-radius: 8px; }
.video-card .social-preview-header { border-bottom: 1px solid #ddd; }
.video-cover { display: block; width: 100%; align-self: stretch; background: #151515; }
.video-cover img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.video-copy { padding: 20px; }
.video-copy h3 { font-size: 1.3rem; }
.video-copy .video-author { display: none; }
#participe { background: #fff; }
.action-panel { background: #f4f3ee; grid-template-columns: 1fr 1fr; gap: 48px; padding: clamp(24px, 5vw, 64px); box-shadow: none; border: 1px solid #cecec8; border-top: 5px solid #a71927; }
.action-panel::before { display: none; }
.action-panel h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.action-panel > * { min-width: 0; }
.action-panel h2 { overflow-wrap: anywhere; }
.participation-options { display: grid; gap: 12px; }
.participation-options > a { padding: 16px 0; text-decoration: none; border-bottom: 1px solid #bcbcb4; }
.participation-options > a:hover strong { text-decoration: underline; }
.participation-options strong, .participation-options span { display: block; }
.participation-options span { margin-top: 5px; font-size: .85rem; color: #555; }
.participation-options .button { justify-self: start; }
#candidaturas { position: relative; background: #eeece5; background-image: radial-gradient(#22222210 1px, transparent 1px); background-size: 8px 8px; }
#candidaturas .section-heading::after { content: 'UP / 80'; display: inline-block; padding: 18px; margin-top: 12px; border: 2px solid #a71927; border-radius: 50%; color: #a71927; font-size: .85rem; font-weight: 800; transform: rotate(-12deg); }
.candidate-card::after { content: '✳'; position: absolute; right: 14px; bottom: 18px; color: #a71927; font-size: 1.2rem; pointer-events: none; }
.candidate-card > a { padding-right: 24px; }
.gallery-heading, .about-intro { padding-block: 28px 36px; background: #fff; }
.gallery-heading .back-link, .about-intro .back-link, .materials-page .back-link { margin-bottom: 12px; }
.gallery-heading .section-title, .about-intro .section-title, .materials-page .section-title { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; margin: 8px 0 16px; max-width: none; }
.about-intro .intro { max-width: 65ch; font-size: 1.1rem; margin-bottom: 0; }
.gallery-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-mosaic .photo-entry, .gallery-mosaic .photo-entry:only-child { display: block; max-width: none; border: 0; background: #e5e3df; }
.gallery-mosaic .photo-open img { height: 420px; object-fit: cover; }
.gallery-mosaic .photo-open .generated-badge { bottom: 10px; left: 10px; right: auto; padding: 4px 8px; font-size: .65rem; font-weight: 600; }
.gallery-mosaic .photo-expand { top: 10px; bottom: auto; padding: 4px 10px; }
.schedule-heading { position: relative; isolation: isolate; background: #16191c; }
.schedule-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.schedule-heading::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #111119f2, #11111980); }
.schedule-photo-credit { margin-top: 28px; font-size: .7rem; color: #e0e0e0; }
.schedule-layout { grid-template-columns: .65fr 1.35fr; gap: 36px; align-items: center; }
.schedule-guide p { max-width: 32ch; }
.schedule-empty { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 28px; padding: 32px; background: #faf9f5; border: 1px solid #d2d2cb; border-top: 5px solid #a71927; }
.calendar-symbol { align-self: start; border: 1px solid #aaa; background: #fff; text-align: center; transform: rotate(-5deg); }
.calendar-symbol span { display: block; padding: 8px; background: #a71927; color: #fff; font-size: .65rem; letter-spacing: .1em; }
.calendar-symbol strong { display: block; padding: 20px 8px; line-height: 1.2; }
.about-story { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 52px; }
.story-album { min-width: 0; }
.story-photos { display: flex; overflow: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #777 #e4e3de; }
.story-photos figure { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; background: #dedcd7; }
.story-photos img { display: block; width: 100%; height: 530px; object-fit: contain; }
.story-photos figcaption { position: absolute; bottom: 10px; left: 10px; padding: 4px 8px; background: #111; color: #fff; font-size: .7rem; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: .8rem; }
.carousel-controls button { min-width: 44px; min-height: 44px; background: #fff; border: 1px solid #111; cursor: pointer; }
.carousel-controls button:disabled { opacity: .4; cursor: default; }
.story-prose h2 { margin-bottom: 28px; }
.story-prose > p { font-size: 1.08rem; line-height: 1.85; margin-block: 0 24px; }
.story-prose h3 { font-size: 1.5rem; line-height: 1.25; margin: 36px 0 20px; }
.story-prose .story-source { font-size: .82rem; }
.story-source a { display: inline-block; margin-right: 16px; }
.materials-page > .section { padding-top: 28px; }
.avatar-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; margin-top: 40px; padding: 32px; background: #f3f2ee; border: 1px solid #d2d1ca; }
.avatar-preview canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; border: 1px solid #bbb; }
.avatar-preview p { font-size: .8rem; color: #555; }
.avatar-controls { min-width: 0; }
.avatar-controls h2 { margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; }
.avatar-controls label { display: block; font-size: .9rem; font-weight: 750; margin-top: 16px; margin-bottom: 6px; }
.avatar-controls input { width: 100%; max-width: 100%; min-width: 0; min-height: 44px; font: inherit; }
.avatar-controls input[type=text] { border: 1px solid #777; padding: 10px; background: #fff; color: #111; }
.avatar-controls input[type=file] { font-size: .85rem; }
.avatar-controls input::file-selector-button { padding: 12px; border: 1px solid #777; background: #fff; cursor: pointer; }
.avatar-controls input[type=range] { accent-color: #a71927; }
.avatar-controls fieldset { min-width: 0; border: 1px solid #ccc; padding: 12px; margin: 20px 0 0; }
.avatar-controls legend { font-size: .8rem; padding-inline: 5px; }
.avatar-controls .input-help, #avatar-status { font-size: .8rem; }
.avatar-themes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.avatar-themes button { padding: 10px 18px; min-height: 44px; border: 1px solid #777; background: #fff; font: inherit; cursor: pointer; }
.avatar-themes button[aria-pressed=true] { background: #161616; color: #fff; outline: 2px solid #e3b400; outline-offset: 2px; }
.avatar-controls button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 979px) {
  .schedule-layout { grid-template-columns: 1fr; }
  .about-story { gap: 28px; }
  .avatar-editor { gap: 24px; padding: 20px; }
  .gallery-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .video-grid { grid-template-columns: minmax(0, 440px); }
  .video-cover img { height: auto; }
  .action-panel, .about-story, .avatar-editor { grid-template-columns: 1fr; }
  .action-panel { gap: 24px; }
  .schedule-empty { grid-template-columns: 1fr; padding: 24px; }
  .calendar-symbol { max-width: 110px; }
  .gallery-mosaic { gap: 10px; }
  .gallery-mosaic .photo-open img { height: 240px; }
  .gallery-mosaic .photo-open .generated-badge { font-size: .55rem; padding: 3px 5px; left: 5px; }
  .story-photos img { height: 440px; }
  .avatar-editor { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

:focus-visible { outline: 3px solid #1364c4; outline-offset: 4px; box-shadow: 0 0 0 6px #fff; }
.section-kicker, .postcard-stamp { color: #b81520; }
.section-title { overflow-wrap: normal; word-break: normal; }
#candidaturas .section-title { max-width: 18ch; font-size: clamp(2.4rem, 5vw, 4.5rem); overflow-wrap: normal; word-break: normal; }
@media (min-width: 980px) {
  body[data-candidate="ruan-vidal"] .hero-with-media .hero-portrait { align-self: end; margin-bottom: -65px; transform: none; }
}
body:is([data-candidate="luisa-kirchmayer"], [data-candidate="petala"], [data-candidate="bianca-rubim"]) .hero-portrait { background: none; border: 0; box-shadow: none; transform: none; }
body:is([data-candidate="luisa-kirchmayer"], [data-candidate="petala"], [data-candidate="bianca-rubim"]) .hero-portrait img { object-fit: contain; aspect-ratio: auto; max-height: 520px; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(8px 9px 0 #1118); }
body[data-candidate="juliete"] .hero-portrait { transform: rotate(2deg); border-radius: 0; }
.landscape-credit { position: absolute; bottom: 10px; right: 16px; z-index: 4; font-size: .65rem; padding: 4px 8px; background: #111; color: #fff; max-width: calc(100% - 32px); }
.landscape-credit a { color: inherit; }
body[data-candidate="rafael-demuner"] .hero-portrait { transform: rotate(-2deg); border: 4px solid #fff; border-radius: 0; }
body[data-candidate="rafael-demuner"] .hero-portrait img { object-position: 50% 30%; }
body:is([data-candidate="juliete"], [data-candidate="rafael-demuner"]) .hero-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.candidate-photo[src$="bianca-oficial.webp"] { object-fit: cover; object-position: right center; }
.social-preview > img { height: auto; aspect-ratio: auto; object-fit: contain; }
.action-panel { align-items: start; padding: clamp(24px, 4vw, 44px); gap: 32px; }
.action-panel h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.08; }
.action-panel > div > p:last-child { font-weight: 400; max-width: 44ch; }
.action-panel > div > p { font-weight: 400; max-width: 44ch; }
.action-panel .section-kicker { font-weight: 800; }
.action-panel .donation-button { background: #ffc400; color: #111; box-shadow: 3px 3px 0 #111; padding: 12px 18px; }
.participation-options { gap: 8px; }
.participation-options > a { padding-block: 10px; }
body[data-candidate="luisa-kirchmayer"] .story-photos figure:first-child { background: #e8e3d9; }
body[data-candidate="luisa-kirchmayer"] .story-photos figure:first-child img { filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(5px 7px 0 #1114); }
html[data-theme="dark"] body,
html[data-theme="contrast"] body { background: #111; color: #f7f7f7; }
html:is([data-theme="dark"], [data-theme="contrast"]) :is(.site-header, .accessibility-bar, main > .section, .action-panel, .biography-postcard, .social-preview, .video-card, .digital-card, .avatar-editor, .empty-collection, .candidate-card, .materials-banner, .about-next) { background: #222; color: #f7f7f7; border-color: #aaa; }
html:is([data-theme="dark"], [data-theme="contrast"]) :is(.section-kicker, .card-number, .muted-note, .social-note, .social-profile small, .social-preview-caption small, .postcard-caption span, .postcard-caption small, .video-context, .video-note, .gallery-note, .story-source, .participation-options span, .input-help, .editorial-note) { color: #dedede; }
html:is([data-theme="dark"], [data-theme="contrast"]) :is(.candidate-card a, .social-preview-link, .back-link, .story-source a) { color: #ffe27a; }
html:is([data-theme="dark"], [data-theme="contrast"]) :is(input, fieldset, .carousel-controls button) { color: #fff; background: #282828; border-color: #aaa; }
html:is([data-theme="dark"], [data-theme="contrast"]) :is(.brand-mark, .button.secondary, .participation-donate, .participation-donate span, .postcard-tag) { color: #111; }
html[data-theme="contrast"] :is(.site-header, .accessibility-bar, main > .section, .action-panel, .biography-postcard, .social-preview, .video-card, .digital-card, .avatar-editor, .empty-collection, .candidate-card, .materials-banner, .site-footer) { background: #000; color: #fff; border-color: #fff; }
html[data-theme="contrast"] a:not(.button):not(.brand):not(.footer-signature) { text-decoration: underline; }
html[data-theme="contrast"] :is(.hero-landscape, .defense-photo, .schedule-background) { opacity: .12; }
html[data-theme="contrast"] .hero { background: #000; }
html:is([data-theme="dark"], [data-theme="contrast"]) :is(#quem-e, .site-nav, .schedule-empty, .calendar-symbol, .material-status) { background: #222; color: #f7f7f7; }
html:is([data-theme="dark"], [data-theme="contrast"]) :is(.menu-button, .postcard-stamp, .avatar-preview > p, .videos-heading > p) { color: #f7f7f7; }
html[data-theme="contrast"] :is(#quem-e, .site-nav, .schedule-empty, .calendar-symbol, .material-status) { background: #000; color: #fff; }
@media (max-width: 719px) {
  .accessibility-bar .section-inner { gap: 0 4px; }
  .accessibility-bar a, .accessibility-bar button { padding: 5px; font-size: .7rem; }
  .accessibility-bar .candidate-socials { width: 100%; margin-left: 0; padding-top: 2px; border-top: 1px solid #d1cfc7; }
  .accessibility-bar .candidate-socials a { width: 40px; min-height: 40px; padding: 8px; }
  html[data-text-size="3"] .site-header { position: relative; }
  html[data-text-size="3"] .header-inner { flex-wrap: wrap; }
  html[data-text-size="3"] .brand { min-width: 0; max-width: 100%; }
  html[data-text-size="3"] .brand-name { min-width: 0; overflow-wrap: anywhere; }
  html[data-text-size="3"] .biography-postcard { transform: none; }
  html[data-text-size="3"] .postcard-tag { max-width: 100%; overflow-wrap: anywhere; }
  html[data-text-size="3"] .hero .long-name h1 { font-size: clamp(1rem, 11cqw, 2.5rem); }
  html[data-text-size="3"] .hero-grid { grid-template-columns: minmax(0, 1fr); }
  html[data-text-size="3"] .hero-identity,
  html[data-text-size="3"] .hero-portrait,
  html[data-text-size="3"] .hero-number { grid-column: 1; grid-row: auto; }
}
