/*
Theme Name: Delray Estates Child
Template: kadence
Version: 3.0.0
*/

/* ─── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --navy:  #07101e;
  --navy2: #0d1d35;
  --navy3: #142a4a;
  --gold:  #c8a45a;
  --gold2: #e5c07a;
  --gold3: #f0d090;
  --sand:  #f4efe6;
  --cream: #fdfaf5;
  --white: #ffffff;
  --ink:   #161616;
  --ink2:  #2a2a2a;
  --muted: #4e5562;
  --coral: #d97b5a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body:    'Josefin Sans', Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 76px;
  --ease:  cubic-bezier(0.4,0,0.2,1);
  --ease-out: cubic-bezier(0,0,0.2,1);
  --t:     0.35s;
  --r-card: 3px;
}

/* ─── NUCLEAR KADENCE KILL ────────────────────────────────────────────── */
/* Kill every container Kadence injects */
.site-header, .kadence-header, header.site-header,
.wp-block-template-part.has-header-tag, #masthead,
.site-footer, footer.site-footer, #colophon,
.kadence-breadcrumbs, .entry-header {
  display: none !important;
}

/* Flatten every wrapper to true 100% */
html, body,
.wp-site-blocks,
.site, .site-content, .content-area,
.site-main, #primary, #main, #inner-content,
#wrapper, #wrapper.site,
.entry-content, .entry, .post,
.wp-block-post-content,
.wp-block-post,
.wp-block-group,
.is-layout-constrained,
.is-layout-flow,
[class*="wp-container"] {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Strip Kadence white backgrounds so our section colors show */
#wrapper.site, .site-content, #content, #inner-content,
.site-main, #primary, #main,
.entry-content, .entry, article.entry,
.wp-block-post-content, .wp-block-post,
.wp-block-group > .wp-block-group__inner-container {
  background: transparent !important;
}

/* Kadence body base */
body {
  background: var(--cream) !important;
}

/* Kill Kadence global padding on body */
body {
  padding: 0 !important;
  margin: 0 !important;
}

/* Kill any block-level margin Gutenberg adds */
.wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }

/* ─── RESET + BASE ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body.de-fullwidth, body.de-body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; padding: 0; margin: 0; }
p   { line-height: 1.72; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 { font-size: clamp(3.25rem, 8.5vw, 8.5rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.5rem); }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.6rem); }

/* Cinzel for authority headings — Cormorant Garamond kept for italic/decorative */
h1, h2, h3,
.de-stat__val, .de-page-stat__val, .de-highlight-stat__val,
.de-card__comm-title, .de-card__title, .de-neighborhood-card__title {
  font-family: var(--font-heading);
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ─── LAYOUT ──────────────────────────────────────────────────────────── */
.de-container   { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; width: 100%; }
.de-container--narrow { max-width: 900px; margin: 0 auto; padding: 0 2.5rem; }
.de-section     { padding: 7rem 0; }
.de-section--sm { padding: 4rem 0; }
.de-section--dark  { background: #07101e !important; color: #ffffff !important; }
.de-section--navy2 { background: #0d1d35 !important; color: #ffffff !important; }
.de-section--sand  { background: #f4efe6 !important; }
.de-section--cream { background: #fdfaf5 !important; }

/* ─── NAV ─────────────────────────────────────────────────────────────── */
.de-nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.de-nav--scrolled {
  background: rgba(7,16,30,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(200,164,90,0.12), 0 4px 32px rgba(0,0,0,0.5);
}

.de-nav__logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}
.de-nav__logo-dot { color: var(--gold); }
.de-nav__logo-sub {
  font-size: 0.6rem;
  font-style: normal;
  font-family: var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(200,164,90,0.7);
  display: block;
  margin-top: -2px;
  line-height: 1;
}

.de-nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.de-nav__item { position: relative; }
.de-nav__link {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.de-nav__link:hover, .de-nav__link--active {
  color: var(--gold);
  background: rgba(200,164,90,0.08);
}
.de-nav__caret {
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.de-nav__item:hover .de-nav__caret { transform: rotate(225deg) translateY(-1px); }

.de-nav__drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: rgba(7,16,30,0.98);
  border: 1px solid rgba(200,164,90,0.18);
  border-radius: 6px;
  padding: 8px 0.6rem 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  backdrop-filter: blur(16px);
}
.de-nav__item:hover .de-nav__drop {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.de-nav__drop a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}
.de-nav__drop a:hover {
  background: rgba(200,164,90,0.1);
  color: var(--gold);
}

.de-nav__actions { display: flex; align-items: center; gap: 1rem; }
.de-nav__pill {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.de-nav__pill:hover { background: var(--gold2); transform: translateY(-1px); }

/* Burger */
.de-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  z-index: 2;
}
.de-nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.de-nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.de-nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.de-nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav (flat link bar, hidden on desktop, shown via JS on mobile) */
.de-nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9998;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 3rem;
  gap: 0.5rem;
}
.de-nav__mobile.open { display: flex; }
.de-nav__mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem,6vw,3.5rem);
  color: rgba(255,255,255,0.85);
  font-style: italic;
  transition: color 0.2s;
  line-height: 1.2;
}
.de-nav__mobile a:hover { color: var(--gold); }

/* Force list-style off for nav — Kadence overrides the global ul reset */
.de-nav__menu,
.de-nav__menu li { list-style: none !important; margin: 0 !important; }

/* Mobile panel */
.de-nav__panel {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 3rem;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.7,0,0.3,1);
}
.de-nav__panel.open { transform: none; }
.de-nav__panel a {
  font-family: var(--font-display);
  font-size: clamp(2rem,6vw,3.5rem);
  color: rgba(255,255,255,0.85);
  font-style: italic;
  transition: color 0.2s;
  line-height: 1.2;
}
.de-nav__panel a:hover { color: var(--gold); }
.de-nav__panel-line {
  width: 40px; height: 1px;
  background: rgba(200,164,90,0.3);
  margin: 1rem 0;
}

/* ─── GRAIN + ORBS ────────────────────────────────────────────────────── */
.de-grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9996; opacity: 0.35;
  animation: grain 0.16s steps(2) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2%,-2%); }
  50%  { transform: translate(2%,2%); }
  75%  { transform: translate(-1%,1%); }
  100% { transform: translate(1%,-1%); }
}

