/* ============================================================
   Fortune 8 Realty — shared shell
   Tokens per brand-spec.md §1. Six brand tokens; everything
   else is derived. Do not introduce raw hex outside this file.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:        #ffffff;
  --surface:   #ffffff;
  --surface-tint: #edf2ee;
  --fg:        #0b1f18;
  --muted:     #54655d;
  --border:    #e2e8e5;
  --accent:    #c69a4e;

  --brand:      oklch(30% 0.044 169);
  --brand-deep: oklch(22% 0.030 169);
  --brand-lift: oklch(35.8% 0.056 166);
  --accent-lift:oklch(79.9% 0.091 84);
  --accent-wash:color-mix(in oklch, var(--accent) 15%, transparent);
  --ink-inv:    oklch(97% 0.008 91.5);
  --success:    oklch(53.1% 0.095 162);
  --warn-ink:   oklch(45% 0.09 45);

  --f-display: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-hero: clamp(2.5rem, 4.6vw, 4.5rem);
  --t-h1:   clamp(2.125rem, 4vw, 3.375rem);
  --t-h2:   clamp(1.625rem, 2.5vw, 2.375rem);
  --t-h3:   1.375rem;
  --t-body: 1rem;
  --t-lead: 1.0625rem;
  --t-meta: 0.8125rem;

  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px; --s-10:128px;

  --r-sm:6px; --r-md:10px; --r-lg:18px; --r-pill:999px;

  --e-1: 0 1px 3px rgba(11, 31, 24, 0.04), 0 8px 24px rgba(11, 31, 24, 0.06);
  --e-2: 0 20px 54px rgba(11, 31, 24, 0.12);

  --ease-out: cubic-bezier(.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --dur-fast:140ms; --dur-base:240ms; --dur-slow:420ms;

  --wrap: 1200px;
  --gutter: 24px;
  --logo-h: 52px;
  --header-h: 84px;
}

/* ---------- 2. Reset & Smooth Scrolling ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: #c7d5cd #ffffff;
  scrollbar-width: thin;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: var(--t-body)/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
/* Ultra-smooth custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
}
::-webkit-scrollbar-thumb {
  background: #c7d5cd;
  border-radius: 999px;
  border: 2px solid #ffffff;
  transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}
img, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.012em; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent-lift);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--brand); color: var(--ink-inv);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-sm);
  font-weight: 600; transition: top var(--dur-fast) var(--ease-out);
  font-size: 1.125rem;
}
.skip-link:focus { top: var(--s-3); }

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

/* ---------- 3. Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-7); }
.section--ink { background: var(--brand); color: var(--ink-inv); }
.section--ink .section-lede, .section--ink .meta { color: color-mix(in oklch, var(--ink-inv) 72%, transparent); }
.section--paper, .section--tint, .section--alt {
  background: var(--surface-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { text-align: center; max-width: 62ch; margin-inline: auto; margin-bottom: var(--s-7); }
.section-head h2 {  margin-bottom: var(--s-3);  line-height: 1.2; letter-spacing: -0.02em; }
.section-lede { color: var(--muted); font-size: var(--t-lead); line-height: 1.6; }
.section--ink .section-head::after { background: var(--accent); }
.section-head::after {
  content: ''; display: block; width: 48px; height: 1px;
  background: var(--accent); margin: var(--s-5) auto 0;
}
.eyebrow {
  font: 600 var(--t-meta)/1 var(--f-body);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--s-3);
}
.meta { font: 500 var(--t-meta)/1.5 var(--f-body); color: var(--muted); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: var(--s-3) var(--s-5);
  border: 1px solid transparent; border-radius: var(--r-pill);
  font: 600 var(--t-body)/1 var(--f-body); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  letter-spacing: 0.02em;
}
.btn--primary { background: var(--brand); color: var(--ink-inv); }
.btn--primary:hover { background: var(--brand-lift); color: var(--ink-inv); }
.btn--gold { background: var(--accent); color: var(--fg); }
.btn--gold:hover { background: var(--accent-lift); color: var(--fg); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--fg); background: var(--accent-wash); }
.btn--onink { border-color: color-mix(in oklch, var(--ink-inv) 40%, transparent); color: var(--ink-inv); background: transparent; }
.btn--onink:hover { background: var(--ink-inv); color: var(--brand); }
.btn--sm { min-height: 38px; padding: var(--s-2) var(--s-4); font-size: var(--t-meta); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px;
  font: 600 var(--t-body)/1 var(--f-body); color: var(--brand);
  border-bottom: 1px solid var(--accent); padding-bottom: 3px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.link-arrow:hover { color: var(--brand-lift); border-color: var(--brand-lift); }
.link-arrow span { transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- 5. Form controls ---------- */
.field { display: grid; gap: 6px; }
.field > label { font: 600 var(--t-meta)/1.4 var(--f-body); color: var(--fg); letter-spacing: .02em; }
.input, .select, .textarea {
  min-height: 44px; width: 100%;
  padding: 10px var(--s-4);
  background: var(--surface); color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.select { appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--accent); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent);   box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 18%, transparent);
}
.input[aria-invalid='true'], .textarea[aria-invalid='true'], .select[aria-invalid='true'] {
  border-color: var(--warn-ink);
  border-width: 2px;
  padding-left: calc(var(--s-4) - 1px);
}
.field-error { font: 500 var(--t-meta)/1.4 var(--f-body); color: var(--warn-ink); min-height: 1.2em; }
.field-error:empty { display: none; min-height: 0; }
.checkline { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--t-meta); color: var(--muted); }
.checkline input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }

