/* ============================================================
   DAN FOR RANSON — Campaign Website Stylesheet
   danforranson.org | Ranson City Council 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --navy:       #1B3A6B;
  --navy-dark:  #0F2347;
  --navy-light: #243F75;
  --red:        #C8102E;
  --red-dark:   #A50D25;
  --gold:       #C9A84C;
  --white:      #FFFFFF;
  --off-white:  #F5F7FA;
  --gray-light: #E8EDF4;
  --gray:       #6B7280;
  --text-dark:  #1A1A2E;
}

/* ============================================================
   BASE RESET & GLOBAL
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  padding-top: 80px;
  background: #fff;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

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

a { transition: color 0.2s; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  background: var(--gold);
  padding: 0.6rem 1.5rem;
  text-align: center;
}
.announce-bar p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.announce-bar span { color: var(--red); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
  transition: background 0.3s;
}
.navbar.scrolled {
  background: rgba(15, 35, 71, 0.97);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img { height: 70px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-ctas { display: flex; align-items: center; gap: 0.6rem; }

.btn-nav-primary {
  background: var(--red);
  color: #fff !important;
  padding: 0.55rem 1.2rem;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 2px solid var(--red);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-nav-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-nav-secondary {
  background: transparent;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.4);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-nav-secondary:hover { border-color: var(--gold); color: var(--gold) !important; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: white;
  font-size: 1.4rem;
  line-height: 1;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.82);
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
.mobile-menu-ctas {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.btn-mobile-primary {
  display: block;
  text-align: center;
  background: var(--red);
  color: #fff;
  padding: 0.85rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
}
.btn-mobile-secondary {
  display: block;
  text-align: center;
  background: transparent;
  color: #fff;
  padding: 0.85rem;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.3);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: -7%;
  background: url('../images/dan%20landscape.avif') center/cover no-repeat;
  animation: dfr-kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(15,35,71,0.97) 0%,  rgba(15,35,71,0.88) 35%, rgba(15,35,71,0.50) 62%, transparent 82%),
    linear-gradient(to bottom, rgba(0,0,0,0.28)    0%,  transparent 38%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  width: 100%;
}
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.75rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  max-width: 820px;
  line-height: 1.1;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  line-height: 1.65;
}
.hero-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--red);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  border: 2px solid var(--red);
  display: inline-block;
  transition: all 0.25s;
}
.btn-hero-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,16,46,0.4);
}
.btn-hero-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.55);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.btn-hero-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-hero-secondary.on-light {
  color: var(--navy);
  border-color: rgba(27,58,107,0.45);
  background: #fff;
}
.btn-hero-secondary.on-light:hover {
  color: var(--navy-dark);
  border-color: var(--navy);
  background: rgba(27,58,107,0.06);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--red);
  padding: 1.1rem 0;
  overflow: hidden;
}
.trust-bar-inner {
  width: max-content;
  display: flex;
  align-items: center;
  animation: trust-ticker-scroll 34s linear infinite;
}
.trust-track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-right: 2.5rem;
  white-space: nowrap;
}
.trust-item {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.17rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.15;
}
.trust-item i { color: rgba(255,255,255,0.65); font-size: 1.35rem; }
.trust-sep { color: rgba(255,255,255,0.3); font-size: 1.5rem; line-height: 1; }

@keyframes trust-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.section { padding: 5rem 1.5rem; }
.section-white { background: #fff; }
.section-light { background: var(--off-white); }
.section-navy { background: var(--navy); color: white; }
.section-navy-dark { background: var(--navy-dark); color: white; }

.section-inner { max-width: 1280px; margin: 0 auto; }
.section-inner-narrow { max-width: 860px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 0.85rem;
}
.section-label-gold { color: var(--gold); }

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.85rem);
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
}
.section-title-white { color: white; }

.section-body {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.85;
  max-width: 740px;
}
.section-body-white { color: rgba(255,255,255,0.8); }

/* ============================================================
   PROMISE SECTION LAYOUT
   ============================================================ */
.promise-layout {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: 3rem;
  align-items: stretch;
}
.promise-photo-wrap {
  position: relative;
  height: 100%;
  padding-bottom: 1.9rem;
}
.promise-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0,0,0,0.14);
  background: var(--gray-light);
  height: 100%;
}
.promise-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.promise-photo-logo {
  position: absolute;
  left: 50%;
  bottom: -1.04rem;
  transform: translateX(-50%);
  width: min(76%, 300px);
  padding: 0.02rem 0.08rem;
  border-radius: 6px;
  background: rgba(15,35,71,0.95);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 28px rgba(0,0,0,0.24);
}
.promise-photo-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.promise-content { max-width: 760px; }
.promise-cta-row { margin-top: 2.5rem; }

