/* KhaleejKeys v2 design language (8 Nov): SHARED components for every page that opts in with <body class="v2">.
   Loaded after tokens.css + chrome.css and BEFORE the page's own CSS (so a page can refine these).
   Tokens live in tokens.css ("v2 design language" block). Nothing here applies to a page that does not load this file.
   Contents: view transitions, wrap, header (transparent over the hero, ink glass once scrolled), dark stage + aurora,
   hero + glass search + chips, display type scale, section rhythm, dark band, reveals, phone bottom nav, reduced-motion/transparency.
   Home-only layout is in index.css. Inner-page rules (rents, community) are NOT here yet: scope them under body.v2-rents / body.v2-community. */

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; }
.v2 header { view-transition-name: v2-header; }
::view-transition-group(v2-header) { animation-duration: 0s; }

html { scroll-behavior: smooth; }
body.v2 { background: var(--bg); color: var(--text); overflow-x: clip; }
.v2-wrap { max-width: var(--v2-wrap); margin: 0 auto; padding: 0 var(--v2-gutter); box-sizing: border-box; }
/* ONE frame (operator, 12 Nov site audit): header, hero, content wraps and footer all start at the same x — the
   --v2-wrap box, border-box, inset by --v2-gutter. The header and footer were on the old 1080px frame (40px right of
   the hero at 1920), and three pages' content-box wraps sat 40px left of it. */
.v2 header { padding-left: 0; padding-right: 0; }
.v2 .header-inner { max-width: var(--v2-wrap); padding: 0 var(--v2-gutter); box-sizing: border-box; }
.v2 .ftr-shell { padding-left: 0; padding-right: 0; }
.v2 .ftr-inner { max-width: var(--v2-wrap); padding: 0 var(--v2-gutter); box-sizing: border-box; }
.v2 :focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
.v2-hero :focus-visible, .v2-bnav :focus-visible { outline-color: var(--v2-hl); }
.v2 .page { padding: 0; }
.v2-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 80px; pointer-events: none; }

/* ── Header: transparent over the hero, glass once scrolled ───────────── */
.v2 header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent;
  transition: background-color 280ms var(--v2-out), border-color 280ms var(--v2-out), backdrop-filter 280ms var(--v2-out);
}
.v2-scrolled header {
  background: color-mix(in srgb, var(--chrome) 72%, transparent);
  border-bottom-color: var(--chrome-line);
  -webkit-backdrop-filter: var(--v2-glass-blur);
  backdrop-filter: var(--v2-glass-blur);
}
.v2-scrolled header {
  background: color-mix(in srgb, var(--chrome) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text-on-dark) 10%, transparent);
}

/* ── Hero stage ────────────────────────────────────────────────────────── */
.v2-hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 112px 0 96px;
  background: var(--chrome); color: var(--v2-on-ink);
}
.v2-aurora { position: absolute; inset: 0; overflow: clip; z-index: -1; pointer-events: none; }
.v2-blob { position: absolute; border-radius: 50%; will-change: transform; }
.v2-blob-a {
  width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax;
  background: radial-gradient(closest-side, var(--v2-aurora-a), transparent);
  animation: v2-drift-a 26s ease-in-out infinite alternate;
}
.v2-blob-b {
  width: 55vmax; height: 55vmax; right: -18vmax; top: 6vmax;
  background: radial-gradient(closest-side, var(--v2-aurora-b), transparent);
  animation: v2-drift-b 30s ease-in-out infinite alternate;
}
.v2-blob-c {
  width: 42vmax; height: 42vmax; left: 22vmax; bottom: -26vmax;
  background: radial-gradient(closest-side, var(--v2-aurora-c), transparent);
  animation: v2-drift-c 18s ease-in-out infinite alternate;
}
@keyframes v2-drift-a { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.15); } }
@keyframes v2-drift-b { to { transform: translate3d(-16vmax, 8vmax, 0) scale(.88); } }
@keyframes v2-drift-c { to { transform: translate3d(-12vmax, -9vmax, 0) scale(1.2); } }
.v2-grid {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 55%;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text-on-dark) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text-on-dark) 9%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, black, transparent 85%);
  mask-image: linear-gradient(to top, black, transparent 85%);
  opacity: .8;
}
.v2-grain {
  position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.v2-hero-inner { width: 100%; max-width: var(--v2-wrap); margin: 0 auto; padding: 0 var(--v2-gutter); box-sizing: border-box; }
.v2-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--v2-glass-line); background: var(--v2-glass-fill);
  font-size: var(--fs-2); font-weight: 600; letter-spacing: .02em; color: var(--v2-on-ink);
}
.v2-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: v2-pulse 2.4s ease-in-out infinite; }
@keyframes v2-pulse { 50% { transform: scale(1.7); opacity: .45; } }
.v2-hero h1 {
  font-family: 'Inter Tight', Inter, sans-serif; font-weight: 800;
  font-size: var(--v2-display); letter-spacing: -0.045em; line-height: .95;
  color: var(--v2-on-ink); margin: 22px 0 0; max-width: 15em; text-wrap: balance;
}
.v2-hero .h1-accent { color: var(--v2-hl); font-style: italic; padding-right: .04em; }
/* Hero word reveal: NO clipping mask (10 Nov). Only Inter Tight 600-700 upright is loaded, so the 800 italic accent is
   browser-synthesised and its ink overflows its box unpredictably; a padded overflow:hidden mask still cut 'sold'/'for'
   (pixel-diffed against overflow:visible). The words fade + rise a short distance instead, so nothing needs hiding. */
