/* ==========================================================================
   The Shackelton Group | Shawn Shackelton, Real Broker
   site.css - the only stylesheet. Every page loads it.
   Replicates the layout, palette and type of theshackeltongroup.com
   (Lofty/Chime build) as a static, AEO-optimized site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette lifted from the live site's computed styles */
  --blue:        #1B4B9D;   /* primary buttons, stat numerals, accents */
  --blue-dark:   #143873;   /* button hover */
  --blue-link:   #006DFF;   /* inline links, Google review button */
  --ink:         #111111;   /* headings, near-black */
  --black:       #000000;   /* tile fills, dark buttons */
  --charcoal:    #3B3B3B;   /* nav (scrolled) + footer */
  --charcoal-2:  #2E2E2E;
  --body-c:      rgba(17, 17, 17, 0.72);
  --muted:       #797E8B;
  --line:        #C6C8D1;
  --line-soft:   rgba(17, 17, 17, 0.12);
  --bg-soft:     #F6F6F7;   /* rgba(17,17,17,.05) flattened */
  --white:       #FFFFFF;

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body:    Raleway, Montserrat, "Open Sans", Helvetica, Arial, sans-serif;

  --wrap:      1400px;
  --wrap-text: 1120px;
  --wrap-prose: 780px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--body-c);
  background: var(--white);
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; border: 0; }

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1.35em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.55em;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }

/* In-body content headings are smaller than the big centered section
   headlines, so long form AEO pages stay readable. Section heads keep the
   original site's oversized display scale via .section-head. */
.wrap--text > h2,
.wrap--text > .answer + h2,
.prose h2,
.wrap--prose > h2 {
  margin-top: 2em;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
}
.wrap--text > h2:first-child,
.prose h2:first-child { margin-top: 0; }
.wrap--text > h3,
.prose h3,
.wrap--prose > h3 {
  margin-top: 1.7em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}
.wrap--text > ul,
.wrap--text > ol,
.wrap--text > table,
.wrap--text > .btn-row { margin-bottom: 1.6em; }
.wrap--text > .steps { margin: 1.4em 0 2em; }

/* Section headline pair: eyebrow + display heading */
.eyebrow {
  display: block;
  margin: 0 0 0.35em;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: none;
  color: var(--ink);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.92); }

.h-caps { text-transform: uppercase; }

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: var(--body-c);
}

hr.rule {
  width: 68px; height: 1px; margin: 1.75rem auto;
  background: var(--blue); border: 0;
}
hr.rule--left { margin-left: 0; }