.de-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.de-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0;
  animation: orbFloat 20s ease-in-out infinite;
}
.de-orb--gold {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200,164,90,0.35) 0%, transparent 65%);
  top: -20%; left: -10%; opacity: 0.22;
  animation-duration: 24s;
}
.de-orb--blue {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(60,100,180,0.3) 0%, transparent 65%);
  bottom: -15%; right: -8%; opacity: 0.18;
  animation-duration: 20s; animation-delay: -10s;
}
.de-orb--teal {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(40,150,140,0.25) 0%, transparent 65%);
  top: 40%; left: 55%; opacity: 0.14;
  animation-duration: 28s; animation-delay: -5s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-50px) scale(1.06); }
  66%      { transform: translate(-25px,30px) scale(0.96); }
}

/* ─── HERO ────────────────────────────────────────────────────────────── */
.de-hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 10vh;
  overflow: hidden;
  background: #07101e !important;
  background-color: #07101e !important;
}
.de-hero__bg {
  position: absolute; inset: -20% 0 0;
  background-size: cover; background-position: center 40%;
  will-change: transform;
  /* Stunning gradient fallback when no photo */
  background-image:
    linear-gradient(135deg,
      rgba(7,16,30,0) 0%,
      rgba(7,16,30,0.2) 100%),
    linear-gradient(to bottom right,
      #0d2340 0%, #071020 40%, #0a1828 70%, #0c1e30 100%);
}
.de-hero__bg--photo {
  background-image: url('');  /* replaced per page */
}
.de-hero__vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top,  rgba(7,16,30,0.97) 0%, rgba(7,16,30,0.55) 35%, rgba(7,16,30,0.1) 70%, transparent 100%),
    linear-gradient(to right, rgba(7,16,30,0.6) 0%, transparent 60%);
}
.de-hero__lines {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.de-hero__lines::before {
  content: '';
  position: absolute;
  left: -20%; top: -20%; width: 140%; height: 140%;
  border: 1px solid rgba(200,164,90,0.06);
  border-radius: 50%;
  transform: rotate(-15deg);
}
.de-hero__lines::after {
  content: '';
  position: absolute;
  right: -15%; bottom: -15%; width: 80%; height: 80%;
  border: 1px solid rgba(200,164,90,0.04);
  border-radius: 50%;
}

.de-hero__content {
  position: relative; z-index: 3;
  max-width: 1320px; margin: 0 auto; padding: 0 3rem 0 5vw;
  width: 100%;
}
.de-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.75rem;
}
.de-hero__eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.de-hero__title {
  color: var(--white);
  font-style: italic;
  line-height: 0.92;
  margin-bottom: 2rem;
  max-width: 900px;
}
.de-hero__title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--gold) 0%, var(--gold3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.de-hero__sub {
  font-size: clamp(1rem,1.4vw,1.15rem);
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: 3rem;
}
.de-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.de-hero__scroll-cue {
  position: absolute;
  right: 4rem; bottom: 3rem; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.de-hero__scroll-cue span {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); writing-mode: vertical-rl;
}
.de-hero__scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(200,164,90,0.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.7; transform: scaleY(1); }
  50%      { opacity: 0.2; transform: scaleY(0.4); }
}

/* ─── STAT STRIP ──────────────────────────────────────────────────────── */
.de-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  border-top: 1px solid rgba(200,164,90,0.15);
}
.de-stat {
  padding: 3.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(200,164,90,0.1);
  position: relative;
}
.de-stat:last-child { border-right: none; }
.de-stat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
.de-stat:hover::after { width: 60%; }
.de-stat__val {
  font-family: var(--font-display);
  font-size: clamp(2.25rem,4vw,3.5rem);
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.de-stat__label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.de-stat__change {
  font-size: 0.68rem;
  color: rgba(200,164,90,0.9);
  margin-top: 0.4rem;
  display: block;
}

/* ─── SECTION LABELS ──────────────────────────────────────────────────── */
.de-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.de-label::before {
  content: ''; width: 24px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}
.de-label--light { color: rgba(200,164,90,0.7); }
.de-label--light::before { background: rgba(200,164,90,0.5); }

.de-divider { width: 36px; height: 2px; background: var(--gold); margin: 1.75rem 0; }

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.de-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  border: none; cursor: pointer;
  border-radius: 2px;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  text-decoration: none;
  white-space: nowrap;
}
.de-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
}
.de-btn:hover::before { transform: translateX(120%); }

