/*
Theme Name: Elena Vance for State Senate
Theme URI: https://colourfully.digital/elena-vance
Description: Custom, high-performance political campaign theme built from scratch. Features Utopia fluid typography, Every-Layout intrinsic layouts, zero-bloat dynamic menus, and custom plugin-free AJAX forms.
Version: 1.0.0
Author: David Elisma & Antigravity
Author URI: https://colourfully.digital
Text Domain: elena-vance
*/

/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES (Utopia.fyi & Functional Mapping)
   ========================================================================== */
:root {
  /* Color Palette (Functional Campaign Roles) */
  --primary-color: #000624;    /* Deep Campaign Navy */
  --secondary-color: #7dd6ea;  /* Sky Cyan Accent */
  --accent-color: #0d4f3d;     /* Forest Green Accent */
  --text-dark: #000624;        /* Rich Navy Dark Text */
  --text-light: #ffffff;       /* Pure White Text */
  --bg-light: #f1f5ed;         /* Soft Organic Sage Background */
  --bg-white: #ffffff;         /* Pure White Background */

  /* Typography Stacks */
  --font-heading: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Lora", Georgia, serif;

  /* Utopia.fyi Fluid Type Scale (Between 320px and 1240px viewports) */
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);       /* Body text */
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);        /* Sub-headings */
  --step-2: clamp(1.44rem, 1.32rem + 0.6vw, 1.75rem);      /* H3 headings */
  --step-3: clamp(1.728rem, 1.55rem + 0.89vw, 2.188rem);   /* H2 headings */
  --step-4: clamp(2.074rem, 1.82rem + 1.27vw, 2.734rem);   /* Primary section headers */
  --step-5: clamp(2.488rem, 2.13rem + 1.79vw, 3.418rem);   /* Massive Hero title */

  /* Utopia.fyi Fluid Spacing Scale */
  --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.625rem);
  --space-s: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --space-m: clamp(1.5rem, 1.37rem + 0.65vw, 1.875rem);
  --space-l: clamp(2rem, 1.78rem + 1.1vw, 2.75rem);
  --space-xl: clamp(3rem, 2.68rem + 1.6vw, 4.125rem);
  --space-xxl: clamp(4.5rem, 3.98rem + 2.6vw, 6.125rem);

  /* Layout Constants */
  --grid-gap: var(--space-m);
  --border-radius: 4px;
  --header-height: 80px;
  --transition-speed: 0.3s;
}

/* ==========================================================================
   2. BASIC RESET & CORE HTML5 STYLING
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: var(--space-s);
  color: var(--text-dark);
}

h1 { font-size: var(--step-5); letter-spacing: -0.03em; }
h2 { font-size: var(--step-4); letter-spacing: -0.02em; text-transform: uppercase; }
h3 { font-size: var(--step-3); text-transform: uppercase; }
h4 { font-size: var(--step-2); }
p { margin-top: 0; margin-bottom: var(--space-m); }

/* Typography & Color Helper Utilities */
.font-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none; /* Serifs shouldn't be forced uppercase */
}

.text-navy { color: var(--primary-color); }
.text-cyan { color: var(--secondary-color); }
.text-light { color: var(--text-light); }
.bg-navy { background-color: var(--primary-color); }
.bg-sage { background-color: var(--bg-light); }
.bg-cyan { background-color: var(--secondary-color); }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-color);
}

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

input, button, select, textarea {
  font: inherit;
}

/* ==========================================================================
   3. EVERY-LAYOUT INTRINSIC WRAPPERS (Andy Bell Paradigm)
   ========================================================================== */

/* The Stack: Manages vertical flow rhythm */
.l-stack > * + * {
  margin-top: var(--space-m);
}

.l-stack-large > * + * {
  margin-top: var(--space-xl);
}

.l-stack-small > * + * {
  margin-top: var(--space-xs);
}

/* The Center: Handles horizontal boundaries and centration */
.l-center {
  box-sizing: content-box;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-m);
  padding-right: var(--space-m);
}

/* The Sidebar: 2-column flexbox wrapper which wraps naturally based on threshold */
.l-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-l);
  align-items: center;
}

.l-sidebar > :first-child {
  flex-grow: 1;
  flex-basis: 400px; /* Sidebar item threshold (e.g. image wrapper) */
}

