/* CovaiCare — new menu + Amenities, Senior Friendly Features and Life@Covai pages */

/* ---------- Header: 8 menu items ---------- */
@media (min-width: 1025px) {
    .nav-wide .nav-list { gap: clamp(.45rem, .95vw, 1.3rem); }
    .nav-wide .nav-link { font-size: clamp(.74rem, .97vw, 1rem); white-space: nowrap; }
    .nav-wide .logo-img { height: clamp(44px, 3.9vw, 64px); }
    .nav-wide .header-cta { padding: .62em 1.1em; font-size: clamp(.82rem, .9vw, .95rem); white-space: nowrap; }
    .nav-wide .header-inner { gap: clamp(.6rem, 1.4vw, 1.6rem); }
}
@media (min-width: 1025px) and (max-width: 1200px) { .nav-wide .header-cta .arw { display: none; } }

/* ---------- Amenity image cards ---------- */
.amx-sec { background: var(--ivory); }
.amx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.amx-grid.is-four { grid-template-columns: repeat(4, 1fr); }
.amx { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 12px 30px rgba(48, 53, 47, .08); transition: transform .45s var(--ease), box-shadow .45s ease; }
.amx:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(48, 53, 47, .14); }
.amx figure { margin: 0; overflow: hidden; }
.amx img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.amx:hover img { transform: scale(1.06); }
.amx-body { padding: 1.1rem 1.2rem 1.3rem; border-top: 4px solid var(--yellow); }
.amx-body h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: var(--ink); margin-bottom: .4rem; }
.amx-body p, .amx-body li { font-size: 1rem; font-weight: 500; line-height: 1.55; color: var(--ink); }
.amx-body ul { padding-left: 1.1rem; }
.amx-body li { list-style: disc; }
.amx-body li::marker { color: var(--sage); }
.amx-all { text-align: center; margin-top: 1.8rem; }
.amx-more { background: var(--sage-cream); }
.amx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.amx-chips li { padding: .7rem 1.2rem; background: #fff; border: 1px solid rgba(82, 108, 87, .2); border-radius: 999px; font-weight: 700; color: var(--ink); }
@media (max-width: 1024px) { .amx-grid, .amx-grid.is-four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .amx-grid, .amx-grid.is-four { grid-template-columns: 1fr; } }

/* ---------- Senior friendly features page ---------- */
.pg-hero { min-height: clamp(340px, 52svh, 520px); }
.sf-intro { background: var(--ivory); }
.sf-sec { background: var(--sage-cream); }
.sf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.sf { background: #fff; border-radius: var(--radius-md); padding: 1.3rem 1.2rem; box-shadow: 0 8px 22px rgba(48, 53, 47, .06); transition: transform .4s var(--ease), box-shadow .4s ease; }
.sf:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(48, 53, 47, .13); }
.sf-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 1.25rem; margin-bottom: .8rem; transition: background-color .3s ease, color .3s ease; }
.sf:hover .sf-icon { background: var(--yellow); color: var(--ink); }
.sf h3 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--ink); margin-bottom: .25rem; line-height: 1.25; }
.sf p { font-size: .98rem; font-weight: 500; line-height: 1.5; color: var(--ink); }
@media (max-width: 1024px) { .sf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sf-grid { grid-template-columns: 1fr; } }

/* ---------- Life@Covai gallery ---------- */
.lc-sec { background: var(--ivory); }
.lc-filter { justify-content: center; }
.lc-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: .8rem; }
.lc-item[hidden] { display: none; }
.lc-item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.lc-grid.is-filtered .lc-item { grid-column: auto; grid-row: auto; }
.lc-item.is-in { animation: panelIn .5s cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 1024px) { .lc-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 599px) { .lc-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }
@media (min-width: 1025px) and (max-width: 1300px) { .nav-wide .header-cta .arw { display: none; } .nav-wide .header-cta { padding: .6em .95em; } }


