:root {
  --ink: #151311;
  --muted: #5f6469;
  --paper: #f7f4ed;
  --paper-strong: #fffdf7;
  --line: rgba(21, 19, 17, 0.14);
  --teal: #0c6b67;
  --blue: #254f9a;
  --amber: #c7782b;
  --rose: #a33f57;
  --dark: #11161a;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 22, 26, 0.12);
}

* {
  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;
}

@media (pointer: fine) {
  .cursor-pixel,
  .cursor-click {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
  }

  .cursor-pixel {
    width: 4px;
    height: 4px;
    background: rgba(12, 107, 103, 0.86);
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(12, 107, 103, 0.46);
    transform: translate(-50%, -50%);
    transition: opacity 180ms ease, background-color 180ms ease;
  }

  body.cursor-is-active .cursor-pixel {
    background: rgba(12, 107, 103, 1);
    box-shadow: 0 0 14px rgba(12, 107, 103, 0.62);
  }

  .cursor-click {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(12, 107, 103, 0.72);
    border-radius: 50%;
    animation: cursor-pulse 560ms ease-out forwards;
    transform: translate(-50%, -50%);
  }
}

@keyframes cursor-pulse {
  to {
    width: 74px;
    height: 74px;
    opacity: 0;
  }
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 18%, rgba(12, 107, 103, 0.12), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(199, 120, 43, 0.13), transparent 24%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.95), rgba(239, 232, 218, 0.88));
}

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

.field-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.58;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-elevated {
  border-color: var(--line);
  background: rgba(247, 244, 237, 0.84);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 13px;
}

.brand-copy {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown::after {
  position: absolute;
  top: 100%;
  left: -12px;
  width: calc(100% + 24px);
  height: 18px;
  content: "";
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  min-width: 170px;
  padding: 8px;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 6px;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] {
  color: var(--ink);
  background: rgba(12, 107, 103, 0.08);
}

.nav-submenu a[aria-current="page"] {
  border-bottom: 0;
}

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

.nav-links a[aria-current="page"] {
  border-bottom: 2px solid currentColor;
}

.header-action {
  display: inline-flex;
  justify-content: center;
  min-width: 104px;
  padding: 10px 16px;
  color: var(--paper-strong);
  background: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.header-action[aria-current="page"] {
  box-shadow: 0 0 0 3px rgba(12, 107, 103, 0.2);
}

.section-band,
.section-block {
  padding-inline: clamp(18px, 5vw, 72px);
}

.identity-hero {
  --intro-blur: 0px;
  position: relative;
  display: grid;
  min-height: clamp(560px, 86vh, 820px);
  place-items: center;
  overflow: hidden;
  padding: clamp(84px, 12vw, 140px) clamp(18px, 5vw, 72px) clamp(38px, 6vw, 64px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(17, 22, 26, 0.22), rgba(0, 0, 0, 0.66)),
    url("assets/seeing-beyond-distortion.gif") center / cover no-repeat,
    #151719;
  filter: blur(var(--intro-blur));
  transform: translateZ(0);
  transform-origin: center top;
}

.identity-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.42) 100%);
  opacity: 0.88;
}

.identity-frame {
  position: relative;
  z-index: 1;
  width: min(1150px, 100%);
  padding: clamp(42px, 6vw, 72px) clamp(24px, 7vw, 84px);
  border: 6px solid rgba(255, 255, 255, 0.92);
  text-align: center;
}

.identity-frame h1 {
  max-width: none;
  margin-bottom: 18px;
  color: #fff;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(52px, 8.1vw, 112px);
  font-weight: 700;
  line-height: 0.95;
}

.identity-prompt {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(26px, 5vw, 52px);
  left: clamp(18px, 5vw, 72px);
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.identity-prompt p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.identity-prompt .button {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.94);
  border-color: transparent;
}

.hero {
  min-height: min(820px, calc(100vh - 24px));
  display: grid;
  align-items: center;
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(28px, 5vw, 64px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Newsreader, Georgia, serif;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 28px;
  font-size: clamp(52px, 8.1vw, 112px);
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 67px);
}

.hero-title-compact {
  max-width: 820px;
  font-size: clamp(41px, 6.5vw, 86px);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
}

.hero-lede {
  max-width: 700px;
  color: #34383b;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.button.primary.light {
  color: var(--ink);
  background: var(--paper-strong);
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 253, 247, 0.58);
}

.button-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.button-icon::before,
.button-icon::after {
  position: absolute;
  content: "";
}

.button-icon::before {
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: currentColor;
}

