:root {
  --ink: #0d0d0d;
  --paper: #f7f7f2;
  --line: #c9c9c2;
  --muted: #5c5c57;
  --accent: #dbff4a;
  --page-pad: clamp(20px, 3.2vw, 52px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

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

.site-header {
  align-items: center;
  background: var(--paper);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  position: relative;
  z-index: 20;
}

.wordmark {
  align-items: center;
  display: flex;
  font-weight: 600;
  gap: 12px;
}

.wordmark-mark {
  flex: 0 0 auto;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.wordmark-label {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

.site-navigation {
  align-items: center;
  display: flex;
  gap: clamp(24px, 3vw, 48px);
}

.site-navigation a,
.footer-links a {
  font-size: 14px;
  font-weight: 500;
}

.site-navigation a:not(.nav-contact):hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-contact {
  background: var(--ink);
  color: #fff;
  padding: 11px 16px;
}

.nav-contact span {
  margin-left: 12px;
}

.menu-button {
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: none;
  font: inherit;
  padding: 8px 0 8px 12px;
}

.hero {
  color: #fff;
  height: calc(100svh - 72px);
  min-height: 580px;
  overflow: hidden;
  position: relative;
}

.hero-video,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-video {
  animation: hero-arrive 1.1s ease-out both;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0.08) 100%);
  z-index: 1;
}

.hero-content {
  bottom: clamp(80px, 14vh, 150px);
  left: var(--page-pad);
  max-width: 1040px;
  position: absolute;
  right: var(--page-pad);
  z-index: 2;
}

.eyebrow,
.section-label,
.post-meta {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(48px, 7.3vw, 112px);
  font-weight: 400;
  line-height: 0.96;
  margin: 22px 0 32px;
  max-width: 1050px;
}

.text-link {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  gap: 30px;
  padding-bottom: 5px;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.text-link-light {
  color: #fff;
}

.hero-caption {
  bottom: 24px;
  font-size: 12px;
  margin: 0;
  position: absolute;
  right: var(--page-pad);
  z-index: 2;
}

.intro,
.research,
.writing {
  padding: clamp(76px, 11vw, 160px) var(--page-pad);
}

.intro {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(140px, 1fr) 3fr;
}

.intro-copy h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4.6vw, 70px);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 44px;
  max-width: 1100px;
}

.section-heading-row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 56px;
}

.section-heading-row h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 400;
  line-height: 1;
  margin: 18px 0 0;
}

.research {
  background: var(--ink);
  color: #fff;
}

.research-grid {
  border-top: 1px solid #484844;
}

.research-item {
  align-items: start;
  border-bottom: 1px solid #484844;
  display: grid;
  gap: 28px;
  grid-template-columns: 54px minmax(240px, 1fr) minmax(260px, 1.1fr) 44px;
  padding: 34px 0;
  transition: color 180ms ease;
}

.research-item:hover {
  color: var(--accent);
}

.research-number {
  color: #91918c;
  font-size: 12px;
}

.research-item h3,
.writing-item h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

.research-item p,
.writing-item > p:last-of-type {
  color: #adada7;
  line-height: 1.55;
  margin: 0;
}

.item-arrow {
  font-size: 25px;
  justify-self: end;
}

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

.writing-item {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(130px, 0.6fr) minmax(250px, 1.2fr) minmax(280px, 1fr) 56px;
  padding: 34px 0;
}

.writing-item > p:last-of-type {
  color: var(--muted);
}

.circle-link {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  height: 46px;
  justify-content: center;
  justify-self: end;
  transition: background 180ms ease, color 180ms ease;
  width: 46px;
}

.circle-link:hover {
  background: var(--ink);
  color: #fff;
}

.site-footer {
  align-items: end;
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 280px;
  padding: 64px var(--page-pad) 42px;
}

.site-footer p {
  color: #a8a8a2;
  font-size: 13px;
  margin: 4px 0 0;
}

.site-footer .footer-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.copyright {
  justify-self: end;
}

@keyframes hero-arrive {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 760px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    height: 64px;
  }

  .wordmark {
    gap: 9px;
  }

  .wordmark-mark {
    height: 30px;
    width: 30px;
  }

  .wordmark-label {
    font-size: 12px;
  }

  .menu-button {
    align-items: center;
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 22;
  }

  .menu-label {
    font-size: 14px;
    font-weight: 500;
  }

  .menu-icon {
    display: block;
    height: 16px;
    position: relative;
    width: 20px;
  }

  .menu-icon span {
    background: currentColor;
    height: 1px;
    left: 0;
    position: absolute;
    transition: transform 180ms ease, top 180ms ease;
    width: 20px;
  }

  .menu-icon span:first-child { top: 4px; }
  .menu-icon span:last-child { top: 11px; }
  .menu-button[aria-expanded="true"] .menu-icon span:first-child { top: 8px; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-icon span:last-child { top: 8px; transform: rotate(-45deg); }

  .site-navigation {
    align-items: stretch;
    background: var(--paper);
    display: none;
    flex-direction: column;
    gap: 0;
    inset: 64px 0 0;
    padding: 40px var(--page-pad);
    position: fixed;
  }

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

  .site-navigation a {
    border-bottom: 1px solid var(--line);
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    font-weight: 400;
    padding: 20px 0;
  }

  .site-navigation .nav-contact {
    background: transparent;
    color: var(--ink);
  }

  .hero {
    height: calc(100svh - 64px);
    min-height: 600px;
  }

  .hero-video {
    object-position: center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.18) 75%);
  }

  .hero-content {
    bottom: 76px;
  }

  .hero h1 {
    font-size: clamp(45px, 13.5vw, 68px);
  }

  .hero-caption {
    display: none;
  }

  .intro {
    display: block;
  }

  .intro-copy h2 {
    margin-top: 28px;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
    gap: 30px;
  }

  .research-item,
  .writing-item {
    grid-template-columns: 40px 1fr;
  }

  .research-item h3,
  .writing-item h3 {
    grid-column: 2;
  }

  .research-item p,
  .writing-item > p:last-of-type {
    grid-column: 2;
  }

  .item-arrow,
  .circle-link {
    grid-column: 2;
    justify-self: start;
  }

  .writing-item .post-meta {
    grid-column: 1 / -1;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 14px;
  }

  .copyright {
    justify-self: start;
  }
}

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

  .hero-video {
    animation: none;
  }
}