/*
Theme Name: Alabama Values for America
Theme URI: https://alabamavaluesforamerica.com
Author: Paul Crosby
Author URI: https://crosbycreativeco.com
Description: Custom theme for Alabama Values for America PAC
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alabama-values-for-america
*/

/* Google Fonts - Now loaded via functions.php for better performance */
/* @import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@500;700;800;900&family=Alegreya+Sans:wght@300;400;500;700;800&display=swap'); */

/* CSS Variables - Alabama Values for America palette */
:root {
  --ava-navy: #23364F;        /* Primary */
  --ava-blue: #BF383A;        /* Accent (red) - legacy var name */
  --ava-light-blue: #BF383A;  /* Aliased to red - legacy var name */
  --ava-gray: #6F6A60;        /* Warm muted */
  --ava-white: #FDF8ED;       /* Cream */
  --ava-background: #FDF8ED;  /* Cream */
  --ava-cream: #FDF8ED;
  --ava-red: #BF383A;
  --ava-red-soft: #D9A8A9;    /* Available if needed */
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-weight: 400;
  background-color: var(--ava-background);
  color: var(--ava-navy);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Alegreya', Georgia, serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header
   Default state: position: absolute so the header scrolls AWAY with the
   utility stripe (no leftover gap at top of viewport).
   Sticky state (.scrolled): becomes fixed at top: 0 with a slide-down
   animation. Triggered by JS when scroll passes 300px.  */
.site-header {
  background-color: transparent;
  padding: 15px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.page-id-106 .site-header,
.page-id-108 .site-header,
.page-id-111 .site-header {
  background-color: var(--ava-navy);
}

/* WordPress Admin Bar Adjustments - Must come after base header styles */
body.admin-bar .site-header {
  top: 32px !important;
  z-index: 999;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px !important;
  }
}

/* Sticky header animation: slides down from above when JS adds .scrolled.
   `backwards` fill keeps the from-state applied during render, preventing
   a one-frame flash of the un-animated end state. */
@keyframes ava-header-slide-in {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.site-header.scrolled {
  position: fixed;
  top: 0 !important;
  background-color: var(--ava-navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  animation: ava-header-slide-in 0.42s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}

body.admin-bar .site-header.scrolled {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header.scrolled {
    top: 46px !important;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  min-height: 70px;
}

.logo a,
.logo .custom-logo-link {
  display: block !important;
  line-height: 0 !important;
  position: relative;
}

/* Sizing rules ONLY for WP custom logos (uploaded via Customize → Site
   Identity). The new Alabama mark + wordmark lockup uses .site-mark and
   manages its own dimensions further down. */
.custom-logo,
.custom-logo-link img {
  max-height: 70px !important;
  min-height: 55px !important;
  width: auto !important;
  height: 70px !important;
  display: block !important;
  transition: all 0.3s ease;
  position: relative;
}

.site-header.scrolled .custom-logo,
.site-header.scrolled .custom-logo-link img {
  max-height: 55px !important;
  height: 55px !important;
}

.site-title {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #FDF9F0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-logo img {
  height: 70px;
  width: auto;
  transition: all 0.3s ease;
}

.site-header.scrolled .site-logo img {
  height: 55px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: #FDF9F0;
  font-family: 'Alegreya', Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.main-navigation a:hover {
  color: var(--ava-cream);
  border-bottom-color: var(--ava-red);
}

/* Donate Button — header version mirrors hero btn-primary hard-shadow style */
.main-navigation .btn-donate,
.main-navigation a.btn-donate,
.nav-menu .btn-donate,
.nav-menu li a[href*="donate"],
.main-navigation li a[href*="donate"],
.menu-item a[href*="donate"],
#primary-menu a[href*="donate"],
footer .btn-donate {
  background-color: var(--ava-red) !important;
  color: #FDF9F0 !important;
  padding: 10px 22px !important;
  border-radius: 0 !important;
  border: 2px solid var(--ava-cream) !important;
  border-bottom: 2px solid var(--ava-cream) !important;
  box-shadow: 3px 3px 0 var(--ava-cream);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
  text-shadow: none !important;
  display: inline-block !important;
  font-family: 'Alegreya Sans', system-ui, sans-serif !important;
}

.main-navigation .btn-donate:hover,
.main-navigation a.btn-donate:hover,
.nav-menu .btn-donate:hover,
.nav-menu li a[href*="donate"]:hover,
.main-navigation li a[href*="donate"]:hover,
.menu-item a[href*="donate"]:hover,
#primary-menu a[href*="donate"]:hover {
  background-color: var(--ava-cream) !important;
  color: var(--ava-navy) !important;
  border-color: var(--ava-cream) !important;
  border-bottom: 2px solid var(--ava-cream) !important;
  box-shadow: 5px 5px 0 var(--ava-cream) !important;
  transform: translate(-2px, -2px) !important;
}
.main-navigation .btn-donate a,
.nav-menu .btn-donate a {
  color: #FDF9F0 !important;
  text-shadow: none;
}

/* On hover the parent <li> bg flips to cream, so the inner <a> needs
   to flip to navy too — otherwise cream-on-cream = invisible text */
.main-navigation .btn-donate:hover a,
.main-navigation .btn-donate:focus-within a,
.nav-menu .btn-donate:hover a,
.nav-menu .btn-donate:focus-within a {
  color: var(--ava-navy) !important;
}
/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FDF9F0;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  position: relative;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu-toggle .hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #FDF9F0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-toggle.is-active .hamburger:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.is-active .hamburger:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #FDF9F0;
}

/* Hero background — video (with poster JPG fallback for slow connections) */
.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: var(--ava-navy);
}

.hero-media .hero-video,
.hero-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.04);
  transform-origin: center;
  display: block;
}

/* Respect users who prefer reduced motion: pause the video and let the poster
   show. The browser shows the poster JPG as a static image. */
@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-video {
    display: none;
  }
  .hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/hero-flags-poster.jpg');
    background-size: cover;
    background-position: center;
  }
}

/* Legacy class kept harmless in case any cached page still emits it */
.hero-slideshow { display: none; }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(35, 54, 79, 0.88) 0%, rgba(35, 54, 79, 0.75) 50%, rgba(191, 56, 58, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 0 20px;
}

.hero-accent-line {
  width: 120px;
  height: 6px;
  background-color: var(--ava-red);
  margin: 0 auto 30px;
}

.hero-title {
  font-size: clamp(44px, 6.5vw, 110px);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 30px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--ava-cream) 0%, #ffffff 50%, var(--ava-cream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: 'Alegreya', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--ava-red);
  color: #FDF9F0;
}

.btn-primary:hover {
  background-color: var(--ava-navy);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(35, 54, 79, 0.3);
  color: var(--ava-cream);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--ava-navy);
  color: var(--ava-navy) !important;
}

