/* =========================================================
   Fairfox EON landing page
   Palette: linen / sand / sage / deep sage / clay / peach
   Type: Libre Caslon Display (headlines) + Albert Sans (text)
   ========================================================= */

/* ---------- Fonts (self-hosted; latin-ext only downloads when a page uses e.g. the ₹ sign) ---------- */
@font-face { font-family: "Libre Caslon Display"; font-style: normal; font-weight: 400; font-display: swap;
    src: url(../assets/fonts/libre-caslon-display-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Caslon Display"; font-style: normal; font-weight: 400; font-display: swap;
    src: url(../assets/fonts/libre-caslon-display-latin-ext.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url(../assets/fonts/albert-sans-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url(../assets/fonts/albert-sans-latin-ext.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --linen: #F6F0E6;
    --linen-2: #FBF8F2;
    --sand: #ECE2D2;
    --sand-line: #DDD0BC;
    --sage: #7D8A6A;
    --sage-soft: #C9CFBA;
    --sage-deep: #344033;
    --ink: #232B21;
    --text: #444B3F;
    --muted: #6F7266;
    --clay: #B5603F;
    --clay-hover: #9C4F32;
    --clay-light: #C9734F;
    --peach: #E2A57E;

    --serif: "Libre Caslon Display", "Iowan Old Style", Georgia, serif;
    --sans: "Albert Sans", "Segoe UI", system-ui, sans-serif;

    --wrap: 1240px;
    --gutter: clamp(20px, 5vw, 56px);
    --section: clamp(80px, 11vw, 144px);
    --radius-lg: 28px;
    --radius: 18px;
    --shadow: 0 30px 60px -30px rgba(52, 64, 51, .35);
    --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--linen);
    color: var(--text);
    font: 400 17px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section); }

/* Sections below the hero skip style/layout/paint until they come near the viewport.
   `auto` makes the browser remember each section's real height once it has been rendered. */
.section, .closing, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* switched off on the first in-page link click so the jump lands exactly (see eon.js) */
.cv-off .section, .cv-off .closing, .cv-off .site-footer { content-visibility: visible; }

.display {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -.01em;
    color: var(--ink);
    text-wrap: balance;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    gap: 24px 64px;
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p { color: var(--muted); }
.section-head--light .display { color: var(--linen); }
.section-head--light p { color: rgba(246, 240, 230, .72); }

.fineprint { margin-top: 28px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 28px;
    border: 1px solid transparent; border-radius: 999px;
    font-weight: 500; font-size: 16px; letter-spacing: .01em;
    text-decoration: none; cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { background: var(--clay-hover); }
.btn--sage { background: var(--sage); color: #fff; }
.btn--sage:hover { background: var(--sage-deep); }
.btn--ghost { border-color: var(--sand-line); color: var(--ink); background: rgba(251, 248, 242, .6); }
.btn--ghost:hover { border-color: var(--sage); background: var(--linen-2); }
.btn--ghost:hover svg { transform: none; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(246, 240, 230, .9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(52, 64, 51, .1);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 88px; }

.brand img { width: 118px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav ul a {
    position: relative; padding: 6px 0;
    font-size: 15px; color: var(--ink); text-decoration: none;
}
.nav ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--clay); transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav ul a[aria-current="true"] { color: var(--clay); }
.nav__phone { display: none; }

.menu-toggle {
    display: none; width: 46px; height: 46px; margin-left: 4px;
    border: 1px solid var(--sand-line); border-radius: 50%; background: var(--linen-2); cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 18px; height: 1.5px; margin: auto; background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: max(760px, 100svh);
    padding: 132px 0 72px;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero__media {
    position: absolute; inset: 0 0 0 auto; width: 64%;
    overflow: hidden; /* keeps the zoom-in animation inside the frame */
}
.hero__media img {
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
/* linen veil: the photo dissolves into the page on its left edge */
.hero__media::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(90deg, var(--linen) 0%, var(--linen) 3%, rgba(246, 240, 230, .78) 14%, rgba(246, 240, 230, 0) 42%),
        linear-gradient(0deg, rgba(246, 240, 230, .55) 0%, rgba(246, 240, 230, 0) 30%);
}

.hero__grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: minmax(0, 1fr) 380px;
    gap: 48px; align-items: end;
}

.hero__title {
    font-family: var(--serif); font-weight: 400;
    font-size: clamp(4.4rem, 10.4vw, 9.6rem);
    line-height: .9; letter-spacing: -.025em;
    margin-bottom: 36px;
}
.hero__word { display: block; animation: rise .9s var(--ease) both; }
.hero__word--sage { color: var(--sage); }
.hero__word--clay { color: var(--clay-light); animation-delay: .1s; }
.hero__word--ink { color: var(--ink); animation-delay: .2s; }

.hero__lede {
    display: flex; gap: 16px; align-items: flex-start;
    max-width: 30rem; font-size: 18.5px; line-height: 1.55; color: var(--ink);
}
.hero__mark { width: 34px; height: 34px; color: var(--peach); margin-top: 2px; }

.hero__facts {
    display: flex; flex-wrap: wrap; gap: 0; margin: 32px 0 36px;
}
.hero__facts > div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--sand-line); }
.hero__facts > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__facts dt { font-size: 13.5px; color: var(--muted); }
.hero__facts dd { font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--ink); }
.hero__facts sup, .plan__price sup { font-family: var(--sans); font-size: .45em; vertical-align: super; margin-left: 2px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { margin-top: 28px; font-size: 13px; color: var(--muted); }

.hero__form .lead-form {
    background: rgba(251, 248, 242, .95);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: var(--radius-lg);
    padding: 30px 30px 26px;
    box-shadow: var(--shadow);
}

@keyframes rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Lead forms ---------- */
.lead-form__title { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; color: var(--ink); }
.lead-form__note { margin: 6px 0 20px; font-size: 14px; color: var(--muted); }

.field { position: relative; margin-bottom: 14px; }
.field label { display: block; margin-bottom: 5px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
    width: 100%; height: 46px; padding: 0 14px;
    border: 1px solid var(--sand-line); border-radius: 12px;
    background: #fff; font-size: 16px;
    transition: border-color .2s, box-shadow .2s;
}
.field select {
    appearance: none; padding-right: 40px; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23344033' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(125, 138, 106, .18); }
.field__error { display: none; margin-top: 5px; font-size: 13px; color: #A3402A; }
.field.is-invalid input { border-color: #A3402A; }
.field.is-invalid .field__error { display: block; }

.lead-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 18px; font-size: 12.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--sage); flex: none; }

.lead-form__status { margin-top: 10px; font-size: 13.5px; color: #A3402A; }
.lead-form__status:empty { display: none; }

/* ---------- Overview ---------- */
.overview__intro {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 80px; align-items: start;
}
.overview__intro .display { max-width: 14ch; }
.overview__lead p { max-width: 36rem; }
.overview__lead p + p { margin-top: 18px; }
.overview__lead p:first-child { font-size: 20px; line-height: 1.6; color: var(--ink); }

.overview__image { margin-top: clamp(48px, 6vw, 80px); }
.overview__image img {
    width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover; border-radius: var(--radius-lg);
    filter: saturate(.86) sepia(.06);
}
.overview__image figcaption { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

.overview__notes {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px; margin-top: clamp(48px, 6vw, 72px);
}
.overview__notes article { padding-top: 24px; border-top: 1px solid var(--sand-line); }
.overview__notes h3 { margin-bottom: 12px; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.2; color: var(--ink); }
.overview__notes p { font-size: 16px; }

/* ---------- Prices ---------- */
.prices { background: var(--linen-2); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column;
    padding: 36px 32px 32px;
    background: var(--linen); border: 1px solid var(--sand); border-radius: var(--radius-lg);
}
.plan--featured {
    background: #fff; border-color: var(--clay-light);
    box-shadow: 0 40px 70px -40px rgba(181, 96, 63, .45);
    margin-block: -14px; padding-block: 50px 46px;
}
.plan__badge {
    position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    padding: 6px 16px; border-radius: 999px; white-space: nowrap;
    background: var(--clay); color: #fff; font-size: 13px; font-weight: 500;
}
.plan__head { display: flex; gap: 16px; align-items: center; }
.plan__icon {
    display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
    background: var(--sand); color: var(--sage); flex: none;
}
.plan--featured .plan__icon { background: #F6E6DC; color: var(--clay); }
.plan__icon svg { width: 28px; height: 28px; }
.plan__name { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--ink); }
.plan__tag { margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan__price {
    margin: 30px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--sand);
    font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--ink);
}
.plan__list { display: grid; gap: 12px; margin-bottom: 32px; font-size: 15.5px; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.plan__list svg { width: 18px; height: 18px; margin-top: 2px; color: var(--sage); }
.plan--featured .plan__list svg { color: var(--clay); }
.plan .btn { margin-top: auto; }

/* ---------- Amenities ---------- */
.amenities {
    background: var(--sage-deep);
    color: var(--linen);
    position: relative; overflow: hidden;
}
.amenity-row {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px;
}
.amenity { text-align: center; }
.amenity img {
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 0 1px rgba(246, 240, 230, .18), 0 0 0 8px rgba(246, 240, 230, .05);
    filter: saturate(.85) sepia(.06);
    transition: transform .6s var(--ease);
}
.amenity:hover img { transform: scale(1.03); }
.amenity h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; color: #fff; }
.amenity p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgba(246, 240, 230, .68); }

/* ---------- Floor plans ---------- */
.floors__tabs {
    display: flex; gap: 6px; flex-wrap: wrap;
    padding: 6px; margin-bottom: 24px; width: fit-content; max-width: 100%;
    background: var(--sand); border-radius: 999px;
}
.floors__tabs button {
    min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
    background: transparent; font-size: 15px; color: var(--text); cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease);
}
.floors__tabs button:hover { color: var(--ink); }
.floors__tabs button[aria-selected="true"] { background: var(--sage-deep); color: #fff; }

.floors__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }

.floors__view, .siteplan__image {
    position: relative; display: block; overflow: hidden;
    background: #fff; border: 1px solid var(--sand); border-radius: var(--radius-lg);
    padding: clamp(12px, 2vw, 28px);
}
.floors__view img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: opacity .3s; }
.floors__view.is-loading img { opacity: .25; }
.floors__zoom {
    position: absolute; right: 16px; bottom: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(35, 43, 33, .82); color: #fff; font-size: 13px;
}

.floors__aside {
    padding: 32px; border-radius: var(--radius-lg); background: var(--linen-2); border: 1px solid var(--sand);
    position: sticky; top: 110px;
}
.floors__current { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--ink); margin-bottom: 12px; }
.floors__aside > p:not(.fineprint) { margin-bottom: 24px; font-size: 16px; }
.floors__aside .fineprint { margin-top: 20px; }

/* ---------- Site plan ---------- */
.siteplan { background: var(--linen-2); }
.siteplan__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; }
.siteplan .display { margin-bottom: 36px; }
.siteplan__image img { width: 100%; border-radius: 10px; }
.siteplan__sub { margin: 40px 0 16px; font-family: var(--serif); font-weight: 400; font-size: 25px; color: var(--ink); }
.siteplan__legend .siteplan__sub { margin-top: 0; }
.siteplan__legend { align-self: start; padding-top: 8px; }
.siteplan__legend summary { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; list-style: none; cursor: default; }
.siteplan__legend summary::-webkit-details-marker { display: none; }
.siteplan__legend summary svg, .siteplan__count { display: none; }
.siteplan__legend ol {
    list-style: none; counter-reset: legend; columns: 2; column-gap: 28px;
    font-size: 14.5px; line-height: 1.4;
}
.siteplan__legend li { counter-increment: legend; display: flex; gap: 10px; padding: 7px 0; break-inside: avoid; border-bottom: 1px solid var(--sand); }
.siteplan__legend li::before {
    content: counter(legend); flex: none; width: 22px;
    font-variant-numeric: tabular-nums; color: var(--clay); font-weight: 500;
}
.glance { display: grid; gap: 12px; }
.glance li { position: relative; padding-left: 22px; font-size: 16px; }
.glance li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--sage-soft); }

