/* ==========================================================================
   Kawinna Properties
   Design system: ui-ux-pro-max → design-system/kawinna-properties/MASTER.md
   Pattern: Trust & Authority + Hero-Centric  ·  Style: restrained Glassmorphism
   Variance 4 · Motion 5 · Density 3 (spacious)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour — Real Estate/Property palette (trust teal) + luxury gold accent */
  --color-primary:            #0F766E;
  --color-primary-dark:       #0B5F58;
  --color-on-primary:         #FFFFFF;
  --color-secondary:          #14B8A6;
  --color-accent:             #A16207;   /* text/rules on light — passes 4.5:1 */
  --color-accent-dark:        #855209;
  --color-on-accent:          #FFFFFF;
  --color-gold-light:         #E3B04B;   /* gold that clears 4.5:1 on dark ink */
  --color-gold-cta:           #E3B04B;   /* filled CTAs — dark ink on gold, 7.2:1 */
  --color-gold-cta-dark:      #D19E33;

  --color-ink:                #0B2F2C;   /* darkest teal, hero + footer ground */
  --color-ink-2:              #103F3A;
  --color-background:         #FAFAF9;
  --color-tint:               #F2F8F6;
  --color-card:               #FFFFFF;
  --color-foreground:         #134E4A;
  --color-muted-foreground:   #475569;
  --color-border:             #99F6E4;   /* teal border, tinted sections */
  --color-border-neutral:     #E2E8F0;
  --color-destructive:        #B91C1C;
  --color-ring:               #0F766E;

  --color-on-dark:            #FFFFFF;
  --color-on-dark-muted:      rgba(255, 255, 255, 0.78);

  /* Type */
  --font-display: 'Cinzel', 'Georgia', 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-xs:   0.8125rem;   /* 13px — labels only, never body copy */
  --text-sm:   0.9375rem;   /* 15px */
  --text-base: 1rem;        /* 16px */
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
  --text-3xl:  clamp(1.6rem,  1.25rem + 1.6vw, 2.3rem);
  --text-4xl:  clamp(2rem,    1.5rem + 2.4vw, 3rem);

  /* Space — density 3/10 (spacious) */
  --space-2xs: 0.5rem;    /*  8px */
  --space-xs:  0.75rem;   /* 12px */
  --space-sm:  1rem;      /* 16px */
  --space-md:  1.5rem;    /* 24px */
  --space-lg:  2.5rem;    /* 40px */
  --space-xl:  4rem;      /* 64px */
  --space-2xl: 6rem;      /* 96px */

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 47, 44, 0.06), 0 2px 8px rgba(11, 47, 44, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 47, 44, 0.08), 0 12px 32px rgba(11, 47, 44, 0.07);
  --shadow-lg: 0 18px 48px rgba(11, 47, 44, 0.16);

  --container: 1200px;
  --header-h: 76px;

  /* Motion — standard tier, 300-450ms, back-out easing */
  --ease-out:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.28, 0.64, 1);
  --dur-fast:  160ms;
  --dur:       260ms;
  --dur-slow:  420ms;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::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;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* Base size for every inline icon. Contextual rules below (.btn .icon, .card__icon
   .icon, …) are more specific and still win; this only stops an icon used without
   a sizing context from expanding to fill its container. */
.icon {
  display: inline-block;
  vertical-align: -0.22em;
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* Headings default to the body face — Cinzel's inscriptional caps are slow to
   scan at card-title sizes. The display face is opted into below, and reserved
   for headlines, project names and the wordmark. */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 0 0 var(--space-sm);
  text-wrap: balance;
}

.hero__title,
.page-hero__title,
.section-title,
.project-card__title,
.featured__title,
.founder-card__name,
.cta-band h2,
.brand__name,
.stat__value {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.008em;
}

p { margin: 0 0 var(--space-sm); }
p:last-child { margin-bottom: 0; }

