/* ==========================================================================
   ALPHA HOMES — DESIGN TOKENS
   The entire visual identity lives here. Change a token, change the site.
   ========================================================================== */

:root {
  /* --- Colour -------------------------------------------------------------
     A quiet, architectural palette: near-black green-ink, warm bone paper,
     and a restrained brass accent used only for hairlines and small marks.
     Deliberately avoids the black-and-gold broker cliché.                   */
  --ink:        #0B1310;
  --ink-800:    #10201A;
  --ink-700:    #17302708;   /* reserved */
  --green-900:  #0F2A22;
  --green-800:  #17362D;
  --green-600:  #2A5749;

  --brass:      #A5854E;
  --brass-ink:  #8A6C33;   /* brass that passes contrast as small text on canvas */
  --brass-2:    #C8AC77;
  --brass-3:    #E4D7BC;

  --canvas:     #F7F4EE;
  --canvas-2:   #F0EBE1;
  --canvas-3:   #E7E0D2;
  --paper:      #FFFFFF;

  --text:       #101815;
  --text-2:     #4C5A55;
  --text-3:     #7B8783;
  --on-dark:    #F2EFE8;
  --on-dark-2:  #A9B4AF;
  --on-dark-3:  #8E9995;

  --line:       #DED7C9;
  --line-2:     #EAE4D8;
  --line-dark:  rgba(242, 239, 232, 0.16);
  --line-dark-2:rgba(242, 239, 232, 0.08);

  --danger:     #A33A2B;
  --success:    #2E6A4F;

  /* --- Typography --------------------------------------------------------- */
  --font-display: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow:  0.6875rem;                              /* 11px */
  --fs-micro:    0.75rem;                                /* 12px */
  --fs-sm:       0.8125rem;                              /* 13px */
  --fs-base:     clamp(0.9375rem, 0.9rem + 0.2vw, 1.0rem);
  --fs-lede:     clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  --fs-h4:       clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-h3:       clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --fs-h2:       clamp(1.875rem, 1.45rem + 1.9vw, 3.125rem);
  --fs-h1:       clamp(2.375rem, 1.6rem + 3.4vw, 4.5rem);
  --fs-hero:     clamp(2.75rem, 1.5rem + 5.2vw, 6rem);
  --fs-stat:     clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);

  --lh-tight: 1.04;
  --lh-snug:  1.18;
  --lh-body:  1.62;

  --ls-eyebrow: 0.16em;
  --ls-display: -0.018em;

  /* --- Space (8px base) --------------------------------------------------- */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 40px;  --s-8: 56px;
  --s-9: 72px;  --s-10: 96px; --s-11: 128px;

  --section-y: clamp(64px, 8vw, 132px);
  --section-y-sm: clamp(48px, 5.5vw, 88px);

  /* --- Layout ------------------------------------------------------------- */
  --container: 1280px;
  --container-narrow: 860px;
  --gutter: clamp(20px, 4.2vw, 56px);

  /* --- Form / shape ------------------------------------------------------- */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11,19,16,.04), 0 4px 14px rgba(11,19,16,.05);
  --shadow-md: 0 2px 6px rgba(11,19,16,.05), 0 18px 44px rgba(11,19,16,.09);
  --shadow-lg: 0 30px 80px rgba(11,19,16,.16);

  /* --- Motion ------------------------------------------------------------- */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.4, 0, .2, 1);
  --t-fast: 180ms;
  --t: 320ms;
  --t-slow: 700ms;

  /* --- Z ------------------------------------------------------------------ */
  --z-header: 100;
  --z-drawer: 200;
  --z-sticky: 90;
  --z-modal: 300;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t: 0ms; --t-slow: 0ms; }
}

/* ==========================================================================
   BASE / RESET / TYPOGRAPHY
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--brass-3); color: var(--ink); }

/* --- Headings -------------------------------------------------------------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

h1, .h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.18; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.3; }

.hero-type { font-size: var(--fs-hero); line-height: 0.98; letter-spacing: -0.026em; }

em, .italic { font-style: italic; }
.display em { font-style: italic; color: var(--brass); }

/* --- Utility type ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--on-dark-2); }
.eyebrow--light::before { background: var(--brass-2); }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--text-2);
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.muted { color: var(--text-2); }
.micro { font-size: var(--fs-micro); line-height: 1.5; color: var(--text-3); }
.small { font-size: var(--fs-sm); }
.mono-num { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

p + p { margin-top: 1em; }

/* --- Prose (insights, legal) ---------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--fs-h3); margin: 2.2em 0 .6em; }
.prose h3 { font-size: var(--fs-h4); margin: 1.8em 0 .5em; font-family: var(--font-ui); font-weight: 600; letter-spacing: -0.01em; }
.prose p { margin-bottom: 1.05em; color: var(--text-2); }
.prose > p:first-child { color: var(--text); font-size: var(--fs-lede); line-height: 1.5; }
.prose ul { margin: 0 0 1.4em; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: .55em;
  color: var(--text-2);
}
.prose ul li::before {
  content: '';
  position: absolute; left: 2px; top: .72em;
  width: 8px; height: 1px; background: var(--brass);
}
.prose a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--brass-ink); }
.prose strong { font-weight: 600; color: var(--text); }

.callout {
  border-left: 2px solid var(--brass);
  background: var(--canvas-2);
  padding: var(--s-5) var(--s-6);
  margin: 1.8em 0;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: 1.42;
  color: var(--text);
}

/* --- Skip link ------------------------------------------------------------- */
.skip-link {
  position: absolute; top: -60px; left: var(--s-4);
  background: var(--ink); color: var(--on-dark);
  padding: 10px 18px; z-index: 999; border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  transition: top var(--t) var(--ease);
}
.skip-link:focus { top: var(--s-4); }

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

/* ==========================================================================
   LAYOUT — containers, sections, grids, rules, media
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: 1480px; }

.section { padding-block: var(--section-y); position: relative; }
.section--sm { padding-block: var(--section-y-sm); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.section--tint { background: var(--canvas-2); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--green { background: var(--green-900); color: var(--on-dark); }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--green h1, .section--green h2, .section--green h3, .section--green h4 { color: var(--on-dark); }
.section--dark .lede, .section--green .lede { color: var(--on-dark-2); }
.section--dark .muted, .section--green .muted { color: var(--on-dark-2); }
.section--dark .micro, .section--green .micro { color: var(--on-dark-3); }

/* Hairline rules — a recurring motif */
.rule { height: 1px; background: var(--line); border: 0; width: 100%; }
.rule--dark { background: var(--line-dark); }
.rule--brass { background: var(--brass); width: 34px; height: 1px; }

/* Section head */
.section-head { display: grid; gap: var(--s-4); max-width: 780px; }
.section-head--wide { max-width: 980px; }
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0,1fr);
  align-items: end;
  gap: var(--s-5);
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s-8); }
  .section-head--split .section-head__aside { padding-bottom: 6px; }
}
.section-head + * { margin-top: var(--s-8); }
.section-head--tight + * { margin-top: var(--s-6); }

/* Grids */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-4); }
@media (min-width: 680px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-5); }
}

.split {
  display: grid;
  gap: var(--s-7);
  align-items: start;
}
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
  /* The aside (almost always the lead form) follows the reader down long pages.
     Capped to the viewport so a tall form can still be scrolled inside itself. */
  .split--sticky > :last-child {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
  .split--sticky > :last-child::-webkit-scrollbar { width: 6px; }
  .split--sticky > :last-child::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
  .split--40-60 { grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); }
  .split--60-40 { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); }
}

/* Grid/flex children default to min-width:auto, which lets wide content
   (comparison tables, code, long strings) stretch the whole layout.        */
.split > *, .grid > *, .feature > *, .stack > *, .info-grid > *, .form-grid > * { min-width: 0; }

.stack { display: grid; gap: var(--s-5); }
.stack--sm { gap: var(--s-3); }
.stack--lg { gap: var(--s-7); }

.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.cluster--sm { gap: var(--s-2); }

/* --- Media / image slots ---------------------------------------------------
   Until real photography arrives, .media renders an elegant architectural
   placeholder. Drop an <img> inside and the placeholder disappears.        */
.media {
  position: relative;
  overflow: hidden;
  background: var(--canvas-3);
  border-radius: var(--r-sm);
  isolation: isolate;
}
.media::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(11,19,16,.07);
  border-radius: inherit;
  pointer-events: none;
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.media--zoom:hover img { transform: scale(1.045); }

.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--tall { aspect-ratio: 3 / 4; }