.btn-secondary:hover {
  background-color: var(--ava-navy);
  border: 2px solid var(--ava-navy);
  color: var(--ava-cream) !important;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(35, 54, 79, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 2s ease-in-out infinite;
  z-index: 3;
  cursor: pointer;
}

.scroll-indicator span {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #FDF9F0;
  opacity: 0.8;
}

.scroll-indicator svg {
  color: var(--ava-cream);
  width: 24px;
  height: 24px;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* About Section — intentionally lean: plain cream, single text column. */
.about-section {
  position: relative;
  padding: 120px 0;
  background-color: var(--ava-cream);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-eyebrow,
.eyebrow {
  display: inline-block;
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ava-red);
  margin-bottom: 15px;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 52px);
  margin-bottom: 20px;
}

.section-title .highlight {
  color: var(--ava-navy);
}

.section-title .text-light-blue {
  color: var(--ava-light-blue);
}

.text-light-blue {
  color: var(--ava-light-blue);
}

.section-accent-line,
.accent-line {
  width: 96px;
  height: 6px;
  background-color: var(--ava-red);
  margin: 0 auto 30px;
  display: block;
}

.section-intro {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(253, 249, 240, 0.85);
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-weight: 400 !important;
}

.section-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #67787F;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.about-grid,
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about-text p {
  font-size: 24px;
  line-height: 1.7;
  color: var(--ava-gray);
  margin-bottom: 24px;
}

.about-stats,
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  border-left: 4px solid var(--ava-red);
  padding-left: 16px;
}

.stat-number {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--ava-navy);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ava-gray);
  margin-top: 8px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  background: white;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.value-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: rgba(35, 54, 79, 0.3);
  transform: translateY(-5px);
}

.value-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(35, 54, 79, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  background-color: var(--ava-navy);
  transform: scale(1.1);
}

.value-icon svg {
  width: 24px;
  height: 24px;
  color: var(--ava-navy);
}

.value-card:hover .value-icon svg {
  color: #FDF9F0;
}

.value-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* About Section Specific Styles */
.about-section .eyebrow {
  color: var(--ava-blue);
  font-weight: 700;
}

.about-section .accent-line {
  background-color: var(--ava-blue);
}

.value-description {
  font-size: 14px;
  color: var(--ava-gray);
  line-height: 1.5;
}

/* Issues Section */
.issues-section {
  padding: 120px 0;
  background: var(--ava-navy);
  position: relative;
  overflow: hidden;
  color: #FDF9F0;
}

.issues-section .eyebrow {
  color: var(--ava-cream);
}

.issues-section .section-title {
  color: var(--ava-cream);
}

.issues-section .section-title .text-navy,
.issues-section .section-title .text-light-blue {
  color: var(--ava-red);
}

.issues-section .accent-line {
  background-color: var(--ava-red);
}

/* Subtle dot pattern */
.issues-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Top-left glow */
.issues-section::after {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191, 56, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Bottom-right glow - using a pseudo element on the container */
.issues-grid::before {
  content: '';
  position: absolute;
  bottom: -300px;
  right: -300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(217, 168, 169, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.issue-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.5s ease;
  position: relative;
  height: 400px;
  cursor: pointer;
}

.issue-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(35, 54, 79, 0.9) 0%, rgba(191, 56, 58, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.issue-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 80px 80px 0;
  border-color: transparent var(--ava-red) transparent transparent;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.issue-card:hover::before {
  opacity: 1;
}

.issue-card:hover::after {
  opacity: 1;
}

.issue-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.issue-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.issue-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: #FDF9F0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.issue-description {
  font-size: 14px;
  color: rgba(253, 249, 240, 0.9);
  line-height: 1.5;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.issue-card:hover .issue-description {
  opacity: 1;
  max-height: 150px;
}

.issue-btn {
  color: var(--ava-cream);
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  padding: 0;
}

.issue-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.issue-card:hover .issue-btn {
  opacity: 1;
  transform: translateY(0);
  color: #FDF9F0;
}

/* Contact Section — matches the candidate-strip background language
   (white + subtle red crosshatch). The form wrapper sits on cream
   to differentiate from the section bg. */
/* Contact Section — matches the candidate-strip background language
   (white + subtle red crosshatch). The form wrapper sits on cream
   to differentiate from the section bg. */
.contact-section {
  padding: 120px 0;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.contact-section .eyebrow { color: var(--ava-red); font-weight: 700; }
.contact-section .accent-line { background-color: var(--ava-red); }

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(191, 56, 58, 0.045) 18px 19px),
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(191, 56, 58, 0.045) 18px 19px);
  pointer-events: none;
}

.contact-section .container { position: relative; z-index: 1; }

/* Form-only layout (map removed per client edit) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-map-label {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ava-red);
}
.contact-map-frame {
  flex: 1;
  position: relative;
  background: #FDF9F0;
  border: 2px solid var(--ava-navy);
  box-shadow: 6px 6px 0 var(--ava-red);
  overflow: hidden;
  min-height: 320px;
}
.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  border: 0;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-map-frame { min-height: 280px; }
}

/* Form wrapper — cream background, sits on the white section */
.contact-form-wrapper {
    background-color: #FDF9F0;
    padding: 40px;
    border: solid rgba(35, 54, 79, 0.1) 1px;
    box-shadow: 0 20px 40px -12px rgba(35, 54, 79, 0.18), 0 8px 16px -8px rgba(35, 54, 79, 0.1);
    border-radius: 5px;
}

/* Submit button — mirrors hero btn-primary hard-shadow language */
.contact-form-wrapper .wpforms-submit-container {
    margin-top: 20px;
}
/* Send button — defensive coverage on ALL interaction states because
   WPForms ships its own styles and mobile touch fires :active/:focus
   that browsers handle inconsistently. Without explicit color values
   on every state, taps can produce a brief white-text-on-white-button
   flash. Min-height 48px = WCAG/Apple-recommended touch target. */
.contact-form-wrapper button[type="submit"],
.contact-form-wrapper .wpforms-submit,
.contact-form-wrapper button[type="submit"]:link,
.contact-form-wrapper button[type="submit"]:visited {
    background-color: var(--ava-red) !important;
    color: #FDF9F0 !important;
    border: 2px solid var(--ava-cream) !important;
    border-radius: 0 !important;
    box-shadow: 4px 4px 0 var(--ava-navy) !important;
    padding: 16px 36px !important;
    min-height: 48px;
    font-family: 'Alegreya Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease !important;
    cursor: pointer;
    min-width: 30%;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
            appearance: none;
}
.contact-form-wrapper button[type="submit"]:hover,
.contact-form-wrapper button[type="submit"]:focus,
.contact-form-wrapper button[type="submit"]:focus-visible,
.contact-form-wrapper .wpforms-submit:hover,
.contact-form-wrapper .wpforms-submit:focus,
.contact-form-wrapper .wpforms-submit:focus-visible {
    background-color: var(--ava-navy) !important;
    color: var(--ava-cream) !important;
    border-color: var(--ava-cream) !important;
    box-shadow: 6px 6px 0 var(--ava-red) !important;
    transform: translate(-2px, -2px) !important;
    outline: none !important;
}
.contact-form-wrapper button[type="submit"]:active,
.contact-form-wrapper .wpforms-submit:active {
    background-color: var(--ava-navy) !important;
    color: var(--ava-cream) !important;
    border-color: var(--ava-cream) !important;
    box-shadow: 2px 2px 0 var(--ava-red) !important;
    transform: translate(0, 0) !important;
}
.contact-form-wrapper button[type="submit"]:disabled,
.contact-form-wrapper .wpforms-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    color: #FDF9F0 !important;  /* prevent disabled-default light-grey-on-red */
}

