:root {
  --black: #0a0a0a;
  --black-soft: #121212;
  --white: #f4f2ec;
  --paper: #e9e5dc;
  --ink: #151515;
  --muted: #9b9a94;
  --line-dark: rgba(244, 242, 236, 0.22);
  --line-light: rgba(21, 21, 21, 0.2);
  --signal: #c7ff3d;
  --header-height: 68px;
  --gutter: clamp(20px, 4vw, 64px);
  --content: 1600px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

figure,
p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.shell {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--black);
  background: var(--signal);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  padding: 0 var(--gutter);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, opacity 500ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(10, 10, 10, 0.94);
  border-color: var(--line-dark);
  backdrop-filter: blur(14px);
}

.wordmark {
  width: max-content;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.desktop-nav a,
.contact-meta a,
.text-link {
  position: relative;
}

.desktop-nav a::after,
.contact-meta a::after,
.text-link::after {
  content: "";
  position: absolute;
  inset: auto 0 -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.contact-meta a:hover::after,
.contact-meta a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8d6cf;
  font-size: 11px;
  text-transform: uppercase;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(199, 255, 61, 0.13);
}

.header-resume {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 22px;
  border-left: 1px solid var(--line-dark);
  font-size: 12px;
}

.header-resume span {
  transition: transform 160ms ease;
}

.header-resume:hover span,
.header-resume:focus-visible span {
  transform: translateY(3px);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: min(92svh, 980px);
  overflow: hidden;
  background: #000;
}

.hero-image,
.hero-scrim,
.hero-grid-canvas,
.hero-type-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 50% 38%;
  opacity: 0.2;
  filter: grayscale(1) contrast(1.12);
  transition: opacity 900ms ease;
}

.hero-scrim {
  z-index: 1;
  background: rgba(0, 0, 0, 0.72);
}

.hero-grid-canvas,
.hero-type-canvas {
  z-index: 2;
  pointer-events: none;
}

.hero-grid-canvas {
  transition: opacity 800ms ease;
}

.hero-type-canvas {
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  min-height: min(92svh, 980px);
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 34px;
}

.eyebrow {
  color: currentColor;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-kicker {
  max-width: 260px;
}

.hero-kicker,
.hero-bottom {
  transition: opacity 500ms ease;
}

.hero-intro-pending .site-header,
.hero-intro-pending .hero-image,
.hero-intro-pending .hero-grid-canvas,
.hero-intro-pending .hero-type-canvas,
.hero-intro-pending .hero-title-fallback,
.hero-intro-pending .hero-kicker,
.hero-intro-pending .hero-bottom,
.hero-intro-active .site-header,
.hero-intro-active .hero-image,
.hero-intro-active .hero-grid-canvas,
.hero-intro-active .hero-title-fallback,
.hero-intro-active .hero-kicker,
.hero-intro-active .hero-bottom {
  opacity: 0;
}

.hero-intro-pending .hero-title-fallback,
.hero-intro-active .hero-title-fallback {
  transition: none;
}

.hero-intro-active.hero-intro-reveal .hero-image {
  opacity: 0.2;
}

.hero-intro-active.hero-intro-reveal .hero-grid-canvas {
  opacity: 1;
}

.hero-intro-active.hero-intro-ui .site-header,
.hero-intro-active.hero-intro-ui .hero-kicker,
.hero-intro-active.hero-intro-ui .hero-bottom {
  opacity: 1;
}

.hero h1 {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  font-size: 202px;
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: 0;
  transition: opacity 300ms ease;
}

.hero-motion-ready .hero-title-fallback {
  opacity: 0;
}

.hero-bottom p {
  transition: opacity 300ms ease;
}

.hero-motion-ready .hero-bottom p {
  opacity: 0;
}

.hero h1 span:last-child {
  align-self: flex-end;
}

.hero-bottom {
  margin-top: clamp(48px, 8vh, 104px);
  display: grid;
  grid-template-columns: 1fr minmax(220px, 0.7fr);
  gap: 40px;
  align-items: end;
  padding-top: 18px;
}

.hero-bottom p {
  max-width: 660px;
  font-size: 28px;
  line-height: 1.35;
}

.text-link {
  width: max-content;
  justify-self: end;
  font-size: 13px;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
}

.section-dark {
  background: var(--black);
}

.statement {
  padding-block: clamp(120px, 17vw, 260px);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr);
  gap: 48px;
}

