/* Celebrity Homes: design system. Layout/motion structure informed by
   studying real-estate reference sites (see DECISIONS.md for the full
   history: RealVest, then RealHomes, then this palette's own pivot to a
   bold near-black + lime-green language); palette, copy, and every rule
   below are original, never fetched or copied from any reference. */

/* Self-hosted variable fonts (no Google Fonts CDN round-trip). Both files
   cover their full weight range; font-weight declares which axis value a
   given rule maps to, but the browser only downloads the file once.
   Stack Sans Headline is the same open-source (Google Fonts, OFL) display
   face the Vian reference uses, self-hosted here rather than linked. */
@font-face {
  font-family: 'Stack Sans Headline';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('../fonts/stack-sans-headline-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Near-black + a single vivid lime accent: bold, confident, unmistakably
     not the old warm-terracotta direction. Neutral light-grey paper instead
     of cream keeps the accent color doing all the work. */
  --brand-ink: #101110;
  --brand-slate: #121310;
  --brand-slate-2: #1E211A;
  --brand-muted: #6B7268;
  --brand-terracotta: #C3F53C;
  --brand-terracotta-dark: #97C71E;
  --brand-terracotta-light: #EEFAC7;
  /* Bright lime reads great as a fill (button/badge backgrounds, text on
     near-black) but fails contrast as text on light backgrounds; this darker
     moss-green covers eyebrows, ratings, icons, and borders on light bg. */
  --brand-accent-ink: #4E6B10;
  --brand-paper: #F5F5F1;
  --brand-success: #2F7A4F;
  --brand-border: #E3E3DD;

  /* Back-compat aliases so existing page templates (About/Contact/etc.)
     keep working while they're migrated off the old navy/gold names. */
  --brand-deep: var(--brand-slate);
  --brand-primary: var(--brand-terracotta-dark);
  --brand-gold: var(--brand-terracotta);
  --brand-gold-light: var(--brand-terracotta-light);
  --brand-cream: var(--brand-paper);

  --font-heading: 'Stack Sans Headline', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --container-max: 1280px;
  --section-py: 96px;
  --section-py-mobile: 56px;

  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-md: 14px;

  --shadow-card: 0 8px 30px rgba(16, 17, 16, 0.06);
  --shadow-card-hover: 0 20px 48px rgba(16, 17, 16, 0.12);

  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brand-ink);
  background: var(--brand-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--brand-deep);
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}
@media (max-width: 768px) {
  .section { padding: var(--section-py-mobile) 0; }
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent-ink);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  flex-shrink: 0;
}
.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section-header p { color: var(--brand-muted); }

/* ─── Buttons (cloned: fully-pill shape, asymmetric icon padding) ─────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-standard), background-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); transition-duration: 0.12s; }
.btn--primary {
  background: var(--brand-gold);
  color: var(--brand-deep);
}
.btn--primary:hover { background: var(--brand-terracotta-dark); box-shadow: 0 10px 24px rgba(151, 199, 30, 0.35); }
.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: inherit;
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn--dark {
  background: var(--brand-deep);
  color: #fff;
}
.btn--dark:hover { background: var(--brand-terracotta); color: var(--brand-ink); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* A plain Unicode arrow character here (e.g. '↗') renders as a full-color
   emoji glyph on some mobile browsers regardless of variation selectors, so
   the arrow is an inline SVG background image instead: identical rendering
   everywhere, no emoji risk. Two color variants (white / dark ink) cover the
   button variants that use it; background-color still carries the circular
   tint behind the icon. */
.btn--arrow::after {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
  transition: transform 0.25s var(--ease-standard);
}
.btn--outline.btn--arrow::after,
.btn--dark.btn--arrow::after { background-color: rgba(255, 255, 255, 0.18); }
.btn--primary.btn--arrow::after,
.btn--on-light.btn--arrow::after {
  background-color: rgba(0, 0, 0, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101110' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
}
.btn--dark:hover.btn--arrow::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101110' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E"); }
.btn--arrow:hover::after { transform: rotate(45deg); }
.btn--on-light { border-color: var(--brand-border); color: var(--brand-ink); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-border);
  background: #fff;
  color: var(--brand-ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease-standard), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--brand-terracotta); }
.icon-btn:active { transform: scale(0.96); transition-duration: 0.12s; }
.icon-btn.is-active { background: var(--brand-terracotta); color: var(--brand-ink); border-color: var(--brand-terracotta); }