/* Headline breaks (operator, 12 Nov, the read-aloud test): break at the thought, then check the shape. .nb holds a
   word group on one line; the accent (the payoff) never breaks inside; balance evens the lines. */
.v2-hero h1 { text-wrap: balance; }
.v2-hero h1 .nb, .v2-hero h1 .h1-accent { white-space: nowrap; }
/* Home, wider than a phone: the payoff gets its own line ("See what homes in Dubai / actually sold for"). */
@media (min-width: 641px) { #v2Title .h1-accent { display: block; } }
/* Blog posts, wider than a phone: the title's lead ("Inside Business Bay") gets its own line and the " -" that
   joins it hides (the break does its job). Phones keep one balanced run, dash shown. Built by blog.js postTitleHtml. */
@media (min-width: 641px) { .v2-post .v2-hero h1 .h1-lead { display: block; } .v2-post .v2-hero h1 .h1-sep { display: none; } }
.v2-w { display: inline-block; vertical-align: top; }
.v2-wi { display: inline-block; }
.v2-sub { font-size: var(--v2-sub); line-height: 1.5; color: var(--v2-on-ink-mute); max-width: 36em; margin: 26px 0 0; }

/* Search: frosted pill */
.v2-hero .search-wrap { max-width: 760px; margin: 34px 0 0; padding: 0; }
.v2-hero .search-box-row { margin: 0; }
.v2-hero .search-icon { left: 24px; color: var(--v2-on-ink-mute); width: 20px; height: 20px; }
.v2-hero #searchInput {
  height: 64px; padding: 0 76px 0 56px; border-radius: 999px;
  font-size: 1.05rem; color: var(--v2-on-ink);   /* 16px floor: iOS zooms any input under 16px (59·M10) */
  background: var(--v2-glass-fill); border: 1px solid var(--v2-glass-line);
  -webkit-backdrop-filter: var(--v2-glass-blur); backdrop-filter: var(--v2-glass-blur);
  box-shadow: 0 18px 50px color-mix(in srgb, var(--chrome) 55%, transparent);
  transition: border-color 200ms var(--v2-out), background-color 200ms var(--v2-out), box-shadow 200ms var(--v2-out);
}
.v2-hero #searchInput::placeholder { color: var(--v2-on-ink-mute); }
.v2-hero #searchInput:focus {
  border-color: var(--v2-hl); background: color-mix(in srgb, var(--text-on-dark) 15%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 22%, transparent), 0 18px 50px color-mix(in srgb, var(--chrome) 55%, transparent);
}
.v2-go {
  position: absolute; right: 8px; top: 8px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--lime); color: var(--lime-ink);
  transition: transform 160ms var(--v2-out), background-color 160ms var(--v2-out);
}
.v2-go svg { width: 22px; height: 22px; }
.v2-go:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .v2-go:hover { background: var(--lime-hover); transform: scale(1.06); } }
.v2-hero .autocomplete-list {
  top: calc(100% + 10px); border: 1px solid var(--border); border-radius: var(--v2-r-pop); z-index: 60;
  background: var(--surface); color: var(--text); max-height: 320px; padding: 6px;
  box-shadow: 0 30px 70px color-mix(in srgb, var(--chrome) 60%, transparent);
}
.v2-hero .autocomplete-item { border-bottom: 0; border-radius: 14px; padding: 12px 14px; }
.v2-hero .autocomplete-item:hover, .v2-hero .autocomplete-item.selected { background: var(--accent-tint); }
.v2-hero .autocomplete-list.open { animation: v2-pop-in 180ms var(--v2-out); transform-origin: 50% 0; }
@keyframes v2-pop-in { from { opacity: 0; transform: scale(.97) translate3d(0, -6px, 0); } }

