:root {
  --ink: #13211f;
  --muted: #5b6966;
  --soft: #f5f8f2;
  --paper: #fffefa;
  --lime: #d7ef40;
  --lime-deep: #6c8d12;
  --teal: #27b7ae;
  --violet: #7b6ef6;
  --amber: #ffb23f;
  --line: rgba(19, 33, 31, 0.13);
  --shadow: 0 18px 45px rgba(20, 34, 31, 0.12);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

img,
canvas {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max-width));
  margin: 16px auto 0;
  padding: 10px 12px;
  color: #f9fff5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 24, 22, 0.52);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 254, 250, 0.9);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(19, 33, 31, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 34px;
  overflow: hidden;
  color: #102015;
  background: #030403;
  border-radius: 8px;
  font-size: 0.78rem;
  box-shadow: 0 0 0 1px rgba(215, 239, 64, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.9;
}

.site-nav a:hover {
  background: rgba(215, 239, 64, 0.2);
  opacity: 1;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(215, 239, 64, 0.18);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  color: #f8fff3;
  background: #020403;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(8, 21, 17, 0.78), transparent);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    radial-gradient(circle at 77% 38%, rgba(215, 239, 64, 0.16), transparent 30%),
    radial-gradient(circle at 12% 26%, rgba(39, 183, 174, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(2, 4, 3, 0.24), rgba(2, 4, 3, 0.86));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 24px, 1500px);
  margin: 0 auto;
  padding: 104px 0 52px;
}

.hero-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1844 / 853;
  margin: 0 auto;
}

.hero-artwork,
.hero-animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-artwork {
  object-fit: contain;
  filter: saturate(1.05) contrast(1.04) drop-shadow(0 28px 42px rgba(0, 0, 0, 0.42));
}

.hero-animation {
  pointer-events: none;
  mix-blend-mode: screen;
}

