:root {
  color-scheme: dark;
  --bg: #070707;
  --text: #f0f0ed;
  --muted: #969696;
  --soft: #d7d7d3;
  --line: rgba(255, 255, 255, .16);
  --paper: #d8d8d4;
  --ink: #080808;
  --pad: clamp(1.15rem, 3vw, 2.75rem);
  --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: Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; height: auto; }
figure { margin: 0; }
button { font: inherit; }
cite { font-style: italic; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  background: #fff;
  color: #000;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  z-index: 30;
  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(7, 7, 7, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  color: var(--muted);
  font-size: .86rem;
}

.site-nav a { transition: color .25s ease; }
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] { color: var(--text); }

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

.project-hero {
  display: grid;
  min-height: calc(88svh - var(--header));
  align-content: space-between;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--pad) clamp(2.5rem, 5vw, 4.5rem);
}

.project-index,
.section-label,
.meta-list dt,
.credits dt {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-title {
  margin: clamp(5rem, 10vw, 9rem) 0 0;
  font-size: clamp(4.7rem, 12vw, 12.5rem);
  font-weight: 500;
  line-height: .78;
  letter-spacing: -.075em;
}

.project-title span { display: block; }

.project-title .title-secondary {
  max-width: 13ch;
  margin: 1.4rem 0 0 34%;
  color: var(--soft);
  font-size: .31em;
  line-height: .95;
  letter-spacing: -.05em;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

.hero-meta span:nth-child(2) { text-align: center; }
.hero-meta span:last-child { text-align: right; }

.hero-frame {
  padding: clamp(1.5rem, 3vw, 3rem) var(--pad) clamp(4rem, 9vw, 9rem);
  background: #000;
}

.hero-frame img {
  width: min(100%, 100rem);
  margin-inline: auto;
}

.overview {
  display: grid;
  grid-template-columns: minmax(13rem, .72fr) minmax(0, 1.28fr);
  gap: clamp(4rem, 11vw, 13rem);
  padding: clamp(7rem, 12vw, 13rem) var(--pad);
  border-bottom: 1px solid var(--line);
}

.meta-list {
  display: grid;
  align-content: start;
  gap: 1.7rem;
  margin: 0;
}

.meta-list div {
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}

.meta-list dd {
  margin: .42rem 0 0;
  color: var(--soft);
  font-size: .88rem;
  line-height: 1.5;
}

.overview-copy > p {
  max-width: 24ch;
  margin: 0;
  color: var(--soft);
  font-size: clamp(2rem, 4.4vw, 5rem);
  line-height: .99;
  letter-spacing: -.052em;
}

.overview-detail {
  display: grid;
  max-width: 60rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem clamp(1.5rem, 3vw, 3.5rem);
  margin-top: 3.5rem;
}

.overview-detail p,
.living-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(.98rem, 1.25vw, 1.14rem);
  line-height: 1.55;
  letter-spacing: -.015em;
}

.overview-detail p:last-child {
  color: var(--soft);
  font-size: clamp(1.3rem, 2.1vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.language-field {
  padding: clamp(7rem, 13vw, 14rem) var(--pad);
  background: var(--paper);
  color: var(--ink);
}

.language-head {
  display: grid;
  grid-template-columns: minmax(10rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding-bottom: clamp(5rem, 10vw, 10rem);
  border-bottom: 1px solid rgba(0, 0, 0, .22);
}

.language-head .section-label { color: rgba(0, 0, 0, .48); }

.language-head > p:last-child {
  max-width: 31ch;
  margin: 0;
  font-size: clamp(1.7rem, 3.3vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.language-terms {
  display: grid;
  gap: 0;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.language-terms span {
  display: block;
  font-size: clamp(3.9rem, 11.6vw, 12rem);
  font-weight: 500;
  line-height: .83;
  letter-spacing: -.075em;
}

.language-terms span:nth-child(2),
.language-terms span:nth-child(4) {
  justify-self: end;
}

.language-terms span:nth-child(3) { margin-left: 12%; }

.language-note {
  width: min(32rem, 48%);
  margin: 0 0 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, .22);
  color: rgba(0, 0, 0, .58);
  font-size: .95rem;
  line-height: 1.55;
}

.living-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
  gap: clamp(4rem, 10vw, 12rem);
  padding: clamp(8rem, 14vw, 15rem) var(--pad);
  border-bottom: 1px solid var(--line);
}

.living-intro h2,
.credits-section h2 {
  margin: 1.5rem 0 0;
  font-size: clamp(4rem, 9.7vw, 10rem);
  font-weight: 500;
  line-height: .84;
  letter-spacing: -.072em;
}

.living-copy {
  display: grid;
  align-content: end;
  gap: 1.5rem;
}

.living-status {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(5rem, 9vw, 9rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.living-status span:nth-child(2) { text-align: center; }
.living-status span:last-child { text-align: right; }

.credits-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  gap: clamp(4rem, 10vw, 12rem);
  padding: clamp(8rem, 13vw, 14rem) var(--pad);
  background: #d7d7d3;
  color: var(--ink);
}

.credits-section .section-label,
.credits dt { color: rgba(0, 0, 0, .5); }

.credits {
  display: grid;
  align-content: end;
  gap: 1.5rem;
  margin: 0;
}

.credits div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(0, 0, 0, .22);
}

.credits dd {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.project-return {
  display: grid;
  min-height: 48svh;
  grid-template-columns: 1fr auto;
  align-content: center;
  padding: clamp(5rem, 10vw, 10rem) var(--pad);
  border-bottom: 1px solid var(--line);
}

.project-return > span:first-child {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-return strong {
  font-size: clamp(5rem, 13vw, 13rem);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.075em;
}

.project-return > span:last-child {
  align-self: end;
  padding-bottom: .8rem;
  color: var(--muted);
  font-size: 2rem;
}

.site-footer {
  display: flex;
  min-height: 116px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem var(--pad);
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.45;
}

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

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .85s ease, transform .85s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  :root { --header: 64px; }

  .site-header { min-height: var(--header); }
  .brand-mark { width: 48px; height: 48px; }
  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 0;
    display: none;
    align-content: start;
    align-items: start;
    flex-direction: column;
    gap: 0;
    padding: 2rem var(--pad);
    background: rgba(7, 7, 7, .98);
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: .45rem 0; }

  .project-hero { min-height: calc(84svh - var(--header)); }

  .project-title {
    font-size: clamp(4rem, 22vw, 7rem);
    line-height: .82;
  }

  .project-title .title-secondary {
    max-width: 11ch;
    margin: 1.3rem 0 0;
    font-size: .42em;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: .45rem;
    margin-top: 4rem;
  }

  .hero-meta span:nth-child(2),
  .hero-meta span:last-child { text-align: left; }

  .overview,
  .language-head,
  .living-section,
  .credits-section {
    grid-template-columns: 1fr;
  }

  .overview { gap: 4rem; }
  .overview-detail { grid-template-columns: 1fr; }

  .language-terms span {
    font-size: clamp(3.25rem, 17vw, 6rem);
    line-height: .9;
  }

  .language-terms span:nth-child(3) { margin-left: 0; }
  .language-note { width: 100%; }

  .living-status {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .living-status span:nth-child(2),
  .living-status span:last-child { text-align: left; }

  .credits-section h2 { font-size: clamp(3.7rem, 18vw, 6rem); }
  .credits div { grid-template-columns: 1fr; gap: .4rem; }

  .project-return { min-height: 38svh; }
  .project-return strong { font-size: clamp(4.5rem, 22vw, 8rem); }

  .site-footer {
    min-height: 150px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