.l-sidebar > :last-child {
  flex-grow: 999;
  flex-basis: 0;
  min-width: 50%; /* Text block expands to fill major portion */
}

/* The Switcher: Automatically switches horizontal columns into a stack */
.l-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
}

.l-switcher > * {
  flex-grow: 1;
  flex-basis: calc((40rem - 100%) * 999); /* 40rem is the breakpoint threshold */
}

/* The Grid: Browser-driven clean CSS grid auto-fit layout */
.l-grid {
  display: grid;
  grid-gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

/* ==========================================================================
   4. DESIGN SYSTEM COMPONENTS & LAYOUTS
   ========================================================================== */

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-s) var(--space-l);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-speed) ease-in-out;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* Dynamic Header Scroll and Sticky Panel */
#top-sentinel {
  height: 0;
  width: 100%;
  position: absolute;
  top: 0;
}

.header-banner {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: var(--space-xs);
  font-size: var(--step-0);
  font-weight: 700;
}

.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: var(--space-m) 0;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.is-scrolled {
  background-color: var(--bg-white);
  padding: var(--space-s) 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  font-family: var(--font-heading);
  font-size: var(--step-2);
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.main-header.is-scrolled .logo-link {
  color: var(--primary-color);
}

/* Clean Dynamic Menu Wrap */
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-m);
}

.nav-list a {
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  font-size: var(--step-0);
  letter-spacing: 0.05em;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
}

.main-header.is-scrolled .nav-list a {
  color: var(--text-dark);
}

.nav-list a:hover,
.nav-list .current-menu-item a {
  border-color: var(--secondary-color);
  color: var(--secondary-color) !important;
}

/* ==========================================================================
   5. UNIQUE HOMEPAGE SECTIONS
   ========================================================================== */

/* Hero splash section */
.hero-section {
  padding-top: calc(var(--header-height) + var(--space-m));
  padding-bottom: var(--space-xl);
}

.hero-title {
  font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.1em;
  line-height: 1.05;
}

.hero-sub {
  font-size: var(--step-2);
  margin: 0;
}

.hero-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.hero-image-container {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero-form-card {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  justify-self: end;
  align-self: start;
  margin-top: var(--space-l);
  margin-right: var(--space-l);
  z-index: 10;
  width: 100%;
  max-width: 360px;
  padding: var(--space-l);
  box-shadow: 0 10px 40px rgba(0, 6, 36, 0.15);
}

.hero-form-card .form-title {
  margin-bottom: var(--space-m);
  font-size: var(--step-2);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Minimalist Form Controls */
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-s);
}

.form-control-minimal {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--primary-color);
  padding: var(--space-s) 0;
  color: var(--primary-color);
  font-size: var(--step-0);
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.form-control-minimal::placeholder {
  color: rgba(0, 6, 36, 0.5);
  font-weight: 600;
}

.form-control-minimal:focus {
  border-bottom-color: var(--accent-color);
}

.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-top: var(--space-s);
  margin-bottom: var(--space-m);
}

.form-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.checkbox-label {
  font-size: calc(var(--step-0) * 0.85);
  line-height: 1.4;
  cursor: pointer;
}

/* Campaign Buttons */
.btn-navy {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-navy:hover {
  background-color: #0b1f3c;
  color: var(--text-light);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hero-body-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
  }
  
  .hero-form-card {
    margin: 0;
    max-width: 100%;
  }
}

/* Bio section */
.bio-section {
  padding: var(--space-xxl) 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.bio-image-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 440px;
}

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

.bio-text-wrapper {
  max-width: 600px;
}

.bio-title {
  font-size: var(--step-3);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.bio-subtitle {
  font-size: var(--step-1);
  margin-top: 0;
  margin-bottom: var(--space-m);
}

.bio-copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--step-0);
  line-height: 1.7;
}

/* Volunteer Section & Form */
.volunteer-section {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-light);
}

.form-card {
  background-color: var(--bg-white);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: var(--space-m);
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  font-size: var(--step-0);
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: var(--space-s);
  border: 2px solid var(--bg-light);
  border-radius: var(--border-radius);
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--bg-white);
}

/* Form Response notifications */
.form-response {
  display: none;
  margin-top: var(--space-m);
  padding: var(--space-s);
  border-radius: var(--border-radius);
  font-weight: 700;
  text-align: center;
}

.form-response.success {
  display: block;
  background-color: #effae5;
  color: #0d4f3d;
  border: 1px solid #97c693;
}