.de-btn--gold {
  background: var(--gold); color: var(--navy);
}
.de-btn--gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200,164,90,0.4);
}
.de-btn--outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.de-btn--outline:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}
.de-btn--outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(200,164,90,0.5);
}
.de-btn--outline-gold:hover {
  background: rgba(200,164,90,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.de-btn--dark {
  background: var(--navy2); color: var(--white);
}
.de-btn--dark:hover {
  background: var(--navy3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.de-btn--sm {
  padding: 0.65rem 1.6rem;
  font-size: 0.62rem;
}

/* ─── EDITORIAL SPLIT ─────────────────────────────────────────────────── */
.de-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.de-split--60-40 { grid-template-columns: 3fr 2fr; }
.de-split--40-60 { grid-template-columns: 2fr 3fr; }
.de-split__media { position: relative; overflow: hidden; }
.de-split__media img,
.de-split__media .de-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.de-split__media:hover img,
.de-split__media:hover .de-placeholder { transform: scale(1.04); }
.de-split__body {
  padding: 6rem 5vw;
  display: flex; flex-direction: column; justify-content: center;
}
.de-split__body--dark { background: var(--navy); color: var(--white); }
.de-split__body--sand { background: var(--sand); }
.de-split--reverse > :first-child { order: 2; }
.de-split--reverse > :last-child  { order: 1; }

/* ─── PLACEHOLDER (no photo) ──────────────────────────────────────────── */
.de-placeholder {
  width: 100%; height: 100%; min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.de-ph--ocean {
  background: linear-gradient(160deg, rgba(10,37,64,0.60) 0%, rgba(13,64,96,0.50) 100%),
    url('/wp-content/uploads/2026/05/delray-beach-aerial.jpg') center/cover no-repeat;
}
.de-ph--gold {
  background: linear-gradient(160deg, rgba(30,20,5,0.58) 0%, rgba(58,42,10,0.48) 100%),
    url('/wp-content/uploads/2026/05/addison-reserve-golf.jpg') center/cover no-repeat;
}
.de-ph--sand {
  background: linear-gradient(160deg, rgba(26,31,16,0.60) 0%, rgba(42,52,24,0.50) 100%),
    url('/wp-content/uploads/2026/05/lake-ida-waterfront.jpg') center/cover no-repeat;
}
.de-ph--park {
  background: linear-gradient(160deg, rgba(10,25,15,0.62) 0%, rgba(18,42,26,0.52) 100%),
    url('/wp-content/uploads/2026/05/seven-bridges-gate.jpg') center/cover no-repeat;
}
.de-ph--dusk {
  background: linear-gradient(160deg, rgba(24,10,36,0.60) 0%, rgba(42,18,58,0.50) 100%),
    url('/wp-content/uploads/2026/05/kings-point-clubhouse.jpg') center/cover no-repeat;
}
.de-ph--sun {
  background: linear-gradient(160deg, rgba(26,16,5,0.58) 0%, rgba(58,46,20,0.48) 100%),
    url('/wp-content/uploads/2026/05/atlantic-avenue-delray.jpg') center/cover no-repeat;
}

/* ─── BENTO GRID ──────────────────────────────────────────────────────── */
.de-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.de-bento--4 { grid-template-columns: repeat(4, 1fr); }
.de-bento--2 { grid-template-columns: repeat(2, 1fr); }

.de-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 2px 16px rgba(7,16,30,0.08), 0 0 0 1px rgba(7,16,30,0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.de-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(7,16,30,0.2), 0 0 0 1px rgba(200,164,90,0.12);
}
.de-card--wide { grid-column: span 2; }
.de-card--tall { grid-row: span 2; }
.de-card--dark { background: var(--navy2); color: var(--white); }

.de-card__media {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.de-card--wide .de-card__media { aspect-ratio: 16/7; }
.de-card__media img,
.de-card__media .de-placeholder {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
  min-height: 200px;
}
.de-card:hover .de-card__media img,
.de-card:hover .de-card__media .de-placeholder { transform: scale(1.06); }

.de-card__body { padding: 1.75rem; }
.de-card__tag {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.6rem;
}
.de-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.15; margin-bottom: 0.75rem;
}
.de-card--dark .de-card__title { color: var(--white); }
.de-card__text {
  font-size: 0.88rem; color: var(--muted); line-height: 1.68;
}
.de-card--dark .de-card__text { color: rgba(255,255,255,0.6); }
.de-card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-top: 1.25rem;
  transition: gap 0.2s;
}
.de-card:hover .de-card__link { gap: 0.65rem; }
.de-card__link::after { content: '→'; }

/* Gold accent bar reveal on hover */
.de-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
  z-index: 2;
}
.de-card:hover::after { transform: scaleX(1); }

/* ─── FEATURE SECTION ─────────────────────────────────────────────────── */
.de-feature {
  position: relative; overflow: hidden;
  padding: 8rem 0;
}
.de-feature--dark { background: var(--navy); }
.de-feature__inner {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.de-feature__num {
  font-family: var(--font-display);
  font-size: clamp(6rem,15vw,14rem);
  line-height: 1;
  font-style: italic;
  color: rgba(200,164,90,0.07);
  position: absolute;
  right: 2rem; top: 50%; transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

/* ─── PULLQUOTE ───────────────────────────────────────────────────────── */
.de-pullquote {
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2.25rem;
  margin: 2.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
}
.de-pullquote--light { color: rgba(255,255,255,0.85); }

/* ─── TABLE ───────────────────────────────────────────────────────────── */
.de-table-wrap { overflow-x: auto; }
.de-table { width: 100%; border-collapse: collapse; }
.de-table th {
  background: var(--navy); color: var(--gold);
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1.1rem 1.5rem; text-align: left;
  font-family: var(--font-body); font-weight: 500;
}
.de-table td {
  padding: 1rem 1.5rem; font-size: 0.9rem;
  border-bottom: 1px solid rgba(7,16,30,0.06);
  vertical-align: middle;
}
.de-table tr:last-child td { border-bottom: none; }
.de-table tr:nth-child(even) td { background: rgba(244,239,230,0.5); }
.de-table td:first-child { font-weight: 500; }

/* ─── FAQ ─────────────────────────────────────────────────────────────── */
.de-faq { max-width: 820px; }
.de-faq-item { border-bottom: 1px solid rgba(7,16,30,0.1); }
.de-faq-item:first-child { border-top: 1px solid rgba(7,16,30,0.1); }
.de-faq-item--light .de-faq-item { border-color: rgba(255,255,255,0.1); }

.de-faq-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.6rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: var(--navy); text-align: left; line-height: 1.3;
}
.de-faq-item--light .de-faq-btn { color: var(--white); }

.de-faq-icon {
  width: 22px; height: 22px; flex-shrink: 0; position: relative;
}
.de-faq-icon::before, .de-faq-icon::after {
  content: ''; position: absolute;
  background: var(--gold); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.de-faq-icon::before { width: 2px; height: 22px; left: 10px; top: 0; }
.de-faq-icon::after  { width: 22px; height: 2px; left: 0; top: 10px; }
.de-faq-item.open .de-faq-icon::before { transform: rotate(90deg); opacity: 0; }

.de-faq-ans {
  overflow: hidden; max-height: 0;
  transition: max-height 0.45s var(--ease);
}
.de-faq-ans-inner {
  padding: 0 0 1.75rem;
  font-size: 0.93rem; color: var(--muted); line-height: 1.78;
}
.de-faq-item--light .de-faq-ans-inner { color: rgba(255,255,255,0.6); }
.de-faq-item.open .de-faq-ans { max-height: 600px; }

/* ─── BLOG CARDS ──────────────────────────────────────────────────────── */
.de-posts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.de-post {
  display: flex; flex-direction: column;
  border-radius: var(--r-card); overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(7,16,30,0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.de-post:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(7,16,30,0.18); }
.de-post__img { overflow: hidden; aspect-ratio: 16/9; }
.de-post__img img, .de-post__img .de-placeholder {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease); min-height: 180px;
}
.de-post:hover .de-post__img img,
.de-post:hover .de-post__img .de-placeholder { transform: scale(1.07); }
.de-post__body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.de-post__cat {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.de-post__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.2; flex: 1; margin-bottom: 1rem;
}
.de-post__meta {
  font-size: 0.7rem; color: rgba(7,16,30,0.35);
  letter-spacing: 0.06em;
}

/* ─── FULL-BLEED CTA ──────────────────────────────────────────────────── */
.de-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  padding: 7rem 0; text-align: center;
}
.de-cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 2.5rem; }
.de-cta__title { color: var(--white); font-style: italic; margin-bottom: 1.25rem; }
.de-cta__sub { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.7; margin-bottom: 2.5rem; }
.de-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.de-cta__bg-text {
  position: absolute; bottom: -3rem; right: -2rem; z-index: 1;
  font-family: var(--font-display); font-size: clamp(8rem,18vw,18rem);
  font-style: italic; font-weight: 400;
  color: rgba(200,164,90,0.04); pointer-events: none; user-select: none;
  white-space: nowrap; line-height: 1;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────── */
.de-footer {
  background: #040d18;
  color: rgba(255,255,255,0.55);
  padding: 5.5rem 0 0;
}
.de-footer__inner { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; }
.de-footer__top {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 4rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.de-footer__logo {
  font-family: var(--font-display); font-size: 1.75rem;
  font-style: italic; color: var(--white);
  display: block; margin-bottom: 1rem;
}
.de-footer__desc { font-size: 0.86rem; line-height: 1.75; max-width: 300px; margin-bottom: 1.5rem; }
.de-footer__by {
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
  line-height: 1.6;
}
.de-footer__by strong { color: rgba(200,164,90,0.7); font-weight: 400; }
.de-footer__col-title {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 1.5rem;
}
.de-footer__links li + li { margin-top: 0.7rem; }
.de-footer__links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.de-footer__links a:hover { color: var(--gold); }
.de-footer__bottom {
  padding: 1.75rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.22);
  flex-wrap: wrap; gap: 0.75rem;
}

/* ─── FOOTER CTA STRIP ────────────────────────────────────────────────── */
.de-footer__cta-strip {
  background: var(--navy2);
  border-top: 1px solid rgba(200,164,90,0.18);
  padding: 1.75rem 0;
}
.de-footer__cta-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.de-footer__cta-pre {
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em; margin: 0;
}
.de-footer__cta-row {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.de-footer__cta-link {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  border-bottom: 1px solid rgba(200,164,90,0.4); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.de-footer__cta-link:hover { color: var(--gold2); border-color: var(--gold2); }
.de-footer__cta-sep { color: rgba(255,255,255,0.2); }
.de-footer__cta-phone {
  font-size: 0.88rem; color: rgba(255,255,255,0.75); font-weight: 500;
  transition: color 0.2s;
}
.de-footer__cta-phone:hover { color: var(--white); }

/* ─── SCROLL ANIMATIONS ───────────────────────────────────────────────── */
.de-reveal, .de-reveal-left, .de-reveal-right, .de-reveal-up {
  transition-property: opacity, transform;
  transition-duration: 0.85s;
  transition-timing-function: var(--ease-out);
}
.de-reveal       { opacity: 0; transform: translateY(36px); }
.de-reveal-left  { opacity: 0; transform: translateX(-36px); }
.de-reveal-right { opacity: 0; transform: translateX(36px); }
.de-reveal-up    { opacity: 0; transform: translateY(20px); }
.de-reveal.visible, .de-reveal-left.visible,
.de-reveal-right.visible, .de-reveal-up.visible {
  opacity: 1; transform: none;
}
.de-stagger > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.de-stagger.visible > * { opacity: 1; transform: none; }
.de-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.de-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.de-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.de-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.de-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.de-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

/* ─── PAGE INTERIOR HERO ──────────────────────────────────────────────── */
.de-page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  position: relative; overflow: hidden;
}
.de-page-banner__inner { position: relative; z-index: 2; }
.de-page-banner h1 { color: var(--white); font-style: italic; }
.de-page-banner__bg-num {
  position: absolute; right: 2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: clamp(6rem,14vw,14rem);
  font-style: italic; color: rgba(200,164,90,0.05);
  pointer-events: none; user-select: none; z-index: 1;
}

/* ─── CONTENT BODY ────────────────────────────────────────────────────── */
.de-prose { max-width: 760px; }
.de-prose p + p { margin-top: 1.25rem; }
.de-prose h2 { margin: 3.5rem 0 1.1rem; }
.de-prose h3 { margin: 2.5rem 0 0.85rem; }
.de-prose ul { padding-left: 1.5rem; margin: 1.25rem 0; }
.de-prose ul li { list-style: disc; margin-bottom: 0.45rem; line-height: 1.7; }
.de-prose a { color: var(--navy); border-bottom: 1px solid rgba(200,164,90,0.5); transition: border-color 0.2s; }
.de-prose a:hover { border-color: var(--gold); color: var(--gold); }
.de-prose strong { font-weight: 600; color: var(--ink); }

/* ─── LUXURY FEATURE LIST (gold dot, no bullets, no emojis) ──────────── */
.de-feat-list { list-style: none; padding: 0; margin: 0; }
.de-feat-list li {
  padding-left: 1.1rem;
  position: relative;
  line-height: 2.2;
}
.de-feat-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.de-feat-list li.de-feat-list__price {
  padding-left: 0;
  margin-top: 0.5rem;
}
.de-feat-list li.de-feat-list__price::before { display: none; }

/* ─── CARD ACCENT BORDERS ────────────────────────────────────────────── */
.de-card--accent-gold { border-top: 2px solid var(--gold) !important; }
.de-card--accent-coral { border-top: 2px solid var(--coral) !important; }

/* ─── COMMUNITIES AERIAL SECTION ─────────────────────────────────────── */
.de-communities-bg {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 30%;
}
.de-communities-veil {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,16,30,0.92) 0%,
    rgba(7,16,30,0.70) 45%,
    rgba(7,16,30,0.90) 100%
  );
  pointer-events: none;
}
.de-communities-inner {
  position: relative; z-index: 2;
  padding: 8rem 0 5rem;
}
.de-communities-header { margin-bottom: 4rem; }
.de-communities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Community destination cards */
.de-card--comm {
  position: relative; overflow: hidden;
  min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  cursor: pointer;
  border-radius: var(--r-card);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.de-card--comm:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.65);
}
/* Gold reveal on hover */
.de-card--comm::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease); z-index: 3;
}
.de-card--comm:hover::after { transform: scaleX(1); }

