:root {
  --ink: #11110f;
  --paper: #f8f3e8;
  --paper-soft: #fffaf0;
  --moss: #5f6f39;
  --saffron: #f2a531;
  --clay: #b85c38;
  --aqua: #6fc7b8;
  --line: rgba(17, 17, 15, 0.16);
  --glass: rgba(255, 250, 240, 0.72);
  --shadow: 0 28px 80px rgba(17, 17, 15, 0.22);
  --radius: 8px;
  --max: 1180px;
  --mx: 50vw;
  --my: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-dragging {
  cursor: grabbing;
  user-select: none;
}

body::selection {
  color: var(--paper);
  background: var(--clay);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--paper-soft);
  mix-blend-mode: difference;
}

.cursor-spotlight {
  position: fixed;
  left: var(--mx);
  top: var(--my);
  z-index: 8;
  width: 360px;
  height: 360px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 165, 49, 0.16), rgba(111, 199, 184, 0.08) 38%, transparent 68%);
  filter: blur(10px);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.82rem;
}

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

.nav-links {
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
}

.progress-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  z-index: 18;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.story-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 24;
  display: flex;
  max-width: calc(100vw - 28px);
  gap: 6px;
  overflow-x: auto;
  border: 1px solid rgba(255, 250, 240, 0.26);
  border-radius: 999px;
  padding: 7px;
  background: rgba(17, 17, 15, 0.58);
  color: var(--paper-soft);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  scrollbar-width: none;
}

.story-dock::-webkit-scrollbar {
  display: none;
}

.story-dock a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 12px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.story-dock a span {
  color: var(--saffron);
  font-size: 0.72rem;
}

.story-dock a:hover,
.story-dock a.active {
  background: rgba(255, 250, 240, 0.14);
  color: var(--paper-soft);
  transform: translateY(-1px);
}

.progress-rail span {
  position: relative;
  width: 4px;
  height: 42px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(17, 17, 15, 0.16);
}

.progress-rail span::after {
  position: absolute;
  inset: auto 0 0;
  height: var(--fill, 0%);
  content: "";
  background: var(--clay);
}

.reel-panel {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: clamp(84px, 10vw, 132px) clamp(20px, 6vw, 84px);
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  color: var(--paper-soft);
}

.hero-bg,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.08);
  transform: scale(1.04);
  will-change: transform;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.84), rgba(17, 17, 15, 0.42) 48%, rgba(17, 17, 15, 0.72)),
    linear-gradient(0deg, rgba(17, 17, 15, 0.72), rgba(17, 17, 15, 0.08) 44%, rgba(17, 17, 15, 0.72));
}

.hero-content,
.hero-metrics {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 1000px;
  padding-top: 7svh;
}

.hero-photo-deck {
  position: absolute;
  right: clamp(24px, 6vw, 92px);
  bottom: clamp(110px, 18vh, 210px);
  z-index: 3;
  display: grid;
  width: min(38vw, 480px);
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  pointer-events: auto;
}

.hero-photo-deck figure {
  position: relative;
  min-height: 190px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero-photo-deck figure:first-child {
  grid-row: span 2;
  min-height: 392px;
}

.hero-photo-deck img,
.timeline-card img,
.education-photo img,
.publication-photo img,
.tools-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-deck figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--paper-soft);
  background: rgba(17, 17, 15, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-orbit span {
  position: absolute;
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255, 250, 240, 0.78);
  background: rgba(255, 250, 240, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transform: translate3d(calc(var(--px, 0px) * var(--depth, 0.2)), calc(var(--py, 0px) * var(--depth, 0.2)), 0);
}

.hero-orbit span:nth-child(1) {
  top: 20%;
  right: 19%;
}

.hero-orbit span:nth-child(2) {
  top: 36%;
  right: 8%;
}

.hero-orbit span:nth-child(3) {
  bottom: 33%;
  right: 22%;
}

.hero-orbit span:nth-child(4) {
  bottom: 18%;
  left: 44%;
}

.hero-orbit span:nth-child(5) {
  top: 17%;
  left: 36%;
}

.eyebrow,
.overline,
.section-kicker {
  margin: 0 0 18px;
  color: var(--saffron);
  font-size: clamp(0.76rem, 1.6vw, 0.92rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(4rem, 17vw, 13.2rem);
  line-height: 0.78;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin: 32px 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.38rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--saffron);
  background: var(--saffron);
  color: var(--ink);
}

.button.secondary {
  color: currentColor;
  background: rgba(255, 250, 240, 0.08);
  backdrop-filter: blur(10px);
}

.hero-metrics {
  align-self: end;
  display: grid;
  max-width: 920px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 50px;
  background: rgba(255, 250, 240, 0.22);
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
}

.impact-console {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 920px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.impact-console div {
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 250, 240, 0.09);
  backdrop-filter: blur(14px);
}

.impact-console strong {
  display: block;
  color: var(--aqua);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
}

.impact-console span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 250, 240, 0.68);
  font-size: 0.82rem;
}