.button-icon::after {
  top: 4px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.signal-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 24px;
  color: #ecf5ee;
  background:
    linear-gradient(155deg, rgba(17, 22, 26, 0.96), rgba(17, 22, 26, 0.72)),
    linear-gradient(45deg, var(--teal), var(--rose));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signal-header,
.metrics {
  position: relative;
  z-index: 2;
}

.signal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.signal-header strong {
  color: #fff;
}

.signal-rings {
  position: absolute;
  inset: 92px 20px 150px;
  display: grid;
  place-items: center;
}

.signal-rings span {
  position: absolute;
  width: min(78%, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: ringPulse 6s ease-in-out infinite;
}

.signal-rings span:nth-child(2) {
  width: min(58%, 248px);
  border-color: rgba(97, 211, 193, 0.42);
  animation-delay: -1.6s;
}

.signal-rings span:nth-child(3) {
  width: min(34%, 140px);
  border-color: rgba(255, 196, 118, 0.55);
  animation-delay: -3s;
}

.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: translateY(-70%);
  animation: scan 5.5s linear infinite;
}

.metrics {
  display: grid;
  gap: 14px;
  margin: 350px 0 0;
}

.metrics div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.metrics dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metrics dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.strip-item {
  min-height: 130px;
  padding: 24px;
  background: rgba(255, 253, 247, 0.72);
}

.strip-item span,
.project-kicker,
.publication-card span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.strip-item strong {
  display: block;
  max-width: 360px;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.1;
}

.section-block {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding-top: clamp(86px, 12vw, 150px);
  padding-bottom: clamp(64px, 10vw, 120px);
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 54px);
}

.section-heading p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

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

.selected-work-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.project-card {
  display: grid;
  grid-template-rows: 260px auto;
  min-height: 560px;
  overflow: hidden;
  background: rgba(255, 253, 247, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-card.featured {
  grid-column: span 2;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto;
}

.project-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--dark);
}

.selected-paper-image {
  display: grid;
  min-height: 260px;
  place-items: center;
  background: #0b0606;
}

.project-card.featured .selected-paper-image {
  min-height: 420px;
}

.selected-paper-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.project-card:not(.featured) .selected-paper-image img {
  aspect-ratio: 16 / 7;
}

.selected-work-carousel {
  min-height: 260px;
}

.project-card.featured .selected-work-carousel {
  min-height: 420px;
}

.selected-work-carousel img {
  padding: 12px;
}

.project-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 42px);
}

