/* ============================================================================================
   "Candlelight" (Hassan, 20 Nov 2026). Loaded after night.css. Primary reference Amrit Palace
   (Refero): a warm brown night interrupted by cream chapters, ochre for the one main action and
   the ledger of homes, square double-ruled buttons, hairlines, no shadows. Colours are Saareeyaa's
   own brown and gold, not the teal that came from the Elyse reference.
   Roles: --gold = the WhatsApp action, the ledger card, figures and the closing wordmark.
          --lit still means "a home for sale" and nothing else.
   A section with class "cream" re-points the tokens, so every component follows.
   ============================================================================================ */
:root {
  --bg: #17120d; --bg-2: #211a13; --bg-3: #110d09; --fg: #efe6d6; --fg-2: #b5a895; --fg-3: #8c7f6d;
  --rule: #3b3024; --rule-2: #57483a; --gold: #c99355; --gold-ink: #2a1c0d; --panel: #2b2218;
  --cream: #e6dac8; --ink: #2a2219; --glass: #1e1a15; --frame: #3a3126;
}
.cream { --bg: #e6dac8; --bg-2: #d8cbb8; --bg-3: #cdbfa9; --fg: #2a2219; --fg-2: #5d5142; --fg-3: #7a6d5c; --rule: #c2b39c; --rule-2: #9f8f78; background: var(--bg); color: var(--fg); }
.cream .faq summary::after { color: var(--fg); }
.facade { background: #120e0a; border-top-color: #2a2219; }
.floor { border-bottom-color: #2a2219; }
.ground { background: #1c1610; }

/* Buttons: square, with a second rule around the filled ones */
.pill { border-radius: 0; outline: 1px solid transparent; outline-offset: 3px; }
.pill--dark, .pill--light { background: var(--fg); color: var(--bg); outline-color: var(--fg); }
.pill--dark:hover, .pill--light:hover { background: var(--fg); opacity: .86; }
.pill--wa, .pill--wa.pill--dark, .pill--wa.pill--light { background: var(--gold); color: var(--gold-ink); outline-color: var(--gold); }
.pill--wa:hover { background: #d8a56a; opacity: 1; }
.pill--ghost { outline: 0; border: 1px solid currentColor; }
.pill:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.site-head .head-wa { background: var(--gold) !important; color: var(--gold-ink) !important; outline-color: var(--gold); }
.floors button, .nchips button, .chip, .opt, .hero__pause { border-radius: 2px; }
.head-tel { font-size: 15px; text-decoration: none; margin-right: 6px; white-space: nowrap; }
@media (max-width: 1240px) { .head-tel { display: none; } }
.site-foot .word { color: var(--gold); }

/* The offer plaque: what is left, always in view during the journey */
.offer { position: absolute; right: var(--pad); bottom: clamp(28px, 5vh, 56px); z-index: 3; display: grid; gap: 4px; min-width: 264px; padding: 18px 22px; background: var(--cream); color: var(--ink); text-decoration: none; }
.offer b { font: 400 34px/1 var(--display); text-transform: uppercase; font-variant-ligatures: none; }
.offer span { font-size: 14px; color: #5d5142; }
.offer .offer__go { margin-top: 6px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* The homes still free: one ruled ochre card beside a cream chapter */
.ledger-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #d8cbb8; scroll-margin-top: 70px; }
.ledger { align-self: start; margin: clamp(16px, 2.4vw, 32px); padding: clamp(22px, 2.6vw, 36px) clamp(18px, 2.4vw, 32px) 6px; background: var(--gold); color: var(--gold-ink); }
.ledger h3 { margin: 0 0 22px; font: 400 clamp(34px, 3.6vw, 56px)/.98 var(--display); text-transform: uppercase; font-variant-ligatures: none; }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger li { border-top: 1px solid rgba(42, 28, 13, .45); }
.ledger li a { display: grid; grid-template-columns: 1fr auto; gap: 3px 16px; padding: 14px 0; color: inherit; text-decoration: none; }
.ledger li a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ledger li b { font-weight: 500; font-size: 17px; }
.ledger li i { font-style: normal; font-weight: 500; }
.ledger li small { grid-column: 1 / -1; font-size: 14px; color: #4a3520; }
.ledger li.out { opacity: .58; }
.ledger__asof { margin: 0; padding: 12px 0 16px; border-top: 1px solid rgba(42, 28, 13, .45); font-size: 13px; }
.chapter { padding: clamp(40px, 6vw, 96px) clamp(20px, 5vw, 80px); display: grid; gap: 24px; align-content: center; }
.chapter .h2 { font-size: clamp(40px, 5.2vw, 84px); }
.chapter .lead { max-width: 30em; color: var(--fg-2); }
.chapter figure { margin: 8px 0 0; }
.chapter figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 900px) { .ledger-sec { grid-template-columns: 1fr; } .ledger { margin: 14px; } }

/* Payment figures */
.figsec .wrap { text-align: center; }
.figsec .lead { margin: 24px auto 0; max-width: 36em; }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1040px; margin: 44px auto 0; text-align: left; }
.figs > div { padding: 22px; background: var(--bg-2); border: 1px solid var(--rule); }
.figs b { display: block; font: 400 clamp(42px, 4.6vw, 68px)/1 var(--display); color: var(--gold); }
.figs span { display: block; margin-top: 10px; font-size: 15px; color: var(--fg-2); }
.figsec .pills { justify-content: center; margin-top: 36px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.figsec .cap { margin-top: 10px; text-align: left; }
@media (max-width: 760px) { .figs, .trio { grid-template-columns: 1fr; } .trio img { aspect-ratio: 4 / 3; } }

/* Proof and area */
.proof figcaption { color: var(--fg-2); }
.rows strong { font-size: clamp(22px, 2.1vw, 30px); }
.rows span { color: var(--fg-2); }
.area { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.area .h2 { font-size: clamp(40px, 5vw, 76px); }
.area .lead { margin: 22px 0; }
.area .pills { margin-top: 22px; }
.area .nmap { position: relative; top: 0; }
.rows--dist li { display: grid; grid-template-columns: 5.2em 1fr; align-items: baseline; gap: 14px; padding: 14px 0; }
.rows--dist strong { margin: 0; font-size: clamp(24px, 2.2vw, 32px); }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }

/* ---------- "A day at Saareeyaa": the pinned scroll journey ---------- */
.day { position: relative; background: var(--bg-3); color: #f3ead9; }
.day__ch { position: relative; min-height: 86svh; overflow: hidden; }
.day__still, .day__film { position: absolute; inset: 0; width: 100%; height: 100%; }
.day__still img, .day__film { object-fit: cover; width: 100%; height: 100%; }
.day__text { position: absolute; left: var(--pad); bottom: clamp(28px, 5vh, 56px); width: min(46vw, 720px); z-index: 2; }
.day__h { margin: 0 0 22px; font: 400 clamp(46px, 6.6vw, 112px)/.96 var(--display); text-transform: uppercase; font-variant-ligatures: none; }
.day__text h1 { margin: 0 0 6px; font: 500 clamp(17px, 1.4vw, 20px)/1.4 var(--sans); letter-spacing: 0; }
.day__text > p:not(.day__h) { margin: 0; max-width: 30em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: #e9dfce; }
.day__text .pills { margin-top: 24px; }
.day__line, .day__ctl { display: none; }
.day .offer { display: none; }

/* with JavaScript: one screen, held in place, the scenes dissolving into each other */
.js .day { height: calc(100svh + var(--n) * 62svh); }
.js .day__pin { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.js .day__ch { position: absolute; inset: 0; min-height: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.js .day__ch.is-on { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.js .day__h .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .day__h .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.2, .7, .1, 1) .15s; }
.js .day__h .ln:nth-child(2) > span { transition-delay: .24s; }
.js .day__h .ln:nth-child(3) > span { transition-delay: .33s; }
.js .day__ch.is-on .day__h .ln > span { transform: none; }
.js .day__text > :not(.day__h) { opacity: 0; transform: translateY(14px); transition: opacity .8s ease .45s, transform .8s cubic-bezier(.2, .7, .1, 1) .45s; }
.js .day__ch.is-on .day__text > :not(.day__h) { opacity: 1; transform: none; }
.js .day .offer { display: grid; }
/* the day, as a hairline along the foot of the film that fills as you go */
.js .day__line { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3; background: var(--rule); }
.js .day__line::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: var(--gold); transition: width .3s ease; }
.js .day__ctl { display: flex; align-items: stretch; position: absolute; right: var(--pad); top: 92px; z-index: 3; margin: 0; font: 500 13px/1 var(--sans); color: #f3ead9; }
.day__when, .day__credit { display: flex; align-items: center; gap: .35em; padding: 0 14px; background: var(--bg-3); border: 1px solid var(--rule-2); border-right: 0; color: #cfc4b2; font-weight: 400; white-space: nowrap; }
.day__when { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 500; }
.day__pause { min-height: 38px; padding: 0 14px; border: 1px solid rgba(243, 234, 217, .6); border-radius: 0; background: var(--bg-3); color: inherit; font: inherit; cursor: pointer; }
@media (max-width: 760px) {
  .day__text, .js .day__text { right: var(--pad); width: auto; bottom: 20px; }
  .js .day__text { bottom: 108px; }
  .day__h { font-size: 12.4vw; margin-bottom: 14px; }
  .day__text .pills { margin-top: 18px; }
  .day__text .pills .pill { flex: 1 1 0; padding: 0 10px; }
  .js .day .offer { position: absolute; left: 0; right: 0; bottom: 0; min-width: 0; z-index: 3; padding: 12px var(--pad) 14px; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; }
  .day .offer b { font-size: 28px; grid-column: 1; }
  .day .offer span { grid-column: 1; }
  .day .offer .offer__go { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  /* on phones the day is a hairline that fills, above the offer */
  .js .day__line { bottom: 88px; }
  .js .day__ctl { top: 80px; font-size: 12px; }
  .day__when, .day__credit, .day__pause { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) { .js .day__ch, .js .day__h .ln > span, .js .day__text > :not(.day__h) { transition: none !important; } }

/* ---------- The payment plan: the strip (at a glance) and the ledger (every payment) ---------- */
.pstrip { margin: 34px 0 8px; }
.pstrip__bar { position: relative; display: flex; gap: 4px; height: 76px; margin-top: 44px; }
.pstrip__bar i { flex: var(--w) 0 0; min-width: 0; display: grid; place-items: center; font-style: normal; }
.pstrip__bar i b { font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; }
.pstrip__bar .is-built { background: var(--gold); color: var(--gold-ink); }
.pstrip__bar .is-home { border: 1px solid var(--rule-2); color: var(--fg); }
/* the move-in mark: a rule through the bar at half the price, named above it */
.pstrip__key { flex: 0 0 2px; align-self: stretch; margin: -14px 6px; background: var(--fg); position: relative; }
.pstrip__key b { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg); }
.pstrip__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 26px; }
.pstrip__legend p { margin: 0; padding-top: 14px; border-top: 1px solid var(--rule-2); color: var(--fg-2); font-size: 16px; line-height: 1.5; max-width: 30em; }
.pstrip__legend strong { display: block; margin-bottom: 4px; color: var(--fg); font-weight: 500; font-size: 18px; }
.page-head--plan .lead { max-width: 30em; }
.page-head--plan .pills { margin-top: 34px; }
.page-head__note { margin: 22px 0 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 640px) {
  .pstrip__bar { height: 56px; gap: 3px; }
  .pstrip__bar i b { font-size: 11px; }
  .pstrip__bar .is-built:not(:first-child) b { display: none; } /* 7.5% does not fit a 24 px block: the legend says it */
  .pstrip__key { margin-inline: 3px; }
  .pstrip__legend { grid-template-columns: 1fr; gap: 16px; }
}

.plan-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.plan-sec .h2 { font-size: clamp(38px, 4.6vw, 72px); }
.plan-sec .lead { margin: 22px 0 0; }
.plan__ask { display: none; margin-top: 34px; }
.js .plan__ask { display: block; }
.plan__ask label { display: block; font-size: 15px; font-weight: 500; }
.plan__ask input { display: block; width: 100%; max-width: 320px; margin: 10px 0 10px; padding: 10px 0; border: 0; border-bottom: 2px solid var(--fg); border-radius: 0; background: none; color: var(--fg); font: 400 32px/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.plan__ask input::placeholder { color: var(--fg-3); }
.plan__ask input:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; }
.plan__head, .plan__rows li { display: grid; grid-template-columns: minmax(0, 1fr) 4.2em 7.5em 5.6em; gap: 0 14px; align-items: baseline; padding: 15px 16px; }
.plan__head { padding-block: 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); border-bottom: 1px solid var(--fg); }
.plan__head span:not(:first-child), .plan__pct, .plan__amt, .plan__sum { text-align: right; font-variant-numeric: tabular-nums; }
.plan__rows { list-style: none; margin: 0; padding: 0; }
/* the rule under a row fills as far as the price is paid by then */
.plan__rows li { background: linear-gradient(to right, var(--gold) var(--v, 0%), var(--rule-2) var(--v, 0%)) left bottom / 100% 3px no-repeat; }
.plan__what b { display: block; font-weight: 500; font-size: 18px; }
.plan__what small { display: block; margin-top: 2px; font-size: 14px; color: var(--fg-2); }
.plan__pct { color: var(--fg-2); }
.plan__amt { font-weight: 500; font-size: 18px; }
.plan__sum { color: var(--fg-2); }
.plan__rows .plan__mark { grid-template-columns: minmax(0, 1fr) 7.5em 5.6em; background: var(--gold); color: var(--gold-ink); margin: 3px 0; }
.plan__mark .plan__what b { font: 400 clamp(24px, 2.4vw, 32px)/1 var(--display); text-transform: uppercase; font-variant-ligatures: none; }
.plan__mark .plan__what small, .plan__mark .plan__sum { color: inherit; }
.plan__rows .plan__mark--end { background: var(--fg); color: var(--bg); }
.plan .is-new { animation: plan-new .5s ease; }
@keyframes plan-new { from { opacity: .25; } }
.plan-sec .asof { margin-top: 16px; }
@media (min-width: 901px) { .plan-sec__side { position: sticky; top: 104px; } }
@media (max-width: 900px) { .plan-sec { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .plan__head, .plan__rows li { grid-template-columns: minmax(0, 1fr) 3.1em 4.6em 3.4em; gap: 0 8px; padding: 13px 0; font-size: 14px; }
  .plan__rows .plan__mark { grid-template-columns: minmax(0, 1fr) 4.6em 3.4em; padding-inline: 12px; margin-inline: -12px; }
  .plan__head { font-size: 11px; letter-spacing: .04em; }
  .plan__what b { font-size: 16px; }
  .plan__amt { font-size: 16px; }
  .plan__mark .plan__what b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .plan .is-new { animation: none; } }

/* Inner pages: the building's name sits on the foot of its picture instead of being cut by it */
.hero .mono { transform: translateY(1%); }

/* The map is a dark tile wherever it sits: inside a cream section its labels, halos and buttons keep the night palette */
.cream .nmap__frame { --bg: #17120d; --bg-2: #211a13; --bg-3: #110d09; --fg: #efe6d6; --fg-2: #b5a895; --fg-3: #8c7f6d; --rule: #3b3024; --rule-2: #57483a; color: var(--fg); }

/* Contact details: the labels were an old slate grey, too dim on the warm ground */
.contact-list, .contact-list li { border-color: var(--rule-2); }
.contact-list b { color: var(--fg-2); }