/* ---------- 6. Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px var(--s-4);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-pill); color: var(--fg);
  font: 500 var(--t-body)/1.2 var(--f-body); cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--accent); background: var(--accent-wash);   transform: translateY(-1px);
}
.chip[aria-pressed='true'], .chip[aria-selected='true'], .chip.is-active {
  background: var(--brand); border-color: var(--brand); color: var(--ink-inv); font-weight: 600;
}
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- 7. Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: var(--r-pill);
  font: 600 var(--t-meta)/1.2 var(--f-body); letter-spacing: .04em;
  background: var(--accent-wash); color: var(--fg);
  border: 1px solid color-mix(in oklch, var(--accent) 45%, transparent);
}
.badge--live { background: color-mix(in oklch, var(--success) 14%, transparent);
  border-color: color-mix(in oklch, var(--success) 40%, transparent); }
.badge--ink { background: color-mix(in oklch, var(--ink-inv) 14%, transparent);
  border-color: color-mix(in oklch, var(--ink-inv) 34%, transparent); color: var(--ink-inv); }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 31, 24, 0.05);
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.card:hover {
  border-color: color-mix(in oklch, var(--accent) 55%, var(--border));
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 31, 24, 0.12);
}
.card__body { padding: var(--s-5); }
.card__title { font-size: var(--t-h3); margin-bottom: 6px; }
.card__text { color: var(--muted); font-size: var(--t-body); }

/* ---------- HomeBazaar-Style Property Card ---------- */
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 31, 24, 0.05);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  cursor: pointer;
  height: 100%;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 31, 24, 0.12);
  border-color: color-mix(in oklch, var(--accent) 60%, var(--border));
}

.pcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--border);
  overflow: hidden;
}
.pcard__img-link {
  display: block;
  width: 100%;
  height: 100%;
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms var(--ease-out);
}
.pcard:hover .pcard__media img {
  transform: scale(1.05);
}

.pcard__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(20, 53, 42, 0.90);
  color: var(--ink-inv);
  font: 700 0.75rem/1 var(--f-body);
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.pcard__rating {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(11, 31, 24, 0.78);
  color: #f5b041;
  font: 700 0.75rem/1 var(--f-body);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.pcard__rating svg { width: 12px; height: 12px; fill: currentColor; }

.pcard__price-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(11, 31, 24, 0.88);
  color: var(--ink-inv);
  font: 700 0.9375rem/1 var(--f-display);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

.pcard__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  background: var(--surface);
}

.pcard__name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
  margin: 0;
  color: var(--fg);
}
.pcard__name a {
  color: var(--fg);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.pcard__name a:hover {
  color: var(--brand-lift);
}

.pcard__locality {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 0.8125rem/1.3 var(--f-body);
  color: var(--muted);
  margin-top: 2px;
}
.pcard__locality svg {
  flex: none;
  color: var(--accent);
  width: 14px;
  height: 14px;
}

.pcard__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.pcard__price-val {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.pcard__price-sub {
  font: 500 0.75rem/1 var(--f-body);
  color: var(--muted);
}

.pcard__specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin-bottom: 14px;
  flex: 1;
}
.pcard__spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pcard__spec-label {
  font: 600 0.6875rem/1 var(--f-body);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pcard__spec-val {
  font: 600 0.8125rem/1.3 var(--f-body);
  color: var(--fg);
}

.pcard__dev-line {
  font: 500 0.75rem/1.3 var(--f-body);
  color: var(--muted);
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pcard__foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
}
.pcard__foot .btn {
  width: 100%;
  font-size: 0.8125rem;
  padding: 9px 12px;
  min-height: 38px;
  font-weight: 600;
  text-align: center;
}

.btn--outline-brand {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand);
  border-radius: var(--r-pill);
  transition: all var(--dur-fast) var(--ease-out);
}
.btn--outline-brand:hover {
  background: var(--accent-wash);
  border-color: var(--accent);
  color: var(--fg);
}


/* ---------- 9. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.header--over { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; }
.header--over.is-stuck {
  background: var(--surface); border-color: var(--border);
  box-shadow: var(--e-1);
}
.header__strip {
  background: var(--brand); color: var(--ink-inv);
  font: 500 var(--t-meta)/1.4 var(--f-body);
}
.header__strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 38px; }
.header__strip a { display: inline-flex; align-items: center; min-height: 38px; border-bottom: 1px solid transparent; }
.header__strip a:hover { border-color: var(--accent); }
.header__strip-links { display: flex; gap: var(--s-5); }
.header__strip-note { color: color-mix(in oklch, var(--ink-inv) 70%, transparent); }

.header__bar { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.header--over:not(.is-stuck) .header__bar { color: var(--ink-inv); }
.header--over:not(.is-stuck) .wordmark__sub { color: color-mix(in oklch, var(--ink-inv) 70%, transparent); }
.header--over:not(.is-stuck) .nav__link { color: var(--ink-inv); }
.header--over:not(.is-stuck) .nav__link:hover { color: var(--ink-inv); border-color: var(--accent); }
.header--over:not(.is-stuck) .burger { color: var(--ink-inv); }
.header--over:not(.is-stuck) .header__actions .btn--primary { background: var(--accent); color: var(--fg); }
.header--over:not(.is-stuck) .header__actions .btn--primary:hover { background: var(--accent-lift); color: var(--fg); }

.wordmark { display: inline-flex; align-items: center; line-height: 0; }
.wordmark__logo { display: block; height: var(--logo-h, 52px); width: auto; }
.wordmark__name {
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 600;
  letter-spacing: .01em;
}
.wordmark__name em { font-style: normal; color: var(--accent); }
.wordmark__sub { font: 600 0.625rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link { 
  font: 600 0.8125rem/1 var(--f-body); 
  color: var(--fg); 
  padding: 7px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  position: relative;
  transition: all var(--dur-fast) var(--ease-out);
}
.nav__link:hover { 
  color: var(--brand); 
  background: color-mix(in oklch, var(--brand) 6%, transparent);
}
.nav__link[aria-current='page'] { 
  color: var(--brand);
  background: color-mix(in oklch, var(--accent) 22%, transparent);
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.header__actions { display: flex; align-items: center; gap: var(--s-3); }

.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border); border-radius: var(--r-sm);
  color: var(--fg); cursor: pointer;
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--brand); color: var(--ink-inv);
  transform: translateY(-100%); visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-inout), visibility var(--dur-slow);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.drawer__top .wordmark__logo { --logo-h: 48px; }
.drawer__close {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid color-mix(in oklch, var(--ink-inv) 34%, transparent);
  border-radius: var(--r-sm); color: var(--ink-inv); cursor: pointer; font-size: 1.25rem;
}
.drawer__list { padding: var(--s-5) 0 var(--s-8); }
.drawer__list a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: var(--s-3) 0;
  border-bottom: 1px solid color-mix(in oklch, var(--ink-inv) 14%, transparent);
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 500;
}
.drawer__list a[aria-current='page'] { color: var(--accent); }
.drawer__list a::after { content: '→'; font-family: var(--f-body); font-size: 1rem; opacity: .5; }
.drawer__foot { margin-top: auto; padding-bottom: var(--s-7); display: grid; gap: var(--s-3); }
.drawer__foot .meta { color: color-mix(in oklch, var(--ink-inv) 70%, transparent); }
body.is-locked { overflow: hidden; }

/* ---------- 10. Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--brand-deep); color: var(--ink-inv); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(11 31 24 / .34) 0%, rgb(11 31 24 / .78) 62%, rgb(11 31 24 / .92) 100%);
}
.hero__inner { padding-block: calc(var(--header-h) + var(--s-8)) var(--s-8); }
.hero__copy { max-width: 68rem; }
.hero__copy h1 { font-size: clamp(2rem, 3.8vw, 3.4rem); color: var(--ink-inv); margin-bottom: var(--s-3); line-height: 1.18; text-wrap: balance; }
.hero__copy p { font-size: var(--t-lead); color: color-mix(in oklch, var(--ink-inv) 86%, transparent); max-width: 64ch; line-height: 1.6; }
.hero__grid { display: flex; flex-direction: column; gap: var(--s-6); align-items: stretch; }
.hero .eyebrow { color: var(--accent-lift); margin-bottom: var(--s-2); font-weight: 600; letter-spacing: 0.1em; }

@media (min-width: 1081px) {
  .hero { min-height: min(840px, 94svh); display: flex; flex-direction: column; justify-content: center; }
  .hero__inner { padding-block: calc(var(--header-h) + var(--s-6)) var(--s-8); flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .hero__grid { flex: 1; justify-content: center; }
}

.searchpanel {
  background: var(--surface); color: var(--fg);
  border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--e-2);
}
.searchpanel__title { font-size: 1.25rem; margin-bottom: var(--s-4); }

/* Horizontal hero filter bar */
.hero-filter {
  background: var(--surface); color: var(--fg);
  border-radius: var(--r-lg); padding: var(--s-4) var(--s-5);
  box-shadow: 0 8px 32px rgb(11 31 24 / .24);
  width: 100%; max-width: 100%;
}
.hero-filter__header {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-3);
  padding-bottom: var(--s-2); border-bottom: 1px solid var(--border);
}
.hero-filter__title { font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; color: var(--brand); margin: 0; }
.hero-filter__meta { font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin: 0; }
.hero-filter__grid {
  display: grid; grid-template-columns: 1.8fr 1.2fr 1.2fr 1.2fr; gap: var(--s-3); align-items: end;
}
.hero-filter__grid .field { margin-bottom: 0; }
.hero-filter__grid .field label { margin-bottom: 6px; font-weight: 600; font-size: 0.8125rem; color: var(--fg); display: block; }
.hero-filter__grid .input, .hero-filter__grid .select { height: 46px; }
.hero-filter__grid .btn { height: 46px; display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; white-space: nowrap; }