.project-body p {
  color: var(--muted);
  font-size: 17px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  background: rgba(12, 107, 103, 0.1);
  border: 1px solid rgba(12, 107, 103, 0.18);
  border-radius: 999px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.turbulence {
  background:
    linear-gradient(120deg, rgba(12, 107, 103, 0.85), transparent),
    radial-gradient(circle at 70% 35%, rgba(255, 196, 118, 0.72), transparent 26%),
    #12171b;
}

.turbulence span {
  position: absolute;
  width: 78%;
  height: 16%;
  left: -14%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.turbulence span:nth-child(1) {
  top: 24%;
}

.turbulence span:nth-child(2) {
  top: 42%;
  left: 8%;
}

.turbulence span:nth-child(3) {
  top: 61%;
  left: 28%;
}

.moire {
  background: repeating-linear-gradient(
      84deg,
      rgba(255, 255, 255, 0.78) 0 2px,
      transparent 2px 10px
    ),
    repeating-linear-gradient(96deg, rgba(12, 107, 103, 0.64) 0 2px, transparent 2px 11px),
    #172024;
}

.moire span,
.neural span {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.moire span:nth-child(2) {
  inset: 34%;
  background: rgba(199, 120, 43, 0.34);
}

.neural {
  background:
    radial-gradient(circle at 22% 28%, #80d3c8, transparent 12%),
    radial-gradient(circle at 70% 24%, #ffbc75, transparent 12%),
    radial-gradient(circle at 62% 72%, #e27791, transparent 13%),
    #15191e;
}

.neural span {
  width: 14px;
  height: 14px;
  inset: auto;
  background: #fff;
}

.neural span:nth-child(1) {
  top: 28%;
  left: 22%;
}

.neural span:nth-child(2) {
  top: 24%;
  left: 70%;
}

.neural span:nth-child(3) {
  top: 72%;
  left: 62%;
}

.neural span:nth-child(4) {
  top: 55%;
  left: 38%;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 110px;
}

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

.method-list article {
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 253, 247, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.method-list span {
  color: var(--amber);
  font-weight: 900;
}

.method-list p,
.timeline p,
.publication-card p {
  color: var(--muted);
}

.experience-band {
  padding-top: clamp(76px, 10vw, 120px);
  padding-bottom: clamp(76px, 10vw, 120px);
  color: #f8f4ea;
  background: var(--dark);
}

.experience-band .section-heading {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.experience-band .eyebrow {
  color: #8bddd2;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.timeline article {
  min-height: 280px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
}

.experience-band .timeline p {
  color: rgba(255, 253, 247, 0.68);
}

.timeline time {
  display: block;
  margin-bottom: 36px;
  color: #8bddd2;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.publication-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}

.publication-card {
  min-height: 260px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.publication-card:first-child {
  grid-row: span 2;
}

.publication-card.quiet {
  background: rgba(12, 107, 103, 0.1);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: clamp(64px, 9vw, 100px);
  padding-bottom: clamp(64px, 9vw, 100px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 107, 103, 0.94), rgba(21, 19, 17, 0.92)),
    var(--teal);
}

.contact-section h2 {
  max-width: 820px;
  margin: 0;
}

.contact-section .eyebrow {
  color: #b8ece4;
}

.page-main {
  min-height: calc(100vh - 92px);
}

.page-hero {
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(42px, 7vw, 86px);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(47px, 7.2vw, 94px);
}

.contact-page .page-hero {
  padding-bottom: clamp(16px, 3vw, 30px);
}

.contact-page .page-hero h1 {
  color: transparent;
  background: linear-gradient(135deg, var(--ink) 10%, var(--teal) 58%, var(--blue) 100%);
  background-clip: text;
  text-shadow: 0 12px 34px rgba(12, 107, 103, 0.12);
}

.contact-page .hero-actions {
  margin-top: 24px;
}

.personal-work-page .page-hero {
  padding-bottom: clamp(18px, 3vw, 34px);
}

.resume-page .page-hero {
  padding-bottom: clamp(24px, 4vw, 46px);
}

.resume-summary {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(56px, 8vw, 90px);
}

.resume-summary h2 {
  margin-bottom: 18px;
}

.resume-snapshot-copy > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #25282b;
  font-size: clamp(18px, 2vw, 22px);
}

.resume-snapshot-media {
  overflow: hidden;
  border: 1px solid rgba(18, 15, 10, 0.22);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 26px 76px rgba(18, 15, 10, 0.22);
}

.resume-snapshot-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 43% 50%;
}

.resume-section {
  padding-top: clamp(44px, 7vw, 82px);
  padding-bottom: clamp(44px, 7vw, 82px);
  border-top: 1px solid rgba(18, 15, 10, 0.18);
}

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

.resume-list.compact {
  gap: 10px;
}

.resume-list.compact .resume-item {
  padding: clamp(18px, 2.3vw, 26px);
}

.resume-item,
.resume-card {
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid rgba(18, 15, 10, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(18, 15, 10, 0.07);
}

.resume-item-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
  margin-bottom: 14px;
}

.resume-item h3,
.resume-card h3 {
  max-width: 900px;
  margin-bottom: 8px;
  color: #080807;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
}

.resume-item p,
.resume-card p,
.resume-item li,
.resume-card li {
  color: #252a2e;
  font-size: 16px;
}

.resume-list.compact .resume-item h3 {
  font-size: clamp(18px, 1.8vw, 22px);
}

.resume-item p:last-child,
.resume-card p:last-child {
  margin-bottom: 0;
}

.resume-item ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.resume-item time {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #053f3d;
  background: rgba(12, 107, 103, 0.16);
  border: 1px solid rgba(12, 107, 103, 0.32);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.resume-grid,
.resume-two-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resume-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-card {
  min-height: 300px;
}

.resume-card span {
  display: block;
  margin-bottom: 36px;
  color: #054f4b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.resume-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.resume-numbered {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding-left: 24px;
}

.resume-numbered li {
  color: #252a2e;
  font-size: 16px;
}

.resume-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.header-explainer {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-bottom: clamp(64px, 9vw, 110px);
  scroll-margin-top: 92px;
}

.header-image-panel {
  position: sticky;
  top: 110px;
  min-height: clamp(320px, 48vw, 560px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28)),
    url("assets/seeing-beyond-distortion.gif") center / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.header-image-panel::after {
  position: absolute;
  inset: 18px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  content: "";
  pointer-events: none;
}

.header-story {
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.story-kicker {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
}

.header-story h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 4.6vw, 56px);
}

.header-story p:not(.story-kicker) {
  color: #34383b;
  font-size: 17px;
}

.research-divider {
  padding-top: clamp(46px, 7vw, 82px);
  padding-bottom: clamp(40px, 6vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 22, 26, 0.96), rgba(12, 107, 103, 0.9)),
    var(--dark);
}

.research-divider .eyebrow {
  color: #8bddd2;
}

.research-divider h2 {
  margin-bottom: 14px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(36px, 7vw, 82px);
  font-weight: 900;
  line-height: 0.95;
}

.research-divider p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.doctoral-projects {
  display: grid;
  gap: clamp(34px, 6vw, 70px);
  padding-top: clamp(44px, 7vw, 86px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.general-projects {
  padding-top: clamp(44px, 7vw, 86px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.paper-card {
  overflow: hidden;
  background: rgba(255, 253, 247, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.featured-paper {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  min-height: 560px;
}

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

.paper-grid .paper-card {
  display: grid;
  grid-template-rows: 280px auto;
}

.paper-image {
  min-height: 280px;
}

.paper-gallery {
  position: relative;
  overflow: hidden;
  background: #0b0606;
}

.paper-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  padding: 10px;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 1400ms ease, transform 5000ms ease;
}

.featured-paper .paper-gallery img {
  min-height: 480px;
}

.paper-gallery img.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.single-project-image {
  overflow: hidden;
  background: #11161a;
}

.single-project-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.empty-image {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(12, 107, 103, 0.14), rgba(37, 79, 154, 0.12)),
    repeating-linear-gradient(
      135deg,
      rgba(21, 19, 17, 0.08) 0,
      rgba(21, 19, 17, 0.08) 1px,
      transparent 1px,
      transparent 14px
    ),
    rgba(255, 253, 247, 0.64);
}

.empty-image::after {
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  content: "Project snapshot";
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.paper-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 40px);
}

.paper-copy h3 {
  font-size: clamp(25px, 2.6vw, 38px);
}

.paper-copy p:not(.project-kicker) {
  color: #34383b;
  font-size: 17px;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.paper-actions .button {
  min-width: 122px;
}

.disabled-link {
  cursor: not-allowed;
  opacity: 0.52;
}

.cluster-heading {
  margin-bottom: 18px;
}

.cluster-heading h3 {
  max-width: 760px;
  margin-bottom: 0;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  padding-bottom: clamp(64px, 9vw, 110px);
}

.info-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-card > span {
  display: block;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-card h2 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
}

.info-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.info-card .button span {
  margin-bottom: 0;
  color: inherit;
  font-size: inherit;
  text-transform: none;
}

.form-section {
  display: flex;
  justify-content: center;
  padding-bottom: clamp(34px, 6vw, 70px);
}

.google-form {
  width: min(720px, 100%);
  height: 1650px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.model-frame-section {
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(64px, 9vw, 110px);
}

.model-frame {
  width: 100%;
  min-height: 1500px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.model-page-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 28px clamp(18px, 5vw, 72px) 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.social-links a {
  display: inline-flex;
  border-radius: var(--radius);
  transition: transform 160ms ease, opacity 160ms ease;
}

.social-links a:hover {
  opacity: 0.86;
  transform: translateY(-2px);
}

.social-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  border-radius: var(--radius);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.social-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.social-icon.image-icon {
  overflow: hidden;
  background: transparent;
}

.social-icon.image-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.social-icon.linkedin {
  background: #2b70b8;
  font-family: Arial, Helvetica, sans-serif;
}

.social-icon.github {
  background: #151517;
}

.copyright {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@keyframes ringPulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes scan {
  to {
    transform: translateY(70%);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .split-section,
  .publication-layout,
  .header-explainer,
  .featured-paper,
  .paper-grid,
  .resume-summary,
  .resume-grid,
  .resume-two-column,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .resume-item-head {
    display: grid;
  }

  .header-image-panel {
    position: relative;
    top: auto;
  }

  .signal-panel {
    min-height: 430px;
  }

  .metrics {
    margin-top: 270px;
  }

  .intro-strip,
  .timeline,
  .project-grid,
  .project-card.featured {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: auto;
  }

  .sticky-heading {
    position: static;
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand-copy {
    display: none;
  }

  .header-action {
    min-width: 92px;
  }

  .hero {
    min-height: auto;
  }

  .identity-hero {
    min-height: 620px;
  }

  .identity-frame {
    border-width: 4px;
  }

  .header-image-panel {
    min-height: 360px;
  }

  .paper-gallery img {
    min-height: 320px;
  }

  .header-image-panel::after {
    inset: 12px;
    border-width: 3px;
  }

  h1 {
    font-size: clamp(41px, 16.2vw, 58px);
  }

  h2 {
    font-size: clamp(31px, 11.7vw, 43px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .signal-panel {
    min-height: 390px;
  }

  .signal-rings {
    inset: 86px 12px 132px;
  }

  .metrics {
    margin-top: 230px;
  }

  .strip-item,
  .timeline article,
  .publication-card,
  .method-list article,
  .project-body {
    padding: 22px;
  }
}
