/* ==========================================================================
   /projects/[slug]/ — Construction project detail page (shared stylesheet)
   Mirrors REFERENCES/project-detail-final-v2/index.html. Tokens are taken
   from the codebase global tokens.css; legacy aliases (--gold-grad, --warm,
   --hero, --serif, --sans, --ease, --cinema, --max, --ivory-fade) are
   redeclared here so the BEM blocks lift directly from the reference.
   ========================================================================== */

:root {
  --gold-grad: var(--gold-gradient);
  --warm: var(--bg-warm);
  --hero: var(--bg-hero);
  --serif: var(--font-display);
  --sans: var(--font-body);
  --ease: var(--ease-soft);
  --cinema: var(--ease-cinema);
  --max: var(--max-w);
  --ivory-fade: rgba(244, 237, 224, 0.35);
}

/* Local element resets and the gold-gradient default <em>.
   Scoped to .pd-page so the global header/footer typography isn't trampled. */
.pd-page em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* —— HERO —— */
.hero {
  position: relative;
  width: 100%;
  height: min(94vh, 860px);
  overflow: hidden;
  background: var(--hero);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.78) saturate(.92);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(13, 13, 13, .55) 0%,
              rgba(13, 13, 13, 0) 30%,
              rgba(13, 13, 13, 0) 60%,
              rgba(13, 13, 13, .92) 100%);
}
.hero__cap {
  position: absolute;
  left: var(--gutter);
  bottom: var(--gutter);
  max-width: 620px;
}
.hero__cap-eye {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__cap-eye::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-line);
}
.hero__cap-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: .96;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--ivory);
}

/* —— MASTHEAD —— */
.mast {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) var(--gutter) clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}
.mast__eye {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mast__eye::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-line);
}
.mast__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -.01em;
  font-weight: 400;
  margin-bottom: 28px;
}
.mast__title em { font-style: italic; }

.mast__lead {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
  color: var(--ivory-dim);
  font-style: italic;
  max-width: 520px;
}

/* —— META STRIP —— */
.meta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
}
.meta__grid {
  display: grid;
  /* Driven by the inline `--meta-cols` style attribute on the section, so
     non-construction projects with 3 or 4 cells render flush instead of
     leaving empty 5-col slots. Defaults to 5 if unset. */
  grid-template-columns: repeat(var(--meta-cols, 5), 1fr);
}

/* "Render-only" badge in the Locality cell on virtuelle pages */
.meta__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  border: 1px solid var(--gold-faint);
  vertical-align: middle;
}
.meta__cell {
  padding: 24px 28px;
  border-right: 1px solid var(--gold-faint);
}
.meta__cell:last-child { border-right: 0; }
.meta__label {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ivory-fade);
  margin-bottom: 8px;
}
.meta__value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ivory);
}
.meta__value em { font-style: italic; }

/* —— ROOM-BY-ROOM (image-paired note chapters) —— */
.rxr {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 140px);
}
.rxr__head {
  margin-bottom: clamp(48px, 8vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.rxr__eye {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.rxr__eye::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-line);
}
.rxr__title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -.01em;
  font-weight: 400;
  max-width: 640px;
}
.rxr__title em { font-style: italic; }
.rxr__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ivory-fade);
  max-width: 300px;
  text-align: right;
}

.rxr__list {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vw, 120px);
}

.chap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
}
.chap:nth-child(even) .chap__visual { order: 2; }
.chap:nth-child(even) .chap__copy   { order: 1; }

.chap__visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1a1612;
  border: 1px solid var(--gold-faint);
}
.chap__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.92) saturate(.95);
  transition: filter .6s var(--ease), transform 1.4s var(--cinema);
}
.chap:hover .chap__visual img {
  filter: brightness(1.02) saturate(1);
  transform: scale(1.025);
}
.chap__visual-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-mid);
  background: rgba(13, 13, 13, .6);
  padding: 7px 12px;
  border: 1px solid var(--gold-faint);
  backdrop-filter: blur(8px);
}
.chap__visual-pending {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  background: rgba(13, 13, 13, .65);
  padding: 5px 10px;
  border: 1px solid var(--gold-faint);
  backdrop-filter: blur(6px);
}

.chap__copy { padding: clamp(8px, 1.5vw, 28px) 0; }
.chap__head { margin-bottom: 22px; }
.chap__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.01em;
  display: block;
}
.chap__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.06;
  letter-spacing: -.01em;
  font-weight: 400;
  margin-bottom: 24px;
  margin-top: 6px;
}
.chap__title em { font-style: italic; }
.chap__body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.78;
  color: var(--ivory);
  max-width: 520px;
}
.chap__body p { margin-bottom: 1em; }
.chap__body p:last-child { margin-bottom: 0; }

