/*
 * George Hubac for FL-3 Campaign Website
 * CSS Foundation - ADA Compliant, Independence-Themed
 *
 * Color Philosophy:
 * - Forest green: growth, stability, the trunk
 * - Warm gold: hope, the future we're building
 * - Cream: openness, warmth, readability
 * - Terracotta: earth, warmth, Florida
 *
 * No red or blue - American, not partisan
 */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Primary Palette */
  --trunk: #1a3c34;           /* Deep forest green */
  --trunk-light: #2d5a4e;     /* Lighter green for hover */
  --branch-floor: #4a7c59;    /* Your Floor - grounded green */
  --branch-community: #6b8e4e;/* Your Community - living green */
  --branch-future: #8fa847;   /* Your Future - new growth */

  /* Accent Colors */
  --gold: #c7923e;            /* Warm amber/gold */
  --gold-light: #daa855;      /* Lighter gold for hover */
  --terracotta: #a85d43;      /* Warm earth accent */
  --terracotta-light: #c47257;

  /* Neutrals */
  --cream: #f8f5ef;           /* Warm white background */
  --cream-dark: #ede8df;      /* Slightly darker for cards */
  --slate: #2d3748;           /* Primary text */
  --slate-light: #4a5568;     /* Secondary text */
  --slate-lighter: #596878;   /* Tertiary text */

  /* Semantic Colors */
  --text-primary: var(--slate);
  --text-secondary: var(--slate-light);
  --text-inverse: var(--cream);
  --bg-primary: var(--cream);
  --bg-secondary: var(--cream-dark);
  --link: var(--trunk);
  --link-hover: var(--trunk-light);
  --focus-ring: var(--gold);

  /* Typography Scale */
  --font-base: 1.125rem;      /* 18px base for readability */
  --font-sm: 0.889rem;        /* ~16px */
  --font-lg: 1.266rem;        /* ~22px */
  --font-xl: 1.424rem;        /* ~25px */
  --font-2xl: 1.802rem;       /* ~32px */
  --font-3xl: 2.281rem;       /* ~41px */
  --font-4xl: 2.887rem;       /* ~52px */

  /* Font Stacks - System fonts for performance */
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 72rem;
  --content-width: 48rem;
  --sidebar-width: 16rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* Borders */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--trunk);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-4xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-3xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-2xl);
}

h4 {
  font-size: var(--font-xl);
}

h5 {
  font-size: var(--font-lg);
}

h6 {
  font-size: var(--font-base);
}

p {
  margin-bottom: var(--space-md);
  max-width: 65ch; /* Optimal line length for readability */
}

/* Lead paragraph */
.lead {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Links & Focus States (ADA Critical)
   ============================================ */
a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color var(--transition-fast);
}

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

/* High-visibility focus indicator */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Remove outline for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ============================================
   Skip Link (ADA Required)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--trunk);
  color: var(--text-inverse);
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-md);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================
   Layout Components
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--content-width);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--hero {
  padding: var(--space-4xl) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--cream-dark);
  padding: var(--space-md) 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.site-logo {
  font-family: var(--font-serif);
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--trunk);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--trunk-light);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-xs);
}

.site-nav__link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.site-nav__link:hover {
  background-color: var(--cream-dark);
  color: var(--trunk);
}

.site-nav__link[aria-current="page"] {
  background-color: var(--trunk);
  color: var(--text-inverse);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--trunk);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  cursor: pointer;
  color: var(--trunk);
}

/* Mobile navigation */
@media (max-width: 48rem) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--cream-dark);
    padding: var(--space-md);
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .site-nav__list[data-open="true"] {
    display: flex;
  }

  .site-nav__link {
    padding: var(--space-md);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: inherit;
  font-size: var(--font-base);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn--primary {
  background-color: var(--trunk);
  color: var(--text-inverse);
  border-color: var(--trunk);
}

.btn--primary:hover {
  background-color: var(--trunk-light);
  border-color: var(--trunk-light);
}

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

.btn--secondary:hover {
  background-color: var(--trunk);
  color: var(--text-inverse);
}

.btn--gold {
  background-color: var(--gold);
  color: var(--slate);
  border-color: var(--gold);
}

.btn--gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-lg);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card--floor {
  border-left: 4px solid var(--branch-floor);
}

.card--community {
  border-left: 4px solid var(--branch-community);
}

.card--future {
  border-left: 4px solid var(--branch-future);
}

.card--vets {
  border-left: 4px solid var(--gold);
}

.card__title {
  font-size: var(--font-xl);
  margin-bottom: var(--space-sm);
}

