:root {
  --ink: #182025;
  --muted: #5d676d;
  --line: #d9e0df;
  --paper: #f7f6f1;
  --white: #ffffff;
  --forest: #1f4d43;
  --teal: #2a7f77;
  --rust: #b86137;
  --gold: #d9a441;
  --shadow: 0 24px 70px rgba(20, 31, 36, 0.18);
}

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

body.home-page {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(15, 24, 28, 0.78), rgba(15, 24, 28, 0));
}

.site-header.solid {
  position: sticky;
  color: var(--white);
  background: rgba(17, 25, 28, 0.96);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  align-items: center;
  font-size: 0.92rem;
  font-weight: 650;
}

nav a {
  text-decoration: none;
  opacity: 0.9;
  white-space: nowrap;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 120px clamp(20px, 6vw, 76px) 74px;
}

.horizontal-deck {
  display: flex;
  width: 100vw;
  height: 100svh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.horizontal-deck::-webkit-scrollbar {
  display: none;
}

.horizontal-deck > section {
  position: relative;
  flex: 0 0 100vw;
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.page-arrow {
  position: absolute;
  z-index: 12;
  top: 50%;
  display: inline-grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(17, 25, 28, 0.82);
  box-shadow: 0 18px 48px rgba(17, 25, 28, 0.28);
  font-size: 2.45rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.page-arrow.prev {
  left: clamp(12px, 1.6vw, 20px);
}

.page-arrow.next {
  right: clamp(12px, 1.6vw, 20px);
}

.page-arrow:hover {
  background: var(--forest);
  transform: translateY(-50%) scale(1.04);
}

.horizontal-deck .section,
.horizontal-deck .intro-band {
  display: grid;
  align-items: center;
  padding-top: clamp(72px, 7vw, 92px);
  padding-bottom: clamp(42px, 5vw, 64px);
}

.horizontal-deck .section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.horizontal-deck .featured-section .section-heading {
  margin-bottom: 16px;
}

.horizontal-deck .featured-section .section-heading h2 {
  margin-bottom: 0;
}

.horizontal-deck .hero {
  min-height: 100svh;
  height: 100svh;
}

.horizontal-deck #role {
  padding-top: clamp(56px, 5vw, 70px);
  padding-bottom: clamp(24px, 3vw, 42px);
}

.horizontal-deck #featured {
  align-items: start;
  padding-top: clamp(46px, 4vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.horizontal-deck #featured .page-arrow {
  width: 56px;
  height: 56px;
  font-size: 2.2rem;
}

.horizontal-deck #featured .page-arrow.prev {
  left: 10px;
}

.horizontal-deck #featured .page-arrow.next {
  right: 10px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 21, 20, 0.86), rgba(8, 21, 20, 0.52) 46%, rgba(8, 21, 20, 0.18)),
    linear-gradient(0deg, rgba(8, 21, 20, 0.74), rgba(8, 21, 20, 0.05) 48%);
}

.hero-content {
  position: relative;
  width: min(780px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

main,
section,
.container,
.hero-content,
.intro-copy,
.profile-card,
.featured-copy,
.publication-detail-list li {
  min-width: 0;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 12vw, 9rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

h3 {
  margin: 0 0 10px;
  line-height: 1.2;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 690px;
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
}

.hero-email {
  margin: -10px 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  font-weight: 800;
}

.hero-email a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 17px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #1f2016;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.button.dark {
  color: var(--white);
  background: var(--forest);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(70px, 10vw, 126px) 0;
}

.intro-band {
  background: var(--white);
  padding: clamp(54px, 8vw, 92px) 0;
}

.intro-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.horizontal-deck .intro-grid {
  width: min(1320px, calc(100% - 96px));
  grid-template-columns: minmax(340px, 0.88fr) minmax(520px, 1.12fr);
  grid-template-areas:
    "copy copy"
    "photo card";
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px) clamp(40px, 5vw, 72px);
}

.horizontal-deck .intro-copy {
  grid-area: copy;
  justify-self: center;
  max-width: 980px;
  text-align: center;
}

.horizontal-deck .intro-copy h2 {
  font-size: clamp(3.35rem, 4.6vw, 5.2rem);
  margin-bottom: 8px;
}

.horizontal-deck .intro-copy p:not(.section-kicker) {
  display: none;
}

.role-photo {
  display: none;
}

.horizontal-deck .role-photo {
  display: block;
  grid-area: photo;
  justify-self: end;
  width: min(470px, 100%);
  height: min(500px, calc(100svh - 252px));
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.horizontal-deck .profile-card {
  grid-area: card;
  justify-self: start;
  grid-template-columns: 1fr;
  width: min(760px, 100%);
  padding: clamp(18px, 1.7vw, 22px);
}

.horizontal-deck .profile-card > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.13vw, 1.16rem);
  line-height: 1.48;
}