a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-primary-dark); }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--color-gold-light); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-sm); top: -100px; z-index: 999;
  background: var(--color-primary); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: var(--space-sm); color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section { padding-block: var(--space-2xl); }
.section--tight { padding-block: var(--space-xl); }
.section--tint { background: var(--color-tint); }
.section--dark {
  background:
    radial-gradient(90rem 40rem at 15% -10%, rgba(20, 184, 166, 0.20), transparent 60%),
    linear-gradient(160deg, var(--color-ink) 0%, var(--color-ink-2) 100%);
  color: var(--color-on-dark);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--color-on-dark-muted); }

.section-head { max-width: 62ch; margin-bottom: var(--space-lg); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-xs);
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--color-gold-light); }

.section-title { font-size: var(--text-3xl); margin-bottom: var(--space-xs); }
.section-lede {
  font-size: var(--text-lg);
  color: var(--color-muted-foreground);
  max-width: 60ch;
}
.section--dark .section-lede { color: var(--color-on-dark-muted); }
.section-head--center .section-lede { margin-inline: auto; }

.grid { display: grid; gap: var(--space-md); }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); }
                             .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-on-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px;                 /* ≥44px touch target */
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-back),
              box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn--primary:hover { background: var(--color-primary-dark); }
.btn--gold   { --btn-bg: var(--color-gold-cta); --btn-fg: var(--color-ink); }
.btn--gold:hover { background: var(--color-gold-cta-dark); }
.btn--wa     { --btn-bg: #1FA855; --btn-fg: #FFFFFF; }
.btn--wa:hover { background: #17843F; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--ghost:hover { --btn-bg: var(--color-primary); --btn-fg: #fff; }
.btn--onDark {
  --btn-bg: rgba(255, 255, 255, 0.10); --btn-fg: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--onDark:hover { --btn-bg: rgba(255, 255, 255, 0.20); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: var(--text-sm);
  text-decoration: none; color: var(--color-primary);
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform var(--dur) var(--ease-back); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--color-ink);
  color: var(--color-on-dark-muted);
  font-size: var(--text-xs);
}
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-sm); min-height: 40px; padding-block: 0.4rem;
}
.topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.topbar a,
.topbar__group > span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--color-on-dark-muted); text-decoration: none;
}
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--color-gold-light); }
@media (max-width: 720px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 249, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
  transition: box-shadow var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: rgba(250, 250, 249, 0.94); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md); min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; letter-spacing: 0.02em; color: var(--color-ink);
}
.brand__tag {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-accent);
}

.nav { display: flex; align-items: center; gap: var(--space-md); }
.nav__list { display: flex; align-items: center; gap: var(--space-md); }
.nav__link {
  position: relative;
  display: block; padding: 0.6rem 0;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--color-foreground); text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0.15rem;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--color-primary); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--color-primary); font-weight: 600; }

.nav__cta { display: flex; align-items: center; gap: var(--space-2xs); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--color-border-neutral); border-radius: var(--radius-sm);
  background: var(--color-card); color: var(--color-foreground);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.nav-toggle[aria-expanded="true"] .icon--menu  { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-md);
    background: var(--color-card);
    border-bottom: 1px solid var(--color-border-neutral);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out),
                transform var(--dur) var(--ease-out),
                visibility 0s linear var(--dur);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0); opacity: 1; visibility: visible;
    transition-delay: 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 0.95rem 0.25rem; border-bottom: 1px solid var(--color-border-neutral); }
  .nav__link::after { display: none; }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: var(--space-md); }
  .nav__cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  color: var(--color-on-dark);
  background:
    radial-gradient(70rem 45rem at 78% 12%, rgba(20, 184, 166, 0.28), transparent 62%),
    radial-gradient(50rem 35rem at 8% 88%, rgba(161, 98, 7, 0.24), transparent 60%),
    linear-gradient(155deg, #0B2F2C 0%, #103F3A 52%, #0B2F2C 100%);
  padding-block: clamp(2.75rem, 2rem + 4vw, 4.5rem) var(--space-xl);
  overflow: hidden;
}
.hero__pattern {
  position: absolute; inset: 0; z-index: -1;
  background-image: url('../img/blueprint.svg');
  background-size: 620px 620px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero__inner {
  display: grid; gap: var(--space-xl); align-items: center;
}
@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-2xl); }
}
.hero__copy { max-width: 34rem; }
.hero__title {
  font-size: var(--text-4xl);
  color: #fff;
  margin-bottom: var(--space-md);
}
.hero__title em {
  font-style: normal;
  color: var(--color-gold-light);
  display: block;
}
.hero__lede {
  font-size: var(--text-lg);
  color: var(--color-on-dark-muted);
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.hero__note {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: var(--space-md);
  font-size: var(--text-sm); color: var(--color-on-dark-muted);
}
.hero__note .icon { width: 18px; height: 18px; color: var(--color-gold-light); flex: none; }

.hero__art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.05);
}

