:root {
  --bno-navy: #133A53;
  --bno-navy-soft: #1E465F;
  --bno-sand-gold: #C7AE90;
  --bno-light-sand: #D9C9B5;
  --bno-sky-line: #AEC3CF;
  --bno-steel-blue: #516D7F;
  --bno-off-white: #FAF8F5;
  --bno-white: #FFFFFF;
  --ink: var(--bno-navy);
  --copper: var(--bno-sand-gold);
  --stone: var(--bno-light-sand);
  --paper: #FAF8F5;
  --white: var(--bno-white);
  --muted: var(--bno-steel-blue);
  --line: var(--stone);
  --olive: var(--copper);
  --sage: var(--bno-navy-soft);
  --clay: var(--copper);
  --sand: var(--bno-light-sand);
  --sky: var(--bno-sky-line);
  --radius: 8px;
  --shadow: 0 18px 60px rgba(19, 58, 83, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body[data-page="projects"] main,
body[data-page="about"] main {
  padding-top: 132px;
}

body[data-page="contact"] main {
  padding-top: 0;
}

body[data-page="projects"] main {
  padding-top: 132px;
}

body.has-info-cursor,
body.has-info-cursor * {
  cursor: none !important;
}

body[data-page="home"] {
  padding-top: 0;
}

body[data-page="project"] {
  background: var(--paper);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(199,174,144,.22), transparent 34%),
    linear-gradient(135deg, rgba(250,248,245,.98), rgba(230,227,223,.98));
  color: var(--ink);
  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility .55s ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  transform: translateY(-8px);
}

.site-preloader-logo {
  width: clamp(92px, 12vw, 148px);
  filter: drop-shadow(0 22px 34px rgba(19, 58, 83, .18));
  animation: preloader-mark 1.6s ease-in-out infinite;
}

.site-preloader-text {
  font-family: "Cinzel", serif;
  font-size: clamp(15px, 1.9vw, 24px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-preloader-line {
  width: min(220px, 48vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(19, 58, 83, .12);
}

.site-preloader-line::before {
  content: "";
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--copper), var(--ink));
  animation: preloader-line 1.45s ease-in-out infinite;
}

@keyframes preloader-mark {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.035); }
}

@keyframes preloader-line {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader-logo,
  .site-preloader-line::before {
    animation: none;
  }

  .support-chat-nudge__hand {
    animation: none;
  }
}

@media (max-width: 620px) {
  .support-chat-fab {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .support-chat-nudge {
    display: none;
  }

  .support-chat-nudge__text {
    white-space: normal;
  }

  .chat-widget {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 68px;
    max-height: calc(100vh - 100px);
  }
}

.site-header {
  position: fixed;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1500px, calc(100% - 34px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 18px;
  overflow: visible;
  min-height: 68px;
  padding: 7px 16px;
  background: rgba(250,248,245,.94);
  border: 1px solid rgba(217,201,181,.92);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(19, 58, 83, .14), inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: width .32s ease, padding .32s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease, border-radius .32s ease, transform 1s cubic-bezier(.33, 1, .2, 1);
}

.site-header.is-hidden {
  transform: translateX(-50%) translateY(calc(-100% - 120px));
}

body.is-scrolled .site-header {
  width: min(1280px, calc(100% - 76px));
  padding: 9px 12px;
  background: rgba(250,248,245,.78);
  border-color: rgba(217,201,181,.72);
  border-radius: 13px;
  box-shadow: 0 20px 70px rgba(19, 58, 83, .20), inset 0 1px 0 rgba(255,255,255,.36);
}

.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: .5em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: "Cinzel", serif;
}

.brand-bno {
  color: #b8975b;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .18em;
}

.brand-dev {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .18em;
}

.nav {
  display: flex;
  grid-column: 2;
  justify-self: center;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -20px -2px -8px;
  pointer-events: none;
}

.nav-logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.nav-logo-mobile {
  display: none;
}

.header-actions {
  grid-column: 3;
  justify-self: end;
}

.nav a, .language-switcher button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 6px 10px;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.nav a:hover {
  color: var(--ink);
}

.language-switcher button.is-active {
  background: var(--ink);
  color: #fff;
}

body[data-page="home"] .nav a[href="index.html"],
body[data-page="projects"] .nav a[href="projects.html"],
body[data-page="about"] .nav a[href="about.html"],
body[data-page="contact"] .nav a[href="contact.html"],
body[data-page="project"] .nav a[href="projects.html"] {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switcher {
  display: flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

body.is-site-loading {
  cursor: progress;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.6);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .28s ease, opacity .2s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pill-link, .btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 0;
  padding: 0 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.pill-link, .btn.primary {
  background: var(--olive);
  color: #111;
}

.btn.ghost {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.32);
}

.btn.dark {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: max(100svh, 760px);
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
  background: #111;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.36) 48%, rgba(0,0,0,.28)), linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.04) 58%);
}

.hero-content {
  position: absolute;
  left: 38px;
  top: auto;
  bottom: clamp(260px, 34vh, 360px);
  z-index: 2;
  width: min(600px, calc(100% - 88px));
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow { display: none; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-size: clamp(62px, 6.7vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(48px, 5.6vw, 76px);
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.15;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.hero p { color: rgba(255,255,255,.84); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.rating-strip {
  position: absolute;
  left: 38px;
  bottom: 32px;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-top: 0;
  color: #fff;
}

.rating-strip strong {
  font-size: 58px;
  line-height: .8;
}

.rating-strip em {
  font-size: 22px;
  font-style: normal;
}

.hero-deals {
  position: absolute;
  right: 38px;
  bottom: 32px;
  width: min(760px, calc(100% - 76px));
  color: #fff;
  z-index: 2;
}

.hero-deals p {
  margin: 0 0 14px;
  color: #fff;
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
}

.hero-deals-grid {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border-radius: 24px;
  box-sizing: border-box;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 24px 60px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.32);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.mini-card {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: block;
  height: 168px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease;
}

.mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.62) 100%);
  pointer-events: none;
}

a.mini-card:hover {
  transform: translateY(-3px);
}

.mini-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-card span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}

.mini-card .partnership-label,
.mini-card .featured-label,
.mini-card .sold-label {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: auto;
  left: auto;
  z-index: 2;
  text-shadow: none;
}

@media (max-width: 1440px) and (min-width: 1001px) {
  .hero-content {
    bottom: clamp(300px, 34vh, 380px);
    width: min(640px, calc(100% - 76px));
  }

  .contact-intro-copy {
    width: min(640px, calc(100% - 76px));
  }

  .hero-deals {
    left: auto;
    right: 38px;
    width: min(760px, calc(100% - 76px));
    bottom: 156px;
  }

  .hero-deals p {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .mini-card {
    height: 150px;
  }
}

@media (max-width: 1180px) and (min-width: 1001px) {
  .hero-deals {
    left: auto;
    right: 38px;
    bottom: 124px;
    width: min(620px, calc(100% - 76px));
  }

  .hero-deals p {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .hero-deals-grid {
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
  }

  .mini-card {
    height: 112px;
    border-radius: 10px;
  }

  .mini-card span {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    font-size: 12px;
  }

  .mini-card .partnership-label,
  .mini-card .featured-label,
  .mini-card .sold-label {
    top: 7px;
    right: 7px;
    max-width: calc(100% - 14px);
    height: 22px;
    font-size: 9px;
    padding: 0 8px;
    padding-right: calc(8px + .08em);
  }
}

@media (max-width: 1450px) and (min-width: 1181px) {
  .hero-content {
    bottom: clamp(188px, 25vh, 240px);
  }

  .hero h1 {
    font-size: clamp(54px, 5.2vw, 72px);
  }

  .hero-deals {
    left: auto;
    right: 38px;
    bottom: 32px;
    width: min(600px, calc(100% - 760px));
  }

  .hero-deals-grid {
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
  }

  .mini-card {
    height: 132px;
  }
}

@media (min-width: 1451px) and (max-width: 1600px) and (max-height: 900px) {
  .hero-content {
    bottom: clamp(188px, 25vh, 240px);
  }

  .hero h1 {
    font-size: clamp(54px, 5.2vw, 72px);
  }

  .hero-deals {
    width: min(600px, calc(100% - 76px));
  }

  .mini-card {
    height: 132px;
  }
}

.section, .map-shell, .cta-panel, .page-hero, .contact-layout, .cta-strip {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  border-bottom-color: rgba(217, 201, 181, 0);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.press-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  margin: clamp(42px, 6vw, 78px) auto 0;
  padding: clamp(36px, 5vw, 60px);
  overflow: hidden;
  border: 1px solid rgba(199,174,144,.28);
  border-radius: 26px;
  color: var(--white);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(199,174,144,.20), transparent 55%),
    linear-gradient(135deg, var(--bno-navy) 0%, var(--bno-navy-soft) 60%, #102f44 100%);
  box-shadow: 0 30px 80px rgba(19,58,83,.28), inset 0 1px 0 rgba(255,255,255,.08);
}

.press-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--copper), rgba(199,174,144,.15));
}

.press-glow {
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174,195,207,.22), transparent 70%);
}

.press-copy {
  position: relative;
  z-index: 1;
}

.press-section .eyebrow {
  color: var(--copper);
}

.press-copy h2 {
  max-width: 620px;
  margin: 12px 0 16px;
  color: var(--white);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.press-copy p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: rgba(234,240,244,.78);
  font-size: 16px;
  line-height: 1.6;
}