/* Chips */
.v2-hero .hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; max-width: 760px; }
.v2-hero .hero-chip {
  min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: var(--fs-3); font-weight: 600;
  color: var(--v2-on-ink); background: var(--v2-glass-fill); border: 1px solid var(--v2-glass-line);
  -webkit-backdrop-filter: var(--v2-glass-blur-sm); backdrop-filter: var(--v2-glass-blur-sm);
  transition: transform 160ms var(--v2-out), background-color 160ms var(--v2-out), border-color 160ms var(--v2-out), color 160ms var(--v2-out);
}
.v2-hero .hero-chip:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) {
  .v2-hero .hero-chip:hover { border-color: var(--v2-hl); color: var(--v2-on-ink); background: color-mix(in srgb, var(--lime) 16%, transparent); transform: translate3d(0, -2px, 0); }
}
.v2-hero .hero-chip.active { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.v2-hero .hero-trust {
  display: flex; align-items: center; gap: 10px; margin: 26px 0 0; max-width: 46em;
  font-size: var(--fs-3); line-height: 1.45; color: var(--v2-on-ink-mute);
}
.v2-hero .hero-trust svg { width: 18px; height: 18px; flex: none; color: var(--v2-hl); }
/* AI-SEARCH: the answer-first line (server-rendered; hydration never touches it) */
.v2-hero .hero-answer { margin: 14px 0 0; max-width: 46em; font-size: var(--fs-3); line-height: 1.5; color: var(--v2-on-ink); }

/* Scroll cue */
.v2-cue {
  position: absolute; left: 50%; bottom: 22px; width: 26px; height: 44px; margin-left: -13px;
  border: 1.5px solid var(--v2-glass-line); border-radius: 14px; opacity: .85;
  /* once the dot's 3 pulses end (3 × 1.8s), fade the outline too — a hollow pill left behind read as broken */
  animation: v2-cue-out .6s var(--v2-inout) 5.4s both;
}
.v2-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--lime);
  animation: v2-cue 1.8s var(--v2-inout) 3 both;
}
@keyframes v2-cue { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 25% { opacity: 1; } 80%, 100% { transform: translate3d(0, 16px, 0); opacity: 0; } }
@keyframes v2-cue-out { from { opacity: .85; } to { opacity: 0; visibility: hidden; } }

/* ── Display type scale + section rhythm ──────────────────────────────── */
.v2-section { padding: var(--v2-sec) 0; }
.v2-section + .v2-section:not(.v2-dark) { padding-top: 0; }
.v2-section + .v2-section.v2-dark + .v2-section { padding-top: var(--v2-sec); }
.v2-kicker { font-size: var(--fs-2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.v2-h2 {
  font-family: 'Inter Tight', Inter, sans-serif; font-weight: 800; font-size: var(--v2-h2);
  letter-spacing: -0.04em; line-height: 1; margin: 0; color: var(--text); text-wrap: balance;
}

/* ── Dark band: ink stage with a soft exit into the page ──────────────── */
.v2-dark { position: relative; isolation: isolate; background: var(--chrome); color: var(--v2-on-ink); padding-bottom: calc(var(--v2-sec) + 120px); }
.v2-dark .v2-aurora { opacity: .55; }
.v2-dark .v2-blob { animation: none; will-change: auto; }
.v2-dark .v2-blob-b { right: -20vmax; top: -10vmax; width: 50vmax; height: 50vmax; }
.v2-dark .v2-blob-c { left: -10vmax; bottom: -22vmax; width: 44vmax; height: 44vmax; }
.v2-dark::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.v2-dark .v2-kicker { color: var(--v2-hl); }
.v2-dark .v2-h2 { color: var(--v2-on-ink); }

/* ── Shared utilities for inner pages (short hero, full-bleed ink band, glass control) ── */
/* Shared: short hero stage (inner pages) */
.v2-hero-short { min-height: auto; align-items: flex-start; padding: 124px 0 40px; }
.v2-hero-short h1 { font-size: clamp(2.5rem, 6.4vw, 5.5rem); }
.v2-hero-short .v2-aurora {
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent);
  mask-image: linear-gradient(to bottom, black 55%, transparent);
}
.v2-hero-short .v2-sub { max-width: 46em; }
.v2-hero-short .v2-sub strong { color: var(--v2-on-ink); }
.v2-motion .v2-hero.is-go h1.v2-hold .v2-wi { transform: translate3d(0, .4em, 0); opacity: 0; transition: none; }

/* Shared: full-bleed ink band behind in-flow content, with a soft exit into the page */
.v2-bleed { position: relative; isolation: isolate; }
.v2-bleed::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
  background: var(--chrome);
}
.v2-bleed::after {
  content: ""; position: absolute; z-index: -1; top: 100%; left: 50%; width: 100vw; height: 88px; margin-left: -50vw; pointer-events: none;
  background: linear-gradient(to bottom, var(--chrome), var(--bg));
}

