/* AUGUST Silver Stone. Colours sampled from the brochure's vector artwork.
   Palette: teal #22586B, deep teal #173E49 (pattern lines only), ink #1F1F1F, cream #F4F2ED, steel #557487 (cover ground; not used for text).
   Proportions: teal, ink and cream carry the page; no accent colour is added.
   Pairings used: cream on teal (7.0), cream on ink (14.7), ink on cream (14.7), teal on cream (7.0).
   Never used: teal text on ink (2.1), anything on deep teal except the pattern, steel text on cream (4.4), gradients. */

@font-face {
  font-family: "SS Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* Drop the licensed display face in assets/fonts and name it first: local("Brand Display Name") or url(...). */
  src: local("SS Brand Display"), url("../fonts/marcellus.woff2") format("woff2");
}
@font-face {
  font-family: "SS Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: local("SS Brand Sans"), url("../fonts/figtree-normal.woff2") format("woff2");
}
:root {
  --teal: #22586B;
  --deep: #173E49;
  --ink: #1F1F1F;
  --cream: #F4F2ED;
  --steel: #557487;
  --line-light: rgba(31, 31, 31, 0.2);
  --line-dark: rgba(244, 242, 237, 0.28);
  --f-display: "SS Display", "Marcellus", Georgia, serif;
  --f-sans: "SS Sans", "Figtree", system-ui, sans-serif;
  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--cream); color: var(--teal); padding: .6rem 1rem; font-weight: 600; text-decoration: none; transition: top .15s; }
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
[data-theme="light"] :focus-visible, .plan :focus-visible { outline-color: var(--teal); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }

/* Display type: one weight, never synthesised. Section titles are set in capitals, as in the brochure. */
.display { font-family: var(--f-display); font-weight: 400; font-synthesis: none; letter-spacing: .01em; line-height: 1.12; text-transform: uppercase; }
h1 { font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.18; letter-spacing: -0.005em; max-width: 20ch; }
h2.display { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 1rem; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 36ch; margin-top: 1.5rem; }
.sec-note { font-size: .95rem; max-width: 62ch; margin-top: 1rem; opacity: .88; }
.tag { font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid currentColor; padding: .05em .45em; border-radius: 99px; margin-left: .35em; white-space: nowrap; vertical-align: .12em; opacity: .85; }
.src { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; margin-left: .4em; opacity: .8; font-weight: 600; }

