/*
 * iQ Bronberg — premium motion and visual experience layer
 * Progressive enhancement only: the site remains fully usable if this file
 * or the companion JavaScript cannot load.
 */

:root {
  --experience-teal: #2b444d;
  --experience-teal-deep: #172b32;
  --experience-teal-ink: #102127;
  --experience-cream: #f4f1ea;
  --experience-gold: #deb67c;
  --experience-gold-light: #efcf9b;
  --experience-ink: #1a1a1a;
  --experience-white: #ffffff;
  --experience-radius-sm: 14px;
  --experience-radius: 24px;
  --experience-radius-lg: 34px;
  --experience-ease: cubic-bezier(.22, 1, .36, 1);
  --experience-shadow: 0 28px 90px rgba(16, 33, 39, .14);
  --experience-shadow-dark: 0 34px 100px rgba(0, 0, 0, .26);
  --experience-header-height: 80px;
}

html {
  scroll-padding-top: calc(var(--experience-header-height) + 18px);
  background: var(--experience-teal-deep);
}

body {
  position: relative;
  background: var(--experience-cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

img {
  -webkit-user-drag: none;
}

.site-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--experience-gold), var(--experience-gold-light), var(--experience-gold));
  box-shadow: 0 0 18px rgba(222, 182, 124, .42);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Header and partner lock-up
   -------------------------------------------------------------------------- */

[data-site-header] {
  height: var(--experience-header-height) !important;
  border-bottom: 1px solid rgba(244, 241, 234, .1);
  background: rgba(23, 43, 50, .88) !important;
  box-shadow: 0 12px 42px rgba(0, 0, 0, .08) !important;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  transition: height .45s var(--experience-ease), background .45s ease, box-shadow .45s ease, border-color .45s ease !important;
}

[data-site-header]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222, 182, 124, .65), transparent);
  opacity: .45;
  pointer-events: none;
}

[data-site-header].is-scrolled {
  --experience-header-height: 70px;
  background: rgba(20, 39, 46, .95) !important;
  border-bottom-color: rgba(222, 182, 124, .24);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .18) !important;
}

.brand-partner-lockup {
  position: relative;
  display: inline-flex;
  min-width: 220px;
  height: 58px;
  align-items: center;
  gap: 10px;
  padding: 6px 11px;
  overflow: hidden;
  border: 1px solid rgba(222, 182, 124, .28);
  border-radius: 15px;
  background: rgba(244, 241, 234, .98);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .17);
  transition: transform .35s var(--experience-ease), box-shadow .35s ease, border-color .35s ease;
}

.brand-partner-lockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .72) 45%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .8s var(--experience-ease);
  pointer-events: none;
}

.brand-partner-lockup:hover {
  transform: translateY(-2px);
  border-color: rgba(222, 182, 124, .72);
  box-shadow: 0 15px 44px rgba(0, 0, 0, .22);
}

.brand-partner-lockup:hover::before {
  transform: translateX(130%);
}

.brand-partner-lockup__logo {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-partner-lockup__logo--clh {
  max-width: 112px;
  height: 47px;
  border-radius: 8px;
}

.brand-partner-lockup__logo--remax {
  max-width: 105px;
  height: 39px;
}

.brand-partner-lockup__divider {
  position: relative;
  z-index: 1;
  width: 1px;
  height: 34px;
  flex: 0 0 auto;
  background: linear-gradient(transparent, rgba(43, 68, 77, .35), transparent);
}

[data-site-header] nav a {
  position: relative;
  padding: 8px 0;
}

[data-site-header] nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right center;
  background: var(--experience-gold);
  transition: transform .35s var(--experience-ease);
}

[data-site-header] nav a:hover::after,
[data-site-header] nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

[data-site-header] nav a.is-active {
  color: var(--experience-gold) !important;
}

.header-enquire {
  position: relative;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(222, 182, 124, .55);
  border-radius: 999px;
  background: rgba(222, 182, 124, .1);
  color: var(--experience-gold);
  font-family: Montserrat, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color .35s ease, background .35s ease, transform .35s var(--experience-ease), border-color .35s ease;
}

.header-enquire::after {
  content: "↗";
  font-size: 13px;
  transition: transform .35s var(--experience-ease);
}

.header-enquire:hover {
  transform: translateY(-2px);
  border-color: var(--experience-gold);
  background: var(--experience-gold);
  color: var(--experience-teal);
}

.header-enquire:hover::after {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Cinematic hero
   -------------------------------------------------------------------------- */

#hero.hero-cinematic {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  height: calc(100svh - var(--experience-header-height));
  background: var(--experience-teal-deep);
}

#hero .hero-slide {
  will-change: opacity, transform;
  transform: translate3d(0, var(--hero-bg-shift, 0), 0) scale(1.07);
  filter: saturate(.94) contrast(1.04);
  transition: opacity 1350ms ease-in-out, transform 8s var(--experience-ease) !important;
}

#hero .hero-slide.opacity-100 {
  transform: translate3d(0, var(--hero-bg-shift, 0), 0) scale(1.015);
}

.hero-dark-overlay {
  background:
    linear-gradient(90deg, rgba(15, 31, 37, .9) 0%, rgba(21, 43, 50, .66) 47%, rgba(18, 38, 45, .28) 76%, rgba(12, 29, 35, .52) 100%),
    linear-gradient(180deg, rgba(12, 28, 34, .15) 0%, rgba(12, 28, 34, .18) 52%, rgba(12, 28, 34, .86) 100%) !important;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 21;
  opacity: .16;
  background-image:
    linear-gradient(rgba(244, 241, 234, .17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, .17) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, .75), transparent 75%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .75), transparent 75%);
  pointer-events: none;
}

