/* ============================================================
   Dr. Michael R. Nadorff — Professional Website
   Shared Design System
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:        #1a3557;
  --blue:        #2563a8;
  --blue-light:  #3b82c4;
  --gold:        #b8860b;
  --gold-light:  #d4a017;
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --light-gray:  #eef0f3;
  --mid-gray:    #8a94a6;
  --dark-gray:   #3d4a5c;
  --text:        #1e2d3d;

  /* Aliases used by some inline page styles */
  --dark:        #1e2d3d;
  --light-bg:    #f5f5f5;
  --maroon:      #5d1a2d;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --max-width:   1120px;
  --radius:      6px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.12);

  --transition:  0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a  { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .4rem; }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}
.section--alt {
  background: var(--off-white);
}
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }

.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--dark-gray);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0 2rem;
}

/* --- Grid --- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  border-top: 4px solid var(--blue);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: .5rem; }
.card p  { color: var(--dark-gray); font-size: .95rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  line-height: 1;
  text-align: center;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold-light); }
.nav-logo:hover { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: .25rem;
}

.nav-links li { position: relative; }

.nav-links a {
  display: block;
  padding: .5rem .85rem;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

/* Dropdown */
.nav-links .dropdown-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: .5rem 0;
  list-style: none;
  /* Delay hiding by 800ms so cursor has time to reach the menu */
  transition: opacity 0.15s ease 0.8s, visibility 0.15s ease 0.8s;
}
.nav-links li:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  /* Appear immediately on hover */
  transition: opacity 0.12s ease 0s, visibility 0.12s ease 0s;
}
.nav-links .dropdown-menu li { margin: 0; }
.nav-links .dropdown-menu a {
  color: var(--navy);
  padding: .6rem 1.25rem;
  border-radius: 0;
  font-size: .88rem;
}
.nav-links .dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--blue);
}

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  border-radius: 4px;
  padding: .5rem 1rem !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: .25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links .dropdown-menu {
    /* On mobile, reset the desktop visibility/opacity trick and use display instead */
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,.07);
    margin-top: .25rem;
    border-radius: 4px;
    transition: none;
    /* Hidden by default on mobile; toggled via JS class */
    display: none;
  }
  .nav-links li.dropdown-open .dropdown-menu { display: block; }
  .nav-links .dropdown-menu a { color: rgba(255,255,255,.85); }
  .nav-links .dropdown-menu a:hover,
  .nav-links .dropdown-menu a:active { background: rgba(255,255,255,.1); color: var(--white); }
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4a7a 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
.footer-brand p { font-size: .9rem; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.social-links {
  display: flex;
  gap: .75rem;
  align-items: center;
}
.social-links a {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  transition: color var(--transition);
}
.social-links a:hover { color: var(--white); }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #163b6a 60%, #1e5299 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.03);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.hero-text h1 {
  color: var(--white);
  margin-bottom: .75rem;
}
.hero-text .hero-subtitle {
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}
.hero-text .hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-photo {
  width: 260px;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 3px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-photo-placeholder {
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  padding: 1rem;
}

@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { width: 180px; height: 220px; margin: 0 auto; order: -1; }
}

/* Audience Cards */
.audience-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.75rem;
  text-align: center;
  border-bottom: 4px solid var(--blue);
  transition: box-shadow var(--transition), transform var(--transition);
}
.audience-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.audience-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.audience-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.audience-card p  { color: var(--dark-gray); font-size: .9rem; margin-bottom: 1.25rem; }

/* Stats */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.72);
  font-weight: 500;
}

/* Feature strip */
.feature-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.feature-half {
  padding: 4rem 3rem;
}
.feature-half--dark {
  background: var(--navy);
  color: var(--white);
}
.feature-half--dark h2 { color: var(--white); }
.feature-half--dark p  { color: rgba(255,255,255,.8); }
.feature-half--light { background: var(--off-white); }

@media (max-width: 720px) {
  .feature-strip { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--light-gray);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo img {
  width: 100%;
  object-fit: cover;
}
.about-photo-placeholder {
  text-align: center;
  color: var(--mid-gray);
  font-size: .9rem;
  padding: 2rem;
}
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; margin: 0 auto; }
}

.credential-list {
  list-style: none;
  padding: 0;
}
.credential-list li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: .95rem;
  display: flex;
  gap: .75rem;
}
.credential-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.award-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.award-year {
  font-weight: 700;
  color: var(--blue);
  font-size: .9rem;
  min-width: 42px;
  flex-shrink: 0;
}
.award-name { font-size: .93rem; }