@media (max-width: 980px) {
  .hero-filter__grid { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .hero-filter__action { grid-column: span 2; }
}
@media (max-width: 580px) {
  .hero-filter__grid { grid-template-columns: 1fr; }
  .hero-filter__action { grid-column: span 1; }
}

.segmented { display: inline-flex; padding: 4px; gap: 4px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); margin-bottom: var(--s-4); }
.segmented button {
  min-height: 44px; padding: 8px var(--s-4); border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--muted); font: 600 var(--t-meta)/1 var(--f-body); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.segmented button[aria-pressed='true'] { background: var(--brand); color: var(--ink-inv); }
.searchpanel__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.searchpanel__row--full { grid-template-columns: 1fr; }
.trustrow { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-4); }
.trustrow li { display: flex; align-items: center; gap: var(--s-2); font: 500 var(--t-meta)/1.4 var(--f-body); color: var(--fg); }
.hero .trustrow li, .phero .trustrow li, .section--ink .trustrow li { color: color-mix(in oklch, var(--ink-inv) 82%, transparent); }
.trustrow li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* Advisory Consultation Banner */
.advisory-banner {
  background: var(--brand);
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 44px 48px;
  box-shadow: 0 10px 30px rgba(11, 31, 24, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-7);
  margin-top: var(--s-4);
  margin-bottom: var(--s-6);
  position: relative;
  overflow: hidden;
}
.advisory-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(198, 154, 78, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.advisory-banner__content {
  flex: 1;
  max-width: 680px;
  position: relative;
  z-index: 1;
}
.advisory-banner__content .eyebrow {
  color: var(--accent);
  margin-bottom: var(--s-2);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.advisory-banner__content h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.875rem);
  line-height: 1.25;
  margin: 0 0 var(--s-3);
  color: #ffffff;
}
.advisory-banner__content .section-lede {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 var(--s-4);
}
.advisory-banner__content .trustrow {
  margin-top: var(--s-3);
}
.advisory-banner__content .trustrow li {
  color: #ffffff;
  font-weight: 500;
}
.advisory-banner__content .trustrow li::before {
  background: var(--accent);
}
.advisory-banner__action {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  text-align: center;
  position: relative;
  z-index: 1;
}
.advisory-banner__action .btn {
  white-space: nowrap;
  padding: 14px 28px;
  font-size: 0.9375rem;
  background: #ffffff;
  color: var(--brand);
  font-weight: 700;
  border: none;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: all var(--dur-fast) var(--ease-out);
}
.advisory-banner__action .btn:hover {
  background: #f7f5ef;
  color: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.advisory-banner__sub {
  font: 500 0.75rem/1.4 var(--f-body);
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .advisory-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: var(--s-6);
  }
  .advisory-banner__action {
    width: 100%;
    align-items: stretch;
  }
  .advisory-banner__action .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 11. Page hero (interior pages) ---------- */
.phero { position: relative; isolation: isolate; background: var(--brand); color: var(--ink-inv);   min-height: min(480px, 56vh);
}
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(11 31 24 / .62) 0%, rgb(11 31 24 / .86) 100%); }
.phero__inner { padding-block: calc(var(--header-h) + var(--s-9)) var(--s-9); max-width: 60ch; }
.phero__inner h1 { color: var(--ink-inv); margin-bottom: var(--s-3); }
.phero__inner p { color: color-mix(in oklch, var(--ink-inv) 80%, transparent); font-size: var(--t-lead); }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font: 500 var(--t-meta)/1.4 var(--f-body);
  color: color-mix(in oklch, var(--ink-inv) 72%, transparent); margin-bottom: var(--s-4);   font-size: 0.875rem;
}
.crumbs a { border-bottom: 1px solid transparent; }
.crumbs a:hover { border-color: var(--accent); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .5; }
.crumbs li { display: flex; gap: 6px; }
.crumbs [aria-current='page'] { color: var(--ink-inv); }

