/* ============ THEME & VARIABLES ============ */
:root {
  --bg: #0b0c0bde;
  --bg-2: #1214127f;
  --ink: #e8e8e6;
  --muted: #b9b9b0;
  --gold: #d1b47d;
  --pine: #7a8f7a;
  --blue: #3e595d; /* muted mountain blue */
  --glass: rgba(18, 20, 18, 0.55);
  --border: 1px solid rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --ring: 0 0 0 2px rgba(209, 180, 125, 0.25);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  --max: 1400px; /* increased from 1160px to allow wider content */
}

/* ============ RESET & BASE ============ */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============ LAYOUT ============ */
.container {
  /* use full width but constrain content with max-width and explicit gutters
     so header brand/nav can align predictably to the viewport edge */
  width: 100%;
  max-width: var(--max);
  padding-inline: clamp(12px, 4vw, 40px);
  margin: 0 auto;
}

@media (min-width: 1400px) {
  .container {
    padding-inline: 18px; /* tighten gutters on very wide screens */
  }
  header {
    padding-inline: 6px; /* allow header content to hug the edge slightly more */
  }
  .brand {
    margin-left: 6px;
  }
}

main {
  padding-top: 72px; /* Account for fixed header */
}

.section {
  padding: 96px 0;
}

.spacer {
  height: 14px;
}

/* ============ TYPOGRAPHY ============ */
.kicker {
  color: var(--gold);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  display: inline-block;
  background: rgba(209, 180, 125, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
  margin-top: 8px;
}

.lede {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 10px;
  font-size: 16px;
}

/* ============ HEADER (GLASS BLUR) ============ */
header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  z-index: 50;
  display: flex;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--border);
}

/* Allow header to be full-bleed while keeping page content centered
   This removes the centered .container gutter only for the header so
   the brand can sit visibly closer to the viewport edge. */
