:root {
  --page-bg: #ffffff;
  --ink: #111827;
  --ink-soft: #475569;
  --line: #e5e7eb;
  --navy-950: #040817;
  --navy-900: #08133b;
  --navy-800: #11245d;
  --navy-700: #213f8f;
  --blue-link: #1d4ed8;
  --light: #ffffff;
  --light-soft: #cbd5e1;
  --content-width: 1120px;
  --narrow-width: 760px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

main,
section,
.anchor-offset {
  scroll-margin-top: 88px;
}

.page-shell {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px max(12px, calc((100vw - var(--content-width)) / 2));
  background: #ffffff;
  overflow-x: auto;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 3.2rem);
  flex: 0 0 auto;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

main {
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
}

p,
li {
  line-height: 1.8;
}

.section-inner {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(calc(100% - 2rem), var(--narrow-width));
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3rem;
  padding:
    2rem
    max(1rem, calc((100vw - var(--content-width)) / 2))
    5.5rem;
  color: var(--light);
  background-color: #040817;
  background-image:
    linear-gradient(90deg, rgba(4, 8, 23, 0.64) 0%, rgba(4, 8, 23, 0.56) 24%, rgba(4, 8, 23, 0.22) 54%, rgba(4, 8, 23, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 18, 55, 0.1), rgba(2, 6, 18, 0.34)),
    url("assets/images/bg-kepler-186f.jpg");
  background-position: center, center, -32% 50%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, 121% auto;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 34%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 52%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 58%, rgba(255, 255, 255, 0.1) 0 1px, transparent 2px);
  opacity: 0.16;
  pointer-events: none;
}

.hero-scene {
  display: none;
}

.hero-profile,
.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-photo {
  overflow: hidden;
  width: 220px;
  height: 220px;
  margin-bottom: 1.5rem;
  border: 4px solid rgba(4, 10, 30, 0.85);
  border-radius: 50%;
  background: rgba(6, 15, 40, 0.9);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.26);
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 38%;
}

.portrait-title {
  display: grid;
  gap: 0.22rem;
  justify-items: center;
}

.portrait-title h1 {
  font-size: clamp(2.45rem, 4.2vw, 3.25rem);
  letter-spacing: -0.04em;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.hero-name-secondary {
  margin: -0.18rem 0 0.35rem;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  color: var(--light-soft);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.hero-role {
  margin: 0.05rem 0 0;
  color: var(--light);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-affiliation {
  margin: 0.08rem 0 0;
  color: var(--light-soft);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  white-space: nowrap;
}

.hero-links,
.link-row,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero-links {
  justify-content: center;
  margin-top: 1.2rem;
  align-items: center;
  gap: 0.6rem 0.85rem;
}

.hero-credit {
  position: absolute;
  right: 0.65rem;
  bottom: 1.2rem;
  z-index: 1;
  margin: 0;
  color: var(--light-soft);
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.hero-credit a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.hero-links a,
.link-row a,
.contact-links a,
.publication-item a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.hero-links a:hover,
.hero-links a:focus-visible,
.link-row a:hover,
.link-row a:focus-visible,
.contact-links a:hover,
.contact-links a:focus-visible,
.publication-item a:hover,
.publication-item a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.hero-links .hero-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition:
    transform var(--transition),
    color var(--transition),
    border-color var(--transition),
    opacity var(--transition);
}

.hero-links .hero-icon-link svg {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
}

.hero-links .hero-icon-link img {
  width: 1.82rem;
  height: auto;
  display: block;
}

.hero-links .hero-icon-link.is-framed {
  width: 2.95rem;
  height: 2.95rem;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.58rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.hero-links .hero-icon-link.is-wordmark {
  width: auto;
  min-width: 1.8rem;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.hero-links .hero-icon-link.is-orcid {
  width: 1.78rem;
  height: 1.78rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-links .hero-icon-link.is-orcid span {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
}

.hero-links .hero-icon-link:hover,
.hero-links .hero-icon-link:focus-visible {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px) scale(1.04);
}

.hero-copy {
  padding-top: 0.75rem;
}

.hero-copy h2 {
  max-width: 10ch;
  color: var(--light);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: 0.95;
}

.hero-prose {
  max-width: 39rem;
  margin-top: 1.45rem;
  color: var(--light-soft);
  font-size: 1.2rem;
}

.hero-prose p {
  margin: 0 0 1rem;
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 44rem;
  margin-top: 1.8rem;
  color: var(--light-soft);
}

.summary-card {
  padding: 0;
  background: none;
  border: 0;
}

.summary-card h3 {
  margin-bottom: 0.8rem;
  color: var(--light);
  font-size: 1.7rem;
}

.summary-card-education h3 {
  margin-left: 1.45rem;
}

.summary-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.education-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.9rem;
}

.education-list li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  line-height: 1.4;
}

.education-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
}

.education-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.education-copy {
  display: block;
}

.education-school {
  display: block;
  margin-top: 0.06rem;
  font-size: 0.9rem;
  color: rgba(203, 213, 225, 0.88);
}

.copy-section {
  padding: 5rem 0 2.5rem;
}

.copy-section-about .section-inner.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.92fr);
  column-gap: 1.5rem;
  row-gap: 1.1rem;
  width: min(calc(100% - 2rem), 1140px);
  align-items: start;
}