/* —— THE PLAN —— */
.plan {
  border-top: 1px solid var(--gold-faint);
  background: var(--warm);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.plan__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

/* Specs-only variant — for non-construction projects (interior / commercial /
   virtuelle) where the floor-plan visual is dropped entirely. The specs panel
   becomes the section's centerpiece, single-column, capped at ~640px. */
.plan--specs-only .plan__inner {
  grid-template-columns: 1fr;
  max-width: 640px;
}
.plan--specs-only .plan__copy {
  padding: 0;
  text-align: left;
}

/* === PLAN VISUAL HEADING ===
   Centered italic eyebrow ("3D Isometric View") above the plan/iso/facade
   image. Replaces the corner-tag + iso-note overlays from the original §11
   build. */
.plan__visual {
  /* re-declare so the heading + image stack vertically + center */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.plan__visual img { display: block; margin: 0 auto; }
.plan__visual-heading {
  font-family: var(--serif);
  font-size: clamp(13px, 1.2vw, 15px);
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-mid);
  text-align: center;
  margin: 0 0 18px 0;
  font-weight: 400;
}

/* === RXR-SPLIT ===
   New layout for the "Notes from the studio" section on construction-style
   pages. Sticky walkthrough video on the left, scrolling text-only notes on
   the right. Replaces the original image-paired alternating chap blocks. */
.rxr-split {
  padding: clamp(60px, 8vw, 120px) 0 0;
  background: var(--bg-primary);
}
.rxr-split__head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(28px, 4vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.rxr-split__eye {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.rxr-split__eye::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-line);
}
.rxr-split__title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 680px;
}
.rxr-split__title em { font-style: italic; }
.rxr-split__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ivory-fade);
  max-width: 340px;
  text-align: right;
}
@media (max-width: 880px) {
  .rxr-split__sub { text-align: left; }
}

.rxr-split__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  align-items: start;
}
@media (max-width: 880px) {
  .rxr-split__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.rxr-split__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 880px) {
  .rxr-split__sticky {
    position: relative;
    height: auto;
    padding: 0;
  }
}

.rxr-split__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  border: 1px solid var(--gold-faint);
  cursor: pointer;
}
.rxr-split__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.rxr-split__video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.62) saturate(.95);
  transition: filter .4s ease;
}
.rxr-split__video:hover .rxr-split__video-poster {
  filter: brightness(.78) saturate(1);
}
.rxr-split__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  background: rgba(13, 13, 13, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-family: inherit;
}
.rxr-split__play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--gold-primary);
  margin-left: 5px;
}
.rxr-split__video.is-playing .rxr-split__video-poster,
.rxr-split__video.is-playing .rxr-split__play {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.rxr-split__notes {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
  padding: clamp(20px, 4vw, 60px) 0 clamp(80px, 10vw, 140px);
}
.rxr-split__note { display: flex; flex-direction: column; }
.rxr-split__note-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--gold-faint);
}
.rxr-split__note:first-child .rxr-split__note-head {
  border-top: 0;
  padding-top: 0;
}
.rxr-split__note-num {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.01em;
}
.rxr-split__note-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.06;
  font-weight: 400;
  margin: 0;
}
.rxr-split__note-title em { font-style: italic; }
.rxr-split__note-body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ivory);
  max-width: 100%;
}
.rxr-split__note-body p { margin: 0 0 1em 0; }
.rxr-split__note-body p:last-child { margin-bottom: 0; }
.plan__visual {
  position: relative;
  aspect-ratio: 4/3;
  background: #1a1612;
  overflow: hidden;
  border: 1px solid var(--gold-faint);
}
.plan__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1612;
  padding: clamp(20px, 3vw, 40px);
}
.plan__visual--placeholder {
  display: grid;
  place-items: center;
  text-align: center;
}
.plan__visual--placeholder .plan__placeholder {
  font-family: var(--serif);
  color: var(--ivory-dim);
  padding: 24px;
}
.plan__visual--placeholder .plan__placeholder strong {
  display: block;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--ivory);
  margin-bottom: 8px;
  font-weight: 400;
}
.plan__visual--placeholder .plan__placeholder span {
  font-style: italic;
  font-size: 13px;
  letter-spacing: .04em;
}
.plan__floor-tag {
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-mid);
  background: rgba(13, 13, 13, .6);
  padding: 8px 14px;
  border: 1px solid var(--gold-faint);
  backdrop-filter: blur(8px);
}
.plan__iso-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-style: italic;
  color: var(--ivory-dim);
  background: rgba(13, 13, 13, .6);
  padding: 7px 12px;
  border: 1px solid var(--gold-faint);
  backdrop-filter: blur(8px);
}