/* ─── Header ────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  padding: 16px 0 0;
}
@media (max-width: 900px) {
  .site-header { position: sticky; padding: 0; background: var(--brand-deep); }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(16, 17, 16, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 10px 12px 10px 28px;
  box-shadow: var(--shadow-card-hover);
}
@media (max-width: 900px) {
  .site-header__inner {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    padding: 14px 20px;
  }
}
.site-header__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-header__logo img { height: 45px; width: auto; display: block; }

.announcement-bar {
  background: var(--brand-slate);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 0;
}
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding: 4px 0;
}
.site-nav a.is-active,
.site-nav a:hover { color: var(--brand-terracotta); }

.nav-more { position: relative; }
.nav-more__trigger {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 4px 0;
  font-family: inherit; font-weight: 500; font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}
.nav-more__trigger svg { transition: transform 0.25s var(--ease-standard); }
.nav-more:hover .nav-more__trigger,
.nav-more:focus-within .nav-more__trigger { color: var(--brand-terracotta); }
.nav-more:hover .nav-more__trigger svg,
.nav-more:focus-within .nav-more__trigger svg { transform: rotate(180deg); }
.nav-more__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 14px;
  transform: translateX(-50%) translateY(4px) scale(0.96);
  transform-origin: top center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-standard), transform 0.18s var(--ease-standard);
  min-width: 320px;
  z-index: 40;
}
.nav-more:hover .nav-more__panel,
.nav-more:focus-within .nav-more__panel {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.nav-more__trigger:active { transform: scale(0.95); }
@media (prefers-reduced-motion: reduce) {
  .nav-more__panel { transform: translateX(-50%); transition: opacity 0.18s; }
  .nav-more:hover .nav-more__panel,
  .nav-more:focus-within .nav-more__panel { transform: translateX(-50%); }
  .nav-more__trigger:active { transform: none; }
}
.nav-more__panel::after {
  content: '';
  position: absolute;
  inset: 14px 0 0;
  z-index: -1;
  background: rgba(16, 17, 16, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
}
@media (prefers-reduced-transparency: reduce) {
  .nav-more__panel::after { background: var(--brand-deep); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.nav-more__panel__inner {
  position: relative;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}
.nav-more__panel a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  padding: 8px 0;
  white-space: nowrap;
}
.nav-more__panel a:hover,
.nav-more__panel a.is-active { color: var(--brand-terracotta); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px 8px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.site-header__phone-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 1100px) { .site-header__phone { display: none; } }
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: #fff; }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  /* Log In / Get In Touch move into the slide-out mobile-nav drawer instead. */
  .site-header__actions .btn { display: none; }
}

/* ─── Hero: full-bleed image, oversized tight-tracked headline, Ken Burns ── */

.hero {
  position: relative;
  min-height: min(860px, 92vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
@media (max-width: 640px) {
  .hero { min-height: 640px; }
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-standard);
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  animation: kenburns 20s var(--ease-standard) forwards;
}
.hero__slide:nth-child(odd) img { transform-origin: 30% 40%; }
.hero__slide:nth-child(even) img { transform-origin: 70% 60%; }
@keyframes kenburns {
  from { transform: scale(1.0); }
  to { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide img { animation: none; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(16,17,16,0.45) 0%, rgba(16,17,16,0.6) 55%, rgba(16,17,16,0.82) 100%);
}
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s var(--ease-standard);
  pointer-events: none;
}
.hero__content.is-active { opacity: 1; pointer-events: auto; }
@media (max-width: 900px) { .hero__content { padding-top: 48px; } }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-gold-light);
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  flex-shrink: 0;
}
.hero h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.02;
  max-width: 820px;
  margin-bottom: 24px;
}
.hero p {
  max-width: 540px;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── Floating stat-card row: overlaps the hero's bottom edge ───────────── */

.hero__float-wrap {
  position: relative;
  /* Collapse-prevention: keeps this element's own white background box
     anchored right after the hero, while the row inside still overlaps
     the hero image via negative margin (renders outside this box, so the
     overlap area shows the hero photo, not this white background). */
  padding-top: 1px;
  margin-top: -1px;
  padding-bottom: 48px;
}
.hero__float-row {
  position: relative;
  z-index: 6;
  margin-top: -100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .hero__float-row { grid-template-columns: 1fr 1fr; margin-top: -70px; }
  .hero__float-row .hero__float-card--accent { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .hero__float-row { grid-template-columns: 1fr; } }
.hero__float-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card-hover);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__float-card:not(.hero__float-card--accent)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-terracotta);
}
.hero__float-card .hero__float-value {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--brand-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 20px;
}
.hero__float-card p { color: var(--brand-muted); font-size: 0.92rem; margin: 0; }
.hero__float-card--accent {
  overflow: hidden;
  background: var(--brand-terracotta);
  color: var(--brand-ink);
  justify-content: flex-start;
  min-height: 260px;
  padding: 32px;
}
.hero__float-card--accent::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -30%;
  width: 55%;
  height: 220%;
  background: rgba(16, 17, 16, 0.07);
  clip-path: polygon(38% 0, 100% 0, 62% 100%, 0% 100%);
}
.hero__float-card--accent h3 {
  position: relative;
  z-index: 2;
  font-size: 1.9rem;
  max-width: 240px;
  margin: 0;
}
.hero__float-card--accent img {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(16, 17, 16, 0.25);
}
@media (max-width: 560px) {
  .hero__float-card--accent img { display: none; }
}

/* ─── Trust split (fear/reality pairing, replaces the equal-3-card grid) ──── */

.trust-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .trust-split { grid-template-columns: 1fr; } }
.trust-split__intro { position: sticky; top: 100px; }
@media (max-width: 900px) { .trust-split__intro { position: static; } }
.trust-split__intro p:last-child { color: var(--brand-muted); }

.trust-list { display: flex; flex-direction: column; }
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--brand-border);
}
.trust-row:first-child { padding-top: 0; }
@media (max-width: 640px) { .trust-row { grid-template-columns: 1fr; gap: 8px; } }
.trust-row__fear span, .trust-row__reality span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.trust-row__fear { color: var(--brand-muted); }
.trust-row__fear span { color: var(--brand-muted); }
.trust-row__reality { color: var(--brand-ink); font-weight: 500; }
.trust-row__reality span { color: var(--brand-accent-ink); }

/* ─── Trust bento: pill eyebrow + icon-card/photo grid ──────────────────── */

