:root {
  color-scheme: dark;
  --bg: #070707;
  --text: #f2f0eb;
  --muted: #969590;
  --soft: #d4d1ca;
  --paper: #e8e4dc;
  --paper-ink: #11110f;
  --line: rgba(255, 255, 255, .16);
  --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; }

.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 { 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-index,
.hero-pretitle,
.section-label,
.media-frame figcaption,
.meta-list dt,
.credits dt {
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.45;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

.hero-title-wrap { align-self: center; }

.hero-pretitle {
  margin-bottom: clamp(1.4rem, 3vw, 2.8rem);
  text-align: center;
}

.project-title {
  margin: 0;
  font-size: clamp(3.25rem, 12.2vw, 12.5rem);
  font-weight: 300;
  line-height: .8;
  letter-spacing: .012em;
  text-align: center;
}

.title-secondary {
  margin: clamp(1.4rem, 3vw, 2.6rem) 0 0;
  color: var(--soft);
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  text-align: center;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  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-image {
  padding: clamp(1rem, 2.6vw, 3rem) var(--pad) clamp(5rem, 9vw, 9rem);
  border-bottom: 1px solid var(--line);
  background: #030303;
}

.hero-image img { background: #030303; }

.overview {
  display: grid;
  grid-template-columns: minmax(13rem, .68fr) minmax(0, 1.32fr);
  gap: clamp(4rem, 11vw, 13rem);
  padding: clamp(7rem, 12vw, 13rem) var(--pad);
  background: var(--paper);
  color: var(--paper-ink);
}

.overview .meta-list dt { color: rgba(0, 0, 0, .5); }

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

.meta-list div { padding-top: .85rem; border-top: 1px solid rgba(0, 0, 0, .22); }

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

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

.overview-detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem clamp(1.5rem, 3vw, 3.5rem);
  max-width: 62rem;
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, .22);
}

.overview-detail p,
.section-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 { color: rgba(0, 0, 0, .62); }

.phase {
  padding: clamp(8rem, 14vw, 15rem) var(--pad);
  border-bottom: 1px solid var(--line);
}

.phase-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, .82fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.phase-head h2,
.closing-copy h2,
.credits-section h2 {
  max-width: 12ch;
  margin: .8rem 0 0;
  font-size: clamp(3rem, 6.7vw, 7rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.062em;
}

.section-copy {
  display: grid;
  gap: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.phase--construction,
.phase--motion {
  background: var(--paper);
  color: var(--paper-ink);
}

.phase--construction .section-label,
.phase--construction .media-frame figcaption,
.phase--motion .section-label,
.phase--motion .media-frame figcaption { color: rgba(0, 0, 0, .5); }

.phase--construction .section-copy,
.phase--motion .section-copy { border-color: rgba(0, 0, 0, .22); }

.phase--construction .section-copy p,
.phase--motion .section-copy p { color: rgba(0, 0, 0, .62); }

.paper-sequence,
.story-grid,
.architecture-grid,
.final-grid {
  display: grid;
  gap: clamp(3.5rem, 8vw, 9rem);
}

.paper-sequence { gap: clamp(3rem, 6vw, 6rem); }

/* Keep the technical sheets close to their native detail scale on wide screens. */
.phase--construction .paper-sequence .media-frame {
  width: 50%;
  margin-inline: auto;
}

/* The opening architecture sheet remains a lead image, but no longer spans the full field. */
.phase--architecture > .media-frame--paper {
  width: 70%;
  margin-inline: auto;
}

.architecture-grid,
.story-grid,
.final-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4.5rem);
  margin-top: clamp(3rem, 6vw, 7rem);
}

.final-grid .media-frame {
  width: 85%;
  margin-inline: auto;
}

.final-grid--single {
  grid-template-columns: minmax(0, 42.5%);
  justify-content: center;
}

.final-grid--single .media-frame { width: 100%; }

.media-frame--bridge {
  width: 61.5%;
  margin: clamp(3rem, 6vw, 7rem) auto 0;
}

.media-frame { min-width: 0; }

.media-frame img {
  background: #111;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .1);
}

.phase--architecture .media-frame--paper img { background: var(--paper); }

.media-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

.phase--construction .media-frame figcaption,
.phase--motion .media-frame figcaption { border-color: rgba(0, 0, 0, .18); }

.phase--architecture { background: #080808; }

.phase--resolve {
  background: #b8b8b5;
  color: var(--paper-ink);
}

.phase--resolve .section-label,
.phase--resolve .media-frame figcaption { color: rgba(0, 0, 0, .52); }

.phase--resolve .section-copy,
.phase--resolve .media-frame figcaption { border-color: rgba(0, 0, 0, .22); }

.phase--resolve .section-copy p { color: rgba(0, 0, 0, .64); }

.media-frame--title img {
  background: #000;
  box-shadow: none;
}

.phase--resolve > .media-frame--title img { background: #b8b8b5; }

.closing-state {
  display: grid;
  grid-template-columns: minmax(19rem, .65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  padding: clamp(7rem, 12vw, 13rem) var(--pad);
  border-bottom: 1px solid var(--line);
}

.closing-copy h2 { max-width: 9ch; }
.closing-image img { background: #000; }

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

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

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

.credits dd {
  margin: .4rem 0 0;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.45;
}

.project-return {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad);
  border-bottom: 1px solid var(--line);
}

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

.project-return strong {
  font-size: clamp(2.4rem, 5.5vw, 5.8rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

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

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    z-index: 25;
    inset: var(--header) 0 0;
    display: none;
    align-content: start;
    align-items: stretch;
    gap: 0;
    padding: 2rem var(--pad);
    background: rgba(7, 7, 7, .98);
  }

  .site-nav.is-open { display: grid; }
  .site-nav a { padding: .75rem 0; font-size: clamp(1.4rem, 5vw, 2.5rem); }

  .project-title { font-size: clamp(3.2rem, 12.5vw, 7rem); }
  .overview,
  .phase-head,
  .closing-state,
  .credits-section { grid-template-columns: 1fr; }

  .overview,
  .phase-head,
  .closing-state,
  .credits-section { gap: clamp(3rem, 8vw, 5rem); }

  .overview-detail { grid-template-columns: 1fr; max-width: 40rem; }
  .phase-head { align-items: start; }

  .phase--construction .paper-sequence .media-frame { width: 70%; }
  .phase--architecture > .media-frame--paper { width: 85%; }
  .media-frame--bridge { width: 69%; }
  .final-grid .media-frame { width: 92%; }
  .final-grid--single { grid-template-columns: minmax(0, 46%); }
  .final-grid--single .media-frame { width: 100%; }
}

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

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

  .project-title {
    font-size: clamp(2.75rem, 12.8vw, 5rem);
    letter-spacing: -.01em;
  }

  .hero-pretitle { margin-bottom: 1.2rem; }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

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

  .phase,
  .overview,
  .closing-state,
  .credits-section { padding-block: clamp(5.5rem, 18vw, 8rem); }

  .architecture-grid,
  .story-grid,
  .final-grid,
  .final-grid--single { grid-template-columns: 1fr; }

  .phase--construction .paper-sequence .media-frame,
  .phase--architecture > .media-frame--paper,
  .media-frame--bridge,
  .final-grid .media-frame { width: 100%; }

  .phase-head h2,
  .closing-copy h2,
  .credits-section h2 { font-size: clamp(2.7rem, 14vw, 4.5rem); }

  .project-return { grid-template-columns: 1fr auto; }
  .project-return > span:first-child { grid-column: 1 / -1; }

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

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