/*
Theme Name: Enzo Torrone for Ward 8
Theme URI: https://meetparam.com/ward8torrone/
Author: Antigravity
Author URI: https://google.com
Description: Custom WordPress theme for the Enzo Torrone Ward 8 Campaign. Designed for high fidelity and full customizability.
Version: 1.0.0
Text Domain: ward8torrone
*/

:root {
  --ink: #14294B;
  --ink-2: #1F3C66;
  --ink-3: #0D1E3A;
  --ivory: #F3ECDE;
  --ivory-2: #FBF7EF;
  --paper: #FFFFFF;
  --red: #C8102E;
  --red-deep: #A30B24;
  --gold: #B0892F;
  --text: #1B2430;
  --muted: #5C584F;
  --line: #E5DCC9;
  --line-soft: #ECE6D8;
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 80px);
  --nav-h: 84px;
  --shadow-soft: 0 18px 50px -30px rgba(20, 41, 75, .4);
  --shadow-lift: 0 30px 60px -28px rgba(20, 41, 75, .5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--ivory-2);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.08;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--red);
  color: #fff;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}

section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: 15px 30px;
  border-radius: 2px;
  cursor: pointer;
  border: 1.6px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
  line-height: 1;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-deep);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(200, 16, 46, .55);
}

.btn-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ink:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
}

.btn-white-fill {
  background: #fff;
  color: var(--ink);
}

.btn-white-fill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .35);
}

.btn-white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.btn-white-outline:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
  padding: 18px 30px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-d="1"] {
  transition-delay: .1s;
}

.reveal[data-d="2"] {
  transition-delay: .2s;
}

.reveal[data-d="3"] {
  transition-delay: .3s;
}

/* NAV */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
  background: transparent;
}

header.nav.scrolled {
  background: var(--paper);
  box-shadow: 0 6px 24px -16px rgba(20, 41, 75, .4);
  height: 70px;
}

/* Stronger contrast for hero signature block */
.signature-issue {
  background: linear-gradient(90deg, rgba(248,246,243,1) 0%, rgba(255,255,255,1) 100%);
  padding: clamp(32px, 4vw, 64px) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.sig-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}
.sig-left h2 { font-size: clamp(1.36rem, 2.4vw, 2rem); margin: 8px 0 16px; }
.sig-right img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow-soft); }

/* Ward dashboard stat widgets */
.ward-dashboard .stats-widgets { display: flex; gap: 18px; margin: 22px 0 28px; }
.ward-dashboard .widget { background: var(--paper); padding: 18px 20px; border-radius: 6px; box-shadow: var(--shadow-soft); flex: 1; text-align: center; }
.ward-dashboard .w-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--red); font-weight: 700; }
.ward-dashboard .w-label { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* Dashboard cards responsive grid */
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 6px; }
.dash-card { background: var(--paper); padding: 18px; border-radius: 6px; box-shadow: var(--shadow-soft); }

/* Active nav link styling */
.nav-links a.active { color: var(--red); }
.nav-links a.active::after { width: 100%; background: var(--red); }

/* Slightly stronger nav shadow when scrolled for contrast */
.nav.scrolled { box-shadow: 0 10px 40px -24px rgba(20,41,75,.5); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand .name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.32rem;
  letter-spacing: .01em;
  color: var(--ink);
}

.brand .sub {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links button.nav-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}

.nav-links button.nav-link-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width .25s ease;
}

.nav-links button.nav-link-btn:hover::after {
  width: 100%;
}

.nav-links button.nav-link-btn:hover {
  color: var(--red);
}

.nav-links a {
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width .25s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 2px;
  letter-spacing: .03em;
  transition: background .2s ease, transform .2s ease;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: .86rem;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}

.f-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 300;
  color: rgba(255, 255, 255, .82);
  font-size: .94rem;
  transition: color .2s ease;
  text-align: left;
}

.f-link-btn:hover {
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 120;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: .3s ease;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding-left: 20px;
  padding-right: 20px;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}

.mobile-overlay.open {
  transform: translateX(0);
}