.media__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--s-4);
  background:
    linear-gradient(180deg, rgba(11,19,16,.02), rgba(11,19,16,.10)),
    repeating-linear-gradient(135deg, rgba(11,19,16,.030) 0 1px, transparent 1px 11px),
    linear-gradient(140deg, var(--canvas-3) 0%, var(--canvas-2) 55%, var(--canvas-3) 100%);
}
.media__ph-mark {
  position: absolute; top: var(--s-4); left: var(--s-4);
  width: 18px; height: 18px;
  border-left: 1px solid var(--brass); border-top: 1px solid var(--brass);
  opacity: .65;
}
.media__ph-mark--br {
  top: auto; left: auto; right: var(--s-4); bottom: var(--s-4);
  border-left: 0; border-top: 0;
  border-right: 1px solid var(--brass); border-bottom: 1px solid var(--brass);
}
.media__ph-label {
  font-size: var(--fs-eyebrow);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.media--dark .media__ph {
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.30)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 1px, transparent 1px 11px),
    linear-gradient(140deg, #14251E 0%, #0C1714 60%, #16281F 100%);
}
.media--dark .media__ph-label { color: var(--on-dark-3); }
.media--dark::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }

/* Asset request note (dev-facing, subtle) */
.asset-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-micro); color: var(--text-3);
  border: 1px dashed var(--line); border-radius: var(--r-pill);
  padding: 5px 12px;
}
.asset-note::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* ==========================================================================
   COMPONENTS — buttons, cards, stats, badges, accordion, tables, marquee
   ========================================================================== */

/* --- Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
  --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  min-height: 50px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease), transform var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--on-dark); --btn-bd: var(--ink); }
.btn--primary:hover { --btn-bg: var(--green-800); --btn-bd: var(--green-800); }

.btn--brass { --btn-bg: var(--brass); --btn-fg: #14100A; --btn-bd: var(--brass); }
.btn--brass:hover { --btn-bg: var(--brass-2); --btn-bd: var(--brass-2); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--ink); --btn-bg: transparent; }

.btn--light { --btn-bg: var(--paper); --btn-fg: var(--text); --btn-bd: var(--paper); }
.btn--light:hover { --btn-bg: var(--canvas-2); --btn-bd: var(--canvas-2); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: var(--line-dark); }
.btn--outline-light:hover { --btn-bd: var(--on-dark); }

.btn--wa { --btn-bg: #1FA855; --btn-fg: #fff; --btn-bd: #1FA855; }
.btn--wa:hover { --btn-bg: #17914A; --btn-bd: #17914A; }

.btn--sm { padding: 11px 18px; min-height: 44px; font-size: var(--fs-micro); }
.btn--lg { padding: 18px 34px; min-height: 58px; font-size: var(--fs-base); }
.btn--block { width: 100%; }

/* Text link with animated underline */
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--text); position: relative; padding-bottom: 3px;
}
.link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform var(--t) var(--ease);
}
.link:hover::after { transform-origin: left; animation: link-underline var(--t-slow) var(--ease); }
@keyframes link-underline { 0% { transform: scaleX(1);} 45% { transform: scaleX(0);} 100% { transform: scaleX(1);} }
.link svg { transition: transform var(--t) var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link--light { color: var(--on-dark); }
.section--dark .link, .section--green .link, .cta-band .link, .page-head .link, .hero .link, .lp-hero .link { color: var(--on-dark); }
.link--brass { color: var(--brass-ink); }
.section--dark .link--brass, .section--green .link--brass { color: var(--brass-2); }

/* --- Badges / pills --------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--fs-micro); font-weight: 500;
  color: var(--text-2); background: var(--paper);
  line-height: 1;
}
.badge--dark { border-color: var(--line-dark); background: transparent; color: var(--on-dark-2); }
.badge--brass { border-color: var(--brass); color: var(--brass-ink); background: transparent; }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
.badge__dot--live { background: var(--success); box-shadow: 0 0 0 3px rgba(46,106,79,.15); }

/* --- Cards ------------------------------------------------------------------ */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: var(--s-6);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.card--hover:hover { border-color: var(--line); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card--flat { background: transparent; border-color: var(--line); }
.card--dark { background: var(--ink-800); border-color: var(--line-dark); color: var(--on-dark); }
.card--pad-lg { padding: var(--s-7); }

/* Numbered service card */
.card-num { display: grid; gap: var(--s-3); padding: var(--s-6) 0; border-top: 1px solid var(--line); }
.card-num__n { font-family: var(--font-display); font-size: var(--fs-micro); color: var(--brass-ink); letter-spacing: .1em; }
.section--dark .card-num__n { color: var(--brass-2); }
.card-num__t { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.25; }
.card-num__x { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.section--dark .card-num { border-color: var(--line-dark); }
.section--dark .card-num__x { color: var(--on-dark-2); }

/* Location card */
.loc-card { display: block; position: relative; overflow: hidden; border-radius: var(--r-sm); }
.loc-card .media { border-radius: var(--r-sm); }
.loc-card__body { padding-top: var(--s-4); display: grid; gap: 6px; }
.loc-card__name { font-family: var(--font-display); font-size: var(--fs-h4); display: flex; align-items: baseline; gap: 10px; }
.loc-card__zone { font-size: var(--fs-micro); color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
.loc-card__lede { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.55; }
.loc-card:hover .media img { transform: scale(1.045); }
.loc-card__cta { margin-top: 6px; font-size: var(--fs-micro); color: var(--brass-ink); letter-spacing: .06em; text-transform: uppercase; display: inline-flex; gap: 7px; align-items: center; }
.loc-card:hover .loc-card__cta svg { transform: translateX(3px); }
.loc-card__cta svg { transition: transform var(--t) var(--ease); }

/* Stat */
.stat { display: grid; gap: 6px; min-width: 0; }
.stat__v {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  line-height: 1; letter-spacing: -0.02em;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px;
}
.stat__u { font-family: var(--font-ui); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-ink); }
.stat__l { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.5; max-width: 26ch; }
.section--dark .stat__l, .section--green .stat__l { color: var(--on-dark-2); }
.section--dark .stat__u, .section--green .stat__u { color: var(--brass-2); }

.stat-strip {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--s-6) var(--s-5);
}
@media (min-width: 900px) { .stat-strip { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-7); } }
.stat-strip > * { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.section--dark .stat-strip > *, .section--green .stat-strip > * { border-color: var(--line-dark); }

/* --- Accordion (FAQ) --------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.section--dark .accordion, .section--dark .acc { border-color: var(--line-dark); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-5);
  padding: var(--s-5) 0; text-align: left;
  font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.35;
  color: var(--text); transition: color var(--t) var(--ease);
}
.section--dark .acc__btn { color: var(--on-dark); }
.acc__btn:hover { color: var(--brass-ink); }
.section--dark .acc__btn:hover { color: var(--brass-2); }
.acc__icon { flex: none; width: 20px; height: 20px; position: relative; margin-top: 6px; }
.acc__icon::before, .acc__icon::after {
  content: ''; position: absolute; background: currentColor; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.acc__icon::before { left: 0; top: 9.5px; width: 20px; height: 1px; }
.acc__icon::after { left: 9.5px; top: 0; width: 1px; height: 20px; }
.acc[open] .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__panel { overflow: hidden; }
.acc__panel-inner { padding: 0 0 var(--s-5); max-width: 74ch; color: var(--text-2); font-size: var(--fs-base); line-height: 1.65; }
.section--dark .acc__panel-inner { color: var(--on-dark-2); }

/* --- Marquee (developer network) --------------------------------------------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: clamp(32px, 5vw, 72px); width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.2vw, 1.75rem);
  color: var(--on-dark-2);
  white-space: nowrap;
  display: flex; align-items: center; gap: clamp(32px, 5vw, 72px);
  transition: color var(--t) var(--ease);
}
.marquee__item:hover { color: var(--brass-2); }
.marquee__item::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --- Comparison table --------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--fs-sm); }
table.compare th, table.compare td { padding: var(--s-4) var(--s-5); text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.compare thead th { background: var(--canvas-2); font-weight: 500; font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
table.compare tbody th { font-weight: 500; color: var(--text-3); font-size: var(--fs-micro); letter-spacing: .06em; text-transform: uppercase; width: 190px; background: var(--canvas-2); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }

/* --- Breadcrumbs ------------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-micro); color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.crumbs__sep { opacity: .5; }
.crumbs--light { color: var(--on-dark-3); }
.crumbs--light a:hover { color: var(--on-dark); }

/* --- Empty state -------------------------------------------------------------- */
.empty {
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  padding: clamp(36px, 6vw, 72px) var(--s-6);
  text-align: center;
  display: grid; gap: var(--s-4); justify-items: center;
  background: var(--paper);
}
.empty__icon { width: 44px; height: 44px; color: var(--brass-ink); }

/* --- Reveal animation ---------------------------------------------------------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
/* Only hide when JS is available — content must never depend on JS to be visible. */
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.is-in { opacity: 1; transform: none; }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* --- Quote / pull ------------------------------------------------------------- */
.pull {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.6vw, 2.25rem);
  line-height: 1.3; letter-spacing: -0.02em;
  text-wrap: balance;
}

/* --- Project card ------------------------------------------------------------- */
.pcard { padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.pcard .media { border-radius: 0; }
.pcard__body { padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.pcard__dev {
  font-size: var(--fs-eyebrow); letter-spacing: .15em; text-transform: uppercase;
  color: var(--brass-ink); line-height: 1;
}
.pcard__specs { display: grid; margin-top: 2px; }
.pcard__specs > div {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s-4); padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--fs-sm);
}
.pcard__specs > div:last-child { border-bottom: 0; }
.pcard__specs dt { color: var(--text-2); }
.pcard__specs dd { text-align: right; font-variant-numeric: tabular-nums; }
.pcard__price dd { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.1; }
.pcard .cluster--sm { min-height: 26px; }

/* Above-the-fold page headers never depend on the scroll-reveal animation. */
.page-head .reveal, .hero__copy .reveal, .lp-hero .reveal:first-child { opacity: 1 !important; transform: none !important; }

/* --- Representative artwork -----------------------------------------------
   Artwork standing in for photography that does not exist yet. Labelled on the
   image (so the disclosure survives a screenshot) and beneath it (so it is read
   aloud and cannot be cropped away). Never applied to a real photograph. */
.media--rep { position: relative; }
.media__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: var(--fs-eyebrow); letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; line-height: 1; padding: 6px 9px; border-radius: 3px;
  background: rgba(11,19,16,.72); color: var(--brass-2);
  border: 1px solid rgba(200,172,119,.34);
}
.media__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 18px 12px 9px;
  font-size: var(--fs-micro); line-height: 1.4; color: rgba(242,239,232,.86);
  background: linear-gradient(to top, rgba(11,19,16,.86), rgba(11,19,16,0));
}