.copy-section-about .section-inner.about-layout h2 {
  grid-column: 1 / -1;
}

.copy-section-about .section-prose {
  gap: 0.52rem;
  font-size: 1.1rem;
  margin-top: 0;
}

.copy-section-about .section-prose p {
  margin: 0;
}

.copy-section h2,
.section-title-block h2,
.list-section h2,
.papers-section h2,
.contact-section h2 {
  color: var(--ink);
}

.section-prose,
.section-intro {
  color: var(--ink-soft);
}

.section-prose {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.astro-cats-intro {
  font-size: 1.18rem;
  line-height: 1.75;
}

.astro-cats-intro p {
  margin: 0;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.15rem;
  align-items: start;
}

.about-gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9e1ea;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  align-self: start;
  aspect-ratio: 1 / 1;
}

.about-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery-item-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.about-gallery-item-wide img {
  object-fit: contain;
}

.astro-cats-gallery {
  columns: 3 230px;
  column-gap: 1rem;
  margin-top: 1.4rem;
}

.astro-cats-item {
  margin: 0 0 1rem;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid #d9e1ea;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.astro-cats-item img {
  display: block;
  width: 100%;
  height: auto;
}

.section-title-block {
  padding: 2rem 0 0.25rem;
}

.section-title-block .section-inner {
  width: min(calc(100% - 2rem), 1100px);
}

.section-title-block .section-intro,
.contact-section .section-intro {
  max-width: 40rem;
  margin: 1rem 0 0;
}

.highlight-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
  width: min(calc(100% - 2rem), 1100px);
  margin: 0 auto;
  padding: 2rem 0 2.25rem;
}

.highlight-section.is-reverse .highlight-media {
  order: 2;
}

.highlight-section.is-reverse .highlight-copy {
  order: 1;
}

.highlight-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--light);
  background:
    linear-gradient(180deg, rgba(6, 15, 45, 0.18), rgba(6, 15, 45, 0.18)),
    linear-gradient(145deg, var(--navy-900), var(--navy-700));
}

.highlight-media::before,
.highlight-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.highlight-media::before {
  width: 56%;
  aspect-ratio: 1;
  right: -8%;
  top: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02) 64%, transparent 70%);
}