/* ============================================================
   CONSULTING PAGE
   ============================================================ */
.consulting-areas { display: grid; gap: 2.5rem; }
.consulting-area {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 6px 1fr;
}
.consulting-area-bar { background: var(--blue); }
.consulting-area-content { padding: 2rem 2.5rem; }
.consulting-area-content h3 { margin-bottom: .5rem; }
.consulting-area-content .meta {
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

/* ============================================================
   CLINICAL PAGE
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.service-card h4 { margin-bottom: .5rem; color: var(--navy); }
.service-card ul { font-size: .9rem; color: var(--dark-gray); }

/* ============================================================
   RESEARCH PAGE
   ============================================================ */
.grant-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--light-gray);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: start;
}
.grant-year {
  color: var(--blue);
  font-weight: 700;
  font-size: .9rem;
  min-width: 40px;
}
.grant-title { font-size: .95rem; font-weight: 500; }
.grant-agency { font-size: .82rem; color: var(--mid-gray); margin-top: .2rem; }
.grant-amount {
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
  white-space: nowrap;
  text-align: right;
}

/* ============================================================
   PUBLICATIONS PAGE
   ============================================================ */
.pub-filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.pub-filter-btn {
  padding: .4rem 1rem;
  border-radius: 20px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
  color: var(--dark-gray);
}
.pub-filter-btn:hover,
.pub-filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.pub-year-group { margin-bottom: 2.5rem; }
.pub-year-heading {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pub-count {
  background: var(--light-gray);
  color: var(--dark-gray);
  border-radius: 20px;
  padding: .1rem .6rem;
  font-size: .75rem;
  font-weight: 600;
}

.pub-item {
  padding: .9rem 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: .9rem;
  line-height: 1.55;
}
.pub-item:last-child { border-bottom: none; }
.pub-title { font-weight: 600; color: var(--navy); }
.pub-authors { color: var(--dark-gray); }
.pub-journal { font-style: italic; color: var(--dark-gray); }
.pub-links { margin-top: .35rem; }
.pub-links a {
  font-size: .8rem;
  background: var(--light-gray);
  color: var(--blue);
  padding: .2rem .6rem;
  border-radius: 3px;
  margin-right: .35rem;
  font-weight: 500;
  display: inline-block;
}
.pub-links a:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   FOR STUDENTS PAGE
   ============================================================ */
.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  padding: 1.1rem 1.5rem;
  background: var(--white);
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--blue); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  display: none;
  padding: 1rem 1.5rem 1.25rem;
  background: var(--off-white);
  font-size: .93rem;
  color: var(--dark-gray);
  border-top: 1px solid var(--light-gray);
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   BOOK & MEDIA PAGE
   ============================================================ */
.book-showcase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
}
.book-cover {
  width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #d0d0d0;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-size: .85rem;
  color: #666;
  padding: 1rem;
}
@media (max-width: 620px) {
  .book-showcase { grid-template-columns: 1fr; }
  .book-cover { margin: 0 auto; }
}

.media-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  align-items: start;
}
.media-outlet {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: .4rem .85rem;
  border-radius: 3px;
  white-space: nowrap;
}
.media-title { font-weight: 600; color: var(--navy); margin-bottom: .25rem; }
.media-date  { font-size: .85rem; color: var(--mid-gray); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: .1rem; }
.contact-info-text a, .contact-info-text span { font-size: .95rem; color: var(--text); }

.contact-form { background: var(--white); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font-sans);
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

/* Breadcrumb */
.breadcrumb {
  font-size: .83rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 .4rem; }

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Back to top */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--blue);
  margin-top: 2rem;
}
.back-to-top:hover { color: var(--navy); }

/* ============================================================
   RESPONSIVE FIXES — collapse inline grids on mobile
   ============================================================ */
@media (max-width: 720px) {
  /* About page: credentials two-column layout */
  .about-credentials-grid {
    grid-template-columns: 1fr !important;
  }
  /* Research & Media pages: main + sidebar layout */
  .content-sidebar-grid {
    grid-template-columns: 1fr !important;
  }
  /* Speaking page: topic card inner two-column layouts */
  .topic-inner-grid {
    grid-template-columns: 1fr !important;
  }
  /* Speaking page: past presentations grid */
  .presentations-grid {
    grid-template-columns: 1fr !important;
  }
  /* Consulting page: inner two-column grids */
  .consulting-inner-grid {
    grid-template-columns: 1fr !important;
  }
}