/* ==========================================================================
   FORMS — the conversion surface. Every control is thumb-friendly (≥48px).
   ========================================================================== */

.form { display: grid; gap: var(--s-5); }
.form-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) { .form-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.form-grid .span-2 { grid-column: 1 / -1; }

.field { display: grid; gap: 7px; }
.field__label {
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-3);
}
.field__label .req { color: var(--brass-ink); }
.field__hint { font-size: var(--fs-micro); color: var(--text-3); }
.field__error { font-size: var(--fs-micro); color: var(--danger); display: none; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--danger); }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  font-size: var(--fs-base);
  color: var(--text);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  appearance: none;
}
.textarea { min-height: 110px; padding-top: 13px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(165,133,78,.16);
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%234C5A55' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.input-group { display: flex; }
.input-group__pre {
  display: inline-flex; align-items: center; padding: 0 14px;
  border: 1px solid var(--line); border-right: 0;
  border-radius: var(--r-xs) 0 0 var(--r-xs);
  background: var(--canvas-2); color: var(--text-2);
  font-size: var(--fs-sm); white-space: nowrap;
}
.input-group .input { border-radius: 0 var(--r-xs) var(--r-xs) 0; }

/* Chip / segmented choice — faster than a dropdown on mobile */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--paper);
  font-size: var(--fs-sm); color: var(--text-2);
  cursor: pointer; user-select: none;
  transition: all var(--t) var(--ease);
}
.chip span:hover { border-color: var(--text-3); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

/* Checkbox */
.check { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.5; }
.check input { appearance: none; flex: none; width: 19px; height: 19px; margin-top: 2px; border: 1px solid var(--line); border-radius: var(--r-xs); background: var(--paper); cursor: pointer; transition: all var(--t) var(--ease); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ''; display: block; width: 5px; height: 9px; margin: 2px auto 0; border: solid var(--on-dark); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* Form card — the floating requirement form */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-card--dark { background: var(--ink-800); border-color: var(--line-dark); box-shadow: none; }
.form-card--dark .field__label { color: var(--on-dark-3); }
.form-card--dark .input, .form-card--dark .select, .form-card--dark .textarea {
  background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--on-dark);
}
.form-card--dark .input::placeholder { color: var(--on-dark-3); }
.form-card--dark .chip span { background: transparent; border-color: var(--line-dark); color: var(--on-dark-2); }
.form-card--dark .chip input:checked + span { background: var(--brass); border-color: var(--brass); color: #14100A; }
.form-card--dark .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23A9B4AF' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.form__foot { display: grid; gap: var(--s-3); }
.form__consent { font-size: var(--fs-micro); color: var(--text-3); line-height: 1.55; }
.form-card--dark .form__consent { color: var(--on-dark-3); }

/* Progressive disclosure */
.more-fields { display: none; }
.more-fields.is-open { display: grid; gap: var(--s-4); }
.more-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); color: var(--text-2);
  padding: 12px 0;
  min-height: 44px;
}
.more-toggle:hover { color: var(--text); }
.more-toggle svg { transition: transform var(--t) var(--ease); }
.more-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Multi-step finder */
.steps { display: flex; gap: 6px; align-items: center; }
.steps__dot { height: 2px; flex: 1; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__dot.is-done { background: var(--brass); }
.steps__label { font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.step-panel { display: none; }
.step-panel.is-active { display: grid; gap: var(--s-5); animation: fade-step .45s var(--ease); }
@keyframes fade-step { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Success state */
.form-success { display: none; text-align: center; padding: var(--s-7) var(--s-4); }
.form-success.is-visible { display: grid; gap: var(--s-4); justify-items: center; }
.form-success__tick {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--brass); color: var(--brass-ink);
  display: grid; place-items: center;
}

/* --- Secondary actions under a lead form ----------------------------------- */
.alt-actions { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); display: grid; gap: var(--s-3); }
.form-card--dark .alt-actions { border-color: var(--line-dark); }
.alt-actions__label { font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.form-card--dark .alt-actions__label { color: var(--on-dark-3); }
.alt-actions__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
@media (min-width: 520px) { .alt-actions__row { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.alt-actions__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  min-height: 66px; padding: 12px 8px;
  border: 1px solid var(--line); border-radius: var(--r-xs);
  font-size: var(--fs-micro); color: var(--text-2); text-align: center;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background var(--t) var(--ease);
}
.alt-actions__btn:hover { border-color: var(--ink); color: var(--text); }
.form-card--dark .alt-actions__btn { border-color: var(--line-dark); color: var(--on-dark-2); }
.form-card--dark .alt-actions__btn:hover { border-color: var(--brass); color: var(--on-dark); }

.form-success__ref {
  font-size: var(--fs-sm); color: var(--text-2);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 16px; background: var(--canvas-2);
}
.form-success__ref strong { font-family: var(--font-display); font-size: var(--fs-h4); letter-spacing: .06em; color: var(--text); margin-left: 6px; }
.form-card--dark .form-success__ref { background: rgba(255,255,255,.05); border-color: var(--line-dark); color: var(--on-dark-2); }
.form-card--dark .form-success__ref strong { color: var(--on-dark); }

/* ==========================================================================
   SITE CHROME — header, navigation, mobile drawer, sticky CTA, footer
   ========================================================================== */

/* --- Header ---------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), backdrop-filter var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5);
  height: 76px;
  transition: height var(--t) var(--ease);
}
@media (min-width: 1024px) { .header__inner { height: 92px; } }

.header.is-scrolled {
  background: rgba(247,244,238,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.header.is-scrolled .header__inner { height: 68px; }
@media (min-width: 1024px) { .header.is-scrolled .header__inner { height: 74px; } }

/* Over-dark hero variant */
.header--over-dark:not(.is-scrolled) { color: var(--on-dark); }
.header--over-dark:not(.is-scrolled) .logo__word { color: var(--on-dark); }
.header--over-dark:not(.is-scrolled) .logo__sub { color: var(--on-dark-3); }
.header--over-dark:not(.is-scrolled) .nav__link { color: var(--on-dark-2); }
.header--over-dark:not(.is-scrolled) .nav__link:hover,
.header--over-dark:not(.is-scrolled) .nav__link[aria-current] { color: var(--on-dark); }
.header--over-dark:not(.is-scrolled) .btn--ghost { --btn-fg: var(--on-dark); --btn-bd: var(--line-dark); }
.header--over-dark:not(.is-scrolled) .link { color: var(--on-dark); }
.header--over-dark:not(.is-scrolled) .burger span { background: var(--on-dark); }
.header.is-scrolled { color: var(--text); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { flex: none; width: 34px; height: 34px; }
.logo__text { display: grid; gap: 2px; line-height: 1; }
.logo__word {
  font-family: var(--font-display);
  font-size: 1.24rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text);
  transition: color var(--t) var(--ease);
}
.logo__sub { font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); transition: color var(--t) var(--ease); }
@media (max-width: 420px) { .logo__word { font-size: 1.06rem; letter-spacing: .08em; } .logo__mark { width: 30px; height: 30px; } }

/* Desktop nav */
.nav { display: none; }
@media (min-width: 1024px) { .nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); } }
.nav__link {
  font-size: var(--fs-sm); color: var(--text-2); position: relative;
  padding: 6px 0; transition: color var(--t) var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: right;
  transition: transform var(--t) var(--ease);
}
.nav__link:hover, .nav__link[aria-current] { color: var(--text); }
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: var(--s-3); }
.header__phone { display: none; }
@media (min-width: 1180px) { .header__phone { display: inline-flex; } }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