/* ============================================================
   PROMISE / COMMITMENT LIST
   ============================================================ */
.promise-list {
  list-style: none;
  margin: 2.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.promise-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.promise-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.promise-icon i { color: white; font-size: 1rem; }
.promise-text h4 {
  font-size: 1rem; font-weight: 800;
  color: var(--navy-dark); margin-bottom: 0.2rem;
}
.promise-text p { font-size: 0.95rem; color: var(--gray); line-height: 1.65; }

/* ============================================================
   ISSUE CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
}
.issue-card {
  background: white;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-top: 4px solid var(--red);
  transition: transform 0.2s, box-shadow 0.2s;
}
.issue-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(0,0,0,0.12); }
.issue-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.issue-icon i { color: var(--gold); font-size: 1.2rem; }
.issue-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 0.65rem; }
.issue-card p { font-size: 0.93rem; color: var(--gray); line-height: 1.7; }

/* ============================================================
   ACTION CARDS (HOW TO HELP)
   ============================================================ */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-top: 2.75rem;
}
.action-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.25s;
}
.action-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); }
.action-card .action-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 1.25rem; }
.action-card h3 { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: 0.85rem; }
.action-card p { color: rgba(255,255,255,0.72); font-size: 0.93rem; line-height: 1.7; margin-bottom: 1.75rem; }

.btn-action {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-action:hover { background: #b8933c; transform: translateY(-2px); }

/* ============================================================
   PULL QUOTE
   ============================================================ */
.pull-quote {
  border-left: 5px solid var(--red);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: var(--off-white);
  border-radius: 0 10px 10px 0;
}
.pull-quote p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--navy-dark);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.pull-quote cite {
  font-size: 0.8rem; font-weight: 700;
  color: var(--red); font-style: normal;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ============================================================
   EMAIL / LEAD CAPTURE
   ============================================================ */
.email-signup { background: var(--navy); padding: 5rem 1.5rem; }
.email-signup-inner { max-width: 720px; margin: 0 auto; text-align: center; }

.signup-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-input::placeholder { color: rgba(255,255,255,0.45); }
.form-input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.12); }
.form-textarea { resize: vertical; min-height: 90px; }

.btn-form-submit {
  background: var(--red);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}
.btn-form-submit:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-micro { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.5rem; }

/* ============================================================
   FOOTER CTA BAR
   ============================================================ */
.footer-cta-bar { background: var(--red); padding: 2.75rem 1.5rem; text-align: center; }
.footer-cta-bar h2 {
  color: white; font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 1.5rem;
}
.footer-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-cta-white {
  background: white; color: var(--red);
  padding: 0.9rem 2.25rem; border-radius: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 0.88rem; text-transform: uppercase;
  letter-spacing: 0.08em; text-decoration: none;
  border: 2px solid white; transition: all 0.2s;
}
.btn-cta-white:hover { background: transparent; color: white; }

.btn-cta-outline {
  background: transparent; color: white;
  padding: 0.9rem 2.25rem; border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.55);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 0.88rem; text-transform: uppercase;
  letter-spacing: 0.08em; text-decoration: none; transition: all 0.2s;
}
.btn-cta-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer { background: var(--navy-dark); padding: 4rem 1.5rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img { height: 58px; width: auto; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; line-height: 1.65; }

.footer-social { display: flex; gap: 0.65rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.85rem; transition: all 0.2s;
}
.social-link:hover { background: var(--red); color: white; }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: white; }

