/* style.css — Red Light Protocols Design Tokens & Components */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Primary Palette */
  --ember-red: #A8361F;
  --deep-garnet: #5C1A12;
  --warm-cream: #F5EFE6;
  --bone: #FAF7F2;
  --ink: #1C1A18;

  /* Supporting Palette */
  --aspen-gold: #C89B3C;
  --moss: #4A5D3A;
  --mist: #D8D2C7;

  /* Functional */
  --ember-red-light: rgba(168, 54, 31, 0.08);
  --ember-red-hover: #8C2D1A;
  --deep-garnet-95: rgba(92, 26, 18, 0.95);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, Consolas, monospace;

  /* Type Scale — Desktop */
  --text-h1: clamp(2.375rem, 1.8rem + 2.5vw, 3.375rem);       /* 38-54px */
  --text-h2: clamp(1.75rem, 1.5rem + 1.25vw, 2.25rem);         /* 28-36px */
  --text-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);           /* 20-24px */
  --text-body: clamp(1.0625rem, 1rem + 0.15vw, 1.125rem);      /* 17-18px */
  --text-small: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);  /* 13-14px */
  --text-pull-quote: clamp(1.375rem, 1.2rem + 1vw, 2rem);      /* 22-32px */
  --text-eyebrow: 0.875rem;                                      /* 14px */
  --text-subhead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);     /* 18-22px */

  /* Line Heights */
  --lh-h1: 1.11;
  --lh-h2: 1.22;
  --lh-h3: 1.33;
  --lh-body: 1.667;
  --lh-small: 1.57;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --content-narrow: 680px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28, 26, 24, 0.06);
  --shadow-md: 0 4px 12px rgba(28, 26, 24, 0.08);
  --shadow-lg: 0 8px 24px rgba(28, 26, 24, 0.1);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

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

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

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
  transition: box-shadow 200ms ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
}

.site-wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--deep-garnet);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-wordmark:hover {
  color: var(--ember-red);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--ember-red);
  transition: width 200ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--ember-red);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--ember-red);
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100dvh;
  background: var(--bone);
  z-index: 200;
  padding: var(--space-8) var(--space-6);
  transition: right 300ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(28, 26, 24, 0.1);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 1.5rem;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-nav ul {
  list-style: none;
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--ink);
  text-decoration: none;
}

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

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 24, 0.4);
  z-index: 150;
  opacity: 0;
  transition: opacity 300ms ease;
}

.mobile-overlay.visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--deep-garnet);
  color: var(--warm-cream);
  padding: var(--space-16) var(--space-6) var(--space-8);
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr;
  gap: var(--space-12);
}

.footer-brand .site-wordmark {
  color: var(--warm-cream);
  font-size: 1.125rem;
}

.footer-brand p {
  margin-top: var(--space-3);
  font-size: var(--text-small);
  line-height: 1.5;
  color: rgba(245, 239, 230, 0.7);
  max-width: 28ch;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: var(--text-small);
  color: rgba(245, 239, 230, 0.8);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--aspen-gold);
  text-decoration: none;
}

.footer-disclaimer {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(245, 239, 230, 0.6);
}

.footer-bottom {
  max-width: var(--content-wide);
  margin: var(--space-8) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(245, 239, 230, 0.12);
  font-size: 0.8125rem;
  color: rgba(245, 239, 230, 0.5);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--ember-red);
  color: var(--warm-cream);
}

.btn--primary:hover {
  background: var(--ember-red-hover);
  color: var(--warm-cream);
}

.btn--outline {
  background: transparent;
  color: var(--warm-cream);
  border: 1.5px solid rgba(245, 239, 230, 0.6);
}

.btn--outline:hover {
  background: rgba(245, 239, 230, 0.1);
  color: var(--warm-cream);
  border-color: var(--warm-cream);
}

.btn--gold {
  background: var(--aspen-gold);
  color: var(--deep-garnet);
  font-weight: 600;
}

.btn--gold:hover {
  background: #b58a34;
  color: var(--deep-garnet);
}

.btn--moss {
  background: var(--moss);
  color: var(--warm-cream);
}

.btn--moss:hover {
  background: #3e4f31;
  color: var(--warm-cream);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 26, 24, 0.3) 0%,
    rgba(92, 26, 18, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: var(--space-8) var(--space-6);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  line-height: var(--lh-h1);
  font-weight: 400;
  color: var(--warm-cream);
  margin-bottom: var(--space-6);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-subhead);
  line-height: 1.5;
  color: rgba(245, 239, 230, 0.9);
  max-width: 620px;
  margin: 0 auto var(--space-8);
}

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

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
}

.section--cream {
  background: var(--warm-cream);
}

.section--bone {
  background: var(--bone);
}

.section--garnet {
  background: var(--deep-garnet);
  color: var(--warm-cream);
}

.section--garnet h2 {
  color: var(--warm-cream);
}

.section--ember-gradient {
  background: linear-gradient(135deg, var(--ember-red) 0%, var(--deep-garnet) 100%);
  color: var(--warm-cream);
}