.section-eyebrow--pill {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-pill);
  padding: 8px 18px 8px 14px;
  margin-bottom: 20px;
}
.bg-deep .section-eyebrow--pill { border-color: rgba(255, 255, 255, 0.25); }
.trust-bento-header { max-width: 640px; margin-bottom: 48px; }
.trust-bento-header p:last-child { color: var(--brand-muted); }
.trust-bento {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: repeat(2, minmax(180px, auto));
  gap: 24px;
}
@media (max-width: 900px) { .trust-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .trust-bento { grid-template-columns: 1fr; } }
.trust-bento__photo {
  border-radius: var(--radius-card);
  overflow: hidden;
}
.trust-bento__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trust-bento__photo--a { grid-column: 1; grid-row: 1 / span 2; }
.trust-bento__photo--b { grid-column: 3; grid-row: 1 / span 2; position: relative; }
@media (max-width: 900px) {
  .trust-bento__photo--a { grid-column: 1; grid-row: auto; }
  .trust-bento__photo--b { grid-column: 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .trust-bento__photo--a, .trust-bento__photo--b { grid-column: 1; }
}
.trust-bento__card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.trust-bento__card--float {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  box-shadow: var(--shadow-card-hover);
}
.trust-bento__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.trust-bento__card h3 { font-size: 1.2rem; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--brand-border); }
.trust-bento__card p { color: var(--brand-muted); font-size: 0.92rem; margin: 0; }
@media (max-width: 640px) {
  .trust-bento__photo--b { min-height: 260px; }
}

/* ─── Cards (compact + spotlight, per PRD §7 field mapping) ────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.estate-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s var(--ease-standard), transform 0.3s var(--ease-standard);
  display: block;
}
.estate-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.estate-card:active { transform: translateY(-4px) scale(0.98); transition-duration: 0.12s; }
.estate-card__image { position: relative; height: 220px; overflow: hidden; }
.estate-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-standard); }
.estate-card:hover .estate-card__image img { transform: scale(1.06); }
.estate-card__badge {
  position: absolute;
  top: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.estate-card__badge--verified { left: 14px; background: var(--brand-success); color: #fff; }
.estate-card__badge--status { right: 14px; background: rgba(38,42,46,0.9); color: #fff; }
.estate-card__body { padding: 20px; }
.estate-card__body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.estate-card__location { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--brand-muted); margin-bottom: 14px; }
.estate-card__meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--brand-muted); margin-bottom: 12px; }
.estate-card__progress { height: 6px; border-radius: 3px; background: var(--brand-border); overflow: hidden; margin-bottom: 12px; }
.estate-card__progress span { display: block; height: 100%; background: var(--brand-gold); }
.estate-card__price { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; color: var(--brand-accent-ink); }


/* ─── Core values ───────────────────────────────────────────────────────── */

.values-intro { position: relative; overflow: hidden; text-align: center; max-width: 640px; margin: 0 auto 48px; padding: 8px 24px; }
.values-intro h2 { position: relative; z-index: 1; margin: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.value-card__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-terracotta); color: var(--brand-ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.value-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.value-card p { font-size: 0.9rem; color: var(--brand-muted); margin: 0; }

/* ─── Testimonials (cloned tabbed carousel) ─────────────────────────────── */

.testimonial-track { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.testimonial-slide { display: none; }
.testimonial-slide.is-active { display: block; animation: fadein 0.5s var(--ease-standard); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-quote { font-family: var(--font-heading); font-size: 1.3rem; color: var(--brand-deep); margin-bottom: 20px; }
.testimonial-author { font-weight: 600; }
.testimonial-role { color: var(--brand-muted); font-size: 0.85rem; }
.testimonial-nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.testimonial-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--brand-border); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-nav button:hover { background: var(--brand-gold-light); }
.testimonial-nav button:active { transform: scale(0.92); transition: transform 0.12s var(--ease-standard); }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: left;
}
.testimonial-card__stars { color: var(--brand-accent-ink); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card__quote { color: var(--brand-ink); font-size: 0.95rem; margin-bottom: 16px; }
.testimonial-card__author { display: flex; align-items: center; gap: 10px; }
.testimonial-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-gold-light); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-card__name { font-weight: 600; font-size: 0.9rem; }
.testimonial-card__role { color: var(--brand-muted); font-size: 0.8rem; }

/* ─── Blog cards (cloned) ───────────────────────────────────────────────── */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: block;
}
.blog-card__image { position: relative; height: 220px; overflow: hidden; margin: 12px 12px 0; border-radius: var(--radius-md); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-standard); }
.blog-card:hover .blog-card__image img { transform: scale(1.06); }
.blog-card__body { padding: 24px; }
.blog-card__category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand-terracotta);
  color: var(--brand-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.blog-card h3 { font-size: 1.2rem; margin: 4px 0 10px; }
.blog-card__meta { font-size: 0.82rem; color: var(--brand-muted); margin-bottom: 4px; }
.blog-card__meta strong { color: var(--brand-ink); font-weight: 600; }
.blog-card__excerpt { color: var(--brand-muted); font-size: 0.9rem; margin: 0; }

/* ─── Homepage blog: 1 featured post + stacked list ─────────────────────── */

.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand-terracotta);
  color: var(--brand-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.blog-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .blog-split { grid-template-columns: 1fr; } }

