/* KNS Metro Properties
   Tokens → base → components → sections → responsive */

:root {
  --green-900: #0f2a20;
  --green-800: #163a2c;
  --green-700: #1d4a39;
  --green-600: #27604a;
  --gold-600: #a8843f;
  --gold-500: #b8964f;
  --gold-200: #ead9b4;
  --gold-100: #f6ecd6;
  --cream-100: #f7f3ea;
  --cream-200: #efe9dc;
  --line: #e6dfd0;
  --ink: #1b1f1c;
  --ink-soft: #4d544f;
  --ink-mute: #7c837d;
  --white: #fff;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Lexend", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 2px rgba(22, 58, 44, .05), 0 10px 28px -14px rgba(22, 58, 44, .22);
  --shadow-float: 0 18px 44px -18px rgba(15, 42, 32, .38);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
dl, dd, figure, blockquote, address { margin: 0; font-style: normal; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }

h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.3rem); line-height: 1.15; }
h3 { font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 1.35; }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--green-700); color: var(--white); border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

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

/* ---------- Shared pieces ---------- */

.eyebrow { font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.eyebrow-dark { color: var(--ink); }
.eyebrow-light { color: var(--gold-200); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s;
}
.btn-lg { padding: 14px 24px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-900); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--green-700); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

.round-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid #c9cfc9; border-radius: 50%; background: transparent; color: var(--ink);
  transition: background-color .18s, color .18s, border-color .18s;
}
button.round-btn:hover:not(:disabled) { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
button.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn-light { background: var(--white); border-color: var(--white); }

.section { padding-block: clamp(56px, 7vw, 88px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-sub { margin-top: 10px; max-width: 62ch; }
.section-head-center { display: block; text-align: center; }
.section-head-center .section-sub { margin-inline: auto; max-width: 60ch; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: block; flex: none; }
/* The logo file has wide empty margins either side of the mark; crop them away */
.logo img { display: block; height: 54px; width: 80px; object-fit: cover; object-position: center; }
.logo-light { display: inline-block; padding: 8px 12px; border-radius: var(--radius); background: var(--white); }
.logo-light img { height: 62px; width: 92px; }

.site-nav { display: flex; gap: clamp(18px, 2.6vw, 36px); font-size: .84rem; font-weight: 400; color: var(--ink); }
.site-nav a { padding-block: 8px; border-bottom: 2px solid transparent; transition: border-color .18s, color .18s; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--gold-500); }
.site-nav a[aria-current] { font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 500; color: var(--ink); }
.header-phone:hover { color: var(--green-600); }
.nav-toggle { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: 1.2rem; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; min-height: clamp(540px, 74vh, 680px); display: flex; padding-bottom: 72px; background: var(--cream-200); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slides { z-index: -1; overflow: hidden; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slides::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 246, 237, .95) 0%, rgba(250, 246, 237, .86) 30%, rgba(250, 246, 237, .35) 56%, rgba(250, 246, 237, 0) 74%),
    linear-gradient(180deg, rgba(250, 246, 237, .5) 0%, rgba(250, 246, 237, 0) 30%);
}

.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 40px; padding-block: 56px 48px; }
.hero-copy { max-width: 560px; }
.hero-lede { margin-top: 18px; max-width: 44ch; font-size: 1rem; font-weight: 400; color: var(--ink); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; max-width: 480px; margin-top: 34px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: .78rem; line-height: 1.45; color: var(--ink-soft); }
.hero-points strong { display: block; font-weight: 500; color: var(--ink); }
.hero-points .icon { font-size: 1.6rem; color: var(--green-700); stroke-width: 1.3; }

.hero-form { padding: 26px 26px 22px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-float); }

.hero-controls { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; display: flex; align-items: center; justify-content: space-between; }
.hero-count { display: flex; gap: 16px; font-size: .8rem; font-weight: 500; color: var(--ink); }
.hero-count-rest { opacity: .45; }
.hero-arrows { display: flex; gap: 10px; }

/* ---------- Stats ---------- */