/* Glass stats strip */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 780px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  background: rgba(11, 47, 44, 0.42);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  font-weight: 700; color: var(--color-gold-light);
  line-height: 1.1;
}
.stat__label {
  font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-on-dark-muted); margin-top: 0.35rem;
}

/* Page header for interior pages */
.page-hero {
  position: relative; isolation: isolate;
  color: var(--color-on-dark);
  background:
    radial-gradient(60rem 30rem at 80% 0%, rgba(20, 184, 166, 0.26), transparent 60%),
    linear-gradient(150deg, #0B2F2C 0%, #103F3A 100%);
  padding-block: clamp(2.75rem, 2rem + 4vw, 4.5rem);
  overflow: hidden;
}
.page-hero__pattern {
  position: absolute; inset: 0; z-index: -1;
  background-image: url('../img/blueprint.svg'); background-size: 520px 520px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-hero__title { font-size: var(--text-3xl); color: #fff; max-width: 22ch; }
.page-hero__lede { color: var(--color-on-dark-muted); font-size: var(--text-lg); max-width: 58ch; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: var(--text-xs); color: var(--color-on-dark-muted);
  margin-bottom: var(--space-sm);
}
.breadcrumb a { color: var(--color-gold-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; opacity: 0.5; }
.breadcrumb ol { display: contents; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-back),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-border); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--color-tint);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}
.card__icon .icon { width: 26px; height: 26px; }
.card__title { font-size: var(--text-lg); margin-bottom: 0.4rem; }
.card__text { color: var(--color-muted-foreground); font-size: var(--text-sm); }

.tick-list { display: grid; gap: 0.55rem; margin-top: var(--space-sm); }
.tick-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: var(--text-sm); color: var(--color-muted-foreground);
}
.tick-list .icon {
  width: 18px; height: 18px; flex: none; margin-top: 3px;
  color: var(--color-primary);
}
.section--dark .tick-list li { color: var(--color-on-dark-muted); }
.section--dark .tick-list .icon { color: var(--color-gold-light); }

