:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --ink: #111111;
  --soft: #d9d3c7;
  --muted: #68635b;
  --wine: #9e2532;
  --cyan: #67b9c3;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: #f1dc4b;
}

::-moz-selection {
  background: #f1dc4b;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(var(--paper), #e8e1d5 70%, #151515 70%);
  background-size: 14px 14px, auto;
  font-family: Arial, Helvetica, sans-serif;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  font-size: 0.875rem;
}

.site-logo,
.back-link {
  border-bottom: 1px solid transparent;
}

.site-logo:hover,
.back-link:hover {
  border-bottom-color: currentColor;
}

main {
  overflow: hidden;
}

.lab-hero {
  display: grid;
  min-height: calc(100vh - 64px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: 6vw;
  align-items: end;
  padding: 5vw 6vw 6vw;
}

.hero-copy {
  padding-bottom: 4vw;
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--wine);
  font-size: 0.875rem;
}

h1 {
  max-width: 900px;
  font-size: 6rem;
  line-height: 0.88;
  font-weight: normal;
  letter-spacing: 0;
}

.intro {
  max-width: 520px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.55;
}

.hero-image {
  align-self: center;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: #151515;
}

.hero-image img {
  aspect-ratio: 3 / 4;
  height: min(72vh, 780px);
  object-fit: cover;
}

.experiment-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(17, 17, 17, 0.18);
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.experiment-strip p {
  min-height: 116px;
  padding: 22px 28px;
  border-right: 1px solid rgba(17, 17, 17, 0.18);
  color: #202020;
  font-size: 1.5rem;
  line-height: 1.05;
}

.experiment-strip p:last-child {
  border-right: 0;
}

.lab-board {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: end;
  padding: 7vw 6vw;
  background: #151515;
}

.image-panel {
  color: #f5f0e7;
}

.image-panel img {
  aspect-ratio: 4 / 5;
  height: 58vh;
  min-height: 420px;
  object-fit: cover;
  border: 1px solid rgba(245, 240, 231, 0.18);
}

.image-panel-large img {
  height: 72vh;
}

figcaption {
  margin-top: 12px;
  color: rgba(245, 240, 231, 0.68);
  font-size: 0.875rem;
}

.future-notes {
  padding: 26px 6vw 48px;
  background: #151515;
  color: rgba(245, 240, 231, 0.76);
}

.future-notes p {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .lab-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 52px 28px 64px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    font-size: 4.4rem;
  }

  .hero-image img {
    height: auto;
  }

  .experiment-strip {
    grid-template-columns: 1fr;
  }

  .experiment-strip p {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  }

  .experiment-strip p:last-child {
    border-bottom: 0;
  }

  .lab-board {
    grid-template-columns: 1fr;
    padding: 56px 28px;
  }

  .image-panel img,
  .image-panel-large img {
    height: auto;
    min-height: 0;
  }
}

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

  .lab-hero {
    padding: 42px 18px 52px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .intro {
    font-size: 1rem;
  }

  .experiment-strip p {
    padding: 18px;
    font-size: 1.25rem;
  }

  .lab-board {
    padding: 42px 18px;
  }

  .future-notes {
    padding: 12px 18px 38px;
  }
}