.statement h2 {
  max-width: 1100px;
  font-size: 104px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.statement-copy {
  max-width: 760px;
  margin-top: 64px;
  font-size: 28px;
  line-height: 1.5;
  color: #b8b6af;
}

.work {
  padding-bottom: 120px;
}

.section-heading {
  padding-top: 80px;
  padding-bottom: 72px;
  border-top: 1px solid var(--line-dark);
}

.section-heading h2 {
  margin-top: 20px;
  font-size: 130px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.project {
  display: grid;
  grid-template-columns: minmax(54px, 0.5fr) minmax(0, 4fr);
  padding-top: 28px;
  padding-bottom: 112px;
  border-top: 1px solid var(--line-dark);
}

.project-number {
  color: var(--muted);
  font-size: 12px;
}

.project-intro {
  min-width: 0;
}

.project-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.project-title-row h3 {
  max-width: 1050px;
  font-size: 66px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.project-title-row > p {
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.project-details {
  margin-top: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr);
  gap: clamp(44px, 8vw, 120px);
}

.project-lead {
  max-width: 720px;
  font-size: 27px;
  line-height: 1.5;
}

.project-details dl {
  border-top: 1px solid var(--line-dark);
}

.project-details dl div {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 12px;
  line-height: 1.55;
}

.project-details dt {
  color: var(--muted);
}

.rail-wrap {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 72px;
}

.media-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding-right: var(--gutter);
}

.media-rail::-webkit-scrollbar {
  display: none;
}

.media-rail figure {
  flex: 0 0 min(78vw, 1080px);
  scroll-snap-align: start;
}

.landscape-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d7d9d8;
}

.landscape-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-shot img {
  object-position: center;
}

.media-rail figcaption {
  position: absolute;
  inset: auto 16px 14px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 8px 10px;
  color: var(--white);
  background: rgba(10, 10, 10, 0.85);
  font-size: 11px;
  line-height: 1.35;
}

.phone-rail .media-rail {
  align-items: stretch;
  padding-block: 42px;
  background: #c9c5bb;
}

.phone-shot {
  position: relative;
  flex-basis: min(28vw, 390px) !important;
  margin-left: 28px;
  aspect-ratio: 402 / 874;
  overflow: hidden;
  background: #efefef;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.phone-shot + .phone-shot {
  margin-left: 0;
}

.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.rail-actions button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.rail-actions button:hover,
.rail-actions button:focus-visible {
  color: var(--black);
  background: var(--signal);
}

.earlier {
  padding-bottom: 140px;
  color: var(--ink);
  background: var(--paper);
}

.dark-text {
  border-color: var(--line-light);
}

.earlier-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.6fr);
  gap: var(--gutter);
  align-items: start;
}

.earlier-copy {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.earlier-copy h3 {
  margin-top: 80px;
  font-size: 62px;
  font-weight: 500;
  line-height: 1.08;
}

.earlier-copy > p:not(.eyebrow) {
  margin-top: 34px;
  max-width: 570px;
  font-size: 18px;
  line-height: 1.7;
}

.earlier-copy .role-line {
  color: #64625c;
  font-size: 12px !important;
}

.earlier-visual {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #d9d5cc;
}

.earlier-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.earlier-visual.wide {
  grid-column: 1 / -1;
  margin-top: 40px;
  aspect-ratio: 16 / 8;
}

.research {
  padding-bottom: 140px;
  color: var(--ink);
  background: var(--white);
}

.research-feature {
  padding-block: 80px;
  background: #cbff52;
}

.research-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: 32px var(--gutter);
}