.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -48px; padding: 26px 12px; border-radius: var(--radius-lg); background: var(--cream-100); box-shadow: var(--shadow-card); }
.stat { display: flex; align-items: center; justify-content: center; gap: 18px; padding-inline: 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .icon { font-size: 2.3rem; color: var(--ink); stroke-width: 1.1; }
.stat dd { font-size: 1.9rem; font-weight: 500; line-height: 1.1; color: var(--ink); }
.stat dt { margin-top: 4px; font-size: .76rem; }

/* ---------- Projects ---------- */

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); }
.project-card img { width: 100%; aspect-ratio: 20 / 13; object-fit: cover; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.project-place { font-size: .72rem; color: var(--gold-600); }
.project-card h3 { margin-top: 8px; font-size: 1.02rem; }
.project-price { margin-top: 6px; font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.project-price span { font-size: .72rem; font-weight: 400; color: var(--gold-600); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 14px 20px; }
.tags li { padding: 3px 10px; border-radius: 4px; background: var(--gold-100); color: var(--gold-600); font-size: .68rem; font-weight: 400; }
.project-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: .78rem; font-weight: 500; color: var(--ink); }
.project-link > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.project-link .round-btn { transition: background-color .18s, color .18s, border-color .18s; }
.project-link:hover .round-btn { background: var(--green-700); border-color: var(--green-700); color: var(--white); }

/* ---------- Why choose ---------- */

.why { background: var(--cream-100); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { display: flex; gap: 18px; padding: 26px 22px; border-radius: var(--radius); background: var(--white); }
.why-card .icon { font-size: 2rem; color: var(--ink); stroke-width: 1.2; }
.why-card h3 { font-size: .9rem; max-width: 16ch; }
.why-card p { margin-top: 10px; font-size: .74rem; line-height: 1.55; color: var(--ink-mute); }

/* ---------- About ---------- */

.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 96px); }
.about-media { position: relative; padding-right: 40px; }
.founder-photo {
  position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden;
  border-radius: var(--radius-lg); color: var(--gold-200);
  background:
    radial-gradient(120% 90% at 22% 18%, rgba(184, 150, 79, .28), transparent 60%),
    linear-gradient(140deg, var(--green-700), var(--green-900));
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.founder-monogram { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 7rem); line-height: 1; opacity: .5; }
.founder-note { position: absolute; left: 20px; top: 18px; font-size: .7rem; letter-spacing: .04em; opacity: .7; }
.founder-quote { position: absolute; right: 0; bottom: -18px; width: min(260px, 62%); padding: 20px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-float); }
.founder-quote blockquote { font-size: .92rem; font-weight: 400; line-height: 1.45; color: var(--ink); }
.founder-quote figcaption { margin-top: 14px; font-size: .72rem; line-height: 1.5; }
.founder-quote strong { display: block; font-weight: 500; color: var(--ink); }

.about-copy > p:not(.eyebrow) { margin-top: 16px; max-width: 56ch; color: var(--ink); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-block: 26px; }
.about-stats div { padding: 16px 10px; border-radius: var(--radius); background: var(--cream-100); text-align: center; }
.about-stats dd { font-size: 1.5rem; font-weight: 500; line-height: 1.2; color: var(--ink); }
.about-stats dt { font-size: .74rem; }

/* ---------- Locations ---------- */

.locations {
  padding-block: clamp(56px, 7vw, 80px) clamp(28px, 4vw, 40px); color: rgba(255, 255, 255, .88);
  background:
    linear-gradient(180deg, rgba(15, 42, 32, .82), rgba(15, 42, 32, .93)),
    url("../images/locations.jpg") center / cover no-repeat var(--green-900);
}
.locations h2 { color: var(--white); }
.locations .section-head { margin-bottom: 40px; }
.locations-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.locations-grid li { display: grid; justify-items: center; gap: 14px; padding: 6px 28px 10px; text-align: center; font-size: .86rem; font-weight: 400; line-height: 1.4; color: var(--white); }
.locations-grid li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.locations-grid .icon { font-size: 2.1rem; stroke-width: 1.2; }

/* ---------- Testimonials ---------- */

