:root {
  --green-900: #064719; --green-800: #075723; --green-700: #0a6a2b;
  --red-700: #c90812; --red-800: #a5070f; --yellow-500: #f4c400;
  --white: #fff; --off-white: #f7f7f3; --ink: #161616; --ink-muted: #5c625e; --border: #dfe4df;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 75rem; --gutter: clamp(1.25rem, 4vw, 2rem); --section-pad: clamp(4.5rem, 9vw, 7.5rem);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 4px; }
.wrap { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .75rem 1rem; transform: translateY(-160%); border-radius: .5rem; background: var(--ink); color: var(--white); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3 { font-family: var(--font-display); line-height: .95; }
h1 { font-size: clamp(3.5rem, 7vw, 6.25rem); font-weight: 900; letter-spacing: normal; text-transform: uppercase; }
h1 em { color: var(--green-800); font-style: italic; }
h2 { font-size: clamp(2.6rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: normal; }
h3 { font-size: 1.35rem; font-weight: 800; }
.lead { color: var(--ink-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.6; }
.eyebrow { margin-bottom: 1rem; color: var(--green-700); font-size: .8rem; font-weight: 800; letter-spacing: normal; text-transform: uppercase; }
.eyebrow--light { color: #b9e1c5; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: .8rem 1.4rem; border-radius: 999px; background: var(--red-700); color: var(--white); font-size: .88rem; font-weight: 800; letter-spacing: normal; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--red-800); transform: translateY(-2px); }
.button--small { min-height: 2.75rem; padding: .65rem 1.1rem; font-size: .78rem; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgb(6 71 25 / 10%); background: rgb(255 255 255 / 90%); backdrop-filter: blur(12px); }
.header__inner { display: flex; min-height: 5.5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; width: 7rem; height: 5.1rem; align-items: center; justify-content: center; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.header__links { display: flex; align-items: center; gap: .35rem 1.2rem; }
.header__social { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--green-900); font-size: .85rem; font-weight: 700; text-decoration: none; }
.header__social:hover { color: var(--red-700); }

.hero { position: relative; height: clamp(38rem, calc(100svh - 5.5rem), 45rem); overflow: hidden; background: var(--off-white); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; image-rendering: auto; }
.hero__content { position: relative; z-index: 1; display: flex; height: 100%; align-items: center; padding-block: 2rem 4rem; }
.hero__copy { width: min(48%, 38rem); }
.hero__copy h1 { max-width: 10ch; font-size: clamp(3.5rem, 6vw, 5.5rem); }
.hero__lead { margin: 1.1rem 0 .5rem; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
.candidate-number { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1rem; color: var(--red-700); line-height: .82; }
.candidate-number span { max-width: 6rem; color: var(--green-900); font-size: .68rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.candidate-number strong { font-family: var(--font-display); font-size: clamp(4.5rem, 7vw, 6rem); font-weight: 900; letter-spacing: normal; }
.territory-line { position: absolute; z-index: 3; bottom: 0; left: 50%; width: min(100% - (var(--gutter) * 2), var(--container)); padding-block: 1rem; transform: translateX(-50%); color: var(--green-900); font-size: .72rem; font-weight: 800; letter-spacing: normal; text-transform: uppercase; }
.territory-line span { padding-inline: .7rem; color: var(--red-700); }

.about, .social-feed { padding-block: var(--section-pad); }
.about { background: var(--off-white); }
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.section-heading h2 { max-width: 10ch; color: var(--green-900); }
.timeline { display: grid; margin-top: 2.5rem; padding: 0; list-style: none; grid-template-columns: repeat(4, 1fr); }
.timeline li { position: relative; min-height: 7rem; padding: 1.5rem 1rem 0 0; border-top: 2px solid var(--border); }
.timeline li::before { position: absolute; top: -.42rem; left: 0; width: .7rem; height: .7rem; border: 3px solid var(--off-white); border-radius: 50%; background: var(--red-700); box-shadow: 0 0 0 1px var(--red-700); content: ""; }
.timeline strong, .timeline span { display: block; }
.timeline strong { color: var(--green-800); font-family: var(--font-display); font-size: 1.4rem; line-height: 1; }
.timeline span { margin-top: .5rem; color: var(--ink-muted); font-size: .83rem; line-height: 1.4; }

.results { position: relative; overflow: hidden; padding-block: var(--section-pad); background: var(--green-900); color: var(--white); }
.results::after { position: absolute; top: -8rem; right: -5rem; width: 22rem; height: 22rem; border: 2rem solid rgb(255 255 255 / 4%); border-radius: 50%; content: ""; }
.results__intro { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .75fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.results__intro h2 { max-width: 9ch; }
.results__intro > p { max-width: 34rem; color: #d3e3d7; }
.results__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.result-card { min-height: 15rem; padding: 1.6rem; border: 1px solid rgb(255 255 255 / 18%); border-radius: 1rem; background: var(--white); color: var(--ink); }
.result-card strong { display: block; margin-bottom: 1.5rem; color: var(--red-700); font-family: var(--font-display); font-size: clamp(3.25rem, 6vw, 5rem); font-weight: 900; letter-spacing: normal; line-height: .8; }
.result-card h3 { color: var(--green-900); }
.result-card p { margin-top: .65rem; color: var(--ink-muted); font-size: .91rem; line-height: 1.55; }
.result-card--featured { background: var(--yellow-500); }
.result-card--featured strong, .result-card--featured h3 { color: var(--green-900); }
.result-card--text { display: flex; flex-direction: column; justify-content: flex-end; background: #edf4eb; }
.result-card__label { margin-bottom: auto; color: var(--red-700); font-size: .75rem; font-weight: 800; letter-spacing: normal; text-transform: uppercase; }

.social-feed__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.social-feed__intro h2 { color: var(--green-900); }
.social-feed__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; margin-top: 3rem; }
.social-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 1rem; background: var(--off-white); }
.social-card__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--border); background: var(--white); }
.social-card__header span { color: var(--red-700); font-size: .7rem; font-weight: 800; letter-spacing: normal; text-transform: uppercase; }
.social-card__header h3 { margin-top: .3rem; color: var(--green-900); font-family: var(--font-body); font-size: 1rem; }
.social-card__header a { color: var(--green-800); font-size: .8rem; font-weight: 700; text-underline-offset: .2em; }
.social-card__content { display: grid; min-height: 38.75rem; place-items: start center; overflow: hidden; background: var(--white); }
.social-card__content--instagram { padding: 1rem; }
.social-card__content .instagram-media { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
.social-card__facebook { display: block; width: 100%; max-width: 31.25rem; border: 0; }
.social-card__fallback, .social-card__content > p { align-self: center; max-width: 30ch; padding: 2rem; color: var(--ink-muted); text-align: center; }
.social-feed__privacy { max-width: 65ch; margin: 1.25rem auto 0; color: var(--ink-muted); font-size: .78rem; text-align: center; }

.contact { padding-block: clamp(4rem, 8vw, 6rem); background: var(--red-700); color: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.contact h2 { font-size: clamp(3rem, 6vw, 5rem); }
.contact p:not(.eyebrow) { margin-top: .75rem; color: #ffe1e2; }
.contact__actions { display: flex; align-items: center; gap: 1.25rem; }
.button--white { background: var(--white); color: var(--red-700); }
.button--white:hover { background: var(--off-white); }
.text-link { min-height: 2.75rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 800; text-underline-offset: .25em; text-transform: uppercase; }

.site-footer { padding-block: 2.75rem; background: #033411; color: var(--white); }
.footer__grid { display: grid; grid-template-columns: .8fr 1.2fr .8fr; gap: 2rem; align-items: start; }
.footer__grid span { display: block; font-size: .8rem; line-height: 1.7; }
.footer__candidate { display: flex; align-items: center; gap: 1rem; }
.footer__logo { width: 5.25rem; height: 5.25rem; flex: 0 0 auto; object-fit: contain; }
.footer__candidate strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; text-transform: uppercase; }
.footer__candidate span { margin-top: .5rem; color: #bee0c7; font-weight: 700; }
.footer__grid p { color: #a9c6b0; font-size: .72rem; line-height: 1.6; }
.digimax-strip { padding-block: .7rem; background: var(--yellow-500); color: var(--ink); }
.digimax-strip .wrap { display: flex; justify-content: center; }
.digimax-credit { display: inline-flex; align-items: center; gap: .65rem; font-size: .75rem; font-weight: 700; line-height: 1; text-decoration: none; }
.digimax-credit img { width: 2rem; height: 2rem; }

@media (max-width: 56rem) {
  .hero__copy { width: 52%; }
  .results__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 42rem) {
  .header__social--desktop { display: none; }
  .header__inner { min-height: 5rem; }
  .brand { width: 6rem; height: 4.7rem; }
  .hero { height: calc(100svh - 5rem); min-height: 42rem; max-height: none; }
  .hero__media img { object-position: center top; }
  .hero__content { min-height: calc(100svh - 5rem); align-items: flex-start; padding-block: clamp(2.25rem, 7vh, 3.5rem) 3.5rem; }
  .hero__copy { width: 100%; }
  .hero__copy .eyebrow { margin-bottom: .6rem; }
  .hero__copy h1 { max-width: 100%; font-size: clamp(2.65rem, 12vw, 3.25rem); line-height: .9; }
  .hero__lead { margin-block: .7rem .25rem; font-size: 1rem; }
  .candidate-number { margin-bottom: .7rem; }
  .candidate-number strong { font-size: clamp(4rem, 20vw, 5rem); }
  .candidate-number span { max-width: 5rem; font-size: .58rem; }
  .hero__copy .button { min-height: 2.85rem; padding: .65rem 1.1rem; font-size: .76rem; }
  .territory-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .about__grid, .results__intro, .social-feed__intro, .social-feed__grid { grid-template-columns: 1fr; }
  .section-heading h2 { max-width: 12ch; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { min-height: 5.5rem; }
  .results__grid { grid-template-columns: 1fr; }
  .result-card { min-height: 13rem; }
  .social-card__content { min-height: 0; }
  .social-card__content > p { min-height: 20rem; display: grid; place-items: center; }
  .contact__actions { align-items: flex-start; flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
}

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