.hero-metrics div {
  padding: clamp(16px, 2vw, 26px);
  background: rgba(17, 17, 15, 0.46);
  backdrop-filter: blur(18px);
}

.hero-metrics strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.92rem;
}

.statement {
  background: var(--paper);
}

.section-kicker {
  position: absolute;
  top: clamp(84px, 10vw, 124px);
  left: clamp(20px, 6vw, 84px);
  color: var(--clay);
}

.split,
.feature-layout,
.pub-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  line-height: 1.12;
}

p {
  font-size: clamp(1rem, 1.45vw, 1.14rem);
}

.statement-copy p,
.pub-intro p {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(17, 17, 15, 0.68);
}

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

.focus-grid article,
.feature-card,
.timeline-card,
.degree,
.pub-stack article,
.tool-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.58);
  box-shadow: 0 10px 36px rgba(17, 17, 15, 0.08);
}

.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.tilt-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(242, 165, 49, 0.18), transparent 38%);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.tilt-card:hover,
.tilt-card:focus-visible {
  border-color: rgba(184, 92, 56, 0.38);
  box-shadow: var(--shadow);
}

.tilt-card:hover::after,
.tilt-card:focus-visible::after {
  opacity: 1;
}

.focus-grid article {
  min-height: 210px;
  padding: clamp(18px, 3vw, 30px);
}

.focus-grid span,
.timeline-card span,
.degree span,
.pub-stack span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.focus-grid p,
.timeline-card p,
.degree p,
.pub-stack p {
  color: rgba(17, 17, 15, 0.66);
}

.research {
  color: var(--paper-soft);
  background:
    linear-gradient(135deg, rgba(17, 17, 15, 0.94), rgba(70, 82, 42, 0.9)),
    var(--ink);
}

.research .section-kicker,
.work .section-kicker,
.contact .eyebrow {
  color: var(--saffron);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: end;
}

.feature-card {
  padding: clamp(22px, 4vw, 42px);
  color: var(--ink);
  background: var(--paper-soft);
}

.method-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.method-switcher button {
  border: 1px solid rgba(17, 17, 15, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
}

.method-switcher button.active {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--paper-soft);
}

.method-output {
  min-height: 72px;
  margin: 18px 0 0;
  border-left: 3px solid var(--saffron);
  padding-left: 14px;
  color: rgba(17, 17, 15, 0.72);
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.clean-list li::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--clay);
  content: "";
}

.work {
  background:
    linear-gradient(180deg, rgba(95, 111, 57, 0.08), rgba(184, 92, 56, 0.1)),
    var(--paper);
}

.timeline {
  display: grid;
  width: min(100%, var(--max));
  margin: 0 auto;
  gap: 14px;
  cursor: grab;
}

.draggable-reel {
  grid-auto-flow: column;
  grid-auto-columns: minmax(420px, 74%);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--clay) rgba(17, 17, 15, 0.12);
}

.draggable-reel::-webkit-scrollbar {
  height: 10px;
}

.draggable-reel::-webkit-scrollbar-track {
  background: rgba(17, 17, 15, 0.08);
}