/* ---------- Location ---------- */
.location__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.location__lede { margin: 20px 0 32px; max-width: 30rem; }
.route { position: relative; }
.route li {
    position: relative; display: flex; justify-content: space-between; gap: 16px;
    padding: 16px 0 16px 30px; border-bottom: 1px solid var(--sand-line);
}
.route li::before {
    content: ""; position: absolute; left: 0; top: 50%; width: 11px; height: 11px; margin-top: -5.5px;
    border-radius: 50%; border: 2px solid var(--sage); background: var(--linen);
}
.route li::after {
    content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: var(--sage-soft); z-index: -1;
}
.route li:first-child::after { top: 50%; }
.route li:last-child::after { bottom: 50%; }
.route strong { font-weight: 500; color: var(--ink); }
.route span { color: var(--muted); text-align: right; }
.location__map { border-radius: var(--radius-lg); background: var(--sand); }
.location__map iframe {
    display: block; width: 100%; height: 520px; border: 0; border-radius: var(--radius-lg);
    filter: saturate(.7) sepia(.12);
}

/* ---------- Gallery ---------- */
.gallery { background: var(--linen-2); }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.mosaic__item { display: block; overflow: hidden; border-radius: var(--radius); }
.mosaic__item--wide { grid-column: span 2; }
.mosaic__item img {
    width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    transition: transform 1s var(--ease);
}
.mosaic__item--wide img { aspect-ratio: auto; }
.mosaic__item:hover img { transform: scale(1.035); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro p { margin: 18px 0 24px; max-width: 24rem; color: var(--muted); }
.link-quiet { display: inline-flex; align-items: center; gap: 10px; color: var(--clay); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-quiet svg { width: 20px; height: 20px; }

.faq__list details { border-bottom: 1px solid var(--sand-line); }
.faq__list details:first-child { border-top: 1px solid var(--sand-line); }
.faq__list summary {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 24px 0; cursor: pointer; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.3; color: var(--ink); }
.faq__list summary svg { width: 22px; height: 22px; color: var(--clay); transition: transform .35s var(--ease); }
.faq__list details[open] summary svg { transform: rotate(45deg); }
.faq__list details p { padding: 0 48px 26px 0; max-width: 42rem; }

/* ---------- Closing ---------- */
.closing {
    position: relative; overflow: hidden; isolation: isolate;
    padding-block: var(--section);
    color: var(--linen);
}
.closing__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.closing::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(35, 43, 33, .92) 0%, rgba(52, 64, 51, .82) 45%, rgba(52, 64, 51, .6) 100%);
}
.closing__grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; align-items: center; }
.closing .display { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); max-width: 12ch; }
.closing__copy > p { margin-top: 24px; max-width: 30rem; font-size: 18px; color: rgba(246, 240, 230, .82); }
.closing__ways { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; }
.closing__ways a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(226, 165, 126, .7); padding-bottom: 3px; }
.closing__ways svg { width: 20px; height: 20px; color: var(--peach); }