/* Burger */
.burger { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; margin-right: -10px; }
@media (min-width: 1024px) { .burger { display: none; } }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform var(--t) var(--ease), opacity var(--t) var(--ease); }
body.drawer-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.drawer-open .burger span:nth-child(2) { opacity: 0; }
body.drawer-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Mobile drawer ---------------------------------------------------------- */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--ink); color: var(--on-dark);
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
  overflow-y: auto;
  display: flex; flex-direction: column;
  visibility: hidden;
}
body.drawer-open .drawer { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.drawer__body { flex: 1; padding-block: var(--s-6) var(--s-7); }
.drawer__nav { display: grid; }
.drawer__link {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.125rem);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark-2);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--on-dark);
  transition: color var(--t) var(--ease), padding-left var(--t) var(--ease);
}
.drawer__link:hover { color: var(--brass-2); padding-left: 8px; }
.drawer__link span { font-family: var(--font-ui); font-size: var(--fs-micro); color: var(--on-dark-3); letter-spacing: .1em; }
.drawer__foot { display: grid; gap: var(--s-4); padding-block: var(--s-6); border-top: 1px solid var(--line-dark); }
.drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.drawer .logo__word { color: var(--on-dark); }
.drawer .logo__sub { color: var(--on-dark-3); }
.drawer .burger span { background: var(--on-dark); }

/* --- Sticky mobile CTA bar --------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  transform: translateY(110%);
  transition: transform .45s var(--ease);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sticky-cta.is-visible { transform: none; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
body.drawer-open .sticky-cta { transform: translateY(110%); }
.sticky-cta__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 11px 6px 12px;
  color: var(--on-dark-2);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border-right: 1px solid var(--line-dark-2);
  min-height: 62px;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.sticky-cta__btn:last-child { border-right: 0; }
.sticky-cta__btn:active { background: rgba(255,255,255,.05); }
.sticky-cta__btn svg { width: 19px; height: 19px; }
.sticky-cta__btn--wa { color: #6FE29B; }
.sticky-cta__btn--primary { color: var(--brass-2); }
/* Body padding so the bar never covers content */
@media (max-width: 1023px) { body.has-sticky-cta { padding-bottom: 62px; } }

/* --- Desktop floating WhatsApp ------------------------------------------------ */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: var(--z-sticky);
  display: none; align-items: center; gap: 10px;
  padding: 13px 18px 13px 15px;
  background: #1FA855; color: #fff;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(31,168,85,.32);
  font-size: var(--fs-sm); font-weight: 500;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
@media (min-width: 1024px) { .wa-fab { display: inline-flex; } }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(31,168,85,.4); }

/* --- Footer -------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--on-dark-2); padding-block: clamp(56px, 7vw, 96px) 0; }
.footer a { transition: color var(--t) var(--ease); }
.footer a:hover { color: var(--brass-2); }
.footer__top { display: grid; gap: var(--s-8); }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--s-7); } }
@media (min-width: 1200px) { .footer__top { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: var(--s-9); } }
.footer .logo__word { color: var(--on-dark); }
.footer .logo__sub { color: var(--on-dark-3); }
.footer__blurb { max-width: 40ch; font-size: var(--fs-sm); line-height: 1.65; color: var(--on-dark-2); }
.footer__col-title { font-size: var(--fs-eyebrow); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: var(--s-4); }
.footer__list { display: grid; gap: 11px; font-size: var(--fs-sm); }
.footer__contact { display: grid; gap: 14px; font-size: var(--fs-sm); }
.footer__contact strong { display: block; color: var(--on-dark); font-weight: 500; }
.footer__social { display: flex; gap: 10px; margin-top: var(--s-2); }
.footer__social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 50%;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease);
}
.footer__social a:hover { border-color: var(--brass); background: rgba(165,133,78,.1); color: var(--brass-2); }
.footer__mid { margin-top: clamp(48px, 6vw, 80px); padding-top: var(--s-6); border-top: 1px solid var(--line-dark); }
.footer__seo { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .footer__seo { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); } }
.footer__seo-group { display: grid; gap: 9px; }
.footer__seo-title { font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.footer__seo-links { display: flex; flex-wrap: wrap; gap: 7px 14px; font-size: var(--fs-micro); color: var(--on-dark-3); }
.footer__bottom {
  margin-top: var(--s-7); padding-block: var(--s-5) var(--s-6);
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-micro); color: var(--on-dark-3);
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.footer__disclaimer {
  margin-top: var(--s-4); padding-bottom: var(--s-7);
  font-size: 11px; line-height: 1.65; color: var(--on-dark-3);
  max-width: 100ch;
}
@media (max-width: 1023px) { .footer { padding-bottom: 62px; } }

/* --- Minimal chrome (Google Ads landing pages) --------------------------------- */
.header--minimal .header__phone { display: inline-flex; }
@media (max-width: 560px) { .header--minimal .header__phone span { display: none; } }
.footer--minimal { padding-block: clamp(40px, 5vw, 64px); }
.footer__min { display: grid; gap: var(--s-6); }
@media (min-width: 820px) { .footer__min { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-8); } }
.footer--minimal .micro a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Shortlist chip -------------------------------------------------------
   Retention: a visitor who saved projects must be able to see that, and get
   back to them, from every page. Hidden entirely at zero so it never nags. */
.shortlist-chip{
  display:inline-flex; align-items:center; gap:var(--s-2);
  min-height:44px; padding:0 var(--s-3);
  border:1px solid var(--line); border-radius:var(--r-md);
  background:var(--canvas); color:var(--text-1);
  font-size:var(--fs-sm); font-weight:600; line-height:1;
  text-decoration:none; white-space:nowrap;
  transition:border-color .18s ease, background .18s ease;
}
.shortlist-chip:hover{ border-color:var(--brass); }
.shortlist-chip:focus-visible{ outline:2px solid var(--brass); outline-offset:2px; }
.shortlist-chip__ico{ font-size:1rem; color:var(--brass); line-height:1; }
.shortlist-chip__n{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:22px; height:22px; padding:0 6px;
  border-radius:999px; background:var(--brass); color:#fff;
  font-size:.72rem; font-weight:700; font-variant-numeric:tabular-nums;
}
.shortlist-chip[hidden]{ display:none !important; }
/* Mobile: the label is dropped, the count is the message. */
@media (max-width: 720px){
  .shortlist-chip__txt{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .shortlist-chip{ padding:0 var(--s-2); gap:var(--s-1); }
}
.header--over-dark .shortlist-chip{
  background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.24); color:#fff;
}
.header--over-dark .shortlist-chip:hover{ border-color:var(--brass); }
/* Drawer count pill */
.drawer__link[data-shortlist-drawer] span:not(:empty){
  display:inline-flex; align-items:center; justify-content:center;
  min-width:22px; height:22px; padding:0 6px; border-radius:999px;
  background:var(--brass); color:#fff; font-size:.72rem; font-weight:700;
}

/* On a project page the breadcrumb sits on the most valuable screen the site
   owns. BreadcrumbList schema and the desktop trail both survive; only the
   visual row is dropped on phones, where it costs ~70px of decision space. */
@media (max-width: 720px){
  .page-head--split .crumbs{
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
  }
}

/* ==========================================================================
   PAGE-LEVEL PATTERNS — hero, page headers, feature blocks
   ========================================================================== */

/* --- Homepage hero ----------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  /* Mobile keeps only the clearance the fixed header needs, so the search
     module — submit button included — lands above the fold. Desktop keeps
     the original breathing room. */
  padding-top: clamp(84px, 16vh, 190px);
  padding-bottom: clamp(48px, 7vw, 88px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(42,87,73,.55) 0%, transparent 62%),
    radial-gradient(90% 70% at 8% 100%, rgba(165,133,78,.16) 0%, transparent 60%),
    linear-gradient(168deg, #0B1310 0%, #0E1C17 48%, #0A120F 100%);
}
.hero__bg::after {
  /* fine architectural grid */
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(242,239,232,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,239,232,.030) 1px, transparent 1px);
  background-size: clamp(60px, 8vw, 116px) clamp(60px, 8vw, 116px);
  -webkit-mask-image: radial-gradient(110% 85% at 50% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(110% 85% at 50% 30%, #000 20%, transparent 78%);
}
.hero__skyline {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1;
  width: 100%; height: auto; opacity: .2; pointer-events: none;
}
.hero__inner { display: grid; gap: clamp(24px, 5vw, 64px); }
@media (min-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1.12fr) minmax(370px, .88fr); align-items: center; gap: clamp(48px, 6vw, 96px); }
}
.hero__copy { display: grid; gap: var(--s-4); max-width: 660px; }
@media (min-width: 900px) { .hero__copy { gap: var(--s-5); } }
.hero__title { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.028em; color: var(--on-dark); }
.hero__title em { font-style: italic; color: var(--brass-2); }
.hero__lede { font-size: var(--fs-lede); color: var(--on-dark-2); max-width: 52ch; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-3); }

