
    :root {
      --uta-blue: #0064b1;
      --uta-dark-blue: #003b71;
      --uta-orange: #f58025;
      --ink: #1f2933;
      --muted: #5d6772;
      --line: #dce3e8;
      --surface: #f6f8fa;
      --white: #ffffff;
      --max-width: 1120px;
      --shadow: 0 12px 30px rgba(0, 59, 113, 0.10);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--white);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      font-size: 15px;
      line-height: 1.55;
    }

    a { color: var(--uta-blue); text-underline-offset: 0.15em; }
    a:hover, a:focus { color: var(--uta-dark-blue); }
    img { max-width: 100%; }

    .skip-link {
      position: absolute;
      left: -9999px;
      top: 0;
      z-index: 1000;
      padding: 0.75rem 1rem;
      background: var(--white);
      color: var(--uta-dark-blue);
    }
    .skip-link:focus { left: 1rem; top: 1rem; }

    .site-bar {
      background: var(--uta-dark-blue);
      color: var(--white);
      border-bottom: 4px solid var(--uta-orange);
    }
    .site-bar-inner,
    .nav-inner,
    .page,
    .footer-inner {
      width: min(var(--max-width), calc(100% - 2rem));
      margin-inline: auto;
    }
    .site-bar-inner {
      min-height: 54px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .uta-name {
      color: var(--white);
      font-weight: 700;
      letter-spacing: 0.01em;
      text-decoration: none;
    }
    .lab-name {
      color: #e9f4fb;
      font-size: 0.86rem;
      text-align: right;
    }

    .primary-nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.97);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(8px);
    }
    .nav-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.25rem;
      padding-block: 0.35rem;
    }
    .nav-inner a {
      display: inline-block;
      padding: 0.42rem 0.62rem;
      color: var(--ink);
      font-weight: 650;
      text-decoration: none;
      border-radius: 0.45rem;
    }
    .nav-inner a:hover,
    .nav-inner a:focus {
      background: #eaf3f9;
      color: var(--uta-dark-blue);
    }
    .nav-inner .external { margin-left: auto; }

    .page { padding: 0.65rem 0 2.75rem; }

    .hero {
      display: grid;
      grid-template-columns: 135px minmax(0, 1fr);
      gap: 1rem;
      align-items: center;
      padding: 0.95rem 1.1rem;
      border: 1px solid var(--line);
      border-radius: 0.7rem;
      box-shadow: var(--shadow);
      background:
        linear-gradient(135deg, rgba(0, 100, 177, 0.07), transparent 56%),
        var(--white);
    }
    .profile-photo {
      width: 132px;
      aspect-ratio: 4 / 4.5;
      object-fit: cover;
      border-radius: 0.65rem;
      border: 3px solid var(--white);
      box-shadow: 0 4px 12px rgba(0, 59, 113, 0.14);
    }
    .eyebrow {
      margin: 0 0 0.25rem;
      color: var(--uta-blue);
      font-weight: 750;
      letter-spacing: 0.035em;
      text-transform: uppercase;
      font-size: 0.78rem;
    }
    h1, h2, h3 { line-height: 1.22; color: var(--uta-dark-blue); }
    h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
    h2 { margin-top: 0; margin-bottom: 0.4rem; font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
    h3 { font-size: 0.98rem; }
    .title-line { margin: 0.25rem 0 0; font-size: 1.08rem; font-weight: 650; }
    .affiliation { margin: 0.2rem 0 0; color: var(--muted); }
    .tagline {
      margin: 0.5rem 0 0;
      max-width: 760px;
      font-size: 0.9rem;
      color: #31414f;
    }
    .quick-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 0.55rem;
    }
    .button {
      display: inline-block;
      padding: 0.38rem 0.6rem;
      border: 1px solid var(--uta-blue);
      border-radius: 0.5rem;
      font-weight: 700;
      text-decoration: none;
    }
    .button.primary { background: var(--uta-blue); color: var(--white); }
    .button.primary:hover,
    .button.primary:focus { background: var(--uta-dark-blue); color: var(--white); }

    section { scroll-margin-top: 4.2rem; margin-top: 1.55rem; }
    .hero { margin-top: 0; }
    .section-intro { max-width: 880px; color: var(--muted); }

    .research-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.75rem;
      margin-top: 0.9rem;
    }
    .research-card {
      padding: 0.68rem 0.78rem;
      border: 1px solid var(--line);
      border-top: 4px solid var(--uta-orange);
      border-radius: 0.7rem;
      background: var(--white);
    }
    .research-card h3 { margin: 0 0 0.35rem; }
    .research-card p { margin: 0; color: var(--muted); }

    .news-list {
      display: grid;
      gap: 0.5rem;
      margin-top: 0.65rem;
    }
    .news-item {
      display: grid;
      grid-template-columns: 8.5rem minmax(0, 1fr);
      gap: 0.65rem;
      padding: 0.58rem 0.72rem;
      border: 1px solid var(--line);
      border-radius: 0.7rem;
      background: var(--white);
    }
    .news-date {
      color: var(--uta-dark-blue);
      font-weight: 800;
    }
    .news-item ul { margin: 0; padding-left: 1.2rem; }
    .news-item li + li { margin-top: 0.45rem; }

    details {
      margin-top: 0.75rem;
      border: 1px solid var(--line);
      border-radius: 0.65rem;
      background: var(--surface);
    }
    summary {
      cursor: pointer;
      padding: 0.65rem 0.85rem;
      color: var(--uta-dark-blue);
      font-weight: 750;
    }
    details .details-body { padding: 0 1rem 1rem; }

    .two-column {
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
      gap: 1rem;
      align-items: start;
    }
    .course-list { padding-left: 1.2rem; }
    .course-list li + li { margin-top: 0.4rem; }
    .contact-card {
      padding: 0.75rem;
      border-radius: 0.65rem;
      background: var(--surface);
      border: 1px solid var(--line);
    }
    .contact-card h3 { margin-top: 0; }
    .contact-card p { margin: 0.35rem 0; }

    .bio-text { max-width: 900px; }

    footer {
      background: var(--uta-dark-blue);
      color: #e7f0f7;
      border-top: 4px solid var(--uta-orange);
    }
    .footer-inner {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      padding-block: 0.75rem;
      font-size: 0.86rem;
    }
    footer a { color: var(--white); }

    @media (max-width: 760px) {
      .site-bar-inner,
      .footer-inner { align-items: flex-start; flex-direction: column; }
      .lab-name { text-align: left; }
      .nav-inner .external { margin-left: 0; }
      .hero { grid-template-columns: 1fr; padding: 1.25rem; }
      .profile-photo { width: min(210px, 70vw); }
      .research-grid,
      .two-column { grid-template-columns: 1fr; }
      .news-item { grid-template-columns: 1fr; gap: 0.25rem; }
    }
  
    .service-list { max-width: 900px; margin-top: 0.8rem; }

