/* ==========================================================================
   Mentor Village, Inc. — Official 501(c)(3) Institutional Stylesheet
   Design System: Professional Philanthropic & Academic Foundation
   Target Entity: Mentor Village, Inc. (SC Domestic Nonprofit Corp #261019-1605379)
   Operating Program: Conway Computer Club (conwaycomputerclub.org / conwaycomputer.club)
   ========================================================================== */

:root {
  /* Institutional Palette (Clean White, Deep Navy, Warm Amber, Verified Emerald) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --surface-card: #ffffff;
  --surface-elevated: #ffffff;
  --surface-accent: #f0fdf4;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-accent: #a7f3d0;

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Brand Accents */
  --navy-primary: #1e3a8a;
  --navy-hover: #1e40af;
  --navy-deep: #0f172a;
  --amber-primary: #d97706;
  --amber-hover: #b45309;
  --amber-soft: #fef3c7;
  --emerald-primary: #059669;
  --emerald-soft: #d1fae5;
  --emerald-text: #065f46;

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-elevated: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-primary);
  color: var(--text-inverse);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 1000;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Institutional Governance Banner */
.top-ledger-bar {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.55rem 0;
  color: #94a3b8;
}

.ledger-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.ledger-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #34d399;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.ledger-item {
  color: #cbd5e1;
}

.ledger-item strong {
  color: #ffffff;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-hover);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--navy-primary);
}

.nav-cta {
  background: var(--navy-primary);
  color: var(--text-inverse);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
}

.nav-cta:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 4px 0;
  transition: all 0.2s ease;
}

/* Hero Section */
.hero {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-copy .lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--navy-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.25);
}

.btn-primary:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--navy-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--navy-primary);
}

.btn-amber {
  background: var(--amber-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.25);
}

.btn-amber:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

/* Impact Metrics */
.impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.metric-card dt {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.metric-card dd {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Blueprint Architecture Panel (Sidebar) */
.blueprint-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.blueprint-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--emerald-soft);
  color: var(--emerald-text);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
}

.blueprint-body {
  padding: 1.5rem;
}

.arch-node {
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.arch-parent {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.arch-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-primary);
  margin-bottom: 0.4rem;
}

.arch-parent h2 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
}

.arch-parent p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.arch-connector {
  position: relative;
  text-align: center;
  padding: 1rem 0;
}

.arch-connector::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-medium);
  z-index: 1;
}

.arch-connector span {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.arch-children {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.arch-child {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.arch-child h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
}

.arch-child p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.arch-domain {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy-primary);
  background: var(--bg-tertiary);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Sections Common */
.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
}

.section-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Mission & Pillars */
.mission-section {
  background: #ffffff;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.pillar-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Disability-Led & Tactile STEM Section */
.accessibility-section {
  background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #bbf7d0;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dcfce7;
  color: #15803d;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid #86efac;
  margin-bottom: 1rem;
}

.access-copy h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: #14532d;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.access-copy p {
  font-size: 1.02rem;
  color: #166534;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.access-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.access-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.access-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.access-feature-item strong {
  display: block;
  font-size: 0.96rem;
  color: #14532d;
  margin-bottom: 0.2rem;
}

.access-feature-item span {
  font-size: 0.85rem;
  color: #15803d;
  line-height: 1.45;
}

/* Conference & Field Deployments Section */
.conferences-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.conf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.conf-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.conf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.conf-dates {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.conf-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-host {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-speaker {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.badge-attend {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-deploy {
  background: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.conf-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.45rem;
}

.conf-loc {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.conf-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.conf-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.conf-role {
  font-weight: 600;
  color: var(--navy-primary);
}

.conf-link {
  font-weight: 700;
  color: var(--amber-hover);
  text-decoration: none;
}

.conf-link:hover {
  text-decoration: underline;
}

/* Operating Programs Explorer */
.programs-section {
  background: var(--bg-secondary);
}

.program-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  background: var(--bg-tertiary);
  color: var(--navy-primary);
}

.tab-btn.active {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.program-display {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.program-card-inner h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.program-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--amber-hover);
  margin-bottom: 1.25rem;
}

.program-details-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.deliverables-list li::before {
  content: '✓';
  color: var(--emerald-primary);
  font-weight: 700;
}

.program-sidebar-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.program-sidebar-box h4 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.meta-row span {
  color: var(--text-muted);
}

.meta-row strong {
  color: var(--text-primary);
}

/* Academic Runway Table */
.academic-section {
  background: #ffffff;
}

.runway-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.runway-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.runway-table th {
  background: var(--bg-secondary);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.runway-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text-secondary);
}

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

.runway-table tr:hover td {
  background: #fbfcfe;
}

.mono-cell {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-primary);
  white-space: nowrap;
}

/* Grants, Stewardship & Dossier */
.grants-section {
  background: var(--bg-secondary);
}

.grants-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.grants-info h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 1rem;
}

.grants-info > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.budget-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
}

.budget-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
}

.budget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.budget-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-light);
}

.mono-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy-deep);
}

.budget-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.highlight-zero {
  color: var(--emerald-primary);
  font-size: 1.1rem;
}

/* Dossier Card */
.dossier-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.dossier-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.dossier-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dossier-list dt {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dossier-list dd {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.2rem;
}

.vault-downloads {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.doc-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.doc-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-primary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.doc-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: var(--navy-hover);
}

/* Involve & Form */
.involve-section {
  background: #ffffff;
}

.involve-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-elevated);
}

.involve-copy {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.involve-copy .eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.involve-copy h2 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.involve-copy p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.inquiry-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber-primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-feedback {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fef08a;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #94a3b8;
  padding: 4rem 0 3.5rem;
  border-top: 1px solid #1e293b;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

.footer-brand strong {
  display: block;
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  line-height: 1.65;
  color: #94a3b8;
}

.footer-brand a {
  color: #38bdf8;
  text-decoration: none;
}

.footer-brand a:hover {
  text-decoration: underline;
}

.footer-contact p {
  margin-bottom: 0.45rem;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .grants-grid,
  .access-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .program-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .impact-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .involve-box {
    padding: 2rem 1.5rem;
  }
}