.plan__copy { padding: clamp(20px, 3vw, 40px) 0; }
.plan__eye {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.plan__eye::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-line);
}
.plan__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.01em;
  font-weight: 400;
  margin-bottom: 18px;
}
.plan__title em { font-style: italic; }
.plan__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory-dim);
  margin-bottom: 28px;
  max-width: 440px;
}
.plan__legend {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 24px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .02em;
  border-top: 1px solid var(--gold-faint);
  padding-top: 18px;
}
.plan__legend > .plan__lab { color: var(--ivory); }
.plan__legend > .plan__sf {
  color: var(--ivory-fade);
  font-feature-settings: "tnum";
  text-align: right;
}
.plan__legend > .plan__divider {
  grid-column: 1 / -1;
  border-top: 1px solid var(--gold-faint);
  padding-top: 14px;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-mid);
}
.plan__legend > .plan__total {
  color: var(--gold-mid);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--gold-faint);
  margin-top: 6px;
}
.plan__legend > .plan__totalsf {
  color: var(--gold-primary);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  font-feature-settings: "tnum";
  text-align: right;
  padding-top: 14px;
  border-top: 1px solid var(--gold-faint);
  margin-top: 6px;
}

/* —— THE GALLERY TEASE —— */
.tease {
  border-top: 1px solid var(--gold-faint);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.tease__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}
.tease__eye {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tease__eye::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-line);
}
.tease__title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -.01em;
  font-weight: 400;
}
.tease__title em { font-style: italic; }
.tease__count {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ivory-fade);
  font-feature-settings: "tnum";
}

.tease__strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 14px;
  margin-bottom: 42px;
  height: clamp(280px, 40vw, 460px);
}
.tease__cell {
  position: relative;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color .35s var(--ease);
}
.tease__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--cinema), filter .5s var(--ease);
  filter: brightness(.84) saturate(.95);
}
.tease__cell:hover img {
  transform: scale(1.04);
  filter: brightness(.94) saturate(1);
}
.tease__cell:hover { border-color: var(--gold-faint); }

/* Pending-gallery placeholder */
.tease__pending {
  display: grid;
  place-items: center;
  height: clamp(260px, 36vw, 380px);
  background: #111;
  border: 1px dashed var(--gold-faint);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.tease__pending img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.32) saturate(.6);
}
.tease__pending p {
  position: relative;
  z-index: 1;
  max-width: 480px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ivory-dim);
  padding: 0 24px;
}

.btn-cinema {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 36px;
  background: transparent;
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid var(--gold-line);
  cursor: pointer;
  overflow: hidden;
  transition: color .35s var(--ease);
  font-family: var(--sans);
}
.btn-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--cinema);
  z-index: 0;
}
.btn-cinema > * { position: relative; z-index: 1; }
.btn-cinema:hover::before { transform: scaleX(1); }
.btn-cinema:hover { color: #0D0D0D; }
.btn-cinema__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-mid);
  transition: color .35s var(--ease);
}
.btn-cinema:hover .btn-cinema__num { color: #0D0D0D; }
.btn-cinema__arrow {
  font-family: var(--serif);
  font-size: 18px;
}

/* —— WALKTHROUGH —— */
.walk {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
}
.walk__head { margin-bottom: 32px; }
.walk__eye {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.walk__eye::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold-line);
}
.walk__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.01em;
  font-weight: 400;
}
.walk__title em { font-style: italic; }
.walk__frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--gold-faint);
}
.walk__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.62) saturate(.95);
  transition: filter .5s var(--ease);
  z-index: 1;
}
.walk__frame:hover .walk__thumb {
  filter: brightness(.78) saturate(1);
}
.walk__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  background: rgba(13, 13, 13, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  z-index: 2;
  cursor: pointer;
}
.walk__play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--gold-primary);
  margin-left: 6px;
}
.walk__frame.is-playing .walk__thumb,
.walk__frame.is-playing .walk__play {
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}

/* Walkthrough pending (under-construction projects) */
.walk__pending {
  border: 1px dashed var(--gold-faint);
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--ivory-dim);
  background: rgba(13, 13, 13, .35);
}

/* —— RELATED —— */
.related {
  border-top: 1px solid var(--gold-faint);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.related__inner { max-width: var(--max); margin: 0 auto; }
.related__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.related__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.04;
  font-weight: 400;
}
.related__title em { font-style: italic; }
.related__link {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  border-bottom: 1px solid var(--gold-faint);
  padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.related__link:hover {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rcard__img {
  aspect-ratio: 4/5;
  background: #1a1a1a;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--gold-faint);
  transition: border-color .35s var(--ease);
}
.rcard:hover .rcard__img { border-color: var(--gold-line); }
.rcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85);
  transition: filter .5s var(--ease), transform 1.2s var(--cinema);
}
.rcard:hover .rcard__img img {
  filter: brightness(1);
  transform: scale(1.04);
}
.rcard__loc {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 8px;
}
.rcard__name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 6px;
  transition: color .25s var(--ease);
}
.rcard:hover .rcard__name { color: var(--gold-primary); }
.rcard__meta {
  font-size: 13px;
  color: var(--ivory-fade);
  font-style: italic;
  font-family: var(--serif);
}

