/* ============================================================
   WAVE 30 — desktop structural parity (does NOT touch ≤991)
   Old site: full-bleed hero + ~1320px content rail + dense grids.
   New aesthetics kept: Syne, navy, hairlines, rounded plates, accent.
   ============================================================ */

@media (min-width: 992px) {
  :root {
    --max: 1280px;
    --page-pad: 40px;
    --header-h: 80px;
    --ed-gutter: 40px;
    --ed-air: 48px;
    --radius: 24px;
    --radius-sm: 16px;
  }

  @media (min-width: 1440px) {
    :root {
      --max: 1320px;
      --page-pad: 48px;
      --ed-gutter: 48px;
    }
  }

  @media (min-width: 1680px) {
    :root {
      --max: 1400px;
      --page-pad: 56px;
    }
  }

  /* Shared rail — header, sections, intro, story, footer, intent, trust */
  body.ed-skin {
    --rail: min(var(--max), calc(100% - 2 * var(--page-pad)));
  }

  /* ---------- HEADER: same rail as content ---------- */
  body.ed-skin .ed-header__inner {
    width: var(--rail) !important;
    max-width: var(--max) !important;
    margin: 0 auto !important;
    height: var(--header-h) !important;
    padding: 0 !important;
    gap: 24px !important;
  }
  body.ed-skin .ed-brand img { height: 34px !important; }
  body.ed-skin .ed-brand__name { font-size: 16px !important; }
  body.ed-skin .ed-brand__name small { font-size: 10.5px !important; }
  body.ed-skin .ed-nav-pill a {
    font-family: var(--sans) !important;
    font-size: 13.5px !important;
    font-weight: 550 !important;
    padding: 8px 16px !important;
    letter-spacing: 0.01em !important;
  }
  body.ed-skin .ed-header__phone { font-size: 14px !important; }
  body.ed-skin .ed-call {
    font-size: 14px !important;
    padding: 12px 20px !important;
  }

  /* ---------- HOMEPAGE WRAP ---------- */
  body.ed-skin.ed-home .ed-home-wrap {
    padding-top: var(--header-h) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
    overflow-x: visible !important;
  }
  body.ed-skin .ed-home-wrap .ed-air,
  body.ed-skin.ed-home .ed-air {
    height: var(--ed-air) !important;
  }
  body.ed-skin.ed-home .ed-hero + .ed-air {
    height: var(--ed-air) !important;
  }

  /* ---------- HERO: full-bleed cinematic, copy on the content rail ---------- */
  body.ed-skin.ed-home .ed-hero,
  body.ed-skin.ed-home .ed-plate.ed-hero,
  body.ed-skin .ed-hero,
  body.ed-skin .ed-plate.ed-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    min-height: min(78vh, 760px) !important;
    height: min(78vh, 760px) !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  /* City marquee — welded to the hero on desktop (≥1200): same full-bleed
     edge, no radius, no gap. 992–1199 and phone stay on the inset rail. */
  body.ed-skin.ed-home .ed-ticker,
  body.ed-skin .ed-ticker {
    display: block !important;
    background: var(--ink, #0D1B3E) !important;
    color: #fff !important;
    overflow: hidden !important;
    position: relative !important;
    box-sizing: border-box !important;
  }
  body.ed-skin.ed-home .ed-ticker__track {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 13px 0 !important;
    white-space: nowrap !important;
    animation: edTicker 32s linear infinite !important;
  }
  body.ed-skin.ed-home .ed-ticker__track span {
    font-family: var(--sans), Inter, system-ui, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 650 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    padding: 0 28px !important;
    opacity: 0.88 !important;
    position: relative !important;
  }
  body.ed-skin.ed-home .ed-ticker__track span + span::before {
    content: "·";
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    opacity: 0.45;
    letter-spacing: 0;
  }

  /* True desktop: weld hero + ticker into one full-bleed slab */
  @media (min-width: 1200px) {
    body.ed-skin.ed-home .ed-hero,
    body.ed-skin.ed-home .ed-plate.ed-hero,
    body.ed-skin .ed-hero,
    body.ed-skin .ed-plate.ed-hero {
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      border-radius: 0 !important;
    }
    body.ed-skin.ed-home .ed-hero + .ed-ticker,
    body.ed-skin.ed-home .ed-ticker,
    body.ed-skin .ed-ticker {
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 0 !important;
      border-radius: 0 !important;
    }
    body.ed-skin.ed-home .ed-ticker + .ed-air {
      height: var(--ed-air) !important;
    }
    body.ed-skin.ed-home .ed-hero + .ed-air {
      height: 0 !important;
    }
  }

  /* Tablet landscape (992–1199): unified inset rail, matching radii */
  @media (max-width: 1199.98px) {
    body.ed-skin.ed-home .ed-hero,
    body.ed-skin.ed-home .ed-plate.ed-hero,
    body.ed-skin .ed-hero,
    body.ed-skin .ed-plate.ed-hero {
      width: var(--rail) !important;
      max-width: var(--max) !important;
      margin-left: auto !important;
      margin-right: auto !important;
      border-radius: 24px !important;
    }
    body.ed-skin.ed-home .ed-hero + .ed-ticker,
    body.ed-skin.ed-home .ed-ticker,
    body.ed-skin .ed-ticker {
      width: var(--rail) !important;
      max-width: var(--max) !important;
      margin: 14px auto 0 !important;
      border-radius: 16px !important;
    }
    body.ed-skin.ed-home .ed-hero + .ed-air {
      height: var(--ed-air) !important;
    }
  }
  body.ed-skin .ed-hero__slides,
  body.ed-skin .ed-hero__slide,
  body.ed-skin .ed-hero__bg,
  body.ed-skin .ed-hero__veil {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
  }
  body.ed-skin .ed-hero,
  body.ed-skin .ed-hero__body,
  body.ed-skin .ed-hero__slide .ed-hero__body {
    min-height: min(78vh, 760px) !important;
    height: min(78vh, 760px) !important;
  }

  /* Copy sits on the content rail, left, readable — undo wave23 phone stretch */
  body.ed-skin .ed-hero__body,
  body.ed-skin.ed-home .ed-hero__slide .ed-hero__body,
  body.ed-skin .ed-hero__slide .ed-hero__body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 56px max(40px, calc((100vw - var(--max)) / 2)) 108px !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.ed-skin .ed-hero__copy,
  body.ed-skin.ed-home .ed-hero__copy,
  body.ed-skin.ed-home .ed-hero__slide .ed-hero__copy,
  body.ed-skin .ed-hero__slide .ed-hero__copy {
    width: auto !important;
    max-width: min(1100px, 100%) !important;
    margin: 0 !important;
    text-align: left !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    flex: 0 0 auto !important;
    height: auto !important;
    align-self: flex-start !important;
  }
  body.ed-skin .ed-hero__eyebrow,
  body.ed-skin .ed-hero__slide .ed-hero__eyebrow {
    font-size: 12px !important;
    letter-spacing: 0.14em !important;
    margin: 0 0 14px !important;
    max-width: none !important;
    white-space: nowrap !important;
    color: rgba(255,255,255,0.9) !important;
  }
  body.ed-skin.ed-home .ed-hero h1,
  body.ed-skin .ed-hero h1,
  body.ed-skin .ed-hero__slide .ed-hero__copy h1,
  body.ed-skin.ed-home .ed-hero__copy h1 {
    font-family: var(--display) !important;
    font-size: clamp(2.35rem, 2.95vw, 2.85rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    font-weight: 750 !important;
    color: #fff !important;
    text-align: left !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 14px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-wrap: unset !important;
  }
  body.ed-skin .ed-hero__accent {
    display: block !important;
    margin-top: 2px !important;
  }
  body.ed-skin .ed-hero__lede,
  body.ed-skin .ed-hero__slide .ed-hero__lede {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    max-width: 36ch !important;
    width: auto !important;
    color: rgba(255,255,255,0.88) !important;
    text-align: left !important;
    margin: 0 0 8px !important;
  }

  /* CTAs: auto-width pills, not equal-stretch phone buttons */
  body.ed-skin .ed-hero__actions,
  body.ed-skin.ed-home .ed-hero__actions,
  body.ed-skin .ed-hero__slide .ed-hero__actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    width: auto !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    margin: 22px 0 0 !important;
  }
  body.ed-skin .ed-hero__actions > a,
  body.ed-skin .ed-hero__cta,
  body.ed-skin .ed-hero__cta-ghost {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 168px !important;
    max-width: none !important;
    font-size: 14.5px !important;
    line-height: 1.2 !important;
    padding: 14px 22px !important;
    min-height: 48px !important;
    white-space: nowrap !important;
  }
  body.ed-skin .ed-hero__proof,
  body.ed-skin .ed-hero__slide .ed-hero__proof {
    font-size: 12.5px !important;
    letter-spacing: 0.06em !important;
    width: auto !important;
    max-width: 48ch !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    margin-top: 14px !important;
    text-align: left !important;
  }

  /* Desktop-only hero contact box — fills the empty right of the slider */
  @media (min-width: 1200px) {
    body.ed-skin.ed-home .ed-hero,
    body.ed-skin.ed-home .ed-plate.ed-hero {
      position: relative !important;
    }
    body.ed-skin.ed-home .ed-hero-lead {
      display: block !important;
      position: absolute !important;
      z-index: 7 !important;
      top: 50% !important;
      right: max(40px, calc((100vw - var(--max)) / 2)) !important;
      transform: translateY(-50%) !important;
      width: min(400px, 32vw) !important;
      pointer-events: auto !important;
    }
    body.ed-skin.ed-home .ed-hero:has(.ed-hero-lead) .ed-hero__copy {
      max-width: min(620px, calc(100% - 440px)) !important;
    }
    body.ed-skin.ed-home .ed-hero:has(.ed-hero-lead) .ed-hero__body,
    body.ed-skin.ed-home .ed-hero:has(.ed-hero-lead) .ed-hero__slide .ed-hero__body {
      justify-content: center !important;
      padding-bottom: 96px !important;
    }
    body.ed-skin.ed-home .ed-hero:has(.ed-hero-lead) .ed-hero__actions {
      display: none !important;
    }
    body.ed-skin.ed-home .ed-hero:has(.ed-hero-lead) .ed-hero__agent {
      right: auto !important;
      width: auto !important;
      max-width: min(620px, calc(100% - 440px)) !important;
    }
    body.ed-skin.ed-home .ed-hero:has(.ed-hero-lead) .ed-hero__dots {
      justify-content: flex-start !important;
      padding-left: max(40px, calc((100vw - var(--max)) / 2)) !important;
    }
    body.ed-skin .ed-hero-lead__form {
      background: rgba(255, 255, 255, 0.96) !important;
      backdrop-filter: saturate(1.2) blur(16px);
      -webkit-backdrop-filter: saturate(1.2) blur(16px);
      color: var(--ink, #0D1B3E);
      border-radius: 22px;
      padding: 22px 22px 18px;
      box-shadow: 0 18px 50px rgba(13, 27, 62, 0.22);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    body.ed-skin .ed-hero-lead__kicker {
      margin: 0;
      font-family: var(--sans), Inter, system-ui, sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent, #003DA5);
    }
    body.ed-skin .ed-hero-lead__title {
      margin: 0;
      font-family: var(--sans), Inter, system-ui, sans-serif;
      font-size: 1.35rem;
      font-weight: 750;
      letter-spacing: -0.03em;
      line-height: 1.15;
      color: var(--ink, #0D1B3E);
    }
    body.ed-skin .ed-hero-lead__lede {
      margin: 0 0 6px;
      font-family: var(--sans), Inter, system-ui, sans-serif;
      font-size: 13.5px;
      line-height: 1.4;
      color: var(--muted, #5b6475);
    }
    body.ed-skin .ed-hero-lead__form input,
    body.ed-skin .ed-hero-lead__form select,
    body.ed-skin .ed-hero-lead__form textarea {
      width: 100%;
      box-sizing: border-box;
      font-family: var(--sans), Inter, system-ui, sans-serif;
      font-size: 14px;
      font-weight: 500;
      color: var(--ink, #0D1B3E);
      background: #f4f6f9;
      border: 1px solid rgba(13, 27, 62, 0.1);
      border-radius: 12px;
      padding: 11px 13px;
      outline: none;
      appearance: none;
      -webkit-appearance: none;
    }
    body.ed-skin .ed-hero-lead__form input:focus,
    body.ed-skin .ed-hero-lead__form select:focus,
    body.ed-skin .ed-hero-lead__form textarea:focus {
      background: #fff;
      border-color: rgba(var(--accent-rgb, 0, 61, 165), 0.45);
      box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 0, 61, 165), 0.12);
    }
    body.ed-skin .ed-hero-lead__form textarea { resize: none; min-height: 64px; }
    body.ed-skin .ed-hero-lead__row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    body.ed-skin .ed-hero-lead__form select {
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%230D1B3E'><path d='M7 10l5 5 5-5z'/></svg>");
      background-repeat: no-repeat;
      background-position: right 12px center;
      padding-right: 32px;
    }
    body.ed-skin .ed-hero-lead__form button[type="submit"] {
      width: 100%;
      margin-top: 4px;
      border: 0;
      border-radius: 12px;
      background: var(--accent, #003DA5);
      color: #fff;
      font-family: var(--sans), Inter, system-ui, sans-serif;
      font-size: 14.5px;
      font-weight: 700;
      letter-spacing: -0.01em;
      padding: 13px 16px;
      cursor: pointer;
    }
    body.ed-skin .ed-hero-lead__form button[type="submit"]:hover { filter: brightness(1.08); }
    body.ed-skin .ed-hero-lead__form button[type="submit"]:disabled { opacity: 0.7; cursor: wait; }
    body.ed-skin .ed-hero-lead__status {
      margin: 0;
      font-size: 13px;
      font-weight: 650;
      font-family: var(--sans), Inter, system-ui, sans-serif;
    }
    body.ed-skin .ed-hero-lead__status.is-ok { color: #1b8f3a; }
    body.ed-skin .ed-hero-lead__status.is-err { color: #c41e3a; }
    body.ed-skin .ed-hero-lead__or {
      margin: 2px 0 0;
      text-align: center;
      font-size: 12.5px;
      font-weight: 550;
      color: var(--muted, #5b6475);
      font-family: var(--sans), Inter, system-ui, sans-serif;
    }
    body.ed-skin .ed-hero-lead__or a {
      color: var(--ink, #0D1B3E);
      font-weight: 700;
      text-decoration: none;
    }
    body.ed-skin .ed-hero-lead__hp {
      position: absolute !important;
      left: -9999px !important;
      width: 1px !important;
      height: 1px !important;
      opacity: 0 !important;
    }
  }

  /* Agent lockup + dots sit on the same left rail */
  body.ed-skin .ed-hero__agent {
    left: max(40px, calc((100vw - var(--max)) / 2)) !important;
    right: max(40px, calc((100vw - var(--max)) / 2)) !important;
    bottom: 28px !important;
  }
  body.ed-skin .ed-hero__dots,
  body.ed-skin.ed-home .ed-hero__dots {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    bottom: 22px !important;
    transform: none !important;
    justify-content: center !important;
  }

  /* ---------- UNIFIED RAIL: every block uses --max ---------- */
  body.ed-skin .ed-intro,
  body.ed-skin .ed-section,
  body.ed-skin .ed-story,
  body.ed-skin .ed-footer__plate,
  body.ed-skin .ed-metrics-rail {
    width: var(--rail) !important;
    max-width: var(--max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* CTA plate lives INSIDE .ed-section — fill the parent, don't re-apply rail */
  body.ed-skin .ed-section .ed-cta,
  body.ed-skin .ed-cta {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Intent / search — same rail as everything else (no full-bleed leak) */
  body.ed-skin .ed-intent {
    width: var(--rail) !important;
    max-width: var(--max) !important;
    margin: 0 auto !important;
    padding: 18px 22px !important;
    position: relative !important;
    z-index: 2 !important;
    border-radius: 20px !important;
    background: #fff !important;
    border: 1px solid rgba(13, 27, 62, 0.08) !important;
    box-shadow: 0 14px 40px rgba(13, 27, 62, 0.08) !important;
    overflow: visible !important;
  }
  body.ed-skin .ed-intent__tabs {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  body.ed-skin .ed-intent__tabs a {
    flex: 0 0 auto !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
  }
  body.ed-skin .ed-intent__search {
    grid-template-columns: 1fr 160px !important;
    gap: 10px !important;
  }
  body.ed-skin .ed-intent__search input {
    padding: 14px 18px !important;
    font-size: 15.5px !important;
    border-radius: 14px !important;
  }
  body.ed-skin .ed-intent__search button {
    padding: 0 22px !important;
    border-radius: 14px !important;
    font-size: 14.5px !important;
  }

  /* Trust bar on the same rail, horizontal */
  body.ed-skin .ed-trust {
    width: var(--rail) !important;
    max-width: var(--max) !important;
    margin: 0 auto !important;
    padding: 22px 32px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }
  body.ed-skin .ed-trust__inner {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    text-align: left !important;
    justify-items: start !important;
  }
  body.ed-skin .ed-trust__logos {
    justify-content: flex-start !important;
    gap: 28px !important;
  }
  body.ed-skin .ed-trust__logos img { max-height: 38px !important; }
  body.ed-skin .ed-trust__score { justify-content: flex-end !important; }

  /* ---------- TYPE SCALE: readable, not mobile-blown-up ---------- */
  body.ed-skin .ed-title,
  body.ed-skin .ed-section__head h2,
  body.ed-skin .ed-story__head h2,
  body.ed-skin .ed-story__copy h2 {
    font-size: clamp(2rem, 2.5vw, 2.55rem) !important; /* ~32–41px vs old 40 */
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
    max-width: 22ch !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.ed-skin .ed-section__lede {
    font-size: 16.5px !important;
    line-height: 1.55 !important;
    max-width: 54ch !important;
    margin-top: 8px !important;
  }
  body.ed-skin .ed-section__head {
    align-items: flex-end !important;
    text-align: left !important;
    margin-bottom: 24px !important;
    gap: 20px !important;
  }
  body.ed-skin .ed-kicker {
    text-align: left !important;
    font-size: 12px !important;
  }

  /* ---------- INTRO CARDS: fill the rail ---------- */
  body.ed-skin .ed-intro {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
  body.ed-skin .ed-intro__card {
    min-height: 380px !important;
    padding: 28px 26px 0 !important;
  }
  body.ed-skin .ed-intro__card h3 { font-size: 1.55rem !important; }
  body.ed-skin .ed-intro__card p {
    font-size: 15px !important;
    max-width: 32ch !important;
  }
  body.ed-skin .ed-intro__media { height: 168px !important; }

  /* ---------- OPEN HOUSES: 4-col grid like old listing rows ---------- */
  /* Wave 25 clips every .ed-section — that's why card shadows die at the rail. */
  body.ed-skin .ed-section,
  body.ed-skin #open-houses,
  body.ed-skin .ed-featured,
  body.ed-skin #oh-grid,
  body.ed-skin .ed-oh,
  body.ed-skin .ed-oh__grid,
  body.ed-skin .oh-grid {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    max-width: var(--max) !important;
    width: var(--rail) !important;
    background: transparent !important;
    border-radius: 0 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  body.ed-skin #oh-grid,
  body.ed-skin .ed-oh,
  body.ed-skin .ed-oh__grid,
  body.ed-skin .oh-grid {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.ed-skin #oh-grid .oh-track {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    animation: none !important;
    transform: none !important;
    padding: 4px 2px 24px !important;
    align-items: stretch !important;
  }
  body.ed-skin #oh-grid .oh-dup,
  body.ed-skin #oh-grid .oh-dup .oh-card {
    display: none !important;
  }
  /* display:contents promotes clones to direct children — keep 8 (2×4) */
  body.ed-skin #oh-grid .oh-track > .oh-card:nth-child(n + 9) {
    display: none !important;
  }
  body.ed-skin #oh-grid .oh-card {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 100% !important;
    border-radius: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 10px 28px rgba(13, 27, 62, 0.10) !important;
  }
  body.ed-skin #oh-grid .oh-card__media { height: 190px !important; flex: 0 0 auto !important; }
  body.ed-skin #oh-grid .oh-card__body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 14px 16px 16px !important;
    min-height: 0 !important;
  }
  body.ed-skin #oh-grid .oh-actions {
    margin-top: auto !important;
    padding-top: 12px !important;
  }
  body.ed-skin #oh-grid .oh-metarow {
    margin-top: 8px !important;
  }
  body.ed-skin #oh-grid .oh-card h3,
  body.ed-skin #oh-grid .oh-card__body h3,
  body.ed-skin #oh-grid .oh-name {
    font-family: var(--sans) !important;
    font-size: 16.5px !important;
    font-weight: 650 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
  }

  /* ---------- FEATURED: 4-col grid, no snap rail ---------- */
  body.ed-skin .ed-feat__rail,
  body.ed-skin .ed-featured .ed-feat__rail {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    overflow: visible !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    padding: 4px 2px 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
  }
  body.ed-skin .ed-feat-card {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 10px 28px rgba(13, 27, 62, 0.10) !important;
  }
  body.ed-skin .ed-feat-card .content-area {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  body.ed-skin .ed-feat-card .nm-btn,
  body.ed-skin .ed-feat-card .content-area > a:last-child {
    margin-top: auto !important;
  }
  body.ed-skin .ed-feat__tabs {
    overflow: visible !important;
    flex-wrap: wrap !important;
  }

  @media (max-width: 1279.98px) {
    body.ed-skin #oh-grid .oh-track,
    body.ed-skin .ed-feat__rail,
    body.ed-skin .ed-featured .ed-feat__rail {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
  }

  /* ---------- MEET JENNIFER: photo | bio like old about split ---------- */
  body.ed-skin .ed-story {
    display: grid !important;
    grid-template-columns: 0.92fr 1.08fr !important;
    grid-template-areas:
      "photo head"
      "photo copy"
      "photo actions"
      "photo metrics" !important;
    gap: 12px 56px !important;
    align-items: start !important;
  }
  body.ed-skin .ed-story__photo {
    grid-area: photo !important;
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    order: 0 !important;
  }
  body.ed-skin .ed-story__head {
    grid-area: head !important;
    text-align: left !important;
    order: 0 !important;
    margin: 0 !important;
    padding: 8px 0 0 !important;
  }
  body.ed-skin .ed-story__head .ed-kicker,
  body.ed-skin .ed-story__head h2 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.ed-skin .ed-story__copy {
    grid-area: copy !important;
    text-align: left !important;
    order: 0 !important;
    max-width: none !important;
  }
  body.ed-skin .ed-story__copy p {
    font-size: 16.5px !important;
    line-height: 1.65 !important;
    max-width: 54ch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
  body.ed-skin .ed-story__metrics-wrap {
    grid-area: metrics !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
    order: 0 !important;
  }
  body.ed-skin .ed-story > .ed-story__actions {
    grid-area: actions !important;
    justify-content: flex-start !important;
    width: auto !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    order: 0 !important;
  }
  body.ed-skin .ed-story > .ed-story__actions > a {
    flex: 0 0 auto !important;
    width: auto !important;
  }
  body.ed-skin .ed-story__metrics-wrap .ed-story__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  body.ed-skin .ed-story__metrics-wrap .ed-story__metrics strong {
    font-size: 1.65rem !important;
  }

  /* Golfi Team + Browse Homes / 4 stat boxes — fill the empty right column */
  body.ed-skin .ed-team {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr) !important;
    gap: 48px !important;
    align-items: center !important;
  }
  body.ed-skin .ed-team__copy .ed-title {
    max-width: 16ch !important;
    text-align: left !important;
    margin-left: 0 !important;
  }
  body.ed-skin .ed-team__stats {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  body.ed-skin .ed-team__stats .ed-stats-head {
    justify-content: flex-start !important;
    margin: 0 0 6px !important;
  }
  body.ed-skin .ed-team__stats .ed-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  body.ed-skin .ed-team__stats .ed-stats__item {
    min-height: 112px !important;
    padding: 20px 18px !important;
    border-radius: 18px !important;
  }
  body.ed-skin .ed-team__stats .ed-stats__item strong {
    font-family: var(--sans), Inter, system-ui, sans-serif !important;
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
  }
  body.ed-skin .ed-team__stats .ed-stats__item span {
    font-family: var(--sans), Inter, system-ui, sans-serif !important;
    font-size: 13px !important;
  }

  /* How we work / tiles — 2×2 so desktop isn't a tall stack of banners */
  body.ed-skin .ed-work-stack {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
  }
  body.ed-skin .ed-work-card {
    min-height: 280px !important;
    grid-template-columns: 1fr 1.1fr !important;
  }
  body.ed-skin .ed-work-card:nth-child(even) {
    grid-template-columns: 1.1fr 1fr !important;
  }
  body.ed-skin .ed-work-card__copy h3 {
    font-size: clamp(1.45rem, 2vw, 1.85rem) !important;
  }
  body.ed-skin .ed-tile h3 {
    font-size: clamp(1.7rem, 2.2vw, 2.1rem) !important;
  }
  body.ed-skin .ed-tile p { max-width: 28ch !important; }

  /* Reviews: 2-up filling the rail */
  body.ed-skin .ed-reviews {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    overflow: visible !important;
    gap: 18px !important;
  }
  body.ed-skin .ed-review {
    flex: none !important;
    max-width: none !important;
    padding: 32px 28px !important;
  }
  body.ed-skin .ed-review blockquote {
    font-size: 1.15rem !important;
    text-align: left !important;
    max-width: none !important;
    margin-left: 0 !important;
  }

  /* Areas: 5-up already — keep, slightly roomier */
  body.ed-skin .ed-areas {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  body.ed-skin .ed-areas a {
    padding: 20px 18px !important;
    font-size: 15px !important;
  }

  /* Journal rows */
  body.ed-skin .ed-journal {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  body.ed-skin .ed-journal__row {
    grid-template-columns: 180px 1fr auto !important;
    padding: 16px 0 !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(13, 27, 62, 0.08) !important;
  }
  body.ed-skin .ed-journal__row:first-child {
    border-top: 1px solid rgba(13, 27, 62, 0.08) !important;
  }
  body.ed-skin .ed-journal__row img {
    height: 112px !important;
  }
  body.ed-skin .ed-journal__row strong { font-size: 1.2rem !important; }

  /* Team + CTA */
  body.ed-skin .ed-cta {
    padding: 56px 48px !important;
  }
  body.ed-skin .ed-cta h2 {
    font-size: clamp(2rem, 2.6vw, 2.6rem) !important;
    max-width: 16ch !important;
    text-align: left !important;
    margin-left: 0 !important;
  }
  body.ed-skin .ed-cta p {
    text-align: left !important;
    margin-left: 0 !important;
    max-width: 42ch !important;
    font-size: 16.5px !important;
  }

  /* Footer on the rail — parent already padded, plate is 100% of that */
  body.ed-skin .ed-footer {
    padding-left: var(--page-pad) !important;
    padding-right: var(--page-pad) !important;
    padding-bottom: 40px !important;
  }
  body.ed-skin .ed-footer__plate {
    width: 100% !important;
    max-width: var(--max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 52px 48px 32px !important;
    text-align: left !important;
  }
  body.ed-skin .ed-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr !important;
    gap: 48px !important;
    text-align: left !important;
  }

  /* ---------- INNER PAGES: same 1320 rail as old Bootstrap xxl ---------- */
  body.ed-skin:not(.ed-home) {
    padding-top: var(--header-h) !important;
  }
  body.ed-skin:not(.ed-home) .container,
  body.ed-skin:not(.ed-home) .container-fluid {
    max-width: var(--max) !important;
    width: var(--rail) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.ed-skin:not(.ed-home) .hero-inner-section-area-sidebar,
  body.ed-skin:not(.ed-home) .hero2-section-area,
  body.ed-skin:not(.ed-home) .breadcrumb-area,
  body.ed-skin:not(.ed-home) .inner-page-banner {
    width: var(--rail) !important;
    max-width: var(--max) !important;
    margin: 28px auto 8px !important;
    padding: 36px 0 12px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
    min-height: 0 !important;
  }
  body.ed-skin:not(.ed-home) .hero-inner-section-area-sidebar h1,
  body.ed-skin:not(.ed-home) .hero2-section-area h1,
  body.ed-skin:not(.ed-home) .breadcrumb-area h1 {
    text-align: left !important;
    margin: 0 !important;
    max-width: 28ch !important;
    font-size: clamp(2.1rem, 3vw, 2.75rem) !important;
  }
  body.ed-skin:not(.ed-home) .hero-inner-section-area-sidebar .container,
  body.ed-skin:not(.ed-home) .hero-inner-section-area-sidebar .row,
  body.ed-skin:not(.ed-home) .hero-inner-section-area-sidebar [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  body.ed-skin:not(.ed-home) .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }

  /* Listing cards: leave sidebar-grid at 2-up (filter + results).
     Full-width listing rows (no sidebar) go 3-up. */
  body.ed-skin:not(.ed-home) .others-section-area2 > .container > .row > .col-lg-6.col-md-6 {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
    width: 33.3333% !important;
  }

  /* FAQ / about inner: readable measure */
  body.ed-skin .ed-faq {
    grid-template-columns: 0.85fr 1.15fr !important;
    gap: 48px !important;
    text-align: left !important;
  }
}

/* Extra-wide: keep the rail tight, don't let type balloon */
@media (min-width: 1600px) {
  body.ed-skin.ed-home .ed-hero h1,
  body.ed-skin .ed-hero h1,
  body.ed-skin .ed-hero__slide .ed-hero__copy h1 {
    font-size: 2.85rem !important;
  }
}

/* ============================================================
   Listing titles — Inter, all viewports.
   Street names must scan. Syne stays on section headlines only.
   ============================================================ */
body.ed-skin .oh-name,
body.ed-skin .oh-card h3,
body.ed-skin .oh-card__body h3,
body.ed-skin #oh-grid .oh-name,
body.ed-skin #oh-grid .oh-card h3,
body.ed-skin .ed-feat-card h3,
body.ed-skin .ed-feat-card .content-area > a:first-child,
body.ed-skin .ed-feat-card .content-area h3,
body.ed-skin .ed-feat-card .nm-btn,
body.ed-skin .property-boxarea h3,
body.ed-skin .property-boxarea2 h3,
body.ed-skin .property-box h3,
body.ed-skin .property-boxarea .content-area > a:first-child,
body.ed-skin .property-boxarea2 .content-area > a:first-child,
body.ed-skin .property-boxarea .content-area h3,
body.ed-skin .property-boxarea2 .content-area h3,
body.ed-skin .single-slider-area .property-boxarea .content-area > a,
body.ed-skin .property-mapgrid-area .property-boxarea h3,
body.ed-skin .property-mapgrid-area .property-boxarea .content-area > a {
  font-family: var(--sans), Inter, system-ui, sans-serif !important;
  font-weight: 650 !important;
  letter-spacing: -0.012em !important;
  line-height: 1.3 !important;
  text-wrap: unset !important;
}
body.ed-skin .oh-primary,
body.ed-skin .oh-actions a,
body.ed-skin .ed-feat-card .content-area > ul,
body.ed-skin .property-boxarea .content-area > ul {
  font-family: var(--sans), Inter, system-ui, sans-serif !important;
}

/* Hero contact box is desktop-only. Tablet/phone keep the existing CTA pills. */
@media (max-width: 1199.98px) {
  body.ed-skin .ed-hero-lead { display: none !important; }
}

/* Years badge: fully on the photo. Wave 7 pulled it above the crop
   (top: -44px) so overflow:hidden clipped the number. */
body.ed-skin .ed-story__photo {
  position: relative !important;
  overflow: hidden !important;
}
body.ed-skin .ed-story__photo .ed-stat {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 3 !important;
  margin: 0 !important;
  max-width: min(64%, 210px) !important;
  padding: 10px 12px 9px !important;
}
body.ed-skin .ed-story__photo .ed-stat strong {
  display: block !important;
  font-size: clamp(1.55rem, 4vw, 2rem) !important;
  line-height: 1 !important;
  overflow: visible !important;
}
body.ed-skin .ed-story__photo .ed-stat span {
  display: block !important;
  max-width: 16ch !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

/* ============================================================
   Mobile only — close the empty canyon between Meet creds
   and the Golfi Team band. Desktop layout unchanged.
   ============================================================ */
@media (max-width: 991.98px) {
  body.ed-skin section.ed-story {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    align-items: start !important;
    grid-auto-rows: min-content !important;
    gap: 14px !important;
  }
  body.ed-skin .ed-story__copy,
  body.ed-skin .ed-agent__creds {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  body.ed-skin .ed-home-wrap {
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }
  /* Team sits just outside .ed-home-wrap — kill leftover section air */
  body.ed-skin .ed-home-wrap + .ed-section,
  body.ed-skin .ed-section:has(.ed-team),
  body.ed-skin .ed-section[aria-label*="Golfi"] {
    padding-top: 8px !important;
    margin-top: 0 !important;
  }
  body.ed-skin .ed-team {
    margin-top: 0 !important;
    padding-top: 0 !important;
    gap: 12px !important;
  }
  body.ed-skin .ed-team__copy > .ed-kicker {
    margin-top: 0 !important;
  }
}

/* Stats → Featured: wrap was padding for the dock (~130px) plus an air spacer.
   Featured lives outside the wrap, so that padding is a dead white canyon. */
@media (max-width: 991.98px) {
  body.ed-skin.ed-home .ed-home-wrap {
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }
  body.ed-skin.ed-home .ed-home-wrap + .ed-air,
  body.ed-skin .ed-section:has(.ed-team) + .ed-air,
  body.ed-skin .ed-section[aria-label*="Golfi"] + .ed-air {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.ed-skin.ed-home .ed-section:has(.ed-team),
  body.ed-skin.ed-home .ed-section[aria-label*="Golfi"] {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  body.ed-skin.ed-home section.ed-featured,
  body.ed-skin.ed-home .ed-featured.ed-section {
    padding-top: 10px !important;
    margin-top: 0 !important;
  }
  body.ed-skin .ed-team__stats {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  body.ed-skin .ed-stats-head {
    justify-content: flex-start !important;
    margin: 4px 0 10px !important;
  }
  body.ed-skin .ed-stats {
    margin-bottom: 0 !important;
  }
}

/* Red lander line — thin black outer stroke, sleek not heavy */
body.ed-skin .ed-hero__accent,
body.ed-skin .ed-hero__line {
  color: #E2001A !important;
  -webkit-text-stroke: 0.8px #000;
  paint-order: stroke fill;
  text-shadow:
    -0.85px -0.85px 0 #000,
     0.85px -0.85px 0 #000,
    -0.85px  0.85px 0 #000,
     0.85px  0.85px 0 #000,
     0 1px 6px rgba(0,0,0,0.32);
}
@media (min-width: 992px) {
  body.ed-skin .ed-hero__accent,
  body.ed-skin .ed-hero__line {
    -webkit-text-stroke: 1px #000;
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 8px rgba(0,0,0,0.28);
  }
}