.hero-ambient {
  position: absolute;
  z-index: 22;
  top: 10%;
  left: 48%;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 182, 124, .18), transparent 66%);
  filter: blur(12px);
  transform: translate3d(var(--hero-pointer-x, 0), var(--hero-pointer-y, 0), 0);
  transition: transform .4s ease-out;
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  z-index: 23;
  right: clamp(-170px, -8vw, -80px);
  top: 15%;
  width: clamp(280px, 37vw, 610px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 241, 234, .17);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(244, 241, 234, .035),
    0 0 0 84px rgba(222, 182, 124, .03),
    0 0 0 126px rgba(244, 241, 234, .018);
  pointer-events: none;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--experience-gold);
  box-shadow: 0 0 26px rgba(222, 182, 124, .8);
}

.hero-orbit::before {
  top: 12%;
  left: 17%;
  width: 8px;
  height: 8px;
}

.hero-orbit::after {
  right: 7%;
  bottom: 30%;
  width: 5px;
  height: 5px;
}

.hero-main {
  width: 100%;
  max-width: 80rem !important;
  align-items: flex-start;
  padding-top: clamp(60px, 9vh, 110px);
  padding-bottom: clamp(118px, 17vh, 170px);
  text-align: left !important;
  transform: translate3d(var(--hero-content-x, 0), calc(var(--hero-content-y, 0) + var(--hero-content-shift, 0)), 0);
  transition: transform .22s ease-out;
}

.hero-kicker {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px !important;
  padding: 8px 13px;
  border: 1px solid rgba(222, 182, 124, .42);
  border-radius: 999px;
  background: rgba(15, 34, 40, .28);
  color: var(--experience-gold) !important;
  font-size: 10px !important;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .035);
  backdrop-filter: blur(12px);
}

.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--experience-gold);
  box-shadow: 0 0 0 6px rgba(222, 182, 124, .12), 0 0 16px rgba(222, 182, 124, .72);
  animation: hero-pulse 2.4s ease-in-out infinite;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 23px !important;
  color: var(--experience-cream);
  font-size: clamp(4.4rem, 10vw, 9.8rem) !important;
  line-height: .79 !important;
  letter-spacing: -.078em !important;
  text-shadow: 0 24px 65px rgba(0, 0, 0, .35);
}

.hero-title__iq {
  display: block;
  margin: 0 0 .28em .08em;
  color: var(--experience-gold);
  font-size: .23em;
  font-weight: 700;
  letter-spacing: .21em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-title__name {
  display: block;
}

.hero-copy {
  max-width: 690px !important;
  margin: 0 0 34px !important;
  padding-left: 20px;
  border-left: 2px solid var(--experience-gold);
  color: rgba(244, 241, 234, .82) !important;
  font-size: clamp(1rem, 1.55vw, 1.3rem) !important;
  line-height: 1.68 !important;
  text-wrap: balance;
}

.hero-actions {
  justify-content: flex-start !important;
  align-items: stretch !important;
  gap: 12px !important;
}

.hero-actions a {
  position: relative;
  min-width: 185px;
  overflow: hidden;
  border-radius: 999px !important;
  font-size: 11px;
  letter-spacing: .12em;
  box-shadow: none !important;
}

.hero-actions a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 25%;
  transform: skewX(-22deg);
  background: rgba(255, 255, 255, .35);
  transition: left .7s var(--experience-ease);
}

.hero-actions a:hover::before {
  left: 115%;
}

.hero-actions .hero-primary-action {
  border: 1px solid var(--experience-gold);
  box-shadow: 0 15px 40px rgba(222, 182, 124, .2) !important;
}

.hero-actions .hero-secondary-action {
  border-color: rgba(244, 241, 234, .52) !important;
  background: rgba(244, 241, 234, .035);
  backdrop-filter: blur(10px);
}

.hero-coordinate {
  position: absolute;
  z-index: 31;
  right: 27px;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  color: rgba(244, 241, 234, .55);
  font-family: Montserrat, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-coordinate::before {
  content: "";
  width: 56px;
  height: 1px;
  background: rgba(222, 182, 124, .62);
}

.hero-bottom {
  z-index: 32 !important;
}

.hero-dots button {
  width: 26px !important;
  height: 3px !important;
  border-radius: 999px !important;
  transform: none !important;
}

.hero-dots button.bg-brandGold {
  width: 58px !important;
}

.hero-stat-strip {
  position: relative;
  padding: 0 0 18px !important;
  border: 0 !important;
  background: transparent !important;
}

.hero-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px !important;
  align-items: stretch !important;
  text-align: left !important;
}

.hero-stat {
  position: relative;
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 13px 16px !important;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, .13);
  border-radius: 15px;
  background: rgba(17, 37, 44, .62);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(17px) saturate(125%);
}

.hero-stat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, var(--experience-gold), transparent);
}

.hero-stat strong {
  color: var(--experience-cream);
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: none;
}

.hero-stat small {
  color: rgba(244, 241, 234, .48);
  font-family: Inter, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 34;
  left: 50%;
  bottom: 112px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(244, 241, 234, .52);
  font-family: Montserrat, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-scroll-cue__line {
  position: relative;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: rgba(244, 241, 234, .2);
}

.hero-scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 65%;
  background: var(--experience-gold);
  animation: scroll-cue 2s var(--experience-ease) infinite;
}

