:root {
  --primary-dark: #012742;
  --near-white: #fbfcfc;
  --accent-cyan: #2ea5d1;
  --deep-teal: #164f68;
  --soft-aqua: #5ed0d9;
  --muted-aqua: #49b9ce;
  --deep-blue: #19689a;
  --lime-biotech: #9dcf6f;
  --warm-gold: #d4af37;
  --gold: #d4af37;
  --white: #ffffff;
  --text-gray: #2c3e4f;
  --muted: #5d6b78;
  --border-light: #e3e8ec;
  --light-background: #e9f2f6;
  --shadow: 0 12px 30px rgba(1, 39, 66, 0.08);
  --shadow-hover: 0 18px 40px rgba(1, 39, 66, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-gray);
  background:
    radial-gradient(circle at 20% 12%, rgba(46, 165, 209, 0.08), transparent 30%),
    radial-gradient(circle at 78% 74%, rgba(22, 79, 104, 0.08), transparent 28%),
    var(--light-background);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(1, 39, 66, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 39, 66, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 70%;
  min-width: 240px;
}

.logo-area img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-area img:hover {
  transform: scale(1.05);
}

.logo-text {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.1;
  display: block;
  padding-top: 12px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  max-width: 100%;
}

nav,
.main-nav {
  flex: 0 1 30%;
}

.main-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,0.95);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
  color: #ffffff;
  background: var(--accent-cyan);
}

.main-nav > li > a::after {
  display: none;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: var(--near-white);
  min-width: 220px;
  border-radius: 6px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  z-index: 1000;
}

.main-nav > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.95rem;
  color: var(--text-gray);
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--light-background);
  padding-left: 22px;
  color: var(--primary-dark);
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--deep-teal) 58%, var(--deep-blue) 100%);
  padding: 64px 5% 86px;
  color: var(--near-white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(40% 45% at 15% 20%, rgba(94, 208, 217, 0.28), transparent 70%),
      radial-gradient(35% 40% at 78% 18%, rgba(46, 165, 209, 0.24), transparent 72%),
      radial-gradient(32% 38% at 62% 78%, rgba(212, 175, 55, 0.12), transparent 76%);
    filter: blur(16px);
}

.page-hero::after {
  content: '';
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -56px;
  height: 120px;
  background: var(--light-background);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1140px, 92%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 16px 30px rgba(1, 39, 66, 0.28);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 14px;
}

.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--near-white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1rem;
  opacity: 0.95;
  max-width: 850px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.stats-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 20px;
  border-radius: 40px;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  cursor: default;
  box-shadow: 0 8px 20px rgba(1, 39, 66, 0.18);
}

.stat-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(1, 39, 66, 0.24);
  background: rgba(255, 255, 255, 0.15);
}

.stat-pill .num {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--near-white);
  line-height: 1.1;
}

.stat-pill .lbl {
  font-size: 0.78rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.93rem;
  transition: all 0.24s ease;
}

.btn-primary {
  background: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--deep-teal);
  border-color: var(--deep-teal);
  box-shadow: 0 12px 24px rgba(22, 79, 104, 0.22);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
}

.section {
  padding: 26px 0 10px;
}

.panel {
  background: linear-gradient(180deg, rgba(251, 252, 252, 0.98), rgba(244, 249, 252, 0.95));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(1, 39, 66, 0.12);
  padding: 28px;
  margin-bottom: 22px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.section-lead {
  color: var(--muted);
  max-width: 80ch;
  margin-bottom: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,250,252,0.94));
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(1, 39, 66, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card h3 {
  color: var(--primary-dark);
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--text-gray);
  font-size: 0.98rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(1, 39, 66, 0.06);
  color: var(--deep-teal);
  font-size: 0.83rem;
  font-weight: 700;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(1, 39, 66, 0.04);
  border: 1px solid rgba(1, 39, 66, 0.06);
}

.info-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--soft-aqua));
  margin-top: 5px;
  flex: 0 0 auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.metric {
  text-align: center;
  padding: 18px 14px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}

.metric strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.metric span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted-aqua);
  text-transform: uppercase;
  line-height: 1.5;
}

.metric-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.metric-link strong {
  text-decoration: underline;
  text-decoration-color: rgba(25, 104, 154, 0.28);
  text-underline-offset: 4px;
}

.metric:hover .metric-link strong {
  text-decoration-color: rgba(25, 104, 154, 0.62);
}


.pipeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 18px;
}

.track-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(1, 39, 66, 0.12);
  box-shadow: 0 7px 16px rgba(1, 39, 66, 0.06);
}