/* —— END CTA —— */
.endcta {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  text-align: center;
  border-top: 1px solid var(--gold-faint);
  background: var(--warm);
}
.endcta__inner { max-width: 780px; margin: 0 auto; }
.endcta__eye {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 24px;
}
.endcta__title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -.01em;
  font-weight: 400;
  margin-bottom: 32px;
}
.endcta__title em { font-style: italic; }
.endcta__btn {
  display: inline-block;
  padding: 20px 44px;
  border: 1px solid var(--gold-primary);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.endcta__btn:hover {
  background: var(--gold-primary);
  color: #0D0D0D;
}

/* —— RESPONSIVE —— */
@media (max-width: 880px) {
  .mast { grid-template-columns: 1fr; gap: 32px; }
  .meta__grid { grid-template-columns: repeat(2, 1fr); }
  .meta__cell {
    border-right: 1px solid var(--gold-faint);
    border-bottom: 1px solid var(--gold-faint);
  }
  .meta__cell:nth-child(2n) { border-right: 0; }
  .meta__cell:nth-last-child(-n+2) { border-bottom: 0; }
  .meta__cell:last-child { border-right: 1px solid var(--gold-faint); }

  .chap { grid-template-columns: 1fr; gap: 24px; }
  .chap:nth-child(even) .chap__visual,
  .chap:nth-child(even) .chap__copy { order: initial; }

  .plan__inner { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .rxr__sub { text-align: left; }
  .tease__strip {
    grid-template-columns: 1fr 1fr;
    height: auto;
    gap: 10px;
  }
  .tease__strip > *:nth-child(3) { display: none; }
  .tease__cell { aspect-ratio: 4/3; }
}

/* ============================================================
   CINEMATIC GALLERY OVERLAY (no per-image captions)
   Lifted verbatim from REFERENCES/project-detail-final-v2.
   ============================================================ */

.cinema {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity .45s var(--cinema), visibility 0s linear .45s;
}
.cinema.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .55s var(--cinema);
}
.cinema__ambient {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(.32) saturate(1.1);
  transform: scale(1.15);
  transition: background-image .9s var(--cinema);
}
.cinema__veil {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, .78);
}
.cinema__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 8vh, 100px) clamp(40px, 6vw, 120px);
}
.cinema__frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cinema__img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .55s var(--cinema), transform 6s linear;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  will-change: opacity, transform;
}
.cinema__img.is-active {
  opacity: 1;
  transform: scale(1.005);
}

.cinema__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px clamp(20px, 3vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  color: var(--ivory);
}
.cinema__crumb {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  display: flex;
  align-items: center;
  gap: 14px;
}
.cinema__crumb em {
  font-style: italic;
  color: var(--gold-mid);
  text-transform: none;
  letter-spacing: .04em;
  font-family: var(--serif);
  font-size: 13px;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.cinema__crumb-line {
  width: 32px;
  height: 1px;
  background: var(--gold-line);
}
.cinema__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold-line);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  transition: border-color .3s var(--ease), color .3s var(--ease);
  position: relative;
}
.cinema__close::after {
  content: "ESC";
  position: absolute;
  top: 48px;
  right: 0;
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--ivory-fade);
  font-family: var(--sans);
}
.cinema__close:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.cinema__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px clamp(20px, 3vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
  gap: 32px;
}
.cinema__counter {
  font-family: var(--serif);
  font-size: 18px;
  font-feature-settings: "tnum";
  letter-spacing: .04em;
  color: var(--ivory);
}
.cinema__counter span {
  color: var(--ivory-fade);
  font-size: 14px;
  margin: 0 8px;
}
.cinema__dots {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 65%;
  justify-content: flex-end;
}
.cinema__dot {
  width: 14px;
  height: 2px;
  background: var(--ivory-fade);
  cursor: pointer;
  transition: background .3s var(--ease), width .3s var(--ease);
  border: 0;
  padding: 0;
}
.cinema__dot:hover { background: var(--ivory-dim); }
.cinema__dot.is-active {
  background: var(--gold-primary);
  width: 28px;
}

.cinema__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(13, 13, 13, .4);
  backdrop-filter: blur(10px);
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 24px;
  z-index: 10;
  opacity: 0;
  transition: opacity .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.cinema.is-open .cinema__nav { opacity: .7; }
.cinema__nav:hover {
  opacity: 1;
  background: rgba(201, 168, 76, .18);
  border-color: var(--gold-primary);
}
.cinema__nav--prev { left: clamp(14px, 2vw, 30px); }
.cinema__nav--next { right: clamp(14px, 2vw, 30px); }

.cinema__strip {
  position: absolute;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(13, 13, 13, .6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-faint);
  max-width: 90vw;
  overflow-x: auto;
  opacity: 0;
  transition: opacity .3s var(--ease);
  z-index: 9;
  scrollbar-width: none;
}
.cinema__strip::-webkit-scrollbar { display: none; }
.cinema:hover .cinema__strip { opacity: 1; }
.cinema__thumb {
  flex: 0 0 auto;
  width: 62px;
  height: 42px;
  object-fit: cover;
  cursor: pointer;
  opacity: .45;
  transition: opacity .3s var(--ease), border-color .3s var(--ease);
  border: 1px solid transparent;
}
.cinema__thumb:hover { opacity: .85; }
.cinema__thumb.is-active {
  opacity: 1;
  border-color: var(--gold-primary);
}