.research-copy {
  grid-row: 1 / 3;
}

.research-index {
  color: #65645f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.research-copy h3 {
  margin-top: 72px;
  font-size: 68px;
  font-weight: 500;
  line-height: 1.05;
}

.research-copy > p:not(.research-index) {
  max-width: 620px;
  margin-top: 38px;
  font-size: 18px;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 11px;
  border: 1px solid rgba(21, 21, 21, 0.45);
  border-radius: 999px;
  font-size: 11px;
}

.research-visual {
  display: grid;
  min-height: 250px;
  padding: 26px;
  place-items: center;
  overflow: hidden;
  background: #f4f2ec;
}

.research-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.research-list article {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(320px, 1.3fr) minmax(220px, 0.8fr);
  gap: var(--gutter);
  align-items: start;
  padding-block: 68px;
  border-bottom: 1px solid var(--line-light);
}

.research-list h3 {
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
}

.research-list article div p {
  margin-top: 22px;
  max-width: 630px;
  color: #5f5d57;
  font-size: 16px;
  line-height: 1.7;
}

.research-list figure {
  height: 260px;
  overflow: hidden;
  background: #d9d6cf;
}

.research-list figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.research-mark {
  font-size: 58px;
  font-weight: 700;
  line-height: 0.95;
}

.about {
  padding-block: 140px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: clamp(56px, 10vw, 160px);
  align-items: start;
}

.about-copy h2 {
  max-width: 900px;
  margin-top: 64px;
  font-size: 100px;
  font-weight: 400;
  line-height: 1.03;
}

.about-copy > p:not(.eyebrow) {
  max-width: 800px;
  margin-top: 42px;
  color: #b9b7b0;
  font-size: 21px;
  line-height: 1.7;
}

.about-facts {
  margin-top: 60px;
  border-top: 1px solid var(--line-dark);
}

.about-facts p {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 12px;
}

.about-facts span {
  color: var(--muted);
}

.about-image {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  aspect-ratio: 0.83;
  overflow: hidden;
  background: #202321;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: saturate(0.7);
}

.contact {
  min-height: 86svh;
  display: flex;
  align-items: stretch;
  padding-block: 90px 32px;
  color: var(--ink);
  background: var(--signal);
}

.contact .shell {
  display: flex;
  flex-direction: column;
}

.contact h2 {
  max-width: 1300px;
  margin-top: 48px;
  font-size: 138px;
  font-weight: 500;
  line-height: 0.93;
}

.contact-mail {
  width: 100%;
  margin-top: auto;
  padding-block: 25px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 56px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.contact-mail span {
  flex: 0 0 auto;
}

.contact-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
}

