/* Project detail — content area (matches hero mockup) */

.pdetail {
  background: #fff;
}

.pdetail-main {
  position: relative;
  z-index: 1;
  background: #fff;
  margin-top: clamp(-32px, -4vw, -20px);
}

.pdetail-wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.pdetail-head {
  padding: clamp(8px, 2vw, 16px) 0 clamp(20px, 3vw, 28px);
}

.pdetail-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pdetail-eyebrow a {
  color: #003d59;
  text-decoration: none;
}

.pdetail-eyebrow a:hover {
  text-decoration: underline;
}

.pdetail-title {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0e1417;
  max-width: 28ch;
}

.pdetail-location {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #7c878d;
}

.pdetail-facts {
  padding-bottom: clamp(24px, 4vw, 36px);
  border-top: 1px solid #e3e7e9;
}

.pdetail-facts__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
  padding-top: clamp(20px, 3vw, 28px);
}

.pdetail-fact {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}

@media (max-width: 768px) {
  .pdetail-facts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
  }

  .pdetail-fact {
    max-width: none;
  }
}

.pdetail-fact__label {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c878d;
}

.pdetail-fact__value {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: #0e1417;
}

.pdetail-content {
  padding-block: clamp(32px, 5vw, 52px);
  border-top: 1px solid #eef1f2;
}

.pdetail-prose {
  width: 100%;
  max-width: none;
  font-size: 16px;
  line-height: 1.8;
  color: #4a555b;
}

.pdetail-prose h2, .pdetail-prose h3, .pdetail-prose h4, .pdetail-prose h5 {
  color: #0e1417;
  margin: 1.75em 0 0.65em;
  font-weight: 600;
}

.pdetail-prose p { margin: 0 0 1.1em; }
.pdetail-prose ul, .pdetail-prose ol { margin: 0 0 1.1em; padding-left: 1.2em; }

.pdetail-photos {
  padding-bottom: clamp(36px, 5vw, 56px);
}

.pdetail-photos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(10px, 1.5vw, 16px);
}

@media (min-width: 640px) {
  .pdetail-photos__grid { grid-template-columns: repeat(2, 1fr); }
}

.pdetail-photos__item {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f2f4f5;
}

.pdetail-photos__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdetail-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(28px, 4vw, 40px);
  border-top: 1px solid #e3e7e9;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.pdetail-nav__link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 46%;
  text-decoration: none;
}

.pdetail-nav__link--next { text-align: right; margin-left: auto; }

.pdetail-nav__hint {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c878d;
}

.pdetail-nav__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #003d59;
}

.pdetail-nav__link:hover .pdetail-nav__name { text-decoration: underline; }

@media (max-width: 768px) {
  .pdetail-title {
    max-width: none;
    font-size: 24px;
  }
}