/* Themes */
[data-theme="dark"] { background: var(--teal); color: var(--cream); }
[data-theme="ink"] { background: var(--ink); color: var(--cream); }
[data-theme="light"] { background: var(--cream); color: var(--ink); }
[data-theme="light"] .eyebrow { color: var(--teal); }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* Brand pattern as a divider: no text sits on it */
.band { height: clamp(88px, 13vw, 168px); background: var(--teal) url("../img/pattern-teal.svg") center / cover no-repeat; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .65rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-cream { background: var(--cream); color: var(--teal); }
.btn-cream:hover { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost { border-color: var(--line-dark); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-solid { background: var(--teal); color: var(--cream); }
.btn-solid:hover { background: var(--ink); }
.btn-line { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-line:hover { background: var(--teal); color: var(--cream); }
.btn-line:disabled { opacity: .4; cursor: not-allowed; }
.btn-line:disabled:hover { background: transparent; color: var(--teal); }

/* Header: theme follows the section behind it */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.hide { transform: translateY(-100%); }
.site-header[data-theme="dark"] { background: var(--teal); color: var(--cream); border-color: var(--line-dark); }
.site-header[data-theme="ink"] { background: var(--ink); color: var(--cream); border-color: var(--line-dark); }
.site-header[data-theme="light"] { background: var(--cream); color: var(--ink); border-color: var(--line-light); }
.site-header[data-theme="light"] :focus-visible { outline-color: var(--teal); }
.site-header[data-theme="light"] .header-cta { background: var(--teal); color: var(--cream); }
.site-header[data-theme="dark"] .header-cta, .site-header[data-theme="ink"] .header-cta { background: var(--cream); color: var(--teal); }
.header-row { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: block; color: inherit; margin-right: auto; }
.brand-august { height: 24px; width: auto; aspect-ratio: 231.1 / 44.9; }
.nav ul { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .02em; padding: .4rem 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="true"] { border-color: currentColor; }
.header-cta { min-height: 40px; padding-block: .4rem; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; position: relative; color: inherit; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--teal); color: var(--cream); padding: 2rem var(--pad); transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; }
  .menu-open .nav { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; font-family: var(--f-display); text-transform: uppercase; font-size: 1.6rem; padding: .9rem 0; border-bottom: 1px solid var(--line-dark); }
  .menu-open .site-header { background: var(--teal) !important; color: var(--cream) !important; }
  .menu-open .site-header :focus-visible { outline-color: var(--cream); }
  .menu-open .site-header.hide { transform: none; }
}

/* Hero */
.hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; min-height: min(62vh, 620px); }
.hero-logo { width: clamp(190px, 21vw, 260px); height: auto; aspect-ratio: 231.1 / 141.5; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-plan svg { width: 100%; height: auto; overflow: visible; }
.hero-plan .hp-site { fill: none; stroke: var(--cream); stroke-opacity: .5; stroke-width: 3; }
.hero-plan .hp-road { fill: none; stroke: var(--cream); stroke-opacity: .32; stroke-width: 2.4; }
.hero-plan .hp-plot { fill: none; stroke: var(--cream); stroke-width: 2.4; }
.hero-plan .hp-open { fill: none; stroke: var(--cream); stroke-width: 3; stroke-dasharray: none; }
.hero-plan [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-plan.drawn [pathLength] { animation: draw 1.6s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line-dark); }
.facts > div { padding: 1.25rem 1.25rem 1.5rem 0; }
.facts > div + div { padding-left: 1.25rem; border-left: 1px solid var(--line-dark); }
.facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: .35rem; }
.facts dd { font-size: 1rem; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-plan { order: -1; max-width: 640px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding-left: 0 !important; border-left: 0 !important; }
  .facts > div + div { border-top: 1px solid var(--line-dark); }
}

/* About */
.statement { font-family: var(--f-sans); font-size: clamp(1.45rem, 2.9vw, 2.5rem); line-height: 1.3; letter-spacing: -0.01em; max-width: 28em; }
.statement .w { opacity: .18; transition: opacity .35s linear; }
.statement .w.on { opacity: 1; }
.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-light); padding-top: 2rem; }
.counters li { display: flex; flex-direction: column; gap: .35rem; }
.count { font-family: var(--f-sans); font-weight: 400; font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; color: var(--teal); }
.count-label { font-size: .95rem; max-width: 24ch; }
@media (max-width: 640px) { .counters { grid-template-columns: 1fr; gap: 1.5rem; } }
.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-light); padding-top: 2rem; }
.philosophy p { max-width: 46ch; }
@media (max-width: 760px) { .philosophy { grid-template-columns: 1fr; } }

