
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --crimson: #80141d;
      --crimson-dark: #5c0e16;
      --crimson-light: #f5e8e9;
      --white: #ffffff;
      --off-white: #faf9f7;
      --section-alt: #f2f0ed;
      --warm-panel: #ede9e4;
      --text-primary: #1a1614;
      --text-secondary: #4a4540;
      --text-muted: #857e78;
      --border: #e2ddd8;
      --font-display: 'Cormorant Garamond', serif;
      --font-body: 'Montserrat', sans-serif;
      --font-brokerage: 'Lora', serif;
      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --t: 250ms cubic-bezier(0.16, 1, 0.3, 1);
    }
    html { font-size: 16px; min-width: 320px; overflow-x: hidden; }
    body {
      font-family: var(--font-body);
      font-weight: 400;
      line-height: 1.65;
      letter-spacing: -0.005em;
      color: var(--text-primary);
      background: var(--white);
      overflow-x: hidden;
      max-width: 100%;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      font-kerning: normal;
    }
    p { font-weight: 300; line-height: 1.9; letter-spacing: 0; text-wrap: pretty; }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

    /* ── TOP NAV ── */
    #topnav {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 64px;
      background: rgba(255,255,255,0.98);
      border-bottom: 1px solid rgba(128,20,29,0.08);
      z-index: 1200;
    }
    .tn-inner {
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 1.25rem;
      height: 100%;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .tn-logo {
      flex-shrink: 0;
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      padding: 0;
      text-decoration: none;
    }
    .tn-logo img { height: 38px; width: auto; display: block; }
    .tn-logo-text {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      color: var(--text-primary);
      line-height: 1.15;
    }
    .tn-logo-sub {
      font-family: var(--font-brokerage);
      font-size: 0.55rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--crimson);
    }

    /* Nav links */
    .tn-links {
      display: flex;
      align-items: center;
      list-style: none;
      gap: 0;
      flex: 1;
      height: 100%;
    }
    .tn-links > li { display: flex; align-items: center; height: 100%; }
    .tn-link {
      -webkit-appearance: none;
      appearance: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      min-height: 40px;
      margin: 0;
      background: none;
      border: none;
      cursor: pointer;
      font-family: var(--font-body);
      font-size: 0.7rem;
      font-weight: 600;
      line-height: 1;
      letter-spacing: 0.065em;
      text-transform: uppercase;
      color: var(--text-secondary);
      padding: 0.45rem 0.6rem;
      white-space: nowrap;
      transition: color 280ms var(--ease-out), background-color 280ms var(--ease-out),
                  transform 280ms var(--ease-out);
      position: relative;
      text-decoration: none;
    }
    .tn-link::after {
      content: '';
      position: absolute;
      bottom: -1px; left: 0.6rem; right: 0.6rem;
      height: 2px;
      background: var(--crimson);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 200ms var(--ease-out);
    }
    .tn-link:hover { color: var(--crimson); background: rgba(128,20,29,0.05); transform: translateY(-1px); }
    .tn-link:active { transform: translateY(0); }
    .tn-link:hover::after,
    .tn-link.active, .tn-link[aria-current="page"] { color: var(--crimson); }
    .tn-link.active::after, .tn-link[aria-current="page"]::after { transform: scaleX(1); }

    /* Dropdown parent */
    .tn-dropdown { position: relative; }
    .tn-has-drop::after {
      content: '';
      display: inline-block;
      margin-left: 5px;
      width: 0; height: 0;
      border: 4px solid transparent;
      border-top-color: currentColor;
      vertical-align: middle;
      position: relative;
      top: 1px;
      transition: transform 200ms;
    }
    .tn-dropdown:hover .tn-has-drop::after,
    .tn-dropdown:focus-within .tn-has-drop::after { transform: rotate(180deg); }

    /* Dropdown panel */
    .tn-sub {
      position: absolute;
      top: 100%;
      left: 0;
      background: var(--white);
      border: 1px solid var(--border);
      border-top: 2px solid var(--crimson);
      list-style: none;
      min-width: 210px;
      padding: 0.4rem 0;
      box-shadow: 0 12px 32px rgba(0,0,0,0.09);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-4px) scale(0.985);
      transform-origin: top left;
      transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 220ms;
      z-index: 200;
    }
    /* Bridge gap so dropdown stays open when mouse moves from link to panel */
    .tn-dropdown::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      height: 8px;
    }
    .tn-dropdown:hover .tn-sub,
    .tn-dropdown:focus-within .tn-sub {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .tn-sub li button,
    .tn-sub li a {
      display: block;
      width: 100%;
      padding: 0.7rem 1.25rem;
      text-align: left;
      background: none;
      border: none;
      cursor: pointer;
      font-family: var(--font-body);
      font-size: 0.74rem;
      font-weight: 500;
      line-height: 1.35;
      letter-spacing: 0.015em;
      color: var(--text-secondary);
      transition: color var(--t), background var(--t);
      text-decoration: none;
    }
    .tn-sub li button:hover, .tn-sub li a:hover { color: var(--crimson); background: var(--crimson-light); }
    .tn-sub li button.active, .tn-sub li a.active { color: var(--crimson); font-weight: 500; }

    /* Right side CTA + hamburger */
    .tn-right {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-shrink: 0;
    }
    .tn-cta {
      font-family: var(--font-body);
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.075em;
      text-transform: uppercase;
      color: var(--white);
      background: var(--crimson);
      border: none;
      cursor: pointer;
      min-height: 40px;
      padding: 0.55rem 1.05rem;
      white-space: nowrap;
      transition: background var(--t);
      text-decoration: none;
    }
    .tn-cta:hover { background: var(--crimson-dark); }
    .tn-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      flex-shrink: 0;
    }
    .tn-hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
      transition: transform 0.2s, opacity 0.2s;
    }
    @media (max-width: 860px) {
      .tn-links { display: none; }
      .tn-cta { display: none; }
      .tn-hamburger { display: flex; }
    }

    /* ── MOBILE DRAWER ── */
    #mobile-drawer {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--white);
      z-index: 90;
      flex-direction: column;
      padding: 80px 1.5rem 2rem;
      gap: 0;
      overflow-y: auto;
    }
    #mobile-drawer.open { display: flex; }
    .drawer-section-label {
      font-size: 0.6rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-muted);
      padding: 1.25rem 1rem 0.4rem;
    }
    .drawer-tab {
      display: block;
      padding: 0.8rem 1rem;
      font-family: var(--font-body);
      font-size: 0.78rem;
      font-weight: 400;
      letter-spacing: 0.06em;
      color: var(--text-secondary);
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      width: 100%;
      transition: color var(--t), background var(--t);
      border-radius: 3px;
      text-decoration: none;
    }
    .drawer-tab:hover { background: var(--section-alt); color: var(--text-primary); }
    .drawer-tab.active, .drawer-tab[aria-current="page"] { color: var(--crimson); background: var(--crimson-light); font-weight: 500; }
    .drawer-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }
    .drawer-cta {
      margin-top: 1.25rem;
      padding: 1rem;
      font-family: var(--font-body);
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--white);
      background: var(--crimson);
      border: none;
      cursor: pointer;
      width: 100%;
      text-decoration: none;
    }

    /* ── MAIN CONTENT ── */
    #main {
      padding-top: 64px;
      min-height: 100vh;
    }

    .tab-panel {
      display: none;
      animation: fadeIn 0.4s var(--ease-out);
    }
    .tab-panel.active { display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

    /* ── SHARED ── */
    .container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3.5rem); }
    .section-pad { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 0.17em;
      text-transform: uppercase;
      color: var(--crimson);
      margin-bottom: 1rem;
    }
    .section-label::before { content: ''; width: 28px; height: 1px; background: var(--crimson); }
    .section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; line-height: 1.1; color: var(--text-primary); }
    .section-title em { font-style: italic; font-weight: 400; color: var(--crimson); }
    .section-sub { font-size: 0.96rem; line-height: 1.9; letter-spacing: 0; color: var(--text-secondary); font-weight: 300; max-width: 540px; margin-top: 1rem; }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 0.5rem;
      font-family: var(--font-body); font-size: 0.73rem; font-weight: 600; letter-spacing: 0.085em; text-transform: uppercase;
      color: var(--white); background: var(--crimson); padding: 1rem 2rem; border: none; cursor: pointer; text-decoration: none;
      transition: background var(--t), transform var(--t);
    }
    .btn-primary:hover { background: var(--crimson-dark); transform: translateY(-2px); }
    .btn-outline {
      display: inline-flex; align-items: center; gap: 0.5rem;
      font-family: var(--font-body); font-size: 0.73rem; font-weight: 600; letter-spacing: 0.085em; text-transform: uppercase;
      color: var(--text-primary); background: transparent; padding: 1rem 2rem; border: 1px solid var(--border); cursor: pointer; text-decoration: none;
      transition: border-color var(--t), background var(--t), transform var(--t);
    }
    .btn-outline:hover { border-color: var(--crimson); color: var(--crimson); transform: translateY(-2px); }


    /* Delayed consultation popup */
    .lead-popup-overlay { position:fixed;inset:0;z-index:900;background:rgba(26,22,20,0.6);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:1rem;opacity:0;visibility:hidden;transition:opacity 0.3s,visibility 0.3s; }
    .lead-popup-overlay.show { opacity:1;visibility:visible; }
    .lead-popup { background:var(--white);max-width:480px;width:100%;padding:2.5rem;position:relative;opacity:0;transform:translateY(18px) scale(0.985);transition:opacity 360ms var(--ease-out),transform 360ms var(--ease-out); }
    .lead-popup-overlay.show .lead-popup { opacity:1;transform:none; }
    .lead-popup-close { position:absolute;top:0.75rem;right:0.75rem;background:none;border:none;cursor:pointer;color:var(--text-muted);width:44px;height:44px;padding:0.75rem;line-height:1;display:flex;align-items:center;justify-content:center; }
    .lead-popup-close:hover { color:var(--crimson); }
    .lead-popup h3 { font-family:var(--font-display);font-size:1.6rem;font-weight:600;color:var(--text-primary);margin-bottom:0.5rem; }
    .lead-popup p { font-size:0.85rem;color:var(--text-secondary);line-height:1.85;letter-spacing:0;margin-bottom:1.5rem; }
    .lead-popup input,.lead-popup textarea { width:100%;box-sizing:border-box;border:1px solid var(--border);padding:0.75rem 1rem;font-family:var(--font-body);font-size:0.85rem;color:var(--text-primary);background:var(--off-white);margin-bottom:0.75rem;outline:none;transition:border-color 220ms ease,background 220ms ease,box-shadow 220ms ease; }
    .lead-popup input:focus,.lead-popup textarea:focus { border-color:var(--crimson); }
    .lead-popup textarea { height:80px;resize:none; }
    .lead-popup-submit { width:100%;padding:0.9rem;background:var(--crimson);color:var(--white);border:none;cursor:pointer;font-family:var(--font-body);font-size:0.75rem;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;margin-top:0.25rem; }
    .lead-popup-submit:hover { background:var(--crimson-dark); }
    .lead-popup-skip { display:block;text-align:center;font-size:0.72rem;color:var(--text-muted);margin-top:0.75rem;cursor:pointer;background:none;border:none;width:100%; }
    .lead-popup-skip:hover { color:var(--crimson); }

    /* ─────────────────────────────────────────
       TAB 1: HOME
    ───────────────────────────────────────── */
    #panel-home { /* layout handled by inner <section> */ }
    .home-bg {
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 60% 70% at 80% 30%, rgba(128,20,29,0.06) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(128,20,29,0.04) 0%, transparent 65%);
    }
    .home-grid-bg {
      position: absolute; inset: 0;
      background-image: linear-gradient(rgba(128,20,29,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(128,20,29,0.04) 1px, transparent 1px);
      background-size: 70px 70px;
    }
    .home-hero {
      position: relative; z-index: 2;
      padding: clamp(5rem, 10vw, 8rem) 0 5rem;
    }
    .home-eyebrow {
      display: inline-flex; align-items: center; gap: 0.75rem;
      font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--crimson); margin-bottom: 1.75rem;
    }
    .home-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--crimson); }
    .home-title {
      font-family: var(--font-display);
      font-size: clamp(2.8rem, 7vw, 6.1rem);
      font-weight: 600; line-height: 1.06; letter-spacing: -0.01em;
      color: var(--text-primary); max-width: 760px;
    }
    .home-title em { font-style: italic; font-weight: 400; color: var(--crimson); }
    .home-tagline {
      margin-top: 1.75rem;
      font-size: clamp(0.92rem, 1.8vw, 1.02rem); font-weight: 500; letter-spacing: 0.01em;
      color: var(--text-primary); max-width: 560px; line-height: 1.75;
    }
    .home-actions { margin-top: 2.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }
    .home-actions .btn-outline { color: var(--text-primary); border-color: rgba(128,20,29,0.28); background: rgba(255,255,255,0.88); }
    .home-actions .btn-outline:hover { color: var(--crimson); border-color: var(--crimson); background: var(--crimson-light); }

    .home-stats {
      position: relative; z-index: 2;
      background: var(--white);
      border-top: 1px solid var(--border);
      padding: 2.5rem 0;
    }
    .home-stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      text-align: center; gap: 1rem;
    }
    @media (max-width: 600px) { .home-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
    @media (max-width: 768px) { .home-hero-headshot { display: none !important; } .home-hero .container { grid-template-columns: 1fr !important; } }
    .home-stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 600; color: var(--crimson); }
    .home-stat-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.35rem; }

    /* ─────────────────────────────────────────
       TAB 2: LISTINGS
    ───────────────────────────────────────── */
    #panel-listings { background: var(--white); }
    .search-wrap {
      background: var(--section-alt);
      border-bottom: 1px solid var(--border);
      padding: 2.5rem 0;
    }
    .search-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1.5rem; }
    .search-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr auto;
      gap: 0.75rem; align-items: end;
    }
    @media (max-width: 860px) { .search-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 520px) { .search-grid { grid-template-columns: 1fr; } }
    .sf label { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
    .sf input, .sf select {
      width: 100%; height: 48px; padding: 0 0.9rem;
      font-family: var(--font-body); font-size: 0.88rem; color: var(--text-primary);
      background: var(--white); border: 1px solid var(--border); outline: none;
      appearance: none; -webkit-appearance: none;
      transition: border-color var(--t), background var(--t);
    }
    .sf input::placeholder { color: var(--text-muted); }
    .sf select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23857e78' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem; }
    .sf select option { background: var(--white); color: var(--text-primary); }
    .sf input:focus, .sf select:focus { border-color: var(--crimson); background: var(--white); }
    .search-btn {
      height: 48px; padding: 0 1.5rem;
      font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--white); background: var(--crimson); border: none; cursor: pointer; white-space: nowrap;
      transition: background var(--t);
    }
    .search-btn:hover { background: var(--crimson-dark); }
    .search-note { margin-top: 0.9rem; font-size: 0.72rem; color: var(--text-muted); font-style: italic; }

    .listings-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 1.25rem;
      margin-top: 3rem;
    }
    @media (max-width: 400px) { .listings-grid { grid-template-columns: 1fr; } }
    .listing-card {
      border: 1px solid var(--border); overflow: hidden; cursor: pointer;
      transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    }
    .listing-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,0.1); border-color: transparent; }
    .lc-img { height: 220px; position: relative; overflow: hidden; }
    .lc-img-bg { width: 100%; height: 100%; transition: transform 0.6s var(--ease-out); }
    .listing-card:hover .lc-img-bg { transform: scale(1.05); }
    .lc-badge {
      position: absolute; top: 0.9rem; left: 0.9rem;
      font-size: 0.62rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
      color: var(--white); background: var(--crimson); padding: 0.28rem 0.7rem;
    }
    .lc-badge.prestige { background: var(--text-primary); color: var(--white); }
    .lc-price {
      position: absolute; bottom: 0.9rem; left: 0.9rem;
      font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
      color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    }
    .lc-body { padding: 1.4rem; }
    .lc-address { font-size: 1rem; font-weight: 500; color: var(--text-primary); margin-bottom: 0.3rem; }
    .lc-hood { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; }
    .lc-stats { display: flex; gap: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
    .lc-stat { font-size: 0.78rem; color: var(--text-secondary); }
    .lc-stat strong { color: var(--text-primary); font-weight: 500; }

    /* ─────────────────────────────────────────
       TAB 3: ABOUT
    ───────────────────────────────────────── */
    #panel-about { background-color: var(--off-white); }
    .about-grid {
      display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(3rem, 6vw, 6rem); align-items: start;
    }
    @media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } }
    .about-photo {
      width: 100%; aspect-ratio: 3/4;
      background: var(--section-alt);
      position: relative; overflow: hidden;
    }
    .about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
    .about-photo-inner {
      position: absolute; inset: 0; display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 0.75rem;
    }
    .about-photo-inner svg { opacity: 0.15; color: var(--text-muted); }
    .about-photo-inner p { font-size: 0.7rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
    .about-accent { position: absolute; top: 1.5rem; right: -1rem; width: 2.5rem; height: calc(100% - 3rem); border: 1px solid rgba(128,20,29,0.15); pointer-events: none; }
    .about-bio { font-size: 0.93rem; line-height: 1.95; letter-spacing: 0; color: var(--text-secondary); font-weight: 300; margin-top: 1.25rem; }
    .about-family-photo { width: 100%; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 2rem; background: var(--section-alt); }
    .about-family-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .cred-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
    .cred {
      display: flex; gap: 1rem; align-items: flex-start;
      padding: 1.25rem; background: var(--white); border: 1px solid var(--border);
    }
    .about-photo-placeholder {
      width: 100%; height: 100%; min-height: 100%;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 0.8rem; padding: 2rem; text-align: center;
      background: linear-gradient(145deg, #eee9e3 0%, #ddd5cc 100%);
      color: var(--text-muted);
    }
    .about-photo-placeholder::before {
      content: ''; width: 42px; height: 1px; background: var(--crimson);
    }
    .about-photo-placeholder strong {
      font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-secondary);
    }
    .about-photo-placeholder span { max-width: 230px; font-size: 0.75rem; line-height: 1.6; }
    .about-proof-strip {
      display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
      margin-top: clamp(3rem, 6vw, 5rem); border: 1px solid var(--border); background: var(--white);
    }
    .about-proof-item { min-width: 0; padding: 1.6rem 1.4rem; border-right: 1px solid var(--border); }
    .about-proof-item:last-child { border-right: 0; }
    .about-proof-item strong {
      display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; color: var(--text-primary);
    }
    .about-proof-item span { display: block; margin-top: 0.55rem; font-size: 0.68rem; line-height: 1.55; color: var(--text-muted); }
    .about-story-grid {
      display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
      gap: clamp(3rem, 7vw, 6rem); align-items: center;
    }
    .about-story-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--section-alt); }
    .about-story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .about-principles-grid {
      display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3rem;
    }
    .about-principle { padding: 2rem; background: var(--off-white); border: 1px solid var(--border); }
    .about-principle-mark { width: 36px; height: 3px; background: var(--crimson); margin-bottom: 1.5rem; }
    .about-principle h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.75rem; }
    .about-principle p { font-size: 0.85rem; line-height: 1.8; color: var(--text-secondary); }
    .about-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
    .about-social-row {
      display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.65rem 1.5rem;
      margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border);
    }
    .about-social-row span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
    .about-social-row a { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); text-decoration: none; }
    .about-social-row a:hover { color: var(--crimson); }
    @media (max-width: 900px) {
      .about-proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .about-proof-item:nth-child(2) { border-right: 0; }
      .about-proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
      .about-reviews-grid { grid-template-columns: 1fr; gap: 2rem; }
    }
    @media (max-width: 720px) {
      .about-story-grid, .about-principles-grid { grid-template-columns: 1fr; }
      .about-photo { aspect-ratio: 4/3; }
      .about-story-photo { aspect-ratio: 4/3; }
    }
    @media (max-width: 480px) {
      .about-proof-strip { grid-template-columns: 1fr; }
      .about-proof-item { border-right: 0; border-bottom: 1px solid var(--border); }
      .about-proof-item:last-child { border-bottom: 0; }
    }
    .cred-icon { width: 40px; height: 40px; background: rgba(128,20,29,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--crimson); }
    .cred-icon svg { width: 18px; height: 18px; }
    .cred-text strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.15rem; }
    .cred-text span { font-size: 0.78rem; color: var(--text-muted); }

    /* ─────────────────────────────────────────
       TAB 4 & 5: BUYERS / SELLERS
    ───────────────────────────────────────── */
    .bs-hero {
      background: var(--section-alt); border-bottom: 1px solid var(--border); padding: clamp(3rem, 6vw, 5rem) 0;
    }
    .bs-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
    @media (max-width: 700px) { .bs-hero-inner { grid-template-columns: 1fr; } }
    .bs-hero .section-label { color: var(--crimson); }
    .bs-hero .section-label::before { background: var(--crimson); }
    .bs-hero .section-title { color: var(--text-primary); }
    .bs-hero .section-title em { color: var(--crimson); }
    .bs-hero .section-sub { color: var(--text-secondary); }
    .bs-stat-box { background: var(--white); border: 1px solid var(--border); padding: 2.5rem; text-align: center; }
    .bs-stat-num { font-family: var(--font-display); font-size: 3.5rem; font-weight: 600; color: var(--crimson); }
    .bs-stat-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.5rem; }
    .bs-steps { background: var(--white); padding: clamp(3rem, 6vw, 5rem) 0; }
    .bs-steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
    @media (max-width: 640px) { .bs-steps-grid { grid-template-columns: 1fr; } }
    .bs-step-card { padding: 2rem; border: 1px solid var(--border); background: var(--white); }
    .bs-step-num { font-family: var(--font-display); font-size: 0.7rem; font-weight: 600; color: var(--crimson); border: 1px solid var(--crimson); width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
    .bs-step-card h3 { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.6rem; }
    .bs-step-card p { font-size: 0.88rem; line-height: 1.85; letter-spacing: 0; color: var(--text-secondary); font-weight: 300; }

    /* ─────────────────────────────────────────
       TAB 6: EVALUATION
    ───────────────────────────────────────── */
    #panel-seller-evaluation { background-color: var(--off-white); min-height: 100vh; }
    .eval-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
    @media (max-width: 720px) { .eval-grid { grid-template-columns: 1fr; } }
    .eval-left .section-label { color: var(--crimson); }
    .eval-left .section-label::before { background: var(--crimson); }
    .eval-left .section-title { color: var(--text-primary); }
    .eval-left .section-title em { color: var(--crimson); }
    .eval-left .section-sub { color: var(--text-secondary); }
    .eval-checks { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.85rem; }
    .eval-checks li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; color: var(--text-secondary); }
    .eval-checks li svg { flex-shrink: 0; color: var(--crimson); }
    .eval-form-box { background: var(--white); border: 1px solid var(--border); padding: 2.5rem; }
    .ef-group { margin-bottom: 1rem; }
    .ef-group label { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
    .ef-group input, .ef-group select, .ef-group textarea {
      width: 100%; padding: 0.85rem 1rem;
      font-family: var(--font-body); font-size: 0.88rem; color: var(--text-primary);
      background: var(--off-white); border: 1px solid var(--border); outline: none;
      appearance: none; -webkit-appearance: none; resize: none;
      transition: border-color var(--t), background var(--t);
    }
    .ef-group input::placeholder, .ef-group textarea::placeholder { color: var(--text-muted); }
    .ef-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23857e78' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.2rem; }
    .ef-group select option { background: var(--white); }
    .ef-group input:focus, .ef-group select:focus, .ef-group textarea:focus { border-color: var(--crimson); background: var(--white); }
    .ef-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    @media (max-width: 480px) { .ef-row { grid-template-columns: 1fr; } }
    @media (max-width: 860px) {
      #panel-home section [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
      #panel-home section [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
      #panel-home section [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
    }
    .ef-submit {
      width: 100%; padding: 1rem;
      font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--white); background: var(--crimson); border: none; cursor: pointer; margin-top: 0.5rem;
      transition: background var(--t), transform var(--t);
    }
    .ef-submit:hover { background: var(--crimson-dark); transform: translateY(-1px); }

    /* ─────────────────────────────────────────
       TAB 7: BLOG
    ───────────────────────────────────────── */
    #panel-blog { background: var(--white); }
    #panel-faq { background: var(--off-white); min-height: 100vh; }
    .faq-item { border-bottom: 1px solid var(--border); }
    .faq-item:first-child { border-top: 1px solid var(--border); }
    .faq-q {
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1.5rem;
      padding: 1.25rem 0;
      font-family: var(--font-body);
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text-primary);
      cursor: pointer;
      user-select: none;
      line-height: 1.4;
    }
    .faq-q::-webkit-details-marker { display: none; }
    .faq-q::after {
      content: '+';
      flex-shrink: 0;
      font-size: 1.2rem;
      font-weight: 400;
      color: var(--crimson);
      transition: transform 0.2s;
    }
    .faq-item[open] .faq-q::after { content: '−'; }
    .faq-a {
      padding-bottom: 1.25rem;
      color: var(--text-secondary);
      font-size: 0.9rem;
      font-weight: 300;
      line-height: 1.9;
      letter-spacing: 0;
      max-width: 720px;
    }
    .faq-a p { margin-bottom: 0.75rem; }
    .faq-a p:last-child { margin-bottom: 0; }
    .blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; margin-top: 3rem; }
    .blog-card {
      border: 1px solid var(--border); overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
      transition: transform var(--t), box-shadow var(--t);
    }
    .blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
    .blog-img { height: 190px; position: relative; }
    .blog-cat { position: absolute; top: 0.85rem; left: 0.85rem; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); background: var(--crimson); padding: 0.28rem 0.65rem; }
    .blog-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
    .blog-meta { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.65rem; }
    .blog-title-text { font-family: var(--font-display); font-size: clamp(1.22rem,1.6vw,1.38rem); font-weight: 600; line-height: 1.25; color: var(--text-primary); margin-bottom: 0.7rem; }
    .blog-excerpt { font-size: 0.86rem; line-height: 1.85; letter-spacing: 0; color: var(--text-secondary); font-weight: 300; flex: 1; }
    .blog-link { margin-top: 1.1rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson); display: flex; align-items: center; gap: 0.4rem; }

    /* Article modal */
    /* Article full page */
    #panel-article { background: var(--white); }
    .article-page { max-width: 740px; margin: 0 auto; padding: clamp(2rem,6vw,4rem) clamp(1rem,4vw,3rem); }
    @media (max-width: 480px) { .article-page { padding-left: 1rem; padding-right: 1rem; } }
    @media (max-width: 640px) {
      #mkt-top { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
      #mkt-top > div:last-child { flex-direction: row !important; min-width: 0 !important; }
      #mkt-stats { grid-template-columns: repeat(2,1fr) !important; }
      .seller-tips-meta { grid-template-columns: 1fr !important; gap: 2rem !important; }
    }
    .article-back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 0; margin-bottom: 2rem; text-decoration: none; transition: color 0.2s; }
    .article-back:hover { color: var(--crimson); }
    .article-cat { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--crimson); margin-bottom: 0.75rem; }
    .article-title { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 600; color: var(--text-primary); line-height: 1.2; margin-bottom: 0.75rem; }
    .article-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
    .article-body { font-size: 0.96rem; line-height: 1.9; letter-spacing: 0; color: var(--text-secondary); font-weight: 300; }
    .article-body h2, .article-body h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text-primary); margin: 2rem 0 0.5rem; }
    .article-body p { margin-bottom: 1.1rem; }
    .email-section-head { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin: 2rem 0 0.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); letter-spacing: 0.02em; }

    /* ─────────────────────────────────────────
       TAB 8: TESTIMONIALS
    ───────────────────────────────────────── */
    #panel-reviews { background: var(--off-white); min-height: 100vh; }
    #panel-reviews .section-label { color: var(--crimson); }
    #panel-reviews .section-label::before { background: var(--crimson); }
    #panel-reviews .section-title { color: var(--text-primary); }
    .t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
    .t-card { background: var(--white); border: 1px solid var(--border); padding: 2.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
    .t-stars { display: flex; gap: 3px; }
    .t-star { width: 13px; height: 13px; color: var(--crimson); }
    .t-quote { font-size: 0.92rem; line-height: 1.88; letter-spacing: 0; color: var(--text-secondary); font-weight: 300; font-style: italic; flex: 1; }
    .t-quote::before { content: '\201C'; color: var(--crimson); }
    .t-quote::after { content: '\201D'; color: var(--crimson); }
    .t-author strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
    .t-author span { font-size: 0.73rem; color: var(--text-muted); }
    .t-author { position: relative; min-height: 52px; padding-right: 64px; display: flex; flex-direction: column; justify-content: center; }
    .t-author::after { content: ''; position: absolute; right: 0; top: 50%; width: 52px; height: 52px; transform: translateY(-50%); background: url('/assets/rank-my-agent.png') center / contain no-repeat; }
    /* Review ticker */
    .review-ticker-wrap { background: var(--crimson); overflow: hidden; padding: 0.875rem 0; user-select: none; }
    .review-ticker-track { display: flex; width: max-content; animation: ticker-scroll 240s linear infinite; }
    .review-ticker-wrap:hover .review-ticker-track { animation-play-state: paused; }
    .ticker-item { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0 2.75rem; white-space: nowrap; border-right: 1px solid rgba(255,255,255,0.18); }
    .ticker-stars { color: #ffb3a0; font-size: 0.65rem; letter-spacing: 2px; }
    .ticker-quote { font-size: 0.82rem; color: rgba(255,255,255,0.94); font-style: italic; font-family: var(--font-body); font-weight: 400; letter-spacing: 0.01em; }
    .ticker-name { font-size: 0.7rem; color: rgba(255,255,255,0.68); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
    @keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
    @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
    .ls-skeleton { background: linear-gradient(90deg, #ececec 25%, #f8f8f8 50%, #ececec 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
    .ls-header-actions { display:flex; gap:0.75rem; align-items:center; flex-wrap:wrap; }
    .ls-map-wrap {
      display: block;
      height: clamp(220px, 24vw, 300px);
      position: relative;
      z-index: 0;
      isolation: isolate;
      overflow: hidden;
      border-bottom: 1px solid var(--border);
      background: var(--section-alt);
    }
    #ls-map { width: 100%; height: 100%; }
    .ls-map-marker-shell {
      overflow: visible !important;
      background: transparent;
      border: 0;
    }
    .ls-map-marker {
      position: relative;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .ls-map-marker-dot {
      position: relative;
      width: 18px;
      height: 18px;
      border: 3px solid var(--white);
      border-radius: 50%;
      background: var(--crimson);
      box-shadow: 0 3px 10px rgba(36,28,24,0.3);
      transition: transform 180ms var(--ease-out), background 180ms ease;
    }
    .ls-map-marker-dot::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: -7px;
      width: 0;
      height: 0;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 6px solid var(--crimson);
      transform: translateX(-50%);
    }
    .ls-map-marker-price {
      position: absolute;
      left: 50%;
      bottom: calc(100% + 6px);
      padding: 0.34rem 0.52rem;
      border: 1px solid rgba(128,20,29,0.16);
      border-radius: 2px;
      background: var(--white);
      box-shadow: 0 6px 18px rgba(36,28,24,0.18);
      color: var(--crimson);
      font-family: var(--font-body);
      font-size: 0.63rem;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.02em;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, 5px);
      transition: opacity 160ms ease, transform 180ms var(--ease-out);
    }
    .ls-map-marker:hover .ls-map-marker-dot,
    .leaflet-marker-icon:focus .ls-map-marker-dot { transform: scale(1.16); background: var(--crimson-dark); }
    .ls-map-marker:hover .ls-map-marker-price,
    .leaflet-marker-icon:focus .ls-map-marker-price,
    .ls-map-marker.ls-map-marker--priced .ls-map-marker-price {
      opacity: 1;
      transform: translate(-50%, 0);
    }
    .ls-neighbourhood-search { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0.75rem; align-items:stretch; max-width:700px; }
    .ls-neighbourhood-input { width:100%; min-width:0; font-family:var(--font-body); font-size:0.95rem; font-weight:500; color:var(--text-primary); background:#fff; border:1px solid transparent; padding:0.75rem 1rem; outline:none; }
    .ls-neighbourhood-input:focus { border-color:rgba(255,255,255,0.75); box-shadow:0 0 0 3px rgba(255,255,255,0.22); }
    .ls-filter-select { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; color: var(--text-primary); background: var(--white); border: 1px solid var(--border); padding: 0.55rem 0.9rem; cursor: pointer; outline: none; }
    .ls-filter-select:focus { border-color: var(--crimson); }
    .ls-filter-clear { font-family:var(--font-body); font-size:0.68rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:var(--crimson); background:none; border:none; padding:0.55rem 0.4rem; cursor:pointer; }
    .ls-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
    .ls-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); transform: translateY(-2px); }
    .ls-card-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--section-alt); }
    .ls-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
    .ls-card:hover .ls-card-photo img { transform: scale(1.04); }
    .ls-type-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--crimson); color: var(--white); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.28rem 0.6rem; }
    .ls-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
    .ls-price { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--crimson); }
    .ls-meta { display: flex; gap: 0.9rem; font-size: 0.78rem; color: var(--text-secondary); font-weight: 500; }
    .ls-address { font-size:0.86rem; line-height:1.45; color:var(--text-primary); font-weight:600; }
    .ls-hood { font-size: 0.78rem; color: var(--text-muted); }
    .ls-card-foot { padding: 0.85rem 1.25rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; align-items: center; justify-content: space-between; }
    .ls-view-link { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--crimson); text-decoration: none; display: flex; align-items: center; gap: 0.3rem; }
    .ls-view-link:hover { text-decoration: underline; }
    .ls-show-btn { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); background: var(--crimson); border: none; cursor: pointer; padding: 0.48rem 0.85rem; transition: background 0.2s; }
    .ls-show-btn:hover { background: var(--crimson-dark); }
    .ls-badge-row { padding: 0.4rem 1.25rem; background: var(--section-alt); border-top: 1px solid var(--border); display:flex; align-items:center; }
    .ls-error-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:0.75rem; margin-top:1.5rem; }
    @media (max-width: 600px) {
      .ls-map-wrap { height: 220px; }
      .ls-filter-row { flex-direction: column !important; }
      .ls-filter-select, .ls-filter-clear { width: 100%; }
      .ls-neighbourhood-search { grid-template-columns:1fr; }
      .ls-neighbourhood-search button { width:100%; }
      .ls-header-actions { width:100%; }
      .ls-header-actions > * { flex:1 1 auto; justify-content:center; text-align:center; }
    }
    @media (prefers-reduced-motion: reduce) { .review-ticker-track { animation: none; } }
    /* Instagram */
    .ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
    @media (max-width: 640px) { .ig-grid { grid-template-columns: 1fr; } }
    .ig-card { display: block; text-decoration: none; border: 1px solid var(--border); overflow: hidden; background: var(--white); transition: transform 0.22s ease, box-shadow 0.22s ease; }
    .ig-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.09); }
    .ig-thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--section-alt); display: flex; align-items: center; justify-content: center; position: relative; }
    .ig-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .ig-overlay { position: absolute; inset: 0; background: rgba(128,20,29,0); transition: background 0.22s; display: flex; align-items: center; justify-content: center; }
    .ig-card:hover .ig-overlay { background: rgba(128,20,29,0.15); }
    .ig-overlay-icon { opacity: 0; transition: opacity 0.22s; color: white; }
    .ig-card:hover .ig-overlay-icon { opacity: 1; }
    .ig-info { padding: 0.9rem 1.1rem 1rem; }
    .ig-handle { font-size: 0.68rem; font-weight: 600; color: var(--crimson); letter-spacing: 0.07em; text-transform: uppercase; display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.3rem; }
    .ig-label { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }

    /* ─────────────────────────────────────────
       TAB 9: CONTACT
    ───────────────────────────────────────── */
    #panel-contact { background: var(--section-alt); }
    .contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
    @media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
    .ci-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.25rem; }
    .ci { display: flex; gap: 1rem; align-items: flex-start; }
    .ci-icon { width: 42px; height: 42px; background: rgba(128,20,29,0.1); border: 1px solid rgba(128,20,29,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--crimson); }
    .ci-icon svg { width: 18px; height: 18px; }
    .ci-text strong { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; }
    .ci-text a, .ci-text span { font-size: 0.93rem; color: var(--text-primary); text-decoration: none; transition: color var(--t); }
    .ci-text a:hover { color: var(--crimson); }
    .cf-box { background: var(--white); border: 1px solid var(--border); padding: clamp(1.75rem, 4vw, 2.75rem); }
    .cf-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.35rem; }
    .cf-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; }
    .cff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
    @media (max-width: 480px) { .cff-row { grid-template-columns: 1fr; } }
    .cff-group { margin-bottom: 1rem; }
    .cff-group label { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
    .cff-group input, .cff-group select, .cff-group textarea {
      width: 100%; padding: 0.85rem 1rem;
      font-family: var(--font-body); font-size: 0.88rem; color: var(--text-primary);
      background: var(--off-white); border: 1px solid var(--border); outline: none;
      appearance: none; -webkit-appearance: none; resize: none;
      transition: border-color var(--t), background var(--t);
    }
    .cff-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7a7a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.2rem; }
    .cff-group input:focus, .cff-group select:focus, .cff-group textarea:focus { border-color: var(--crimson); background: var(--white); }
    .cff-submit {
      width: 100%; padding: 1.05rem;
      font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--white); background: var(--crimson); border: none; cursor: pointer; margin-top: 0.5rem;
      transition: background var(--t), transform var(--t);
    }
    .cff-submit:hover { background: var(--crimson-dark); transform: translateY(-1px); }
    /* ─── SECTION BACKGROUNDS ─────────────────────────────────────────── */
    #panel-buyer-consultation .bs-hero,
    #panel-buyer-tips .bs-hero {
      background:
        linear-gradient(to right, rgba(242,240,237,0.97) 30%, rgba(242,240,237,0.88) 65%, rgba(242,240,237,0.72) 100%),
        url('/Calgary%20Media/nataliia-kvitovska-Vb_3AuF3j2Q-unsplash.jpg') right center / cover no-repeat;
    }
    #panel-seller-evaluation {
      background:
        linear-gradient(135deg, rgba(250,249,247,0.97) 30%, rgba(250,249,247,0.90) 100%),
        url('/assets/home-evaluation-background.jpg') center / cover no-repeat;
    }
    #panel-about {
      background:
        linear-gradient(to bottom, rgba(250,249,247,0.99) 0%, rgba(250,249,247,0.94) 100%),
        url('/assets/calgary-skyline-hero.jpg') center / cover no-repeat;
    }

    /* ─── CARD & ELEMENT HOVER ENHANCEMENTS ───────────────────────────── */
    .t-card { transition: transform 0.22s ease, box-shadow 0.22s ease; }
    .t-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.07); }
    .bs-step-card { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
    .bs-step-card:hover { border-color: var(--crimson); box-shadow: 0 4px 16px rgba(128,20,29,0.08); }
    .bs-stat-box { transition: transform 0.22s ease, box-shadow 0.22s ease; cursor: default; }
    .bs-stat-box:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.07); }

    /* ─── REVIEW CARDS — PREVIEW MODE ────────────────────────────────── */
    .t-card { cursor: pointer; }
    .t-quote { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
    .t-card-read { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--crimson); margin-top: auto; display: inline-flex; align-items: center; gap: 0.3rem; }
    .t-card-read svg { transition: transform 0.2s; }
    .t-card:hover .t-card-read svg { transform: translateX(3px); }

    /* ─── REVIEW MODAL ────────────────────────────────────────────────── */
    #review-modal { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(10,8,6,0.65); overflow-y: auto; padding: 2rem 1.25rem; }
    #review-modal.open { display: flex; align-items: flex-start; justify-content: center; }
    .review-modal-box { background: var(--white); max-width: 620px; width: 100%; padding: clamp(2rem,5vw,3rem); position: relative; margin: auto; animation: modal-in 0.28s cubic-bezier(0.22,1,0.36,1); }
    @keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: none; } }
    .review-modal-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 44px; height: 44px; background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 0.75rem; display: flex; align-items: center; justify-content: center; transition: color 0.2s; }
    .review-modal-close:hover { color: var(--text-primary); }
    .review-modal-quote { font-size: 0.98rem; line-height: 1.9; letter-spacing: 0; color: var(--text-secondary); font-weight: 300; font-style: italic; margin: 1.25rem 0 1.5rem; }
    .review-modal-quote::before { content: '\201C'; color: var(--crimson); }
    .review-modal-quote::after { content: '\201D'; color: var(--crimson); }
    .review-modal-author strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
    .review-modal-author span { font-size: 0.75rem; color: var(--text-muted); }
    .review-modal-author { position: relative; min-height: 52px; padding-right: 64px; display: flex; flex-direction: column; justify-content: center; }
    .review-modal-author::after { content: ''; position: absolute; right: 0; top: 50%; width: 52px; height: 52px; transform: translateY(-50%); background: url('/assets/rank-my-agent.png') center / contain no-repeat; }

    /* ─── RANKMYAGENT AWARD BANNER ────────────────────────────────────── */
    .rma-award-banner { background: linear-gradient(135deg, var(--crimson-dark) 0%, var(--crimson) 100%); padding: 2.5rem clamp(1.5rem,4vw,3rem); display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
    .rma-award-badge { flex-shrink: 0; }
    .rma-award-badge img { height: 90px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25)); }
    .rma-award-text { flex: 1; min-width: 220px; }
    .rma-award-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem; }
    .rma-award-title { font-family: var(--font-display); font-size: clamp(1.4rem,3vw,2rem); font-weight: 600; color: #fff; line-height: 1.2; margin-bottom: 0.5rem; }
    .rma-award-sub { font-size: 0.82rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
    .rma-award-cta { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.35); padding: 0.55rem 1.1rem; transition: background 0.22s, border-color 0.22s; }
    .rma-award-cta:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }
    .rma-stars-row { display: flex; gap: 0.2rem; margin-bottom: 0.5rem; }
    .rma-star { width: 15px; height: 15px; color: #ffb3a0; }

    /* ─── PHOTO GALLERY & VISUAL ENHANCEMENTS ─────────────────────────── */
    .photo-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 3px; }
    .photo-mosaic .pm-tall { grid-row: 1 / 3; }
    .photo-mosaic .pm-cell { overflow: hidden; position: relative; background: var(--section-alt); }
    .photo-mosaic .pm-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out); }
    .photo-mosaic .pm-cell:hover img { transform: scale(1.06); }
    .photo-mosaic .pm-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.75rem 1rem; background: linear-gradient(to top, rgba(10,8,6,0.55), transparent); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
    @media (max-width: 768px) { .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; } .photo-mosaic .pm-tall { grid-row: 1 / 3; } }
    @media (max-width: 500px) { .photo-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(4, 200px); } .photo-mosaic .pm-tall { grid-row: auto; } }

    .photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; height: 320px; }
    .photo-strip .ps-cell { overflow: hidden; position: relative; background: var(--section-alt); }
    .photo-strip .ps-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out); }
    .photo-strip .ps-cell:hover img { transform: scale(1.06); }
    .photo-strip .ps-label { position: absolute; bottom: 0.75rem; left: 1rem; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.85); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
    @media (max-width: 600px) { .photo-strip { grid-template-columns: 1fr; height: auto; } .photo-strip .ps-cell { height: 220px; } }

    .bs-hero-photo { width: 100%; height: 100%; min-height: 260px; overflow: hidden; position: relative; }
    .bs-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .bs-hero-photo-badge { position: absolute; z-index: 1; bottom: 1.25rem; right: 1.25rem; background: var(--white); padding: 1rem 1.25rem; box-shadow: 0 8px 24px rgba(0,0,0,0.14); text-align: center; }
    .bs-hero-photo-badge .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--crimson); line-height: 1; }
    .bs-hero-photo-badge .lbl { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.25rem; max-width: 100px; }

    /* ─── SECTION LABEL LINE DRAW ANIMATION ───────────────────────────── */
    @view-transition { navigation: auto; }
    @media (prefers-reduced-motion: no-preference) {
      .section-label-anim::before { width: 0 !important; transition: width 0.55s cubic-bezier(0.22,1,0.36,1) 0.28s !important; }
      .section-label-anim.line-in::before { width: 28px !important; }
    }

    /* Blog archive sections */
    .blog-archive-section { margin-top: 2.5rem; border-top: 1px solid var(--border); }
    .blog-archive-toggle {
      width: 100%; display: flex; align-items: center; justify-content: space-between;
      padding: 1.25rem 0; background: none; border: none; cursor: pointer;
      font-family: var(--font-display); font-size: 1.1rem; font-weight: 500;
      color: var(--text-primary); text-align: left; gap: 1rem;
    }
    .blog-archive-toggle:hover { color: var(--crimson); }
    .blog-archive-toggle .bat-arrow { transition: transform 0.25s ease; flex-shrink: 0; color: var(--crimson); }
    .blog-archive-toggle[aria-expanded="true"] .bat-arrow { transform: rotate(180deg); }
    .blog-archive-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem; padding-bottom: 2rem;
    }
    .blog-archive-grid[hidden] { display: none !important; }
    .blog-archive-count { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--text-muted); margin-left: 0.75rem; }
    .blog-list-heading { margin-top: 3rem; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--text-primary); }
    #blog-latest-grid { margin-top: 1.25rem; }
    #blog-latest-grid > .blog-card:nth-child(n+7) { display: none; }
    .blog-browse-toolbar {
      display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
      margin-top: 2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--border);
    }
    .blog-browse-kicker { margin-bottom: 0.25rem; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson); }
    .blog-browse-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text-primary); }
    .blog-view-toggle { display: inline-flex; padding: 0.25rem; border: 1px solid var(--border); background: var(--off-white); }
    .blog-view-toggle button {
      min-height: 40px; padding: 0.65rem 1rem; border: 0; background: transparent; cursor: pointer;
      font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em;
      text-transform: uppercase; color: var(--text-secondary); transition: color var(--t), background var(--t);
    }
    .blog-view-toggle button:hover { color: var(--crimson); }
    .blog-view-toggle button[aria-selected="true"] { color: var(--white); background: var(--crimson); }
    #blog-latest-view[hidden], #blog-category-view[hidden], .blog-archive-section[hidden] { display: none !important; }
    #blog-category-view { padding-top: 1.5rem; }
    .blog-category-filters { display: flex; flex-wrap: wrap; gap: 0.55rem; }
    .blog-category-filter {
      min-height: 40px; padding: 0.6rem 0.85rem; border: 1px solid var(--border); background: var(--white);
      cursor: pointer; font-family: var(--font-body); font-size: 0.67rem; font-weight: 600;
      color: var(--text-secondary); transition: border-color var(--t), color var(--t), background var(--t);
    }
    .blog-category-filter:hover { border-color: var(--crimson); color: var(--crimson); }
    .blog-category-filter[aria-pressed="true"] { border-color: var(--crimson); color: var(--white); background: var(--crimson); }
    .blog-card[hidden] { display: none !important; }
    #blog-category-grid { margin-top: 1.5rem; }
    .blog-category-status { margin-top: 1rem; font-size: 0.78rem; color: var(--text-muted); }
    @media (max-width: 640px) {
      .blog-browse-toolbar { align-items: stretch; flex-direction: column; }
      .blog-view-toggle { width: 100%; }
      .blog-view-toggle button { flex: 1; }
    }

    /* Reviews show-more */
    .reviews-hidden { display: none !important; }
    .reviews-show-more {
      display: block; width: 100%; margin: 2.5rem 0 0; padding: 0.9rem 1.5rem;
      background: none; border: 1px solid var(--border); cursor: pointer;
      font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
      transition: border-color 0.2s, color 0.2s;
    }
    .reviews-show-more:hover { border-color: var(--crimson); color: var(--crimson); }

    /* Award redesign */
    .rma-award-clean {
      padding: 3.5rem clamp(1.5rem,4vw,3rem) 3rem;
      background: var(--white);
      display: flex; flex-direction: column; align-items: center; text-align: center;
      border-bottom: 1px solid var(--border);
    }
    .rma-award-clean img { height: 160px; width: auto; display: block;
      filter: drop-shadow(0 6px 20px rgba(0,0,0,0.12)); margin-bottom: 1.5rem; }
    .rma-clean-label {
      font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--text-muted); margin-bottom: 0.75rem;
    }
    .rma-clean-title {
      font-family: var(--font-display); font-size: clamp(1.6rem,3.5vw,2.4rem);
      font-weight: 600; color: var(--text-primary); line-height: 1.2; margin-bottom: 0.5rem;
    }
    .rma-clean-sub { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; }
    .rma-clean-stars { display: flex; gap: 0.3rem; justify-content: center; margin-bottom: 0.75rem; }
    .rma-clean-star { width: 20px; height: 20px; color: #c0392b; }
    .rma-clean-cta {
      display: inline-flex; align-items: center; gap: 0.4rem;
      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--crimson); text-decoration: none; border: 1px solid var(--crimson);
      padding: 0.6rem 1.2rem; transition: background 0.2s, color 0.2s;
    }
    .rma-clean-cta:hover { background: var(--crimson); color: #fff; }

    /* Accessibility and small-screen resilience */
    .skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 4000; padding: 0.75rem 1rem; background: var(--white); color: var(--crimson); border: 2px solid var(--crimson); text-decoration: none; transform: translateY(-150%); transition: transform 0.15s ease; }
    .skip-link:focus { transform: translateY(0); }
    .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
    :where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; }
    .site-footer-social a { min-width: 44px; min-height: 44px; }
    .site-footer a { text-decoration: none; }
    .blog-card { display: block; color: inherit; text-decoration: none; }
    .home-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
    .home-areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
    .home-area-card {
      min-height: 230px; padding: 1.75rem; position: relative; overflow: hidden;
      display: flex; flex-direction: column; justify-content: space-between;
      color: var(--text-primary); background: var(--white); border: 1px solid var(--border);
      text-decoration: none; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .home-area-card::after {
      content: ''; position: absolute; inset: auto -30% -55% 20%; height: 180px;
      border: 1px solid rgba(128,20,29,0.12); transform: rotate(-12deg); pointer-events: none;
    }
    .home-area-card:hover { transform: translateY(-4px); border-color: rgba(128,20,29,0.35); box-shadow: 0 18px 40px rgba(36,28,24,0.07); }
    .home-area-code { font-family: var(--font-display); font-size: clamp(3.5rem,7vw,5.5rem); line-height: 0.85; color: rgba(128,20,29,0.16); }
    .home-area-title { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin-bottom: 0.4rem; }
    .home-area-links { display: flex; flex-wrap: wrap; gap: 0.55rem 0.9rem; }
    .home-area-links a { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--crimson); text-decoration: none; border-bottom: 1px solid rgba(128,20,29,0.3); }
    .home-area-links a:hover { border-bottom-color: var(--crimson); }
    .nbhd-area-toggle { scroll-margin-top: 88px; }
    @media (max-width: 600px) {
      .site-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2rem 1.5rem !important; }
      .site-footer-grid > :first-child { grid-column: 1 / -1; }
      .lead-popup { padding: 2rem 1.25rem 1.5rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
      #ls-showing-form-el { grid-template-columns: 1fr !important; }
      #ls-modal > div { margin: 0 !important; min-height: 100%; }
    }
    @media (max-width: 700px) {
      .home-blog-grid, .home-areas-grid { grid-template-columns: 1fr; }
      .home-area-card { min-height: 190px; }
    }
    @media (max-width: 420px) {
      .site-footer-grid { grid-template-columns: 1fr !important; }
      .site-footer-grid > :first-child { grid-column: auto; }
    }

  /* Neighbourhood guides */
  .nbhd-featured-section { background: var(--off-white); border-bottom: 1px solid var(--border); padding: clamp(3rem, 6vw, 5rem) 0; }
  .nbhd-directory-section { background: var(--white); padding: clamp(3rem, 6vw, 5rem) 0; }
  .nbhd-section-intro { max-width: 680px; margin: 0.9rem 0 2rem; font-size: 0.92rem; line-height: 1.85; color: var(--text-secondary); }
  .nbhd-featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
  .nbhd-help-section { background: var(--off-white); border-top: 1px solid var(--border); padding: clamp(3rem, 6vw, 4.5rem) 0; }
  .nbhd-help-inner { max-width: 760px; }
  .nbhd-help-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
  .nbhd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
  .nbhd-card { display: block; background: var(--white); border: 1px solid var(--border); overflow: hidden; cursor: pointer; color: inherit; text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .nbhd-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
  .nbhd-card-photo { height: 200px; overflow: hidden; position: relative; }
  .nbhd-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
  .nbhd-card:hover .nbhd-card-photo img { transform: scale(1.04); }
  .nbhd-card-photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,6,0.55) 0%, transparent 55%); }
  .nbhd-card-body { padding: 1.25rem 1.25rem 1.5rem; }
  .nbhd-read-more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.85rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--crimson); }
  .nbhd-area { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson); margin-bottom: 0.35rem; }
  .nbhd-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.3rem; line-height: 1.2; }
  .nbhd-price { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-secondary); margin-bottom: 0.65rem; }
  .nbhd-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.85rem; }
  .nbhd-tag { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.5rem; border: 1px solid var(--border); color: var(--text-muted); }
  .nbhd-desc { font-size: 0.85rem; line-height: 1.85; letter-spacing: 0; color: var(--text-secondary); }
  /* Neighbourhood area accordion */
  .nbhd-area-section { border: 1px solid var(--border); margin-bottom: 0.5rem; background: var(--white); }
  .nbhd-area-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; background: none; border: none; cursor: pointer; font-family: var(--font-body); gap: 1rem; transition: background 0.18s ease; }
  .nbhd-area-toggle:hover { background: var(--section-alt); }
  .nbhd-area-toggle-left { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; }
  .nbhd-area-badge { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; background: var(--crimson); color: var(--white); padding: 0.22rem 0.55rem; flex-shrink: 0; }
  .nbhd-area-label { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-primary); line-height: 1.2; text-align: left; }
  .nbhd-area-teaser { display: block; font-size: 0.68rem; color: var(--text-muted); margin-top: 0.15rem; text-align: left; }
  .nbhd-area-arrow { flex-shrink: 0; transition: transform 0.25s ease; color: var(--text-muted); }
  .nbhd-area-toggle[aria-expanded="true"] .nbhd-area-arrow { transform: rotate(180deg); }
  .nbhd-area-content { padding: 1.25rem 1.25rem 1.5rem; border-top: 1px solid var(--border); }
  .nbhd-area-content[hidden] { display: none !important; }
  .nbhd-area-coming { font-size: 0.82rem; color: var(--text-muted); padding: 0.25rem 0; }
  @media (max-width: 600px) {
    .nbhd-help-actions > * { width: 100%; justify-content: center; text-align: center; }
  }

    /* ═══════════════════════════════════════════
       EDITORIAL MOTION SYSTEM
       Quiet, progressive enhancement using only
       opacity and compositor-friendly transforms.
    ═══════════════════════════════════════════ */

    #topnav {
      transition: height 320ms var(--ease-out), background-color 320ms ease,
                  border-color 320ms ease, box-shadow 320ms ease;
    }
    #topnav .tn-logo img,
    #topnav .tn-cta { transition: height 320ms var(--ease-out), padding 320ms var(--ease-out), background 250ms ease; }
    body.nt-scrolled #topnav {
      height: 58px;
      background: rgba(255,255,255,0.92);
      border-bottom-color: rgba(128,20,29,0.12);
      box-shadow: 0 10px 34px rgba(36,28,24,0.055);
      -webkit-backdrop-filter: blur(14px) saturate(130%);
      backdrop-filter: blur(14px) saturate(130%);
    }
    body.nt-scrolled #topnav .tn-logo img { height: 34px; }
    body.nt-scrolled #topnav .tn-cta { padding-top: 0.48rem; padding-bottom: 0.48rem; }

    .tn-link::after {
      transition: transform 280ms var(--ease-out) !important;
      transform-origin: left !important;
    }
    .btn-primary,
    .btn-outline,
    .tn-cta,
    .drawer-cta { -webkit-tap-highlight-color: transparent; }
    .btn-primary:active,
    .btn-outline:active,
    .tn-cta:active,
    .drawer-cta:active { transform: translateY(0) scale(0.985); }

    .bs-step-card,
    .nbhd-card,
    .blog-card,
    .t-card,
    .home-area-card,
    .ls-card {
      transition: transform 320ms var(--ease-out), box-shadow 320ms ease,
                  border-color 320ms ease;
    }
    .bs-step-card:hover,
    .nbhd-card:hover,
    .blog-card:hover,
    .t-card:hover,
    .home-area-card:hover,
    .ls-card:hover {
      transform: translateY(-4px);
      border-color: rgba(128,20,29,0.28);
      box-shadow: 0 16px 42px rgba(36,28,24,0.085);
    }
    .nbhd-card-photo img,
    .ls-card-photo img,
    .blog-card img,
    .bs-hero-photo img {
      transition: transform 780ms var(--ease-out), opacity 420ms ease, filter 420ms ease;
    }
    .nbhd-card:hover .nbhd-card-photo img,
    .ls-card:hover .ls-card-photo img,
    .blog-card:hover img,
    .bs-hero-photo:hover img { transform: scale(1.035); }
    .faq-item { transition: background 220ms ease; }
    .faq-item:hover { background: rgba(128,20,29,0.022); }
    #mkt-stats > div { transition: transform 280ms var(--ease-out), background 280ms ease; }
    #mkt-stats > div:hover { transform: translateY(-2px); }
    .bs-hero-photo-badge { animation: none; }

    .motion-image-pending { opacity: 0; filter: blur(5px); }
    .motion-image-loaded { opacity: 1; filter: blur(0); }

    .motion-curtain { position: relative; overflow: hidden; isolation: isolate; }
    .motion-curtain::after {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 5;
      pointer-events: none;
      background: var(--warm-panel);
      transform: scaleX(1);
      transform-origin: right center;
      transition: transform 850ms cubic-bezier(0.77,0,0.175,1);
    }
    .motion-curtain.motion-visible::after { transform: scaleX(0); }
    .motion-curtain > img { transform: scale(1.025); }
    .motion-curtain.motion-visible > img { transform: scale(1); }

    .motion-parallax-frame { position: relative; overflow: hidden; }
    .motion-parallax-frame > .motion-parallax-media {
      position: absolute;
      inset: -30px 0;
      width: 100%;
      height: calc(100% + 60px) !important;
      object-fit: cover;
      will-change: transform;
    }

    .hero-kb-bg {
      position: absolute; inset: -6%; z-index: 0;
      background-image: url('/assets/calgary-skyline-hero.jpg');
      background-size: cover; background-position: center 40%;
      animation: heroDrift 20s cubic-bezier(0.16,1,0.3,1) 1 both;
      will-change: transform;
    }
    .hero-kb-overlay {
      position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(to bottom,
        rgba(250,249,247,0.72) 0%,
        rgba(250,249,247,0.55) 45%,
        rgba(250,249,247,0.90) 100%);
    }
    @keyframes heroDrift {
      from { transform: scale(1.025) translate3d(0,0,0); }
      to { transform: scale(1.065) translate3d(-0.8%,-0.45%,0); }
    }

    .home-title-line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
    .home-title-line > span { display: block; }

    @media (prefers-reduced-motion: no-preference) {
      @keyframes heroLineIn {
        from { opacity: 0; transform: translateY(105%); }
        to { opacity: 1; transform: translateY(0); }
      }
      @keyframes heroItemIn {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: translateY(0); }
      }
      .home-eyebrow { animation: heroItemIn 700ms var(--ease-out) 100ms both; }
      .home-title-line:nth-child(1) > span { animation: heroLineIn 850ms var(--ease-out) 180ms both; }
      .home-title-line:nth-child(2) > span { animation: heroLineIn 850ms var(--ease-out) 270ms both; }
      .home-title-line:nth-child(3) > span { animation: heroLineIn 850ms var(--ease-out) 360ms both; }
      .home-actions { animation: heroItemIn 700ms var(--ease-out) 580ms both; }

      .motion-reveal,
      .motion-reveal-left,
      .motion-reveal-right {
        opacity: 0;
        transition: opacity 680ms var(--ease-out), transform 680ms var(--ease-out);
      }
      .motion-reveal { transform: translate3d(0,18px,0); }
      .motion-reveal-left { transform: translate3d(-22px,0,0); }
      .motion-reveal-right { transform: translate3d(22px,0,0); }
      .motion-reveal.motion-visible,
      .motion-reveal-left.motion-visible,
      .motion-reveal-right.motion-visible { opacity: 1; transform: translate3d(0,0,0); }

      .section-label-anim::before { width: 0 !important; transition: width 550ms var(--ease-out) 220ms !important; }
      .section-label-anim.line-in::before { width: 28px !important; }

      ::view-transition-old(root) { animation: 150ms ease both pageOut; }
      ::view-transition-new(root) { animation: 360ms var(--ease-out) both pageIn; }
      @keyframes pageOut { to { opacity: 0; } }
      @keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-kb-bg { animation: none; transform: none; will-change: auto; }
      .motion-curtain::after { display: none; }
      .motion-parallax-frame > .motion-parallax-media { position: static; height: 100% !important; transform: none !important; }
      .motion-image-pending { opacity: 1; filter: none; }
    }
    @media (max-width: 900px) {
      .motion-parallax-frame > .motion-parallax-media { position: static; inset: auto; height: 100% !important; transform: none !important; will-change: auto; }
    }
    @media (max-width: 700px) {
      .hero-kb-bg { background-image: url('/assets/calgary-skyline-hero-mobile.jpg'); }
    }

    /* ═══════════════════════════════════════════
       PREMIUM VISUAL DENSITY SYSTEM
       Art-directed depth without changing the brand or page structure.
    ═══════════════════════════════════════════ */
    :root {
      --premium-shadow: 0 24px 70px rgba(36, 28, 24, 0.10);
      --premium-shadow-soft: 0 14px 40px rgba(36, 28, 24, 0.075);
    }

    /* Make white/off-white expanses feel intentionally layered. */
    #panel-about,
    #panel-buyer-consultation,
    #panel-buyer-tips,
    #panel-seller-consultation,
    #panel-seller-tips,
    #panel-seller-evaluation,
    #panel-faq,
    #panel-blog,
    #panel-reviews,
    #panel-contact,
    #panel-neighbourhoods {
      position: relative;
      isolation: isolate;
    }
    #panel-about::before,
    #panel-faq::before,
    #panel-reviews::before,
    #panel-contact::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(128,20,29,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128,20,29,0.025) 1px, transparent 1px);
      background-size: 72px 72px;
      -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
      mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
    }

    /* Service process cards: turn empty boxes into editorial feature tiles. */
    .bs-steps { position: relative; overflow: hidden; }
    .bs-steps::before {
      content: '';
      position: absolute;
      width: 360px;
      height: 360px;
      right: -180px;
      top: 80px;
      border: 1px solid rgba(128,20,29,0.08);
      transform: rotate(45deg);
      pointer-events: none;
    }
    .bs-steps-grid { gap: 1rem; }
    .bs-step-card {
      position: relative;
      min-height: 220px;
      padding: 2.25rem 2.25rem 2rem;
      overflow: hidden;
      border-top: 3px solid var(--crimson);
      background: linear-gradient(145deg, #fff 0%, #fff 70%, rgba(128,20,29,0.035) 100%);
      box-shadow: 0 1px 0 rgba(36,28,24,0.02);
    }
    .bs-step-card::after {
      content: '';
      position: absolute;
      width: 90px;
      height: 90px;
      right: -46px;
      bottom: -46px;
      border: 1px solid rgba(128,20,29,0.12);
      transform: rotate(45deg);
    }
    .bs-step-num {
      width: auto;
      height: auto;
      border: 0;
      margin-bottom: 1.25rem;
      font-size: 2.35rem;
      line-height: 1;
      font-weight: 500;
      color: rgba(128,20,29,0.28);
    }
    .bs-step-card h3 { font-family: var(--font-display); font-size: 1.3rem; }

    /* Buyer and seller value hubs. */
    .client-value-section { padding: clamp(3.5rem,7vw,6rem) 0; background: var(--white); border-top: 1px solid var(--border); }
    .client-value-section--alt { background: var(--off-white); }
    .client-value-intro { max-width: 680px; margin-bottom: 2.5rem; font-size: 0.92rem; line-height: 1.9; color: var(--text-secondary); }
    .client-decision-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
    .client-decision-card {
      min-height: 210px; padding: clamp(1.5rem,3vw,2rem); position: relative; overflow: hidden;
      border: 1px solid var(--border); background: var(--white);
    }
    .client-decision-card::after {
      content: attr(data-step); position: absolute; right: 1rem; top: 0.35rem;
      font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: rgba(128,20,29,0.055);
    }
    .client-decision-kicker { margin-bottom: 0.65rem; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson); }
    .client-decision-card h3 { position: relative; margin-bottom: 0.65rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; color: var(--text-primary); }
    .client-decision-card p { position: relative; font-size: 0.86rem; line-height: 1.85; color: var(--text-secondary); }
    .client-decision-card .client-decision-kicker { font-weight: 700; line-height: 1.4; letter-spacing: 0.14em; }
    .client-resource-section { padding: clamp(3.5rem,7vw,6rem) 0; background: var(--section-alt); border-top: 1px solid var(--border); }
    .client-resource-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.25rem; }
    .client-resource-head > p { max-width: 430px; font-size: 0.86rem; line-height: 1.85; color: var(--text-secondary); }
    .client-resource-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
    .client-resource-card {
      min-width: 0; display: flex; flex-direction: column; color: inherit; text-decoration: none;
      border: 1px solid var(--border); background: var(--white); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    }
    .client-resource-card:hover { transform: translateY(-4px); border-color: rgba(128,20,29,0.28); box-shadow: 0 16px 38px rgba(36,28,24,0.08); }
    .client-resource-image { height: 150px; overflow: hidden; background: var(--warm-panel); }
    .client-resource-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 650ms var(--ease-out); }
    .client-resource-card:hover .client-resource-image img { transform: scale(1.035); }
    .client-resource-copy { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
    .client-resource-copy > span:first-child { margin-bottom: 0.55rem; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--crimson); }
    .client-resource-copy h3 { margin-bottom: 0.55rem; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.25; color: var(--text-primary); }
    .client-resource-copy p { flex: 1; font-size: 0.78rem; line-height: 1.82; color: var(--text-secondary); }
    .client-resource-link { margin-top: 1rem; font-size: 0.63rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--crimson); }
    .client-resource-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
    .related-reading-strip { padding: clamp(2.5rem,5vw,3.5rem) 0; background: var(--white); border-top: 1px solid var(--border); }
    .related-reading-inner { display: grid; grid-template-columns: minmax(220px,0.8fr) minmax(0,2fr); gap: 2rem; align-items: center; }
    .related-reading-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0.75rem; }
    .related-reading-links a { padding: 1rem; border: 1px solid var(--border); color: var(--text-primary); text-decoration: none; font-size: 0.78rem; font-weight: 600; line-height: 1.45; transition: border-color var(--t), color var(--t), background var(--t); }
    .related-reading-links a:hover { border-color: var(--crimson); color: var(--crimson); background: var(--crimson-light); }
    @media (max-width: 900px) {
      .client-resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
      .related-reading-inner { grid-template-columns: 1fr; }
    }
    @media (max-width: 620px) {
      .client-decision-grid, .client-resource-grid, .related-reading-links { grid-template-columns: 1fr; }
      .client-resource-head { align-items: start; flex-direction: column; }
      .client-decision-card { min-height: 0; }
    }

    /* Tips pages: give long educational lists a designed card rhythm. */
    #panel-seller-tips div[style*="padding:1.5rem 0"] {
      padding: 1.5rem !important;
      margin-bottom: 0.8rem;
      border: 1px solid var(--border) !important;
      background: linear-gradient(135deg, var(--white), var(--off-white));
      box-shadow: 0 8px 24px rgba(36,28,24,0.035);
    }
    #panel-seller-tips div[style*="padding:1.5rem 0"]:nth-child(even) {
      transform: translateX(1.25rem);
    }

    /* Form pages: retain the exact forms while adding a visual story beside them. */
    .eval-left,
    #panel-contact .contact-grid > div:first-child { position: relative; }
    .eval-left::after,
    #panel-contact .contact-grid > div:first-child::after {
      content: '';
      display: block;
      width: calc(100% + 2rem);
      height: 230px;
      margin-top: 2.5rem;
      border: 10px solid rgba(255,255,255,0.82);
      box-shadow: var(--premium-shadow-soft);
      background-position: center;
      background-size: cover;
    }
    .eval-left::after {
      background-image:
        linear-gradient(to top, rgba(25,20,18,0.22), transparent 55%),
        url('/Calgary%20Media/nataliia-kvitovska-XQFQIutdIq8-unsplash.jpg');
    }
    #panel-contact .contact-grid > div:first-child::after {
      height: 200px;
      background-image:
        linear-gradient(to top, rgba(25,20,18,0.30), transparent 60%),
        url('/Calgary%20Media/toni-reed-SF7rG4vkD6I-unsplash.jpg');
      background-position: center 42%;
    }
    .eval-form-box,
    .cf-box {
      border-top: 3px solid var(--crimson);
      box-shadow: var(--premium-shadow-soft);
    }

    /* FAQ: add an image-led editorial opening and richer accordion surface. */
    #panel-faq > .container { max-width: 980px !important; }
    #panel-faq > .container::before {
      content: '';
      display: block;
      height: clamp(190px, 28vw, 300px);
      margin: -1rem 0 3rem;
      background:
        linear-gradient(90deg, rgba(25,20,18,0.12), rgba(25,20,18,0.02)),
        url('/Calgary%20Media/steph-smith-UACBRD8MUic-unsplash.jpg') center 54% / cover no-repeat;
      box-shadow: var(--premium-shadow-soft);
      border-bottom: 4px solid var(--crimson);
    }
    .faq-list {
      padding: 0 1.5rem;
      background: rgba(255,255,255,0.72);
      border: 1px solid var(--border);
      box-shadow: 0 12px 36px rgba(36,28,24,0.04);
    }
    .faq-item:first-child { border-top: 0; }

    /* Reviews: connect the award moment to the reviews and enrich each card. */
    .rma-award-banner { margin-bottom: 0; position: relative; overflow: hidden; }
    .rma-award-banner::after {
      content: '\201C';
      position: absolute;
      right: 4vw;
      top: -3.5rem;
      font-family: var(--font-display);
      font-size: 15rem;
      line-height: 1;
      color: rgba(255,255,255,0.055);
      pointer-events: none;
    }
    #panel-reviews > .container { padding-top: clamp(2.75rem,5vw,4.25rem); }
    .t-grid { gap: 1rem; }
    .t-card {
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 32px rgba(36,28,24,0.04);
    }
    .t-card::after {
      content: '\201C';
      position: absolute;
      right: 1rem;
      top: -0.55rem;
      font-family: var(--font-display);
      font-size: 5rem;
      color: rgba(128,20,29,0.06);
      pointer-events: none;
    }

    /* Detail pages: wider editorial canvas with a useful visual side rail. */
    .article-page {
      max-width: 1160px;
      padding-top: clamp(2.75rem,5vw,4.5rem);
      padding-bottom: clamp(4rem,7vw,6rem);
    }
    .article-page--blog { max-width: 1000px; }
    .article-page--blog .article-title { font-size: clamp(1.75rem, 2.7vw, 2.15rem); }
    .article-page--blog .article-cover-frame {
      max-width: 820px;
      margin-left: auto;
      margin-right: auto;
      background: transparent;
    }
    .article-page--blog .article-cover-frame img {
      width: 100%;
      height: auto;
      max-height: none;
      object-fit: contain;
    }
    .article-page--blog .article-body {
      max-width: 760px;
      margin-left: auto;
      margin-right: auto;
      font-size: 0.98rem;
    }
    .article-contents {
      max-width: 760px;
      margin: 0 auto 1.5rem;
      padding: 0.8rem 1rem;
      display: grid;
      grid-template-columns: auto minmax(0,1fr);
      align-items: center;
      gap: 0.9rem;
      background: var(--off-white);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .article-contents-label {
      font-size: 0.59rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      white-space: nowrap;
      color: var(--crimson);
    }
    .article-contents-list {
      min-width: 0;
      display: flex;
      gap: 0.4rem 1rem;
      overflow-x: auto;
      list-style: none;
      scrollbar-width: thin;
      scrollbar-color: rgba(128,20,29,0.25) transparent;
    }
    .article-contents-list li { flex: 0 0 auto; }
    .article-contents-list a {
      display: inline-block;
      padding: 0.22rem 0;
      color: var(--text-secondary);
      font-size: 0.69rem;
      font-weight: 500;
      line-height: 1.35;
      text-decoration: none;
      white-space: nowrap;
      transition: color 180ms ease;
    }
    .article-contents-list a::after { content: '  ·'; color: rgba(128,20,29,0.45); }
    .article-contents-list li:last-child a::after { content: ''; }
    .article-contents-list a:hover,
    .article-contents-list a:focus-visible { color: var(--crimson); }
    .market-report-cta {
      max-width: 880px;
      margin: 0 auto 2.25rem;
      padding: clamp(1.25rem,2.5vw,1.65rem) clamp(1.25rem,3vw,1.9rem);
      display: grid;
      grid-template-columns: minmax(0,1fr) auto;
      align-items: center;
      gap: 1.5rem;
      color: var(--white);
      background: var(--crimson);
      box-shadow: var(--premium-shadow-soft);
    }
    .market-report-cta-kicker {
      margin: 0 0 0.45rem;
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.68);
    }
    .market-report-cta-title {
      display: block;
      margin-bottom: 0.35rem;
      font-family: var(--font-display);
      font-size: clamp(1.25rem,2.2vw,1.55rem);
      font-weight: 600;
      line-height: 1.2;
    }
    .market-report-cta-copy {
      margin: 0;
      max-width: 590px;
      font-size: 0.76rem;
      line-height: 1.65;
      color: rgba(255,255,255,0.78);
    }
    .market-report-cta-link {
      min-height: 46px;
      padding: 0.85rem 1.2rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      white-space: nowrap;
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      color: var(--crimson);
      background: var(--white);
      border: 1px solid var(--white);
      transition: background 180ms ease, color 180ms ease;
    }
    .market-report-cta-link:hover {
      color: var(--white);
      background: transparent;
    }
    @media (max-width: 680px) {
      .market-report-cta { grid-template-columns: 1fr; gap: 1rem; }
      .market-report-cta-link { width: 100%; white-space: normal; text-align: center; }
    }
    .article-detail-grid {
      display: grid;
      grid-template-columns: minmax(0, 760px) minmax(230px, 290px);
      gap: clamp(2.5rem,5vw,5rem);
      align-items: start;
    }
    .article-detail-main { min-width: 0; }
    .article-head {
      padding-left: clamp(1rem,2.5vw,2rem);
      border-left: 2px solid var(--crimson);
      margin-bottom: 2rem;
    }
    .article-head .article-meta { margin-bottom: 0; }
    .article-cover-frame {
      margin: 0 0 2.5rem;
      overflow: hidden;
      box-shadow: var(--premium-shadow-soft);
      background: var(--section-alt);
    }
    .article-page:not(.article-page--blog) .article-cover-frame {
      aspect-ratio: 3 / 2;
    }
    .article-cover-frame img {
      display: block;
    }
    .article-page:not(.article-page--blog) .article-cover-frame img {
      width: 100%;
      height: 100%;
      max-height: none;
      object-fit: cover;
    }
    .article-body {
      font-size: 0.98rem;
      line-height: 1.9;
    }
    .article-body h2 {
      position: relative;
      scroll-margin-top: 6rem;
      margin: 2.15rem 0 0.7rem;
      padding-top: 0.85rem;
      border-top: 1px solid var(--border);
      font-size: clamp(1.55rem,2.4vw,1.9rem);
      line-height: 1.16;
    }
    .article-body h2::before {
      content: '';
      position: absolute;
      top: -1px;
      left: 0;
      width: 44px;
      height: 2px;
      background: var(--crimson);
    }
    .article-body h3 {
      scroll-margin-top: 6rem;
      margin: 1.45rem 0 0.5rem;
      padding-left: 0.75rem;
      border-left: 2px solid rgba(128,20,29,0.72);
      font-size: clamp(1.12rem,1.8vw,1.3rem);
      line-height: 1.25;
    }
    .article-body p { margin-bottom: 1rem; }
    .article-body ul,
    .article-body ol {
      margin: 0.65rem 0 1.25rem;
      padding-left: 1.35rem;
    }
    .article-body li {
      margin: 0.35rem 0;
      padding-left: 0.25rem;
      line-height: 1.75;
    }
    .article-body li::marker { color: var(--crimson); font-weight: 600; }
    .article-body a:not(.btn-primary):not(.btn-outline) {
      color: var(--crimson);
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
    }
    .article-body > p:first-child::first-letter {
      float: left;
      margin: 0.12em 0.12em 0 0;
      font-family: var(--font-display);
      font-size: 3.4rem;
      line-height: 0.75;
      color: var(--crimson);
    }
    .article-table-wrap {
      overflow-x: auto;
      margin: 1.75rem 0;
      -webkit-overflow-scrolling: touch;
    }
    .article-body table {
      width: 100%;
      min-width: 420px;
      border-collapse: collapse;
      font-size: 0.88rem;
    }
    .article-body th,
    .article-body td {
      padding: 0.7rem 0.9rem;
      border-bottom: 1px solid var(--border);
      text-align: left;
      vertical-align: top;
    }
    .article-body th {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-primary);
      background: var(--section-alt);
    }
    .article-body td.num,
    .article-body th.num { text-align: right; white-space: nowrap; }
    .article-body blockquote {
      margin: 1.4rem 0;
      padding: 1.15rem 1.35rem;
      background: var(--section-alt);
      border-left: 2px solid var(--crimson);
    }
    .article-body blockquote p:last-child { margin-bottom: 0; }
    .article-body h4 {
      font-family: var(--font-display);
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--text-primary);
      margin: 1.75rem 0 0.5rem;
    }
    @media (max-width: 600px) {
      .article-contents { grid-template-columns: 1fr; gap: 0.35rem; padding: 0.75rem 0.85rem; }
      .article-body h2 { margin-top: 1.9rem; }
      .article-body h3 { margin-top: 1.3rem; }
    }
    .article-rail {
      position: sticky;
      top: 6rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .article-rail-card {
      padding: 1.5rem;
      background: var(--white);
      border: 1px solid var(--border);
      box-shadow: var(--premium-shadow-soft);
    }
    .article-rail-photo {
      aspect-ratio: 4 / 3;
      overflow: hidden;
      margin: -1.5rem -1.5rem 1.25rem;
      background: var(--section-alt);
    }
    .article-rail-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
    .article-rail-kicker {
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.17em;
      text-transform: uppercase;
      color: var(--crimson);
      margin-bottom: 0.55rem;
    }
    .article-rail-title {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 600;
      line-height: 1.25;
      color: var(--text-primary);
      margin-bottom: 0.65rem;
    }
    .article-rail-copy { font-size: 0.78rem; font-weight: 300; line-height: 1.85; letter-spacing: 0; color: var(--text-secondary); margin-bottom: 1rem; }
    .article-rail .btn-primary,
    .article-rail .btn-outline { width: 100%; text-align: center; justify-content: center; padding: 0.8rem 1rem; }
    .article-rail-facts { display: grid; gap: 0.85rem; }
    .article-rail-fact { padding-bottom: 0.85rem; border-bottom: 1px solid var(--border); }
    .article-rail-fact:last-child { padding-bottom: 0; border-bottom: 0; }
    .article-rail-fact span { display: block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
    .article-rail-fact strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text-primary); }
    .neighbourhood-guide-cta { margin-top: 3rem; padding: clamp(1.5rem,4vw,2.25rem); border: 1px solid var(--border); background: var(--off-white); }
    .neighbourhood-guide-cta h2 { margin: 0.2rem 0 0.75rem; font-family: var(--font-display); font-size: clamp(1.65rem,3vw,2.25rem); font-weight: 500; line-height: 1.1; }
    .neighbourhood-guide-cta > p:not(.article-rail-kicker) { max-width: 620px; margin-bottom: 1.25rem; color: var(--text-secondary); font-size: 0.85rem; font-weight: 300; line-height: 1.85; letter-spacing: 0; }
    .neighbourhood-guide-cta > div { display: flex; flex-wrap: wrap; gap: 0.75rem; }
    .related-nbhd-list { border-top: 1px solid var(--border); }
    .related-nbhd-link {
      display: grid;
      grid-template-columns: 2rem minmax(0,1fr) auto;
      gap: 0.7rem;
      align-items: center;
      padding: 0.95rem 0;
      color: inherit;
      text-decoration: none;
      border-bottom: 1px solid var(--border);
      transition: color 0.2s ease, padding 0.2s ease;
    }
    .related-nbhd-link:hover { color: var(--crimson); padding-left: 0.35rem; }
    .related-nbhd-index {
      font-family: var(--font-display);
      font-size: 1.2rem;
      color: rgba(128,20,29,0.38);
      line-height: 1;
    }
    .related-nbhd-text { min-width: 0; }
    .related-nbhd-text strong {
      display: block;
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.15;
      color: var(--text-primary);
      margin-bottom: 0.25rem;
    }
    .related-nbhd-text small {
      display: block;
      font-size: 0.58rem;
      line-height: 1.55;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    .related-nbhd-arrow { color: var(--crimson); transition: transform 0.2s ease; }
    .related-nbhd-link:hover .related-nbhd-arrow { transform: translateX(3px); }

    /* Home section transitions: tighten the empty pauses while retaining luxury spacing. */
    #panel-home .home-stats { position: relative; z-index: 2; box-shadow: 0 14px 40px rgba(36,28,24,0.055); }
    #panel-home section[style*="padding:clamp(5rem"] { padding-top: clamp(3.75rem,6vw,5.5rem) !important; padding-bottom: clamp(3.75rem,6vw,5.5rem) !important; }
    #panel-home > section > .container[style*="padding-top:5rem"] {
      padding-top: 4.25rem !important;
      padding-bottom: 4.25rem !important;
    }
    #panel-home > section:nth-of-type(2) > .container[style*="padding-top:5rem"] {
      padding-top: 3.5rem !important;
    }

    @media (max-width: 900px) {
      .article-detail-grid { grid-template-columns: minmax(0, 1fr); }
      .article-rail { position: static; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
      .article-rail-card:first-child:last-child { grid-column: 1 / -1; }
      #panel-seller-tips div[style*="padding:1.5rem 0"]:nth-child(even) { transform: none; }
    }
    @media (max-width: 720px) {
      .bs-step-card { min-height: 0; padding: 1.6rem; }
      .bs-step-num { font-size: 1.75rem; }
      .eval-left::after,
      #panel-contact .contact-grid > div:first-child::after { width: 100%; height: 190px; }
      #panel-faq > .container::before { margin-top: 0; margin-bottom: 2rem; }
      .faq-list { padding: 0 1rem; }
      .article-page { padding-left: 1.15rem; padding-right: 1.15rem; }
      .article-head { padding-left: 1rem; }
      .article-rail { grid-template-columns: 1fr; }
      .article-rail-card:first-child:last-child { grid-column: auto; }
    }

  