.footer-email-form { display: flex; gap: 0.5rem; }
.footer-email-input {
  flex: 1; padding: 0.65rem 1rem;
  border-radius: 6px; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07); color: white;
  font-size: 0.85rem; font-family: 'Open Sans', sans-serif;
}
.footer-email-input::placeholder { color: rgba(255,255,255,0.38); }
.footer-email-input:focus { outline: none; border-color: var(--gold); }
.footer-email-btn {
  background: var(--red); color: white; border: none;
  padding: 0.65rem 1rem; border-radius: 6px;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.footer-email-btn:hover { background: var(--red-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 2rem;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 1rem;
}
.footer-compliance { font-size: 0.78rem; color: rgba(255,255,255,0.38); line-height: 1.6; }
.footer-location { font-size: 0.78rem; color: rgba(255,255,255,0.38); text-align: right; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy-dark);
  padding: 5.5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: url('../images/dan%20landscape.avif') center/cover no-repeat;
  opacity: 0.12;
}
.page-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900; color: white; margin-bottom: 1rem;
}
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 600px; margin: 0 auto; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 4rem; align-items: start; }
.about-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  aspect-ratio: 3/4;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  text-align: center; padding: 0;
  font-family: 'Montserrat', sans-serif; font-size: 0.85rem;
}
.about-photo i { font-size: 3rem; margin-bottom: 1rem; color: rgba(255,255,255,0.2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.35rem; margin-top: 2rem;
}
.value-card {
  background: white; border-radius: 12px; padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); border-left: 4px solid var(--navy);
}
.value-card h4 { font-size: 0.95rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 0.4rem; }
.value-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

/* Timeline */
.timeline { position: relative; padding-left: 2.25rem; margin-top: 2rem; }
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 0.5rem; bottom: 0;
  width: 2px; background: var(--navy);
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
  content: ''; position: absolute;
  left: -2.44rem; top: 0.3rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--red);
}
.timeline-item h4 { font-size: 0.98rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

/* ============================================================
   PRIORITIES PAGE
   ============================================================ */
.priority-block {
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}
.priority-block:nth-child(even) { background: var(--off-white); }
.priority-inner { max-width: 900px; margin: 0 auto; }

.priority-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--navy); color: white;
  padding: 0.4rem 1rem; border-radius: 99px;
  font-family: 'Montserrat', sans-serif; font-size: 0.72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.priority-card {
  background: white; border-radius: 12px; padding: 1.75rem;
  margin-top: 1.5rem; box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.priority-card-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 0.75rem;
}
.label-problem { color: var(--red); }
.label-plan { color: var(--navy); }
.label-proof { color: #b45309; }

.priority-card p { color: #4B5563; font-size: 0.93rem; line-height: 1.72; }
.priority-card ul {
  list-style: none; margin-top: 0.85rem;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.priority-card ul li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.9rem; color: #4B5563;
}
.priority-card ul li::before { content: '✓'; color: var(--red); font-weight: 800; flex-shrink: 0; }

.initiative-box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: 14px; padding: 2.5rem; margin-top: 2rem; color: white;
}
.initiative-box h3 { font-size: 1.25rem; font-weight: 800; color: var(--gold); margin-bottom: 0.85rem; }
.initiative-box p { color: rgba(255,255,255,0.82); font-size: 0.93rem; line-height: 1.72; margin-bottom: 1rem; }
.initiative-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.initiative-box ul li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.78);
}
.initiative-box ul li::before { content: '→'; color: var(--gold); font-weight: 800; flex-shrink: 0; }

/* ============================================================
   WHY I'M RUNNING — responsive grid + placeholder box
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: stretch;
}
.why-grid > div:first-child .section-body {
  max-width: none;
}

.why-photo-box {
  background: linear-gradient(160deg, #1B3A6B, #0F2347);
  border-radius: 16px;
  padding: 3rem;
  color: white;
  text-align: center;
  height: 100%;
}
.why-photo-icon {
  font-size: 5rem;
  color: rgba(255,255,255,0.2);
  margin-bottom: 1.5rem;
  display: block;
}
.why-photo-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.why-photo-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: block;
}
.why-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.why-info-card {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
}
.why-info-title {
  font-size: 0.72rem;
  color: #C9A84C;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.3rem;
}
.why-info-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   ABOUT PAGE — credential pills + background grid + why ranson box
   ============================================================ */
.cred-pills {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cred-pill {
  background: var(--off-white);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cred-pill i {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}
.cred-pill span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-dark);
}

.bg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-ranson-box {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border-radius: 16px;
  padding: 3rem;
  color: white;
}
.why-ranson-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.why-ranson-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
}
.why-ranson-body {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.why-ranson-quote {
  background: rgba(201,168,76,0.15);
  border-left: 4px solid var(--gold);
  padding: 1.25rem;
  border-radius: 0 8px 8px 0;
}
.why-ranson-quote p {
  color: rgba(255,255,255,0.9);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   VOLUNTEER PAGE
   ============================================================ */
.vol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 2.75rem;
}
.vol-card {
  background: white; border-radius: 14px; padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-top: 4px solid var(--navy); text-align: center;
  transition: transform 0.2s;
}
.vol-card:hover { transform: translateY(-5px); }
.vol-card i { font-size: 2.25rem; color: var(--navy); margin-bottom: 1rem; }
.vol-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 0.65rem; }
.vol-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