.august-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.august-copy p { margin-bottom: 1.25rem; max-width: 48ch; }
.years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); align-items: end; }
.years li { border-left: 1.5px solid var(--cream); padding: .25rem 1rem 0; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.years li:nth-child(1) { padding-top: 3.5rem; } .years li:nth-child(2) { padding-top: 2.4rem; } .years li:nth-child(3) { padding-top: 1.2rem; }
.years-note { margin-top: 1.5rem; }
@media (max-width: 800px) { .august-grid { grid-template-columns: 1fr; } .years { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; } .years li { padding-top: .25rem !important; } }

/* Render */
.render-fig { max-width: 1240px; margin-inline: auto; }
.render-fig img { width: 100%; height: auto; }
.render-fig figcaption { font-size: .85rem; margin-top: .9rem; opacity: .9; }
.render-fig.aerial { max-width: 720px; margin-top: clamp(3rem, 6vw, 5rem); }
.arrival { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: .95rem; }
.arrival li::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .6em; background: var(--cream); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Plan */
.plan { padding-bottom: clamp(3rem, 6vw, 5rem); }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.25rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-light); }
.filters .field { display: flex; flex-direction: column; gap: .35rem; min-width: 11rem; }
.filters .field > span { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.filters select { -webkit-appearance: none; appearance: none; padding-right: 2.5rem !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322586B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; }
.filters input, .filters select { min-height: 46px; padding: .5rem .9rem; border: 1.5px solid var(--teal); border-radius: 10px; background: var(--cream); color: var(--ink); }
.result-count { margin-left: auto; font-size: .9rem; font-weight: 500; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.map-card { position: relative; background: rgba(34, 88, 107, .1); border-radius: 14px; padding: .75rem; }
.map-tools { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 3; display: flex; flex-direction: column; gap: .4rem; }
.tool { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--teal); background: var(--cream); color: var(--teal); display: grid; place-items: center; padding: 0; }
.tool:hover { background: var(--teal); color: var(--cream); }
.tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#planSvg { width: 100%; height: auto; aspect-ratio: 2350 / 1010; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: rgba(34, 88, 107, .06); border-radius: 8px; }
#planSvg.zoomed { touch-action: none; }
#planSvg.dragging { cursor: grabbing; }
#planSvg .p-site { fill: var(--cream); stroke: var(--teal); stroke-opacity: .45; stroke-width: 2.4; }
#planSvg .p-road { fill: rgba(34, 88, 107, .2); stroke: none; }
#planSvg .p-open { fill: rgba(34, 88, 107, .3); stroke: var(--teal); stroke-opacity: .55; stroke-width: 1.6; }
#planSvg .p-ews { fill: none; stroke: var(--teal); stroke-opacity: .6; stroke-width: 1.6; stroke-dasharray: 8 6; }
#planSvg .plot { cursor: pointer; outline: none; }
#planSvg .plot polygon, #planSvg .plot rect { fill: var(--cream); stroke: var(--teal); stroke-width: 2.4; transition: fill .15s, opacity .15s; }
#planSvg .plot text { font-family: var(--f-sans); font-size: 24px; font-weight: 600; text-anchor: middle; dominant-baseline: central; fill: var(--ink); pointer-events: none; }
#planSvg .plot:hover rect { fill: rgba(34, 88, 107, .22); stroke-width: 4; }
#planSvg .plot:focus-visible rect { stroke: var(--ink); stroke-width: 7; stroke-dasharray: 12 7; }
#planSvg .plot.sel rect { fill: var(--teal); stroke: var(--ink); stroke-width: 4; }
#planSvg .plot.sel text { fill: var(--cream); }
#planSvg .plot.off { opacity: .22; }
#planSvg .sel-outline { fill: none; stroke: var(--ink); stroke-width: 6; pointer-events: none; }
#planSvg .sel-outline[hidden] { display: none; }
#planSvg .p-label { font-family: var(--f-sans); font-size: 22px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); text-anchor: middle; pointer-events: none; }
#planSvg .p-label-sm { font-size: 17px; }
.map-hint { font-size: .8rem; margin: .6rem .4rem .2rem; opacity: .88; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .4rem .4rem .2rem; font-size: .8rem; }
.legend li { display: flex; align-items: center; gap: .4rem; }
.sw { width: 14px; height: 14px; border: 1.5px solid var(--teal); border-radius: 3px; display: inline-block; }
.sw-plot { background: var(--cream); }
.sw-sel { background: var(--teal); border-color: var(--ink); }
.sw-open { background: rgba(34, 88, 107, .3); }
.sw-road { background: rgba(34, 88, 107, .2); border-color: transparent; }

.detail { border: 1.5px solid var(--teal); border-radius: 14px; padding: 1.5rem; position: sticky; top: calc(var(--header-h) + 1rem); background: var(--cream); }
.detail-lead { font-family: var(--f-display); text-transform: uppercase; font-size: 1.3rem; line-height: 1.2; margin-bottom: 1.25rem; }
.detail-no { font-family: var(--f-sans); text-transform: none; font-size: 4rem; line-height: 1; margin-bottom: 1rem; color: var(--teal); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.mini > div, .specs > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line-light); }
.mini dt, .specs dt { font-size: .85rem; }
.mini dd, .specs dd { text-align: right; font-variant-numeric: tabular-nums; }
.specs dd b { font-weight: 600; font-size: 1.15rem; }
.detail-note { font-size: .8rem; margin: 1rem 0; opacity: .88; }
.detail-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.detail-actions .btn { flex: 1 1 auto; }
.copied { font-size: .8rem; min-height: 1.2em; margin-top: .5rem; }

@media (max-width: 700px) {
  .map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -.25rem; border-radius: 8px; }
  #planSvg { min-width: 900px; }
  .map-tools { position: static; flex-direction: row; justify-content: flex-end; margin: 0 .25rem .6rem; }
}
@media (max-width: 960px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .detail { position: static; }
  .result-count { margin-left: 0; width: 100%; }
}

