:root {
  --project-ink: #28211c;
  --project-muted: #6f655c;
  --project-gold: #b88958;
  --project-sand: #ded0bf;
  --project-cream: #f7f3ed;
  --project-white: #fffdf9;
  --project-line: #ded5cb;
}

html {
  scroll-behavior: smooth;
}

.sadan-inspired-project {
  padding-top: 0 !important;
  background: var(--project-cream);
  color: var(--project-ink);
}

.sadan-inspired-project .site-header,
.sadan-inspired-project .site-header.solid,
.sadan-inspired-project .site-header.scrolled {
  height: 76px;
  border-bottom: 1px solid rgb(255 255 255 / 13%);
  background: rgb(34 28 24 / 94%);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.sadan-inspired-project .site-header nav a {
  color: #f2ece5;
}

.sadan-inspired-project .site-header nav a:hover,
.sadan-inspired-project .site-header nav a.active {
  color: #dfc3a4;
}

.sadan-inspired-project .header-cta {
  border: 1px solid #c89c6f;
  background: transparent;
  color: #fff;
}

.sadan-inspired-project .header-cta:hover {
  background: #c89c6f;
}

/* Clean split hero: the photo is never covered by a tint or filter. */
.sadan-inspired-project .project-hero {
  position: relative;
  display: grid;
  height: 100vh;
  min-height: 720px;
  grid-template-columns: 50% 50%;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  background: var(--project-white);
  color: var(--project-ink);
}

.sadan-inspired-project .project-hero::before {
  position: absolute;
  z-index: 0;
  top: 76px;
  right: 0;
  bottom: 0;
  width: 50%;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgb(184 137 88 / 17%) 1px,
    transparent 1.1px
  );
  background-size: 30px 30px;
  content: "";
  pointer-events: none;
}

.sadan-inspired-project .project-hero::after {
  position: absolute;
  z-index: 2;
  top: 76px;
  bottom: 0;
  left: calc(50% - 1px);
  width: 1px;
  background: var(--project-line);
  content: "";
}

.sadan-inspired-project .project-hero-shade {
  display: none !important;
}

.sadan-inspired-project.brand-project-detail .project-hero > img {
  position: absolute;
  z-index: 1;
  inset: 76px auto 0 0;
  width: 50%;
  height: calc(100% - 76px);
  object-fit: cover;
  object-position: center 46%;
  filter: none !important;
  opacity: 1 !important;
  transform: none;
  animation: clean-photo-in 0.85s cubic-bezier(0.2, 0.65, 0.25, 1) both;
}

.sadan-inspired-project.project-studios .project-hero > img {
  inset: 76px auto 0 0;
  width: 50%;
  height: calc(100% - 76px);
  object-position: center center;
}

.sadan-inspired-project .project-hero-copy {
  position: absolute;
  z-index: 4;
  display: flex;
  top: 76px;
  right: 0;
  bottom: 135px;
  width: 50%;
  max-width: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 45px clamp(45px, 6vw, 115px);
  animation: clean-copy-in 0.7s 0.08s cubic-bezier(0.2, 0.65, 0.25, 1) both;
}

.sadan-inspired-project .project-hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  padding: 0;
  color: var(--project-gold);
  font-size: 14px;
  font-weight: 700;
}

.sadan-inspired-project .project-hero-copy .eyebrow::after {
  width: 42px;
  height: 1px;
  background: var(--project-gold);
  content: "";
}

