.project-page {
  --project-dark: #142c26;
  --project-gold: #f2d7aa;
}

.project-hero { position: relative; isolation: isolate; color: var(--white); background: var(--project-dark); }
.project-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 51%; }
.project-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a211bf5 0%, #0c241ddf 28%, #0c241d70 63%, #0c241d20 100%), linear-gradient(0deg, #0a211bc9 0%, transparent 28%); }
.project-hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(480px, 48vw, 660px); padding-block: 76px 87px; }
.project-hero-copy { max-width: 660px; }
.project-hero .eyebrow, .project-section-dark .eyebrow { color: var(--project-gold); }
.project-hero h1 { font-size: clamp(3.3rem, 7.15vw, 7rem); }
.project-hero-lead { max-width: 460px; margin: 21px 0 25px; color: #f2f3ec; font-size: clamp(.95rem, 1.5vw, 1.15rem); }
.project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.button-gold { color: #1b3028; background: var(--project-gold); }
.button-gold:hover { background: #f9e5c5; }
.button-outline { color: var(--white); border-color: #fffa; background: #10292055; }
.button-outline:hover { background: #ffffff23; }
.project-hero-caption { position: absolute; bottom: 17px; right: 0; color: #fff; padding: 4px 9px; border: 1px solid #ffffff59; border-radius: 4px; background: #132c25bb; font-size: .68rem; }

.project-nav-shell { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--rule); }
.project-nav { gap: 0; overflow: auto; scrollbar-width: thin; }
.project-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 11px 17px; min-height: 51px; font-size: .79rem; }
.project-nav a:first-child { padding-left: 7px; }
.project-nav a:hover { background: #eaece2; }
.project-nav a:focus-visible { outline-offset: -3px; }

.project-section { padding: clamp(47px, 7vw, 96px) 0; border-bottom: 1px solid var(--rule); }
.project-section[id], .project-page #tu-van { scroll-margin-top: 70px; }
.project-section-light { background: var(--white); }
.project-section-dark { color: var(--white); background: var(--project-dark); border-bottom-color: var(--project-dark); }
.project-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; gap: clamp(26px, 6vw, 92px); }
.project-copy > p:not(.eyebrow):not(.source-line), .project-intro { max-width: 640px; margin-top: 15px; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.project-copy .source-line { margin-top: 18px; }
.project-inline-link { margin-top: 19px; }
.project-section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px 30px; margin-bottom: 25px; }
.source-line { margin-top: 14px; color: var(--muted); font-size: .76rem; }

.project-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--rule); border-radius: 7px; background: var(--white); overflow: hidden; }
.project-facts > div { min-height: 111px; padding: 19px clamp(13px, 2.6vw, 30px); }
.project-facts > div:nth-child(even) { border-left: 1px solid var(--rule); }
.project-facts > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
.project-facts dt { color: var(--muted); font-size: .76rem; font-weight: 600; }
.project-facts dd { margin: 8px 0 0; font: 500 clamp(1.24rem, 2.65vw, 2.36rem)/1.2 var(--serif); letter-spacing: -.045em; }

.infrastructure-list { display: grid; gap: 18px; }
.infrastructure-list article { padding: 15px 18px 17px; border-left: 3px solid var(--accent); background: var(--paper); }
.infrastructure-list h3 { margin: 0; font-size: clamp(1.28rem, 2.2vw, 1.78rem); }
.infrastructure-list p { margin: 7px 0 9px; color: var(--muted); font-size: .86rem; }

.district-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); }
.district-card, .district-grid-compact article { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 7px; background: var(--white); overflow: hidden; }
.project-media { position: relative; background: #365f51; }
.project-media img, .progress-card img { aspect-ratio: 1.9; object-fit: cover; }
.project-media figcaption { position: absolute; bottom: 10px; right: 10px; padding: 4px 8px; border-radius: 3px; color: white; background: #14241fe0; font-size: .67rem; }
.district-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(17px, 2.6vw, 28px); }
.district-copy h3 { margin: 6px 0 8px; }
.district-copy > p:not(.project-kicker) { color: var(--muted); font-size: .86rem; }
.project-kicker { color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.district-grid-compact { margin-top: clamp(14px, 2.4vw, 28px); }
.district-grid-compact h3 { font-size: clamp(1.4rem, 2.4vw, 2.04rem); }

.amenities-grid { align-items: center; }
.amenities-list { list-style: none; padding: 0; margin: 22px 0 18px; }
.amenities-list li { display: grid; padding: 11px 0; border-top: 1px solid #ffffff40; }
.amenities-list span { color: #d7e1d8; font-size: .86rem; }
.amenities-list strong { font-size: .9rem; }
.feature-photo { border-radius: 7px; overflow: hidden; }
.feature-photo img { aspect-ratio: 1.39; }

.progress-grid { margin-top: 20px; }
.progress-video { width: 100%; margin: 20px 0 0; }
.progress-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #10241b;
}
.progress-video figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.progress-card { overflow: hidden; border: 1px solid var(--rule); border-radius: 7px; background: var(--paper); }
.progress-card figcaption { padding: 12px 15px; font-size: .81rem; font-weight: 700; }
.project-resources { padding: 0; margin: 0; list-style: none; }
.project-resources li { padding: 12px 15px; border-top: 1px solid var(--rule); }
.project-resources li:last-child { border-bottom: 1px solid var(--rule); }
.project-resources strong { display: block; font-size: .92rem; }
.project-resources small { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; }

.project-faq details { border-bottom: 1px solid var(--rule); }
.project-faq details:first-child { border-top: 1px solid var(--rule); }
.project-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 53px; padding: 10px 6px; list-style: none; cursor: pointer; font-weight: 700; font-size: .9rem; }
.project-faq summary::-webkit-details-marker { display: none; }
.project-faq summary::after { content: ''; display: block; flex: 0 0 8px; height: 8px; border: solid var(--accent); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.project-faq details[open] summary::after { transform: rotate(225deg); }
.project-faq summary:hover { color: var(--accent); }
.project-faq p { padding: 0 18px 14px 6px; color: var(--muted); font-size: .86rem; }

.project-consultation { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 21px; }
.project-consultation p { max-width: 550px; }

@media (max-width: 760px) {
  .project-hero-inner { min-height: 475px; padding-block: 70px; }
  .project-hero::before { background: linear-gradient(90deg, #0b221bed, #0b221b75), linear-gradient(0deg, #0a211bc9 0%, transparent 30%); }
  .project-hero h1 { font-size: clamp(2.75rem, 10.7vw, 5rem); }
  .project-split { grid-template-columns: minmax(0, 1fr); }
  .project-facts > div { min-height: 93px; }
  .project-section-heading { margin-bottom: 18px; }
}

@media (max-width: 540px) {
  .project-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; padding-inline: 8px; overflow: visible; }
  .project-nav a, .project-nav a:first-child { justify-content: center; min-height: 42px; padding: 6px 4px; font-size: .73rem; }
  .project-nav a { white-space: normal; text-align: center; line-height: 1.2; }
  .project-section[id], .project-page #tu-van { scroll-margin-top: 100px; }
  .district-grid { grid-template-columns: minmax(0, 1fr); }
  .project-hero-photo { object-position: 64% center; }
}
