:root {
  color-scheme: dark;
  --bg: #090807;
  --text: #f1efea;
  --muted: #908b84;
  --soft: #cbc5bc;
  --line: rgba(255, 255, 255, .15);
  --rust: #a7472d;
  --clay: #d18367;
  --pale: #ead0c6;
  --pad: clamp(1.15rem, 3vw, 3.5rem);
  --header: 72px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: var(--header);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 7, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; }
.brand-mark { width: 56px; height: 56px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2.5rem);
  font-size: .82rem;
  letter-spacing: .015em;
}

.site-nav a { color: #b4afa9; transition: color .25s ease; }
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] { color: #fff; }

.menu-toggle {
  display: none;
  border: 0;
  padding: .6rem 0 .6rem .8rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.project-hero {
  display: grid;
  min-height: calc(88svh - var(--header));
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  align-items: end;
  gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(6rem, 12vw, 12rem) var(--pad) clamp(3rem, 6vw, 5.5rem);
}

.project-index,
.section-label {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-title {
  max-width: 10ch;
  margin: 1rem 0 0;
  font-size: clamp(5rem, 12vw, 12.5rem);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.074em;
}

.project-title span { display: block; }
.project-title .title-secondary {
  max-width: 13ch;
  margin-top: .1em;
  color: #bbb4ad;
  font-size: .37em;
  line-height: .98;
  letter-spacing: -.05em;
}

.hero-meta { display: grid; align-self: end; border-top: 1px solid var(--line); }
.hero-meta span {
  padding: .72rem 0;
  border-bottom: 1px solid var(--line);
  color: #c7c0b8;
  font-size: .78rem;
  letter-spacing: .045em;
}

.hero-frame,
.media-frame { overflow: hidden; background: #020202; }

.hero-frame {
  border-block: 1px solid var(--line);
  background: #020202;
}

.hero-frame img,
.media-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.overview {
  display: grid;
  grid-template-columns: minmax(14rem, .7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 10vw, 12rem);
  padding: clamp(6rem, 11vw, 11rem) var(--pad);
  border-bottom: 1px solid var(--line);
}

.meta-list,
.credits { margin: 0; }

.meta-list div,
.credits div {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: .78rem 0;
  border-top: 1px solid var(--line);
}

.meta-list dt,
.credits dt {
  color: #77716b;
  font-size: .71rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.meta-list dd,
.credits dd {
  margin: 0;
  color: #c8c1b9;
  font-size: .86rem;
}

.overview-copy > p {
  max-width: 18ch;
  margin: 0 0 clamp(3rem, 7vw, 6rem);
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.052em;
}

.overview-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
}

.overview-detail p,
.phase-copy p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.52;
  letter-spacing: -.015em;
}

.concept-field {
  padding: clamp(5rem, 10vw, 10rem) var(--pad);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 77% 48%, rgba(167, 71, 45, .26), transparent 28%),
    linear-gradient(135deg, #0b0908, #15100d 48%, #080706);
}

.concept-field p {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
  font-size: clamp(2.5rem, 7.5vw, 8.5rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.064em;
}

.concept-field span:nth-child(2) { color: var(--clay); }
.concept-field span:nth-child(3) { color: #aea8a0; }

.phase {
  padding: clamp(7rem, 12vw, 13rem) var(--pad);
  border-bottom: 1px solid var(--line);
}

.phase::before {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(90deg, var(--rust), var(--clay), transparent 78%);
  content: "";
  opacity: .8;
}

.phase-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .75fr);
  gap: clamp(3rem, 10vw, 12rem);
  align-items: start;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.phase-head h2 {
  max-width: 12ch;
  margin: .9rem 0 0;
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.06em;
}

.phase-copy { display: grid; gap: 1.2rem; padding-top: .2rem; }

.image-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0 0;
  color: #79736d;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.full-bleed { margin-inline: calc(var(--pad) * -1); }
.full-bleed .image-caption { padding-inline: var(--pad); }

.scale-pair,
.human-pair,
.encounter-pair,
.interface-pair,
.threshold-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
}

.scale-pair figure:first-child { width: 82%; justify-self: end; }
.human-pair { margin-top: clamp(5rem, 9vw, 10rem); align-items: end; }
.encounter-pair { align-items: start; }
.interface-pair { margin-top: clamp(5rem, 9vw, 10rem); align-items: end; }
.threshold-pair { margin-top: clamp(5rem, 9vw, 10rem); }

.threshold-image-crop {
  aspect-ratio: 2321 / 1052;
  overflow: hidden;
  background: #020202;
}

.threshold-image-crop img {
  width: 100%;
  height: auto;
}

.single-wide {
  width: min(92rem, 92%);
  margin: clamp(5rem, 9vw, 10rem) auto 0;
}

.single-wide--narrow { width: min(76rem, 82%); }

.transit-frame {
  width: min(84rem, 74%);
  margin: clamp(5rem, 9vw, 10rem) auto 0;
}

.triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  align-items: end;
}

.triptych figure:nth-child(2) { transform: translateY(clamp(2rem, 5vw, 5rem)); }

.process-board {
  margin-top: clamp(5rem, 9vw, 10rem);
  border: 1px solid rgba(255, 255, 255, .08);
}

.identity-frame {
  margin-inline: calc(var(--pad) * -1);
  margin-top: clamp(5rem, 9vw, 10rem);
}

.identity-frame .image-caption { padding-inline: var(--pad); }

.closing-statement {
  display: grid;
  min-height: clamp(25rem, 55vw, 52rem);
  place-items: center;
  padding: clamp(6rem, 12vw, 12rem) var(--pad);
  text-align: center;
  background:
    radial-gradient(circle at 50% 52%, rgba(168, 69, 40, .2), transparent 26%),
    #050403;
}

.closing-statement p {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 9rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.065em;
}

.credits-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(6rem, 10vw, 10rem) var(--pad);
  border-top: 1px solid var(--line);
}

.credits-section h2 {
  margin: .8rem 0 0;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.055em;
}

.project-return {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  min-height: clamp(16rem, 34vw, 30rem);
  padding: var(--pad);
  border-top: 1px solid var(--line);
}

.project-return span {
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-return strong {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 500;
  line-height: .85;
  letter-spacing: -.065em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem var(--pad);
  border-top: 1px solid var(--line);
  color: #77716b;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer span:last-child { max-width: 44rem; text-align: right; }

.js .reveal {
  opacity: .12;
  transform: translateY(1.4rem);
  transition: opacity .75s ease, transform .9s cubic-bezier(.2, .65, .2, 1);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header) 0 0;
    display: none;
    align-content: start;
    align-items: stretch;
    padding: 2rem var(--pad);
    background: rgba(9, 8, 7, .98);
    font-size: clamp(1.55rem, 6vw, 3rem);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: .25rem 0; color: var(--text); }
  .project-hero,
  .overview,
  .phase-head,
  .credits-section { grid-template-columns: 1fr; }
  .project-hero { min-height: 78svh; align-content: end; }
  .overview-detail { grid-template-columns: 1fr; }
  .concept-field p { grid-template-columns: 1fr; }
  .concept-field span:nth-child(2) { justify-self: center; }
  .concept-field span:nth-child(3) { justify-self: end; }
  .credits-section { gap: 4rem; }
}

@media (max-width: 620px) {
  :root { --header: 64px; }
  .brand-mark { width: 48px; height: 48px; }
  .project-title { font-size: clamp(4rem, 21vw, 6.6rem); }
  .hero-meta { margin-top: 1rem; }
  .scale-pair,
  .human-pair,
  .encounter-pair,
  .interface-pair,
  .threshold-pair,
  .triptych { grid-template-columns: 1fr; }
  .scale-pair figure:first-child,
  .single-wide,
  .single-wide--narrow,
  .transit-frame { width: 100%; }
  .triptych figure:nth-child(2) { transform: none; }
  .meta-list div,
  .credits div { grid-template-columns: 6rem minmax(0, 1fr); }
  .project-return { grid-template-columns: 1fr auto; }
  .project-return > span:first-child { grid-column: 1 / -1; }
  .site-footer { flex-direction: column; }
  .site-footer span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
