:root {
  --bg: #070a12;
  --bg-soft: #0c1120;
  --panel: rgba(18, 25, 45, 0.72);
  --text: #f4f7ff;
  --muted: #9ca8bf;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #6ee7f9;
  --violet: #a78bfa;
  --orange: #ffb86c;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 10%, rgba(93, 73, 180, 0.18), transparent 28rem),
    radial-gradient(circle at 10% 50%, rgba(31, 119, 150, 0.12), transparent 30rem),
    var(--bg);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.7;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #051018;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  font-size: 0.75rem;
}
.brand-text { letter-spacing: -0.02em; }

.site-nav { display: flex; gap: 28px; color: var(--muted); font-size: 0.92rem; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--text); }
.menu-toggle { display: none; color: var(--text); background: none; border: 0; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding-block: 90px 70px;
}

.eyebrow, .mono { font-family: "DM Mono", monospace; }
.eyebrow { color: var(--cyan); font-size: 0.78rem; letter-spacing: .18em; }
.hero {
  display: block;
  min-height: calc(100vh - 90px);
  padding-block: 90px 70px;
}

.hero-title {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-copy {
  min-width: 0;
  padding-right: 0;
}

.hero-email {
  margin: 22px 0 0;
  font-size: 1rem;
}

.hero-email a {
  color: var(--cyan);
  font-weight: 700;
}

.hero-photo {
  position: static;
  transform: none;
  display: flex;
  justify-content: flex-end;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hero-photo:hover,
.hero-photo:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(110, 231, 249, 0.45);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  outline: none;
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  max-width: 340px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--panel);
}

.hero-lightbox {
  width: min(720px, calc(100% - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(9, 13, 24, 0.96);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.hero-lightbox::backdrop {
  background: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(8px);
}

.hero-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 92px);
  object-fit: contain;
  border-radius: 22px;
  background: var(--panel);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #071018; background: linear-gradient(135deg, var(--cyan), #c5b8ff); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.03); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: #77839a; font-size: .82rem; }

.transit-panel {
  position: relative;
  min-height: 580px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: inset 0 0 60px rgba(110,231,249,.05), 0 30px 80px rgba(0,0,0,.28);
  overflow: hidden;
}
.system-label { position: absolute; top: 22px; left: 24px; color: var(--muted); font-size: .72rem; z-index: 3; }
.transit-visual {
  position: absolute;
  inset: 52px 24px 245px;
  display: grid;
  place-items: center;
}
.stellar-disc {
  position: relative;
  width: min(235px, 45vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 38% 34%, #fff9d6 0 8%, #ffd48a 25%, #f2944e 56%, #bd4d36 82%, #7d2931 100%);
  box-shadow: 0 0 20px rgba(255,255,255,.7), 0 0 75px rgba(255,165,82,.55), 0 0 145px rgba(255,112,75,.2);
}
.stellar-texture {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: .28;
  background:
    radial-gradient(circle at 25% 70%, rgba(104,33,31,.55) 0 3%, transparent 4%),
    radial-gradient(circle at 62% 27%, rgba(255,245,194,.75) 0 2%, transparent 3%),
    radial-gradient(circle at 68% 64%, rgba(117,38,35,.45) 0 4%, transparent 5%),
    repeating-radial-gradient(circle at 45% 50%, transparent 0 8px, rgba(255,255,255,.1) 9px 10px);
}
.transiting-planet {
  position: absolute;
  top: 50%;
  left: -18%;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #536078, #151b29 68%);
  box-shadow: 0 3px 15px rgba(0,0,0,.75);
  animation: planetTransit 7s cubic-bezier(.45,0,.55,1) infinite;
  z-index: 2;
}
.observer-line {
  position: absolute;
  left: 3%; right: 3%; bottom: -10px;
  display: flex; justify-content: space-between;
  color: #68758d; font-size: .58rem;
}
.observer-line::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -9px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110,231,249,.35), transparent);
}
.lightcurve-wrap {
  position: absolute;
  left: 22px; right: 22px; bottom: 72px;
  height: 188px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.chart-label { color: #718098; font-size: .58rem; margin-left: 7px; }
.lightcurve { width: 100%; height: 158px; overflow: visible; }
.axis-line { stroke: rgba(168,181,220,.22); stroke-width: 1; }
.lightcurve-guide { fill: none; stroke: rgba(168,181,220,.18); stroke-width: 8; }
.lightcurve-trace { fill: none; stroke: var(--cyan); stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(110,231,249,.45)); }
.phase-cursor { stroke: rgba(167,139,250,.6); stroke-width: 1; stroke-dasharray: 4 4; }
.flux-point { fill: #fff; stroke: var(--cyan); stroke-width: 3; filter: drop-shadow(0 0 7px rgba(110,231,249,.8)); }
.chart-text { fill: #637087; font: 10px 'DM Mono', monospace; }
.system-readout {
  position: absolute; left: 24px; right: 24px; bottom: 18px;
  display: flex; justify-content: space-between; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem;
}
.system-readout b { display: block; color: var(--text); font-size: .95rem; }
@keyframes planetTransit {
  0%, 8% { left: -18%; }
  50% { left: calc(50% - 19px); }
  92%, 100% { left: 102%; }
}

.portrait-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel);
  transform: rotate(1.2deg);
}
.portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
}
.portrait-card figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: .76rem;
}
.portrait-card figcaption .mono { color: var(--text); font-size: .68rem; }