.draggable-reel::-webkit-scrollbar-thumb {
  background: var(--clay);
  border-radius: 999px;
}

.drag-hint {
  width: min(100%, var(--max));
  margin: -18px auto 18px;
  color: rgba(17, 17, 15, 0.52);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-card {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.18fr) minmax(0, 0.4fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  scroll-snap-align: center;
}

.timeline-card span {
  grid-column: 2;
  margin: 0;
}

.timeline-card img {
  grid-row: 1 / span 3;
  height: 100%;
  min-height: 300px;
  border-radius: calc(var(--radius) - 2px);
}

.timeline-card h2,
.degree h2,
.pub-stack h3 {
  overflow-wrap: anywhere;
}

.timeline-card h2 {
  grid-column: 2;
  font-size: clamp(1.55rem, 3.2vw, 3.35rem);
  line-height: 0.98;
}

.timeline-card p {
  grid-column: 3;
  grid-row: 1 / span 3;
  margin: 0;
}

.education {
  background: var(--ink);
  color: var(--paper-soft);
}

.education-grid {
  display: grid;
  width: min(100%, var(--max));
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.education-photo {
  display: grid;
  width: min(100%, var(--max));
  min-height: 260px;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.55fr);
  gap: 1px;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.08);
}

.education-photo img {
  min-height: 260px;
}

.education-photo div {
  display: grid;
  align-content: center;
  padding: clamp(24px, 5vw, 56px);
}

.education-photo span,
.publication-photo span {
  color: var(--saffron);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.education-photo p {
  max-width: 520px;
  color: rgba(255, 250, 240, 0.72);
  font-size: clamp(1.2rem, 3vw, 2.6rem);
  line-height: 1.04;
}

.degree {
  min-height: 320px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.18);
}

.degree h2 {
  font-size: clamp(1.6rem, 3.1vw, 3.35rem);
  line-height: 1;
}

.degree p {
  color: rgba(255, 250, 240, 0.68);
}

.publications {
  background: var(--paper-soft);
}

.pub-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.publication-photo {
  position: relative;
  grid-row: 1 / span 2;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.pub-intro,
.pub-stack {
  grid-column: 2;
}

.publication-photo img {
  filter: saturate(0.95) contrast(1.06);
}

.publication-photo span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--paper-soft);
  background: rgba(17, 17, 15, 0.62);
  backdrop-filter: blur(14px);
}

.pub-stack {
  display: grid;
  gap: 12px;
}

.pub-stack article {
  padding: 24px;
}

.honors {
  min-height: 92svh;
  background:
    linear-gradient(90deg, rgba(184, 92, 56, 0.12), transparent 42%),
    linear-gradient(180deg, var(--paper), #eef5e5);
}

.honor-cloud {
  display: flex;
  width: min(100%, var(--max));
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.honor-cloud span {
  border: 1px solid rgba(17, 17, 15, 0.2);
  border-radius: 999px;
  padding: clamp(12px, 2vw, 18px) clamp(14px, 3vw, 26px);
  background: rgba(255, 250, 240, 0.72);
  font-size: clamp(1rem, 2.5vw, 2.1rem);
  font-weight: 850;
}

.tools {
  color: var(--paper-soft);
  background:
    linear-gradient(135deg, rgba(17, 17, 15, 0.95), rgba(184, 92, 56, 0.7)),
    var(--ink);
}

.tools-gallery {
  display: grid;
  width: min(100%, var(--max));
  grid-template-columns: 0.8fr 1.1fr 0.8fr;
  gap: 12px;
  margin: 0 auto 14px;
}

.tools-gallery img {
  height: clamp(180px, 24vw, 310px);
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: var(--radius);
  filter: saturate(0.95) contrast(1.05);
}

.tool-stage {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(24px, 5vw, 58px);
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.18);
}

.tool-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(28px, 5vw, 54px);
}

.tool-columns ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 250, 240, 0.76);
}

.tool-columns li {
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  padding-bottom: 12px;
}

