:root {
  --black: #000000;
  --ink: #101413;
  --panel: #000000;
  --panel-soft: #000000;
  --paper: #f0eee7;
  --muted: #a8aaa2;
  --dim: #74766f;
  --white: #f7f7f2;
  --soft-white: #d9d9d2;
  --blue: #667fa3;
  --line: rgba(247, 247, 242, 0.12);
  --line-strong: rgba(240, 238, 231, 0.22);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  left: -22vw;
  top: -42vw;
  z-index: 0;
  width: 112vw;
  height: 112vw;
  border: 1px solid rgba(247, 247, 242, 0.14);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

body::after {
  position: fixed;
  right: -16vw;
  top: -18vw;
  z-index: 0;
  width: 82vw;
  height: 82vw;
  border: 1px solid rgba(247, 247, 242, 0.13);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

a:hover {
  color: var(--white);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 24px clamp(20px, 4.8vw, 58px);
  color: var(--white);
  mix-blend-mode: normal;
}

.top-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 1.8vw, 24px);
  font-size: 0.78rem;
  font-weight: 700;
}

.top-nav a,
.site-title {
  text-decoration: none;
  text-transform: uppercase;
}

.site-title {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 98px clamp(18px, 5vw, 76px) 30px;
  isolation: isolate;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.orbit {
  display: none;
}

.orbit-one {
  width: 108vw;
  height: 108vw;
  left: -18vw;
  top: -43vw;
  transform: rotate(-16deg);
}

.orbit-two {
  width: 78vw;
  height: 78vw;
  right: -16vw;
  top: -20vw;
  transform: rotate(24deg);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: clamp(18px, 7vw, 96px);
  width: min(100%, 1050px);
  margin: 0 auto;
  padding-top: 0;
}

.hero-portrait {
  width: clamp(192px, 19.5vw, 292px);
  aspect-ratio: 2 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 238, 231, 0.18);
  background: #111;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.82);
}

.hero-buttons {
  display: grid;
  gap: 14px;
}

.hero-buttons-left {
  justify-self: end;
}

.hero-buttons-right {
  justify-self: start;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-button:hover {
  color: var(--soft-white);
}

.eyebrow {
  margin: 0;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: rgba(247, 247, 242, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 10vw, 8.8rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
  text-align: center;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.9rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 8.5em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.compact-title {
  max-width: 10em;
}

h3 {
  margin: 0;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.28;
}

.page-section {
  padding: clamp(76px, 11vw, 150px) clamp(20px, 5vw, 76px);
  border-top: 0;
  background: transparent;
}

.bio-section {
  background: transparent;
}

.research-section {
  background: transparent;
}

.section-shell {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 840px);
  gap: clamp(28px, 6vw, 92px);
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-heading {
  position: sticky;
  top: 116px;
  align-self: start;
}

.section-body {
  display: grid;
  gap: 28px;
}

.bio-grid,
.paper-list {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.bio-block,
.working-paper {
  display: grid;
  gap: 10px;
}

.bio-block h3,
.working-paper h3 {
  color: var(--paper);
}

.bio-block p,
.bio-block ul,
.working-paper p {
  margin: 0;
  color: var(--muted);
}

.bio-block ul {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
}

.bio-block a,
.working-paper a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.working-paper {
  max-width: 820px;
  padding-bottom: clamp(22px, 3vw, 34px);
}

.working-paper:not(:last-child) {
  border-bottom: 1px solid rgba(247, 247, 242, 0.12);
}

.working-paper span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.photography-copy p {
  margin: 0;
  color: var(--muted);
}

.photography-section {
  position: relative;
  display: grid;
  gap: clamp(34px, 5vw, 64px);
  min-height: 100svh;
  padding: clamp(86px, 10vw, 138px) clamp(20px, 5vw, 76px);
  overflow: hidden;
  border-top: 0;
  background: transparent;
}

.photo-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(150px, 16vw, 240px);
  gap: 14px;
  width: min(100%, 1180px);
  margin: 0 auto;
  overflow: visible;
}

.photo-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: none;
}

.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.photo-tile:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-tile:nth-child(2) {
  grid-column: span 2;
}

.photo-tile:nth-child(3) {
  grid-row: span 2;
}

.photo-tile:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-tile:nth-child(5) {
  grid-column: span 1;
}

.photo-tile:nth-child(6) {
  grid-column: span 2;
}

.photo-tile:nth-child(7) {
  grid-column: span 1;
}

.photo-tile:nth-child(8) {
  grid-column: span 2;
}

.photo-tile:nth-child(9) {
  grid-column: span 1;
}

.photo-tile:nth-child(10) {
  grid-column: span 2;
}

.photography-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 760px);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
}

.photography-copy h2 {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
}

.photography-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 76px);
  border-top: 0;
  color: var(--dim);
  background: transparent;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--dim);
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 98px;
    background: transparent;
  }

  .top-nav {
    justify-content: center;
  }

  .site-title {
    order: -1;
    justify-self: center;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-buttons-left,
  .hero-buttons-right {
    justify-self: center;
  }

  .section-shell {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .paper-list,
  .bio-grid {
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-nav {
    gap: 10px 14px;
    font-size: 0.72rem;
  }

  .hero,
  .page-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-portrait {
    width: min(72vw, 252px);
  }

  .hero-button {
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .photography-copy {
    padding-left: 16px;
    padding-right: 16px;
  }

  .photography-section {
    align-items: start;
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 10px;
    width: 100%;
    padding: 0 16px 16px;
  }

  .photo-tile,
  .photo-tile:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }

  .photo-tile:nth-child(3n) {
    aspect-ratio: 1 / 1;
  }

  .photography-copy {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }
}