/* --------------------------------------------------------------------------
   8. Projects
   -------------------------------------------------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: var(--space-2xs);
  margin-bottom: var(--space-lg);
}
.filter {
  min-height: 44px; padding: 0.55rem 1.15rem;
  border: 1px solid var(--color-border-neutral); border-radius: var(--radius-pill);
  background: var(--color-card); color: var(--color-muted-foreground);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease-out);
}
.filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter[aria-pressed="true"] {
  background: var(--color-primary); border-color: var(--color-primary); color: #fff;
}

.project-card {
  display: flex; flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-back), box-shadow var(--dur) var(--ease-out);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.project-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.project-card__media svg { width: 100%; height: 100%; display: block; }
.project-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-md); }
.project-card__title { font-size: var(--text-xl); margin-bottom: 0.25rem; }
.project-card__title a { color: inherit; text-decoration: none; }
.project-card__title a::after { content: ''; position: absolute; inset: 0; }
.project-card { position: relative; }
.project-card__meta {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: var(--text-sm); color: var(--color-muted-foreground);
  margin-bottom: var(--space-sm);
}
.project-card__meta .icon { width: 16px; height: 16px; color: var(--color-primary); flex: none; }
.project-card__summary { flex: 1; font-size: var(--text-sm); color: var(--color-muted-foreground); }
.project-card__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
  margin-top: var(--space-md); padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-neutral);
}
.fact__label {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-muted-foreground);
}
.fact__value { font-size: var(--text-sm); font-weight: 600; color: var(--color-foreground); }
.project-card__foot { margin-top: var(--space-md); }

.badge {
  position: absolute; top: var(--space-sm); left: var(--space-sm);
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--color-ink);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary);
}
.badge--ongoing::before   { background: #16A34A; }
.badge--upcoming::before  { background: var(--color-accent); }
.badge--completed::before { background: var(--color-muted-foreground); }

.is-hidden { display: none !important; }

/* Featured project — a wide split block so the portfolio section does not read
   as one more row of identical cards. */