.de-card__comm-bg {
  position: absolute; inset: 0;
  transition: transform 0.7s var(--ease);
  min-height: unset;
}
.de-card--comm:hover .de-card__comm-bg { transform: scale(1.06); }
.de-card--comm::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(7,16,30,0.96) 0%, rgba(7,16,30,0.35) 65%, transparent 100%);
}
.de-card__comm-body { position: relative; z-index: 2; padding: 1.75rem; }
.de-card__comm-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  color: var(--white); margin: 0.4rem 0 0.6rem;
  line-height: 1.1; font-style: italic;
}
.de-card__comm-sub {
  font-size: 0.82rem; color: rgba(255,255,255,0.58);
  line-height: 1.65; margin-bottom: 0.9rem;
}
.de-card__comm-price {
  font-family: var(--font-display);
  font-size: 1rem; color: var(--gold);
  font-style: italic; margin-bottom: 1rem;
  display: block;
}

@media (max-width: 960px) {
  .de-communities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .de-communities-grid { grid-template-columns: 1fr; }
}

/* ─── TILT (JS-driven) ────────────────────────────────────────────────── */
.de-tilt { transform-style: preserve-3d; will-change: transform; }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .de-bento--4   { grid-template-columns: repeat(2,1fr); }
  .de-feature__inner { gap: 4rem; }
  .de-footer__top { grid-template-columns: 2fr 1fr 1fr; }
  .de-footer__top > :first-child { grid-column: 1 / -1; }
  .de-footer__top > :first-child .de-footer__desc { max-width: 100%; }
}
@media (max-width: 960px) {
  .de-split { grid-template-columns: 1fr; }
  .de-split--reverse > * { order: unset !important; }
  .de-split__media { min-height: 360px; }
  .de-split__body { padding: 4rem 2.5rem; }
  .de-feature__inner { grid-template-columns: 1fr; gap: 3rem; }
  .de-posts  { grid-template-columns: repeat(2,1fr); }
  .de-bento  { grid-template-columns: repeat(2,1fr); }
  .de-card--wide { grid-column: span 1; }
}
@media (max-width: 768px) {
  .de-nav__menu, .de-nav__actions { display: none; }
  .de-nav__burger { display: flex; }
  .de-nav { padding: 0 1.5rem; }
  .de-stats { grid-template-columns: repeat(2,1fr); }
  .de-stat { border-right: none; border-bottom: 1px solid rgba(200,164,90,0.1); }
  .de-stat:last-child { border-bottom: none; }
  .de-posts { grid-template-columns: 1fr; }
  .de-bento { grid-template-columns: 1fr; }
  .de-footer__top { grid-template-columns: 1fr 1fr; }
  .de-footer__top > :first-child { grid-column: 1 / -1; }
  .de-container, .de-container--narrow { padding: 0 1.5rem; }
  .de-section { padding: 5rem 0; }
  .de-hero__content { padding: 0 1.5rem; }
  .de-hero__scroll-cue { display: none; }
  .de-hero__title { line-height: 0.95; }
  .de-cta__actions { flex-direction: column; align-items: center; }
  .de-footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .de-footer__top { grid-template-columns: 1fr; }
  .de-hero__actions { flex-direction: column; }
  .de-hero__actions .de-btn { width: 100%; justify-content: center; }
}

