/* ===========================================================================
   Lemons Infrastructure — public website
   ---------------------------------------------------------------------------
   A property group sells a feeling before it sells a floor plan, so the page is
   built like a brochure rather than an admin screen: a cinematic opening, large
   editorial type, and long quiet stretches between the things that matter.

   Display face is Fraunces — a serif with enough weight to hold a photograph
   and enough character to not read as a template. Body is Manrope, which stays
   out of its way. Brand gold arrives from Website Settings as --brand.
   =========================================================================== */

:root {
    /* ink and paper, both warm — a neutral grey would read as unconsidered */
    --ink:        #101a22;
    --ink-soft:   #2c3a45;
    --ink-muted:  #6b7a85;
    --paper:      #ffffff;
    --paper-warm: #faf8f4;
    --paper-deep: #f3efe8;
    --line:       #e6e1d8;
    --line-soft:  #f0ece4;

    --brand:      #d99a07;
    --brand-ink:  #131b21;
    --brand-deep: #a97706;

    --display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --body: "Manrope", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;

    --max: 1240px;
    --gutter: clamp(20px, 5vw, 56px);
    --radius: 4px;

    --shadow-card: 0 1px 2px rgba(16, 26, 34, .04), 0 12px 32px -12px rgba(16, 26, 34, .12);
    --shadow-lift: 0 24px 60px -24px rgba(16, 26, 34, .3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.site-container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.site-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Type ─────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.015em;
    text-wrap: balance;
    margin: 0;
    font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.25; }

.eyebrow {
    font-family: var(--body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 1.1rem;
    display: flex;
    align-items: center;
    gap: .85rem;
}
.eyebrow::after { content: ""; flex: 0 0 40px; height: 1px; background: currentColor; opacity: .45; }
.eyebrow.centred { justify-content: center; }
.eyebrow.centred::before { content: ""; flex: 0 0 40px; height: 1px; background: currentColor; opacity: .45; }

.lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; }
.muted { color: var(--ink-muted); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn-brand, .btn-line, .btn-ghost {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--body); font-size: .84rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 1.05rem 2.1rem; border: 1px solid transparent; cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ── Header ───────────────────────────────────────────────────────────────── */

.site-header {
    position: fixed; inset: 0 0 auto; z-index: 80;
    padding: 1.4rem 0;
    transition: background .35s, padding .35s, box-shadow .35s;
}
/* over the hero it floats; once the page moves it becomes a solid bar */
.site-header.is-solid {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
    padding: .85rem 0;
    box-shadow: 0 1px 0 var(--line), 0 8px 30px -20px rgba(16, 26, 34, .5);
}
body.has-hero .site-header:not(.is-solid) .site-nav > a { color: rgba(255, 255, 255, .9); }
body.has-hero .site-header:not(.is-solid) .brand-name { color: #fff; }
body.has-hero .site-header:not(.is-solid) .nav-toggle span { background: #fff; }
body:not(.has-hero) .site-header { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-logo { height: 46px; width: auto; transition: height .35s; }
.site-header.is-solid .brand-logo { height: 38px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; }

.site-nav { display: flex; align-items: center; gap: 2.2rem; }
.site-nav > a {
    font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-soft); position: relative; padding: .4rem 0;
    transition: color .25s;
}
.site-nav > a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
    height: 1px; background: var(--brand); transition: right .3s;
}
.site-nav > a:hover::after, .site-nav > a.is-current::after { right: 0; }
.site-nav > a.is-current { color: var(--brand); }

/* `.site-nav > a` is more specific than a bare class and took the padding off these two */
.site-nav > a.nav-call, .site-nav > a.nav-login {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    height: 2.75rem; padding: 0 1.4rem 0 1.15rem; border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; line-height: 1;
    transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.site-nav > a.nav-call::after, .site-nav > a.nav-login::after { display: none; }
.nav-call i, .nav-login i { font-size: 1rem; line-height: 1; }

.site-nav > a.nav-call {
    background: linear-gradient(180deg, #f0b52a, var(--brand));
    color: var(--brand-ink) !important;
    box-shadow: 0 4px 14px rgba(217, 154, 7, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.site-nav > a.nav-call:hover { background: linear-gradient(180deg, var(--brand), var(--brand-deep)); color: #fff !important; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(217, 154, 7, .38); }

/* staff, agents and customers sign in from here; glass over the photo, white on a light header */
.site-nav > a.nav-login {
    border: 1.5px solid var(--brand); color: var(--brand-deep) !important;
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
body.has-hero .site-header:not(.is-solid) .site-nav > a.nav-login { color: #f3c04a !important; }
.site-nav > a.nav-login:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink) !important; transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: background .3s; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
        background: var(--ink); flex-direction: column; align-items: stretch;
        justify-content: flex-start; gap: 0; padding: 6rem 2rem 2rem;
        transform: translateX(100%); transition: transform .4s cubic-bezier(.4, 0, .2, 1);
        z-index: 90;
    }
    .site-nav.is-open { transform: translateX(0); }
    body.has-hero .site-header:not(.is-solid) .site-nav > a,
    .site-nav > a { color: rgba(255, 255, 255, .82); padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .site-nav > a.is-current { color: var(--brand); }
    /* the menu's own row rule (padding, underline) is more specific than the buttons' */
    body .site-header .site-nav > a.nav-call, body .site-header .site-nav > a.nav-login { height: 3rem; padding: 0 1.4rem; }
    body .site-header .site-nav > a.nav-call { margin-top: 1.5rem; border-bottom: 0; }
    body .site-header .site-nav > a.nav-login { margin-top: .75rem; border: 1.5px solid var(--brand); color: #f3c04a !important; }
    .nav-scrim { position: fixed; inset: 0; background: rgba(16, 26, 34, .5); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 85; }
    .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero { position: relative; min-height: min(100svh, 860px); display: grid; isolation: isolate; overflow: hidden; }
.hero-slide { grid-area: 1 / 1; position: relative; display: grid; align-items: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* a slow drift keeps a still photograph from feeling like a screenshot */
.hero-slide.is-active img { animation: heroDrift 18s ease-out forwards; }
@keyframes heroDrift { from { transform: scale(1.06); } to { transform: scale(1.14); } }

.hero-slide::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 16, 21, .55) 0%, rgba(10, 16, 21, .1) 30%, rgba(10, 16, 21, .75) 100%),
        linear-gradient(90deg, rgba(10, 16, 21, .7) 0%, rgba(10, 16, 21, .15) 70%);
}

.hero-copy { position: relative; max-width: 46rem; color: #fff; padding: 9rem 0 6rem; }
.hero-copy .eyebrow { color: var(--brand); }
.hero-copy h1, .hero-copy .hero-heading { color: #fff; font-weight: 500; }
.hero-copy p { color: rgba(255, 255, 255, .82); font-size: 1.15rem; margin: 1.5rem 0 2.5rem; max-width: 34rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-dots { position: absolute; z-index: 3; bottom: 2.5rem; left: 0; right: 0; display: flex; gap: .6rem; justify-content: center; }
.hero-dots button { width: 32px; height: 2px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s; }
.hero-dots button.is-active { background: var(--brand); }

/* pages without a photograph still open with weight, not a plain white band */
.page-head { background: var(--ink); color: #fff; padding: 9rem 0 3.5rem; position: relative; overflow: hidden; }
.page-head::before {
    content: ""; position: absolute; right: -8%; top: -40%;
    width: 46rem; height: 46rem; border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 154, 7, .16) 0%, transparent 62%);
}
.page-head h1 { color: #fff; position: relative; font-weight: 500; }
.page-head p { color: rgba(255, 255, 255, .7); margin: 1rem 0 0; position: relative; max-width: 46rem; }

/* ── Sections ─────────────────────────────────────────────────────────────── */

/* sections sat up to 8rem apart top and bottom: half the screen was gap between them */
section { padding: clamp(3rem, 5.5vw, 5rem) 0; }
section.warm { background: var(--paper-warm); }
section.deep { background: var(--ink); color: rgba(255, 255, 255, .78); }
section.deep h2 { color: #fff; }

.section-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 46rem; }
.section-head.centred { margin-left: auto; margin-right: auto; text-align: center; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
/* About: the director's photo beside their message */
.md-desk { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
.md-photo { margin: 0; }
.md-photo img { width: 200px; height: 240px; object-fit: cover; object-position: top; border: 6px solid var(--paper); box-shadow: var(--shadow-card); }
@media (max-width: 700px) { .md-desk { grid-template-columns: 1fr; } .md-photo img { width: 150px; height: 180px; } }

/* About: the introduction beside a photo of the project */
.about-intro { align-items: start; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-card); }
.about-photo::before { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border: 1px solid var(--brand); z-index: -1; }
@media (max-width: 900px) { .about-photo img { aspect-ratio: 16 / 10; } .about-photo::before { display: none; } }

/* ── Numbers ──────────────────────────────────────────────────────────────── */

.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--paper); padding: clamp(2rem, 4vw, 3rem) 1.5rem; text-align: center; }
.stat .n {
    font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 500;
    line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.stat .n span { color: var(--brand); }
.stat .l { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; margin-top: .9rem; }

/* ── Promises ─────────────────────────────────────────────────────────────── */

.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.promise { padding-top: 1.75rem; border-top: 2px solid var(--brand); }
.promise .num { font-family: var(--display); font-size: .9rem; color: var(--brand); letter-spacing: .1em; }
.promise h3 { margin: .6rem 0 .6rem; }
.promise p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
section.deep .promise p { color: rgba(255, 255, 255, .66); }
section.deep .promise h3 { color: #fff; }

/* ── Project cards ────────────────────────────────────────────────────────── */

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }

.project-card { display: block; background: var(--paper); position: relative; }
.project-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.project-card:hover .thumb img { transform: scale(1.07); }
.project-card .thumb .placeholder { display: grid; place-items: center; height: 100%; color: var(--ink-muted); font-size: 2.2rem; opacity: .35; }
.project-card .thumb::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(10, 16, 21, .72) 100%);
}

.pill {
    position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
    background: rgba(255, 255, 255, .94); color: var(--ink);
    font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    padding: .45rem .85rem;
}
.pill.ongoing { background: var(--brand); color: var(--brand-ink); }
.pill.completed { background: var(--ink); color: #fff; }

.project-card .over { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; z-index: 2; color: #fff; }
.project-card .over h3 { color: #fff; font-weight: 500; }
.project-card .over .where { font-size: .84rem; color: rgba(255, 255, 255, .8); display: block; margin-top: .3rem; }

.project-card .body { padding: 1.4rem 0 0; display: flex; flex-direction: column; gap: .6rem; }
.project-card .body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.project-card .price { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.project-card .more { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: .5rem; }
.project-card:hover .more { gap: .9rem; }
.project-card .more i { transition: transform .3s; }


/* A group with one or two live projects should not look like a grid with the
   rest missing: a single card is laid out wide, image beside copy. */
.card-grid.is-single { grid-template-columns: 1fr; }
.card-grid.is-single .project-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.card-grid.is-single .project-card .thumb { aspect-ratio: 3 / 2; }
.card-grid.is-single .project-card .over { display: none; }
.card-grid.is-single .project-card .body { padding: 0; gap: 1rem; }
.card-grid.is-single .project-card .body .card-title { display: block; }
.card-grid .project-card .body .card-title { display: none; }
.card-grid.is-single .project-card .body p { font-size: 1.05rem; }
@media (max-width: 760px) { .card-grid.is-single .project-card { grid-template-columns: 1fr; } .card-grid.is-single .project-card .over { display: block; } .card-grid.is-single .project-card .body .card-title { display: none; } }
.card-grid.is-pair { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

/* ── Filters ──────────────────────────────────────────────────────────────── */

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(2rem, 4vw, 3rem); align-items: center; }
.filters .chip-link, .filters select {
    border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
    padding: .7rem 1.4rem; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    font-family: var(--body); transition: all .25s;
}
.filters .chip-link:hover { border-color: var(--ink); color: var(--ink); }
.filters .chip-link.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Project detail ───────────────────────────────────────────────────────── */

.project-hero { position: relative; min-height: min(72svh, 640px); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.project-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.project-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(10, 16, 21, .5) 0%, rgba(10, 16, 21, .2) 40%, rgba(10, 16, 21, .88) 100%);
}
.project-hero .inner { color: #fff; padding-top: 8rem; padding-bottom: 3.5rem; } /* the sides keep the container's gutter */
.project-hero h1 { color: #fff; font-weight: 500; }
.project-hero .where { color: rgba(255, 255, 255, .82); margin-top: .8rem; display: flex; align-items: center; gap: .5rem; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-block { padding-block: clamp(1.6rem, 3vw, 2.4rem); border-top: 1px solid var(--line); }
.detail-block:first-child { border-top: 0; padding-top: 0; }
.detail-block h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1.4rem; }

.fact-table { width: 100%; border-collapse: collapse; }
.fact-table th, .fact-table td { text-align: left; padding: .95rem 0; border-bottom: 1px solid var(--line-soft); font-size: .97rem; vertical-align: top; }
.fact-table th { color: var(--ink-muted); font-weight: 500; width: 44%; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.fact-table td { font-weight: 500; }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }

.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .9rem 1.5rem; padding: 0; margin: 0; list-style: none; }
.amenity-list li { display: flex; align-items: baseline; gap: .7rem; color: var(--ink-soft); font-size: .96rem; }
.amenity-list li::before { content: ""; flex: 0 0 6px; height: 6px; background: var(--brand); transform: translateY(-2px); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .7s; }
.gallery a { overflow: hidden; display: block; }
.gallery a:hover img { transform: scale(1.06); }
.gallery figure { margin: 0; }
.gallery figcaption { padding-top: .55rem; font-size: .84rem; line-height: 1.4; color: var(--ink-muted); }

/* the brochure's drawn map beside the distances; stacked on a phone */
.nearby { display: grid; gap: 1.8rem; }
.nearby.has-map { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 860px) { .nearby.has-map { grid-template-columns: 1fr; } }
.nearby-map { display: block; border: 1px solid var(--line); background: var(--paper-warm); }
.nearby-map img { width: 100%; height: auto; }
.nearby.has-map .nearby-list { grid-template-columns: 1fr; }

.spec-table th { width: 26%; }
@media (max-width: 560px) {
    .spec-table th, .spec-table td { display: block; width: auto; }
    .spec-table th { padding-bottom: .2rem; border-bottom: 0; }
    .spec-table td { padding-top: 0; }
}

/* the payment plan: numbered stages with their share, the total under them */
/* held to a reading width: across the full page a stage and its share sat a metre apart */
.pay-plan { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 52rem; }
.pay-plan li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); }
.pay-step { font-family: var(--display); color: var(--brand); font-size: .95rem; font-variant-numeric: tabular-nums; }
.pay-label { color: var(--ink-soft); font-size: .97rem; }
.pay-percent { font-family: var(--display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; max-width: 52rem; margin: 0 0 1.4rem; padding: .9rem 0 0 3.2rem; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.pay-total span:last-child { font-family: var(--display); font-size: 1.2rem; letter-spacing: 0; color: var(--brand-deep); }
.pay-note { margin: 0 0 .7rem; max-width: 60rem; font-size: .9rem; color: var(--ink-muted); }

.progress-track { height: 4px; background: var(--line); overflow: hidden; }
.progress-track span { display: block; height: 100%; background: var(--brand); }


/* ── Configurations ───────────────────────────────────────────────────────── */
/* One row per unit type: the floor plan a buyer wants to see, the areas they
   compare on, the price, and — only when the group publishes it — how many
   are left. */
/* the brochure button under a project's name */
.hero-brochure { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.6rem; border-radius: 999px; }
.config-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
/* the unit types as cards across the page: plan on top, figures below */
.project-wide { padding-top: 0; }
.config-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.config-grid .config { grid-template-columns: 1fr; border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .3s, box-shadow .3s; }
.config-grid .config:hover { transform: translateY(-3px); }
.config-grid .config-plan { border-right: 0; border-bottom: 1px solid var(--line); }
.config-grid .config-plan img, .config-grid .config-plan-empty { aspect-ratio: 16 / 10; }
.config { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; background: var(--paper); }
@media (max-width: 760px) { .config { grid-template-columns: 1fr; } }
.config-plan { background: var(--paper-warm); border-right: 1px solid var(--line); }
@media (max-width: 760px) { .config-plan { border-right: 0; border-bottom: 1px solid var(--line); } }
.config-plan img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 1rem; transition: transform .5s; }
.config-plan a:hover img { transform: scale(1.04); }
.config-plan-empty { display: grid; place-items: center; gap: .6rem; aspect-ratio: 4 / 3; color: var(--ink-muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.config-plan-empty i { font-size: 1.7rem; opacity: .4; }
.config-body { padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.2rem; }
.config-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.config-head h3 { font-weight: 500; }
.tag { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .75rem; white-space: nowrap; }
.tag-live { background: rgba(217, 154, 7, .14); color: var(--brand-deep); }
.tag-out { background: var(--paper-deep); color: var(--ink-muted); }
.config-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 1.2rem; margin: 0; }
.config-specs dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; }
.config-specs dd { margin: .3rem 0 0; font-family: var(--display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.config-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); margin-top: auto; }
.config-price { font-family: var(--display); font-size: 1.5rem; }
.config-ask { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); display: inline-flex; gap: .5rem; align-items: center; }
.config-ask:hover { gap: .85rem; }

/* ── Enquiry card ─────────────────────────────────────────────────────────── */

.enquiry-card {
    background: var(--paper); border: 1px solid var(--line);
    padding: clamp(1.75rem, 3vw, 2.4rem); box-shadow: var(--shadow-card);
    position: sticky; top: 110px;
}
.enquiry-card h3 { font-size: 1.35rem; margin-bottom: .4rem; font-weight: 500; }
.enquiry-card p.sub { color: var(--ink-muted); font-size: .92rem; margin: 0 0 1.6rem; }

.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field textarea, .field select {
    border: 0; border-bottom: 1px solid var(--line); background: transparent;
    padding: .7rem 0; font: inherit; font-size: 1rem; color: var(--ink);
    transition: border-color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brand); }
.field .err { color: #a8442c; font-size: .82rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-flash { background: var(--ink); color: #fff; padding: 1.1rem 0; font-size: .95rem; margin-top: 76px; }
.site-flash i { color: var(--brand); margin-right: .5rem; }

/* ── Testimonials ─────────────────────────────────────────────────────────── */

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.quote-grid.is-pairs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); max-width: 62rem; margin: 0 auto; }
.quote { display: flex; flex-direction: column; gap: 1.2rem; }
.quote .mark { font-family: var(--display); font-size: 3.4rem; line-height: .6; color: var(--brand); }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.16rem; line-height: 1.55; color: var(--ink); font-weight: 400; }
section.deep .quote blockquote { color: rgba(255, 255, 255, .92); }
.quote figcaption { display: flex; align-items: center; gap: .85rem; margin-top: auto; padding-top: .5rem; }
.quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote .who { font-weight: 700; font-size: .92rem; }
.quote .who small { display: block; font-weight: 400; color: var(--ink-muted); font-size: .82rem; }
section.deep .quote .who small { color: rgba(255, 255, 255, .5); }
.quote .stars { color: var(--brand); letter-spacing: .18em; font-size: .82rem; }
/* Fraunces has no Devanagari, and its fallbacks set Hindi small and cramped */
.quote blockquote:lang(hi) { font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", "Mangal", var(--body); font-size: 1.04rem; line-height: 1.85; }

/* ── Awards, recognition and press ────────────────────────────────────────── */

.honour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(1.4rem, 3vw, 2.2rem); }
.honour { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.honour-media { display: block; background: var(--paper-deep); overflow: hidden; }
.honour-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .7s; }
.honour-media:hover img { transform: scale(1.04); }
.honour-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.honour-body h3 { font-weight: 500; }
.honour-kind { margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.honour-kind span { color: var(--ink-muted); font-weight: 700; }
.honour-caption { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.honour-press-head { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ── Closing call to action ───────────────────────────────────────────────── */

.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-weight: 500; }
.cta-band p { color: rgba(255, 255, 255, .7); max-width: 40rem; margin: 1.2rem auto 2.4rem; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.faq { border-bottom: 1px solid var(--line); }
.faq summary {
    cursor: pointer; list-style: none; padding: 1.5rem 3rem 1.5rem 0;
    font-family: var(--display); font-size: 1.15rem; font-weight: 500; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 1px;
    background: var(--brand); transform: translateY(-50%);
}
.faq summary::before {
    content: ""; position: absolute; right: .95rem; top: 50%; width: 1px; height: 12px;
    background: var(--brand); transform: translateY(-50%); transition: opacity .25s;
}
.faq[open] summary::before { opacity: 0; }
.faq .answer { padding: 0 3rem 1.6rem 0; color: var(--ink-soft); white-space: pre-line; }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: clamp(4rem, 7vw, 6rem) 0 2rem; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.site-footer .footer-logo { height: 52px; width: auto; margin-bottom: 1.4rem; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h4 { font-family: var(--body); color: #fff; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 1.4rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .8rem; }
.site-footer a { transition: color .25s; }
.site-footer a:hover { color: var(--brand); }
.site-footer .tag { font-family: var(--display); font-size: 1.15rem; color: rgba(255, 255, 255, .85); line-height: 1.45;
    /* not the configuration badge of the same name: that one is a single
       uppercase line, and the tagline set that way ran off a phone screen */
    white-space: normal; text-transform: none; letter-spacing: normal; font-weight: 400; padding: 0; }

.social-row { display: flex; gap: .7rem; margin-top: 1.6rem; }
.social-row a { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; color: #fff; transition: all .25s; }
.social-row a:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.footer-legal { margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: rgba(255, 255, 255, .42); line-height: 1.7; }
/* the developer's credit under the copyright line */
.footer-credit { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.footer-credit-services { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 0; font-size: .8rem; line-height: 1.6; }
.footer-credit-services a { color: rgba(255, 255, 255, .55); padding: 0 .75rem; }
.footer-credit-services a + a { border-left: 1px solid rgba(255, 255, 255, .22); }
.footer-credit-services a:hover { color: var(--brand); }
.footer-credit-by { margin: 1rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .45); }
.footer-credit-by a { color: rgba(255, 255, 255, .78); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-top: 1.4rem; font-size: .82rem; color: rgba(255, 255, 255, .45); }

.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 70;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center;
    font-size: 1.5rem; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
    transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.08); }

.empty-state { text-align: center; padding: 5rem 1rem; color: var(--ink-muted); }
.empty-state i { font-size: 2.6rem; display: block; margin-bottom: 1rem; opacity: .35; }

/* ── Reveal on scroll ─────────────────────────────────────────────────────── */

/* Only hidden once we know scripts are running; without JS everything is
   simply visible, which is also what a crawler sees. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* the line under a form saying what happens to the details */
.form-consent { margin: .75rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink-muted); }
.form-consent a { color: inherit; text-decoration: underline; }

/* the cookie question, at the foot of the page until it is answered */
.cookie-notice { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 34rem; margin: 0 auto;
    background: var(--paper, #fff); border: 1px solid var(--line, #e5e1d8); box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: .9rem; flex: 1 1 16rem; }
.cookie-notice a { color: inherit; text-decoration: underline; }
.cookie-notice__actions { display: flex; gap: .5rem; }
.cookie-notice .btn-ghost { background: none; color: var(--ink, #1c1b19); border: 1px solid var(--line, #e5e1d8); padding: .55rem 1rem; cursor: pointer; font: inherit; }