.featured {
  position: relative;
  display: grid;
  background: var(--color-card);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
}
@media (min-width: 920px) {
  .featured { grid-template-columns: 1.1fr 1fr; }
}
.featured__media { position: relative; min-height: 260px; }
.featured__media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured__body {
  display: flex; flex-direction: column;
  padding: var(--space-lg) var(--space-md);
}
@media (min-width: 920px) { .featured__body { padding: var(--space-lg); } }
.featured__title { font-size: var(--text-2xl); margin-bottom: 0.3rem; }
.featured__title a { color: inherit; text-decoration: none; }
.featured__title a:hover { color: var(--color-primary); }
.featured__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin: var(--space-md) 0;
  padding: var(--space-md) 0;
  border-block: 1px solid var(--color-border-neutral);
}
@media (min-width: 620px) { .featured__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* The featured column is narrow for four facts — tighten the type so the
   values stay on one line instead of wrapping mid-figure. */
.featured__facts .fact__label { font-size: 0.625rem; letter-spacing: 0.09em; }
.featured__facts .fact__value { font-size: 0.875rem; }
.featured__actions { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: auto; }
.featured .badge { top: var(--space-md); left: var(--space-md); }

/* Project detail */
.project-detail { display: grid; gap: var(--space-xl); }
@media (min-width: 980px) { .project-detail { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.spec-table { width: 100%; border-collapse: collapse; margin-top: var(--space-md); }
.spec-table th, .spec-table td {
  padding: 0.85rem 0; text-align: left; font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border-neutral); vertical-align: top;
}
.spec-table th { width: 42%; color: var(--color-muted-foreground); font-weight: 600; }
.spec-table td { font-weight: 600; color: var(--color-foreground); }

/* Gallery */
.gallery {
  display: grid; gap: var(--space-xs);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery__cell { display: block; }
.gallery__cell:first-child { grid-column: span 2; }
@media (min-width: 700px) { .gallery__cell:first-child { grid-row: span 2; } }

.gallery__item {
  position: relative; display: block; width: 100%; padding: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius); overflow: hidden;
  background: var(--color-tint);
  cursor: pointer; text-decoration: none;
  transition: transform var(--dur) var(--ease-back), box-shadow var(--dur) var(--ease-out);
}
.gallery__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery__item img, .gallery__item svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.85rem 0.7rem;
  font-family: var(--font-body);
  font-size: var(--text-xs); font-weight: 600; color: #fff; text-align: left;
  background: linear-gradient(to top, rgba(11, 47, 44, 0.88), transparent);
}

/* Lightbox */
.lightbox {
  width: min(96vw, 1100px); max-width: none;
  max-height: 92vh; padding: 0; border: 0;
  background: transparent; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgba(7, 26, 24, 0.92); backdrop-filter: blur(4px); }
.lightbox__figure {
  margin: 0; background: var(--color-ink);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.lightbox__stage {
  display: flex; align-items: center; justify-content: center;
  background: #06201E; max-height: 76vh; overflow: hidden;
}
.lightbox__stage img, .lightbox__stage svg {
  max-width: 100%; max-height: 76vh; width: auto; height: auto;
  object-fit: contain; display: block;
}
.lightbox__caption {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding: 0.85rem var(--space-md);
  font-size: var(--text-sm); color: var(--color-on-dark-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.lightbox__count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lightbox__btn {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(11, 47, 44, 0.82); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out);
}
.lightbox__btn:hover { background: var(--color-primary); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__btn--close { top: -18px; right: -8px; }
.lightbox__btn--prev  { left: -8px;  top: 50%; transform: translateY(-50%); }
.lightbox__btn--next  { right: -8px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev .icon { transform: rotate(90deg); }
.lightbox__btn--next .icon { transform: rotate(-90deg); }
@media (max-width: 780px) {
  .lightbox__btn--close { top: -56px; right: 0; }
  .lightbox__btn--prev  { left: 4px; }
  .lightbox__btn--next  { right: 4px; }
}

/* Floor plan viewer */
.planviewer {
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  overflow: hidden;
}
.planviewer__tabs {
  display: flex; flex-wrap: wrap; gap: 0;
  background: var(--color-tint);
  border-bottom: 1px solid var(--color-border-neutral);
}
.planviewer__tab {
  flex: 1 1 auto; min-height: 52px; padding: 0.85rem 1.1rem;
  border: 0; border-bottom: 3px solid transparent;
  background: none; cursor: pointer;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  color: var(--color-muted-foreground); white-space: nowrap;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out);
}
.planviewer__tab:hover { color: var(--color-primary); background: rgba(15, 118, 110, 0.05); }
.planviewer__tab[aria-selected="true"] {
  color: var(--color-primary); border-bottom-color: var(--color-accent);
  background: var(--color-card);
}
.planviewer__panel { display: grid; gap: var(--space-md); padding: var(--space-md); }
.planviewer__panel[hidden] { display: none; }
.planviewer__drawing {
  margin: 0; padding: var(--space-sm);
  background: #fff;
  border: 1px solid var(--color-border-neutral); border-radius: var(--radius);
}
.planviewer__meta {
  display: grid; gap: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-neutral);
}
@media (min-width: 620px) {
  .planviewer__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .planviewer__cta  { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .planviewer__meta { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 16.5rem); align-items: end; }
  .planviewer__cta  { grid-column: auto; }
}
.planviewer__value { font-size: var(--text-base); font-weight: 600; margin: 0.15rem 0 0; }
.planviewer__value--price { color: var(--color-primary); font-size: var(--text-lg); }
.planviewer__cta .btn { width: 100%; }

/* Amenities grid on the project page */
.amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
@media (min-width: 560px) { .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.amenity {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
  padding: var(--space-sm);
  background: var(--color-card);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 500;
  transition: border-color var(--dur) var(--ease-out);
}
.amenity:hover { border-color: var(--color-border); }
.amenity .icon { width: 24px; height: 24px; color: var(--color-primary); }

/* Nearby / location advantages */
.nearby { display: grid; gap: 0; }
.nearby li {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm);
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--color-border-neutral);
  font-size: var(--text-sm);
}
.nearby li:last-child { border-bottom: 0; }
.nearby__distance { font-weight: 700; color: var(--color-primary); white-space: nowrap; }

/* Configuration / price table */
.plans { width: 100%; border-collapse: collapse; }
.plans caption { text-align: left; font-size: var(--text-sm); color: var(--color-muted-foreground); padding-bottom: var(--space-xs); }
.plans th, .plans td {
  padding: 0.85rem 0.75rem; text-align: left; font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border-neutral);
}
.plans thead th {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-muted-foreground); border-bottom-width: 2px;
}
.plans tbody th { font-weight: 600; color: var(--color-foreground); }
.plans td:last-child { font-weight: 600; color: var(--color-primary); white-space: nowrap; }
.plans tbody tr:hover { background: var(--color-tint); }
.plans th:first-child, .plans td:first-child { padding-left: 0; }
.plans th:last-child,  .plans td:last-child  { padding-right: 0; text-align: right; }

