:root {
  --ink: #0a0b0b;
  --soft-ink: #181a19;
  --ivory: #f2eee6;
  --paper: #f7f4ed;
  --line: rgba(12, 13, 13, 0.24);
  --line-dark: rgba(255, 255, 255, 0.18);
  --muted: #62635f;
  --blue: #277de8;
  --red: #de4b38;
  --white: #f5f4f0;
  --gutter: clamp(24px, 5vw, 78px);
  --section-gutter: clamp(54px, 8.5vw, 126px);
  --sans: "Helvetica Neue", Helvetica, Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }

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

.icon-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("/static/icons/arrow-right.svg") center / contain no-repeat;
  mask: url("/static/icons/arrow-right.svg") center / contain no-repeat;
}

button,
select,
input,
textarea { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gutter);
  color: var(--white);
}

.site-header.is-scrolled {
  position: fixed;
  min-height: 74px;
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(8, 9, 9, 0.96);
  border-bottom: 1px solid var(--line-dark);
}

.brand { flex: 0 0 auto; }

.brand img { width: clamp(270px, 24vw, 320px); height: auto; }

.site-header.is-scrolled .brand img { width: 190px; }

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.4vw, 48px);
}

.primary-nav a {
  position: relative;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); }

.language-control select {
  padding: 4px 24px 4px 4px;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.language-control option { color: var(--ink); }

.menu-button {
  display: none;
  padding: 8px 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.55);
}