body.cinema-open { overflow: hidden; }

.cinema__hint {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  top: 80px;
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ivory-fade);
  display: flex;
  gap: 18px;
  z-index: 10;
}
.cinema__hint kbd {
  font-family: var(--sans);
  background: transparent;
  border: 1px solid var(--gold-faint);
  padding: 3px 7px;
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--ivory-dim);
}

@media (max-width: 880px) {
  .cinema__stage { padding: 80px 14px 90px; }
  .cinema__strip { display: none; }
  .cinema__nav { width: 44px; height: 44px; font-size: 18px; }
  .cinema__bottom {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cinema__dots {
    max-width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 780px) { .cinema__hint { display: none; } }


/* ============================================================
   CONSTRUCTION-PROJECT REDESIGN
   .fullvid       — full-width 16:9 walkthrough hero
   .notes-grid    — 4 chapter cards in 2x2 grid (text-only)
   ============================================================ */

.fullvid {
  padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--gold-faint);
  background: var(--bg-primary);
}

.fullvid__head {
  max-width: var(--max-w);
  margin: 0 auto clamp(28px, 3.5vw, 48px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.fullvid__eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin: 0 0 12px;
}

.fullvid__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  font-weight: 400;
  color: var(--ivory);
  margin: 0;
}

.fullvid__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fullvid__sub {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  margin: 0;
  max-width: 360px;
}

.fullvid__frame {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border: 1px solid var(--gold-faint);
  cursor: pointer;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.fullvid__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-cinema), filter 600ms var(--ease-cinema);
  filter: brightness(0.78) saturate(0.95);
}

.fullvid__frame:hover .fullvid__poster {
  transform: scale(1.025);
  filter: brightness(0.88) saturate(1);
}

.fullvid__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.fullvid__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(72px, 7vw, 110px);
  height: clamp(72px, 7vw, 110px);
  border: 2px solid var(--gold-primary);
  background: rgba(13,13,13,0.55);
  border-radius: 50%;
  cursor: pointer;
  transition: background 320ms var(--ease-soft), transform 320ms var(--ease-soft), border-color 320ms var(--ease-soft);
  display: grid;
  place-items: center;
}

.fullvid__play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--gold-primary);
  margin-left: 6px;
  transition: border-color 320ms var(--ease-soft);
}

.fullvid__frame:hover .fullvid__play {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  transform: translate(-50%, -50%) scale(1.06);
}

.fullvid__frame:hover .fullvid__play::before {
  border-left-color: var(--bg-primary);
}

.fullvid__caption {
  max-width: var(--max-w);
  margin: 18px auto 0;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  text-align: center;
}

/* ===== NOTES GRID (2x2) ===== */

.notes-grid {
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px);
  background: var(--bg-warm);
  border-top: 1px solid var(--gold-faint);
}

.notes-grid__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.notes-grid__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4vw, 60px);
  flex-wrap: wrap;
}

.notes-grid__eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin: 0 0 12px;
}

.notes-grid__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 400;
  color: var(--ivory);
  margin: 0;
}

.notes-grid__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notes-grid__sub {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  margin: 0;
  max-width: 320px;
}

.notes-grid__cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 36px);
}

.note-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3.2vw, 44px) clamp(28px, 3.2vw, 44px);
  background: rgba(13, 13, 13, 0.5);
  border: 1px solid var(--gold-faint);
  transition: border-color 360ms var(--ease-soft), background 360ms var(--ease-soft), transform 360ms var(--ease-soft);
}

.note-card:hover {
  border-color: var(--gold-line);
  background: rgba(13, 13, 13, 0.7);
  transform: translateY(-2px);
}

.note-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.note-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  font-weight: 400;
  color: var(--ivory);
  margin: 0;
}

.note-card__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.note-card__body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ivory-dim);
  margin: 0;
}

.note-card__body em {
  font-style: italic;
  color: var(--gold-mid);
  font-weight: 500;
}

@media (max-width: 780px) {
  .notes-grid__cells { grid-template-columns: 1fr; }
  .fullvid__head { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   PLAN BLOCK — full-iso + 2-col specs/rooms
   ============================================================ */

.planblock {
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(80px, 10vw, 140px);
  background: var(--bg-primary);
  border-top: 1px solid var(--gold-faint);
}

/* full-width iso image — centered, max 1200px */
.planblock__iso {
  max-width: 1200px;
  margin: 0 auto clamp(48px, 6vw, 88px);
  text-align: center;
}

.planblock__iso-heading {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.08em;
  color: var(--gold-mid);
  margin: 0 0 18px;
  font-weight: 400;
  font-style: italic;
}

.planblock__iso img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--gold-faint);
  background: var(--bg-warm);
}