@keyframes hero-pulse {
  0%, 100% { transform: scale(.92); opacity: .75; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes scroll-cue {
  0% { top: -80%; }
  70%, 100% { top: 120%; }
}

/* --------------------------------------------------------------------------
   Shared editorial section treatment
   -------------------------------------------------------------------------- */

main > section:not(#hero) {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

main > section:not(#hero)::before {
  content: attr(data-section);
  position: absolute;
  z-index: -1;
  top: clamp(18px, 4vw, 54px);
  right: clamp(-8px, 2vw, 30px);
  color: rgba(43, 68, 77, .045);
  font-family: Montserrat, sans-serif;
  font-size: clamp(6.5rem, 16vw, 14rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .75;
  pointer-events: none;
}

main > section.bg-brandTeal::before,
main > section.bg-brandDark::before,
main > section[id="units"]::before,
main > section[id="agent"]::before,
main > section[id="timeline"]::before {
  color: rgba(244, 241, 234, .035);
}

main section h2 {
  letter-spacing: -.045em;
  text-wrap: balance;
}

main section h3 {
  text-wrap: balance;
}

main section h2 + .h-1,
main section .h-1.w-20 {
  position: relative;
  width: 92px !important;
  height: 2px !important;
  overflow: visible;
  background: linear-gradient(90deg, var(--experience-gold), rgba(222, 182, 124, .1)) !important;
}

main section h2 + .h-1::after,
main section .h-1.w-20::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--experience-gold);
  box-shadow: 0 0 0 5px rgba(222, 182, 124, .12);
}

#overview {
  background:
    radial-gradient(circle at 92% 13%, rgba(222, 182, 124, .15), transparent 27%),
    linear-gradient(180deg, #f8f5ef 0%, var(--experience-cream) 100%) !important;
}

#overview .bg-brandWhite {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 68, 77, .11) !important;
  border-left: 0 !important;
  border-radius: var(--experience-radius) !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: var(--experience-shadow) !important;
  backdrop-filter: blur(14px);
}

#overview .bg-brandWhite::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--experience-gold), var(--experience-teal), var(--experience-gold));
}

#overview .bg-brandWhite dl > div {
  transition: transform .3s var(--experience-ease), background .3s ease;
}

#overview .bg-brandWhite dl > div:hover {
  transform: translateX(5px);
  background: rgba(222, 182, 124, .07);
}

#units {
  background:
    radial-gradient(circle at 14% 10%, rgba(222, 182, 124, .14), transparent 26%),
    radial-gradient(circle at 88% 88%, rgba(244, 241, 234, .07), transparent 29%),
    linear-gradient(145deg, #203a43, var(--experience-teal) 55%, #1e3841) !important;
}

#units::after,
#agent::after,
#timeline::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .08;
  background-image:
    linear-gradient(rgba(244, 241, 234, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(140deg, black, transparent 72%);
  pointer-events: none;
}

.unit-card {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(244, 241, 234, .13);
  border-radius: 26px !important;
  background: rgba(247, 244, 238, .98) !important;
  box-shadow: 0 28px 85px rgba(0, 0, 0, .22) !important;
  transform: translateZ(0);
  transition: transform .55s var(--experience-ease), box-shadow .55s var(--experience-ease), border-color .35s ease !important;
}

.unit-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(460px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(222, 182, 124, .22), transparent 43%);
  transition: opacity .35s ease;
  pointer-events: none;
}

.unit-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222, 182, 124, .92), transparent);
}

.unit-card:hover {
  transform: translateY(-12px) !important;
  border-color: rgba(222, 182, 124, .62);
  box-shadow: 0 38px 110px rgba(0, 0, 0, .3) !important;
}

.unit-card:hover::before,
.interactive-surface:hover::before {
  opacity: 1;
}

.unit-card.is-featured {
  border-color: rgba(222, 182, 124, .85);
  box-shadow: 0 30px 95px rgba(0, 0, 0, .27), 0 0 0 3px rgba(222, 182, 124, .72) !important;
}

.unit-card a,
#pricing a,
.document-card,
#contact button,
.whatsapp,
.mobile-cta a {
  transition-timing-function: var(--experience-ease) !important;
}

.unit-card a:hover,
#pricing a:hover,
#contact button:hover {
  transform: translateY(-2px);
}

#pricing {
  background:
    radial-gradient(circle at 10% 15%, rgba(43, 68, 77, .07), transparent 28%),
    linear-gradient(180deg, var(--experience-cream), #faf8f4) !important;
}

#pricing .premium-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 68, 77, .1) !important;
  border-radius: var(--experience-radius) !important;
  background: rgba(255, 255, 255, .83) !important;
  box-shadow: 0 18px 58px rgba(16, 33, 39, .08) !important;
  backdrop-filter: blur(10px);
  transition: transform .45s var(--experience-ease), border-color .35s ease, box-shadow .45s var(--experience-ease);
}

#pricing .premium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(222, 182, 124, .62) !important;
  box-shadow: 0 30px 85px rgba(16, 33, 39, .14) !important;
}

#pricing [role="group"] button {
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(16, 33, 39, .06);
}

#pricing [role="group"] button:hover {
  transform: translateY(-2px);
  border-color: rgba(222, 182, 124, .8) !important;
}

#documents,
#film,
#timeline {
  background:
    radial-gradient(circle at 88% 12%, rgba(222, 182, 124, .12), transparent 28%),
    linear-gradient(145deg, #10242b, var(--experience-teal-deep) 55%, #112931) !important;
}

