/* Architectural films stay full bleed. The project sheets use a warm drawing-paper ground. */
:root {
  --sheet: #eeeae2;
  --sheet-ink: #25251f;
  --sheet-note: #59594f;
  --sheet-rule: #bab7ac;
}
body { background: var(--night); }
.site-header.over-paper { color: var(--sheet-ink); }
.site-header.over-paper .brand-logo { filter: invert(1); }
.site-header.over-paper::before {
  background: linear-gradient(to bottom, var(--sheet) 0%, rgba(238,234,226,.96) 50%, transparent);
}
#collection { scroll-margin-top: 0; }
.chapter.chapter-hero { width: max-content; max-width: calc(100% - 2 * var(--page-x)); bottom: 13.5%; }
body .chapter-hero h1 {
  font-size: clamp(3.75rem, 7.8vw, 8.4rem);
  line-height: .96;
  letter-spacing: -.065em;
  text-shadow: 0 2px 32px rgba(14,14,18,.27);
}
.chapter-hero .text-link {
  margin-top: 1.55rem;
  padding: .65rem 1rem;
  min-height: 44px;
  border: 1px solid rgba(246,241,232,.69);
  border-radius: 3rem;
  background: #17171b66;
  color: #faf7ef;
  font-size: .87rem;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: blur(12px);
  transition: background-color .25s;
}
.chapter-hero .text-link:hover, .chapter-hero .text-link:focus-visible { background: #222123da; }
.scene-curve, [data-counter], .journey-progress [data-phase] { display: none; }
.scene-shade {
  background: linear-gradient(180deg, rgba(9,12,18,.43),transparent 24%,transparent 52%,rgba(10,12,16,.64)),
              linear-gradient(270deg, rgba(16,16,23,.37),transparent 62%);
}
.journey-meta { inset: auto auto 2.35rem var(--page-x); color: #f5eee5; font-size: .8rem; text-transform: none; }
.journey-progress { bottom: 2.65rem; width: clamp(5rem, 9vw, 9rem); }
.journey .scroll-cue {
  display: block; bottom: 2.2rem;
  color: #f5eee5; font-size: .75rem; text-transform: none;
}
.journey .scroll-cue::after { content: ' ↓'; }
#approach.approach {
  grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr);
  gap: clamp(2.4rem,7vw,9rem);
  align-items: center;
  padding-bottom: clamp(5.5rem,10vw,11rem);
  color: var(--paper);
}
.journey + #approach { padding-top: clamp(9rem,13vw,15rem); }
#approach::before { display: none; }
.approach-image { margin: 0; }
.approach-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.32; object-fit: cover; }
.approach-image figcaption, .dossier-image figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: .79rem; padding-top: .7rem;
}
.approach-image figcaption span { color: #bcb9b3; }
#approach .approach-heading { position: static; }
#approach h2 { margin: 0; font-size: clamp(3rem,5.45vw,6.8rem); letter-spacing: -.065em; line-height: .99; }
.approach-heading > p { max-width: 38ch; margin: 1.5rem 0 1.75rem; color: #d1cec7; font-size: clamp(1rem,1.22vw,1.2rem); }
.approach-links { max-width: 33rem; }
.approach-links a, .collection-index a {
  display: flex; align-items: center; justify-content: space-between; gap: 1.75rem;
  min-height: 48px; padding: .65rem 0; font-weight: 600;
  border-bottom: 1px solid #f0ece536;
}
.approach-links a:first-child { border-top: 1px solid #f0ece536; }
.approach-links a:hover, .collection-index a:hover { text-decoration: underline; text-underline-offset: .2em; }
body .residence-light .light-heading > p:last-child { display: block; margin-top: .4em; color: #f3eee7; }
.collection, .project-questions {
  color-scheme: light; background: var(--sheet); color: var(--sheet-ink);
}
.collection { padding-block: clamp(6.5rem,8vw,9rem) clamp(3rem,6vw,6rem); }
.collection-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  max-width: none; padding-bottom: 1.35rem; margin-bottom: clamp(2.7rem,5vw,5.5rem);
  border-bottom: 1px solid var(--sheet-rule);
}
.collection-heading h2, .project-questions h2, .contact h2 {
  margin: 0; font-size: clamp(3.4rem,7.75vw,8.5rem); line-height: .98; letter-spacing: -.065em;
}
.collection-index { display: flex; gap: clamp(1.2rem,3vw,3rem); }
.collection-index a { font-size: .89rem; gap: .75rem; border: 0; }
.project-dossier { align-items: start; gap: clamp(2rem,6vw,7rem); }
.dossier-image > img, .dossier-palm .dossier-image > img { aspect-ratio: 1.1; max-height: 72svh; }
.dossier-palm { padding-top: clamp(2rem,4vw,4rem); border-top: 1px solid var(--sheet-rule); }
.collection .dossier-image figcaption, .collection .dossier-image figcaption span { color: var(--sheet-note); }
.dossier-copy > .eyebrow { margin: .08rem 0 .7rem; letter-spacing: .06em; color: var(--sheet-note); }
.dossier-copy h3 { font-size: clamp(2.7rem,4.45vw,5.3rem); line-height: 1; letter-spacing: -.06em; margin: 0 0 1rem; }
.collection .dossier-copy > p:not(.eyebrow):not(.source-note):not(.plans-label) { color: var(--sheet-ink); max-width: 40ch; }
.collection .dossier-action { margin: .35rem 0 .4rem; }
.collection .text-link { min-height: 44px; letter-spacing: 0; font-size: .94rem; text-transform: none; align-items: center; }
.collection .text-link + .text-link { margin-left: 1.4rem; }
.collection .project-facts dt, .collection .source-note, .collection .plan-content p,
.collection .plan-content a > span, .project-questions .questions-list details p { color: var(--sheet-note); }
.collection .project-facts > div, .collection details, .project-questions details { border-color: var(--sheet-rule); }
.collection .project-facts { margin: 1.5rem 0; }
.collection summary, .project-questions summary { min-height: 48px; }
.collection summary b, .project-questions summary b { color: var(--sheet-ink); }
.collection summary:focus-visible, .project-questions summary:focus-visible, .collection a:focus-visible { outline-color: var(--sheet-ink); }
.collection .dossier-copy .source-note { margin-bottom: .75rem; }
.project-questions { border-top: 1px solid var(--sheet-rule); padding-block: clamp(3rem,6vw,7rem); }
.project-questions h2 { max-width: 8ch; font-size: clamp(2.6rem,4.45vw,5.3rem); }
.contact {
  min-height: 0; margin-top: 0; padding-block: clamp(4.5rem,9vw,9rem) 2rem;
  background: var(--night);
}
.contact h2 { font-size: clamp(3.8rem,8.3vw,9rem); }
.contact-context { margin: 1.2rem 0 0; }
.contact-link { margin-top: 2.3rem; }
.contact footer { padding-top: clamp(3rem,6vw,7rem); }
@media (max-width: 800px) {
  .chapter.chapter-hero { bottom: 14%; }
  body .chapter-hero h1 { font-size: clamp(2.8rem,14.4vw,6.2rem); }
  .journey-meta { bottom: 2rem; font-size: .72rem; }
  .journey .scroll-cue { left: auto; right: var(--page-x); bottom: 2rem; transform: none; }
  .journey-progress { left: var(--page-x); right: var(--page-x); width: auto; bottom: 1.25rem; }
  #approach.approach { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  #approach .approach-heading { grid-row: 1; }
  .approach-image img { aspect-ratio: 1.55; }
  .approach-links { max-width: none; }
  .collection-heading { display: block; }
  .collection-index { margin-top: .7rem; flex-wrap: wrap; }
  .project-dossier { gap: 1.65rem; }
  .dossier-image, .dossier-palm .dossier-image { position: static; }
  .dossier-image > img, .dossier-palm .dossier-image > img { aspect-ratio: 1.5; }
  .dossier-palm { padding-bottom: 0; }
  .project-questions h2 { max-width: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .journey-sticky { min-height: 100svh; }
  body .chapter-hero h1 { font-size: clamp(2.65rem,7.4svh,4rem); }
  .chapter-hero .text-link { margin-top: .5rem; }
  .journey .scroll-cue, .journey-meta { bottom: 1rem; }
  .journey-progress { bottom: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .journey .scroll-cue { display: none; }
  .chapter-hero { pointer-events: auto; }
  .chapter-hero .text-link { transition: none; }
}