.split-section, .section-heading {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}
.split-section { padding-block: 120px; border-top: 1px solid var(--line); }
.section-number { color: #6f7a91; font-size: .72rem; letter-spacing: .08em; }
.split-content h2, .section-heading h2, .contact-section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}
section[id="research"], .projects-section, .publication-section, .press-section { padding-block: 110px; }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; margin-top: 56px; }
.research-card {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.research-card:hover,
.research-card[open] { transform: translateY(-7px); border-color: rgba(110,231,249,.42); }
.research-card[open] {
  grid-column: 1 / -1;
}
.research-card summary::-webkit-details-marker { display: none; }
.research-summary {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  list-style: none;
  cursor: pointer;
}
.research-summary:focus-visible {
  outline: 2px solid rgba(110, 231, 249, 0.7);
  outline-offset: -6px;
}
.card-index { color: var(--cyan); font-size: .8rem; }
.research-title { display: block; margin: 42px 0 16px; font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.research-copy { display: block; color: var(--muted); }
.research-card p { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 30px 0 0; list-style: none; }
.tag-list li,
.tag-list [role="listitem"] { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: #b6c0d3; font-size: .74rem; }
.research-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #7d8aa3;
  font-size: .68rem;
}
.research-toggle::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
}
.research-card[open] .research-toggle::after {
  content: "–";
}
.research-expanded {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr);
  gap: 18px;
  padding: 0 28px 28px;
  border-top: 1px solid var(--line);
}
.research-expanded p {
  margin: 22px 0 0;
  font-size: .94rem;
}
.research-plot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}
.research-plot svg {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
}
.research-plot img {
  display: block;
  width: 100%;
  background: #071018;
}
.research-media-stack {
  display: grid;
  gap: 14px;
  align-self: start;
}
.research-media-stack .research-plot {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.research-media-stack .research-plot figcaption {
  border-top: 0;
  padding-inline: 0;
}
.research-media-stack .research-plot img {
  background: transparent;
}
.research-plot-large {
  align-self: start;
}
.research-plot-hero img {
  max-height: 300px;
  object-fit: contain;
  background: transparent;
}
.research-plot-small {
  width: min(100%, 720px);
  justify-self: center;
}
.research-plot-small img {
  max-height: 360px;
  object-fit: contain;
}
.kh15d-media-stack .kh15d-system-image img {
  max-height: 380px;
  object-fit: contain;
}
.research-plot figcaption {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  color: #7d8aa3;
  font-size: .74rem;
}
.plot-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}
.plot-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(110, 231, 249, .35));
}
.plot-line.alt {
  stroke: var(--orange);
}
.plot-point,
.plot-bar {
  fill: var(--cyan);
}
.plot-bar {
  opacity: .72;
}
.plot-bar.hot {
  fill: var(--orange);
}

.project-list { margin-top: 50px; border-top: 1px solid var(--line); }
.project-row {
  display: grid;
  grid-template-columns: 130px 1fr 170px;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.project-year { color: #768198; font-size: .75rem; }
.project-row h3 { margin: 0 0 10px; font-size: 1.45rem; }
.project-row p { margin: 0; max-width: 680px; color: var(--muted); }
.project-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: .88rem; }
.project-links a:hover, .text-link:hover, .social-links a:hover { color: var(--cyan); }

.publication-list {
  display: grid;
  gap: 16px;
  margin-top: 52px;
}

.publication-card {
  display: grid;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(110,231,249,.08), rgba(167,139,250,.06));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.publication-card:hover,
.publication-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(110, 231, 249, 0.45);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  outline: none;
}

.publication-card-compact {
  padding: 30px 32px;
  background: rgba(255, 255, 255, 0.025);
}

.publication-status { color: var(--cyan); font-size: .72rem; }
.publication-card h3 { max-width: 850px; margin: 14px 0; font-size: clamp(1.6rem, 3vw, 2.7rem); line-height: 1.15; }
.publication-card-compact h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.publication-authors { color: var(--text) !important; }
.publication-card p { max-width: 760px; color: var(--muted); }
.text-link { display: inline-block; margin-top: 24px; }

.press-section {
  border-top: 1px solid var(--line);
}

.press-list {
  display: grid;
  gap: 16px;
  margin-top: 52px;
}

.press-card {
  display: grid;
  padding: 34px 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 184, 108, .08), rgba(110, 231, 249, .05));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.press-card:hover,
