.project-page { overflow-x: clip; }
.project-page .site-header { grid-template-columns: 190px 1fr auto; }

.project-hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  isolation: isolate;
}

.project-hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: project-hero-zoom 12s ease-out both;
}

.project-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(5,12,21,.9) 0%, rgba(5,12,21,.62) 48%, rgba(5,12,21,.12) 82%), linear-gradient(0deg, rgba(5,12,21,.65), transparent 52%);
}

@keyframes project-hero-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.project-hero__content {
  width: min(820px, calc(100vw - 80px));
  padding: clamp(128px, 18vh, 190px) 0 180px max(6vw, 48px);
}

.breadcrumbs {
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.breadcrumbs a { color: var(--copper-light); }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-hero .eyebrow { margin-bottom: 16px; }
.project-hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 8.5vw, 126px);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.05em;
}

.project-hero__lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 300;
  line-height: 1.55;
}

.project-hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.project-hero__stats {
  position: absolute;
  right: max(4vw, 38px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.18);
}

.project-hero__stats > div { padding: 18px 20px; background: rgba(7,16,28,.64); backdrop-filter: blur(12px); }
.project-hero__stats strong { display: block; font-family: var(--serif); font-size: 29px; font-weight: 500; line-height: 1; }
.project-hero__stats span { display: block; margin-top: 7px; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; opacity: .68; }