/* ---------- Common green strip (every page) ---------- */
.proj-stats-band { background: var(--sage); padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.proj-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.proj-stats li + li { border-left: 1px solid rgba(255, 255, 255, .25); }
.proj-stats strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.1rem); color: var(--yellow); line-height: 1.1; }
.proj-stats span:not([data-count]) { font-weight: 600; color: #fff; font-size: clamp(.92rem, .3vw + .85rem, 1.05rem); }
.proj-stats-lead { text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: #fff; margin-bottom: clamp(1.1rem, 2.2vw, 1.6rem); }
.proj-stats-lead::after { content: ""; display: block; width: 70px; height: 4px; border-radius: 4px; background: var(--yellow); margin: .7rem auto 0; }
@media (max-width: 767px) {
    .proj-stats { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
    .proj-stats li:nth-child(3) { border-left: 0; }
}

/* ======================= v67: project detail updates ======================= */
/* Header without the Contact button: menu gets the freed space */
@media (min-width: 1242px) {
    .nav-wide .nav-list { gap: clamp(.7rem, 1.5vw, 2rem); }
    .nav-wide .nav-link { font-size: clamp(.86rem, 1.06vw, 1.06rem); }
}

/* ---------- Tags, overview image, plans ---------- */
.d-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.d-tags .d-badge { margin-bottom: 0; }
.d-badge.is-type { background: #fff; }
.d-badge.is-type i { color: var(--sage); }
.ov-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 22px 50px rgba(48, 53, 47, .16); }
.ov-media img { display: block; width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.villa-h { font-family: var(--font-heading); font-size: clamp(1.3rem, 1.9vw, 1.6rem); color: var(--ink); margin: 0 0 .9rem; }
.villa-panel .villa-grid + .villa-h { margin-top: clamp(1.8rem, 3.5vw, 2.6rem); }
.g-grid.g-tour { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
@media (max-width: 1024px) { .g-grid.g-tour { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } }

/* ---------- Amenities: icon grid with tabs ---------- */
.ig { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 14px 36px rgba(48, 53, 47, .08); overflow: hidden; }
.ig-tabs { display: flex; border-bottom: 1px solid rgba(82, 108, 87, .22); }
.ig-tab {
    flex: 1; padding: 1.1rem 1rem; background: var(--sage-cream); border: 0; cursor: pointer;
    font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--ink);
    border-bottom: 4px solid transparent; transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.ig-tab + .ig-tab { border-left: 1px solid rgba(82, 108, 87, .22); }
.ig-tab:hover { background: #fff; }
.ig-tab.is-active { background: #fff; color: var(--sage); border-bottom-color: var(--yellow); }
.ig-tab:focus-visible { outline: 3px solid var(--sage); outline-offset: -3px; }
.ig-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; overflow: hidden; }
.ig-grid[hidden] { display: none; }
.ig-grid li {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .75rem;
    padding: clamp(1.3rem, 2.2vw, 2rem) .8rem; text-align: center;
    border-right: 1px solid rgba(82, 108, 87, .16); border-bottom: 1px solid rgba(82, 108, 87, .16);
    margin: 0 -1px -1px 0; transition: background-color .3s ease;
}
.ig-grid li:hover { background: var(--ivory); }
.ig-grid .ic {
    width: clamp(44px, 4vw, 56px); height: clamp(44px, 4vw, 56px); flex: none;
    fill: none; stroke: var(--sage); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
    transition: stroke .3s ease, transform .4s var(--ease);
}
.ig-grid li:hover .ic { stroke: #b98d1c; transform: translateY(-3px); }
.ig-grid span { font-size: 1.02rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ig-grid.is-in { animation: panelIn .5s cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 1024px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } .ig-grid span { font-size: .95rem; } }
@media (max-width: 479px) { .ig-grid { grid-template-columns: 1fr 1fr; } .ig-tab { padding: .95rem .5rem; } }

/* ---------- Possession status: small chip + popup ---------- */
.poss-line { margin: 1rem 0 0; }
.poss-chip {
    display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem; cursor: pointer;
    background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .65); border-radius: 8px;
    font: inherit; font-weight: 700; font-size: 1rem; backdrop-filter: blur(4px);
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.poss-chip::after { content: "i"; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .82em; font-weight: 800; font-family: Georgia, serif; font-style: italic; }
.poss-chip i { display: none; }
.poss-chip:hover, .poss-chip:focus-visible { background: #fff; color: var(--ink); border-color: #fff; outline: none; }
.poss-pop { border: 0; padding: 0; background: transparent; max-width: min(640px, calc(100vw - 2rem)); width: 100%; }
.poss-pop::backdrop { background: rgba(48, 53, 47, .6); }
.poss-pop[open] { animation: panelIn .35s cubic-bezier(.22, 1, .36, 1); }
.poss-pop-box { position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); border-top: 5px solid var(--yellow); }
.poss-pop-box h2 { font-family: var(--font-heading); font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ink); margin: 0 2.5rem 1rem 0; }
.poss-pop-box > button[data-poss-close] { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sage-cream); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.poss-pop-box > button[data-poss-close]:hover { background: var(--yellow); }
.poss-table { width: 100%; border-collapse: collapse; }
.poss-table th, .poss-table td { padding: .8rem .7rem; text-align: left; font-size: 1.02rem; color: var(--ink); border-bottom: 1px solid rgba(82, 108, 87, .2); }
.poss-table th { font-weight: 700; color: var(--sage); font-size: .95rem; }
.poss-table td { font-weight: 600; }
.poss-table tr:last-child td { border-bottom: 0; }
.poss-note { margin: 1rem 0 0; font-size: .95rem; font-weight: 500; color: var(--ink); }
@media (max-width: 479px) { .poss-table th, .poss-table td { padding: .65rem .35rem; font-size: .95rem; } }

/* ---------- Testimonial slider (yellow section) ---------- */
.ts { background: var(--yellow); text-align: center; overflow: hidden; padding-block: clamp(3rem, 6vw, 5rem); }
.ts .belief-inner { max-width: 1000px; }
.ts .belief-mark { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--sage); margin-bottom: 1rem; }
.ts-track { display: grid; margin: 0; padding: 0; list-style: none; }
.ts-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .6s; }
.ts-slide[hidden] { display: block; }
.ts-slide.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ts-text { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.4rem, 2.5vw, 2.2rem); line-height: 1.35; color: var(--ink); margin: 0; }
.ts-who { margin: 1.2rem 0 0; display: flex; flex-direction: column; gap: .15rem; }
.ts-who strong { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.ts-who span { font-size: 1rem; font-weight: 600; color: var(--sage); }
.ts-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.6rem; }
.ts-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-size: 1rem; cursor: pointer; display: grid; place-items: center; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.ts-btn:hover, .ts-btn:focus-visible { background: var(--sage); border-color: var(--sage); color: #fff; outline: none; }
.ts-dots { display: flex; gap: .5rem; }
.ts-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: rgba(48, 53, 47, .28); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.ts-dot.is-on { width: 30px; border-radius: 999px; background: var(--sage); }
@media (prefers-reduced-motion: reduce) { .ts-slide { transition: none; transform: none; } }
.poss-table th:first-child, .poss-table td:first-child { white-space: nowrap; }

/* ---------- v68: 2 BHK tab (one landscape plan + details table) ---------- */
.plans.is-one { grid-template-columns: 1fr; }
.plans.is-one .plan img { aspect-ratio: auto; height: auto; }
.area-table.is-detail td { white-space: normal; font-size: 1rem; line-height: 1.35; }
.area-table.is-detail tbody th { white-space: nowrap; }

/* ---------- v69: real (longer) testimonials ---------- */
.ts .belief-inner { max-width: 1040px; }
.ts-text { font-family: inherit; font-weight: 600; font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.6; }
.ts-slide { align-self: center; }
.ts-who strong { font-family: var(--font-heading); font-size: 1.3rem; }

/* ---------- v71: possession status as a 4th key tile in the hero ---------- */
.d-keys li.is-poss { padding: 0; border-color: var(--yellow); transition: background-color .3s ease, border-color .3s ease; }
.d-keys li.is-poss:hover, .d-keys li.is-poss:focus-within { background: rgba(226, 182, 74, .28); }
.poss-tile { display: block; width: 100%; height: 100%; padding: .8rem 1.15rem; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: inherit; }
.poss-tile:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.poss-tile strong { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.poss-tile em { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; flex: none; border-radius: 50%; background: var(--yellow); color: var(--ink); font: italic 800 .72em Georgia, serif; }
@media (max-width: 767px) {
    .d-keys.has-poss { flex-wrap: wrap; }
    .d-keys.has-poss li { flex: 1 1 calc(50% - .3rem); }
    .poss-tile { padding: .55rem .6rem; }
}

/* ======================= v72: Amenities page (Koham-style rows) ======================= */
.am-intro { background: var(--ivory); padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.am-intro-text { max-width: 860px; margin: 1rem auto 0; text-align: center; font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-weight: 500; line-height: 1.7; color: var(--ink); }
.am-row { background: var(--ivory); padding-block: clamp(2rem, 4vw, 3.5rem); }
.am-row:nth-of-type(odd) { background: var(--sage-cream); }
.am-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.am-row.is-rev .am-copy { order: 2; }
.am-copy .section-title { text-align: left; margin-bottom: .8rem; }
.am-copy .section-title span { display: block; }
.am-copy > p { font-size: 1.08rem; font-weight: 500; line-height: 1.7; color: var(--ink); max-width: 540px; margin-bottom: 1.4rem; }
.am-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 40px rgba(48, 53, 47, .14); }
.am-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.am-photo:hover img { transform: scale(1.05); }

.amp-panel { position: relative; background: var(--sage); border-radius: var(--radius-lg); box-shadow: 0 24px 50px rgba(48, 53, 47, .2); padding: clamp(1rem, 2vw, 1.6rem) clamp(1rem, 2vw, 1.6rem) 0; }
.am-scroll { height: clamp(380px, 60svh, 540px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .45) transparent; padding-bottom: 3.6rem; }
.am-scroll:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 8px; }
.am-scroll::-webkit-scrollbar { width: 6px; }
.am-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .45); border-radius: 6px; }
.amp-panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: linear-gradient(to bottom, rgba(82, 108, 87, 0), var(--sage) 75%); pointer-events: none; transition: opacity .3s ease; }
.amp-panel.is-end::after { opacity: 0; }
.amp-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.amp-list li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; min-height: 132px; padding: 1.1rem .9rem; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.amp-list li:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .22); }
.amp-list li:nth-last-child(-n + 2):nth-child(odd), .amp-list li:last-child { border-bottom: 0; }
.amp-list .ic { width: 44px; height: 44px; fill: none; stroke: var(--yellow); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.amp-list li:hover .ic { transform: translateY(-3px) scale(1.06); }
.amp-list span { font-size: 1.02rem; font-weight: 600; line-height: 1.35; color: #fff; }
.am-more { position: absolute; left: 50%; bottom: .9rem; z-index: 2; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--sage); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); transition: transform .3s ease, background-color .3s ease, opacity .3s ease; animation: amBob 2s ease-in-out infinite; }
.am-more svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.am-more:hover, .am-more:focus-visible { background: var(--yellow); color: var(--ink); outline: none; }
.amp-panel.is-end .am-more svg { transform: rotate(180deg); }
.amp-panel.is-end .am-more { animation: none; }
.amp-panel.no-scroll .am-more, .amp-panel.no-scroll::after { display: none; }
.amp-panel.no-scroll .am-scroll { height: auto; padding-bottom: 1rem; }
@keyframes amBob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 4px); } }
@media (prefers-reduced-motion: reduce) { .am-more { animation: none; } }