header > .container {
  width: 100%;
  max-width: none;
  padding-inline: clamp(8px, 2.5vw, 24px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav {
  display: flex;
  align-items: center;
  height: 72px;
  width: 100%;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.brand h1 {
  font-size: 20px;
  letter-spacing: 0.3px;
  color: var(--gold);
}

.brand span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto; /* push nav to the right on narrow screens */
}

/* On larger screens, reduce the left gap so brand and nav sit closer together */
@media (min-width: 940px) {
  .nav-links {
    margin-left: 24px; /* modest gap instead of auto */
  }
}

.links a {
  font-size: 14px;
  opacity: 0.95;
  position: relative;
  transition: opacity 0.2s ease;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0%;
  background: var(--gold);
  transition: width 0.28s ease;
}

.links a:hover::after,
.links a.active::after {
  width: 100%;
}

/* Mobile Menu */
.hamburger {
  display: none;
  border: var(--border);
  background: transparent;
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: box-shadow 0.2s ease;
}

.hamburger:hover {
  box-shadow: var(--ring);
}

.menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  position: fixed;
  top: 72px;
  right: 16px;
  width: min(280px, 88vw);
  background: rgba(13, 15, 13, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--border);
  border-radius: 14px;
  padding: 16px;
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu a {
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 14px;
  transition: background 0.2s ease;
}

.menu a:hover,
.menu a.active {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 940px) {
  .links {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .menu {
    display: flex;
  }
}
/* ============ FOOTER - CLEAN LAYOUT ============ */
footer {
  padding: 60px 0 32px;
  color: var(--muted);
  background: rgb(18, 20, 18);
  border-top: var(--border);
  margin-top: 100px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Left Column */
.footer-contact {
  text-align: left;
}

.footer-contact p {
  font-size: 14px;
  line-height: 1.8;
  margin: 6px 0;
}

.footer-contact a {
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.footer-contact a:hover {
  opacity: 0.8;
}

/* Center Column */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 280px;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}

.footer-tagline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-center a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-center a:hover {
  color: var(--gold);
}

/* Right Column */
.footer-right {
  text-align: right;
}

.footer-right p {
  font-size: 14px;
  line-height: 1.8;
  margin: 6px 0;
}

.footer-right a {
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.footer-right a:hover {
  opacity: 0.8;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 24px;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-contact,
  .footer-right {
    text-align: center;
  }
}

/* ============ BUTTONS ============ */
.btn {
  appearance: none;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.2px;
  font-size: 14px;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold) 0%, #b69352 100%);
  color: #0a0a09;
  box-shadow: 0 6px 18px rgba(209, 180, 125, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  box-shadow: var(--ring);
}

/* ============ CARDS ============ */
.card {
  border: var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* Card title underline - elegant gradient */
.card-title {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(209, 180, 125, 0.3) 0%, rgba(209, 180, 125, 0) 100%);
}

/* Hide the ombre underline for cards inside the "Beyond the Operating Room" section */
.section-stone-light .card-title::after {
  display: none;
}

.card p {
  margin: 8px 0;
  line-height: 1.6;
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* removed extra top margin so hero sits directly under fixed header */
  margin-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/IMG_1452.jpg") center 105% / cover no-repeat;
  filter: saturate(1.05) contrast(1.05) brightness(0.65);
  transform: scale(1.02);
  /* Subtle Ken Burns animation for a living hero background */
  animation: kenburns-hero 28s ease-in-out infinite alternate;
  will-change: transform, background-position;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 30% 20%, rgba(122, 143, 122, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(11, 12, 11, 0.15), rgba(11, 12, 11, 0.96) 88%);
}



/* Optional video background support: add class `hero--video` and place a <video> inside .hero */
.hero.hero--video::before {
  /* Remove the static image when video is present */
  background: none;
  transform: none;
  animation: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* sits behind content; overlays remain on ::after */
  filter: saturate(1.05) contrast(1.05) brightness(0.7);
}

/* On mobile, optionally dim the video slightly more for text legibility */
@media (max-width: 768px) {
  .hero-video { filter: saturate(1) contrast(1.05) brightness(0.6); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 0 90px;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(122, 143, 122, 0.28);
  background: rgba(122, 143, 122, 0.12);
  color: #dfe6df;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.headline {
  margin: 18px 0 10px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.03;
}

.sub {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
}

.cta {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ SECTION VARIANTS ============ */

/* Elegant black to brown ombre section */
.section-brown-ombre {
  background: linear-gradient(180deg,
    rgba(10, 10, 10, 1) 0%,
    rgba(42, 35, 28, 0.95) 35%,
    rgba(58, 45, 32, 0.92) 65%,
    rgba(38, 32, 26, 0.95) 100%
  );
  border-top: 1px solid rgba(141, 124, 92, 0.25);
  border-bottom: 1px solid rgba(141, 124, 92, 0.25);
  position: relative;
}

.section-brown-ombre::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/png;base64,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");
  opacity: 0.1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ============ ABOUT SECTION ============ */
.about {
  padding: 96px 0;
  background: rgba(141, 124, 92, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
}

.portrait {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: url("../images/Matt Headshot.jpg") center / cover no-repeat;
  border: var(--border);
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ EXPERTISE SECTION ============ */
.expertise {
  padding: 90px 0;
}

.xp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.xp-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 14px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
}

.xp-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 20px;
  flex-shrink: 0;
}

.xp-item small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .xp-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ RESEARCH SECTION ============ */
.research {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.papers {
  display: flex;
  gap: 14px;
  overflow: auto;
  padding: 6px 2px;
}

.paper {
  min-width: 340px;
  border-radius: 14px;
  padding: 16px 18px;
  border: var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.paper h4 {
  font-size: 18px;
  margin: 0 0 6px;
}

.paper .meta {
  font-size: 12px;
  color: var(--muted);
}

/* ============ REVIEWS SECTION ============ */
.reviews {
  padding: 84px 0;
}

.review-wrap {
  position: relative;
  min-height: 160px;
}

.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 12%;
}

.quote.active {
  opacity: 1;
  transform: none;
}

.quote p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.quote .who {
  margin-top: 10px;
  color: #cfcfc8;
  font-size: 14px;
}

/* ============ GALLERY SECTION ============ */
.gallery {
  padding: 90px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: var(--border);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.tile .ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tile:hover .ov {
  opacity: 1;
}

.grid .t1,
.grid .t2 {
  grid-column: span 3;
  height: 240px;
}

.grid .t3,
.grid .t4,
.grid .t5 {
  grid-column: span 2;
  height: 220px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid .t1,
  .grid .t2,
  .grid .t3,
  .grid .t4,
  .grid .t5 {
    grid-column: span 1;
    height: 200px;
  }
}

/* ============ CONTACT SECTION ============ */
.contact-section {
  padding: 100px 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 18px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Defensive contact layout tweaks */
.contact-grid > div {
  min-width: 0; /* allow flex children to shrink inside grid columns */
}
.contact-grid .card {
  width: 100%;
}

/* ============ FORMS ============ */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}


.form-input,
.form-textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select.form-input {
  background: rgba(50, 8, 8, 0) !important;
  color: var(--muted) !important;
  border: 1px solid rgba(255,255,255,0.12);
}

select.form-input option {
  background: rgba(15, 17, 15, 0.80) !important;
  color: var(--muted) !important;
}

select.form-input option {
  background: var(--bg) !important;
  color: var(--muted) !important;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(209, 180, 125, 0.3);
  box-shadow: var(--ring);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============ TRUST STRIP ============ */
.trust {
  padding: 38px 0;
}

.trust .rail {
  display: flex;
  gap: 48px;
  align-items: center;
  overflow: auto;
  padding: 8px 6px;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.trust img {
  height: 36px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.trust img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-1px);
}

/* ============ CTA BAND ============ */
.cta-band {
  padding: 84px 0;
  text-align: center;
  background: linear-gradient(90deg, #141614, #0b0c0b);
  border-top: var(--border);
}

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  animation: fade 0.7s ease forwards;
}

.fade-in.delay {
  animation-delay: 0.25s;
}

@keyframes fade {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Generic fade-in-up helper used by IntersectionObserver */
.fade-in-up { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.fade-in-up.visible { opacity: 1; transform: none; }

/* ============ ABOUT PAGE SPECIFIC ============ */
.about-page {
  padding: 100px 0 80px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 16px;
  color: var(--muted);
}

.about-text h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.about-text ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.about-text ul li {
  padding: 6px 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-photo {
  position: sticky;
  top: 100px;
}

.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: var(--border);
}

.btn-group {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  .about-photo {
    position: relative;
    top: 0;
    order: -1;
  }
}


/* ============ NEW REDESIGN CLASSES ============ */

/* Hero redesign */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 10px 20px 90px;
  max-width: 800px;
  margin: 50px 0 0 0px;
  width: 100%;

}

.hero-badge {
  display: inline-flex;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(122, 143, 122, 0.15);
  border: 1px solid rgba(122, 143, 122, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a3b8a3;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(52px, 8vw, 85px);
  line-height: 1.02;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: normal;
  word-break: break-word;
  background: linear-gradient(135deg, 
    #f4e4c1 0%, 
    var(--gold) 25%, 
    #c9a961 50%, 
    var(--gold) 75%, 
    #f4e4c1 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-title {
    font-size: clamp(32px, 8vw, 44px);
    white-space: normal;
    word-break: break-word;
  }
  .hero-subtitle {
    margin-left: auto;
  }
  .hero-cta {
    justify-content: center;
  }
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--gold);
  color: #0a0a09;
}

/* Section variants */
.section-dark {
  background: (
    0deg,
    rgba(255, 255, 255, 0.02) 0px,
    transparent 1px,
    transparent 40px
  );
  background-attachment: fixed;
  border-top: var(--border);
  border-bottom: var(--border);
}

/* Mountain dark section variant */
.section-mountain-dark {
  background: linear-gradient(180deg,
    rgba(28, 30, 28, 0.92) 0%,
    rgba(32, 34, 32, 0.88) 35%,
    rgba(38, 40, 38, 0.85) 65%,
    rgba(28, 30, 28, 0.92) 100%
  );
  border-top: var(--border);
  border-bottom: var(--border);
  position: relative;
}

/*Tan/Warm section variant */
.section-warm {
  background: linear-gradient(180deg, rgba(141, 124, 92, 0.25) 0%, rgba(141, 124, 92, 0.12) 50%, rgba(141, 124, 92, 0.08) 100%);
  background-attachment: fixed;
  backdrop-filter: blur(1px);
  border-top: 1px solid rgba(141, 124, 92, 0.2);
  border-bottom: 1px solid rgba(141, 124, 92, 0.2);
}
/* Pine section variant */
.section-pine {
  background: radial-gradient(ellipse 1000px 500px at 30% 50%, rgba(122, 143, 122, 0.15), transparent),
    linear-gradient(180deg, rgba(122, 143, 122, 0.05), rgba(122, 143, 122, 0.08));
  backdrop-filter: blur(1px);
  border-top: 1px solid rgba(122, 143, 122, 0.2);
  border-bottom: 1px solid rgba(122, 143, 122, 0.2);
}

/* Blue section variant (muted mountain blue) */
.section-blue {
  /* vertical ombre: muted mountain blue to slate */
  background: linear-gradient(180deg,
    rgba(85, 123, 128, 0.20) 0%, /* lighter top */
    rgba(85, 123, 128, 0.14) 30%,
    rgba(70, 90, 100, 0.12) 60%, /* mid tone */
    rgba(40, 56, 64, 0.10) 100% /* darker slate bottom */
  );
  border-top: 2px solid rgba(85, 123, 128, 0.28);
  border-bottom: 2px solid rgba(40, 56, 64, 0.18);
  position: relative;
}

.section-blue::after {
  /* subtle grain/texture overlay for depth */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, rgba(0,0,0,0.02) 100%);
  mix-blend-mode: overlay;
  border-radius: 0px;
}

.section-blue-pine {
  background: linear-gradient(135deg, rgba(74, 106, 138, 0.15) 0%, rgba(122, 143, 122, 0.12) 100%);
  background-size: 100% 200%;
  background-position: center;
  backdrop-filter: blur(1px);
  border-top: 1px solid rgba(239, 242, 242, 0.25);
  border-bottom: 1px solid rgba(98, 124, 130, 0.25);
}
.section-gradient {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 50%, var(--bg-2) 100%);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(209, 180, 125, 0.15);
}

.stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(600px, 1fr));
  gap: 48px;
}

/* Roles grid: center the two smaller cards and center the large card below them */


.roles-grid {
  display: grid;
  /* widen max column width so ABPS and similar lines never overflow */
  grid-template-columns: repeat(2, minmax(360px, 820px));
  gap: 48px;
  justify-content: center;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.roles-grid > .card {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-right: 36px;
}

/* Add a touch more right-side padding to prevent text from sitting on the card border */
/* padding-right tweak removed to restore previous layout */

/* Make the main card content expand so cards share equal height */
.roles-grid > .card .card-text,
.roles-grid > .card p,
.roles-grid > .card ul {
  flex: 1 1 auto;
}

/* helper to prevent line-wrapping for short phrases that must stay on one line */
.no-wrap { white-space: nowrap; }

/* At intermediate/tablet sizes allow the protected item to wrap so it doesn't overflow */
@media (max-width: 1080px) {
  .no-wrap { white-space: normal; }
}

/* Safe wrapping for list content so long lines never escape the card */
.list-muted li,
.roles-grid > .card {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Ensure the large joining card centers in its row */
.card-centered-lg {
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .roles-grid {
    grid-template-columns: 1fr; /* stack on smaller screens */
    justify-content: stretch;
  }
  .roles-grid > .card { max-width: none; }
}
/* About hero */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr; /* equal columns */
  gap: 64px; /* increased gap for more space between cards and photo */
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.about-image-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  width: 100%;
  max-width: 620px; /* reduced from 720px */
  margin-left: auto;
  position: relative;
}

.slideshow {
  position: relative;
  height: 680px; /* increased from 560px for better photo display */
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  height: 100%;
}

.slide.active {
  opacity: 1;
}

.slide {
  display: flex;
  flex-direction: column;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0,0,0,0.1);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4) 80%, transparent);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.slide.active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Slideshow Navigation */
.slideshow-nav {
  position: absolute;
  bottom: 60px; /* moved up to account for caption */
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}

/* Slideshow Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.about-image-wrapper:hover .slide-arrow {
  opacity: 1;
}

.slide-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: var(--gold);
}

@media (min-width: 1200px) {
  .about-image-wrapper {
    max-width: 620px;
  }
}

/* On small screens, center the headshot but maintain a reasonable size */
@media (max-width: 980px) {
  .about-image-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }
}

.section-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.expertise-card {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s ease;
}

.expertise-card:hover {
  border-color: rgba(209, 180, 125, 0.3);
  box-shadow: 0 0 20px rgba(209, 180, 125, 0.15);
  transform: translateY(-4px);
}

.expertise-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.expertise-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.expertise-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* Publications */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.publication-item {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
}

.publication-item:hover {
  background: rgba(209, 180, 125, 0.05);
  transform: translateX(4px);
}

.publication-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.publication-meta {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Utils */
.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold);
}

.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.card-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.card-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.spacer-lg {
  height: 60px;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav links fix */
.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  right: 16px;
  background: rgba(13, 15, 13, 0.98);
  backdrop-filter: blur(12px);
  border: var(--border);
  border-radius: 14px;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
  width: min(320px, 90vw);
}

/* ============ Procedures DROPDOWN / SUBMENUS ============ */
.nav-item {
  position: relative;
}

.submenu-toggle {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
}

.submenu-toggle:focus {
  box-shadow: var(--ring);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px); /* Reduced gap from 8px to 2px */
  left: 0;
  min-width: 220px;
  background: rgba(13,15,13,0.98);
  border: var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
  z-index: 60;
  flex-direction: column;
}

/* Add a pseudo-element to bridge the gap between button and dropdown */
.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px; /* Bridge the gap */
  background: transparent;
}

.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  border-radius: 8px;
}

/* Make sure dropdown and mobile submenu text matches header typography */
.submenu-toggle,
.dropdown-menu,
.dropdown-menu a,
.mobile-submenu,
.mobile-submenu a {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.04);
}

