:root {
  --bg: #f4f6fb;
  --text: #0a1c3d;
  --muted: #657190;
  --accent: #f3c351;
  --accent-soft: rgba(243, 195, 81, 0.22);
  --border: rgba(7, 24, 65, 0.12);
  --nav: #05163d;
  --surface: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(5, 22, 61, 0.18), transparent 55%),
              radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 35%),
              var(--bg);
}

.bg-lines::before,
.bg-lines::after {
  content: '';
  position: fixed;
  inset: -10vh;
  background-image: repeating-linear-gradient(120deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: drift 30s linear infinite;
}

.bg-lines::after {
  animation-duration: 45s;
  animation-direction: reverse;
  mix-blend-mode: screen;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(16px);
  background: var(--nav);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(5, 22, 61, 0.35);
  color: #f8fbff;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4vw;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(5, 22, 61, 0.4);
}

.tm {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 0.2em;
  color: var(--muted);
}
.brand span:not(.logo-mark) {
  color: #f8fbff;
}
.brand .tm {
  color: rgba(255, 255, 255, 0.8);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.cta {
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 12px 30px rgba(243, 195, 81, 0.35);
  background: var(--accent);
  color: var(--nav);
}

.cta:hover {
  background: #ffd86a;
  color: var(--nav);
  box-shadow: 0 15px 40px rgba(243, 195, 81, 0.45);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 4vw;
  position: relative;
  z-index: 1;
}

section {
  margin-bottom: 6rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

h1, h2, h3 {
  font-weight: 600;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

p.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 650px;
}

.muted {
  color: var(--muted);
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 3rem;
  border-radius: 1.8rem;
  background: linear-gradient(135deg, rgba(5, 22, 61, 0.95), rgba(14, 41, 96, 0.92));
  color: #f7f9ff;
  box-shadow: 0 35px 70px rgba(5, 22, 61, 0.45);
  border: none;
}

.hero-name {
  font-size: clamp(3.2rem, 7vw, 5rem);
  color: var(--accent);
  margin: 0.4rem 0;
  letter-spacing: -0.03em;
}
.about-hero .hero-name {
  color: var(--text);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.impact-line {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
}

.hero-graphics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-chip {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  padding: 1rem 1.3rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  min-width: 180px;
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, var(--accent-soft), transparent);
  transform: translateX(-100%);
  animation: shimmer 6s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

#about .section-header h2 {
  font-size: clamp(2.4rem, 5vw, 3rem);
}

.section-header p {
  color: var(--muted);
  max-width: 520px;
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  border: 1px solid rgba(7, 24, 65, 0.08);
  padding: 1.8rem;
  border-radius: 1.2rem;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(7, 24, 65, 0.08);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(5, 22, 61, 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.text-section {
  margin-bottom: 5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.4rem;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(7, 24, 65, 0.06);
}

.research-hero {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.research-globe {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.research-globe .orb {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(5, 22, 61, 0.6));
  box-shadow: 0 20px 60px rgba(5, 22, 61, 0.35);
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit-one {
  width: 240px;
  height: 240px;
}

.orbit-two {
  width: 280px;
  height: 280px;
  animation-duration: 26s;
  animation-direction: reverse;
}

.orbit-three {
  width: 320px;
  height: 320px;
  animation-duration: 34s;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
  perspective: 1200px;
}

.study-card {
  border: 1px solid rgba(7, 24, 65, 0.08);
  background: var(--surface);
  border-radius: 1.2rem;
  padding: 1.8rem;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 20px 45px rgba(7, 24, 65, 0.12);
}

.study-card:hover {
  transform: translateY(-10px) rotateX(6deg) rotateY(-4deg);
  box-shadow: 0 30px 70px rgba(5, 22, 61, 0.2);
}

.study-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.study-card ul {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.focus-card {
  border: 1px solid rgba(7, 24, 65, 0.08);
  border-radius: 1.2rem;
  padding: 1.6rem;
  background: var(--surface);
  box-shadow: 0 15px 30px rgba(7, 24, 65, 0.08);
}

.focus-card h3 {
  margin-top: 0;
}

.focus-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.focus-card li {
  margin-bottom: 0.35rem;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.method-chip {
  border: 1px solid rgba(7, 24, 65, 0.08);
  border-radius: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 30px rgba(5,22,61,0.08);
}

.method-chip strong {
  display: block;
  margin-bottom: 0.5rem;
}

.list-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.list-item {
  border: 1px solid rgba(7, 24, 65, 0.08);
  border-radius: 1.1rem;
  padding: 1.5rem;
  background: var(--surface);
  box-shadow: 0 15px 30px rgba(7, 24, 65, 0.08);
}

.list-item span {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-panel {
  border: 1px solid rgba(7, 24, 65, 0.08);
  border-radius: 1.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(5, 22, 61, 0.08), rgba(255, 255, 255, 0.7));
  text-align: center;
  box-shadow: 0 25px 45px rgba(7, 24, 65, 0.12);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.pill {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
}

.pill:hover {
  background: var(--accent);
  color: var(--nav);
  border-color: transparent;
}

.blog-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  position: relative;
  border-radius: 1.2rem;
  padding: 1.6rem;
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(244,246,251,0.9));
  box-shadow: 0 20px 40px rgba(7, 24, 65, 0.08);
}

.blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5,22,61,0.65));
  opacity: 0;
  transition: opacity 0.4s;
}

.blog-card:hover::after {
  opacity: 1;
}

.timeline {
  position: relative;
  margin-top: 2.5rem;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  box-shadow: 0 0 15px rgba(243, 195, 81, 0.4);
}

.highlight-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.metric {
  padding: 1.5rem;
  border: 2px solid rgba(5, 22, 61, 0.3);
  border-radius: 1rem;
  text-align: center;
  background: var(--surface);
  box-shadow: 0 20px 40px rgba(7, 24, 65, 0.08);
}

.metric strong {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.profile {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin: 1.5rem 0 2rem;
}

.about-portrait {
  width: 100%;
}

.about-copy {
  max-width: 60ch;
}

.about-copy p {
  margin-bottom: 1rem;
}

.portrait {
  height: 320px;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255,255,255,0.07), rgba(255,255,255,0.01));
}

.portrait::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.02); opacity: 0.7; }
  100% { transform: scale(1); opacity: 0.4; }
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

input, textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 20px rgba(7, 24, 65, 0.05);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(243, 195, 81, 0.35);
}

button {
  border: none;
  background: var(--accent);
  color: var(--nav);
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(243, 195, 81, 0.45);
}

footer {
  padding: 2rem 4vw 4rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}

.footer-nav {
  display: inline-flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-chip {
    min-width: 100%;
  }

  .research-globe {
    min-height: 200px;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .about-copy {
    max-width: 100%;
  }
}
