/* ==========================================================================
   Randy Bryan Moore — Richmond Symphony Advancement Candidate Dossier
   Refined Brand System: Deep Navy, Cabernet Maroon, Antique Cream & Paper
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700;800&display=swap');

:root {
  /* Strict Palette: Deep Atlantic Navy, Cabernet Maroon, Warm Cream & Paper */
  --navy:          #182b4d;
  --navy-deep:     #0d1a32;
  --navy-light:    #243d6b;
  --maroon:        #4c0e1c;
  --maroon-deep:   #2b0710;
  --cream:         #f2eadf;
  --paper:         #fbf6ed;
  --paper-deep:    #e8ddcc;
  --white:         #ffffff;
  --ink:           #151c22;
  --muted:         #595e64;
  --muted-light:   #8a9096;
  --line:          rgba(21, 28, 34, 0.16);
  --line-light:    rgba(242, 234, 223, 0.22);
  --shadow:        0 26px 70px rgba(13, 26, 50, 0.18);
  --shadow-sm:     0 4px 14px rgba(21, 28, 34, 0.08);

  /* Typography Stack */
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --mono:  "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Layout Measurements */
  --shell:   min(1220px, calc(100vw - 64px));
  --narrow:  min(820px, calc(100vw - 64px));
  --nav-h:   84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  background-color: var(--navy-deep);
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--maroon);
  width: 0%;
  z-index: 10001;
  transition: width 0.1s ease;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: inherit;
}

h1 { font-size: clamp(46px, 6.5vw, 88px); }
h2 { font-size: clamp(32px, 4.2vw, 58px); }
h3 { font-size: clamp(22px, 2.6vw, 34px); }
h4 { font-size: clamp(17px, 1.6vw, 22px); }

p {
  margin-bottom: 1.15rem;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: all 160ms ease;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

/* Layout Shells */
.page-shell {
  width: var(--shell);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.narrow-shell {
  width: var(--narrow);
  margin-inline: auto;
}

/* Section Containers & Colors */
.section {
  padding-block: clamp(72px, 9vw, 130px);
  background: var(--paper);
  color: var(--ink);
  position: relative;
  border-bottom: 1px solid var(--line);
}

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

.section-maroon {
  background: var(--maroon);
  color: var(--paper);
  border-color: rgba(242, 234, 223, 0.18);
}

.section-navy {
  background: var(--navy);
  color: var(--paper);
  border-color: rgba(242, 234, 223, 0.18);
}

.section-dark {
  background: var(--navy-deep);
  color: var(--cream);
}

/* Section Headings */
.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) 1fr;
  gap: clamp(28px, 6vw, 90px);
  margin-bottom: clamp(40px, 6vw, 72px);
  align-items: start;
}

.section-heading h2 {
  max-width: 880px;
  margin-bottom: 18px;
}

.lead {
  max-width: 720px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.48;
  opacity: 0.9;
}

/* Kickers & Eyebrows */
.kicker {
  margin-bottom: 14px;
  color: var(--maroon);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.kicker-light {
  color: var(--cream);
  opacity: 0.9;
}

.eyebrow-line {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-line::before {
  width: 36px;
  height: 1.5px;
  background: currentColor;
  content: "";
}

/* Pill Buttons */
.button,
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.btn:hover {
  transform: translateY(-2px);
}

.button-navy,
.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream) !important;
}
.button-navy:hover,
.btn-navy:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.button-navy-accent,
.btn-navy-accent {
  background: var(--navy-light);
  border-color: var(--cream);
  color: var(--cream) !important;
}
.button-navy-accent:hover,
.btn-navy-accent:hover {
  background: var(--navy-deep);
}

.button-maroon,
.btn-maroon {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream) !important;
}
.button-maroon:hover,
.btn-maroon:hover {
  background: var(--maroon-deep);
  border-color: var(--maroon-deep);
}

.button-cream,
.btn-cream {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--navy-deep) !important;
}
.button-cream:hover,
.btn-cream:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--navy) !important;
}

.button-ink,
.btn-ink {
  background: var(--ink);
  color: var(--paper) !important;
}
.button-ink:hover,
.btn-ink:hover {
  background: var(--maroon);
}

.button-outline,
.btn-outline {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}
.button-outline:hover,
.btn-outline:hover {
  background: rgba(21, 28, 34, 0.08);
}

