/* ═══════════════════════════════════════
   Dr. Vijay Vasudevan — Global Stylesheet
   Editorial-academic aesthetic with
   warm consulting energy
   ═══════════════════════════════════════ */

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

/* ── Design Tokens ── */
:root {
  --navy: #0c1d2f;
  --navy-mid: #142c42;
  --navy-light: #1a3a56;
  --teal: #2a9d8f;
  --teal-text: #217d72;          /* WCAG AA on white/cream */
  --teal-light: #3dbcad;
  --teal-pale: rgba(42,157,143,0.08);
  --teal-dark: #1a6b61;          /* darkened for AA on white */
  --cream: #f8f5f0;
  --cream-mid: #f1ece4;
  --cream-dark: #e6dfD4;
  --gold: #8f6d1e;               /* darkened from #c5993e for AA */
  --gold-decorative: #c5993e;    /* original gold for borders only */
  --coral: #d9735b;
  --text-primary: #1a1a2e;
  --text-body: #3e4452;
  --text-muted: #5c6372;         /* darkened from #7a8294 for AA */
  --white: #ffffff;
  --border-light: rgba(0,0,0,0.06);
  --border-lighter: rgba(0,0,0,0.03);

  --font-display: 'Newsreader', 'Georgia', serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  --max-w: 1140px;
  --nav-h: 68px;
  --section-py: clamp(4rem, 8vw, 6.5rem);
  --page-px: clamp(1.25rem, 4vw, 2.5rem);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-hero: 0 24px 64px rgba(0,0,0,0.25);
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-px);
}

/* ══════════════════════════════
   NAVIGATION
   ══════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(12, 29, 47, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav.nav-hidden { transform: translateY(-100%); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* Brand */
.nav-brand { display: flex; flex-direction: column; line-height: 1.2; }

.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-light);
}

/* Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu a {
  position: relative;
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 2px;
  background: var(--teal-light);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--white); }

.nav-cta-link {
  margin-left: 0.5rem;
  padding: 0.45rem 1.15rem !important;
  background: var(--teal);
  border-radius: var(--radius-sm);
  color: var(--white) !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta-link::after { display: none !important; }
.nav-cta-link:hover { background: var(--teal-light); transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}

.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 1px;
  margin: 5px 0; transition: 0.3s;
}

/* ══════════════════════════════
   HERO — Home
   ══════════════════════════════ */
.hero {
  padding: calc(var(--nav-h) + clamp(3rem,7vw,5.5rem)) 0 var(--section-py);
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Atmospheric gradients */
.hero::before {
  content: '';
  position: absolute; top: -30%; right: -15%;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(42,157,143,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; bottom: -25%; left: -8%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(197,153,62,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  position: relative; z-index: 1;
}

/* Photo */
.hero-photo-col { position: relative; }

.hero-photo {
  width: clamp(220px, 22vw, 310px);
  aspect-ratio: 3 / 3.7;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(42,157,143,0.25);
  box-shadow: var(--shadow-hero);
}

.hero-photo-badge {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--navy-mid);
  border: 1px solid rgba(42,157,143,0.25);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.03em;
}

/* Copy */
.hero-eyebrow {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.85rem;
  opacity: 0; animation: riseIn 0.55s 0.15s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  opacity: 0; animation: riseIn 0.55s 0.28s forwards;
}

.hero-desc {
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.78;
  max-width: 540px;
  margin-bottom: 1.25rem;
  opacity: 0; animation: riseIn 0.55s 0.4s forwards;
}

.hero-personal {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.48);
  margin-bottom: 1.75rem;
  opacity: 0; animation: riseIn 0.55s 0.5s forwards;
}

/* Credential pills */
.hero-credentials {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  margin-bottom: 2rem;
  opacity: 0; animation: riseIn 0.55s 0.58s forwards;
}

.cred-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
}

.cred-pill-icon { font-size: 0.85rem; }

/* Buttons */
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  opacity: 0; animation: riseIn 0.55s 0.68s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.72rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all 0.22s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--teal); color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42,157,143,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.22);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
}

.btn-outline-dark {
  background: transparent;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal-text);
}
.btn-outline-dark:hover {
  background: var(--teal-pale);
}

/* ══════════════════════════════
   PAGE HERO — Inner Pages
   ══════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + clamp(2.5rem,5vw,4rem)) 0 clamp(2.5rem,5vw,4rem);
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42,157,143,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.65rem;
  opacity: 0; animation: riseIn 0.5s 0.1s forwards;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  opacity: 0; animation: riseIn 0.5s 0.22s forwards;
}

.page-hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.7;
  opacity: 0; animation: riseIn 0.5s 0.34s forwards;
}

/* ══════════════════════════════
   SECTION UTILITIES
   ══════════════════════════════ */