.track-arrows { display: flex; gap: 10px; }
.track-arrows[hidden] { display: none; }
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin: -4px; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: start; display: flex; flex-direction: column; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.quote-mark { width: 26px; height: 20px; color: var(--gold-500); }
.testimonial blockquote { margin-block: 14px 22px; font-size: .9rem; font-weight: 400; line-height: 1.6; color: var(--ink); }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: .74rem; line-height: 1.5; color: var(--ink-mute); }
.testimonial strong { display: block; font-size: .82rem; font-weight: 500; color: var(--ink); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--green-700); color: var(--gold-200); font-size: .78rem; font-weight: 500; }

/* ---------- Insights ---------- */

.insights { background: var(--cream-100); }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--white); }
.insight-card img { width: 100%; aspect-ratio: 15 / 7; object-fit: cover; }
.insight-body { padding: 18px 22px 22px; }
.insight-body time { font-size: .72rem; color: var(--ink-mute); }
.insight-card h3 { margin-block: 10px 14px; max-width: 26ch; }
.insight-card h3 a::after { content: ""; position: absolute; inset: 0; }
.insight-card:focus-within { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.insight-card h3 a:focus-visible { outline: none; }
.read-more { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 500; color: var(--ink); }
.read-more .icon { transition: transform .18s; }
.insight-card:hover .read-more .icon { transform: translateX(4px); }

/* ---------- CTA ---------- */

.cta-wrap { background: linear-gradient(180deg, var(--cream-100) 50%, var(--green-900) 50%); }
.cta { display: flex; align-items: center; gap: 32px; padding: 34px clamp(24px, 4vw, 52px); border-radius: var(--radius-lg); color: rgba(255, 255, 255, .85); background: radial-gradient(90% 160% at 50% 0%, var(--green-600), var(--green-800) 55%, var(--green-900)); box-shadow: var(--shadow-float); }
.cta-emblem { width: 64px; height: 64px; flex: none; fill: none; stroke: var(--gold-500); stroke-width: 1.2; stroke-linejoin: round; }
.cta-copy { flex: 1; }
.cta h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta p { margin-top: 8px; max-width: 46ch; font-size: .86rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .72); font-size: .78rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.2fr 1fr; gap: 48px; padding-block: 56px 40px; }
.site-footer h2 { margin-bottom: 18px; font-family: var(--font-body); font-size: .92rem; font-weight: 500; letter-spacing: 0; color: var(--white); }
.footer-brand p { margin-block: 18px 22px; max-width: 38ch; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: var(--white); font-size: .95rem; transition: background-color .18s, border-color .18s, color .18s; }
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-900); }
.footer-links li + li { margin-top: 8px; }
.site-footer a:hover { color: var(--gold-200); }
.footer-offices address { display: flex; gap: 12px; max-width: 34ch; }
.footer-offices address + address { margin-top: 18px; }
.footer-offices .icon { margin-top: 2px; font-size: 1.05rem; color: var(--gold-500); }
.footer-offices strong { display: block; font-weight: 500; color: var(--white); }
.newsletter { display: flex; margin-top: 16px; border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.newsletter input { flex: 1; min-width: 0; padding: 11px 14px; border: 0; background: transparent; color: var(--ink); font-size: .8rem; }
.newsletter input:focus-visible { outline-offset: -2px; }
.newsletter button { display: grid; place-items: center; width: 46px; border: 0; background: var(--gold-500); color: var(--white); font-size: 1rem; transition: background-color .18s; }
.newsletter button:hover { background: var(--gold-600); }
.newsletter-msg { margin-top: 10px; min-height: 1.4em; color: var(--gold-200); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .74rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; }
.footer-bottom li + li { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .3); }
.footer-bottom li { line-height: 1.1; }

.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: var(--white); font-size: 1.7rem; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: transform .18s; }
.whatsapp-fab:hover { transform: scale(1.06); }

/* ---------- Site visit dialog ---------- */

.visit-dialog { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius-lg); color: var(--ink-soft); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.visit-dialog::backdrop { background: rgba(15, 42, 32, .6); backdrop-filter: blur(3px); }
.visit-panel { position: relative; padding: 32px 30px 28px; }

/* ---------- Enquiry form (hero, contact page, pop-up) ---------- */