.feature-preview {
  border-radius: 28px !important;
  transition: transform .6s var(--experience-ease), border-color .4s ease, box-shadow .6s var(--experience-ease) !important;
}

.site-disclosure__summary:hover .feature-preview {
  transform: translateY(-8px) !important;
}

.feature-preview__visual img {
  transform: scale(1.025);
  transition: transform 1.1s var(--experience-ease), filter .7s ease !important;
}

.site-disclosure__summary:hover .feature-preview__visual img {
  transform: scale(1.075) !important;
  filter: saturate(1.04) contrast(1.03);
}

.feature-preview__badge {
  border: 1px solid rgba(43, 68, 77, .12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22) !important;
}

.feature-preview__action {
  transition: color .3s ease;
}

.site-disclosure__summary:hover .feature-preview__action {
  color: var(--experience-gold);
}

.document-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
}

.document-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(222, 182, 124, .12), transparent 70%);
  transform: translateX(-75%);
  transition: transform .8s var(--experience-ease), opacity .3s ease;
  pointer-events: none;
}

.document-card:hover::before {
  opacity: 1;
  transform: translateX(75%);
}

#features {
  background:
    radial-gradient(circle at 8% 90%, rgba(222, 182, 124, .12), transparent 28%),
    linear-gradient(180deg, #faf8f4, var(--experience-cream)) !important;
}

#features .grid > div {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(43, 68, 77, .08);
  border-radius: 19px;
  background: rgba(255, 255, 255, .52);
  transition: transform .45s var(--experience-ease), background .35s ease, box-shadow .45s var(--experience-ease), border-color .35s ease;
}

#features .grid > div:hover {
  transform: translateY(-7px);
  border-color: rgba(222, 182, 124, .55);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 58px rgba(16, 33, 39, .1);
}

#features .grid > div > div:first-child {
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(43, 68, 77, .18) !important;
}

#gallery {
  background:
    radial-gradient(circle at 86% 18%, rgba(222, 182, 124, .15), transparent 27%),
    linear-gradient(145deg, #203b44, var(--experience-teal) 55%, #1b343c) !important;
}

#gallery .group,
#progress .group {
  border-radius: 22px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

#gallery .group img,
#progress .group img {
  transition: transform 1.05s var(--experience-ease), filter .7s ease !important;
}

#gallery .group:hover img,
#progress .group:hover img {
  transform: scale(1.075) !important;
  filter: saturate(1.07) contrast(1.03);
}

#film video {
  border-radius: 24px !important;
  box-shadow: var(--experience-shadow-dark);
}

#progress {
  background:
    radial-gradient(circle at 7% 18%, rgba(222, 182, 124, .12), transparent 25%),
    linear-gradient(180deg, #f8f5ef, var(--experience-cream)) !important;
}

.progress-disclosure {
  border-radius: 22px !important;
  box-shadow: 0 22px 70px rgba(16, 33, 39, .1) !important;
  transition: transform .45s var(--experience-ease), border-color .35s ease, box-shadow .45s var(--experience-ease);
}

.progress-disclosure:hover {
  transform: translateY(-5px);
  border-color: rgba(222, 182, 124, .56);
  box-shadow: 0 31px 85px rgba(16, 33, 39, .15) !important;
}

#siteplan {
  background: linear-gradient(180deg, var(--experience-cream), #f9f7f2) !important;
}

#siteplan img {
  border-radius: 24px !important;
  box-shadow: 0 30px 90px rgba(16, 33, 39, .16) !important;
}

#investment {
  background:
    radial-gradient(circle at 14% 18%, rgba(222, 182, 124, .16), transparent 26%),
    linear-gradient(145deg, #1e3942, var(--experience-teal), #1c343c) !important;
}

#investment input,
#investment select,
#contact input,
#contact select,
#contact textarea {
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease, transform .3s var(--experience-ease);
}

#investment input:focus,
#investment select:focus,
#contact input:focus,
#contact select:focus,
#contact textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(43, 68, 77, .08);
}

#agent {
  background:
    radial-gradient(circle at 92% 12%, rgba(222, 182, 124, .15), transparent 30%),
    linear-gradient(145deg, #1c343c, var(--experience-teal) 58%, #203b44) !important;
}

#agent img {
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

#contact {
  background:
    radial-gradient(circle at 8% 10%, rgba(222, 182, 124, .14), transparent 26%),
    linear-gradient(180deg, #fbfaf7, var(--experience-cream)) !important;
}

#contact form {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 68, 77, .11);
  border-radius: 26px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: var(--experience-shadow) !important;
  backdrop-filter: blur(14px);
}

#contact form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--experience-gold), var(--experience-teal), var(--experience-gold));
}

/* --------------------------------------------------------------------------
   Motion system
   -------------------------------------------------------------------------- */

.experience-js.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition:
    opacity .9s var(--experience-ease) var(--reveal-delay, 0ms),
    transform 1s var(--experience-ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.experience-js.motion-ready [data-reveal="left"] {
  transform: translate3d(-48px, 10px, 0);
}

.experience-js.motion-ready [data-reveal="right"] {
  transform: translate3d(48px, 10px, 0);
}

.experience-js.motion-ready [data-reveal="scale"] {
  transform: translate3d(0, 24px, 0) scale(.965);
}

.experience-js.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.interactive-surface {
  position: relative;
  isolation: isolate;
}

.interactive-surface::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(420px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(222, 182, 124, .14), transparent 43%);
  transition: opacity .35s ease;
  pointer-events: none;
}

.ripple-host {
  position: relative;
  overflow: hidden;
}