.hero {
  position: relative;
  min-height: clamp(500px, 58vh, 680px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  opacity: 0.9;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 140px 34px rgba(0,0,0,.52);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(460px, 37vw);
  padding-top: clamp(215px, 25vh, 270px);
  margin-left: clamp(120px, 12vw, 200px);
}

.hero-copy h1 {
  max-width: 480px;
  margin: 0 0 28px;
  font-size: clamp(42px, 3.6vw, 60px);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.eyebrow {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-blue { color: var(--blue); }
.eyebrow-red { color: var(--red); }

.outline-button {
  display: inline-flex;
  min-width: 196px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 19px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.outline-button:hover,
.outline-button:focus-visible { color: var(--ink); background: var(--white); }

.lab-index {
  position: absolute;
  z-index: 2;
  bottom: 72px;
  left: var(--gutter);
  margin: 0;
  color: rgba(255,255,255,.72);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  line-height: 1.8;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
}

.observation-meta {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 36px;
  display: grid;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-align: right;
}

.surface { background: var(--ivory); }

.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 48px var(--section-gutter) 76px;
}

.feature-pair article { min-width: 0; }

.selected-study {
  padding-right: clamp(36px, 3.5vw, 64px);
  border-right: 1px solid var(--line);
}

.selected-note { padding-left: clamp(36px, 3.5vw, 64px); }

.feature-title {
  max-width: 620px;
  margin: 0 0 20px;
  font-size: clamp(30px, 2.7vw, 45px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.feature-description {
  max-width: 600px;
  margin: 0 0 30px;
  color: #30312f;
  font-size: clamp(14px, 1.1vw, 17px);
}

.study-facts {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 7px 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.study-facts dt { color: var(--blue); }
.study-facts dd { margin: 0; }

.text-link {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  margin-top: 30px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.text-link.red { color: var(--red); }
.text-link:hover,
.text-link:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

.feature-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 16px 0 13px;
  background: #d8d3ca;
  object-fit: cover;
}

.feature-date {
  margin: -8px 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.dark-section {
  color: var(--white);
  background: var(--soft-ink);
}

.research-index {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) 1.28fr;
  gap: 7vw;
  padding: 110px var(--gutter) 120px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 74px);
  font-weight: 420;
  letter-spacing: -0.055em;
  line-height: .98;
}

.section-heading.compact h2 {
  max-width: 820px;
  font-size: clamp(40px, 4.5vw, 68px);
}

.research-list { border-top: 1px solid var(--line-dark); }

.research-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 22px;
  align-items: start;
  padding: 28px 0 31px;
  border-bottom: 1px solid var(--line-dark);
}

.research-number {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
}

.research-row h3 {
  max-width: 750px;
  margin: 0 0 10px;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 450;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.research-row p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

.research-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 4px;
  color: var(--white);
  text-decoration: none;
}

.research-row-link-label {
  color: rgba(255,255,255,.55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.research-row a:hover .research-row-link-label,
.research-row a:focus-visible .research-row-link-label { color: var(--white); }

.projects,
.notes { padding: 110px var(--gutter) 120px; }

.projects .section-heading,
.notes .section-heading { margin-bottom: 58px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px);
  min-height: 330px;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.project-card:nth-child(odd) { padding-right: 36px; border-right: 1px solid var(--line); }
.project-card:nth-child(even) { padding-left: 36px; }

.project-card h3,
.note-card h3 {
  margin: 0 0 14px;
  font-size: clamp(25px, 2.3vw, 36px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.project-card p,
.note-card p { color: #4e504c; font-size: 14px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.project-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #d8d3ca;
  object-fit: cover;
}

.notes { background: var(--paper); border-top: 1px solid var(--line); }

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

.note-card { border-top: 1px solid var(--line); padding-top: 20px; }

.note-card img,
.note-card video {
  width: 100%;
  height: 250px;
  margin-bottom: 22px;
  object-fit: cover;
}

.note-meta {
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.life {
  padding: 110px var(--gutter) 120px;
  background: #e9e5dc;
  border-top: 1px solid var(--line);
}

.life-grid {
  display: grid;
  grid-template-columns: minmax(210px, .58fr) minmax(0, 1.42fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.life-intro { padding-right: 10px; }

.life-intro h2 {
  margin: 0 0 24px;
  font-size: clamp(40px, 4.2vw, 68px);
  font-weight: 430;
  letter-spacing: -.055em;
  line-height: .98;
}

.life-intro > p:last-child {
  max-width: 300px;
  color: #555650;
  font-size: 14px;
}

.life-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 54px);
}

.life-stories.single-group {
  grid-template-columns: minmax(0, 720px);
}

.life-group { min-width: 0; }

.life-group-label,
.about-timeline-label {
  margin: 0 0 16px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.life-window-stack {
  display: grid;
  gap: 32px;
}

.life-window {
  min-width: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.life-photo-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 13 / 6;
  gap: 4px;
  margin-bottom: 17px;
  background: #d5d0c6;
}

.mosaic-expand-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  background: rgba(9, 10, 10, .5);
  opacity: .85;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.mosaic-expand-hint .icon-arrow {
  width: 13px;
  height: 13px;
  color: var(--white);
  transform: rotate(-45deg);
}

[data-detail-open]:hover .mosaic-expand-hint,
[data-detail-open]:focus-visible .mosaic-expand-hint { opacity: 1; }

.life-photo-mosaic img,
.life-photo-mosaic video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-photo-mosaic :is(img, video):first-child { grid-row: 1 / 3; }
.life-photo-mosaic.single { display: block; aspect-ratio: 4 / 3; }
.life-photo-mosaic.single :is(img, video):first-child { height: 100%; }
.life-photo-mosaic.moment { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 9; }
.life-photo-mosaic.moment :is(img, video):first-child { grid-row: auto; }
.life-photo-mosaic.moment :is(img, video):nth-child(n+2) { display: none; }

.life-window h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2vw, 33px);
  font-weight: 480;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.life-window > p:not(.life-label):not(.life-date) {
  margin: 0;
  color: #555650;
  font-size: 13px;
}

.life-window a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  color: var(--red);
  font-size: 13px;
  text-underline-offset: 4px;
}

.life-date {
  margin: -4px 0 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.life-awards {
  display: grid;
  grid-template-columns: minmax(210px, .58fr) minmax(0, 1.42fr);
  gap: clamp(36px, 6vw, 96px);
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.life-awards-heading > p:last-child {
  max-width: 270px;
  color: #555650;
  font-size: 13px;
}

.award-grid { display: grid; gap: 44px; }

.award-window {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 3vw, 48px);
  align-items: start;
}

.award-window > .life-photo-mosaic { margin-bottom: 0; }
.award-copy { min-width: 0; padding-top: 6px; }
.award-copy > p { max-width: 580px; color: #555650; font-size: 13px; }

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: clamp(56px, 8vw, 128px);
  overflow: hidden;
  padding: 120px var(--gutter) 130px;
}

.about-mark {
  position: absolute;
  right: 2vw;
  bottom: -5vw;
  color: transparent;
  font-size: clamp(180px, 31vw, 480px);
  font-weight: 700;
  letter-spacing: -.13em;
  line-height: .72;
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
}

.about-copy { position: relative; z-index: 1; max-width: 720px; }

.about-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 420;
  letter-spacing: -.06em;
  line-height: 1;
}

.about-title { margin: 0 0 36px; color: var(--blue); font-family: var(--mono); }
.about-bio { color: rgba(255,255,255,.72); font-size: clamp(18px, 1.7vw, 25px); line-height: 1.45; }

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
  color: rgba(255,255,255,.7);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.skill-list li::before { color: var(--blue); content: "+ "; }

.contact-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; }
.contact-links a { color: var(--white); text-underline-offset: 5px; }

.about-timeline {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line-dark);
}

.about-timeline-label { color: var(--blue); }

.about-timeline ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline li {
  position: relative;
  min-width: 0;
  padding: 0 0 34px 28px;
  border-left: 1px solid rgba(39,125,232,.58);
}

.about-timeline li::before {
  position: absolute;
  top: 4px;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--blue);
  content: "";
}

.about-timeline li:last-child { padding-bottom: 0; }

.about-timeline time {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
}

.about-timeline h3 {
  margin: 0 0 5px;
  overflow-wrap: anywhere;
  font-size: clamp(19px, 1.7vw, 27px);
  font-weight: 520;
  line-height: 1.15;
}

.about-timeline p {
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

.about-timeline .timeline-org { margin-bottom: 8px; color: rgba(255,255,255,.86); font-weight: 600; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  padding: 32px var(--gutter);
  background: var(--ivory);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.site-footer img { width: 182px; }

.footer-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-actions a { color: var(--red); text-underline-offset: 4px; }
.footer-actions p { margin: 0; }

.mobile-publish-entry { display: none; }

.toast {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  max-width: 360px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--soft-ink);
  border: 1px solid var(--line-dark);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.visible { opacity: 1; transform: translateY(0); }

[data-detail-open] { cursor: pointer; }

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}

.detail-modal[hidden] { display: none; }

.detail-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 10, 0.82);
}

.detail-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 100%;
  overflow-y: auto;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line-dark);
}

.detail-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-dark);
  background: var(--soft-ink);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.detail-modal-media {
  position: relative;
  background: var(--soft-ink);
}

.detail-modal-media img,
.detail-modal-media video {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: var(--soft-ink);
}

.detail-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(9, 10, 10, 0.55);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.detail-modal-nav.prev { left: 10px; }
.detail-modal-nav.next { right: 10px; }
.detail-modal-media.single .detail-modal-nav,
.detail-modal-media.single .detail-modal-dots { display: none; }

.detail-modal-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.detail-modal-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}