/* Shared: glass form controls on ink, and light-variant controls */
.v2-glass-ctl {
  height: 48px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: var(--fs-4);
  color: var(--v2-on-ink); background: var(--v2-glass-fill); border: 1px solid var(--v2-glass-line);
  -webkit-backdrop-filter: var(--v2-glass-blur-md); backdrop-filter: var(--v2-glass-blur-md);
}

/* ── Phone bottom nav (markup is per page; Home is marked aria-current) ── */
.v2-bnav { display: none; }

/* ── Reveals: the default (no .v2-motion class) state is fully visible; v2.js adds html.v2-motion ── */
.v2-motion .v2-rise { opacity: 0; transform: translate3d(0, 24px, 0); }
.v2-motion .v2-hero.is-go .v2-rise {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--v2-out) var(--d, 0ms), transform 700ms var(--v2-out) var(--d, 0ms);
}
.v2-motion .v2-wi { transform: translate3d(0, .4em, 0); opacity: 0; }
.v2-motion .v2-hero.is-go .v2-wi {
  transform: none; opacity: 1;
  transition: transform 650ms var(--v2-out) calc(var(--i, 0) * 55ms + 80ms), opacity 650ms var(--v2-out) calc(var(--i, 0) * 55ms + 80ms);
}
.v2-motion .v2-reveal { opacity: 0; transform: translate3d(0, 36px, 0); }
.v2-motion .v2-reveal-scale { transform: scale(.96); }
.v2-motion .v2-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--v2-out) calc(var(--i, 0) * 90ms), transform 700ms var(--v2-out) calc(var(--i, 0) * 90ms);
}
@supports (animation-timeline: view()) {
  .v2-motion .v2-reveal, .v2-motion .v2-reveal.is-in {
    opacity: 1; transform: none; transition: none;
    animation: v2-reveal linear both;
    animation-timeline: view();
    animation-range: entry calc(var(--i, 0) * 5%) cover calc(30% + var(--i, 0) * 5%);
  }
  .v2-motion .v2-reveal-scale { animation-name: v2-reveal-scale; }
  .v2-hero-inner { animation: v2-hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 70%; }
}
@keyframes v2-reveal { from { opacity: 0; transform: translate3d(0, 36px, 0); } to { opacity: 1; transform: none; } }
@keyframes v2-reveal-scale { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes v2-hero-out { to { opacity: .15; transform: translate3d(0, -48px, 0); } }

.v2-i1 { --i: 1; } .v2-i2 { --i: 2; } .v2-i3 { --i: 3; }

/* ── Phones ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  body.v2-has-bnav { padding-bottom: calc(var(--v2-bnav-h) + env(safe-area-inset-bottom)); }
  .v2-hero { min-height: auto; align-items: flex-start; padding: 88px 0 48px; }
  .v2-hero .v2-hero-inner { padding-bottom: 0; }
  .v2-hero #searchInput { height: 56px; padding: 0 64px 0 50px; font-size: 1rem; }   /* 16px floor (59·M10) */
  .v2-hero .search-icon { left: 20px; }
  .v2-go { width: 44px; height: 44px; top: 6px; right: 6px; }
  .v2-hero .hero-chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-right: calc(var(--v2-gutter) * -1); padding-right: var(--v2-gutter);
  }
  .v2-hero .hero-chips::-webkit-scrollbar { display: none; }
  .v2-hero .hero-chip { flex: none; scroll-snap-align: start; min-height: 44px; }
  .v2-cue { display: none; }
  .v2-hero-short { padding: 88px 0 32px; }

  .v2-bnav {
    position: fixed; z-index: 95; left: 10px; right: 10px; bottom: calc(env(safe-area-inset-bottom) + 8px);
    height: var(--v2-bnav-h); display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch;
    padding: 4px; border-radius: 24px; color: var(--v2-on-ink);
    background: color-mix(in srgb, var(--chrome) 90%, transparent); border: 1px solid var(--v2-glass-line);
    -webkit-backdrop-filter: var(--v2-glass-blur); backdrop-filter: var(--v2-glass-blur);
    box-shadow: 0 12px 36px color-mix(in srgb, var(--chrome) 50%, transparent);
  }
  .v2-bnav a, .v2-bnav button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 48px; min-width: 44px; border: 0; border-radius: 20px; background: transparent; cursor: pointer;
    color: var(--v2-on-ink-mute); font: inherit; font-size: var(--fs-1); font-weight: 600; text-decoration: none;
    transition: background-color 160ms var(--v2-out), color 160ms var(--v2-out), transform 160ms var(--v2-out);
  }
  .v2-bnav svg { width: 22px; height: 22px; }
  .v2-bnav a:active, .v2-bnav button:active { transform: scale(.94); }
  .v2-bnav .is-cur { color: var(--v2-hl); background: color-mix(in srgb, var(--lime) 14%, transparent); }
}