.experience-ripple {
  position: absolute;
  z-index: 5;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .52);
  transform: translate(-50%, -50%) scale(0);
  animation: experience-ripple .72s ease-out forwards;
  pointer-events: none;
}

@keyframes experience-ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

/* --------------------------------------------------------------------------
   Footer and floating conversion tools
   -------------------------------------------------------------------------- */

footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(222, 182, 124, .1), transparent 24%),
    radial-gradient(circle at 88% 86%, rgba(43, 68, 77, .42), transparent 30%),
    linear-gradient(145deg, #0e2026, #172b32 55%, #10242b) !important;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222, 182, 124, .72), transparent);
}

.footer-marketing-line {
  color: rgba(244, 241, 234, .52) !important;
  font-weight: 700;
  letter-spacing: .14em !important;
}

footer img {
  transition: transform .45s var(--experience-ease), opacity .35s ease;
}

footer img:hover {
  transform: translateY(-4px);
}

.floating-whatsapp {
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .27) !important;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(37, 211, 102, .35);
  border-radius: inherit;
  animation: whatsapp-pulse 2.7s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% { opacity: .7; transform: scale(.94); }
  75%, 100% { opacity: 0; transform: scale(1.12); }
}

.mobile-cta {
  background: rgba(14, 32, 38, .94) !important;
  backdrop-filter: blur(18px) saturate(130%);
}

/* --------------------------------------------------------------------------
   Completion timeline page enhancements
   -------------------------------------------------------------------------- */

body.timeline-experience {
  background:
    radial-gradient(circle at 90% 10%, rgba(222, 182, 124, .08), transparent 26%),
    var(--experience-cream);
}

.timeline-experience .topbar {
  border-bottom: 1px solid rgba(222, 182, 124, .22);
  background: rgba(23, 43, 50, .92);
  backdrop-filter: blur(18px) saturate(130%);
}

.timeline-brand-lockup {
  display: inline-flex;
  height: 58px;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border: 1px solid rgba(222, 182, 124, .28);
  border-radius: 14px;
  background: var(--experience-cream);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}

.timeline-brand-lockup img:first-child {
  width: 102px;
  height: 46px;
  border-radius: 7px;
  object-fit: contain;
}

.timeline-brand-lockup img:last-child {
  width: 92px;
  height: 36px;
  object-fit: contain;
}

.timeline-brand-lockup span {
  width: 1px;
  height: 30px;
  background: rgba(43, 68, 77, .25);
}

.timeline-experience .hero {
  background:
    radial-gradient(circle at 88% 14%, rgba(222, 182, 124, .2), transparent 27%),
    linear-gradient(145deg, #10242b, var(--experience-teal) 62%, #1b353d) !important;
}

.timeline-experience .lookup-card,
.timeline-experience .result-card,
.timeline-experience details {
  border-radius: 22px !important;
  box-shadow: 0 22px 65px rgba(16, 33, 39, .1);
}

.timeline-experience .lookup-card {
  border-top: 0 !important;
  overflow: hidden;
}

.timeline-experience .lookup-card::before {
  content: "";
  display: block;
  height: 5px;
  margin: -28px -28px 25px;
  background: linear-gradient(90deg, var(--experience-gold), var(--experience-teal), var(--experience-gold));
}

.timeline-experience .check-button,
.timeline-experience .home-link,
.timeline-experience .whatsapp {
  transition: transform .35s var(--experience-ease), background .3s ease, color .3s ease, border-color .3s ease, box-shadow .35s ease;
}

.timeline-experience .check-button:hover,
.timeline-experience .home-link:hover,
.timeline-experience .whatsapp:hover {
  transform: translateY(-3px);
}

.timeline-experience .result-card {
  transition: transform .42s var(--experience-ease), box-shadow .42s var(--experience-ease);
}

.timeline-experience .result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 74px rgba(16, 33, 39, .14);
}

/* --------------------------------------------------------------------------
   Success page enhancements
   -------------------------------------------------------------------------- */

body.success-experience {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(222, 182, 124, .2), transparent 29%),
    radial-gradient(circle at 88% 84%, rgba(43, 68, 77, .15), transparent 29%),
    var(--experience-cream) !important;
}

.success-experience::after {
  content: "";
  position: fixed;
  right: -180px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(43, 68, 77, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(43, 68, 77, .025), 0 0 0 110px rgba(222, 182, 124, .025);
  pointer-events: none;
}

.success-experience .card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 30px !important;
  box-shadow: 0 32px 100px rgba(16, 33, 39, .16) !important;
  animation: success-card-in .8s var(--experience-ease) both;
}

.success-experience .card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--experience-gold), var(--experience-teal), var(--experience-gold));
}

.success-experience .mark {
  box-shadow: 0 0 0 10px rgba(43, 68, 77, .05), 0 16px 35px rgba(43, 68, 77, .18);
}

.success-experience .button {
  transition: transform .35s var(--experience-ease), box-shadow .35s ease, background .3s ease;
}

.success-experience .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(16, 33, 39, .12);
}

@keyframes success-card-in {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */

@media (max-width: 1279px) {
  .brand-partner-lockup {
    min-width: 206px;
  }

  [data-site-header] nav {
    gap: 0 !important;
  }

  [data-site-header] nav a {
    font-size: 10px;
  }
}

@media (max-width: 1023px) {
  .hero-coordinate,
  .hero-scroll-cue {
    display: none;
  }

  .hero-orbit {
    right: -230px;
    opacity: .72;
  }

  .hero-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #hero.hero-cinematic {
    min-height: 720px;
    height: auto;
  }

  .hero-main {
    min-height: 610px;
  }
}