/* RERA / compliance callout */
.compliance {
  display: flex; gap: var(--space-sm); align-items: flex-start;
  padding: var(--space-md);
  background: var(--color-tint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-top: var(--space-lg);
}
.compliance .icon { width: 26px; height: 26px; color: var(--color-primary); }
.compliance__label {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-muted-foreground);
}
.compliance__value { font-weight: 600; font-size: var(--text-base); }
.compliance p { font-size: var(--text-sm); color: var(--color-muted-foreground); margin-top: 0.35rem; }

.sticky-cta {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}
@media (min-width: 980px) { .sticky-cta { position: sticky; top: calc(var(--header-h) + 24px); } }

/* --------------------------------------------------------------------------
   9. Vision / founder
   -------------------------------------------------------------------------- */
.vision { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 980px) { .vision { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-2xl); } }

.founder-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}
.founder-card__portrait { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #103F3A, #0B2F2C); }
.founder-card__portrait svg { width: 100%; height: 100%; }
.founder-card__caption {
  padding: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 47, 44, 0.55);
}
.founder-card__name { font-family: var(--font-display); font-size: var(--text-xl); color: #fff; margin: 0; }
.founder-card__role { font-size: var(--text-sm); color: var(--color-gold-light); margin: 0.15rem 0 var(--space-sm); }
.founder-card__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-sm); font-weight: 600;
  color: #fff; text-decoration: none;
  min-height: 44px;
}
.founder-card__link .icon { width: 18px; height: 18px; color: var(--color-gold-light); }
.founder-card__link:hover { color: var(--color-gold-light); }

.pull-quote {
  border-left: 3px solid var(--color-gold-light);
  padding-left: var(--space-md);
  margin: 0 0 var(--space-lg);
}
.pull-quote p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem);
  font-weight: 300; line-height: 1.62;
  color: #fff; margin-bottom: var(--space-sm);
}
.pull-quote cite {
  font-style: normal; font-size: var(--text-sm); font-weight: 600;
  color: var(--color-gold-light); letter-spacing: 0.04em;
}

.pillars { display: grid; gap: var(--space-md); }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar {
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pillar__title {
  font-size: var(--text-lg); color: #fff;
  display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.5rem;
}
.pillar__title .icon { width: 20px; height: 20px; color: var(--color-gold-light); flex: none; margin-top: 4px; }
.pillar p { font-size: var(--text-sm); color: var(--color-on-dark-muted); }

/* --------------------------------------------------------------------------
   10. Timeline / process
   -------------------------------------------------------------------------- */
.timeline { position: relative; display: grid; gap: var(--space-lg); padding-left: var(--space-lg); }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: ''; position: absolute; left: calc(-1 * var(--space-lg) + 1px); top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--color-card); border: 3px solid var(--color-primary);
}
.timeline__year {
  display: inline-block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.12em; color: var(--color-accent); margin-bottom: 0.2rem;
}
.timeline__title { font-size: var(--text-lg); margin-bottom: 0.3rem; }
.timeline__item p { font-size: var(--text-sm); color: var(--color-muted-foreground); max-width: 68ch; }

.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: var(--space-sm);
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: #FDF6E8;
  color: var(--color-accent);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1;
}
.section--dark .step__num {
  border-color: var(--color-gold-light); background: rgba(227, 176, 75, 0.14);
  color: var(--color-gold-light);
}
.step__title { font-size: var(--text-lg); margin-bottom: 0.35rem; }

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
  display: flex; flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.quote-card__mark { width: 30px; height: 30px; color: var(--color-border); margin-bottom: var(--space-sm); }