.blog-feature {
  display: block;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.blog-feature__image { position: relative; height: 420px; margin: 12px 12px 0; border-radius: var(--radius-md); overflow: hidden; }
@media (max-width: 640px) { .blog-feature__image { height: 260px; } }
.blog-feature__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-standard); }
.blog-feature:hover .blog-feature__image img { transform: scale(1.06); }
.blog-feature:active { transform: scale(0.99); transition: transform 0.12s var(--ease-standard); }
.blog-feature__body { padding: 24px; }
.blog-feature__meta { font-size: 0.82rem; color: var(--brand-muted); margin-bottom: 8px; }
.blog-feature__meta strong { color: var(--brand-ink); font-weight: 600; }
.blog-feature h3 { font-size: 1.5rem; margin: 0 0 10px; }
.blog-feature__excerpt { color: var(--brand-muted); font-size: 0.95rem; margin: 0; }

.blog-list { display: flex; flex-direction: column; gap: 20px; }
.blog-list-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 12px;
}
@media (max-width: 480px) { .blog-list-item { flex-direction: column; } }
.blog-list-item__image { position: relative; width: 140px; height: 110px; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden; }
@media (max-width: 480px) { .blog-list-item__image { width: 100%; height: 180px; } }
.blog-list-item__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-standard); }
.blog-list-item:hover .blog-list-item__image img { transform: scale(1.06); }
.blog-list-item:active { transform: scale(0.99); transition: transform 0.12s var(--ease-standard); }
.blog-list-item__image .blog-tag { top: 10px; left: 10px; font-size: 0.66rem; padding: 4px 10px; }
.blog-list-item__body { padding: 4px 4px 4px 0; }
.blog-list-item__meta { font-size: 0.78rem; color: var(--brand-muted); margin-bottom: 6px; }
.blog-list-item__meta strong { color: var(--brand-ink); font-weight: 600; }
.blog-list-item h3 { font-size: 1.05rem; margin: 0; line-height: 1.4; }

/* ─── Quote spotlight: featured testimonial over blueprint line-art ─────── */

.quote-spotlight { position: relative; overflow: hidden; padding: 100px 0; text-align: center; background: var(--brand-paper); }
@media (max-width: 640px) { .quote-spotlight { padding: 64px 0; } }
.blueprint-decor { position: absolute; inset: 0; color: var(--brand-ink); opacity: 0.05; pointer-events: none; }
.blueprint-decor svg { width: 100%; height: 100%; }
.quote-spotlight__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.quote-spotlight blockquote {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.4;
  color: var(--brand-ink);
  margin: 0 0 32px;
  text-wrap: balance;
}
.quote-spotlight__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; }
.quote-spotlight__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-spotlight__avatar--initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-terracotta); color: var(--brand-accent-ink);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem;
}
.quote-spotlight__name { font-weight: 700; margin-bottom: 2px; }
.quote-spotlight__role { color: var(--brand-muted); font-size: 0.85rem; margin: 0; }

/* ─── FAQ accordion (cloned) ────────────────────────────────────────────── */

.faq-item { border-bottom: 1px solid var(--brand-border); }
.faq-question {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; text-align: left;
  background: none; border: none; font-size: 1rem; font-weight: 600; color: var(--brand-deep);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-standard);
  color: var(--brand-muted);
}
.faq-answer__inner { overflow: hidden; min-height: 0; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s var(--ease-standard); font-size: 1.4rem; color: var(--brand-accent-ink); }

/* ─── Homepage FAQ: split intro + card-list accordion ───────────────────── */

.faq-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } }
.faq-split__intro { position: sticky; top: 120px; }
@media (max-width: 900px) { .faq-split__intro { position: static; } }
.faq-split__intro p:last-child { color: var(--brand-muted); }
.faq-split__image { margin-top: 32px; border-radius: var(--radius-card); overflow: hidden; opacity: 0.7; }
.faq-split__image img { width: 100%; height: 280px; object-fit: cover; }
.faq-card-list .faq-item {
  background: #fff;
  border-radius: var(--radius-card);
  border-bottom: none;
  padding: 4px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.faq-card-list .faq-question { font-size: 1.05rem; }

/* ─── Page banner ───────────────────────────────────────────────────────── */

.page-banner {
  position: relative;
  height: 260px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
@media (min-width: 768px) { .page-banner { height: 340px; } }
.page-banner__image { position: absolute; inset: 0; opacity: 0; animation: bannerin 0.9s var(--ease-standard) forwards; }
.page-banner__image img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bannerin { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
.page-banner__fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--brand-deep), var(--brand-primary), var(--brand-gold)); }
.page-banner__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,42,46,0.15) 0%, rgba(38,42,46,0.68) 100%); }
.page-banner__content { position: relative; z-index: 2; width: 100%; padding-bottom: 32px; }
.breadcrumbs { display: flex; gap: 6px; font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.breadcrumbs a:hover { color: #fff; }
.page-banner h1 { color: #fff; font-size: 2.2rem; margin-bottom: 6px; }
.page-banner p { color: rgba(255,255,255,0.85); margin: 0; max-width: 520px; }

/* ─── Forms ─────────────────────────────────────────────────────────────── */

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-accent-ink);
  box-shadow: 0 0 0 3px rgba(151, 199, 30, 0.2);
}
.field-error { color: #b91c1c; font-size: 0.82rem; margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ─── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  background-color: var(--brand-ink);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: rgba(255,255,255,0.75);
  padding: 0 0 32px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .site-footer { background-attachment: scroll; }
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16,17,16,0.82);
  z-index: 0;
}
.site-footer > * { position: relative; z-index: 1; }

