/* ==========================================================================
   Bhoomi Realty — Main Website Theme
   ========================================================================== */

/* ---------- 1. Bootstrap variable overrides ----------------------------- */
:root,
[data-bs-theme=light] {
  /* brand */
  --bs-primary: #F5C400;
  --bs-primary-rgb: 245, 196, 0;
  --bs-primary-text-emphasis: #8A6D00;
  --bs-primary-bg-subtle: rgba(245, 196, 0, .14);
  --bs-primary-border-subtle: rgba(245, 196, 0, .4);

  --bs-dark: #111111;
  --bs-dark-rgb: 17, 17, 17;

  --bs-body-bg: #FFFFFF;
  --bs-body-color: #111111;
  --bs-secondary-color: #6B6B6B;
  --bs-tertiary-bg: #F7F7F7;
  --bs-border-color: #ECECEC;
  --bs-border-color-translucent: rgba(17, 17, 17, .07);

  /* type */
  --bs-body-font-family: Urbanist, system-ui, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;
  --bs-heading-color: #111111;

  /* shape */
  --bs-border-radius: 14px;
  --bs-border-radius-sm: 11px;
  --bs-border-radius-lg: 20px;
  --bs-border-radius-xl: 22px;
  --bs-border-radius-xxl: 26px;
  --bs-border-radius-pill: 999px;

  --bs-link-color: #111111;
  --bs-link-color-rgb: 17, 17, 17;
  --bs-link-hover-color: #F5C400;
  --bs-link-hover-color-rgb: 245, 196, 0;
  --bs-link-decoration: none;

  /* brand tokens the design references directly */
  --br-gold: #F5C400;
  --br-gold-deep: #B58F00;
  --br-gold-ink: #8A6D00;
  --br-ink: #111111;
  --br-char: #1C1C1C;
  --br-gray: #F7F7F7;
  --br-soft: #ECECEC;
  --br-line: #E4E4E4;
  --br-mut: #6B6B6B;
  /* Min must be >= the largest half-gutter in use (.g-5 = 3rem, so 1.5rem).
     At 1.25rem the .row negative margins overhung the container by 4px on
     small screens and put the document into horizontal scroll. */
  --br-pad: clamp(1.5rem, 5vw, 3rem);
  --br-max: 1320px;
  --br-ease: cubic-bezier(.4, 0, .2, 1);
  --br-shadow-card: 0 26px 60px -44px rgba(17, 17, 17, .5);
  --br-shadow-card-hover: 0 44px 80px -44px rgba(17, 17, 17, .55);
  --br-shadow-panel: 0 40px 90px -56px rgba(17, 17, 17, .4);
  --br-nav-h: 76px;
}

::selection { background: var(--br-gold); color: var(--br-ink); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #DCDCDC; border-radius: 999px; }

/* Page scrollbar is hidden — its light thumb read as a seam against the dark
   hero. Scoped to the root scroller so inner scrollers (rails, facet panel,
   sticky asides) keep the 6px bar above. Scrolling itself is untouched. */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; }

body { overflow-x: hidden; }
img { max-width: 100%; }

/* Script fallbacks for the language switcher */
[lang=si] .i18n * { font-family: 'Noto Sans Sinhala', Urbanist, sans-serif !important; }
[lang=ta] .i18n * { font-family: 'Noto Sans Tamil', Urbanist, sans-serif !important; }

/* ---------- 2. Container ------------------------------------------------
   Bootstrap's widest container is 1320px and its width is not exposed as a
   CSS variable, so the design's 1560px needs one custom class. It keeps
   Bootstrap's own responsive gutter behaviour. */
.container-brealty {
  width: 100%;
  max-width: var(--br-max);
  margin-inline: auto;
  padding-inline: var(--br-pad);
}
.px-brealty { padding-inline: var(--br-pad) !important; }

/* ---------- 3. Fluid section spacing ------------------------------------
   Bootstrap's spacer scale is fixed rem steps; the design is fluid. In the
   Laravel build these become entries in the Sass $spacers map. */
.py-section { padding-block: clamp(5rem, 9vw, 8.75rem); }
.py-section-sm { padding-block: clamp(3.5rem, 6vw, 5.75rem); }
.py-section-xs { padding-block: clamp(2.5rem, 4.6vw, 4.25rem); }
.pt-section { padding-top: clamp(5rem, 9vw, 8.75rem); }
.pb-section { padding-bottom: clamp(5rem, 9vw, 8.75rem); }
.mt-section { margin-top: clamp(1.875rem, 3.4vw, 3.25rem); }
.gap-fluid { gap: clamp(0.875rem, 1.6vw, 1.5rem); }

/* ---------- 4. Typography ----------------------------------------------- */
.ff-display { font-family: Caudex, Georgia, serif; }
.ff-body { font-family: Urbanist, system-ui, sans-serif; }

.display-hero {
  font-family: Caudex, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.625rem, 6.6vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.display-hero em { font-style: italic; color: var(--br-gold); }

.h-section {
  font-family: Caudex, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.h-section em { font-style: italic; }
.h-page {
  font-family: Caudex, Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5625rem, 2.6vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.h-card {
  font-family: Caudex, Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.1875rem, 1.5vw, 1.4375rem);
  line-height: 1.24;
  text-wrap: pretty;
}
.h-stat {
  font-family: Caudex, Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.125rem, 3.7vw, 3.375rem);
  line-height: 1;
}

.eyebrow {
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--br-gold-deep);
}
.eyebrow-light { color: var(--br-gold); }

.lead-brealty {
  font-weight: 300;
  font-size: clamp(.9375rem, 1.15vw, 1.09375rem);
  line-height: 1.7;
  color: var(--br-mut);
  text-wrap: pretty;
}
.text-on-dark .lead-brealty { color: rgba(255, 255, 255, .6); }

.meta-label {
  font-size: .625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--br-mut);
}
.text-mut { color: var(--br-mut) !important; }
.text-gold { color: var(--br-gold) !important; }
.text-gold-deep { color: var(--br-gold-deep) !important; }
.text-gold-ink { color: var(--br-gold-ink) !important; }

/* ---------- 5. Buttons — themed through Bootstrap's own btn variables --- */
.btn {
  --bs-btn-padding-y: 1.1875rem;
  --bs-btn-padding-x: 2.125rem;
  --bs-btn-font-family: Urbanist, sans-serif;
  --bs-btn-font-size: .75rem;
  --bs-btn-font-weight: 700;
  --bs-btn-line-height: 1;
  --bs-btn-border-radius: var(--bs-border-radius-pill);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(245, 196, 0, .35);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6875rem;
  transition: .35s var(--br-ease);
}
.btn-sm {
  --bs-btn-padding-y: .9375rem;
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-font-size: .6875rem;
  letter-spacing: .15em;
}
/* letter-spacing adds trailing space after the last glyph, which shifts
   centred label text left; pull it back by the same amount. */
.btn > span:first-child:last-of-type,
.btn > span:not([class]) { margin-right: -.15em; }

.btn-gold {
  --bs-btn-color: #111111;
  --bs-btn-bg: var(--br-gold);
  --bs-btn-border-color: var(--br-gold);
  --bs-btn-hover-color: #111111;
  --bs-btn-hover-bg: var(--br-gold);
  --bs-btn-hover-border-color: var(--br-gold);
  --bs-btn-active-bg: #E0B400;
  --bs-btn-active-border-color: #E0B400;
  box-shadow: 0 16px 36px -18px rgba(245, 196, 0, .55);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 52px -18px rgba(245, 196, 0, 1); }