/* ─── BREADCRUMB ─────────────────────────────────────────────────────────── */
.de-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 1.75rem;
}
.de-breadcrumb a { color: rgba(200,164,90,0.65); transition: color 0.2s; }
.de-breadcrumb a:hover { color: var(--gold); }
.de-breadcrumb__sep { color: rgba(255,255,255,0.2); }

/* ─── INTERIOR PAGE BANNER (photo variant) ───────────────────────────────── */
.de-page-banner--photo {
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.de-page-banner--photo .de-page-banner__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(7,16,30,0.82) 0%, rgba(7,16,30,0.68) 100%);
  z-index: 1;
}
.de-page-banner--photo .de-page-banner__inner { z-index: 2; }
.de-page-banner__sub {
  color: rgba(255,255,255,0.58); font-size: 1.05rem; line-height: 1.7;
  max-width: 560px; margin-top: 0.85rem;
}

/* ─── CALLOUT BOX ────────────────────────────────────────────────────────── */
.de-callout {
  border-left: 3px solid var(--gold);
  background: linear-gradient(to right, rgba(200,164,90,0.06) 0%, transparent 100%);
  padding: 1.4rem 1.75rem;
  border-radius: 0 var(--r-card) var(--r-card) 0;
  margin: 2.5rem 0;
}
.de-callout p { margin: 0; font-size: 0.95rem; line-height: 1.72; color: var(--ink2); }
.de-callout strong { color: var(--navy); }
.de-callout--dark { background: rgba(200,164,90,0.04); border-color: rgba(200,164,90,0.5); }
.de-callout--dark p { color: rgba(255,255,255,0.72); }