.detail-modal-dots span.active { background: var(--white); }

.detail-modal-body { padding: clamp(20px, 4vw, 34px); }

.detail-modal-meta {
  margin: 0 0 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.detail-modal-body h3 { margin: 0 0 14px; font-size: clamp(22px, 3vw, 30px); }
.detail-modal-description { white-space: normal; }
.detail-modal-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 14px; }
.detail-modal-links .text-link { margin-top: 0; display: inline-flex; }

body.detail-modal-open { overflow: hidden; }

@media (max-width: 980px) {
  .site-header { min-height: 84px; }
  .menu-button { display: block; }
  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 92px var(--gutter) 36px;
    color: var(--white);
    background: var(--soft-ink);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }
  .primary-nav.open { z-index: 10; opacity: 1; pointer-events: auto; }
  .primary-nav a { font-size: clamp(30px, 7vw, 54px); }
  .hero { min-height: 650px; }
  .hero-image { object-position: 64% center; opacity: .72; }
  .hero-copy { width: calc(100% - 2 * var(--gutter)); margin-left: var(--gutter); padding-top: 250px; }
  .feature-pair { grid-template-columns: 1fr; }
  .selected-study { padding-right: 0; padding-bottom: 60px; border-right: 0; border-bottom: 1px solid var(--line); }
  .selected-note { padding-top: 60px; padding-left: 0; }
  .research-index { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: minmax(0, 1fr) minmax(220px, .62fr); }
  .project-card:nth-child(odd), .project-card:nth-child(even) { padding-right: 0; padding-left: 0; border-right: 0; }
  .note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .life-grid,
  .life-awards { grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr); }
  .life-stories { grid-template-columns: 1fr; }
  .life-stories.single-group { max-width: 680px; }
  .award-window { grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr); }
  .about { grid-template-columns: 1fr; }
  .about-mark { top: 40px; right: 4vw; bottom: auto; opacity: .45; }
  .about-timeline { max-width: 720px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 92px; }
  .brand img { width: 194px; }
  .hero { min-height: 670px; }
  .hero-image { object-position: 68% center; opacity: .58; }
  .hero-copy { padding-top: 235px; }
  .hero-copy h1 { font-size: 47px; }
  .lab-index { display: none; }
  .observation-meta { bottom: 22px; }
  .feature-pair,
  .research-index,
  .projects,
  .notes,
  .life,
  .about { padding-top: 76px; padding-bottom: 82px; }
  .feature-title { font-size: 34px; }
  .research-row { grid-template-columns: 38px 1fr; gap: 14px; }
  .research-row a { grid-column: 2; }
  .project-card { grid-template-columns: 1fr; }
  .project-image { width: min(100%, 420px); height: auto; grid-row: 1; justify-self: start; }
  .note-grid { grid-template-columns: 1fr; }
  .life-grid,
  .life-awards { grid-template-columns: 1fr; gap: 34px; }
  .life-stories { grid-template-columns: 1fr; gap: 44px; }
  .life-intro { padding-bottom: 18px; }
  .life-intro h2 br { display: none; }
  .life-awards { margin-top: 68px; }
  .award-window { grid-template-columns: 1fr; gap: 20px; }
  .life-photo-mosaic { grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .about { gap: 72px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-actions { justify-content: space-between; }
  .mobile-publish-entry {
    position: fixed;
    z-index: 18;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 12px 15px;
    color: var(--white);
    background: var(--soft-ink);
    border: 1px solid rgba(255,255,255,.32);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
  }
}

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