.vol-form-wrap {
  background: white; border-radius: 16px; padding: 3rem;
  box-shadow: 0 6px 36px rgba(0,0,0,0.08);
  max-width: 720px; margin: 3rem auto 0;
}
.form-group { margin-bottom: 1.35rem; }
.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--navy-dark); margin-bottom: 0.5rem;
}
.form-control {
  width: 100%; padding: 0.9rem 1.25rem;
  border: 2px solid var(--gray-light); border-radius: 8px;
  font-family: 'Open Sans', sans-serif; font-size: 0.93rem;
  color: var(--text-dark); transition: border-color 0.2s; background: white;
}
.form-control:focus { outline: none; border-color: var(--navy); }

.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 0.5rem; }
.checkbox-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; color: #4B5563; cursor: pointer;
}
.checkbox-item input { accent-color: var(--navy); width: 16px; height: 16px; }

.btn-submit-navy {
  background: var(--navy); color: white; border: none;
  padding: 1rem 2.5rem; border-radius: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.09em;
  cursor: pointer; width: 100%; transition: all 0.2s;
}
.btn-submit-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-icon {
  width: 44px; height: 44px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 0.9rem; flex-shrink: 0;
}
.contact-detail-text h5 {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--navy); margin-bottom: 0.25rem;
}
.contact-detail-text p, .contact-detail-text a {
  font-size: 0.9rem; color: var(--gray); text-decoration: none;
}
.contact-detail-text a:hover { color: var(--navy); }
.contact-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  margin: 0 0 1.75rem;
  background: white;
}
.contact-map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
.contact-map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--gray-light);
}
.contact-map-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gray);
}
.contact-map-footer a {
  font-size: 0.82rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.contact-map-footer a:hover { color: var(--navy-dark); }

/* ============================================================
   VOTER PLAN PAGE
   ============================================================ */
.voter-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 4rem 1.5rem 3rem; text-align: center;
}
.voter-hero h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 900; color: white; margin-bottom: 0.85rem; }
.voter-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.voter-plan-outer { max-width: 680px; margin: 0 auto; padding: 3rem 1.5rem; }
.voter-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.voter-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

.step-card {
  background: white; border-radius: 16px; padding: 2.5rem;
  box-shadow: 0 6px 32px rgba(0,0,0,0.08); margin-bottom: 1.75rem;
}
.step-badge {
  width: 40px; height: 40px;
  background: var(--navy); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.step-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 0.65rem; }
.step-card p { font-size: 0.93rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.25rem; }

.wv-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--navy); color: white;
  padding: 1rem 1.75rem; border-radius: 10px;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 0.95rem; text-decoration: none; transition: all 0.2s;
}
.wv-btn:hover { background: var(--navy-dark); transform: translateY(-2px); }
.wv-btn i { color: var(--gold); font-size: 1.1rem; }

/* Voter Plan Output */
.plan-output {
  background: white; border-radius: 16px; padding: 2.5rem;
  box-shadow: 0 6px 32px rgba(0,0,0,0.08);
  border: 2px dashed #e5e7eb; margin-top: 1.75rem; display: none;
}
.plan-output.visible { display: block; }
#pdfContent {}
.plan-header { text-align: center; margin-bottom: 2rem; }
.plan-header img { height: 50px; margin: 0 auto 1rem; }
.plan-title {
  font-size: 1.5rem; font-weight: 900; color: var(--navy-dark);
  text-transform: uppercase; border-bottom: 3px solid var(--red);
  padding-bottom: 0.85rem;
}
.plan-date { font-size: 0.8rem; color: var(--gray); margin-top: 0.35rem; font-family: 'Montserrat', sans-serif; font-weight: 600; }