.horizontal-deck .intro-grid::after {
  content: none;
}

.intro-grid > div > p,
.about-grid > div > p,
.contact-grid > div > p,
.muted {
  color: var(--muted);
  font-size: 1.05rem;
}

.profile-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfaf6;
  box-shadow: var(--shadow);
}

.profile-card img {
  width: 148px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

dl {
  margin: 0;
}

dl div + div {
  margin-top: 14px;
}

.horizontal-deck dl div + div {
  margin-top: 13px;
}

dt {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.role-focus {
  margin-top: 13px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

.role-focus-title {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role-focus ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-focus li {
  display: grid;
  gap: 2px;
}

.role-focus strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.role-focus span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

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

.featured-section {
  background: #f1efe7;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.horizontal-deck .featured-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  height: auto;
  gap: 14px;
}

.horizontal-deck .featured-section .container {
  width: min(1220px, calc(100% - 132px));
}

.featured-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.featured-heading .button {
  flex: 0 0 auto;
}

.featured-grid article {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(31, 77, 67, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 44px rgba(20, 31, 36, 0.08);
}

.horizontal-deck .featured-grid article {
  grid-template-columns: 1fr;
  align-content: start;
  grid-column: span 2;
  min-height: 0;
  overflow: visible;
  padding: 13px;
}

.horizontal-deck .featured-grid article:nth-child(-n + 2) {
  grid-column: span 3;
}

.featured-grid article > img,
.featured-card-media {
  width: 100%;
  max-width: none;
  height: 128px;
  object-fit: contain;
  margin: 0;
  border-radius: 6px;
  background: #f7f6f1;
}

.horizontal-deck .featured-grid article > img,
.horizontal-deck .featured-card-media {
  width: 100%;
  height: clamp(112px, 16svh, 148px);
  margin: 0;
  object-fit: contain;
  background: #f7f6f1;
}

.featured-grid .year {
  margin: 0 0 6px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-grid h3 {
  margin-bottom: 6px;
  font-size: clamp(1.06rem, 1.24vw, 1.24rem);
  line-height: 1.18;
}

.horizontal-deck .featured-grid h3 {
  font-size: clamp(1rem, 1.08vw, 1.14rem);
  line-height: 1.18;
  margin-bottom: 6px;
}

.featured-grid p {
  margin: 0 0 8px;
  color: var(--muted);
}

.horizontal-deck .featured-grid p {
  margin-bottom: 6px;
  font-size: 0.84rem;
  line-height: 1.35;
}

.horizontal-deck .featured-grid .year {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.horizontal-deck .featured-grid .doi,
.horizontal-deck .featured-grid a {
  font-size: 0.8rem;
}

.horizontal-deck .featured-grid .doi {
  margin-top: 0;
  margin-bottom: 4px;
  line-height: 1.2;
}

.horizontal-deck .featured-grid .doi a {
  font-size: 0.82rem;
  line-height: 1.2;
}

.featured-copy {
  min-width: 0;
}

.featured-note {
  margin-top: 8px;
  max-width: 760px;
}

.featured-grid .doi a {
  color: var(--forest);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.featured-grid a {
  color: var(--forest);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section-action {
  margin-top: 24px;
}

.research-grid article {
  min-height: 252px;
  border-top: 4px solid var(--teal);
  padding: 26px 24px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(20, 31, 36, 0.08);
}

.research-grid span {
  display: block;
  margin-bottom: 48px;
  color: var(--rust);
  font-weight: 800;
}

.research-grid p,
.publication-list p {
  margin: 0;
  color: var(--muted);
}

.publication-band {
  background: #e8efec;
}

.publications-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 32px;
  align-items: center;
}

.cv-section {
  background: var(--white);
}

.cv-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.cv-columns .honors {
  grid-row: span 2;
}

.cv-columns > section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fbfaf6;
}

.cv-columns h3 {
  margin-bottom: 18px;
  color: var(--forest);
  font-size: 1.12rem;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  border-left: 3px solid var(--teal);
  padding-left: 16px;
}

.date,
.honor-list span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline h4 {
  margin: 2px 0 4px;
  font-size: 1rem;
}

.timeline p,
.honor-list p {
  margin: 0;
  color: var(--muted);
}

.honor-list {
  display: grid;
  gap: 12px;
}

.honor-list p {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
}

.publications-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

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

.publication-list article {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-left: 4px solid var(--forest);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.68);
}

.publication-list article:not(:has(img)) {
  grid-template-columns: 1fr;
}

.publication-list img {
  width: 174px;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 6px;
  background: var(--ink);
}

.publication-list .year {
  margin-bottom: 7px;
  color: var(--rust);
  font-size: 0.82rem;
  font-weight: 850;
}

.publication-list a {
  display: inline-block;
  margin-top: 10px;
  color: var(--forest);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.publication-full-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: publications;
}

.publication-full-list li {
  counter-increment: publications;
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-left: 4px solid var(--forest);
  padding: 13px 16px 13px 18px;
  background: rgba(255, 255, 255, 0.72);
}

.publication-full-list li::before {
  content: counter(publications, decimal-leading-zero);
  position: absolute;
  right: 14px;
  bottom: 8px;
  color: rgba(31, 77, 67, 0.16);
  font-weight: 850;
}

.publication-full-list span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 850;
}

.publication-page {
  background: #e8efec;
  overflow-x: hidden;
}

.publication-hero {
  padding: 92px 0 64px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 28, 27, 0.92), rgba(12, 28, 27, 0.74)),
    url("assets/paper-3d-magnetic-field.jpg") center / cover;
}

.publication-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
}

.publication-hero p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.publication-page-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.publication-panel {
  background: #e8efec;
}

.horizontal-deck .publication-panel {
  align-items: start;
  padding-top: 82px;
}

.publication-embedded-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.publication-embedded-heading {
  position: sticky;
  top: 20px;
}

.publication-embedded-heading h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.horizontal-deck .publication-detail-list {
  gap: 10px;
}

.horizontal-deck .publication-detail-list li {
  padding: 15px 52px 15px 18px;
}

.horizontal-deck .publication-detail-list h3 {
  font-size: 1rem;
}

.horizontal-deck .publication-detail-list .authors {
  font-size: 0.88rem;
}

.publication-note {
  position: sticky;
  top: 92px;
}

.publication-note h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.7rem);
}