.sadan-inspired-project .project-hero-copy h1 {
  margin: 20px 0 23px;
  color: var(--project-ink);
  font-size: clamp(55px, 5.7vw, 88px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -2px;
}

.sadan-inspired-project .project-hero-copy p {
  max-width: 600px;
  color: var(--project-muted);
  font-size: 18px;
  line-height: 1.9;
}

.sadan-inspired-project .project-hero-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.sadan-inspired-project .project-hero-copy .button {
  min-width: 140px;
  justify-content: center;
  border-radius: 0;
  padding: 14px 22px;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.sadan-inspired-project .project-hero-copy .button.gold {
  border: 1px solid var(--project-gold);
  background: var(--project-gold);
  color: #fff;
}

.sadan-inspired-project .project-hero-copy .button.ghost {
  border: 1px solid #9b8e82;
  background: transparent;
  color: var(--project-ink);
}

.sadan-inspired-project .project-hero-copy .button:hover {
  transform: translateY(-3px);
}

.sadan-inspired-project .project-hero-copy .button.ghost:hover {
  background: var(--project-ink);
  color: #fff;
}

.sadan-inspired-project .project-hero-facts {
  position: absolute;
  z-index: 5;
  right: clamp(45px, 6vw, 115px);
  bottom: 34px;
  left: auto;
  display: grid;
  width: calc(50% - clamp(90px, 12vw, 230px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--project-line);
  background: transparent;
  box-shadow: none;
  color: var(--project-ink);
}

.sadan-inspired-project .project-hero-facts div {
  border: 0;
  padding: 22px 10px 0;
  text-align: center;
}

.sadan-inspired-project .project-hero-facts b {
  color: var(--project-ink);
  font-size: 25px;
  font-weight: 700;
}

.sadan-inspired-project .project-hero-facts span {
  margin-top: 6px;
  color: var(--project-muted);
  font-size: 11px;
}

/* Continue the same quiet visual language below the first screen. */
.sadan-inspired-project .project-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 8vw, 120px);
  padding-top: 105px;
  padding-bottom: 95px;
  background: var(--project-cream);
}

.sadan-inspired-project .project-intro h2,
.sadan-inspired-project .section-heading h2 {
  color: var(--project-ink);
  font-weight: 400;
  letter-spacing: -1px;
}

.sadan-inspired-project .section-tag,
.sadan-inspired-project .eyebrow {
  color: var(--project-gold);
}

.sadan-inspired-project .project-intro > div:last-child > p:first-child {
  color: #4f4740;
  font-size: 20px;
  line-height: 2;
}

.sadan-inspired-project .approval-note {
  border: 0;
  border-right: 2px solid var(--project-gold);
  border-radius: 0;
  background: transparent;
}

.sadan-inspired-project .project-facts {
  border-top: 1px solid var(--project-line);
  border-bottom: 1px solid var(--project-line);
  background: var(--project-white);
  box-shadow: none;
}

.sadan-inspired-project .project-facts > div {
  border-color: #e7dfd6;
}

.sadan-inspired-project .project-facts i,
.sadan-inspired-project .project-facts b {
  color: var(--project-gold);
}

.sadan-inspired-project .project-gallery,
.sadan-inspired-project .units-section,
.sadan-inspired-project .project-trust {
  background: var(--project-cream);
}

.sadan-inspired-project .project-gallery-grid button,
.sadan-inspired-project .unit-list article,
.sadan-inspired-project .trust-grid article {
  border: 1px solid var(--project-line);
  border-radius: 0;
  box-shadow: none;
}

/* Project 2 visual trial: one calm cream surface throughout the experience. */
.project-studios {
  --studio-surface: var(--project-cream);
  --studio-line: #d9cdbf;
}

.project-studios .project-intro {
  min-height: 560px;
  padding-top: 135px;
  padding-bottom: 125px;
}

.project-studios .project-intro h2 {
  max-width: 650px;
  font-size: clamp(52px, 5.8vw, 84px);
  line-height: 1.08;
}

.project-studios .project-intro > div:last-child > p:first-child {
  max-width: 720px;
  font-size: 21px;
}

.project-studios .project-intro,
.project-studios .project-facts,
.project-studios .project-gallery,
.project-studios .studio-units,
.project-studios .calculator-section,
.project-studios .project-location,
.project-studios .guarantees {
  background: var(--studio-surface);
}

.project-studios .project-facts > div,
.project-studios .project-gallery-grid button,
.project-studios .guarantee-grid article,
.project-studios .investment-calculator,
.project-studios .calc-fields input,
.project-studios .calc-plans button,
.project-studios .calc-summary,
.project-studios .payment-table-wrap th {
  border-color: var(--studio-line);
  background: var(--studio-surface);
  box-shadow: none;
}

.project-studios .project-gallery-grid span {
  background: var(--studio-surface);
  color: var(--project-ink);
}

/* The supplied renders are brochure pages. Crop the printed green title bars
   and footer marks while keeping the render itself unfiltered. */
.project-studios .project-gallery-grid img {
  position: absolute;
  top: -31%;
  right: 0;
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}

.project-studios .project-gallery-grid button:hover img {
  transform: scale(1.025);
}

.project-studios .calculator-section {
  border-top: 1px solid var(--studio-line);
  color: var(--project-ink);
}

.project-studios .calculator-copy p,
.project-studios .calculator-copy li {
  color: var(--project-muted);
}

.project-studios .section-tag.light {
  color: var(--project-gold);
}

.project-studios .investment-calculator {
  border: 1px solid var(--studio-line);
  background: var(--studio-surface);
  color: var(--project-ink);
}

.project-studios .calc-fields input,
.project-studios .calc-plans button,
.project-studios .calc-summary,
.project-studios .payment-table-wrap,
.project-studios .payment-table-wrap th {
  border-color: var(--studio-line);
  background: var(--studio-surface);
}

.project-studios .calc-plans button.active {
  border-color: var(--project-ink);
  background: var(--project-ink);
  color: #fff;
}

.project-studios .calc-summary .highlight {
  background: #eadfD2;
}

.project-studios .calc-book,
.project-studios .project-location-actions .button.gold {
  border-color: var(--project-ink);
  background: var(--project-ink);
  color: #fff;
}

.project-studios .project-location-content {
  background: var(--studio-surface);
}

.project-studios .project-map-shell {
  border-right: 1px solid var(--studio-line);
  background: #e9e0d6;
}

.project-studios .project-map-legend,
.project-studios .nearby-place,
.project-studios .nearby-empty,
.project-studios .project-location .leaflet-popup-content-wrapper,
.project-studios .project-location .leaflet-popup-tip {
  border-color: var(--studio-line);
  background: rgb(247 243 237 / 96%);
  color: var(--project-ink);
  box-shadow: none;
}

.project-studios .nearby-place:hover,
.project-studios .nearby-place.active,
.project-studios .map-data-status {
  border-color: var(--project-gold);
  background: #eadfd2;
  box-shadow: none;
}

.project-studios .map-place-marker.religious span,
.project-studios .map-place-marker.transport span,
.project-studios .map-place-marker.service span {
  background: #786658;
}

.project-studios .guarantees {
  border-top: 1px solid var(--studio-line);
}

.project-studios .project-cta {
  border-top: 1px solid var(--studio-line);
  border-bottom: 1px solid var(--studio-line);
  background: var(--studio-surface);
  color: var(--project-ink);
}

.project-studios .project-cta p {
  color: var(--project-muted);
}

.project-studios .project-cta .button.gold {
  border-color: var(--project-ink);
  background: var(--project-ink);
  color: #fff;
}

.project-studios .project-cta .button.ghost {
  border-color: var(--studio-line);
  color: var(--project-ink);
}

.project-studios .unified-contact {
  --contact-bg: var(--studio-surface);
  --contact-ink: var(--project-ink);
  --contact-muted: var(--project-muted);
  --contact-gold: var(--project-gold);
  --contact-line: var(--studio-line);
}

.project-studios .studio-units {
  display: grid;
  min-height: 760px;
  grid-template-columns: 0.86fr 1.14fr;
  border-top: 1px solid var(--studio-line);
  border-bottom: 1px solid var(--studio-line);
}

.project-studios .studio-unit-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 7vw;
  border-left: 1px solid var(--studio-line);
}

