/* =========================================================
   PROJETH — ARCHIVE SAMPLE PAGE
========================================================= */

.archive-sample-page {
  margin: 0;
  background: #111;
  color: #fff;
}

.archive-sample {
  background: #111;
  color: #fff;
}


/* =========================================================
   HEADER / ARCHIVE THRESHOLD
========================================================= */

.archive-header {
  position: relative;
  min-height: 46vh;
  padding: 40px 5vw 64px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.archive-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/archive/project-header.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}

.archive-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.24),
    rgba(17, 17, 17, 0.92)
  );
  pointer-events: none;
}

.archive-header-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.archive-kicker {
  margin: 0 0 1.1rem;
  font-family: "ibm-plex-mono", monospace;
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.archive-header h1 {
  margin: 0;
  font-family: "neue-frutiger-world", sans-serif;
  font-size: clamp(1.15rem, 1.5vw, 1.8rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.archive-location {
  margin: 0.45rem 0 0;
  font-family: "ibm-plex-mono", monospace;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.archive-intro {
  max-width: 540px;
  margin: 1.35rem 0 0;
  font-family: "ibm-plex-mono", monospace;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}


/* =========================================================
   ARCHIVE PAGE CONTACT / RETURN TABS
========================================================= */

.archive-sample-page .contact-panel {
  position: absolute;
  top: 7vh;
  right: 5vw;
  z-index: 20;
}

.archive-return {
  position: absolute;
  top: 7vh;
  left: 5vw;
  z-index: 20;

  width: 132px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  color: #000;
  text-decoration: none;

  border-right: 4px solid #005487;

  font-family: "ibm-plex-mono", monospace;
  font-size: 0.88rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.archive-return:hover {
  background: #fff;
  color: #000;
}


/* =========================================================
   SHARED SECTION / IMAGE RULES
========================================================= */

.archive-section {
  width: min(90vw, 1800px);
  margin-left: auto;
  margin-right: auto;
}

.archive-section-label {
  margin: 0 0 2vw;
  font-family: "ibm-plex-mono", monospace;
  font-size: .85rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.archive-figure {
  margin: 0;
}

.archive-figure img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   TECHNICAL DRAWINGS
========================================================= */

.archive-section--drawings {
  padding: 2vw 0 4vw;
}

.archive-figure--wide {
  margin-bottom: 5vw;
}

.archive-detail-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 4vw;
  align-items: stretch;
}

.archive-detail-stack {
  display: grid;
  gap: 4vw;
}


/* =========================================================
   DOCUMENTATION
========================================================= */

.archive-section--documentation {
  padding: 2vw 0 5vw;
}

.archive-supporting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  align-items: start;
}


/* =========================================================
   PHOTOGRAPHY
========================================================= */

.archive-section--photography {
  padding: 1vw 0 8vw;
}

.archive-photo-pair {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 3vw;
  align-items: stretch;
}

.archive-photo img {
  height: 100%;
  object-fit: cover;
}


/* =========================================================
   FOOTER ADJUSTMENT
========================================================= */

.archive-sample-page .projeth-footer {
  background: #050505;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {

  .archive-header h1 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
  }

}

@media (max-width: 760px) {

  .archive-header {
    min-height: 48vh;
    padding: 36px 6vw 56px;
  }

  .archive-sample-page .contact-panel {
    top: 24px;
    right: 6vw;
  }

  .archive-return {
    top: 24px;
    left: 6vw;
  }

  .archive-header h1 {
    font-size: clamp(1.45rem, 4.8vw, 2rem);
    line-height: 0.98;
  }

  .archive-section {
    width: 88vw;
  }

  .archive-section--drawings {
    padding-top: 12vw;
  }

  .archive-section-label {
    margin-bottom: 5vw;
  }

  .archive-detail-layout,
  .archive-photo-pair {
    grid-template-columns: 1fr;
    gap: 6vw;
  }

  .archive-supporting-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
  }

  .archive-figure--wide {
    margin-bottom: 6vw;
  }

  .archive-section--documentation,
  .archive-section--photography {
    padding-top: 6vw;
  }

}

@media (max-width: 560px) {

  .archive-supporting-grid {
    grid-template-columns: 1fr;
    gap: 7vw;
  }

}

@media (max-width: 430px) {

  .archive-header h1 {
    font-size: 1.55rem;
    line-height: 1;
  }

}