.hero__stats { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 80px); padding-top: var(--s-6); border-top: 1px solid var(--line-dark); }

/* Hero requirement card */
.hero-form { position: relative; }
.hero-form__head { display: grid; gap: 6px; margin-bottom: var(--s-5); }
.hero-form__title { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--on-dark); line-height: 1.15; }
.hero-form__sub { font-size: var(--fs-sm); color: var(--on-dark-3); }

/* --- Interior page header ------------------------------------------------------ */
.page-head {
  background: var(--ink); color: var(--on-dark);
  padding-top: clamp(112px, 14vh, 166px);
  padding-bottom: clamp(44px, 6vw, 78px);
  position: relative; overflow: hidden; isolation: isolate;
}
.page-head::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(110% 120% at 88% 0%, rgba(42,87,73,.45) 0%, transparent 60%),
    linear-gradient(170deg, #0B1310 0%, #0D1A16 100%);
}
.page-head::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .42;
  background-image:
    linear-gradient(to right, rgba(242,239,232,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,239,232,.028) 1px, transparent 1px);
  background-size: clamp(56px, 7vw, 104px) clamp(56px, 7vw, 104px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
  mask-image: linear-gradient(180deg, #000, transparent 88%);
}
.page-head__inner { display: grid; gap: var(--s-5); max-width: 900px; }
.page-head__title { font-size: var(--fs-h1); line-height: 1.02; color: var(--on-dark); }
.page-head__lede { font-size: var(--fs-lede); color: var(--on-dark-2); max-width: 60ch; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.page-head--split .page-head__inner { max-width: none; }
@media (min-width: 980px) {
  .page-head--split .page-head__inner { grid-template-columns: minmax(0,1fr) minmax(320px, .72fr); align-items: end; gap: var(--s-8); }
}

/* --- Feature row (alternating) --------------------------------------------------- */
.feature { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 940px) {
  .feature { grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(40px, 6vw, 88px); }
  .feature--reverse > :first-child { order: 2; }
}
.feature__body { display: grid; gap: var(--s-4); }

/* --- CTA band ---------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 130% at 15% 0%, rgba(42,87,73,.5) 0%, transparent 60%),
    radial-gradient(80% 120% at 95% 100%, rgba(165,133,78,.2) 0%, transparent 58%),
    var(--ink);
}
.cta-band__inner { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-8); } }
.cta-band__title { font-size: var(--fs-h2); color: var(--on-dark); line-height: 1.06; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }

/* --- Journey / steps ----------------------------------------------------------------- */
.journey { display: grid; gap: 0; counter-reset: j; }
.journey__item {
  display: grid; gap: var(--s-3);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--line);
  transition: padding-left var(--t) var(--ease);
}
@media (min-width: 820px) {
  .journey__item { grid-template-columns: 88px minmax(0, 260px) minmax(0, 1fr); gap: var(--s-6); align-items: start; padding-block: var(--s-6); }
  .journey__item:hover { padding-left: 10px; }
}
.journey__n { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--brass-ink); }
.section--dark .journey__n { color: var(--brass-2); }
.journey__t { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.25; }
.journey__x { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.65; max-width: 62ch; }
.section--dark .journey__item { border-color: var(--line-dark); }
.section--dark .journey__x { color: var(--on-dark-2); }

/* --- Compare tool ---------------------------------------------------------------------- */
.compare-slots { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 760px) { .compare-slots { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.compare-slot {
  border: 1px dashed var(--line); border-radius: var(--r-sm);
  padding: var(--s-6) var(--s-5); min-height: 172px;
  display: grid; gap: var(--s-3); place-content: center; justify-items: center; text-align: center;
  background: var(--paper);
  transition: border-color var(--t) var(--ease);
}
.compare-slot:hover { border-color: var(--brass); }
.compare-slot__num { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--line); }

/* --- Location page bits -------------------------------------------------------------------- */
.fact-list { display: grid; gap: 0; }
.fact-list li {
  display: flex; gap: var(--s-4); align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line-2);
  font-size: var(--fs-sm); color: var(--text-2);
}
.fact-list li::before { content: ''; width: 6px; height: 1px; background: var(--brass); flex: none; transform: translateY(-3px); }

.info-grid { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-6); } }

/* --- Contact ------------------------------------------------------------------------------- */
.contact-item { display: grid; gap: 5px; padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.contact-item__k { font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.contact-item__v { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.35; }
.contact-item__v a:hover { color: var(--brass-ink); }
.map-frame { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--canvas-2); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 760px) { .map-frame { aspect-ratio: 16/9; } }

/* --- Insights ------------------------------------------------------------------------------- */
.article-card { display: grid; gap: var(--s-4); }
.article-card__meta { display: flex; gap: var(--s-3); align-items: center; font-size: var(--fs-micro); color: var(--text-3); letter-spacing: .04em; }
.article-card__title { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.28; transition: color var(--t) var(--ease); }
.article-card:hover .article-card__title { color: var(--brass-ink); }
.article-card__x { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.6; }

/* --- Landing page (ads) ----------------------------------------------------------------------- */
.lp-hero { position: relative; background: var(--ink); color: var(--on-dark); padding-top: clamp(104px, 13vh, 150px); padding-bottom: clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.lp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(100% 120% at 80% 0%, rgba(42,87,73,.5) 0%, transparent 62%), linear-gradient(170deg, #0B1310, #0D1A16);
}
.lp-hero__inner { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .lp-hero__inner { grid-template-columns: minmax(0,1fr) minmax(380px, .8fr); gap: clamp(40px, 5vw, 80px); align-items: start; } }
.lp-points { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.lp-points li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--on-dark-2); line-height: 1.6; }
.lp-points svg { flex: none; margin-top: 3px; color: var(--brass-2); }

/* --- Utility ------------------------------------------------------------------------------------ */
.hide-mobile { display: none; }
@media (min-width: 760px) { .hide-mobile { display: initial; } }
.show-mobile { display: initial; }
@media (min-width: 760px) { .show-mobile { display: none; } }
.mt-auto { margin-top: auto; }

/* --- Inventory summary strip ---------------------------------------------
   Answers "what can I buy here?" before any persuasion copy. Every value is
   derived from the project dataset — nothing here is authored or invented. */
.invstrip{
  display:grid; gap:var(--s-3);
  grid-template-columns:1fr;
  padding:var(--s-5) var(--s-5);
  border:1px solid var(--line); border-left:3px solid var(--brass);
  border-radius:var(--r-md); background:var(--canvas-2);
}
@media (min-width:680px){ .invstrip{ grid-template-columns:repeat(3,1fr); gap:var(--s-6); } }
.invstrip__item{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.invstrip__n{
  font-family:var(--font-display,inherit); font-size:var(--fs-h4);
  font-weight:700; color:var(--text-1); line-height:1.15;
  overflow-wrap:anywhere;
}
.invstrip__l{
  font-size:var(--fs-eyebrow); letter-spacing:.08em; text-transform:uppercase;
  color:var(--text-2);
}

/* Landing-page value bullets, re-homed below project discovery so paid
   traffic sees inventory before it sees positioning. */
.lp-hero__points--band{ max-width:none; }
.lp-hero__points--band .lp-points{ display:grid; gap:var(--s-3); grid-template-columns:1fr; }
@media (min-width:760px){ .lp-hero__points--band .lp-points{ grid-template-columns:1fr 1fr; gap:var(--s-4); } }
.invstrip--light{ background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.2); }
.invstrip--light .invstrip__n{ color:#fff; }
.invstrip--light .invstrip__l{ color:rgba(255,255,255,.72); }

/* The hero carries the same four facts twice on mobile: proofLine above the
   search module and statStrip below it. On small screens the duplicate above
   costs ~90px of the only screen that matters, so it is dropped there — the
   MahaRERA number stays in the eyebrow and the stat strip keeps the facts. */
.hero__proof { display: none; }
@media (min-width: 900px) { .hero__proof { display: block; } }

/* --- Project fact strip ---------------------------------------------------
   The five facts a buyer decides on, on the first screen. Sits inside the dark
   page head, so it borrows the on-dark tokens rather than the page palette. */
.factstrip{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--s-2) var(--s-4);
  padding:var(--s-3) var(--s-4);
  border:1px solid rgba(255,255,255,.18); border-left:3px solid var(--brass-2);
  border-radius:var(--r-md); background:rgba(255,255,255,.06);
}
@media (min-width:760px){ .factstrip{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--s-3) var(--s-5); padding:var(--s-4) var(--s-5); } }
@media (min-width:1100px){ .factstrip{ grid-template-columns:repeat(5,minmax(0,1fr)); gap:var(--s-4); } }
.factstrip__i{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.factstrip__l{
  font-size:var(--fs-eyebrow); letter-spacing:.09em; text-transform:uppercase;
  color:var(--on-dark-3);
}
.factstrip__v{
  font-family:var(--font-display); font-size:var(--fs-h4); font-weight:600;
  color:var(--on-dark); line-height:1.2; overflow-wrap:anywhere;
}
.factstrip__i--muted .factstrip__v{ color:var(--on-dark-2); font-weight:500; }

/* Project hero artwork: below the buying facts on phones, beside them on
   desktop. The facts are the product; the picture supports them. */
.project-hero__media { margin-top: var(--s-6); }
@media (min-width: 900px) { .project-hero__media { margin-top: 0; } }

/* ==========================================================================
   DEVELOPER NETWORK
   Typographic wordmark plates, index grid, developer header, filter bar.
   A developer renders an official logo only when the data file confirms the
   rights; otherwise a designed wordmark plate stands in — intentional, not a
   missing image.
   ========================================================================== */

/* --- Wordmark plate --------------------------------------------------------- */
.plate {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  background: var(--canvas-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.plate::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,19,16,.030) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,19,16,.022) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent 78%);
  pointer-events: none;
}
.plate__mark {
  position: relative;
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--text);
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.plate__mark::after {
  content: '';
  position: absolute; left: 50%; bottom: -11px;
  transform: translateX(-50%);
  width: 20px; height: 1px; background: var(--brass);
  transition: width var(--t) var(--ease);
}
.plate__logo { max-width: 68%; max-height: 56%; width: auto; object-fit: contain; }
.plate--lg { aspect-ratio: 16 / 10; }
.plate--lg .plate__mark { width: 88px; height: 88px; font-size: 2.125rem; }
.plate--dark { background: rgba(255,255,255,.03); border-color: var(--line-dark); }
.plate--dark::before {
  background-image:
    linear-gradient(to right, rgba(242,239,232,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,239,232,.035) 1px, transparent 1px);
}
.plate--dark .plate__mark { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }

/* --- Developer card (index) -------------------------------------------------- */
.devcard { display: grid; gap: var(--s-4); align-content: start; }
.devcard .plate { aspect-ratio: 16 / 10; }
.devcard:hover .plate { border-color: var(--ink); background: var(--canvas-3); }
.devcard:hover .plate__mark { border-color: var(--brass); color: var(--brass-ink); }
.devcard:hover .plate__mark::after { width: 34px; }
.devcard__body { display: grid; gap: 7px; }
.devcard__name { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.2; }
.devcard__pos { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.55; }
.devcard__meta {
  font-size: var(--fs-micro); color: var(--text-3);
  letter-spacing: .04em; display: flex; align-items: center; gap: 8px;
}
.devcard__meta::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); flex: none; }
.devcard__cta {
  margin-top: 4px;
  font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.devcard__cta svg { transition: transform var(--t) var(--ease); }
.devcard:hover .devcard__cta svg { transform: translateX(4px); }

/* --- Developer page header ---------------------------------------------------- */
.devhead__inner { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) {
  .devhead__inner { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
}
.devhead__facts {
  display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-8);
  margin-top: var(--s-5); padding-top: var(--s-5);
  border-top: 1px solid var(--line-dark);
}
.devhead__fact { display: grid; gap: 4px; }
.devhead__fact-k { font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.devhead__fact-v { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--on-dark); line-height: 1.2; }

/* --- Filter bar ---------------------------------------------------------------- */
.filterbar {
  display: grid; gap: var(--s-4);
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
@media (min-width: 780px) {
  .filterbar { grid-template-columns: repeat(3, minmax(0,1fr)) auto; align-items: end; gap: var(--s-4); }
}
.filterbar__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  flex-wrap: wrap;
}
.filterbar__count { font-size: var(--fs-sm); color: var(--text-2); }
.filterbar__count strong { font-weight: 500; color: var(--text); }
.filterbar__clear {
  font-size: var(--fs-micro); letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-3); padding: 10px 0;
}
.filterbar__clear:hover { color: var(--text); }
.is-filtered-out { display: none !important; }

/* --- Developer strip on other pages --------------------------------------------- */
.dev-strip { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-3); }
@media (min-width: 680px) { .dev-strip { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 1100px) { .dev-strip { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.dev-strip .plate { aspect-ratio: 4 / 3; }
.dev-strip .plate__mark { width: 46px; height: 46px; font-size: 1.125rem; }
.dev-strip a { display: grid; gap: 8px; text-align: center; }
.dev-strip__name { font-size: var(--fs-micro); color: var(--text-2); }
.section--dark .dev-strip__name { color: var(--on-dark-2); }

/* --- Back-to-parent link ---------------------------------------------------------- */
.backlink {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--fs-sm); color: var(--text-2);
  padding: 8px 0;
}
.backlink:hover { color: var(--text); }
.backlink svg { transition: transform var(--t) var(--ease); }
.backlink:hover svg { transform: translateX(-3px); }
.backlink--light { color: var(--on-dark-2); }
.backlink--light:hover { color: var(--on-dark); }

/* --- Logo pending note ------------------------------------------------------------- */
.logo-note {
  font-size: 11px; color: var(--text-3); line-height: 1.6;
  border-left: 1px solid var(--line); padding-left: var(--s-4);
  max-width: 74ch;
}

@media (min-width: 900px) {
  .filterbar--4 { grid-template-columns: repeat(4, minmax(0,1fr)) auto; }
}

/* --- Premium empty state ------------------------------------------------------- */
.empty--premium {
  border-style: solid;
  border-color: var(--line);
  background: var(--paper);
  padding: clamp(48px, 7vw, 96px) var(--s-6);
  gap: var(--s-5);
  position: relative;
}
.empty--premium .empty__rule { width: 34px; height: 1px; background: var(--brass); }
.empty--premium .empty__icon { width: 34px; height: 34px; color: var(--text-3); }
.empty--premium h3 { text-wrap: balance; }
.section--tint .empty--premium { background: var(--paper); }

/* --- Developer conversion row ---------------------------------------------------- */
.convrow {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .convrow { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .convrow { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.convrow__item {
  display: grid; gap: 10px; align-content: start;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.convrow__item:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.convrow__icon { width: 22px; height: 22px; color: var(--brass-ink); }
.convrow__t { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.2; }
.convrow__x { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.55; }
.convrow__go { margin-top: 4px; font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); display: inline-flex; align-items: center; gap: 7px; }
.convrow__item:hover .convrow__go svg { transform: translateX(4px); }
.convrow__go svg { transition: transform var(--t) var(--ease); }
.section--dark .convrow__item { background: var(--ink-800); border-color: var(--line-dark); }
.section--dark .convrow__t { color: var(--on-dark); }
.section--dark .convrow__x { color: var(--on-dark-2); }
.section--dark .convrow__icon, .section--dark .convrow__go { color: var(--brass-2); }
.section--dark .convrow__item:hover { border-color: var(--brass); }

.devhead__kicker {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--brass-2);
  line-height: 1.2;
  margin-top: -2px;
}

/* --- Advisory notice ------------------------------------------------------------ */
.notice {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 12px var(--s-4);
  align-items: start;
  padding: var(--s-5);
  background: var(--canvas-2);
  border-left: 2px solid var(--brass);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.notice__icon { color: var(--brass-ink); width: 20px; height: 20px; margin-top: 2px; }
.notice__text { font-size: var(--fs-sm); line-height: 1.6; color: var(--text-2); max-width: 68ch; }
.notice__cta {
  grid-column: 2;
  font-size: var(--fs-eyebrow); letter-spacing: .12em; text-transform: uppercase;
  color: var(--brass-ink); display: inline-flex; align-items: center; gap: 7px; width: max-content;
}
.notice__cta svg { transition: transform var(--t) var(--ease); }
.notice__cta:hover svg { transform: translateX(4px); }
.notice--dark { background: rgba(255,255,255,.04); }
.notice--dark .notice__text { color: var(--on-dark-2); }
.notice--dark .notice__icon, .notice--dark .notice__cta { color: var(--brass-2); }

/* --- Sticky CTA panel on project pages -------------------------------------------- */
.cta-stack { display: grid; gap: 10px; }
.cta-stack .btn { justify-content: flex-start; text-align: left; }

/* --- Inline CTA prompt ----------------------------------------------------------- */
.inline-cta {
  display: grid; gap: var(--s-4);
  align-items: center;
  padding: var(--s-5) var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.inline-cta::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--brass);
}
@media (min-width: 720px) {
  .inline-cta { grid-template-columns: minmax(0,1fr) auto; gap: var(--s-6); }
}
.inline-cta__q {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: 1.3;
  color: var(--text);
  text-wrap: balance;
}
.inline-cta__a {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px; min-height: 48px;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-xs);
  font-size: var(--fs-sm); font-weight: 500;
  white-space: nowrap;
  transition: background var(--t) var(--ease), transform var(--t-fast) var(--ease);
}
.inline-cta__a:hover { background: var(--green-800); transform: translateY(-1px); }
.section--tint .inline-cta { background: var(--paper); }

/* --- Compact location list (homepage) ------------------------------------------- */
.loc-list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .loc-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); } }
.loc-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: var(--s-4);
  padding: 17px 0; border-bottom: 1px solid var(--line);
  transition: padding-left var(--t) var(--ease);
}
.loc-row:hover { padding-left: 8px; }
.loc-row__name { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.2; }
.loc-row__zone { font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.loc-row__go { color: var(--brass-ink); display: inline-flex; transition: transform var(--t) var(--ease); }
.loc-row:hover .loc-row__go { transform: translateX(4px); }

/* --- Ads landing hero: conversion order on mobile, two columns on desktop -------- */
.lp-hero__inner { display: grid; gap: var(--s-6); }
.lp-hero__copy { order: 1; }
.lp-hero__form { order: 2; }
.lp-hero__points { order: 3; }
.lp-trust { margin-top: var(--s-2); }
.lp-points__title {
  font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-3); margin-bottom: var(--s-4);
}
@media (min-width: 1000px) {
  .lp-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
    grid-template-areas: "copy form" "points form";
    gap: clamp(36px, 4.5vw, 72px);
    align-items: start;
  }
  .lp-hero__copy { grid-area: copy; }
  .lp-hero__form { grid-area: form; }
  .lp-hero__points { grid-area: points; margin-top: calc(var(--s-4) * -1); }
}

