/* Photographic trial: image-led titles, quiet backgrounds for long copy. */
.dossier-hero.photo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: none;
  min-height: 620px;
  padding: 5rem 5vw 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: #fff;
  background: #090909;
  margin-bottom: 2.5vw;
}
.photo-hero .photo-background {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%; z-index: -2;
}
.photo-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.12) 90%),
              linear-gradient(0deg, rgba(0,0,0,.6), transparent 75%);
}
.photo-hero h1 { max-width: 920px; font-size: clamp(3rem,8vw,8rem); }
.photo-hero h1 em, .photo-hero .dossier-byline span { color: inherit; }
.photo-hero .dossier-byline { font-size: .875rem; }
.photo-hero .eyebrow { font-size: .875rem; }
.project.project-large.photo-project, .moraine-lead.photo-project {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.photo-project .project-image {
  position: relative; aspect-ratio: 1.85; min-height: 480px; background: #090909;
  width: calc(100% + 10vw); margin-left: -5vw;
}
.photo-project .project-image img { object-position: center 45%; }
.photo-project .project-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.82), transparent 85%);
  pointer-events: none;
}
.photo-project .photo-title { position: absolute; left: 5vw; bottom: 3vw; z-index: 1; color: #fff; }
.photo-title h2 {
  font-size: clamp(2.5rem,6.4vw,6.4rem); line-height: .98; letter-spacing: -.06em;
  margin: 0; font-weight: 600;
}
.photo-title .project-number { color: #fff; margin-bottom: 1rem; font-size: .875rem; }
.photo-project .project-meta { max-width: none; display: flex; gap: 3rem; justify-content: space-between; align-items: center; }
.photo-project .project-meta p:not(.project-number) { max-width: 650px; font-size: 1rem; margin: 0; }
.photo-project .text-link { margin-top: 0; flex-shrink: 0; }
.architecture-gallery { grid-template-columns: 1fr; margin-top: 2vw; }
.architecture-gallery .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
.architecture-gallery .gallery img { aspect-ratio: 1.5; height: auto; object-fit: contain; }
.architecture-photo-pair {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 1.5rem; align-items: center; margin: 5vw 5vw 0;
}
.architecture-photo-pair img { display: block; width: 100%; height: auto; }
.architecture-photo-pair img:first-child { max-height: 680px; object-fit: contain; }
.dossier-image.photo-addition { margin: 5vw 5vw 0; max-width: none; background: transparent; }
.dossier-image.photo-addition img { height: auto; object-fit: contain; }
.contact-section.photo-contact {
  position: relative; isolation: isolate; overflow: hidden; background: #080808;
  color: #fff; min-height: 480px; padding: 2rem 5vw 4rem;
  grid-template-columns: minmax(0,1fr) minmax(0,2fr); margin-top: 3rem;
}
.photo-contact .photo-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.photo-contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(0,0,0,.35),rgba(0,0,0,.1)), linear-gradient(0deg,rgba(0,0,0,.6),transparent 70%); }
.photo-contact .section-label { border-color: rgba(255,255,255,.4); font-size: .875rem; }
.photo-contact .section-label span:first-child { color: #fff; }
.photo-contact .contact-content { padding: 6vw 0 0; min-width: 0; }
.photo-contact .contact-content a { color: #fff; border-color: rgba(255,255,255,.7); font-size: .875rem; overflow-wrap: anywhere; }
.photo-contact .contact-content a:hover { opacity: 1; border-color: #fff; }
.photo-contact a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media(max-width:700px) {
  .dossier-hero.photo-hero { min-height: 620px; padding: 3rem 6vw 2rem; }
  .photo-hero h1 { font-size: clamp(2.6rem,10.5vw,4.2rem); letter-spacing: -.055em; overflow-wrap: normal; }
  .photo-hero .dossier-byline { font-size: .875rem; }
  .photo-hero .photo-background { object-position: 56% center; }
  .photo-project .project-image { min-height: 420px; aspect-ratio: .9; width: calc(100% + 12vw); margin-left: -6vw; }
  .photo-project .photo-title { left: 6vw; bottom: 2rem; right: 6vw; }
  .photo-title h2 { font-size: clamp(2.1rem,9vw,3.6rem); }
  .photo-project .project-meta { display: block; }
  .photo-project .text-link { margin-top: 1rem; }
  .architecture-gallery .gallery { grid-template-columns: 1fr; gap: 1.5rem; }
  .architecture-photo-pair { grid-template-columns: 1fr; margin: 8vw 6vw 0; }
  .dossier-image.photo-addition { margin: 8vw 6vw 0; }
  .contact-section.photo-contact { grid-template-columns: 1fr; gap: 1rem; min-height: 500px; padding: 1.5rem 6vw 3rem; }
  .photo-contact .section-label { padding-bottom: 1rem; }
  .photo-contact .contact-content { padding-top: 1rem; justify-content: flex-end; }
  .photo-contact .contact-content h2 { font-size: clamp(3rem,14vw,5rem); }
}

/* Borderless photographic rhythm: full bleed and compact staggered pairs. */
.architecture-gallery .gallery {
  grid-template-columns: repeat(12,minmax(0,1fr)); gap: 1rem 1.5vw; align-items: start;
}
.architecture-gallery .gallery img {
  aspect-ratio: auto; height: auto; padding: 0;
  border: 0; background: transparent;
}
.architecture-gallery .gallery img:nth-child(1) {
  grid-column: 1 / -1; width: calc(100% + 10vw); margin-left: -5vw;
  padding: 0; border: 0; background: none;
}
.architecture-gallery .gallery img:nth-child(2) { grid-column: 2 / 7; margin-top: 1rem; }
.architecture-gallery .gallery img:nth-child(3) { grid-column: 8 / -1; margin-top: 2.5vw; }
.architecture-gallery .gallery img:nth-child(4) { grid-column: 3 / 11; margin-top: 1rem; padding: 0; }
.moraine-gallery { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 1.25rem; align-items: start; }
.moraine-gallery img { aspect-ratio: auto; height: auto; }
.moraine-gallery img:first-child { grid-column: 1 / -1; width: calc(100% + 10vw); margin-left: -5vw; }
.moraine-gallery img:last-child { grid-column: 4 / 12; padding: 0; border: 0; background: transparent; }
.dossier-page .dossier-image-landscape {
  max-width: none; width: 100%; margin-left: 0; margin-right: 0; aspect-ratio: auto;
}
.dossier-page .dossier-image-landscape img { height: auto; }
.dossier-page .dossier-image-portrait {
  width: min(64%,850px); max-width: none; margin-left: 5vw; margin-right: auto;
  aspect-ratio: auto; padding: 0; border: 0; background: transparent;
}
.dossier-page .dossier-image-portrait img { height: auto; object-fit: contain; }
.dossier-page .dossier-image-small { width: 38%; margin-left: 54%; }
.architecture-photo-pair { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 2vw; align-items: start; }
.architecture-photo-pair img { padding: 0; border: 0; background: transparent; }
.architecture-photo-pair img:first-child { grid-column: 2 / 7; max-height: none; }
.architecture-photo-pair img:last-child { grid-column: 8 / -1; margin-top: 2.5vw; }
.dossier-image.photo-addition { margin: 3vw 0 0; width: 100%; }
.moraine-dossier-grid { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 2vw; align-items: start; }
.moraine-dossier-grid img { aspect-ratio: auto; height: auto; }
.moraine-dossier-grid img:first-child { grid-column: 1 / 8; }
.moraine-dossier-grid img:last-child { grid-column: 9 / -1; margin-top: 2.5vw; padding: 0; border: 0; background: transparent; }
@media(max-width:700px) {
  .architecture-gallery .gallery, .moraine-gallery, .architecture-photo-pair, .moraine-dossier-grid { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .architecture-gallery .gallery img:nth-child(n), .moraine-gallery img:first-child, .moraine-gallery img:last-child,
  .architecture-photo-pair img:first-child, .architecture-photo-pair img:last-child,
  .moraine-dossier-grid img:first-child, .moraine-dossier-grid img:last-child { grid-column: 1; margin-top: 0; }
  .architecture-gallery .gallery img:first-child, .moraine-gallery img:first-child { width: calc(100% + 12vw); margin-left: -6vw; }
  .architecture-gallery .gallery img:nth-child(2) { width: 85%; justify-self: start; }
  .architecture-gallery .gallery img:nth-child(3) { width: 85%; justify-self: end; }
  .moraine-gallery img:last-child, .architecture-gallery .gallery img:nth-child(4) { padding: 0; }
  .dossier-page .dossier-image-portrait { width: 84%; margin-left: 6vw; padding: 0; }
  .dossier-page .dossier-image-small { width: 76%; margin-left: 18%; }
  .architecture-photo-pair img, .moraine-dossier-grid img:last-child { padding: 0; }
  .architecture-photo-pair img:last-child { width: 90%; justify-self: end; }
}

/* Reduce the gaps around photo sequences and long-copy sections. */
.moraine-project { margin-top: 5vw; }
.moraine-gallery { margin-top: 2.5vw; }
.architecture-photo-pair, .moraine-dossier-grid { margin-top: 3vw; }
.dossier-page .dossier-copy { margin-top: 3vw; padding-top: 3vw; padding-bottom: 2vw; }
@media(max-width:700px) {
  .moraine-project { margin-top: 3rem; }
  .moraine-gallery, .architecture-photo-pair, .moraine-dossier-grid, .dossier-image.photo-addition { margin-top: 1.5rem; }
  .dossier-page .dossier-copy { margin-top: 2rem; padding-top: 2rem; padding-bottom: 1rem; }
}

/* Exact display crop of IMG_9159: x=0, y=400, w=950, h=820.
   Preserve the original photograph and every performer from head to toe. */
.photo-project.architecture-contact-title .project-image,
.dossier-hero.photo-hero.architecture-contact-title {
  aspect-ratio: 95 / 82;
  min-height: 0;
  box-sizing: border-box;
}
.architecture-crop-window { display: block; position: relative; overflow: hidden; width: 100%; height: 100%; }
.architecture-contact-title .architecture-crop-window img {
  position: absolute; left: 0; top: -48.7804878%;
  width: 202.1052632%; max-width: none; height: 156.097561%;
  object-fit: fill; object-position: initial;
}
.dossier-hero.architecture-contact-title { padding: 1.5rem 5vw; }
.dossier-hero.architecture-contact-title h1 { font-size: clamp(2rem, 6vw, 8rem); }
@media (max-width: 700px) {
  .dossier-hero.architecture-contact-title { padding: 1rem 6vw; }
  .dossier-hero.architecture-contact-title h1 { margin: .75rem 0; }
  .dossier-hero.architecture-contact-title .dossier-byline { font-size: .75rem; }
}

/* MORAINE photographic trial: borderless images and two short text overlays. */
.moraine-dossier .moraine-new-photo { margin: 2vw 0; padding: 0; }
.moraine-new-photo img { display: block; width: 100%; height: auto; }
.moraine-dossier .moraine-new-photo-portrait { width: min(54%, 720px); margin: 2vw 8vw 2vw auto; }
.moraine-dossier .moraine-photo-story {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr);
  margin: 2vw 0; padding: 0; border: 0; color: #fff; background: #111916;
}
.moraine-photo-story > img { grid-area: 1 / 1; display: block; width: 100%; height: auto; align-self: start; }
.moraine-photo-story::after {
  content: ''; grid-area: 1 / 1; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.48) 35%, transparent 75%);
}
.moraine-photo-story .moraine-story-copy { grid-area: 1 / 1; position: relative; z-index: 2; padding: 4vw 5vw; align-self: start; max-width: 800px; }
.moraine-photo-story blockquote { margin: 0; padding: 0; border: 0; font-size: clamp(1.25rem,2.5vw,2.5rem); line-height: 1.35; }
.moraine-photo-story cite { display: block; margin-top: 1rem; font: 500 .875rem 'DM Mono',monospace; font-style: normal; }
.moraine-photo-story .eyebrow { color: #fff; margin: 0 0 1.25rem; }
.moraine-photo-story p:not(.eyebrow) { font-size: clamp(1rem,1.5vw,1.25rem); line-height: 1.55; margin: 0; }
.moraine-photo-story.moraine-costume-story::after { background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.56) 35%, transparent 80%); }
.moraine-costume-story .moraine-story-copy { align-self: end; }
@media (max-width: 700px) {
  .moraine-dossier .moraine-new-photo, .moraine-dossier .moraine-photo-story { margin-top: 1.5rem; margin-bottom: 1.5rem; }
  .moraine-dossier .moraine-new-photo-portrait { width: 84%; margin-right: 6vw; }
  .moraine-photo-story .moraine-story-copy { padding: 1.5rem 6vw; }
  .moraine-photo-story blockquote { font-size: 1.125rem; }
  .moraine-photo-story cite { font-size: .875rem; }
  .moraine-photo-story::after { background: linear-gradient(180deg, rgba(0,0,0,.86), rgba(0,0,0,.5)); }
  .moraine-photo-story.moraine-costume-story::after { background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,.25)); }
}