.button-outline-light,
.btn-outline-light {
  border-color: rgba(242, 234, 223, 0.65);
  background: transparent;
  color: var(--cream) !important;
}
.button-outline-light:hover,
.btn-outline-light:hover {
  background: var(--cream);
  color: var(--navy-deep) !important;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Sticky Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: var(--cream);
  background: var(--maroon);
  border-bottom: 1px solid rgba(242, 234, 223, 0.18);
  height: var(--nav-h);
}

.header-inner {
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
}

.wordmark-monogram {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--cream);
}

.wordmark-text {
  display: flex;
  flex-direction: column;
}

.wordmark-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
}

.wordmark-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 22px);
  list-style: none;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: normal;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  background: var(--cream);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Chapter Ticker / Strip */
.chapter-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--maroon);
  color: var(--paper);
}

.chapter-strip-inner {
  display: flex;
  width: max-content;
}

.chapter-strip span {
  padding: 14px 22px;
  border-right: 1px solid rgba(251, 246, 237, 0.25);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.chapter-strip a {
  color: inherit;
  text-decoration: none;
}

.chapter-strip a:hover {
  color: var(--cream);
  text-decoration: underline;
}

/* Hero Section (Deep Navy Blue Ground) */
.home-hero {
  min-height: calc(100svh - var(--nav-h));
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
  border-bottom: 1px solid var(--line-light);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: calc(100svh - var(--nav-h));
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(60px, 8vw, 110px) clamp(24px, 5vw, 72px) 60px max(24px, calc((100vw - var(--shell)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 7.5vw, 110px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--cream);
}

.home-hero h1 span {
  display: block;
}

.home-hero h1 em {
  color: var(--cream);
  font-style: italic;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--maroon);
  text-underline-offset: 6px;
}

.hero-name-divider {
  display: inline;
  margin-inline: 0.08em;
  color: var(--cream);
  opacity: 0.6;
  font-family: var(--mono);
  font-size: 0.35em;
  font-style: normal;
  font-weight: 800;
  vertical-align: 0.3em;
}

.hero-deck {
  max-width: 640px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.48;
  color: rgba(242, 234, 223, 0.92);
  margin-bottom: 28px;
}

.hero-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.home-hero .hero-paths .button {
  border: 1.5px solid rgba(242, 234, 223, 0.6);
}

.home-hero .hero-paths .button:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}

.home-hero .hero-paths .button-navy {
  background: rgba(255, 255, 255, 0.08);
}

.home-hero .hero-paths .button-navy:hover {
  background: var(--navy-light);
}

/* Continuous Note Ticker */
.hero-note {
  width: 100%;
  max-width: 640px;
  margin: 20px 0 0;
  padding-top: 24px;
  overflow: hidden;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 32px);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  border-top: 2px solid var(--cream);
}

.hero-note-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: hero-note-slide 20s linear infinite;
  white-space: nowrap;
}

.hero-note-track span {
  padding-inline: 1.8rem;
}

.hero-note-track span::after {
  margin-left: 1.8rem;
  content: "◆";
  font-size: 0.45em;
  vertical-align: middle;
}

@keyframes hero-note-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero Showcase Card / Sidebar */
.home-hero-card-col {
  background: var(--navy-deep);
  border-left: 1px solid var(--line-light);
  padding: clamp(40px, 5vw, 60px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.candidate-profile-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--line-light);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  color: var(--cream);
}

.candidate-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1.5px solid var(--line-light);
  padding-bottom: 28px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.candidate-avatar-wrap {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1;
  min-width: 280px;
}

.candidate-avatar {
  width: 210px;
  height: 210px;
  min-width: 210px;
  min-height: 210px;
  border-radius: 14px;
  border: 4px solid var(--cream);
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  background: var(--navy);
  display: block;
}

.candidate-name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.candidate-target-role {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--cream);
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.candidate-qr-frame {
  background: #ffffff;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
  text-align: center;
}

.candidate-qr-caption {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 3px;
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.pillar-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(242, 234, 223, 0.2);
  border-left: 3px solid var(--maroon);
  padding: 12px 14px;
  border-radius: 4px;
}

.pillar-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--cream);
  margin-bottom: 2px;
}

.pillar-item span {
  display: block;
  font-size: 12px;
  color: rgba(242, 234, 223, 0.8);
  line-height: 1.4;
}