/* Phone-field flag selector: red background behind the flag */
.contact-form-wrapper .iti__selected-flag,
.contact-form-wrapper .iti__flag-container,
.contact-form-wrapper .wpforms-field-phone .iti__selected-flag {
    background-color: var(--ava-red) !important;
    border-radius: 0 !important;
}
.contact-form-wrapper .iti__selected-flag:hover,
.contact-form-wrapper .iti__selected-flag:focus {
    background-color: #A22F31 !important;  /* slightly darker red on hover */
}
.contact-form-wrapper .iti__arrow {
    border-top-color: var(--ava-cream) !important;
}
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  margin-bottom: 30px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1024px;
  margin: 30px auto;
  gap: 20px;
}

.contact-info-card {
  background: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(217, 168, 169, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background-color: var(--ava-light-blue);
  transform: scale(1.1);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--ava-light-blue);
}

.contact-card:hover .contact-icon svg {
  color: var(--ava-navy);
}

.contact-label {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-detail {
  font-size: 14px;
  color: var(--ava-navy);
  line-height: 1.6;
}

.contact-detail a {
  color: var(--ava-navy);
}

.contact-detail a:hover {
  color: var(--ava-blue);
}

/* Footer */
.site-footer {
  background-color: var(--ava-navy);
  color: #FDF9F0;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-text {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  padding: 0;
  margin: 0;
  height: 100%;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #FDF9F0;
  opacity: 0.8;
  font-size: 14px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--ava-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  margin-top: 24px;
  text-align: center;
}
.ava-footer-flex {
    display: flex;
    column-gap: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-grid,
  .about-content,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .main-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(35, 54, 79, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 100px 20px 40px;
    overflow-y: auto;
  }

  .main-navigation.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Stack about section on mobile */
  .about-grid,
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 25px;
    align-items: center;
    width: 100%;
    max-width: 400px;
  }

  .main-navigation li {
    width: 100%;
    text-align: center;
  }

  .main-navigation a {
    font-size: 24px;
    padding: 15px 20px;
    display: block;
    border-bottom: 2px solid transparent;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .about-section,
  .issues-section,
  .contact-section {
    padding: 80px 0;
  }

  .values-grid,
  .issues-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-section,
  .issues-section,
  .contact-section {
    padding: 60px 0;
  }

  .contact-form {
    padding: 24px 16px;
  }
}

/* ==========================================
   ISSUE MODAL STYLES
   ========================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.is-open {
  display: flex;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 54, 79, 0.85);
  backdrop-filter: blur(4px);
}

.modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.is-open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
  background: white;
  transform: rotate(90deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.modal-close svg {
  color: var(--ava-navy);
}

.modal-image-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, 
    rgba(35, 54, 79, 0.8) 0%, 
    rgba(35, 54, 79, 0.4) 50%, 
    transparent 100%);
}

.modal-body {
  padding: 40px 48px;
}

.modal-title {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ava-navy);
  margin-bottom: 24px;
  line-height: 1.2;
}

.modal-description {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ava-gray);
  line-height: 1.8;
  white-space: normal;  /* collapse \n\n breaks into a single paragraph */
}

.modal-description p {
  margin-bottom: 16px;
}