@media (max-width: 767px) {
  :root {
    --experience-header-height: 72px;
  }

  body::before {
    opacity: .017;
  }

  [data-site-header] {
    height: 72px !important;
  }

  [data-site-header].is-scrolled {
    --experience-header-height: 66px;
    height: 66px !important;
  }

  [data-site-header] > div {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .brand-partner-lockup {
    min-width: 0;
    width: 158px;
    height: 52px;
    gap: 6px;
    padding: 5px 7px;
    border-radius: 11px;
  }

  .brand-partner-lockup__logo--clh {
    max-width: 78px;
    height: 40px;
  }

  .brand-partner-lockup__logo--remax {
    max-width: 62px;
    height: 31px;
  }

  .brand-partner-lockup__divider {
    height: 27px;
  }

  [data-site-header] .mobile-timeline-link {
    margin-right: 0 !important;
    padding: 8px 9px !important;
    font-size: 8px !important;
  }

  #hero.hero-cinematic {
    min-height: 740px;
    height: calc(100svh - 72px);
  }

  .hero-grid-overlay {
    opacity: .1;
    background-size: 54px 54px;
  }

  .hero-ambient {
    top: 20%;
    left: 22%;
    width: 85vw;
    height: 85vw;
  }

  .hero-orbit {
    right: -245px;
    top: 20%;
    width: 420px;
    opacity: .48;
  }

  .hero-main {
    min-height: 590px;
    align-items: center;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 120px;
    text-align: center !important;
  }

  .hero-kicker {
    margin-right: auto;
    margin-left: auto;
    font-size: 8px !important;
    letter-spacing: .18em !important;
  }

  .hero-title {
    align-items: center;
    font-size: clamp(3.55rem, 20vw, 6rem) !important;
    letter-spacing: -.075em !important;
  }

  .hero-title__iq {
    margin-left: .2em;
  }

  .hero-copy {
    max-width: 340px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-left: 0;
    border-left: 0;
    font-size: .96rem !important;
    line-height: 1.55 !important;
  }

  .hero-copy::before {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    margin: 0 auto 15px;
    background: var(--experience-gold);
  }

  .hero-actions {
    width: min(100%, 340px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions a {
    width: 100%;
    min-width: 0;
    padding: 14px 20px !important;
  }

  .hero-bottom {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero-dots {
    margin-bottom: 10px !important;
  }

  .hero-stat-strip {
    padding-bottom: 10px !important;
  }

  .hero-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px !important;
  }

  .hero-stat {
    min-height: 63px;
    padding: 10px 11px !important;
    border-radius: 12px;
  }

  .hero-stat strong {
    font-size: 1rem;
  }

  .hero-stat small {
    font-size: 7px;
  }

  main > section:not(#hero)::before {
    top: 18px;
    right: -2px;
    font-size: 6rem;
  }

  main section h2 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }

  .unit-card {
    border-radius: 21px !important;
  }

  .unit-card:hover {
    transform: translateY(-5px) !important;
  }

  #features .grid > div {
    padding: 18px;
  }

  .feature-preview {
    border-radius: 20px !important;
  }

  .timeline-brand-lockup {
    width: 162px;
    height: 52px;
    gap: 6px;
    padding: 5px 7px;
  }

  .timeline-brand-lockup img:first-child {
    width: 79px;
    height: 39px;
  }

  .timeline-brand-lockup img:last-child {
    width: 64px;
    height: 31px;
  }

  .timeline-brand-lockup span {
    height: 26px;
  }
}

@media (max-width: 374px) {
  .brand-partner-lockup {
    width: 142px;
  }

  .brand-partner-lockup__logo--clh {
    max-width: 70px;
  }

  .brand-partner-lockup__logo--remax {
    max-width: 56px;
  }

  [data-site-header] .mobile-timeline-link {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kicker::before,
  .hero-scroll-cue__line::after,
  .floating-whatsapp::before {
    animation: none !important;
  }

  .experience-js.motion-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  #hero .hero-slide,
  .hero-main,
  .hero-ambient {
    transform: none !important;
    transition: none !important;
  }
}

/* Classes introduced after the original Tailwind production build. */
[data-site-header] nav {
  flex: 1 1 auto;
  justify-content: center;
}

[data-site-header] #mobile-navigation {
  top: 100%;
}

@media (min-width: 1280px) {
  .header-enquire {
    display: inline-flex !important;
  }
}

/* --------------------------------------------------------------------------
   v2 polish + performance corrections (20 August 2026)
   -------------------------------------------------------------------------- */

/* Local partner logos: readable black RE/MAX wordmark, consistent clear space. */
.brand-partner-lockup {
  min-width: 252px;
  height: 60px;
  gap: 11px;
  padding: 6px 12px;
  border-color: rgba(222, 182, 124, .34);
  background: #f4f1ea;
}

.brand-partner-lockup__logo {
  flex: 0 0 auto;
  max-width: none;
  object-fit: contain;
}

.brand-partner-lockup__logo--clh {
  width: 111px;
  height: 49px;
  max-width: none;
  border-radius: 7px;
}

.brand-partner-lockup__logo--remax {
  width: 112px;
  height: 43px;
  max-width: none;
}

.mobile-partner-logo,
.agent-remax-logo,
.footer-remax-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(222, 182, 124, .32);
  background: #f4f1ea;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
}

.mobile-partner-logo {
  flex: 0 0 auto;
  width: 112px;
  min-height: 42px;
  padding: 7px 9px;
  border-radius: 11px;
}