.mobile-overlay a, .mobile-overlay button.m-btn {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  padding: 12px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .4s ease, transform .4s ease;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

.mobile-overlay.open a, .mobile-overlay.open button.m-btn {
  opacity: 1;
  transform: none;
}

.mobile-overlay.open a:nth-child(1) { transition-delay: .12s; }
.mobile-overlay.open a:nth-child(2) { transition-delay: .17s; }
.mobile-overlay.open a:nth-child(3) { transition-delay: .22s; }
.mobile-overlay.open a:nth-child(4) { transition-delay: .27s; }
.mobile-overlay.open button.m-btn:nth-child(5) { transition-delay: .32s; }
.mobile-overlay.open button.m-btn:nth-child(6) { transition-delay: .37s; }
.mobile-overlay.open button.m-cta:nth-child(7) { transition-delay: .42s; }

.mobile-overlay .m-cta {
  color: #fff;
  border: 1.6px solid var(--red);
  background: var(--red);
  border-radius: 2px;
  font-size: 1.3rem;
  padding: 14px 26px;
  margin-top: 14px;
  display: inline-flex;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.mobile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  font-family: 'DM Sans', sans-serif;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: radial-gradient(120% 100% at 6% 0%, #fffdf8 0%, var(--ivory-2) 45%, var(--ivory) 120%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  width: 100%;
}

.hero-text {
  padding: 60px 0 70px;
  max-width: 660px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  margin-bottom: 30px;
}

.badge span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  letter-spacing: -.01em;
  margin-bottom: 26px;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero p.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 575px;
  margin-bottom: 38px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  min-height: 100%;
}

.hero-portrait {
  position: relative;
  display: inline-block;
  max-width: 430px;
  width: 100%;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 60%;
  height: 60%;
  background: var(--ink);
  z-index: 0;
}

.hero-portrait img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 8px solid #fff;
  box-shadow: 0 26px 60px -28px rgba(20, 41, 75, .55);
}

.hero .anim {
  opacity: 0;
  transform: translateY(26px);
  animation: heroUp .7s ease forwards;
}

.hero .badge.anim { animation-delay: .05s; }
.hero h1.anim { animation-delay: .1s; }
.hero p.lead.anim { animation-delay: .25s; }
.hero-ctas.anim { animation-delay: .4s; }

.hero-portrait img {
  opacity: 0;
  transform: translateX(40px);
  animation: heroRight .9s ease .2s forwards;
}

@keyframes heroUp { to { opacity: 1; transform: none; } }
@keyframes heroRight { to { opacity: 1; transform: none; } }

/* STAT BAR */
.statbar {
  background: var(--ink);
  color: #fff;
}

.statbar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.stat {
  padding: 42px 26px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24%;
  height: 52%;
  width: 1px;
  background: rgba(255, 255, 255, .16);
}

.stat .big {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: #fff;
  letter-spacing: .01em;
}

.stat .small {
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .72);
  margin-top: 10px;
  line-height: 1.5;
}

/* PRIORITIES (the plan) */
.priorities {
  background: var(--ivory);
  padding: clamp(72px, 9vw, 128px) 0;
}

.sec-head {
  max-width: 760px;
  margin-bottom: 54px;
}

.priorities h2, .about h2, .change h2, .platform h2 {
  font-weight: 900;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
}

.sec-head p {
  color: var(--muted);
  font-weight: 300;
  margin-top: 16px;
  font-size: 1.05rem;
}

.priority {
  background: var(--paper);
  border-top: 3px solid var(--red);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  grid-template-columns: 43% 57%;
}

.priority + .priority {
  margin-top: 26px;
}

.p-left {
  padding: clamp(30px, 3.4vw, 46px);
  border-right: 1px solid var(--line-soft);
}

.p-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--red);
  line-height: 1;
}

.p-left h3 {
  font-size: 1.5rem;
  margin: 8px 0 20px;
  color: var(--ink);
}

.bigidea-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.bigidea {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--ink);
  border-left: 3px solid var(--red);
  padding-left: 16px;
  line-height: 1.4;
}

.p-right {
  padding: clamp(30px, 3.4vw, 46px);
}

.do-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.do-list {
  list-style: none;
}

.do-list li {
  position: relative;
  padding: 0 0 14px 26px;
  color: var(--text);
}

.do-list li:last-child {
  padding-bottom: 0;
}

.do-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 2px;
  background: var(--red);
}

/* ABOUT / Proven leadership */
.about {
  background: var(--paper);
  padding: clamp(72px, 9vw, 128px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 56px;
  align-items: start;
  margin-top: 46px;
}

.about-msg .pullq {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 28px;
  border-left: 4px solid var(--red);
  padding-left: 22px;
}

.about-msg p {
  color: var(--text);
  font-weight: 300;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.about-tagline {
  margin-top: 26px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--red);
}

.awards-panel {
  background: var(--ink);
  padding: 46px 40px;
  border-top: 3px solid var(--gold);
  position: relative;
}

.awards-panel .panel-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 30px;
}

.award {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.award:first-of-type {
  border-top: none;
  padding-top: 0;
}

.award .yr {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.award h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #fff;
  margin: 8px 0 10px;
}

.award p {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .66);
  line-height: 1.55;
}

/* CHANGE / differentiation */
.change {
  background: var(--ivory);
  padding: clamp(72px, 9vw, 128px) 0;
}

.change h2 {
  margin-bottom: 30px;
  max-width: 840px;
}

.change .intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.change .intro p {
  color: var(--muted);
  font-weight: 300;
}