.section--ember-gradient h2 {
  color: var(--warm-cream);
}

.section-header {
  text-align: center;
  max-width: var(--content-narrow);
  margin: 0 auto var(--space-12);
}

.section-header h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--ink);
  max-width: 60ch;
  margin: 0 auto;
}

/* ============================================
   EVIDENCE CARDS
   ============================================ */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.evidence-card {
  background: var(--bone);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-top: 4px solid var(--ember-red);
  transition: box-shadow 200ms ease;
}

.evidence-card:hover {
  box-shadow: var(--shadow-md);
}

.evidence-card .card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-4);
  color: var(--ember-red);
}

.evidence-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  margin-bottom: var(--space-3);
}

.evidence-badge--strong {
  background: rgba(74, 93, 58, 0.12);
  color: var(--moss);
}

.evidence-badge--moderate {
  background: rgba(200, 155, 60, 0.12);
  color: var(--aspen-gold);
}

.evidence-badge--emerging {
  background: rgba(168, 54, 31, 0.1);
  color: var(--ember-red);
}

.evidence-card h3 {
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--ink);
}

.evidence-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(28, 26, 24, 0.8);
  max-width: 50ch;
}

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

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

/* ============================================
   WAVELENGTH CHART
   ============================================ */
.wavelength-section {
  text-align: center;
}

.wavelength-chart {
  max-width: 900px;
  margin: 0 auto var(--space-6);
}

.wavelength-caption {
  max-width: var(--content-narrow);
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(28, 26, 24, 0.75);
}

/* ============================================
   PULL QUOTE BAND
   ============================================ */
.pull-quote-band {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6);
  text-align: center;
}

.pull-quote-band blockquote {
  font-family: var(--font-display);
  font-size: var(--text-pull-quote);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  max-width: 720px;
  margin: 0 auto;
  color: var(--warm-cream);
}

.pull-quote-band .attribution {
  margin-top: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-style: normal;
  color: var(--aspen-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   ESSAY / PROSE
   ============================================ */
.prose {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.prose h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.prose h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.prose p {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  margin-bottom: var(--space-6);
  max-width: 68ch;
}

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

.prose ul,
.prose ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.prose li {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  margin-bottom: var(--space-3);
  max-width: 68ch;
}

.prose li strong {
  color: var(--ink);
}

.prose .inline-citation {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(28, 26, 24, 0.6);
}

/* ============================================
   INLINE PULL QUOTE
   ============================================ */
.inline-pull-quote {
  border-left: 3px solid var(--aspen-gold);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--deep-garnet);
}

/* ============================================
   RESEARCH PAGE
   ============================================ */
.research-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-12);
  max-width: var(--content-wide);
  margin: 0 auto;
  align-items: start;
}

.research-toc {
  position: sticky;
  top: 80px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  padding-right: var(--space-4);
}

.research-toc h4 {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ember-red);
  margin-bottom: var(--space-4);
}

.research-toc ol {
  list-style: none;
  counter-reset: toc;
}

.research-toc li {
  counter-increment: toc;
  margin-bottom: var(--space-2);
}

.research-toc a {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(28, 26, 24, 0.6);
  text-decoration: none;
  display: block;
  padding: var(--space-1) 0;
  transition: color 150ms ease;
}

.research-toc a:hover,
.research-toc a.active {
  color: var(--ember-red);
}

.research-content .prose {
  max-width: 720px;
}

.research-content .prose h2 {
  padding-top: var(--space-8);
  margin-top: var(--space-12);
  border-top: 1px solid var(--mist);
}

.research-content .prose h2:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.evidence-strength {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  margin-bottom: var(--space-4);
}

/* Mobile TOC */
.research-toc-mobile {
  display: none;
  margin-bottom: var(--space-8);
}

.toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--bone);
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.toc-toggle svg {
  transition: transform 200ms ease;
}

.toc-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.toc-dropdown {
  display: none;
  background: var(--bone);
  border: 1px solid var(--mist);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: var(--space-4);
}

.toc-dropdown.open {
  display: block;
}

.toc-dropdown ol {
  list-style: none;
}

.toc-dropdown li {
  margin-bottom: var(--space-2);
}

.toc-dropdown a {
  font-size: 0.875rem;
  color: rgba(28, 26, 24, 0.7);
  text-decoration: none;
}

.toc-dropdown a:hover {
  color: var(--ember-red);
}

@media (max-width: 900px) {
  .research-layout {
    grid-template-columns: 1fr;
  }
  .research-toc {
    display: none;
  }
  .research-toc-mobile {
    display: block;
  }
}

/* ============================================
   REFERENCES
   ============================================ */
.references-list {
  max-width: 720px;
  margin: 0 auto;
  padding-top: var(--space-8);
  border-top: 1px solid var(--mist);
}

.references-list h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-8);
}

.references-list ol {
  list-style: none;
  counter-reset: refs;
}

.references-list li {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  position: relative;
  color: rgba(28, 26, 24, 0.75);
}

.references-list li::before {
  content: counter(refs) ".";
  counter-increment: refs;
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--aspen-gold);
  font-size: 0.8125rem;
}