.enquiry { display: grid; }
.enquiry-title { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.015em; color: var(--ink); }
.enquiry-intro { margin-top: 8px; font-size: .84rem; }
.enquiry label { display: block; margin-block: 14px 6px; font-size: .78rem; font-weight: 500; color: var(--ink); }
.enquiry input, .enquiry select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd4cf; border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font-size: .9rem; }
.enquiry input:focus-visible, .enquiry select:focus-visible { outline-offset: 0; border-color: var(--gold-500); }
.enquiry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry-row > div { min-width: 0; }
.enquiry-error { margin-top: 14px; font-size: .8rem; font-weight: 400; color: #a3301f; }
.enquiry .btn { margin-top: 22px; }
.enquiry-alt { margin-top: 14px; text-align: center; font-size: .8rem; }
.enquiry-alt a { font-weight: 500; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cream-100); color: var(--ink); }
.dialog-close:hover { background: var(--cream-200); }

/* ---------- Contact page ---------- */

.page-banner {
  padding-block: clamp(48px, 7vw, 84px); color: rgba(255, 255, 255, .88);
  background:
    linear-gradient(180deg, rgba(15, 42, 32, .8), rgba(15, 42, 32, .93)),
    url("../images/locations.jpg") center / cover no-repeat var(--green-900);
}
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-banner p:last-child { margin-top: 14px; max-width: 48ch; font-size: 1rem; }

.contact { background: var(--cream-100); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: start; gap: clamp(36px, 6vw, 88px); }
.contact-list { display: grid; gap: 26px; margin-top: 28px; }
.contact-list li { display: flex; gap: 18px; max-width: 46ch; color: var(--ink-soft); }
.contact-list .icon { display: block; box-sizing: content-box; padding: 12px; border-radius: 50%; background: var(--white); color: var(--green-700); font-size: 1.25rem; }
.contact-list strong { display: block; font-weight: 500; color: var(--ink); }
.contact-list a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.contact-form { padding: 32px 30px 28px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); }

/* ---------- Inner pages ---------- */

.tone-cream { background: var(--cream-100); }
.cta-wrap-white { background: linear-gradient(180deg, var(--white) 50%, var(--green-900) 50%); }
.container-narrow { max-width: calc(780px + var(--gutter) * 2); }
.stats-inline { margin-top: 0; }
.project-grid-3 { grid-template-columns: repeat(3, 1fr); }
.insight-grid-2 { grid-template-columns: repeat(2, 1fr); }
.form-card { padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); }

.text-link { padding: 0; border: 0; background: none; font-weight: 500; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--green-900); }

.prose { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: 1.5rem; }
.prose > h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--gold-500); }
.prose strong { font-weight: 500; color: var(--ink); }
.prose a { font-weight: 500; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.back-link { margin-top: 40px; }

/* Project detail */
.detail-inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: start; gap: clamp(32px, 5vw, 72px); }
.detail-photo { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.detail-main .detail-photo { aspect-ratio: 16 / 9; }
.container-narrow .detail-photo { aspect-ratio: 15 / 7; margin-bottom: 36px; }
.detail-main h2 { margin-top: 44px; font-size: 1.6rem; }
.detail-main > p { margin-top: 14px; max-width: 62ch; font-size: .95rem; }
.detail-side { position: sticky; top: calc(var(--header-h) + 24px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border-radius: var(--radius); background: var(--cream-100); }
.facts div { padding: 18px 20px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: .74rem; color: var(--ink-mute); }
.facts dd { margin-top: 4px; font-size: .95rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.facts dd span { font-size: .74rem; font-weight: 400; color: var(--gold-600); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 22px; }
.check-list li { display: flex; gap: 14px; font-size: .86rem; line-height: 1.55; }
.check-list .icon { margin-top: 2px; font-size: 1.6rem; color: var(--green-700); stroke-width: 1.3; }
.check-list strong { display: block; font-size: .92rem; font-weight: 500; color: var(--ink); }
.nearby { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.nearby li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 400; color: var(--ink); }
.nearby .icon { color: var(--green-700); }

/* FAQs */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; font-size: 1.02rem; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 1.5px solid var(--green-700); border-bottom: 1.5px solid var(--green-700); transform: rotate(45deg); transition: transform .18s; }
.faq[open] summary::after { transform: rotate(225deg); }
.faq p { padding: 0 4px 22px; max-width: 68ch; font-size: .95rem; line-height: 1.7; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service-card .icon { font-size: 2.1rem; color: var(--green-700); stroke-width: 1.2; }
.service-card h3 { margin-top: 18px; font-size: 1.12rem; }
.service-card p { margin-block: 10px 20px; max-width: 52ch; font-size: .9rem; }
.service-card .text-link { margin-top: auto; font-size: .86rem; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--gold-500); }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--gold-600); }
.steps h3 { margin-top: 14px; }
.steps p { margin-top: 8px; font-size: .84rem; line-height: 1.6; }

