/* ===========================================================================
   ATMAN NIRVANA — brand layer
   Loads after framework.css / sections.css / atman-nirvana.css. Recolours the
   template with the brochure palette and styles the sections this project adds.

   Brochure palette
     sage      #E4E4CA   panel ground
     olive     #9FA477   rules and accents
     charcoal  #262822   the wordmark, dark sections
     cream     #FAFAF2   light ground, type on dark
   =========================================================================== */

:root {
  --an-sage: #E4E4CA;
  --an-sage-rgb: 228, 228, 202;
  --an-olive: #9FA477;
  --an-olive-deep: #7C8156;
  --an-ink: #262822;
  --an-cream: #FAFAF2;
  --an-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;

  /* the framework derives every theme colour from these */
  --c-blue-gray: #262822;
  --c-blue-gray-rgb: 38, 40, 34;
  --c-blue-dark: #2E3029;
  --c-blue-dark-rgb: 46, 48, 41;
  --c-blue-deep: #5F6250;
  --c-blue-deep-rgb: 95, 98, 80;
  --c-white: #FAFAF2;
  --c-white-rgb: 250, 250, 242;
  --c-gray-light: #E4E4CA;
  --c-gray-light-rgb: 228, 228, 202;
  --c-gray: #C9CBB0;
  --c-gray-rgb: 201, 203, 176;
  --c-border: #4A4C40;
  --c-border-rgb: 74, 76, 64;

  --upt-gold: #9FA477;
  --upt-ink: #262822;
}

body { background: var(--an-ink); }

/* ------------------------------------------------------- grounds */
.ui-light-background { background: var(--an-cream); }
.ui-dark-background { background: var(--an-ink); }
.section.anSage.ui-background,
.anSage { background: var(--an-sage); }

/* ------------------------------------------------------- type */
.h2, h2.h2,
.h2-small, h2.h2-small,
.h3, .h3-small,
.abt__blockTitle,
.pc__name,
.ctf__formTitle,
.callback-modal__title {
  font-family: var(--an-serif);
  font-weight: 500;
  letter-spacing: .01em;
}

.h2, h2.h2 { font-size: calc(var(--scale-px) * 52); line-height: 1.04; }
.h2-small, h2.h2-small { font-size: calc(var(--scale-px) * 40); line-height: 1.08; }
.abt__blockTitle { font-size: calc(var(--scale-px) * 32); }
@media (max-width: 1023px) {
  .h2, h2.h2 { font-size: calc(var(--scale-px) * 42); }
  .h2-small, h2.h2-small { font-size: calc(var(--scale-px) * 34); }
}
@media (max-width: 767px) {
  .h2, h2.h2 { font-size: calc(var(--scale-px) * 34); }
  .h2-small, h2.h2-small { font-size: calc(var(--scale-px) * 29); }
}

/* section eyebrows: tracked capitals with an olive rule, as in the brochure */
.section .text-small.text-color-small.mb-1 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--an-olive-deep);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.ui-dark .section .text-small.text-color-small.mb-1,
.section.ui-dark .text-small.text-color-small.mb-1 { color: var(--an-olive); }
.section .text-small.text-color-small.mb-1::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.ft__value,
.pc__price { font-family: var(--an-serif); font-weight: 600; letter-spacing: .01em; }
.ft__value { font-size: calc(var(--scale-px) * 26); }
.pc__price { font-size: calc(var(--scale-px) * 30); color: var(--an-olive-deep); }
.ft__icon { color: var(--an-olive); }

/* primary buttons pick up the olive on hover */
.btn--bitten-corner:hover { --t-button-bitten-corner-hover-background: var(--an-olive); }
.anBtn--olive { --t-button-bitten-corner-background: var(--an-olive); --t-button-bitten-corner-text: var(--an-ink);
  --t-button-bitten-corner-hover-background: var(--an-cream); --t-button-bitten-corner-hover-text: var(--an-ink); }

/* ------------------------------------------------------- channel-partner strip */
.anCpBar {
  position: relative;
  z-index: 60;
  padding: 6px 16px;
  background: var(--an-sage);
  color: var(--an-ink);
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: .04em;
  text-align: center;
}

/* ------------------------------------------------------- header */
.uptNav__mark { height: calc(var(--scale-px) * 64); }
@media (max-width: 767px) { .uptNav__mark { height: 46px; } }
.uptFoot__mark { height: calc(var(--scale-px) * 84); }
.hl__mark { height: calc(var(--scale-px) * 96); }
.uptMark { height: calc(var(--scale-px) * 52); }
.header--landing .uptNav__cta { border-color: var(--an-olive); }
.header--landing .uptNav__link:hover { color: var(--an-olive); }

