:root {
  --navy: #072b5c;
  --navy-2: #0a3570;
  --blue: #4f7fdc;
  --blue-dark: #3d6cc9;
  --coral: #f25c5c;
  --ice: #e7eef7;
  --ice-2: #dbe5f2;
  --white: #fff;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --stripes: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 7px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hl { color: var(--blue); }
.hl-coral { color: var(--coral); }

.eyebrow {
  display: block;
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  font: 800 16px/1 var(--font);
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--lg { padding: 20px 26px; font-size: clamp(18px, 2vw, 26px); }
.btn--coral { background: var(--coral); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn .chev { color: var(--coral); font-size: 1.1em; }
.btn--coral .chev { color: var(--navy); }

/* Notification bar */
.notice-bar {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  background: var(--blue); color: #fff;
  padding: 12px 56px;
  text-align: center;
}
.notice-bar p { margin: 0; font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.notice-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; line-height: 1;
}

/* Header */
.site-header { position: relative; z-index: 20; padding: 28px 0 10px; }
.site-header--hero { position: absolute; top: 0; left: 0; right: 0; }
.site-header--light { background: #fff; }
.site-header--blue { background: var(--blue); }
.header-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }

.logo { display: block; flex: none; text-decoration: none; }
.logo img { width: clamp(150px, 15vw, 205px); height: auto; }
.logo-text {
  display: inline-flex; align-items: center; gap: 4px;
  transform: rotate(-6deg) skewX(-8deg);
  color: #fff; text-transform: uppercase; font-weight: 800; font-style: italic;
}
.logo-text b { font-size: 72px; line-height: .8; letter-spacing: -.06em; }
.logo-text > span { display: flex; flex-direction: column; font-size: 30px; line-height: .9; letter-spacing: -.02em; }
.logo-text small { font-size: 11px; letter-spacing: .2em; }
.site-header--light .logo-text { color: var(--blue); }

.main-nav { display: flex; align-items: center; gap: 22px; padding-top: 6px; }
.main-nav > a:not(.btn) {
  font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; color: #fff;
  padding-bottom: 6px; border-bottom: 3px solid var(--blue);
}
.site-header--light .main-nav > a:not(.btn) { color: var(--navy); }
.site-header--blue .main-nav > a:not(.btn) { border-bottom-color: var(--navy); }
.main-nav > a[aria-current="page"]:not(.btn) { border-bottom-color: var(--coral); }

.social { display: flex; justify-content: center; gap: 10px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; color: inherit; }
.social svg { width: 20px; height: 20px; }
.social--ring a { border: 2px solid var(--coral); border-radius: 50%; color: #fff; }
.social--ring svg { width: 16px; height: 16px; }
.site-header--light .social--ring a { color: var(--navy); }
.site-header--blue .social--ring a { border-color: var(--navy); }

.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 48px; height: 48px; padding: 10px;
    background: var(--navy); border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 3px; background: #fff; transition: transform .2s, opacity .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 12px 16px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
  }
  .nav-open .main-nav { display: flex; }
  .main-nav > a:not(.btn) {
    color: #fff !important; font-size: 15px;
    padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.15) !important;
  }
  .main-nav .social { justify-content: flex-start; padding: 18px 0; }
  .main-nav .social--ring a { color: #fff !important; border-color: var(--coral) !important; }
  .main-nav .btn { justify-content: center; }
  .logo img { width: 140px; }
  .logo-text b { font-size: 52px; }
  .logo-text > span { font-size: 22px; }
  .logo-text small { font-size: 9px; }
}

/* Photo placeholder for images not yet added */
.ph {
  display: grid; place-items: center; text-align: center;
  min-height: 260px; width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, var(--ice) 0 12px, var(--ice-2) 12px 24px);
  color: var(--navy); font-size: 14px; font-weight: 700; padding: 16px;
}
.ph code { font-size: 12px; font-weight: 500; opacity: .7; word-break: break-all; }

/* Polaroid-style framed photo */
.framed {
  background: #fff; padding: 12px;
  box-shadow: 0 18px 30px -12px rgba(7,43,92,.35), 0 2px 6px rgba(7,43,92,.12);
  transform: rotate(-1deg);
}
.framed.tilt-r { transform: rotate(1deg); }
.framed img, .framed .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.framed--tall img, .framed--tall .ph { aspect-ratio: 5 / 6; }

/* Sections */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.stripes { background-image: var(--stripes); }
.bg-navy { background-color: var(--navy); color: #fff; }
.bg-blue { background-color: var(--blue); color: #fff; }
.bg-ice { background: linear-gradient(180deg, #d7e1ee 0, var(--ice) 90px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide-text { grid-template-columns: 1.35fr 1fr; align-items: start; }
@media (max-width: 900px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
}

/* Hero (home + Meet Matt) */
.hero {
  position: relative; overflow: hidden;
  min-height: min(900px, 100vh);
  display: flex; align-items: flex-end;
  padding: 220px 0 90px;
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, var(--navy) 0, var(--navy) 38%, rgba(7,43,92,.55) 60%, rgba(7,43,92,0) 80%),
    linear-gradient(180deg, rgba(7,43,92,.55) 0, rgba(7,43,92,0) 30%),
    var(--stripes),
    var(--photo, none);
  background-size: cover, cover, auto, cover;
  background-position: center, center, center, right center;
  background-repeat: no-repeat, no-repeat, repeat, no-repeat;
  color: #fff;
}
.hero-text { max-width: 760px; position: relative; }
.hero h1 { font-size: clamp(34px, 4.4vw, 62px); text-transform: uppercase; letter-spacing: -.03em; }
.hero .sub { font-size: clamp(18px, 2vw, 24px); margin: 18px 0 32px; text-transform: uppercase; }
.hero--center .hero-text { text-align: center; max-width: 620px; }
.hero--center h1 { text-transform: none; }
.hero--center .sub { text-transform: none; }
.hero:not(.has-photo)::after {
  content: "Hero photo: " attr(data-bg);
  position: absolute; right: 24px; bottom: 16px;
  font-size: 12px; opacity: .5;
}
@media (max-width: 900px) {
  .hero {
    padding-top: 170px;
    background-image:
      linear-gradient(0deg, var(--navy) 0, var(--navy) 45%, rgba(7,43,92,.35) 80%),
      var(--stripes),
      var(--photo, none);
    background-size: cover, auto, cover;
    background-position: center, center, 70% top;
  }
}

/* Sign-up form */
.signup-box { background: var(--coral); padding: 22px; }
.signup-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 8px; }
.signup-grid .zip { grid-column: 1 / 2; }
.signup-grid input {
  width: 100%; border: 0; background: var(--ice); color: var(--navy);
  font: 800 clamp(17px, 1.8vw, 24px) var(--font); padding: 20px 22px;
}
.signup-grid input::placeholder { color: var(--navy); opacity: 1; }
.signup-grid input:focus { outline: 3px solid var(--navy); outline-offset: -3px; }
.signup-grid button {
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  font: 800 clamp(17px, 1.8vw, 24px) var(--font); letter-spacing: .14em; text-transform: uppercase;
}
.signup-grid button:hover { background: var(--navy-2); }
.consent { display: flex; gap: 14px; margin-top: 22px; font-size: 14px; line-height: 1.5; color: #dfe8f6; }
.consent input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--coral); }
.consent a { color: #fff; }
.hp { display: none; }
@media (max-width: 560px) {
  .signup-grid { grid-template-columns: 1fr; }
  .signup-grid .zip { grid-column: auto; }
  .signup-grid button { padding: 18px; }
}

/* Popup */
.popup {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 16px;
  background: rgba(4, 20, 45, .72);
}
.popup[hidden] { display: none; }
.popup-panel {
  position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--blue); color: #fff; text-align: center;
  padding: clamp(48px, 7vw, 90px) clamp(20px, 8vw, 130px) clamp(36px, 5vw, 60px);
}
.popup-panel h2 { font-size: clamp(32px, 4.4vw, 50px); }
.popup-panel > p { font-size: clamp(17px, 2vw, 23px); margin: 16px 0 28px; }
.popup .signup-grid { text-align: left; }
.popup .consent { color: #fff; text-align: left; }
.popup-close {
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  color: #fff; font-size: 54px; line-height: 30px; font-weight: 200;
}

/* Intro (home) */
.intro h2 { font-size: clamp(36px, 4.8vw, 58px); margin-bottom: 30px; }
.intro .lead { font-size: clamp(20px, 2.3vw, 32px); line-height: 1.45; }
.intro .lead strong { color: var(--blue); }

/* Donate band */
.donate-band { padding: clamp(56px, 7vw, 100px) 0; }
.donate-band .eyebrow { color: var(--navy); }
.donate-band h2 { font-size: clamp(34px, 4.4vw, 52px); max-width: 470px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.amounts a {
  display: grid; place-items: center; min-height: 76px;
  background: var(--navy); color: #fff; text-decoration: none;
  font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  border: 2px solid var(--navy);
  transition: background .15s, color .15s;
}
.amounts a sup { font-size: .6em; vertical-align: .35em; margin-right: 2px; }
.amounts a.other { background: transparent; border-color: var(--navy); }
.amounts a:hover { background: #fff; color: var(--navy); }

/* Endorsements */
.endorse h2 { text-align: center; font-size: clamp(34px, 4.2vw, 50px); margin-bottom: 50px; }
.endorse h2.underline { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.feature-endorser { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: center; }
.ring {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1;
  border: 12px solid #fff; box-shadow: 0 6px 24px rgba(7,43,92,.15);
  background: #fff;
}
.ring img, .ring .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; border-radius: 50%; }
.feature-endorser h3 { color: var(--blue); font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.tag-box {
  display: inline-block; border: 3px solid var(--navy);
  padding: 10px 22px; margin-bottom: 22px;
  font-size: clamp(12px, 1.3vw, 17px); font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.quote { font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; }
.endorser-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 50px 30px;
  margin-top: 70px; text-align: center;
}
.endorser-grid .ring { width: min(210px, 100%); margin: 0 auto 26px; border-width: 10px; }
.endorser-grid h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.endorser-grid p {
  margin-top: 12px; color: var(--coral);
  font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
}
@media (max-width: 900px) {
  .feature-endorser { grid-template-columns: 1fr; text-align: center; }
  .feature-endorser .ring { width: 260px; margin: 0 auto; }
  .endorser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
}
@media (max-width: 420px) {
  .endorser-grid h3 { font-size: 19px; }
  .endorser-grid p { font-size: 11px; letter-spacing: .14em; }
}

/* Priorities checklist (home) */
.priorities .split { align-items: start; }
.priorities .eyebrow { padding-bottom: 30px; border-bottom: 2px solid #fff; margin-bottom: 0; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { border-bottom: 2px solid var(--blue); }
.checklist li:last-child { border-bottom: 0; }
.checklist a {
  display: flex; align-items: center; gap: 36px;
  padding: 26px 0; text-decoration: none; color: #fff;
  font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; font-style: italic;
}
.checklist a:hover { color: var(--ice-2); }
.check {
  flex: none; width: 42px; height: 42px; color: var(--blue);
}

/* Call to action bands */
.cta-band { text-align: center; padding: clamp(60px, 8vw, 110px) 0; }
.cta-band h2 { font-size: clamp(28px, 3.8vw, 48px); text-transform: uppercase; margin-bottom: 40px; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.cta-split .cta-text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px;
  padding: 60px max(16px, calc((100vw - var(--wrap)) / 2)) 60px max(16px, calc((100vw - var(--wrap)) / 2));
  padding-right: 40px;
}
.cta-split h2 { font-size: clamp(32px, 3.6vw, 48px); text-transform: uppercase; margin-bottom: 18px; }
.cta-split .cta-photo img, .cta-split .cta-photo .ph { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
@media (max-width: 900px) {
  .cta-split { grid-template-columns: 1fr; }
}

/* Long-form story text (Meet Matt, Why I'm Running) */
.story h2 { font-size: clamp(34px, 4.2vw, 50px); margin-bottom: 26px; }
.story .big { font-size: clamp(20px, 2.3vw, 32px); font-weight: 800; line-height: 1.28; }
.story .big .hl { color: var(--blue); }
.story-block + .story-block { margin-top: clamp(56px, 7vw, 90px); }
.story-block .split { align-items: start; }
.story-block .framed { margin-top: 10px; }
.essay p { font-size: clamp(19px, 2vw, 27px); font-weight: 800; line-height: 1.38; margin-bottom: 1.1em; }
.essay .hl { color: var(--blue); }
.essay-photo { max-width: 1000px; margin: 30px auto 50px; }
.essay-photo img, .essay-photo .ph { aspect-ratio: 16 / 10; }

/* Issues index */
.issues-page { padding-top: 210px; }
.issues-head { text-align: center; margin-bottom: 60px; }
.issues-head h1 { font-size: clamp(34px, 4.4vw, 52px); }
.issues-head p { color: var(--coral); font-weight: 700; font-size: clamp(17px, 1.8vw, 23px); margin-top: 14px; }
.issues-layout { display: grid; grid-template-columns: 250px 1fr; gap: 60px; align-items: start; }
.issue-list { position: sticky; top: 24px; display: flex; flex-direction: column; }
.issue-list a {
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 17px; text-transform: uppercase; line-height: 1.5;
  padding: 18px 0; border-bottom: 2px solid var(--coral);
}
.issue-list a:last-child { border-bottom: 0; }
.issue-list a[aria-current="page"] { color: var(--navy); }
.issue-list a:hover { opacity: .8; }
.issue-cards { display: grid; gap: 60px; max-width: 750px; }
.issue-card { background: var(--ice); color: var(--navy); text-align: center; padding: 60px clamp(20px, 6vw, 100px); }
.issue-card .divider { display: flex; align-items: center; gap: 24px; margin: 0 auto 30px; max-width: 490px; }
.issue-card .divider::before, .issue-card .divider::after { content: ""; flex: 1; height: 2px; background: var(--navy); }
.issue-card .divider svg { width: 52px; height: 52px; }
.issue-card h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 20px; }
.issue-card p { color: var(--blue); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); margin-bottom: 30px; }
@media (max-width: 900px) {
  .issues-page { padding-top: 160px; }
  .issues-layout { grid-template-columns: 1fr; gap: 30px; }
  .issue-list { position: static; }
}

/* Single issue page */
.issue-page { padding: 60px 0 100px; }
.issue-page .eyebrow { color: #fff; letter-spacing: .24em; margin-bottom: 4px; }
.issue-page .eyebrow span { color: var(--navy); }
.issue-page h1 { font-size: clamp(36px, 4.2vw, 52px); margin-bottom: 30px; }
.issue-page .summary { color: var(--navy); font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; line-height: 1.15; margin-bottom: 30px; }
.issue-page .body p, .issue-page li { font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.42; }
.issue-page h2 { color: var(--navy); font-size: clamp(24px, 2.4vw, 30px); margin: 40px 0 20px; }
.issue-page ul { margin: 0; padding-left: 1.4em; }
.issue-page li { margin-bottom: .45em; }
.issue-page .issue-list a { border-bottom-color: #fff; }
.issue-page .issue-list a[aria-current="page"] { color: var(--navy); }

/* Vote page */
.vote-intro h1 { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 30px; }
.vote-intro .lead { font-size: clamp(20px, 2.3vw, 33px); line-height: 1.5; }
.vote-intro .lead strong { color: var(--coral); }
.checklist-text { padding-top: 0; }
.checklist-text h2 { font-size: clamp(30px, 3.8vw, 46px); text-transform: uppercase; margin-bottom: 30px; }
.checklist-text h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 40px 0 18px; }
.checklist-text p, .checklist-text li { font-size: clamp(17px, 1.7vw, 22px); }
.checklist-text ul { padding-left: 1.4em; }
.checklist-text li { margin-bottom: .4em; }
.checklist-text a { color: var(--coral); text-decoration: none; }
.checklist-text a:hover { text-decoration: underline; }
.not { color: var(--coral); font-weight: 800; }

.resources { text-align: center; position: relative; overflow: hidden; }
.resources .eyebrow { color: var(--navy); }
.resources h2 { font-size: clamp(34px, 4.2vw, 50px); }
.resources h3 { color: var(--navy); font-size: clamp(24px, 2.6vw, 34px); margin: 30px 0 30px; }
.resources .pitch { max-width: 1240px; margin: 0 auto 70px; font-size: clamp(18px, 2.1vw, 29px); font-weight: 800; color: var(--navy); line-height: 1.32; }
.resources .pitch b { color: #fff; }
.resource-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.resource-cards a {
  position: relative; display: flex; align-items: flex-end;
  min-height: 170px; padding: 24px; text-align: left;
  border: 3px solid var(--navy); color: #fff; text-decoration: none;
  font-weight: 800; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3;
  transition: background .15s;
}
.resource-cards a:hover { background: rgba(7,43,92,.18); }
.resource-cards a::after {
  content: "›"; position: absolute; top: 14px; right: 14px;
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 2px solid var(--navy); border-radius: 50%;
  color: var(--navy); font-size: 26px; line-height: 1; padding-bottom: 3px;
}
.print-btn { margin-top: 50px; }
@media (max-width: 900px) { .resource-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .resource-cards { grid-template-columns: 1fr; } .resource-cards a { min-height: 120px; } }

/* Simple text pages */
.page-text { max-width: 820px; }
.page-text h1 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 24px; }
.page-text h2 { font-size: 24px; margin: 34px 0 12px; }
.page-text p, .page-text li { font-size: 18px; }

/* Footer */
.site-footer {
  background: var(--navy); color: #fff; text-align: center;
  padding: 100px 16px 90px;
}
.site-footer .social { margin-bottom: 24px; }
.site-footer .social a { color: #fff; }
.site-footer .social svg { width: 24px; height: 24px; }
.site-footer p { font-size: 18px; margin-bottom: 18px; }
.site-footer a { color: var(--blue); }
.site-footer .foot-links { font-size: 14px; }
.site-footer .foot-links a { color: #c8d6ee; }
.paid-for {
  display: inline-block; margin-top: 20px;
  border: 2px solid #fff; padding: 22px 30px;
  font-size: 18px; line-height: 2.1;
}

/* Print: the Vote page is meant to be printed and handed out */
@media print {
  .notice-bar, .site-header, .site-footer .social, .print-btn, .popup { display: none !important; }
  body { color: #000; }
  .bg-blue, .bg-navy { background: none !important; color: #000 !important; }
  .resources .pitch, .resources h3, .resources .eyebrow { color: #000; }
  .resource-cards a { color: #000; border-color: #000; min-height: 0; }
  .resource-cards a::after { content: " (" attr(href) ")"; position: static; display: inline; border: 0; width: auto; height: auto; font-size: 12px; font-weight: 400; color: #000; }
  .site-footer { background: none; color: #000; padding: 20px 0; }
  .paid-for { border-color: #000; }
  .framed { box-shadow: none; transform: none; }
}

@media (max-width: 600px) {
  .notice-bar { gap: 12px; padding: 10px 44px 10px 16px; justify-content: space-between; text-align: left; }
  .notice-bar p { font-size: 11px; letter-spacing: .1em; }
  .notice-close { right: 10px; }
  .hero h1 br { display: none; }
}

/* Photo-specific framing */
.framed--natural img { aspect-ratio: auto; }
.pos-top img { object-position: 50% 15%; }
/* Home hero: navy on the left fading into the photo's black backdrop on the right,
   with the photo's left and bottom edges feathered so no border shows. */
.hero--portrait {
  background-image:
    var(--stripes),
    linear-gradient(90deg, var(--navy) 0, var(--navy) 30%, #0d2244 52%, #141414 78%, #161616 100%);
  background-size: auto, cover;
}
.hero--portrait::after { display: none; }
.hero-portrait {
  position: absolute; right: 4%; bottom: 0;
  height: 100%; width: auto; max-width: none;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 85%, transparent 100%), linear-gradient(0deg, transparent 0, #000 12%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 85%, transparent 100%), linear-gradient(0deg, transparent 0, #000 12%);
  mask-composite: intersect;
  pointer-events: none;
}
.hero--portrait .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero--portrait {
    background-image: var(--stripes), linear-gradient(180deg, #161616 0, #0d2244 40%, var(--navy) 60%);
  }
  .hero--portrait { padding-top: 470px; }
  .hero-portrait {
    right: 50%; transform: translateX(50%); top: 70px; bottom: auto; height: 480px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(0deg, transparent 0, #000 35%, #000 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(0deg, transparent 0, #000 35%, #000 85%, transparent 100%);
  }
}


/* Home hero sign-up box: a bit more compact than the popup's */
.hero .signup { max-width: 600px; }
.hero .signup-box { padding: 16px; }
.hero .signup-grid { gap: 6px; }
.hero .signup-grid input { padding: 15px 18px; font-size: clamp(16px, 1.5vw, 20px); }
.hero .signup-grid button { font-size: clamp(16px, 1.5vw, 20px); padding: 15px 18px; }
.hero .consent { font-size: 13px; margin-top: 16px; }

/* Donate band: center the heading text in its column */
.donate-band .split > div:first-child { text-align: center; }
.donate-band h2 { margin-inline: auto; }

/* Meet Matt hero: photo fills the right side and only its left edge fades into navy,
   so the people in the photo stay visible. */
.hero--side { background-image: var(--stripes); background-size: auto; }
.hero--side::after { display: none; }
.hero-side-photo {
  position: absolute; top: 0; right: 0;
  width: 66%; height: 100%; max-width: none;
  object-fit: cover; object-position: 30% center;
  /* long, eased fade so there's no visible line where the photo starts */
  --side-fade: linear-gradient(90deg, transparent 0, rgba(0,0,0,.06) 8%, rgba(0,0,0,.2) 16%, rgba(0,0,0,.42) 24%, rgba(0,0,0,.66) 32%, rgba(0,0,0,.86) 40%, #000 50%);
  --bottom-fade: linear-gradient(0deg, transparent 0, rgba(0,0,0,.5) 8%, #000 18%);
  -webkit-mask-image: var(--side-fade), var(--bottom-fade);
  -webkit-mask-composite: source-in;
  mask-image: var(--side-fade), var(--bottom-fade);
  mask-composite: intersect;
  pointer-events: none;
}
.hero--side .wrap { position: relative; z-index: 1; }
.hero--side .hero-text { max-width: 600px; margin-left: 0; }
.hero--side h1 { font-size: clamp(32px, 3.8vw, 54px); }
@media (max-width: 900px) {
  .hero--side { padding-top: 380px; }
  .hero-side-photo {
    top: 70px; width: 100%; height: 400px;
    -webkit-mask-image: linear-gradient(0deg, transparent 0, rgba(0,0,0,.5) 12%, #000 30%, #000 82%, transparent 100%);
    mask-image: linear-gradient(0deg, transparent 0, rgba(0,0,0,.5) 12%, #000 30%, #000 82%, transparent 100%);
  }
  .hero--side .hero-text { max-width: none; }
}

/* Family photo: crop off the empty backdrop above everyone's heads */
.framed--family img { aspect-ratio: 1 / 1; object-position: 50% 84%; }

/* Phone: home headline on three lines — Vote / Matthew Szalaj / TN House District 84 */
@media (max-width: 600px) {
  .hero h1 { font-size: min(34px, 8.3vw); }
  .hero h1 .h1-line { display: block; white-space: nowrap; }
}

/* Popup: first / last name share a row, split evenly */
.popup .signup-grid { grid-template-columns: 1fr 1fr; }
.popup .signup-grid .zip { grid-column: auto; }
@media (max-width: 560px) { .popup .signup-grid { grid-template-columns: 1fr; } }

/* Vote page: sample ballot band */
.ballot-band { padding: clamp(48px, 6vw, 80px) 0; }
.ballot-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.ballot-band h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 16px; }
.ballot-band p { font-size: clamp(17px, 1.6vw, 20px); color: #dfe8f6; margin: 0; }
.ballot-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.ballot-actions .btn { justify-content: center; }
.ballot-actions .btn[hidden] { display: none; }
.ballot-band .btn--coral .chev { color: var(--navy); }
@media (max-width: 900px) { .ballot-inner { grid-template-columns: 1fr; } }
@media print { .ballot-band { display: none; } }
.ballot-band + .checklist-text { padding-top: clamp(48px, 6vw, 80px); }
.ballot-band p strong { color: #fff; }