.plan-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 0.85rem 0; border-bottom: 1px solid #F3F4F6; font-size: 0.93rem;
}
.plan-row:last-of-type { border-bottom: none; }
.plan-label { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy-dark); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.plan-value { color: #4B5563; text-align: right; max-width: 58%; }
.plan-value strong { color: var(--navy); font-family: 'Montserrat', sans-serif; }

.plan-commitment {
  background: var(--off-white); border-radius: 8px; padding: 1.25rem;
  margin-top: 1.5rem; border-left: 4px solid var(--navy);
  font-style: italic; font-size: 0.88rem; color: #4B5563; line-height: 1.65;
}
.plan-footer-note {
  text-align: center; margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb; font-size: 0.75rem; color: #9CA3AF;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
}

.btn-download {
  display: block; width: 100%; background: #16a34a; color: white;
  border: none; padding: 1rem; border-radius: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.09em;
  cursor: pointer; margin-top: 1.5rem; transition: all 0.2s;
}
.btn-download:hover { background: #15803d; }

/* ============================================================
   ALERTS / SUCCESS MESSAGES
   ============================================================ */
.alert-success {
  display: none; background: #d1fae5; border: 1px solid #6ee7b7;
  color: #065f46; padding: 1rem 1.5rem; border-radius: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 0.88rem; margin-top: 1rem; text-align: center;
}
.alert-success.show { display: block; }
.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  margin-top: 1rem;
  text-align: center;
}
.dfr-turnstile-wrap {
  margin: 0.75rem 0 1rem;
  display: flex;
  justify-content: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-photo-image { height: 360px; }
  .promise-layout { grid-template-columns: 1fr; gap: 2rem; }
  .promise-photo-wrap { max-width: 360px; margin: 0 auto; height: auto; }
  .promise-photo { height: auto; aspect-ratio: 3 / 4; }
  .promise-photo-logo { width: min(72%, 240px); }
  .promise-content { max-width: none; }
}

@media (max-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  body { padding-top: 70px; }
  .nav-container { height: 70px; }
  .nav-logo img { height: 60px; }
  .nav-links, .nav-ctas { display: none; }
  .hamburger { display: block; }
  .hero { min-height: 72vh; }
  .hero-ctas { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; }
  .trust-bar-inner { animation-duration: 28s; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-location { text-align: center; }
  .vol-form-wrap { padding: 2rem 1.25rem; }
  .step-card { padding: 2rem 1.25rem; }
  .voter-grid-2, .voter-grid-3 { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .footer-email-form { flex-direction: column; }

  /* Why I'm Running — stack on mobile */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* text column: ensure button is fully visible */
  .why-grid > div:first-child .btn-hero-secondary {
    display: block;
    text-align: center;
    width: 100%;
  }
  /* placeholder box: compact layout */
  .why-photo-box {
    padding: 1.75rem 1.25rem;
  }
  .why-photo-icon {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
  }
  .why-photo-label {
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .why-photo-image {
    height: 320px;
    margin-bottom: 0.85rem;
  }
  .why-info-cards {
    gap: 0.65rem;
  }
  .why-info-card {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .why-info-title {
    font-size: 0.65rem;
    margin-bottom: 0.15rem;
    white-space: nowrap;
  }
  .why-info-body {
    font-size: 0.82rem;
  }

  /* About page — background grid stack on mobile */
  .bg-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .why-ranson-box {
    padding: 2rem 1.5rem;
  }
  .why-ranson-title {
    font-size: 1.25rem;
  }
  /* Credential pills — tighten padding on narrow screens */
  .cred-pill {
    padding: 0.7rem 1rem;
  }
  .contact-map-frame {
    height: 220px;
  }
  .contact-map-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 1.25rem; }
  .cards-grid, .action-grid, .vol-grid { grid-template-columns: 1fr; }
  .footer-cta-btns { flex-direction: column; }
  .btn-cta-white, .btn-cta-outline { text-align: center; }
}

/* ============================================================
   ANIMATIONS — Dan for Ranson Campaign Website
   danforranson.org | Professional Motion System
   ============================================================ */

/* --- Keyframes ------------------------------------------- */
@keyframes dfr-fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dfr-fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dfr-fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dfr-scaleIn {
  from { opacity: 0; transform: scale(0.92) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes dfr-slideDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dfr-ripple {
  to { transform: scale(4); opacity: 0; }
}
@keyframes dfr-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,16,46,0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}
@keyframes dfr-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes dfr-goldline {
  from { width: 0; }
  to   { width: 60px; }
}

/* --- Scroll Reveal System -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.from-left  { transform: translateX(-30px); }
.reveal.from-right { transform: translateX(30px); }
.reveal.scale      { transform: scale(0.92); }
.reveal.visible    { opacity: 1 !important; transform: none !important; }

/* --- Hero Background — Ken Burns motion ---------------- */
@keyframes dfr-kenburns {
  0%   { transform: scale(1.00) translate( 0%,    0%   ); }
  100% { transform: scale(1.10) translate(-2.5%,  -1.5%); }
}

/* --- Announce Bar --------------------------------------- */
.announce-bar {
  animation: dfr-slideDown 0.55s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* --- Hero Eyebrow — stays sharp over motion ------------ */
.hero-eyebrow {
  text-shadow: 0 1px 14px rgba(0,0,0,0.55), 0 0 40px rgba(15,35,71,0.9);
}

/* --- Page Load — Home Hero ------------------------------ */
.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-body,
.hero-ctas {
  opacity: 0;
  transform: translateY(22px);
}
.page-loaded .hero-eyebrow {
  animation: dfr-fadeInUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.15s forwards;
}
.page-loaded .hero h1 {
  animation: dfr-fadeInUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.28s forwards;
}
.page-loaded .hero-sub {
  animation: dfr-fadeInUp 0.65s cubic-bezier(0.16,1,0.3,1) 0.40s forwards;
}
.page-loaded .hero-body {
  animation: dfr-fadeInUp 0.65s cubic-bezier(0.16,1,0.3,1) 0.50s forwards;
}
.page-loaded .hero-ctas {
  animation: dfr-fadeInUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.62s forwards;
}

/* --- Page Load — Inner Page Hero ----------------------- */
.page-hero-content .section-label,
.page-hero-content h1,
.page-hero-content p {
  opacity: 0;
  transform: translateY(18px);
}
.page-loaded .page-hero-content .section-label {
  animation: dfr-fadeInUp 0.5s cubic-bezier(0.16,1,0.3,1) 0.12s forwards;
}
.page-loaded .page-hero-content h1 {
  animation: dfr-fadeInUp 0.62s cubic-bezier(0.16,1,0.3,1) 0.22s forwards;
}
.page-loaded .page-hero-content p {
  animation: dfr-fadeInUp 0.62s cubic-bezier(0.16,1,0.3,1) 0.35s forwards;
}

/* --- Page Load — Voter Hero ----------------------------- */
.voter-hero h1,
.voter-hero p {
  opacity: 0;
  transform: translateY(18px);
}
.page-loaded .voter-hero h1 {
  animation: dfr-fadeInUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.12s forwards;
}
.page-loaded .voter-hero p {
  animation: dfr-fadeInUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.26s forwards;
}

/* --- Trust Bar — ticker (no staggered entrance) -------- */
.trust-item {
  opacity: 1;
}

/* --- Mobile Menu — max-height slide -------------------- */
.mobile-menu {
  display: block !important;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.42s cubic-bezier(0.16,1,0.3,1),
              opacity 0.32s ease;
}
.mobile-menu.open {
  max-height: 620px;
  opacity: 1;
}
.mobile-menu a,
.mobile-menu .mobile-menu-ctas {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu.open a,
.mobile-menu.open .mobile-menu-ctas {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.11s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.21s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.31s; }
.mobile-menu.open .mobile-menu-ctas { transition-delay: 0.36s; }

/* Hamburger icon rotation */
.hamburger i {
  display: inline-block;
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
.hamburger.open i {
  transform: rotate(90deg);
}

/* --- Nav Link — animated underline --------------------- */
.nav-links a {
  border-bottom: none !important;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* --- Button Ripple -------------------------------------- */
.btn-hero-primary,
.btn-hero-secondary,
.btn-nav-primary,
.btn-action,
.btn-submit-navy,
.btn-form-submit,
.btn-download,
.wv-btn,
.btn-cta-white,
.btn-cta-outline,
.btn-mobile-primary {
  position: relative;
  overflow: hidden;
}
.dfr-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: dfr-ripple 0.55s linear forwards;
  background: rgba(255,255,255,0.22);
  pointer-events: none;
}

/* --- Hero CTA — heartbeat pulse after load ------------- */
.btn-hero-primary.cta-pulse {
  animation: dfr-pulse 2.4s ease-in-out infinite;
}

/* --- Enhanced Hover: Issue Cards ----------------------- */
.issue-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s;
}
.issue-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.14);
}
.issue-icon {
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1),
              background 0.25s;
}
.issue-card:hover .issue-icon {
  transform: scale(1.18) rotate(-8deg);
  background: var(--red);
}

/* --- Enhanced Hover: Action Cards ---------------------- */
.action-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              background 0.25s, box-shadow 0.35s;
}
.action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}
.action-card .action-icon {
  display: block;
  transition: transform 0.42s cubic-bezier(0.34,1.56,0.64,1);
}
.action-card:hover .action-icon {
  transform: scale(1.22) translateY(-5px);
}

/* --- Enhanced Hover: Volunteer Cards ------------------- */
.vol-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s;
}
.vol-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}
.vol-card i {
  display: inline-block;
  transition: transform 0.42s cubic-bezier(0.34,1.56,0.64,1), color 0.25s;
}
.vol-card:hover i {
  transform: scale(1.25) rotate(-7deg);
  color: var(--red);
}