/* ---------- 12. Footer ---------- */
.footer { background: var(--brand-deep); color: var(--ink-inv); padding-block: var(--s-8) var(--s-6); margin-top: auto; }
.footer a { transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.footer a:hover { color: var(--accent-lift); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-7) var(--s-5); }
.footer__col h3 { font-size: 1.0625rem; color: var(--ink-inv); margin-bottom: var(--s-4); }
.footer__col li { font: 500 var(--t-body)/1.5 var(--f-body); color: color-mix(in oklch, var(--ink-inv) 76%, transparent);   margin-bottom: 4px;
}
.footer__col a { display: inline-block; padding: 6px 0; }
.footer .wordmark__sub { color: color-mix(in oklch, var(--ink-inv) 62%, transparent); }
.footer .wordmark__logo { --logo-h: 56px; }
.footer__blurb { color: color-mix(in oklch, var(--ink-inv) 74%, transparent); font-size: var(--t-body); margin-top: var(--s-4); max-width: 34ch; }
.footer__legal { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid color-mix(in oklch, var(--ink-inv) 16%, transparent);
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); justify-content: space-between;
  font: 500 var(--t-meta)/1.6 var(--f-body); color: color-mix(in oklch, var(--ink-inv) 60%, transparent); }

/* ---------- 13. Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: var(--s-5); bottom: var(--s-5); z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: var(--ink-inv);
  box-shadow: var(--e-1), 0 0 0 1px color-mix(in oklch, var(--accent) 50%, transparent);
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.wa-float:hover { background: var(--brand-lift); color: var(--ink-inv); transform: scale(1.06); }
.wa-float__tip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--brand-deep); color: var(--ink-inv);
  padding: 8px 12px; border-radius: var(--r-sm); white-space: nowrap;
  font: 600 var(--t-meta)/1 var(--f-body);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; }

/* ---------- 14. Enquiry band ---------- */
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.enquiry__panel { background: var(--surface); color: var(--fg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s-6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-grid .span-2 { grid-column: 1 / -1; }
.formstatus { font: 500 var(--t-meta)/1.5 var(--f-body); margin-top: var(--s-3); min-height: 1.4em; }
.formstatus[data-tone='ok'] { color: var(--success); }
.formstatus[data-tone='err'] { color: var(--warn-ink); }

/* ---------- 15. Carousel ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; gap: var(--s-5);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: var(--s-2); }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; width: min(360px, 82vw); flex: none; }
.carousel__nav { display: flex; gap: var(--s-2); }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--fg);
  cursor: pointer; display: grid; place-items: center; font-size: 1.125rem;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.carousel__btn:hover { border-color: var(--accent); background: var(--accent-wash); }
.carousel__btn:disabled { opacity: .4; cursor: default; }
.carousel__btn:disabled:hover { border-color: var(--border); background: var(--surface); }

/* ---------- 16. Listing layout (properties) ---------- */
.listing { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: var(--s-7); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + var(--s-4));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-5); max-height: calc(100vh - var(--header-h) - var(--s-8)); overflow-y: auto; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.filters__head h2 { font-size: 1.25rem; }
.fgroup { border-top: 1px solid var(--border); padding-top: var(--s-4); margin-top: var(--s-4); }
.fgroup:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.fgroup__title { font: 600 var(--t-meta)/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg); margin-bottom: var(--s-3); }
.fgroup__opts { display: grid; gap: 6px; max-height: 216px; overflow-y: auto; }
.fopt { display: flex; align-items: center; gap: var(--s-3); min-height: 40px;
  font: 500 var(--t-body)/1.3 var(--f-body); color: var(--fg); cursor: pointer; }
.fopt input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.fopt span:last-child { margin-left: auto; color: var(--muted); font-size: var(--t-meta); }
.range-row { display: flex; align-items: center; gap: var(--s-3); }
.range-row .input { text-align: center; }

.results__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-3); margin-bottom: var(--s-5); padding-bottom: var(--s-4); border-bottom: 1px solid var(--border); }
.results__count { font-family: var(--f-display); font-size: 1.375rem; }
.results__count b { font-weight: 600; }
.results__tools { display: flex; align-items: center; gap: var(--s-3); }
.results__tools .select { min-width: 200px; }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s-5); }
.pager { display: flex; justify-content: center; align-items: center; gap: var(--s-2); margin-top: var(--s-7); }
.pager button {
  min-width: 44px; height: 44px; padding: 0 var(--s-3);
  border: 1px solid var(--border); background: var(--surface); color: var(--fg);
  border-radius: var(--r-sm); font: 600 var(--t-meta)/1 var(--f-body); cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.pager button:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-wash); }
.pager button[aria-current='page'] { background: var(--brand); border-color: var(--brand); color: var(--ink-inv); }
.pager button:disabled { opacity: .4; cursor: default; }
.empty { text-align: center; padding: var(--s-8) var(--s-4); border: 1px dashed var(--border);
  border-radius: var(--r-lg); background: var(--surface); }
.filter-open { display: none; }