.candidate-quick-contact {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(242, 234, 223, 0.75);
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-editorial {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.section-cream .card-editorial {
  background: var(--paper);
}

.section-maroon .card-editorial,
.section-navy .card-editorial {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 234, 223, 0.2);
  color: var(--cream);
}

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

.card-editorial__icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.card-editorial h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.card-editorial p {
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.88;
  margin-bottom: 18px;
}

.check-feature-list {
  list-style: none;
  border-top: 1px solid currentColor;
  padding-top: 14px;
  margin-top: auto;
}

.check-feature-list li {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-feature-list li::before {
  content: "—";
  font-weight: 900;
  color: var(--cream);
}

.section-cream .check-feature-list li::before {
  color: var(--maroon);
}

/* Interactive Case Study Explorer */
.case-study-explorer {
  border: 1px solid rgba(242, 234, 223, 0.3);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.tab-nav {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(242, 234, 223, 0.2);
  overflow-x: auto;
}

.tab-btn {
  padding: 16px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  color: rgba(242, 234, 223, 0.7);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 160ms ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tab-btn:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.12);
  border-bottom-color: var(--cream);
}

.tab-pane {
  display: none;
  padding: clamp(32px, 5vw, 54px);
  animation: fadeIn 0.25s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.tab-content h3 {
  font-size: clamp(26px, 2.6vw, 38px);
  margin-bottom: 14px;
}

.tab-content p {
  font-size: 15.5px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 16px;
}

.tab-stats-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(242, 234, 223, 0.2);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  border-left: 2px solid var(--cream);
  padding-left: 14px;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.05;
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 4px;
}

/* Donor Lifecycle Pipeline */
.lifecycle-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: clamp(24px, 4vw, 42px);
  margin-top: 42px;
}

.section-navy .lifecycle-card {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(242, 234, 223, 0.2);
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.lifecycle-stage {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
  border-top: 4px solid var(--maroon);
  transition: transform 160ms ease;
}

.section-navy .lifecycle-stage {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 234, 223, 0.18);
  border-top-color: var(--cream);
}

.lifecycle-stage:hover {
  transform: translateY(-3px);
}

.lifecycle-stage__tag {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 800;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.section-navy .lifecycle-stage__tag {
  color: var(--cream);
  opacity: 0.85;
}

.lifecycle-stage h4 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.lifecycle-stage p {
  font-size: 12.5px;
  line-height: 1.5;
  opacity: 0.85;
  margin-bottom: 0;
}

/* Photo Frames & Media */
.photo-frame {
  position: relative;
  margin: 0;
}

.photo-frame::before {
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(242, 234, 223, 0.55);
  content: "";
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-frame figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.8;
}

/* Musical Artistry & Web Audio Suite */
.music-suite-box {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(242, 234, 223, 0.25);
  padding: clamp(28px, 4vw, 44px);
}

.player-console {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(242, 234, 223, 0.2);
  padding: 24px;
}

.track-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.track-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 234, 223, 0.2);
  cursor: pointer;
  transition: all 160ms ease;
}

.track-option:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cream);
}

.track-option.active {
  background: rgba(242, 234, 223, 0.15);
  border-color: var(--cream);
}

.track-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cream);
}

.track-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cream);
  opacity: 0.8;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 234, 223, 0.2);
}

.play-trigger-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--cream);
  font-size: 1.25rem;
  border: 1.5px solid var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 160ms ease;
  flex-shrink: 0;
}

.play-trigger-btn:hover {
  transform: scale(1.06);
  background: var(--maroon-deep);
}

.waveform-canvas-box {
  flex-grow: 1;
  height: 52px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(242, 234, 223, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* TikTok 3-Up Grid */
.home-tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.home-tiktok-card {
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--ink);
}

.home-tiktok-card iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  display: block;
  background: #000;
}

.home-tiktok-card > div {
  padding: 18px 20px;
}

.home-tiktok-card span {
  color: var(--maroon);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-tiktok-card h3 {
  margin: 6px 0 12px;
  font-size: clamp(20px, 2vw, 26px);
}

.home-tiktok-card a {
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--maroon);
}

/* Alignment Matrix Table */
.matrix-table-wrap {
  border: 1px solid var(--line);
  background: var(--paper);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.matrix-table th,
.matrix-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.matrix-table th {
  background: var(--paper-deep);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.matrix-table tr:hover td {
  background: rgba(21, 28, 34, 0.02);
}

/* Career Timeline */
.home-advocacy-timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid rgba(242, 234, 223, 0.25);
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.timeline-item:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

.timeline-item > span {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--cream);
  opacity: 0.85;
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 34px);
  color: var(--cream);
  font-style: italic;
}

.timeline-orgs {
  margin: 0 0 10px;
  color: var(--paper);
  opacity: 0.8;
  font-size: 13.5px;
  font-weight: 800;
}

