/* detalle de proyecto */
.project-hero {
  display:flex;
  min-height:78svh;
  align-items:flex-end;
  background:var(--ink);
  color:var(--bone);
}
.project-hero .container {
  padding-top:8rem;
  padding-bottom:4rem;
}
.project-hero h1, .not-found h1 {
  margin:0;
  font-family:Georgia,Times New Roman,serif;
  font-size:clamp(2.38rem,5.33vw,4.75rem);
  font-weight:400;
  letter-spacing:-.06em;
  line-height:.85;
}
.project-meta {
  display:grid;
  gap:1.25rem;
  margin-top:3rem;
  padding-top:1.5rem;
  border-top:1px solid #454945;
}
.project-meta p {
  margin:0;
  font-size:.8rem;
}
.project-meta span {
  display:block;
  margin-bottom:.4rem;
  color:#a9aea9;
  font-size:.62rem;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.cover {
  position:relative;
  margin:0;
  background:#d8d4c9;
}
.cover img {
  width:100%;
  max-height:95svh;
  object-fit:cover;
}
.cover figcaption {
  position:absolute;
  right:1rem;
  bottom:1rem;
  padding:.35rem .5rem;
  background:#1f1d1bbf;
  color:#fff;
  font-size:.6rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.overview {
  display:grid;
  gap:2rem;
}
.overview h2 {
  font-size:clamp(1.7rem,4.32vw,3.85rem);
}
.overview>p:last-child {
  max-width:35rem;
  color:var(--muted);
  font-size:clamp(1rem,2vw,1.2rem);
}
.stages {
  background:var(--bone);
}
.stage {
  display:grid;
  gap:1.5rem;
  border-bottom:1px solid rgba(23,26,24,.2);
}
.stage header {
  display:flex;
  gap:1rem;
  align-items:baseline;
}
.stage header span {
  color:var(--accent);
  font-size:.7rem;
}
.stage h2 {
  margin:0;
  font-family:Georgia,Times New Roman,serif;
  font-size:clamp(1.7rem,4.32vw,3.5rem);
  font-weight:400;
  text-transform:uppercase;
}
.stage>p {
  max-width:32rem;
  margin:0;
  color:var(--muted);
}
.stage figure {
  margin:2rem 0 0;
}
.stage img {
  width:100%;
  max-height:42rem;
  object-fit:cover;
}
.gallery {
  background:var(--ink);
  color:var(--bone);
}
.gallery-grid {
  display:grid;
  gap:1.5rem;
  margin-top:4rem;
}
.gallery-grid figure {
  margin:0;
  overflow:hidden;
  background:#343b36;
}
.gallery-grid img {
  width:100%;
  height:auto;
}
.project-nav {
  display:grid;
  background:var(--accent);
  color:var(--bone);
}
.project-nav a {
  display:flex;
  min-height:15rem;
  flex-direction:column;
  justify-content:center;
  padding:clamp(1.25rem,4vw,4.5rem);
  border-bottom:1px solid rgba(255,255,255,.25);
}
.project-nav span {
  font-size:.65rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.project-nav strong {
  margin-top:1rem;
  font-family:Georgia,Times New Roman,serif;
  font-size:clamp(1.53rem,3.6vw,2.8rem);
  font-weight:400;
}
.project-nav .next {
  text-align:right;
}
.disclaimer {
  margin-block:2rem;
  color:var(--muted);
  font-size:.7rem;
}
.not-found {
  display:flex;
  min-height:100svh;
  align-items:center;
  background:var(--ink);
  color:var(--bone);
}
.not-found p:not(.eyebrow) {
  max-width:32rem;
  color:#b8bdb8;
}
.not-found div div {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1rem;
  margin-top:2rem;
}
.not-found div div>a:last-child {
  font-size:.7rem;
  text-transform:uppercase;
}
@media (min-width:48rem) {
  .project-meta {
    grid-template-columns:repeat(3,1fr);
  }
  .overview {
    grid-template-columns:1.5fr .5fr;
    align-items:end;
  }
  .overview>.eyebrow {
    grid-column:1/-1;
  }
  .stage {
    grid-template-columns:1fr 1fr;
    align-items:start;
  }
  .stage figure {
    grid-column:1/-1;
  }
  .gallery-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .gallery-grid .wide {
    grid-column:1/-1;
  }
  .project-nav {
    grid-template-columns:1fr 1fr;
  }
  .project-nav a {
    border-right:1px solid rgba(255,255,255,.25);
    border-bottom:0;
  }
  .not-found div div {
    flex-direction:row;
    align-items:center;
    gap:2rem;
  }
}