/* ─── STEP PROCESS ───────────────────────────────────────────────────────── */
.de-steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.de-step {
  display: grid; grid-template-columns: 3rem 1fr;
  gap: 0 1.75rem; padding: 2rem 0;
  border-bottom: 1px solid rgba(7,16,30,0.07);
  counter-increment: step;
}
.de-step:last-child { border-bottom: none; }
.de-step__num {
  font-family: var(--font-display); font-size: 2.4rem; font-style: italic;
  color: rgba(200,164,90,0.3); line-height: 1; padding-top: 0.2rem;
  position: relative;
}
.de-step__num::after {
  content: counter(step, decimal-leading-zero);
}
.de-step__title {
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--navy); margin-bottom: 0.65rem; line-height: 1.2;
}
.de-step__body { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }
.de-steps--dark .de-step { border-color: rgba(255,255,255,0.07); }
.de-steps--dark .de-step__title { color: var(--white); }
.de-steps--dark .de-step__body  { color: rgba(255,255,255,0.58); }

/* ─── COMPARISON TABLE ───────────────────────────────────────────────────── */
.de-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-radius: var(--r-card); overflow: hidden;
  box-shadow: 0 4px 30px rgba(7,16,30,0.1);
}
.de-compare__col { padding: 2.5rem; }
.de-compare__col--a { background: var(--navy); color: var(--white); }
.de-compare__col--b { background: var(--sand); color: var(--ink); }
.de-compare__head {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.de-compare__col--a .de-compare__head { color: var(--gold); }
.de-compare__col--b .de-compare__head { color: var(--muted); }
.de-compare__title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-style: italic; margin-bottom: 1.5rem; line-height: 1.1;
}
.de-compare__col--a .de-compare__title { color: var(--white); }
@media (max-width: 640px) {
  .de-compare { grid-template-columns: 1fr; }
}

/* ─── PAGE STATS STRIP ───────────────────────────────────────────────────── */
.de-page-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; background: var(--navy);
  margin: 0;
}
.de-page-stat {
  background: var(--navy); padding: 2rem 2.25rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.de-page-stat:last-child { border-right: none; }
.de-page-stat__val {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: italic; color: var(--gold); display: block; line-height: 1;
  margin-bottom: 0.4rem;
}
.de-page-stat__label {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); display: block;
}
.de-page-stat__note {
  font-size: 0.68rem; color: rgba(255,255,255,0.28);
  margin-top: 0.3rem; display: block;
}
@media (max-width: 640px) {
  .de-page-stats { grid-template-columns: 1fr 1fr; }
  .de-page-stat { border-right: 1px solid rgba(255,255,255,0.06); }
  .de-page-stat:nth-child(even) { border-right: none; }
  .de-page-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.06); }
}

/* ─── NEIGHBORHOOD / COMMUNITY GRID ─────────────────────────────────────── */
.de-neighborhood-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.de-neighborhood-card {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  min-height: 260px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 4px 20px rgba(7,16,30,0.18);
}
.de-neighborhood-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(7,16,30,0.35);
}
.de-neighborhood-card__bg {
  position: absolute; inset: 0; background-size: cover;
  background-position: center; background-repeat: no-repeat;
  transition: transform 0.7s var(--ease);
}
.de-neighborhood-card:hover .de-neighborhood-card__bg { transform: scale(1.06); }
.de-neighborhood-card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(7,16,30,0.95) 0%, rgba(7,16,30,0.25) 60%, transparent 100%);
}
.de-neighborhood-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease); z-index: 3;
}
.de-neighborhood-card:hover::after { transform: scaleX(1); }
.de-neighborhood-card__body {
  position: relative; z-index: 2; padding: 1.5rem;
}
.de-neighborhood-card__tag {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem; display: block;
}
.de-neighborhood-card__title {
  font-family: var(--font-display); font-size: clamp(1.2rem,1.8vw,1.65rem);
  font-style: italic; color: var(--white); line-height: 1.1; margin-bottom: 0.5rem;
}
.de-neighborhood-card__sub {
  font-size: 0.78rem; color: rgba(255,255,255,0.52); line-height: 1.6;
}
@media (max-width: 960px) { .de-neighborhood-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .de-neighborhood-grid { grid-template-columns: 1fr; } }

/* ─── TWO-COLUMN CONTENT LAYOUT ──────────────────────────────────────────── */
.de-content-cols {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 5rem; align-items: start;
}
@media (max-width: 960px) {
  .de-content-cols { grid-template-columns: 1fr; }
  .de-content-cols > :nth-child(2) { order: -1; }
}