.press-date {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  padding: 6px 14px;
  border: 1px solid rgba(199,174,144,.45);
  border-radius: 999px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.press-feature {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(420px, 100%);
}

.press-feature-label {
  margin: 0 0 16px;
  color: rgba(174,195,207,.85);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.press-logos {
  display: grid;
  gap: 14px;
}

.press-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 40px rgba(8,28,42,.28);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.press-logo:hover,
.press-logo:focus-visible {
  transform: translateY(-3px);
  border-color: var(--copper);
  box-shadow: 0 22px 52px rgba(8,28,42,.36);
}

.press-logo img {
  width: auto;
  max-width: 170px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.press-logo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.press-logo-cta::after {
  content: "↗";
  color: var(--copper);
  font-size: 15px;
  transition: transform .25s ease;
}

.press-logo:hover .press-logo-cta::after,
.press-logo:focus-visible .press-logo-cta::after {
  transform: translate(2px, -2px);
}

.project-rail {
  position: relative;
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.project-rail-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: max-content;
  box-sizing: content-box;
  padding: 0 0 29px;
  margin: 1px 0;
  animation: project-rail-scroll 45s linear infinite;
}

.project-rail:hover .project-rail-track {
  animation-play-state: paused;
}

@keyframes project-rail-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.project-rail-track::-webkit-scrollbar {
  display: none;
}

.rail-nav {
  position: absolute;
  top: 232px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(217, 201, 181, .9);
  border-radius: 50%;
  background: rgba(250, 248, 245, .92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(19, 58, 83, .2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.rail-nav svg {
  width: 22px;
  height: 22px;
}

.rail-nav:hover {
  background: #fff;
  transform: translateY(-2px);
}

.rail-nav.rail-prev {
  left: -10px;
}

.rail-nav.rail-next {
  right: -10px;
}

.rail-nav[disabled] {
  opacity: 0;
  pointer-events: none;
}

.rail-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 6px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.rail-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 13, 12, .22);
  cursor: pointer;
  transition: width .22s ease, background .22s ease, box-shadow .22s ease;
}

.rail-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--olive);
  box-shadow: inset 0 0 0 3px rgba(250, 248, 245, .8);
}

.project-tile, .project-card, .journey-grid article, .metric-card, .testimonial-grid article, .values article, .contact-extra article {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.project-tile {
  position: relative;
  flex: 0 0 400px;
  margin-right: 34px;
  overflow: hidden;
  min-width: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  transition: transform .36s cubic-bezier(.2,.8,.2,1), box-shadow .36s ease;
}

.project-tile:hover,
.project-tile:focus-within {
  transform: translateY(-6px);
}

.project-tile img, .project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.project-tile img {
  display: block;
  height: 500px;
  border-radius: 20px;
  transition: filter .32s ease, transform .5s ease;
}

.project-tile:hover img,
.project-tile:focus-within img {
  filter: saturate(1.06);
  transform: scale(1.04);
}

.project-tile:nth-child(1) img,
.project-card:nth-child(4n+1) img { object-position: 0 0; }
.project-tile:nth-child(2) img,
.project-card:nth-child(4n+2) img { object-position: 100% 0; }
.project-tile:nth-child(3) img,
.project-card:nth-child(4n+3) img { object-position: 0 100%; }
.project-tile:nth-child(4) img,
.project-card:nth-child(4n+4) img { object-position: 100% 100%; }

.project-tile div, .project-card .card-body {
  padding: 14px;
}

.project-tile div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 70px 26px 26px;
  background: linear-gradient(180deg, transparent 0%, rgba(19, 58, 83, .55) 45%, rgba(19, 58, 83, .94) 100%);
  border-radius: 0 0 20px 20px;
  pointer-events: none;
}

.project-tile h3, .project-card h3 {
  margin-bottom: 8px;
}

.project-tile h3 {
  margin-bottom: 6px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
}

.project-tile p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: 1;
  overflow: visible;
  transition: opacity .25s ease;
}

.project-tile:hover p,
.project-tile:focus-within p {
  opacity: 1;
}

.info-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.82);
  background: var(--olive);
  color: #111;
  box-shadow: inset 0 0 0 12px rgba(250, 248, 245, .74), 0 18px 40px rgba(0,0,0,.22);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transition: opacity .18s ease, transform .18s ease;
}

.info-cursor.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 480px);
  gap: 50px;
  align-items: end;
  margin-bottom: 28px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.card-media {
  position: relative;
  flex: 0 0 auto;
}

.project-card .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.project-card .meta-row {
  margin-top: auto;
}

.project-card .card-media .badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
}

.partnership-label,
.featured-label,
.sold-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  height: 28px;
  padding: 0 12px;
  padding-right: calc(12px + .08em);
  border-radius: 999px;
  background: rgba(11, 13, 12, .82);
  color: #fff;
  border: 1px solid rgba(255,255,255,.36);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}

.featured-label {
  background: var(--olive);
  color: #14160f;
  border-color: rgba(255,255,255,.5);
}

.sold-label {
  background: #7a2f2f;
  color: #fff;
  border-color: rgba(255,255,255,.42);
}

.partnership-label.is-inline,
.featured-label.is-inline,
.sold-label.is-inline {
  position: relative;
  top: auto;
  left: auto;
  align-self: flex-start;
  flex: 0 0 auto;
  width: fit-content;
  max-width: max-content;
  height: 36px;
  margin: 0 0 14px;
  padding: 0 16px;
  padding-right: calc(16px + .08em);
  background: var(--olive);
  color: #111;
  border-color: rgba(255,255,255,.5);
  box-shadow: inset 0 0 0 4px rgba(250, 248, 245, .75), 0 10px 24px rgba(0,0,0,.2);
}

.sold-label.is-inline {
  background: #8b3535;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}

.result-media .partnership-label,
.result-media .featured-label {
  top: 44px;
}

.result-media .sold-label {
  top: 12px;
}

.project-card.is-highlighted {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  outline: 2px solid var(--olive);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.source-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-link {
  display: inline-flex;
  margin-top: 12px;
  margin-right: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-weight: 900;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .45);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.center { text-align: center; margin-top: 28px; }

.journey-grid, .testimonial-grid, .values, .contact-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.journey-grid article, .testimonial-grid article, .values article, .contact-extra article {
  padding: 24px;
}

.journey-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--clay);
  font-weight: 900;
}

.milestone-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px 48px;
  align-items: end;
  padding-bottom: 28px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.milestone-head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}

.milestone-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 46ch;
}

.milestone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.ms-card {
  border-radius: 22px;
  padding: 30px;
  min-height: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ms-agents {
  background: var(--ink);
  color: #fff;
}

.ms-agents-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ms-label {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}

.ms-avatars {
  display: flex;
  align-items: center;
}

.ms-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
  margin-left: -12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.ms-avatars img:first-child { margin-left: 0; }

.ms-avatar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  margin-left: -12px;
  border-radius: 50px;
  border: 2px solid var(--ink);
  background: var(--olive, #c6e84f);
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
}

.ms-agents-copy {
  margin: auto 0 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.ms-agents-copy em {
  font-style: normal;
  color: rgba(255,255,255,.5);
}

.ms-agents-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

.ms-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.ms-photo img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.ms-photo-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .25s ease, background .25s ease;
}

.ms-photo-pill:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.ms-stat {
  background: var(--sand, #f1f0ec);
}

.ms-stat strong {
  font-size: clamp(52px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.ms-stat > span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  max-width: 32ch;
}

.ms-stat-lead {
  margin: auto 0 22px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ms-stat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--white);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ms-stat-link::after {
  content: "\203A";
  font-size: 18px;
  line-height: 1;
}

.ms-stat-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.logo-ticker {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 28px;
  padding: 24px 0;
  min-height: 104px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  min-height: 56px;
  padding-block: 4px;
  animation: logo-scroll 42s linear infinite;
}

.logo-ticker:hover .logo-track {
  animation-play-state: paused;
}

.logo-track img {
  height: 56px;
  width: auto;
  max-width: none;
  margin: 0;
  flex: 0 0 auto;
  filter: none;
  opacity: .92;
  transition: opacity .3s ease, transform .3s ease;
}

.logo-track img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 40px 56px; }
  .project-rail-track { animation: none; }
}

.testimonial-grid .testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: 18px;
}

.testimonial-card .stars {
  color: #ffbd00;
  letter-spacing: 3px;
  font-size: 15px;
}

.testimonial-card p {
  margin: 0;
  flex: 1;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
}

.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.testimonial-card .reviewer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.testimonial-card .reviewer div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.testimonial-card .reviewer strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-card .reviewer span {
  font-size: 12px;
  color: var(--muted);
}

.faq-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
}

.faq-list {
  position: relative;
}

.faq-list details {
  position: relative;
  z-index: 1;
}

.faq-list details[open] {
  z-index: 3;
}

.faq-list summary {
  position: relative;
  z-index: 4;
  display: block;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 6px;
  font-size: .78em;
  transform-origin: center;
  transition: transform .24s ease;
}

.faq-list details[open] summary::before {
  transform: rotate(90deg);
}

.faq-answer-panel {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition: grid-template-rows .34s ease, opacity .24s ease, transform .34s ease, visibility .34s ease;
}

.faq-list details[open] .faq-answer-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  animation: faq-answer-open .34s ease both;
}

.faq-answer-panel p {
  overflow: hidden;
  margin: 0;
  padding: 10px 0 4px;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes faq-answer-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.cta-panel {
  position: relative;
  min-height: 420px;
  margin-top: 82px;
  margin-bottom: 82px;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
}

.cta-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.1) 55%, rgba(0,0,0,.45));
}

.cta-copy {
  position: absolute;
  z-index: 1;
  left: 42px;
  top: 72px;
  width: min(430px, calc(100% - 84px));
  color: #fff;
}

.cta-copy p { color: rgba(255,255,255,.78); }

.lead-card, .contact-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.lead-card {
  position: absolute;
  z-index: 2;
  right: 42px;
  top: 0;
  bottom: 0;
  width: min(360px, calc(100% - 84px));
  height: fit-content;
  margin-top: auto;
  margin-bottom: auto;
  text-align: left;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

.footer {
  width: 100%;
  padding: 0;
  background: linear-gradient(180deg, #fff 0%, #f7f3ee 100%);
  border-top: 1px solid rgba(217, 201, 181, .62);
  color: var(--ink);
}

.footer-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 44px max(24px, calc((100vw - 1160px) / 2)) 132px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr);
  gap: 40px 56px;
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-logo {
  font-family: "Cinzel", serif;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink);
}

