@media (max-width: 1220px) {
  .nav-link {
    padding-inline: 0.72rem;
    font-size: 0.78rem;
  }

  .header-cnpj {
    display: none;
  }

  .project-grid,
  .news-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  :root {
    --section-y: clamp(4rem, 9vw, 5.5rem);
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: grid;
  }

  .hero {
    min-height: auto;
    background: var(--off-white);
  }

  .hero-bg-left,
  .hero-bg-right,
  .hero-curve,
  .hero-media {
    display: none;
  }

  .hero-inner {
    width: min(calc(100% - 2rem), 52rem);
    padding-block: 2.25rem 4.5rem;
  }

  .hero-grid {
    display: block;
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
    padding: 0;
    text-align: center;
  }

  .hero-badge {
    justify-content: center;
  }

  .hero-name {
    font-size: clamp(2.65rem, 11vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 5rem);
  }

  .hero-description {
    margin-inline: auto;
    max-width: 35rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-mobile-portrait {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 22rem);
    height: 21rem;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 0 0 10rem 10rem;
    background:
      radial-gradient(ellipse at 50% 70%, rgba(212, 175, 55, 0.25), transparent 58%),
      linear-gradient(135deg, rgba(15, 92, 46, 0.92), rgba(22, 163, 74, 0.82));
    box-shadow: var(--shadow-green);
  }

  .hero-mobile-portrait img {
    width: auto;
    height: 24rem;
    margin-top: 1rem;
    object-fit: contain;
    filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.32));
  }

  .about-grid,
  .party-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    order: 2;
    margin-top: 0;
  }

  .about-copy {
    order: 1;
  }

  .principle-grid,
  .ideal-grid,
  .family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container,
  .wide-container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .brand-logo img {
    height: 42px;
  }

  .section-heading {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .hero {
    padding-top: var(--header-height);
  }

  .btn {
    width: 100%;
    min-height: 3.1rem;
  }

  .hero-actions {
    width: min(100%, 24rem);
    margin-inline: auto;
  }

  .stats-grid,
  .project-grid,
  .news-grid,
  .news-gallery-grid,
  .principle-grid,
  .ideal-grid,
  .family-grid,
  .proposal-stats,
  .actions-grid,
  .related-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .news-section-head {
    display: grid;
    gap: 1.4rem;
  }

  .news-all-link {
    width: fit-content;
  }

  .news-card-body {
    min-height: 0;
  }

  .news-gallery-dialog {
    min-height: min(36rem, 78vh);
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .news-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
  }

  .news-gallery-nav:hover,
  .news-gallery-nav:focus-visible {
    transform: translateY(-50%);
  }

  .news-gallery-nav.prev {
    left: 0.75rem;
  }

  .news-gallery-nav.next {
    right: 0.75rem;
  }

  .news-gallery-close {
    top: -3.2rem;
  }

  .social-card {
    width: min(100%, 24rem);
    flex-basis: min(100%, 24rem);
  }

  .about-photo-frame img {
    height: 22rem;
  }

  .family-hero-copy {
    position: relative;
    background: var(--green-primary);
  }

  .family-hero img {
    height: 13rem;
  }

  .party-stats {
    gap: 0.6rem;
  }

  .party-stats strong {
    font-size: 1.6rem;
  }

  .footer-main,
  .footer-bottom-inner,
  .detail-footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom-inner {
    align-items: center;
    text-align: center;
  }

  .detail-footer-inner {
    align-items: center;
    text-align: center;
  }

  .detail-header-button {
    display: none;
  }

  .proposal-title {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .proposal-hero {
    min-height: 82vh;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 76px;
  }

  .header-inner,
  .detail-header-inner {
    gap: 0.75rem;
  }

  .hero-inner {
    padding-top: 1.5rem;
  }

  .hero-mobile-portrait {
    width: min(100%, 19rem);
    height: 18.5rem;
  }

  .hero-mobile-portrait img {
    height: 21.5rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .hero-badge {
    gap: 0.45rem;
    font-size: 0.58rem;
  }

  .hero-badge::before,
  .hero-badge::after {
    width: 0.85rem;
  }

  .section-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .about-years {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .project-link {
    min-height: 280px;
  }

  .project-card {
    min-height: 280px;
  }

  .news-card-image {
    height: 11.5rem;
  }

  .news-page-hero,
  .news-detail-hero-content {
    padding-block: 3.25rem;
  }

  .news-detail-hero {
    min-height: 74vh;
  }

  .news-gallery-modal {
    padding: 4.5rem 0.75rem 1rem;
  }

  .news-gallery-dialog figure img {
    max-height: 68vh;
  }

  .contact-card,
  .contact-form,
  .principle-card,
  .ideal-card {
    padding: 1.25rem;
  }

  .proposal-stats {
    gap: 0.75rem;
  }
}

/* Header and hero rebuilt from the 2026 campaign art direction. */
@media (min-width: 901px) {
  :root {
    --header-height: 106px;
  }

  .site-header {
    height: var(--header-height);
    padding-top: 18px;
  }

  .site-header .header-inner {
    width: min(calc(100% - 40px), 1460px);
    height: 76px;
    padding-inline: clamp(1.75rem, 2.7vw, 3.25rem);
    gap: clamp(1rem, 1.8vw, 2rem);
    border: 1px solid rgba(14, 39, 61, 0.14);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 34px rgba(12, 35, 54, 0.18);
  }

  .site-header .brand-logo img {
    width: clamp(136px, 10.2vw, 170px);
    height: auto;
    max-height: 62px;
  }

  .site-header .nav-links {
    gap: clamp(0.12rem, 0.45vw, 0.48rem);
  }

  .site-header .nav-link {
    padding: 0.8rem clamp(0.3rem, 0.55vw, 0.58rem);
    font-family: var(--font-campaign-condensed);
    font-size: clamp(0.9rem, 1vw, 1.04rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
  }

  .site-header .nav-link::after {
    left: 0.35rem;
    right: 0.35rem;
    bottom: 0.38rem;
    height: 3px;
  }

  .site-header .social-strip {
    gap: 0.5rem;
    padding-left: clamp(0.8rem, 1.25vw, 1.35rem);
  }

  .site-header .header-support-button {
    min-height: 46px;
    padding: 0.8rem clamp(1rem, 1.45vw, 1.5rem);
    font-family: var(--font-campaign-condensed);
    font-size: 0.9rem;
    letter-spacing: 0.09em;
    white-space: nowrap;
  }
}

.hero {
  position: relative;
  display: block;
  min-height: clamp(760px, 100svh, 980px);
  padding-top: var(--header-height);
  overflow: hidden;
  background: #f6f8f8;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #f8faf9;
}

.hero-landscape {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-crowd-panel {
  position: absolute;
  inset: 0 0 0 48%;
  overflow: hidden;
  background: #004e2c;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.68) 13%, #000 27%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.68) 13%, #000 27%);
}

.hero-crowd-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 3rem), 1440px);
  min-height: calc(clamp(760px, 100svh, 980px) - var(--header-height));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(32rem, 0.9fr) minmax(34rem, 1.1fr);
  width: 100%;
  min-height: inherit;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 12;
  width: min(100%, 620px);
  max-width: none;
  padding: clamp(4rem, 8vh, 6.5rem) 0 clamp(7.2rem, 13vh, 9.5rem);
  align-self: center;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  margin: 0 0 0.85rem;
  color: #536276;
  font-family: var(--font-campaign-condensed);
  font-size: clamp(0.79rem, 1vw, 0.96rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-badge::before {
  width: 2.4rem;
  height: 3px;
  flex: 0 0 auto;
  background: #efc400;
}

.hero-name {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.18em;
  margin: 0 0 0.35rem;
  font-family: var(--font-campaign-script);
  font-size: clamp(4rem, 6.2vw, 6.25rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  filter: drop-shadow(0 2px 1px rgba(255, 255, 255, 0.7));
  white-space: nowrap;
}

.hero-name span:first-child {
  color: #087332;
}

.hero-name span:last-child {
  color: #074c9a;
}

.hero h1 {
  display: grid;
  gap: 0;
  margin: 0;
  color: #050607;
  font-family: var(--font-campaign);
  font-size: clamp(4.6rem, 7.15vw, 7.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.89;
  text-transform: uppercase;
}

.hero-title-green {
  color: #087332;
}

.hero .accent-line {
  width: 5.2rem;
  height: 5px;
  margin-top: 1rem;
  background: linear-gradient(90deg, #087332 0 58%, #f0c400 58% 100%);
}

.hero-description {
  max-width: 30rem;
  margin: 1.1rem 0 1.4rem;
  color: #26384f;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.hero-actions .btn {
  min-height: 54px;
  border-radius: 6px;
  padding-inline: clamp(1.4rem, 2.1vw, 2.15rem);
  font-family: var(--font-campaign-condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hero-actions .btn-primary {
  background: linear-gradient(180deg, #078139, #05642b);
  box-shadow: 0 10px 24px rgba(5, 100, 43, 0.2);
}

.hero-actions .btn-outline {
  border: 1px solid #075f30;
  background: rgba(255, 255, 255, 0.7);
  color: #075f30;
}

.hero-place-mark {
  left: 0;
  bottom: clamp(1.5rem, 4vh, 3rem);
}

.hero-place-mark strong {
  font-family: var(--font-campaign-script);
}

.hero-media {
  position: relative;
  z-index: 5;
  display: block;
  min-width: 0;
  align-self: stretch;
  overflow: visible;
}

.candidate-disc {
  position: absolute;
  z-index: 1;
  left: 49%;
  top: 47%;
  width: min(40vw, 650px);
  max-width: none;
  height: auto;
  opacity: 1;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 35px rgba(1, 55, 27, 0.3));
}

.candidate-photo {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -1.5%;
  width: min(36vw, 590px);
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.28));
}

.hero-ribbon {
  position: absolute;
  right: -5%;
  bottom: -1.5%;
  z-index: 9;
  width: min(78vw, 1250px);
  max-width: none;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 -4px 10px rgba(3, 43, 85, 0.12));
}

@media (min-width: 901px) and (max-width: 1220px) {
  .hero-grid {
    grid-template-columns: minmax(27rem, 0.88fr) minmax(30rem, 1.12fr);
  }

  .hero-copy {
    width: min(100%, 520px);
  }

  .hero-name {
    font-size: clamp(3.5rem, 6vw, 4.8rem);
  }

  .hero h1 {
    font-size: clamp(4rem, 7vw, 5.65rem);
  }

  .candidate-disc {
    width: min(43vw, 570px);
  }

  .candidate-photo {
    width: min(39vw, 515px);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    height: var(--header-height);
    padding: 0;
    background: #fff;
  }

  .site-header .header-inner {
    height: 100%;
    padding-inline: 1.25rem;
  }

  .site-header .brand-logo img {
    width: auto;
    height: 48px;
  }

  .mobile-header-actions {
    gap: 0.8rem;
  }

  .hero {
    min-height: 920px;
    padding-top: var(--header-height);
    background: #fff;
  }

  .hero-backdrop {
    top: var(--header-height);
    background: #fff;
  }

  .hero-landscape {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 38%;
    object-position: 64% bottom;
    opacity: 0.58;
  }

  .hero-crowd-panel {
    inset: 0 0 auto;
    width: 100%;
    height: min(46vh, 430px);
    -webkit-mask-image: linear-gradient(to bottom, #000 0 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0 78%, transparent 100%);
  }

  .hero-crowd-panel img {
    object-position: 64% 36%;
  }

  .hero-inner {
    width: 100%;
    min-height: 844px;
  }

  .hero-grid {
    display: flex;
    min-height: 844px;
    flex-direction: column;
  }

  .hero-media {
    order: 1;
    min-height: min(45vh, 420px);
    overflow: hidden;
  }

  .candidate-disc {
    left: 50%;
    top: 53%;
    width: min(82vw, 390px);
  }

  .candidate-photo {
    left: 50%;
    bottom: -10%;
    width: min(66vw, 320px);
  }

  .hero-copy {
    order: 2;
    width: 100%;
    padding: 1.1rem 1.25rem 10rem;
    align-self: auto;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.99) 0 72%, rgba(255, 255, 255, 0.8) 100%);
    text-align: center;
  }

  .hero-badge {
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
    font-size: clamp(0.66rem, 2.8vw, 0.84rem);
    letter-spacing: 0.12em;
  }

  .hero-badge::before,
  .hero-badge::after {
    display: block;
    width: 1.75rem;
    height: 2px;
    flex: 0 0 auto;
    background: #efc400;
  }

  .hero-name {
    justify-content: center;
    margin-bottom: 0.35rem;
    font-size: clamp(2.7rem, 12.4vw, 4.3rem);
    white-space: normal;
  }

  .hero h1 {
    display: block;
    font-size: clamp(3rem, 14vw, 4.9rem);
    line-height: 0.91;
  }

  .hero h1 span {
    display: block;
  }

  .hero h1 span:nth-child(3),
  .hero h1 span:nth-child(4) {
    display: inline;
  }

  .hero .accent-line {
    margin: 0.9rem auto 0;
  }

  .hero-description {
    max-width: 31rem;
    margin: 0.9rem auto 1.05rem;
    font-size: clamp(0.9rem, 3.4vw, 1.03rem);
  }

  .hero-actions {
    display: grid;
    width: min(100%, 31rem);
    margin-inline: auto;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero-place-mark {
    display: none;
  }

  .hero-ribbon {
    right: -42%;
    bottom: -0.5%;
    width: 180%;
  }
}

@media (max-width: 480px) {
  .site-header .brand-logo img {
    height: 43px;
  }

  .hero {
    min-height: 870px;
  }

  .hero-inner,
  .hero-grid {
    min-height: 794px;
  }

  .hero-media {
    min-height: 350px;
  }

  .candidate-disc {
    width: min(88vw, 350px);
  }

  .candidate-photo {
    width: min(72vw, 285px);
  }

  .hero-copy {
    padding-inline: 1rem;
  }
}

@media (max-width: 375px) {
  .brand-logo img {
    height: 38px;
  }

  .hero-name {
    font-size: 2.45rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .section-heading {
    font-size: 2.1rem;
  }

  .family-pillar,
  .action-card {
    gap: 0.75rem;
  }
}

@media (min-width: 1440px) {
  .hero-copy {
    max-width: 660px;
  }
}

@media (min-width: 1920px) {
  :root {
    --container: 1360px;
    --container-wide: 1500px;
  }

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

@media (min-width: 901px) and (max-width: 1220px) {
  .hero {
    min-height: 100vh;
    background: #eef4f6;
  }

  .hero-inner {
    width: min(calc(100% - 2rem), var(--container-wide));
    padding-block: 0;
  }

  .hero-copy {
    padding-block: clamp(2.4rem, 5vw, 4.2rem) clamp(4rem, 7vw, 6.5rem);
    padding-right: 0;
    text-align: left;
  }

  .site-header .header-inner {
    width: min(calc(100% - 1.4rem), 1160px);
    padding-inline: 1rem;
  }

  .site-header .nav-links,
  .site-header .header-actions {
    display: flex;
  }

  .site-header .nav-link {
    padding-inline: 0.25rem;
    font-size: clamp(0.68rem, 0.82vw, 0.78rem);
  }

  .site-header .social-strip {
    gap: 0.35rem;
    padding-left: 0.7rem;
  }

  .site-header .header-support-button {
    min-height: 46px;
    padding-inline: 0.95rem;
    font-size: 0.72rem;
  }

  .mobile-header-actions {
    display: none;
  }

  .hero-bg-left,
  .hero-bg-right,
  .hero-curve,
  .hero-media {
    display: flex;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(22rem, 0.88fr) minmax(27rem, 1.12fr);
    min-height: calc(100vh - var(--header-height));
  }

  .hero-copy {
    max-width: 36rem;
  }

  .hero-badge {
    justify-content: flex-start;
  }

  .hero-name {
    justify-content: flex-start;
    font-size: clamp(3rem, 5.5vw, 4.6rem);
  }

  .hero h1 {
    font-size: clamp(3.65rem, 7vw, 5.8rem);
  }

  .hero-description {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .candidate-photo {
    height: min(80vh, 45rem);
  }

  .hero-flag-wave {
    left: -26%;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .vertical-brand-bar {
    display: none;
  }

  .site-header {
    height: var(--header-height);
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 18px rgba(5, 18, 34, 0.08);
  }

  .site-header .header-inner {
    width: 100%;
    height: var(--header-height);
    padding-inline: 1.15rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header .brand-logo img {
    height: 48px;
  }

  .site-header .nav-links,
  .site-header .header-actions {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
  }

  .mobile-toggle {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
  }

  .mobile-menu {
    top: var(--header-height);
  }

  .hero {
    min-height: auto;
    padding-top: var(--header-height);
    background: #ffffff;
  }

  .hero-bg {
    display: block;
    position: absolute;
    inset: var(--header-height) 0 0;
  }

  .hero-bg::before {
    display: none;
  }

  .hero-bg-left {
    display: block;
    inset: auto 0 0;
    height: 27%;
    z-index: 1;
  }

  .hero-bg-left img {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.55) 52%, transparent 100%);
  }

  .hero-bg-right {
    display: block;
    inset: 0 0 auto;
    height: min(46vh, 27rem);
    clip-path: none;
    z-index: 2;
  }

  .hero-bg-right::before {
    background:
      linear-gradient(to bottom, rgba(4, 74, 34, 0.78), rgba(3, 60, 29, 0.66) 55%, rgba(255, 255, 255, 0.2)),
      radial-gradient(circle at 50% 62%, rgba(234, 179, 8, 0.25), transparent 44%);
  }

  .hero-bg-right img {
    object-position: center top;
  }

  .hero-curve {
    display: none;
  }

  .hero-inner {
    width: 100%;
    padding: 0;
  }

  .hero-grid {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-media {
    order: 1;
    display: flex;
    width: 100%;
    min-height: min(48vh, 28rem);
    align-items: flex-end;
    overflow: hidden;
  }

  .hero-copy {
    order: 2;
    width: 100%;
    max-width: none;
    padding: 1.2rem 1.35rem 6.8rem;
    border-radius: 34px 34px 0 0;
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98) 70%, rgba(255, 255, 255, 0.88));
    text-align: center;
  }

  .hero-badge {
    justify-content: center;
    gap: 0.52rem;
    margin-bottom: 0.65rem;
    font-size: clamp(0.58rem, 2.2vw, 0.74rem);
    letter-spacing: 0.14em;
  }

  .hero-badge::before {
    width: 1.8rem;
  }

  .hero-badge::after {
    content: "";
    display: block;
    width: 1.8rem;
    height: 3px;
    border-radius: 999px;
    background: var(--gold-bright);
  }

  .hero-name {
    justify-content: center;
    font-size: clamp(2.35rem, 10vw, 4rem);
  }

  .hero h1 {
    display: block;
    font-size: clamp(2.35rem, 12vw, 4.25rem);
    line-height: 0.88;
  }

  .hero h1 span {
    display: block;
  }

  .hero h1 span:nth-child(3),
  .hero h1 span:nth-child(4) {
    display: inline;
  }

  .hero .accent-line {
    margin-inline: auto;
    margin-top: 0.85rem;
  }

  .hero-description {
    max-width: 28rem;
    margin: 0.95rem auto 1.1rem;
    font-size: clamp(0.86rem, 3vw, 1rem);
    line-height: 1.5;
  }

  .hero-actions {
    width: min(100%, 28rem);
    margin-inline: auto;
    display: grid;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 3.35rem;
  }

  .candidate-wrap {
    inset: -9% -14% -11%;
    align-items: flex-end;
  }

  .candidate-disc {
    width: min(74vw, 24rem);
    top: 49%;
  }

  .candidate-photo {
    height: min(55vh, 30rem);
  }

  .hero-map-note,
  .hero-place-mark {
    display: none;
  }

  .hero-flag-wave {
    left: -14%;
    right: -18%;
    bottom: -1.4rem;
    height: 6rem;
    transform: rotate(-8deg);
  }
}

@media (max-width: 480px) {
  .site-header .brand-logo img {
    height: 42px;
  }

  .hero-media {
    min-height: 42vh;
  }

  .candidate-wrap {
    inset: -6% -22% -10%;
  }

  .candidate-photo {
    height: min(49vh, 26rem);
  }

  .hero-copy {
    padding-inline: 1rem;
  }
}

/* Final cascade lock: keeps legacy responsive rules from changing the new art. */
@media (min-width: 901px) and (max-width: 1220px) {
  .site-header .header-inner {
    width: min(calc(100% - 24px), 1180px);
    padding-inline: 1rem;
  }

  .site-header .nav-link {
    padding-inline: 0.24rem;
    font-size: clamp(0.72rem, 0.88vw, 0.84rem);
  }

  .site-header .header-support-button {
    padding-inline: 0.95rem;
    font-size: 0.76rem;
  }

  .hero {
    min-height: clamp(760px, 100svh, 980px);
    background: #f6f8f8;
  }

  .hero-inner {
    width: min(calc(100% - 2rem), 1440px);
    min-height: calc(clamp(760px, 100svh, 980px) - var(--header-height));
    padding-block: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(27rem, 0.88fr) minmax(30rem, 1.12fr);
    min-height: inherit;
  }

  .hero-copy {
    width: min(100%, 520px);
    max-width: none;
    padding: clamp(4rem, 8vh, 6.5rem) 0 clamp(7.2rem, 13vh, 9.5rem);
  }

  .hero-badge {
    justify-content: flex-start;
  }

  .hero-name {
    justify-content: flex-start;
    font-size: clamp(3.5rem, 6vw, 4.8rem);
  }

  .hero h1 {
    font-size: clamp(4rem, 7vw, 5.65rem);
  }

  .hero-description {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .candidate-disc {
    width: min(43vw, 570px);
  }

  .candidate-photo {
    width: min(39vw, 515px);
    height: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: var(--header-height);
    padding: 0;
    background: #fff;
  }

  .site-header .header-inner {
    width: 100%;
    height: 100%;
    padding-inline: 1.25rem;
  }

  .site-header .brand-logo img {
    width: auto;
    height: 48px;
  }

  .hero {
    min-height: 920px;
    padding-top: var(--header-height);
    background: #fff;
  }

  .hero-backdrop {
    display: block;
    inset: var(--header-height) 0 0;
  }

  .hero-landscape {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 38%;
    object-position: 64% bottom;
    opacity: 0.58;
  }

  .hero-crowd-panel {
    display: block;
    inset: 0 0 auto;
    width: 100%;
    height: min(46vh, 430px);
  }

  .hero-inner {
    width: 100%;
    min-height: 844px;
    padding: 0;
  }

  .hero-grid {
    display: flex;
    min-height: 844px;
    flex-direction: column;
  }

  .hero-media {
    order: 1;
    display: block;
    min-height: min(45vh, 420px);
    overflow: hidden;
  }

  .candidate-disc {
    left: 50%;
    top: 53%;
    width: min(82vw, 390px);
  }

  .candidate-photo {
    left: 50%;
    bottom: -10%;
    width: min(66vw, 320px);
    height: auto;
  }

  .hero-copy {
    order: 2;
    width: 100%;
    max-width: none;
    padding: 1.1rem 1.25rem 10rem;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.99) 0 72%, rgba(255, 255, 255, 0.8) 100%);
    text-align: center;
  }

  .hero-badge {
    justify-content: center;
    font-size: clamp(0.66rem, 2.8vw, 0.84rem);
  }

  .hero-name {
    justify-content: center;
    font-size: clamp(2.7rem, 12.4vw, 4.3rem);
  }

  .hero h1 {
    display: block;
    font-size: clamp(3rem, 14vw, 4.9rem);
    line-height: 0.91;
  }

  .hero .accent-line {
    margin: 0.9rem auto 0;
  }

  .hero-description {
    margin: 0.9rem auto 1.05rem;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 31rem);
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-ribbon {
    right: -42%;
    bottom: -0.5%;
    width: 180%;
  }
}

@media (max-width: 480px) {
  .site-header .brand-logo img {
    height: 43px;
  }

  .hero {
    min-height: 870px;
  }

  .hero-inner,
  .hero-grid {
    min-height: 794px;
  }

  .hero-media {
    min-height: 350px;
  }

  .candidate-disc {
    width: min(88vw, 350px);
  }

  .candidate-photo {
    width: min(72vw, 285px);
    height: auto;
  }
}

/* Hero viewport and official campaign circle positioning. */
@media (min-width: 901px) {
  .hero {
    width: 100%;
    height: 100vh;
    min-height: 720px;
  }

  @supports (height: 100svh) {
    .hero {
      height: 100svh;
    }
  }

  .hero-inner,
  .hero-grid {
    height: 100%;
    min-height: 0;
  }

  .hero-copy {
    padding-top: clamp(2.6rem, 5.5vh, 4.8rem);
    padding-bottom: clamp(5.8rem, 10vh, 8rem);
  }

  .candidate-disc {
    left: 50%;
    top: 56%;
    width: min(46vw, 735px, 78vh);
  }

  .candidate-photo {
    left: 50%;
    bottom: 0.5%;
    width: min(42vw, 690px, 64vh);
  }

  .hero-ribbon {
    right: -15%;
  }

  .hero-place-mark {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: clamp(1.8rem, 3.5vh, 3.25rem);
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .hero-copy {
    padding-top: 1.4rem;
    padding-bottom: 4.25rem;
  }

  .hero-name {
    font-size: clamp(3.4rem, 5.4vw, 4.65rem);
  }

  .hero h1 {
    font-size: clamp(3.75rem, 6.25vw, 5.3rem);
  }

  .hero-description {
    margin-block: 0.85rem 1rem;
  }

  .hero-actions .btn {
    min-height: 50px;
  }

  .candidate-disc {
    top: 56%;
    width: min(44vw, 680px, 78vh);
  }

  .candidate-photo {
    bottom: 0;
    width: min(40vw, 600px, 62vh);
  }

  .hero-place-mark {
    margin-top: 1.15rem;
  }

  .hero-place-mark strong {
    font-size: 2rem;
  }

  .hero-place-mark span {
    font-size: 0.62rem;
  }
}

.candidate-disc {
  aspect-ratio: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  opacity: 1;
}

@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    height: auto;
  }

  @supports (min-height: 100svh) {
    .hero {
      min-height: 100svh;
    }
  }

  .candidate-disc {
    top: 58%;
    width: min(90vw, 420px);
  }

  .candidate-photo {
    bottom: -7%;
    width: min(76vw, 365px);
  }

  .hero-ribbon {
    right: -54%;
  }
}
