:root {
  --ink: #11110f;
  --paper: #f3efe8;
  --line: rgba(17,17,15,.18);
  --pad: clamp(18px, 3vw, 46px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; width: 100%; min-height: 100%; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header a { pointer-events: auto; }
.brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  white-space: nowrap;
}
.nav { display: flex; gap: 24px; }
.nav a {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #111;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111;
}
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity .8s ease, transform 1.4s ease;
}
.hero-media .is-ready {
  opacity: 1;
  transform: scale(1);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.02) 56%, rgba(0,0,0,.18));
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  left: var(--pad);
  bottom: 28px;
  z-index: 3;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.scroll-cue i {
  display: block;
  width: 38px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: scaleX(.45); opacity: .45; } 50% { transform: scaleX(1); opacity: 1; } }

.work {
  padding: clamp(70px, 9vw, 150px) var(--pad) clamp(80px, 11vw, 180px);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-bottom: clamp(42px, 7vw, 100px);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.section-head p { margin: 0; }
.section-head span { opacity: .5; }

.project { margin: 0; }
.project img {
  width: 100%;
  height: auto;
  background: #ddd;
}
.project-a {
  width: min(72vw, 980px);
  margin-right: auto;
}
.project-b {
  width: min(58vw, 760px);
  margin-left: auto;
  margin-top: clamp(70px, 12vw, 190px);
}

.about {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(80px, 10vw, 150px) var(--pad) 40px;
  border-top: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.about h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(42px, 7vw, 118px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 500;
}
.about-copy {
  max-width: 460px;
  margin: 40px 0 70px;
  font-size: 16px;
  line-height: 1.6;
}
.back-top {
  align-self: flex-end;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-header { padding-top: 18px; }
  .nav { gap: 14px; }
  .project-a, .project-b { width: 100%; }
  .project-b { margin-top: 52px; }
  .about { min-height: 62vh; }
  .about h1 { letter-spacing: -.045em; }
  .hero-caption { bottom: 22px; }
  .scroll-cue { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .hero-media video { transition: none; transform: none; }
  .scroll-cue i { animation: none; }
}