.nav-item.open .dropdown-menu {
  display: flex;
}

/* Desktop hover reveal (non-interfering with JS state) */
@media (hover: hover) and (min-width: 941px) {
  .nav-item:hover .dropdown-menu { 
    display: flex; 
  }
}


/* Mobile submenu inside the mobile-menu - visually match desktop dropdown */
.mobile-submenu {
  display: none;
  flex-direction: column;
  margin: 6px 0 0 0;
  /* match dropdown panel styles so mobile submenu looks the same */
  background: rgba(13,15,13,0.98);
  border: var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
}

.mobile-submenu.open { display: flex; }

.mobile-submenu-toggle {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: inherit;
  padding: 14px; /* match .mobile-menu a */
  border-radius: 8px; /* match mobile link radius */
  margin-bottom: 8px; /* spacing consistent with links */
  cursor: pointer;
}

.mobile-submenu-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}


.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* mobile-submenu links mirror desktop dropdown links */
.mobile-submenu a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  border-radius: 8px;
}

.mobile-submenu a:hover {
  background: rgba(255,255,255,0.04);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Ensure mobile menu and Procedures submenu typography matches header nav */
.mobile-menu,
.mobile-menu a,
.mobile-submenu,
.mobile-submenu a,
.mobile-submenu-toggle {
  font-family: inherit; /* follow body font (Inter) */
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--ink);
  text-transform: none;
}