.footer-logo-dot {
  color: var(--copper);
}

.footer-tagline {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(320px, 1.5fr);
  gap: 28px 48px;
}

.footer-col h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--ink);
}

.footer-col nav {
  display: grid;
  gap: 12px;
}

.footer-col nav a {
  color: var(--bno-steel-blue);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}

.footer-col nav a:hover {
  color: var(--ink);
}

.footer-subscribe-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.footer-subscribe {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 420px;
  min-height: 46px;
  border: 1px solid rgba(217, 201, 181, .9);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.footer-subscribe input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  box-shadow: none;
}

.footer-subscribe input:focus {
  outline: none;
}

.footer-subscribe input::placeholder {
  color: rgba(81, 109, 127, .72);
}

.footer-subscribe button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0 999px 999px 0;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease;
}

.footer-subscribe button:hover {
  background: var(--bno-navy-soft);
}

.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  font-family: "Cinzel", serif;
  font-size: clamp(120px, 20vw, 260px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: .02em;
  color: rgba(19, 58, 83, .06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.page-hero {
  padding: 24px 0 54px;
}

.page-hero h1 {
  max-width: 930px;
  color: var(--ink);
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
}

.search-page {
  width: 100%;
}

.search-shell {
  width: min(1760px, calc(100% - 48px));
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: minmax(380px, 460px) 1fr;
  gap: 22px;
  height: clamp(560px, calc(100vh - 188px), 1040px);
}

.search-shell.is-map-only {
  grid-template-columns: 1fr;
}

.search-shell.is-map-only .search-panel {
  display: none;
}

.search-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.search-panel-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.search-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.search-title-row h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.search-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-project-wrap {
  width: 100%;
  margin-bottom: 12px;
}

.search-project-field {
  position: relative;
  display: block;
  width: 100%;
}

.search-project-field .field-label {
  position: absolute;
  left: 12px;
  top: -7px;
  z-index: 1;
  padding: 0 5px;
  background: var(--paper);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-project-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-filters .search-project-field {
  flex: 1 1 100%;
  min-width: min(100%, 240px);
}

.search-filters .search-project-field::after {
  display: none;
}

.search-filters input[type="search"],
.search-project-field input[type="search"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.search-filters input[type="search"]::-webkit-search-cancel-button,
.search-project-field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-filters input[type="search"]:hover,
.search-project-field input[type="search"]:hover {
  border-color: var(--sage);
}

.search-filters input[type="search"]:focus-visible,
.search-project-field input[type="search"]:focus-visible {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(169, 188, 48, .25);
}

.project-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 2px;
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}

.project-search-suggestions[hidden] {
  display: none;
}

.project-search-option {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease;
}

.project-search-option strong {
  font-size: 13px;
  font-weight: 800;
}

.project-search-option span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.project-search-option:hover,
.project-search-option.is-active {
  background: rgba(169, 188, 48, .14);
}

.search-filters label {
  position: relative;
  display: inline-flex;
}

.search-filters select {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  min-width: 0;
  padding: 10px 32px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.search-filters select:hover {
  border-color: var(--sage);
}

.search-filters select:focus-visible {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(169, 188, 48, .25);
}

.search-filters label::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.search-filters .field-label {
  position: absolute;
  left: 12px;
  top: -7px;
  z-index: 1;
  padding: 0 5px;
  background: var(--paper);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.search-sort-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
}

.search-sort-field .field-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.search-sort-field select {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  padding: 10px 32px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.search-sort-field::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: 2px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.search-sort-field select:hover {
  border-color: var(--sage);
}

.search-sort-field select:focus-visible {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(169, 188, 48, .25);
}

.search-clear {
  border: 0;
  background: transparent;
  color: var(--sage);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.search-results {
  display: grid;
  grid-auto-rows: max-content;
  gap: 14px;
  overflow-y: auto;
  padding: 16px 8px 24px 2px;
  min-height: 0;
  scrollbar-width: thin;
}

.search-results:empty::after {
  content: "No projects match these filters.";
  color: var(--muted);
  font-size: 14px;
  padding: 24px 4px;
}

.result-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.result-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.result-card.is-highlighted {
  border-color: var(--olive);
  box-shadow: 0 0 0 2px var(--olive), var(--shadow);
}

.result-media {
  position: relative;
  display: block;
  min-height: 100%;
  background: #eceae2;
}

.result-media img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
}

.result-fav {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.result-photos {
  position: absolute;
  bottom: 9px;
  right: 9px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(8, 10, 9, .72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.result-flag {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--olive);
  color: #14160f;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.result-info {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 14px 16px;
}

.result-price {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.result-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.result-card:hover .result-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.result-loc {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.result-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.result-specs span {
  position: relative;
  padding-right: 9px;
}

.result-specs span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}

.result-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .45);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.result-source {
  font-size: 11px;
  font-weight: 800;
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.search-map-wrap {
  position: relative;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

#map {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #d8e4ea;
}

#map.leaflet-container {
  font-family: inherit;
}

.leaflet-container .maplibregl-map,
.leaflet-container .maplibregl-canvas-container,
.leaflet-container .maplibregl-canvas {
  width: 100%;
  height: 100%;
}

.map-toggle {
  position: absolute;
  z-index: 600;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  cursor: pointer;
}

.map-toggle:hover {
  background: #1c211b;
}

.map-move {
  position: absolute;
  z-index: 600;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  pointer-events: none;
}

.map-layers-panel {
  position: absolute;
  z-index: 650;
  right: 16px;
  bottom: 76px;
  width: min(290px, calc(100% - 32px));
  padding: 0;
  border-radius: 15px;
  background: rgba(7, 26, 51, .96);
  border: 1px solid rgba(209, 179, 106, .72);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .34);
  color: #fff;
  pointer-events: auto;
  overflow: hidden;
}

.map-layers-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 11px 16px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.map-layers-toggle-copy {
  display: grid;
  gap: 3px;
}

.map-layers-toggle-copy strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: .01em;
}

.map-layers-toggle-copy em {
  color: #d1b36a;
  font-style: normal;
}

.map-layers-toggle-copy small {
  color: #c9d3df;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}

.map-layers-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid #d1b36a;
  border-bottom: 2px solid #d1b36a;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.map-layers-panel.is-open .map-layers-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.map-layers-body {
  display: none;
  gap: 9px;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(209, 179, 106, .34);
}

.map-layers-panel.is-open .map-layers-body {
  display: grid;
}

.map-layers-panel.is-open .map-layers-toggle {
  border-radius: 15px 15px 0 0;
}

.map-layers-title {
  margin: 13px 0 0;
  color: #d1b36a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-layers-item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
}

.map-layers-item input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: 0 0 14px;
  width: 14px !important;
  min-width: 14px;
  max-width: 14px;
  height: 14px !important;
  min-height: 14px;
  padding: 0 !important;
  margin: 0;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
  accent-color: #d1b36a;
}

.map-layers-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
  border: 0;
  box-shadow: none;
}

.map-layers-dot--projects { background: var(--bno-navy); }
.map-layers-dot--areas { background: #4f9bd8; }
.map-layers-dot--landmarks { background: #54b986; }
.map-layers-dot--schools { background: #c85cff; }
.map-layers-dot--services { background: #090d12; }

.map-layers-contact {
  display: grid;
  gap: 3px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(209, 179, 106, .34);
  color: #dbe4ec;
  font-size: 10px;
  line-height: 1.4;
}

.map-layers-contact a,
.map-layers-contact span {
  color: inherit;
  text-decoration: none;
}

.map-layers-contact a:hover {
  color: #d1b36a;
}

.map-context-pin {
  background: transparent;
  border: 0;
}

.map-context-pin span {
  display: block;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.map-context-pin--school span {
  width: 12px;
  height: 12px;
  background: #c85cff;
}

.map-context-pin--service span {
  width: 12px;
  height: 12px;
  background: #1a1a1a;
}

.map-context-leaflet-popup .leaflet-popup-content-wrapper,
.map-context-leaflet-popup .leaflet-popup-tip {
  background: #071a33;
  color: #fff;
}

.map-context-leaflet-popup .leaflet-popup-content-wrapper {
  border: 1px solid rgba(209, 179, 106, .55);
  border-radius: 15px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .4);
}

.map-context-leaflet-popup .leaflet-popup-content {
  margin: 18px 20px;
}

.map-context-leaflet-popup .leaflet-popup-close-button {
  top: 7px;
  right: 7px;
  color: rgba(255, 255, 255, .65);
  font-size: 23px;
}

.map-context-leaflet-popup .leaflet-popup-close-button:hover {
  color: #fff;
}

.map-context-popup h3 {
  margin: 0 24px 8px 0;
  color: #d1b36a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.map-context-popup p {
  margin: 4px 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.map-context-popup p strong {
  font-weight: 800;
}

.map-context-popup > span {
  display: inline-block;
  margin-top: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #17395f;
  color: #fff;
  font-size: 10px;
  line-height: 1.25;
}

@media (max-width: 1000px) {
  .map-layers-panel {
    right: 10px;
    bottom: 70px;
    width: min(268px, calc(100% - 20px));
  }

  .map-layers-toggle {
    min-height: 56px;
    padding: 9px 13px;
  }

  .map-layers-toggle-copy strong {
    font-size: 16px;
  }

  .map-layers-body {
    padding-inline: 13px;
    padding-bottom: 13px;
  }
}

.price-pin {
  background: transparent;
  border: 0;
}

.price-pin span {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--olive);
  color: #14160f;
  font-size: 12px;
  font-weight: 800;
  border: 2px solid rgba(250, 248, 245, .88);
  box-shadow: 0 6px 18px rgba(22, 28, 25, .3);
  cursor: pointer;
  transition: transform .14s ease, background .14s ease, color .14s ease;
}

.price-pin:hover span {
  transform: translate(-50%, -50%) scale(1.07);
  background: #c48257;
  z-index: 5;
}

.price-pin.is-active span {
  background: var(--ink);
  color: #fff;
  border-color: var(--olive);
  transform: translate(-50%, -50%) scale(1.14);
}

.project-marker {
  background: transparent;
  border: 0;
}

.project-marker span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bno-navy);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(19, 58, 83, .5), 0 5px 16px rgba(0, 0, 0, .38);
  transition: transform .15s ease, background .15s ease;
}

.project-marker.is-active span,
.project-marker:hover span {
  transform: scale(1.2);
  background: #ff3b30;
  box-shadow: 0 0 0 2px rgba(255, 59, 48, .5), 0 6px 18px rgba(0, 0, 0, .42);
}

.radar-pin {
  background: transparent;
  border: 0;
}

.radar-dot {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bno-navy);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px rgba(19, 58, 83, .55), 0 3px 10px rgba(0, 0, 0, .42);
  transition: transform .15s ease, background .15s ease;
}

.radar-dot::before,
.radar-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--bno-navy);
  pointer-events: none;
  animation: brand-radar 2.6s cubic-bezier(0.2, 0.6, 0.2, 1) infinite;
}

.radar-dot::after {
  animation-delay: 1.3s;
}

.radar-pin:hover .radar-dot {
  transform: scale(1.18);
}

.radar-pin.is-active .radar-dot {
  background: #ff3b30;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px rgba(255, 59, 48, .55), 0 4px 12px rgba(0, 0, 0, .48);
  transform: scale(1.25);
}

.radar-pin.is-active .radar-dot::before,
.radar-pin.is-active .radar-dot::after {
  border-color: #ff3b30;
}

@media (prefers-reduced-motion: reduce) {
  .radar-dot::before,
  .radar-dot::after {
    animation: none;
    display: none;
  }
}

.map-popup {
  display: grid;
  gap: 0;
  min-width: 220px;
  overflow: hidden;
}

.map-popup-media {
  display: block;
  overflow: hidden;
}

.map-popup-media img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.map-popup-body {
  display: grid;
  gap: 6px;
  padding: 12px 14px 14px;
}

.map-popup strong {
  font-size: 14px;
  line-height: 1.2;
}

.map-popup em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}

.map-popup span {
  color: var(--muted);
  font-size: 12px;
}

.map-popup a {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.leaflet-popup-content-wrapper:has(.map-popup) {
  padding: 0;
  overflow: hidden;
}

.leaflet-popup-content:has(.map-popup) {
  margin: 0;
  width: 260px !important;
}

/* Projects map workspace */
body[data-page="projects"] {
  --projects-header-clearance: 116px;
  background: #f5f7fa;
}

body[data-page="projects"] main,
body[data-page="projects"] .search-page {
  width: 100%;
}

body[data-page="projects"] main {
  position: relative;
  min-height: 100svh;
  padding: var(--projects-header-clearance) 0 0 !important;
}

body[data-page="projects"] .search-shell {
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 0;
  width: 100%;
  min-height: calc(100svh - var(--projects-header-clearance));
  height: auto;
  margin: 0;
}

body[data-page="projects"] .search-panel {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 18px;
  background: #071b33;
  color: #fff;
  box-shadow: 8px 0 30px rgba(0, 0, 0, .2);
}

body[data-page="projects"] .search-panel-head {
  padding-bottom: 12px;
  border-color: rgba(255, 255, 255, .12);
}

.search-panel-brand {
  display: grid;
  gap: 3px;
  margin-bottom: 18px;
}

.search-panel-brand strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.search-panel-brand strong span {
  color: #d1b36a;
}

.search-panel-brand small {
  color: #b9c6d5;
  font-size: 11px;
}

body[data-page="projects"] .search-title-row {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

body[data-page="projects"] .search-title-row h1 {
  color: #fff;
  font-size: 18px;
}

body[data-page="projects"] .search-count {
  color: #b9c6d5;
  font-size: 11px;
}

body[data-page="projects"] .search-project-wrap {
  margin-bottom: 9px;
}

body[data-page="projects"] .search-project-field .field-label,
body[data-page="projects"] .search-filters .field-label {
  position: static;
  display: block;
  padding: 0;
  margin: 0 0 4px;
  background: transparent;
  color: #b9c6d5;
  font-size: 9px;
}

body[data-page="projects"] .search-project-field input[type="search"] {
  min-height: 40px;
  padding: 9px 11px;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

body[data-page="projects"] .search-project-field input[type="search"]::placeholder {
  color: #9eacbd;
}

body[data-page="projects"] .project-search-suggestions {
  border-radius: 7px;
}

body[data-page="projects"] .search-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="projects"] .search-filters label {
  display: block;
  min-width: 0;
}

body[data-page="projects"] .search-filters select {
  width: 100%;
  min-height: 38px;
  padding: 8px 28px 8px 10px;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 7px;
  background: #102944;
  color: #fff;
  font-size: 11px;
}

body[data-page="projects"] .search-filters label::after {
  right: 11px;
  top: auto;
  bottom: 15px;
  width: 6px;
  height: 6px;
  border-color: #b9c6d5;
}

body[data-page="projects"] .search-sort {
  margin: 12px 0 0;
  color: #b9c6d5;
}

body[data-page="projects"] .search-sort-field {
  flex: 1 1 auto;
}

body[data-page="projects"] .search-sort-field .field-label {
  display: none;
}

body[data-page="projects"] .search-sort-field select {
  width: 100%;
  min-height: 36px;
  padding: 7px 28px 7px 10px;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 7px;
  background: #102944;
  color: #fff;
  font-size: 11px;
}

body[data-page="projects"] .search-sort-field::after {
  width: 6px;
  height: 6px;
  border-color: #b9c6d5;
}

body[data-page="projects"] .search-clear {
  color: #efd494;
  font-size: 11px;
}

body[data-page="projects"] .search-results {
  gap: 8px;
  overflow: visible;
  padding: 10px 2px 24px 0;
}

body[data-page="projects"] .search-results:empty::after {
  color: #b9c6d5;
}

body[data-page="projects"] .result-card {
  display: block;
  border-color: rgba(255, 255, 255, .11);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
}

body[data-page="projects"] .result-card:hover,
body[data-page="projects"] .result-card.is-highlighted {
  border-color: #d1b36a;
  box-shadow: none;
  transform: none;
}

body[data-page="projects"] .result-info {
  gap: 5px;
  padding: 11px;
}

.result-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.result-title-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

body[data-page="projects"] .result-inline-badge {
  height: 22px;
  margin: 0;
  padding: 0 7px;
  font-size: 8px;
  box-shadow: none;
}

body[data-page="projects"] .result-name {
  color: #fff;
  font-size: 14px;
}

body[data-page="projects"] .result-flag {
  position: static;
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(209, 179, 106, .16);
  color: #efd494;
  font-size: 9px;
}

body[data-page="projects"] .result-loc,
body[data-page="projects"] .result-specs {
  color: #bdc9d7;
  font-size: 11px;
}

body[data-page="projects"] .result-price {
  color: #fff;
  font-size: 13px;
}

body[data-page="projects"] .result-specs {
  margin-top: 0;
}

body[data-page="projects"] .result-specs span:not(:last-child)::after {
  background: rgba(255, 255, 255, .18);
}

body[data-page="projects"] .result-foot {
  margin-top: 5px;
}

body[data-page="projects"] .result-badge {
  padding: 3px 7px;
  border-color: rgba(209, 179, 106, .18);
  background: rgba(209, 179, 106, .1);
  color: #efd494;
  font-size: 9px;
}

.result-project-btn,
.map-popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #d1b36a;
  border-radius: 6px;
  background: #0b3f74;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.result-project-btn:hover,
.map-popup-button:hover {
  background: #d1b36a;
  color: #071b33;
}

body[data-page="projects"] .search-map-wrap {
  position: fixed;
  inset: var(--projects-header-clearance) 0 0 360px;
  z-index: 1;
  height: auto;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  transition: top .5s cubic-bezier(.33, 1, .2, 1);
}

body[data-page="projects"].is-header-hidden .search-map-wrap {
  top: 0;
}

body[data-page="projects"] .search-shell.is-map-only .search-map-wrap {
  left: 0;
}

body[data-page="projects"] .map-toggle {
  top: 16px;
  border-radius: 7px;
  background: #071b33;
}

body[data-page="projects"] .map-move {
  display: none;
}

body[data-page="projects"] .map-layers-panel {
  left: auto;
  right: 106px;
  bottom: 16px;
  width: max-content;
  max-width: calc(100% - 124px);
  min-width: 0;
  padding: 0 5px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #172334;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .22);
  overflow: hidden;
}

body[data-page="projects"] .map-layers-toggle {
  min-height: 54px;
  border-radius: 8px;
  color: #071b33;
}

body[data-page="projects"] .map-layers-toggle-copy strong {
  color: #071b33;
}

body[data-page="projects"] .map-layers-toggle-copy small {
  color: #68778a;
}

body[data-page="projects"] .map-layers-panel.is-open .map-layers-toggle {
  border-radius: 8px 8px 0 0;
}

body[data-page="projects"] .map-layers-panel.is-open .map-layers-body {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

body[data-page="projects"] .map-layers-title {
  flex: 0 0 auto;
  margin: 0 8px 0 0;
  padding-right: 10px;
  color: #071b33;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

body[data-page="projects"] .map-layers-item {
  flex: 0 0 auto;
  display: flex;
  min-height: 38px;
  padding: 0 7px;
  align-items: center;
  gap: 7px;
  border-top: 0;
  border-left: 1px solid #edf0f4;
  color: #172334;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

body[data-page="projects"] .map-layers-item:first-of-type {
  border-left: 0;
}

body[data-page="projects"] .map-layers-item input[type="checkbox"] {
  order: 3;
  width: 15px;
  height: 15px;
  margin: 0 0 0 3px;
  accent-color: #0b3f74;
}

body[data-page="projects"] .map-layers-contact {
  display: none;
}

body[data-page="projects"] .support-chat-fab {
  pointer-events: none;
}

body[data-page="projects"] .support-chat-nudge,
body[data-page="projects"] .support-chat-fab__btn {
  pointer-events: auto;
}

body[data-page="projects"] .multi-select {
  position: relative;
  margin-bottom: 8px;
}

body[data-page="projects"] .multi-trigger {
  position: relative;
  width: 100%;
  min-height: 39px;
  padding: 9px 34px 9px 11px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

body[data-page="projects"] .multi-trigger::after {
  content: "▼";
  position: absolute;
  right: 11px;
  top: 9px;
  color: #c8d2df;
  font-size: 10px;
}

body[data-page="projects"] .multi-select.open .multi-trigger {
  border-color: #c9a45c;
}

body[data-page="projects"] .multi-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1200;
  max-height: 280px;
  overflow: hidden;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  color: #172334;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .32);
}

body[data-page="projects"] .multi-select.open .multi-menu {
  display: block;
}

body[data-page="projects"] .multi-search {
  width: 100%;
  min-height: 34px;
  margin-bottom: 7px;
  padding: 8px 9px;
  border: 1px solid #ccd4df;
  border-radius: 6px;
  background: #fff;
  color: #172334;
}

body[data-page="projects"] .multi-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

body[data-page="projects"] .multi-action {
  border: 0;
  padding: 2px;
  background: transparent;
  color: #0b3f74;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

body[data-page="projects"] .multi-options {
  max-height: 205px;
  overflow: auto;
}

body[data-page="projects"] .multi-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 5px;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
}

body[data-page="projects"] .multi-option:hover {
  background: #eef3f8;
}

body[data-page="projects"] .multi-option input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #0b3f74;
}

body[data-page="projects"] .multi-empty {
  padding: 8px 5px;
  color: #68778a;
  font-size: 11px;
}

body[data-page="projects"] .price-filter {
  margin: 3px 0 11px;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
}

body[data-page="projects"] .price-filter-title {
  margin-bottom: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

body[data-page="projects"] .price-values {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: #d7e0eb;
  font-size: 11px;
}

body[data-page="projects"] .price-values b {
  color: #efd494;
  font-size: 12px;
}

body[data-page="projects"] .dual-range {
  position: relative;
  height: 30px;
  margin: 0 2px;
}

body[data-page="projects"] .dual-range-track,
body[data-page="projects"] .dual-range-fill {
  position: absolute;
  top: 13px;
  height: 4px;
  border-radius: 4px;
}

body[data-page="projects"] .dual-range-track {
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, .14);
}

body[data-page="projects"] .dual-range-fill {
  background: #c9a45c;
  pointer-events: none;
}

body[data-page="projects"] .dual-range input[type="range"] {
  position: absolute;
  left: 0;
  top: 4px;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}

body[data-page="projects"] .dual-range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

body[data-page="projects"] .dual-range input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border: 3px solid #c9a45c;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
  cursor: pointer;
  pointer-events: auto;
}

body[data-page="projects"] .dual-range input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
}

body[data-page="projects"] .dual-range input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 3px solid #c9a45c;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
  cursor: pointer;
  pointer-events: auto;
}

body[data-page="projects"] .price-reset {
  display: block;
  margin: 5px 0 0 auto;
  border: 0;
  padding: 2px;
  background: transparent;
  color: #efd494;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

body[data-page="projects"] .summary {
  margin: 4px 0 10px;
  color: #b9c6d5;
  font-size: 11px;
}

body[data-page="projects"] .search-panel {
  padding: 20px;
}

body[data-page="projects"] .search-panel-head {
  padding-bottom: 0;
  border: 0;
}

body[data-page="projects"] .search-panel-brand {
  margin-bottom: 15px;
}

body[data-page="projects"] .search-title-row {
  margin-bottom: 10px;
}

body[data-page="projects"] .search-filters {
  display: block;
}

body[data-page="projects"] .search-results {
  padding: 0 0 24px;
}

body[data-page="projects"] .result-card {
  margin: 8px 0;
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
}

body[data-page="projects"] .result-card:hover,
body[data-page="projects"] .result-card.is-highlighted {
  border-color: #c9a45c;
}

body[data-page="projects"] .result-title-row {
  align-items: flex-start;
}

body[data-page="projects"] .result-name {
  font-size: 14px;
}

body[data-page="projects"] .result-title-badges {
  gap: 5px;
}

body[data-page="projects"] .result-info {
  padding: 11px;
}

body[data-page="projects"] .result-project-btn {
  border-radius: 20px;
  font-size: 10px;
}

body[data-page="projects"] .leaflet-top {
  top: 14px;
}

.project-map-tooltip,
.map-area-tooltip {
  border: 1px solid #0b3f74;
  border-radius: 4px;
  background: #fff;
  color: #0b3f74;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
  font-size: 11px;
  font-weight: 800;
}

.project-map-tooltip::before,
.map-area-tooltip::before {
  display: none;
}

.map-english-label {
  border: 0;
  background: transparent;
  pointer-events: none;
  text-align: center;
}

.map-english-label span {
  color: #173c56;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, .95),
    1px -1px 0 rgba(255, 255, 255, .95),
    -1px 1px 0 rgba(255, 255, 255, .95),
    1px 1px 0 rgba(255, 255, 255, .95);
}

.map-english-label--city span {
  color: #0b2942;
  font-size: 14px;
  text-transform: uppercase;
}

.map-english-label--area span {
  font-size: 10px;
}

body[data-page="projects"] .map-popup-button {
  margin-top: 5px;
  color: #fff;
  text-decoration: none;
}

body[data-page="projects"] .cta-strip,
body[data-page="projects"] .footer {
  display: none;
}

@media (max-width: 1000px) {
  body[data-page="projects"] {
    --projects-header-clearance: max(96px, calc(62px + env(safe-area-inset-top) + 24px));
  }

  body[data-page="projects"] {
    overflow: hidden;
  }

  body[data-page="projects"] main {
    padding-top: var(--projects-header-clearance) !important;
  }

  body[data-page="projects"] .search-shell,
  body[data-page="projects"] .search-shell.is-map-only {
    grid-template-columns: 1fr;
    grid-template-rows: 58% 42%;
    height: 100%;
  }

  body[data-page="projects"] .search-panel {
    order: 0;
    height: auto;
    padding: 13px 13px 10px;
  }

  body[data-page="projects"] .search-panel-brand {
    display: none;
  }

  body[data-page="projects"] .search-title-row {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    margin-bottom: 8px;
  }

  body[data-page="projects"] .search-project-wrap {
    margin-bottom: 6px;
  }

  body[data-page="projects"] .search-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  body[data-page="projects"] .search-filters .filter-optional {
    display: none;
  }

  body[data-page="projects"] .search-filters .field-label {
    display: none;
  }

  body[data-page="projects"] .search-filters select {
    min-height: 34px;
    padding-left: 7px;
    font-size: 10px;
  }

  body[data-page="projects"] .search-filters label::after {
    bottom: 13px;
  }

  body[data-page="projects"] .search-sort {
    margin-top: 6px;
  }

  body[data-page="projects"] .search-results {
    overflow-y: auto;
    max-height: none;
    padding-top: 8px;
  }

  body[data-page="projects"] .search-map-wrap {
    position: relative;
    inset: auto;
    order: 0;
    height: auto;
    min-height: 0;
  }

  body[data-page="projects"] .leaflet-top {
    top: 8px;
  }

  body[data-page="projects"] .map-toggle {
    top: 10px;
  }

  body[data-page="projects"] .map-layers-panel {
    left: auto;
    right: 82px;
    bottom: 10px;
    width: max-content;
    max-width: calc(100% - 102px);
  }
}

@media (max-width: 680px) {
  body[data-page="projects"] .search-map-wrap {
    height: auto;
    min-height: 0;
  }
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 76px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.cta-strip h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.about-hero {
  padding-bottom: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== About page ===== */
.about-page {
  background: var(--paper);
}

.about-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.about-intro {
  padding: 40px 0 56px;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.about-intro h1 {
  max-width: 920px;
  margin: 18px 0 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  color: var(--ink);
}

.about-intro h1 em {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 600;
}

.about-hero-media {
  margin-top: 34px;
}

.about-agent-showcase {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(217, 201, 181, .75);
  box-shadow: var(--shadow);
}

.about-agent-showcase img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.about-story {
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-story-grid h2 {
  margin: 0;
  max-width: 420px;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.12;
}

.about-story-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.about-stats article {
  display: grid;
  gap: 8px;
}

.about-stats strong {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  color: var(--ink);
}

.about-stats span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.about-panels {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  padding: 72px 0;
}

.about-dream-card {
  padding: 34px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(19, 58, 83, .08);
}

.about-features-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-dream-card h2,
.about-features-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.12;
}

.about-features-panel > p {
  margin: 0 0 24px;
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-feature-grid article {
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(217, 201, 181, .58);
  box-shadow: 0 10px 32px rgba(19, 58, 83, .07);
}

.about-feature-grid .af-ic {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--ink);
}

.about-feature-grid .af-ic svg {
  display: block;
  width: 32px;
  height: 32px;
}

.about-feature-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.about-feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.about-dream-card .btn {
  min-height: 42px;
  margin-bottom: 28px;
  border-radius: 999px;
  padding: 0 20px;
}

.about-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.about-steps li span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.about-steps li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
}

.about-steps li p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.about-team {
  padding: 0 0 96px;
}

.about-team-head {
  max-width: 620px;
  margin-bottom: 34px;
}

.about-team-head h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.1;
}

.about-team-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.about-agent-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.about-agent-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(19, 58, 83, .08);
}

.about-agent-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-agent-grid {
  display: none;
}

.about-team-head .btn {
  margin-top: 20px;
}

.about-agent-card div {
  padding: 16px 14px 18px;
}

.about-agent-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.about-agent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .about-agent-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-story-grid,
  .about-panels,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-agent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .about-panels,
  .about-dream-card,
  .about-features-panel {
    padding: 24px 20px;
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.stat-row span {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
}

.stat-row strong { font-size: 22px; }
.stat-row small { color: var(--muted); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 70px;
  align-items: start;
  padding: 32px 0 70px;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-methods a {
  border-radius: 999px;
  background: #fff;
  padding: 13px 16px;
  font-weight: 800;
}

.contact-methods a.whatsapp {
  background: #25d366;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}

.contact-methods a.whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-1px);
}

.whatsapp-contact-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 140, 126, .22);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.whatsapp-contact-icon {
  width: 22px;
  height: 22px;
}

.whatsapp-contact-btn:hover {
  background: #1ebe5b;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(18, 140, 126, .28);
}

.support-chat-fab {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.support-chat-nudge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(199, 174, 144, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(19, 58, 83, .16);
  opacity: 0;
  transform: translateY(10px) scale(.94);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
}

.support-chat-nudge.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.support-chat-nudge:hover {
  box-shadow: 0 18px 40px rgba(19, 58, 83, .2);
}

.support-chat-nudge__hand {
  display: inline-block;
  font-size: 22px;
  line-height: 1;
  transform-origin: 70% 70%;
  animation: chat-hand-wave 1.15s ease-in-out infinite;
}

.support-chat-nudge__text {
  white-space: nowrap;
}

@keyframes chat-hand-wave {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(16deg); }
  30% { transform: rotate(-6deg); }
  45% { transform: rotate(12deg); }
  60% { transform: rotate(-4deg); }
  75% { transform: rotate(8deg); }
}

.support-chat-fab__btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(19, 58, 83, .22);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.support-chat-fab__btn:hover {
  transform: translateY(-2px);
  background: #1e465f;
  box-shadow: 0 22px 54px rgba(19, 58, 83, .26);
}

.support-chat-fab__btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 620px) {
  .support-chat-nudge,
  .support-chat-nudge.is-visible {
    display: none;
  }
}

.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(19, 58, 83, .24);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.chat-overlay.active {
  opacity: 1;
  visibility: visible;
}

.chat-widget {
  position: fixed;
  bottom: 88px;
  right: max(22px, env(safe-area-inset-right));
  z-index: 140;
  width: min(370px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(19, 58, 83, .22);
  transform: translateY(20px) scale(.95);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, visibility .3s ease;
  transform-origin: bottom right;
  display: flex;
  flex-direction: column;
}

.chat-widget.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.chat-header {
  background: var(--ink);
  padding: 20px 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  flex-shrink: 0;
}

.chat-header__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chat-header__avatar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
}

.chat-header__info {
  flex: 1;
  min-width: 0;
}

.chat-header__name {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.chat-header__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.chat-header__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .3s ease;
}

.chat-header__dot--online { background: #4ade80; }
.chat-header__dot--connecting { background: #fbbf24; animation: chat-pulse 1.2s infinite; }
.chat-header__dot--offline { background: #9ca3af; }

@keyframes chat-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.chat-header__status-text {
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
}

.chat-header__close {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: .8;
  transition: opacity .2s ease;
  line-height: 1;
}

.chat-header__close:hover { opacity: 1; }

.chat-body {
  background: #f7f4ef;
  flex: 1;
  overflow-y: auto;
  min-height: 280px;
  padding: 20px;
}

.chat-bubble {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(19, 58, 83, .08);
  margin-bottom: 12px;
  max-width: 92%;
  animation: chat-fadein .4s ease;
}

@keyframes chat-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-bubble__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.chat-bubble__text strong {
  font-weight: 800;
}

.chat-bubble__time {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.chat-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(19, 58, 83, .08);
  max-width: 280px;
  animation: chat-fadein .4s ease;
}

.chat-dots__balls {
  display: flex;
  gap: 4px;
}

.chat-dots__ball {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  animation: chat-bounce 1.4s infinite;
}

.chat-dots__ball:nth-child(2) { animation-delay: .2s; }
.chat-dots__ball:nth-child(3) { animation-delay: .4s; }

@keyframes chat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-dots__text {
  font-size: 14px;
  color: var(--muted);
}

.chat-form {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 1px 4px rgba(19, 58, 83, .08);
  animation: chat-fadein .4s ease;
}

.chat-form__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.chat-form__whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-1px);
}

.chat-form__whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.chat-form__field {
  margin-bottom: 14px;
}

.chat-form__label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.chat-form__input,
.chat-form__textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .2s ease;
}

.chat-form__input:focus,
.chat-form__textarea:focus {
  border-color: var(--copper);
}

.chat-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.chat-form__submit {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s ease;
}

.chat-form__submit:hover {
  background: #1e465f;
}

.chat-form__submit:disabled {
  opacity: .7;
  cursor: wait;
}

.chat-footer {
  background: #fff;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.chat-success {
  text-align: center;
  padding: 40px 20px;
  animation: chat-fadein .4s ease;
}

.chat-success__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e6f7ef;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.chat-success__icon svg {
  width: 26px;
  height: 26px;
  stroke: #128c7e;
  fill: none;
}

.chat-success h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.chat-success p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== Contact page ===== */
.contact-page {
  background: var(--paper);
  overflow-anchor: none;
}

.contact-intro {
  position: relative;
  display: flex;
  align-items: center;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}

.contact-intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-intro-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 42%, rgba(0, 0, 0, .45) 58%, rgba(0, 0, 0, .35) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .25), transparent 42%);
}

