/* Shared studio chrome — same header + footer on every page */

a { color: inherit; text-decoration: none; }
a.sector-card h2,
a.practice h2,
a.person-card h3 {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(103, 232, 249, .55);
}


.rl-skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8fafc;
  color: #07101e;
  font-size: 12px;
  font-weight: 800;
}
.rl-skip:focus { top: 16px; }

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rl-cyan), var(--rl-sky), var(--rl-violet));
  box-shadow: 0 0 16px rgba(103, 232, 249, .55);
}

.nav-shell {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1190px, calc(100% - 28px));
  z-index: 100;
  transition: .3s var(--rl-ease);
}

.nav-shell.scrolled { top: 8px; }

.nav-shell .nav,
.nav-shell nav.nav {
  min-height: 66px;
  height: auto;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 18px;
  background: rgba(5, 8, 22, .58);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 50px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: .3s var(--rl-ease);
}

.nav-shell.scrolled .nav {
  min-height: 60px;
  background: rgba(5, 8, 22, .92);
  border-color: rgba(125, 211, 252, .18);
  box-shadow: 0 14px 54px rgba(0, 0, 0, .34);
}

.brand {
  display: flex;
  align-items: center;
  min-width: max-content;
}

.brand-mark {
  width: 200px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.brand-mark img,
.brand img {
  width: 200px;
  height: 60px;
  object-fit: contain;
  background: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  padding: 10px 11px;
  border-radius: 10px;
  color: #d7e3f1 !important;
  font-size: 13px;
  font-weight: 650;
  transition: .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff !important;
  background: rgba(255, 255, 255, .045);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 11px;
  background: #f8fafc;
  color: #07101e !important;
  font-size: 12px;
  font-weight: 800;
  transition: .2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(125, 211, 252, .13);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  cursor: pointer;
}

.menu-btn span,
.menu-btn i { pointer-events: none; }

.hamburger {
  width: 16px;
  height: 12px;
  display: grid;
  gap: 3px;
}
.hamburger b {
  display: block;
  height: 2px;
  background: #e8eef6;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  margin-top: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(5, 8, 22, .96);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .34);
}

.mobile-menu.open { display: grid; }

.mobile-menu a {
  padding: 12px 13px;
  color: #e4edf7;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

/* Page offset so fixed nav does not cover content */
body.page-people .hero,
body.page-projects .hero,
body.page-research .hero,
body.page-services .hero {
  padding-top: 128px;
}
body.page-research .hero-copy {
  padding-top: 120px;
}

.rl-footer {
  padding: 38px 0 44px;
  background: #040814;
  color: #c5d0de;
}

.rl-footer .container,
.rl-footer .shell,
.rl-footer .footer-row {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  padding-top: 30px;
  border-top: 1px solid rgba(186, 210, 232, .16);
}

.footer-copy {
  margin-top: 13px;
  max-width: 560px;
  color: #c9d5e4 !important;
  font-size: 13px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: #d5e0ee !important;
  font-size: 12px;
  font-weight: 700;
}

.footer-links a:hover { color: var(--rl-cyan) !important; }

.copyright {
  margin-top: 24px;
  color: #9aabc0 !important;
  font-size: 12px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
}

@media (max-width: 720px) {
  .nav-cta { display: none; }
  .brand-mark,
  .brand-mark img,
  .brand img {
    width: 160px;
    height: 52px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-links { justify-content: flex-start; }
}