.section { padding: var(--section-py) 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--white); }

.section-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 0.6rem;
}

.section--navy .section-label { color: var(--teal-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.section--navy .section-title { color: var(--white); }

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.section--navy .section-subtitle { color: rgba(255,255,255,0.5); }

/* ══════════════════════════════
   CARDS
   ══════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  transition: transform 0.22s, box-shadow 0.22s;
}

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

/* dark variant */
.card--dark {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.07);
}

.card--dark:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(42,157,143,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* ══════════════════════════════
   HOME — About Preview
   ══════════════════════════════ */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-text p {
  font-size: 1rem; line-height: 1.8;
  margin-bottom: 1.15rem;
}

.about-text p:first-of-type::first-line {
  font-weight: 600; color: var(--text-primary);
}

.highlight-stack { display: grid; gap: 1rem; }

.highlight-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border-lighter);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.hl-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

.hl-body h4, .hl-body-title {
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 0.15rem;
}

.hl-body p {
  font-size: 0.8rem; color: var(--text-muted);
  line-height: 1.5; margin-bottom: 0;
}

/* ══════════════════════════════
   HOME — Services
   ══════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700;
  color: rgba(42,157,143,0.25);
  line-height: 1; margin-bottom: 0.85rem;
}

.card--dark h3 {
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.6rem;
}

.card--dark p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65; margin-bottom: 0.85rem;
}

.svc-list { display: flex; flex-direction: column; gap: 0.35rem; }

.svc-list li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  padding-left: 1rem; position: relative;
}

.svc-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--teal-light); font-size: 0.72rem;
}

.services-actions {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.85rem;
}

/* ══════════════════════════════
   HOME — CTA Banner
   ══════════════════════════════ */
.cta-banner {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700; margin-bottom: 0.6rem;
  position: relative;
}

.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px; margin: 0 auto 1.75rem;
  position: relative;
}

.cta-banner .btn-primary {
  background: var(--white); color: var(--teal-dark);
}
.cta-banner .btn-primary:hover {
  background: var(--cream);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ══════════════════════════════
   ABOUT PAGE
   ══════════════════════════════ */
.about-body {
  max-width: 720px;
}

.about-body p {
  font-size: 1.02rem; line-height: 1.85;
  margin-bottom: 1.35rem;
}

.about-body p:first-of-type {
  font-size: 1.12rem;
  color: var(--text-primary);
}

/* ══════════════════════════════
   RESEARCH PAGE — Pubs
   ══════════════════════════════ */
.pub-stack { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }

.pub-card h4 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45; margin-bottom: 0.4rem;
}

.pub-authors {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.pub-journal {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.84rem;
  color: var(--teal-dark);
}

.pub-doi {
  display: inline-block; margin-top: 0.45rem;
  font-size: 0.78rem; font-weight: 600;
  color: var(--teal-text);
  transition: color 0.2s;
}

.pub-doi:hover { color: var(--teal-dark); }

.pub-full-link {
  text-align: center;
}

.pub-full-link a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600;
  color: var(--teal-text);
  transition: gap 0.2s;
}

.pub-full-link a:hover { gap: 0.7rem; }

/* ══════════════════════════════
   GRANTS PAGE
   ══════════════════════════════ */
.grants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.grants-col-head {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.65rem;
  border-bottom: 2.5px solid var(--teal);
  display: inline-block;
}

.grant-item {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--cream-dark);
  transition: border-color 0.2s;
}

.grant-item:hover { border-color: var(--teal); }

.grant-item h4 {
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-primary);
  line-height: 1.42; margin-bottom: 0.2rem;
}

.grant-meta {
  font-size: 0.8rem; color: var(--text-muted);
  line-height: 1.5;
}

.grant-amount {
  display: inline-block; margin-top: 0.2rem;
  font-size: 0.8rem; font-weight: 600;
  color: var(--teal-dark);
}

/* ══════════════════════════════
   LEADERSHIP PAGE
   ══════════════════════════════ */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.lead-col-head {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.65rem;
  border-bottom: 2.5px solid var(--gold-decorative);
  display: inline-block;
}

.lead-item {
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin-bottom: 1.15rem;
}

.lead-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 0.52rem; flex-shrink: 0;
}

.lead-item h4 {
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-primary); line-height: 1.4;
}

.lead-item p {
  font-size: 0.82rem;
  color: var(--text-muted); line-height: 1.5;
}