@media (max-width: 1024px) {
    .am-grid { grid-template-columns: 1fr; }
    .am-row.is-rev .am-copy { order: 0; }
    .am-copy > p { max-width: none; }
    .am-scroll { height: 440px; }
}
@media (max-width: 479px) {
    .amp-list li { min-height: 118px; padding: .9rem .5rem; }
    .amp-list span { font-size: .95rem; }
    .amp-list .ic { width: 38px; height: 38px; }
    .am-scroll { height: 400px; }
}
@media (min-width: 1025px) {
    .am-grid { align-items: stretch; }
    .amp-panel { display: flex; flex-direction: column; }
    .am-scroll { flex: 1 1 0; height: auto; min-height: 380px; }
}

/* v73: icon panel scrolls but the scrollbar stays hidden */
.am-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.am-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ---------- v74: Family Assurance cards with images ---------- */
.fa-card.reveal, .fa-card { padding: 0; overflow: hidden; }
.fa-img { margin: 0; overflow: hidden; }
.fa-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.fa-card:hover .fa-img img { transform: scale(1.06); }
.fa-body { position: relative; padding: 0 1.4rem 1.6rem; }
.fa-body .fa-icon { margin-top: -32px; position: relative; z-index: 1; border: 4px solid #fff; box-sizing: content-box; }

/* ---------- v74: Resale & Rental card details ---------- */
.rl-type { display: inline-flex; align-self: center; align-items: center; gap: .45rem; margin: -.4rem 0 .9rem; padding: .35rem .85rem; border-radius: 999px; background: var(--sage-cream); font-weight: 700; font-size: .98rem; color: var(--sage); }
.rl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .6rem; margin: 0 0 1.2rem; padding: .9rem 0 0; list-style: none; border-top: 1px solid rgba(82, 108, 87, .18); text-align: left; }
.rl-facts li { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--ink); }
.rl-facts i { flex: none; color: var(--sage); width: 1.1em; text-align: center; }

/* ---------- v75: Resale & Rental — roomier 2-up cards ---------- */
.rl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.2rem); max-width: 1180px; margin-inline: auto; }
.rl-media img { aspect-ratio: 16 / 8.5; }
.rl-body { text-align: left; padding: clamp(1.3rem, 2.2vw, 1.8rem); }
.rl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.rl-head .rl-name { margin-bottom: .3rem; }
.rl-head .rl-loc { justify-content: flex-start; margin-bottom: 0; }
.rl-type { margin: .15rem 0 0; flex: none; white-space: nowrap; }
.rl-facts { grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 0 0 1.4rem; padding: 1.1rem 0; border-top: 1px solid rgba(82, 108, 87, .16); border-bottom: 1px solid rgba(82, 108, 87, .16); text-align: center; }
.rl-facts li { flex-direction: column; justify-content: flex-start; gap: .5rem; font-size: .95rem; }
.rl-fi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-cream); color: var(--sage); font-size: 1.05rem; }
.rl-facts .rl-fi i { width: auto; }
.rl-facts li + li { border-left: 1px solid rgba(82, 108, 87, .12); }
.rl-actions { grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 860px) {
    .rl-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 479px) {
    .rl-head { flex-direction: column; gap: .7rem; }
    .rl-facts { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
    .rl-facts li:nth-child(3) { border-left: 0; }
    .rl-actions { grid-template-columns: 1fr; }
}
.rl-head .rl-type { align-self: flex-start; }

/* ---------- v77: Family Assurance content from client sheet ---------- */
.fa-lede { max-width: 860px; margin: 1rem auto 0; font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.7; font-weight: 500; color: var(--ink); text-align: center; }
.fa-body { display: flex; flex-direction: column; }
.fa-card { display: flex; flex-direction: column; }
.fa-card .fa-body { flex: 1; }
.fa-benefit { margin-top: auto; padding: .85rem 1rem; border-radius: 12px; background: var(--sage-cream); border-left: 4px solid var(--yellow); font-size: 1rem !important; line-height: 1.55 !important; }
.fa-body > p:not(.fa-benefit) { margin-bottom: 1rem; }
.fa-benefit strong { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); margin-bottom: .2rem; }