.project-intro { background: var(--paper); }
.project-intro__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.project-intro__grid > *, .project-location__grid > *, .buyer-guide__grid > * { min-width: 0; }
.project-intro .display-title { max-width: 610px; }
.project-prose { padding-top: 44px; color: #4f5864; font-size: 16px; }
.project-prose p { margin: 0; }
.project-prose p + p { margin-top: 20px; }
.project-facts { margin-top: 76px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.project-facts > div { min-height: 150px; padding: 30px; border-right: 1px solid var(--line); }
.project-facts > div:last-child { border-right: 0; }
.project-facts dt { color: #6c7279; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.project-facts dd { margin: 18px 0 0; font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.06; }

.project-location { color: var(--white); background: var(--navy); }
.project-location__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 78px; align-items: center; }
.project-location__media { height: min(66vw, 650px); max-height: 650px; overflow: hidden; }
.project-location__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-location__media:hover img { transform: scale(1.025); }
.project-location__copy h2 { max-width: 650px; margin: 0 0 32px; font-family: var(--serif); font-size: clamp(48px, 5.4vw, 82px); font-weight: 500; line-height: .94; letter-spacing: -.035em; }
.project-location__copy > p:not(.section-label) { color: rgba(255,255,255,.7); font-size: 15px; }
.project-location__copy > p + p { margin-top: 18px; }
.text-arrow { margin-top: 28px; display: inline-flex; align-items: center; gap: 15px; color: var(--copper-light); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.text-arrow span { font-size: 22px; transition: transform .25s ease; }
.text-arrow:hover span { transform: translateX(5px); }

.buyer-guide { background: var(--paper-deep); }
.buyer-guide__head { max-width: 900px; margin-bottom: 64px; }
.buyer-guide__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.buyer-card { min-height: 360px; padding: 42px; border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.buyer-card > span { color: var(--copper); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.buyer-card h3 { margin: 52px 0 22px; font-family: var(--serif); font-size: 42px; font-weight: 600; line-height: 1; }
.buyer-card ul { margin: 0; padding: 0; list-style: none; }
.buyer-card li { position: relative; padding: 15px 0 15px 28px; border-top: 1px solid var(--line); color: #515a65; font-size: 14px; }
.buyer-card li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 10px; height: 1px; background: var(--copper); }

.related { color: var(--white); background: #07101c; overflow: hidden; }
.related__head { max-width: 880px; margin-bottom: 58px; }
.related__head > p:last-child { max-width: 650px; color: rgba(255,255,255,.65); }
.related-track { display: flex; gap: 16px; padding: 0 max(4vw, 28px) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--copper) rgba(255,255,255,.1); }
.related-card { position: relative; flex: 0 0 min(34vw, 470px); min-width: 330px; height: 510px; padding: 28px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; scroll-snap-align: start; isolation: isolate; }
.related-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,12,22,.9), rgba(5,12,22,.06) 72%); }
.related-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.related-card:hover img { transform: scale(1.035); }
.related-card span { color: var(--copper-light); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.related-card strong { margin-top: 8px; font-family: var(--serif); font-size: 37px; font-weight: 500; line-height: .95; }
.related-card small { margin-top: 12px; color: rgba(255,255,255,.67); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

.project-page .faq { background: var(--paper); }
.project-page .lead-section > img { filter: saturate(.82); }
.project-page .footer-collection { color: var(--copper-light); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

@media (min-width: 761px) and (max-height: 820px) {
  .project-page .section { padding-block: 80px; }
  .project-hero { min-height: 100dvh; }
  .project-hero__content { padding-top: 104px; padding-bottom: 128px; }
  .breadcrumbs { margin-bottom: 14px; }
  .project-hero .eyebrow { margin-bottom: 10px; }
  .project-hero h1 { max-width: 680px; font-size: clamp(54px, 6.7vw, 86px); line-height: .84; }
  .project-hero__lead { max-width: 590px; margin-top: 18px; font-size: 15px; }
  .project-hero__actions { margin-top: 18px; }
  .project-hero__stats { bottom: 18px; }
  .project-hero__stats > div { padding: 12px 16px; }
  .project-hero__stats strong { font-size: 24px; }
  .project-page .lead-section { padding-block: 54px; }
  .project-page .lead-form { padding: 24px; }
  .project-page .lead-form input[type="text"],
  .project-page .lead-form input[type="tel"],
  .project-page .lead-form select { height: 46px; }
  .project-page .lead-form > label + .phone-row,
  .project-page .phone-row + .contact-choice,
  .project-page .contact-choice { margin-top: 11px; }
  .project-page .check { margin-top: 8px; }
  .project-page .submit-btn { margin-top: 12px; }
}

@media (min-width: 761px) and (max-height: 660px) {
  .project-hero__content { padding-top: 88px; }
  .breadcrumbs { margin-bottom: 8px; }
  .project-hero h1 { max-width: 610px; font-size: clamp(48px, 5.8vw, 74px); }
  .project-hero__lead { max-width: 560px; margin-top: 12px; line-height: 1.4; }
  .project-hero__actions { margin-top: 13px; }
  .project-hero__stats { grid-template-columns: repeat(3, minmax(128px, 1fr)); }
  .project-hero__stats > div { padding: 9px 13px; }
  .project-hero__stats strong { font-size: 21px; }
  .project-hero__stats span { margin-top: 4px; }
}

@media (max-width: 1080px) {
  .project-page .site-header { grid-template-columns: auto 1fr auto; }
  .project-intro__grid, .project-location__grid { gap: 50px; }
  .project-facts > div { padding: 24px 20px; }
  .project-facts dd { font-size: 23px; }
}

@media (max-width: 760px) {
  .project-page { overflow-x: hidden; }
  .project-hero { height: auto; min-height: 780px; }
  .project-hero__image { object-position: 58% center; animation: none; }
  .project-hero__overlay { background: linear-gradient(0deg, rgba(5,12,21,.94) 0%, rgba(5,12,21,.56) 70%, rgba(5,12,21,.2)); }
  .project-hero__content { width: auto; padding: 118px 18px 230px; }
  .breadcrumbs { margin-bottom: 22px; }
  .project-hero h1 { font-size: clamp(54px, 16vw, 78px); line-height: .86; }
  .project-hero__lead { margin-top: 24px; font-size: 15px; }
  .project-hero__actions { margin-top: 24px; display: grid; }
  .project-hero__actions .btn { width: 100%; }
  .project-hero__stats { left: 18px; right: 18px; bottom: 32px; grid-template-columns: repeat(3, 1fr); }
  .project-hero__stats > div { min-width: 0; padding: 14px 10px; }
  .project-hero__stats strong { font-size: clamp(17px, 5vw, 23px); }
  .project-hero__stats span { font-size: 7px; letter-spacing: .07em; }
  .project-intro__grid, .project-location__grid, .buyer-guide__grid { grid-template-columns: 1fr; }
  .project-intro__grid { gap: 36px; }
  .project-intro .display-title, .project-location__copy h2 { overflow-wrap: anywhere; }
  .project-prose { padding-top: 0; font-size: 14px; }
  .project-facts { margin-top: 48px; grid-template-columns: 1fr 1fr; }
  .project-facts > div { min-height: 132px; padding: 22px 17px; border-bottom: 1px solid var(--line); }
  .project-facts > div:nth-child(2n) { border-right: 0; }
  .project-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
  .project-facts dd { margin-top: 13px; font-size: 22px; }
  .project-location__grid { gap: 42px; }
  .project-location__media { height: 520px; order: 2; }
  .project-location__copy h2 { font-size: clamp(44px, 13vw, 62px); }
  .buyer-guide__head { margin-bottom: 42px; }
  .buyer-guide__grid { gap: 14px; }
  .buyer-card { min-height: 0; padding: 28px 20px; }
  .buyer-card h3 { margin: 34px 0 18px; font-size: 35px; }
  .related__head { margin-bottom: 40px; }
  .related-track { padding-inline: 18px; }
  .related-card { flex-basis: 84vw; min-width: 0; height: 470px; padding: 22px; }
  .related-card strong { font-size: 34px; }
}

@media (max-width: 390px) {
  .project-hero__content { padding-inline: 14px; }
  .project-hero__stats { left: 14px; right: 14px; }
  .project-hero__stats > div { padding-inline: 6px; }
  .project-facts { grid-template-columns: 1fr; }
  .project-facts > div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .project-facts > div:last-child { border-bottom: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .project-hero__image { animation: none; }
}