.publication-detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: publication-details;
}

.publication-detail-list li {
  counter-increment: publication-details;
  position: relative;
  border-left: 4px solid var(--forest);
  border-radius: 0 8px 8px 0;
  padding: 18px 58px 18px 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(20, 31, 36, 0.06);
}

.publication-detail-list li::after {
  content: counter(publication-details, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(31, 77, 67, 0.18);
  font-size: 1.2rem;
  font-weight: 850;
}

.publication-detail-list h3 {
  margin-bottom: 7px;
  font-size: 1.08rem;
}

.pub-meta {
  margin: 0 0 8px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-detail-list .authors {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.publication-detail-list a {
  color: var(--forest);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.image-credit {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

figure.wide {
  grid-column: 1 / -1;
}

figure img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  aspect-ratio: 1.35;
  object-fit: cover;
}

figure.wide img {
  aspect-ratio: 2.08;
}

figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(15, 24, 28, 0.72);
  font-size: 0.82rem;
  font-weight: 750;
}

.contact-band {
  color: var(--white);
  background: var(--forest);
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-band .section-kicker {
  color: var(--gold);
}

.contact-band .contact-grid > div > p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.7);
  background: #11191c;
  font-size: 0.88rem;
}

body.home-page footer {
  display: none;
}

footer p {
  margin: 0;
}

@media (max-width: 700px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px 0;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 86svh;
    padding-top: 112px;
  }

  .horizontal-deck .hero {
    align-items: end;
    padding: 118px 23px 46px;
  }

  .horizontal-deck .hero-content {
    width: calc(100vw - 46px);
    max-width: calc(100vw - 46px);
  }

  .horizontal-deck > section {
    height: 100svh;
  }

  .page-arrow,
  .horizontal-deck #featured .page-arrow {
    top: auto;
    right: 18px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    font-size: 1.9rem;
    transform: none;
  }

  .page-arrow.prev,
  .horizontal-deck #featured .page-arrow.prev {
    left: 18px;
    right: auto;
  }

  .page-arrow:hover {
    transform: none;
  }

  .hero .page-arrow.next {
    top: 54%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .intro-grid,
  .about-grid,
  .cv-layout,
  .publications-layout,
  .contact-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-deck .intro-grid {
    width: min(100%, calc(100% - 46px));
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "photo"
      "card";
    gap: 14px;
  }

  .horizontal-deck .intro-copy {
    text-align: left;
  }

  .horizontal-deck .intro-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .horizontal-deck .role-photo {
    justify-self: stretch;
    width: 100%;
    height: min(230px, 28svh);
  }

  .horizontal-deck .profile-card {
    width: 100%;
    padding: 15px;
  }

  .horizontal-deck .profile-card > p {
    display: none;
  }

  .role-focus ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .role-focus span {
    display: none;
  }

  .featured-heading {
    display: grid;
    align-items: start;
    gap: 12px;
  }

  .horizontal-deck #featured {
    padding-top: 74px;
    padding-bottom: 84px;
  }

  .horizontal-deck .featured-section .container {
    width: min(100%, calc(100% - 46px));
  }

  .horizontal-deck .featured-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .horizontal-deck .featured-grid article,
  .horizontal-deck .featured-grid article:nth-child(-n + 2) {
    grid-column: auto;
  }

  .featured-grid article {
    grid-template-columns: 1fr;
  }

  .featured-grid article > img,
  .featured-card-media,
  .horizontal-deck .featured-grid article > img,
  .horizontal-deck .featured-card-media {
    height: min(190px, 24svh);
  }

  .horizontal-deck .featured-grid .featured-note {
    display: none;
  }

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

  .publication-list article {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .publication-list img {
    width: 140px;
  }

  .profile-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .profile-card img {
    width: 112px;
  }

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

  .research-grid span {
    margin-bottom: 24px;
  }

  .contact-grid {
    align-items: start;
  }

  .publications-preview,
  .publication-page-layout {
    grid-template-columns: 1fr;
  }

  .publication-note {
    position: static;
  }

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

  .cv-columns .honors {
    grid-row: auto;
  }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .horizontal-deck #role {
    padding-top: 64px;
    padding-bottom: 28px;
  }

  .horizontal-deck .intro-grid {
    width: min(100%, calc(100% - 40px));
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
    gap: 14px 34px;
  }

  .horizontal-deck .intro-copy h2 {
    font-size: clamp(3rem, 6.6vw, 4rem);
  }

  .horizontal-deck .role-photo {
    width: min(320px, 100%);
    height: min(430px, calc(100svh - 260px));
  }

  .horizontal-deck .profile-card {
    padding: 13px 16px;
  }

  .horizontal-deck .profile-card > p {
    margin-bottom: 10px;
    font-size: 0.93rem;
    line-height: 1.38;
  }

  .horizontal-deck dl div + div {
    margin-top: 9px;
  }

  .horizontal-deck dd {
    font-size: 0.96rem;
  }

  .role-focus {
    margin-top: 10px;
    padding-top: 8px;
  }

  .role-focus ul {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .role-focus strong {
    font-size: 0.86rem;
  }

  .role-focus span {
    font-size: 0.78rem;
    line-height: 1.3;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: grid;
  }

  nav {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .hero {
    min-height: 92svh;
    padding-bottom: 52px;
  }

  .hero-copy {
    width: min(30ch, 100%);
    max-width: min(30ch, calc(100vw - 46px));
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-email {
    margin-bottom: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(260px, 100%);
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 48px;
    padding-inline: 10px;
    font-size: 0.92rem;
    text-align: center;
    white-space: normal;
  }

  h1 {
    font-size: clamp(3.45rem, 18vw, 5.6rem);
  }

  .publication-hero h1 {
    max-width: 310px;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }

  .publication-page .container {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .publication-detail-list {
    width: 100%;
    max-width: 100%;
  }

  .publication-detail-list li {
    width: min(330px, 100%);
    max-width: min(330px, 100%);
  }

  .publication-hero .hero-actions {
    grid-template-columns: 1fr;
    width: min(260px, 100%);
  }

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

  .profile-card img {
    width: 100%;
    aspect-ratio: 1.25;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
  }

  .image-credit {
    grid-column: auto;
  }

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

  .publication-list article,
  .publication-list article:not(:has(img)) {
    grid-template-columns: 1fr;
  }

  .publication-list img {
    width: 100%;
  }

  .publication-embedded-layout {
    grid-template-columns: 1fr;
  }

  .publication-embedded-heading {
    position: static;
  }

  .publication-full-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    padding-right: 42px;
  }

  .honor-list p {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .publication-detail-list li {
    min-width: 0;
    padding: 16px;
  }

  .publication-detail-list li::after {
    display: none;
  }

  .pub-meta {
    font-size: 0.68rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .publication-detail-list h3 {
    width: 100%;
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.24;
    overflow-wrap: anywhere;
  }

  .publication-detail-list .authors {
    width: 100%;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.42;
    overflow-wrap: anywhere;
  }

  .publication-detail-list a {
    display: block;
    max-width: 100%;
    font-size: 0.9rem;
  }

  figure.wide {
    grid-column: auto;
  }

  figure.wide img,
  figure img {
    aspect-ratio: 1.1;
  }

  footer {
    display: block;
  }

  footer p + p {
    margin-top: 6px;
  }
}