.btn-ink {
  --bs-btn-color: #FFFFFF;
  --bs-btn-bg: var(--br-ink);
  --bs-btn-border-color: var(--br-ink);
  --bs-btn-hover-color: #111111;
  --bs-btn-hover-bg: var(--br-gold);
  --bs-btn-hover-border-color: var(--br-gold);
  box-shadow: 0 16px 36px -18px rgba(17, 17, 17, .7);
}
.btn-ink:hover { transform: translateY(-2px); }

.btn-glass {
  --bs-btn-color: #FFFFFF;
  --bs-btn-bg: rgba(255, 255, 255, .06);
  --bs-btn-border-color: rgba(255, 255, 255, .34);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: rgba(255, 255, 255, .16);
  --bs-btn-hover-border-color: rgba(255, 255, 255, .6);
  backdrop-filter: blur(14px);
}

.btn-hairline {
  --bs-btn-color: #111111;
  --bs-btn-bg: #FFFFFF;
  --bs-btn-border-color: var(--br-line);
  --bs-btn-hover-color: #111111;
  --bs-btn-hover-bg: #FFFFFF;
  --bs-btn-hover-border-color: var(--br-ink);
}

.btn-whatsapp {
  --bs-btn-color: #FFFFFF;
  --bs-btn-bg: #25D366;
  --bs-btn-border-color: #25D366;
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: #1FBA59;
  --bs-btn-hover-border-color: #1FBA59;
}

.btn-quiet {
  --bs-btn-color: var(--br-mut);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #111111;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-padding-x: .25rem;
  --bs-btn-font-size: .6875rem;
  letter-spacing: .14em;
}

/* Underline link — a text link treatment Bootstrap has no variant for */
.link-under {
  display: inline-flex;
  align-items: center;
  gap: .6875rem;
  padding-bottom: .3125rem;
  border-bottom: 1px solid var(--br-gold);
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--br-ink);
  text-decoration: none;
}
.text-on-dark .link-under { color: #fff; }

/* Circular icon buttons */
.btn-round {
  --bs-btn-padding-y: 0;
  --bs-btn-padding-x: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  letter-spacing: 0;
}
.btn-round-sm { width: 2.75rem; height: 2.75rem; }

/* ---------- 6. Forms — themed through Bootstrap's form variables -------- */
.form-control, .form-select {
  --bs-border-radius: 13px;
  padding: 1rem 1.125rem;
  border-color: var(--br-line);
  font-size: .90625rem;
  font-weight: 500;
  transition: .25s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--br-gold);
  box-shadow: 0 0 0 .2rem rgba(245, 196, 0, .16);
}
.form-control::placeholder { color: #9A9A9A; }
.form-label {
  margin-bottom: .5rem;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--br-mut);
}

/* Bootstrap's own select caret, recoloured to brand ink */
.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23111111' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