/* ======================= v79: Testimonial cards (photo + text, multiple per view) ======================= */
.tsc { background: var(--yellow); overflow: hidden; padding-block: clamp(3rem, 6vw, 5rem); --tc-gap: clamp(1rem, 2vw, 1.6rem); --tc-per: 3; }
.tsc .center-head .eyebrow { color: var(--ink); }
.tsc .center-head .eyebrow::before { background: var(--ink); }
.tc-viewport { overflow: hidden; margin-top: clamp(1.6rem, 3vw, 2.4rem); padding: 6px 4px 14px; margin-inline: -4px; }
.tc-track { display: flex; gap: var(--tc-gap); margin: 0; padding: 0; list-style: none; align-items: flex-start; transition: transform .7s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.tc-card {
    flex: 0 0 calc((100% - (var(--tc-per) - 1) * var(--tc-gap)) / var(--tc-per));
    min-width: 0; position: relative;
    background: #fff; border-radius: var(--radius-lg);
    padding: clamp(1.3rem, 2.2vw, 1.8rem);
    box-shadow: 0 16px 36px rgba(48, 53, 47, .14);
    border-bottom: 5px solid var(--sage);
}
.tc-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.tc-photo { flex: none; width: 76px; height: 76px; margin: 0; border-radius: 50%; overflow: hidden; background: var(--sage); border: 3px solid var(--yellow); display: grid; place-items: center; }
.tc-photo img { width: 100%; height: 100%; object-fit: cover; }
.tc-initials { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: #fff; letter-spacing: .02em; }
.tc-who { margin: 0; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.tc-who strong { font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.tc-who span { font-size: .95rem; font-weight: 600; line-height: 1.35; color: var(--sage); }
.tc-q { position: absolute; top: 1.1rem; right: 1.2rem; width: 38px; height: 38px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.tc-text {
    margin: 0; font-size: 1.05rem; font-weight: 500; line-height: 1.65; color: var(--ink);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
}
.tc-card.is-open .tc-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.tc-more { margin-top: .7rem; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem; color: var(--sage); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); }
.tc-more:hover, .tc-more:focus-visible { color: var(--ink); outline: none; }
.tc-more[hidden] { display: none; }
.tc-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.tc-nav[hidden] { display: none; }
.tc-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease; }
.tc-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tc-btn:hover, .tc-btn:focus-visible { background: var(--sage); border-color: var(--sage); color: #fff; outline: none; }
.tc-btn:disabled { opacity: .35; pointer-events: none; }
.tc-dots { display: flex; gap: .5rem; }
.tc-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: rgba(48, 53, 47, .28); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.tc-dot.is-on { width: 30px; border-radius: 999px; background: var(--sage); }
@media (max-width: 1024px) { .tsc { --tc-per: 2; } }
@media (max-width: 680px) { .tsc { --tc-per: 1; } }
@media (prefers-reduced-motion: reduce) { .tc-track { transition: none; } }
.tc-viewport { padding: 8px 6px 34px; margin-inline: -6px; margin-bottom: -20px; }
.tc-track { align-items: stretch; }
.tc-q { fill: var(--yellow); stroke: none; width: 34px; height: 34px; }
.tc-head { padding-right: 2.4rem; }
.tc-card { box-shadow: 0 10px 24px rgba(48, 53, 47, .10); }

/* ---------- v81: Care & Services feature points — green with white text and yellow icons (like Amenities) ---------- */
.svc-features li { background: var(--sage); border-color: var(--sage); color: #fff; box-shadow: 0 8px 18px rgba(48, 53, 47, .12); }
.svc-features li i { background: rgba(255, 255, 255, .12); color: var(--yellow); }
.svc-features li:hover { background: #46604c; border-color: var(--yellow); box-shadow: 0 12px 26px rgba(48, 53, 47, .2); }
.svc-features li:hover i { background: var(--yellow); color: var(--ink); }
/* v81: short icon lists sit centred in the green box (no scrolling needed) */
.amp-panel.no-scroll { padding-bottom: clamp(1rem, 2vw, 1.6rem); }
.amp-panel.no-scroll .am-scroll { display: flex; flex-direction: column; justify-content: center; padding-bottom: 0; min-height: 0; }
.amp-panel.no-scroll .amp-list { width: 100%; }
.amp-list li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
/* v81: 8 service tiles after removing Parks & Open Spaces */
.svc-tiles { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 1280px) { .svc-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .svc-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); } }

/* ======================= v82: Age-Friendly Features cards (bigger icons, coloured icon panel) ======================= */
.sf-grid { gap: clamp(1rem, 2vw, 1.5rem); }
.sf.sf2 { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius-lg); border-bottom: 5px solid var(--sage); box-shadow: 0 12px 28px rgba(48, 53, 47, .08); }
.sf.sf2.is-gold { border-bottom-color: var(--yellow); }
.sf-icon2 { display: grid; place-items: center; height: clamp(130px, 11vw, 160px); background: var(--sage); transition: background-color .35s ease; position: relative; }
.sf.sf2.is-gold .sf-icon2 { background: #F6E7BF; }
.sf-icon2::after { content: ""; position: absolute; width: 104px; height: 104px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.sf.sf2.is-gold .sf-icon2::after { background: rgba(255, 255, 255, .55); }
.sf-svg { position: relative; z-index: 1; width: 66px; height: 66px; fill: none; stroke: var(--yellow); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.sf.sf2.is-gold .sf-svg { stroke: var(--sage); }
.sf.sf2:hover .sf-svg { transform: scale(1.1) translateY(-2px); }
.sf.sf2 h3 { padding: 1.1rem 1.2rem 0; margin-bottom: .35rem; font-size: clamp(1.15rem, 1.4vw, 1.3rem); }
.sf.sf2 p { padding: 0 1.2rem 1.3rem; font-size: 1rem; }
.sf-grid:has(.sf2) { display: flex; flex-wrap: wrap; justify-content: center; }
.sf-grid:has(.sf2) .sf2 { flex: 0 1 calc((100% - 3 * clamp(1rem, 2vw, 1.5rem)) / 4); }
@media (max-width: 1024px) { .sf-grid:has(.sf2) .sf2 { flex-basis: calc((100% - clamp(1rem, 2vw, 1.5rem)) / 2); } }
@media (max-width: 480px) { .sf-grid:has(.sf2) .sf2 { flex-basis: 100%; } }
@media (max-width: 480px) {
    .sf-grid:has(.sf2) { gap: .75rem; }
    .sf-grid:has(.sf2) .sf2 { flex-basis: calc((100% - .75rem) / 2); }
    .sf-icon2 { height: 104px; }
    .sf-icon2::after { width: 76px; height: 76px; }
    .sf-svg { width: 48px; height: 48px; }
    .sf.sf2 h3 { padding: .85rem .8rem 0; font-size: 1.05rem; }
    .sf.sf2 p { padding: 0 .8rem 1rem; font-size: .95rem; }
}
/* v83: colourful PNG icons on soft tinted panels */
.sf.sf2 .sf-icon2 { background: #DCE5D8; }
.sf.sf2.is-gold .sf-icon2 { background: #F6E7BF; }
.sf.sf2 .sf-icon2::after { background: rgba(255, 255, 255, .6); width: 112px; height: 112px; }
.sf-png { position: relative; z-index: 1; width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(48, 53, 47, .18)); transition: transform .45s var(--ease); }
.sf.sf2:hover .sf-png { transform: scale(1.08) translateY(-3px); }
@media (max-width: 480px) { .sf-png { width: 62px; height: 62px; } .sf.sf2 .sf-icon2::after { width: 84px; height: 84px; } }
/* v84: one colour scheme for every card — green panel, yellow single-colour PNG icon (same as Amenities) */
.sf.sf2 .sf-icon2, .sf.sf2.is-gold .sf-icon2 { background: var(--sage); }
.sf.sf2 .sf-icon2::after { background: rgba(255, 255, 255, .1); }
.sf.sf2 { border-bottom-color: var(--yellow); }
.sf-png { width: 72px; height: 72px; filter: none; }
@media (max-width: 480px) { .sf-png { width: 54px; height: 54px; } }
.sf-png { width: 78px; height: 78px; } @media (max-width: 480px) { .sf-png { width: 58px; height: 58px; } }

/* ======================= v87: Our Communities card (slide 11) ======================= */
/* 1. Squarer image */
@media (min-width: 1025px) and (min-height: 460px) {
    .pl-card .proj-feature { grid-template-columns: .9fr 1.1fr; }
    .pl-card .proj-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-card .proj-info :is(button, a) { white-space: normal; }
}
/* 2. Floor plan / site plan / features buttons on a highlighted panel */
.proj-info { background: var(--sage-cream); border: 1px solid rgba(82, 108, 87, .18); border-radius: 16px; padding: .7rem; }
.proj-info :is(button, a) { background: var(--sage); border-color: var(--sage); color: #fff; }
.proj-info :is(button, a) i { color: var(--yellow); }
.proj-info :is(button, a):hover, .proj-info :is(button, a):focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.proj-info :is(button, a):hover i, .proj-info :is(button, a):focus-visible i { color: var(--ink); }

/* 3. Villa Tour popup: Photos + Videos */
.vt-tabs { display: inline-flex; gap: .4rem; padding: .35rem; margin-bottom: 1rem; background: var(--sage-cream); border-radius: 999px; }
.vt-tab { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.vt-tab i { color: var(--sage); }
.vt-tab.is-on { background: var(--sage); color: #fff; }
.vt-tab.is-on i { color: var(--yellow); }
.vt-panel[hidden] { display: none; }
.vt-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.vt-videos p { margin: .5rem 0 0; font-weight: 700; color: var(--ink); }
.vt-video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; background: #000; }
.vt-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s ease, transform .6s ease; }
.vt-video:hover img { opacity: .7; transform: scale(1.03); }
.vt-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.vt-play svg { width: 34px; height: 34px; fill: var(--ink); margin-left: 4px; }
.vt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-md); background: #000; }
@media (min-width: 1025px) and (min-height: 460px) and (max-height: 700px) {
    .pl-card .proj-feature { grid-template-columns: .8fr 1.2fr; }
    .pl-card .proj-info { grid-template-columns: repeat(4, auto); justify-content: start; padding: .45rem; }
    .pl-card .proj-info :is(button, a) { white-space: nowrap; padding: .4rem .7rem; }
}
@media (min-width: 1025px) and (min-height: 460px) and (max-height: 700px) {
    .pl-card .proj-info { gap: .35rem; }
    .pl-card .proj-info :is(button, a) { font-size: .88rem; padding: .4rem .6rem; gap: .4rem; }
}
@media (max-width: 1024px) { .pl-card .proj-feature-media { aspect-ratio: 1 / 1; max-height: 520px; } }
.page-fa .page-hero-bg img { object-position: 70% center; }

/* ======================= v89: Life@Covai — Photos / Videos + 2 sections ======================= */
.lc-type { display: flex; justify-content: center; gap: .4rem; width: max-content; max-width: 100%; margin: 0 auto 1.1rem; padding: .35rem; background: var(--sage-cream); border-radius: 999px; }
.lc-type-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.6rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.lc-type-btn i { color: var(--sage); }
.lc-type-btn.is-on { background: var(--sage); color: #fff; }
.lc-type-btn.is-on i { color: var(--yellow); }
.lc-grid.is-videos { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
.lc-grid.is-videos .lc-item { grid-column: auto; grid-row: auto; }
.lc-item.is-video .g-item { aspect-ratio: 16 / 9; position: relative; display: block; width: 100%; }
.lc-item.is-video img { width: 100%; height: 100%; object-fit: cover; }
.lc-item.is-video .vt-play { width: 64px; height: 64px; z-index: 2; }
.lc-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 2.5rem 1rem; border: 2px dashed rgba(82, 108, 87, .3); border-radius: var(--radius-lg); text-align: center; color: var(--ink); font-weight: 600; }
.lc-empty i { font-size: 1.8rem; color: var(--sage); }
.lc-empty[hidden] { display: none; }
.lc-vmodal { width: min(960px, calc(100vw - 2rem)); padding: 0; border: 0; background: transparent; overflow: visible; }
.lc-vmodal::backdrop { background: rgba(20, 24, 20, .85); }
.lc-vframe iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-md); background: #000; }
.lc-vclose { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; }
.lc-vclose svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.lc-vclose:hover { background: var(--yellow); }
@media (max-width: 1024px) { .lc-grid.is-videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .lc-grid.is-videos { grid-template-columns: 1fr; } .lc-type-btn { padding: .65rem 1.2rem; font-size: 1rem; } }

/* ======================= v92: About Us "Who We Are" — coloured section (different from homepage) ======================= */
.page-about .ab-who {
    background: var(--sage);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-about .ab-who::before {
    content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 182, 74, .18), rgba(226, 182, 74, 0) 70%);
    pointer-events: none;
}
.page-about .ab-who .eyebrow { color: var(--yellow); }
.page-about .ab-who .eyebrow::before { background: var(--yellow); }
.page-about .ab-who .section-title .ink-dark { color: #fff; }
.page-about .ab-who .section-title .title-mark { color: var(--yellow); }
.page-about .ab-who .ab-text { color: rgba(255, 255, 255, .92); }
.page-about .ab-who .read-more { border-color: var(--yellow); color: var(--yellow); }
.page-about .ab-who .read-more:hover, .page-about .ab-who .read-more:focus-visible { background: var(--yellow); color: var(--ink); }

/* stats: one framed block split into four, instead of four white cards */
.page-about .ab-who .who-stats {
    gap: 0;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.page-about .ab-who .who-stat {
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.2rem, 2.2vw, 1.8rem);
    position: relative;
    transition: background-color .35s ease;
}
.page-about .ab-who .who-stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .22); }
.page-about .ab-who .who-stat:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.page-about .ab-who .who-stat:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .08); }
.page-about .ab-who .who-stat::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--yellow); margin-bottom: 1rem; }
.page-about .ab-who .who-num { color: var(--yellow); font-size: clamp(2.4rem, 3.8vw, 3.4rem); }
.page-about .ab-who .who-label { color: #fff; }
.page-about .ab-who .photo-strip .pic { box-shadow: 0 16px 36px rgba(0, 0, 0, .25); border: 4px solid rgba(255, 255, 255, .9); }
/* v94: "Our Story" moves to a warm light background so it separates from the green "Who We Are" above */
.page-about .ab-spark { background: #F6EEDA; color: var(--ink); }
.page-about .ab-spark .ab-text { color: var(--ink); }
.page-about .ab-spark .eyebrow { color: var(--sage); }
.page-about .ab-spark .eyebrow.reveal::before, .page-about .ab-spark .eyebrow::before { background: var(--yellow); }
.page-about .ab-spark .section-title .ink-white { color: var(--ink); }
.page-about .ab-spark .section-title .ink-yellow { color: var(--sage); }
.page-about .ab-spark .read-more-light { border-color: var(--sage); color: var(--sage); }
.page-about .ab-spark .read-more-light:hover, .page-about .ab-spark .read-more-light:focus-visible { background: var(--sage); color: #fff; }
.page-about .ab-spark .milestones { border-top-color: rgba(82, 108, 87, .25); }
.page-about .ab-spark .milestones li { border-color: rgba(82, 108, 87, .25); }
.page-about .ab-spark .milestones strong { color: var(--sage); }
.page-about .ab-spark .milestones span { color: var(--ink); }
.page-about .ab-spark .spark-media img { box-shadow: 0 24px 50px rgba(48, 53, 47, .18); }

/* ======================= v95: Amenities rows — photo + green content card (no empty green space) ======================= */
.am-row .am-grid { grid-template-columns: 1fr 1.05fr; align-items: stretch; gap: clamp(1.25rem, 3vw, 2.5rem); }
.am-row.is-rev .am-photo { order: 2; }
.am-row .am-photo { height: 100%; min-height: 380px; border-radius: var(--radius-lg); }
.am-row .am-photo img { height: 100%; aspect-ratio: auto; }
.amp-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 3vw, 2.6rem) !important; height: auto; position: relative; overflow: hidden; }
.amp-card::after { display: none; }
.amp-card::before { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: rgba(226, 182, 74, .12); pointer-events: none; }
.amp-card .section-title { text-align: left; margin: 0 0 .7rem; position: relative; }
.amp-card .section-title span { display: inline; }
.amp-card .section-title .ink-dark { color: #fff; }
.amp-card .section-title .title-mark { color: var(--yellow); margin-left: .3em; }
.amp-card .amp-intro { color: rgba(255, 255, 255, .9); font-size: 1.05rem; font-weight: 500; line-height: 1.65; margin: 0 0 1.3rem; position: relative; }
.amp-list.amp-rows { grid-template-columns: 1fr 1fr; gap: .65rem; position: relative; }
.amp-list.amp-rows li {
    flex-direction: row; justify-content: flex-start; align-items: center; gap: .8rem;
    min-height: 0; padding: .8rem .9rem; text-align: left;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16) !important; border-radius: 14px;
    transition: background-color .3s ease, border-color .3s ease;
}
.amp-list.amp-rows li:hover { background: rgba(255, 255, 255, .14); border-color: var(--yellow) !important; }
.amp-list.amp-rows li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.amp-list.amp-rows .ic { flex: none; width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: rgba(226, 182, 74, .16); stroke-width: 1.6; }
.amp-list.amp-rows span { font-size: 1rem; line-height: 1.35; }
.amp-list.amp-rows[data-items="3"] { grid-template-columns: 1fr; }
@media (max-width: 1024px) {
    .am-row .am-grid { grid-template-columns: 1fr; }
    .am-row.is-rev .am-photo { order: 0; }
    .am-row .am-photo { min-height: 0; height: auto; }
    .am-row .am-photo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 479px) { .amp-list.amp-rows { grid-template-columns: 1fr; } }

/* ===== Nov 24 client updates: floor plan facing tabs, uncropped images, villa tour videos ===== */
.proj-info a { text-decoration: none; }
/* villa photos are shown whole (no cropping) */
.villa-render img { aspect-ratio: auto; height: auto; object-fit: contain; }
/* North / South facing tabs inside 2 BHK and 3 BHK */
.facing-tabs, #panel-tour .vt-tabs { display: flex; width: fit-content; max-width: 100%; margin: 0 auto clamp(1.2rem, 2.5vw, 1.8rem); }
.vt-tab.is-active { background: var(--sage); color: #fff; }
.vt-tab.is-active i { color: var(--yellow); }
.facing-panel[hidden] { display: none; }
.facing-panel.is-in { animation: fadeUpSoft .45s ease both; }
@keyframes fadeUpSoft { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* merged ground + first floor plan: landscape image, shown whole */
.plans.is-one .plan img { aspect-ratio: auto; height: auto; object-fit: contain; }
/* villa tour photos: whole image, no crop */
.g-grid.g-tour { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; align-items: start; }
.g-grid.g-tour .g-item { height: auto; }
.g-grid.g-tour .g-item img { height: auto; object-fit: contain; }
.info-tour img { aspect-ratio: auto; height: auto; object-fit: contain; }
#panel-tour .vt-videos { grid-template-columns: 1fr; }
@media (max-width: 700px) {
    .g-grid.g-tour, #panel-tour .vt-videos { grid-template-columns: 1fr; }
    .facing-tabs .vt-tab { padding: .55rem .9rem; font-size: .95rem; }
}
/* full-screen YouTube player */
.ytp { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(3.5rem, 6vw, 4.5rem) clamp(.5rem, 3vw, 3rem) clamp(1rem, 3vw, 2rem); border: 0; background: rgba(12, 14, 12, .96); display: none; align-items: center; justify-content: center; overflow: hidden; }
.ytp[open] { display: flex; }
.ytp::backdrop { background: rgba(12, 14, 12, .96); }
.ytp-frame { width: min(100%, calc((100dvh - 7rem) * 16 / 9)); }
.ytp-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; }
.ytp-close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .25s ease; }
.ytp-close:hover { background: var(--yellow); }
.ytp-close svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
html.ytp-lock { overflow: hidden; }

/* ===== Nov 24 fix: Our Communities card never cuts its content =====
   On smaller laptop screens (or Windows display scaling 125–150%) the buttons could wrap
   and the fixed-height card clipped them. The card now grows to fit instead. */
@media (min-width: 1025px) {
    .pl-card .proj-feature { height: auto; min-height: clamp(360px, calc(100svh - var(--hdr, 92px) - 48px), 640px); }
    .pl-card .proj-feature-body { overflow: visible; }
    .pl-card .proj-info { display: flex; flex-wrap: wrap; }
    .pl-card .proj-info li { flex: 0 1 auto; min-width: 0; }
    .pl-card .proj-info :is(button, a) { white-space: nowrap; }
}
@media (min-width: 1025px) and (max-width: 1500px) {
    .pl-card .proj-actions { gap: .5rem; }
    .pl-card .proj-actions .btn { padding: .7em 1.1em; }
    .pl-card .proj-facts { gap: .4rem 1rem; }
}

/* Villa Tour photos (detail page): one row, all photos the same height, nothing cropped.
   Each photo's width follows its own shape (--ar = width / height, set by js/extras.js). */
.g-grid.g-tour { display: flex; flex-wrap: nowrap; gap: .8rem; align-items: stretch; }
.g-grid.g-tour > li { flex: var(--ar, 1.5) 1 0; min-width: 0; }
.g-grid.g-tour .g-item { height: auto; }
.g-grid.g-tour .g-item img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 700px) {
    .g-grid.g-tour { flex-direction: column; }
    .g-grid.g-tour > li { flex: none; width: 100%; }
}

/* ===== Testimonials with videos: 30% video carousel + 70% written testimonials ===== */
.tsc.has-video { --tc-per: 2; }
.tsc-split { display: grid; grid-template-columns: 3fr 7fr; gap: var(--tc-gap); margin-top: clamp(1.6rem, 3vw, 2.4rem); align-items: stretch; }
.tsv, .tsc-words { display: flex; flex-direction: column; min-width: 0; }
.tsc-label { display: flex; align-items: center; gap: .6rem; margin: 0 0 .5rem; font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tsc-label::before { content: ""; width: 28px; height: 2px; background: var(--ink); }
.tsc-split .tc-viewport { margin-top: 0; }
.tsv-viewport { flex: 1; overflow: hidden; padding: 8px 6px 34px; margin: 0 -6px -20px; display: flex; }
.tsv-track { display: flex; flex: 1 1 0; min-width: 0; gap: 16px; margin: 0; padding: 0; list-style: none; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.tsv-item { flex: 0 0 100%; min-width: 0; display: flex; }
.tsv-video { flex: 1; aspect-ratio: auto; min-height: 340px; border-radius: var(--radius-lg); border-bottom: 5px solid var(--sage); box-shadow: 0 14px 18px -10px rgba(48, 53, 47, .35); }
/* thumbnail shown whole (16:9, centred); the rest of the tall card is a soft blurred copy of it */
.tsv-video::before { content: ""; position: absolute; inset: -24px; background: #1d211c var(--thumb, none) center / cover no-repeat; filter: blur(20px) brightness(.55) saturate(1.1); transform: scale(1.1); }
.tsv-video img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transform: translateY(-50%); z-index: 1; opacity: 1; }
.tsv-video:hover img { transform: translateY(-50%) scale(1.03); }
.tsv-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 22, 19, .35), rgba(20, 22, 19, 0) 45%); pointer-events: none; }
.tsv-video .vt-play { z-index: 2; }
.tsv-video .vt-play::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); }
.tsv-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.tsv-nav[hidden] { display: flex; visibility: hidden; }
@media (max-width: 1024px) {
    .tsc-split { grid-template-columns: 1fr; }
    .tsv-video { aspect-ratio: 16 / 9; min-height: 0; }
    .tsv-video img { top: 0; height: 100%; transform: none; }
    .tsv-video:hover img { transform: scale(1.03); }
    .tsv-nav[hidden] { display: none; }
}
@media (max-width: 680px) { .tsc.has-video { --tc-per: 1; } }
@media (prefers-reduced-motion: reduce) { .tsv-track { transition: none; } }