.sinusoidal-beam path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sinusoidal-beam {
  filter: url(#wave-glow);
  mix-blend-mode: screen;
}

.beam-glow,
.beam-core {
  stroke-dasharray: 0 1000;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: beamDraw 3.2s linear infinite;
}

.beam-glow {
  stroke: rgba(209, 255, 42, 0.36);
  stroke-width: 28;
}

.beam-core {
  stroke: rgba(246, 255, 112, 0.95);
  stroke-width: 8;
}

.beam-front {
  stroke: rgba(255, 255, 230, 0.96);
  stroke-width: 13;
  stroke-dasharray: 150 1000;
  stroke-dashoffset: 150;
  opacity: 0;
  animation: beamFront 3.2s linear infinite;
}

.beam-impact {
  fill: rgba(255, 244, 108, 0.72);
  stroke: rgba(255, 120, 34, 0.82);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: impactFlash 3.2s ease-in-out infinite;
}

.beam-reflection {
  stroke: rgba(255, 236, 116, 0.7);
  stroke-width: 3;
  stroke-dasharray: 0 300;
  opacity: 0;
  animation: reflectionRipple 3.2s ease-in-out infinite;
}

.electron-density-model {
  mix-blend-mode: screen;
}

.density-impact-gate {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: densityGate 3.2s ease-in-out infinite;
}

.density-surface {
  filter: url(#density-soften);
  transform-box: fill-box;
  transform-origin: center;
  animation: densityPhaseA 3.2s ease-in-out infinite;
}

.density-surface-b {
  animation-name: densityPhaseB;
}

.density-isosurface {
  stroke: rgba(255, 246, 214, 0.5);
  stroke-width: 1.15;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: densitySurfaceDance 3.2s ease-in-out infinite;
}

.density-surface .density-isosurface:nth-child(2n) {
  animation-name: densitySurfaceDanceAlt;
}

.density-surface .density-isosurface:nth-child(3n) {
  animation-duration: 3.2s;
}

.density-small {
  opacity: 0.78;
}

.density-cool {
  fill: url(#density-yellow);
}

.density-hot {
  fill: url(#density-red);
}

.hero-caption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 28px, var(--max-width));
  margin: -6px auto 0;
}

.hero-caption .eyebrow {
  color: var(--lime);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--lime-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(4rem, 13vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(248, 255, 243, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

@keyframes beamDraw {
  0%,
  4% {
    opacity: 0;
    stroke-dasharray: 0 1000;
  }

  8% {
    opacity: 0.9;
    stroke-dasharray: 0 1000;
  }

  44% {
    opacity: 0.95;
    stroke-dasharray: 1000 1000;
  }

  58% {
    opacity: 0.52;
    stroke-dasharray: 1000 1000;
  }

  100% {
    opacity: 0;
    stroke-dasharray: 1000 1000;
  }
}

@keyframes beamFront {
  0%,
  5% {
    opacity: 0;
    stroke-dashoffset: 140;
  }

  9% {
    opacity: 0.95;
  }

  43% {
    opacity: 0.95;
    stroke-dashoffset: -870;
  }

  51%,
  100% {
    opacity: 0;
    stroke-dashoffset: -990;
  }
}

@keyframes impactFlash {
  0%,
  41%,
  53%,
  100% {
    opacity: 0;
    transform: scale(0.72);
  }

  46% {
    opacity: 0.84;
    transform: scale(1.06);
  }
}

@keyframes reflectionRipple {
  0%,
  46%,
  62%,
  100% {
    opacity: 0;
    stroke-dasharray: 0 300;
  }

  50% {
    opacity: 0.54;
    stroke-dasharray: 210 300;
  }
}

@keyframes densityGate {
  0%,
  43%,
  88%,
  100% {
    opacity: 0;
    transform: scale(0.96);
  }

  47% {
    opacity: 0.18;
    transform: scale(0.98);
  }

  53%,
  66%,
  76% {
    opacity: 1;
    transform: scale(1);
  }

  84% {
    opacity: 0.28;
    transform: scale(1.02);
  }
}

@keyframes densityPhaseA {
  0%,
  44%,
  88%,
  100% {
    opacity: 0;
    transform: scale(0.88) rotate(-0.8deg) translate(-4px, 2px);
  }

  49% {
    opacity: 0.82;
    transform: scale(1.03) rotate(0.45deg) translate(2px, -1px);
  }

  61% {
    opacity: 0.32;
    transform: scale(0.94) rotate(-0.6deg) translate(-3px, 2px);
  }

  73% {
    opacity: 0.76;
    transform: scale(1.04) rotate(0.9deg) translate(3px, -2px);
  }

  84% {
    opacity: 0.18;
    transform: scale(0.96) rotate(-0.3deg) translate(-1px, 1px);
  }
}

@keyframes densityPhaseB {
  0%,
  44%,
  88%,
  100% {
    opacity: 0;
    transform: scale(1.06) rotate(0.7deg) translate(4px, -2px);
  }

  49% {
    opacity: 0.18;
    transform: scale(0.96) rotate(-0.4deg) translate(-2px, 1px);
  }

  61% {
    opacity: 0.78;
    transform: scale(1.04) rotate(-0.9deg) translate(3px, -2px);
  }

  73% {
    opacity: 0.28;
    transform: scale(0.94) rotate(0.5deg) translate(-3px, 2px);
  }

  84% {
    opacity: 0.7;
    transform: scale(1.02) rotate(-0.3deg) translate(2px, -1px);
  }
}

@keyframes densitySurfaceDance {
  0%,
  44%,
  88%,
  100% {
    transform: scale(0.82) rotate(-1deg);
  }

  49% {
    transform: scale(1.09) rotate(1.5deg);
  }

  61% {
    transform: scale(0.93) rotate(-1.4deg);
  }

  73% {
    transform: scale(1.08) rotate(1.1deg);
  }

  84% {
    transform: scale(0.96) rotate(-0.7deg);
  }
}

@keyframes densitySurfaceDanceAlt {
  0%,
  44%,
  88%,
  100% {
    transform: scale(0.88) rotate(1deg);
  }

  49% {
    transform: scale(0.96) rotate(-1.1deg);
  }

  61% {
    transform: scale(1.1) rotate(1.3deg);
  }

  73% {
    transform: scale(0.94) rotate(-1.5deg);
  }

  84% {
    transform: scale(1.06) rotate(0.8deg);
  }
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #102015;
  background: var(--lime);
  box-shadow: 0 12px 34px rgba(215, 239, 64, 0.22);
}

.button-secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.contact-section .button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-section {
  padding-top: 72px;
}

.section-grid,
.split-section,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.research-card,
.grant-item,
.news-item,
.person-card {
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(19, 33, 31, 0.04);
}

.research-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 24px;
  border-radius: 8px;
}

.research-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
}

.research-card h3 {
  position: relative;
  margin-top: 88px;
  font-size: 1.14rem;
}

.research-card p {
  position: relative;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.research-details {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.research-details li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  color: #304238;
  font-size: 0.9rem;
  line-height: 1.45;
}

.research-details li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--accent);
}

.research-orbit {
  position: absolute;
  top: 30px;
  left: 24px;
  width: 68px;
  height: 68px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 40%);
  border-radius: 50%;
}

.research-orbit::before,
.research-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.research-orbit::before {
  inset: 18px;
  background: var(--accent);
}

.research-orbit::after {
  top: 7px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: var(--ink);
}

.accent-lime {
  --accent: var(--lime);
}

.accent-teal {
  --accent: var(--teal);
}

.accent-violet {
  --accent: var(--violet);
}

.accent-amber {
  --accent: var(--amber);
}

.publication-lead {
  width: min(100%, 760px);
  margin-bottom: 28px;
}

.publication-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.publication-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(19, 33, 31, 0.04);
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.publication-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(108, 141, 18, 0.24);
  border-radius: 999px;
  color: var(--lime-deep);
  background: rgba(215, 239, 64, 0.16);
  font-size: 0.76rem;
  font-weight: 800;
}