.form-response.error {
  display: block;
  background-color: #fcebeb;
  color: #9c2426;
  border: 1px solid #f4b8b9;
}

/* ==========================================================================
   6. FOOTER & DISCLOSURES
   ========================================================================== */
.main-footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: var(--space-xl) 0;
  text-align: center;
  font-size: var(--step-0);
}

.campaign-disclosure {
  display: inline-block;
  border: 2px solid var(--text-light);
  padding: var(--space-s) var(--space-l);
  margin-bottom: var(--space-m);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--step-0);
}

.footer-nav-list {
  justify-content: center;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav-list a:hover {
  color: var(--text-light);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-m);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.social-link:hover {
  color: var(--text-light);
  transform: translateY(-2px);
}

.copyright {
  font-size: calc(var(--step-0) * 0.85);
  opacity: 0.7;
}

.copyright a {
  color: var(--text-light);
  text-decoration: underline;
}

/* ==========================================================================
   7. ADDITIONAL COMPONENT STYLES
   ========================================================================== */

/* Hero subtitle */
.hero-subtitle {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-l);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: center;
}

/* Volunteer benefits list */
.volunteer-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.volunteer-benefits li {
  font-size: var(--step-0);
  padding: var(--space-xs) 0;
}

/* Full-width button modifier */
.btn-full {
  width: 100%;
}

/* Bio image placeholder */
.bio-image-placeholder {
  border-radius: var(--border-radius);
}

/* ==========================================================================
   8. MOBILE MENU TOGGLE
   ========================================================================== */

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-speed) ease;
}

.main-header.is-scrolled .menu-toggle-bar {
  background-color: var(--text-dark);
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Nav donate button in header */
.nav-donate-btn {
  padding: var(--space-xs) var(--space-m);
  font-size: calc(var(--step-0) * 0.85);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINT (Mobile Nav Collapse Only)
   We use a single breakpoint only for the hamburger menu.
   All layout reflow is intrinsic via Every-Layout primitives.
   ========================================================================== */

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--text-dark);
    flex-direction: column;
    padding: var(--space-xxl) var(--space-l);
    transition: right var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  }

  .main-nav.is-open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-l);
  }

  .nav-list a {
    color: var(--text-light) !important;
    font-size: var(--step-1);
  }

  .nav-donate-btn {
    width: 100%;
    text-align: center;
    margin-top: var(--space-m);
  }
}

/* ==========================================================================
   10. ACCESSIBILITY UTILITIES
   ========================================================================== */

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible ring */
:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

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

/* ==========================================================================
   11. SCROLLING TICKER RIBBON
   ========================================================================== */
.ticker-band {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  padding: var(--space-m) 0;
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 35s linear infinite;
}

.ticker-text {
  font-family: var(--font-heading);
  font-size: var(--step-4);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding-right: var(--space-s);
}

@keyframes ticker-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   12. KEY INITIATIVES / MAIN ISSUES
   ========================================================================== */
.initiatives-section {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-light);
}

.initiatives-text-wrapper {
  max-width: 500px;
}

.initiatives-section .section-title {
  font-size: var(--step-3);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.initiatives-section .section-intro {
  font-size: var(--step-1);
  margin-top: 0;
  margin-bottom: var(--space-l);
  line-height: 1.5;
}

.initiatives-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.initiatives-list li {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  padding: var(--space-s) 0;
  border-bottom: 1px solid rgba(0, 6, 36, 0.15);
  font-size: var(--step-1);
  color: var(--primary-color);
}

.initiatives-list li:first-child {
  border-top: 1px solid rgba(0, 6, 36, 0.15);
}

.initiatives-list .bullet {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--step-2);
}

.initiatives-list .text {
  font-size: var(--step-1);
}

.initiatives-image-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 6, 36, 0.1);
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 580px;
}

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

/* ==========================================================================
   13. CAMPAIGN NEWS & UPDATES (News Section)
   ========================================================================== */
.news-section {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-light);
}

.news-section .section-title {
  font-size: var(--step-3);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
  text-align: center;
}

.news-subtitle {
  font-size: var(--step-1);
  text-align: center;
  margin-top: 0;
  margin-bottom: var(--space-xl);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-l);
}

