/* =============================================================================
   Premium design layer. Loads after style.css and responsive.css.
   Restyles existing sections only; no page text or layout files depend on it.
   ========================================================================== */

:root {
  --pr-ink: #12181f;
  --pr-ink-2: #1a2229;
  --pr-ink-line: rgba(229, 195, 152, 0.16);
  --pr-ivory: #faf8f5;
  --pr-champagne: #e5c398;
  --pr-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pr-shadow: 0 30px 70px -30px rgba(18, 24, 31, 0.35);
  --pr-shadow-hover: 0 45px 90px -35px rgba(18, 24, 31, 0.5);
}

/* --- Smooth scrolling ------------------------------------------------------ */
html.pr-smooth,
html.pr-smooth body {
  scroll-behavior: auto !important;
}
html.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

.pr-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1100;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--color-gold), var(--pr-champagne));
}

/* --- Scroll reveal --------------------------------------------------------- */
.pr-reveal {
  opacity: 0;
  translate: 0 34px;
}
.pr-reveal.pr-in {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity 1.1s var(--pr-ease) var(--pr-delay, 0ms),
    translate 1.1s var(--pr-ease) var(--pr-delay, 0ms);
}

/* --- Parallax helpers ------------------------------------------------------ */
.pr-parallax-img { scale: 1.14; }
.hero-video-wrapper { height: 124%; top: -12%; will-change: translate; }
.hero-content { will-change: translate, opacity; }

/* --- Hero ------------------------------------------------------------------ */
.hero-overlay {
  background:
    radial-gradient(70% 55% at 50% 52%, rgba(18, 24, 31, 0.62) 0%, rgba(18, 24, 31, 0) 100%),
    linear-gradient(180deg, rgba(18, 24, 31, 0.62) 0%, rgba(18, 24, 31, 0.28) 38%, rgba(18, 24, 31, 0.78) 100%) !important;
}
.hero-video-wrapper video { animation: pr-hero-settle 2.6s var(--pr-ease) both; }
.hero-glass-panel { animation: pr-rise 1.5s var(--pr-ease) 0.25s backwards; }
.hero-video-section::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 1px;
  height: 64px;
  z-index: 3;
  background: linear-gradient(180deg, transparent, var(--pr-champagne));
  transform-origin: 50% 0;
  animation: pr-scroll-line 2.4s var(--pr-ease) infinite;
}
@keyframes pr-hero-settle { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes pr-rise { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@keyframes pr-scroll-line {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(20px); opacity: 0; }
}

#global-navbar ~ * .hero-title,
.hero-pretitle,
.hero-subtitle-line { text-shadow: 0 2px 26px rgba(0, 0, 0, 0.75); }
.hero-pretitle,
.hero-subtitle-line { color: rgba(255, 255, 255, 0.92) !important; }

/* --- Inner page banners ---------------------------------------------------- */
.subpage-header-banner {
  min-height: 66vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.subpage-header-banner > .container {
  width: 100%;
  animation: pr-rise 1.4s var(--pr-ease) 0.1s backwards;
}
.subpage-header-banner h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  margin: 26px auto 0;
  background: var(--pr-champagne);
}
.subpage-header-banner p { color: rgba(255, 255, 255, 0.86) !important; }

/* --- Section rhythm -------------------------------------------------------- */
.services-section,
.portfolio-section,
.neighborhoods-section { padding-top: 120px; padding-bottom: 120px; }
.services-section { background: var(--pr-ivory); }
.services-header { margin-bottom: 70px; }
section h5 + h2 { margin-top: 14px; }

/* --- Service cards --------------------------------------------------------- */
.services-grid { gap: 14px; }
.service-card {
  height: 560px;
  border-radius: 2px;
  box-shadow: var(--pr-shadow);
  transition: box-shadow 0.8s var(--pr-ease), translate 0.8s var(--pr-ease);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 14px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(229, 195, 152, 0);
  transition: border-color 0.8s var(--pr-ease), inset 0.8s var(--pr-ease);
}
.service-card:hover { translate: 0 -8px; box-shadow: var(--pr-shadow-hover); }
.service-card:hover::after { inset: 18px; border-color: rgba(229, 195, 152, 0.55); }
.service-card__bg img { transition: transform 1.8s var(--pr-ease); }

/* --- Statistics: a dark panel floating on ivory ---------------------------- */
.stats-section {
  background: var(--pr-ivory);
  border: 0;
  padding: 20px 0 120px;
}
.stats-grid {
  gap: 0;
  padding: 26px 20px;
  background: linear-gradient(135deg, var(--pr-ink) 0%, var(--pr-ink-2) 100%);
  box-shadow: var(--pr-shadow);
  border-top: 2px solid var(--color-gold);
}
.stat-card { padding: 38px 20px; }
.stat-card::after { background: var(--pr-ink-line); height: 56%; top: 22%; }
.stat-value {
  color: var(--pr-champagne);
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 14px;
}
.stat-label { color: rgba(255, 255, 255, 0.68); }

/* --- Founder --------------------------------------------------------------- */
.founder-section { background: var(--pr-ivory); border: 0; }
.founder-image-col img { transition: scale 1.8s var(--pr-ease); }
.founder-image-col:hover img { scale: 1.025; }

/* --- Valuation: white card on deep ink ------------------------------------- */
.valuation-section {
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(168, 142, 115, 0.2), transparent 70%),
    var(--pr-ink);
  border: 0;
  padding-top: 130px;
  padding-bottom: 130px;
}
.valuation-section > .container > :not(.valuation-box) h2,
.valuation-section h2 { color: #ffffff; }
.valuation-section h5 { color: var(--pr-champagne); }
.valuation-section p:not(.valuation-box *) { color: rgba(255, 255, 255, 0.78) !important; }
.valuation-box {
  border: 0;
  border-radius: 2px;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.7);
}

