:root {
  --navy: #071a33;
  --blue: #252f92;
  --red: #ed1c24;
  --red-dark: #b90f17;
  --paper: #f7f5f1;
  --white: #ffffff;
  --ink: #162033;
  --muted: #657084;
  --line: rgba(22, 32, 51, 0.14);
  --shadow: 0 22px 62px rgba(7, 26, 51, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

section {
  scroll-margin-top: 86px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 26, 51, 0.82);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(7, 26, 51, 0.98);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}

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

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

.brand {
  display: grid;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}

.brand span {
  font-size: 1.14rem;
  font-weight: 950;
  line-height: 1.05;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-color: var(--navy);
  background-image: url("assets/floyd-standing-park.jpeg");
  background-repeat: no-repeat;
  background-size: auto 112%;
  background-position: right 8% top 50px;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.98), rgba(7, 26, 51, 0.9) 43%, rgba(237, 28, 36, 0.26) 68%, rgba(7, 26, 51, 0.02)),
    linear-gradient(0deg, rgba(7, 26, 51, 0.82), rgba(7, 26, 51, 0.02) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 174px 0 138px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: 5.8rem;
  line-height: 0.9;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-office {
  margin: 15px 0 0;
  font-size: 1.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero-ribbon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 18px;
  color: var(--white);
  background: var(--navy);
  font-weight: 950;
  text-transform: uppercase;
}

.hero-ribbon span + span::before {
  content: "★";
  margin-right: 22px;
  color: var(--red);
}

.hero-ribbon span + span::before {
  content: "*";
}

.intro-band,
.experience-band,
.mission-band,
.plan-band,
.gallery-band,
.vote-band,
.support-band {
  padding: 88px 0;
}

.intro-band,
.gallery-band {
  background: var(--white);
}

.intro-grid,
.mission-grid,
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 58px;
  align-items: center;
}

.intro-grid figure,
.mission-grid figure {
  margin: 0;
}

.intro-grid img,
.mission-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.65rem;
  line-height: 1.05;
}

.intro-grid p,
.mission-grid p,
.support-grid p {
  color: #354054;
  font-size: 1.06rem;
}

.intro-grid blockquote {
  margin: 26px 0 0;
  padding: 0 0 0 20px;
  border-left: 5px solid var(--red);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 850;
  line-height: 1.45;
}

