:root {
  --ink: #17343a;
  --ink-soft: #34535a;
  --muted: #61777c;
  --paper: #f6f2e9;
  --paper-deep: #ece5d7;
  --white: #fffdf8;
  --teal: #00798c;
  --teal-dark: #005c6a;
  --red: #d1495b;
  --gold: #b97920;
  --rule: rgba(23, 52, 58, 0.17);
  --shadow: 0 1.25rem 3.5rem rgba(23, 52, 58, 0.1);
  --serif: "Lora", Georgia, serif;
  --sans: "Open Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 121, 140, 0.1), transparent 30rem),
    radial-gradient(circle at 92% 88%, rgba(209, 73, 91, 0.08), transparent 32rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(23, 52, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 52, 58, 0.035) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  content: "";
  pointer-events: none;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(246, 242, 233, 0.92);
  backdrop-filter: blur(0.8rem);
}

.nav-inner,
.container {
  width: min(72rem, calc(100% - 3rem));
  margin-inline: auto;
}

.nav-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  color: var(--ink);
  text-decoration: none;
}

.brand-name,
.brand-role {
  display: block;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-role {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 0.13rem;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-links a:hover::after,
.site-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-links a[aria-current="page"] {
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding-block: clamp(3.5rem, 6vw, 5.75rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.4rem;
  height: 0.12rem;
  background: var(--red);
  content: "";
}

.hero h1,
.hero-video h1,
.page-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero h1,
.hero-video h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.hero-lead {
  max-width: 43rem;
  margin: 1.8rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-line::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0.28rem rgba(209, 73, 91, 0.12);
  content: "";
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.button:hover {
  color: var(--ink);
  background: transparent;
  transform: translateY(-0.15rem);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--ink);
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  min-height: 25rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px solid var(--rule);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.82), rgba(236, 229, 215, 0.72));
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.lab-frame {
  min-height: 0;
  display: block;
  margin: 0;
  padding: 1.15rem 1.15rem 3rem;
  background: #fffefa;
  box-shadow: 0.8rem 1rem 0 rgba(23, 52, 58, 0.08);
  transform: rotate(-1.1deg);
}

.lab-frame::before {
  top: -0.55rem;
  left: 50%;
  width: 5.6rem;
  height: 1.35rem;
  border-radius: 0;
  background: rgba(196, 157, 85, 0.42);
  transform: translateX(-50%) rotate(2deg);
}

.lab-frame::after {
  right: 0.7rem;
  bottom: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
}

.research-video {
  width: 100%;
  aspect-ratio: 1400 / 868;
  display: block;
  border: 1px solid rgba(23, 52, 58, 0.12);
  background: var(--white);
  object-fit: cover;
}

.video-stage {
  position: relative;
}

.video-toggle {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(23, 52, 58, 0.45);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0.2rem 0.25rem 0 rgba(23, 52, 58, 0.12);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.video-toggle:hover {
  color: var(--white);
  background: var(--ink);
}

.video-caption {
  position: absolute;
  bottom: 0.75rem;
  left: 1.25rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.02em;
  transform: rotate(-0.4deg);
}

.hero-video {
  position: relative;
  min-height: clamp(36rem, 74vh, 48rem);
  display: grid;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: var(--white);
  isolation: isolate;
}

.hero-background-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: var(--white);
  object-fit: cover;
  object-position: center;
}

.hero-video::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(246, 242, 233, 0.97) 0%,
      rgba(246, 242, 233, 0.89) 34%,
      rgba(246, 242, 233, 0.42) 62%,
      rgba(246, 242, 233, 0.08) 100%
    );
  content: "";
  pointer-events: none;
}

.hero-video-content {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
}

.hero-video .hero-copy {
  width: min(44rem, 68%);
  padding: clamp(1.25rem, 3vw, 2.1rem);
  border-left: 0.22rem solid var(--red);
  background: rgba(246, 242, 233, 0.76);
  box-shadow: 0.7rem 0.8rem 0 rgba(23, 52, 58, 0.06);
  backdrop-filter: blur(0.16rem);
}

.hero-video-meta {
  position: absolute;
  right: 0;
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.88);
  font-family: var(--serif);
  font-size: 0.68rem;
  font-style: italic;
  box-shadow: 0.25rem 0.3rem 0 rgba(23, 52, 58, 0.1);
}

.hero-video .video-toggle {
  position: static;
}

.visual-card::before,
.visual-card::after {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  content: "";
}

.visual-card::before {
  top: 1.2rem;
  left: 1.2rem;
  background: var(--teal);
}

