:root {
  --ink: #1a1a19;
  --paper: #fdfdfc;
  --bg-paper: #f1f0eb;
  --soft-white: #faf9f5;
  --muted-dark: #8e8e88;
  --muted-light: #272725;
  --header-height: 4.25rem;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

p,
h1,
h2 {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--bg-paper);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.75rem;
  transform: translateY(-200%);
}

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

.mono {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.76rem, 0.88vw, 0.90rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.55;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0.65rem clamp(1.25rem, 2.8vw, 3rem);
  background: #090909;
  border-bottom: 1px solid rgba(241, 240, 235, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  display: flex;
  width: 3.2rem;
  height: 1.85rem;
  align-items: center;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 3.2rem;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.92rem;
  line-height: 1;
}

.site-nav a {
  position: relative;
  padding: 0.65rem 1rem;
  color: var(--paper);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a + a::before {
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0;
  width: 1px;
  background: rgba(241, 240, 235, 0.36);
  content: "";
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--soft-white);
  opacity: 0.64;
}

.dark-section,
.light-section {
  position: relative;
  min-height: 100svh;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 2.8vw, 3rem) 2.25rem;
  overflow: hidden;
}

.dark-section {
  background: var(--ink);
  color: var(--paper);
}

.light-section {
  background: var(--bg-paper);
  color: var(--ink);
}

.section-rule {
  height: 1px;
  background: rgba(241, 240, 235, 0.24);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100svh - var(--header-height));
  padding-top: 2.5rem;
}

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

.hero-video {
  z-index: 0;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
}

.hero-shade {
  z-index: 1;
  background: rgba(17, 17, 16, 0.66);
}

.hero > :not(.hero-video, .hero-shade) {
  position: relative;
  z-index: 2;
}

.section-graphic {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.statement-graphic,
.contact-graphic {
  opacity: 0.075;
  filter: grayscale(1) contrast(0.92);
  mix-blend-mode: multiply;
}

.statement-graphic {
  object-position: center 42%;
}

.people-graphic {
  opacity: 0.16;
  filter: grayscale(1) brightness(0.58) contrast(1.2);
}

.contact-graphic {
  object-position: center;
}

.statement > :not(.section-graphic),
.people > :not(.section-graphic),
.contact > :not(.section-graphic) {
  position: relative;
  z-index: 1;
}

.hero-title,
.display-title {
  max-width: 100%;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title {
  margin-top: auto;
  font-size: clamp(4.2rem, 11.8vw, 12rem);
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  margin-top: clamp(3.5rem, 8vh, 7rem);
}

.hero-copy {
  color: var(--paper);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--paper);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.scroll-arrow {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(241, 240, 235, 0.5);
  font-size: 1rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.scroll-cue:hover .scroll-arrow,
.scroll-cue:focus-visible .scroll-arrow {
  background: var(--bg-paper);
  color: var(--ink);
  transform: translateY(0.2rem);
}

.section-index {
  padding-bottom: 1rem;
  border-bottom: 1px solid currentColor;
}

.statement,
.people,
.contact {
  display: flex;
  flex-direction: column;
}

.statement-content,
.contact-content {
  display: grid;
  margin-top: auto;
}

.contact-content {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.34fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 9rem);
}

.statement-content {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin: auto 0;
}

.display-title {
  font-size: clamp(3.5rem, 7.2vw, 7.5rem);
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.statement .display-title {
  max-width: 12ch;
  font-size: clamp(3.4rem, 6.3vw, 6.7rem);
}

.copy-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 8rem);
  width: min(100%, 74rem);
  justify-self: start;
  color: var(--muted-light);
  text-transform: uppercase;
}

.copy-item {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 26, 25, 0.48);
}

.copy-title {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.copy-item p {
  max-width: 34rem;
  margin-top: 1.4rem;
}

.people-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: auto;
}

.people .display-title {
  max-width: 13ch;
  font-size: clamp(3.4rem, 6.2vw, 6.6rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.4rem);
  width: min(100%, 50rem);
  justify-self: end;
}

.person {
  margin: 0;
}

.person img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
  border: 1px solid rgba(241, 240, 235, 0.32);
}

.person figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(241, 240, 235, 0.45);
}

.contact {
  min-height: 110svh;
}

.contact-content {
  margin-bottom: clamp(5rem, 12vh, 10rem);
}

.contact .display-title {
  font-size: clamp(4.2rem, 11.8vw, 12rem);
  line-height: 0.78;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  transition: padding 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  padding-right: 0.4rem;
  padding-left: 0.4rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title span,
.hero-footer {
  opacity: 0;
  animation: rise-in 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title span:nth-child(1) {
  animation-delay: 90ms;
}

.hero-title span:nth-child(2) {
  animation-delay: 170ms;
}

.hero-title span:nth-child(3) {
  animation-delay: 250ms;
}

.hero-footer {
  animation-delay: 390ms;
}

@media (max-width: 820px) {
  :root {
    --header-height: 3.75rem;
  }

  .site-header {
    padding: 0.5rem 1rem;
  }

  .brand-mark {
    width: 2.85rem;
    height: 1.65rem;
  }

  .brand-mark img {
    width: 2.85rem;
  }

  .site-nav {
    gap: 0.35rem;
    font-size: 0.85rem;
  }

  .site-nav a {
    padding: 0.55rem 0.6rem;
  }

  .dark-section,
  .light-section {
    padding: 3.25rem 1rem 1.25rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-title {
    font-size: clamp(3rem, 14.5vw, 6rem);
    line-height: 0.82;
  }

  .hero-footer {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: 3.5rem;
  }

  .scroll-cue {
    justify-content: space-between;
  }

  .statement-content,
  .people-content,
  .contact-content {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 3.5rem;
  }

  .copy-stack {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .display-title {
    font-size: clamp(2.5rem, 11.5vw, 5.25rem);
    line-height: 0.88;
  }

  .contact .display-title {
    font-size: clamp(3rem, 14.5vw, 6rem);
    line-height: 0.82;
  }

  .contact-link {
    font-size: 0.62rem;
  }
}

@media (max-width: 420px) {
  .site-nav a {
    padding-right: 0.42rem;
    padding-left: 0.42rem;
  }

  .hero-title {
    font-size: 14vw;
    letter-spacing: -0.08em;
  }

  .site-nav {
    gap: 0.35rem;
    font-size: 0.65rem;
  }

  .display-title {
    font-size: clamp(2.4rem, 11vw, 4.5rem);
  }
  .statement {
    .display-title {
      font-size: clamp(2.4rem, 11vw, 4.5rem);
    }
  }

  .contact .display-title {
    font-size: clamp(2.8rem, 14vw, 5rem);
  }

  .hero-copy br {
    display: none;
  }

  .person figcaption {
    display: grid;
  }
}

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

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

  .hero-video {
    display: none;
  }
}