.experience-band {
  color: var(--white);
  background: linear-gradient(135deg, #06172e, #0d2b52);
}

.experience-band h2 {
  color: var(--white);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.plan-summary {
  margin: 18px 0 0;
  color: #3e4859;
  font-size: 1.08rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.experience-card {
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.experience-card strong {
  display: block;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.experience-card span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.mission-band {
  background: var(--paper);
}

.mission-grid {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
}

.plan-band {
  background: var(--white);
}

.priority-list {
  display: grid;
  gap: 12px;
}

.priority-list article {
  display: grid;
  grid-template-columns: 64px 240px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.priority-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  border-radius: 50%;
  background: var(--red);
  font-weight: 950;
}

.priority-list h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.15;
}

.priority-list p {
  margin: 0;
  color: #3e4859;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.gallery-grid img {
  width: 100%;
  height: 520px;
  min-height: 360px;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.gallery-grid img:nth-child(2) {
  object-position: 56% center;
}

.gallery-grid img:nth-child(3) {
  object-fit: contain;
  object-position: center center;
  background: #061222;
}

.vote-band {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(7, 26, 51, 0.98), rgba(7, 26, 51, 0.92) 55%, rgba(237, 28, 36, 0.88)),
    url("assets/floyd-campaign-poster-clean.jpeg") center / cover;
}

.vote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 58px;
  align-items: start;
}

.vote-grid h2 {
  color: var(--white);
}

.vote-grid p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
}

.vote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.dark-button {
  color: var(--navy);
  border-color: var(--white);
  background: var(--white);
}

.dark-button:hover,
.dark-button:focus-visible {
  color: var(--white);
  background: transparent;
}

.vote-card {
  padding: 28px;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.vote-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.15;
}

.vote-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.vote-card dl div {
  display: grid;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.vote-card dt {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.vote-card dd {
  margin: 0;
  color: var(--navy);
  font-weight: 850;
}

.vote-card .source-note {
  margin: 18px 0 0;
  color: #5b6676;
  font-size: 0.88rem;
}

.vote-card .source-note a {
  color: var(--navy);
  font-weight: 900;
}

.support-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(237, 28, 36, 0.94), rgba(7, 26, 51, 0.95)),
    url("assets/floyd-yard-sign.jpeg") center / cover;
}

.support-grid {
  align-items: start;
}

.support-grid h2 {
  color: var(--white);
}

.support-grid p {
  color: rgba(255, 255, 255, 0.84);
}

.phone-line a {
  color: var(--white);
  font-weight: 950;
}

.support-form {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label,
legend {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.required-label,
.optional-label {
  margin-left: 6px;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c7cfdb;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(237, 28, 36, 0.18);
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: none;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.yard-sign-fields {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(237, 28, 36, 0.28);
  border-radius: 6px;
  background: #fff7f7;
  box-shadow: inset 4px 0 0 var(--red);
}

.yard-sign-fields .form-row {
  margin-bottom: 12px;
}

.yard-sign-fields textarea {
  min-height: 96px;
  border-color: #aeb8c7;
  background: var(--white);
}

.support-form .permission-note {
  margin: 0;
  color: #18243a;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.45;
}

.form-button {
  width: 100%;
}

.support-form .form-terms {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.support-form .form-terms a {
  color: var(--red);
  font-weight: 950;
}

.form-status {
  min-height: 0;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status.is-success,
.form-status.is-error {
  padding: 14px;
  border-radius: 6px;
  line-height: 1.45;
}

.form-status.is-success {
  color: #0f5132;
  background: #d1e7dd;
}

.form-status.is-error {
  color: #842029;
  background: #f8d7da;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #061222;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner div {
  display: grid;
}

.footer-inner strong {
  color: var(--white);
  text-transform: uppercase;
}

.footer-inner p {
  margin: 0;
  text-align: right;
}

.footer-inner nav {
  display: flex;
  gap: 14px;
}

.footer-inner a {
  font-weight: 900;
  text-decoration: none;
}

.legal-page {
  padding-top: 76px;
  background: var(--paper);
}

.legal-hero {
  padding: 78px 0;
  color: var(--white);
  background: linear-gradient(90deg, rgba(7, 26, 51, 0.96), rgba(237, 28, 36, 0.82));
}

.legal-hero h1 {
  margin: 0;
  font-size: 3rem;
  text-transform: uppercase;
}

.legal-content {
  max-width: 840px;
  padding: 64px 0;
}

.legal-content h2 {
  margin-top: 32px;
  font-size: 1.5rem;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 4.3rem;
  }

  .intro-grid,
  .mission-grid,
  .vote-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border-radius: 6px;
    background: rgba(7, 26, 51, 0.98);
  }

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

  .site-nav a {
    padding: 12px 8px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-bg {
    background-size: auto 96%;
    background-position: right -84px top 76px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 26, 51, 0.98), rgba(7, 26, 51, 0.8) 58%, rgba(7, 26, 51, 0.28)),
      linear-gradient(0deg, rgba(7, 26, 51, 0.88), rgba(7, 26, 51, 0.08) 48%);
  }

  .hero-content {
    padding: 132px 0 130px;
  }

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

  .hero-office {
    font-size: 1.26rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .gallery-grid img {
    height: 430px;
  }

  .button {
    width: 100%;
  }

  .hero-ribbon {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.88rem;
  }

  .hero-ribbon span + span::before {
    margin-right: 10px;
  }

  .intro-band,
  .experience-band,
  .mission-band,
  .plan-band,
  .gallery-band,
  .vote-band,
  .support-band {
    padding: 66px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .priority-list article {
    grid-template-columns: 54px 1fr;
  }

  .priority-list p {
    grid-column: 2;
  }

  .footer-inner {
    display: grid;
  }

  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 28px, 1180px);
  }

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

  .support-form {
    padding: 20px;
  }
}