.modal-description p:last-child {
  margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .modal-container {
    padding: 0;
    align-items: flex-start;
  }

  .modal-content {
    max-height: 100vh;
    border-radius: 0;
  }

  .modal-image-wrapper {
    height: 200px;
    border-radius: 0;
  }

  .modal-body {
    padding: 32px 24px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-description {
    font-size: 16px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Ensure issue-link button styles work for both <a> and <button> */
.issue-link {
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 0;
}

/* Issue Card Icon Badge */
.issue-icon-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 56px;
  height: 56px;
  background-color: var(--ava-light-blue);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.issue-card:hover .issue-icon-badge {
  background-color: #FDF9F0;
  transform: scale(1.1);
}

.issue-icon-badge svg {
  width: 28px;
  height: 28px;
  color: var(--ava-navy);
}

.issue-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.issue-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top,
    rgba(35, 54, 79, 0.9) 0%,
    rgba(35, 54, 79, 0.6) 30%,
    rgba(35, 54, 79, 0.3) 60%,
    transparent 100%);
  z-index: 1;
}

.issue-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive - Issues Grid */
@media (max-width: 1200px) {
  .issues-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .issues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .issues-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal Icon Badge */
.modal-icon-badge {
  position: absolute;
  bottom: 24px;
  left: 32px;
  width: 64px;
  height: 64px;
  background-color: var(--ava-light-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.modal-icon-badge svg {
  width: 32px;
  height: 32px;
  color: var(--ava-cream);
}

/* ---------- HEADER + FOOTER WORDMARK LOGO ---------- */
.site-header .site-wordmark {
  display: block;
  height: auto;
  width: auto;
  max-width: 320px;
  /* Belt-and-braces: override the legacy .logo img sizing rules */
  max-height: none !important;
  min-height: 0 !important;
  transition: transform 0.3s ease;
}
.site-header.scrolled .site-wordmark { max-width: 280px; }
.site-header .logo a:hover .site-wordmark { transform: translateY(-1px); }

@media (max-width: 600px) {
  .site-header .site-wordmark { max-width: 240px; }
}

/* ---------- FOOTER COLUMN 1: brand stack (logo + copyright) ---------- */
.footer-column-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-logo-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.footer-logo-link:hover { transform: translateY(-1px); }
.footer-wordmark {
  display: block;
  height: auto;
  max-width: 320px;
  width: 100%;
}
.footer-copyright {
  margin: 0;
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(253, 249, 240, 0.7);
  line-height: 1.5;
}

/* ---------- FOOTER BOTTOM BAR: centered disclaimer ---------- */
.footer-disclaimer {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(253, 249, 240, 0.55);
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  max-width: none;
}

/* Modal Short Title Overlay */
.modal-short-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FDF9F0;
  font-family: 'Alegreya', Georgia, serif;
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  z-index: 2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin: 0;
  line-height: 1.2;
  max-width: 80%;
}

@media (max-width: 768px) {
  .modal-short-title {
    font-size: 32px;
  }
}

/* Footer Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 10px;
}

.footer-column {
  color: #FDF9F0;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  max-width: 300px;
  height: auto;
  margin-top: 30px;
  margin-left: auto;
}

.footer-contact strong {
  color: #FDF9F0;
  font-weight: 600;
}

.footer-contact a {
  color: var(--ava-light-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #FDF9F0;
}

@media screen and (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
        text-align: center;
    }
    .footer-column-brand {
        align-items: center;       /* center logo + copyright stack */
    }
    .footer-column-brand .footer-copyright {
        text-align: center;
    }
    ul.footer-links {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        text-align: center;
    }
    .footer-logo img {
        margin-left: initial !important;
        margin-right: initial !important;
    }
    .footer-disclaimer {
        text-align: center;
    }
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */

/* Transition properties for all animated elements */
.section-header,
.about-text,
.value-card,
.stat-item,
.issue-card,
.contact-form,
.hero-content {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated in state */
.section-header.animate-in,
.about-text.animate-in,
.value-card.animate-in,
.stat-item.animate-in,
.issue-card.animate-in,
.contact-form.animate-in,
.hero-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero content special animation (fade up and scale) */
.hero-content {
  transform: translateY(60px) scale(0.95);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.animate-in {
  transform: translateY(0) scale(1);
}

/* Section headers slide in from left with underline animation */
.section-header {
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.animate-in {
  transform: translateX(0);
}

/* Accent line grows in */
.accent-line,
.hero-accent-line {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.section-header.animate-in .accent-line,
.section-header.animate-in .hero-accent-line,
.hero-content.animate-in .accent-line,
.hero-content.animate-in .hero-accent-line {
  transform: scaleX(1);
}

/* Value cards - slide up and rotate in */
.value-card {
  transform: translateY(50px) rotate(-2deg);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card.animate-in {
  transform: translateY(0) rotate(0deg);
}

/* Issue cards - 3D flip effect */
.issue-card {
  transform: perspective(1000px) rotateY(-15deg) translateY(40px);
  transform-style: preserve-3d;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.issue-card.animate-in {
  transform: perspective(1000px) rotateY(0deg) translateY(0);
}

/* Stats counter effect */
.stat-item {
  transform: translateY(30px) scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item.animate-in {
  transform: translateY(0) scale(1);
}

/* Contact form - slide from bottom */
.contact-form {
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form.animate-in {
  transform: translateY(0);
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .section-header,
  .about-text,
  .value-card,
  .stat-item,
  .issue-card,
  .contact-form,
  .hero-content {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================
   LEGAL PAGES (Privacy Policy, Terms, etc.)
   ========================================== */

/* Compact Hero Banner for Legal Pages */
.legal-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FDF9F0;
  background: linear-gradient(135deg, var(--ava-navy) 0%, rgba(35, 54, 79, 0.95) 50%, var(--ava-blue) 100%);
  margin-top: 100px;
  overflow: hidden;
}

/* Subtle pattern overlay */
.legal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* Glow effects */
.legal-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 168, 169, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.legal-hero-overlay {
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(191, 56, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.legal-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

.legal-hero-content .hero-accent-line {
  width: 80px;
  height: 4px;
  background-color: var(--ava-light-blue);
  margin: 0 auto 24px;
}

.legal-hero-title {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.legal-last-updated {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ava-light-blue);
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Legal Content Section */
.legal-content-section {
  padding: 80px 0 120px;
  background-color: var(--ava-background);
  position: relative;
}

/* Subtle diagonal pattern */
.legal-content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 2px,
    rgba(35, 54, 79, 0.02) 2px,
    rgba(35, 54, 79, 0.02) 4px
  );
  pointer-events: none;
}

.legal-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: white;
  padding: 60px 80px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(35, 54, 79, 0.08);
}

/* Legal Section Styling */
.legal-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(35, 54, 79, 0.1);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section-title {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ava-navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--ava-light-blue);
  display: inline-block;
}

.legal-subsection-title {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ava-navy);
  margin: 32px 0 16px;
  letter-spacing: 0.5px;
}

.legal-section p {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--ava-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.legal-section a:hover {
  color: var(--ava-navy);
  border-bottom-color: var(--ava-navy);
}

/* Legal Lists */
.legal-list {
  margin: 20px 0;
  padding-left: 24px;
}

.legal-list li {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 12px;
  position: relative;
}

.legal-list li strong {
  color: var(--ava-navy);
  font-weight: 600;
}

/* Ordered list styling */
ol.legal-list {
  counter-reset: legal-counter;
  list-style: none;
  padding-left: 32px;
}

ol.legal-list li {
  counter-increment: legal-counter;
}

ol.legal-list li::before {
  content: counter(legal-counter) ".";
  position: absolute;
  left: -32px;
  color: var(--ava-blue);
  font-weight: 600;
  font-family: 'Alegreya', Georgia, serif;
  font-size: 18px;
}

/* Unordered list styling */
ul.legal-list {
  list-style: none;
}

ul.legal-list li::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--ava-light-blue);
  border-radius: 50%;
}

/* Address blocks */
.legal-address {
  background: rgba(35, 54, 79, 0.03);
  padding: 24px;
  border-radius: 4px;
  border-left: 4px solid var(--ava-light-blue);
  margin: 20px 0;
}

.legal-address p {
  margin: 0;
  line-height: 1.6;
}

.legal-address strong {
  color: var(--ava-navy);
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .legal-content-wrapper {
    padding: 50px 60px;
    margin: 0 20px;
  }
}

@media (max-width: 768px) {
  .legal-hero {
    min-height: 260px;
    margin-top: 85px;
  }

  .legal-hero-content {
    padding: 40px 20px;
  }

  .legal-content-section {
    padding: 60px 0 80px;
  }

  .legal-content-wrapper {
    padding: 40px 24px;
    margin: 0 16px;
    border-radius: 4px;
  }

  .legal-section-title {
    font-size: 24px;
  }

  .legal-subsection-title {
    font-size: 18px;
  }

  .legal-section p,
  .legal-list li {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .legal-hero {
    min-height: 220px;
  }

  .legal-hero-title {
    font-size: 28px;
  }

  .legal-content-wrapper {
    padding: 32px 20px;
    margin: 0 12px;
  }

  .legal-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
  }

  .legal-section-title {
    font-size: 22px;
  }

  .legal-address {
    padding: 20px 16px;
  }
}

/* ==========================================
   ABOUT SENATOR PAGE
   ========================================== */

/* ----- Hero ----- */
.senator-hero {
  background: var(--ava-navy);
  padding: 140px 0 100px;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Subtle dot pattern */
.senator-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Corner glow */
.senator-hero::after {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191, 56, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.senator-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.senator-hero-text {
  max-width: 560px;
}

.senator-eyebrow {
  display: inline-block;
  font-family: 'Alegreya', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ava-light-blue);
  margin-bottom: 16px;
}

.senator-hero-text .hero-accent-line {
  width: 80px;
  height: 4px;
  background-color: var(--ava-light-blue);
  margin: 0 0 32px;
}

.senator-hero-title {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  text-transform: uppercase;
  color: #FDF9F0;
  line-height: 0.95;
  margin: 0 0 28px;
}

.senator-name-highlight {
  background: linear-gradient(135deg, var(--ava-light-blue) 0%, #fff 50%, var(--ava-light-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.senator-hero-tagline {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: rgba(253, 249, 240, 0.85);
  line-height: 1.6;
  margin: 0 0 28px;
}

.senator-hero-state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(217, 168, 169, 0.3);
  border-radius: 4px;
  color: var(--ava-light-blue);
  font-family: 'Alegreya', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.senator-hero-state svg {
  color: var(--ava-light-blue);
  flex-shrink: 0;
}

/* Portrait Frame */
.senator-hero-portrait {
  position: relative;
  flex-shrink: 0;
}

.portrait-frame {
  position: relative;
  width: 380px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.portrait-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Decorative accent block behind the portrait */
.portrait-accent {
  position: absolute;
  top: 20px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--ava-light-blue);
  border-radius: 8px;
  z-index: 0;
  opacity: 0.4;
}

/* ----- Committee Ribbon ----- */
.senator-committees {
  background: white;
  padding: 60px 0;
  border-bottom: 1px solid rgba(35, 54, 79, 0.08);
}

.committees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.committee-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 4px;
  border: 1px solid rgba(35, 54, 79, 0.08);
  transition: all 0.3s ease;
}

.committee-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: var(--ava-light-blue);
}

.committee-icon {
  width: 56px;
  height: 56px;
  background: rgba(35, 54, 79, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.3s ease;
}

.committee-card:hover .committee-icon {
  background: var(--ava-navy);
}

.committee-icon svg {
  color: var(--ava-navy);
  transition: color 0.3s ease;
}

.committee-card:hover .committee-icon svg {
  color: #FDF9F0;
}

.committee-card h3 {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ava-navy);
  margin-bottom: 6px;
}

.committee-card p {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 13px;
  color: var(--ava-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ----- Policy Champion Section ----- */
.senator-policy {
  padding: 120px 0 100px;
  background-color: var(--ava-background);
  position: relative;
  overflow: hidden;
}

.senator-policy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 2px,
    rgba(35, 54, 79, 0.02) 2px,
    rgba(35, 54, 79, 0.02) 4px
  );
  pointer-events: none;
}

.policy-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.policy-sidebar {
  position: sticky;
  top: 140px;
}

.policy-heading {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ava-navy);
  line-height: 1.05;
  margin-bottom: 20px;
}

.policy-sidebar .accent-line {
  margin: 0;
}

.policy-content {
  position: relative;
  z-index: 1;
}

.policy-lead {
  font-size: 22px !important;
  font-weight: 400;
  color: var(--ava-navy) !important;
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--ava-light-blue);
}

.policy-content p {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #4a5568;
  margin-bottom: 24px;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

/* ----- Policy Pillars ----- */
.policy-pillars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 80px;
  padding: 40px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(35, 54, 79, 0.06);
  position: relative;
  z-index: 1;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 8px 16px;
  text-align: center;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: rgba(35, 54, 79, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pillar:hover .pillar-icon {
  background: var(--ava-navy);
}

.pillar-icon svg {
  color: var(--ava-navy);
  transition: color 0.3s ease;
}

.pillar:hover .pillar-icon svg {
  color: #FDF9F0;
}

.pillar-label {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ava-navy);
}

.pillar-divider {
  width: 1px;
  height: 60px;
  background: rgba(35, 54, 79, 0.12);
  flex-shrink: 0;
}

/* ----- Personal Story Section ----- */
.senator-story {
  padding: 120px 0;
  background: var(--ava-navy);
  color: #FDF9F0;
  position: relative;
  overflow: hidden;
}

/* Dot pattern */
.senator-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Top-left glow */
.senator-story::after {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191, 56, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.story-heading {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FDF9F0;
  line-height: 1.05;
  margin-bottom: 20px;
}

.story-content p {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(253, 249, 240, 0.8);
  margin-bottom: 24px;
}

.story-content p:last-child {
  margin-bottom: 0;
}

/* ----- Timeline ----- */
.story-timeline {
  position: relative;
  padding-left: 40px;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 12px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--ava-light-blue), rgba(217, 168, 169, 0.2));
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -34px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--ava-navy);
  border: 3px solid var(--ava-light-blue);
  border-radius: 50%;
  z-index: 1;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 20px 24px;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--ava-light-blue);
  transform: translateX(6px);
}

.timeline-label {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ava-light-blue);
  display: block;
  margin-bottom: 6px;
}

.timeline-card p {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 15px;
  color: rgba(253, 249, 240, 0.75);
  line-height: 1.5;
  margin: 0;
}

/* ----- CTA Section ----- */
.senator-cta {
  padding: 100px 0;
  background: var(--ava-background);
  text-align: center;
  position: relative;
}

.senator-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 2px,
    rgba(35, 54, 79, 0.02) 2px,
    rgba(35, 54, 79, 0.02) 4px
  );
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ava-navy);
  margin-bottom: 20px;
}