::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 20px;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--blue-link); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap--text { max-width: var(--wrap-text); }
.wrap--prose { max-width: var(--wrap-prose); }

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(36px, 4vw, 60px) 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.82); }
.section--ink h2, .section--ink h3, .section--ink .eyebrow { color: #fff; }
.section--flush-bottom { padding-bottom: 0; }

/* A tile grid runs flush to the bottom edge of its section so the tiles sit
   full bleed. When a full width photo band follows one, insert breathing room
   so the tiles and the band do not butt straight into each other. A following
   .section needs nothing, it brings its own top padding. */
.section--flush-bottom + .band { margin-top: clamp(52px, 6.5vw, 96px); }

.center { text-align: center; }
.section-head { max-width: 900px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { color: var(--body-c); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .wrap { padding: 0 20px; }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; padding: 17px 40px;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; text-align: center;
  color: #fff; background: var(--blue); border: 1px solid var(--blue);
  border-radius: 0; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover, .btn:focus { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

.btn--dark { background: var(--black); border-color: var(--black); }
.btn--dark:hover { background: var(--charcoal); border-color: var(--charcoal); }

.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }

.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn--ghost-white:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--wide { min-width: 280px; }
.btn--sm { min-width: 0; padding: 13px 26px; font-size: 0.78rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.btn-row--left { justify-content: flex-start; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink);
}
.link-arrow::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow--light { color: #fff; }

.text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--blue-dark); }

/* --------------------------------------------------------------------------
   5. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center;
  height: 104px; padding: 0 34px;
  background: transparent;
  transition: background 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header.scrolled { background: var(--charcoal); height: 88px; }
.site-header.solid { background: var(--charcoal); }

.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }
.brand__text {
  font-family: var(--font-display); font-size: 1.05rem; color: #fff;
  letter-spacing: 0.06em; line-height: 1.1;
}
.brand__text span {
  display: block; font-family: var(--font-body); font-size: 0.62rem;
  font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.nav { margin-left: 42px; }
.nav > ul {
  display: flex; align-items: center; gap: 30px;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  position: relative; display: block; padding: 6px 0;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: #fff; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--blue-link); transition: right 0.3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.nav li.has-sub { position: relative; }
.nav li.has-sub > a::before {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav .sub {
  position: absolute; top: 100%; left: -18px; min-width: 250px;
  margin: 0; padding: 10px 0; list-style: none;
  background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav li.has-sub:hover .sub, .nav li.has-sub:focus-within .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav .sub a {
  padding: 11px 24px; color: var(--ink); font-weight: 500; letter-spacing: 0.1em;
}
.nav .sub a::after { display: none; }
.nav .sub a:hover { background: var(--bg-soft); color: var(--blue); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.header-right .tel {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; color: #fff;
}
.header-right .tel:hover { color: #fff; opacity: 0.78; }

.hamburger {
  display: none; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
}
.hamburger span {
  display: block; width: 26px; height: 2px; margin: 5px auto; background: #fff;
}

@media (max-width: 1180px) {
  .nav, .header-right .tel { display: none; }
  .brand img { height: 34px; }
  .hamburger { display: block; }
  .site-header { height: 84px; padding: 0 20px; }
}

/* Side menu (mobile) */
.scrim {
  position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.scrim.show { opacity: 1; visibility: visible; }

.sidemenu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96;
  width: min(400px, 88vw); padding: 30px 30px 60px;
  background: var(--charcoal); color: #fff;
  overflow-y: auto; transform: translateX(102%);
  transition: transform 0.36s var(--ease);
}
.sidemenu.open { transform: translateX(0); }
.sidemenu__close {
  margin-left: auto; display: block; width: 42px; height: 42px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.sidemenu ul { list-style: none; margin: 26px 0 0; padding: 0; }
.sidemenu li { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.sidemenu a, .sidemenu .submenu-toggle {
  display: block; width: 100%; padding: 15px 0; text-align: left;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: #fff; background: none; border: 0; cursor: pointer;
}
.sidemenu .submenu { display: none; padding: 0 0 10px 14px; }
.sidemenu li.open .submenu { display: block; }
.sidemenu .submenu li { border: 0; }
.sidemenu .submenu a {
  padding: 9px 0; font-weight: 400; letter-spacing: 0.1em; text-transform: none;
  color: rgba(255, 255, 255, 0.82); font-size: 0.92rem;
}
.sidemenu__foot { margin-top: 32px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.sidemenu__foot a { display: inline; font-size: inherit; letter-spacing: 0; text-transform: none; padding: 0; }

/* --------------------------------------------------------------------------
   6. Hero (homepage) + interior page hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.26) 45%, rgba(0,0,0,.46) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 120px 24px 96px; width: 100%; }
.hero__lockup { width: min(470px, 80vw); height: auto; margin: 0 auto 34px; }
.hero h1 {
  color: #fff; margin: 0 0 0.18em;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.32);
}
.hero__tag {
  margin: 0 auto 40px; max-width: 760px;
  font-size: clamp(1.1rem, 2vw, 1.65rem); font-weight: 300; letter-spacing: 0.01em;
  color: #fff;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: #fff;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero__scroll::after { content: "\2192"; }

.page-hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 62vh; padding: 168px 24px 96px; text-align: center; overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.48);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 940px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); }
.page-hero p {
  color: rgba(255, 255, 255, 0.94); font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.page-hero--plain {
  min-height: 0; padding: 168px 24px 56px; background: var(--bg-soft);
}
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain p { color: var(--body-c); }

/* Breadcrumbs */
.crumbs {
  padding: 18px 0; font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--muted); border-bottom: 1px solid var(--line-soft);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a:hover { color: var(--blue); }

/* --------------------------------------------------------------------------
   7. Meet / split section with rotated label
   -------------------------------------------------------------------------- */
.meet { position: relative; padding: clamp(64px, 8vw, 128px) 0; }
.meet__rail {
  position: absolute; left: 34px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.meet__rail span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.meet__rail::after { content: ""; width: 1px; height: 96px; background: var(--ink); }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body .eyebrow { text-align: left; }

@media (max-width: 992px) {
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .meet__rail { display: none; }
}

/* --------------------------------------------------------------------------
   8. Tile grid (cities, lifestyle)
   -------------------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.tile {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 370px; padding: 32px; overflow: hidden; background: var(--black);
  text-align: center;
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), opacity 0.5s var(--ease);
}
/* Scrim over the photo so the white label stays legible on bright images.
   Sits above the img and below the label and the inset border. */
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.42) 100%);
  transition: background 0.4s var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 16px; z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.55); pointer-events: none;
}
.tile__label {
  position: relative; z-index: 3; margin: 0;
  font-family: var(--font-body); font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 22px rgba(0, 0, 0, 0.5);
}
.tile:hover img { transform: scale(1.06); }
.tile:hover::before {
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.28) 100%);
}

@media (max-width: 1024px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 260px; }
}