/* Explicit color fallback */
body { color: #1f2933; background-color: #ffffff; }
a { color: #0064b1; }
a:hover, a:focus { color: #003b71; }
.site-bar, footer { background-color: #003b71; color: #ffffff; }
.site-bar { border-bottom-color: #f58025; }
footer { border-top-color: #f58025; }
.uta-name, footer a { color: #ffffff; }
.lab-name { color: #e9f4fb; }
.primary-nav {
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom-color: #dce3e8;
}
.nav-inner a { color: #1f2933; }
.nav-inner a:hover, .nav-inner a:focus {
  color: #003b71;
  background-color: #eaf3f9;
}
h1, h2, h3, .news-date { color: #003b71; }
.eyebrow { color: #0064b1; }
.affiliation, .section-intro, .research-card p { color: #5d6772; }
.tagline { color: #31414f; }
.button { color: #0064b1; border-color: #0064b1; }
.button.primary { color: #ffffff; background-color: #0064b1; }
.button.primary:hover, .button.primary:focus {
  color: #ffffff;
  background-color: #003b71;
}
.hero, .research-card, .news-item {
  background-color: #ffffff;
  border-color: #dce3e8;
}
.research-card { border-top-color: #f58025; }
.contact-card, details {
  background-color: #f6f8fa;
  border-color: #dce3e8;
}

/* Compact spacing refinements */
.section-intro {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 0.96rem;
}

.research-card h3 {
  margin-bottom: 0.25rem;
}

.news-item {
  font-size: 0.96rem;
}

.news-date {
  font-size: 0.92rem;
}

.course-list {
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.course-list li + li {
  margin-top: 0.25rem;
}

.bio-text p {
  margin: 0 0 0.75rem;
}

.contact-card p {
  margin: 0.25rem 0;
}

/* Extra-compact hero and page spacing */
.eyebrow {
  margin-bottom: 0.1rem;
  font-size: 0.7rem;
}

.title-line {
  margin-top: 0.15rem;
  font-size: 0.92rem;
}

.affiliation {
  margin-top: 0.1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.quick-links .button {
  font-size: 0.86rem;
}

.research-grid {
  margin-top: 0.65rem;
}

.section-intro {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.research-card p,
.news-item,
.course-list,
.bio-text,
.contact-card {
  font-size: 0.9rem;
}

.course-list li + li {
  margin-top: 0.15rem;
}

.bio-text p {
  margin-bottom: 0.55rem;
}