/* ─── SIDEBAR CARD ───────────────────────────────────────────────────────── */
.de-sidebar-card {
  background: var(--navy); border-radius: var(--r-card);
  padding: 2.25rem; position: sticky; top: calc(var(--nav-h) + 2rem);
}
.de-sidebar-card__title {
  font-family: var(--font-display); font-size: 1.35rem; font-style: italic;
  color: var(--white); margin-bottom: 1.25rem; line-height: 1.2;
}
.de-sidebar-card__body { font-size: 0.87rem; color: rgba(255,255,255,0.55); line-height: 1.72; margin-bottom: 1.5rem; }
.de-sidebar-card__links { list-style: none; padding: 0; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.25rem; }
.de-sidebar-card__links li + li { margin-top: 0.55rem; }
.de-sidebar-card__links a {
  font-size: 0.8rem; color: rgba(255,255,255,0.45); display: flex; align-items: center;
  gap: 0.5rem; transition: color 0.2s;
}
.de-sidebar-card__links a::before { content: '→'; color: var(--gold); font-size: 0.7rem; }
.de-sidebar-card__links a:hover { color: var(--gold); }

/* ─── BLOG SINGLE ARTICLE ────────────────────────────────────────────────── */
.de-article-header { max-width: 820px; }
.de-article-header h1 { margin-bottom: 1.25rem; }
.de-article-meta {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  font-size: 0.72rem; letter-spacing: 0.07em;
  color: var(--muted); margin-bottom: 2rem;
}
.de-article-meta__cat {
  background: var(--navy); color: var(--gold);
  padding: 0.25rem 0.75rem; border-radius: 2px;
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.de-article-body { max-width: 760px; }
.de-article-body h2 { margin: 3rem 0 1rem; }
.de-article-body h3 { margin: 2rem 0 0.75rem; }
.de-article-body p { line-height: 1.8; margin-bottom: 1.25rem; color: var(--ink2); font-size: 0.97rem; }
.de-article-body ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.de-article-body ul li { list-style: disc; line-height: 1.75; margin-bottom: 0.4rem; color: var(--ink2); font-size: 0.97rem; }
.de-article-body a { color: var(--navy); border-bottom: 1px solid rgba(200,164,90,0.45); transition: color 0.2s, border-color 0.2s; }
.de-article-body a:hover { color: var(--gold); border-color: var(--gold); }
.de-article-body strong { color: var(--ink); font-weight: 600; }
.de-article-body blockquote {
  border-left: 3px solid var(--gold); margin: 2.5rem 0;
  padding: 1.25rem 2rem;
  font-family: var(--font-display); font-size: clamp(1.2rem,1.8vw,1.65rem);
  font-style: italic; color: var(--navy); line-height: 1.4;
  background: rgba(200,164,90,0.03);
}

/* ─── BLOG ARTICLE HERO IMAGE ────────────────────────────────────────────── */
.de-article-cover {
  width: 100%; height: clamp(280px, 40vw, 520px);
  object-fit: cover; border-radius: var(--r-card);
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 40px rgba(7,16,30,0.15);
}
.de-article-cover--placeholder {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-card); margin-bottom: 2.5rem;
  height: clamp(280px, 40vw, 520px);
}

/* ─── ARTICLE CTA INLINE ─────────────────────────────────────────────────── */
.de-article-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  border-radius: var(--r-card); padding: 2.5rem 3rem;
  margin: 3rem 0; display: flex; flex-direction: column; gap: 0.85rem;
}
.de-article-cta__eyebrow { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.de-article-cta__title { font-family: var(--font-display); font-size: clamp(1.3rem,2vw,1.85rem); font-style: italic; color: var(--white); line-height: 1.2; }
.de-article-cta__body { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 520px; }

/* ─── RELATED ARTICLES ───────────────────────────────────────────────────── */
.de-related { border-top: 1px solid rgba(7,16,30,0.1); padding-top: 3rem; margin-top: 4rem; }
.de-related__head {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2rem;
}
.de-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .de-related__grid { grid-template-columns: 1fr; } }

/* ─── CATEGORY PILL ──────────────────────────────────────────────────────── */
.de-pill {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.8rem; border-radius: 2px;
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 500;
}
.de-pill--gold { background: rgba(200,164,90,0.1); color: var(--gold); }
.de-pill--navy { background: var(--navy); color: rgba(255,255,255,0.65); }
.de-pill--sand { background: var(--sand); color: var(--muted); }

/* ─── HIGHLIGHT STAT BLOCK ───────────────────────────────────────────────── */
.de-highlight-stat {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  border-radius: var(--r-card); padding: 2rem 2.5rem;
  display: flex; flex-direction: column; gap: 0.35rem;
  border-left: 3px solid var(--gold);
}
.de-highlight-stat__val {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-style: italic; color: var(--gold); line-height: 1;
}
.de-highlight-stat__label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.de-highlight-stat__note { font-size: 0.72rem; color: rgba(255,255,255,0.3); margin-top: 0.2rem; }

/* ─── COMMUNITY CARD PHOTO BACKGROUNDS ──────────────────────────────────── */
.de-ph--ocean {
  background: linear-gradient(160deg, rgba(10,37,64,0.60) 0%, rgba(13,64,96,0.50) 100%),
    url('/wp-content/uploads/2026/05/delray-beach-aerial.jpg') center/cover no-repeat;
}
.de-ph--park {
  background: linear-gradient(160deg, rgba(10,25,15,0.62) 0%, rgba(18,42,26,0.52) 100%),
    url('/wp-content/uploads/2026/05/seven-bridges-gate.jpg') center/cover no-repeat;
}
.de-ph--gold {
  background: linear-gradient(160deg, rgba(30,20,5,0.58) 0%, rgba(58,42,10,0.48) 100%),
    url('/wp-content/uploads/2026/05/addison-reserve-golf.jpg') center/cover no-repeat;
}
.de-ph--dusk {
  background: linear-gradient(160deg, rgba(24,10,36,0.60) 0%, rgba(42,18,58,0.50) 100%),
    url('/wp-content/uploads/2026/05/kings-point-clubhouse.jpg') center/cover no-repeat;
}
.de-ph--coral {
  background: linear-gradient(160deg, rgba(42,12,12,0.60) 0%, rgba(80,26,18,0.50) 100%),
    url('/wp-content/uploads/2026/05/valencia-resort-pool.jpg') center/cover no-repeat;
}
.de-ph--sky {
  background: linear-gradient(160deg, rgba(10,26,58,0.60) 0%, rgba(18,48,100,0.50) 100%),
    url('/wp-content/uploads/2026/05/valencia-resort-pool.jpg') center/cover no-repeat;
}
.de-ph--golf {
  background: linear-gradient(160deg, rgba(8,22,10,0.58) 0%, rgba(14,44,20,0.48) 100%),
    url('/wp-content/uploads/2026/05/huntington-pointe-golf.jpg') center/cover no-repeat;
}