/* ===== Site layout (Phase 2 detail + listing popup) ===== */
.site-plan { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.site-plan-img { position: relative; display: block; width: 100%; padding: clamp(.6rem, 1.5vw, 1rem) clamp(.6rem, 1.5vw, 1rem) 3.6rem; border: 0; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 16px 38px rgba(48, 53, 47, .12); cursor: zoom-in; transition: transform .35s ease, box-shadow .35s ease; }
.site-plan-img img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 12px; }
.site-plan-img:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(48, 53, 47, .16); }
.site-plan-img:hover .plan-cap i { background: var(--yellow); color: var(--ink); }
.site-plan-actions .btn { gap: .55rem; }
.info-siteplan { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; }
.info-siteplan img { display: block; width: 100%; height: auto; object-fit: contain; }
.info-siteplan-link { margin: 1rem 0 0; text-align: center; }

/* ===== Gallery (Exterior / Interior): 16:9 tiles, whole image shown ===== */
.g-grid.g-exterior, .g-grid.g-interior { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
.g-grid.g-exterior .g-item, .g-grid.g-interior .g-item { aspect-ratio: 16 / 9; height: auto; background: var(--sage-cream); }
.g-grid.g-exterior .g-item img, .g-grid.g-interior .g-item img { object-fit: contain; }
@media (max-width: 1024px) { .g-grid.g-exterior, .g-grid.g-interior { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .g-grid.g-exterior, .g-grid.g-interior { grid-template-columns: 1fr; } }
/* self-hosted MP4 in the full-screen player */
.ytp-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }

/* ===== Nov 27 client feedback ===== */
/* Inner-page hero titles: smaller (client: "font is too big") */
.page-title, .d-title { font-size: clamp(2.1rem, 3.6vw, 3.6rem); line-height: 1.06; }
/* Less space between sections on all inner pages */
.ab-section { padding-block: clamp(2.5rem, 4.6vw, 4.25rem); }
.d-sec { padding-block: clamp(2.5rem, 4.6vw, 4.25rem); }
.tsc { padding-block: clamp(2.5rem, 4.6vw, 4.25rem); }
/* Home > Services: wider service photos, shown at a proper 16:10 shape */
@media (min-width: 1025px) and (min-height: 460px) {
    .services-grid { grid-template-columns: minmax(0, .5fr) minmax(0, 1.75fr); gap: clamp(1.25rem, 2.4vw, 2.75rem); }
    .service-list { gap: clamp(.9rem, 2.2vh, 1.6rem) clamp(.9rem, 1.4vw, 1.5rem); }
    .service-media img { height: auto; aspect-ratio: 16 / 10; }
}
/* Contact: 4 community cards (Chinmayam shown once) */
.cm-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .cm-grid { grid-template-columns: 1fr; } }
/* Amenities > Additional Amenities: show the whole elevation image */
.am-row .am-photo.is-full { height: auto; min-height: 0; align-self: center; background: transparent; }
.am-row .am-photo.is-full img { height: auto; aspect-ratio: auto; object-fit: contain; }