.press-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(110, 231, 249, 0.45);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  outline: none;
}

.press-card h3 {
  margin: 12px 0;
  max-width: 780px;
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.press-card p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.methods-strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.methods-strip > p { color: #69758c; font-size: .7rem; }
.ticker { display: flex; flex-wrap: wrap; gap: 14px 28px; color: #c7cfdd; }
.ticker span::before { content: "✦"; margin-right: 10px; color: var(--violet); }

.personal-shell {
  padding-block: 30px 110px;
}

.personal-details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.personal-details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  cursor: pointer;
  color: var(--text);
}

.personal-details summary::-webkit-details-marker { display: none; }

.personal-summary-copy {
  color: var(--muted);
  font-size: .94rem;
}

.personal-details summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--cyan);
  flex: 0 0 auto;
}

.personal-details[open] summary::after {
  content: "–";
}

.personal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px;
  padding: 0 22px 22px;
  border-top: 1px solid var(--line);
}

.personal-kicker {
  margin: 22px 0 10px;
  color: var(--cyan);
  font-size: .72rem;
  letter-spacing: .12em;
}

.personal-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.personal-panel p {
  color: var(--muted);
}

.personal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
  padding-top: 22px;
}

.personal-card {
  min-width: 0;
}

.personal-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.personal-image-button:hover,
.personal-image-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(110, 231, 249, 0.45);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  outline: none;
}

.personal-image-button img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
}

.personal-image-button span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  min-height: 46%;
  padding: 46px 14px 14px;
  background: linear-gradient(to top, rgba(6, 10, 18, 0.9), rgba(6, 10, 18, 0));
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.15;
}

.personal-lightbox {
  width: min(880px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--text);
  background: rgba(9, 13, 24, 0.96);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.55);
  overflow: auto;
}

.personal-lightbox::backdrop {
  background: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(8px);
}

.personal-lightbox figure {
  margin: 0;
}

.personal-lightbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.personal-gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: none;
  cursor: pointer;
}

.personal-gallery-item:hover,
.personal-gallery-item:focus-visible {
  outline: 2px solid rgba(110, 231, 249, 0.7);
  outline-offset: 2px;
}

.personal-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: var(--panel);
}

.personal-gallery-item.gallery-cover img {
  border-color: rgba(110, 231, 249, 0.55);
}

.personal-image-viewer {
  width: min(980px, calc(100% - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(9, 13, 24, 0.96);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.personal-image-viewer::backdrop {
  background: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(8px);
}

.personal-image-viewer img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 92px);
  object-fit: contain;
  border-radius: 18px;
  background: var(--panel);
}

.personal-lightbox figcaption {
  padding: 22px 24px 26px;
}

.personal-lightbox h3 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.personal-lightbox p {
  margin: 0;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: rgba(110, 231, 249, 0.55);
  outline: none;
}

.contact-section { padding-block: 150px; text-align: center; }
.contact-section h2 { margin: 16px auto 24px; }
.contact-section > p:not(.eyebrow) { max-width: 620px; margin: 0 auto 32px; color: var(--muted); }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; padding-block: 24px 44px; color: #6f7a91; font-size: .76rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .transit-panel { min-height: 570px; }
  .split-section, .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .research-grid { grid-template-columns: 1fr; }
  .research-expanded { grid-template-columns: 1fr; }
  .portrait-card { max-width: 340px; transform: none; }
  .project-row { grid-template-columns: 90px 1fr; }
  .project-links { grid-column: 2; flex-direction: row; align-items: flex-start; }
}

@media (max-width: 680px) {
  .site-header { border-radius: 14px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    display: none; flex-direction: column; gap: 14px; padding: 18px;
    border: 1px solid var(--line); border-radius: 14px; background: rgba(7,10,18,.96);
  }
  .site-nav.open { display: flex; }
  .hero { min-height: auto; padding-block: 80px; }
  .hero-title { margin-bottom: 28px; font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-photo { justify-self: center; max-width: 300px; }
  .transit-panel { min-height: 520px; }
  .transit-visual { inset: 54px 20px 245px; }
  .stellar-disc { width: 190px; }
  .transiting-planet { width: 31px; height: 31px; margin-top: -15.5px; }
  .personal-details summary { flex-direction: column; align-items: flex-start; }
  .personal-panel { grid-template-columns: 1fr; }
  .personal-grid { grid-template-columns: 1fr; }
  .personal-image-button img { aspect-ratio: 16 / 10; }
  .personal-lightbox { border-radius: 18px; }
  .personal-lightbox-grid { gap: 8px; padding: 8px; }
  .personal-lightbox-grid img { border-radius: 12px; }
  .project-row { grid-template-columns: 1fr; }
  .project-links { grid-column: 1; }
  .publication-card { padding: 26px; }
  .publication-list { margin-top: 36px; }
  .press-list { margin-top: 36px; }
  .press-card { padding: 26px; }
  .site-footer { flex-direction: column; gap: 8px; }
}

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