/* ═══════════════════════════════════════════════
   Brandon Waugerman — homehub.space — Stylesheet
   ═══════════════════════════════════════════════ */

    /* ── RESET & BASE ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --black:        #080808;
      --surface:      #0f0f0f;
      --surface-2:    #161616;
      --cream:        #E8DFD0;
      --cream-mid:    #C9B99A;
      --cream-dim:    rgba(232,223,208,0.1);
      --cream-border: rgba(232,223,208,0.14);
      --white:        #ffffff;
      --muted:        rgba(255,255,255,0.42);
      --subtle:       rgba(255,255,255,0.14);
      --border:       rgba(255,255,255,0.07);
      --font-display: 'Playfair Display', Georgia, serif;
      --font-body:    'Inter', -apple-system, sans-serif;
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      scroll-snap-type: y proximity;
    }

    body {
      font-family: var(--font-body);
      background: var(--black);
      color: var(--white);
      overflow-x: hidden;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* ── SCROLL REVEAL SYSTEM ── */
    [data-reveal] {
      opacity: 0;
      transform: translateY(36px);
      transition: opacity 1s var(--ease-out-expo),
                  transform 1s var(--ease-out-expo);
    }
    [data-reveal="left"]  { transform: translateX(-36px); }
    [data-reveal="right"] { transform: translateX(36px); }
    [data-reveal="scale"] { transform: scale(0.96); }
    [data-reveal].visible {
      opacity: 1;
      transform: translate(0) scale(1);
    }
    [data-delay="1"] { transition-delay: 0.1s; }
    [data-delay="2"] { transition-delay: 0.2s; }
    [data-delay="3"] { transition-delay: 0.3s; }
    [data-delay="4"] { transition-delay: 0.45s; }
    [data-delay="5"] { transition-delay: 0.6s; }
    [data-delay="6"] { transition-delay: 0.75s; }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      padding: 28px 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: padding 0.5s var(--ease-out-quart),
                  background 0.5s ease,
                  border-color 0.5s ease;
      border-bottom: 1px solid transparent;
    }
    nav.scrolled {
      padding: 18px 60px;
      background: rgba(8,8,8,0.88);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-bottom-color: var(--border);
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 16px;
      text-decoration: none;
    }
    .nav-brand-text {
      display: flex;
      flex-direction: column;
      gap: 1px;
    }
    .nav-brand-name {
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--white);
      letter-spacing: 0.02em;
      line-height: 1;
    }
    .nav-brand-sub {
      font-size: 0.62rem;
      font-weight: 400;
      color: var(--cream);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      line-height: 1;
    }
    .nav-divider {
      width: 1px;
      height: 28px;
      background: var(--border);
    }
    .nav-exp {
      height: 22px;
      width: auto;
      opacity: 0.8;
      filter: brightness(0) invert(1);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 2.5rem;
      list-style: none;
    }
    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: color 0.2s ease;
    }
    .nav-links a:hover { color: var(--white); }
    .nav-cta {
      color: var(--cream) !important;
      border: 1px solid var(--cream-border) !important;
      padding: 8px 22px;
      border-radius: 2px;
      transition: background 0.2s ease, color 0.2s ease !important;
    }
    .nav-cta:hover {
      background: var(--cream-dim) !important;
      color: var(--cream) !important;
    }
    .nav-hamburger {
      display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001;
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(16px) saturate(150%);
      -webkit-backdrop-filter: blur(16px) saturate(150%);
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: 100px; padding: 10px 14px;
      transition: background 0.25s, border-color 0.25s;
    }
    .nav-hamburger:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.22); }
    .nav-hamburger.open { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.25); }
    .nav-hamburger span {
      width: 22px; height: 1.5px; background: var(--white); display: block;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
    }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* ── HERO ── */
    .hero {
      position: relative;
      height: 100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: var(--black);
      scroll-snap-align: start;
      scroll-snap-stop: always;
    }
    .hero-bg-line {
      position: absolute;
      top: 0; bottom: 0;
      right: 42%;
      width: 1px;
      background: linear-gradient(to bottom, transparent 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
      pointer-events: none;
    }
    .hero-photo {
      position: absolute;
      right: 0;
      top: 0;
      height: 100%;
      width: 55%;
      overflow: hidden;
      background: var(--black);
      box-shadow:
        inset 90px   0    80px -10px var(--black),   /* left edge blend  */
        inset 0     160px 100px -10px var(--black),  /* top edge blend   */
        inset 0    -80px  80px -10px var(--black),   /* bottom edge      */
        inset -160px 0   130px -10px var(--black);   /* right edge (heavy) */
    }
    .hero-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
      filter: brightness(0.78) contrast(1.04) saturate(0.80);
      /* fade-in (opacity only) + continuous slow Ken Burns drift (transform) */
      animation: heroImgIn 1.6s var(--ease-out-expo) 0.3s both,
                 kenburns 34s ease-in-out 1.6s infinite alternate;
    }
    /* Overlay sits on the hero itself — spans full width, not clipped by photo container */
    .hero-photo-fade {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        linear-gradient(to right,
          var(--black)           0%,
          var(--black)           36%,
          rgba(8,8,8,0.82)       46%,
          rgba(8,8,8,0.22)       58%,
          transparent            72%),
        linear-gradient(to top,    var(--black) 0%, transparent 10%),
        linear-gradient(to left,   rgba(8,8,8,0.45) 0%, transparent 14%);
      pointer-events: none;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 60px;
      width: 100%;
      padding-top: 120px;
      padding-bottom: 80px;
    }
    .hero-location {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--muted);
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: 28px;
      animation: fadeUp 1s var(--ease-out-expo) 0.2s both;
    }
    .hero-location::before {
      content: '';
      display: block;
      width: 20px; height: 1px;
      background: var(--cream);
      opacity: 0.5;
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(3.8rem, 6.5vw, 6.5rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.0;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
      max-width: 560px;
      animation: fadeUp 1s var(--ease-out-expo) 0.35s both;
    }
    .hero-title {
      font-family: var(--font-display);
      font-style: italic;
      font-size: clamp(1.1rem, 1.8vw, 1.5rem);
      font-weight: 400;
      color: var(--cream);
      letter-spacing: 0.04em;
      margin-bottom: 40px;
      animation: fadeUp 1s var(--ease-out-expo) 0.5s both;
    }
    .hero-rating {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 40px;
      animation: fadeUp 1s var(--ease-out-expo) 0.62s both;
    }
    .hero-stars { color: var(--cream); font-size: 0.85rem; letter-spacing: 3px; }
    .hero-rating-text { color: var(--muted); font-size: 0.8rem; }
    .hero-rating-text strong { color: var(--white); }
    .hero-actions {
      display: flex;
      align-items: center;
      gap: 20px;
      animation: fadeUp 1s var(--ease-out-expo) 0.75s both;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--cream);
      color: var(--black);
      padding: 15px 36px;
      border-radius: 2px;
      font-weight: 600;
      font-size: 0.85rem;
      letter-spacing: 0.06em;
      text-decoration: none;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .btn-primary:hover { background: #fff; transform: translateY(-2px); }
    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: 0.82rem;
      font-weight: 500;
      text-decoration: none;
      letter-spacing: 0.05em;
      transition: color 0.2s ease;
      border: none;
      background: none;
      cursor: pointer;
    }
    .btn-ghost:hover { color: var(--white); }
    .btn-ghost svg { transition: transform 0.2s ease; }
    .btn-ghost:hover svg { transform: translateX(4px); }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-scroll-hint {
      position: absolute;
      bottom: 36px;
      left: 60px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--subtle);
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      animation: fadeUp 1s var(--ease-out-expo) 1.2s both;
    }
    .hero-scroll-line {
      width: 40px; height: 1px;
      background: var(--subtle);
      animation: scrollLine 2s ease infinite 2s;
    }
    @keyframes scrollLine {
      0%   { transform: scaleX(1); transform-origin: left; }
      50%  { transform: scaleX(0); transform-origin: left; }
      50.01% { transform: scaleX(0); transform-origin: right; }
      100% { transform: scaleX(1); transform-origin: right; }
    }

    /* ── STATS ── */
    .stats {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 60px;
      height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      scroll-snap-align: start;
      scroll-snap-stop: always;
    }
    .stats-eyebrow {
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--cream);
      opacity: 0.45;
      margin-bottom: 72px;
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .stats-eyebrow::before, .stats-eyebrow::after {
      content: '';
      display: block;
      width: 48px; height: 1px;
      background: currentColor;
    }
    .stats-inner {
      max-width: 1100px;
      width: 100%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }
    .stat-item {
      text-align: center;
      padding: 0 32px;
      position: relative;
    }
    .stat-item::after {
      content: '';
      position: absolute;
      right: 0; top: 20%; bottom: 20%;
      width: 1px;
      background: var(--border);
    }
    .stat-item:last-child::after { display: none; }
    .stat-number {
      font-family: var(--font-display);
      font-size: clamp(3.2rem, 5.5vw, 5.5rem);
      font-weight: 700;
      color: var(--cream);
      line-height: 1;
      margin-bottom: 16px;
      display: block;
    }
    .stat-label {
      font-size: 0.68rem;
      font-weight: 500;
      color: var(--muted);
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    /* ── ABOUT ── */
    .about {
      padding: 70px 60px;
      background: var(--black);
      min-height: 100vh;
      display: flex;
      align-items: center;
      scroll-snap-align: start;
    }
    .about-inner {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }
    .section-label {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--cream);
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
    }
    .section-label::before {
      content: '';
      display: block;
      width: 20px; height: 1px;
      background: var(--cream);
      opacity: 0.6;
    }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 3.8vw, 3.4rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.1;
      letter-spacing: -0.01em;
      margin-bottom: 32px;
    }
    .section-title em {
      font-style: italic;
      color: var(--cream);
      font-weight: 400;
    }
    .about-bio p {
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.85;
      font-weight: 300;
      margin-bottom: 20px;
    }
    .about-bio p strong { color: rgba(255,255,255,0.8); font-weight: 500; }
    .about-tags {
      margin-top: 36px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .tag {
      padding: 6px 14px;
      border: 1px solid var(--border);
      border-radius: 1px;
      font-size: 0.72rem;
      font-weight: 500;
      color: var(--muted);
      letter-spacing: 0.08em;
      transition: border-color 0.2s, color 0.2s;
    }
    .tag:hover { border-color: var(--cream-border); color: var(--cream); }
    .about-cards {
      display: flex;
      flex-direction: column;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
    }
    .about-card {
      background: var(--surface);
      padding: 32px 36px;
      transition: background 0.25s ease;
    }
    .about-card:hover { background: var(--surface-2); }
    .about-card-num {
      font-family: var(--font-display);
      font-size: 0.72rem;
      color: var(--cream);
      letter-spacing: 0.1em;
      margin-bottom: 12px;
      opacity: 0.7;
    }
    .about-card h4 {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 10px;
    }
    .about-card p {
      color: var(--muted);
      font-size: 0.88rem;
      line-height: 1.7;
      font-weight: 300;
    }
    .service-areas {
      margin-top: 48px;
      padding-top: 40px;
      border-top: 1px solid var(--border);
    }
    .service-areas-label {
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 16px;
    }
    .area-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .area-pill {
      font-size: 0.75rem;
      color: var(--muted);
      padding: 4px 0;
      border-bottom: 1px solid var(--border);
      letter-spacing: 0.04em;
    }

    /* ── REVIEWS ── */
    .reviews {
      background: var(--surface);
      padding: 70px 60px;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      scroll-snap-align: start;
    }
    .reviews-inner {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
    }
    .reviews-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 48px;
    }
    .reviews-score {
      text-align: right;
    }
    .reviews-score-num {
      font-family: var(--font-display);
      font-size: 3.5rem;
      font-weight: 700;
      color: var(--cream);
      line-height: 1;
    }
    .reviews-score-stars {
      color: var(--cream);
      font-size: 0.9rem;
      letter-spacing: 4px;
      display: block;
      margin: 6px 0 4px;
    }
    .reviews-score-sub {
      color: var(--muted);
      font-size: 0.72rem;
      letter-spacing: 0.08em;
    }
    .review-spotlight {
      position: relative;
      min-height: 280px;
      margin-bottom: 48px;
    }
    .review-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transform: translateX(20px);
      transition: opacity 0.7s var(--ease-out-expo),
                  transform 0.7s var(--ease-out-expo);
      pointer-events: none;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .review-slide.active {
      opacity: 1;
      transform: translateX(0);
      pointer-events: auto;
    }
    .review-slide.exit {
      opacity: 0;
      transform: translateX(-20px);
    }
    .review-quote-mark {
      font-family: var(--font-display);
      font-size: 6rem;
      line-height: 0.5;
      color: var(--cream);
      opacity: 0.15;
      margin-bottom: 16px;
      font-weight: 700;
    }
    .review-text {
      font-family: var(--font-display);
      font-size: clamp(1.2rem, 2.2vw, 1.7rem);
      font-style: italic;
      font-weight: 400;
      color: rgba(255,255,255,0.88);
      line-height: 1.55;
      max-width: 860px;
      margin-bottom: 32px;
    }
    .review-meta {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .review-meta-line {
      width: 24px; height: 1px;
      background: var(--cream);
      opacity: 0.4;
    }
    .review-author { color: var(--white); font-size: 0.85rem; font-weight: 500; }
    .review-detail { color: var(--muted); font-size: 0.78rem; }
    .review-platform-badge {
      margin-left: auto;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 4px 10px;
      border: 1px solid var(--border);
      color: var(--muted);
    }
    .review-controls {
      display: flex;
      align-items: center;
      gap: 24px;
    }
    .review-dots {
      display: flex;
      gap: 8px;
    }
    .review-dot {
      width: 24px; height: 2px;
      background: var(--border);
      cursor: pointer;
      transition: background 0.2s ease, width 0.3s ease;
    }
    .review-dot.active {
      background: var(--cream);
      width: 40px;
    }
    .review-nav-btns {
      display: flex;
      gap: 8px;
      margin-left: auto;
    }
    .review-nav-btn {
      width: 40px; height: 40px;
      border: 1px solid var(--border);
      background: none;
      color: var(--muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
      border-radius: 1px;
    }
    .review-nav-btn:hover {
      border-color: var(--cream-border);
      color: var(--cream);
      background: var(--cream-dim);
    }
    .review-platforms {
      margin-top: 40px;
      padding-top: 24px;
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .review-platforms-label {
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      margin-right: 8px;
    }
    .platform-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border: 1px solid var(--border);
      color: var(--muted);
      text-decoration: none;
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      border-radius: 1px;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .platform-link:hover {
      border-color: var(--cream-border);
      color: var(--cream);
      background: var(--cream-dim);
    }

    /* ── SALES ── */
    .sales {
      padding: 70px 60px;
      background: var(--black);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      scroll-snap-align: start;
    }
    .sales-inner {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
    }
    .sales-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 56px;
    }
    .sales-link {
      font-size: 0.75rem;
      color: var(--cream);
      text-decoration: none;
      letter-spacing: 0.1em;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: opacity 0.2s;
    }
    .sales-link:hover { opacity: 0.7; }
    .sales-table {
      width: 100%;
      border-collapse: collapse;
    }
    .sales-table thead th {
      text-align: left;
      font-size: 0.62rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 0 0 16px;
      border-bottom: 1px solid var(--border);
    }
    .sales-table thead th:last-child { text-align: right; }
    .sales-table tbody tr {
      border-bottom: 1px solid var(--border);
      transition: background 0.2s ease;
      cursor: default;
    }
    .sales-table tbody tr:hover { background: var(--surface); }
    .sales-table tbody td {
      padding: 22px 0;
      vertical-align: middle;
    }
    .sales-table tbody td:last-child { text-align: right; }
    .sale-addr {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--white);
      display: block;
    }
    .sale-city {
      font-size: 0.78rem;
      color: var(--muted);
      margin-top: 3px;
      display: block;
    }
    .sale-date-cell { color: var(--muted); font-size: 0.82rem; }
    .sale-role-badge {
      display: inline-block;
      padding: 3px 10px;
      border: 1px solid var(--border);
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border-radius: 1px;
    }
    .role-buyer  { color: var(--cream); border-color: var(--cream-border); }
    .role-seller { color: var(--muted); }
    .role-both   { color: var(--gold); border-color: var(--gold); }
    .sale-price {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--white);
    }

    /* ── ACTIVE LISTINGS ── */
    .listings {
      padding: 100px 60px;
      background: var(--surface);
      min-height: 100vh;
      scroll-snap-align: start;
      display: flex;
      align-items: center;
    }
    .listings-inner {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
    }
    .listings-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3px;
      margin-top: 48px;
    }
    @media (max-width: 1100px) {
      .listings-grid { grid-template-columns: 1fr 1fr; }
    }
    .listing-card {
      position: relative;
      overflow: hidden;
      aspect-ratio: 4/3;
      display: block;
      text-decoration: none;
    }
    .listing-card img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: brightness(0.55);
      transition: transform 0.7s var(--ease-out-expo), filter 0.5s ease;
    }
    .listing-card:hover img {
      transform: scale(1.04);
      filter: brightness(0.42);
    }
    .listing-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.3) 45%, transparent 70%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 36px;
    }
    .listing-card-badge {
      display: inline-block;
      font-size: 0.55rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--cream);
      background: rgba(232,223,208,0.15);
      border: 1px solid var(--cream-border);
      padding: 4px 10px;
      margin-bottom: 14px;
      width: fit-content;
    }
    .listing-card-badge.sold {
      background: var(--gold);
      color: var(--black);
      border-color: var(--gold);
    }
    .listing-card.sold img { filter: brightness(0.82) saturate(0.8); }
    /* Diagonal SOLD ribbon — centered across the card, agent site palette */
    .listing-card.sold::before {
      content: 'SOLD';
      position: absolute;
      top: 50%; left: 50%;
      width: 180%;
      padding: 14px 0;
      background: rgba(232,223,208,0.28);
      backdrop-filter: blur(16px) saturate(160%);
      -webkit-backdrop-filter: blur(16px) saturate(160%);
      color: #080808;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.3em;
      text-align: center;
      transform: translate(-50%, -50%) rotate(45deg);
      z-index: 10;
      box-shadow: 0 4px 28px rgba(0,0,0,0.35);
    }
    .listing-card-price {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 600;
      color: var(--cream);
      line-height: 1;
    }
    .listing-card-address {
      font-size: 0.68rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(232,223,208,0.55);
      margin-top: 8px;
    }
    .listing-card-stats {
      display: flex;
      gap: 14px;
      margin-top: 12px;
      flex-wrap: wrap;
    }
    .listing-card-stats span {
      font-size: 0.6rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.38);
    }
    .listing-card-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 18px;
      font-size: 0.62rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--cream);
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .listing-card:hover .listing-card-cta {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── INSTAGRAM ── */
    .instagram {
      background: var(--black);
      padding: 70px 60px;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      border-top: 1px solid var(--border);
      scroll-snap-align: start;
    }
    .instagram-inner {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
    }
    .instagram-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 48px;
    }
    /* Instagram follow button */
    .ig-follow-btn {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      padding: 10px 18px 10px 10px;
      border: 1px solid var(--cream-border);
      border-radius: 100px;
      text-decoration: none;
      background: rgba(255,255,255,0.03);
      transition: border-color 0.25s ease, background 0.25s ease;
      flex-shrink: 0;
    }
    .ig-follow-btn:hover {
      border-color: rgba(232,223,208,0.32);
      background: rgba(255,255,255,0.06);
    }
    .ig-follow-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      border: 2px solid transparent;
      background:
        linear-gradient(var(--black), var(--black)) padding-box,
        linear-gradient(45deg, #f09433, #dc2743, #bc1888) border-box;
    }
    .ig-follow-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 55% 8%;
    }
    .ig-follow-info {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }
    .ig-follow-handle {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--cream);
      font-family: var(--font-body);
    }
    .ig-follow-label {
      font-size: 0.6rem;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .ig-follow-icon {
      color: var(--cream);
      opacity: 0.55;
      flex-shrink: 0;
    }
    .instagram-feed-wrap {
      width: 100%;
    }
    /* Dark-mode overrides for Behold widget */
    .instagram-feed-wrap behold-widget,
    .instagram-feed-wrap [data-behold-id] {
      --behold-bg: transparent;
      width: 100%;
    }

    /* ── CONTACT ── */
    .contact {
      background: var(--surface);
      padding: 70px 60px;
      border-top: 1px solid var(--border);
      min-height: 100vh;
      display: flex;
      align-items: center;
      scroll-snap-align: start;
    }
    .contact-inner {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }
    .contact-headline {
      font-family: var(--font-display);
      font-size: clamp(3rem, 5vw, 5rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.0;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }
    .contact-headline em {
      color: var(--cream);
      font-style: italic;
      font-weight: 400;
    }
    .contact-sub {
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.7;
      font-weight: 300;
      margin-bottom: 48px;
      max-width: 380px;
    }
    .contact-methods { display: flex; flex-direction: column; gap: 0; }
    .contact-method {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 20px 0;
      border-bottom: 1px solid var(--border);
      text-decoration: none;
      color: var(--white);
      transition: padding-left 0.3s var(--ease-out-expo);
    }
    .contact-method:first-child { border-top: 1px solid var(--border); }
    .contact-method:hover { padding-left: 8px; }
    .contact-method-label {
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      display: block;
      margin-bottom: 4px;
    }
    .contact-method-value {
      font-size: 1.05rem;
      font-weight: 500;
      color: var(--white);
      transition: color 0.2s;
    }
    .contact-method:hover .contact-method-value { color: var(--cream); }
    .contact-method-arrow {
      margin-left: auto;
      color: var(--muted);
      font-size: 1rem;
      transition: transform 0.2s ease, color 0.2s ease;
    }
    .contact-method:hover .contact-method-arrow {
      transform: translateX(4px);
      color: var(--cream);
    }
    .social-row {
      display: flex;
      gap: 12px;
      margin-top: 32px;
    }
    .social-btn {
      padding: 8px 16px;
      border: 1px solid var(--border);
      color: var(--muted);
      text-decoration: none;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      border-radius: 1px;
      transition: border-color 0.2s, color 0.2s;
    }
    .social-btn:hover { border-color: var(--cream-border); color: var(--cream); }

    /* Form */
    .contact-form {
      background: var(--surface-2);
      border: 1px solid var(--border);
      padding: 48px;
    }
    .form-heading {
      font-family: var(--font-display);
      font-size: 1.3rem;
      color: var(--white);
      margin-bottom: 32px;
      font-weight: 600;
    }
    .form-group { margin-bottom: 20px; }
    .form-group label {
      display: block;
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 8px;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--border);
      padding: 10px 0;
      color: var(--white);
      font-family: var(--font-body);
      font-size: 0.95rem;
      font-weight: 300;
      outline: none;
      transition: border-color 0.2s;
      border-radius: 0;
      -webkit-appearance: none;
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: var(--subtle); }
    .form-group input:focus,
    .form-group textarea:focus { border-bottom-color: var(--cream); }
    .form-group textarea { height: 80px; resize: none; }
    .form-group select option { background: var(--surface-2); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .form-submit {
      width: 100%;
      background: var(--cream);
      color: var(--black);
      border: none;
      padding: 15px;
      font-family: var(--font-body);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      cursor: pointer;
      margin-top: 12px;
      border-radius: 1px;
      transition: background 0.2s, transform 0.2s;
    }
    .form-submit:hover { background: var(--white); transform: translateY(-1px); }

    /* ── SECTION NAV DOTS ── */
    .section-nav {
      position: fixed;
      right: 28px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 600;
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: center;
    }
    .section-nav-item {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      cursor: pointer;
    }
    .section-nav-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(255,255,255,0.18);
      border: none;
      padding: 0;
      cursor: pointer;
      transition: background 0.35s ease, transform 0.35s ease;
      display: block;
      flex-shrink: 0;
    }
    .section-nav-item:hover .section-nav-dot {
      background: rgba(255,255,255,0.5);
    }
    .section-nav-item.active .section-nav-dot {
      background: var(--cream);
      transform: scale(1.8);
    }
    .section-nav-tip {
      position: absolute;
      right: 18px;
      white-space: nowrap;
      font-size: 0.6rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--cream);
      background: rgba(8,8,8,0.85);
      padding: 4px 10px;
      border: 1px solid var(--cream-border);
      opacity: 0;
      transform: translateX(6px);
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .section-nav-item:hover .section-nav-tip {
      opacity: 1;
      transform: translateX(0);
    }

    /* ── FOOTER ── */
    footer {
      background: var(--black);
      padding: 28px 60px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-brand {
      font-family: var(--font-display);
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--white);
    }
    .footer-brand span { color: var(--cream); }
    .footer-mid {
      color: var(--muted);
      font-size: 0.72rem;
      text-align: center;
      letter-spacing: 0.06em;
    }
    .footer-right {
      color: rgba(255,255,255,0.25);
      font-size: 0.68rem;
      text-align: right;
      letter-spacing: 0.04em;
      line-height: 1.6;
    }

    /* Sales mobile cards — hidden on desktop, shown in mobile breakpoint below */
    .sales-mobile { display: none; }
    .sale-mobile-card {
      padding: 20px 0;
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }
    .sale-mobile-card:first-child { border-top: 1px solid var(--border); }
    .sale-mobile-card .sale-price { font-size: 1rem; }

    /* ── RESPONSIVE ── */
    @media (max-width: 1024px) {
      nav { padding: 22px 36px; }
      nav.scrolled { padding: 16px 36px; }
      .hero-content { padding: 0 36px; padding-top: 100px; }
      .hero-photo { width: 50%; }
      .hero-scroll-hint { left: 36px; }
      .stats { padding: 56px 36px; }
      .about, .reviews, .sales, .contact { padding: 60px 36px; }
      .about-inner, .contact-inner { gap: 60px; }
      footer { padding: 24px 36px; }
      .section-nav { right: 18px; }
    }
    @media (max-width: 900px) {
      /* Glass overlay for mobile nav */
      .nav-links {
        display: flex; flex-direction: column; position: fixed; inset: 0;
        background:
          radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 55%),
          rgba(6, 6, 6, 0.52);
        backdrop-filter: blur(40px) saturate(150%);
        -webkit-backdrop-filter: blur(40px) saturate(150%);
        align-items: center; justify-content: center; gap: 2.5rem;
        z-index: 999; list-style: none;
        opacity: 0; visibility: hidden; pointer-events: none; transform: scale(0.97);
        transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0s linear 0.45s;
      }
      .nav-links::before {
        content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.18) 30%, rgba(255,255,255,0.18) 70%, transparent);
        pointer-events: none;
      }
      .nav-links.open {
        opacity: 1; visibility: visible; pointer-events: auto; transform: scale(1);
        transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0s linear 0s;
      }
      .nav-links.open a { font-size: 1.1rem; letter-spacing: 0.15em; }
      /* Link stagger */
      .nav-links > li {
        transform: translateY(20px); opacity: 0;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
      }
      .nav-links.open > li { transform: translateY(0); opacity: 1; }
      .nav-links.open > li:nth-child(1) { transition-delay: 0.07s; }
      .nav-links.open > li:nth-child(2) { transition-delay: 0.13s; }
      .nav-links.open > li:nth-child(3) { transition-delay: 0.19s; }
      .nav-links.open > li:nth-child(4) { transition-delay: 0.25s; }
      .nav-links.open > li:nth-child(5) { transition-delay: 0.31s; }
      .nav-hamburger { display: flex; }
    }
    @media (max-width: 768px) {
      nav { padding: 20px 24px; }
      nav.scrolled { padding: 14px 24px; }

      /* Hero */
      .hero-content { padding: 0 24px; padding-top: 90px; padding-bottom: 60px; position: relative; z-index: 2; }
      .hero-bg-line { display: none; }
      .hero h1 { font-size: clamp(3rem, 10vw, 4rem); max-width: none; }
      .hero-scroll-hint { left: 24px; }
      .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
      .btn-primary { white-space: nowrap; }

      /* Hero photo — full-bleed atmospheric background on mobile */
      .hero-photo {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        box-shadow: none;
      }
      .hero-photo img {
        filter: brightness(0.52) contrast(1.05) saturate(0.5);
        object-position: 55% top;
      }
      .hero-photo-fade {
        background:
          linear-gradient(to bottom, rgba(8,8,8,0.2) 0%, rgba(8,8,8,0.5) 45%, var(--black) 84%),
          linear-gradient(to right, var(--black) 0%, rgba(8,8,8,0.75) 38%, rgba(8,8,8,0.2) 65%, transparent 85%);
      }

      /* Stats — remove full-screen treatment on mobile */
      .stats {
        padding: 56px 24px;
        height: auto;
        min-height: auto;
        justify-content: flex-start;
      }
      .stats-eyebrow { margin-bottom: 40px; }
      .section-nav { display: none; }
      .stats-inner { grid-template-columns: 1fr 1fr; gap: 0; }
      .stat-item { padding: 24px 12px; }
      .stat-item::after { display: none; }
      .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
      .stat-item:nth-child(n+3) { border-top: 1px solid var(--border); }
      .stat-label { font-size: 0.58rem; letter-spacing: 0.1em; }

      /* Sections */
      .about, .reviews, .sales, .listings, .contact, .instagram { padding: 60px 24px; }
      .listings { min-height: auto; display: block; }
      .listings-grid { grid-template-columns: 1fr; gap: 3px; margin-top: 32px; }
      .listing-card { aspect-ratio: 3/2; }
      .listing-card-price { font-size: 1.5rem; }
      .listing-card-overlay { padding: 24px; }
      .listing-card-cta { opacity: 1; transform: none; }
      .about-inner { grid-template-columns: 1fr; gap: 48px; }

      /* Reviews */
      .reviews-top { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
      .reviews-score { text-align: left; }
      .review-text { font-size: clamp(1rem, 4.5vw, 1.2rem); }
      .review-spotlight { min-height: 380px; }
      .review-meta { flex-wrap: wrap; gap: 8px; }
      .review-platform-badge { margin-left: 0; }

      /* Instagram */
      .instagram { min-height: auto; }
      .instagram-top { flex-direction: column; align-items: flex-start; gap: 12px; }

      /* Sales */
      .sales-table { display: none; }
      .sales-mobile { display: block; }

      /* Instagram — section label fix */
      .section-label { letter-spacing: 0.12em; }
      .section-label::before { width: 14px; }

      /* Contact */
      .contact-inner { grid-template-columns: 1fr; gap: 48px; }

      /* Footer */
      footer { padding: 24px; flex-direction: column; text-align: center; }
      .footer-right { text-align: center; }
    }

    /* ═══════════════════════════════════════════════
       TIER 2 + 3 — atmosphere, cinematic hero, home-value
       CTA, expandable closings, FAQ, sticky mobile bar
       ═══════════════════════════════════════════════ */

    :root { --gold: #C9A86A; }   /* was referenced by .listing-card-badge.sold but never defined */

    /* ── CINEMATIC HERO ── */
    @keyframes heroImgIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes kenburns {
      0%   { transform: scale(1)    translate3d(0, 0, 0); }
      100% { transform: scale(1.09) translate3d(-1.5%, -2%, 0); }
    }
    /* Warm cinematic glow behind the headline. ::after sits above the dark
       photo-fade (z1) but below the text (z2), so it lights the text column
       without washing out the photo. */
    .hero::after {
      content: "";
      position: absolute;
      inset: -10%;
      z-index: 1;
      pointer-events: none;
      background:
        radial-gradient(38% 50% at 22% 60%, rgba(201,168,106,0.17) 0%, transparent 60%),
        radial-gradient(30% 42% at 6% 28%,  rgba(232,223,208,0.07) 0%, transparent 62%);
      animation: heroGlowDrift 26s ease-in-out infinite alternate;
    }
    @keyframes heroGlowDrift {
      0%   { transform: translate3d(0, 0, 0) scale(1); }
      100% { transform: translate3d(2.5%, -2%, 0) scale(1.08); }
    }
    .hero-scroll-hint { z-index: 3; }   /* keep above the glow */

    .hero-towns {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: -22px;
      margin-bottom: 30px;
      min-height: 1.3em;
      animation: fadeUp 1s var(--ease-out-expo) 0.68s both;
    }
    .hero-towns-label {
      font-size: 0.68rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .hero-town {
      font-family: var(--font-display);
      font-style: italic;
      font-size: 1.05rem;
      color: var(--cream);
      letter-spacing: 0.02em;
    }
    .hero-caret {
      width: 1.5px;
      height: 1.05em;
      background: var(--cream);
      display: inline-block;
      margin-left: 1px;
      animation: caretBlink 1.05s steps(1) infinite;
    }
    @keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

    /* ── ATMOSPHERE: warm depth + film grain ── */
    /* Faint warm glows baked into each section's opaque background — varied
       positions so the page reads as lit, not flat. Contrast is preserved:
       the base color stays, the glow is a whisper on top. */
    .stats {
      background: radial-gradient(60% 80% at 85% 18%, rgba(201,168,106,0.05) 0%, transparent 60%), var(--surface);
    }
    .reviews {
      background: radial-gradient(55% 70% at 12% 22%, rgba(232,223,208,0.045) 0%, transparent 60%), var(--surface);
    }
    .listings {
      background: radial-gradient(60% 75% at 90% 85%, rgba(201,168,106,0.05) 0%, transparent 62%), var(--surface);
    }
    .contact {
      background: radial-gradient(55% 70% at 18% 90%, rgba(201,168,106,0.055) 0%, transparent 60%), var(--surface);
    }
    .about {
      background: radial-gradient(50% 60% at 95% 12%, rgba(201,168,106,0.035) 0%, transparent 60%), var(--black);
    }
    .sales {
      background: radial-gradient(50% 60% at 5% 90%, rgba(201,168,106,0.035) 0%, transparent 60%), var(--black);
    }
    /* Global film grain — ties every surface into one material. Whisper of
       opacity, blends over content, never intercepts clicks. */
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 9999;
      pointer-events: none;
      opacity: 0.035;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 200px 200px;
    }

    /* ── HOME-VALUE CTA BAND ── */
    .home-value {
      position: relative;
      overflow: hidden;
      background: radial-gradient(70% 130% at 50% 0%, rgba(201,168,106,0.10) 0%, transparent 60%), var(--black);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 84px 60px;
    }
    .home-value-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 48px;
      flex-wrap: wrap;
    }
    .home-value-text { max-width: 640px; }
    .home-value h2 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 3.4vw, 3rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.08;
      letter-spacing: -0.01em;
      margin-bottom: 16px;
    }
    .home-value h2 em { font-style: italic; color: var(--cream); font-weight: 400; }
    .home-value p {
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.7;
      font-weight: 300;
    }
    .home-value-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--cream);
      color: var(--black);
      padding: 16px 34px;
      border-radius: 2px;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 0.85rem;
      letter-spacing: 0.05em;
      text-decoration: none;
      border: none;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .home-value-cta:hover { background: #fff; transform: translateY(-2px); }
    .home-value-cta svg { transition: transform 0.2s ease; }
    .home-value-cta:hover svg { transform: translateX(4px); }

    /* ── EXPANDABLE CLOSINGS ── */
    .sales-table tbody tr.sale-row { cursor: pointer; }
    /* the real control: a transparent button filling the first cell */
    .sale-toggle {
      display: block;
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      padding: 0;
      margin: 0;
      font: inherit;
      color: inherit;
      cursor: pointer;
    }
    .sale-toggle:focus-visible {
      outline: 2px solid var(--cream);
      outline-offset: 3px;
    }
    .sales-table tbody tr.sale-row:has(.sale-toggle[aria-expanded="true"]) { background: var(--surface); }
    .sale-toggle-icon {
      display: inline-flex;
      margin-left: 10px;
      color: var(--muted);
      vertical-align: middle;
      transition: transform 0.35s var(--ease-out-expo), color 0.2s ease;
    }
    .sale-toggle[aria-expanded="true"] .sale-toggle-icon { transform: rotate(90deg); color: var(--cream); }
    .sales-table tbody tr.sale-detail-row { border-bottom: none; cursor: default; }
    .sales-table tbody tr.sale-detail-row:hover { background: transparent; }
    .sale-detail-row td { padding: 0 !important; }
    .sale-detail-panel {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.45s var(--ease-out-expo);
    }
    .sale-detail-inner {
      padding: 2px 0 26px;
      margin-bottom: 4px;
      border-left: 2px solid var(--cream-border);
      padding-left: 18px;
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.7;
      font-weight: 300;
      max-width: 760px;
    }
    .sale-detail-tag {
      display: inline-block;
      font-size: 0.6rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--cream);
      margin-bottom: 8px;
    }
    /* Mobile closing card becomes a column: top row (address | price) above,
       expandable detail below. Overrides the original flex-row card. */
    .sale-mobile-card {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      cursor: pointer;
    }
    .sale-mobile-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      width: 100%;
    }
    .sale-mobile-card-top > div { min-width: 0; }
    .sale-mobile-card-top .sale-price { flex-shrink: 0; }

    /* ── FAQ ── */
    .faq {
      background: radial-gradient(60% 70% at 85% 10%, rgba(201,168,106,0.035) 0%, transparent 60%), var(--black);
      padding: 90px 60px;
      border-top: 1px solid var(--border);
      scroll-snap-align: start;
    }
    .faq-inner { max-width: 920px; margin: 0 auto; }
    .faq-head { margin-bottom: 44px; }
    .faq-list { border-top: 1px solid var(--border); }
    .faq-item { border-bottom: 1px solid var(--border); }
    .faq-q {
      width: 100%;
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 26px 0;
      color: var(--white);
      font-family: var(--font-display);
      font-size: clamp(1.05rem, 1.8vw, 1.35rem);
      font-weight: 600;
      transition: color 0.2s ease;
    }
    .faq-q:hover { color: var(--cream); }
    .faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
    .faq-icon::before, .faq-icon::after {
      content: '';
      position: absolute;
      background: var(--cream);
      transition: transform 0.35s var(--ease-out-expo), opacity 0.3s ease;
    }
    .faq-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
    .faq-icon::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
    .faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out-expo); }
    .faq-a-inner {
      padding: 0 0 28px;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.8;
      font-weight: 300;
      max-width: 780px;
    }

    /* ── STICKY MOBILE CONTACT BAR ── */
    .mobile-bar {
      display: none;
      position: fixed;
      left: 0; right: 0; bottom: 0;
      z-index: 800;
      background: rgba(8,8,8,0.86);
      backdrop-filter: blur(22px) saturate(150%);
      -webkit-backdrop-filter: blur(22px) saturate(150%);
      border-top: 1px solid var(--cream-border);
      padding-bottom: env(safe-area-inset-bottom, 0px);
      transform: translateY(120%);
      transition: transform 0.4s var(--ease-out-expo);
    }
    .mobile-bar.show { transform: translateY(0); }
    .mobile-bar-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
    .mobile-bar a {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      padding: 12px 6px;
      color: var(--cream);
      text-decoration: none;
      font-size: 0.62rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    .mobile-bar a:not(:last-child) { border-right: 1px solid var(--border); }
    .mobile-bar a svg { width: 18px; height: 18px; }
    .mobile-bar a.primary { background: var(--cream); color: var(--black); }

    /* ── RESPONSIVE for new sections ── */
    @media (max-width: 1024px) {
      .home-value, .faq { padding: 70px 36px; }
    }
    @media (max-width: 768px) {
      .home-value { padding: 56px 24px; }
      .home-value-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
      .home-value-cta { width: 100%; justify-content: center; padding: 16px; }
      .faq { padding: 60px 24px; }
      .mobile-bar { display: block; }
      footer { padding-bottom: 92px; }   /* clear the fixed bar */
    }

    /* ── REDUCED MOTION ── */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
      html { scroll-snap-type: none !important; }
    }