.mobile-partner-logo img {
  display: block;
  width: 94px;
  height: auto;
}

.agent-remax-logo {
  width: min(100%, 290px);
  padding: 14px 18px;
  border-radius: 15px;
}

.agent-remax-logo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.footer-clh-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  border-radius: 11px;
}

.footer-remax-logo {
  width: 220px;
  max-width: 100%;
  padding: 11px 15px;
  border-radius: 13px;
}

.footer-remax-logo img {
  display: block;
  width: 188px;
  max-width: 100%;
  height: auto;
}

.timeline-brand-lockup img:first-child {
  width: 106px;
  height: 47px;
}

.timeline-brand-lockup img:last-child {
  width: 104px;
  height: 41px;
}

/* Clean vertical scroll prompt: no lines running through the lettering. */
.hero-scroll-cue {
  bottom: 150px;
  flex-direction: column;
  gap: 8px;
  color: rgba(244, 241, 234, .84);
  font-family: Inter, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .2em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.hero-scroll-cue__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  padding: 7px 12px 7px 14px;
  border: 1px solid rgba(244, 241, 234, .2);
  border-radius: 999px;
  background: rgba(11, 28, 34, .42);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  backdrop-filter: blur(8px);
}

.hero-scroll-cue__line {
  width: 1px;
  height: 25px;
  background: rgba(244, 241, 234, .28);
}

.hero-slide--fallback {
  z-index: 0;
  opacity: 1;
}

/* Stable enquiry form typography and controls. */
.lead-form-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(43, 68, 77, .12);
  border-radius: 28px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 28px 82px rgba(16, 33, 39, .15);
  backdrop-filter: blur(14px);
}

.lead-form-shell::after {
  content: "";
  position: absolute;
  z-index: 6;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #deb67c, #2b444d, #deb67c);
  pointer-events: none;
}

#contact .lead-form {
  position: relative;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  font-family: Inter, Arial, sans-serif;
}

#contact .lead-form::before {
  display: none !important;
}

#contact .lead-field {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

#contact .lead-field > label,
#contact .lead-form__qualifiers label {
  position: static !important;
  order: -1;
  display: block;
  margin: 0 0 1px !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
  color: #1d343c !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: .14em !important;
  opacity: 1 !important;
  text-transform: uppercase;
}

#contact .lead-form input:not([type="hidden"]):not([name="bot-field"]),
#contact .lead-form select,
#contact .lead-form textarea {
  width: 100%;
  border: 1px solid rgba(43, 68, 77, .2) !important;
  border-radius: 12px !important;
  background: #fbfaf7 !important;
  color: #141414 !important;
  -webkit-text-fill-color: #141414;
  box-shadow: 0 5px 15px rgba(16, 33, 39, .035);
  font-family: Inter, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  opacity: 1;
}

#contact .lead-form input:not([type="hidden"]):not([name="bot-field"]),
#contact .lead-form select {
  min-height: 54px;
  padding: 0 14px !important;
}

#contact .lead-form select {
  padding-right: 38px !important;
  color-scheme: light;
}

#contact .lead-form textarea {
  min-height: 116px;
  padding: 15px !important;
  resize: vertical;
}

#contact .lead-form option {
  background: #fff;
  color: #141414;
  font-family: Inter, Arial, sans-serif;
}

#contact .lead-form input:not([type="hidden"]):not([name="bot-field"]):focus,
#contact .lead-form select:focus,
#contact .lead-form textarea:focus {
  border-color: #2b444d !important;
  outline: 3px solid rgba(222, 182, 124, .25);
  outline-offset: 1px;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(43, 68, 77, .1);
  transform: none;
}

#contact .lead-form__qualifiers {
  padding: 22px;
  border: 1px solid rgba(43, 68, 77, .1);
  border-radius: 17px;
  background: rgba(244, 241, 234, .7);
}

#contact .lead-form__submit {
  min-height: 56px;
  border-radius: 12px !important;
  color: #1e3740 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 13px !important;
  letter-spacing: .14em !important;
}

#contact .lead-form__privacy {
  color: rgba(26, 26, 26, .58) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

@media (min-width: 1280px) {
  .brand-partner-lockup {
    min-width: 278px;
  }

  .brand-partner-lockup__logo--clh {
    width: 122px;
  }

  .brand-partner-lockup__logo--remax {
    width: 124px;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .brand-partner-lockup {
    min-width: 218px;
    height: 56px;
    gap: 8px;
    padding: 5px 9px;
  }

  .brand-partner-lockup__logo--clh {
    width: 96px;
    height: 45px;
  }

  .brand-partner-lockup__logo--remax {
    width: 94px;
    height: 39px;
  }
}

@media (max-width: 767px) {
  .brand-partner-lockup {
    width: 172px;
    min-width: 172px;
    height: 52px;
    gap: 6px;
    padding: 5px 7px;
  }

  .brand-partner-lockup__logo--clh {
    width: 78px;
    height: 40px;
    max-width: none;
  }

  .brand-partner-lockup__logo--remax {
    width: 74px;
    height: 33px;
    max-width: none;
  }

  .lead-form-shell {
    padding: 22px 16px;
    border-radius: 22px;
  }

  #contact .lead-form__primary-grid {
    gap: 18px !important;
  }

  #contact .lead-form__qualifiers {
    gap: 17px !important;
    padding: 18px 14px;
  }

  #contact .lead-form input:not([type="hidden"]):not([name="bot-field"]),
  #contact .lead-form select,
  #contact .lead-form textarea {
    font-size: 16px !important;
  }

  .timeline-brand-lockup img:first-child {
    width: 79px;
    height: 39px;
  }

  .timeline-brand-lockup img:last-child {
    width: 72px;
    height: 31px;
  }
}