/* ─── BLOG LISTING PAGE ────────────────────────────────────────────────── */

/* Search form */
.de-blog-search {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  max-width: 480px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.de-blog-search__label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.de-blog-search__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #fff;
  letter-spacing: 0.02em;
  min-width: 0;
}
.de-blog-search__input::placeholder { color: rgba(255,255,255,0.42); }
.de-blog-search__btn {
  background: var(--gold);
  border: none;
  cursor: pointer;
  padding: 0 1.1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.de-blog-search__btn:hover,
.de-blog-search__btn:focus-visible { background: #c9a84c; }

/* Category filter pills */
.de-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-bottom: 0.5rem;
}
.de-blog-filter {
  background: none;
  border: 1px solid rgba(10,27,66,0.18);
  border-radius: 2px;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1;
}
.de-blog-filter:hover,
.de-blog-filter:focus-visible {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  outline: none;
}
.de-blog-filter--active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Featured hero post */
.de-featured-post {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  cursor: pointer;
}
.de-featured-post__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.de-featured-post:hover .de-featured-post__bg { transform: scale(1.04); }
.de-featured-post__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,15,40,0.94) 0%,
    rgba(5,15,40,0.55) 50%,
    rgba(5,15,40,0.08) 100%
  );
}
.de-featured-post__body {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 680px;
}
.de-featured-post__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.de-featured-post__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #fff;
}
.de-featured-post__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.de-featured-post__title a:hover { color: var(--gold); }
.de-featured-post__meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.48);
  letter-spacing: 0.04em;
  margin: 0;
}
.de-featured-post__excerpt {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.72;
  margin: 0;
  max-width: 560px;
}

/* Post card photo backgrounds */
.de-post__img { overflow: hidden; position: relative; }
.de-post__img--photo {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.de-post:hover .de-post__img--photo { transform: scale(1.05); }
.de-post__cat-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(5,15,40,0.76);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  pointer-events: none;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .de-featured-post { min-height: 340px; }
  .de-featured-post__body { padding: 2rem 1.5rem; }
  .de-blog-filters { gap: 0.4rem; }
  .de-blog-filter { padding: 0.45rem 0.9rem; font-size: 0.68rem; }
  .de-blog-search { max-width: 100%; }
}

/* ─── CONTRAST: FORCE WHITE HEADINGS ON ALL DARK SURFACES ────────────────
   Kadence injects a global heading color via its own CSS variables that
   overrides inherited color from dark section wrappers. These rules beat
   Kadence with explicit selectors + !important.                           */
.de-section--dark h1, .de-section--dark h2, .de-section--dark h3,
.de-section--dark h4, .de-section--dark h5, .de-section--dark h6,
.de-section--navy2 h1, .de-section--navy2 h2, .de-section--navy2 h3,
.de-section--navy2 h4, .de-section--navy2 h5, .de-section--navy2 h6,
.de-page-banner h2, .de-page-banner h3, .de-page-banner h4,
.de-stats h2, .de-stats h3, .de-stats h4,
.de-cta h2, .de-cta h3, .de-cta h4,
.de-split__body--dark h2, .de-split__body--dark h3, .de-split__body--dark h4,
.de-feature--dark h2, .de-feature--dark h3, .de-feature--dark h4,
.de-card--dark h2, .de-card--dark h3, .de-card--dark h4,
.de-footer h2, .de-footer h3, .de-footer h4 { color: #ffffff !important; }

/* Light sections: headings must be dark ink, not navy (readable on cream/sand) */
.de-section--sand h2, .de-section--sand h3, .de-section--sand h4,
.de-section--cream h2, .de-section--cream h3, .de-section--cream h4,
.de-section h2, .de-section h3, .de-section h4 { color: var(--ink) !important; }

/* Kadence global heading color kill — catch-all for any theme-injected color */
body.de-body h1, body.de-body h2, body.de-body h3,
body.de-body h4, body.de-body h5, body.de-body h6 {
  color: inherit;
}

/* ─── MOBILE NAV PANEL v2 ────────────────────────────────────────────────── */
.de-nav__panel-close {
  position: absolute;
  top: 1.75rem; right: 1.75rem;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.4); font-size: 1.4rem;
  padding: 0.5rem; line-height: 1;
  transition: color 0.2s; z-index: 2;
}
.de-nav__panel-close:hover { color: var(--gold); }

.de-nav__panel-group {
  font-family: var(--font-body);
  font-size: 0.58rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); display: block;
  margin: 1.25rem 0 0.4rem; padding: 0;
  pointer-events: none;
}
.de-nav__panel a.de-nav__panel-sub {
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  font-style: normal !important;
  color: rgba(255,255,255,0.52) !important;
  padding-left: 1rem; line-height: 2.1;
}
.de-nav__panel a.de-nav__panel-sub:hover { color: rgba(255,255,255,0.9) !important; }

/* Scrollable on small screens */
.de-nav__panel { overflow-y: auto; align-items: flex-start; padding-top: 6rem; }
@media (max-width: 400px) { .de-nav__panel { padding: 5rem 2rem 3rem; } }