.publication-item h3 {
  margin-bottom: 12px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.publication-item h3 a {
  text-decoration: underline;
  text-decoration-color: rgba(108, 141, 18, 0.36);
  text-underline-offset: 4px;
}

.publication-authors,
.publication-venue,
.publication-note {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.publication-venue {
  color: #304238;
  font-weight: 700;
}

.publication-note {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(19, 33, 31, 0.08);
}

.people-section,
.news-section {
  width: 100%;
  background: var(--soft);
}

.people-section > *,
.news-section > * {
  width: min(100% - 40px, var(--max-width));
  margin-left: auto;
  margin-right: auto;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.group-photo {
  height: clamp(430px, 56vw, 640px);
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 8px;
  background: #e8ebe4;
}

.group-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 66%;
  filter: saturate(1.02) contrast(1.02);
}

.person-card {
  display: flex;
  flex-direction: column;
  min-height: 268px;
  overflow: hidden;
  border-radius: 8px;
}

.person-portrait {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  color: #102015;
  background:
    linear-gradient(135deg, rgba(215, 239, 64, 0.98), rgba(39, 183, 174, 0.76)),
    var(--lime);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 800;
}

.person-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.03);
}

.person-portrait.has-fallback {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.person-card:nth-child(2n) .person-portrait {
  background: linear-gradient(135deg, rgba(39, 183, 174, 0.92), rgba(123, 110, 246, 0.62));
}

.person-card:nth-child(3n) .person-portrait {
  background: linear-gradient(135deg, rgba(255, 178, 63, 0.9), rgba(215, 239, 64, 0.78));
}

.person-info {
  padding: 18px;
}

.person-info h3 {
  margin-bottom: 6px;
}

.person-info a {
  text-decoration: underline;
  text-decoration-color: rgba(108, 141, 18, 0.42);
  text-underline-offset: 4px;
}

.person-info p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.person-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(108, 141, 18, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(215, 239, 64, 0.13);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.person-links a:hover {
  border-color: rgba(108, 141, 18, 0.42);
  background: rgba(215, 239, 64, 0.22);
  text-decoration: none;
}

.grant-list {
  display: grid;
  gap: 14px;
}

.grant-item,
.news-item {
  border-radius: 8px;
}

.grant-item {
  padding: 22px;
}

.news-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.news-item.has-media {
  grid-column: span 2;
}

.news-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.news-body {
  padding: 22px;
}

.grant-item p,
.news-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-item time {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--lime-deep);
  font-weight: 800;
}

.news-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(108, 141, 18, 0.42);
  text-underline-offset: 4px;
}

.contact-section {
  width: 100%;
  margin: 0;
  padding: 92px 20px;
  color: #f8fff3;
  background: #102015;
}

.contact-panel {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 239, 64, 0.16), rgba(39, 183, 174, 0.08)),
    rgba(255, 255, 255, 0.045);
}

.contact-section .section-kicker {
  color: var(--lime);
}