/* ── Preferences ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v2-blob, .v2-dot, .v2-cue::after { animation: none; }
  .v2-cue { display: none; }
  .v2-reveal, .v2-rise, .v2-wi { opacity: 1; transform: none; animation: none; transition: none; }
  .v2-hero-inner { animation: none; }
  .v2-motion .v2-hero.is-go h1.v2-hold .v2-wi { transform: none; opacity: 1; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .v2-scrolled header { background: var(--chrome); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .v2-hero #searchInput, .v2-hero .hero-chip { background: color-mix(in srgb, var(--chrome) 82%, var(--text-on-dark)); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .v2-bnav { background: var(--chrome); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .v2-eyebrow { background: var(--chrome); }
}

/* ── Light theme: the stages follow the theme (operator, 10 Nov: "light vs dark looks identical on mobile") ──
   Every dark stage (hero, home figures band, page bands, filter stages) is painted from --chrome and the --v2-*
   on-ink/glass tokens. In light mode those tokens are re-pointed ON each stage container, so everything inside
   (backgrounds, ::before bleeds, fades, glass controls, grid lines) turns light by inheritance, while the header,
   footer, bottom nav and the dark CTA cards, which sit outside any stage, keep the real dark values.
   Highlight TEXT uses --v2-hl: lime on dark, the accent on light (lime text on a pale stage is unreadable);
   lime FILLS (search button, active chip) stay lime. Dark theme: unchanged. */
:root { --v2-hl: var(--lime); }
:root:not([data-theme="dark"]) .v2-hero,
:root:not([data-theme="dark"]) .v2-dark,
:root:not([data-theme="dark"]) .v2-bleed,
:root:not([data-theme="dark"]) .v2-community #mainContent > .section:has(> .kpi-grid.kk-stagger),
:root:not([data-theme="dark"]) .v2-building #mainContent > .section:first-child:has(> .kpi-grid),
:root:not([data-theme="dark"]) .v2-project #mainContent > .section:first-child:has(> .kpi-grid),
:root:not([data-theme="dark"]) .v2-buildings .search-band,
:root:not([data-theme="dark"]) .v2-projects .search-band,
:root:not([data-theme="dark"]) .v2-rents .rents-form,
:root:not([data-theme="dark"]) .v2-results .page2-toolbar {
  --chrome:         color-mix(in srgb, var(--accent) 7%, var(--bg));
  --chrome-ink:     var(--text);
  --chrome-sub:     var(--text-muted);
  --chrome-line:    var(--border);
  --text-on-dark:   var(--text);
  --v2-on-ink:      var(--text);
  --v2-on-ink-mute: var(--text-muted);
  --v2-glass-fill:  color-mix(in srgb, var(--surface) 78%, transparent);
  --v2-glass-line:  color-mix(in srgb, var(--accent) 22%, transparent);
  --v2-aurora-a:    color-mix(in srgb, var(--accent-hi) 30%, transparent);
  --v2-aurora-b:    color-mix(in srgb, var(--accent) 16%, transparent);
  --v2-aurora-c:    color-mix(in srgb, var(--lime) 34%, transparent);
  --v2-hl:          var(--accent);
  --v2-down:        var(--neg);   /* --v2-down is resolved at :root from the REAL on-dark text, so it stays pale pink unless re-pointed here (2.3:1 on a light stage) */
}
/* Over a light hero the transparent header's white logo/nav would vanish: in light mode it is the solid chrome bar. */
:root:not([data-theme="dark"]) .v2 header { background: var(--chrome); border-bottom: 1px solid var(--chrome-line); }
/* Community hero locator map: no dark inversion on a light stage, just a quiet grey map. */
:root:not([data-theme="dark"]) .v2-community .v2-locator .leaflet-tile-pane { filter: grayscale(1) contrast(.9) opacity(.55); }