/* ══════════════════════════════
   CONTACT PAGE
   ══════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 0.85rem;
}

.contact-info > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.contact-channels { display: flex; flex-direction: column; gap: 0.7rem; }

.ch-row {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.86rem; color: var(--text-body);
}

.ch-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}

.ch-row a { color: var(--teal-text); font-weight: 500; }
.ch-row a:hover { color: var(--teal-dark); }

/* Form */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

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

.fg { margin-bottom: 1.15rem; }

.fg label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.2s;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-color: var(--teal);
}

.fg textarea { resize: vertical; min-height: 115px; }

.form-submit {
  width: 100%;
  padding: 0.78rem;
  background: var(--teal); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--teal-light); }

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-copy { font-size: 0.78rem; }

.footer-links {
  display: flex; gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

/* ══════════════════════════════
   ANIMATIONS
   ══════════════════════════════ */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-photo-col { display: flex; justify-content: center; order: -1; }
  .hero-photo { width: 220px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-credentials { justify-content: center; }
  .hero-actions { justify-content: center; }
  .about-preview-grid { grid-template-columns: 1fr; }
  .grants-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(12,29,47,0.98);
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 0.65rem 0.75rem; }
  .nav-menu a::after { display: none; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   SKIP NAVIGATION
   ══════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  background: var(--teal);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ══════════════════════════════
   FOCUS INDICATORS
   ══════════════════════════════ */
:focus-visible {
  outline: 2.5px solid var(--teal-light);
  outline-offset: 2px;
  border-radius: 3px;
}

/* High-contrast focus for dark backgrounds */
.site-nav :focus-visible,
.hero :focus-visible,
.section--navy :focus-visible,
.cta-banner :focus-visible {
  outline-color: var(--gold-light);
}

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

/* ══════════════════════════════
   EXTERNAL LINK INDICATOR
   ══════════════════════════════ */
a[target="_blank"]::after {
  content: " ↗";
  font-size: 0.72em;
  vertical-align: super;
  opacity: 0.6;
}

/* Don't add indicator to buttons/CTAs */
.btn[target="_blank"]::after,
.nav-cta-link[target="_blank"]::after {
  display: none;
}

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

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .hero-eyebrow,
  .hero h1,
  .hero-desc,
  .hero-personal,
  .hero-credentials,
  .hero-actions,
  .page-hero-eyebrow,
  .page-hero h1,
  .page-hero-sub {
    opacity: 1;
    animation: none;
  }
}

/* ══════════════════════════════
   FOCUS-VISIBLE — Keyboard users
   ══════════════════════════════ */
*:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Buttons get a bolder ring */
.btn:focus-visible,
.nav-cta-link:focus-visible,
.form-submit:focus-visible {
  outline: 2.5px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--teal);
}

/* Dark-background links */
.site-nav a:focus-visible,
.site-footer a:focus-visible,
.hero a:focus-visible,
.section--navy a:focus-visible {
  outline-color: var(--teal-light);
}

/* Remove focus ring for mouse clicks */
*:focus:not(:focus-visible) {
  outline: none;
}

/* ══════════════════════════════
   SKIP-TO-CONTENT LINK
   ══════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 0.6rem 1.2rem;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ══════════════════════════════
   FORCED COLORS (Windows HC)
   ══════════════════════════════ */
@media (forced-colors: active) {
  .btn,
  .nav-cta-link,
  .form-submit {
    border: 2px solid ButtonText;
  }

  .card,
  .card--dark,
  .highlight-card,
  .contact-form-wrap {
    border: 1px solid CanvasText;
  }

  .lead-dot {
    background: Highlight;
  }

  .hl-icon {
    forced-color-adjust: none;
  }

  .hero-photo {
    border: 2px solid CanvasText;
  }

  .grant-item {
    border-left: 2px solid Highlight;
  }

  .site-nav {
    border-bottom: 1px solid CanvasText;
  }
}

/* ══════════════════════════════
   PREFERS CONTRAST
   ══════════════════════════════ */
@media (prefers-contrast: more) {
  :root {
    --text-muted: #3e4452;
    --border-light: rgba(0,0,0,0.2);
    --border-lighter: rgba(0,0,0,0.15);
  }

  .card,
  .highlight-card {
    border-width: 2px;
  }

  .hero-desc {
    color: rgba(255,255,255,0.9);
  }

  .hero-personal {
    color: rgba(255,255,255,0.7);
  }

  .svc-list li {
    color: rgba(255,255,255,0.8);
  }

  .card--dark p {
    color: rgba(255,255,255,0.75);
  }
}