.planblock__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.planblock__head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 4vw, 60px);
  text-align: center;
}

.planblock__eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 12px;
}

.planblock__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  font-weight: 400;
  color: var(--ivory);
  margin: 0 0 14px;
}

.planblock__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.planblock__lead {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ivory-dim);
  margin: 0;
}

.planblock__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* SPEC LIST — clean def-list with fixed-width labels (no awkward wrap) */

.speclist__heading {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-faint);
  font-weight: 400;
}

.speclist__heading span {
  text-transform: none;
  letter-spacing: 0.04em;
  font-style: italic;
  color: var(--ivory-dim);
  margin-left: 6px;
  font-size: 11px;
}

.speclist__rows {
  display: grid;
  grid-template-columns: minmax(140px, 38%) 1fr;
  gap: 0;
  margin: 0;
}

.speclist__rows dt {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.10);
  align-self: center;
}

.speclist__rows dd {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ivory);
  padding: 14px 0;
  margin: 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.10);
}

.speclist__rows dt:last-of-type,
.speclist__rows dd:last-of-type {
  border-bottom: 0;
}

@media (max-width: 880px) {
  .planblock__cols { grid-template-columns: 1fr; gap: 40px; }
  .speclist__rows { grid-template-columns: minmax(110px, 36%) 1fr; }
  .speclist__rows dd { font-size: 14px; }
}

/* Single-column variant — used when a project has no roomMeasurements AND no
   carpetArea, so the right "Area schedule" panel would otherwise be empty.
   The lone Materials & finishes panel sits centered, capped at 720px. */
.planblock__cols--single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

/* Specs-only variant — used by interior projects WITHOUT an iso file
   (the-chambers, the-renovation, the-noida-two, the-enclave-corner-interior).
   The .planblock__iso block is omitted entirely so we tighten the top padding
   to compensate for the missing visual side. */
.planblock--no-iso { padding-top: clamp(56px, 7vw, 88px); }

/* Pending walkthrough state — under-construction projects without a YT id.
   The frame becomes a quiet card with an italic "filmed at handover" line. */
.fullvid__frame--pending {
  background: var(--bg-warm);
  cursor: default;
  box-shadow: none;
}
.fullvid__frame--pending:hover .fullvid__poster,
.fullvid__frame--pending:hover .fullvid__play { /* no hover state */ }

.fullvid__pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px;
}
.fullvid__pending-eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
}
.fullvid__pending-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--ivory);
}

/* Sq.ft em — italic gold-mid suffix on dd values (matches reference) */
.speclist__rows dd em {
  font-style: italic;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--gold-mid);
  font-size: 0.85em;
  margin-left: 4px;
}

/* =========================================================================
   SALE PAGES — builder-floor LISTINGS (the-belvedere, the-modern-arches)
   Sections: facade-story · specs-brief · units-for-sale · stilt-level ·
             planview · planblock--iso-pending · turnkey-cta
   ========================================================================= */

/* ----- facade-story (feature paragraph) ----- */
.facade-story {
  padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(40px, 5vw, 64px);
  background: var(--bg-primary);
}
.facade-story__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.facade-story__eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 20px;
}
.facade-story__body {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color: var(--ivory);
  margin: 0;
  font-weight: 400;
}

/* ----- specs-brief (top-of-page table) ----- */
.specs-brief {
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  background: var(--bg-warm);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
}
.specs-brief__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.specs-brief__head { margin-bottom: clamp(28px, 3.5vw, 48px); text-align: center; }
.specs-brief__eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 14px;
}
.specs-brief__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  color: var(--ivory);
  margin: 0 0 16px;
  font-weight: 400;
}
.specs-brief__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.specs-brief__lead {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ivory-dim);
  max-width: 640px;
  margin: 0 auto;
}
.specs-brief__rows {
  display: grid;
  grid-template-columns: minmax(180px, 28%) 1fr;
  gap: 14px 28px;
  margin: 0;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 36px);
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid var(--gold-faint);
}
.specs-brief__rows dt {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  font-weight: 400;
  align-self: baseline;
}
.specs-brief__rows dd {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.5;
  color: var(--ivory);
  margin: 0;
  align-self: baseline;
}
@media (max-width: 720px) {
  .specs-brief__rows { grid-template-columns: 1fr; gap: 4px 0; }
  .specs-brief__rows dt { margin-top: 14px; }
  .specs-brief__rows dt:first-of-type { margin-top: 0; }
}

/* ----- units-for-sale + unit-card ----- */
.units-for-sale {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--bg-primary);
}
.units-for-sale__inner { max-width: var(--max-w); margin: 0 auto; }
.units-for-sale__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(36px, 4.5vw, 64px);
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--gold-faint);
}
.units-for-sale__eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 12px;
}
.units-for-sale__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.05;
  color: var(--ivory);
  margin: 0;
  font-weight: 400;
}
.units-for-sale__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.units-for-sale__sub {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory-dim);
  max-width: 380px;
  margin: 0;
  flex-shrink: 0;
}
.units-for-sale__sub em {
  font-style: italic;
  color: var(--gold-mid);
}
.units-for-sale__list {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
}