/* ---------- 17. Services ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.svc + .svc { margin-top: var(--s-9); }
.svc:nth-child(even) .svc__media { order: -1; }
.svc__index { font: 600 var(--t-meta)/1 var(--f-body); letter-spacing: .16em; color: var(--accent); }
.svc__body h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: var(--s-3) 0 var(--s-4); }
.svc__list { display: grid; gap: var(--s-3); margin: var(--s-5) 0; }
.svc__list li { display: flex; gap: var(--s-3); align-items: flex-start;
  font: 500 var(--t-body)/1.55 var(--f-body); color: var(--muted); }
.svc__list li::before { content: ''; flex: none; width: 14px; height: 1px; background: var(--accent);
  margin-top: .7em; }
.svc__media { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.svc__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- 18. Steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); counter-reset: step; }
.step { position: relative; padding-top: var(--s-6); }
.step::before { counter-increment: step; content: '0' counter(step);
  font-family: var(--f-display); font-size: 2.25rem; line-height: 1; color: var(--accent);
  position: absolute; top: 0; left: 0; }
.step h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.step p { color: var(--muted); font-size: var(--t-body); }
.section--ink .step p { color: color-mix(in oklch, var(--ink-inv) 74%, transparent); }

/* ---------- 19. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.stat { border-left: 2px solid var(--accent); padding-left: var(--s-4); }
.stat__num { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; font-weight: 500; color: var(--brand); }
.stat__label { font: 500 var(--t-meta)/1.4 var(--f-body); color: var(--muted); margin-top: 6px; }
.section--ink .stat__num { color: #ffffff !important; font-weight: 600; }
.section--ink .stat { border-left: 2px solid var(--accent); }
.section--ink .stat__label { color: rgba(255, 255, 255, 0.88); font-size: 0.9375rem; }

/* ---------- 20. Charts ---------- */
.chart { margin-top: var(--s-5); }
.chart__plot { position: relative; }
.chart__plot canvas { display: block; width: 100%; }
.chart__legend { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-4); }
.chart__key { display: flex; align-items: center; gap: 8px; font: 500 var(--t-meta)/1 var(--f-body); color: var(--muted); }
.chart__key i { width: 14px; height: 3px; border-radius: 2px; background: currentColor; flex: none; }
.chart__src { margin-top: var(--s-3); font: 500 var(--t-meta)/1.5 var(--f-body); color: var(--muted); }

.bars { display: grid; gap: var(--s-4); }
.bars__row { display: grid; grid-template-columns: minmax(120px, 1.1fr) minmax(0, 3fr) auto;
  gap: var(--s-4); align-items: center; }
.bars__label { font: 500 var(--t-body)/1.3 var(--f-body); }
.bars__track { height: 22px; background: var(--border); border-radius: var(--r-pill); overflow: hidden; }
.bars__fill { height: 100%; width: calc(var(--v) / var(--max) * 100%); background: var(--brand); border-radius: var(--r-pill); }
.bars__row:nth-child(even) .bars__fill { background: var(--brand-lift); }
.bars__value { font: 600 var(--t-meta)/1 var(--f-body); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }

/* ---------- 21. Quotes & Client Stories ---------- */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); height: 100%;
  box-shadow: 0 2px 10px rgba(11, 31, 24, 0.05);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.quote:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 31, 24, 0.10); }
.quote__text { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.5; color: var(--fg); }
.quote__foot { margin-top: auto; display: flex; align-items: center; gap: var(--s-3);
  padding-top: var(--s-4); border-top: 1px solid var(--border); }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--brand); color: var(--ink-inv); display: grid; place-items: center; font: 600 0.9375rem/1 var(--f-display); border: 2px solid var(--accent); }
.quote__who { font: 600 var(--t-body)/1.3 var(--f-body); }
.quote__what { font: 500 var(--t-meta)/1.4 var(--f-body); color: var(--muted); }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }

/* Client Stories Enhanced Cards */
.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(11, 31, 24, 0.05);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 31, 24, 0.10);
  border-color: color-mix(in oklch, var(--accent) 55%, var(--border));
}
.story-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.story-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 600 0.75rem/1 var(--f-body);
  color: var(--brand);
  background: color-mix(in oklch, var(--brand) 10%, transparent);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.story-title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  margin: 0;
}
.story-text {
  font: 400 0.9375rem/1.6 var(--f-body);
  color: var(--muted);
  flex: 1;
  margin: 0;
}
.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 0.75rem/1.2 var(--f-body);
  color: var(--accent);
  background: var(--accent-wash);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  width: fit-content;
}
.story-client {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--ink-inv);
  display: grid;
  place-items: center;
  font: 600 1rem/1 var(--f-display);
  border: 2px solid var(--accent);
  flex: none;
}
.story-who {
  font: 600 0.9375rem/1.3 var(--f-body);
  color: var(--fg);
  margin: 0;
}
.story-meta {
  font: 500 0.75rem/1.4 var(--f-body);
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- 22. Accordion ---------- */
.acc { border-top: 1px solid var(--border); }
.acc__item { border-bottom: 1px solid var(--border); }
.acc__btn {
  width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  background: transparent; border: 0; padding: var(--s-4) 0; cursor: pointer; text-align: left;
  font-family: var(--f-display); font-size: 1.1875rem; font-weight: 500; color: var(--fg);
  transition: color var(--dur-fast) var(--ease-out);
}
.acc__btn:hover { color: var(--brand-lift); }
.acc__btn i { flex: none; width: 22px; height: 22px; display: grid; place-items: center; color: var(--accent); font-style: normal; transition: transform var(--dur-base) var(--ease-out); }
.acc__btn[aria-expanded='true'] i { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease-inout); }
.acc__panel > div { overflow: hidden; }
.acc__btn[aria-expanded='true'] + .acc__panel { grid-template-rows: 1fr; }
.acc__panel p { padding-bottom: var(--s-4); color: var(--muted); max-width: 72ch; }