.home-advocacy-description {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Callout Band */
.callout-band {
  padding: 56px 0;
  background: var(--maroon);
  color: var(--paper);
  border-bottom: 1px solid rgba(242, 234, 223, 0.18);
}

.callout-band .page-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.callout-band h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(28px, 3.5vw, 52px);
}

/* Site Footer */
.site-footer {
  background: var(--maroon-deep);
  color: var(--cream);
  padding: 64px 0 36px;
  border-top: 1px solid rgba(242, 234, 223, 0.18);
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.footer-name {
  font-family: var(--serif);
  font-size: 2.2rem;
  margin-bottom: 4px;
}

.footer-sub {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 24px;
}

.footer-contact-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(242, 234, 223, 0.2);
  padding: 20px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.footer-contact-box span {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.8;
  margin-bottom: 3px;
}

.footer-contact-box strong {
  font-size: 14.5px;
}

.footer-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 10.5px;
  opacity: 0.7;
}

/* ==========================================================================
   Passcode Modal Gate (Code: 0000)
   ========================================================================== */
.passcode-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 26, 50, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.passcode-gate-overlay.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.passcode-card {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--navy);
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
}

.gate-monogram {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1.5px solid var(--cream);
}

.gate-title {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.gate-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.gate-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.pin-input-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pin-digit {
  width: 52px;
  height: 60px;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 4px;
  color: var(--navy);
  font-size: 1.8rem;
  font-family: var(--mono);
  text-align: center;
  font-weight: 800;
  outline: none;
  transition: all 160ms ease;
}

.pin-digit:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(24, 43, 77, 0.2);
}

.gate-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.gate-hint strong {
  color: var(--navy);
  font-family: var(--mono);
}

/* ==========================================================================
   Pinpoint Element Annotation Suite (Precision Inspector & Direct Anchor)
   ========================================================================== */
body.annotation-active {
  cursor: default !important;
}

/* Hover Inspector Box */
.inspector-highlight-box {
  position: fixed;
  pointer-events: none;
  z-index: 999980;
  border: 2px solid var(--maroon);
  background: rgba(76, 14, 28, 0.08);
  border-radius: 4px;
  transition: top 0.06s ease, left 0.06s ease, width 0.06s ease, height 0.06s ease;
  display: none;
  box-shadow: 0 0 0 1px var(--cream), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.inspector-highlight-badge {
  position: absolute;
  top: -24px;
  left: 0;
  background: var(--maroon);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--cream);
}

/* Element Pin Badges */
.annotation-element-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--maroon);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 100;
  cursor: pointer;
  pointer-events: auto;
  animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.annotation-target-active {
  position: relative !important;
  outline: 2px dashed var(--maroon) !important;
  outline-offset: 3px !important;
}

.annotation-spotlight-pulse {
  animation: spotlightPulse 1.8s ease-in-out !important;
}

@keyframes spotlightPulse {
  0% { outline: 3px solid var(--cream); outline-offset: 4px; }
  50% { outline: 4px solid var(--maroon); outline-offset: 6px; }
  100% { outline: 2px solid transparent; }
}

/* Floating Dock */
.annotation-dock {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  background: #0D1A32 !important;
  color: #F2EADF !important;
  border: 2px solid #F2EADF !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(242, 234, 223, 0.25) !important;
  z-index: 2147483647 !important;
  user-select: none !important;
  backdrop-filter: blur(8px) !important;
}

.dock-btn {
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 160ms ease;
}

.dock-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.dock-btn.active {
  background: var(--maroon);
  color: var(--cream);
  box-shadow: 0 0 12px rgba(76, 14, 28, 0.4);
}

.dock-badge {
  background: var(--cream);
  color: var(--navy-deep);
  font-size: 10px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 10px;
}

/* Floating Popover */
.annotation-popover {
  position: fixed !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 2.5px solid var(--maroon) !important;
  border-radius: 10px !important;
  padding: 18px 20px !important;
  width: 330px !important;
  max-width: calc(100vw - 32px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  z-index: 2147483647 !important;
  display: none;
}

.popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.popover-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--maroon);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.popover-target-snippet {
  font-size: 12px;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  max-height: 48px;
  overflow: hidden;
  font-style: italic;
  line-height: 1.35;
}

.popover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 140ms ease;
}

.tag-chip:hover,
.tag-chip.selected {
  background: var(--maroon);
  color: var(--cream);
  border-color: var(--maroon);
}

.popover-textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13.5px;
  color: var(--ink);
  font-family: var(--sans);
  margin-bottom: 12px;
  min-height: 70px;
  outline: none;
  resize: vertical;
}