/* ------------------------------------------------------- hero */
.intro__building img { object-position: center 30%; }
.anHero {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: calc(var(--scale-px) * 150);
  background:
    linear-gradient(90deg, rgba(31, 33, 27, .86) 0%, rgba(31, 33, 27, .55) 38%, rgba(31, 33, 27, 0) 68%),
    linear-gradient(0deg, rgba(31, 33, 27, .7) 0%, rgba(31, 33, 27, 0) 45%);
  color: var(--an-cream);
  pointer-events: none;
}
.anHero a { pointer-events: auto; }
.anHero__inner { max-width: 760px; }
.anHero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.anHero__tags span {
  padding: 7px 12px;
  border: 1px solid rgba(var(--an-sage-rgb), .55);
  background: rgba(31, 33, 27, .35);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.anHero__title {
  margin: 0;
  font-family: var(--an-serif);
  font-weight: 500;
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: .98;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.anHero__title span {
  display: block;
  margin-top: 14px;
  font-size: clamp(19px, 1.9vw, 28px);
  line-height: 1.2;
  letter-spacing: .08em;
  color: var(--an-sage);
}
.anHero__lede { max-width: 560px; margin: 18px 0 0; font-size: 16px; line-height: 1.6; opacity: .88; text-transform: none; }
.anHero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(var(--an-sage-rgb), .35);
}
.anHero__facts li { padding: 14px 26px 0 0; margin-right: 26px; border-right: 1px solid rgba(var(--an-sage-rgb), .25); }
.anHero__facts li:last-child { border-right: 0; }
.anHero__facts strong { display: block; font-family: var(--an-serif); font-weight: 600; font-size: 30px; line-height: 1; color: #fff; }
.anHero__facts span { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--an-sage); }
.anHero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.anHero__link { color: var(--an-cream); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
.anHero__link:hover { color: var(--an-olive); }
.anHero__rera { margin: 18px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

@media (max-width: 767px) {
  .anHero {
    padding-bottom: 92px;
    background: linear-gradient(0deg, rgba(31, 33, 27, .94) 0%, rgba(31, 33, 27, .75) 45%, rgba(31, 33, 27, .1) 78%);
  }
  .anHero__tags { margin-bottom: 14px; }
  .anHero__tags span { font-size: 9.5px; padding: 5px 8px; }
  .anHero__lede { font-size: 14px; }
  .anHero__facts li { padding-right: 14px; margin-right: 14px; }
  .anHero__facts strong { font-size: 22px; }
  .anHero__facts span { font-size: 9.5px; }
  .anHero__rera { display: none; }
}

/* ------------------------------------------------------- price */
.pricecards .pc { background: var(--an-cream); border-color: rgba(38, 40, 34, .12); }
.pc__spec dt { opacity: .65; }
.anArea { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 13.5px; }
.anArea th, .anArea td { padding: 7px 0; border-bottom: 1px solid rgba(38, 40, 34, .1); text-align: left; font-weight: 400; }
.anArea td { text-align: right; white-space: nowrap; }
.anArea__sum th, .anArea__sum td { font-weight: 600; color: var(--an-olive-deep); border-bottom-color: var(--an-olive); }
.anFine { max-width: 980px; margin: 22px 0 0; font-size: 12px; line-height: 1.55; opacity: .7; text-transform: none; }
.anFine--dark { opacity: .55; }

/* ------------------------------------------------------- amenities / USPs */
.anAm { padding-bottom: calc(var(--scale-px) * 110); }
.anAm__head { margin-bottom: calc(var(--scale-px) * 50); align-items: flex-end; }
.anAm__intro { text-transform: none; line-height: 1.6; }
.anAm__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(var(--an-sage-rgb), .16);
  border-left: 1px solid rgba(var(--an-sage-rgb), .16);
}
.anAm__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 30px;
  border-right: 1px solid rgba(var(--an-sage-rgb), .16);
  border-bottom: 1px solid rgba(var(--an-sage-rgb), .16);
  transition: background .3s ease;
}
.anAm__item:hover { background: rgba(var(--an-sage-rgb), .06); }
.anAm__icon { width: 38px; height: 38px; color: var(--an-olive); margin-bottom: 8px; }
.anAm__icon svg { width: 100%; height: 100%; }
.anAm__title { font-family: var(--an-serif); font-size: 23px; font-weight: 500; line-height: 1.15; }
.anAm__note { font-size: 13px; line-height: 1.45; opacity: .65; text-transform: none; }
.anAm__foot { margin-top: calc(var(--scale-px) * 44); }
@media (max-width: 1023px) { .anAm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .anAm__item { padding: 18px 14px 20px; }
  .anAm__title { font-size: 19px; }
  .anAm__note { font-size: 12px; }
}

/* ------------------------------------------------------- residences */
.anRes { padding-bottom: calc(var(--scale-px) * 110); }
.anRes__media { margin: calc(var(--scale-px) * 36) 0 0; }
.anRes__media img { display: block; width: 100%; height: auto; }
.anRes__media figcaption { margin-top: 10px; opacity: .6; text-transform: none; }
.anRes__list { display: grid; gap: 0; }
.anRes__item { padding: 22px 0; border-bottom: 1px solid rgba(38, 40, 34, .12); }
.anRes__item:first-child { padding-top: 0; }
.anRes__title { margin: 0 0 8px; font-family: var(--an-serif); font-size: 27px; font-weight: 500; color: var(--an-ink); }
.anRes__item p { margin: 0; line-height: 1.65; text-transform: none; }
@media (max-width: 767px) { .anRes__media { margin-bottom: 26px; } }

/* ------------------------------------------------------- plans */
.plans .ps__media { background: #fff; }
.plans .ps__media img { object-fit: contain; }
.anRooms { max-width: 920px; margin: 26px 0 0; line-height: 1.6; text-transform: none; }

/* ------------------------------------------------------- location */
.anLocIntro { margin-top: 22px; line-height: 1.6; text-transform: none; }
.anDist__title { margin: 0 0 14px; font-family: var(--an-serif); font-size: 30px; font-weight: 500; }
.anDist { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(38, 40, 34, .14); }
.anDist li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(38, 40, 34, .14);
  font-size: 14.5px;
  text-transform: none;
}
.anDist strong { font-family: var(--an-serif); font-size: 20px; font-weight: 600; color: var(--an-olive-deep); white-space: nowrap; }
.loc .loc__cta { margin-top: 26px; }

/* ------------------------------------------------------- developer */
.anCert { margin: 30px 0 0; max-width: 360px; }
.anCert img { display: block; width: 100%; height: auto; border: 1px solid rgba(var(--an-sage-rgb), .25); }
.anCert figcaption { margin-top: 10px; opacity: .65; text-transform: none; }
.anLand {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}
.anLand img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.anLand .anLand__lead { grid-column: 1 / -1; aspect-ratio: 16 / 8; }

/* ------------------------------------------------------- FAQ */
.faq__item[open] .faq__q-text { color: var(--an-olive-deep); }

/* ------------------------------------------------------- popup */
.anPopLogo { display: block; width: auto; height: 74px; margin: 0 0 20px; }
.anPopNote { margin: 10px 0 0; letter-spacing: .1em; text-transform: uppercase; color: var(--an-olive); }

/* ------------------------------------------------------- footer */
.footer .uptFoot__strip a { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------- disclosure strip, pinned
   One line above the fixed header; the header is pushed down by its height so
   neither covers the other. z-index matches the header, below the modals (11). */
:root { --an-cp-h: 0px; }   /* strip removed from the pages; kept at 0 so the offsets collapse */
.anCpBar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  height: var(--an-cp-h);
  padding: 0 12px;
  line-height: var(--an-cp-h);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.anCpBar__short { display: none; }
.header.uptHeader { top: var(--an-cp-h); }
.anHero { padding-top: calc(var(--an-cp-h) + 120px); }
@media (max-width: 767px) {
  .anCpBar { font-size: 10.5px; letter-spacing: .02em; }
  .anCpBar__long { display: none; }
  .anCpBar__short { display: inline; }
}

/* ------------------------------------------------------- phone hero: a full screen */
@media (max-width: 767px) {
  .intro .sticky__layer,
  .intro__building { height: 100svh !important; min-height: 620px; }
  .intro__building img { object-position: center 20%; }
  .anHero { padding-top: calc(var(--an-cp-h) + 96px); padding-bottom: 96px; }
  .anHero__title { font-size: 40px; }
  .anHero__title span { font-size: 16px; margin-top: 10px; }
  .anHero__facts { margin-top: 18px; }
  .anHero__cta { margin-top: 20px; gap: 16px; }
}

/* ===========================================================================
   ALIGNMENT PASS
   =========================================================================== */

/* --- eyebrows: the reveal plugin wraps each word in a span, so a flex gap
   pushed the words apart. Inline-block keeps normal word spacing. */
.section .text-small.text-color-small.mb-1 { display: inline-block; gap: 0; }
.section .text-small.text-color-small.mb-1::before {
  display: inline-block;
  vertical-align: middle;
  margin: -2px 12px 0 0;
}

/* --- shared rhythm: every section head sits the same distance above its content */
.abt__head, .highlights__head, .pricecards__head, .plans__head, .loc__head,
.ctf__head, .anRes__head, .anAm__head { margin-bottom: calc(var(--scale-px) * 48); }
@media (max-width: 767px) {
  .abt__head, .highlights__head, .pricecards__head, .plans__head, .loc__head,
  .ctf__head, .anRes__head, .anAm__head { margin-bottom: 28px; }
}

/* --- about: one tall image with a smaller one overlapping its corner, both
   starting on the same line as the text column */
.abt__body { align-items: flex-start; }
.abt__media { position: relative; display: block; padding: 0 18% 14% 0; }
.abt__shot { border-radius: 0; }
.abt__shot--tall { display: block; aspect-ratio: 4 / 5; }
.abt__shot--short {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  margin: 0;
  aspect-ratio: 4 / 5;
  border: 8px solid var(--an-ink);
}
.abt__block:first-child .abt__blockTitle { margin-top: 0; }
.abt__prose { line-height: 1.7; }
@media (max-width: 767px) {
  .abt__media { padding: 0; margin-bottom: 32px; }
  .abt__shot--tall { aspect-ratio: 4 / 3; }
}

/* --- price cards: label / value rows on a grid; the template's optical
   leading-trim margins made the small labels collide with their values */
.pc { display: flex; flex-direction: column; height: 100%; }
.pc__spec {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  margin: 0 0 22px;
  padding-top: 0;
  border-top: 0;
}
.pc__spec dt, .pc__spec dd {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(38, 40, 34, .1);
  font-size: 13.5px;
  line-height: 1.3;
}
.pc__spec dt { color: rgba(38, 40, 34, .6); opacity: 1; letter-spacing: 0; }
.pc__spec dd { text-align: right; white-space: nowrap; font-weight: 600; }
.pc__spec .leading-trim::before,
.pc__spec .leading-trim::after { content: none; display: none; }
.pc__name { padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--an-olive); }
.pc__price { margin-top: auto; padding-top: 6px; }
.pc__btn { align-self: flex-start; margin-top: 18px; }
.anAreaCard .anArea { margin-top: 0; }
.anAreaCard .pc__btn { margin-top: auto; }
.pricecards__grid > .col { display: flex; }
.pricecards__grid > .col > .pc { flex: 1; }

/* --- residences: image and list share a top line and a bottom line */
.anRes__body { align-items: stretch; }
.anRes__body > .col:first-child { display: flex; }
.anRes__media { display: flex; flex-direction: column; flex: 1; margin: 0; }
.anRes__media img { flex: 1; min-height: 340px; height: 100%; object-fit: cover; }
.anRes__list { border-top: 1px solid rgba(38, 40, 34, .12); }
.anRes__item, .anRes__item:first-child { padding: 22px 0; }
@media (max-width: 767px) {
  .anRes__media { margin-bottom: 28px; }
  .anRes__media img { min-height: 0; aspect-ratio: 4 / 3; }
}

/* --- floor plans: one frame size for 3D (landscape) and 2D (portrait) plans,
   so every caption sits on the same line */
.plans .ps__media {
  aspect-ratio: 4 / 3.4;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plans .ps__media img { width: 100%; height: 100%; object-fit: contain; }
.plans .ps__cap { min-height: 64px; }

/* --- highlights: tiles align to a common baseline */
.ft { height: 100%; }
.ft__note { line-height: 1.45; }
.anArea th, .anArea td { text-transform: none; font-size: 13.5px; }
.anArea th { color: rgba(38, 40, 34, .6); }
.anArea td { font-weight: 600; }
@media (max-width: 767px) {
  .anAm__intro { margin-top: 18px; }
  .hl__mark { height: 64px; }
  .hl__brandCol { margin-top: 20px; }
}

/* ===========================================================================
   WHITE THEME - matches the brochure: white pages, sage panels, charcoal type.
   Overrides the template dark chrome (header, popup, mobile bar, footer).
   =========================================================================== */
:root {
  --c-white: #FFFFFF;
  --c-white-rgb: 255, 255, 255;
  --an-line: rgba(38, 40, 34, .12);
}
body, .ui-light-background { background: #FFFFFF; }

/* --- section grounds: white and sage, alternating */
#about-project, #price, #residences, #gallery, #developer, #contact { background: #FFFFFF; }
#highlights, #amenities, #plans, #location, #faq { background: var(--an-sage); }
.section .text-small.text-color-small.mb-1 { color: var(--an-olive-deep); }

/* --- header: white bar, charcoal type */
.header--landing,
.header--landing.ui-header-solid { background: #FFFFFF; border-bottom: 1px solid var(--an-line); mix-blend-mode: normal; }
.uptNav .uptNav__link { color: rgba(38, 40, 34, .72); }
.uptNav .uptNav__link:hover,
.uptNav .uptNav__link:focus-visible,
.uptNav .uptNav__link.is-current,
.header--landing .uptNav__link { color: var(--an-ink); }
.header--landing .uptNav__link:hover { color: var(--an-olive-deep); }
.header--landing .uptNav__cta { color: var(--an-ink); border-color: var(--an-ink); }
.uptNav .uptNav__cta:hover,
.uptNav .uptNav__cta:focus-visible,
.header--landing .uptNav__cta:hover { color: #fff; background: var(--an-ink); border-color: var(--an-ink); }
.header--landing .header__burger,
.header--landing .header__burger::before,
.header--landing .header__burger::after { background: var(--an-ink); }
@media (max-width: 1199px) {
  .uptNav__burger { border-color: rgba(38, 40, 34, .3); color: var(--an-ink); }
  .uptNav__burger:hover, .uptNav__burger:focus-visible { background: var(--an-sage); border-color: var(--an-ink); }
}

/* --- hero: the render full-bleed, one aligned white card bottom-left */
.anHero {
  display: flex;
  align-items: flex-end;
  padding: 0 0 calc(var(--scale-px) * 64);
  background: linear-gradient(0deg, rgba(38, 40, 34, .28) 0%, rgba(38, 40, 34, 0) 40%);
  color: var(--an-ink);
}
.anHero__card {
  pointer-events: auto;
  width: min(440px, calc(100% - 32px));
  margin-left: max(16px, 3vw);
  padding: 34px 36px 36px;
  background: rgba(255, 255, 255, .96);
  border-top: 3px solid var(--an-olive);
  box-shadow: 0 24px 60px rgba(38, 40, 34, .18);
}
.anHero__eyebrow {
  margin: 0 0 14px;
  color: var(--an-olive-deep);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.anHero__title {
  margin: 0;
  font-family: var(--an-serif);
  font-weight: 500;
  font-size: clamp(38px, 3.6vw, 54px);
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--an-ink);
}
.anHero__title span {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  letter-spacing: .18em;
  color: rgba(38, 40, 34, .7);
}
.anHero__price {
  margin: 22px 0;
  padding-top: 18px;
  border-top: 1px solid var(--an-line);
  font-family: var(--an-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--an-ink);
}
.anHero__price small { font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--an-olive-deep); }
@media (max-width: 767px) {
  .anHero { padding: 0 0 86px; background: linear-gradient(0deg, rgba(38, 40, 34, .35) 0%, rgba(38, 40, 34, 0) 45%); }
  .anHero__card { margin: 0 16px; width: auto; padding: 24px 22px 26px; }
  .anHero__title { font-size: 36px; }
  .anHero__title span { font-size: 12.5px; }
  .anHero__price { font-size: 28px; margin: 16px 0; padding-top: 14px; }
}

/* --- highlights and amenities on sage */
.ft__icon, .anAm__icon { color: var(--an-olive-deep); }
.anAm__grid { border-color: rgba(38, 40, 34, .14); background: rgba(255, 255, 255, .45); }
.anAm__item { border-color: rgba(38, 40, 34, .14); }
.anAm__item:hover { background: #FFFFFF; }
.anAm__title { color: var(--an-ink); }
.anAm__note { opacity: .7; }
#price .pc { background: var(--an-sage); border-color: transparent; }
#price .pc__name { border-bottom-color: var(--an-olive-deep); }

/* --- gallery strip sits on white */
.galStrip__nav { background: #FFFFFF; }
.anFine--dark { opacity: .7; }

/* --- developer: logos, passage, RERA */
.anDev__logos {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--an-line);
}
.anDev__logos img { display: block; width: auto; height: 92px; }
.anDev__logos img + img { height: 96px; }
.anRera {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  padding: 22px 24px;
  background: var(--an-sage);
  border-left: 3px solid var(--an-olive-deep);
}
.anRera__qr { display: block; width: 116px; height: 116px; flex: none; background: #fff; padding: 6px; }
.anRera__label { margin: 0; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--an-olive-deep); }
.anRera__no { margin: 6px 0 8px; font-family: var(--an-serif); font-size: 32px; font-weight: 600; line-height: 1; color: var(--an-ink); }
.anRera__note { margin: 0; line-height: 1.5; text-transform: none; opacity: .8; }
.anRera__note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .anDev__logos { gap: 20px; }
  .anDev__logos img { height: 70px; }
  .anDev__logos img + img { height: 74px; }
  .anRera { gap: 16px; padding: 18px; }
  .anRera__qr { width: 92px; height: 92px; }
  .anRera__no { font-size: 26px; }
}

/* --- popup: white card */
#callback-modal .modal__content,
#callback-modal .callback-modal__title,
#callback-modal .js-form-success,
#callback-modal .callback-modal__message { color: var(--an-ink); }
#callback-modal.modal--side--left .modal__content,
#callback-modal .modal__content::before { background: #FFFFFF; }
#callback-modal.modal--side--left .modal__content {
  border-top-color: var(--an-olive);
  box-shadow: 0 30px 80px rgba(38, 40, 34, .3);
  background-image: none;
}
#callback-modal .form-control--input { background: #FFFFFF; border-color: rgba(38, 40, 34, .22); }
#callback-modal .form-control--input:focus-within { background: #FFFFFF; border-color: var(--an-olive-deep); }
#callback-modal .form-control,
#callback-modal .form-control input,
#callback-modal .form-control input:focus { color: var(--an-ink); -webkit-text-fill-color: var(--an-ink); }
#callback-modal .form-label { color: rgba(38, 40, 34, .55); }
#callback-modal input:-webkit-autofill,
#callback-modal input:-webkit-autofill:focus { -webkit-text-fill-color: var(--an-ink); box-shadow: 0 0 0 1000px #fff inset; }
#callback-modal .form-group,
#callback-modal label,
#callback-modal .text-small { color: rgba(38, 40, 34, .7); }
#callback-modal a { color: var(--an-olive-deep); }
#callback-modal a:hover { color: var(--an-ink); }
#callback-modal input[type=checkbox] + *,
#callback-modal .form-control--checkbox { border-color: rgba(38, 40, 34, .4); }
#callback-modal .uptSel select { border-color: rgba(38, 40, 34, .22); background: #fff; color: var(--an-ink); }
#callback-modal .btn--bitten-corner::after,
#callback-modal button[type=submit] { background: var(--an-ink); border-color: var(--an-ink); }
#callback-modal button[type=submit]:hover { background: var(--an-olive-deep); border-color: var(--an-olive-deep); }
#callback-modal .modal__close { background: var(--an-ink); border-color: var(--an-ink); color: #fff; }
.anPopLogo { height: 66px; }
.anPopNote { color: var(--an-olive-deep); }

/* --- mobile action bar: white with an olive call to action */
.uptBar { background: #FFFFFF; border-top: 1px solid var(--an-line); box-shadow: 0 -4px 18px rgba(38, 40, 34, .12); }
.uptBar__item { color: var(--an-ink); border-right-color: var(--an-line); }
.uptBar__item--cta { background: var(--an-olive); color: var(--an-ink); }
.uptBar__item:not(.uptBar__item--cta):active { background: var(--an-sage); }

/* --- menu panel header */
.menu .header--modal { background: #FFFFFF; border-bottom: 1px solid var(--an-line); }

/* --- footer: sage panel, charcoal type */
.footer.section,
.footer.ui-background { background: var(--an-sage); }
.footer,
.footer p,
.footer a,
.footer h2,
.uptFoot__blurb,
.uptFoot__address,
.uptFoot__line,
.uptFoot__links a,
.uptFoot__strip p,
.footer__footnote { color: var(--an-ink); }
.footer__footnote { opacity: .78; }
.uptFoot__strip { border-color: rgba(38, 40, 34, .18); }

/* --- white theme, second pass */
/* bold copy was set white for the old dark sections */
.abt__prose strong,
.doc-prose strong,
.section strong { color: var(--an-ink); }
.footer__footnote strong { color: var(--an-ink); }
.uptFoot__strip a, .footer .uptFoot__strip a:hover { color: var(--an-ink); }

/* about: the small overlapping photo gets a white mat, not a black one */
.abt__shot--short { border-color: #FFFFFF; box-shadow: 0 18px 40px rgba(38, 40, 34, .16); }

/* hero card clears the cookie notice and the floating dock */
@media (min-width: 768px) {
  .anHero { padding-bottom: calc(var(--scale-px) * 150); }
}

/* contact form on white: a sage card, charcoal fields */
.ctf__card { background: var(--an-sage); border-color: transparent; }
.contact-sec .uptSel select,
#callback-modal .uptSel select { border-color: rgba(38, 40, 34, .28); background: #FFFFFF; color: var(--an-ink); }
.contact-sec .uptSel select:focus,
#callback-modal .uptSel select:focus { border-color: var(--an-olive-deep); }
.contact-sec .uptSel__label,
#callback-modal .uptSel__label { color: rgba(38, 40, 34, .6); }
.contact-sec .form-control--input { background: #FFFFFF; }
.contact-sec a.ctf__value:hover,
.contact-sec a.ctf__value:focus-visible { color: var(--an-olive-deep); }
.ctf__row { border-color: var(--an-line); }
.ctf__icon { color: var(--an-olive-deep); }

/* developer logos a touch larger, on their own white tile */
.anDev__logos img { height: 104px; }
.anDev__logos img + img { height: 104px; }

/* burger: the span is the 20x14 box; only its middle line and pseudo-elements should paint */
.header--landing .header__burger { background: linear-gradient(var(--an-ink), var(--an-ink)) center / 100% 1px no-repeat; }
.header--landing .header__burger { position: relative; display: block; width: 20px; height: 14px; }
.header--landing .header__burger::before,
.header--landing .header__burger::after { content: ""; position: absolute; left: 0; right: 0; width: auto; height: 1px; background: var(--an-ink); transform: none; }
.header--landing .header__burger::before { top: 0; }
.header--landing .header__burger::after { top: auto; bottom: 0; }
.header--landing .header__burger::before, .header--landing .header__burger::after { display: block; }

/* ------------------------------------------------------- readability fixes
   Hover states fell back to the light olive (#9FA477), which all but vanishes
   on white and sage; generic ".footer a" also painted the footer button's
   label ink on its own ink fill. Hovers now go to the deep olive or stay ink. */
:root { --an-olive-dark: #5F6440; }   /* deeper than --an-olive-deep: 4.5:1+ on white and sage */

/* filled buttons: the hover only animates the corner closed on the same ink
   fill, so the label stays white in every state */
.btn--bitten-corner {
  --t-button-bitten-corner-text: #FFFFFF;
  --t-button-bitten-corner-hover-text: #FFFFFF;
}
.btn--bitten-corner .btn__text { color: inherit; }
.footer a.btn--bitten-corner,
.footer a.btn--bitten-corner .btn__text,
.has-hover .footer a.btn--bitten-corner:hover,
.has-hover .footer a.btn--bitten-corner:hover .btn__text,
.has-hover .btn--bitten-corner:hover .btn__text { color: #FFFFFF; }

/* text links: deep olive + underline instead of the pale olive */
.uptFoot__links a:hover,
.footer .uptFoot__links a:hover,
.footer a.uptFoot__phone:hover,
.footer a.uptFoot__line:hover,
.ct__value a:hover,
.loc a.loc__mapLink:hover,
.anHero__link:hover,
.header--landing .uptNav__link:hover,
.uptNav .uptNav__link:hover {
  color: var(--an-olive-dark);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.menu .header--modal .btn--link:hover .btn__text,
.menu__links-lead .btn--text-lead:hover .uptMenu__icon { color: var(--an-olive-dark); }

/* developer credit under the logo was half-transparent ink on sage */
.hl__brand { opacity: 1; }
.hl__brand:hover { opacity: .85; }
.hl__brandNote { opacity: .8; }

/* desktop call / WhatsApp dock: the label inherited the dim link-hover ink */
.uptDock__btn,
.uptDock__btn:hover,
.uptDock__btn:focus-visible,
.uptDock__btn .uptDock__label { color: #FFFFFF; }
.uptDock__btn--call:hover,
.uptDock__btn--call:focus-visible { background: var(--an-olive-dark); }

/* phone action bar CTA keeps solid ink type in every state */
.uptBar__item--cta,
.uptBar__item--cta:hover,
.uptBar__item--cta:active,
.uptBar__item--cta * { color: var(--an-ink); }

/* ------------------------------------------------------- popup, logo removed
   The title now opens the card, so it keeps clear of the round close button;
   the close button sits inside the card's padding, and the gap above the
   submit button matches the rest of the form's rhythm. */
#callback-modal .modal__close {
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#callback-modal .modal__close svg { width: 14px; height: 14px; display: block; color: #FFFFFF; }
#callback-modal .modal__close:hover { background: var(--an-olive-dark); border-color: var(--an-olive-dark); }
#callback-modal .callback-modal__container { padding-top: 40px; }
#callback-modal .callback-modal__title { padding-right: 52px; }
#callback-modal .callback-modal__fields { margin-bottom: 0; }
#callback-modal .form-agreement { margin-bottom: 24px; }
#callback-modal .form-footer { margin-top: 0; padding-top: 0; }
#callback-modal .form-footer button[type=submit] { width: 100%; }

/* ------------------------------------------------------- hover follow-ups
   Dock: the phone icon inherited the dim link-hover ink, and the column let
   the WhatsApp button slide left while "Call" widened. Highlights: the small
   label and note lines were 55%-opacity type, which washed out to nothing
   whenever the popup backdrop faded in over them. */
.uptDock { align-items: flex-end; }
.uptDock__btn .uptDock__icon,
.uptDock__btn:hover .uptDock__icon,
.uptDock__btn:focus-visible .uptDock__icon,
.uptDock__btn .uptDock__icon svg { color: #FFFFFF; }

.ft__label { color: var(--an-olive-dark); opacity: 1; }
.ft__note { color: rgba(38, 40, 34, .78); opacity: 1; }

/* ------------------------------------------------------- price cards: centred pair */
.pricecards__grid.anPriceCenter { justify-content: center; }

/* ------------------------------------------------------- menu close button
   The menu header is white, but the template still painted the close icon
   white for its old dark header, so the button was invisible. */
.menu .header__close,
.menu .header__close .btn__icon,
.menu .header__close svg { color: var(--an-ink); }
.menu .header__close svg { width: 26px; height: 26px; }
.has-hover .menu .header__close:hover,
.has-hover .menu .header__close:hover svg { color: var(--an-olive-dark); }

/* ------------------------------------------------------- section rhythm
   Sections mixed three spacing systems (section padding, inner px-layout
   padding, and none at all), so some headings - Amenities, Residences,
   Location - sat right on the colour change while others had 160px.
   One rule now: the section carries the space, its inner wrapper none. */
:root { --an-sec-y: 120px; }
@media (max-width: 1023px) { :root { --an-sec-y: 88px; } }
@media (max-width: 767px)  { :root { --an-sec-y: 60px; } }

#about-project, #highlights, #price, #amenities, #residences, #plans,
#gallery, #location, #developer, #faq, #contact {
  padding-top: var(--an-sec-y);
  padding-bottom: var(--an-sec-y);
}
#about-project > .px-layout, #highlights > .px-layout, #price > .px-layout,
#amenities > .px-layout, #residences > .px-layout, #plans > .px-layout,
#location > .px-layout, #developer > .px-layout, #faq > .px-layout,
#contact > .px-layout { padding-top: 0; padding-bottom: 0; }

/* gallery: heading, slider, then the artist's-impression note */
#gallery > .galStrip__head { padding-top: 0; padding-bottom: 40px; }
#gallery > .ps.galStrip { padding-bottom: 0; }
#gallery > .anFine { margin-top: 20px; padding-top: 0; padding-bottom: 0; opacity: .8; }
@media (max-width: 767px) {
  #gallery > .galStrip__head { padding-bottom: 24px; }
  #gallery > .anFine { margin-top: 16px; }
}

/* ------------------------------------------------------- menu jump targets
   The framework scrolls a #target to the very top of the viewport, under the
   fixed header, which hid each section's label on phones. Menu links now
   aim at a marker one header-height above the section (set from JS). */
#about-project, #highlights, #price, #amenities, #residences, #plans,
#gallery, #location, #developer, #faq, #contact { position: relative; }
.anJump {
  position: absolute;
  top: calc(-1 * var(--an-head-h, 84px));
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* the fixed call / WhatsApp dock (desktop only) sat over the travel times at
   the right edge of "Key distances" - keep the list clear of it */
@media (min-width: 1024px) {
  #location .anDist { padding-right: 84px; }
}