.cta-inner .hero-accent-line {
  transform: scaleX(1);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .senator-hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .senator-hero-text {
    max-width: 100%;
  }

  .senator-hero-text .hero-accent-line {
    margin: 0 auto 32px;
  }

  .senator-hero-state {
    margin: 0 auto;
  }

  .senator-hero-portrait {
    margin: 0 auto;
  }

  .portrait-frame {
    width: 320px;
  }

  .portrait-accent {
    right: -12px;
    top: 16px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .policy-sidebar {
    position: static;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .senator-hero {
    margin-top: 85px;
    padding: 100px 0 80px;
  }

  .senator-hero-title {
    font-size: 48px;
  }

  .portrait-frame {
    width: 280px;
  }

  .committees-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .committee-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .committee-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .senator-policy,
  .senator-story {
    padding: 80px 0;
  }

  .policy-heading,
  .story-heading {
    font-size: 36px;
  }

  .policy-pillars {
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px;
  }

  .pillar-divider {
    display: none;
  }

  .pillar {
    width: calc(33.333% - 8px);
    min-width: 100px;
  }

  .senator-cta {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .senator-hero {
    padding: 80px 0 60px;
  }

  .senator-hero-title {
    font-size: 40px;
  }

  .senator-hero-tagline {
    font-size: 17px;
  }

  .portrait-frame {
    width: 240px;
  }

  .portrait-accent {
    display: none;
  }

  .pillar {
    width: calc(50% - 8px);
  }
}

/* ==========================================
   PULL-QUOTE CALLOUT
   ========================================== */
.pull-quote-section {
  padding: 80px 0;
  background: var(--ava-cream);
  position: relative;
}

.pull-quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 2px,
    rgba(35, 54, 79, 0.02) 2px,
    rgba(35, 54, 79, 0.02) 4px
  );
  pointer-events: none;
}

.pull-quote {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 60px 60px 50px;
  background: #ffffff;
  border-radius: 4px;
  border-left: 6px solid var(--ava-red);
  box-shadow: 0 10px 40px rgba(35, 54, 79, 0.08);
}

.pull-quote-mark {
  position: absolute;
  top: -10px;
  left: 30px;
  font-family: 'Alegreya', Georgia, serif;
  font-size: 140px;
  font-weight: 900;
  color: var(--ava-red);
  line-height: 1;
  opacity: 0.18;
  pointer-events: none;
}

.pull-quote blockquote {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ava-navy);
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.pull-quote blockquote strong {
  font-style: normal;
  color: var(--ava-red);
  font-weight: 800;
}

.pull-quote-attribution {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ava-navy);
  display: flex;
  align-items: center;
  gap: 14px;
}

.pull-quote-attribution::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--ava-red);
}

@media (max-width: 768px) {
  .pull-quote {
    padding: 50px 28px 36px;
  }
  .pull-quote-mark {
    font-size: 100px;
    left: 18px;
  }
}

/* ==========================================
   CANDIDATE PORTRAIT PLACEHOLDER
   (used when no candidate photo is uploaded yet)
   ========================================== */
.portrait-frame.is-placeholder {
  width: 380px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(35, 54, 79, 0.4) 100%);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portrait-frame.is-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.6;
  color: var(--ava-cream);
}

.portrait-frame.is-placeholder span {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(253, 248, 237, 0.8);
}

/* (Legacy logo-shine animation removed — was causing a brightness pulse on load) */

/* ==========================================
   SKIP LINK (a11y + SEO + Lighthouse)
   Hidden by default; visible when focused via keyboard tab.
   Keyboard users land on the link first, can press Enter to jump
   past the header/nav and land at #main-content.
   ========================================== */
.ava-skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 10000;
  background: var(--ava-cream);
  color: var(--ava-navy);
  padding: 12px 20px;
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ava-red);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--ava-navy);
  transition: top 0.2s ease;
}
.ava-skip-link:focus,
.ava-skip-link:focus-visible {
  top: 8px;
  outline: none;
}
/* Skip-target is an empty <a> placed before the first content section.
   Has to be invisible but focusable. */