/* Career */
.career-inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: start; gap: clamp(32px, 6vw, 88px); }
.career-card h2 { font-size: 1.6rem; }
.career-card > p:not(.enquiry-alt) { margin-block: 10px 22px; font-size: .9rem; }

/* Contact map */
.map { padding-bottom: clamp(56px, 7vw, 88px); background: var(--cream-100); }
.map-frame { display: block; width: 100%; height: clamp(320px, 45vw, 460px); border: 0; border-radius: var(--radius-lg); background: var(--cream-200); box-shadow: var(--shadow-card); }

/* ---------- Project landing page ---------- */

.btn-gold { background: var(--gold-500); color: var(--green-900); }
.btn-gold:hover { background: var(--gold-200); }
.btn-glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }

.project-hero { position: relative; isolation: isolate; padding-block: clamp(40px, 6vw, 72px) clamp(88px, 9vw, 120px); color: rgba(255, 255, 255, .9); background: var(--green-900); }
.project-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 42, 32, .92) 0%, rgba(15, 42, 32, .78) 45%, rgba(15, 42, 32, .45) 100%); }
.project-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: clamp(32px, 5vw, 64px); }
.project-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; font-weight: 400; color: var(--white); }
.project-hero-meta .icon { margin-left: 8px; color: var(--gold-200); }
.status-pill { padding: 4px 12px; border-radius: 999px; background: var(--gold-500); color: var(--green-900); font-size: .74rem; font-weight: 500; }
.project-hero h1 { margin-top: 16px; color: var(--white); overflow-wrap: anywhere; }
.project-hero-lede { margin-top: 16px; max-width: 46ch; font-size: 1.05rem; }
.project-hero-price { margin-top: 22px; font-size: 1.9rem; font-weight: 500; line-height: 1.2; color: var(--white); }
.project-hero-price small { display: block; font-size: .8rem; font-weight: 300; color: var(--gold-200); }
.project-hero-price span { font-size: .95rem; font-weight: 300; }
.project-hero .hero-form { color: var(--ink-soft); background: var(--white); }

.facts-bar { position: relative; z-index: 2; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: -48px; overflow: hidden; background: var(--cream-100); box-shadow: var(--shadow-card); }
.facts-bar div + div { border-left: 0; }
.facts-bar div { box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
.facts-bar dd { overflow-wrap: anywhere; }

.landing-nav { position: sticky; top: var(--header-h); z-index: 30; margin-top: 28px; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); }
.landing-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.landing-nav ul::-webkit-scrollbar { display: none; }
.landing-nav a { display: block; padding: 15px 14px; border-bottom: 2px solid transparent; font-size: .84rem; font-weight: 400; color: var(--ink); white-space: nowrap; }
.landing-nav li:first-child a { padding-left: 0; }
.landing-nav a:hover { border-bottom-color: var(--gold-500); }
.landing-section { scroll-margin-top: calc(var(--header-h) + 52px); }

.landing-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 6vw, 80px); }
.landing-text { margin-top: 16px; max-width: 62ch; font-size: 1rem; line-height: 1.75; color: var(--ink); }
.landing-text p + p { margin-top: 1em; }
.tick-list { display: grid; gap: 12px; margin-top: 26px; }
.tick-list li, .amenity-grid li { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; color: var(--ink); }
.tick-list .icon, .amenity-grid .icon { margin-top: 3px; font-size: 1.15rem; color: var(--gold-600); }
.check-list-stacked { grid-template-columns: 1fr; margin-top: 0; padding: 28px; border-radius: var(--radius-lg); background: var(--cream-100); }
.tone-cream .check-list-stacked { background: var(--white); }