.compare {
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  border-radius: 4px;
  overflow: hidden;
}

.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ch {
  padding: 22px clamp(24px, 3vw, 42px);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ch.status {
  background: #fbfaf6;
  color: var(--muted);
}

.ch.enzo {
  background: var(--ink);
  color: #fff;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-soft);
}

.cell {
  padding: 20px clamp(24px, 3vw, 42px);
  font-size: 1.02rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cell .cell-tag {
  display: none;
}

.cell.status {
  background: #fbfaf6;
  color: var(--muted);
  font-weight: 300;
}

.cell.enzo {
  color: var(--text);
  font-weight: 600;
  position: relative;
  border-left: 1px solid var(--line-soft);
}

.cell.enzo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
}

/* PLATFORM */
.platform {
  background: var(--ivory-2);
  padding: clamp(72px, 9vw, 128px) 0;
}

.platform h2 {
  margin-bottom: 54px;
}

.issues-grid {
  column-count: 3;
  column-gap: 28px;
}

.issue-card {
  break-inside: avoid;
  margin: 0 0 28px;
  background: var(--paper);
  border-left: 3px solid var(--red);
  box-shadow: 0 12px 34px -24px rgba(20, 41, 75, .4);
  border-radius: 0 4px 4px 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: inline-block;
  width: 100%;
}

.issue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.issue-photo {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--ivory);
}

.issue-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.issue-card:hover .issue-photo img {
  transform: scale(1.05);
}

.issue-card:nth-child(2) .issue-photo, .issue-card:nth-child(5) .issue-photo {
  height: 250px;
}

.issue-body {
  padding: 26px 26px 30px;
}

.issue-no {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--red);
  margin-bottom: 8px;
}

.issue-body h3 {
  font-weight: 700;
  font-size: 1.24rem;
  margin-bottom: 12px;
  line-height: 1.2;
}

.issue-body p {
  color: var(--muted);
  font-weight: 300;
  font-size: .96rem;
}

/* COMMUNITY VOICE banner */
.voice {
  margin-top: 44px;
  background: var(--paper);
  border-left: 5px solid var(--red);
  border-radius: 0 4px 4px 0;
  box-shadow: var(--shadow-soft);
  padding: clamp(30px, 4vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}

.voice-text {
  max-width: 680px;
}

.voice .v-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.voice h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 12px;
}

.voice p {
  color: var(--muted);
  font-weight: 300;
}

.voice .btn {
  flex-shrink: 0;
}

/* VOLUNTEER */
.volunteer {
  background: var(--ink);
  padding: clamp(64px, 8vw, 104px) 0;
  color: #fff;
  position: relative;
}

.volunteer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
}

.volunteer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.volunteer h2 {
  color: #fff;
  font-weight: 900;
  font-size: clamp(2rem, 3.4vw, 3rem);
  max-width: 560px;
}

.volunteer p {
  color: rgba(255, 255, 255, .72);
  font-weight: 300;
  margin-top: 14px;
  max-width: 520px;
}

.volunteer-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* FOOTER */
footer {
  background: var(--ink);
  color: #fff;
  border-top: 3px solid var(--red);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 52px;
}

.f-brand .name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
}

.f-brand .ward {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-top: 6px;
}

.f-brand .tag {
  font-weight: 300;
  color: rgba(255, 255, 255, .75);
  margin: 18px 0 22px;
  max-width: 280px;
}

.social {
  display: flex;
  gap: 14px;
}

.social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}

.social a:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-3px);
}

.social a:hover svg {
  fill: var(--ink);
}

.social svg {
  width: 17px;
  height: 17px;
  fill: #fff;
  transition: fill .2s ease;
}

.f-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 20px;
}

.f-col ul {
  list-style: none;
}

.f-col li {
  margin-bottom: 11px;
}

.f-col a {
  font-weight: 300;
  color: rgba(255, 255, 255, .82);
  font-size: .94rem;
  transition: color .2s ease;
}

.f-col a:hover {
  color: #fff;
}

.f-contact p {
  font-weight: 300;
  color: rgba(255, 255, 255, .82);
  font-size: .94rem;
  margin-bottom: 11px;
}

.f-contact .btn {
  margin-top: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--ink-3);
}

.footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-bottom small {
  font-size: .74rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .55);
  max-width: 760px;
  line-height: 1.6;
}

.footer-bottom .site {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .85);
}

/* MODAL / DIALOG STYLES */

.campaign-modal {
  border: none;
  border-radius: 6px;
  background: transparent;
  max-width: 650px;
  width: 90%;
  margin: auto;
  box-shadow: 0 24px 60px rgba(13, 30, 58, 0.3);
  overflow: visible;
  outline: none;
}

.campaign-modal::backdrop {
  background: rgba(13, 30, 58, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-card {
  background: var(--paper);
  border-radius: 6px;
  padding: 40px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--red);
}

.modal-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--line-soft);
}