/* --- Property cards -------------------------------------------------------- */
.properties-grid { gap: 28px; }
.property-card {
  border: 0;
  border-radius: 2px;
  box-shadow: var(--pr-shadow);
  transition: translate 0.8s var(--pr-ease), box-shadow 0.8s var(--pr-ease);
}
.property-card:hover {
  transform: none;
  translate: 0 -8px;
  box-shadow: var(--pr-shadow-hover);
}
.property-card__img-wrap img { transition: transform 1.8s var(--pr-ease); }
.property-card__price { color: var(--color-gold-dark); }

/* --- Neighbourhoods -------------------------------------------------------- */
.neighborhoods-section { background: var(--pr-ivory); border: 0; }
.neighborhood-card { border-radius: 2px; box-shadow: var(--pr-shadow); }
.neighborhood-card__bg img { transition: transform 1.8s var(--pr-ease); }
.neighborhood-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 24, 31, 0.05) 18%, rgba(18, 24, 31, 0.62) 52%, rgba(18, 24, 31, 0.96) 100%);
}
.neighborhood-card__tagline { color: var(--pr-champagne) !important; }
.neighborhood-card__desc { color: rgba(255, 255, 255, 0.86) !important; }

/* --- Full-bleed call to action --------------------------------------------- */
.mission-cta-section {
  background-attachment: scroll !important;
  padding: 170px 0;
  overflow: hidden;
}

/* --- Buttons --------------------------------------------------------------- */
.btn,
.homepage-subheading-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1px;
  transition: color 0.5s var(--pr-ease), background-color 0.5s var(--pr-ease), border-color 0.5s var(--pr-ease), translate 0.5s var(--pr-ease), box-shadow 0.5s var(--pr-ease);
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s var(--pr-ease);
}
.btn:hover { translate: 0 -2px; box-shadow: 0 16px 32px -16px rgba(18, 24, 31, 0.6); }
.btn:hover::before { left: 125%; }

section .btn--editorial-black,
section .btn--dark {
  background-color: var(--pr-ink) !important;
  border-color: var(--pr-ink) !important;
}
section .btn--editorial-black:hover,
section .btn--dark:hover {
  background-color: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: #ffffff !important;
}

/* --- Navigation ------------------------------------------------------------ */
#global-navbar { transition: background 0.6s var(--pr-ease), padding 0.6s var(--pr-ease), box-shadow 0.6s var(--pr-ease); }
#global-navbar.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: rgba(168, 142, 115, 0.22);
  box-shadow: 0 18px 40px -28px rgba(18, 24, 31, 0.45);
}

/* --- Footer: dark, to close the page --------------------------------------- */
#global-footer {
  background: var(--pr-ink);
  color: rgba(255, 255, 255, 0.72);
  border-top: 2px solid var(--color-gold);
}
#global-footer .footer-brand img { filter: brightness(0) invert(1); }
#global-footer .logo-brand { color: #ffffff !important; }
#global-footer .logo-tagline { color: var(--pr-champagne) !important; }
#global-footer p,
#global-footer .footer-contact-item,
#global-footer .footer-contact-item a:not([style]),
#global-footer .footer-links-list a,
#global-footer .footer-bottom-bar,
#global-footer .footer-bottom-links a { color: rgba(255, 255, 255, 0.68); }
#global-footer .footer-links-list a,
#global-footer .footer-bottom-links a { transition: color 0.4s var(--pr-ease); }
#global-footer .footer-links-list a:hover,
#global-footer .footer-bottom-links a:hover,
#global-footer .footer-contact-item a:hover { color: var(--pr-champagne); }
#global-footer .footer-col-title { color: var(--pr-champagne); }
#global-footer .footer-bottom-bar { border-top-color: var(--pr-ink-line); }
#global-footer .sidemenu-socials a {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}
#global-footer .sidemenu-socials a:hover { color: var(--pr-champagne); border-color: var(--pr-champagne); }

/* --- Phones ---------------------------------------------------------------- */
@media (max-width: 767px) {
  .subpage-header-banner { min-height: 56vh; }
  .services-section,
  .portfolio-section,
  .neighborhoods-section { padding-top: 70px; padding-bottom: 70px; }
  .valuation-section { padding-top: 80px; padding-bottom: 80px; }
  .stats-section { padding-bottom: 70px; }
  .stats-grid { padding: 10px 8px; }
  .stat-card { padding: 24px 12px; }
  .service-card { height: 420px; }
  .mission-cta-section { padding: 90px 16px; }
  .hero-video-section::after { display: none; }
}

/* --- Visitors who ask for less motion -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-video-wrapper video,
  .hero-glass-panel,
  .subpage-header-banner > .container,
  .hero-video-section::after { animation: none; }
  .btn::before { display: none; }
}

/* --- Products: the phone button was white text on a white background ------- */
.vip-concierge-strip .btn-card-outline {
  background: transparent !important;
  color: #ffffff !important;
}
.vip-concierge-strip .btn-card-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