/* Grid children may shrink below their content so inner scrollers work */
.plan-grid > *, .loc-grid > *, .det-grid > *, .enq-grid > *, .hero-grid > *, .august-grid > * { min-width: 0; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-light); border-radius: 12px; }
[data-theme="ink"] .table-scroll { border-color: var(--line-dark); }
.schedule { margin-top: 3rem; }
.schedule .table-scroll { max-height: 520px; overflow-y: auto; }
.data { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.data caption { text-align: left; }
.data th, .data td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--line-light); white-space: nowrap; }
[data-theme="ink"] .data th, [data-theme="ink"] .data td { border-color: var(--line-dark); }
.data .num { text-align: right; }
.data thead th { position: sticky; top: 0; background: var(--teal); color: var(--cream); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; z-index: 1; }
.data thead th button { background: none; border: 0; padding: 0; text-transform: inherit; letter-spacing: inherit; font-weight: inherit; display: inline-flex; align-items: center; gap: .4rem; color: inherit; }
.data thead th[aria-sort="ascending"] button::after { content: "\25B2"; font-size: .6rem; }
.data thead th[aria-sort="descending"] button::after { content: "\25BC"; font-size: .6rem; }
.data thead th .tag { border-color: var(--cream); }
.data tbody tr { cursor: pointer; }
.data tbody tr:hover { background: rgba(34, 88, 107, .09); }
.data tbody tr.sel { background: var(--teal); color: var(--cream); }
.data tbody tr.sel .rowbtn { color: var(--cream); }
.data tbody tr.sel:focus-within { outline: 2px solid var(--ink); outline-offset: -2px; }
.rowbtn { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.data tfoot td { font-weight: 600; background: var(--cream); position: sticky; bottom: 0; border-top: 1.5px solid var(--teal); }
.table-note { font-size: .85rem; margin-top: .8rem; opacity: .88; }
.particulars, #khasraTable { background: transparent; }
.particulars tbody tr, .land tbody tr, #khasraTable tbody tr { cursor: default; }
.particulars tbody tr:hover, .land tbody tr:hover, #khasraTable tbody tr:hover { background: transparent; }
.particulars th { font-weight: 600; width: 38%; white-space: normal; }
.particulars td { white-space: normal; }
[data-theme="ink"] .data tbody th { font-weight: 600; }

/* Land bar */
.bar { display: flex; height: 64px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--cream); margin-bottom: 2rem; }
.bar > div { display: flex; align-items: center; padding: 0 1rem; font-size: .85rem; font-weight: 600; overflow: hidden; white-space: nowrap; min-width: 0; }
.bar .b-plot { background: var(--cream); color: var(--ink); }
.bar .b-open { background: var(--teal); color: var(--cream); border-left: 1.5px solid var(--cream); }
.bar .lbl { margin-right: .35em; }
.bar .b-rest { background: transparent; color: var(--cream); border-left: 1.5px solid var(--cream); background-image: repeating-linear-gradient(135deg, rgba(244,242,237,.35) 0 1.5px, transparent 1.5px 9px); }
@media (max-width: 560px) { .bar { height: 48px; } .bar > div { padding: 0 .5rem; font-size: .75rem; } .bar .b-open, .bar .b-rest { padding: 0 .15rem; justify-content: center; font-size: .7rem; } .bar .b-open .lbl, .bar .b-rest .lbl { display: none; } }

/* Amenities */
.am-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); }
.am-card { display: flex; flex-direction: column; gap: 1rem; }
.am-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--deep); }
.am-card h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: 1.35rem; line-height: 1.15; }
.am-card p { font-size: .98rem; max-width: 46ch; }
.am-tag { font-size: .82rem !important; font-weight: 500; border-top: 1px solid var(--line-dark); padding-top: .7rem; margin-top: auto; opacity: .92; }

