:root {
  --yellow: #f7dd7d;
  --yellow-soft: #f9e59f;
  --ink: #181818;
  --muted: #626262;
  --paper: #ffffff;
  --soft: #f6f5f0;
  --line: #deddd6;
  --content: 1120px;
  --reading: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-180%);
}

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

.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;
}

.content-width,
.header-inner,
.hero-inner {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.reading-column {
  width: min(calc(100% - 48px), var(--reading));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--yellow);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-on-white {
  background: var(--paper);
  border-bottom-color: var(--line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-navigation a {
  color: #383838;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-navigation a:hover,
.site-navigation a:focus-visible,
.brand:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.menu-button {
  display: none;
}

.hero {
  overflow: hidden;
  background: var(--yellow);
}

.hero-inner {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 460px);
  align-items: stretch;
  gap: 40px;
}

.hero-copy {
  align-self: center;
  padding: 70px 0 80px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(58px, 8vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero-intro {
  max-width: 500px;
  margin: 26px 0 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
}

.hero-image-wrap {
  position: relative;
  align-self: end;
  height: 455px;
  background: var(--yellow);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero-slide {
  opacity: 0;
  transition: opacity 650ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.text-section,
.personal-note {
  padding: 104px 0;
}

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

h2 {
  margin-bottom: 30px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  margin: 58px 0 18px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.reading-column > p:not(.section-label) {
  margin-bottom: 22px;
}

.lead {
  font-size: 22px;
  line-height: 1.55;
}

.pull-quote {
  margin: 60px 0;
  padding: 4px 0 4px 26px;
  border-left: 6px solid var(--yellow);
}

.pull-quote p {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.42;
}

.work-section,
.publications-section {
  padding: 100px 0;
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 55px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--muted);
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  gap: 64px;
  align-items: start;
}

.work-image {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  object-position: center top;
}

.work-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.work-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.work-list span {
  font-weight: 700;
}

.work-list small {
  color: var(--muted);
  text-align: right;
}

.current-work {
  max-width: 780px;
  margin: 78px auto 0;
  padding-top: 38px;
  border-top: 1px solid var(--ink);
}

.video-embed {
  width: 100%;
  margin-top: 34px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.current-work .video-embed {
  margin-top: 0;
}

.video-embed iframe,
.video-poster {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #000;
  cursor: pointer;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 54px;
  padding-left: 4px;
  color: #fff;
  background: #e62117;
  border-radius: 13px;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  font-size: 25px;
  line-height: 1;
}

.video-poster:hover img,
.video-poster:focus-visible img {
  opacity: 0.86;
  transform: scale(1.015);
}

.video-poster:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.reception {
  background: #fff;
}

.quotes {
  margin-top: 48px;
}

.quotes figure {
  margin: 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.quotes figure:last-child {
  border-bottom: 1px solid var(--line);
}

.quotes blockquote {
  margin-bottom: 14px;
  font-size: 21px;
  line-height: 1.55;
}

.quotes figcaption {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.compact-heading {
  margin-bottom: 46px;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 42px 24px;
  align-items: start;
}

.publication-grid figure {
  margin: 0;
}

.publication-grid img {
  width: 100%;
  height: auto;
  background: #e6e4dc;
}

.publication-grid figcaption {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.academic-note {
  max-width: 780px;
  margin: 64px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.personal-note {
  background: #fff;
}

.personal-note h2 {
  max-width: 650px;
}

.site-footer {
  padding: 74px 0 28px;
  background: var(--yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-grid h2 {
  margin-bottom: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
}

.contact-details a {
  font-size: 18px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  font-size: 13px;
}

.footer-bottom a {
  font-weight: 700;
}

@media (max-width: 800px) {
  .content-width,
  .header-inner,
  .hero-inner,
  .reading-column {
    width: min(calc(100% - 32px), var(--content));
  }

  .header-inner {
    min-height: 64px;
  }

  .menu-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-lines,
  .menu-lines::before,
  .menu-lines::after {
    display: block;
    width: 23px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease;
  }

  .menu-lines {
    position: relative;
  }

  .menu-lines::before,
  .menu-lines::after {
    position: absolute;
    left: 0;
  }

  .menu-lines::before {
    top: -7px;
  }

  .menu-lines::after {
    top: 7px;
  }

  .menu-button[aria-expanded="true"] .menu-lines {
    background: transparent;
  }

  .menu-button[aria-expanded="true"] .menu-lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-navigation {
    position: fixed;
    inset: 64px 0 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 26px 20px;
    background: var(--yellow);
  }

  .site-navigation.is-open {
    display: flex;
  }

  .site-navigation a {
    width: 100%;
    padding: 17px 0;
    font-size: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding: 64px 0 42px;
  }

  .hero h1 {
    font-size: clamp(55px, 18vw, 78px);
  }

  .hero-image-wrap {
    width: min(100%, 430px);
    height: 420px;
    margin-left: auto;
  }

  .text-section,
  .personal-note,
  .work-section,
  .publications-section {
    padding: 74px 0;
  }

  .section-heading,
  .work-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .work-image {
    max-width: 460px;
    max-height: 580px;
  }

  .current-work {
    margin-top: 58px;
  }

  .publication-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 20px;
  }

  .site-footer {
    padding-top: 60px;
  }

  .footer-bottom {
    margin-top: 54px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero-copy {
    padding-top: 52px;
  }

  .hero-image-wrap {
    width: calc(100% + 32px);
    height: 380px;
    margin-left: -16px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    margin-top: 46px;
  }

  .lead {
    font-size: 20px;
  }

  .pull-quote {
    margin: 46px 0;
    padding-left: 20px;
  }

  .pull-quote p {
    font-size: 21px;
  }

  .work-list li {
    display: block;
  }

  .work-list small {
    display: block;
    margin-top: 2px;
    text-align: left;
  }

  .publication-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 14px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-slide:not(.is-active) {
    display: none;
  }
}