/* --- Enhanced Hover: Value Cards ----------------------- */
.value-card {
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1),
              border-color 0.25s, box-shadow 0.32s;
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 10px 32px rgba(0,0,0,0.10);
}

/* --- Enhanced Hover: Priority Cards -------------------- */
.priority-card {
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.32s;
}
.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

/* --- Enhanced Hover: Initiative Box -------------------- */
.initiative-box {
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.32s;
}
.initiative-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.25);
}

/* --- Enhanced Hover: Step Cards (voter plan) ----------- */
.step-card {
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.32s;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}
.step-badge {
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
}
.step-card:hover .step-badge {
  transform: scale(1.16);
}

/* --- Enhanced Hover: Timeline Dots --------------------- */
.timeline-item::before {
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.28s;
}
.timeline-item:hover::before {
  transform: scale(1.6);
  box-shadow: 0 0 0 4px rgba(200,16,46,0.18);
}

/* --- Enhanced Hover: Promise Icons --------------------- */
.promise-icon {
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
}
.promise-item:hover .promise-icon {
  transform: scale(1.16);
}

/* --- Social Links — spring hover ----------------------- */
.social-link {
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1),
              background 0.22s, color 0.22s;
}
.social-link:hover {
  transform: scale(1.22) rotate(8deg);
}