.highlight-media::after {
  left: 8%;
  right: 8%;
  bottom: 12%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.frame-one {
  background-color: #050505;
  background:
    linear-gradient(180deg, rgba(7, 16, 44, 0.18), rgba(7, 16, 44, 0.32)),
    url("assets/images/research-highlight-1.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%, contain;
}

.frame-one::before,
.frame-one::after {
  display: none;
}

.frame-two {
  background-color: #000000;
  background-image: url("assets/images/research-highlight-2.png?v=1");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.frame-two::before,
.frame-two::after,
.frame-two .media-badge,
.frame-two .media-caption {
  display: none;
}

.frame-three {
  background-color: #000000;
  background-image: url("assets/images/research-highlight-3.png?v=2");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.frame-three::before,
.frame-three::after,
.frame-three .media-badge,
.frame-three .media-caption {
  display: none;
}

.frame-four {
  background-color: #000000;
  background-image: url("assets/images/research-highlight-4.png?v=2");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.frame-four::before,
.frame-four::after,
.frame-four .media-badge,
.frame-four .media-caption {
  display: none;
}

.project-tab-row {
  display: block;
  margin-top: 0.1rem;
  text-align: center;
}

.project-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid #d4dde8;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.project-tab svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.project-tab span {
  font-weight: 600;
}

.media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-flex;
  padding: 0.4rem 0.65rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  max-width: 26rem;
  color: var(--light-soft);
}

.highlight-copy {
  max-width: 34rem;
}

.highlight-copy h3 {
  margin-bottom: 1rem;
  color: #3f78a9;
  line-height: 1.1;
}

.highlight-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.highlight-section-featured {
  display: block;
  width: min(calc(100% - 5rem), 980px);
  margin: 0 auto;
  padding: 2rem 0 2.4rem;
}

.highlight-section-boxed {
  display: block;
  width: min(calc(100% - 5rem), 980px);
  margin: 0 auto;
  padding: 2rem 0 2.4rem;
}

.highlight-section-boxed-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.highlight-section-boxed .highlight-copy {
  max-width: none;
}

.highlight-media-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-content: start;
}

.highlight-section-boxed.is-reverse .highlight-media {
  order: 2;
}

.highlight-section-boxed.is-reverse .highlight-copy {
  order: 1;
}

.highlight-section-boxed.is-reverse .highlight-media-column {
  order: 2;
}

.featured-highlight-card {
  padding: 1rem 1rem 1.35rem;
  border: 1px solid #d4dde8;
  border-left: 4px solid #8ebbd4;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.featured-highlight-card h3 {
  margin-bottom: 0.8rem;
  color: #3f78a9;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.featured-intro {
  max-width: 56rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.75;
}

.featured-media {
  margin-top: 1.05rem;
  padding: 0.8rem clamp(1.2rem, 4vw, 2.25rem);
  border: 1px solid #d9e1ea;
  background: #ffffff;
}

.featured-media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.featured-media-panel {
  margin: 0;
}

.featured-media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: #050505;
}

.featured-media-panel figcaption {
  margin: 0.55rem auto 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.featured-media-panel-right figcaption {
  padding-left: 0.8rem;
  text-align: left;
}

.featured-key-results {
  margin-top: 1.15rem;
  padding: 0.95rem 1rem 1rem;
  border-radius: 8px;
  background: #f5efe4;
}

.featured-key-results h4 {
  margin-bottom: 0.65rem;
  color: #364152;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-key-results ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.featured-key-results li + li {
  margin-top: 0.4rem;
}

.featured-subsection {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #d9e1ea;
}

.featured-subsection h4 {
  margin-bottom: 0.55rem;
  color: #3f78a9;
  font-size: 1.52rem;
  line-height: 1.2;
}

.featured-subsection p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.featured-subsection-prose {
  display: grid;
  gap: 0.9rem;
}

.featured-subsection-prose p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.planetary-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.planetary-gallery-item {
  margin: 0;
  padding: 0.45rem;
  border: 1px solid #d9e1ea;
  background: #ffffff;
}

.planetary-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.planetary-gallery-item figcaption {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.planetary-gallery-item figcaption .caption-link {
  color: inherit;
  text-decoration-color: rgba(10, 30, 112, 0.3);
}

.planetary-gallery-item figcaption .caption-link:hover {
  text-decoration-color: rgba(10, 30, 112, 0.65);
}

.featured-media-panel figcaption .caption-link {
  color: inherit;
  text-decoration-color: rgba(10, 30, 112, 0.3);
}

.featured-media-panel figcaption .caption-link:hover {
  text-decoration-color: rgba(10, 30, 112, 0.65);
}

.planetary-gallery-item-right img {
  margin-top: 1.15rem;
}

.stellar-figure {
  margin: 1.25rem 1.55rem 0;
  padding: 0.95rem;
  border: 1px solid #d9e1ea;
  background: #ffffff;
}

.stellar-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.stellar-figure figcaption {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.stellar-figure figcaption .caption-link {
  color: inherit;
  text-decoration-color: rgba(10, 30, 112, 0.3);
}

.stellar-figure figcaption .caption-link:hover {
  text-decoration-color: rgba(10, 30, 112, 0.65);
}

.link-row {
  margin-top: 0.9rem;
  color: var(--blue-link);
}

.list-section {
  padding: 4rem 0 2.5rem;
}

.two-column-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: min(100%, 760px);
  margin-top: 1.6rem;
}

.list-card {
  padding: 0;
  border: 0;
  background: none;
}

.list-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.stacked-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stacked-list li {
  padding: 0.35rem 0;
  color: var(--ink-soft);
}

.papers-section {
  padding: 2.5rem 0;
}

.publication-list {
  width: min(100%, 760px);
  margin-top: 1.5rem;
}

.publication-item {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.publication-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.publication-item h3 {
  color: var(--ink);
  line-height: 1.2;
}

.publication-meta {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
}

.publication-item a {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--blue-link);
}

.contact-section {
  padding: 2rem 0 2.8rem;
}

.contact-links {
  margin-top: 1.15rem;
  color: var(--blue-link);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(calc(100% - 2rem), var(--narrow-width));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer a {
  color: inherit;
  text-decoration-color: rgba(10, 30, 112, 0.35);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-section,
  .highlight-section,
  .hero-summary,
  .two-column-lists {
    grid-template-columns: 1fr;
  }

  .copy-section-about .section-inner.about-layout {
    grid-template-columns: 1fr;
  }

  .highlight-section-boxed-grid {
    grid-template-columns: 1fr;
  }

  .planetary-gallery {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 2rem;
    background-position: center, center, -17% 48%;
    background-size: cover, cover, 140% auto;
  }

  .highlight-section.is-reverse .highlight-media,
  .highlight-section.is-reverse .highlight-copy {
    order: initial;
  }

  .highlight-section-boxed.is-reverse .highlight-media,
  .highlight-section-boxed.is-reverse .highlight-copy,
  .highlight-section-boxed.is-reverse .highlight-media-column {
    order: initial;
  }

  .hero-copy h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 10px;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .astro-cats-gallery {
    columns: 1;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 1.65rem;
    padding:
      1.8rem
      0.5rem
      4.25rem;
  }

  .hero-credit {
    right: 0.5rem;
    bottom: 0.9rem;
    font-size: 0.76rem;
  }

  .hero-profile {
    align-items: center;
    text-align: center;
  }

  .hero-links {
    justify-content: center;
  }

  .profile-photo {
    width: 170px;
    height: 170px;
    font-size: 2.5rem;
  }

  .hero-section {
    background-position: center, center, -12% 45%;
    background-size: cover, cover, 164% auto;
  }

  .section-inner,
  .section-inner.narrow,
  .highlight-section,
  .highlight-section-boxed,
  .site-footer {
    width: min(calc(100% - 1rem), var(--content-width));
  }

  .site-nav {
    gap: 1rem;
    padding-left: 1rem;
  }

  .copy-section {
    padding-top: 3.5rem;
  }

  .section-title-block {
    padding-top: 1.4rem;
  }

  .list-section,
  .papers-section,
  .contact-section {
    padding-top: 2rem;
  }

  .highlight-section {
    gap: 1.5rem;
    padding-top: 1.5rem;
  }

  .highlight-section-boxed {
    padding-top: 1.5rem;
  }

  .featured-highlight-card {
    padding: 0.9rem 0.8rem 1.1rem;
  }

  .highlight-section-featured,
  .highlight-section-boxed {
    width: min(calc(100% - 1rem), var(--content-width));
  }

  .featured-highlight-card h3 {
    font-size: 1.5rem;
  }

  .featured-intro,
  .featured-subsection p {
    line-height: 1.7;
  }

  .featured-key-results {
    padding: 0.85rem 0.85rem 0.9rem;
  }

  .featured-media {
    padding: 0.7rem 0.9rem;
  }

  .featured-media-split {
    grid-template-columns: 1fr;
  }

  .highlight-section-boxed-grid {
    gap: 1.5rem;
  }

  .featured-subsection h4 {
    font-size: 1.32rem;
  }

  .highlight-media {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