/* Location */
.loc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.loc-text { margin-top: 1.5rem; max-width: 46ch; }
.conn-h { margin-top: 2.5rem; }
.conn { display: grid; grid-template-columns: 1fr 1fr; }
.conn li { padding: .7rem 0; border-top: 1px solid var(--line-light); font-weight: 500; }
.loc-copy .btn { margin-top: 1.5rem; margin-bottom: .5rem; }
.loc-map { position: sticky; top: calc(var(--header-h) + 1rem); }
#locSvg { width: 100%; height: auto; border-radius: 14px; aspect-ratio: 842 / 595; }
.lm-bg { fill: var(--ink); }
.lm-lane { stroke: var(--teal); stroke-width: 1.1; stroke-dasharray: 3.49 2.99; }
.lm-lane2 { stroke: var(--teal); stroke-width: 1.1; stroke-dasharray: .748 2.493; }
.lm-road { stroke: var(--teal); stroke-width: 3.49; }
.lm-main { stroke: var(--teal); stroke-width: 8.98; }
.lm-thin { stroke: var(--teal); stroke-width: .5; }
.lm-blocks rect { fill: var(--teal); }
.lm-site rect { fill: var(--teal); stroke: var(--cream); stroke-width: 1.2; }
.lm-mark { color: var(--cream); }
.lm-leaders path { stroke: var(--cream); stroke-width: 1.1; fill: none; }
.lm-leaders circle { fill: var(--cream); }
.lm-pill-s { fill: var(--cream); }
.lm-pill-o { fill: var(--ink); stroke: var(--cream); stroke-width: 1.1; }
.lm-pills text { font-family: var(--f-sans); font-size: 13.5px; font-weight: 500; }
.lm-t-s { fill: var(--teal); }
.lm-t-o { fill: var(--cream); }
.lm-arrows path { stroke: var(--cream); stroke-width: 1.2; }
.lm-names text { font-family: var(--f-sans); font-size: 11px; font-weight: 500; letter-spacing: .03em; fill: var(--cream); opacity: .75; }
.lm-names .lm-note { font-size: 9px; opacity: .85; }
.loc-map figcaption { font-size: .85rem; margin-top: .8rem; opacity: .88; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: minmax(0, 1fr); } .loc-map { position: static; } }
@media (max-width: 700px) { .loc-scroll { overflow-x: auto; border-radius: 14px; } #locSvg { min-width: 700px; } .conn { grid-template-columns: 1fr; } }

/* Details */
.det-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.det-main .h3 { margin-top: 3rem; }
.rera-card, .approval-card { border: 1.5px solid var(--cream); border-radius: 14px; padding: 1.5rem; background: var(--teal); color: var(--cream); }
.approval-card { margin-top: 1.25rem; background: transparent; }
.rera-no { font-family: var(--f-sans); font-weight: 500; letter-spacing: .02em; font-size: clamp(1.25rem, 2.2vw, 1.7rem); overflow-wrap: anywhere; line-height: 1.2; }
.rera-meta > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line-dark); margin-top: .75rem; font-size: .95rem; }
.rera-meta > div + div { margin-top: 0; }
.rera-link { margin-top: 1rem; }
.rera-link a { font-weight: 600; text-underline-offset: 3px; }
.approval-card li { padding: .7rem 0; border-top: 1px solid var(--line-dark); font-size: .95rem; }
.approval-card li:first-child { border-top: 0; padding-top: 0; }
.approval-card li b { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) { .det-grid { grid-template-columns: 1fr; } }

/* Enquire */
.enq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.enq-note { margin-top: 1.5rem; max-width: 36ch; opacity: .92; }
.contact-lines { margin-top: 2rem; }
.contact-lines li { padding: .8rem 0; border-top: 1px solid var(--line-dark); }
.contact-lines b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .9; }
.contact-lines a { text-underline-offset: 3px; }
.form { display: grid; gap: 1.1rem; }
.form .field { display: flex; flex-direction: column; gap: .35rem; }
.form label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.form .opt { font-weight: 400; opacity: .85; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea { min-height: 48px; padding: .6rem .9rem; border-radius: 10px; border: 1.5px solid var(--line-dark); background: rgba(244,242,237,.08); color: var(--cream); width: 100%; }
.form select { -webkit-appearance: none; appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F2ED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; }
.form select option { color: var(--ink); background: var(--cream); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cream); outline: none; box-shadow: 0 0 0 2px var(--cream); }
.form .invalid input, .form .invalid select { border-color: var(--cream); border-width: 2.5px; }
.err { color: var(--cream); font-size: .85rem; font-weight: 600; }
.err::before { content: "! "; }
.err:empty { display: none; }
.field.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .75rem; }
.field.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--cream); flex: none; }
.field.check label { font-weight: 400; font-size: .95rem; flex: 1; letter-spacing: 0; }
.field.check .err { flex-basis: 100%; }
.form .btn { justify-self: start; }
.form-status { font-size: .95rem; }
.form-status a { text-underline-offset: 3px; }
@media (max-width: 860px) { .enq-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr; gap: 2.5rem; margin-bottom: 3rem; }
.foot-logo { width: min(100%, 260px); height: auto; aspect-ratio: 231.1 / 141.5; }
.foot-line { margin-top: 1.5rem; max-width: 24ch; }
.foot-col li, .foot-col p { margin-bottom: .5rem; overflow-wrap: anywhere; }
.foot-col a { text-underline-offset: 3px; }
.disclaimer { font-size: .85rem; max-width: 90ch; opacity: .9; border-top: 1px solid var(--line-dark); padding-top: 1.5rem; }
.copy { font-size: .8rem; margin-top: 1rem; opacity: .85; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mountain mark: the brand's own device, used as a small accent and kept clear of text */
.mark-sm { width: 40px; height: auto; aspect-ratio: 73 / 64.2; margin-bottom: 1.5rem; color: var(--teal); }
.rera-card { position: relative; }
.mark-corner { position: absolute; top: 1.25rem; right: 1.25rem; width: 32px; height: auto; aspect-ratio: 73 / 64.2; color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .hero-plan [pathLength] { stroke-dashoffset: 0 !important; }
  .statement .w { opacity: 1; }
}