.contact-intro-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(380px, 500px) 1fr;
  align-items: center;
  width: 100%;
  min-height: inherit;
  margin: 0;
  padding: 128px 0 72px;
  box-sizing: border-box;
}

.contact-intro-copy {
  position: relative;
  grid-column: 1;
  justify-self: end;
  left: auto;
  bottom: auto;
  width: min(560px, calc(100% - 32px));
  padding-right: clamp(20px, 3vw, 40px);
  box-sizing: border-box;
  color: #fff;
}

.contact-intro-copy h1 {
  max-width: none;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(62px, 6.7vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.contact-intro-lead {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  line-height: 1.6;
}

.contact-intro .contact-float-form {
  position: relative;
  grid-column: 2;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  z-index: 3;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  justify-self: center;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  margin-top: 38px;
}

.contact-info-cell strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.contact-info-cell p,
.contact-info-cell a {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

.contact-info-cell a:hover {
  color: var(--bno-sand-gold);
}

.contact-float-form {
  display: grid;
  gap: 18px;
  padding: 38px 36px 34px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(217, 201, 181, .55);
  box-shadow: 0 28px 80px rgba(19, 58, 83, .16);
}

.contact-form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form-success {
  display: none;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

.contact-form-error {
  display: none;
  margin: 0 0 12px;
  color: #9b2c2c;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.contact-float-form.is-error .contact-form-error {
  display: block;
}

.contact-float-form.is-submitting .btn.primary {
  opacity: .72;
  pointer-events: none;
}

.contact-float-form.is-sent .contact-form-fields {
  display: none;
}

.contact-float-form.is-sent .contact-form-success {
  display: block;
}

.contact-float-form h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 30px);
}

.contact-float-form .form-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.contact-float-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-float-form label {
  gap: 6px;
}

.contact-float-form label span {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-float-form > div > span,
.contact-interest-group > span {
  display: block;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-interest-group {
  display: grid;
  gap: 6px;
}

.contact-float-form input,
.contact-float-form select,
.contact-float-form textarea {
  border-radius: 10px;
  background: var(--paper);
  padding: 12px 13px;
}

.contact-float-form input:focus,
.contact-float-form select:focus,
.contact-float-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(199, 174, 144, .24);
}

.contact-float-form label.full {
  grid-column: 1 / -1;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}

.contact-pill {
  position: relative;
  cursor: pointer;
}

.contact-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-pill span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.contact-pill.is-active span,
.contact-pill input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.contact-float-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-float-form .btn {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  font-size: 14px;
}

.contact-map-section {
  position: relative;
  height: 420px;
  margin-top: 56px;
  background: #e8e4df;
}

.contact-map {
  width: 100%;
  height: 100%;
}

.contact-map .leaflet-container {
  filter: grayscale(100%) contrast(1.04);
}

.contact-map-card {
  position: absolute;
  z-index: 500;
  top: 28px;
  left: max(24px, calc((100vw - 1160px) / 2));
  width: min(300px, calc(100% - 48px));
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(19, 58, 83, .18);
}

.contact-map-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
}

.contact-map-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-map-card a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-map-marker span {
  display: block;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 4px 14px rgba(19, 58, 83, .35);
}

.contact-faq {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.contact-faq-head h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.08;
}

.contact-faq-head p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.contact-faq-list {
  counter-reset: faq;
  overflow-anchor: none;
}

.contact-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
  overflow-anchor: none;
}

.contact-faq-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  list-style: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.contact-faq-item summary::-webkit-details-marker {
  display: none;
}

.contact-faq-num {
  min-width: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-faq-item summary::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
}

.contact-faq-num {
  display: none;
}

.contact-faq-toggle {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease;
}

.contact-faq-toggle::before {
  content: "+";
}

.contact-faq-item[open] .contact-faq-toggle {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.contact-faq-item[open] .contact-faq-toggle::before {
  content: "−";
}

.contact-faq-item p {
  margin: 0 0 22px 46px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}

.contact-faq-item[open] .contact-faq-panel {
  grid-template-rows: 1fr;
}

.contact-faq-panel > * {
  overflow: hidden;
}

.contact-cta-banner {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.contact-cta-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 58, 83, .72), rgba(19, 58, 83, .48));
}