/* Developer hero: name and CTAs before the crest on mobile */
.devhead__inner > div:first-child { order: 2; }
.devhead__inner > div:last-child { order: 1; }
@media (min-width: 900px) {
  .devhead__inner > div:first-child { order: 1; }
  .devhead__inner > div:last-child { order: 2; }
}

/* --- Compact proof line ---------------------------------------------------------- */
.proofline {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 0;
  font-size: var(--fs-micro);
  letter-spacing: .04em;
  color: var(--text-2);
  margin: 2px 0 4px;
}
.proofline span { display: inline-flex; align-items: center; white-space: nowrap; }
.proofline span + span::before {
  content: ''; width: 1px; height: 11px; background: var(--brass);
  opacity: .5; margin: 0 12px;
}
.proofline strong { font-family: var(--font-display); font-size: 1.08rem; font-weight: 400; color: var(--text); margin-right: 5px; letter-spacing: 0; }
.proofline--light { color: var(--on-dark-2); }
.proofline--light strong { color: var(--on-dark); }
.proofline--light span + span::before { background: var(--brass-2); }
@media (max-width: 420px) { .proofline span + span::before { margin: 0 9px; } }

/* --- Mobile hero density -----------------------------------------------------------
   The proof line earns its place above the fold, so the hero reclaims the space
   elsewhere: less top padding, a slightly tighter headline and lede. Both the
   four proof points and the primary CTA now sit inside a 667px viewport. */
@media (max-width: 640px) {
  .hero { padding-top: 96px; padding-bottom: 40px; }
  .hero__title { font-size: clamp(2.25rem, 1.4rem + 4.6vw, 3rem); line-height: 1.02; }
  .hero__lede { font-size: 0.9375rem; line-height: 1.5; }
  .hero__copy { gap: var(--s-4); }
  .hero__actions { gap: 10px; margin-top: 0; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { margin-top: var(--s-2); }
  .hero__stats { margin-top: var(--s-8); }

  .lp-hero { padding-top: 84px; }
  .lp-hero .page-head__title { font-size: clamp(1.9rem, 1.3rem + 3.6vw, 2.6rem); }
  .lp-hero .page-head__lede { font-size: 0.9375rem; }
  .lp-hero__copy { gap: var(--s-4); }
  .lp-hero .page-head__actions { gap: 10px; }
  .lp-hero .page-head__actions .btn { width: 100%; }
}

/* --- "Why not call the builder directly?" -----------------------------------
   The developer page is where a visitor is closest to bypassing us. This block
   answers it honestly — it concedes the builder's point before making ours. */
.why-us {
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--r-md);
  background: var(--canvas-2);
}
.why-us__q {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: 1.3;
  margin: 0 0 var(--s-4);
}
.why-us__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.why-us__list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--text-2);
}
.why-us__list li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass);
}
.why-us__list strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .why-us { padding: var(--s-4) var(--s-5); } }

/* Developer hero on mobile: the first CTA was landing at 666px, below the fold
   on a 667px screen. Tightened so the advisory CTA is visible without scrolling
   — this is the page where a visitor is most likely to leave for the builder. */
@media (max-width: 640px) {
  .devhead { padding-top: 92px; padding-bottom: 36px; }
  .devhead .page-head__title { font-size: clamp(2rem, 1.3rem + 3.6vw, 2.6rem); line-height: 1.04; }
  .devhead .page-head__lede { font-size: var(--fs-base); }
  .devhead__inner { gap: var(--s-5); }
  .devhead .page-head__actions .btn { width: 100%; }
}

/* ==========================================================================
   DISCOVERY PLATFORM — filter bar, shortlist, calculators, demo marking
   ========================================================================== */

/* Wider filter bar — it now carries up to 7 controls plus sort */
.filterbar--wide { display: grid; gap: var(--s-4); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 620px)  { .filterbar--wide { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 960px)  { .filterbar--wide { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 1200px) { .filterbar--wide { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.filterbar--wide > * { min-width: 0; }
.filterbar--wide .filterbar__foot { grid-column: 1 / -1; }

/* Save / shortlist button on a card */
.pcard__save {
  appearance: none; background: transparent; border: 1px solid var(--line);
  border-radius: var(--r-pill); min-height: 44px; padding: 0 16px;
  font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.pcard__save:hover { border-color: var(--brass); color: var(--ink); }
.pcard__save:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.pcard__save .pcard__save-on { display: none; }
.pcard__save.is-saved { border-color: var(--brass); background: var(--brass-3); color: var(--ink); }
.pcard__save.is-saved .pcard__save-on { display: inline; }
.pcard__save.is-saved .pcard__save-off { display: none; }

/* Saved list */
.savedlist { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: 2px; }
.savedrow {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 14px 18px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm);
}
.savedrow a { font-family: var(--font-display); font-size: var(--fs-h4); text-decoration: none; color: var(--ink); }
.savedrow a:hover { color: var(--brass-ink); }
.savedrow__x {
  appearance: none; background: none; border: 0; font: inherit; font-size: var(--fs-micro);
  color: var(--text-2); cursor: pointer; min-height: 44px; padding: 0 8px; text-decoration: underline;
}
.savedrow__x:hover { color: var(--ink); }

/* Recently viewed strip */
.recent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: var(--s-6); }
.recent__label {
  font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
}
.recent__item {
  font-size: var(--fs-sm); padding: 8px 14px; border: 1px solid var(--line-2);
  border-radius: var(--r-pill); text-decoration: none; color: var(--ink); background: var(--paper);
}
.recent__item:hover { border-color: var(--brass); }

/* Calculators */
.calc { padding: var(--s-6); }
.calc__out { margin: var(--s-6) 0 var(--s-5); display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding: 11px 16px; background: var(--paper); }
.calc__row dt { font-size: var(--fs-sm); color: var(--text-2); margin: 0; }
.calc__row dd { margin: 0; font-family: var(--font-display); font-size: var(--fs-h4); font-variant-numeric: tabular-nums; text-align: right; }
.calc__row--big { background: var(--canvas-2); }
.calc__row--big dt { font-weight: 600; color: var(--ink); }
.calc__row--big dd { font-size: var(--fs-h3); color: var(--brass-ink); }
@media (max-width: 520px) {
  .calc { padding: var(--s-5); }
  .calc__row { flex-direction: column; gap: 2px; align-items: flex-start; }
  .calc__row dd { text-align: left; }
}

/* Link grid — internal linking clusters */
.linkgrid { display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: var(--s-6); }
.linkgrid__a {
  display: flex; align-items: center; min-height: 52px; padding: 12px 16px;
  background: var(--paper); border: 1px solid var(--line-2); text-decoration: none;
  font-size: var(--fs-sm); color: var(--ink); transition: border-color .15s ease, background .15s ease;
}
.linkgrid__a:hover { border-color: var(--brass); background: var(--brass-3); }

/* DEMO marking — impossible to mistake demo data for real inventory */
.demobar {
  background: #7A2E2A; color: #FFF; text-align: center; font-size: var(--fs-micro);
  letter-spacing: .04em; padding: 8px 16px; position: relative; z-index: 60;
}
.demobar strong { letter-spacing: .12em; text-transform: uppercase; }
.badge--demo { background: #7A2E2A; color: #FFF; border-color: #7A2E2A; }

/* --- Search module --------------------------------------------------------- */
.searchbox { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5); }
.searchbox--dark { background: rgba(255,255,255,.06); border-color: var(--line-dark); backdrop-filter: blur(6px); }
.searchbox--dark .field__label { color: var(--on-dark-2); }
.searchbox--dark .select { background: rgba(255,255,255,.94); border-color: transparent; color: var(--ink); }
.searchbox__grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .searchbox__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px){ .searchbox__grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.searchbox__grid > * { min-width: 0; }
.searchbox__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
.searchbox__foot .btn { flex: 1 1 240px; justify-content: center; }
.hero__search { margin-top: var(--s-7); }
@media (max-width: 640px) { .hero__search { margin-top: var(--s-6); } .searchbox { padding: var(--s-4); } }

/* --- Location tiles -------------------------------------------------------- */
.loctiles { display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: var(--s-6); }
.loctile {
  display: grid; gap: 4px; padding: 18px 20px; text-decoration: none; position: relative;
  background: var(--paper); border: 1px solid var(--line-2); min-height: 96px; align-content: center;
  transition: border-color .15s ease, background .15s ease;
}
.loctile:hover { border-color: var(--brass); background: var(--brass-3); }
.loctile__name { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--ink); line-height: 1.2; }
.loctile__meta { font-size: var(--fs-micro); color: var(--text-2); }
.loctile__go { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); opacity: .35; }
.loctile:hover .loctile__go { opacity: 1; }

/* --- Chip tiles (budget / BHK) --------------------------------------------- */
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-5); }
.chiptile {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill); text-decoration: none;
  font-size: var(--fs-sm); color: var(--ink); background: var(--paper);
  transition: border-color .15s ease, background .15s ease;
}
.chiptile:hover { border-color: var(--brass); background: var(--brass-3); }
.chiptile__n {
  font-size: var(--fs-micro); font-variant-numeric: tabular-nums; color: var(--brass-ink);
  background: var(--brass-3); border-radius: var(--r-pill); padding: 2px 8px; min-width: 24px; text-align: center;
}