.unit-card {
  background: var(--bg-warm);
  border: 1px solid var(--gold-faint);
  padding: clamp(28px, 3.5vw, 48px);
  transition: border-color 320ms var(--ease-soft);
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
}
.unit-card:hover { border-color: var(--gold-line); }
.unit-card__head { border-bottom: 1px solid var(--gold-faint); padding-bottom: clamp(16px, 2vw, 24px); }
.unit-card__name-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.unit-card__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  color: var(--ivory);
  margin: 0;
  font-weight: 400;
}
.unit-card__price {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  white-space: nowrap;
}
.unit-card__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--ivory-dim);
  margin: 12px 0 0;
}
.unit-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 24px;
  margin: 0;
}
.unit-card__meta-row dt {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 4px;
  font-weight: 400;
}
.unit-card__meta-row dd {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.4;
  color: var(--ivory);
  margin: 0;
}
.unit-card__highlights-heading {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin: 0 0 14px;
  font-weight: 400;
}
.unit-card__highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.unit-card__highlights-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory);
}
.unit-card__highlights-list li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--gold-mid);
  font-size: 18px;
  line-height: 1.2;
}
.unit-card__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory-dim);
  margin: 0;
  padding: 14px 18px;
  background: rgba(201, 168, 76, 0.06);
  border-left: 2px solid var(--gold-faint);
}
.unit-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg-primary);
  background: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  transition: background 320ms var(--ease-soft), border-color 320ms var(--ease-soft);
}
.unit-card__cta:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ----- stilt-level (shared facilities list) ----- */
.stilt-level {
  padding: clamp(56px, 7vw, 88px) var(--gutter);
  background: var(--bg-warm);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
}
.stilt-level__inner { max-width: 920px; margin: 0 auto; }
.stilt-level__head { margin-bottom: clamp(20px, 2.5vw, 32px); }
.stilt-level__eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 12px;
}
.stilt-level__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
  color: var(--ivory);
  margin: 0;
  font-weight: 400;
}
.stilt-level__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.stilt-level__items li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory);
}
.stilt-level__items li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--gold-mid);
  font-size: 18px;
  line-height: 1.2;
}

/* ----- planview (floor plan viewer) ----- */
.planview {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--bg-primary);
}
.planview__inner { max-width: var(--max-w); margin: 0 auto; }
.planview__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(36px, 4.5vw, 64px);
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--gold-faint);
}
.planview__eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 12px;
}
.planview__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.05;
  color: var(--ivory);
  margin: 0;
  font-weight: 400;
}
.planview__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.planview__sub {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory-dim);
  max-width: 380px;
  margin: 0;
  flex-shrink: 0;
}
.planview__list {
  display: grid;
  gap: clamp(28px, 3.5vw, 48px);
}
.planview__item { margin: 0; }
.planview__link {
  display: block;
  position: relative;
  background: var(--bg-warm);
  border: 1px solid var(--gold-faint);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 320ms var(--ease-soft);
}
.planview__link:hover { border-color: var(--gold-line); }
.planview__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  background: #f4ede0;
}
.planview__zoom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--gold-primary);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 280ms var(--ease-soft), transform 280ms var(--ease-soft);
}
.planview__link:hover .planview__zoom,
.planview__link:focus-visible .planview__zoom {
  opacity: 1;
  transform: translateY(0);
}
.planview__cap {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}
.planview__cap-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold-mid);
}
.planview__cap-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ivory-dim);
  line-height: 1.4;
}

/* Lightbox overlay (mounted by inline planview script) */
.planview-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  z-index: 9999;
}
.planview-lightbox.is-open { display: flex; }
.planview-lightbox__img {
  max-width: 95vw;
  max-height: 80vh;
  object-fit: contain;
  background: #f4ede0;
  border: 1px solid var(--gold-faint);
}
.planview-lightbox__cap {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ivory-dim);
  text-align: center;
}
.planview-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-faint);
  background: rgba(13, 13, 13, 0.8);
  color: var(--ivory);
  font-size: 22px;
  cursor: pointer;
  transition: border-color 280ms var(--ease-soft), background 280ms var(--ease-soft);
}
.planview-lightbox__close:hover { border-color: var(--gold-line); background: var(--bg-primary); }

/* ----- planblock--iso-pending (placeholder until iso ships) ----- */
.planblock--iso-pending {
  padding-top: clamp(56px, 7vw, 88px);
}
.planblock__iso--pending {
  text-align: center;
  background: rgba(201, 168, 76, 0.04);
  border: 1px dashed var(--gold-faint);
  padding: clamp(48px, 6vw, 88px) clamp(24px, 3vw, 48px);
  margin: 0 auto;
  max-width: 720px;
}
.planblock__iso-pending-block {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ivory-dim);
  margin-top: 16px;
  line-height: 1.6;
}