.references-list a {
  color: var(--ember-red);
  font-size: 0.8125rem;
  word-break: break-all;
}

/* ============================================
   CLINICS PAGE
   ============================================ */
.featured-card {
  background: var(--bone);
  border-top: 4px solid var(--ember-red);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-8) var(--space-6);
  margin-bottom: var(--space-8);
}

.featured-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-red);
  margin-bottom: var(--space-4);
}

.featured-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.featured-card .location {
  font-size: var(--text-small);
  color: rgba(28, 26, 24, 0.6);
  margin-bottom: var(--space-4);
}

.featured-card .description {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  margin-bottom: var(--space-4);
  max-width: 65ch;
}

.featured-card .address {
  font-size: var(--text-small);
  color: rgba(28, 26, 24, 0.6);
  margin-bottom: var(--space-5);
}

.disclosure-block {
  background: var(--bone);
  border-left: 3px solid var(--aspen-gold);
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-10);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(28, 26, 24, 0.75);
}

/* State directory */
.state-directory {
  max-width: var(--content-default);
  margin: 0 auto;
}

.state-group {
  margin-bottom: var(--space-8);
}

.state-group h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--deep-garnet);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--mist);
  margin-bottom: var(--space-6);
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.clinic-card {
  background: var(--bone);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow 200ms ease;
}

.clinic-card:hover {
  box-shadow: var(--shadow-md);
}

.clinic-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.clinic-card .location {
  font-size: var(--text-small);
  color: rgba(28, 26, 24, 0.5);
  margin-bottom: var(--space-3);
}

.clinic-card .description {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: var(--space-3);
  color: rgba(28, 26, 24, 0.8);
}

.clinic-card .address {
  font-size: var(--text-small);
  color: rgba(28, 26, 24, 0.5);
  margin-bottom: var(--space-4);
}

.clinic-card .btn {
  font-size: 0.875rem;
  padding: var(--space-2) var(--space-4);
}

.empty-state {
  font-style: italic;
  color: rgba(28, 26, 24, 0.45);
  font-size: 0.9375rem;
  padding: var(--space-3) 0;
}

.empty-state a {
  color: var(--ember-red);
}

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

/* Submission form */
.submission-section {
  max-width: var(--content-narrow);
  margin: var(--space-16) auto 0;
  padding-top: var(--space-12);
  border-top: 1px solid var(--mist);
}

.submission-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.form-group label {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: 1rem;
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  background: var(--bone);
  color: var(--ink);
  transition: border-color 200ms ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ember-red);
  box-shadow: 0 0 0 3px rgba(168, 54, 31, 0.08);
}

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

/* Collapsible vetting criteria */
.collapsible {
  margin-top: var(--space-8);
}

.collapsible-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-2) 0;
}

.collapsible-toggle svg {
  transition: transform 200ms ease;
  color: var(--ember-red);
}

.collapsible-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.collapsible-content {
  display: none;
  padding-top: var(--space-4);
}

.collapsible-content.open {
  display: block;
}

.collapsible-content ul {
  padding-left: var(--space-5);
}

.collapsible-content li {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: var(--space-3);
  color: rgba(28, 26, 24, 0.75);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.name-block {
  background: var(--bone);
  border-left: 3px solid var(--aspen-gold);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-10);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.name-block p {
  font-size: var(--text-body);
  line-height: 1.6;
  max-width: 65ch;
}

.commitments-list {
  counter-reset: commits;
  list-style: none;
  padding: 0;
}

.commitments-list li {
  counter-increment: commits;
  margin-bottom: var(--space-8);
  padding-left: var(--space-10);
  position: relative;
  max-width: 65ch;
}

.commitments-list li::before {
  content: counter(commits);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ember-red);
  opacity: 0.5;
}

.commitments-list li strong {
  display: block;
  font-size: var(--text-body);
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.commitments-list li p,
.commitments-list li span {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: rgba(28, 26, 24, 0.8);
}

/* About pull quote */
.about-quote {
  max-width: var(--content-narrow);
  margin: var(--space-12) auto;
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.about-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-pull-quote);
  line-height: 1.45;
  color: var(--deep-garnet);
}

/* ============================================
   PAGE HEADERS (Interior)
   ============================================ */
.page-header {
  padding: var(--space-16) var(--space-6) var(--space-12);
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.page-header .eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aspen-gold);
  margin-bottom: var(--space-4);
}

.page-header h1 {
  font-size: var(--text-h1);
  line-height: var(--lh-h1);
  font-weight: 400;
  margin-bottom: var(--space-4);
}

.page-header .subtitle {
  font-size: var(--text-subhead);
  line-height: 1.5;
  color: rgba(28, 26, 24, 0.7);
  max-width: 58ch;
}

.page-header .byline {
  font-size: var(--text-small);
  color: rgba(28, 26, 24, 0.45);
  margin-top: var(--space-3);
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-content {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding-bottom: var(--space-16);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--ember-red);
  color: var(--warm-cream);
  border-radius: var(--radius-md);
  font-size: var(--text-small);
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-2);
}