/* --------------------------------------------------------------------------
   9. Full-bleed banner band
   -------------------------------------------------------------------------- */
.band {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 620px; padding: clamp(72px, 9vw, 132px) 24px; text-align: center;
  overflow: hidden;
}
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.46); }
.band__inner { position: relative; z-index: 2; max-width: 840px; }
.band__lockup { width: min(400px, 74vw); height: auto; margin: 0 auto 26px; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.92); }
.band--tall { min-height: 760px; }
.band--split { display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; padding: 0; }
.band--split .band-half {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: clamp(56px, 7vw, 110px) 28px; text-align: center; overflow: hidden;
}
/* Only the tile's background photo fills the panel. */
.band--split .band-half > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band--split .band-half::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.44); }
.band--split .band-half > div { position: relative; z-index: 2; }
@media (max-width: 860px) { .band--split { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line-soft); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 26px 28px; }
.card__body h3 { font-size: 1.28rem; margin-bottom: 0.3em; }
.card__meta {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.card__body p { font-size: 0.97rem; margin-bottom: 1em; }

.badge {
  position: absolute; top: 0; left: 0; z-index: 2; padding: 8px 16px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--blue); color: #fff;
}
.badge--sold { background: var(--black); }
.badge--soon { background: var(--charcoal); }

.placeholder-media {
  display: flex; align-items: center; justify-content: center; height: 100%;
  background: repeating-linear-gradient(135deg, #EDEEF1 0 12px, #F6F6F7 12px 24px);
  color: var(--muted); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; text-align: center; padding: 20px;
}

.note {
  margin-top: 22px; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em;
}

/* Feature list */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding: 0 0 14px 30px; font-size: 1rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 9px; height: 9px; border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue); transform: rotate(45deg);
}

/* Numbered process */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li {
  counter-increment: step; position: relative;
  padding: 30px 28px 32px; background: var(--bg-soft); border-top: 2px solid var(--blue);
}
.steps li::before {
  content: "0" counter(step); display: block; margin-bottom: 14px;
  font-family: var(--font-display); font-size: 1.7rem; color: var(--blue);
}
.steps li h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.steps li p { font-size: 0.96rem; margin: 0; }
@media (max-width: 900px) { .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .steps--2, .steps--3 { grid-template-columns: minmax(0, 1fr); } }

/* Quick-answer callout: the AEO "direct answer" block */
.answer {
  padding: 28px 32px; margin: 0 0 40px;
  background: var(--bg-soft); border-left: 3px solid var(--blue);
}
.answer p { font-size: 1.06rem; line-height: 1.7; color: var(--ink); }
.answer p:last-child { margin-bottom: 0; }

/* Definition-style key facts table (highly quotable for AI answers) */
.facts { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.facts th, .facts td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.facts th {
  width: 34%; font-family: var(--font-body); font-weight: 600; color: var(--ink);
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
}
@media (max-width: 560px) {
  .facts th, .facts td { display: block; width: 100%; border-bottom: 0; padding: 6px 0; }
  .facts tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
}

/* --------------------------------------------------------------------------
   12. Reviews
   -------------------------------------------------------------------------- */
.rating-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  padding: 24px 28px; background: var(--bg-soft); margin-bottom: 40px;
}
.rating-bar__score { font-family: var(--font-display); font-size: 2.4rem; color: var(--ink); line-height: 1; }
.stars { color: #F5A623; letter-spacing: 2px; font-size: 1.1rem; }
.rating-bar__count { font-size: 0.9rem; color: var(--muted); }
.rating-bar .btn { margin-left: auto; }

/* Review cards read as wide landscape blocks, not tall narrow columns.
   Stars and attribution sit in a fixed left rail, the quote flows right. */
.quote {
  display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 26px;
  align-items: start; padding: 28px 32px;
  margin: 0; /* blockquote defaults to 1em 40px, which squeezes the card */
  background: #fff; border: 1px solid var(--line-soft);
}
.quote__rail { display: flex; flex-direction: column; gap: 10px; }
.quote__stars { margin: 0; line-height: 1; }
.quote p { font-size: 1.02rem; margin: 0; }
.quote__by {
  margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink); line-height: 1.5;
}
.quote__src {
  display: block; margin-top: 2px; font-size: 0.76rem; color: var(--muted);
  letter-spacing: 0.04em; text-transform: none; font-weight: 400;
}
@media (max-width: 560px) {
  .quote { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 22px; }
  .quote__rail { flex-direction: row; align-items: baseline; gap: 16px; flex-wrap: wrap; }
}