.landing-callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.landing-callout h2 { font-size: 1.7rem; }
.landing-callout p { margin-top: 12px; max-width: 62ch; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.plot-table { width: 100%; border-collapse: collapse; font-size: .95rem; text-align: left; }
.plot-table th, .plot-table td { padding: 16px 22px; white-space: nowrap; }
.plot-table thead th { font-size: .76rem; font-weight: 500; color: var(--ink-mute); background: var(--cream-100); }
.plot-table tbody tr + tr { border-top: 1px solid var(--line); }
.plot-table tbody th { font-weight: 500; color: var(--ink); }
.plot-table td:last-child { font-weight: 500; color: var(--green-700); }

.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.amenity-grid li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: .9rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { max-width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--green-900); overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 20, 15, .88); }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 32px); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 1.1rem; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { top: 50%; left: 12px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 12px; transform: translateY(-50%); }

.plan-image { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.plan-image img { width: 100%; }
.video-frame { max-width: 960px; margin-inline: auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: var(--green-900); box-shadow: var(--shadow-card); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.location-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 28px; }
.nearby-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.nearby-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: .9rem; color: var(--ink); }
.nearby-list li + li { border-top: 1px solid var(--line); }
.nearby-list span { display: inline-flex; align-items: center; gap: 10px; }
.nearby-list .icon { color: var(--green-700); }
.nearby-list strong { font-weight: 500; color: var(--gold-600); white-space: nowrap; }
.nearby-spaced { margin-top: 24px; }
.banks { margin-top: 28px; font-size: .92rem; }
.banks strong { font-weight: 500; color: var(--ink); }
.faq-list-narrow { max-width: 820px; margin-inline: auto; background: transparent; }
.faq p + p { margin-top: -10px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .project-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone span { display: none; }
  .header-phone { font-size: 1.1rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .header-actions { gap: 12px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 16px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .site-nav a:last-child { border-bottom: 0; }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-slides::after { background: linear-gradient(180deg, rgba(250, 246, 237, .93) 0%, rgba(250, 246, 237, .8) 55%, rgba(250, 246, 237, .5) 100%); }
  .hero-form { margin-bottom: 44px; }
  .contact-inner { grid-template-columns: 1fr; }

  .stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .stat { justify-content: flex-start; }
  .stat:nth-child(3) { border-left: 0; }

  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .locations-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .locations-grid li:nth-child(4) { border-left: 0; }
  .testimonial-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .cta { flex-wrap: wrap; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .header-actions .btn { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head-center { align-items: stretch; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 40px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .stats { padding: 20px 6px; }
  .stat { gap: 12px; padding-inline: 12px; }
  .stat .icon { font-size: 1.7rem; }
  .stat dd { font-size: 1.45rem; }
  .project-grid, .why-grid, .insight-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 36px; }
  .about-media { padding-right: 0; padding-bottom: 70px; }
  .founder-quote { right: 14px; bottom: 0; }
  .locations-grid { grid-template-columns: 1fr 1fr; }
  .locations-grid li { padding-inline: 12px; }
  .locations-grid li:nth-child(odd) { border-left: 0; }
  .locations-grid li:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, .22); }
  .locations-grid li:last-child { grid-column: 1 / -1; }
  .testimonial-track { grid-auto-columns: 88%; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta .btn { width: 100%; }
  .visit-panel, .contact-form, .hero-form { padding: 24px 20px 22px; }
  .whatsapp-fab { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 1080px) {
  .detail-inner, .career-inner { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .project-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .check-list, .service-grid, .insight-grid-2, .project-grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px 22px; }
  .service-card { padding: 24px 22px; }
}

@media (max-width: 1080px) {
  .project-hero-inner, .landing-split, .location-split { grid-template-columns: minmax(0, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amenity-grid { grid-template-columns: 1fr; }
  .landing-callout { flex-direction: column; align-items: flex-start; }
  .project-hero .hero-buttons .btn { flex: 1 1 100%; }
  .plot-table th, .plot-table td { padding: 14px 16px; }
}