.ava-skip-target {
  display: block;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ==========================================
   AVA REBRAND v2 — EDITORIAL / VINTAGE PATRIOTIC
   Distinct visual identity layered on top of the
   structural base so this site reads differently
   from the generic-modern-PAC reference.
   ========================================== */

/* ---------- Top utility stripe ---------- */
.ava-utility-stripe {
  background: var(--ava-navy);
  color: var(--ava-cream);
  border-bottom: 1px solid rgba(253, 248, 237, 0.08);
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 9px 0;
  position: relative;
  z-index: 1000;
  text-align: center;
}
.ava-utility-stripe .container { padding: 0 20px; }
.ava-utility-stripe-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.ava-utility-stripe .stars {
  letter-spacing: 4px;
  color: var(--ava-red);
  font-size: 11px;
}
.ava-utility-stripe a { color: var(--ava-cream); text-decoration: underline; text-decoration-color: rgba(191,56,58,.6); text-underline-offset: 4px; }
.ava-utility-stripe a:hover { color: var(--ava-red); }

/* Mobile: hide the flanking stars (decorative; they eat space) and tighten
   letter-spacing so the tagline fits on one line. Increase top padding on
   the masthead below so it doesn't feel jammed against the stripe. */
@media (max-width: 600px) {
  .ava-utility-stripe {
    font-size: 10px;
    letter-spacing: 2px;
    padding: 8px 0;
  }
  .ava-utility-stripe .stars { display: none; }
  .ava-utility-stripe-inner { gap: 0; }
}
@media (max-width: 420px) {
  .ava-utility-stripe {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
}

/* When the stripe is present, push the rest of the page down
   so the fixed header sits below it. */
/* Default (non-sticky): header sits BELOW the utility stripe in the
   document flow. When .scrolled is added these get overridden by the
   .site-header.scrolled rule above (top: 0 !important). */
body.has-utility-stripe .site-header:not(.scrolled) { top: 36px; }
body.admin-bar.has-utility-stripe .site-header:not(.scrolled) { top: 68px !important; }

/* ---------- Header masthead text wordmark ---------- */
.site-header .site-title {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FDF9F0;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.site-header .site-title::before,
.site-header .site-title::after {
  content: '★';
  display: inline-block;
  font-size: 13px;
  color: var(--ava-red);
  transform: translateY(-1px);
}
.site-header .site-title .ava-and {
  color: var(--ava-red);
  font-style: italic;
  font-weight: 500;
  margin: 0 2px;
  text-transform: lowercase;
}

/* ---------- Hero: left-aligned editorial layout ---------- */
.hero-section { text-align: left !important; }

.hero-section .hero-content {
  max-width: var(--container-width, 1200px);
  width: 100%;
  padding: 125px 40px 0;  /* clears the fixed header */
  text-align: left;
}

.hero-section .hero-content .container { padding: 0; }

.hero-inner {
  /* max-width removed: lets the H1 keep its natural 2-line break */
  position: relative;
}

.hero-section .hero-inner .accent-line { margin: 0 0 24px; }
.hero-section .hero-accent-line { margin: 0 0 24px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ava-cream);
  margin-bottom: 28px;
  padding: 8px 16px;
  border: 1px dashed #BF383A;
  background: rgba(35, 54, 79, 0.45);
  backdrop-filter: blur(4px);
  border-radius: 2px;
}
.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ava-red);
  display: inline-block;
}
.hero-kicker .star {
  color: var(--ava-red);
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}
.hero-kicker .kicker-mark {
  display: inline-block;
  height: 16px;
  width: auto;
  flex-shrink: 0;
  /* Override any inherited image sizing rules */
  max-height: 16px !important;
  min-height: 0 !important;
}

.hero-section .hero-title {
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.hero-section .hero-title .gradient-text {
  display: inline-block;
  position: relative;
  background: none !important;
  -webkit-text-fill-color: var(--ava-cream);
  color: var(--ava-cream);
  padding-bottom: 22px;  /* pushes the red rule away from the text so spacing balances */
}
.hero-section .hero-title .gradient-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 12%;
  bottom: 0;
  height: 8px;
  background: var(--ava-red);
  transform: skewX(-12deg);
  opacity: 0.92;
}
.hero-section .hero-title { margin-bottom: 22px; }  /* matches gradient-text padding-bottom for equidistant red rule */

.hero-section .hero-subtitle {
  margin: 0 0 36px;
  max-width: 720px;
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.95;
}

.hero-section .hero-buttons { justify-content: flex-start; }

/* Square-cornered editorial CTAs */
.hero-section .btn,
.senator-cta .btn {
  border-radius: 0 !important;
  font-family: 'Alegreya Sans', system-ui, sans-serif !important;
  letter-spacing: 3px !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  padding: 18px 36px !important;
  font-weight: 800 !important;
  position: relative;
}
.hero-section .btn-primary {
  background: var(--ava-red) !important;
  color: #FDF9F0 !important;
  box-shadow: 4px 4px 0 var(--ava-cream);
  border: 2px solid var(--ava-cream) !important;
}
.hero-section .btn-primary:hover {
  background: var(--ava-cream) !important;
  color: var(--ava-navy) !important;
  box-shadow: 6px 6px 0 var(--ava-red) !important;
  transform: translate(-2px, -2px) !important;
}
.hero-section .btn-secondary {
  border: 2px solid var(--ava-cream) !important;
  color: var(--ava-cream) !important;
  background: transparent !important;
}
.hero-section .btn-secondary:hover {
  background: var(--ava-cream) !important;
  color: var(--ava-navy) !important;
  border-color: var(--ava-cream) !important;
  box-shadow: 6px 6px 0 var(--ava-red) !important;
  transform: translate(-2px, -2px) !important;
}

/* Hero overlay — deeper navy so the video reads moodier under the copy */
.hero-section .hero-overlay {
  background: linear-gradient(95deg,
    rgba(35, 54, 79, 0.96) 0%,
    rgba(35, 54, 79, 0.88) 45%,
    rgba(35, 54, 79, 0.7) 75%,
    rgba(35, 54, 79, 0.55) 100%);
}

@media (max-width: 900px) {
  .hero-section .hero-overlay {
    background: linear-gradient(135deg, rgba(35, 54, 79, 0.94) 0%, rgba(35, 54, 79, 0.82) 100%);
  }
}