.quote-card blockquote { margin: 0 0 var(--space-md); font-size: var(--text-base); line-height: 1.65; }
.quote-card__person { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--color-tint); border: 1px solid var(--color-border);
  color: var(--color-primary); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: 0.04em;
}
.quote-card__name { font-weight: 600; font-size: var(--text-sm); }
.quote-card__role { font-size: var(--text-xs); color: var(--color-muted-foreground); }

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(45rem 25rem at 85% 20%, rgba(161, 98, 7, 0.32), transparent 62%),
    linear-gradient(140deg, #0B5F58 0%, #0B2F2C 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}
.cta-band__inner {
  display: grid; gap: var(--space-md); align-items: center;
}
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr auto; gap: var(--space-xl); } }
.cta-band h2 { color: #fff; font-size: var(--text-2xl); }
.cta-band p { color: var(--color-on-dark-muted); max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: var(--space-md); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }

.label { font-size: var(--text-sm); font-weight: 600; color: var(--color-foreground); }
.label .req { color: var(--color-destructive); margin-left: 0.15rem; }
.hint { font-size: var(--text-xs); color: var(--color-muted-foreground); }

.input, .select, .textarea {
  width: 100%; min-height: 48px;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-body); font-size: var(--text-base);
  color: var(--color-foreground);
  background: var(--color-card);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px;
  padding-right: 2.6rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--color-secondary); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: var(--color-destructive);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.14);
}
.error {
  display: flex; align-items: flex-start; gap: 0.35rem;
  font-size: var(--text-sm); font-weight: 500; color: var(--color-destructive);
}
.error .icon { width: 17px; height: 17px; margin-top: 3px; vertical-align: 0; }

/* Hints occasionally carry a leading icon (e.g. reply times). */
.hint .icon { width: 15px; height: 15px; color: var(--color-primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: grid; gap: 0.5rem;
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px solid;
  margin-bottom: var(--space-md);
}
.alert h2, .alert h3 { font-size: var(--text-lg); margin: 0; }
.alert p { font-size: var(--text-sm); margin: 0; }
.alert--ok    { background: #ECFDF5; border-color: #6EE7B7; color: #065F46; }
.alert--error { background: #FEF2F2; border-color: #FCA5A5; color: #7F1D1D; }
.alert--error a { color: #7F1D1D; font-weight: 600; }
.alert ul { display: grid; gap: 0.3rem; margin-top: 0.25rem; }
.alert li { font-size: var(--text-sm); }

.contact-layout { display: grid; gap: var(--space-xl); align-items: start; }
@media (min-width: 980px) { .contact-layout { grid-template-columns: 1.25fr 0.75fr; gap: var(--space-2xl); } }

.contact-list { display: grid; gap: var(--space-md); }
.contact-item { display: flex; gap: var(--space-sm); align-items: flex-start; }
.contact-item__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none; border-radius: var(--radius-sm);
  background: var(--color-tint); border: 1px solid var(--color-border); color: var(--color-primary);
}
.contact-item__icon .icon { width: 21px; height: 21px; }
.contact-item__label {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-muted-foreground);
}
.contact-item__value { font-size: var(--text-base); font-weight: 600; color: var(--color-foreground); }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.map-frame {
  border: 1px solid var(--color-border-neutral); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); background: var(--color-tint);
}
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }

/* --------------------------------------------------------------------------
   14. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--space-xs); max-width: 60rem; margin-inline: auto; }
.faq__item {
  background: var(--color-card);
  border: 1px solid var(--color-border-neutral);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  width: 100%; min-height: 56px; padding: var(--space-sm) var(--space-md);
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: var(--text-base); font-weight: 600;
  color: var(--color-foreground);
}
.faq__q:hover { color: var(--color-primary); }
.faq__q .icon {
  width: 22px; height: 22px; flex: none; color: var(--color-primary);
  transition: transform var(--dur) var(--ease-out);
}
.faq__q[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq__a { padding: 0 var(--space-md) var(--space-md); }
.faq__a p { font-size: var(--text-sm); color: var(--color-muted-foreground); max-width: 68ch; }
.faq__a[hidden] { display: none; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-ink);
  color: var(--color-on-dark-muted);
  padding-top: var(--space-2xl);
  margin-top: var(--space-2xl);
}
.footer__grid { display: grid; gap: var(--space-lg); }
@media (min-width: 760px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--space-xl); } }
.footer__title {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-gold-light); margin-bottom: var(--space-sm);
}
.footer__about p { font-size: var(--text-sm); max-width: 42ch; }
.footer__links { display: grid; gap: 0.15rem; }
.footer__links a {
  display: inline-block; padding: 0.4rem 0;
  color: var(--color-on-dark-muted); font-size: var(--text-sm); text-decoration: none;
}
.footer__links a:hover { color: #fff; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand { margin-bottom: var(--space-sm); }
.site-footer .brand__mark { width: 40px; height: 40px; }

.social { display: flex; gap: 0.5rem; margin-top: var(--space-md); }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-on-dark-muted);
  transition: all var(--dur) var(--ease-out);
}
.social a:hover { background: var(--color-gold-light); border-color: var(--color-gold-light); color: var(--color-ink); }
.social .icon { width: 20px; height: 20px; }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-xl); padding-block: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--text-xs);
}
.footer__bottom a { color: var(--color-on-dark-muted); }

/* --------------------------------------------------------------------------
   16. Floating WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 56px; padding: 0.85rem 1.35rem 0.85rem 1.1rem;
  border-radius: var(--radius-pill);
  background: #1FA855; color: #fff;
  font-size: var(--text-sm); font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 30px rgba(31, 168, 85, 0.42);
  transition: transform var(--dur) var(--ease-back), background-color var(--dur) var(--ease-out);
}
.wa-float:hover { background: #17843F; color: #fff; transform: translateY(-3px); }
.wa-float .icon { width: 26px; height: 26px; flex: none; }
@media (max-width: 560px) {
  .wa-float { padding: 0; width: 58px; height: 58px; justify-content: center; right: 14px; bottom: 14px; }
  .wa-float span { display: none; }
}
@supports (padding: max(0px)) {
  .wa-float { bottom: max(18px, env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------------------
   16b. Mobile action bar — Call / WhatsApp / Enquire, pinned bottom
   -------------------------------------------------------------------------- */
.action-bar { display: none; }

@media (max-width: 720px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--color-card);
    border-top: 1px solid var(--color-border-neutral);
    box-shadow: 0 -6px 24px rgba(11, 47, 44, 0.16);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.22rem; min-height: 60px; padding: 0.5rem 0.25rem;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em;
    color: var(--color-foreground); text-decoration: none;
    transition: background-color var(--dur-fast) var(--ease-out);
  }
  .action-bar a + a { border-left: 1px solid var(--color-border-neutral); }
  .action-bar .icon { width: 21px; height: 21px; color: var(--color-primary); }
  .action-bar a:active { background: var(--color-tint); }
  .action-bar a.action-bar__wa { background: #1FA855; color: #fff; }
  .action-bar a.action-bar__wa .icon { color: #fff; }
  .action-bar a.action-bar__wa:active { background: #17843F; }

  /* The floating bubble would sit on top of the bar. */
  .wa-float { display: none; }

  /* Keep the bar from covering the end of the page. */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------------------
   17. Scroll reveal (motion tier: Standard, 300-450ms, stagger 60ms)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-back);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .project-card:hover, .wa-float:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .wa-float, .topbar, .cta-band, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
}