/* --- Horizontal project rail ------------------------------------------------ */
/* No negative margins: they leaked 4px of horizontal body scroll at 375px.
   The rail scrolls inside the container instead, which is what the page needs. */
.rail { margin-top: var(--s-6); overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; max-width: 100%; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 320px); gap: var(--s-5); padding-bottom: var(--s-4); }
.rail__track > * { min-width: 0; }
@media (min-width: 1100px) {
  .rail { overflow: visible; }
  .rail__track { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0,1fr)); grid-auto-columns: auto; }
}


/* Filter bar clear control was 39px — under the 44px tap minimum. */
.filterbar__clear { min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; }


/* Project detail hero on mobile: the first CTA was landing at 647px, below a
   667px fold, on the highest-converting page on the site. */
@media (max-width: 640px) {
  .page-head--split { padding-top: 92px; padding-bottom: 36px; }
  .page-head--split .page-head__title {
    font-size: clamp(1.9rem, 1.25rem + 3.4vw, 2.5rem); line-height: 1.05;
  }
  .page-head--split .page-head__lede { font-size: var(--fs-base); }
  .page-head--split .page-head__actions .btn { width: 100%; }
}

/* Hero: search column now carries the fold. */
.hero__searchcol { display: grid; gap: var(--s-5); align-content: start; }
.hero__searchhead { display: grid; gap: 8px; }
.hero__searchhead .hero-form__title { margin: 0; }

/* Tick list for the shortlist lead magnet */
.ticklist { list-style: none; margin: var(--s-5) 0; padding: 0; display: grid; gap: 10px; }
.ticklist li { position: relative; padding-left: 28px; font-size: var(--fs-sm); line-height: 1.6; color: var(--text-2); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}

/* The sticky bar measures 65px; the reserved space was 62px, so it clipped
   the last 3px of every page. Matched with a little clearance. */
@media (max-width: 1023px) { body.has-sticky-cta { padding-bottom: 76px; } }

/* Hero on mobile: the search box is the fold. The lede and the duplicate
   action row pushed it to 830px, so they are dropped below 640px — the search
   box already offers both "Find My Property" and the advisor route. */
@media (max-width: 640px) {
  .hero__copy .hero__lede { display: none; }
  .hero__copy .hero__actions { display: none; }
  .hero__title { font-size: clamp(2.1rem, 1.3rem + 4.2vw, 2.9rem); line-height: 1.03; }
  .hero__searchcol { gap: var(--s-4); }
  .hero__searchhead .hero-form__title { font-size: var(--fs-h3); }
  .hero__searchhead .hero-form__sub { display: none; }
  /* Two-up selects so the whole search module — including its button — is
     reachable in one short scroll rather than four stacked rows. */
  .hero__searchcol .searchbox__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-3); }
  .hero__searchcol .searchbox { padding: var(--s-4); }
  .hero__searchcol .searchbox__foot { margin-top: var(--s-4); }
}

/* --- Progressive lead capture --------------------------------------------
   Inline, in the flow, revealed only when behaviour earns it. Never a modal. */
.intentprompt {
  position: relative; margin-top: var(--s-7);
  display: grid; gap: var(--s-6);
  padding: var(--s-6);
  border: 1px solid var(--brass); border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--brass-3) 0%, var(--paper) 60%);
}
@media (min-width: 900px) { .intentprompt { grid-template-columns: 1fr minmax(0, 420px); gap: var(--s-7); align-items: center; padding: var(--s-7); } }
.intentprompt[hidden] { display: none; }
.intentprompt.is-in { animation: promptIn .5s cubic-bezier(.2,.7,.3,1) both; }
@keyframes promptIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intentprompt.is-in { animation: none; } }
.intentprompt__body { display: grid; gap: 10px; align-content: start; }
.intentprompt__sum { font-family: var(--font-display); font-size: var(--fs-h4); color: var(--brass-ink); margin: 0; }
.intentprompt__x {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px;
  display: grid; place-items: center; background: none; border: 0; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--text-2);
}
.intentprompt__x:hover { color: var(--ink); }
.intentprompt .form-card { border: 0; background: var(--paper); box-shadow: var(--shadow-1, 0 1px 3px rgba(0,0,0,.06)); }

/* --- Save this search ------------------------------------------------------ */
.savebar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin: var(--s-5) 0 var(--s-2); }
.savebar__panel { flex: 1 1 100%; padding: var(--s-4) var(--s-5); }
.savebar__panel[hidden] { display: none; }

/* --- Guided quiz ----------------------------------------------------------- */
.quiz { max-width: 720px; margin: 0 auto; }
.quiz__bar { height: 3px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.quiz__fill { display: block; height: 100%; background: var(--brass); transition: width .4s cubic-bezier(.2,.7,.3,1); }
.quiz__step { font-size: var(--fs-micro); color: var(--text-2); letter-spacing: .1em; text-transform: uppercase; margin: var(--s-3) 0 var(--s-6); }
.quiz__panel[hidden] { display: none; }
.quiz__panel.is-active { animation: quizIn .35s ease both; }
@keyframes quizIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quiz__panel.is-active { animation: none; } .quiz__fill { transition: none; } }
.quiz__q { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; margin: 0 0 10px; text-wrap: balance; }
.quiz__hint { color: var(--text-2); font-size: var(--fs-sm); margin: 0 0 var(--s-6); max-width: 56ch; }
.quiz__opts { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .quiz__opts { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.quiz__opt {
  appearance: none; text-align: left; font: inherit; cursor: pointer;
  min-height: 56px; padding: 14px 18px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.quiz__opt:hover { border-color: var(--brass); background: var(--brass-3); }
.quiz__opt:active { transform: scale(.99); }
.quiz__opt.is-picked { border-color: var(--brass); background: var(--brass-3); font-weight: 600; }
.quiz__opt:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.quiz__back { appearance: none; background: none; border: 0; font: inherit; font-size: var(--fs-sm);
  color: var(--text-2); text-decoration: underline; cursor: pointer; min-height: 44px; margin-top: var(--s-5); padding: 0; }
.quiz__summary { list-style: none; margin: var(--s-5) 0 var(--s-6); padding: 0; display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.quiz__summary li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 11px 16px; background: var(--paper); font-size: var(--fs-sm); }
.quiz__summary span { color: var(--text-2); text-transform: capitalize; }
.quiz__summary strong { text-align: right; }
.quiz__form { margin-top: var(--s-6); }

/* The project page's own Save control reuses the card's saved/unsaved labels,
   but is a full button rather than the card's icon affordance. */
.btn[data-shortlist] .pcard__save-on { display: none; }
.btn[data-shortlist] .pcard__save-off { display: inline; }
.btn[data-shortlist].is-saved .pcard__save-on { display: inline; }
.btn[data-shortlist].is-saved .pcard__save-off { display: none; }

.compare-slot__name { display:block; font-family:var(--font-display); font-weight:600; font-size:var(--fs-h4); color:var(--text-1); text-decoration:none; margin-bottom:2px; }
.compare-slot__name:hover { color:var(--brass); }