/* ---------- 23. Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl caption { text-align: left; padding: var(--s-4) var(--s-5); font: 600 var(--t-meta)/1.4 var(--f-body); color: var(--muted); border-bottom: 1px solid var(--border); }
.tbl th, .tbl td { padding: var(--s-3) var(--s-5); text-align: left; border-bottom: 1px solid var(--border); font-size: var(--t-body); }
.tbl thead th { background: var(--brand); color: var(--ink-inv); font: 600 var(--t-meta)/1.4 var(--f-body);
  letter-spacing: .06em; text-transform: uppercase; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl a { border-bottom: 1px solid var(--accent); }

/* ---------- 24. Misc blocks ---------- */
.split-note { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: var(--s-8); align-items: start; }
.prose h3 { margin: var(--s-6) 0 var(--s-3); }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: var(--s-4); max-width: 68ch; }
.prose ul { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.prose ul li { display: flex; gap: var(--s-3); color: var(--muted); font-size: var(--t-body); }
.prose ul li::before { content: ''; flex: none; width: 12px; height: 1px; background: var(--accent); margin-top: .75em; }

.callout { background: var(--accent-wash); border: 1px solid color-mix(in oklch, var(--accent) 40%, transparent);
  border-radius: var(--r-md); padding: var(--s-4) var(--s-5); display: flex; gap: var(--s-3); }
.callout p { font: 500 var(--t-meta)/1.6 var(--f-body); color: var(--fg); }
.callout strong { font-weight: 700; }

.builderrail { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.builderrail li { padding: 10px var(--s-4); border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); font: 600 var(--t-body)/1.2 var(--f-body); color: var(--fg); }
.builderrail li:hover { border-color: var(--accent); }
.section--ink .builderrail li { background: transparent; border-color: color-mix(in oklch, var(--ink-inv) 26%, transparent); color: var(--ink-inv); }
.section--ink .builderrail li:hover { border-color: var(--accent); }

.guide__media { aspect-ratio: 16/10; background: var(--border); }
.guide__media img { width: 100%; height: 100%; object-fit: cover; }

.frame { aspect-ratio: 4/3; background: var(--border); border-radius: var(--r-lg); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 25. Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__actions { margin-left: auto; }
  .header__actions .btn--primary { display: none; }
  .hero__grid { gap: var(--s-5); }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0; z-index: 110; max-height: 86vh; margin: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%);
    transition: transform var(--dur-slow) var(--ease-inout); display: flex; flex-direction: column; }
  .filters.is-open { transform: translateY(0); }
  .filters__head { position: sticky; top: 0; background: var(--surface); padding-bottom: var(--s-3); }
  .filter-open { display: inline-flex; }
  .enquiry, .svc, .split-note { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__media { order: 0; }
  .steps, .stats, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  :root { --logo-h: 46px; }
}
@media (max-width: 768px) {
  :root { --gutter: 16px; --header-h: 70px; --logo-h: 42px; }
  .member-grid { grid-template-columns: 1fr; }
  .section { padding-block: var(--s-7); }
  .section--tight { padding-block: var(--s-6); }
  .hero__inner { padding-block: calc(var(--header-h) + var(--s-7)) var(--s-7); }
  .phero__inner { padding-block: calc(var(--header-h) + var(--s-6)) var(--s-6); }
  .searchpanel__row, .form-grid, .grid-3, .grid-2, .grid-4, .steps, .stats, .footer__grid { grid-template-columns: 1fr; }
  .header__strip-links { display: none; }
  .header__strip-note { display: block; font-size: 0.75rem; text-align: center; width: 100%; }
  .bars__row { grid-template-columns: 1fr auto; }
  .bars__track { grid-column: 1 / -1; }
  .results__tools { width: 100%; }
  .results__tools .select { flex: 1; min-width: 0; }
  .listing-grid { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: var(--s-4); bottom: var(--s-4); }
  .wa-float__tip { display: none; }
  .trustrow { gap: var(--s-2) var(--s-4); }
  .section-head { margin-bottom: var(--s-6); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important; animation-iteration-count: 1 !important;
    transition-duration: 1ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   NEW: Project Detail Page Components
   ============================================================ */
.proj-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: start;
}
.proj-main { min-width: 0; }
.proj-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

/* Scroll-to-section navigation */
.proj-scrollnav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 2px solid var(--border);
  margin-bottom: 36px;
}
.proj-scrollnav::-webkit-scrollbar {
  display: none;
}
.proj-scrollnav button {
  flex: none;
  padding: 12px 20px;
  border: 0;
  background: transparent;
  font: 500 0.9375rem/1 var(--f-body);
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.proj-scrollnav button:hover {
  color: var(--brand);
}
.proj-scrollnav button[aria-selected='true'] {
  color: var(--brand);
  border-color: var(--accent);
  font-weight: 600;
}

/* Project header (below hero, above gallery) */
.proj-header { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-5); flex-wrap: wrap; margin-bottom: var(--s-6); }
.proj-header__left { flex: 1; min-width: 0; }
.proj-header__title { font-family: var(--f-display); font-size: clamp(1.625rem, 2.8vw, 2.25rem); font-weight: 500; line-height: 1.15; margin: var(--s-2) 0 var(--s-2); }
.proj-header__dev { font: 500 var(--t-body)/1.4 var(--f-body); color: var(--muted); }
.proj-header__right { text-align: right; flex: none; }
.proj-price-badge .price { font-family: var(--f-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; color: var(--brand); display: block; line-height: 1.1; }
.proj-price-badge .price-note { font: 500 var(--t-meta)/1 var(--f-body); color: var(--muted); display: block; margin-top: 4px; }

/* Fixed & bulletproof project gallery */
.proj-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
  height: 440px;
  margin-bottom: 40px;
}
@media (min-width: 1280px) {
  .proj-gallery {
    grid-template-columns: minmax(0, 1fr) 320px;
    height: 460px;
  }
}
.proj-gallery__main {
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: #0d201a;
}
.proj-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.proj-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklch, var(--muted) 35%, transparent) transparent;
  padding-right: 2px;
}
.proj-gallery__thumbs::-webkit-scrollbar {
  width: 4px;
}
.proj-gallery__thumbs::-webkit-scrollbar-thumb {
  background: color-mix(in oklch, var(--muted) 30%, transparent);
  border-radius: 999px;
}
.proj-gallery__thumb {
  flex: 1 1 0;
  min-height: 80px;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #0d201a;
}
.proj-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-base) var(--ease-out);
}
.proj-gallery__thumb:hover img { transform: scale(1.05); }
.proj-gallery__thumb.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--accent);
  border-radius: var(--r-md);
  pointer-events: none;
}

.proj-status { position: absolute; top: 16px; left: 16px; z-index: 10; }

.proj-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.proj-overview__item { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 18px; background: var(--surface); }
.proj-overview__label { font: 500 var(--t-meta)/1.4 var(--f-body); color: var(--muted); margin-bottom: 4px; }
.proj-overview__value { font-family: var(--f-display); font-weight: 500; font-size: 1.0625rem; color: var(--fg); }
.proj-overview__value--accent { color: var(--accent); font-weight: 600; }