.mobile-menu a {
  color: var(--ink);
}

/* Gold/ombre text treatment for mobile menu */
.mobile-menu a.gradient-gold,
.mobile-submenu a.gradient-gold,
.mobile-submenu-toggle.gradient-gold {
  /* gradient text using background-clip */
  background: linear-gradient(90deg, #f0d9a6 0%, #d1b47d 40%, #b69352 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

/* Fallback for browsers that don't support background-clip:text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .mobile-menu a.gradient-gold,
  .mobile-submenu a.gradient-gold,
  .mobile-submenu-toggle.gradient-gold {
    color: var(--gold);
  }
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info p:first-child {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 968px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .about-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Affiliations Scroll */
.affiliations-scroll {
  overflow: hidden;
  padding: 30px 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.affiliations-track {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.affiliation-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 300px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: var(--border);
  border-radius: 12px;
  flex-shrink: 0;
}

.affiliation-logo {
  font-size: 32px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  flex-shrink: 0;
}

.affiliation-text {
  flex: 1;
}

.affiliation-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}

.affiliation-detail {
  font-size: 13px;
  color: var(--muted);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.affiliations-track:hover {
  animation-play-state: paused;
}



/* End of styles.css */

/* ============ ABOUT PAGE: moved inline styles ============ */
/* ============ REVIEWS (Testimonials) MODERN STYLES ============ */
.reviews-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 968px) {
  .reviews-grid-modern { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .reviews-grid-modern { grid-template-columns: 1fr; }
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px 0;
}

.review-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-weight: 600;
  color: var(--gold);
}

.review-category {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.reviews-more { display: none; }
.reviews-more.open { display: grid; }
.about-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 18px 0;
}

.list-muted {
  list-style: none;
  padding: 0;
  color: var(--muted);
  line-height: 2;
  margin: 0;
}

.card-centered-lg {
  max-width: 1200px;
  margin: 0 auto;
}

.card-text-lg {
  color: var(--muted);
  font-size: 16px;
}

.centered-image-wrapper {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.responsive-photo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  display: block;
}

.grid-2.centered {
  gap: 60px;
  align-items: center;
}

.core-values {
  list-style: none;
  padding: 0;
  margin: 0;
}
.core-values li {
  padding: 12px 0;
  border-bottom: var(--border);
}
.core-values li strong { color: var(--gold); }
.core-values li span { font-size: 14px; color: var(--muted); display: block; margin-top: 4px; }

.btn-group.centered { justify-content: center; }

/* Defensive rule: ensure headshot modifier sits next to bio when present */
.about-image-wrapper.headshot-sm {
  max-width: 520px;
  margin-left: 0 !important;
  border: none;
  background: transparent;
}

/* Profile Card */
.profile-card {
  background: rgba(255, 255, 255, 0.03);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.profile-image {
  width: 100%;
  aspect-ratio: 0.85;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-details {
  padding: 20px 20px 24px;
  text-align: center;
}

.profile-details h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--gold);
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.credentials-list li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.credentials-list li:last-child {
  border-bottom: none;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  width: 100%;
}

/* Add this to the END of your existing styles.css file */

/* ============ RESEARCH PAGE: Featured Publications ============ */

/* Featured Publications Card Styling */
.featured-publications-card {
  border: var(--border);
  border-radius: var(--radius);
  /* Pine/blue gradient background with texture */
  background: 
    linear-gradient(135deg, rgba(122, 143, 122, 0.08) 0%, rgba(85, 123, 128, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  padding: 48px 40px 40px;
  max-width: 900px;
  margin: 0 auto 60px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line */
.featured-publications-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.featured-publications-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.3px;
  position: relative;
}

/* Decorative underline for heading */
.featured-publications-card h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

.featured-pub-item {
  padding: 20px 0;
  border-bottom: var(--border);
  transition: transform 0.2s ease, opacity 0.2s ease;
  position: relative;
  padding-left: 0;
}

/* Hover effect for publication items */
.featured-pub-item:hover {
  transform: translateX(4px);
}

/* Subtle left border accent on hover */
.featured-pub-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.featured-pub-item:hover::before {
  height: 60%;
}

.featured-pub-item:first-of-type {
  padding-top: 0;
}

.featured-pub-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.featured-pub-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.featured-pub-item:hover h3 {
  color: var(--gold);
}

.featured-pub-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Journal badge styling */
.featured-pub-meta::before {
  content: "📄";
  font-size: 12px;
  opacity: 0.6;
}

.featured-pub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 0;
  position: relative;
}

/* Animated underline on link hover */
.featured-pub-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.featured-pub-link:hover::after {
  width: 100%;
}

.featured-pub-link:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* Arrow animation */
.featured-pub-link::before {
  content: "→";
  transition: transform 0.2s ease;
  display: inline-block;
}

.featured-pub-link:hover::before {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .featured-publications-card {
    padding: 32px 24px 28px;
  }

  .featured-publications-card h2 {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .featured-pub-item {
    padding: 18px 0;
  }

  .featured-pub-item h3 {
    font-size: 16px;
  }

  .featured-pub-item::before {
    display: none;
  }
}

/* Enhanced Footer Styles */
.footer {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: var(--border);
  padding: 48px 0 20px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-section h3,
.footer-section h4 {
  font-family: "Playfair Display", serif;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-section p {
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0;
}

.footer-section a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-legal {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 24px;
  padding-top: 20px;
  border-top: var(--border);
  opacity: 0.75;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  border-top: var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--muted);
  transition: color 0.2s ease;
  font-size: 12px;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .footer {
    padding: 36px 0 18px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ============ DURANGO MOUNTAIN COLOR CLASSES (Dark Moody Ombres) ============ */
/* Visible gradients with deep, dark endings */

/* BLUE TO GREEN OMBRES */
.bg-river-to-forest {
  background: linear-gradient(180deg, rgba(67, 103, 108, 0.30), rgba(48, 58, 48, 0.65));
}

.bg-animas-to-pine {
  background: linear-gradient(135deg, rgba(85, 123, 128, 0.32), rgba(38, 48, 38, 0.70));
}

.bg-glacier-to-sage {
  background: linear-gradient(180deg, rgba(98, 130, 135, 0.28), rgba(62, 73, 62, 0.62));
}

.bg-mountain-blue-green {
  background: linear-gradient(135deg, rgba(78, 98, 115, 0.30), rgba(55, 65, 55, 0.68));
}

/* TAN TO BROWN OMBRES */
.bg-sand-to-earth {
  background: linear-gradient(180deg, rgba(186, 162, 137, 0.28), rgba(61, 47, 36, 0.70));
}

.bg-desert-to-canyon {
  background: linear-gradient(135deg, rgba(191, 162, 128, 0.30), rgba(75, 59, 46, 0.68));
}

.bg-clay-to-stone {
  background: linear-gradient(180deg, rgba(169, 141, 115, 0.28), rgba(61, 47, 36, 0.65));
}

.bg-warm-to-deep-earth {
  background: linear-gradient(135deg, rgba(185, 155, 118, 0.28), rgba(45, 35, 25, 0.75));
}

/* GRANITE TO BLACK */
.bg-stone-to-shadow {
  background: linear-gradient(180deg, rgba(209, 180, 125, 0.28), rgba(15, 17, 15, 0.80));
}

.bg-slate-to-midnight {
  background: linear-gradient(135deg, rgba(85, 95, 105, 0.30), rgba(11, 12, 11, 0.85));
}

.bg-granite-fade {
  background: linear-gradient(180deg, rgba(95, 100, 105, 0.32), rgba(8, 9, 8, 0.88));
}

.bg-mountain-shadow {
  background: linear-gradient(135deg, rgba(82, 88, 92, 0.32), rgba(6, 7, 6, 0.90));
}

/* LIGHT TO DARK TRANSITIONS */
.bg-dawn-to-dusk {
  background: linear-gradient(180deg, rgba(135, 148, 128, 0.22), rgba(25, 32, 28, 0.75));
}

.bg-mist-to-night {
  background: linear-gradient(135deg, rgba(118, 135, 142, 0.24), rgba(18, 22, 24, 0.78));
}

.bg-sky-to-earth {
  background: linear-gradient(180deg, rgba(98, 118, 135, 0.25), rgba(28, 24, 19, 0.72));
}

.bg-twilight-fade {
  background: linear-gradient(135deg, rgba(108, 134, 137, 0.24), rgba(14, 16, 14, 0.80));
}

/* DRAMAT/* ============ DURANGO MOUNTAIN COLOR PALETTE (Optimized Section Backgrounds) ============ */
/* Purpose-built gradients with dramatic dark endings for professional medical site */

/* Procedures SECTION - Welcoming Sage to Pine (Diagonal) */
.bg-sage-meadow {
  background: linear-gradient(135deg,
    rgba(142, 158, 138, 0.22) 0%,      /* Light sage */
    rgba(98, 118, 95, 0.45) 40%,       /* Mid sage-pine */
    rgba(62, 78, 62, 0.70) 75%,        /* Deep pine */
    rgba(38, 48, 42, 0.85) 100%);      /* Very dark pine-charcoal */
  border-top: 1px solid rgba(122, 143, 122, 0.20);
  border-bottom: 1px solid rgba(62, 78, 62, 0.30);
  position: relative;
}

/* ABOUT SECTION - Warm Canyon to Charcoal (Vertical) */
.bg-canyon-earth {
  background: linear-gradient(180deg,
    rgba(168, 142, 118, 0.28) 0%,      /* Warm tan/clay */
    rgba(118, 92, 72, 0.52) 35%,       /* Mid brown */
    rgba(72, 58, 48, 0.72) 70%,        /* Deep earth brown */
    rgba(28, 24, 22, 0.88) 100%);      /* Near-black charcoal */
  border-top: 1px solid rgba(168, 142, 118, 0.25);
  border-bottom: 1px solid rgba(28, 24, 22, 0.35);
  position: relative;
}

/* ADVANCED PROCEDURES - Cool Mountain Blue to Charcoal (Diagonal Reverse) */
.bg-mountain-steel {
  background: linear-gradient(-135deg,
    rgba(108, 128, 138, 0.26) 0%,      /* Cool blue-gray */
    rgba(78, 95, 108, 0.48) 40%,       /* Mid slate-blue */
    rgba(52, 62, 72, 0.70) 75%,        /* Deep steel */
    rgba(22, 26, 30, 0.88) 100%);      /* Charcoal-black */
  border-top: 1px solid rgba(108, 128, 138, 0.22);
  border-bottom: 1px solid rgba(22, 26, 30, 0.35);
  position: relative;
}

/* CTA SECTION - Dramatic Deep Forest to Black (Diagonal) */
.bg-forest-night {
  background: linear-gradient(135deg,
    rgba(88, 108, 92, 0.35) 0%,        /* Deep forest green */
    rgba(58, 72, 62, 0.62) 35%,        /* Darker forest */
    rgba(35, 45, 38, 0.82) 70%,        /* Very dark pine */
    rgba(12, 15, 14, 0.92) 100%);      /* Almost pure black */
  border-top: 1px solid rgba(88, 108, 92, 0.30);
  border-bottom: 1px solid rgba(12, 15, 14, 0.40);
  position: relative;
}

/* ALTERNATIVE OPTIONS (for mixing things up) */

/* Light Sage Variation - More subtle */
.bg-sage-light {
  background: linear-gradient(135deg,
    rgba(152, 168, 148, 0.18) 0%,
    rgba(108, 128, 105, 0.38) 50%,
    rgba(68, 82, 72, 0.68) 100%);
  border-top: 1px solid rgba(152, 168, 148, 0.15);
  border-bottom: 1px solid rgba(68, 82, 72, 0.25);
}

/* Warm Earth Diagonal */
.bg-earth-diagonal {
  background: linear-gradient(135deg,
    rgba(175, 148, 122, 0.26) 0%,
    rgba(105, 82, 65, 0.58) 50%,
    rgba(42, 35, 28, 0.85) 100%);
  border-top: 1px solid rgba(175, 148, 122, 0.22);
  border-bottom: 1px solid rgba(42, 35, 28, 0.30);
}

/* Cool River Gradient */
.bg-river-mist {
  background: linear-gradient(180deg,
    rgba(118, 138, 145, 0.24) 0%,
    rgba(78, 98, 108, 0.50) 50%,
    rgba(38, 48, 55, 0.82) 100%);
  border-top: 1px solid rgba(118, 138, 145, 0.20);
  border-bottom: 1px solid rgba(38, 48, 55, 0.28);
}

/* Multi-tone Sunset (warm accent option) */
.bg-alpine-sunset {
  background: linear-gradient(135deg,
    rgba(185, 155, 125, 0.24) 0%,
    rgba(128, 102, 82, 0.48) 30%,
    rgba(78, 65, 55, 0.68) 65%,
    rgba(32, 28, 24, 0.88) 100%);
  border-top: 1px solid rgba(185, 155, 125, 0.20);
  border-bottom: 1px solid rgba(32, 28, 24, 0.32);
}

/* Texture overlay for depth (optional - apply to sections needing extra richness) */
.bg-textured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/png;base64,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");
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.section-charcoal {
  background: linear-gradient(180deg, var(--bg-charcoal) 0%, var(--bg-slate) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-stone-light {
  background: linear-gradient(180deg, 
    rgba(138, 154, 138, 0.08) 0%, 
    rgba(122, 143, 122, 0.12) 100%);
  border-top: 1px solid rgba(122, 143, 122, 0.15);
  border-bottom: 1px solid rgba(122, 143, 122, 0.15);
}

.section-slate-blue {
  background: linear-gradient(135deg, 
    rgba(45, 61, 66, 0.85) 0%, 
    rgba(62, 89, 93, 0.65) 50%,
    rgba(85, 123, 128, 0.45) 100%);
  border-top: 1px solid rgba(85, 123, 128, 0.25);
  border-bottom: 1px solid rgba(45, 61, 66, 0.25);
}

.section-pine-forest {
  background: linear-gradient(180deg, 
    rgba(61, 79, 67, 0.35) 0%, 
    rgba(90, 110, 94, 0.25) 50%,
    rgba(122, 143, 122, 0.15) 100%);
  border-top: 1px solid rgba(122, 143, 122, 0.20);
}

.section-taupe-warm {
  background: linear-gradient(135deg, 
    rgba(139, 126, 111, 0.12) 0%, 
    rgba(201, 181, 140, 0.08) 100%);
  border-bottom: 1px solid rgba(139, 126, 111, 0.18);
}

/* Reverse layout - card on right side */
.image-section.reverse .image-content {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.image-section.reverse::before {
  background: linear-gradient(270deg, rgba(11, 12, 11, 0.85) 0%, rgba(11, 12, 11, 0.3) 100%);
}

/* ============ PATIENT STORIES PAGE (scoped) ============ */
/* Page body background image with full-page overlay */
.page-stories {
  position: relative;
  background: url("../images/Animas-Hero.jpg") center 50% / cover no-repeat fixed;
}

/* Add a darkening overlay across the entire page background */
.page-stories::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(11, 12, 11, 0.10) 0%,
    rgba(11, 12, 11, 0.30) 50%,
    rgba(11, 12, 11, 0.50) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Ensure all page content sits above the overlay */
.page-stories > * {
  position: relative;
  z-index: 1;
}

/* Ensure header sits above the page overlay */
.page-stories header {
  z-index: 50;
}

/* Testimonials hero overlay and spacing */
.stories-hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 680px; /* fixed height to prevent layout shift */
  z-index: 0;
}
.stories-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -120px; /* extend up under header */
  bottom: 0;
  background:
    radial-gradient(1200px 600px at 30% 20%, rgba(122, 143, 122, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(11, 12, 11, 0.20), rgba(11, 12, 11, 0.60) 88%);
  pointer-events: none;
  z-index: -1;
}
.stories-hero .section-title { color: #fff; }

/* Reviews rotator card */
.reviews-rotator {
  max-width: 760px;
  min-height: 320px; /* fixed min-height to prevent height jumps between testimonials */
  margin: 0 auto;
  padding: 24px 24px;
  background: rgba(16, 16, 16, 0.50);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-soft), 0 0 60px rgba(209, 180, 125, 0.12);
  transition: opacity 0.45s ease;
}
.reviews-rotator.fading { opacity: 0.45; }
.review-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(209, 180, 125, 0.9);
  background: rgba(209, 180, 125, 0.08);
  border: 1px solid rgba(209, 180, 125, 0.25);
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 10px;
}
.rotator-quote {
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  margin: 0 0 10px 0;
}
.rotator-meta {
  color: var(--gold);
  font-size: 13px;
  margin: 0;
}
.rotator-dots {
  display: none; /* hide navigation dots */
}
.stories-cta { margin-top: 32px; }
.stories-cta-btn {
  padding: 12px 24px;
  font-size: 14px;
  color: var(--gold);
  border-color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* News section styles */
.news-section {
  background: rgba(20,22,25,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.news-subtitle { max-width: 820px; }
.news-grid { gap: 20px; margin-top: 16px; }
.news-card { padding: 0; overflow: hidden; }
.news-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.news-card-body { padding: 18px 20px; }
.news-card-title { color: var(--gold); margin-bottom: 6px; }
.news-card-meta { margin: 0; font-size: 13px; color: var(--muted); }
.news-card-link-wrap { margin-top: 10px; }
.news-card-cta { color: var(--gold); font-size: 14px; }

/* CTA band for sharing story */
.cta-share-story {
  background: linear-gradient(135deg, rgba(28, 40, 52, 0.92) 0%, rgba(46, 54, 46, 0.92) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(98, 118, 118, 0.25);
  border-bottom: 1px solid rgba(25, 29, 30, 0.349);
  margin-top: 80px;
}

/* ============ Procedures: PHOTO HERO & PARALLAX ============ */
/* Reusable photo hero for service pages */
.service-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,12,11,0.88) 0%, rgba(11,12,11,0.42) 100%);
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero .section-title { color: #fff; text-align: left; }
.service-hero .section-subtitle { color: rgba(255,255,255,0.9); text-align: left; max-width: 700px; }

/* Decorative parallax band to break up layouts */
.parallax-band {
  position: relative;
  min-height: 240px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.parallax-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,11,0.4), rgba(11,12,11,0.7));
}

@media (max-width: 900px) {
  /* Improve readability on small screens */
  .service-hero { min-height: 360px; }
  .parallax-band { background-attachment: scroll; }
}

/* ============ CARD CONTRAST TUNING BY SECTION ============ */
/* Elevate cards against darker section backgrounds for readability */
.section-blue-pine .card,
.section-slate-blue .card,
.section-pine-forest .card,
.section-charcoal .card,
.section-dark .card,
.bg-stone-to-shadow .card,
.bg-slate-to-midnight .card,
.bg-granite-fade .card,
.bg-mountain-shadow .card,
.bg-dawn-to-dusk .card,
.bg-mist-to-night .card,
.bg-sky-to-earth .card,
.bg-twilight-fade .card {
  background: linear-gradient(180deg, rgba(12, 13, 12, 0.55), rgba(12, 13, 12, 0.38));
  border-color: rgba(239, 242, 242, 0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Slightly lift cards on warmer/lighter sections so they don't blend in */
.section-stone-light .card,
.section-warm .card,
.section-blue .card,
.section-pine .card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Subtle interactive lift without layout shift */
.section-blue-pine .card:hover,
.section-slate-blue .card:hover,
.section-pine-forest .card:hover,
.section-charcoal .card:hover,
.section-dark .card:hover,
.section-stone-light .card:hover,
.section-warm .card:hover,
.section-blue .card:hover,
.section-pine .card:hover,
.bg-stone-to-shadow .card:hover,
.bg-slate-to-midnight .card:hover,
.bg-granite-fade .card:hover,
.bg-mountain-shadow .card:hover,
.bg-dawn-to-dusk .card:hover,
.bg-mist-to-night .card:hover,
.bg-sky-to-earth .card:hover,
.bg-twilight-fade .card:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 12px 36px rgba(0,0,0,0.30);
  border-color: rgba(239, 242, 242, 0.22);
}