.card__subtitle {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* ============================================
   The Tree - Homepage Hero
   ============================================ */
.tree-hero {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.tree-hero__intro {
  max-width: 36rem;
  margin: 0 auto var(--space-2xl);
}

.tree-hero__tagline {
  font-family: var(--font-serif);
  font-size: var(--font-xl);
  font-style: italic;
  color: var(--text-secondary);
  margin-top: var(--space-md);
}

/* Tree visualization container */
.tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}

.tree__trunk {
  background: var(--trunk);
  color: var(--text-inverse);
  padding: var(--space-xl) var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.tree__trunk h2 {
  color: var(--text-inverse);
  margin-bottom: var(--space-sm);
}

.tree__trunk p {
  margin: 0;
  opacity: 0.9;
}

/* Branch connectors */
.tree__connectors {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-lg);
}

.tree__connector {
  width: 4px;
  height: 40px;
  background: var(--trunk);
}

.tree__connector--left {
  transform: rotate(-30deg);
  transform-origin: top center;
}

.tree__connector--center {
  transform: none;
}

.tree__connector--right {
  transform: rotate(30deg);
  transform-origin: top center;
}

/* Branches */
.tree__branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  width: 100%;
}

@media (max-width: 48rem) {
  .tree__branches {
    grid-template-columns: 1fr;
  }

  .tree__connectors {
    display: none;
  }
}

.branch {
  display: block;
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  border-top: 4px solid transparent;
}

.branch:hover,
.branch:focus {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.branch--floor {
  border-top-color: var(--branch-floor);
}

.branch--floor:hover,
.branch--floor:focus {
  background-color: rgba(74, 124, 89, 0.1);
}

.branch--community {
  border-top-color: var(--branch-community);
}

.branch--community:hover,
.branch--community:focus {
  background-color: rgba(107, 142, 78, 0.1);
}

.branch--future {
  border-top-color: var(--branch-future);
}

.branch--future:hover,
.branch--future:focus {
  background-color: rgba(143, 168, 71, 0.1);
}

.branch__question {
  font-family: var(--font-serif);
  font-size: var(--font-lg);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.branch__title {
  font-size: var(--font-2xl);
  margin-bottom: var(--space-sm);
}

.branch__subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.branch__cta {
  font-weight: 600;
  color: var(--trunk);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ============================================
   Content Pages
   ============================================ */
.page-header {
  text-align: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: var(--space-2xl);
}

.page-header--floor {
  border-bottom-color: var(--branch-floor);
}

.page-header--community {
  border-bottom-color: var(--branch-community);
}

.page-header--future {
  border-bottom-color: var(--branch-future);
}

.page-header--vets {
  border-bottom-color: var(--gold);
}

.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.content-section {
  margin-bottom: var(--space-3xl);
}

.content-section__title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.content-section__icon {
  width: 48px;
  height: 48px;
  background: var(--cream-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-xl);
}

/* Blockquotes for key phrases */
blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-size: var(--font-lg);
  font-style: italic;
  color: var(--text-secondary);
}

blockquote cite {
  display: block;
  margin-top: var(--space-md);
  font-size: var(--font-sm);
  font-style: normal;
  font-weight: 600;
  color: var(--trunk);
}

/* ============================================
   About/Story Page
   ============================================ */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.story-section:nth-child(even) {
  direction: rtl;
}

.story-section:nth-child(even) > * {
  direction: ltr;
}

@media (max-width: 48rem) {
  .story-section,
  .story-section:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.story-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--cream-dark);
}

/* Timeline for journey */
.timeline {
  position: relative;
  padding-left: var(--space-2xl);
  list-style: none;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--trunk), var(--gold));
  border-radius: var(--radius-full);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--cream-dark);
}

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

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-2xl) - 2px);
  top: var(--space-xs);
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 4px solid var(--bg-primary);
  border-radius: var(--radius-full);
}

.timeline__period {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.timeline__title {
  font-size: var(--font-lg);
  margin-bottom: var(--space-sm);
}

.timeline__item--gap {
  border-bottom-style: dashed;
  opacity: 0.85;
}

.timeline__item--gap::before {
  background: transparent;
  border-color: var(--gold);
}

.timeline__item--gap .timeline__period {
  color: var(--slate-light);
}

.timeline__item--gap .timeline__title {
  font-style: italic;
}

/* ============================================
   Together Page (MAGA Empathy)
   ============================================ */
.empathy-intro {
  background: linear-gradient(135deg, var(--trunk) 0%, var(--trunk-light) 100%);
  color: var(--text-inverse);
  padding: var(--space-3xl);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.empathy-intro h1 {
  color: var(--text-inverse);
}

.empathy-intro .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 40rem;
  margin: 0 auto;
}

.common-ground {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.common-ground__item {
  background: var(--cream-dark);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
}

.common-ground__icon {
  font-size: var(--font-3xl);
  margin-bottom: var(--space-md);
}

/* ============================================
   Join/Action Page
   ============================================ */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.action-card {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-normal);
}

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

.action-card__icon {
  width: 64px;
  height: 64px;
  background: var(--trunk);
  color: var(--text-inverse);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-2xl);
  margin: 0 auto var(--space-lg);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: inherit;
  font-size: var(--font-base);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-md);
  background: white;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--trunk);
  outline: none;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--trunk);
  color: var(--text-inverse);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-4xl);
}