.proj-section { margin-top: 48px; }
.proj-section:first-child { margin-top: 0; }
.proj-section__title { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h3); border-bottom: 2px solid var(--border); padding-bottom: 12px; margin-bottom: 20px; position: relative; }
.proj-section__title::before { content: ''; position: absolute; bottom: -2px; left: 0; width: 48px; height: 2px; background: var(--accent); }

.proj-highlights { display: grid; gap: 12px; }
.proj-highlights li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-body); color: var(--muted); line-height: 1.6; }
.proj-highlights li::before { content: '✓'; flex: none; color: var(--accent); font-weight: 700; margin-top: 1px; }

.cfg-table { width: 100%; border-collapse: collapse; }
.cfg-table th { background: var(--brand); color: var(--ink-inv); padding: 10px 16px; text-align: left; font: 600 var(--t-meta)/1 var(--f-body); text-transform: uppercase; letter-spacing: 0.05em; }
.cfg-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: var(--t-body); }
.cfg-table tbody tr:last-child td { border-bottom: 0; }
.cfg-table tbody tr:hover { background: var(--accent-wash); }
.cfg-table__price { font-weight: 600; color: var(--brand); white-space: nowrap; }

.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 4px 20px rgba(11, 31, 24, 0.08); }
.sidebar-card__head { background: var(--brand); color: var(--ink-inv); padding: 16px 20px 14px; }
.sidebar-card__head h3 { font-family: var(--f-display); font-size: 1.125rem; font-weight: 500; color: var(--ink-inv); margin: 0 0 4px; line-height: 1.25; }
.sidebar-card__head p { font: 500 var(--t-meta)/1.35 var(--f-body); color: color-mix(in oklch, var(--ink-inv) 75%, transparent); margin: 0; }
.sidebar-price-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; background: color-mix(in oklch, var(--accent) 22%, transparent); border: 1px solid color-mix(in oklch, var(--accent) 45%, transparent); border-radius: var(--r-pill); font: 600 0.8125rem/1 var(--f-body); color: var(--ink-inv); }
.sidebar-price-pill strong { color: var(--accent); }
.sidebar-card__body { padding: 16px 20px 18px; }
.sidebar-card__body .field { gap: 4px; }
.sidebar-card__body .field > label { font-size: 0.78125rem; font-weight: 600; color: var(--fg); margin-bottom: 2px; }
.sidebar-card__body .input, .sidebar-card__body .select { min-height: 40px; height: 40px; padding: 8px 12px; font-size: 0.875rem; border-radius: var(--r-sm); }
.sidebar-card__body .btn { min-height: 44px; font-size: 0.9375rem; font-weight: 600; }
.sidebar-trust { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; font: 500 0.75rem/1.3 var(--f-body); color: var(--muted); text-align: center; }
.sidebar-whatsapp-alt { margin-top: 12px; padding-top: 10px; border-top: 1px dashed color-mix(in oklch, var(--border) 80%, transparent); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sidebar-whatsapp-alt span { font: 500 0.75rem/1 var(--f-body); color: var(--muted); }
.sidebar-whatsapp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 36px; padding: 6px 12px; border-radius: var(--r-sm); background: color-mix(in oklch, #25d366 12%, transparent); border: 1px solid color-mix(in oklch, #25d366 40%, transparent); color: #128c7e; font: 600 0.8125rem/1 var(--f-body); text-decoration: none; transition: all var(--dur-fast) var(--ease-out); }
.sidebar-whatsapp-btn:hover { background: #25d366; color: #ffffff; border-color: #25d366; }
.sidebar-card__stats { display: grid; gap: 0; margin-bottom: 14px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.sidebar-stat { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-bottom: 1px solid var(--border); }
.sidebar-stat:last-child { border-bottom: 0; }
.sidebar-stat__label { font: 500 0.75rem/1 var(--f-body); color: var(--muted); }
.sidebar-stat__value { font-weight: 600; font-size: 0.8125rem; color: var(--fg); text-align: right; max-width: 58%; }

.proj-developer { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.proj-developer__name { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; margin-bottom: 4px; }
.proj-developer__meta { font: 500 var(--t-meta)/1.4 var(--f-body); color: var(--muted); }
.proj-developer__badge { padding: 6px 12px; background: var(--accent-wash); border: 1px solid color-mix(in oklch, var(--border) 50%, transparent); border-radius: var(--r-pill); font: 600 var(--t-meta)/1 var(--f-body); color: var(--fg); }

.proj-connectivity { display: flex; flex-wrap: wrap; gap: 12px; }
.proj-conn-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); font-size: var(--t-body); }
.proj-conn-item__icon { width: 20px; height: 20px; color: var(--accent); flex: none; }
.proj-conn-item__place { font-weight: 600; font-size: 0.875rem; }
.proj-conn-item__dist { font-size: var(--t-meta); color: var(--muted); }

.source-note { display: flex; gap: 12px; padding: 16px 20px; background: var(--accent-wash); border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-top: 32px; }
.source-note p { font: 500 var(--t-meta)/1.6 var(--f-body); color: var(--fg); line-height: 1.6; }
.source-note a { border-bottom: 1px solid var(--accent); }

.conf-low { border-left-color: var(--warn-ink); background: color-mix(in oklch, var(--warn-ink) 8%, transparent); }

/* ============================================================
   NEW: Partners/Members Page Components
   ============================================================ */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.member-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.member-card:hover { transform: translateY(-4px); border-color: color-mix(in oklch, var(--accent) 55%, var(--border)); box-shadow: var(--e-1); }

.member-card__avatar-wrap { padding: 32px 32px 0; display: flex; justify-content: center; }
.member-card__avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--brand); color: var(--ink-inv); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-size: 2.25rem; font-weight: 500; border: 3px solid var(--accent); flex: none; position: relative; }
.member-card__avatar::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent); }