.project-studios .studio-unit-copy h2 {
  margin: 15px 0 22px;
  color: var(--project-ink);
  font-size: clamp(46px, 4.6vw, 66px);
  font-weight: 400;
  line-height: 1.1;
}

.project-studios .studio-unit-copy > p {
  max-width: 520px;
  margin: 0;
  color: var(--project-muted);
  font-size: 17px;
  line-height: 1.9;
}

.project-studios .studio-unit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.project-studios .studio-unit-tabs button {
  min-width: 92px;
  border: 1px solid var(--studio-line);
  padding: 11px 18px;
  background: transparent;
  color: var(--project-ink);
  font-family: inherit;
  cursor: pointer;
}

.project-studios .studio-unit-tabs button.active {
  border-color: var(--project-ink);
  background: var(--project-ink);
  color: #fff;
}

.project-studios .studio-unit-data {
  display: flex;
  max-width: 520px;
  gap: 30px;
  margin: 20px 0 32px;
  border-top: 1px solid var(--studio-line);
  border-bottom: 1px solid var(--studio-line);
  padding: 20px 0;
}

.project-studios .studio-unit-data span,
.project-studios .studio-unit-data strong {
  display: block;
}

.project-studios .studio-unit-data span {
  color: var(--project-muted);
  font-size: 15px;
}