/* Architetture: alternate full-width scenes, inset photographs and short overlays. */
.architecture-dossier .architecture-photo-story {
 position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr);
 margin: 2vw 0; color: #fff; background: #111; border: 0;
}
.architecture-photo-story > img { grid-area: 1 / 1; display: block; width: 100%; height: auto; align-self: end; }
.architecture-photo-story::after { content: ''; grid-area: 1 / 1; z-index: 1; pointer-events: none; background: linear-gradient(180deg,rgba(0,0,0,.88),rgba(0,0,0,.58) 40%,rgba(0,0,0,.08)); }
.architecture-story-copy { grid-area: 1 / 1; z-index: 2; position: relative; padding: 4vw 5vw; max-width: 680px; align-self: start; }
.architecture-story-copy p { margin: 0; font-size: clamp(1.25rem,2.3vw,2rem); line-height: 1.4; }
.architecture-inset-photo { width: min(50%,640px); margin: 2vw 5vw 2vw auto; }
.architecture-inset-photo img { display: block; width: 100%; height: auto; }
.architecture-dossier .dossier-image-small { margin-top: 2vw; }
@media(max-width:700px) {
 .architecture-dossier .architecture-photo-story { margin: 1.5rem 0; }
 .architecture-story-copy { padding: 1.5rem 6vw; }
 .architecture-story-copy p { font-size: 1.125rem; }
 .architecture-photo-story::after { background: linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,.5)); }
 .architecture-inset-photo { width: 78%; margin: 1.5rem 6vw 1.5rem auto; }
 .architecture-dossier .dossier-image-small { margin-top: 1.5rem; }
}

.architecture-trailer { margin: 3vw 5vw; }
.architecture-trailer video { display: block; width: 100%; height: auto; background: #111; }
@media(max-width:700px) { .architecture-trailer { margin: 2rem 6vw; } }