/* --- Contact Icons ------------------------------------- */
.contact-icon {
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1),
              background 0.25s;
}
.contact-detail:hover .contact-icon {
  transform: scale(1.15);
  background: var(--red);
}

/* --- Footer Nav Link — indent slide -------------------- */
.footer-col ul a {
  transition: color 0.2s, padding-left 0.25s cubic-bezier(0.16,1,0.3,1);
}
.footer-col ul a:hover {
  padding-left: 7px;
}

/* --- Form Controls — focus glow ------------------------ */
.form-control {
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.14);
}
.form-input {
  transition: border-color 0.25s, box-shadow 0.25s, background 0.2s;
}
.form-input:focus {
  box-shadow: 0 0 0 3px rgba(201,168,76,0.22);
}

/* --- Alert Success — slide in -------------------------- */
.alert-success.show {
  display: block;
  animation: dfr-fadeInUp 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* --- Voter Plan Output — scale entrance ---------------- */
.plan-output.visible {
  display: block;
  animation: dfr-scaleIn 0.48s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* --- Pull Quote — nudge hover -------------------------- */
.pull-quote {
  transition: border-color 0.25s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.pull-quote:hover {
  border-color: var(--navy);
  transform: translateX(5px);
}

/* --- Priority Badge — subtle hover --------------------- */
.priority-badge {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.25s;
}
.priority-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(27,58,107,0.25);
}

/* --- Download Button — green pulse on hover ------------ */
.btn-download {
  transition: background 0.2s, transform 0.25s, box-shadow 0.25s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.35);
}

/* --- WV Register Button -------------------------------- */
.wv-btn {
  transition: background 0.2s, transform 0.28s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.28s;
}
.wv-btn:hover {
  box-shadow: 0 8px 28px rgba(27,58,107,0.35);
}

/* --- vol-form-wrap shadow lift ------------------------- */
.vol-form-wrap {
  transition: box-shadow 0.3s;
}
.vol-form-wrap:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}

/* ============================================================
   REDUCED MOTION — safety net
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .hero-eyebrow, .hero h1, .hero-sub, .hero-body, .hero-ctas,
  .page-hero-content .section-label, .page-hero-content h1, .page-hero-content p,
  .voter-hero h1, .voter-hero p,
  .trust-bar-inner,
  .trust-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