/* ----- furnish-block (3 tiers — semi-furnished · register · bespoke Virtuelle)
   Replaces the older single-CTA .turnkey-cta. Sale-page-only section. ----- */
.furnish-block {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--bg-warm);
  border-top: 1px solid var(--gold-faint);
}
.furnish-block__inner { max-width: var(--max-w); margin: 0 auto; }
.furnish-block__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.furnish-block__eye {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 14px;
}
.furnish-block__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.05;
  color: var(--ivory);
  margin: 0 0 20px;
  font-weight: 400;
}
.furnish-block__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.furnish-block__sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ivory-dim);
  margin: 0;
}

.furnish-block__tiers {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ftier {
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid var(--gold-faint);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 320ms var(--ease-soft), transform 320ms var(--ease-soft);
}
.ftier:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
}
.ftier__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: var(--gold-mid);
  margin-bottom: 4px;
}
.ftier__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  color: var(--ivory);
  margin: 0;
  font-weight: 400;
}
.ftier__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ftier__price {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin: 0;
}
.ftier__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  flex-grow: 1;
}
.ftier__list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ivory);
}
.ftier__list li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--gold-mid);
  font-size: 18px;
  line-height: 1.2;
}
.ftier__list li em {
  font-style: italic;
  color: var(--gold-mid);
  font-weight: 500;
}
.ftier__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-primary);
  background: transparent;
  border: 1px solid var(--gold-line);
  transition: background 320ms var(--ease-soft), color 320ms var(--ease-soft), border-color 320ms var(--ease-soft);
}
.ftier__cta:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}
/* Tier 03 Bespoke gets a stronger filled CTA so it reads as the premium pick */
.ftier--bespoke {
  background: rgba(201, 168, 76, 0.06);
  border-color: var(--gold-line);
}
.ftier--bespoke .ftier__cta {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}
.ftier--bespoke .ftier__cta:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.furnish-block__anchor {
  margin-top: clamp(32px, 4vw, 56px);
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ivory-dim);
}
.furnish-block__anchor a {
  color: var(--gold-mid);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 280ms var(--ease-soft);
}
.furnish-block__anchor a:hover { color: var(--gold-primary); }

/* Mobile tweaks for unit cards + planview heads + ftiers */
@media (max-width: 720px) {
  .units-for-sale__head,
  .planview__head { flex-direction: column; align-items: flex-start; }
  .units-for-sale__sub,
  .planview__sub { max-width: none; }
  .unit-card__name-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .unit-card__cta { align-self: stretch; justify-content: center; }
  .furnish-block__tiers { grid-template-columns: 1fr; }
  .ftier__cta { align-self: stretch; justify-content: center; }
}


/* ============================================================
   ISO CAROUSEL — multi-level isometric views (W-50, Safdarjung)
   2-col grid on desktop, single col on mobile, each frame 16:9
   ============================================================ */

.planblock--multi-iso {
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px);
  background: var(--bg-primary);
  border-top: 1px solid var(--gold-faint);
}

.planblock--multi-iso .planblock__head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 4vw, 60px);
  text-align: center;
}

.iso-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 36px);
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (max-width: 720px) {
  .iso-carousel { grid-template-columns: 1fr; }
}

.iso-frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.iso-frame > a {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--gold-faint);
  background: var(--bg-warm);
  transition: border-color 320ms var(--ease-soft);
}

.iso-frame > a:hover { border-color: var(--gold-line); }

.iso-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-cinema);
}

.iso-frame > a:hover img { transform: scale(1.02); }

.iso-frame figcaption {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ivory-dim);
  text-align: center;
}

.iso-frame--pending > div.iso-pending {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: var(--bg-warm);
  border: 1px dashed var(--gold-faint);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--gold-mid);
  text-align: center;
  padding: 24px;
}

/* ============================================================
   MOBILE FIX (≤780px) — Project hero
   Match the cnc-hero pattern: aspect-ratio 4/5 + object-fit:cover.
   Image fills the box; some side-cropping is acceptable (the building
   stays well-framed). No big empty dark space, no upscale-blur because
   the image is sized to a smaller, sharper footprint.
   ============================================================ */
@media (max-width: 780px) {
  .hero {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 78vh;
  }
  .hero__img {
    object-fit: cover;
    object-position: center;
    filter: brightness(.82) saturate(.95);
  }
  /* Keep the existing veil — cap text needs legibility over the image */
  .hero__cap {
    bottom: 22px;
    left: 20px;
    right: 20px;
    max-width: none;
  }
  .hero__cap-eye { font-size: 10px; letter-spacing: .26em; margin-bottom: 10px; }
  .hero__cap-eye::before { width: 22px; }
  .hero__cap-title { font-size: clamp(32px, 8.4vw, 46px); line-height: 1; }
}
