.project-page {
  --project-ink: #172033;
  --project-muted: #667085;
  --project-gold: #a8753c;
  --project-line: #e8e5df;
  color: var(--project-ink);
  padding-bottom: 76px;
}

.project-details-page .subhnivas-mobile-actions {
  display: none;
}

.project-page *,
.project-page *::before,
.project-page *::after {
  box-sizing: border-box;
}

.project-hero {
  position: relative;
  overflow: hidden;
  background: #172033;
  color: #fff;
}

.project-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 78% 20%, rgba(168, 117, 60, 0.22), transparent 34%), linear-gradient(120deg, #172033, #202b40);
  background-position: center;
  background-size: cover;
  content: "";
}

.project-hero-inner {
  position: relative;
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.project-hero-copy {
  max-width: 650px;
}

.project-eyebrow {
  margin: 0 0 12px;
  color: var(--project-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.project-hero .project-eyebrow {
  color: #d0b18d;
}

.project-status-badge {
  display: inline-flex;
  margin: 0 0 14px 10px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.project-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.project-subtitle {
  max-width: 610px;
  margin: 16px 0 0;
  color: #e2e5eb;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.project-hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: #d6dbe4;
  font-size: 14px;
}

.project-icon-svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.project-hero-price {
  display: grid;
  gap: 4px;
  margin-top: 26px;
}

.project-hero-price span {
  color: #c8ced9;
  font-size: 12px;
}

.project-hero-price strong {
  color: #fff;
  font-size: 25px;
  font-weight: 600;
}

.project-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.project-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.project-button-light {
  background: #a8753c;
  color: #fff;
}

.project-button-light:hover {
  background: #8c5f30;
  color: #fff;
}

.project-button-outline {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.project-button-outline:hover {
  border-color: #fff;
  background: #fff;
  color: #172033;
}

.project-hero-photo {
  overflow: hidden;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.project-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-section {
  padding: 68px 0;
}

.project-section-soft {
  background: #f7f6f3;
}

.project-section-dark {
  background: #172033;
  color: #fff;
}

.project-section-heading {
  margin-bottom: 28px;
}

.project-section-heading h2,
.project-reading-column h2 {
  margin: 0;
  color: var(--project-ink);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.project-section-dark .project-section-heading h2 {
  color: #fff;
}

.project-reading-column {
  max-width: 920px;
}

.project-prose {
  margin-top: 25px;
  color: #4f5869;
  font-size: 16px;
  line-height: 1.85;
}

.project-prose > * {
  margin-top: 0;
  margin-bottom: 1.2em;
}

.project-prose h2,
.project-prose h3,
.project-prose h4 {
  margin-top: 1.7em;
  color: var(--project-ink);
  font-weight: 600;
  line-height: 1.3;
}

.project-prose ul,
.project-prose ol {
  padding-left: 1.4em;
}

.project-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.project-prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.project-prose th,
.project-prose td {
  padding: 10px 12px;
  border: 1px solid var(--project-line);
}

.project-highlight-grid,
.project-amenity-grid,
.project-plan-grid,
.project-nearby-grid,
.project-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-highlight-card,
.project-amenity-card,
.project-nearby-card {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.035);
}

.project-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #f4eee7;
  color: #8e6032;
}

.project-highlight-card h3,
.project-amenity-card h3,
.project-nearby-card h3 {
  margin: 1px 0 5px;
  color: var(--project-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.project-highlight-card p,
.project-amenity-card p {
  margin: 0;
  color: var(--project-muted);
  font-size: 13px;
  line-height: 1.65;
}

.project-video-section {
  padding-top: 20px;
}

.project-video-frame {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 20px;
  background: #172033;
}

.project-video-poster,
.project-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.project-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: #a8753c;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  transform: translate(-50%, -50%);
}

.project-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-unit-card {
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: #202b40;
}

.project-unit-label,
.project-contact-label {
  margin: 0 0 7px;
  color: #9aa4b4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-unit-card h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}

.project-unit-price {
  margin: 10px 0 17px;
  color: #e5c9a7;
  font-size: 19px;
  font-weight: 600;
}

.project-unit-card dl,
.project-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.project-unit-card dl > div {
  padding: 10px 8px 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.project-unit-card dt,
.project-spec-grid dt {
  color: #a0a8b6;
  font-size: 11px;
}

.project-unit-card dd,
.project-spec-grid dd {
  margin: 4px 0 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.project-unit-description {
  color: #c6cbd4;
  font-size: 13px;
  line-height: 1.6;
}

.project-unit-card > .project-button {
  width: 100%;
  margin-top: 12px;
}

.project-button-dark {
  background: #a8753c;
  color: #fff;
  cursor: pointer;
}

.project-button-dark:hover {
  background: #c18c52;
  color: #fff;
}

.project-unit-plan,
.project-plan-image,
.project-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 0;
  background: #eeeae4;
  cursor: zoom-in;
}

.project-unit-plan {
  aspect-ratio: 16 / 9;
  margin: -24px -24px 20px;
  width: calc(100% + 48px);
}

.project-unit-plan img,
.project-plan-image img,
.project-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.project-unit-plan span,
.project-plan-image span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.82);
  color: #fff;
  font-size: 10px;
}

.project-amenity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-amenity-card {
  display: block;
  padding: 22px;
}

.project-amenity-card .project-icon {
  margin-bottom: 13px;
}

.project-spec-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: #fff;
}

.project-spec-grid > div {
  position: relative;
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--project-line);
  border-bottom: 1px solid var(--project-line);
}

.project-spec-icon {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--project-gold);
}

.project-spec-icon .project-icon-svg {
  width: 18px;
  height: 18px;
}

.project-spec-grid dt {
  color: var(--project-muted);
}

.project-spec-grid dd {
  overflow-wrap: anywhere;
  color: var(--project-ink);
}

.project-plan-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-plan-card {
  display: grid;
  grid-template-columns: minmax(140px, 0.9fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: #fff;
}

.project-plan-image {
  min-height: 180px;
}

.project-plan-card > div {
  padding: 20px;
}

.project-plan-card h3 {
  margin: 0 0 6px;
  color: var(--project-ink);
  font-size: 16px;
  font-weight: 600;
}

.project-plan-card p {
  margin: 8px 0 0;
  color: var(--project-muted);
  font-size: 13px;
  line-height: 1.6;
}

.project-plan-card .project-plan-area {
  color: var(--project-gold);
  font-weight: 600;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-gallery-item {
  aspect-ratio: 1.25 / 1;
  border-radius: 12px;
}

.project-gallery-item:hover img,
.project-plan-image:hover img,
.project-unit-plan:hover img {
  transform: scale(1.04);
}

.project-location-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.5fr);
  gap: 24px;
}

.project-location-copy,
.project-map {
  overflow: hidden;
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: #fff;
}

.project-location-copy {
  padding: 24px;
}

.project-location-copy h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.project-location-copy p {
  color: var(--project-muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-map {
  min-height: 300px;
}

.project-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

.project-nearby-card {
  align-items: center;
}

.project-nearby-card > div {
  min-width: 0;
  flex: 1;
}

.project-nearby-card p {
  margin: 0 0 4px;
  color: var(--project-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.project-nearby-card h3 {
  margin: 0;
}

.project-nearby-card > strong {
  flex: 0 0 auto;
  color: var(--project-gold);
  font-size: 12px;
}

.project-developer-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--project-line);
  border-radius: 20px;
  background: #fff;
}

.project-developer-logo img {
  display: block;
  width: 136px;
  max-height: 100px;
  object-fit: contain;
}

.project-developer-card h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
}

.project-developer-card > div > p:not(.project-eyebrow) {
  max-width: 720px;
  color: var(--project-muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-developer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-developer-links a {
  color: var(--project-gold);
  font-size: 13px;
  font-weight: 600;
}

.project-faq-list {
  border-top: 1px solid var(--project-line);
}

.project-faq-item {
  border-bottom: 1px solid var(--project-line);
}

.project-faq-item summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--project-ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

.project-faq-item summary::-webkit-details-marker {
  display: none;
}

.project-faq-item summary span::before {
  color: var(--project-gold);
  content: "+";
  font-size: 22px;
  font-weight: 400;
}

.project-faq-item[open] summary span::before {
  content: "−";
}

.project-faq-item > div {
  padding: 0 36px 18px 0;
  color: var(--project-muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-faq-item > div p:last-child {
  margin-bottom: 0;
}

.project-enquiry-section {
  background: #172033;
  color: #fff;
}

.project-enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  align-items: start;
  gap: 36px;
}

.project-enquiry-layout h2 {
  max-width: 480px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 600;
  line-height: 1.2;
}

.project-enquiry-layout > div > p:not(.project-eyebrow) {
  margin: 14px 0 20px;
  color: #c4cad4;
  font-size: 14px;
  line-height: 1.7;
}

.project-enquiry-form {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  color: var(--project-ink);
}

.project-related-card {
  overflow: hidden;
  border: 1px solid var(--project-line);
  border-radius: 16px;
  background: #fff;
}

.project-related-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-related-card img {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
}

.project-related-card > a > div {
  padding: 18px;
}

.project-related-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.project-related-card p {
  margin: 6px 0;
  color: var(--project-muted);
  font-size: 12px;
}

.project-related-card strong,
.project-related-card span {
  display: block;
  margin-top: 9px;
  color: var(--project-gold);
  font-size: 13px;
  font-weight: 600;
}

.project-mobile-cta {
  display: none;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  width: min(92vw, 1100px);
  max-width: none;
  max-height: 90vh;
  padding: 22px;
  border: 0;
  border-radius: 16px;
  background: #101827;
  color: #fff;
}

.project-lightbox::backdrop {
  background: rgba(10, 15, 25, 0.86);
}

.project-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 70px);
  margin: 0 auto;
  object-fit: contain;
}

.project-lightbox p {
  margin: 10px 0 0;
  text-align: center;
}

.project-lightbox-close {
  position: absolute;
  top: 7px;
  right: 9px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #172033;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

@media (max-width: 900px) {
  .project-hero-inner {
    min-height: 380px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.65fr);
    gap: 24px;
  }

  .project-hero-photo {
    height: 240px;
  }

  .project-unit-grid,
  .project-highlight-grid,
  .project-nearby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-amenity-grid,
  .project-spec-grid,
  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .project-page {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .project-hero-inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 38px;
    padding-bottom: 32px;
  }

  .project-hero h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .project-subtitle {
    font-size: 16px;
  }

  .project-hero-photo {
    height: auto;
    aspect-ratio: 1.6 / 1;
    grid-row: 2;
    border-radius: 14px;
  }

  .project-section {
    padding: 44px 0;
  }

  .project-section-heading {
    margin-bottom: 20px;
  }

  .project-prose {
    font-size: 15px;
  }

  .project-highlight-grid,
  .project-amenity-grid,
  .project-unit-grid,
  .project-plan-grid,
  .project-nearby-grid,
  .project-related-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .project-highlight-card,
  .project-amenity-card,
  .project-nearby-card {
    padding: 16px;
  }

  .project-amenity-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    column-gap: 13px;
  }

  .project-amenity-card .project-icon {
    grid-row: span 2;
    margin: 0;
  }

  .project-amenity-card h3 {
    margin: 0;
  }

  .project-unit-card {
    padding: 20px;
  }

  .project-unit-plan {
    margin: -20px -20px 18px;
    width: calc(100% + 40px);
  }

  .project-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-spec-grid > div {
    padding: 14px 12px;
  }

  .project-plan-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-plan-image {
    min-height: 0;
    aspect-ratio: 1.6 / 1;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .project-gallery-item {
    border-radius: 9px;
  }

  .project-location-layout,
  .project-enquiry-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .project-map,
  .project-map iframe {
    min-height: 250px;
  }

  .project-developer-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
  }

  .project-developer-logo img {
    width: 110px;
  }

  .project-enquiry-form {
    padding: 18px;
  }

  .project-mobile-cta {
    position: fixed;
    z-index: 39;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 8px;
    padding: 9px max(12px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-top: 1px solid var(--project-line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 24px rgba(23, 32, 51, 0.1);
  }

  .project-mobile-cta a {
    display: inline-flex;
    min-height: 42px;
    flex: 1;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #172033;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
  }

  .project-mobile-cta a:last-child {
    background: #a8753c;
  }

  .project-lightbox {
    width: 96vw;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-page *,
  .project-page *::before,
  .project-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
