:root {
  --ink: #14202b;
  --ink-soft: #3a4a57;
  --muted: #6b7a86;
  --paper: #edf2f4;
  --paper-2: #e2ebe7;
  --teal: #0f6b5c;
  --teal-deep: #0a4f44;
  --amber: #c47a2c;
  --line: rgba(20, 32, 43, 0.12);
  --max: 1120px;
  --header-h: 4.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(15, 107, 92, 0.16), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(196, 122, 44, 0.1), transparent 50%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-2) 55%, #dfe8ea 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

h1,
h2,
h3,
h4,
.hero-brand,
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 14ch;
}

h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  max-width: 18ch;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
}

h4 {
  margin: 0;
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  backdrop-filter: blur(14px);
  background: rgba(237, 242, 244, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(237, 242, 244, 0.92);
}

.logo {
  font-size: 1.35rem;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.4rem;
}

.nav a,
.nav-cta {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:hover,
.nav-cta:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero-signal {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wave {
  width: 100%;
  height: 100%;
}

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

.wave-a {
  stroke: rgba(15, 107, 92, 0.55);
  stroke-width: 2.2;
}

.wave-b {
  stroke: rgba(20, 32, 43, 0.28);
  stroke-width: 1.5;
}

.wave-c {
  stroke: rgba(196, 122, 44, 0.42);
  stroke-width: 1.8;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: rise 0.9s ease both;
}

.hero-portrait {
  width: 5.75rem;
  height: 5.75rem;
  margin: 0 0 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--line);
}

.hero-brand {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--teal-deep);
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  font-weight: 300;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #f4f7f6;
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #f4f7f6;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.section {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section.band {
  width: 100%;
  padding-left: max(1.25rem, calc((100% - var(--max)) / 2));
  padding-right: max(1.25rem, calc((100% - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.35);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-lead {
  margin-top: 1rem;
  max-width: 40rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.research-list {
  display: grid;
  gap: 0;
}

.research-item {
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) 1fr;
  gap: 1.5rem 2.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.research-item:last-child {
  border-bottom: 1px solid var(--line);
}

.research-item p {
  color: var(--ink-soft);
  font-weight: 300;
}

.research-title-link {
  text-decoration: none;
  background-image: linear-gradient(var(--teal), var(--teal));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: color 0.2s ease, background-size 0.25s ease;
}

.research-title-link:hover {
  color: var(--teal-deep);
  background-size: 100% 1px;
}

.research-summary {
  display: grid;
  gap: 1rem;
}

.research-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}

.research-actions a {
  color: var(--teal-deep);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 107, 92, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.research-actions a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.tag {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 500;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-when {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.org {
  margin: 0.35rem 0 0.7rem;
  color: var(--teal-deep);
  font-weight: 500;
}

.timeline-body p:last-child {
  color: var(--ink-soft);
  font-weight: 300;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.stack-title {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.edu-item + .edu-item {
  margin-top: 2rem;
}

.edu-item p {
  color: var(--ink-soft);
  font-weight: 300;
}

.award-figure {
  margin: 1.25rem 0 0;
  padding: 0;
}

.award-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 28rem;
  border-radius: 2px;
}

.award-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.muted {
  color: var(--muted) !important;
  font-size: 0.92rem;
  margin: 0.25rem 0 0.7rem !important;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

.skills-grid h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.skills-grid p {
  color: var(--ink-soft);
  font-weight: 300;
}

.contact {
  text-align: left;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  margin-top: 0.5rem;
}

.contact-links a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-links a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Research project pages */
.project-page {
  --project-accent: var(--teal);
  --project-accent-deep: var(--teal-deep);
  --project-wash: rgba(15, 107, 92, 0.08);
}

.project-concepttime {
  --project-accent: #0f6b5c;
  --project-accent-deep: #0a4f44;
  --project-wash: rgba(15, 107, 92, 0.09);
}

.project-entrope {
  --project-accent: #9a5e1f;
  --project-accent-deep: #714112;
  --project-wash: rgba(196, 122, 44, 0.1);
}

.project-pact {
  --project-accent: #356477;
  --project-accent-deep: #244958;
  --project-wash: rgba(53, 100, 119, 0.1);
}

.project-neurinferno {
  --project-accent: #6e4f7b;
  --project-accent-deep: #50365c;
  --project-wash: rgba(110, 79, 123, 0.1);
}

.project-page .nav a:hover,
.project-page .nav-cta:hover {
  color: var(--project-accent-deep);
}

.project-hero,
.project-section,
.project-navigation {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.project-hero {
  padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3.25rem, 7vw, 5.5rem);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(2.5rem, 7vw, 5rem);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.breadcrumb::before {
  content: "←";
  color: var(--project-accent);
  font-size: 1rem;
}

.breadcrumb:hover {
  color: var(--project-accent-deep);
}

.project-kicker {
  color: var(--project-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-hero h1 {
  max-width: 13ch;
  margin-top: 0.65rem;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.project-paper-title {
  max-width: 50rem;
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.35;
}

.project-lead {
  max-width: 46rem;
  margin-top: 1.75rem;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 300;
  line-height: 1.75;
}

.project-byline {
  max-width: 54rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.project-page .btn-primary {
  background: var(--project-accent-deep);
  border-color: var(--project-accent-deep);
}

.project-page .btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.project-page .btn-ghost:hover {
  color: var(--project-accent-deep);
  border-color: var(--project-accent);
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.project-metric {
  min-height: 10.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: rgba(245, 248, 247, 0.7);
}

.project-metric strong {
  display: block;
  color: var(--project-accent-deep);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.project-metric span {
  display: block;
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.project-section {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.project-section-head {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-number {
  padding-top: 0.55rem;
  color: var(--project-accent);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.project-section h2 {
  max-width: 22ch;
}

.project-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.project-copy {
  display: grid;
  gap: 1.25rem;
  max-width: 44rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.project-copy strong {
  color: var(--ink);
  font-weight: 500;
}

.insight-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--project-wash);
  border-top: 3px solid var(--project-accent);
}

.insight-label {
  color: var(--project-accent-deep);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin-top: 0.8rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.insight-card p:last-child {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: method;
}

.method-step {
  position: relative;
  min-height: 18rem;
  padding: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid var(--line);
  counter-increment: method;
}

.method-step::before {
  content: "0" counter(method);
  display: block;
  margin-bottom: 2.4rem;
  color: var(--project-accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.method-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 3px;
  background: var(--project-accent);
}

.method-step h3 {
  font-size: 1.2rem;
}

.method-step p {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 300;
}

.method-caption {
  max-width: 49rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.result-card {
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid var(--line);
}

.result-card .result-value {
  color: var(--project-accent-deep);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.result-card h3 {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.result-card p:last-child {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 300;
}

.results-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.results-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.results-table caption {
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: left;
  caption-side: top;
}

.results-table th,
.results-table td {
  padding: 0.85rem 1.2rem;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.results-table th {
  color: var(--ink);
  font-weight: 600;
}

.results-table td {
  color: var(--ink-soft);
  font-weight: 300;
}

.results-table td strong {
  color: var(--project-accent-deep);
  font-weight: 600;
}

.project-note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.scope-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-list li {
  padding: 1.1rem 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-weight: 300;
}

.scope-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.scope-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 500;
}

.project-navigation {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.project-navigation h2 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.3rem;
}

.project-nav-card {
  min-height: 10.5rem;
  padding: 1.4rem;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.project-nav-card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.36);
  border-color: rgba(20, 32, 43, 0.22);
}

.project-nav-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-nav-card strong {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1000px) {
  .project-hero,
  .project-section,
  .project-navigation {
    width: min(100% - 5rem, 1240px);
  }

  .project-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.72fr);
    column-gap: clamp(4rem, 7vw, 7rem);
    align-items: start;
    min-height: calc(100svh - var(--header-h));
    padding-top: clamp(3.5rem, 7vw, 6rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
  }

  .project-hero .breadcrumb {
    grid-column: 1 / -1;
    margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
  }

  .project-hero > :not(.breadcrumb):not(.project-metrics) {
    grid-column: 1;
  }

  .project-hero h1 {
    font-size: clamp(5rem, 7.2vw, 7rem);
    line-height: 0.95;
  }

  .project-paper-title {
    max-width: 40rem;
  }

  .project-lead {
    max-width: 42rem;
  }

  .project-metrics {
    grid-column: 2;
    grid-row: 2 / span 6;
    grid-template-columns: 1fr;
    align-self: stretch;
    margin-top: 0;
  }

  .project-metric {
    display: flex;
    min-height: 0;
    padding: clamp(1.5rem, 2.5vw, 2.15rem);
    flex-direction: column;
    justify-content: space-between;
  }

  .project-metric strong {
    font-size: clamp(2.35rem, 3.4vw, 3.5rem);
  }

  .project-metric span {
    max-width: 28ch;
    margin-top: 1.5rem;
  }

  .project-section {
    display: grid;
    grid-template-columns: minmax(14rem, 0.32fr) minmax(0, 0.68fr);
    column-gap: clamp(4rem, 7vw, 7rem);
    row-gap: 2rem;
    align-items: start;
    padding-top: clamp(4.5rem, 7vw, 6rem);
    padding-bottom: clamp(4.5rem, 7vw, 6rem);
  }

  .project-section-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin: 0;
    padding-top: 1.25rem;
    border-top: 3px solid var(--project-accent);
  }

  .project-section-head .section-number {
    padding: 0;
  }

  .project-section h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 3vw, 2.85rem);
  }

  .project-section > :not(.project-section-head) {
    grid-column: 2;
  }

  .project-two-col {
    grid-template-columns: minmax(0, 1.08fr) minmax(16rem, 0.92fr);
    gap: clamp(2.25rem, 4vw, 3.5rem);
  }

  .project-copy {
    font-size: 1.02rem;
    line-height: 1.8;
  }

  .insight-card {
    min-height: 100%;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .method-step {
    min-height: 15rem;
    padding: 1.75rem;
  }

  .method-step::before {
    margin-bottom: 2rem;
  }

  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .result-card {
    min-height: 15.5rem;
    display: flex;
    flex-direction: column;
  }

  .result-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 12.5rem;
  }

  .result-card .result-value {
    font-size: clamp(2rem, 3vw, 2.8rem);
  }

  .result-card p:last-child {
    margin-top: auto;
    padding-top: 1rem;
  }

  .results-table-wrap {
    margin-top: 0;
  }

  .project-note {
    margin-top: -0.5rem;
  }

  .project-navigation {
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
  }

  .project-nav-grid {
    gap: 1.25rem;
  }

  .project-nav-card {
    display: flex;
    min-height: 12rem;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.75rem;
  }

  .project-nav-card strong {
    margin-top: 2.5rem;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .research-item,
  .timeline-item,
  .split,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .research-item,
  .timeline-item {
    gap: 0.65rem;
  }

  .hero {
    align-items: center;
    min-height: calc(100svh - var(--header-h));
  }

  h1 {
    max-width: 12ch;
  }

  .project-metrics,
  .results-grid,
  .project-nav-grid {
    grid-template-columns: 1fr;
  }

  .project-metric {
    min-height: auto;
  }

  .project-two-col {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .project-section-head {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

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

  .method-step {
    min-height: auto;
  }
}

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

  .hero-copy,
  .reveal,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