.footer-marquee {
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  padding: 66px 0 47px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
@media (max-width: 640px) { .footer-marquee { padding: 40px 0 28px; } }
.footer-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: footer-marquee 26s linear infinite;
}
.footer-marquee__track > span {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 7rem);
  color: #fff;
}
.footer-marquee__badge {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(255,255,255,0.07);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}
@media (max-width: 640px) {
  .footer-marquee__badge { width: 90px; height: 90px; font-size: 0.78rem; }
}
.footer-marquee__badge svg { width: 20px; height: 20px; }
@keyframes footer-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-marquee__track { animation: none; }
}

.footer-body { padding-top: 140px; padding-bottom: 40px; }
@media (max-width: 640px) { .footer-body { padding-top: 80px; } }
.footer-tagline { max-width: 280px; color: rgba(255, 255, 255, 0.65); line-height: 1.65; }
@media (max-width: 560px) {
  .footer-grid > div:first-child { text-align: center; }
  .footer-grid > div:first-child .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-grid > div:first-child .footer-socials { justify-content: center; }
}
.footer-socials { display: flex; gap: 14px; margin-top: 24px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.footer-socials a:hover { color: var(--brand-ink); background: var(--brand-terracotta); border-color: var(--brand-terracotta); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a:hover { color: var(--brand-terracotta); }
.footer-logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: 16px; display: block; }
.footer-link-list { display: flex; flex-direction: column; gap: 16px; }
.footer-link-list a { font-family: var(--font-heading); font-weight: 400; font-size: 1.25rem; color: rgba(255, 255, 255, 0.9); }
.footer-contact-primary {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 14px;
}
.footer-contact-address { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; margin: 0 0 8px; }
@media (max-width: 640px) {
  .footer-link-list a { font-size: 1rem; }
  .footer-contact-primary { font-size: 1.15rem; margin-bottom: 10px; }
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; margin-top: 48px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom__accent { color: var(--brand-terracotta); font-weight: 600; }

/* ─── Misc ──────────────────────────────────────────────────────────────── */

.bg-cream { background: var(--brand-cream); }
.bg-white { background: #fff; }
.bg-deep { background: var(--brand-deep); color: #fff; }
.bg-deep h2 { color: #fff; }
.bg-navy { background: #16242d; color: #fff; }
.bg-navy h2 { color: #fff; }
.bg-navy .section-eyebrow--pill { border-color: rgba(255, 255, 255, 0.25); }
.bg-navy .team-split__text p { color: rgba(255, 255, 255, 0.7); }
.bg-navy .team-plain-card h3 { color: #fff; }
.bg-navy .team-plain-card .role { color: rgba(255, 255, 255, 0.6); }
.bg-gold-light { background: var(--brand-gold-light); }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

.mobile-nav {
  position: fixed;
  top: 84px;
  right: 16px;
  left: 16px;
  max-width: 380px;
  margin-left: auto;
  max-height: calc(100vh - 104px);
  z-index: 60;
  background: rgba(16, 17, 16, 0.9);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: var(--shadow-card-hover);
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: top right;
  opacity: 0;
  transform: scale(0.95) translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease-standard), transform 0.22s var(--ease-standard);
}
.mobile-nav.is-open { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .mobile-nav { transform: none; }
  .mobile-nav.is-open { transform: none; }
}

.mobile-nav__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav__logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: #fff; }
.mobile-nav__logo img { height: 39px; width: auto; display: block; }
.mobile-nav__close {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s, transform 0.15s var(--ease-standard);
}
.mobile-nav__close:hover { background: rgba(255, 255, 255, 0.16); }
.mobile-nav__close:active { transform: scale(0.9); }

.mobile-nav__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.mobile-nav__group { display: flex; flex-direction: column; }
.mobile-nav__group + .mobile-nav__group { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-nav__group-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.45); margin: 4px 0 4px; }
.mobile-nav__group a {
  display: block; padding: 14px 0; font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateX(16px);
  animation: mobileNavIn 0.35s var(--ease-standard) forwards;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.mobile-nav:not(.is-open) .mobile-nav__group a { animation: none; opacity: 0; }
@keyframes mobileNavIn { to { opacity: 1; transform: translateX(0); } }
.mobile-nav__group a:active { color: var(--brand-terracotta); }
@media (prefers-reduced-motion: reduce) {
  .mobile-nav__group a { animation: none; opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .mobile-nav { background: var(--brand-deep); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.mobile-nav__footer { flex-shrink: 0; padding: 20px 24px 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-nav__phone {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 16px;
}
.mobile-nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mobile-nav__actions .btn { justify-content: center; }

.promo-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(38, 42, 46, 0.6);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.promo-popup-overlay.is-visible { display: flex; }
.promo-popup-modal {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  max-width: 420px;
  width: 100%;
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.promo-popup-modal h3 { font-size: 1.3rem; margin-bottom: 10px; }
.promo-popup-modal p { color: var(--brand-muted); margin-bottom: 20px; }
.promo-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand-muted);
  cursor: pointer;
  padding: 4px;
}
.promo-popup-image { width: 100%; border-radius: var(--radius-md); margin-bottom: 16px; max-height: 180px; object-fit: cover; }

/* ─── Homepage revamp: theme foundation for new sections ─────────────────
   Structural patterns studied from reference screenshots the user supplied
   (RealHomes-family templates); every class below is original CSS against
   the existing brand tokens above, not copied markup/styles. See
   DECISIONS.md for the homepage-revamp entry. ─────────────────────────── */

/* ─── Partner / about-teaser split + image collage ─────────────────────── */

.partner-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .partner-split { grid-template-columns: 1fr; gap: 40px; } }

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.collage-grid__col { display: flex; flex-direction: column; gap: 20px; }
.collage-grid__col--offset { margin-top: 48px; }
@media (max-width: 640px) { .collage-grid__col--offset { margin-top: 0; } }
.collage-grid__item {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.collage-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-grid__col .collage-grid__item:nth-child(1) { aspect-ratio: 4 / 5; }
.collage-grid__col .collage-grid__item:nth-child(2) { aspect-ratio: 1 / 1; }

/* ─── "What makes us different" split + differentiator list ────────────── */

.differentiator-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .differentiator-split { grid-template-columns: 1fr; gap: 40px; } }
.differentiator-split__media { position: relative; }
.differentiator-split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.rating-float {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  max-width: 260px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.rating-float__score { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--brand-accent-ink); line-height: 1; }
.rating-float__stars { color: var(--brand-accent-ink); letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 4px; }
.rating-float__label { font-size: 0.76rem; color: var(--brand-muted); }

.differentiator-list { display: flex; flex-direction: column; gap: 28px; margin-top: 28px; }
.differentiator-item { display: flex; gap: 18px; }
.differentiator-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-terracotta-light);
  color: var(--brand-accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.differentiator-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.differentiator-item p { color: var(--brand-muted); font-size: 0.92rem; margin: 0; }


/* ─── Featured estates: image-forward project-card grid ────────────────── */

.section-header-watermark { position: relative; z-index: 1; }
.section-header-watermark::before {
  content: attr(data-watermark);
  position: absolute;
  top: -0.2em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 11rem);
  font-weight: 700;
  color: var(--brand-border);
  opacity: 0.6;
  z-index: -1;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.estate-slider {
  position: relative;
  height: min(600px, 70vh);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
@media (max-width: 640px) { .estate-slider { height: 480px; } }
.estate-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-standard);
}
.estate-slide.is-active { opacity: 1; z-index: 1; }
.estate-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 20s var(--ease-standard) forwards;
}
@media (prefers-reduced-motion: reduce) { .estate-slide img { animation: none; } }
.estate-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 17, 16, 0.05) 0%, rgba(16, 17, 16, 0.35) 55%, rgba(16, 17, 16, 0.85) 100%);
}
.estate-slide__tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background: var(--brand-terracotta);
  color: var(--brand-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}
.estate-slide__content {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
  text-align: center;
  color: #fff;
}
.estate-slide__location { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 10px; }
.estate-slide__content h3 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 0 0 28px; line-height: 1.05; }

/* ─── Recognition / trust-metric award cards ────────────────────────────── */

.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .awards-grid { grid-template-columns: 1fr; } }
.award-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  text-align: center;
}
.award-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--brand-terracotta-light);
  color: var(--brand-accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.award-card__value { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--brand-ink); margin-bottom: 6px; }