.contact-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  text-align: center;
  color: #fff;
}

.contact-cta-inner h2 {
  max-width: 720px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.contact-cta-inner p {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.6;
}

.contact-cta-inner .btn {
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .contact-float-form input,
  .contact-float-form textarea,
  .footer-subscribe input,
  .search-panel input,
  .search-panel select,
  .search-panel textarea {
    font-size: 16px;
  }

  .contact-faq {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    height: auto;
    min-height: 100svh;
  }

  .contact-map-card {
    left: 24px;
  }
}

@media (max-width: 1180px) {
  .contact-intro {
    height: auto;
    min-height: 100svh;
  }

  .contact-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 138px 0 56px;
  }

  .contact-intro-copy {
    grid-column: auto;
    justify-self: auto;
    width: min(760px, calc(100% - 48px));
    padding-right: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .contact-intro-copy h1 {
    font-size: clamp(44px, 8vw, 68px);
  }

  .contact-intro .contact-float-form {
    grid-column: auto;
    width: min(640px, calc(100% - 48px));
    margin: 0 auto;
    justify-self: auto;
  }
}

@media (max-width: 640px) {
  .contact-intro-inner {
    padding-top: 16px;
  }

  .contact-intro {
    min-height: auto;
  }

  .contact-intro .contact-float-form {
    width: calc(100vw - 32px);
    margin-inline: auto;
  }

  .contact-info-grid,
  .contact-float-form .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-float-form {
    padding: 28px 22px;
  }

  .contact-float-form .form-lead {
    max-width: 100%;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .contact-faq-item p {
    margin-left: 0;
  }

  .contact-map-section {
    height: auto;
    min-height: 320px;
    margin-top: 40px;
  }

  .contact-map {
    min-height: 320px;
  }

  .contact-map-card {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 32px);
    margin: -72px auto 0;
  }

  .contact-faq {
    gap: 28px;
    padding: 56px 0;
  }

  .contact-cta-inner {
    min-height: 320px;
    padding: 48px 20px;
  }

  .contact-cta-inner h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .contact-pill span {
    min-height: 44px;
    padding: 0 14px;
  }

  .footer-subscribe {
    flex-direction: column;
    max-width: none;
    border-radius: 16px;
    min-height: 0;
  }

  .footer-subscribe input {
    min-height: 48px;
    font-size: 16px;
    padding: 0 16px;
  }

  .footer-subscribe button {
    width: 100%;
    min-height: 48px;
    border-radius: 0 0 16px 16px;
  }

  .result-card {
    grid-template-columns: 1fr;
  }

  .result-card img {
    width: 100%;
    height: 180px;
  }

  .search-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
  }

  .search-project-wrap,
  .search-panel-head .search-filters,
  .search-panel-head .search-sort {
    width: 100%;
    flex: 1 1 100%;
  }

  .search-title-row {
    width: 100%;
    flex: 1 1 100%;
  }

  .btn,
  .pill-link {
    min-height: 44px;
  }
}