.site-footer a {
  color: var(--cream);
}

.site-footer a:hover {
  color: var(--gold);
}

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

.footer-section h3 {
  color: var(--gold);
  font-size: var(--font-lg);
  margin-bottom: var(--space-md);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--font-sm);
  opacity: 0.8;
}

/* ============================================
   Utility Classes
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ============================================
   Homepage Hero - Restructured
   ============================================ */
.hero-candidate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: 70vh;
  padding: var(--space-3xl) 0;
}

.hero-candidate__content {
  max-width: 36rem;
}

.hero-candidate__label {
  font-family: var(--font-sans);
  font-size: var(--font-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.hero-candidate__name {
  font-size: var(--font-4xl);
  margin-bottom: var(--space-xs);
}

.hero-candidate__office {
  font-family: var(--font-sans);
  font-size: var(--font-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.hero-candidate__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  list-style: none;
}

.hero-candidate__credentials li {
  font-family: var(--font-sans);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--trunk);
  padding: var(--space-xs) var(--space-md);
  background: var(--cream-dark);
  border-radius: var(--radius-full);
}

/* Photo placeholder */
.hero-candidate__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
  max-height: 480px;
  background: linear-gradient(135deg, var(--trunk) 0%, var(--trunk-light) 100%);
  border-radius: var(--radius-lg);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: var(--font-4xl);
  font-weight: 700;
  opacity: 0.9;
}

@media (max-width: 48rem) {
  .hero-candidate {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: var(--space-2xl) 0;
  }

  .hero-candidate__credentials {
    justify-content: center;
  }

  .hero-candidate__photo {
    max-height: 320px;
    order: -1;
    margin: 0 auto;
    width: 100%;
    max-width: 280px;
  }
}

/* ============================================
   District Assets Grid
   ============================================ */
.assets-section {
  background-color: var(--cream-dark);
  padding: var(--space-3xl) 0;
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.asset {
  text-align: center;
  padding: var(--space-lg);
}

.asset__number {
  font-family: var(--font-serif);
  font-size: var(--font-3xl);
  font-weight: 700;
  color: var(--trunk);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.asset__label {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.asset__detail {
  font-size: var(--font-sm);
  color: var(--slate-lighter);
  margin-bottom: 0;
}

/* ============================================
   Pivot Statement
   ============================================ */
.pivot-statement {
  font-family: var(--font-serif);
  font-size: var(--font-2xl);
  color: var(--trunk);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.4;
}

/* ============================================
   Personal Aside - Candidate's own story
   ============================================ */
.personal-aside {
  margin: var(--space-xl) 0;
  padding: var(--space-md) var(--space-lg);
  border-left: 4px solid var(--terracotta);
  background: rgba(168, 93, 67, 0.05);
  border-radius: var(--radius-sm);
  font-style: italic;
}

.personal-aside p {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.personal-aside p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Callout - Key policy position / takeaway
   ============================================ */
.callout {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  border-left: 4px solid var(--trunk);
  background: rgba(26, 60, 52, 0.07);
  border-radius: var(--radius-sm);
}

.callout p {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--trunk);
  margin-bottom: var(--space-sm);
}

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

.callout a {
  font-weight: 700;
}

/* ============================================
   Issues Dropdown Navigation
   ============================================ */
.site-nav__item--dropdown {
  position: relative;
}

.site-nav__link--dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-nav__chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

/* Desktop: pure CSS hover dropdown */
@media (min-width: 48.01rem) {
  .site-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 14rem;
    background: var(--bg-primary);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    z-index: 200;
  }

  /* Bridge element to prevent gap between link and dropdown */
  .site-nav__item--dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    display: none;
  }

  .site-nav__item--dropdown:hover::after,
  .site-nav__item--dropdown:focus-within::after {
    display: block;
  }

  .site-nav__item--dropdown:hover .site-nav__dropdown,
  .site-nav__item--dropdown:focus-within .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__item--dropdown:hover .site-nav__chevron,
  .site-nav__item--dropdown:focus-within .site-nav__chevron {
    transform: rotate(180deg);
  }

  .site-nav__dropdown-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-sm);
    transition: background-color var(--transition-fast);
  }

  .site-nav__dropdown-link:hover {
    background-color: var(--cream-dark);
    color: var(--trunk);
  }

  .site-nav__dropdown-link[aria-current="page"] {
    background-color: var(--trunk);
    color: var(--text-inverse);
  }
}