.award-card__label { color: var(--brand-muted); font-size: 0.88rem; margin: 0; }

/* ─── Testimonials: horizontal-scrolling avatar card row ────────────────── */

.testimonial-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 24px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonial-row::-webkit-scrollbar { display: none; }
.testimonial-nav { display: flex; gap: 12px; }
.testimonial-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--brand-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-nav button:hover { background: var(--brand-terracotta-light); }
.testimonial-nav button:active { transform: scale(0.92); transition: transform 0.12s var(--ease-standard); }
.testimonial-hcard {
  scroll-snap-align: start;
  flex: 0 0 340px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
@media (max-width: 480px) { .testimonial-hcard { flex-basis: calc(100vw - 72px); } }
.testimonial-hcard__quote-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-terracotta);
  line-height: 1;
}
.testimonial-hcard__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--brand-border);
}
.testimonial-hcard__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-hcard__name { font-weight: 600; font-size: 1rem; margin: 0; }
.testimonial-hcard__role { color: var(--brand-muted); font-size: 0.85rem; margin: 0; }
.testimonial-hcard__text { color: var(--brand-ink); font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; }
.testimonial-hcard__stars { color: #f5a623; letter-spacing: 2px; }

/* ─── Team: two-column split with inverted text/photo order ─────────────── */

.team-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .team-split { grid-template-columns: 1fr; gap: 40px; } }

.team-split__col { display: flex; flex-direction: column; gap: 32px; }
.team-split__text h2 { margin: 12px 0 0; }
.team-split__text p { color: var(--brand-muted); line-height: 1.7; }
.team-split__text .btn { margin-top: 8px; }

.team-split__photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 480px) { .team-split__photos { grid-template-columns: 1fr; } }

.team-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
@media (max-width: 900px) { .team-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid-3 { grid-template-columns: 1fr; } }

.team-plain-card { display: block; text-decoration: none; color: inherit; }
.team-plain-card__photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card);
}
.team-plain-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-standard);
}
.team-plain-card:hover .team-plain-card__photo img { transform: scale(1.06); }
.team-plain-card:active { transform: scale(0.99); transition: transform 0.12s var(--ease-standard); }
.team-plain-card h3 { margin: 16px 0 2px; font-size: 1.1rem; }
.team-plain-card .role { color: var(--brand-muted); font-size: 0.85rem; }

/* ─── Offer split: dark photo card + icon list ──────────────────────────── */