.popover-textarea:focus {
  border-color: var(--maroon);
}

.popover-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popover-pin-btn {
  background: var(--maroon);
  color: var(--cream);
  border: none;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 160ms ease;
}

.popover-pin-btn:hover {
  background: var(--maroon-deep);
}

.popover-cancel-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

/* Feedback Drawer */
.feedback-drawer {
  position: fixed !important;
  bottom: 84px !important;
  right: 24px !important;
  width: 380px !important;
  max-width: calc(100vw - 32px) !important;
  max-height: min(560px, 75vh) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 2.5px solid var(--maroon) !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6) !important;
  display: none;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 2147483647 !important;
}

.feedback-drawer.open {
  display: flex !important;
}

.drawer-header {
  background: var(--maroon);
  color: var(--cream);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(242, 234, 223, 0.2);
}

.drawer-header h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 360px;
}

.drawer-item {
  background: var(--cream);
  border-left: 3.5px solid var(--maroon);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 13px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.drawer-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.drawer-item-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--maroon);
  text-transform: uppercase;
}

.drawer-item-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.drawer-item-jump {
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 10.5px;
  font-family: var(--mono);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  color: var(--maroon);
}

.drawer-item-jump:hover {
  background: var(--maroon);
  color: var(--cream);
}

.drawer-item-delete {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
}

.drawer-item-delete:hover {
  color: #c00;
}

.drawer-item-text {
  color: var(--ink);
  margin: 4px 0 0;
  line-height: 1.45;
  font-weight: 500;
}

.drawer-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* Responsive Breakpoints & Mobile Optimization */
@media (max-width: 960px) {
  .grid-3,
  .tab-grid,
  .lifecycle-grid,
  .section-heading,
  .home-tiktok-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-hero-copy {
    padding: clamp(36px, 6vw, 60px) 20px 28px 20px;
  }

  .home-hero-card-col {
    border-left: none;
    border-top: 1px solid var(--line-light);
    padding: 28px 20px 48px 20px;
  }

  .desktop-nav {
    display: none;
  }

  .callout-band .page-shell {
    flex-direction: column;
    text-align: center;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
    padding-block: 8px;
  }

  .header-inner {
    padding-inline: 16px;
    gap: 12px;
  }

  .wordmark-text .wordmark-sub {
    display: none;
  }

  .wordmark-title {
    font-size: 1rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions a.button {
    padding: 6px 12px !important;
    font-size: 10.5px !important;
    min-height: 36px;
  }

  .header-actions a[href="one_pager.html"],
  .header-actions a[href="#contact"] {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-shell {
    width: 100%;
    padding-inline: 16px;
  }

  .section {
    padding-block: clamp(48px, 8vw, 80px);
  }

  .tab-nav {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    scroll-snap-align: start;
    padding: 12px 16px;
    font-size: 11px;
  }

  .tab-pane {
    padding: 24px 16px;
  }

  .tab-stats-box {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 9px;
  }

  .matrix-table th,
  .matrix-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .home-hero h1 {
    font-size: clamp(36px, 9.5vw, 54px);
    margin-bottom: 16px;
  }

  .hero-deck {
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-paths,
  .button-row {
    flex-direction: column;
    width: 100%;
  }

  .home-hero .hero-paths .button,
  .button-row .button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .candidate-quick-contact {
    flex-direction: column;
    gap: 6px;
  }

  .footer-contact-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-links {
    flex-direction: column;
    width: 100%;
  }

  .footer-links .button {
    width: 100%;
    justify-content: center;
  }

  .annotation-dock {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  background: #0D1A32 !important;
  color: #F2EADF !important;
  border: 2px solid #F2EADF !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(242, 234, 223, 0.25) !important;
  z-index: 2147483647 !important;
  user-select: none !important;
  backdrop-filter: blur(8px) !important;
}

  .dock-btn {
    padding: 8px 10px;
    font-size: 11px;
  }

  .feedback-drawer {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 70px;
  }

  .pin-input-group {
    gap: 8px;
  }

  .pin-digit {
    width: 44px;
    height: 52px;
    font-size: 1.5rem;
  }
}

/* Responsive Mobile Floating Dock */
@media (max-width: 768px) {
  .annotation-dock {
    bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    padding: 6px 12px !important;
    gap: 6px !important;
  }
  .dock-btn {
    padding: 6px 10px !important;
    font-size: 11px !important;
    letter-spacing: 0.02em !important;
  }
  .dock-badge {
    font-size: 9px !important;
    padding: 1px 5px !important;
  }
}