/* Two wide cards per row, never three narrow ones. */
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff; padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}
.form-card--on-dark { background: rgba(255, 255, 255, 0.96); }
.form-card h2, .form-card h3 { margin-bottom: 0.35em; color: var(--ink); }
.form-card p { color: var(--body-c); }
.field { margin-bottom: 20px; }
.field label {
  display: block; margin-bottom: 7px; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
}
.field textarea { min-height: 128px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field--consent { display: flex; gap: 12px; align-items: flex-start; }
.field--consent input { width: 18px; height: 18px; margin-top: 4px; flex: 0 0 auto; }
.field--consent label {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--body-c); line-height: 1.55; margin: 0;
}
.honeypot { position: absolute; left: -9999px; }
form .form-ok { display: none; padding: 18px 20px; background: var(--bg-soft); border-left: 3px solid var(--blue); color: var(--ink); }
form.submitted .form-ok { display: block; }
form.submitted .form-body { display: none; }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line-soft); padding: 6px 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-body); font-size: 1.06rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--blue); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 40px 22px 0; }
.faq details > div p:last-child { margin-bottom: 0; }
.faq h3 { font-family: var(--font-body); font-size: 1.06rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal); color: rgba(255, 255, 255, 0.8);
  padding: clamp(56px, 6vw, 80px) 0 40px; font-size: 0.94rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover { color: #fff; }
.footer-top {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer-brand img { width: 260px; height: auto; margin-bottom: 22px; }
.footer-brand strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; letter-spacing: 0.02em; }
.footer-brand p { margin-bottom: 0.7em; }
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 11px; }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
}
.socials img { width: 32px; height: 32px; margin: 0; filter: invert(1); }
.socials a:hover { background: rgba(255, 255, 255, 0.12); }

.footer-legal { padding-top: 30px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); }
.footer-legal p { margin-bottom: 0.9em; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.compliance { display: flex; align-items: center; gap: 20px; margin: 22px 0; flex-wrap: wrap; }
.compliance .eho-logo { width: 80px; height: auto; }
.mls-mark {
  display: inline-flex; align-items: center; background: #fff; padding: 10px 12px;
}
.mls-mark img { display: block; width: 120px; height: auto; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
}

/* --------------------------------------------------------------------------
   16. Prose (blog / long form)
   -------------------------------------------------------------------------- */
.prose { max-width: var(--wrap-prose); margin: 0 auto; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.prose h3 { margin-top: 1.7em; font-family: var(--font-body); font-weight: 600; font-size: 1.18rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.55em; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--blue);
  font-size: 1.08rem; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 0.96rem; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line-soft); text-align: left; }
.prose th { background: var(--bg-soft); font-family: var(--font-body); font-weight: 600; }

.post-meta {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1.6em;
}

/* --------------------------------------------------------------------------
   17. Reveal animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .sidemenu, .scrim, .hero__scroll, .site-footer .socials { display: none; }
  body { color: #000; }
  .hero, .page-hero { min-height: 0; padding: 24px 0; }
  .hero__media, .page-hero__media { display: none; }
  .hero h1, .page-hero h1, .hero__tag, .page-hero p { color: #000; }
}

/* --------------------------------------------------------------------------
   19. Header booking button
   -------------------------------------------------------------------------- */
.header-book { white-space: nowrap; }
@media (max-width: 1320px) { .header-book { display: none; } }

/* --------------------------------------------------------------------------
   20. IDX Addons integration. Avoid universal child/image overrides: vendor
   card layouts, carousel tracks, map tiles and controls manage their own size.
   -------------------------------------------------------------------------- */
.idx-section { scroll-margin-top: 110px; }
.idx-embed { width: 100%; min-width: 0; }
[data-residential-searchbar]:not(.idx-searchbar-ready) { visibility: hidden; }
.idx-help { text-align: center; margin: 28px auto 20px; }
.idx-help .note { margin-top: 16px; }
.idx-embed .casabella {
  --idx_btn_color: var(--blue);
  --idx_btn_hover_color: var(--blue-dark);
  --idx_widget_badge_color: var(--blue-dark);
  --idx_widget_font_family: var(--font-body);
  --idx_widget_bg_feat_color: var(--blue);
}
.idx-embed .IDX-showcaseRow {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.idx-embed .IDX-showcaseCell { width: auto !important; min-width: 0; }
#recent-sales .IDX-showcasePrice::before { content: "List price: "; font-weight: 400; font-size: .85em; }
.idx-embed .IDX-showcaseContainer { height: 100%; }
.idx-embed [id^="idxw-"] { --dw-tab-active-bg: #1B4B9D; --dw-badge-bg: #143873; --dw-marker-color: #1B4B9D; }
@media (max-width: 1000px) {
  .idx-embed .IDX-showcaseRow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .idx-embed .IDX-showcaseRow { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .idx-help .btn { width: 100%; white-space: normal; }
}