.contact-section .section-lead {
  color: rgba(248, 255, 243, 0.72);
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-row {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-row dt {
  color: rgba(248, 255, 243, 0.58);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-row dd {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px max(20px, calc((100vw - var(--max-width)) / 2));
  color: rgba(248, 255, 243, 0.74);
  background: #102015;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  color: var(--lime);
}

.cv-page {
  background: var(--soft);
}

.cv-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 14px max(20px, calc((100vw - var(--max-width)) / 2));
  color: var(--ink);
  background: rgba(255, 254, 250, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.cv-header .brand-mark {
  width: 46px;
  height: 46px;
  background: transparent;
}

.cv-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.cv-nav a:hover {
  color: var(--ink);
}

.cv-main {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 58px 0 90px;
}

.cv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
  padding: clamp(40px, 7vw, 72px) 0;
}

.cv-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.cv-role {
  margin-bottom: 24px;
  color: #304238;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
}

.cv-summary {
  width: min(100%, 780px);
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.cv-profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(19, 33, 31, 0.04);
}

.cv-profile-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cv-profile-links {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.cv-profile-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(108, 141, 18, 0.24);
  border-radius: 999px;
  background: rgba(215, 239, 64, 0.14);
  font-size: 0.84rem;
  font-weight: 800;
}

.cv-profile-links a:hover {
  background: rgba(215, 239, 64, 0.24);
}

.cv-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.cv-section h2 {
  margin-bottom: 22px;
  font-size: clamp(1.65rem, 4vw, 2.7rem);
}

.cv-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
}

.cv-two-column p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.cv-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cv-list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  color: #304238;
}

.cv-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--lime-deep);
}

.cv-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cv-timeline.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cv-timeline article,
.cv-highlight-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.cv-timeline span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--lime-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.cv-timeline h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.cv-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cv-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cv-highlight-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.cv-highlight-grid span,
.cv-note {
  color: var(--muted);
}

.cv-note {
  width: min(100%, 680px);
  margin: 18px 0 0;
}

@media (max-width: 980px) {
  .hero-caption {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 14px;
  }

  .hero-copy {
    margin-bottom: 0;
  }

  .research-grid,
  .publication-list,
  .people-grid,
  .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-grid,
  .split-section,
  .contact-panel,
  .cv-hero,
  .cv-two-column {
    grid-template-columns: 1fr;
  }

  .cv-profile-card {
    width: min(100%, 360px);
  }

  .cv-timeline,
  .cv-timeline.compact,
  .cv-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 16px);
    gap: 12px;
    margin-top: 8px;
    padding: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 78px;
    height: 30px;
    flex: 0 0 auto;
  }

  .brand-text {
    overflow: hidden;
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--ink);
    background: rgba(255, 254, 250, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .cv-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 14px;
  }

  .cv-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cv-main {
    width: min(100% - 28px, var(--max-width));
    padding-top: 28px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-inner {
    width: min(100% - 16px, 1500px);
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
    padding: 86px 0 34px;
  }

  .hero-scene {
    left: 50%;
    width: min(168vw, 690px);
    max-height: 46svh;
    margin-left: 0;
    transform: translateX(-56%);
  }

  .hero-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    width: min(100% - 28px, var(--max-width));
    margin-top: 12px;
  }

  .eyebrow,
  .section-kicker {
    letter-spacing: 0.08em;
  }

  .hero-copy {
    max-width: 100%;
    margin-bottom: 0;
    font-size: clamp(1rem, 4.8vw, 1.18rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 148px;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
  }

  h1 {
    font-size: clamp(3.4rem, 19vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

  .section {
    width: min(100% - 28px, var(--max-width));
    padding: 66px 0;
  }

  .people-section,
  .news-section {
    width: 100%;
  }

  .people-section > *,
  .news-section > * {
    width: min(100% - 28px, var(--max-width));
  }

  .research-grid,
  .publication-list,
  .people-grid,
  .news-list {
    grid-template-columns: 1fr;
  }

  .group-photo {
    height: clamp(380px, 116vw, 560px);
  }

  .news-item.has-media {
    grid-column: auto;
  }

  .person-card {
    min-height: 0;
  }

  .person-portrait {
    aspect-ratio: 1 / 1;
  }

  .contact-section {
    padding: 66px 14px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 520px) {
  .hero-inner {
    padding-top: 78px;
  }

  .hero-scene {
    width: min(184vw, 720px);
    max-height: 42svh;
    transform: translateX(-58%);
  }

  .hero-caption {
    width: min(100% - 20px, var(--max-width));
    gap: 14px;
    margin-top: 6px;
  }

  .hero-caption .eyebrow {
    max-width: 30ch;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.38;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .hero-scene {
    width: 198vw;
    transform: translateX(-60%);
  }

  .hero-caption .eyebrow {
    max-width: 28ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .electron-density-model {
    display: none;
  }
}