.tone-1 { background: linear-gradient(180deg, rgba(94, 208, 217, 0.18), rgba(255,255,255,0.95)); }
.tone-2 { background: linear-gradient(180deg, rgba(46, 165, 209, 0.16), rgba(255,255,255,0.95)); }
.tone-3 { background: linear-gradient(180deg, rgba(25, 104, 154, 0.14), rgba(255,255,255,0.95)); }
.tone-4 { background: linear-gradient(180deg, rgba(212, 175, 55, 0.18), rgba(255,255,255,0.96)); }

.stage-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.track-step h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.track-step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.narrative-card {
  border-top: 3px solid rgba(1, 39, 66, 0.22);
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
}

.clean-list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(1, 39, 66, 0.05);
  border-left: 3px solid rgba(46, 165, 209, 0.55);
}

.outcome-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.theme-spectrum {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.theme-band {
  border-radius: 14px;
  padding: 14px 14px 13px;
  border: 1px solid rgba(1, 39, 66, 0.11);
}

.theme-band h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.theme-band p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.band-a { background: linear-gradient(140deg, rgba(94,208,217,0.2), rgba(255,255,255,0.95)); }
.band-b { background: linear-gradient(140deg, rgba(46,165,209,0.17), rgba(255,255,255,0.95)); }
.band-c { background: linear-gradient(140deg, rgba(25,104,154,0.15), rgba(255,255,255,0.95)); }
.band-d { background: linear-gradient(140deg, rgba(212,175,55,0.18), rgba(255,255,255,0.95)); }

.contribution-mural {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(1, 39, 66, 0.1);
  background:
    radial-gradient(circle at 14% 18%, rgba(46, 165, 209, 0.2), transparent 38%),
    radial-gradient(circle at 86% 78%, rgba(22, 79, 104, 0.16), transparent 36%),
    linear-gradient(160deg, rgba(255,255,255,0.98), rgba(238,247,251,0.92));
}

.mural-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.mural-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(1, 39, 66, 0.16);
  background: rgba(255,255,255,0.88);
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.mural-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.thesis-grid {
  align-items: stretch;
}

.thesis-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.thesis-card {
  display: flex;
  flex-direction: column;
}

.thesis-card h3 {
  margin-bottom: 12px;
}

.thesis-card .table-wrap {
  width: 100%;
  max-width: 100%;
}

.thesis-card .table-wrap-scroll {
  flex: 1;
  min-height: 520px;
  max-height: 520px;
}

.thesis-card table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.thesis-card th:nth-child(1),
.thesis-card td:nth-child(1) {
  width: 9%;
  text-align: center;
}

.thesis-card th:nth-child(2),
.thesis-card td:nth-child(2) {
  width: 49%;
}

.thesis-card th:nth-child(3),
.thesis-card td:nth-child(3) {
  width: 30%;
}

.thesis-card th:nth-child(4),
.thesis-card td:nth-child(4) {
  width: 12%;
  text-align: center;
  white-space: nowrap;
}

.thesis-card th,
.thesis-card td {
  white-space: normal;
  word-break: break-word;
}

.thesis-award-row {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0.04));
}

.thesis-award-row td {
  border-bottom-color: rgba(212, 175, 55, 0.35);
}

.thesis-awardee {
  font-weight: 700;
  color: var(--deep-blue);
}

.award-inline {
  margin-top: 7px;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.38);
  color: #6d5200;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  margin-bottom: 18px;
}

.table-tools {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  margin-bottom: 14px;
}

.table-tools input,
.table-tools select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: #fff;
  outline: none;
  font: inherit;
  color: var(--text-gray);
}

.table-tools input:focus,
.table-tools select:focus {
  border-color: rgba(46, 165, 209, 0.7);
  box-shadow: 0 0 0 4px rgba(46, 165, 209, 0.12);
}

.search-bar input,
.search-bar select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: #fff;
  outline: none;
  font: inherit;
  color: var(--text-gray);
}

.search-bar input:focus,
.search-bar select:focus {
  border-color: rgba(46, 165, 209, 0.7);
  box-shadow: 0 0 0 4px rgba(46, 165, 209, 0.12);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(1, 39, 66, 0.05);
}