.lead-form--panel {
    background: var(--linen-2); color: var(--text);
    border-radius: var(--radius-lg); padding: 36px;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246, 240, 230, .62); padding: 64px 0 48px; font-size: 13px; line-height: 1.6; }
.site-footer__top {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px;
    padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid rgba(246, 240, 230, .12);
}
.site-footer__top img { width: 132px; }
.site-footer__rera { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.site-footer__rera dt { color: var(--peach); font-size: 12.5px; margin-bottom: 4px; }
.site-footer__rera dd { color: var(--linen); font-size: 14px; }
.site-footer__legal { display: grid; gap: 14px; max-width: 78rem; }
.site-footer__legal a { color: var(--peach); }
.consent--footer { margin: 0; color: inherit; font-size: 13px; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }

/* ---------- Dialogs ---------- */
dialog { padding: 0; border: 0; color: inherit; }
dialog::backdrop { background: rgba(35, 43, 33, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.enquiry {
    width: min(820px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
    border-radius: var(--radius-lg); background: var(--linen-2);
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .5);
    overflow: auto;
}
.enquiry[open] { display: grid; grid-template-columns: 300px minmax(0, 1fr); animation: lift .5s var(--ease) both; }
.enquiry__media img { width: 100%; height: 100%; object-fit: cover; }
.enquiry__form { position: relative; padding: 40px 36px 32px; }
.enquiry__close, .lightbox__btn {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--sand-line); background: var(--linen-2); cursor: pointer;
}
.enquiry__close { position: absolute; top: 16px; right: 16px; }
.enquiry__close svg, .lightbox__btn svg { width: 20px; height: 20px; }
.enquiry .lead-form__title { padding-right: 40px; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(23, 28, 22, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { max-width: min(1400px, 92vw); }
.lightbox img { max-height: 82dvh; width: auto; margin-inline: auto; border-radius: 10px; background: #fff; }
.lightbox figcaption { margin-top: 14px; text-align: center; color: rgba(246, 240, 230, .8); font-size: 14px; }
.lightbox__btn { position: fixed; background: rgba(246, 240, 230, .1); border-color: rgba(246, 240, 230, .25); color: #fff; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; }
.lightbox__next { right: 20px; top: 50%; }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
    .nav ul { gap: 20px; }
    .amenity-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
    .amenity img { max-width: 200px; margin-inline: auto; }
}

@media (max-width: 1100px) {
    .menu-toggle { display: grid; place-items: center; }
    .nav {
        position: fixed; inset: 88px 0 auto; z-index: 40;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 12px var(--gutter) 28px;
        background: var(--linen); box-shadow: 0 30px 40px -30px rgba(35, 43, 33, .4);
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }
    .nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .nav ul { flex-direction: column; gap: 0; }
    .nav ul a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 24px; border-bottom: 1px solid var(--sand); }
    .nav ul a::after { display: none; }
    .nav__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--clay); text-decoration: none; font-weight: 500; }
    .site-header:has(.nav.is-open) { background: var(--linen); }
    .header-cta { margin-left: auto; }

    .hero { min-height: 0; padding: 0 0 72px; display: block; }
    .hero__media { position: relative; width: 100%; height: clamp(320px, 62vw, 560px); }
    .hero__media::before {
        background:
            linear-gradient(180deg, rgba(246, 240, 230, .85) 0%, rgba(246, 240, 230, 0) 28%),
            linear-gradient(0deg, var(--linen) 0%, var(--linen) 8%, rgba(246, 240, 230, .7) 26%, rgba(246, 240, 230, 0) 55%);
    }
    .hero__grid { grid-template-columns: minmax(0, 1fr); margin-top: clamp(-150px, -14vw, -60px); gap: 56px; }
    .hero__form { max-width: 560px; }

    .floors__body { grid-template-columns: minmax(0, 1fr); }
    .floors__aside { position: static; }
    .siteplan__grid, .location__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .faq__intro { position: static; }
    .closing__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .lead-form--panel { max-width: 560px; }
}

@media (max-width: 900px) {
    .section-head { grid-template-columns: minmax(0, 1fr); }
    .overview__intro { grid-template-columns: minmax(0, 1fr); }
    .overview__notes { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; gap: 40px; margin-inline: auto; }
    .plan--featured { order: -1; margin-block: 0; }
    .location__map { border-radius: var(--radius-lg); background: var(--sand); }
.location__map iframe { height: 380px; }
    .enquiry[open] { grid-template-columns: minmax(0, 1fr); }
    .enquiry__media { display: none; }
}

@media (max-width: 700px) {
    body { font-size: 16px; }
    .site-footer { padding-bottom: calc(48px + 68px + env(safe-area-inset-bottom)); }
    html { scroll-padding-top: 76px; }
    .site-header__inner { height: 76px; gap: 12px; }
    .nav { inset: 76px 0 auto; }
    .brand img { width: 96px; }
    .header-cta { display: none; }
    .menu-toggle { margin-left: auto; }

    .hero__title { font-size: clamp(3.9rem, 19vw, 6rem); margin-bottom: 28px; }
    .hero__lede { font-size: 17px; }
    .hero__facts { margin: 28px 0 30px; }
    .hero__facts > div { padding-right: 16px; margin-right: 16px; }
    .hero__facts dd { font-size: 23px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__form .lead-form { padding: 26px 22px 22px; }

    .amenity-row {
        display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
        margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
        scrollbar-width: none;
    }
    .amenity-row::-webkit-scrollbar { display: none; }
    .amenity { flex: 0 0 58%; scroll-snap-align: start; }
    .amenity img { max-width: none; }

    .floors__tabs { flex-wrap: nowrap; overflow-x: auto; width: auto; scrollbar-width: none; }
    .floors__tabs button { flex: none; padding: 0 16px; }
    .floors__aside { padding: 26px 22px; }

    .siteplan__legend { padding: 0; border-block: 1px solid var(--sand-line); }
    .siteplan__legend summary { align-items: center; margin: 0; padding: 18px 0; cursor: pointer; }
    .siteplan__legend summary .siteplan__sub { margin: 0; }
    .siteplan__count { display: inline; font-size: 14px; color: var(--muted); }
    .siteplan__legend summary svg { display: block; width: 20px; height: 20px; margin-left: auto; color: var(--clay); transition: transform .35s var(--ease); }
    .siteplan__legend[open] summary svg { transform: rotate(45deg); }
    .siteplan__legend ol { columns: 1; padding-bottom: 12px; }
    .siteplan__legend li:last-child { border-bottom: 0; }
    .route li { flex-direction: column; gap: 2px; }
    .route span { text-align: left; font-size: 15px; }

    .mosaic { grid-template-columns: 1fr 1fr; gap: 10px; }
    .mosaic__item { border-radius: 14px; }
    .mosaic__item img { aspect-ratio: 1; }
    .mosaic__item--wide img { aspect-ratio: 16 / 10; }
    .mosaic__item--desk { display: none; }

    .faq__list summary h3 { font-size: 19px; }
    .faq__list details p { padding-right: 0; }

    .lead-form--panel { padding: 28px 22px; }
    .lead-form__pair { grid-template-columns: minmax(0, 1fr); }
    .enquiry__form { padding: 32px 22px 24px; }

    .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; }
    .lightbox__prev { left: calc(50% - 56px); }
    .lightbox__next { right: calc(50% - 56px); }

    .action-bar {
        position: fixed; inset: auto 0 0; z-index: 45;
        display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: var(--linen);
        box-shadow: 0 -1px 0 rgba(52, 64, 51, .12);
    }
    .action-bar a, .action-bar button {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        min-height: 48px; border-radius: 999px; font-size: 15px; font-weight: 500;
        text-decoration: none; color: var(--ink); background: var(--sand); border: 0; cursor: pointer;
    }
    .action-bar svg { width: 18px; height: 18px; color: var(--sage-deep); }
    .action-bar .action-bar__primary { background: var(--clay); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