.detail-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #111;
}

.detail-hero img {
  width: 100%;
  height: 100vh;
  min-height: 720px;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.24) 56%, rgba(0,0,0,.2)), linear-gradient(0deg, rgba(0,0,0,.52), transparent 54%);
}

.detail-hero-copy {
  position: absolute;
  z-index: 1;
  left: max(38px, calc((100vw - 1160px) / 2));
  bottom: 86px;
  width: min(700px, calc(100% - 76px));
  color: #fff;
}

.detail-hero-copy .eyebrow {
  color: var(--olive);
}

.detail-hero-copy p {
  color: rgba(255,255,255,.82);
}

.detail-stats,
.detail-content,
.detail-location {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 42px 0;
}

.detail-stats article {
  display: grid;
  gap: 10px;
  min-height: 132px;
  align-content: end;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-stats strong {
  font-size: 18px;
  line-height: 1.15;
}

.detail-content {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.amenity-list span {
  border-radius: 999px;
  background: #fff;
  padding: 10px 13px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
}

.detail-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
}

.detail-gallery img:first-child {
  grid-row: span 2;
  height: 472px;
}

.detail-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 70px 0 90px;
}

.trilogy-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #111;
}

.trilogy-hero > img {
  width: 100%;
  height: 100vh;
  min-height: 720px;
  object-fit: cover;
}