/* ---------- Candidate strip (NEW: between hero and about) ---------- */
.candidate-strip {
  background: #FFFFFF;
  border-top: 4px solid var(--ava-red);
  border-bottom: 1px solid rgba(35, 54, 79, 0.1);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.candidate-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(191, 56, 58, 0.045) 18px 19px),
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(191, 56, 58, 0.045) 18px 19px);
  pointer-events: none;
}
.candidate-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.candidate-strip-portrait {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--ava-navy);
  border: 4px solid var(--ava-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ava-cream);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(35, 54, 79, 0.18);
}
.candidate-strip-portrait svg { width: 56px; height: 56px; opacity: 0.6; }
.candidate-strip-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  /* Frame the head: nudges the focal point higher than dead-center */
  object-position: center 18%;
  display: block;
}
.candidate-strip-content { line-height: 1.4; }
.candidate-strip-eyebrow {
  display: block;
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ava-red);
  margin-bottom: 6px;
}
.candidate-strip-name {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ava-navy);
  margin: 0 0 6px;
  line-height: 1;
  letter-spacing: -0.005em;
}
.candidate-strip-district {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ava-red);
  vertical-align: 0.18em;
  margin-left: 0.2em;
}
/* "U.S. Senate Candidate" sub-line between name and bio meta */
.candidate-strip-role {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ava-red);
  margin: 0 0 10px;
  line-height: 1;
}
.candidate-strip-meta {
  font-family: 'Alegreya', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ava-navy);
  opacity: 0.78;
  margin: 0;
}
/* Mirror the hero btn-primary hard-shadow style, but in navy on the
   cream candidate strip. Hover swaps to the inverse color pairing. */
.candidate-strip-cta {
  border-radius: 0 !important;
  font-family: 'Alegreya Sans', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  padding: 18px 36px !important;
  background: var(--ava-navy) !important;
  color: var(--ava-cream) !important;
  border: 2px solid var(--ava-navy) !important;
  box-shadow: 4px 4px 0 var(--ava-red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.candidate-strip-cta:hover {
  background: var(--ava-red) !important;
  border-color: var(--ava-red) !important;
  color: #FDF9F0 !important;
  box-shadow: 6px 6px 0 var(--ava-navy) !important;
  transform: translate(-2px, -2px) !important;
}
.candidate-strip-cta::after {
  content: '→';
  display: inline-block;
  font-size: 16px;
  transition: transform 0.25s ease;
}
.candidate-strip-cta:hover::after { transform: translateX(4px); }

@media (max-width: 720px) {
  .candidate-strip-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .candidate-strip-portrait { margin: 0 auto; }
  .candidate-strip-cta { justify-self: center; }
}

/* ---------- Issues: numbered editorial list ---------- */
.issues-section .section-header { text-align: left; max-width: 720px; margin-bottom: 70px; }
.issues-section .section-header .accent-line { margin: 16px 0 28px; }
.issues-section .section-header .eyebrow { color: var(--ava-red); }
.issues-section .section-header .section-intro {
  text-align: left;
  max-width: 720px;
  margin: 0;
  font-family: 'Alegreya', Georgia, serif;
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: rgba(253, 248, 237, 0.85);
}

.issues-grid {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}
.issues-grid::before { display: none !important; }

.issue-card {
  height: auto !important;
  cursor: pointer;
  display: grid;
  grid-template-columns: 90px 1fr 1.2fr auto;
  align-items: center;
  gap: 36px;
  padding: 32px 36px;
  background: transparent !important;
  border-radius: 0 !important;
  border-top: 1px solid rgba(253, 248, 237, 0.14);
  box-shadow: none !important;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
  position: relative;
}
.issue-card:last-child { border-bottom: 1px solid rgba(253, 248, 237, 0.14); }
.issue-card::before { display: none !important; }
.issue-card::after {
  display: block !important;
  content: '' !important;
  position: absolute !important;
  inset: auto !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: 0 !important;
  height: auto !important;
  border: none !important;
  background: var(--ava-red);
  opacity: 0;
  transition: width 0.35s ease, opacity 0.35s ease;
}
.issue-card:hover {
  background: rgba(253, 248, 237, 0.04) !important;
  padding-left: 56px;
}
.issue-card:hover::after {
  width: 6px !important;
  opacity: 1;
}

.issue-card .issue-number {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--ava-red);
  letter-spacing: -0.02em;
  font-feature-settings: "lnum" 1;
}

.issue-card .issue-image-wrapper {
  position: static !important;
  width: 100%;
  height: 150px;  /* bumped from 110px to better suit the new 2:1 image aspect */
  border-radius: 0;
  overflow: hidden;
  position: relative !important;
  border: 2px solid rgba(253, 248, 237, 0.1);
  background: var(--ava-navy);  /* fallback color under the duotone */
  isolation: isolate;  /* contains mix-blend-mode within the wrapper */
}

/* ---------- RISOGRAPH DUOTONE TREATMENT ----------
   Default state: image gets converted to a stylized navy/red two-tone with a
   subtle paper-grain crosshatch overlay. Reads as designed editorial, not
   "stock photo." On hover the layers melt away to reveal the actual photo. */

.issue-card .issue-image-wrapper img,
.issue-card .issue-image-wrapper .attachment-large {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  /* Heavy grayscale + brightness pop makes the duotone overlay land cleanly */
  filter: grayscale(1) contrast(1.15) brightness(0.95);
  transition: filter 0.6s ease, transform 0.7s ease;
}

/* ::before — the duotone color wash. Sits over the image, uses mix-blend-mode
   to colorize the grayscale photo navy-where-dark, red-where-light. */
.issue-card .issue-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ava-navy) 0%, var(--ava-navy) 55%, var(--ava-red) 100%);
  mix-blend-mode: lighten;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* ::after — the crosshatch grain overlay (echoes the candidate-strip /
   contact-section pattern). Sits ABOVE the duotone color wash. */
.issue-card .issue-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(253, 248, 237, 0.10) 14px 15px),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(253, 248, 237, 0.10) 14px 15px);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.5s ease;
  /* Override the legacy bottom-fade gradient from the un-namespaced rule */
  height: 100%;
  background-color: transparent;
}

/* On hover: peel back both overlays AND the grayscale to reveal the full photo */
.issue-card:hover .issue-image-wrapper::before { opacity: 0; }
.issue-card:hover .issue-image-wrapper::after  { opacity: 0.4; }  /* keep faint texture */
.issue-card:hover .issue-image-wrapper img,
.issue-card:hover .issue-image-wrapper .attachment-large {
  filter: grayscale(0) contrast(1.05) brightness(1);
  transform: scale(1.04);
}
.issue-card .issue-icon-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: var(--ava-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FDF9F0;
  z-index: 2;
}
.issue-card .issue-icon-badge svg { width: 18px; height: 18px; }