.news-card {
  background: transparent;
  transition: transform var(--transition-speed) ease;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-card-link-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-card-image-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 6, 36, 0.08);
  aspect-ratio: 1 / 1;
  width: 100%;
  background-color: rgba(0, 6, 36, 0.05);
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.news-card-content {
  padding: var(--space-s) 0;
}

.news-card-meta {
  font-size: calc(var(--step-0) * 0.8);
  font-weight: 600;
  color: rgba(0, 6, 36, 0.6);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.meta-sep {
  margin: 0 var(--space-xs);
}

.news-card-title {
  font-size: var(--step-1);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  text-transform: none; /* news titles are standard casing */
}

.news-footer {
  text-align: center;
  margin-top: var(--space-xl);
}

.btn-more-news {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  font-family: var(--font-heading);
  font-size: var(--step-0);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-xs) var(--space-m);
  border-bottom: 2px solid var(--primary-color);
  transition: gap var(--transition-speed) ease;
}

.btn-more-news:hover {
  gap: var(--space-m);
}

/* ==========================================================================
   14. STAND WITH ELENA (Volunteer Section)
   ========================================================================== */
.volunteer-section {
  padding: var(--space-xxl) 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.volunteer-image-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 440px;
}

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

.volunteer-cta-form-container {
  max-width: 500px;
}

.volunteer-section .section-title {
  font-size: var(--step-3);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.volunteer-subtitle {
  font-size: var(--step-1);
  margin-top: 0;
  margin-bottom: var(--space-l);
}

.volunteer-form-wrapper {
  margin-top: var(--space-m);
}

/* Minimalist Form Controls (Light / Over Navy) */
.form-control-minimal-light {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--text-light);
  padding: var(--space-s) 0;
  color: var(--text-light);
  font-size: var(--step-0);
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.form-control-minimal-light::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.form-control-minimal-light:focus {
  border-bottom-color: var(--secondary-color);
}

/* Sky Cyan Buttons */
.btn-cyan {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 800;
}

.btn-cyan:hover {
  background-color: #5ec0d8;
  color: var(--primary-color);
  transform: translateY(-1px);
}

/* ==========================================================================
   15. YOUR SUPPORT / DONATION SECTION
   ========================================================================== */
.support-section {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-light);
}

.support-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.support-section .section-title {
  font-size: var(--step-3);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-m);
}

.support-image-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 6, 36, 0.1);
  aspect-ratio: 0.783;
  width: 100%;
  max-width: 380px;
}

.support-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-action-block {
  margin-top: var(--space-m);
  max-width: 500px;
}

.support-cta-text {
  font-size: var(--step-1);
  color: var(--primary-color);
  line-height: 1.4;
  margin-bottom: var(--space-m);
}

.btn-donate-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-s) var(--space-xl);
  font-family: var(--font-heading);
  font-size: var(--step-0);
  font-weight: 700;
  border-radius: 9999px; /* Pill button styling for Donation */
  letter-spacing: 0.05em;
  transition: all var(--transition-speed) ease;
}

/* ==========================================================================
   16. CAMPAIGN FOOTER & CONNECT SIGNUP (Footer Section)
   ========================================================================== */
.main-footer {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding: var(--space-xxl) 0 var(--space-l) 0;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.footer-title {
  font-size: var(--step-4);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xs);
}

.footer-subtitle {
  font-size: var(--step-1);
  margin-top: 0;
  margin-bottom: var(--space-l);
  color: rgba(0, 6, 36, 0.8);
}

.social-links-grid {
  display: flex;
  gap: var(--space-m);
}

.social-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.social-link-icon:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.footer-contact-details {
  font-size: var(--step-0);
  color: rgba(0, 6, 36, 0.8);
  font-weight: 600;
}

.footer-contact-details p {
  margin: 0;
}

.footer-divider {
  border: none;
  border-top: 2px solid var(--primary-color);
  margin: var(--space-xl) 0 var(--space-l) 0;
  opacity: 0.9;
}

.footer-bottom-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-m);
}

.footer-meta-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-s);
  font-size: calc(var(--step-0) * 0.85);
  font-weight: 600;
}

.footer-meta-links .sep {
  opacity: 0.3;
}

.footer-meta-links a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.campaign-disclosure-box {
  display: inline-block;
  border: 2px solid var(--primary-color);
  padding: var(--space-s) var(--space-l);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: calc(var(--step-0) * 0.85);
}

@media (max-width: 768px) {
  .footer-bottom-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-m);
  }
}