.trilogy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.3) 56%, rgba(0,0,0,.18)), linear-gradient(0deg, rgba(0,0,0,.62), transparent 54%);
}

.trilogy-hero-copy {
  position: absolute;
  z-index: 1;
  left: max(38px, calc((100vw - 1160px) / 2));
  bottom: 86px;
  width: min(860px, calc(100% - 76px));
  color: #fff;
}

.trilogy-hero-copy h1 {
  margin-bottom: 28px;
  font-size: clamp(64px, 10vw, 148px);
  line-height: .82;
}

.trilogy-hero-copy > p {
  color: rgba(255,255,255,.72);
  font-weight: 800;
  text-transform: uppercase;
}

.trilogy-side-note {
  position: absolute;
  z-index: 2;
  right: max(38px, calc((100vw - 1160px) / 2));
  bottom: 94px;
  display: grid;
  gap: 10px;
  width: 260px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.trilogy-side-note span {
  color: var(--olive);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.trilogy-side-note strong {
  font-size: 28px;
}

.trilogy-intro,
.trilogy-facts,
.trilogy-story,
.trilogy-mosaic,
.trilogy-location,
.project-deep-info {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.trilogy-intro {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 60px;
  padding: 100px 0 72px;
}

.trilogy-intro h2 {
  font-size: clamp(42px, 6vw, 84px);
}

.trilogy-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trilogy-facts article {
  display: grid;
  gap: 12px;
  min-height: 180px;
  align-content: center;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trilogy-facts article:last-child {
  border-right: 0;
}

.trilogy-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.trilogy-facts strong {
  font-size: 22px;
  line-height: 1.1;
}

.trilogy-image-band {
  margin: 96px 0;
}

.trilogy-image-band img {
  width: 100%;
  height: 78vh;
  min-height: 620px;
  object-fit: cover;
}

.project-deep-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 0 0 96px;
}

.project-deep-info article {
  min-height: 330px;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.project-deep-info span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-deep-info h3 {
  margin-bottom: 22px;
  font-size: 28px;
}

.project-deep-info ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.trilogy-story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: start;
  padding: 20px 0 90px;
}

.trilogy-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.trilogy-gallery img,
.trilogy-mosaic img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.trilogy-gallery img:nth-child(2) {
  margin-top: 80px;
}

.trilogy-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 94px;
}

.trilogy-mosaic img {
  height: 320px;
}

.trilogy-location {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) 1.15fr;
  align-items: stretch;
  gap: 28px;
  padding: 70px 0 100px;
  border-top: 1px solid var(--line);
}

.trilogy-location-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.trilogy-location-copy .btn {
  width: fit-content;
}

.trilogy-location-note {
  margin: 0;
  font-size: 13px;
}

.project-detail-map {
  position: relative;
  z-index: 0;
  width: 100%;
  min-width: 0;
  height: 380px;
  min-height: 380px;
  max-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d8e4ea;
}

.project-detail-map.leaflet-container {
  font-family: inherit;
}

@media (max-width: 1000px) {
  .hero { min-height: max(100svh, 760px); }
  .hero > img { min-height: 100%; height: 100%; }
  .hero-content { bottom: 150px; }
  .contact-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 32px 0 48px;
  }
  .contact-intro-copy {
    position: relative;
    grid-column: auto;
    justify-self: auto;
    left: auto;
    bottom: auto;
    width: min(1160px, calc(100% - 32px));
    padding-right: 0;
    margin: 0 auto;
    padding: 0 22px;
    box-sizing: border-box;
  }
  .contact-intro .contact-float-form {
    position: relative;
    grid-column: auto;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: min(500px, calc(100% - 32px));
    margin: 0 auto;
  }
  .rating-strip { bottom: 44px; }
  .hero-deals { display: none; }
  .split, .section-head, .faq-section, .map-layout, .about-grid, .contact-layout, .press-section {
    grid-template-columns: 1fr;
  }
  .press-feature {
    justify-self: stretch;
    width: auto;
  }
  .detail-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-content {
    grid-template-columns: 1fr;
  }
  .trilogy-facts,
  .trilogy-mosaic,
  .project-deep-info {
    grid-template-columns: repeat(2, 1fr);
  }
  .trilogy-intro,
  .trilogy-story {
    grid-template-columns: 1fr;
  }
  .trilogy-side-note {
    display: none;
  }
  .project-grid, .journey-grid, .testimonial-grid, .values, .contact-extra {
    grid-template-columns: repeat(2, 1fr);
  }
  .milestone-head { grid-template-columns: 1fr; align-items: start; }
  .milestone-grid { grid-template-columns: 1fr; }
  .ms-card { min-height: 260px; }
  .ms-photo { min-height: 300px; }
  .project-rail {
    min-height: auto;
    overflow: hidden;
    padding-bottom: 34px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .project-rail-track {
    align-items: stretch;
    width: auto;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 0 16px 22px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    animation: none;
    transform: none;
  }
  .project-rail-track.is-autoscrolling {
    scroll-snap-type: none;
  }
  .rail-nav {
    display: none;
  }
  .project-tile {
    flex: 0 0 min(78vw, 320px);
    height: 420px;
    margin-right: 16px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .project-tile img {
    height: 100%;
  }
  .project-tile div {
    padding: 56px 20px 20px;
  }
  .search-shell {
    grid-template-columns: 1fr;
    height: auto;
  }
  .search-shell.is-map-only {
    grid-template-columns: 1fr;
  }
  .search-map-wrap {
    order: -1;
    height: 380px;
    min-height: 320px;
  }
  .search-results {
    overflow: visible;
    max-height: none;
  }
  .result-card {
    grid-template-columns: 150px 1fr;
  }
}

@media (max-width: 680px) {
  body[data-page="home"] {
    padding-top: 0;
  }

  .hero { width: 100%; margin-top: 0; min-height: 100svh; border-radius: 0; }
  .hero > img { min-height: 100svh; height: 100svh; }
  .hero-content { left: 22px; bottom: clamp(168px, 28vh, 220px); width: calc(100% - 44px); }
  .hero h1 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.04;
  }
  .contact-intro-copy {
    width: calc(100vw - 44px);
    padding: 0 22px;
  }
  .contact-intro-copy h1 {
    font-size: clamp(36px, 10vw, 52px);
  }
  .hero-actions {
    margin-top: 20px;
  }
  .rating-strip {
    left: 22px;
    bottom: max(20px, env(safe-area-inset-bottom));
    width: calc(100% - 44px);
    gap: 6px;
  }
  .rating-strip strong {
    font-size: 48px;
  }
  .rating-strip em {
    font-size: 20px;
  }
  .rating-strip span {
    max-width: 300px;
    line-height: 1.25;
  }
  h1 { font-size: clamp(36px, 10vw, 44px); }
  h2 { font-size: clamp(26px, 7vw, 31px); }
  .project-grid, .journey-grid, .testimonial-grid, .values, .contact-extra, .logo-row, .stat-row {
    grid-template-columns: 1fr;
  }
  .press-section {
    width: calc(100% - 28px);
    margin-top: 36px;
    padding: 30px 24px;
    border-radius: 20px;
  }
  .press-copy h2 {
    font-size: clamp(26px, 7.5vw, 36px);
  }
  .press-logo {
    padding: 16px 18px;
    gap: 12px;
  }
  .press-logo img {
    height: 26px;
    max-width: 130px;
  }
  .result-card {
    grid-template-columns: 1fr;
  }

  .result-card img {
    width: 100%;
    height: 180px;
  }

  .result-info {
    padding: 12px;
  }
  .detail-stats,
  .detail-gallery,
  .trilogy-facts,
  .trilogy-gallery,
  .trilogy-mosaic,
  .project-deep-info {
    grid-template-columns: 1fr;
  }
  .detail-gallery img:first-child,
  .detail-gallery img {
    height: 310px;
  }
  .detail-location,
  .trilogy-location {
    grid-template-columns: 1fr;
  }

  .project-detail-map {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }
  .trilogy-hero-copy h1 {
    font-size: 54px;
  }
  .trilogy-image-band img {
    min-height: 420px;
  }
  .section {
    padding: 58px 0;
  }
  .cta-panel {
    display: grid;
    min-height: 0;
    height: auto;
    padding: 0 0 18px;
  }
  .cta-panel img {
    position: relative;
    inset: auto;
    height: 360px;
  }
  .cta-copy, .lead-card {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    transform: none;
    width: calc(100% - 28px);
    margin: -250px auto 0;
  }
  .lead-card {
    margin-top: 18px;
  }
  .footer-inner {
    padding: 32px 24px 96px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-watermark {
    font-size: clamp(88px, 28vw, 140px);
    bottom: -20px;
  }
  .search-map-wrap {
    height: 320px;
    min-height: 300px;
  }
  .cta-strip {
    display: grid;
  }
}

/* Mobile: keep the desktop floating header shape, collapse nav into a hamburger */
@media (max-width: 1000px) {
  .site-header {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: space-between;
    column-gap: 12px;
    row-gap: 0;
    grid-template-columns: none;
    width: min(560px, calc(100% - 24px));
    border-radius: 16px;
    min-height: 62px;
    padding: 10px 14px;
  }
  body.is-scrolled .site-header {
    width: min(520px, calc(100% - 34px));
    padding: 8px 12px;
  }

  body[data-page="projects"] main,
  body[data-page="about"] main,
  body[data-page="contact"] main {
    padding-top: max(96px, calc(62px + env(safe-area-inset-top) + 24px));
  }

  .brand {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 1;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: 44px;
    align-self: center;
    align-items: center;
  }
  .brand-bno,
  .brand-dev {
    font-size: 12.5px;
    letter-spacing: .08em;
  }
  .nav-toggle {
    display: flex;
    order: 2;
    align-self: center;
  }
  .nav,
  .header-actions {
    order: 3;
    flex-basis: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height .42s cubic-bezier(.2,.8,.2,1), opacity .28s ease, transform .32s cubic-bezier(.2,.8,.2,1), padding .32s ease, margin .32s ease;
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 0;
    padding-right: 0;
    padding-top: 0;
    border-top: 0;
  }

  .nav-logo {
    display: none;
  }
  .nav-logo-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70px;
    height: 58px;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 1;
    pointer-events: none;
  }

  .site-header.is-open .nav-logo-mobile {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .nav-logo-mobile img {
    height: 58px;
    width: auto;
    margin: 0;
  }

  .nav a {
    width: 100%;
    text-align: left;
    padding: 11px 12px;
    font-size: 15px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .24s ease, transform .28s cubic-bezier(.2,.8,.2,1), background .2s ease;
  }

  .header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 0;
  }

  .site-header.is-open .nav,
  .site-header.is-open .header-actions {
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header.is-open .nav {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-header.is-open .header-actions {
    margin-top: 4px;
    padding-top: 4px;
  }

  .site-header.is-open .nav a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-open .nav a:nth-child(1) { transition-delay: .04s; }
  .site-header.is-open .nav a:nth-child(2) { transition-delay: .08s; }
  .site-header.is-open .nav a:nth-child(3) { transition-delay: .12s; }
  .site-header.is-open .nav a:nth-child(4) { transition-delay: .16s; }

  .site-header.is-open .pill-link {
    display: inline-flex;
    flex: 1 1 auto;
    min-height: 46px;
  }
  .site-header.is-open .language-switcher {
    flex: 0 0 auto;
  }
}

@media (max-width: 460px) {
  .brand-bno,
  .brand-dev {
    font-size: 10px;
    letter-spacing: .08em;
  }
  .brand {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    max-width: calc(50% - 44px);
    line-height: .9;
  }
  .brand-dev {
    font-size: 9px;
    letter-spacing: .1em;
  }
  .nav-logo-mobile {
    width: 58px;
    height: 52px;
    top: 50%;
  }
  .site-header.is-open .nav-logo-mobile {
    top: 50%;
  }
  .nav-logo-mobile img {
    height: 52px;
    width: auto;
  }
  .site-header {
    width: calc(100% - 20px);
  }
  body.is-scrolled .site-header {
    width: calc(100% - 28px);
  }
  .section {
    padding: 48px 0;
  }
  .contact-faq-item summary {
    font-size: 15px;
    padding-right: 36px;
  }
}

/* Projects: deliberate tablet and phone flow */
@media (max-width: 1000px) {
  body[data-page="projects"] {
    overflow-x: hidden;
    overflow-y: auto;
  }

  body[data-page="projects"] main,
  body[data-page="projects"] .search-page {
    min-height: 0;
  }

  body[data-page="projects"] .search-shell,
  body[data-page="projects"] .search-shell.is-map-only {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  body[data-page="projects"] .search-panel {
    display: contents;
  }

  body[data-page="projects"] .search-panel-head {
    order: 0;
    display: block;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    background: #071b33;
    color: #fff;
  }

  body[data-page="projects"] .search-title-row {
    display: block;
    margin-bottom: 10px;
  }

  body[data-page="projects"] .search-title-row h1 {
    font-size: 22px;
  }

  body[data-page="projects"] .search-project-wrap {
    margin-bottom: 8px;
  }

  body[data-page="projects"] .search-project-field input,
  body[data-page="projects"] .multi-trigger {
    min-height: 44px;
    font-size: 14px;
  }

  body[data-page="projects"] .search-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="projects"] .multi-select {
    min-width: 0;
    margin-bottom: 0;
  }

  body[data-page="projects"] .multi-trigger {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-page="projects"] [data-project-multi-filter="beds"] .multi-menu,
  body[data-page="projects"] [data-project-multi-filter="district"] .multi-menu {
    right: 0;
    left: auto;
  }

  body[data-page="projects"] .multi-menu {
    width: min(320px, calc(100vw - 32px));
  }

  body[data-page="projects"] .multi-search {
    min-height: 44px;
  }

  body[data-page="projects"] .multi-action {
    min-height: 40px;
    padding: 7px 6px;
    font-size: 11px;
  }

  body[data-page="projects"] .multi-option {
    min-height: 44px;
    padding: 8px 7px;
    box-sizing: border-box;
    font-size: 13px;
  }

  body[data-page="projects"] .price-filter {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px 11px 8px;
  }

  body[data-page="projects"] .summary {
    margin: 10px 0 0;
  }

  body[data-page="projects"] .search-map-wrap {
    position: relative;
    inset: auto;
    top: auto !important;
    order: 1;
    width: 100%;
    height: clamp(360px, 54svh, 480px);
    min-height: 360px;
    transition: none;
  }

  body[data-page="projects"] .search-results {
    order: 2;
    width: 100%;
    max-height: none;
    padding: 14px 14px 28px;
    box-sizing: border-box;
    overflow: visible;
    background: #071b33;
  }

  body[data-page="projects"] .result-card {
    width: 100%;
    box-sizing: border-box;
  }

  body[data-page="projects"] .map-layers-panel {
    left: 10px;
    right: 82px;
    bottom: 10px;
    width: max-content;
    max-width: calc(100% - 102px);
  }

  body[data-page="projects"] .map-layers-item {
    min-height: 44px;
    padding-inline: 9px;
    font-size: 12px;
  }

  body[data-page="projects"] .map-layers-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
  }

  body[data-page="projects"] .map-layers-panel.is-open .map-layers-body {
    scrollbar-width: none;
  }

  body[data-page="projects"] .map-layers-panel.is-open .map-layers-body::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 480px) {
  body[data-page="projects"] .search-panel-head {
    padding: 13px 12px 14px;
  }

  body[data-page="projects"] .search-title-row h1 {
    font-size: 20px;
  }

  body[data-page="projects"] .search-project-field input,
  body[data-page="projects"] .multi-trigger {
    font-size: 13px;
  }

  body[data-page="projects"] .search-map-wrap {
    height: clamp(340px, 52svh, 420px);
    min-height: 340px;
  }

  body[data-page="projects"] .search-results {
    padding: 12px 10px 24px;
  }

  body[data-page="projects"] .result-card {
    padding: 12px;
  }

  body[data-page="projects"] .map-layers-panel {
    right: 76px;
    bottom: 8px;
    max-width: calc(100% - 94px);
  }
}