.member-card__body { padding: 20px 28px 28px; flex: 1; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.member-card__name { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; color: var(--fg); }
.member-card__role { font: 600 var(--t-meta)/1 var(--f-body); color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.member-card__divider { width: 36px; height: 1px; background: var(--accent); margin: 8px auto; }
.member-card__localities { font-size: var(--t-meta); color: var(--muted); line-height: 1.5; }
.member-card__experience { font-size: var(--t-meta); color: var(--muted); }
.member-card__rera { font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--muted); padding: 4px 10px; background: var(--bg); border-radius: var(--r-sm); border: 1px solid var(--border); display: inline-block; margin-top: 4px; }
.member-card__actions { margin-top: auto; padding-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.member-card__actions .btn { font-size: var(--t-meta); min-height: 40px; }

/* PLACEHOLDER BADGE */
.ph-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; background: color-mix(in oklch, orange 15%, transparent); border: 1px solid orange; border-radius: var(--r-sm); font: 600 0.6875rem/1 var(--f-body); color: oklch(50% 0.12 55); vertical-align: middle; }
.ph-badge::before { content: '[PLACEHOLDER]'; }

@media (max-width: 1080px) {
  .proj-layout { grid-template-columns: 1fr; }
  .proj-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
  .proj-gallery {
    grid-template-columns: minmax(0, 1fr) 240px;
    height: 380px;
  }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .proj-overview { grid-template-columns: 1fr 1fr; }
  .proj-gallery {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 10px;
    margin-bottom: 24px;
  }
  .proj-gallery__main {
    aspect-ratio: 16/10;
    height: auto;
    width: 100%;
    border-radius: var(--r-md);
  }
  .proj-gallery__thumbs {
    display: flex;
    flex-direction: row;
    height: 76px;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .proj-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }
  .proj-gallery__thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 76px;
    min-height: auto;
    border-radius: var(--r-sm);
  }
  .proj-developer { grid-template-columns: 1fr; }
  .proj-header { flex-direction: column; }
  .proj-price-badge { text-align: left; }
}

@media (max-width: 480px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .carousel__track > * { width: min(300px, 90vw); }
  .pcard__name { font-size: 1.125rem; }
  .proj-overview { grid-template-columns: 1fr; }
  .cfg-table th, .cfg-table td { padding: 8px 10px; font-size: var(--t-meta); }
}
.filters-overlay { display: none; position: fixed; inset: 0; background: rgba(11,31,24,0.4); z-index: 105; backdrop-filter: blur(2px); }
.filters.is-open + .filters-overlay, .filters-overlay.is-open { display: block; }
@media (max-width: 1180px) {
  body.is-locked .filters-overlay { display: block; }
}

/* ============================================================
   Preloader — premium real-estate curtain animation
   ============================================================ */
#f8-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--brand-deep, #0f1f18);
  overflow: hidden;
  pointer-events: all;
}

/* Gold horizontal scan-line */
#f8-preloader::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent, #c69a4e) 30%,
    #fff8e8 50%,
    var(--accent, #c69a4e) 70%,
    transparent 100%
  );
  box-shadow: 0 0 18px 2px rgba(198,154,78,.65);
  animation: f8-scanline 1.6s cubic-bezier(.4,0,.6,1) infinite;
  opacity: 0;
  animation-delay: .3s;
}

/* Decorative corner brackets */
#f8-preloader::after {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(198,154,78,.18);
  border-radius: 2px;
  pointer-events: none;
}

@keyframes f8-scanline {
  0%   { top: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Corner accent marks */
.f8-preloader__corner {
  position: absolute;
  width: 28px; height: 28px;
  border-color: var(--accent, #c69a4e);
  border-style: solid;
  border-width: 0;
  opacity: 0;
  animation: f8-corner-in .6s var(--ease-out, cubic-bezier(.22,.61,.36,1)) .15s forwards;
}
.f8-preloader__corner--tl { top: 28px;  left: 28px;  border-top-width: 1.5px; border-left-width: 1.5px; }
.f8-preloader__corner--tr { top: 28px;  right: 28px; border-top-width: 1.5px; border-right-width: 1.5px; }
.f8-preloader__corner--bl { bottom: 28px; left: 28px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.f8-preloader__corner--br { bottom: 28px; right: 28px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

@keyframes f8-corner-in {
  to { opacity: 1; }
}

/* Logo container */
.f8-preloader__logo-wrap {
  position: relative;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
  animation: f8-logo-in .7s var(--ease-out, cubic-bezier(.22,.61,.36,1)) .2s forwards;
}
@keyframes f8-logo-in {
  to { opacity: 1; transform: translateY(0); }
}

.f8-preloader__logo {
  height: 68px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* Progress bar container */
.f8-preloader__bar-wrap {
  width: min(280px, 60vw);
  margin-bottom: 18px;
  opacity: 0;
  animation: f8-fadein .5s ease .55s forwards;
}

.f8-preloader__bar-track {
  height: 1.5px;
  background: rgba(198,154,78,.2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.f8-preloader__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent, #c69a4e), #f5d98b, var(--accent, #c69a4e));
  background-size: 200% 100%;
  border-radius: 999px;
  transition: width .04s linear;
  animation: f8-shimmer 1.4s linear infinite;
}

@keyframes f8-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Counter number */
.f8-preloader__counter {
  font-family: var(--f-display, 'Roboto', system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(245,235,210,.45);
  opacity: 0;
  animation: f8-fadein .5s ease .55s forwards;
}

.f8-preloader__tagline {
  position: absolute;
  bottom: 52px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--f-body, 'Open Sans', system-ui, sans-serif);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(198,154,78,.4);
  opacity: 0;
  animation: f8-fadein .6s ease .4s forwards;
}

@keyframes f8-fadein {
  to { opacity: 1; }
}

/* Exit animation — curtain split upward */
#f8-preloader.f8-exit {
  animation: f8-exit .75s cubic-bezier(.77,0,.18,1) forwards;
}

@keyframes f8-exit {
  0%   { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 0 100% 0); opacity: 1; }
}

/* Prevent body scroll while preloader active */
body.f8-loading {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  #f8-preloader,
  #f8-preloader::before,
  .f8-preloader__logo-wrap,
  .f8-preloader__bar-wrap,
  .f8-preloader__counter,
  .f8-preloader__tagline,
  .f8-preloader__corner {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #f8-preloader.f8-exit {
    animation: none !important;
    display: none !important;
  }
}