.modal-header h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.modal-header p {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 300;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 12px 16px;
  border: 1.5px solid var(--line-soft);
  border-radius: 4px;
  background: var(--ivory-2);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--ink);
  background: var(--paper);
}

.form-group.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.form-group.checkbox-group input {
  margin-top: 4px;
  width: auto;
  cursor: pointer;
}

.form-group.checkbox-group label {
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 300;
  color: var(--text);
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--ivory-2);
  padding: 16px;
  border: 1.5px solid var(--line-soft);
  border-radius: 4px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-option input {
  cursor: pointer;
}

.checkbox-option label {
  font-size: 0.94rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
}

/* Donation presets styling */
.donation-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: center;
}

.donate-preset {
  background: var(--ivory-2);
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.donate-preset:hover {
  background: var(--line-soft);
  border-color: var(--ink);
}

.donate-preset.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.custom-amount-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-amount-wrapper .currency-symbol {
  position: absolute;
  left: 12px;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

.custom-amount-wrapper input {
  padding-left: 26px;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  height: 48px;
  background: var(--ivory-2);
}

.custom-amount-wrapper input:focus {
  background: var(--paper);
  border-color: var(--ink);
}

.donation-impact-box {
  background: var(--ivory);
  border-left: 3.5px solid var(--red);
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 400;
  border-radius: 0 4px 4px 0;
}

/* Lawn sign preview */
.sign-preview-box {
  background: var(--ivory-2);
  padding: 24px;
  border-radius: 4px;
  border: 1.5px solid var(--line-soft);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.sign-mockup {
  background: var(--ink);
  color: #fff;
  border: 3px solid var(--red);
  padding: 20px 40px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 10px 20px rgba(20, 41, 75, 0.2);
  border-radius: 2px;
}

.sign-mockup .sign-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #fff;
}

.sign-mockup .sign-subtitle {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* Events dialog styling */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-item {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-date {
  background: var(--ink);
  color: #fff;
  padding: 12px;
  border-radius: 4px;
  min-width: 68px;
  height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
  text-align: center;
  border-bottom: 3.5px solid var(--red);
}

.event-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.event-date .month {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.event-info {
  flex-grow: 1;
}

.event-info h4 {
  font-size: 1.22rem;
  margin-bottom: 4px;
  color: var(--ink);
}

.event-meta {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 12px;
}

.rsvp-form-container {
  margin-top: 24px;
  padding: 24px;
  border-radius: 4px;
  background: var(--ivory-2);
  border: 1.5px solid var(--line);
  animation: slideDown 0.3s ease forwards;
}

.rsvp-form-container h4 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 8px;
}

.rsvp-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Success State styling */
.modal-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 0;
  animation: fadeIn 0.4s ease forwards;
}

.success-icon {
  width: 64px;
  height: 64px;
  fill: #2e7d32;
  margin-bottom: 20px;
}

.modal-success-state h4 {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.modal-success-state p {
  color: var(--muted);
  font-weight: 300;
  max-width: 360px;
  margin-bottom: 26px;
}

.hide {
  display: none !important;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 18px;
  }
  .hero-text {
    padding: 40px 0 56px;
    max-width: none;
  }
  .hero-photo {
    order: -1;
    padding: 8px 0 28px;
  }
  .hero-portrait {
    max-width: 330px;
  }
  .hero-portrait img {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .issues-grid {
    column-count: 2;
  }
  .change .intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .priority {
    grid-template-columns: 1fr;
  }
  .p-left {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .statbar-inner {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 28px 26px;
  }
  .stat:not(:last-child)::after {
    display: none;
  }
  .stat:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .compare-head {
    display: none;
  }
  .compare-row {
    grid-template-columns: 1fr;
  }
  .cell.enzo {
    border-left: none;
  }
  .cell .cell-tag {
    display: block;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--muted);
  }
  .cell.enzo .cell-tag {
    color: var(--red);
  }
  .issues-grid {
    column-count: 1;
  }
  .issue-card:nth-child(2) .issue-photo, .issue-card:nth-child(5) .issue-photo {
    height: 200px;
  }
  .volunteer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .voice {
    flex-direction: column;
    align-items: flex-start;
  }
  /* Signature banner stacks on small screens */
  .sig-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sig-right {
    order: 2;
  }
  .sig-left {
    order: 1;
  }
  .sig-right img {
    max-height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Modals */
  .modal-card {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .donation-options {
    grid-template-columns: repeat(3, 1fr);
  }
  .custom-amount-wrapper {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero .anim, .hero-portrait img {
    opacity: 1 !important;
    transform: none !important;
  }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* WordPress Admin Bar Fix */
.admin-bar header.nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar header.nav {
    top: 46px;
  }
}