.visual-card::after {
  right: 1.2rem;
  bottom: 1.2rem;
  background: var(--red);
}

.signal-figure {
  width: 100%;
  transform: rotate(-1.5deg);
}

.signal-figure path,
.signal-figure line {
  fill: none;
  stroke-linecap: round;
}

.visual-note {
  position: absolute;
  right: -1.25rem;
  bottom: 3rem;
  max-width: 12rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--rule);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.72rem;
  line-height: 1.45;
  box-shadow: 0 0.8rem 2rem rgba(23, 52, 58, 0.09);
}

.section {
  padding-block: clamp(3.75rem, 6vw, 5.5rem);
  border-top: 1px solid var(--rule);
}

.section-tint {
  background: rgba(236, 229, 215, 0.55);
}

.section-heading {
  max-width: 47rem;
  margin-bottom: 2.8rem;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.95rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-heading p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid,
.project-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.research-card,
.project-card,
.contact-card,
.side-card {
  border: 1px solid var(--rule);
  background: rgba(255, 253, 248, 0.72);
}

.research-card {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
}

.card-number,
.label {
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.research-card h3,
.project-card h3,
.contact-card h2,
.side-card h2 {
  margin: 2rem 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.25;
}

.research-card p,
.project-card p,
.contact-card p,
.side-card p {
  margin: 0;
  color: var(--muted);
}

.research-card a,
.project-card a {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: 1.2rem;
}

.publication-card {
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border: 1px solid var(--rule);
  background: var(--ink);
}

.publication-card .label {
  color: #81c4ce;
}

.publication-card h3 {
  max-width: 22ch;
  margin: 1rem 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.23;
}

.publication-card p {
  color: #c7d4d5;
}

.publication-card a {
  display: inline-block;
  margin-top: 1.35rem;
  color: #9dd9e1;
  font-weight: 700;
}

.evidence-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.evidence-item {
  padding: 1.25rem;
  background: var(--white);
}

.evidence-item strong,
.evidence-item span {
  display: block;
}

.evidence-item strong {
  font-family: var(--serif);
}

.evidence-item span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.page-heading {
  position: relative;
  max-width: 72rem;
  padding-block: clamp(3.75rem, 6vw, 6.25rem);
}

.page-heading h1 {
  max-width: 16ch;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.page-heading .intro {
  max-width: 47rem;
  margin: 1.7rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.page-heading > * {
  position: relative;
  z-index: 1;
}

.page-heading::before {
  position: absolute;
  top: 50%;
  right: -4rem;
  width: min(24rem, 38vw);
  aspect-ratio: 1;
  border: 1.5px solid var(--page-art-a, rgba(0, 121, 140, 0.3));
  border-radius: 47% 53% 43% 57% / 58% 39% 61% 42%;
  box-shadow:
    0 0 0 2rem var(--page-art-b, rgba(0, 121, 140, 0.06)),
    0 0 0 4.2rem var(--page-art-c, rgba(209, 73, 91, 0.045));
  content: "";
  opacity: 0.8;
  transform: translateY(-50%) rotate(var(--page-art-rotation, -8deg));
}

.page-heading::after {
  position: absolute;
  top: 23%;
  right: 7rem;
  width: 9rem;
  height: 6rem;
  border-top: 2px solid var(--page-art-a, rgba(0, 121, 140, 0.3));
  border-bottom: 1px dashed var(--page-art-a, rgba(0, 121, 140, 0.3));
  border-radius: 50%;
  content: "";
  opacity: 0.65;
  transform: rotate(calc(var(--page-art-rotation, -8deg) * -1));
}

.page-research {
  --page-art-a: rgba(0, 121, 140, 0.38);
  --page-art-b: rgba(0, 121, 140, 0.055);
  --page-art-c: rgba(209, 73, 91, 0.04);
  --page-art-rotation: -11deg;
}

.page-publications {
  --page-art-a: rgba(209, 73, 91, 0.35);
  --page-art-b: rgba(209, 73, 91, 0.05);
  --page-art-c: rgba(185, 121, 32, 0.045);
  --page-art-rotation: 9deg;
}

.page-about {
  --page-art-a: rgba(185, 121, 32, 0.4);
  --page-art-b: rgba(185, 121, 32, 0.055);
  --page-art-c: rgba(0, 121, 140, 0.04);
  --page-art-rotation: -4deg;
}

.page-contact,
.page-consulting {
  --page-art-a: rgba(23, 52, 58, 0.3);
  --page-art-b: rgba(23, 52, 58, 0.045);
  --page-art-c: rgba(0, 121, 140, 0.04);
  --page-art-rotation: 13deg;
}

.feature-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.feature {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--white);
}

.feature-index {
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
}

.feature h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.18;
}

.feature p {
  color: var(--ink-soft);
}

.method-list,
.plain-list {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.method-list li {
  padding: 0.35rem 0.62rem;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.project-card,
.contact-card,
.side-card {
  padding: 1.5rem;
}

.project-card h3,
.contact-card h2,
.side-card h2 {
  margin-top: 0.75rem;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-meta::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.publication-list,
.presentation-list,
.timeline {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--rule);
  list-style: none;
}

.publication-entry,
.presentation-entry,
.timeline-item {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--white);
}

.publication-entry h2,
.presentation-entry h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.35;
}

.citation,
.presentation-entry p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.citation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.prose {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.85;
}

.prose p:first-child {
  margin-top: 0;
}

.side-card {
  position: sticky;
  top: 2rem;
  width: min(20rem, 100%);
  justify-self: end;
}

.portrait-photo {
  width: calc(100% + 0.7rem);
  aspect-ratio: 1;
  height: auto;
  display: block;
  margin: -0.35rem -0.35rem 1.6rem;
  object-fit: cover;
  object-position: center 42%;
}

.side-card .plain-list {
  color: var(--muted);
}

.side-card .plain-list li {
  padding-block: 0.65rem;
  border-top: 1px solid var(--rule);
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(9rem, 0.45fr) minmax(0, 1.55fr);
  gap: 2rem;
}

.timeline-item time {
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.timeline-item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

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

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card a {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.2rem;
  font-weight: 700;
}

.research-easter-egg {
  min-height: 15rem;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(23, 52, 58, 0.04), rgba(23, 52, 58, 0.72)),
    url("../assets/img/research-bg.jpg") center 43% / cover no-repeat;
  transition: min-height 500ms ease;
}

.research-easter-egg:hover {
  min-height: 22rem;
}

.easter-egg-copy {
  padding-block: 2rem;
  color: var(--white);
  text-shadow: 0 0.12rem 0.5rem rgba(0, 0, 0, 0.45);
}

.easter-egg-copy span {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.easter-egg-copy p {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
}

.site-footer {
  padding-block: 2.25rem;
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.not-found {
  min-height: calc(100vh - 10rem);
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(5rem, 20vw, 13rem);
  line-height: 0.9;
}

.not-found h1 {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.not-found p {
  max-width: 35rem;
  margin: 1rem auto 0;
  color: var(--muted);
}

:focus-visible {
  outline: 0.2rem solid var(--red);
  outline-offset: 0.25rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .page-heading {
    animation: reveal 650ms ease-out both;
  }

  .hero-visual {
    animation-delay: 100ms;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(0.8rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 56rem) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-visual {
    width: min(34rem, 100%);
    margin-inline: auto;
  }

  .hero-video {
    min-height: 42rem;
  }

  .hero-video::after {
    background: rgba(246, 242, 233, 0.62);
  }

  .hero-video .hero-copy {
    width: min(40rem, 92%);
    background: rgba(246, 242, 233, 0.88);
  }

  .page-heading::before {
    right: -7rem;
    width: 20rem;
    opacity: 0.55;
  }

  .page-heading::after {
    right: 1rem;
    opacity: 0.4;
  }

  .card-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .research-card {
    min-height: auto;
  }

  .evidence-grid,
  .bio-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
    justify-self: start;
  }

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

@media (max-width: 44rem) {
  .nav-inner,
  .container {
    width: min(100% - 1.5rem, 72rem);
  }

  .nav-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
    padding-block: 1rem;
  }

  .site-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.7rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }

  .site-links a {
    white-space: nowrap;
  }

  .hero {
    padding-block: 3.1rem;
  }

  .hero-video {
    min-height: 39rem;
  }

  .hero-video-content {
    align-items: flex-start;
    padding-block: 2.2rem 5rem;
  }

  .hero-video .hero-copy {
    width: 100%;
    padding: 1.15rem;
  }

  .hero-video-meta {
    right: 0.4rem;
    bottom: 0.7rem;
  }

  .hero-video-meta span {
    display: none;
  }

  .visual-card {
    padding: 1.1rem;
  }

  .lab-frame {
    padding-bottom: 2.8rem;
  }

  .visual-note {
    right: 0.8rem;
    bottom: 1rem;
  }

  .page-heading {
    padding-block: 3.25rem;
  }

  .page-heading::before,
  .page-heading::after {
    display: none;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .feature-index {
    font-size: 3rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .research-easter-egg,
  .research-easter-egg:hover {
    min-height: 13rem;
  }
}
