/* MANSORY Residences landing page: the light ("open") variant.
   Loaded after lp.css by light.html only; index.html stays on black.
   Same layout, copy and script. Warm ivory and sand instead of black, dark ink
   text, white cards, a daylight hero; gold stays on buttons and accents, with a
   deeper gold for small text so it stays readable on a light background. */

:root {
  --black: #f7f3ec; /* page: ivory */
  --carbon: #efe8dc; /* bands: sand */
  --graphite: #ffffff; /* fields, chips */
  --charcoal: #e7dfd1;
  --steel: #d5cab8; /* field borders */
  --metal: #c9bda8;
  --paper: #fffdf9; /* cards */
  --ink: #1d1b17;
  --ink-70: rgba(29, 27, 23, 0.78);
  --ink-50: rgba(29, 27, 23, 0.64);
  --line: rgba(29, 27, 23, 0.14);
  --line-soft: rgba(29, 27, 23, 0.08);
  --accent: #7f6334; /* small gold text: eyebrows, tags, links */
  --accent-display: #9a7840; /* large serif italics */
  --gold: #c9a35a; /* buttons, bars, borders */
  --gold-hi: #d6b46f;
  --gold-ink: #7f6334;
  --error: #b3261e;
  --shadow: 0 24px 60px rgba(70, 52, 22, 0.12);
}

/* light text weights read thin on a light page */
.lead, .hero__lead, .enq__sub, .prose p, .letter p:not(.eyebrow):not(.letter__sign):not(.pull), .step p, .passes p, .proofs li,
.faq details p, .check p, .list span, .unit p:not(.unit__size), .plan p, .whys p { font-weight: 400; }
.display em, .hero__sub em { color: var(--accent-display); }
:focus-visible { outline-color: var(--gold-ink); }

/* buttons */
.skip, .btn--gold, .btn--gold:hover { color: var(--ink); }
.btn--gold { box-shadow: 0 10px 24px rgba(150, 112, 40, 0.18); }

/* header: solid ivory from the start */
.hdr, .is-scrolled .hdr { background: rgba(247, 243, 236, 0.94); border-bottom-color: var(--line-soft); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hdr .btn { background: transparent; border-color: var(--gold); color: var(--ink); }
.hdr .btn:hover { background: var(--gold); color: var(--ink); }

/* hero. Phones and tablets: the daylight picture as a band under the header, the copy below it on ivory.
   Desktop: the picture full width, an ivory veil on the left for the copy, the tower clear in the middle. */
.hero { background: var(--black); }
@media (max-width: 1023px) {
  .hero { --band: min(60vw, 440px, 52svh); }
  .hero__media img { object-position: 50% 15%; }
  .hero__scrim { background: linear-gradient(180deg, rgba(247, 243, 236, 0) 62%, var(--black) 100%); }
}
.hero__sub em { display: block; }
@media (min-width: 1024px) {
  .hero__copy { max-width: 540px; }
  .hero__media img { object-position: 32% 62%; }
  .hero__scrim { background: linear-gradient(90deg, rgba(247, 243, 236, 0.97) 0%, rgba(247, 243, 236, 0.93) 36%, rgba(247, 243, 236, 0.6) 45%, rgba(247, 243, 236, 0) 57%); }
}
.card { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.enq__progress span { color: var(--gold-ink); }
.fld input, .phone, .chips button { background: #fff; }
.chips button[aria-pressed='true'] { border-color: var(--gold-ink); background: rgba(201, 163, 90, 0.16); color: var(--ink); }

/* Sattar, the method, the project */
.meet__photo img { box-shadow: var(--shadow); }
.letter__sign { color: var(--accent-display); }
.check__n, .whys strong { color: var(--gold-ink); }
.check, .quote, .whys li { background: var(--paper); }
.quote { border-color: var(--line); }
.locked { background: linear-gradient(135deg, rgba(201, 163, 90, 0.18), var(--paper) 70%); }
.locked ul li::before, .locked ul li::after { border-color: var(--gold-ink); }

/* the starting price */
.calc { background: var(--paper); box-shadow: var(--shadow); }
.calc__opts button[aria-checked='true'] { border-color: var(--gold-ink); background: rgba(201, 163, 90, 0.16); }
.calc__bar [data-bar='down'] { background: var(--gold-ink); }
.calc__bar [data-bar='build'] { background: var(--gold); opacity: 0.55; }
.calc__bar [data-bar='handover'] { background: var(--metal); }

/* footer, sticky bar, cookie banner */
.ftr { background: var(--carbon); }
.sticky { background: linear-gradient(rgba(247, 243, 236, 0), rgba(247, 243, 236, 0.96) 35%); }
.cc { background: rgba(255, 253, 249, 0.98); box-shadow: 0 -16px 40px rgba(70, 52, 22, 0.12); }

/* more of the project */
.unit { background: var(--paper); border-color: var(--line); }
.unit p.unit__price { color: var(--gold-ink); }
.unit p.unit__price--locked { color: var(--ink-50); }

/* 28 Oct review */
.hero__facts .fineprint { color: var(--ink-70); font-weight: 400; }
/* computers: the left column stays on solid ivory (its right edge is the 540px column), the picture fades in after it */
@media (min-width: 1024px) {
  .hero__facts { max-width: 540px; }
  .hero__scrim {
    --edge: calc(max(0px, (100% - var(--max)) / 2) + var(--gutter) + 540px);
    background: linear-gradient(90deg, rgba(247, 243, 236, 0.97) 0, rgba(247, 243, 236, 0.95) var(--edge), rgba(247, 243, 236, 0.5) calc(var(--edge) + 5%), rgba(247, 243, 236, 0) calc(var(--edge) + 14%));
  }
}
.step { background: var(--paper); }
.step__n { -webkit-text-stroke-color: var(--gold-ink); }
.step.is-on .step__n { color: var(--gold-ink); }
@media (hover: hover) { .step:hover .step__n { color: var(--gold-ink); } }
.step::before { background-image: linear-gradient(115deg, rgba(201, 163, 90, 0) 15%, rgba(201, 163, 90, 0.26) 42%, rgba(214, 180, 111, 0.1) 62%, rgba(201, 163, 90, 0) 85%); }
.passes circle, .passes path { stroke: var(--gold-ink); }
.proofs li { border-left-color: var(--gold-ink); }
/* the four steps: a slight gold shine at rest */
.step { background: linear-gradient(140deg, rgba(201, 163, 90, 0.16) 0%, rgba(201, 163, 90, 0.05) 42%, rgba(201, 163, 90, 0) 68%), var(--paper); border-color: rgba(201, 163, 90, 0.34); }
/* phones */
@media (max-width: 1023px) {
  .sticky { background: rgba(247, 243, 236, 0.9); box-shadow: 0 -10px 30px rgba(70, 52, 22, 0.1); }
}
@media (max-width: 759px) {
  .calc__opts button[aria-checked='true'] { background: #fff; box-shadow: inset 0 0 0 1px var(--gold-ink), 0 2px 8px rgba(70, 52, 22, 0.12); }
  .dots button[aria-current='true']::before { background: var(--gold-ink); }
}
@media (max-width: 699px) {
  .step__n { background: var(--black); color: var(--gold-ink); border-color: var(--gold-ink); }
  .step.is-on .step__n { background: var(--gold); color: #fff; border-color: var(--gold); }
}
