:root {
  color-scheme: light;
  --ink: #14201d;
  --muted: #63716c;
  --paper: #f7f4ed;
  --surface: #fffdfa;
  --line: #d9d2c4;
  --moss: #285f56;
  --moss-dark: #143c38;
  --copper: #b85f3d;
  --amber: #e3b354;
  --blue: #2d6c86;
  --shadow: 0 18px 54px rgba(20, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  border: 0;
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 237, 0.88);
  border-bottom: 1px solid rgba(217, 210, 196, 0.8);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0;
}

nav {
  gap: clamp(14px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: var(--copper);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 1.06fr);
  gap: clamp(28px, 5vw, 80px);
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 94px) clamp(18px, 4vw, 56px) 48px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.visual-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
  padding-top: clamp(13px, 2.2vw, 24px);
  padding-bottom: clamp(18px, 2.8vw, 30px);
}

.visual-hero .hero-gallery {
  width: min(532px, 100%);
  margin: 0 auto;
}

.home-hero {
  background:
    linear-gradient(110deg, rgba(255, 253, 250, 0.84), rgba(247, 244, 237, 0.54)),
    var(--paper);
}

.home-hero .hero-gallery {
  min-height: min(620px, 72vh);
}

.home-hero .hero-card img {
  padding: 10px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--copper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-deck {
  max-width: 660px;
  color: #344541;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}

.button.primary {
  color: var(--surface);
  background: var(--moss);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.6);
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.74fr;
  grid-template-rows: minmax(91px, 0.9fr) minmax(112px, 1.1fr);
  gap: 8px;
  min-height: min(273px, 34vh);
}

.hero-card,
.work-card {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card.large {
  grid-row: span 2;
}

.hero-card.offset {
  transform: translateY(28px);
}

.hero-card img {
  padding: 7px;
  background: #ede8de;
  object-fit: contain;
}

.intro-band {
  padding: 34px clamp(18px, 4vw, 56px);
  background: var(--moss-dark);
  color: var(--surface);
}

.intro-band p {
  max-width: 1180px;
  margin: 0 auto;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(18px, 4vw, 56px);
}

.page-hero {
  padding: clamp(76px, 10vw, 142px) clamp(18px, 4vw, 56px) clamp(42px, 6vw, 76px);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #344541;
  font-size: clamp(19px, 2vw, 24px);
}

.research-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: linear-gradient(180deg, rgba(232, 238, 231, 0.95), rgba(247, 244, 237, 0));
}

.motif-pair {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  align-items: center;
  width: min(170px, 22vw);
  padding-top: 4px;
}

.hero-motif {
  display: grid;
  width: 122px;
  height: 122px;
  margin: 0;
  place-items: center;
}

.hero-motif svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-motif.research-sketch svg {
  width: 124%;
  height: 124%;
}

.hero-motif.reticello-sketch svg {
  width: 112%;
  height: 112%;
  transform: translateY(9px);
}

.glass-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: linear-gradient(180deg, rgba(237, 232, 222, 0.95), rgba(247, 244, 237, 0));
}

.reticello-sketch {
  width: min(20vw, 170px);
  margin: 0;
  justify-self: end;
  padding-top: 4px;
}

.glass-hero .reticello-sketch svg {
  width: 124%;
  transform: translateX(8px) translateY(14px);
}

.reticello-sketch svg {
  display: block;
  width: 100%;
  height: auto;
}

.reticello-halo {
  fill: rgba(255, 253, 250, 0.28);
  stroke: rgba(20, 32, 29, 0.12);
  stroke-width: 1;
}

.reticello-spiral use {
  fill: none;
  stroke: #101b18;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 0.82;
}

.reticello-spiral-b use {
  stroke: #101b18;
  stroke-width: 0.82;
}

.reticello-center {
  fill: rgba(247, 244, 237, 0.95);
  stroke: #101b18;
  stroke-width: 1;
}

.reticello-core {
  fill: #101b18;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, 142px);
  max-width: 980px;
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(247, 244, 237, 0));
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(10px, 2vw, 22px);
}

.about-hero-copy {
  max-width: 880px;
}

.about-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(38px, 5.2vw, 60px);
}

.about-hero p:not(.eyebrow) {
  max-width: 780px;
  margin-bottom: 0;
}

.about-hero .resume-link {
  margin-top: 16px;
}

.home-paths {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 6vw, 86px);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.path-card {
  display: block;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease;
}

.path-card:hover {
  border-color: var(--moss);
  transform: translateY(-2px);
}

.path-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--copper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.path-card h3 {
  font-size: clamp(24px, 3vw, 36px);
}

.path-card p {
  color: var(--muted);
}

.education-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 6vw, 86px);
  background: #e8eee7;
}

.about-body,
.education-section.simple {
  max-width: 980px;
  margin: 0 auto;
}

.about-motif-separator {
  display: grid;
  width: clamp(118px, 12vw, 142px);
  max-width: 100%;
  align-items: center;
  justify-items: center;
  gap: 12px;
  margin: 0;
  padding-top: 8px;
}

