@font-face {
  font-family: "AnchorSans";
  src: local("Arial");
  font-display: swap;
}

:root {
  --ink: #050505;
  --paper: #f1f1ed;
  --line: rgba(5,5,5,.22);
  --line-invert: rgba(241,241,237,.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: AnchorSans, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 22px 28px;
  mix-blend-mode: difference;
  color: white;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: .82rem;
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.6;
}

nav {
  display: flex;
  gap: 1.2rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 115px 28px 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-label,
.muted,
.project-no,
.hero-footer,
footer {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero h1 {
  margin: auto 0;
  font-size: clamp(5rem, 16vw, 15rem);
  line-height: .74;
  letter-spacing: -.085em;
  font-weight: 900;
  max-width: 98vw;
}

.hero h1 span {
  display: block;
}

.hero h1 span:nth-child(2) {
  padding-left: 9vw;
}

.hero h1 span:nth-child(3) {
  padding-left: 2vw;
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  line-height: 1.3;
}

.index {
  font-size: 2rem;
  letter-spacing: -.05em;
}

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

.statement {
  min-height: 92svh;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 3fr;
  gap: 6vw;
  align-items: start;
}

.statement-copy {
  align-self: center;
}

.statement-copy p {
  margin: 0 0 1.3em;
  font-size: clamp(2.6rem, 6vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 800;
}

.work {
  padding: 28px;
}

.work-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 85px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid var(--line);
}

.project {
  min-height: 50svh;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.project:last-child {
  border-right: none;
}

.project h2 {
  margin: auto 0 .2em;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .82;
  letter-spacing: -.07em;
}

.project p {
  max-width: 28ch;
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 700;
}

.project-a {
  grid-column: span 5;
}

.project-b {
  grid-column: span 4;
}

.project-c {
  grid-column: span 3;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.marquee div {
  width: max-content;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 800;
  animation: crawl 22s linear infinite;
}

@keyframes crawl {
  to { transform: translateX(-50%); }
}

.contact {
  min-height: 80svh;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.contact-inner {
  margin: auto 0;
}

.contact-kicker {
  margin: 0 0 16px;
  font-size: .78rem;
  font-weight: 700;
}

.contact-link {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(2.5rem, 8vw, 8.5rem);
  line-height: .9;
  letter-spacing: -.07em;
  font-weight: 900;
  word-break: break-word;
  border-bottom: .06em solid currentColor;
  transition: opacity .2s ease;
}

.contact-link:hover {
  opacity: .5;
}

footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-invert);
  padding-top: 16px;
}

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

  nav {
    display: none;
  }

  .hero,
  .work,
  .statement,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 22vw, 8rem);
    line-height: .78;
  }

  .hero h1 span:nth-child(2) {
    padding-left: 0;
  }

  .hero h1 span:nth-child(3) {
    padding-left: 0;
  }

  .statement {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .statement-copy p {
    font-size: clamp(2.3rem, 11vw, 4.5rem);
  }

  .work-head {
    padding-bottom: 45px;
  }

  .project-grid {
    display: block;
  }

  .project {
    min-height: 44svh;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-left: 0;
    padding-right: 0;
  }

  .project h2 {
    font-size: clamp(3.5rem, 20vw, 7rem);
  }

  .hero-footer,
  footer {
    align-items: flex-end;
  }

  .index {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