/* Glass form controls, for use on dark hero panels */
.form-control-glass, .form-select-glass {
  padding: .8125rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  background-color: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.form-control-glass:focus, .form-select-glass:focus {
  background-color: transparent;
  border-bottom-color: var(--br-gold);
  box-shadow: none;
  color: #fff;
}
.form-control-glass::placeholder { color: rgba(255, 255, 255, .45); }
.form-select-glass {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23F5C400' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-position: right .25rem center;
}
.form-select-glass option { color: #111; }
.label-gold {
  margin-bottom: .5625rem;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--br-gold);
}

/* Range slider */
.form-range { height: 3px; }
.form-range::-webkit-slider-runnable-track { height: 3px; border-radius: 999px; background: var(--br-track, #DEDEDE); }
.form-range::-moz-range-track { height: 3px; border-radius: 999px; background: var(--br-track, #DEDEDE); }
.form-range::-webkit-slider-thumb {
  width: 20px; height: 20px; margin-top: -8.5px;
  border: 4px solid #fff; border-radius: 50%;
  background: var(--br-ink);
  box-shadow: 0 3px 10px rgba(17, 17, 17, .35);
}
.form-range::-moz-range-thumb {
  width: 18px; height: 18px;
  border: 4px solid #fff; border-radius: 50%;  background: var(--br-ink);
}

/* Checkbox in brand gold */
.form-check-input:checked {
  background-color: var(--br-gold);
  border-color: var(--br-gold);
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23111' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.form-check-input:focus { border-color: var(--br-gold); box-shadow: 0 0 0 .2rem rgba(245, 196, 0, .2); }

/* ---------- 7. Navbar --------------------------------------------------- */
.navbar-brealty {
  --bs-navbar-padding-y: 1.375rem;
  padding-inline: var(--br-pad);
  background: linear-gradient(180deg, rgba(17, 17, 17, .55), rgba(17, 17, 17, 0));
  color: #fff;
  transition: background .45s var(--br-ease), padding .45s var(--br-ease), box-shadow .45s, backdrop-filter .45s, color .45s;
}
.navbar-brealty.is-solid,
.navbar-brealty.navbar-solid {
  --bs-navbar-padding-y: .9375rem;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(24px);
  box-shadow: 0 12px 40px -28px rgba(17, 17, 17, .5);
  color: var(--br-ink);
}
.navbar-brand-brealty {
  display: flex;
  align-items: baseline;
  gap: .5625rem;
  color: inherit;
  font-family: Caudex, Georgia, serif;
}
.navbar-brand-brealty b { font-size: 1.6875rem; font-weight: 700; line-height: 1; }
.navbar-brand-brealty i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--br-gold); transform: translateY(-3px);
}
.navbar-brand-brealty span {
  font-size: 1.25rem; font-weight: 400; line-height: 1;
  letter-spacing: .26em; text-transform: uppercase;
}
.navbar-brealty .nav-link {
  --bs-nav-link-font-size: .78125rem;
  --bs-nav-link-color: currentColor;
  --bs-nav-link-hover-color: var(--br-gold);
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .92;
}
.navbar-brealty .nav-link.active { color: var(--br-gold); opacity: 1; }
.navbar-brealty .navbar-nav { --bs-nav-link-padding-x: 0; gap: clamp(1.25rem, 2.4vw, 2.375rem); }

.navbar-brealty .dropdown-menu {
  --bs-dropdown-min-width: 14.5rem;
  --bs-dropdown-padding-y: .625rem;
  --bs-dropdown-padding-x: .625rem;
  --bs-dropdown-border-radius: 16px;
  --bs-dropdown-border-color: rgba(17, 17, 17, .06);
  --bs-dropdown-bg: rgba(255, 255, 255, .96);
  --bs-dropdown-item-padding-y: .8125rem;
  --bs-dropdown-item-padding-x: .9375rem;
  --bs-dropdown-link-hover-bg: var(--br-gray);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 70px -34px rgba(17, 17, 17, .5);
}
.navbar-brealty .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-radius: 11px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.navbar-brealty .dropdown-item em {
  font-style: normal; font-size: .6875rem; font-weight: 500;
  letter-spacing: .06em; color: var(--br-mut);
}

/* Currency + language selects sit inside the navbar as bare selects */
.util-select {
  display: flex;
  align-items: center;
  gap: .4375rem;
  padding: .625rem .75rem;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  transition: .3s;
}
.util-select:hover { background: rgba(150, 150, 150, .16); }
.util-select select {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .13em;
  cursor: pointer;
  outline: none;
}
.util-select .js-cur-select { min-width: 1.6rem; }
.util-select select option { color: #111; }
.util-divider { width: 1px; height: .9375rem; background: currentColor; opacity: .22; }

.navbar-toggler {
  width: 2.875rem; height: 2.875rem;
  padding: 0 .75rem;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { display: block; height: 1.5px; border-radius: 2px; background: currentColor; }
.navbar-toggler i:last-child { width: 70%; background: var(--br-gold); }
.navbar-solid .navbar-toggler { border-color: rgba(17, 17, 17, .14); background: #fff; }

/* Offcanvas drawer */
.offcanvas-brealty {
  --bs-offcanvas-bg: rgba(17, 17, 17, .97);
  --bs-offcanvas-color: #fff;
  --bs-offcanvas-padding-x: var(--br-pad);
  --bs-offcanvas-padding-y: 1.625rem;
  --bs-offcanvas-width: 100%;
  backdrop-filter: blur(18px);
}
/* Bootstrap's .offcanvas-header does not distribute its children here, so the
   close button sat directly after the wordmark instead of at the far edge. */
.offcanvas-brealty .offcanvas-header { align-items: flex-start; }
.offcanvas-brealty .offcanvas-header .btn-close-brealty { margin-left: auto; flex: 0 0 auto; }

.offcanvas-brealty .nav-link {
  padding-block: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-family: Caudex, Georgia, serif;
  font-size: 1.625rem;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
}

/* Breathing room around the currency/language pair and the CTA below it. */
.offcanvas-brealty .offcanvas-body > .row { margin-top: 50px; padding-block: 1.75rem 1.25rem; }
.offcanvas-brealty .label-gold { margin-bottom: .5rem; }
.offcanvas-brealty .form-select { padding: .875rem 1rem; }
.offcanvas-brealty .offcanvas-body > .btn-gold { padding-block: 1.125rem; }
.offcanvas-brealty .nav-link.active { color: var(--br-gold); }
.offcanvas-brealty .form-select {
  border-color: rgba(255, 255, 255, .2);
  background-color: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 700;
  letter-spacing: .12em;
}

/* ---------- 8. Sections ------------------------------------------------- */
.section-gold-dark {
  background-color: #181b22;
}

.section-dark {
  position: relative;
  background: var(--br-ink);
  color: #fff;
  overflow: hidden;
}
.section-dark .h-section, .section-dark .h-page, .section-dark h1, .section-dark h2, .section-dark h3,
.phero .h-hero, .phero h1, .phero h2, .phero h3 {
  /* Bootstrap sets color on the heading element itself via --bs-heading-color,
     which beats an ancestor's color, so dark contexts must state it here. */
  color: #fff;
}
.section-dark .h-section em { color: var(--br-gold); }
.section-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 78% 22%, rgba(245, 196, 0, .09), transparent 62%);
  pointer-events: none;
}
.bg-gray { background: var(--br-gray) !important; }

/* ---------- 9. Hero ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100svh, 1000px);
  
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 9.375rem;
  padding-bottom: clamp(5.5rem, 8vw, 7.5rem);
  background: var(--br-ink);
  overflow: visible;
}
.hero__bg { position: absolute; inset: 0 0 auto; height: 100%; overflow: hidden; }
.hero__layer {
  position: absolute; inset: 0;
  background-position: center; background-size: cover;
  opacity: 0; transition: opacity 1.5s var(--br-ease);
}
.hero__layer.is-on { opacity: 1; }
.hero__layer.is-on:first-child { animation: brKen 14s ease-out both; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 12% 88%, rgba(17, 17, 17, .75), transparent 60%),
    linear-gradient(180deg, rgba(17, 17, 17, .62) 0%, rgba(17, 17, 17, .3) 34%, rgba(17, 17, 17, .72) 74%, rgba(17, 17, 17, .94) 100%);
}
.hero__flag-line { width: 2.375rem; height: 1px; background: var(--br-gold); }
.hero__lead {
  max-width: 62ch;
  font-weight: 300;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .76);
  text-wrap: pretty;
}
/* Hero search actions. At lg the column is col-lg-3 (~225px) but Filters +
   Search need ~275px at full padding; flex-fill can't shrink past its content
   because flex items default to min-width:auto, so the gold button escaped the
   card and put 1px of horizontal scroll on the document. min-width:0 makes the
   overflow impossible; the lg-only trim keeps the label legible rather than
   just clipping it. The Filters label is dropped for that range in markup. */
.hero__actions > .btn { min-width: 0; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero__actions > .btn-gold { padding-inline: 1.75rem; }
}

/* Below md the dots sit in normal flow between the CTAs and the search card,
   which also pushes the card down — they used to be absolutely placed and
   landed on top of the card, with the location label overlapping it. */
.hero__dots { margin-top: clamp(1.75rem, 5vw, 2.5rem); z-index: 3; }
/* Absolute placement only from lg, where the search card collapses to a single
   row (col-lg-3) and there is room above it. Below lg the card stacks to 2-3
   rows and the fixed offset landed inside it — the original rule overlapped
   here too, it was just less obvious than on phones. */
@media (min-width: 992px) {
  /* Restored to the original placement. The offset is re-based because the
     containing block is now .container-brealty rather than .hero, so the
     hero's own bottom padding has to come out of the value. */
  .hero__dots {
    position: absolute;
    right: var(--br-pad);
    /* Gap above the card is (this offset - card height). The card is a stable
       single row at lg+, so a fixed offset holds the gap constant; the old
       23vw value drifted from a 7px gap at 992 to 56px at 1440. */
    bottom: 11rem;
    margin-top: 0;
  }
}
.dot { width: 16px; height: 2px; padding: 0; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: .4s; }
.dot.is-on { width: 34px; background: var(--br-gold); }
/* Centred via auto margins, not transform: brBob animates transform and would
   discard translateX(-50%), leaving the cue offset by half its own width. */
.scroll-cue { position: absolute; left: 0; right: 0; bottom: 1.625rem; width: fit-content; margin-inline: auto; z-index: 3; animation: brBob 2.6s ease-in-out infinite; }
.scroll-cue i { display: block; width: 1px; height: 2.125rem; background: linear-gradient(180deg, var(--br-gold), transparent); }
.scroll-cue i { display: block; width: 1px; height: 2.125rem; margin-inline: auto; background: linear-gradient(180deg, var(--br-gold), transparent); }

/* Glass quick-search card — floats its advanced drawer so the hero never resizes */
.glass-card {
  position: relative;
  z-index: 30;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(26px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
}
.glass-drawer {
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  z-index: 29;
  border: 1px solid rgba(255, 255, 255, .16);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: rgba(20, 20, 20, .96);
  backdrop-filter: blur(28px);
  box-shadow: 0 50px 100px -42px rgba(0, 0, 0, .85);
  max-height: min(58svh, 520px);
  overflow-y: auto;
}
.glass-panel {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px);
}

/* ---------- 10. Chips, tabs, pills -------------------------------------- */
.chip {
  padding: .6875rem 1.1875rem;
  border: 1px solid var(--br-soft);
  border-radius: 999px;
  background: #fff;
  color: var(--br-mut);
  font-size: .71875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s;
}
.chip:hover { border-color: #CFCFCF; }
.chip.is-on { background: var(--br-ink); border-color: var(--br-ink); color: #fff; }
.chips-dark .chip { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .72); }
.chips-dark .chip.is-on { background: var(--br-gold); border-color: var(--br-gold); color: #111; }

.pill-tabs { display: flex; gap: .4375rem; padding: .4375rem; border-radius: 999px; background: var(--br-gray); }
/* Below sm the three tabs exceed the container and pushed the document into
   horizontal scroll. Scrolling rather than shrinking, because the labels are
   translated (si/ta) and their width isn't predictable. */
@media (max-width: 575.98px) {
  .pill-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .pill-tabs::-webkit-scrollbar { height: 0; }
  .pill-tabs > .pill-tab { flex: 0 0 auto; }
}
.pill-tab {
  padding: .8125rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--br-mut);
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .35s;
}
.pill-tab.is-on { background: var(--br-ink); color: #fff; }

.badge-brealty {
  padding: .5rem .875rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  color: #111;
  font-size: .59375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.badge-gold { background: rgba(245, 196, 0, .94); }
.badge-glass { background: rgba(17, 17, 17, .44); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }

/* ---------- 11. Horizontal rails ---------------------------------------
   Bootstrap's carousel is single-item; a peeking multi-card rail with
   scroll-snap has no Bootstrap equivalent, so it stays custom. */
.rail {
  display: flex;
  gap: clamp(1.125rem, 1.8vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: .375rem 1.375rem;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.rail-card { width: clamp(17.5rem, 28vw, 25.25rem); }
.rail-tour { width: clamp(18rem, 32vw, 29.375rem); }
.rail-life { width: clamp(13.125rem, 20vw, 17.375rem); }

/* Milestone horizontal cards */
.milestone-card { width: clamp(18rem, 30vw, 27rem); }
.milestone-card__inner {
  position: relative;
  padding: clamp(1.5rem, 2.2vw, 2.25rem);
  border: 1px solid rgba(17,17,17,.09);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}
.milestone-card__inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--br-gold, #F5C400), rgba(245,196,0,.25));
  border-radius: 22px 22px 0 0;
}
.milestone-card__year {
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.milestone-card__title {
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  line-height: 1.24;
  color: #111;
}
.milestone-card__body {
  font-weight: 300;
  font-size: .875rem;
  line-height: 1.68;
  text-wrap: pretty;
  flex-grow: 1;
}
.milestone-card__index {
  margin-top: 1.5rem;
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #A9A9A9;
  font-weight: 600;
}
@media (max-width: 575.98px) {
  .milestone-card { width: 85vw; }
}

/* ---------- 12. Cards --------------------------------------------------- */
.card-property {
  --bs-card-border-color: rgba(17, 17, 17, .07);
  --bs-card-border-radius: 22px;
  --bs-card-inner-border-radius: 22px;
  --bs-card-spacer-x: clamp(1.25rem, 1.7vw, 1.625rem);
  --bs-card-spacer-y: clamp(1.25rem, 1.7vw, 1.625rem);
  overflow: hidden;
  box-shadow: var(--br-shadow-card);
  transition: transform .5s var(--br-ease), box-shadow .5s;
}
.card-property:hover { transform: translateY(-8px); box-shadow: var(--br-shadow-card-hover); }
/* Aspect-ratio media box.
   Deliberately NOT Bootstrap's .ratio: that sets position:absolute + 100%×100%
   on every direct child, which stretches badge / icon / caption overlays to
   full bleed. Use .ratio only when the box has a single child. */
.media-box { position: relative; overflow: hidden; background: var(--br-char); }
.media-box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-1x1 { aspect-ratio: 1 / 1; }
.ar-3x2 { aspect-ratio: 3 / 2; }
.ar-4x3 { aspect-ratio: 4 / 3; }
.ar-3x4 { aspect-ratio: 3 / 4; }
.ar-16x9 { aspect-ratio: 16 / 9; }
.ar-16x11 { aspect-ratio: 16 / 11; }
.ar-16x10 { aspect-ratio: 16 / 10; }

.media-zoom { overflow: hidden; background: var(--br-char); }
.media-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--br-ease); }
.card-property:hover .media-zoom img,
.tile:hover .media-zoom img,
.post:hover .media-zoom img { transform: scale(1.07); }
/* Both scrims are self-sufficient — each carries its own geometry so either can
   be applied standalone, which is how every call site uses them. */
.media-scrim, .media-scrim-b {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.media-scrim {
  background: linear-gradient(180deg, rgba(17, 17, 17, .4), transparent 42%, rgba(17, 17, 17, .55));
}
.media-scrim-b {
  background: linear-gradient(180deg, rgba(17, 17, 17, .15), transparent 34%, rgba(17, 17, 17, .86));
}

.icon-btn {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(17, 17, 17, .3);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: .3s;
}
.icon-btn svg { fill: none; stroke: #fff; }
.icon-btn:hover { background: var(--br-gold); border-color: var(--br-gold); }
.icon-btn:hover svg { stroke: #111; }
.icon-btn.is-on { background: var(--br-gold); border-color: var(--br-gold); }
.icon-btn.is-on svg { stroke: #111; }
.icon-btn.is-on.icon-fav svg { fill: #111; }

/* Lifestyle / editorial tiles */
.tile { transition: transform .5s var(--br-ease); }
.tile:hover { transform: translateY(-8px); }
.tile__arrow {
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  transition: .35s;
}
.tile:hover .tile__arrow { background: var(--br-gold); border-color: var(--br-gold); }
.tile:hover .tile__arrow svg path { stroke: #111; }

.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(3.75rem, 6vw, 5rem); height: clamp(3.75rem, 6vw, 5rem);
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  transition: .4s;
}
.tour:hover .play-btn { background: var(--br-gold); border-color: var(--br-gold); transform: translate(-50%, -50%) scale(1.08); }
.tour:hover .play-btn svg path { fill: #111; }
.tour { transition: transform .5s var(--br-ease); }
.tour:hover { transform: translateY(-6px); }

/* Bordered quad grid — Bootstrap g-0 row plus collapsed hairlines */
.grid-hairline { border: 1px solid var(--br-soft); border-radius: 24px; overflow: hidden; }
.grid-hairline > [class*=col] { border-right: 1px solid var(--br-soft); border-bottom: 1px solid var(--br-soft); }
.grid-hairline .cell { height: 100%; background: #fff; transition: background .4s; }
.grid-hairline .cell:hover { background: var(--br-gray); }
.num-badge {
  display: grid; place-items: center;
  width: 3.375rem; height: 3.375rem;
  border-radius: 15px;
  background: rgba(245, 196, 0, .14);
  font-family: Caudex, Georgia, serif;
  font-size: 1.25rem;
  color: var(--br-gold-ink);
}

/* ---------- 13. Island map + pins --------------------------------------- */
.island-wrap { position: relative; width: min(100%, 440px); aspect-ratio: 300 / 520; margin-inline: auto; }
.island-wrap svg.island { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pin {
  position: absolute;
  width: 27px; height: 27px;
  padding: 0; border: 0; background: none;
  transform: translate(-50%, -100%);
  display: grid; place-items: center;
  cursor: pointer; z-index: 4;
  transition: width .3s, height .3s;
}
.pin__pulse { position: absolute; bottom: -4px; width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .18); animation: brPing 2.6s ease-out infinite; }
.pin svg { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .55)); }
.pin svg path { fill: #fff; stroke: rgba(17, 17, 17, .25); stroke-width: 1.2; }
.pin svg circle { fill: #111; }
.pin__label {
  position: absolute; left: 50%; top: 3px;
  transform: translate(-50%, -100%);
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(17, 17, 17, .72);
  color: #fff;
  font-size: .5625rem; font-weight: 700; line-height: 1;
  letter-spacing: .13em; text-transform: uppercase;
  white-space: nowrap;
  opacity: .62;
  transition: .3s;
}
.pin.is-on { width: 38px; height: 38px; z-index: 6; }
.pin.is-on svg path { fill: var(--br-gold); stroke: var(--br-gold); }
.pin.is-on .pin__pulse { background: rgba(245, 196, 0, .6); }
.pin.is-on .pin__label { background: var(--br-gold); color: #111; opacity: 1; }
.pin.is-dim { z-index: 2; }
.pin.is-dim svg path { fill: rgba(255, 255, 255, .22); }
.pin.is-dim .pin__label { opacity: 0; }

/* ---------- 14. Marquee ------------------------------------------------- */
.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: .875rem; animation: brMarquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.trust-chip {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: .8125rem;
  padding: 1.1875rem 1.75rem;
  border: 1px solid rgba(17, 17, 17, .055);
  border-radius: 15px;
  background: #fff;
  white-space: nowrap;
}
.trust-chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--br-gold); transform: rotate(45deg); }

/* ---------- 15. Calendar ------------------------------------------------ */
.cal-day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 0;
  border: 1px solid #EDEDED;
  border-radius: 11px;
  background: #fff;
  color: var(--br-ink);
  font-size: .84375rem; font-weight: 600; line-height: 1;
  cursor: pointer; transition: .25s;
}
.cal-day:hover:not(:disabled) { border-color: var(--br-ink); }
.cal-day:disabled { background: #FAFAFA; border-color: #F1F1F1; color: #D2D2D2; cursor: not-allowed; }
.cal-day.is-blank { border-color: transparent; background: transparent; cursor: default; }
.cal-day.is-on { background: var(--br-gold); border-color: var(--br-gold); color: #111; }

.mode-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.0625rem;
  border: 1px solid var(--br-line);
  border-radius: 999px;
  background: #fff;
  color: var(--br-mut);
  font-size: .71875rem; font-weight: 600; line-height: 1;
  cursor: pointer; transition: .25s;
}
.mode-chip.is-on { border-color: var(--br-gold); background: rgba(245, 196, 0, .18); color: var(--br-gold-ink); }
/* On a dark section the pale-gold fill + dark-gold ink composites to ~2.6:1;
   invert to solid gold with near-black ink, matching .chips-dark. */
.section-dark .mode-chip.is-on { background: var(--br-gold); border-color: var(--br-gold); color: #111; }

.tick-wrap {
  width: 5.5rem; height: 5.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(245, 196, 0, .18);
}
.tick-wrap circle { animation: brDash .9s ease-out both; }
.tick-wrap path { animation: brDash .7s .45s ease-out both; }

/* ---------- 16. Modals -------------------------------------------------- */
.modal-brealty .modal-content {
  --bs-modal-border-radius: 26px;
  --bs-modal-border-width: 0;
  --bs-modal-padding: 0;
  overflow: hidden;
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, .85);
}
.modal-brealty.modal-media .modal-content { background: #151515; }
.modal-brealty .btn-close-brealty {
  position: absolute; top: 1rem; right: 1rem; z-index: 5;
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border: 1px solid var(--br-soft);
  border-radius: 50%;
  background: #fff;
  color: var(--br-ink);
  font-size: 1.0625rem;
  cursor: pointer; transition: .3s;
}
.modal-brealty .btn-close-brealty:hover { background: var(--br-ink); border-color: var(--br-ink); color: #fff; }
.modal-media .btn-close-brealty { border-color: rgba(255, 255, 255, .24); background: rgba(17, 17, 17, .44); color: #fff; }

/* ---------- 17. Floating actions + bottom nav --------------------------- */
.fab-stack {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(5.625rem, 10vw, 2rem);
  z-index: 1035;
  opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: opacity .5s, transform .5s;
}
.fab-stack.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab {
  position: relative;
  width: 2.3rem; height: 2.3rem;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  cursor: pointer; transition: .35s;
}
.fab:hover { transform: scale(1.06); }
.fab-ink { background: var(--br-ink); color: #fff; box-shadow: 0 16px 36px -14px rgba(17, 17, 17, .7); }
.fab-ink:hover { background: var(--br-gold); color: #111; }
.fab-wa { background: #25D366; color: #fff; box-shadow: 0 16px 36px -14px rgba(37, 211, 102, .75); }
.fab-wa:hover { color: #fff; }
.fab-light { border: 1px solid var(--br-soft); background: #fff; color: var(--br-ink); box-shadow: 0 16px 36px -16px rgba(17, 17, 17, .5); }
.fab-light:hover { background: var(--br-gold); border-color: var(--br-gold); }

/* Back to top — fades in past the halfway mark, so it never competes with the
   hero. Own transition because the stack's is driven by .is-on. */
.fab-top {
  border: 1px solid rgba(17, 17, 17, .12);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  color: var(--br-ink);
  box-shadow: 0 16px 36px -18px rgba(17, 17, 17, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(.75rem) scale(.9);
  transition: opacity .45s var(--br-ease), transform .45s var(--br-ease), visibility .45s, background .35s, border-color .35s, color .35s;
}
.fab-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.fab-top.is-shown:hover { background: var(--br-ink); border-color: var(--br-ink); color: #fff; transform: scale(1.06); }
.fab__count {
  position: absolute; top: -3px; right: -3px;
  min-width: 1.375rem; height: 1.375rem;
  padding-inline: 5px;
  display: grid; place-items: center;
  border: 2px solid #fff; border-radius: 999px;
  background: var(--br-gold);
  font-size: .6875rem; font-weight: 700; line-height: 1; color: #111;
}

.bottom-nav {
  position: fixed; inset: auto 0 0; z-index: 1030;
  padding: .6875rem .875rem calc(.6875rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(17, 17, 17, .07);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(22px);
}
.bottom-nav a, .bottom-nav button {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: .375rem;
  padding: .5625rem 0;
  min-height: 3.25rem;
  border: 0; background: none;
  color: var(--br-mut);
  font-size: .5625rem; font-weight: 700; line-height: 1.3;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
  cursor: pointer;
}
.bottom-nav .is-active { color: var(--br-ink); }
.bottom-nav .is-cta { border-radius: 14px; background: var(--br-gold); color: #111; }
/* Count pill on the mobile compare tab. No default display:none — the JS
   toggles Bootstrap's .d-none, so this rule carries chrome only. */
.bottom-nav__count {
  position: absolute;
  top: .25rem;
  right: calc(50% - 1.25rem);
  min-width: 1.0625rem;
  height: 1.0625rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--br-gold);
  color: #111;
  font-size: .59375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

/* ---------- 21. Sub-page chrome ----------------------------------------- */
.page-offset { padding-top: var(--br-nav-h); }

.phero {
  position: relative;
  padding-block: clamp(2.875rem, 5.4vw, 5.25rem);
  padding-inline: 0;
  background: var(--br-ink);
  color: #fff;
  overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .34; }
.phero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, .86), rgba(17, 17, 17, .68) 44%, rgba(17, 17, 17, .96)); }
.phero__flag { display: inline-flex; align-items: center; gap: .8125rem; font-size: .6875rem; font-weight: 700; line-height: 1; letter-spacing: .26em; text-transform: uppercase; color: var(--br-gold); }
.phero__flag i { width: 2.125rem; height: 1px; background: var(--br-gold); }
.phero__lead { max-width: 46ch; font-weight: 300; font-size: clamp(.9375rem, 1.15vw, 1.09375rem); line-height: 1.72; color: rgba(255, 255, 255, .62); text-wrap: pretty; }

.h-hero {
  font-family: Caudex, Georgia, serif;
  font-weight: 400;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 4.125rem);
  line-height: 1.05;
  letter-spacing: -.018em;
  text-wrap: pretty;
  animation: brRise .8s both;
}
.h-hero em { font-style: italic; color: var(--br-gold); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5625rem; font-size: .71875rem; font-weight: 500; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs [aria-current] { color: #fff; }
.crumbs-dark { color: var(--br-mut); }
.crumbs-dark [aria-current] { color: var(--br-ink); }

/* Sticky sub-strip: light in the page flow, dark once pinned under the navbar */
.substrip {
  position: sticky;
  top: calc(var(--br-nav-h) - 3px);
  z-index: 1020;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--br-soft);
  transition: background .35s var(--br-ease), box-shadow .35s, border-color .35s;
}
.substrip.is-stuck {
  background: #141414;
  border-bottom-color: rgba(255, 255, 255, .08);
  box-shadow: 0 14px 34px -26px rgba(17, 17, 17, .6);
}
.substrip__inner { overflow-x: auto; scrollbar-width: none; padding-block: .875rem; }
.substrip__inner::-webkit-scrollbar { display: none; }
.substrip .chip { flex: 0 0 auto; }
.substrip.is-stuck .chip { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .72); }
.substrip.is-stuck .chip.is-on { background: var(--br-gold); border-color: var(--br-gold); color: #111; }

.secnav { display: flex; gap: clamp(1.125rem, 2.2vw, 2.25rem); overflow-x: auto; scrollbar-width: none; }
.secnav::-webkit-scrollbar { display: none; }
.secnav button {
  flex: 0 0 auto;
  padding-block: 1.1875rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--br-mut);
  font-size: .6875rem; font-weight: 700; line-height: 1;
  letter-spacing: .15em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: color .35s, border-color .35s;
}
.secnav button.is-on { color: var(--br-ink); border-bottom-color: var(--br-gold); }
.substrip.is-stuck .secnav button { color: rgba(255, 255, 255, .58); }
.substrip.is-stuck .secnav button.is-on { color: #fff; }

/* Sticky columns — capped to the viewport so long content stays reachable */
.aside-sticky, .toc {
  position: sticky;
  top: calc(var(--br-nav-h) + 4.625rem);
  max-height: calc(100svh - var(--br-nav-h) - 5.75rem);
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.aside-sticky::-webkit-scrollbar, .toc::-webkit-scrollbar { width: 0; }

/* Filter rail — sticky but grows with content, no capped height */
.facets {
  position: sticky;
  top: calc(var(--br-nav-h) + 1.5rem);
}

/* Quick chips: single scrollable row inside the results toolbar */
.quick-chips {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: .125rem;
}
.quick-chips::-webkit-scrollbar { height: 0; }
.quick-chips > * { flex: 0 0 auto; }

/* ---- Listing: rail, toolbar, cards, tray ------------------------------- */
.facet-rail {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.125rem, 1.8vw, 1.625rem);
  border: 1px solid rgba(17, 17, 17, .06);
  border-radius: 1.375rem;
  background: #fff;
  box-shadow: 0 26px 60px -50px rgba(17, 17, 17, .4);
}
.facet-rail > #facets { display: grid; gap: 1.5rem; }
#facetsSheet { display: grid; gap: 1.5rem; }

.facet-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); opacity: .45; pointer-events: none; }
.facet-search .form-control { padding-left: 2.625rem; }

.facet-chip {
  padding: .625rem .9375rem;
  border: 1px solid var(--br-soft);
  border-radius: 999px;
  background: #fff;
  color: var(--br-mut);
  font-size: .65625rem; font-weight: 600; line-height: 1;
  letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: .25s;
}
.facet-chip:hover { border-color: #CFCFCF; }
.facet-chip.is-on { background: var(--br-ink); border-color: var(--br-ink); color: #fff; }

.toolbar {
  padding: clamp(.75rem, 1.2vw, 1rem) clamp(.875rem, 1.4vw, 1.25rem);
  border: 1px solid rgba(17, 17, 17, .06);
  border-radius: 1.125rem;
  background: #fff;
}
.sort-chips { min-width: 0; overflow-x: auto; scrollbar-width: none; padding-block: .125rem; }
.sort-chips::-webkit-scrollbar { height: 0; }
.sort-chips > * { flex: 0 0 auto; }

.view-toggle { padding: .25rem; border-radius: 999px; background: var(--br-gray); }
.view-btn {
  width: 2.375rem; height: 2.375rem;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--br-mut);
  cursor: pointer; transition: .25s;
}
.view-btn.is-on { background: var(--br-ink); color: #fff; }

.prop-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 50px -46px rgba(17, 17, 17, .5);
  transition: transform .5s var(--br-ease), box-shadow .5s;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 38px 70px -44px rgba(17, 17, 17, .55); }
.prop-card__media { position: relative; aspect-ratio: 4 / 3; background: #1c1c1c; overflow: hidden; }
.prop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--br-ease); }
.prop-card:hover .prop-card__media img { transform: scale(1.06); }
.prop-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, .34), transparent 44%, rgba(17, 17, 17, .5)); }
.prop-card__acts { position: absolute; top: .75rem; right: .75rem; display: flex; gap: .4375rem; }
.prop-card__badge { position: absolute; top: .875rem; left: .875rem; z-index: 2; }
.prop-card__foot {
  position: absolute; left: .9375rem; right: .9375rem; bottom: .8125rem;
  display: flex; align-items: center; justify-content: space-between; gap: .5625rem;
  font-size: .59375rem; font-weight: 600; line-height: 1;
  letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
}
.prop-card__foot em { font-style: normal; letter-spacing: .08em; color: rgba(255, 255, 255, .68); }
.prop-card__body { flex: 1; display: flex; flex-direction: column; padding: clamp(1.0625rem, 1.5vw, 1.375rem); }
.prop-card__body h3 { font-size: clamp(1.125rem, 1.4vw, 1.375rem); line-height: 1.24; text-wrap: pretty; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prop-card__cur { font-size: .65em; font-weight: 600; letter-spacing: .04em; color: var(--br-mut); }
.prop-card__label { display: block; font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #A9A9A9; margin-bottom: .25rem; }
.prop-card__specs {
  margin-top: .9375rem; padding-top: .875rem;
  border-top: 1px solid var(--br-soft);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem;
  font-size: .75rem; font-weight: 500; color: var(--br-mut);
}
.prop-spec {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center;
  line-height: 1.2;
}
.prop-spec > i {
  font-size: 1.0625rem;
  color: var(--br-ink);
}
.prop-spec > em {
  font-style: normal;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.prop-card__body .btn { margin-top: auto; }
.prop-card__body .d-flex.gap-2.mt-4 { margin-top: auto !important; padding-top: 1.25rem; }

@media (min-width: 576px) {
  .prop-card--list { flex-direction: row; }
  .prop-card--list .prop-card__media { flex: 0 0 clamp(13rem, 30%, 20rem); aspect-ratio: auto; }
  .prop-card--list .prop-card__body { flex: 1; }
}

.skel-card { border: 1px solid rgba(17, 17, 17, .05); border-radius: 1.25rem; overflow: hidden; background: #fff; }
.skel-card__media { aspect-ratio: 4 / 3; background: linear-gradient(100deg, #F1F1F1 22%, #E6E6E6 42%, #F1F1F1 62%); background-size: 220% 100%; animation: brShimmer 1.4s linear infinite; }
.skel-card__body { padding: 1.1875rem; display: grid; gap: .6875rem; }
.skel-card__body span { display: block; height: .6875rem; border-radius: 999px; background: #F1F1F1; }
.skel-card__body i { display: block; height: 1px; background: #F0F0F0; margin-top: .375rem; }
@keyframes brShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.empty-state {
  margin-top: clamp(1rem, 1.8vw, 1.5rem);
  padding: clamp(2.75rem, 6vw, 5.5rem) 1.875rem;
  border: 1px solid rgba(17, 17, 17, .06);
  border-radius: 1.375rem;
  background: #fff;
  text-align: center;
}
.empty-state__icon { margin: 0 auto; width: 4rem; height: 4rem; display: grid; place-items: center; border-radius: 50%; background: var(--br-gray); }
.empty-state h3 { font-size: clamp(1.3125rem, 2.1vw, 1.8125rem); line-height: 1.22; }

.load-bar { width: min(17.5rem, 60%); height: 3px; border-radius: 999px; background: var(--br-soft); overflow: hidden; }
.load-bar span { display: block; height: 100%; border-radius: 999px; background: var(--br-gold); transition: width .4s; }

.cmp-tray {
  position: fixed; left: 0; right: 0; bottom: clamp(1rem, 2vw, 1.625rem);
  margin-inline: auto; z-index: 90;
  width: min(35rem, calc(100% - 2 * var(--br-pad)));
  padding: .75rem .875rem;
  border-radius: 1.25rem;
  background: rgba(17, 17, 17, .93);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
  display: flex; align-items: center; gap: .75rem;
}
.cmp-tray__items { flex: 1; min-width: 0; display: flex; align-items: center; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.cmp-tray__items::-webkit-scrollbar { height: 0; }
.cmp-tray__chip {
  flex: 0 0 auto; display: flex; align-items: center; gap: .5rem;
  padding: .375rem .625rem .375rem .375rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: .6875rem; font-weight: 600;
  cursor: pointer; transition: .25s;
}
.cmp-tray__chip:hover { background: rgba(255, 255, 255, .16); }
.cmp-tray__chip img { width: 1.625rem; height: 1.625rem; border-radius: 50%; object-fit: cover; }
.cmp-tray__chip span { max-width: 8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-tray__chip i { font-style: normal; opacity: .6; font-size: .625rem; }
.cmp-tray__cta { flex: 0 0 auto; display: flex; align-items: center; gap: .75rem; }
.cmp-tray__cta .meta-label { color: rgba(255, 255, 255, .5); }

/* Saved-only switch (listing rail) */
.saved-switch {
  display: flex; align-items: center; gap: .75rem;
  width: 100%;
  padding: .9375rem 1rem;
  border: 1px solid var(--br-line);
  border-radius: .875rem;
  background: #fff;
  text-align: left;
  cursor: pointer; transition: .25s;
}
.saved-switch.is-on { border-color: var(--br-gold); background: rgba(245, 196, 0, .1); }
.saved-switch__track {
  position: relative; flex: 0 0 2.5rem;
  width: 2.5rem; height: 1.375rem;
  border-radius: 999px; background: #DEDEDE; transition: .3s;
}
.saved-switch.is-on .saved-switch__track { background: var(--br-gold); }
.saved-switch__knob {
  position: absolute; top: 3px; left: 3px;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 5px rgba(17, 17, 17, .3);
  transition: .3s;
}
.saved-switch.is-on .saved-switch__knob { left: calc(100% - 1.1875rem); }
.saved-switch__label { font-size: .78125rem; font-weight: 600; line-height: 1.35; color: var(--br-ink); }

/* Filters button count badge + offcanvas filter panel */
.filter-count {
  min-width: 1.1875rem; height: 1.1875rem; padding: 0 .3125rem;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--br-gold); color: var(--br-ink);
  font-size: .625rem; font-weight: 700; line-height: 1;
}
#filterPanel { width: min(24rem, 92vw); }
#filterPanel .offcanvas-body { padding-block: 1.25rem; }
.btn-reset {
  border: 0; background: none; padding: .25rem .125rem;
  color: var(--br-gold-deep);
  font-size: .65625rem; font-weight: 700; line-height: 1;
  letter-spacing: .13em; text-transform: uppercase;
  cursor: pointer;
}
.btn-reset:hover { color: var(--br-ink); }
@media (max-width: 1199.98px) {
  .facets, .aside-sticky, .toc { position: static; max-height: none; overflow: visible; }
}

.facet { border: 1px solid rgba(17, 17, 17, .07); border-radius: 20px; background: #fff; padding: clamp(1.125rem, 1.8vw, 1.5rem); }

.pill { display: inline-flex; align-items: center; gap: .5625rem; padding: .625rem .875rem; border: 1px solid var(--br-soft); border-radius: 999px; background: #fff; font-size: .71875rem; font-weight: 600; color: #4A4A4A; }
.pill button { width: 1rem; height: 1rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: #EFEFEF; color: #6B6B6B; font-size: .625rem; cursor: pointer; transition: .25s; }
.pill button:hover { background: var(--br-ink); color: #fff; }

/* List view — card media and body sit side by side */
.results-list .card-property { flex-direction: row; }
.results-list .card-property > .media-box { flex: 0 0 clamp(13.75rem, 32%, 21.25rem); aspect-ratio: auto; min-height: 13.75rem; }
.results-list .card-property > .card-body { flex: 1 1 auto; }
@media (max-width: 767.98px) {
  .results-list .card-property { flex-direction: column; }
  .results-list .card-property > .media-box { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
}

.empty-state { border: 1px solid var(--br-soft); border-radius: 24px; background: var(--br-gray); padding: clamp(2.75rem, 6vw, 5.625rem) 1.5rem; text-align: center; }

/* Nearby POI markers on the locality map */
.poi {
  position: absolute; transform: translate(-50%, -50%);
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .34); border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8);
  font-size: .5625rem; font-weight: 700;
  cursor: pointer; transition: .3s;
}
.poi.is-on { width: 2.375rem; height: 2.375rem; background: #fff; color: #111; border-color: #fff; z-index: 6; }
.poi--home { width: 2.5rem; height: 2.5rem; background: var(--br-gold); border-color: var(--br-gold); color: #111; z-index: 5; }
.poi__ping { position: absolute; inset: -6px; border-radius: 50%; background: rgba(245, 196, 0, .4); animation: brPing 2.8s ease-out infinite; }

/* Accordion — themed through Bootstrap's own accordion variables */
.accordion-brealty {
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 1.25rem;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--br-ink);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23111' stroke-linecap='round' stroke-width='2' d='M8 2v12M2 8h12'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23111' stroke-linecap='round' stroke-width='2' d='M8 2v12M2 8h12'/%3e%3c/svg%3e");
  --bs-accordion-btn-icon-width: .875rem;
  --bs-accordion-btn-icon-transform: rotate(45deg);
  border-top: 1px solid var(--br-soft);
}
.accordion-brealty .accordion-item { border-bottom: 1px solid var(--br-soft); background: transparent; }
.accordion-brealty .accordion-button {
  font-family: Caudex, Georgia, serif;
  font-size: clamp(1.03125rem, 1.4vw, 1.25rem);
  line-height: 1.4;
  color: var(--br-ink);
  background: transparent;
  box-shadow: none;
  text-wrap: pretty;
  /* Guarantees clearance from the label once the auto margin below collapses
     on long questions that fill the row. */
  gap: 1.125rem;
}
.accordion-brealty .accordion-button::after {
  flex-shrink: 0;
  width: 1.875rem; height: 1.875rem;
  /* auto, not a fixed value — a fixed margin left the icon trailing the text
     mid-row instead of sitting at the right edge. */
  margin-left: auto;
  padding: .5rem;
  border: 1px solid var(--br-line);
  border-radius: 50%;
  background-color: #fff;
  background-position: center;
  background-size: .875rem;
  transition: .3s;
}
.accordion-brealty .accordion-button:not(.collapsed)::after { background-color: var(--br-gold); border-color: var(--br-gold); }
.accordion-brealty .accordion-body {
  padding-right: 3rem;
  padding-bottom: 1.375rem;
  font-size: .875rem;
  line-height: 1.72;
  color: var(--br-mut);
  text-wrap: pretty;
}

/* Live indicator dot */
.livedot { position: relative; width: 9px; height: 9px; }
.livedot i { position: absolute; inset: 0; border-radius: 50%; background: #2FBF71; }
.livedot i:last-child { background: rgba(47, 191, 113, .5); animation: brPing 2.6s ease-out infinite; }

/* Legal document clauses + table of contents */
.clause { padding-bottom: clamp(1.875rem, 3.2vw, 2.875rem); scroll-margin-top: 9.375rem; }
.clause__body { margin-top: 1rem; padding-left: clamp(1.875rem, 2.6vw, 2.625rem); }
@media (max-width: 575.98px) { .clause__body { padding-left: 0; } }

.toc-link {
  display: flex; align-items: flex-start; gap: .6875rem;
  padding: .6875rem .8125rem;
  border: 0; border-left: 2px solid transparent;
  border-radius: 0 9px 9px 0;
  background: none; text-align: left; cursor: pointer;
  transition: .28s;
}
.toc-link.is-on { background: var(--br-gray); border-left-color: var(--br-gold); }
.toc-link em { flex-shrink: 0; font-style: normal; font-size: .65625rem; font-weight: 600; line-height: 1.5; letter-spacing: .06em; color: #B0B0B0; }
.toc-link span { font-size: .78125rem; font-weight: 500; line-height: 1.5; color: var(--br-mut); text-wrap: pretty; }
.toc-link.is-on em { color: var(--br-gold-ink); }
.toc-link.is-on span { font-weight: 600; color: var(--br-ink); }

.docswitch { display: flex; gap: .3125rem; padding: .3125rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .07); }
.docswitch a {
  padding: .75rem 1.25rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, .66);
  font-size: .65625rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; text-decoration: none;
  transition: .32s;
}
.docswitch a.is-on { background: var(--br-gold); color: #111; }
.docswitch a:hover { color: #fff; }
.docswitch a.is-on:hover { color: #111; }

/* Comparison table — Bootstrap .table, themed through its own variables.
   table-layout:fixed so the declared column widths are honoured exactly and
   every property thumbnail renders at an identical size. */
.table-compare {
  --bs-table-bg: transparent;
  --bs-table-color: var(--br-ink);
  min-width: 46rem;
  table-layout: fixed;
  border-color: var(--br-soft);
}
.table-compare > :not(caption) > * > * {
  padding: 1.125rem clamp(.875rem, 1.4vw, 1.375rem);
  background: transparent;
  box-shadow: none;
}
.table-compare thead th { border-bottom: 1px solid var(--br-soft); vertical-align: bottom; }
.table-compare thead th:first-child { border-bottom-color: transparent; }
.table-compare tbody tr:nth-child(even) { background: #FCFCFC; }
.table-compare tbody th[scope=row] { color: var(--br-mut); }
.table-compare tbody td { overflow-wrap: anywhere; }
.table-compare tbody tr:last-child > * { border-bottom-width: 0; padding-top: 1.375rem; }

.best-badge {
  display: inline-flex; align-items: center; gap: .3125rem;
  padding: .3125rem .5625rem;
  border-radius: 999px;
  background: rgba(245, 196, 0, .16);
  font-size: .53125rem; font-weight: 700; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--br-gold-ink);
  white-space: nowrap;
}
.company {
  font-size: .65rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.footer-credit {
  display: inline-flex;
  flex-direction: column;
  gap: .25rem;
  text-align: right;
  text-decoration: none;
  transition: .3s;
}
.footer-credit span {
  font-size: .625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.footer-credit b {
  /* font-family: Caudex, Georgia, serif; */
  font-size: .7375rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .7);
  transition: .3s;
}
.footer-credit:hover b { color: var(--br-gold); }
@media (max-width: 575.98px) {
  .footer-credit { text-align: left; }
}

/* ---------- 18. Animations ---------------------------------------------- */
@keyframes brRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes brFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes brKen { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes brPing { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes brMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes brDash { from { stroke-dashoffset: 130; } to { stroke-dashoffset: 0; } }
@keyframes brBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.anim-rise { animation: brRise 1s both; }
.d-1 { animation-delay: .1s; } .d-2 { animation-delay: .18s; } .d-3 { animation-delay: .26s; }
.d-4 { animation-delay: .34s; } .d-5 { animation-delay: .44s; } .d-6 { animation-delay: .54s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
}

/* ---------- 19. Responsive ---------------------------------------------- */
/* No blanket solid navbar below xl. Every page except the homepage carries
   .navbar-solid in markup and stays solid on its own; the homepage has a dark
   hero, so it keeps the transparent treatment it already uses on desktop. */
/* Room for the fixed bottom nav, which is .d-lg-none — so this must share
   that breakpoint, not the navbar's navbar-expand-xl one. */

@media (max-width: 767.98px) {
  .hero { padding-top: 8.125rem; }
}

/* Hero CTAs stay on one row below sm. flex:1 1 0 splits the width evenly and
   min-width:0 lets them shrink past their content; the arrow is dropped and
   tracking tightened to buy room, and text may wrap rather than clip on very
   narrow screens. Above sm both buttons fit at full size. */
@media (max-width: 575.98px) {
  .hero__cta > .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: .875rem;
    letter-spacing: .08em;
    white-space: normal;
    text-align: center;
  }
  .hero__cta > .btn svg { display: none; }
}

/* ---------- 20. Print --------------------------------------------------- */
@media print {
  .no-print, .navbar, .fab-stack, .bottom-nav { display: none !important; }
  a { color: #111 !important; }
}