.about-motif-separator .hero-motif {
  display: grid;
  position: relative;
  width: 112px;
  height: 112px;
  justify-self: center;
  margin: 0;
  padding: 0;
  place-items: center;
}

.motif-divider {
  width: 58px;
  height: 1px;
  background: rgba(20, 32, 29, 0.34);
}

.about-motif-separator .hero-motif svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.about-motif-separator .hero-motif.research-sketch svg {
  width: 116%;
  height: 116%;
  transform: translate(-50%, -50%);
}

.about-motif-separator .hero-motif.reticello-sketch svg {
  width: 106%;
  height: 106%;
  transform: translate(-50%, -50%);
}

.about-body h2,
.education-section.simple h2 {
  margin-bottom: 16px;
}

.about-body p:not(.eyebrow) {
  color: #344541;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.5;
}

.about-body p:not(.eyebrow) + p {
  margin-top: 12px;
}

.resume-link {
  display: inline-block;
  margin-top: 8px;
  border-bottom: 1px solid currentColor;
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.education-section.simple {
  display: block;
  background: transparent;
  padding-top: clamp(8px, 2vw, 18px);
  padding-bottom: clamp(58px, 7vw, 92px);
}

.about-body {
  padding-top: clamp(16px, 3vw, 32px);
  padding-bottom: clamp(10px, 2.5vw, 20px);
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(20, 32, 29, 0.16);
}

.timeline article {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 32, 29, 0.16);
}

.timeline span {
  color: var(--copper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.timeline p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.timeline strong {
  color: var(--ink);
}

.timeline p + p {
  margin-top: 4px;
}

.timeline a {
  color: var(--moss);
  font-weight: 800;
}

.inline-label {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
}

.split,
.statement,
.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 86px);
}

.section-copy > p,
.statement > p,
.section-heading > p {
  color: #344541;
  font-size: clamp(18px, 2vw, 22px);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.capability-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.capability-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.research-sketch {
  width: 166px;
  margin: 22px 0 26px;
}

.research-sketch svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.triplet-body {
  fill: none;
  stroke: #101b18;
  stroke-width: 1.15;
}

.triplet-core {
  fill: #101b18;
  stroke: none;
}

.cartwheel-spokes path {
  fill: none;
  stroke: #101b18;
  stroke-linecap: round;
  stroke-width: 1.15;
}

.centriole-hub {
  fill: #101b18;
  stroke: none;
}

.research-sketch figcaption {
  margin-top: 8px;
  fill: #5c6a66;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.publications-block {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.publications-page {
  padding-top: 40px;
}

.publications-page .publications-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.publications-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.publications-heading h3 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
}

.publications-heading a,
.publication-link {
  color: var(--moss);
  font-weight: 800;
}

.publication-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

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

.publication-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(217, 210, 196, 0.72);
}

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

.publication-card h4 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.22;
}

.publication-card p {
  margin-bottom: 5px;
  color: var(--muted);
}

.publication-card .publication-note {
  margin-bottom: 7px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.45;
}

.publication-feature {
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.45;
}

.publication-feature a {
  color: var(--moss);
  font-weight: 800;
}

.publication-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.statement {
  background: #e8eee7;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 520px;
  margin-bottom: 0;
}

.glass-page {
  padding-top: 24px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.portfolio-section {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.portfolio-section-copy {
  display: block;
  padding-top: 4px;
  text-align: center;
}

.portfolio-section-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.05;
}

.portfolio-section-copy p {
  max-width: 100%;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.portfolio-works {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  justify-self: stretch;
}

.work-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.work-card.featured {
  grid-column: span 1;
}

.work-card img {
  width: 100%;
  height: clamp(250px, 26vw, 380px);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.work-card.featured img {
  height: clamp(250px, 26vw, 380px);
}

.magnetic-fields .portfolio-works {
  grid-template-columns: minmax(0, 1fr);
}

.work-card span {
  justify-self: center;
  max-width: min(420px, 100%);
  color: var(--ink);
  text-align: center;
}

.work-card strong,
.work-card small {
  display: block;
}

.work-card strong {
  font-size: 15px;
  line-height: 1.15;
}

.is-italic {
  font-style: italic;
}

.work-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.work-card:hover img {
  opacity: 0.88;
  transform: translateY(-2px);
}

.benefit-work {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: #e8eee7;
}

.benefit-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 32, 29, 0.16);
}

.benefit-entry h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.4vw, 32px);
}

.benefit-entry p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.benefit-entry a {
  color: var(--moss);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 6vw, 86px);
  background: var(--moss-dark);
  color: var(--surface);
}

.contact .eyebrow {
  color: var(--amber);
}

.contact-intro p:not(.eyebrow) {
  max-width: 420px;
  margin-top: 14px;
  color: rgba(255, 253, 250, 0.78);
}

.contact-paths {
  display: grid;
  gap: 16px;
  max-width: 500px;
  margin-top: 18px;
}

.contact-paths article {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 253, 250, 0.16);
}