.contact {
  min-height: 92svh;
  color: var(--paper-soft);
  background: var(--ink);
}

.contact::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(242, 165, 49, 0.18), transparent 55%),
    url("assets/og-card.png") center / cover;
  content: "";
  opacity: 0.34;
}

.contact-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
}

.contact h2 {
  max-width: 960px;
}

address {
  margin-top: 34px;
  color: rgba(255, 250, 240, 0.72);
  font-style: normal;
}

address a {
  color: var(--paper-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-spotlight,
  .hero-orbit {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .progress-rail {
    display: none;
  }

  .hero h1 {
    font-size: clamp(4rem, 22vw, 8rem);
  }

  .hero-metrics,
  .impact-console,
  .split,
  .feature-layout,
  .timeline-card,
  .education-grid,
  .education-photo,
  .pub-layout,
  .tool-columns,
  .tools-gallery {
    grid-template-columns: 1fr;
  }

  .hero-photo-deck {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 680px);
    margin-top: 32px;
  }

  .hero-photo-deck figure,
  .hero-photo-deck figure:first-child {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .story-dock {
    bottom: 10px;
  }

  .hero-orbit {
    display: none;
  }

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

  .timeline-card {
    gap: 14px;
  }

  .draggable-reel {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .timeline-card {
    min-height: 0;
  }

  .timeline-card img {
    grid-row: auto;
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .timeline-card span,
  .timeline-card h2,
  .timeline-card p,
  .pub-intro,
  .pub-stack {
    grid-column: auto;
    grid-row: auto;
  }

  .education-photo img,
  .publication-photo {
    min-height: 280px;
  }

  .education-photo img,
  .publication-photo img,
  .tools-gallery img {
    aspect-ratio: 4 / 3;
  }

  .degree {
    min-height: 0;
  }
}

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

  body {
    font-size-adjust: none;
  }

  .site-header {
    padding: 14px 16px;
  }

  .story-dock {
    width: calc(100vw - 20px);
    justify-content: flex-start;
  }

  .reel-panel {
    min-height: auto;
    padding: 96px 18px 126px;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
    background: var(--ink);
  }

  .hero-bg {
    height: 54vh;
    min-height: 360px;
    object-position: center top;
    opacity: 0.55;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(17, 17, 15, 0.58), rgba(17, 17, 15, 0.96) 62%, var(--ink)),
      linear-gradient(90deg, rgba(17, 17, 15, 0.62), rgba(17, 17, 15, 0.12));
  }

  .hero-content {
    padding-top: 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.5rem, 20vw, 6.4rem);
    line-height: 0.84;
  }

  .hero-lede {
    max-width: 100%;
    margin-top: 24px;
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-photo-deck {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .hero-photo-deck figure,
  .hero-photo-deck figure:first-child {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero-photo-deck img,
  .timeline-card img,
  .education-photo img,
  .publication-photo img,
  .tools-gallery img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .impact-console {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-kicker {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 20px;
  }

  h2 {
    font-size: clamp(2.05rem, 11vw, 3.6rem);
    line-height: 0.98;
  }

  .statement-copy p,
  .pub-intro p,
  p {
    font-size: 1rem;
  }

  .focus-grid article {
    min-height: 0;
  }

  .feature-card,
  .timeline-card,
  .degree,
  .pub-stack article,
  .tool-stage {
    padding: 20px;
  }

  .timeline-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .timeline-card h2,
  .degree h2 {
    font-size: clamp(1.55rem, 8.5vw, 2.55rem);
    line-height: 1.04;
  }

  .timeline-card img,
  .education-photo img {
    min-height: 0;
  }

  .education-photo {
    min-height: 0;
  }

  .education-photo div {
    padding: 20px;
  }

  .education-photo p {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }

  .publication-photo {
    min-height: 0;
    aspect-ratio: auto;
  }

  .tools-gallery {
    gap: 10px;
  }

  .tools-gallery img {
    min-height: 0;
  }

  address {
    padding-bottom: 24px;
    overflow-wrap: anywhere;
  }
}