@media (max-width: 374px) {
  .brand-partner-lockup {
    width: 154px;
    min-width: 154px;
  }

  .brand-partner-lockup__logo--clh {
    width: 70px;
  }

  .brand-partner-lockup__logo--remax {
    width: 64px;
  }
}

/* --------------------------------------------------------------------------
   v2.1 targeted review fixes (20 August 2026)
   -------------------------------------------------------------------------- */

/* Give expanded construction milestones breathing room before the statistics. */
.progress-disclosure__body {
  padding: 1.5rem 1.25rem 1.25rem;
}

.progress-disclosure__body > .progress-stats {
  gap: clamp(.75rem, 1.4vw, 1.25rem);
  margin-top: 0 !important;
  margin-bottom: 2.5rem !important;
}

/* One clean franchise card instead of translucent and cream cards nesting. */
.agent-franchise-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(222, 182, 124, .5);
  border-top: 5px solid #deb67c;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, #f7f4ed, #eee8dc);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .24);
}

.agent-franchise-card::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 11rem;
  height: 11rem;
  border: 1px solid rgba(222, 182, 124, .32);
  border-radius: 50%;
  pointer-events: none;
}

.agent-franchise-card__eyebrow {
  position: relative;
  z-index: 1;
  color: #8b642f;
  font-family: Montserrat, sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.agent-franchise-card .agent-remax-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 276px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.agent-franchise-card .agent-remax-logo img {
  width: 100%;
}

.agent-franchise-card__copy {
  position: relative;
  z-index: 1;
  max-width: 20rem;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(43, 68, 77, .14);
  color: rgba(26, 26, 26, .64);
  font-size: .7rem;
  line-height: 1.65;
}

/* Keep each organisation and its role visually independent in the footer. */
.footer-brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.footer-brand-block {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  text-align: center;
}

.footer-brand-label {
  color: rgba(244, 241, 234, .5);
  font-family: Montserrat, sans-serif;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-brand-label--gold {
  color: #deb67c;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(222, 182, 124, .42);
  border-radius: 1rem;
  background: #f4f1ea;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .2);
}

.footer-logo-card--clh {
  width: min(100%, 238px);
  padding: 12px 16px;
}

.footer-logo-card--clh .footer-clh-logo {
  width: 100%;
  border-radius: .35rem;
}

.footer-navigation {
  align-self: center;
}

.footer-marketing-line {
  margin: 0;
  color: rgba(244, 241, 234, .62) !important;
  font-size: .61rem;
  line-height: 1.65;
  text-align: center;
  text-transform: uppercase;
}

.footer-brand-block--remax .footer-remax-logo {
  width: min(100%, 230px);
}

.footer-legal-copy,
.footer-developer-copy {
  max-width: 15rem;
  margin: 0;
  color: rgba(244, 241, 234, .46);
  font-size: .61rem;
  line-height: 1.7;
}

.footer-brand-block--developer {
  padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
  border-left: 1px solid rgba(222, 182, 124, .26);
}

.footer-developer-logo {
  display: flex;
  width: min(100%, 220px);
  min-height: 96px;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(222, 182, 124, .46);
  border-radius: 1rem;
  background: rgba(244, 241, 234, .055);
}

.footer-developer-logo img {
  display: block;
  width: 154px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .96;
}

@media (max-width: 1199px) {
  .footer-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block--developer {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .progress-disclosure__body {
    padding: 1rem;
  }

  .progress-disclosure__body > .progress-stats {
    margin-bottom: 1.5rem !important;
  }

  .progress-stats > div {
    padding: 1rem .75rem !important;
  }

  .progress-stats > div > div:first-child {
    font-size: 1.45rem;
  }

  .agent-franchise-card {
    gap: 1.25rem;
    padding: 1.6rem 1.35rem;
  }

  .footer-brand-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-navigation {
    order: 4;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 241, 234, .1);
  }

  .footer-brand-block--remax,
  .footer-brand-block--developer {
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 241, 234, .1);
  }
}

/* --------------------------------------------------------------------------
   v3 cache-safe form rhythm and layout guardrails (20 August 2026)
   -------------------------------------------------------------------------- */

/* Do not depend on a cached Tailwind spacing utility for critical form rhythm. */
#contact .lead-form {
  display: grid;
  gap: clamp(1.4rem, 2.2vw, 1.8rem);
}

#contact .lead-form > * {
  margin-top: 0;
  margin-bottom: 0;
}

#contact .lead-form__primary-grid {
  column-gap: 1.5rem;
  row-gap: 1.5rem;
}

#contact .lead-form__qualifiers {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

#contact .lead-form__qualifiers > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .5rem;
}

#contact .lead-form__qualifiers label {
  margin: 0 !important;
}

#contact .lead-form__qualifiers select {
  min-width: 0;
}

#contact .lead-form > .lead-field,
#contact .lead-form > div:has(.lead-form__submit) {
  margin: 0;
}

#contact .lead-form__privacy {
  margin-top: -.85rem !important;
}

@media (max-width: 767px) {
  #contact .lead-form {
    gap: 1.35rem;
  }

  #contact .lead-form__primary-grid,
  #contact .lead-form__qualifiers {
    gap: 1.15rem !important;
  }

  #contact .lead-form__privacy {
    margin-top: -.45rem !important;
  }
}