.offer-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .offer-split { grid-template-columns: 1fr; } }
.offer-split__intro p:last-child { color: rgba(255, 255, 255, 0.7); max-width: 460px; }
.offer-split__photo {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 16px;
}
.offer-split__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); display: block; }
.offer-split__photo-link {
  position: absolute;
  right: 32px;
  bottom: 92px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card-hover);
}
.offer-split__caption { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; margin: 16px 8px 0; }

.offer-list { display: flex; flex-direction: column; }
.offer-list__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}
.offer-list__item:first-child { padding-top: 0; }
.offer-list__item:last-child { border-bottom: none; }
.offer-list__item svg { flex-shrink: 0; color: rgba(255, 255, 255, 0.85); }
.offer-list__item h3 { font-size: 1.3rem; margin: 0; color: #fff; }
.offer-list__item--active svg,
.offer-list__item--active h3 { color: var(--brand-terracotta); }

/* ─── Location cards (contact page) ─────────────────────────────────────── */

.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.location-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 32px; text-align: center; }
.location-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.location-card p { color: var(--brand-muted); margin: 0; }

/* ─── Individual team member profile ────────────────────────────────────── */

.member-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .member-split { grid-template-columns: 1fr; gap: 32px; } }
.member-split__photo { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.member-split__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.member-split__body h1 { margin: 12px 0 6px; }
.member-split__role { color: var(--brand-accent-ink); font-weight: 600; margin-bottom: 24px; }
.member-split__bio { color: var(--brand-muted); line-height: 1.8; margin-bottom: 32px; white-space: pre-line; }

.member-contact { margin-bottom: 28px; }
.member-contact__email { margin-bottom: 20px; }
.member-contact__email span { display: block; font-weight: 600; margin-bottom: 4px; }
.member-contact__email a { color: var(--brand-terracotta-dark); font-weight: 600; font-size: 1.1rem; }
.member-contact__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--brand-border);
}
.member-contact__phone { font-weight: 700; font-size: 1.1rem; color: var(--brand-ink); }
.member-contact__socials { display: flex; gap: 12px; }
.member-contact__socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--brand-border);
  color: var(--brand-ink);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.member-contact__socials a:hover { color: var(--brand-ink); background: var(--brand-terracotta); border-color: var(--brand-terracotta); }

/* ─── About: story split, callout, company history ──────────────────────── */

.about-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; gap: 32px; } }
.about-story__media { position: relative; }
.about-story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.about-story__text p { color: var(--brand-muted); line-height: 1.75; }
.about-story__text p + p { margin-top: 16px; }
.about-story__text .btn { margin-top: 24px; }

.about-callout {
  background: var(--brand-paper);
  border-radius: var(--radius-card);
  padding: 40px 48px;
}
@media (max-width: 640px) { .about-callout { padding: 28px 24px; } }
.about-callout p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.6;
  color: var(--brand-ink);
  margin: 0;
  text-wrap: balance;
}

.history-split { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .history-split { grid-template-columns: 1fr; gap: 32px; } }
.history-split__intro { position: sticky; top: 120px; }
@media (max-width: 900px) { .history-split__intro { position: static; } }
.history-split__intro p { color: var(--brand-muted); margin-top: 16px; }

.history-list { display: flex; flex-direction: column; gap: 20px; }
.history-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
}
@media (max-width: 640px) { .history-card { grid-template-columns: 1fr; } }
.history-card__photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; }
.history-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.history-card__year { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--brand-accent-ink); line-height: 1; margin-bottom: 8px; }
.history-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.history-card p { color: var(--brand-muted); font-size: 0.92rem; margin: 0; }

.about-registration {
  background: var(--brand-deep);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 56px 32px;
  text-align: center;
}
.about-registration__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--brand-terracotta-light);
}
.about-registration h2 { color: #fff; }
.about-registration p { color: rgba(255, 255, 255, 0.75); }
.difference-bento { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .difference-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .difference-bento { grid-template-columns: 1fr; } }
.difference-bento__col { display: flex; flex-direction: column; gap: 24px; }
.difference-bento__photo { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; }
.difference-bento__photo img { width: 100%; height: 100%; object-fit: cover; }
.difference-bento__photo--tall { position: relative; aspect-ratio: auto; height: 100%; min-height: 340px; }
@media (max-width: 900px) { .difference-bento__photo--tall { grid-column: 1 / -1; height: 280px; } }
.difference-bento__photo--tall .commitment-card {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1;
}
.difference-intro { position: relative; overflow: hidden; margin-bottom: 40px; max-width: 640px; }
.difference-intro h2 { margin: 12px 0 16px; }
.difference-intro p { color: var(--brand-muted); }

.about-registration__number {
  display: inline-block; margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.02em;
}

/* ─── Estates: commitment section, white cards over full-bleed photo ────── */

.commitment-split {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 72px 56px;
  color: #fff;
}
@media (max-width: 900px) { .commitment-split { grid-template-columns: 1fr; padding: 48px 24px; gap: 40px; } }
.commitment-split__media { position: absolute; inset: 0; z-index: 0; }
.commitment-split__media img { width: 100%; height: 100%; object-fit: cover; }
.commitment-split__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 17, 16, 0.88) 0%, rgba(16, 17, 16, 0.55) 55%, rgba(16, 17, 16, 0.3) 100%);
}
.commitment-split__intro { position: relative; z-index: 1; align-self: center; }
.commitment-split__intro h2 { color: #fff; margin: 12px 0 16px; }
.commitment-split__intro p { color: rgba(255, 255, 255, 0.75); max-width: 420px; }

.commitment-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 560px) { .commitment-grid { grid-template-columns: 1fr; } }
.commitment-grid__col--offset { margin-top: 48px; }
@media (max-width: 900px) { .commitment-grid__col--offset { margin-top: 0; } }
.commitment-grid__col { display: flex; flex-direction: column; gap: 24px; }
.commitment-card { background: #fff; border-radius: var(--radius-card); padding: 28px 24px; box-shadow: var(--shadow-card-hover); }
.commitment-card__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-terracotta); color: var(--brand-ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.commitment-card h3 { font-size: 1.15rem; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--brand-border); }
.commitment-card p { color: var(--brand-muted); font-size: 0.92rem; margin: 0; }