/* ===== Careers page ===== */
.cr-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.cr-culture { background: var(--sage-cream); }
.cr-card .fa-body { padding: clamp(1.4rem, 2.4vw, 1.9rem); }
.cr-card .fa-body .fa-icon { margin-top: 0; margin-bottom: 1rem; border: 0; }
.cr-card { border-top: 5px solid var(--sage); }
.job-list { list-style: none; margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.job { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; background: #fff; border-radius: var(--radius-lg); padding: clamp(1.3rem, 2.4vw, 1.9rem); box-shadow: 0 14px 34px rgba(48, 53, 47, .08); border-bottom: 5px solid var(--yellow); transition: transform .35s ease, box-shadow .35s ease; }
.job:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(48, 53, 47, .13); }
.job-dept { margin: 0 0 .35rem; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.job h3 { margin: 0 0 .7rem; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.3rem, 1.7vw, 1.55rem); color: var(--ink); line-height: 1.2; }
.job-meta { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem .6rem; }
.job-meta li { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .75rem; border-radius: 999px; background: var(--sage-cream); font-weight: 600; font-size: .9rem; color: var(--ink); }
.job-meta i { color: var(--sage); font-size: .85rem; }
.job-desc { margin: 0; font-size: clamp(1rem, .3vw + .92rem, 1.06rem); line-height: 1.6; color: var(--ink); }
.job-apply { align-self: flex-start; }
.cr-apply { background: var(--sage-cream); }
.cr-apply-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.cr-points { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .65rem; }
.cr-points li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; font-size: clamp(1rem, .3vw + .92rem, 1.08rem); color: var(--ink); }
.cr-points i { color: var(--sage); margin-top: .2rem; }
.cr-file label { display: block; margin-bottom: .45rem; font-weight: 700; font-size: .95rem; color: var(--ink); }
.cr-file label span { font-weight: 500; color: var(--text-soft, #5b5f58); }
.cr-file input[type="file"] { width: 100%; padding: .8rem; border: 2px dashed rgba(48, 53, 47, .25); border-radius: 12px; background: #fbfaf6; font: inherit; font-size: .95rem; cursor: pointer; }
.cr-file input[type="file"]::file-selector-button { margin-right: .8rem; padding: .55rem 1rem; border: 0; border-radius: 999px; background: var(--sage); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cr-file.has-error input[type="file"] { border-color: #c0392b; }
@media (max-width: 900px) {
    .job-list, .cr-apply-grid { grid-template-columns: 1fr; }
}

/* About > team: long bios clipped to 6 lines with "Read more" */
.member-desc[id] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.member-desc[id].is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.member-more { margin-top: .6rem; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; font-size: 1rem; color: var(--sage); border-bottom: 2px solid var(--yellow); cursor: pointer; }
.member-more:hover { color: var(--ink); }
.member-more[hidden] { display: none; }
.member-photo img[src$=".jpg"] { object-position: center 18%; }
@media (max-width: 599px) { .member-body .member-more { grid-column: 1 / -1; grid-row: 4; justify-self: start; } }

/* ===== Nov 30: hero banners with the green text area built into the image =====
   Desktop: image anchored right (subject never cut), only a soft bottom shade for the scroll cue.
   Phones: text sits over the photo, so the usual dark overlay stays and the subject is kept in view. */
.page-hero.hero-baked .page-hero-bg { background: #526C57; }
.page-hero.hero-baked .page-hero-bg img { object-position: right center; }
@media (min-width: 768px) {
    .page-hero.hero-baked .page-hero-bg::after { background: linear-gradient(0deg, rgba(48, 53, 47, .35) 0%, rgba(48, 53, 47, 0) 30%); }
}
@media (max-width: 767px) {
    .page-hero.hero-baked .page-hero-bg img { object-position: 78% center; }
}
/* Nov 30: keep hero text readable on wide/short screens, where the banner's built-in green area is narrower than the text block */
@media (min-width: 768px) {
    .page-hero.hero-baked .page-hero-bg::after {
        background:
            linear-gradient(0deg, rgba(48, 53, 47, .35) 0%, rgba(48, 53, 47, 0) 30%),
            linear-gradient(90deg, rgba(74, 98, 79, .9) 0%, rgba(74, 98, 79, .78) calc(var(--edge) + 380px), rgba(74, 98, 79, .4) calc(var(--edge) + 600px), rgba(74, 98, 79, 0) calc(var(--edge) + 800px));
    }
    .page-hero.hero-baked .page-hero-inner { text-shadow: 0 1px 14px rgba(30, 40, 32, .35); }
}
/* Nov 30: every inner-page hero uses the same height as the About Us hero */
.page-hero.pg-hero, .page-hero.bl-hero, .page-hero.ct-hero, .page-hero.lg-hero {
    min-height: clamp(460px, calc(100svh - var(--hdr, 92px)), 820px);
}
@media (max-width: 767px) {
    .page-hero.pg-hero, .page-hero.bl-hero, .page-hero.ct-hero, .page-hero.lg-hero { min-height: 72svh; }
}
/* Nov 30: arrows stay perfectly round with many video dots; dots are a little smaller here */
.tc-btn { flex: 0 0 auto; aspect-ratio: 1; }
.tsv-nav { gap: .75rem; }
.tsv-dots { flex: 0 1 auto; min-width: 0; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tsv-dots .tc-dot { width: 9px; height: 9px; flex: 0 0 auto; }
.tsv-dots .tc-dot.is-on { width: 22px; }
