/* Campaign visual system */
:root {
  --navy: #062d59;
  --navy-deep: #031d3a;
  --navy-soft: #0c3b68;
  --teal: #0ca6a6;
  --teal-dark: #087a7b;
  --teal-pale: #dcefed;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --mist: #eef3f3;
  --ink: #102a43;
  --muted: #526779;
  --line: #cbd7db;
  --line-dark: rgba(255, 255, 255, 0.2);
  --container: 1320px;
  --reading: 760px;
  --gutter: clamp(24px, 4vw, 64px);
  --section-space: clamp(76px, 8vw, 118px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --shadow-sm: 0 12px 32px rgba(3, 29, 58, 0.08);
  --shadow-lg: 0 28px 80px rgba(3, 29, 58, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-gutter: stable; }
body { margin: 0; overflow-x: hidden; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { color: var(--navy-deep); background: #7bd8d4; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1.15em; text-wrap: pretty; }
ul { padding-left: 1.25em; }

.skip-link { position: fixed; left: 18px; top: -100px; z-index: 1000; padding: 10px 14px; color: var(--navy-deep); background: var(--surface); border: 2px solid var(--teal-dark); border-radius: var(--radius-sm); font-weight: 800; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.hidden-field { display: none !important; }

.container { width: min(calc(100% - (2 * var(--gutter))), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - (2 * var(--gutter))), 840px); margin-inline: auto; }
.section { padding: var(--section-space) 0; }
.section-sm { padding: clamp(52px, 5vw, 72px) 0; }
.section-soft { background: var(--mist); }
.section-dark { color: var(--surface); background: var(--navy-deep); }
.section-teal { color: var(--navy-deep); background: var(--teal-pale); }

h1, h2, h3, h4 { margin: 0; font-family: Manrope, Inter, sans-serif; color: inherit; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(3.35rem, 5.6vw, 5.55rem); letter-spacing: -0.058em; }
h2 { font-size: clamp(2.35rem, 4.25vw, 4.15rem); letter-spacing: -0.048em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -0.028em; }
h4 { font-size: 1.1rem; letter-spacing: -0.015em; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--teal-dark); font-size: 0.73rem; font-weight: 800; line-height: 1.35; letter-spacing: 0.19em; text-transform: uppercase; }
.eyebrow::before { width: 26px; height: 2px; background: currentColor; content: ""; flex: 0 0 auto; }
.section-dark .eyebrow, .hero-dark .eyebrow, .page-hero .eyebrow { color: #63d5d1; }
.lead, .section-intro { color: var(--muted); font-size: clamp(1.08rem, 1.35vw, 1.24rem); line-height: 1.65; }
.section-dark .lead, .section-dark .section-intro, .hero-dark .lead, .page-hero .lead { color: #c9d9e3; }
.kicker { color: var(--teal-dark); font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 800; }
.page-num { color: var(--teal-dark); font-family: Manrope, sans-serif; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.15em; }

.text-link, .resource-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 0.94rem; font-weight: 800; line-height: 1.35; text-decoration: none; text-underline-offset: 5px; }
.section-dark .text-link { color: #76ded9; }
.text-link span { transition: transform 220ms var(--ease); }
.text-link:hover, .resource-link:hover { text-decoration: underline; }
.text-link:hover span { transform: translateX(4px); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 250, 246, 0.96); border-bottom: 1px solid rgba(6, 45, 89, 0.12); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo-link { display: block; flex: 0 1 220px; min-width: 172px; }
.logo-link img { width: 220px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.45vw, 24px); }
.site-nav > a:not(.btn) { position: relative; padding: 30px 0 28px; font-size: 0.84rem; font-weight: 750; line-height: 1; text-decoration: none; white-space: nowrap; }
.site-nav > a:not(.btn)::after { position: absolute; right: 50%; bottom: 20px; left: 50%; height: 2px; background: var(--teal); content: ""; transition: right 220ms var(--ease), left 220ms var(--ease); }
.site-nav > a:not(.btn):hover, .site-nav > a[aria-current="page"] { color: var(--teal-dark); }
.site-nav > a:not(.btn):hover::after, .site-nav > a[aria-current="page"]::after { right: 0; left: 0; }
.site-nav .btn[aria-current="page"] { color: var(--surface); background: var(--navy-soft); border-color: var(--navy-soft); box-shadow: inset 0 -3px 0 var(--teal); }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 10px; margin-right: -8px; cursor: pointer; background: transparent; border: 0; }
.nav-toggle span { display: block; width: 27px; height: 2px; margin: 5px auto; background: var(--navy); transition: transform 220ms var(--ease), opacity 180ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; cursor: pointer; border: 2px solid transparent; border-radius: var(--radius-sm); font-size: 0.91rem; font-weight: 800; line-height: 1; text-decoration: none; transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(3, 29, 58, 0.14); }
.btn-primary { color: var(--surface); background: var(--navy); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-secondary { color: var(--navy); background: transparent; border-color: var(--navy); }
.btn-secondary:hover { color: var(--surface); background: var(--navy); }
.btn-teal { color: var(--navy-deep); background: var(--teal); }
.btn-teal:hover { background: #39c0bd; }
.btn-light { color: var(--surface); background: transparent; border-color: rgba(255, 255, 255, 0.72); }
.btn-light:hover { color: var(--navy); background: var(--surface); border-color: var(--surface); }
.btn-sm { min-height: 42px; padding: 0 17px; font-size: 0.86rem; }
.btn:focus-visible, .text-link:focus-visible, .resource-link:focus-visible, .site-nav a:focus-visible, .nav-toggle:focus-visible, summary:focus-visible, .logo-link:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #006d72; outline-offset: 4px; }
.hero-dark .btn:focus-visible, .page-hero .btn:focus-visible, .section-dark .btn:focus-visible, .section-dark .text-link:focus-visible, .site-footer a:focus-visible { outline-color: #76ded9; }

.hero { position: relative; min-height: 700px; overflow: hidden; padding: clamp(54px, 5vw, 76px) 0 0; }
.hero-dark { color: var(--surface); background: var(--navy-deep); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr); gap: clamp(52px, 6.5vw, 94px); align-items: end; min-height: 630px; }
.hero-copy { min-width: 0; padding-bottom: clamp(56px, 6vw, 82px); }
.hero-copy h1 { max-width: 12ch; margin-bottom: 25px; font-size: clamp(3.75rem, 5.3vw, 5.35rem); line-height: 0.97; }
.hero-copy h1 span, .hero-copy h1 em { display: block; }
.hero-copy h1 em { color: #45c8c4; font-style: normal; }
.hero-copy .lead { max-width: 680px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 30px 0; }
.centered-actions { justify-content: center; }
.hero-media { position: relative; align-self: end; min-width: 0; }
.hero-media::before { position: absolute; z-index: 2; top: 9%; bottom: 0; left: -18px; width: 6px; background: var(--teal); content: ""; }
.hero-photo { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; background: #dfe7e7; border-radius: 0 64px 0 0; box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-9 { position: absolute; right: -0.07em; bottom: -0.24em; color: rgba(12, 166, 166, 0.1); font-family: Manrope, sans-serif; font-size: clamp(24rem, 46vw, 46rem); font-weight: 800; line-height: 0.8; pointer-events: none; user-select: none; }
.hero-badge { position: absolute; z-index: 3; right: -10px; bottom: 34px; display: grid; min-width: 154px; padding: 17px 19px; color: var(--navy-deep); text-align: left; background: var(--teal); border-radius: 2px; box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2); }
.hero-badge strong { font-family: Manrope, sans-serif; font-size: 1.18rem; line-height: 1; }
.hero-badge span { margin-top: 6px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; }
.date-chip { display: inline-grid; grid-template-columns: auto 1fr; gap: 6px 15px; align-items: center; padding: 12px 15px; color: #eef7f8; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius-sm); font-size: 0.86rem; }
.date-chip span { color: #8fb0c3; }

.page-hero { position: relative; overflow: hidden; padding: clamp(66px, 7vw, 96px) 0; color: var(--surface); background: var(--navy-deep); }
.page-hero::before { position: absolute; top: 0; bottom: 0; left: max(var(--gutter), calc((100vw - var(--container)) / 2)); width: 1px; background: rgba(255, 255, 255, 0.12); content: ""; }
.page-hero::after { position: absolute; right: -0.035em; top: -0.4em; color: rgba(12, 166, 166, 0.105); content: "9"; font-family: Manrope, sans-serif; font-size: clamp(18rem, 30vw, 30rem); font-weight: 800; line-height: 1; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 14ch; margin-bottom: 22px; font-size: clamp(3.25rem, 5.35vw, 5.15rem); line-height: 0.99; }
.page-hero .lead { max-width: 780px; margin-bottom: 0; }
.page-hero-split { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.7fr); gap: clamp(52px, 7vw, 96px); align-items: center; }
.page-hero-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe7e7; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 0 44px 0 0; box-shadow: var(--shadow-lg); }
.page-hero-photo::after { position: absolute; right: 0; bottom: 0; width: 35%; height: 6px; background: var(--teal); content: ""; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
body[data-page="ward"] .page-hero-photo img { object-position: center 12%; }
body[data-page="contact"] .page-hero-photo img { object-position: center 8%; }

.signal-bar { padding: 23px 0; color: var(--surface); background: var(--navy); border-top: 4px solid var(--teal); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid p { margin: 0; padding: 2px clamp(22px, 3vw, 42px); border-right: 1px solid rgba(255, 255, 255, 0.2); }
.signal-grid p:first-child { padding-left: 0; }
.signal-grid p:last-child { padding-right: 0; border: 0; }
.signal-grid strong, .signal-grid span { display: block; }
.signal-grid strong { color: #8be0dc; font-family: Manrope, sans-serif; font-size: 0.97rem; }
.signal-grid span { margin-top: 3px; color: #d6e3ea; font-size: 0.79rem; line-height: 1.45; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.65fr); gap: clamp(40px, 7vw, 100px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-heading > div { max-width: 900px; }
.section-heading > p { max-width: 420px; margin: 0 0 6px; color: var(--muted); }
.section-dark .section-heading > p { color: #bcced9; }
.intro-grid, .split-grid, .ward-grid, .form-layout, .vote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(54px, 8vw, 112px); align-items: center; }
.intro-grid { grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); align-items: start; }
.intro-grid > div:first-child { position: sticky; top: 126px; }
.prose { max-width: var(--reading); }
.prose p { font-size: 1.04rem; }
.prose h3 { margin-top: 36px; }
.pull-quote { max-width: 16ch; margin: 0; color: var(--navy); font-family: Manrope, sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.22; letter-spacing: -0.035em; }
.image-frame { position: relative; overflow: hidden; background: #dfe7e7; border-radius: 0 34px 0 0; box-shadow: var(--shadow-sm); }
.image-frame::after { position: absolute; right: 0; bottom: 0; width: 34%; height: 5px; background: var(--teal); content: ""; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.split-grid:hover .image-frame img { transform: scale(1.018); }
.image-tall { aspect-ratio: 4 / 5; }
.image-wide { aspect-ratio: 16 / 10; }

.path-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px 24px; }
.path-card { position: relative; grid-column: span 3; display: flex; flex-direction: column; min-height: 218px; padding: 28px 24px 24px 0; overflow: hidden; background: transparent; border: 0; border-top: 2px solid var(--navy); border-radius: 0; transition: padding 240ms var(--ease), background 240ms ease, border-color 240ms ease; }
.path-card:nth-child(-n + 2) { grid-column: span 6; min-height: 245px; }
.path-card:nth-child(-n + 2) h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.path-card:hover { padding-left: 20px; background: rgba(255, 255, 255, 0.72); border-color: var(--teal-dark); }
.path-card h3 { margin: 30px 0 11px; }
.path-card p { max-width: 42ch; color: var(--muted); font-size: 0.95rem; }
.path-card .text-link { margin-top: auto; }

.values-grid, .credentials-grid, .resource-grid, .action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.values-grid { grid-template-columns: repeat(2, 1fr); gap: 0 36px; }
.value-card { padding: 30px 0; background: transparent; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.24); border-radius: 0; }
.value-card h3 { max-width: 28ch; margin-bottom: 11px; color: var(--surface); }
.value-card p { max-width: 58ch; margin: 0; color: #bdced8; }
.credentials-grid { grid-template-columns: repeat(2, 1fr); gap: 0 34px; }
.credential-card { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 26px 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.credential-card .num { color: var(--teal-dark); font-family: Manrope, sans-serif; font-size: 1.3rem; font-weight: 800; }
.credential-card p { margin: 0; font-weight: 650; line-height: 1.55; }

.pillar-list { display: grid; }
.pillar-row { position: relative; display: grid; grid-template-columns: 74px 1fr auto; gap: 24px; align-items: center; padding: 27px 4px; overflow: hidden; color: var(--surface); background: transparent; border: 0; border-top: 1px solid var(--line-dark); border-radius: 0; text-decoration: none; transition: color 220ms ease, padding 240ms var(--ease), background 220ms ease; }
.pillar-row:last-child { border-bottom: 1px solid var(--line-dark); }
.pillar-row::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--teal); content: ""; transform: scaleY(0); transform-origin: bottom; transition: transform 240ms var(--ease); }
.pillar-row:hover { padding-right: 20px; padding-left: 20px; background: rgba(255, 255, 255, 0.055); }
.pillar-row:hover::before { transform: scaleY(1); }
.pillar-row .num { color: #6ed9d5; font-family: Manrope, sans-serif; font-size: 1.2rem; font-weight: 800; }
.pillar-row h3 { margin: 0; font-size: clamp(1.12rem, 2vw, 1.55rem); }
.pillar-row .arrow { color: #6ed9d5; font-size: 1.35rem; transition: transform 220ms var(--ease); }
.pillar-row:hover .arrow { transform: translateX(5px); }

.cta-band { position: relative; overflow: hidden; padding: clamp(56px, 6vw, 78px) 0; color: var(--navy-deep); background: var(--teal-pale); border-top: 1px solid #c9dedc; border-bottom: 1px solid #c9dedc; }
.cta-band::before { position: absolute; top: 0; bottom: 0; left: 0; width: clamp(8px, 1vw, 14px); background: var(--teal); content: ""; }
.cta-band::after { position: absolute; right: -0.03em; top: -0.8em; color: rgba(255, 255, 255, 0.68); content: "9"; font-family: Manrope, sans-serif; font-size: 25rem; font-weight: 800; pointer-events: none; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 54px; align-items: center; }
.cta-grid h2 { max-width: 820px; font-size: clamp(2.05rem, 3.7vw, 3.6rem); line-height: 1.07; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.experience-list { display: grid; margin-top: 36px; }
.experience-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 27px 0; border-top: 1px solid var(--line); }
.experience-item .num { color: var(--teal-dark); font-family: Manrope, sans-serif; font-size: 1rem; font-weight: 800; }
.experience-item h3 { margin-bottom: 8px; }
.experience-item p { margin: 0; color: var(--muted); }

.jurisdiction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.jurisdiction-card { position: relative; padding: 34px 34px 36px; background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--teal-dark); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.jurisdiction-card:nth-child(2) { border-top-color: var(--navy); }
.jurisdiction-card h3 { margin-bottom: 18px; font-size: 1.72rem; }
.jurisdiction-card ul { margin-bottom: 0; padding-left: 19px; }
.jurisdiction-card li { margin: 9px 0; }

.resource-grid { grid-template-columns: repeat(3, 1fr); }
.resource-card { position: relative; display: flex; flex-direction: column; min-height: 225px; padding: 30px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 220ms ease, transform 240ms var(--ease), box-shadow 220ms ease; }
.resource-card::before { position: absolute; top: -1px; left: 28px; width: 52px; height: 3px; background: var(--teal); content: ""; }
.resource-card:hover { border-color: #9bbbbe; box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.resource-card h3 { margin: 27px 0 10px; }
.resource-card p { color: var(--muted); }
.resource-card .resource-link { margin-top: auto; color: var(--teal-dark); }
.resource-followup { margin: 24px 0 0; }

.vote-date-panel { display: grid; grid-template-columns: 142px 1fr; gap: 26px; align-items: center; padding: 34px; color: var(--surface); background: var(--navy); border-left: 7px solid var(--teal); }
.vote-date-panel .day { color: #67d9d5; font-family: Manrope, sans-serif; font-size: 4.7rem; font-weight: 800; line-height: 0.82; text-align: center; }
.vote-date-panel .day span { display: block; margin-top: 13px; color: var(--surface); font-size: 0.72rem; letter-spacing: 0.15em; }
.vote-date-panel h3 { margin-bottom: 7px; font-size: 1.7rem; }
.vote-date-panel p { margin: 0; color: #c9d9e3; }
.timeline { display: grid; margin-top: 36px; }
.timeline-item { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 25px 0; border-top: 1px solid var(--line); }
.timeline-item strong { color: var(--teal-dark); }
.timeline-item p { margin: 0; }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.location-card { padding: 27px 0 6px; background: transparent; border: 0; border-top: 3px solid var(--navy); border-radius: 0; }
.location-card strong { display: block; margin-bottom: 7px; font-family: Manrope, sans-serif; font-size: 1.16rem; }
.location-card span { color: var(--muted); }

.action-grid { grid-template-columns: repeat(3, 1fr); }
.action-card { display: flex; flex-direction: column; min-height: 270px; padding: 30px 28px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 0 0 var(--radius-sm) var(--radius-sm); transition: border-color 220ms ease, transform 240ms var(--ease), box-shadow 220ms ease; }
.action-card:nth-child(2) { border-top-color: var(--teal-dark); }
.action-card:nth-child(3) { border-top-color: #59758d; }
.action-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.action-card .num { color: var(--teal-dark); font-family: Manrope, sans-serif; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; }
.action-card h3 { margin: 28px 0 12px; font-size: 1.55rem; }
.action-card p { color: var(--muted); }
.action-card .text-link { margin-top: auto; }

.campaign-form { display: grid; gap: 20px; padding: clamp(26px, 3.2vw, 42px); background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--teal-dark); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-sm); }
.campaign-form label, .campaign-form legend { color: var(--ink); font-size: 0.88rem; font-weight: 750; }
.campaign-form input, .campaign-form textarea, .campaign-form select { display: block; width: 100%; min-height: 50px; margin-top: 8px; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid #aabcc4; border-radius: 5px; transition: border-color 180ms ease, box-shadow 180ms ease; }
.campaign-form textarea { resize: vertical; }
.campaign-form input:hover, .campaign-form textarea:hover, .campaign-form select:hover { border-color: #718e9b; }
.campaign-form input:focus, .campaign-form textarea:focus, .campaign-form select:focus { border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(12, 166, 166, 0.15); outline: 0; }
.campaign-form .btn { justify-self: start; min-width: 170px; }
.field-grid, .check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { margin: 0; padding: 0; border: 0; }
.check-grid { margin-top: 11px; }
.check-grid label { display: flex; gap: 8px; align-items: flex-start; font-weight: 500 !important; }
.check-grid input { flex: 0 0 auto; width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; }
.contact-details { display: grid; gap: 5px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-details span { margin-top: 13px; color: var(--muted); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.contact-details a { overflow-wrap: anywhere; font-family: Manrope, sans-serif; font-size: 1.16rem; font-weight: 800; }
.updates-wrap { text-align: center; }
.updates-wrap > p { max-width: 680px; margin-right: auto; margin-left: auto; }
.updates-wrap .eyebrow { justify-content: center; }
.updates-form { margin-top: 32px; text-align: left; }

.layout-switcher { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-bottom: clamp(52px, 6vw, 78px); padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.layout-switcher p { margin: 0; color: var(--muted); }
.switch-links { display: flex; flex-wrap: wrap; gap: 8px; }
.switch-links a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 5px; font-size: 0.82rem; font-weight: 800; line-height: 1.2; text-decoration: none; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.switch-links a.active, .switch-links a:hover { color: var(--surface); background: var(--navy); border-color: var(--navy); }

.priority-editorial { display: grid; gap: clamp(78px, 10vw, 148px); }
.priority-story { display: grid; grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr); gap: clamp(52px, 7vw, 104px); align-items: start; padding-top: 42px; border-top: 1px solid var(--line); scroll-margin-top: 116px; }
.priority-story:first-child { padding-top: 0; border-top: 0; }
.priority-story:nth-child(even) .priority-visual { order: 2; }
.priority-visual { position: sticky; top: 120px; }
.priority-visual .image-frame { aspect-ratio: 4 / 3; }
.priority-label { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.priority-label .eyebrow { margin: 0; }
.priority-label .num { display: grid; place-content: center; width: 46px; height: 46px; color: var(--surface); background: var(--navy); border-left: 4px solid var(--teal); font-family: Manrope, sans-serif; font-weight: 800; }
.priority-story h2 { max-width: 16ch; margin-bottom: 22px; font-size: clamp(2.15rem, 3.45vw, 3.5rem); }
.priority-story h3 { margin-top: 34px; }
.priority-summary { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.action-list { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: actions; }
.action-list li { position: relative; padding-left: 40px; counter-increment: actions; }
.action-list li::before { position: absolute; top: 2px; left: 0; color: var(--teal-dark); content: counter(actions, decimal-leading-zero); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; }

.priority-accordion { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.priority-detail { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); scroll-margin-top: 116px; transition: border-color 220ms ease, box-shadow 220ms ease, transform 240ms var(--ease); }
.priority-detail:hover { border-color: #95b7ba; transform: translateY(-3px); }
.priority-detail[open] { grid-column: span 2; display: grid; grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr); box-shadow: var(--shadow-lg); transform: none; }
.priority-detail summary { cursor: pointer; list-style: none; }
.priority-detail summary::-webkit-details-marker { display: none; }
.detail-image { aspect-ratio: 16 / 10; overflow: hidden; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms var(--ease); }
.priority-detail:hover .detail-image img { transform: scale(1.025); }
.detail-summary { position: relative; min-height: 150px; padding: 24px 54px 26px 24px; }
.detail-summary .num { display: block; margin-bottom: 11px; color: var(--teal-dark); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }
.detail-summary h2 { margin: 0; font-size: clamp(1.22rem, 1.8vw, 1.48rem); }
.detail-summary::after { position: absolute; right: 24px; bottom: 22px; color: var(--teal-dark); content: "+"; font-size: 1.65rem; line-height: 1; transition: transform 220ms var(--ease); }
.priority-detail[open] .detail-summary::after { content: "−"; transform: rotate(180deg); }
.detail-content { padding: 4px 28px 30px; border-top: 1px solid var(--line); }
.priority-detail[open] .detail-content { padding: 28px 30px 32px; border-top: 0; border-left: 1px solid var(--line); }
.detail-content p { margin: 22px 0; color: var(--muted); }

.donate-panel { max-width: 820px; margin: 0 auto; padding: clamp(42px, 6vw, 72px); text-align: center; background: var(--surface); border: 1px solid var(--line); border-top: 7px solid var(--teal); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-sm); }
.donate-mark { display: grid; place-content: center; width: 112px; height: 112px; margin: 0 auto 30px; color: var(--surface); background: var(--navy); border-left: 8px solid var(--teal); font-family: Manrope, sans-serif; font-size: 4.1rem; font-weight: 800; line-height: 1; }
.donate-panel .eyebrow { justify-content: center; }
.donate-panel h2 { font-size: clamp(2.15rem, 4.3vw, 3.75rem); }
.donate-panel .section-intro { max-width: 650px; margin-right: auto; margin-left: auto; }
.confirmation-title { margin-bottom: 22px; font-size: clamp(2.55rem, 6vw, 4.8rem); }
.thank-you-main { min-height: 70vh; display: grid; align-items: center; }

.site-footer { padding: 76px 0 28px; color: var(--surface); background: var(--navy-deep); border-top: 6px solid var(--teal); }
.footer-grid { display: grid; grid-template-columns: minmax(280px, 1.8fr) repeat(2, 0.75fr) minmax(190px, 1fr); gap: clamp(34px, 5vw, 72px); }
.footer-logo { width: 220px; opacity: 0.96; filter: brightness(0) invert(1); }
.footer-grid h3 { margin-bottom: 17px; color: #69d9d5; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-grid > div > a { display: block; margin: 9px 0; color: #d8e4eb; font-size: 0.92rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-grid > div > a:hover { color: var(--surface); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid p { max-width: 390px; margin-top: 19px; color: #acbfcb; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.footer-bottom p { margin: 0; color: #91a9b8; font-size: 0.78rem; }

@media (min-width: 1500px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(440px, 0.8fr); }
  .hero-copy h1 { max-width: 13ch; }
}

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.78fr); gap: 48px; }
  .hero-copy h1 { font-size: clamp(3.5rem, 5.4vw, 4.6rem); }
  .path-card, .path-card:nth-child(-n + 2) { grid-column: span 6; }
}

@media (max-width: 1100px) {
  .site-nav { position: absolute; top: 86px; right: var(--gutter); display: none; width: min(390px, calc(100vw - (2 * var(--gutter)))); max-height: calc(100vh - 108px); overflow: auto; padding: 12px 22px 22px; background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 16px 6px; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
  .site-nav > a:not(.btn)::after { display: none; }
  .site-nav > a[aria-current="page"] { color: var(--teal-dark); }
  .site-nav .btn { margin-top: 16px; }
  .nav-toggle { display: block; }
  .priority-accordion { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: minmax(280px, 1.7fr) 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  :root { --section-space: clamp(72px, 10vw, 92px); }
  .hero { min-height: 0; padding-top: 54px; }
  .hero-grid, .page-hero-split, .intro-grid, .split-grid, .ward-grid, .form-layout, .vote-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; min-height: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-copy h1 { max-width: 12.5ch; font-size: clamp(3.5rem, 8.5vw, 4.8rem); }
  .hero-copy .lead { max-width: 720px; }
  .hero-media { width: min(100%, 620px); margin-left: auto; }
  .hero-photo { aspect-ratio: 5 / 4.8; border-radius: 0 48px 0 0; }
  .hero-photo img { object-position: center 15%; }
  .page-hero-split { gap: 44px; }
  .page-hero h1 { max-width: 15ch; }
  .page-hero-photo { width: min(100%, 650px); aspect-ratio: 16 / 10; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading > p { max-width: 620px; }
  .intro-grid { gap: 36px; }
  .intro-grid > div:first-child { position: static; }
  .split-grid, .form-layout, .vote-grid { gap: 52px; }
  .path-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .path-card, .path-card:nth-child(-n + 2) { grid-column: auto; min-height: 220px; }
  .path-card:nth-child(-n + 2) h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); }
  .resource-grid, .location-grid { grid-template-columns: 1fr 1fr; }
  .priority-story { grid-template-columns: 1fr; gap: 38px; }
  .priority-story:nth-child(even) .priority-visual { order: 0; }
  .priority-visual { position: static; }
  .priority-visual .image-frame { max-width: 680px; aspect-ratio: 16 / 10; }
  .cta-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (min-width: 681px) and (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.78fr); gap: 30px; align-items: end; }
  .hero-copy { padding-bottom: 50px; }
  .hero-copy h1 { max-width: 11ch; font-size: clamp(3rem, 6.5vw, 3.55rem); }
  .hero-copy .lead { font-size: 1rem; }
  .hero-actions { margin: 24px 0; }
  .hero-media { width: 100%; margin-left: 0; }
  .hero-photo { aspect-ratio: 4 / 5; border-radius: 0 38px 0 0; }
  .page-hero-split { grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.72fr); gap: 34px; }
  .page-hero h1 { font-size: clamp(3rem, 6.5vw, 3.6rem); }
  .page-hero-photo { width: 100%; aspect-ratio: 4 / 3; }
}

@media (max-width: 680px) {
  :root { --gutter: 22px; --section-space: 72px; }
  html { scroll-padding-top: 82px; }
  body { line-height: 1.65; }
  h1 { font-size: clamp(2.65rem, 12vw, 3.4rem); }
  h2 { font-size: clamp(2.08rem, 9.5vw, 2.95rem); }
  .nav-wrap { min-height: 76px; }
  .logo-link { flex-basis: 188px; min-width: 0; }
  .logo-link img { width: 188px; }
  .site-nav { top: 76px; right: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 88px); padding: 10px 18px 18px; }
  .hero { padding-top: 43px; }
  .hero-grid { gap: 34px; }
  .hero-copy h1 { max-width: 11.7ch; margin-bottom: 21px; font-size: clamp(2.55rem, 11vw, 3.1rem); line-height: 0.98; letter-spacing: -0.055em; }
  .hero-copy .lead { font-size: 1.02rem; line-height: 1.62; }
  .hero-actions { margin: 25px 0; }
  .hero-media { width: calc(100% - 10px); }
  .hero-media::before { left: -10px; width: 4px; }
  .hero-photo { aspect-ratio: 5 / 5.25; border-radius: 0 34px 0 0; box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2); }
  .hero-badge { right: -8px; bottom: 22px; min-width: 130px; padding: 14px 15px; }
  .hero-badge strong { font-size: 1rem; }
  .date-chip { width: 100%; grid-template-columns: 1fr; gap: 1px; }
  .page-hero { padding: 56px 0 60px; }
  .page-hero::before { left: var(--gutter); }
  .page-hero h1 { margin-bottom: 18px; font-size: clamp(2.7rem, 11vw, 3.35rem); }
  .page-hero .lead { font-size: 1.02rem; }
  .page-hero-split { gap: 35px; }
  .page-hero-photo { border-radius: 0 30px 0 0; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid p, .signal-grid p:first-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .signal-grid p:last-child { border-bottom: 0; }
  .section-heading { margin-bottom: 38px; }
  .path-grid, .values-grid, .credentials-grid, .resource-grid, .action-grid, .location-grid, .jurisdiction-grid { grid-template-columns: 1fr; }
  .path-grid { gap: 0; }
  .path-card, .path-card:nth-child(-n + 2) { min-height: 0; padding: 26px 4px 28px 0; }
  .path-card:hover { padding-left: 12px; }
  .values-grid, .credentials-grid { gap: 0; }
  .pillar-row { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 23px 2px; }
  .pillar-row:hover { padding-right: 10px; padding-left: 10px; }
  .pillar-row h3 { font-size: 1.05rem; line-height: 1.25; }
  .pillar-row .num { font-size: 0.94rem; }
  .cta-band { padding: 58px 0; }
  .cta-band::after { top: -0.45em; font-size: 18rem; }
  .cta-grid { gap: 26px; }
  .cta-actions { width: 100%; }
  .experience-item { grid-template-columns: 42px 1fr; gap: 14px; }
  .jurisdiction-card { padding: 29px 24px; }
  .resource-card, .action-card { min-height: 0; }
  .vote-date-panel { grid-template-columns: 110px 1fr; padding: 28px 24px; }
  .vote-date-panel .day { font-size: 4rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 7px; }
  .field-grid, .check-grid { grid-template-columns: 1fr; }
  .campaign-form { padding: 27px 22px; }
  .campaign-form .btn { width: 100%; }
  .layout-switcher { grid-template-columns: 1fr; gap: 18px; }
  .switch-links { width: 100%; }
  .switch-links a { flex: 1 1 150px; text-align: center; }
  .priority-editorial { gap: 82px; }
  .priority-story { gap: 30px; padding-top: 30px; }
  .priority-story h2 { font-size: clamp(2rem, 9.2vw, 2.75rem); }
  .priority-accordion { grid-template-columns: 1fr; }
  .priority-detail[open] { grid-column: auto; display: block; }
  .priority-detail[open] .detail-content { padding: 4px 24px 28px; border-top: 1px solid var(--line); border-left: 0; }
  .detail-summary { min-height: 130px; }
  .donate-panel { padding: 42px 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  :root { --gutter: 18px; }
  .logo-link, .logo-link img { width: 174px; }
  .logo-link { flex-basis: 174px; }
  .hero-copy h1 { max-width: 12.2ch; font-size: clamp(2.42rem, 10.8vw, 2.9rem); }
  .hero-actions, .cta-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-photo { aspect-ratio: 4 / 4.45; }
  .hero-badge { bottom: 18px; min-width: 120px; }
  .page-hero h1 { font-size: clamp(2.5rem, 11.8vw, 3rem); }
  .pillar-row { grid-template-columns: 45px 1fr auto; }
  .vote-date-panel { grid-template-columns: 1fr; }
  .vote-date-panel .day { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Campaign contribution invitation */
.btn.invest-button { color: #032a42; background: #63d6c8; border: 1px solid #3cbaae; gap: 9px; box-shadow: 0 0 0 4px rgba(12,166,166,.09); white-space: nowrap; }
.btn.invest-button:hover { background: #8ce5d8; box-shadow: 0 5px 22px rgba(12,166,166,.25); }
.site-nav .invest-button[aria-current="page"] { color: #032a42; background: #8ce5d8; border-color: #087a7b; box-shadow: 0 0 0 3px rgba(12,166,166,.18); }
.contribution-grid { display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(32px,6vw,85px); align-items:start; }
.contribution-grid h2 { margin-bottom:25px; }
.contribution-card { background:#fff; padding:clamp(24px,4vw,50px); border:1px solid var(--line); border-top:5px solid var(--teal); border-radius:0 0 18px 18px; box-shadow:var(--shadow-sm); min-width:0; }
.transfer-label { display:block; color:var(--teal-dark); font-size:.7rem; font-weight:800; letter-spacing:.16em; margin-bottom:25px; }
.transfer-email { font-size:clamp(1.25rem,2.7vw,2.1rem); font-weight:800; color:var(--navy); overflow-wrap:anywhere; margin:15px 0 24px; }
.copy-status { min-height:1.5em; font-size:.85rem; color:var(--teal-dark); margin:12px 0; }
.receipt-details { border-top:1px solid var(--line); padding-top:28px; }
.receipt-details h3 { line-height:1.3; margin-bottom:15px; }
.receipt-details li { margin-bottom:8px; }
@media(max-width:900px) { .contribution-grid { grid-template-columns:1fr; } }

.donate-button-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 6px 0; }
.donate-button-copy > span { font-size: .94rem; font-weight: 800; }
.donate-button-copy small { font-size: .62rem; font-weight: 600; line-height: 1.2; }

/* Homepage community globe */
.home-community { padding: clamp(56px,7vw,90px) 0; }
.home-community .gallery-intro h2 { max-width: 900px; margin: 18px auto 22px; }
.home-community .gallery-intro > p:last-child { max-width: 680px; margin-inline: auto; font-size: 1.06rem; }
.home-globe-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 30px; }
.home-globe-controls .gallery-hint { margin: 0; }
.home-globe-caption { margin: 22px 0 0; text-align: center; color: #d1e7ed; }
@media(max-width:680px) { .home-globe-controls { flex-direction: column; }.home-globe-controls .gallery-hint { min-height: 0; } }

.transfer-help { padding: 8px 0 28px; }
.transfer-help h3 { margin-bottom: 16px; }
.transfer-help ol { padding-left: 22px; }
.transfer-help li { padding-left: 5px; margin-bottom: 12px; }
.transfer-help strong { overflow-wrap: anywhere; }

/* Unlisted PayPal donation page */
.paypal-test-main { min-height: 72vh; background: var(--navy-deep); }
.paypal-donation-section { position: relative; display: grid; min-height: calc(100svh - 86px); padding: clamp(22px, 4vh, 44px) 0; align-items: center; isolation: isolate; overflow: hidden; }
.paypal-background-nine { position: absolute; top: -0.3em; right: -0.02em; z-index: -1; color: rgba(12, 166, 166, 0.12); font-family: Manrope, sans-serif; font-size: clamp(24rem, 45vw, 48rem); font-weight: 800; line-height: 1; pointer-events: none; }
.paypal-donation-card { position: relative; width: min(100%, 1060px); margin-inline: auto; padding: clamp(26px, 3.5vw, 42px); background: var(--surface); border-top: 7px solid var(--teal); border-radius: 0 36px 0 0; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28); }
.paypal-brand { display: flex; align-items: center; width: fit-content; gap: 8px; margin-bottom: clamp(16px, 2.3vh, 23px); color: #003087; font-family: Manrope, sans-serif; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.04em; }
.paypal-brand img { width: 32px; height: 32px; object-fit: contain; }
.paypal-card-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); gap: clamp(28px, 4vw, 54px); align-items: start; }
.paypal-choice-panel { min-width: 0; }
.paypal-donation-card .eyebrow { margin-bottom: 9px; }
.paypal-donation-card h1 { max-width: 13ch; margin-bottom: 9px; color: var(--navy-deep); font-size: clamp(2rem, 3.4vw, 3.1rem); }
.paypal-intro { margin-bottom: clamp(15px, 2.3vh, 22px); color: var(--muted); font-size: clamp(0.98rem, 1.2vw, 1.08rem); }
.paypal-amount-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.paypal-amount-button { display: flex; min-width: 0; min-height: 62px; padding: 9px 7px; align-items: center; justify-content: center; flex-direction: column; gap: 1px; color: var(--navy); background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; text-align: center; text-decoration: none; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease; }
.paypal-amount-button span { font-family: Manrope, sans-serif; font-size: 1.08rem; font-weight: 800; line-height: 1.15; }
.paypal-amount-button small { color: var(--muted); font-size: 0.68rem; font-weight: 700; line-height: 1.25; }
.paypal-amount-button:hover, .paypal-amount-button[aria-pressed="true"], .paypal-custom-toggle[aria-expanded="true"] { color: var(--surface); background: #003087; border-color: #003087; box-shadow: 0 10px 24px rgba(0, 48, 135, 0.16); transform: translateY(-2px); }
.paypal-amount-button:hover small, .paypal-amount-button[aria-pressed="true"] small, .paypal-custom-toggle[aria-expanded="true"] small { color: #dce8ff; }
.paypal-amount-button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.paypal-custom-toggle, .paypal-preset { font: inherit; }
.paypal-custom-option { position: relative; grid-column: span 2; min-width: 0; min-height: 62px; }
.paypal-custom-toggle, .paypal-custom-form { position: absolute; inset: 0; width: 100%; height: 100%; }
.paypal-custom-toggle[hidden], .paypal-custom-form[hidden] { display: none; }
.paypal-amount-field { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; height: 100%; min-height: 62px; padding: 0 10px; align-items: center; background: var(--surface); border: 2px solid #003087; border-radius: var(--radius-sm); }
.paypal-amount-field:focus-within { border-color: var(--teal-dark); box-shadow: 0 0 0 3px rgba(12, 166, 166, 0.16); }
.paypal-amount-field span, .paypal-amount-field strong { color: var(--muted); font-size: 0.7rem; }
.paypal-amount-field input { width: 100%; min-width: 0; padding: 7px 4px; color: var(--ink); background: transparent; border: 0; outline: 0; font-weight: 800; }
.paypal-notice { font-size: 0.82rem; line-height: 1.5; }
.paypal-payment-action { display: flex; margin-top: 13px; align-items: center; justify-content: space-between; gap: 12px; }
.paypal-payment-action p { margin: 0; color: var(--teal-dark); font-size: 0.82rem; font-weight: 800; }
.paypal-payment-action .btn { min-height: 46px; padding: 10px 16px; }
.paypal-payment-action .btn[aria-disabled="true"] { color: #6f7d83; background: #dfe5e7; box-shadow: none; cursor: not-allowed; pointer-events: none; }
.paypal-notice { margin: 13px 0 0; color: var(--muted); text-align: left; }
.paypal-receipt-details { padding: clamp(20px, 2.6vw, 30px); background: var(--mist); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.paypal-receipt-details h2 { margin-bottom: 12px; color: var(--navy); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.18; letter-spacing: -0.025em; }
.paypal-receipt-details p, .paypal-receipt-details li { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.paypal-receipt-details p { margin-bottom: 10px; }
.paypal-receipt-details ul { margin: 0 0 13px; padding-left: 18px; }
.paypal-receipt-details li { margin-bottom: 3px; }
.paypal-receipt-details a:not(.text-link) { color: var(--navy); font-weight: 700; }
.paypal-receipt-details .text-link { font-size: 0.84rem; }

@media (max-width: 680px) {
  .paypal-donation-section { min-height: calc(100svh - 76px); padding: 4px 0; }
  .paypal-background-nine { right: -0.16em; font-size: 30rem; }
  .paypal-donation-card { padding: 11px 18px 9px; border-radius: 0 25px 0 0; }
  .paypal-brand { position: absolute; top: 12px; right: 18px; margin: 0; font-size: 0.9rem; }
  .paypal-brand img { width: 24px; height: 24px; }
  .paypal-card-grid { grid-template-columns: 1fr; gap: 10px; }
  .paypal-donation-card .eyebrow { margin-bottom: 5px; font-size: 0.62rem; }
  .paypal-donation-card h1 { max-width: none; margin-bottom: 6px; font-size: clamp(1.75rem, 8.3vw, 2.15rem); }
  .paypal-intro { margin-bottom: 10px; font-size: 0.88rem; }
  .paypal-amount-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .paypal-amount-button { min-height: 50px; padding: 6px 5px; }
  .paypal-amount-button span { font-size: 0.96rem; }
  .paypal-amount-button small { font-size: 0.59rem; }
  .paypal-custom-option { grid-column: span 2; min-height: 50px; }
  .paypal-amount-field { min-height: 50px; }
  .paypal-payment-action { margin-top: 7px; }
  .paypal-payment-action .btn { width: 100%; min-height: 40px; padding: 7px 14px; }
  .paypal-notice { display: none; }
  .paypal-receipt-details { padding: 10px 15px; border-top: 3px solid var(--teal); border-left: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .paypal-receipt-details h2 { margin-bottom: 7px; font-size: 1rem; }
  .paypal-receipt-details p, .paypal-receipt-details li { font-size: 0.74rem; line-height: 1.35; }
  .paypal-receipt-details p { margin-bottom: 6px; }
  .paypal-receipt-details ul { display: grid; gap: 1px; margin-bottom: 7px; }
  .paypal-receipt-details li { margin: 0; }
  .paypal-receipt-details .text-link { font-size: 0.74rem; }
}