.table-wrap-scroll {
  max-height: 460px;
  overflow-y: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

thead th {
  background: linear-gradient(135deg, var(--primary-dark), var(--deep-blue));
  color: #fff;
  padding: 14px 12px;
  text-align: left;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.table-wrap-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

tbody td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  font-size: 0.95rem;
}

footer .footer-table td {
  border-bottom: none !important;
}

td.amount-cell {
  text-align: right;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

tbody tr:hover {
  background: rgba(46, 165, 209, 0.05);
}

footer tbody tr:hover,
footer .footer-table tr:hover,
footer .footer-table td:hover {
  background: transparent !important;
}

.col-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(46, 165, 209, 0.1);
  color: var(--deep-blue);
}

.footer-cta {
  margin: 30px 0 40px;
  background: linear-gradient(135deg, var(--primary-dark), var(--deep-blue));
  color: #fff;
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}

.footer-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.footer-cta p {
  color: rgba(255,255,255,0.9);
}

.footer-cta .btn {
  white-space: nowrap;
}

footer {
  background: var(--primary-dark);
  color: #fff;
  padding-top: 12px;
  padding-bottom: 0;
  margin-top: 12px;
}

.footer-content {
  width: 100%;
  padding-top: 12px;
  padding-right: 5%;
  padding-left: 5%;
  padding-bottom: 0;
  box-sizing: border-box;
  background-color: var(--primary-dark);
}

.footer-pairs {
  display: grid;
  grid-template-columns: 1fr 20%;
  gap: 4px 20px;
  align-items: center;
  width: 100%;
}

.footer-pairs .left {
  text-align: left;
  color: var(--white);
  word-break: break-word;
  line-height: 1.25;
}

.footer-pairs .left.footer-email-line {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.footer-pairs .left.footer-email-line img {
  display: inline-block;
  max-width: none;
  vertical-align: middle;
}

.footer-pairs .right {
  text-align: left;
  color: var(--white);
  word-break: break-word;
  width: 100%;
  line-height: 1.25;
  padding-left: 32px;
}

.footer-pairs .right strong {
  display: block;
  margin: 0 0 6px;
  padding: 0;
}

.footer-pairs .right > * {
  margin: 0;
  padding: 0;
}

.footer-focus-btn {
  display: inline-block;
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-focus-btn:hover {
  color: #ffffff;
  background: var(--accent-cyan) !important;
  box-shadow: 0 6px 20px rgba(46, 165, 209, 0.22) !important;
}

footer .footer-focus-link,
footer .footer-focus-link:hover {
  color: var(--white) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-bottom {
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  background-color: var(--primary-dark) !important;
  width: 100%;
}

.footer-logo-img {
  width: 56px;
  height: 56px;
  max-width: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  background-color: var(--primary-dark);
}

.footer-logo-section blockquote {
  margin: 0;
}

.footer-logo-section h2 {
  margin: 0;
  font-size: inherit;
}

.footer-logo-text-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: center;
}

.logo-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 1);
  line-height: 1.1;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.sr-hidden {
  display: none;
}

.footer-inner {
  width: min(1140px, 92%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-inner img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  text-align: right;
}

footer,
footer .footer-content,
footer .footer-grid,
footer .footer-bottom,
footer .footer-logo-section,
footer .footer-logo-text,
footer .footer-address,
footer .footer-contact,
footer .footer-copyright {
  background-color: var(--primary-dark);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.86);
}

.breadcrumbs a {
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
}

.note {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: rgba(212, 175, 55, 0.08);
  border-radius: 10px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .grid-2,
  .grid-3,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .pipeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-spectrum {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .search-bar button {
    grid-column: span 2;
  }

  .table-tools {
    grid-template-columns: 1fr;
  }

  .thesis-card .table-wrap-scroll {
    min-height: 460px;
    max-height: 460px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
    padding: 14px 5%;
  }

  .logo-area {
    width: 100%;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: 6px;
  }

  .main-nav > li > a {
    font-size: 0.78rem;
    padding: 5px 6px;
  }

  .page-hero {
    padding: 50px 5% 60px;
  }

  .hero-content,
  .panel {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .stats-row {
    gap: 10px;
  }

  .stat-pill {
    width: calc(50% - 8px);
    border-radius: 16px;
  }

  .grid-2,
  .grid-3,
  .metrics {
    grid-template-columns: 1fr;
  }

  .pipeline-track {
    grid-template-columns: 1fr;
  }

  .thesis-grid {
    grid-template-columns: 1fr;
  }

  .thesis-card .table-wrap-scroll {
    min-height: 420px;
    max-height: 420px;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .search-bar button {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-pairs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-pairs .right {
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
  }

  .footer-logo-section {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-copyright {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .stat-pill {
    width: 100%;
  }
}