.project-studios .studio-unit-data strong {
  color: var(--project-ink);
  font-size: 21px;
}

.project-studios .studio-unit-cta {
  align-self: flex-start;
  border: 1px solid var(--project-ink);
  background: var(--project-ink);
  color: #fff;
}

.project-studios .studio-unit-visual {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 8%;
  background: #fff;
}

.project-studios .studio-unit-visual > img {
  position: static;
  width: 78%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
  transition: opacity 0.22s ease;
}

.project-studios .studio-unit-inset {
  position: absolute;
  bottom: 28px;
  left: 28px;
  width: min(42%, 330px);
  height: auto;
  border: 10px solid #fff;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgb(40 33 28 / 14%);
}

.project-studios .studio-unit-inset img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
  transition: opacity 0.22s ease;
}

/* Project 3 shares the same calm surface and interactive unit system while
   keeping the original Khuzama imagery unfiltered and uncropped. */
.project-khuzama.project-studios .project-gallery-grid img {
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.project-khuzama.project-studios .project-gallery-grid .sheet img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.project-khuzama.project-studios .studio-unit-visual > img {
  width: min(76%, 590px);
  max-height: 590px;
}

.project-khuzama.project-studios .studio-unit-inset {
  width: min(46%, 380px);
}

@keyframes clean-copy-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes clean-photo-in {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .sadan-inspired-project .project-hero-copy {
    padding-inline: 45px;
  }

  .sadan-inspired-project .project-hero-facts {
    right: 45px;
    width: calc(50% - 90px);
  }
}

@media (max-width: 760px) {
  .sadan-inspired-project .site-header,
  .sadan-inspired-project .site-header.solid,
  .sadan-inspired-project .site-header.scrolled {
    height: 68px;
  }

  .sadan-inspired-project .project-hero {
    display: block;
    height: auto;
    min-height: 900px;
    padding: 0;
  }

  .sadan-inspired-project .project-hero::before {
    top: 68px;
    width: 100%;
    height: 55%;
  }

  .sadan-inspired-project .project-hero::after {
    display: none;
  }

  .sadan-inspired-project .project-hero-copy {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    padding: 105px 20px 48px;
  }

  .sadan-inspired-project .project-hero-copy h1 {
    font-size: clamp(48px, 15vw, 67px);
  }

  .sadan-inspired-project .project-hero-copy p {
    font-size: 16px;
  }

  .sadan-inspired-project .project-hero-copy > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sadan-inspired-project .project-hero-copy .button:first-child {
    grid-column: 1 / -1;
  }

  .sadan-inspired-project.brand-project-detail .project-hero > img,
  .sadan-inspired-project.project-studios .project-hero > img {
    inset: auto 0 0;
    width: 100%;
    height: 43%;
    object-position: center 48%;
  }

  .sadan-inspired-project.project-studios .project-hero > img {
    height: 43%;
    object-position: center 54%;
    transform: none;
  }

  .sadan-inspired-project .project-hero-facts {
    right: 20px;
    bottom: 18px;
    left: 20px;
    width: auto;
    grid-template-columns: repeat(2, 1fr);
    background: rgb(255 253 249 / 94%);
    padding: 8px;
  }

  .sadan-inspired-project .project-hero-facts div {
    padding-top: 10px;
  }

  .sadan-inspired-project .project-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 75px 20px;
  }

  .project-studios .project-intro {
    min-height: 0;
  }

  .project-studios .studio-units {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .project-studios .studio-unit-copy {
    padding: 72px 20px 55px;
    border-left: 0;
  }

  .project-studios .studio-unit-copy h2 {
    font-size: clamp(44px, 14vw, 61px);
  }

  .project-studios .studio-unit-data {
    flex-direction: column;
    gap: 8px;
  }

  .project-studios .studio-unit-visual {
    min-height: 580px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sadan-inspired-project .project-hero-copy,
  .sadan-inspired-project.brand-project-detail .project-hero > img {
    animation: none;
  }
}