/* Mobile: accordion dropdown inside hamburger menu */
@media (max-width: 48rem) {
  .site-nav__dropdown {
    list-style: none;
    display: none;
    padding-left: var(--space-md);
    margin: 0;
  }

  .site-nav__item--dropdown[data-dropdown-open="true"] .site-nav__dropdown {
    display: block;
  }

  .site-nav__item--dropdown[data-dropdown-open="true"] .site-nav__chevron {
    transform: rotate(180deg);
  }

  .site-nav__dropdown-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-sm);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .site-nav__dropdown-link:hover {
    background-color: var(--cream-dark);
  }

  .site-nav__dropdown-link[aria-current="page"] {
    background-color: var(--trunk);
    color: var(--text-inverse);
    border-radius: var(--radius-sm);
  }
}

/* ============================================
   Homepage Issue Directory (lobby directory)
   ============================================ */
.issue-directory {
  margin-top: var(--space-xl);
}

.issue-directory__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.issue-directory__item:hover {
  background-color: var(--cream-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.issue-directory__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--font-lg);
  color: var(--trunk);
  margin-bottom: 0.15rem;
}

.issue-directory__hook {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
  max-width: none;
}

.issue-directory__arrow {
  color: var(--gold);
  font-size: var(--font-xl);
  font-weight: 700;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.issue-directory__item:hover .issue-directory__arrow {
  transform: translateX(4px);
}

/* Mobile: single column stack */
@media (max-width: 48rem) {
  .issue-directory {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* Desktop: 2-column grid */
@media (min-width: 48.01rem) {
  .issue-directory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

/* ============================================
   Issue Cross-Navigation (prev/next + list)
   ============================================ */
.issue-crossnav {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 2px solid var(--cream-dark);
}

.issue-crossnav__prevnext {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.issue-crossnav__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: var(--space-md);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  flex: 0 1 45%;
}

.issue-crossnav__link:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.issue-crossnav__link--next {
  text-align: right;
  margin-left: auto;
}

.issue-crossnav__label {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.issue-crossnav__title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--trunk);
  font-size: var(--font-base);
}

.issue-crossnav__all {
  margin-top: var(--space-lg);
}

.issue-crossnav__all h3 {
  font-size: var(--font-base);
  margin-bottom: var(--space-md);
}

.issue-crossnav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.issue-crossnav__list a {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: var(--font-sm);
  color: var(--text-primary);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.issue-crossnav__list a:hover {
  background-color: var(--cream-dark);
  border-color: var(--gold);
}

.issue-crossnav__list a[aria-current="page"] {
  background-color: var(--trunk);
  color: var(--text-inverse);
  border-color: var(--trunk);
}

.issue-crossnav__cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-2xl);
}

@media (max-width: 48rem) {
  .issue-crossnav__prevnext {
    flex-direction: column;
  }

  .issue-crossnav__link {
    flex: 1;
  }

  .issue-crossnav__link--next {
    text-align: left;
  }
}

/* ============================================
   Issue Cards (migrated from inline styles)
   ============================================ */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.issue-card {
  background: #fff;
  border: 1px solid #e2ddd5;
  border-radius: 0.5rem;
  padding: var(--space-xl);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.issue-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--gold);
}

.issue-card h3 {
  margin-top: 0;
  color: var(--trunk);
}

.issue-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
}

.issue-card .card-link {
  color: var(--branch-floor);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.issue-card .card-link:hover {
  text-decoration: underline;
}

@media (max-width: 599px) {
  .issue-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .issue-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e2ddd5;
    border-radius: 0;
    padding: var(--space-md) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .issue-card:hover {
    box-shadow: none;
  }

  .issue-card p {
    display: none;
  }

  .issue-card h3 {
    margin: 0;
    font-size: 1.05rem;
  }
}

/* ============================================
   Homepage Styles (migrated from inline)
   ============================================ */
.hero-compact {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  background: var(--trunk);
  color: #fff;
}

.hero-compact h1 {
  font-size: var(--font-4xl);
  margin-bottom: 0.25rem;
  color: #fff;
}

.hero-compact .subtitle {
  font-size: var(--font-lg);
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.hero-compact .pitch {
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.hero-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto var(--space-xl);
  object-fit: cover;
  object-position: center top;
}

.email-capture {
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 0.5rem;
  padding: var(--space-xl);
  text-align: center;
  max-width: 32rem;
  margin: var(--space-3xl) auto;
}

.email-capture h3 {
  margin-top: 0;
}

.email-capture input[type="email"] {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font-size: 1rem;
  width: 60%;
  margin-right: 0.5rem;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.join-section {
  scroll-margin-top: 5rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --trunk: #0d1f1a;
    --text-secondary: var(--text-primary);
  }

  .btn, .card, .branch {
    border: 2px solid currentColor;
  }
}