.contact-paths h3 {
  margin: 0;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-paths p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 253, 250, 0.78);
  font-size: 16px;
  line-height: 1.55;
}

.contact-content {
  display: grid;
  max-width: 620px;
  gap: 14px;
}

.contact-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-top: 24px;
}

.contact-profiles a {
  border-bottom: 1px solid rgba(255, 253, 250, 0.3);
  color: rgba(255, 253, 250, 0.74);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-profiles a:hover {
  border-color: var(--amber);
  color: var(--surface);
}

.contact-fallback {
  margin: 0;
  color: rgba(255, 253, 250, 0.66);
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.3;
}

.contact-fallback span {
  color: var(--surface);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0;
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.lightbox {
  width: min(1120px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.lightbox::backdrop {
  background: rgba(20, 32, 29, 0.72);
  backdrop-filter: blur(8px);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.lightbox-main {
  width: 100%;
  max-height: min(860px, calc(100vh - 28px));
  object-fit: contain;
  background: #111a18;
}

.lightbox > div {
  padding: 28px;
}

.lightbox h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.lightbox p {
  color: var(--muted);
}

.lightbox-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  padding: 0;
}

.lightbox-thumbnails[hidden] {
  display: none;
}

.lightbox-thumbnails button {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #ebe5db;
  cursor: pointer;
}

.lightbox-thumbnails button.is-active {
  border-color: var(--ink);
}

.lightbox-thumbnails img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: cover;
  object-position: center;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 920px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .hero,
  .split,
  .statement,
  .benefit-work,
  .contact,
  .home-paths,
  .education-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-gallery {
    min-height: 252px;
  }

  .glass-hero > .reticello-sketch {
    justify-self: end;
    width: 150px;
  }

  .motif-pair {
    justify-self: end;
    justify-content: flex-end;
    width: min(150px, 24vw);
  }

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

  .portfolio-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: clamp(34px, 7vw, 54px);
  }

  .portfolio-works {
    grid-template-columns: 1fr;
  }

  .portfolio-section-copy p {
    max-width: 640px;
  }

  .work-card img,
  .work-card.featured img {
    height: clamp(280px, 62vw, 440px);
  }

  .lightbox[open] {
    grid-template-columns: 1fr;
  }

  .lightbox-main {
    max-height: 68vh;
  }
}

@media (max-width: 620px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    gap: 9px;
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .research-hero,
  .glass-hero,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    padding: 38px 16px 40px;
  }

  .section {
    padding: 54px 16px;
  }

  .page-hero {
    padding: 48px 16px 34px;
  }

  .page-hero h1,
  .about-hero h1 {
    margin-bottom: 12px;
    font-size: 38px;
    line-height: 1.03;
  }

  .page-hero p:not(.eyebrow),
  .section-copy > p,
  .statement > p,
  .section-heading > p,
  .about-body p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.55;
  }

  .about-hero {
    gap: 20px;
    padding-top: 40px;
  }

  .about-motif-separator {
    grid-template-columns: auto auto auto;
    order: -1;
    width: min(100%, 270px);
    gap: 12px;
    padding-top: 0;
    justify-self: start;
  }

  .about-motif-separator .hero-motif {
    width: 90px;
    height: 90px;
  }

  .motif-divider {
    width: 1px;
    height: 56px;
  }

  .motif-pair,
  .glass-hero > .reticello-sketch {
    order: -1;
    width: 150px;
    max-width: 48vw;
    margin-bottom: 12px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 13px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  h1 {
    font-size: 44px;
    line-height: 0.98;
  }

  h2 {
    font-size: 32px;
    line-height: 1.05;
  }

  .hero-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(132px, 38vw);
    min-height: 0;
    gap: 6px;
  }

  .home-hero .hero-gallery {
    min-height: 0;
  }

  .hero-card.large {
    grid-row: auto;
  }

  .hero-card.offset {
    transform: none;
  }

  .hero-card img,
  .home-hero .hero-card img {
    padding: 5px;
  }

  .hero-deck {
    font-size: 18px;
  }

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

  .button {
    min-height: 44px;
    padding: 10px 16px;
  }

  .capability-grid,
  .portfolio-section-copy,
  .portfolio-works,
  .magnetic-fields .portfolio-works,
  .path-grid,
  .benefit-entry {
    grid-template-columns: 1fr;
  }

  .publications-heading,
  .publication-card,
  .timeline article {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .work-card.featured {
    grid-column: span 1;
  }

  .work-card img,
  .work-card.featured img {
    height: clamp(220px, 76vw, 360px);
  }

  .portfolio-section-copy {
    text-align: left;
  }

  .portfolio-section-copy h3 {
    font-size: 26px;
  }

  .contact {
    gap: 28px;
  }

  .contact-paths {
    gap: 14px;
    margin-top: 16px;
  }

  .contact-paths article {
    padding-top: 12px;
  }

  .contact-paths p {
    font-size: 15px;
  }

  .contact-profiles {
    margin-top: 20px;
  }

  .contact-fallback {
    font-size: 22px;
  }

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