.contact-meta p {
  justify-self: end;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.contact :focus-visible,
.research-feature :focus-visible {
  outline-color: var(--ink);
}

@media (max-width: 1200px) {
  .hero h1 {
    font-size: 150px;
  }

  .statement h2 {
    font-size: 80px;
  }

  .section-heading h2 {
    font-size: 100px;
  }

  .project-title-row h3 {
    font-size: 54px;
  }

  .about-copy h2 {
    font-size: 80px;
  }

  .contact h2 {
    font-size: 110px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 60px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 0;
    color: var(--white);
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    width: 23px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .site-header.menu-open .menu-button span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.menu-open .menu-button span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100svh - var(--header-height));
    display: none;
    padding: 36px var(--gutter);
    color: var(--white);
    background: var(--black);
  }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav a {
    padding-block: 20px;
    border-bottom: 1px solid var(--line-dark);
    font-size: 36px;
  }

  .hero-image {
    object-position: 53% 36%;
  }

  .hero h1 {
    font-size: 112px;
  }

  .hero-bottom p {
    font-size: 22px;
  }

  .statement h2 {
    font-size: 64px;
  }

  .statement-copy {
    font-size: 22px;
  }

  .section-heading h2 {
    font-size: 76px;
  }

  .project-title-row h3 {
    font-size: 50px;
  }

  .project-lead {
    font-size: 22px;
  }

  .earlier-copy h3 {
    font-size: 48px;
  }

  .research-copy h3 {
    font-size: 52px;
  }

  .research-list h3 {
    font-size: 36px;
  }

  .research-mark {
    font-size: 44px;
  }

  .about-copy h2 {
    font-size: 62px;
  }

  .contact h2 {
    font-size: 84px;
  }

  .contact-mail {
    font-size: 36px;
  }

  .hero-scrim {
    background: rgba(0, 0, 0, 0.48);
  }

  .statement-grid,
  .earlier-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .statement-grid {
    gap: 70px;
  }

  .project-details {
    grid-template-columns: 1fr;
  }

  .earlier-copy,
  .about-image {
    position: static;
  }

  .earlier-copy h3 {
    margin-top: 48px;
  }

  .earlier-visual.wide {
    grid-column: auto;
  }

  .about-image {
    width: min(100%, 620px);
  }

  .research-list article {
    grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr);
  }

  .research-list article > :last-child {
    grid-column: 2;
    width: min(100%, 440px);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88svh;
  }

  .hero-content {
    min-height: 88svh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: 88px;
    line-height: 0.84;
  }

  .hero h1 span:last-child {
    align-self: flex-start;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 50px;
  }

  .hero-bottom p {
    max-width: 360px;
    font-size: 18px;
  }

  .statement h2 {
    font-size: 46px;
  }

  .statement-copy {
    font-size: 18px;
  }

  .section-heading h2 {
    font-size: 54px;
  }

  .project-title-row h3 {
    font-size: 36px;
  }

  .project-lead {
    font-size: 19px;
  }

  .text-link {
    justify-self: start;
  }

  .statement {
    padding-block: 110px;
  }

  .statement h2 br,
  .research .section-heading h2 br,
  .contact h2 br {
    display: none;
  }

  .statement-copy {
    margin-top: 42px;
  }

  .section-heading {
    padding-top: 54px;
    padding-bottom: 52px;
  }

  .project {
    grid-template-columns: 34px minmax(0, 1fr);
    padding-top: 22px;
    padding-bottom: 80px;
  }

  .project-title-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-title-row > p {
    padding-top: 0;
  }

  .project-details {
    margin-top: 38px;
    gap: 38px;
  }

  .rail-wrap {
    margin-top: 50px;
  }

  .media-rail figure {
    flex-basis: 86vw;
  }

  .phone-rail .media-rail {
    padding-block: 26px;
  }

  .phone-shot {
    flex-basis: 70vw !important;
    margin-left: 18px;
  }

  .rail-actions {
    display: none;
  }

  .earlier,
  .research {
    padding-bottom: 100px;
  }

  .earlier-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .earlier-copy h3 {
    font-size: 38px;
  }

  .earlier-visual,
  .earlier-visual.wide {
    aspect-ratio: 4 / 3;
  }

  .research-feature {
    padding-block: 54px;
  }

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

  .research-copy {
    grid-row: auto;
  }

  .research-copy h3 {
    margin-top: 48px;
  }

  .research-copy h3 {
    font-size: 38px;
  }

  .research-list h3 {
    font-size: 30px;
  }

  .research-mark {
    font-size: 34px;
  }

  .research-copy > p:not(.research-index) {
    font-size: 16px;
  }

  .research-list article {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 54px;
  }

  .research-list article > :last-child {
    grid-column: auto;
  }

  .research-list figure {
    height: 300px;
  }

  .about {
    padding-block: 100px;
  }

  .about-copy h2 {
    margin-top: 48px;
  }

  .about-copy h2 {
    font-size: 48px;
  }

  .about-copy > p:not(.eyebrow) {
    margin-top: 32px;
  }

  .contact {
    min-height: 78svh;
    padding-top: 70px;
  }

  .contact h2 {
    font-size: 48px;
  }

  .contact-mail {
    font-size: 20px;
  }

  .contact-meta {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-meta p {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