/* ─── SAVE2BUY: numbered step list ───────────────────────────────────────── */

.step-list { display: flex; flex-direction: column; }
.step-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--brand-border); }
.step-item:last-child { border-bottom: none; }
.step-item__number {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  color: var(--brand-ink);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-item h3 { font-size: 1.1rem; margin: 0 0 4px; }
.step-item p { color: var(--brand-muted); margin: 0; }

/* ─── SAVE2BUY: plan cards ───────────────────────────────────────────────── */

.plan-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 28px 24px; height: 100%; transition: box-shadow 0.25s var(--ease-standard), transform 0.25s var(--ease-standard); border: 2px solid transparent; }
input[data-plan-select]:checked + .plan-card { border-color: var(--brand-terracotta); box-shadow: var(--shadow-card-hover); }
.plan-card__price { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--brand-terracotta-dark); margin: 8px 0; }
.plan-card__price span { font-size: 0.9rem; color: var(--brand-muted); font-weight: 400; }

.form-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 40px; }
@media (max-width: 640px) { .form-card { padding: 28px 24px; } }

/* ─── Services page ──────────────────────────────────────────────────────── */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 28px; }
.service-card__head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--brand-border); margin-bottom: 20px; }
.service-card__icon {
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-terracotta-light); color: var(--brand-accent-ink);
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 1.1rem; margin: 0; }
.service-card p { color: var(--brand-muted); font-size: 0.92rem; margin: 0 0 20px; }
.service-card__media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-standard); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media a {
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-terracotta); color: var(--brand-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card-hover);
  transition: transform 0.25s var(--ease-standard);
}
.service-card__media a:hover { transform: rotate(45deg); }

.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 56px auto 0; }
@media (max-width: 640px) { .two-col-grid { grid-template-columns: 1fr; } }

/* ─── Individual service detail page ─────────────────────────────────────── */

.service-points { display: flex; flex-direction: column; margin-top: 8px; }
.service-point { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--brand-border); }
.service-point:last-child { border-bottom: none; }
.service-point__icon {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-terracotta-light); color: var(--brand-accent-ink);
  display: flex; align-items: center; justify-content: center;
}
.service-point h3 { font-size: 1.02rem; margin: 0 0 4px; }
.service-point p { color: var(--brand-muted); margin: 0; }

.service-other-list { display: flex; flex-direction: column; }
.service-other-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--brand-border);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--brand-ink);
}
.service-other-list a:last-child { border-bottom: none; }
.service-other-list a span { color: var(--brand-muted); transition: transform 0.25s var(--ease-standard); }
.service-other-list a:hover span { transform: translateX(4px); }

/* ─── Individual blog post ───────────────────────────────────────────────── */

.blog-post-breadcrumbs { border-bottom: 1px solid var(--brand-border); padding: 16px 0; }
.blog-post-hero { position: relative; max-height: 420px; overflow: hidden; }
.blog-post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-post-article { max-width: 720px; margin: 0 auto; }
.blog-post-article h1 { margin: 16px 0 8px; }
.blog-post-article__meta { color: var(--brand-muted); margin-bottom: 24px; }
.blog-post-article__body { line-height: 1.8; color: var(--brand-ink); }
.blog-post-article__body p { margin-bottom: 20px; }
.blog-post-article__body p:last-child { margin-bottom: 0; }
/* fix.php: emoji-safe arrow icon override */
.btn--arrow::after {
  content: '' !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 11px 11px !important;
  font-size: 0 !important;
}
.btn--outline.btn--arrow::after, .btn--dark.btn--arrow::after { background-color: rgba(255, 255, 255, 0.18) !important; }
.btn--primary.btn--arrow::after, .btn--on-light.btn--arrow::after {
  background-color: rgba(0, 0, 0, 0.1) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101110' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E") !important;
}
.btn--dark:hover.btn--arrow::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101110' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E") !important; }
.btn--on-light { border-color: var(--brand-border); color: var(--brand-ink); }

/* fix.php: emoji-safe icon overrides */
.btn--arrow::after {
  content: '' !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 11px 11px !important;
  font-size: 0 !important;
}
.btn--outline.btn--arrow::after, .btn--dark.btn--arrow::after { background-color: rgba(255, 255, 255, 0.18) !important; }
.btn--primary.btn--arrow::after, .btn--on-light.btn--arrow::after {
  background-color: rgba(0, 0, 0, 0.1) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101110' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E") !important;
}
.btn--dark:hover.btn--arrow::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101110' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E") !important; }
.btn--on-light { border-color: var(--brand-border); color: var(--brand-ink); }
.rating-float__stars, .testimonial-hcard__stars { display: inline-flex !important; gap: 2px; letter-spacing: normal !important; }