.issue-card .issue-content {
  position: static !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 !important;
}
.issue-card .issue-title {
  font-family: 'Alegreya', Georgia, serif !important;
  font-size: clamp(22px, 1.9vw, 28px) !important;
  text-transform: uppercase;
  letter-spacing: 0.01em !important;
  text-shadow: none !important;
  color: var(--ava-cream) !important;
  margin: 0 !important;
}
.issue-card .issue-description {
  opacity: 1 !important;
  max-height: none !important;
  margin: 0 !important;
  font-family: 'Alegreya', Georgia, serif !important;
  font-style: italic;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: rgba(253, 248, 237, 0.7) !important;
}
.issue-card .issue-btn {
  opacity: 1 !important;
  transform: none !important;
  font-family: 'Alegreya Sans', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 3px !important;
  color: var(--ava-cream) !important;
  text-transform: uppercase !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(253, 248, 237, 0.35);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.issue-card:hover .issue-btn {
  background: var(--ava-red);
  border-color: var(--ava-red);
  color: #FDF9F0 !important;
}

@media (max-width: 1024px) {
  .issue-card {
    grid-template-columns: 70px 1fr;
    gap: 22px;
    padding: 28px 24px;
  }
  .issue-card:hover { padding-left: 36px; }
  .issue-card .issue-number { font-size: 44px; }
  .issue-card .issue-image-wrapper {
    grid-column: 1 / -1;
    height: 220px;  /* taller mobile/tablet treatment to match the new aspect */
    margin-top: 14px;
  }
  .issue-card .issue-content { grid-column: 2 / 3; }
  .issue-card .issue-btn { grid-column: 2 / 3; justify-self: start; }
}

/* ---------- Star/cross seperator ornament ---------- */
.ava-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px 0;
  color: var(--ava-red);
  font-size: 14px;
  letter-spacing: 8px;
}
.ava-ornament .rule {
  flex: 0 0 60px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.ava-ornament .stars { font-size: 12px; }

/* ---------- About section: lean editorial layout ---------- */
.about-section .section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.about-section .section-header .accent-line { margin: 14px auto 0; }
.about-section .eyebrow { color: var(--ava-red) !important; }
.about-section .section-title { color: var(--ava-navy); }

.about-prose {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.about-prose p {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.7;
  color: var(--ava-navy);
  margin: 0 0 1.2em;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose p:first-of-type::first-letter {
  font-family: 'Alegreya', Georgia, serif;
  font-weight: 900;
  font-size: 4.4em;
  line-height: 0.88;
  float: left;
  padding: 0.05em 0.12em 0 0;
  color: var(--ava-red);
}

/* Sign-off seal: closes the section like a wax stamp on a letter. */
.about-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 80px auto 0;
}
.about-seal img {
  width: 170px;
  height: auto;
  display: block;
  /* Soft navy-tinted drop shadow makes the seal feel pressed onto the page */
  filter: drop-shadow(0 6px 14px rgba(35, 54, 79, 0.18));
  transition: transform 0.4s ease;
}
.about-seal:hover img {
  transform: scale(1.02) rotate(-1.5deg);
}
.about-seal-caption {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ava-navy);
  opacity: 0.55;
}
.about-seal-caption .ava-and {
  color: var(--ava-red);
  font-style: italic;
  font-weight: 500;
  margin: 0 2px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  opacity: 1;
}

@media (max-width: 600px) {
  .about-seal img { width: 130px; }
  .about-seal { margin-top: 60px; }
}

/* ---------- Container narrower for editorial readability ---------- */
:root { --container-width: 1200px; }

/* Section title sizes — tighten now that we lean editorial */
.section-title {
  font-weight: 900;
  letter-spacing: -0.005em;
}

/* ==========================================
   BIO PAGE — POSITION PAPER LAYOUT
   Used by page-about-barry-moore.php. Single column, document/manifesto
   feel. Intentionally avoids the hero+grid+pillars architecture used on
   peer "About the Senator" sites.
   ========================================== */

.bio-document {
  background: var(--ava-cream);
  color: var(--ava-navy);
  padding: 160px 0 100px;
  font-family: 'Alegreya', Georgia, serif;
  position: relative;
  overflow: hidden;
}

/* Subtle red crosshatch to tie back to the candidate-strip + contact treatments */
.bio-document::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(191, 56, 58, 0.03) 22px 23px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(191, 56, 58, 0.03) 22px 23px);
  pointer-events: none;
  z-index: 0;
}

.bio-document > * { position: relative; z-index: 1; }

.bio-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Document header ----- */
.bio-header { margin-bottom: 90px; }

.bio-kicker {
  display: block;
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ava-red);
  margin-bottom: 36px;
}

.bio-title {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(46px, 7.5vw, 88px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.012em;
  color: var(--ava-navy);
  text-transform: none;
  margin: 0 0 32px;
}
.bio-title .bio-name {
  color: var(--ava-red);
  display: inline;
}

.bio-thesis {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(20px, 1.55vw, 24px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ava-navy);
  margin: 0 0 32px;
  max-width: 640px;
}

.bio-meta {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(35, 54, 79, 0.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.bio-meta-sep {
  margin: 0 14px;
  color: var(--ava-red);
  opacity: 0.7;
}

.bio-header-rule {
  width: 100%;
  height: 1px;
  background: rgba(35, 54, 79, 0.18);
  margin-top: 48px;
}

/* ----- Body sections ----- */
.bio-body { margin-bottom: 100px; }

.bio-section { margin-bottom: 80px; }
.bio-section:last-child { margin-bottom: 0; }

/* Section label is now <h2>; override the global h1-h6 cascade (serif/upper) */
h2.bio-section-label,
.bio-section-label {
  display: block;
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ava-navy);
  margin: 0 0 14px;
  line-height: 1.3;
}
.bio-section-num {
  color: var(--ava-red);
  margin-right: 14px;
  font-weight: 900;
}

.bio-section-rule {
  width: 64px;
  height: 4px;
  background: var(--ava-red);
  margin-bottom: 30px;
}

.bio-prose {
  font-size: 19px;
  line-height: 1.75;
  color: var(--ava-navy);
}
.bio-prose p { margin: 0 0 1.2em; }
.bio-prose p:last-child { margin-bottom: 0; }
.bio-prose strong { color: var(--ava-navy); font-weight: 800; }

.bio-prose-dropcap p:first-of-type::first-letter {
  font-family: 'Alegreya', Georgia, serif;
  font-weight: 900;
  font-size: 4.4em;
  line-height: 0.88;
  float: left;
  padding: 0.05em 0.14em 0 0;
  color: var(--ava-red);
}

/* ----- Pull quote (mid-section, breaks the column) ----- */
.bio-pullquote {
  border-left: 4px solid var(--ava-red);
  padding: 8px 0 8px 28px;
  margin: 44px 0 44px;
  background: transparent;
}
.bio-pullquote p {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(22px, 2vw, 28px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.42;
  color: var(--ava-navy);
  margin: 0 0 14px;
}
.bio-pullquote strong {
  font-style: normal;
  font-weight: 800;
  color: var(--ava-red);
}
.bio-pullquote cite {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-style: normal;
  color: var(--ava-navy);
  display: block;
}
.bio-pullquote cite::before {
  content: '— ';
  opacity: 0.6;
}

/* ----- Sign-off ----- */
.bio-signoff {
  text-align: center;
  border-top: 1px solid rgba(35, 54, 79, 0.15);
  padding-top: 60px;
}
.bio-signoff-seal {
  width: 110px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(35, 54, 79, 0.18));
}
.bio-signoff-name {
  font-family: 'Alegreya', Georgia, serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ava-navy);
  margin: 0 0 6px;
}
.bio-signoff-name .ava-and {
  color: var(--ava-red);
  font-style: italic;
  font-weight: 500;
  margin: 0 2px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.bio-signoff-date {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(35, 54, 79, 0.55);
  margin: 0 0 32px;
}
.bio-signoff-cta {
  display: inline-block;
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ava-navy);
  border-bottom: 2px solid var(--ava-red);
  padding-bottom: 4px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.bio-signoff-cta:hover {
  color: var(--ava-red);
  transform: translateX(2px);
}

@media (max-width: 700px) {
  .bio-document { padding: 110px 0 70px; }
  .bio-header { margin-bottom: 60px; }
  .bio-section { margin-bottom: 56px; }
  .bio-pullquote { padding-left: 20px; margin: 32px 0; }
  .bio-meta { font-size: 10px; gap: 4px 0; }
  .bio-meta-sep { margin: 0 8px; }
  .bio-prose { font-size: 17px; }
}