*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --black: #0a0a0a;
      --white: #faf8f5;

      --page: #f5f0e8;
      --surface: #ebe5dc;
      --cream: #f9f5ef;
      --accent-wash: #f0e9de;

      --grey-900: var(--black);
      --grey-800: #1e293b;
      --grey-700: #334155;
      --grey-600: #475569;
      --grey-200: #cbd5e1;

      --deep: var(--black);
      --deep-mid: #1e293b;
      --text-dark: var(--black);
      --text-muted: #334155;

      --blue: #2563eb;
      --blue-dark: #1d4ed8;
      --blue-mid: #3b82f6;
      --blue-light: #93c5fd;
      --blue-wash: #dbeafe;

      --orange: #dc2626;
      --ember: var(--blue);
      --orange-dark: #b91c1c;
      --orange-mid: #ef4444;
      --accent: #f87171;
      --accent-bright: #fef2f2;

      --border: #cbd5e1;
      --border-grey: #e2e8f0;

      --shadow-rgb: 15, 23, 42;
      --orange-glow: rgba(220, 38, 38, 0.35);
      --blue-glow: rgba(37, 99, 235, 0.35);

      --font-family: 'Lato', sans-serif;

      --layout-max: 1280px;
      --layout-pad: 5%;
    }

    html {
      width: 100%;
    }

    body {
      width: 100%;
      min-width: 0;
      font-family: var(--font-family);
      color: var(--text-dark);
      background: var(--page);
      -webkit-font-smoothing: antialiased;
      overflow-x: clip;
    }

    main {
      width: 100%;
    }

    /* Centered content shells — full width up to layout max */
    .page-hero-inner,
    .floor-plans-content,
    .contact-page__inner,
    .process-page__inner,
    .process-video-hero-inner,
    .process-cta__inner,
    .faq-section,
    .fin-main {
      width: 100%;
      max-width: var(--layout-max);
      margin-left: auto;
      margin-right: auto;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: var(--white);
      border-bottom: 1px solid var(--border-grey);
      padding: 0 var(--layout-pad);
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
      box-shadow: 0 1px 3px rgba(var(--shadow-rgb), 0.06);
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
      color: var(--grey-800);
      flex-shrink: 0;
    }

    .logo img {
      height: 44px;
      width: auto;
      max-width: 56px;
      object-fit: contain;
      display: block;
    }

    .logo-text {
      font-family: var(--font-family);
      font-size: 1.12rem;
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: 0.02em;
      color: var(--grey-800);
    }

    .nav-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem 1.25rem;
      list-style: none;
      justify-content: flex-end;
      align-items: center;
    }

    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 400;
      letter-spacing: 0.04em;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--ember); }

    .nav-links a.is-current {
      color: var(--deep-mid);
      font-weight: 500;
    }

    .nav-item--has-dropdown {
      position: relative;
    }

    .nav-dropdown-trigger {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .nav-dropdown-trigger::after {
      content: '';
      width: 0;
      height: 0;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 5px solid currentColor;
      opacity: 0.65;
      transition: transform 0.25s ease;
    }

    .nav-item--has-dropdown.is-open .nav-dropdown-trigger::after,
    .nav-item--has-dropdown:hover .nav-dropdown-trigger::after {
      transform: rotate(180deg);
    }

    .nav-dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(0.35rem);
      min-width: 16.5rem;
      margin: 0;
      padding: 0.5rem 0;
      list-style: none;
      background: var(--white);
      border: 1px solid var(--border-grey);
      border-radius: 10px;
      box-shadow:
        0 4px 6px rgba(var(--shadow-rgb), 0.04),
        0 16px 40px rgba(var(--shadow-rgb), 0.14);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        visibility 0.28s ease;
      z-index: 120;
    }

  /* Invisible bridge so pointer can move from trigger to menu */
    .nav-dropdown-menu::before {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 100%;
      height: 0.65rem;
    }

    .nav-dropdown-menu a {
      display: block;
      padding: 0.65rem 1.15rem;
      font-size: 0.82rem;
      letter-spacing: 0.03em;
      white-space: nowrap;
      color: var(--text-muted);
      transition: background 0.15s ease, color 0.15s ease;
    }

    .nav-dropdown-menu a:hover {
      background: var(--cream);
      color: var(--deep-mid);
    }

    /* Desktop: hover to open, closes when pointer leaves */
    @media (hover: hover) and (min-width: 901px) {
      .nav-item--has-dropdown:hover .nav-dropdown-menu,
      .nav-item--has-dropdown.is-open .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0.5rem);
      }

      .nav-item--has-dropdown:focus-within .nav-dropdown-menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }

      .nav-item--has-dropdown:hover:focus-within .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0.5rem);
      }
    }

    /* Touch / narrow: click toggles .is-open (JS) */
    @media (hover: none), (max-width: 900px) {
      .nav-item--has-dropdown:hover .nav-dropdown-menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }

      .nav-item--has-dropdown.is-open .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0.5rem);
      }
    }

    .nav-cta {
      background: linear-gradient(180deg, var(--orange-mid) 0%, var(--orange) 100%);
      color: var(--white) !important;
      padding: 0.5rem 1.25rem;
      border-radius: 6px;
      font-weight: 500 !important;
      border: 1px solid var(--orange-dark);
      box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
    }

    a.nav-cta {
      display: inline-block;
      text-decoration: none;
      font-size: 0.82rem;
      letter-spacing: 0.04em;
      line-height: 1.2;
    }

    a.nav-cta.is-current {
      box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--orange-mid);
    }

    button.nav-cta {
      font-family: inherit;
      font-size: 0.82rem;
      letter-spacing: 0.04em;
      border: none;
      cursor: pointer;
    }

    button.btn-primary,
    button.btn-secondary {
      font-family: inherit;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      display: inline-block;
      background: linear-gradient(180deg, var(--orange-mid) 0%, var(--orange) 100%);
      color: var(--white);
      padding: 0.85rem 2rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      letter-spacing: 0.02em;
      border: 1px solid var(--orange-dark);
      box-shadow: 0 2px 10px rgba(220, 38, 38, 0.22);
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    }

    .btn-primary:hover {
      background: linear-gradient(180deg, var(--accent) 0%, var(--orange-dark) 100%);
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(220, 38, 38, 0.28);
    }

    .btn-secondary {
      display: inline-block;
      border: 1px solid var(--border-grey);
      color: var(--deep-mid);
      background: rgba(250, 248, 245, 0.92);
      padding: 0.85rem 2rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: border-color 0.2s, background 0.2s;
    }

    .btn-secondary:hover {
      border-color: var(--blue-mid);
      background: var(--cream);
      color: var(--blue-dark);
    }

    .view-all {
      color: var(--deep-mid);
      font-size: 0.9rem;
      font-weight: 500;
      text-decoration: none;
      border-bottom: 1px solid var(--deep-mid);
      padding-bottom: 1px;
      transition: color 0.2s, border-color 0.2s;
    }

    .view-all:hover {
      color: var(--ember);
      border-color: var(--blue-glow);
    }

/* ── SECTION SHARED ── */
    section {
      width: 100%;
      padding: 5rem var(--layout-pad);
    }

    .section-label {
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-family: var(--font-family);
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 700;
      color: var(--deep-mid);
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    .section-sub {
      color: var(--text-muted);
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.7;
      max-width: 52ch;
      margin-left: auto;
      margin-right: auto;
    }

/* ── FOOTER ── */
    footer {
      position: relative;
      isolation: isolate;
      color: var(--deep-mid);
      width: 100%;
      padding: 3.25rem var(--layout-pad);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1.25rem;
      border-top: 1px solid rgba(37, 99, 235, 0.12);
      overflow: hidden;
      background-color: var(--accent-wash);
    }

    footer::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('../images/houseLand.jpg') center center / cover no-repeat;
      z-index: -2;
    }

    footer::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        180deg,
        rgba(219, 234, 254, 0.88) 0%,
        rgba(191, 219, 254, 0.82) 50%,
        rgba(219, 234, 254, 0.92) 100%
      );
      z-index: -1;
    }

    .footer-logo {
      font-family: var(--font-family);
      color: var(--deep-mid);
      font-size: 1.05rem;
      font-weight: 700;
    }

    .footer-logo a {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: inherit;
      text-decoration: none;
    }

    .footer-logo img {
      height: 36px;
      width: auto;
      object-fit: contain;
    }

    .footer-meta {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      flex: 1;
      text-align: center;
    }

    .footer-social {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.55rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .footer-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.25rem;
      height: 2.25rem;
      margin-left: 0;
      color: var(--blue-dark);
      background: rgba(255, 255, 255, 0.55);
      border: 1px solid rgba(37, 99, 235, 0.18);
      border-radius: 50%;
      transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

    .footer-social a:hover {
      color: var(--orange);
      background: rgba(255, 255, 255, 0.9);
      border-color: rgba(220, 38, 38, 0.35);
      transform: scale(1.12);
    }

    .footer-social svg {
      width: 1.05rem;
      height: 1.05rem;
      display: block;
    }

    footer p {
      font-size: 0.82rem;
      color: var(--text-muted);
      margin: 0;
    }

    footer .footer-links a {
      color: var(--blue-dark);
      text-decoration: none;
      margin-left: 1.25rem;
      font-size: 0.82rem;
      transition: color 0.15s;
    }

    footer .footer-links a:hover {
      color: var(--orange);
    }

    @media (max-width: 640px) {
      footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .footer-meta {
        width: 100%;
      }

      footer .footer-links a {
        margin-left: 0;
        margin-right: 1rem;
      }

      footer > .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
      }
    }

/* ── CONTACT MODAL ── */
    .contact-modal {
      position: fixed;
      inset: 0;
      z-index: 10100;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.25rem;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.22s ease, visibility 0.22s ease;
    }

    .contact-modal.is-open {
      opacity: 1;
      visibility: visible;
    }

    .contact-modal__scrim {
      position: absolute;
      inset: 0;
      background: rgba(var(--shadow-rgb), 0.35);
      border: none;
      cursor: pointer;
    }

    .contact-modal__box {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 440px;
      max-height: min(92vh, 640px);
      overflow-y: auto;
      background: var(--white);
      border-radius: 14px;
      box-shadow: 0 24px 60px rgba(var(--shadow-rgb), 0.12);
      border: 1px solid var(--border-grey);
    }

    .contact-modal__head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      padding: 1.25rem 1.25rem 1rem;
      background: linear-gradient(180deg, var(--white) 0%, var(--page) 100%);
      color: var(--deep-mid);
      border-radius: 14px 14px 0 0;
      border-bottom: 1px solid var(--border-grey);
    }

    .contact-modal__head h2 {
      font-family: var(--font-family);
      font-size: 1.35rem;
      font-weight: 700;
      margin: 0;
      line-height: 1.2;
    }

    .contact-modal__head p {
      margin: 0.35rem 0 0;
      font-size: 0.85rem;
      color: var(--text-muted);
      font-weight: 400;
    }

    .contact-modal__close {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border: none;
      border-radius: 8px;
      background: #e7e5e4;
      color: var(--deep-mid);
      cursor: pointer;
      font-size: 1.35rem;
      line-height: 1;
      display: grid;
      place-items: center;
      transition: background 0.15s;
    }

    .contact-modal__close:hover { background: #d6d3d1; }

    .contact-call-strip {
      margin: 0 1.25rem;
      margin-top: -0.5rem;
      padding: 1rem 1.1rem;
      background: var(--white);
      border: 1px solid var(--border-grey);
      border-radius: 10px;
      text-align: center;
    }

    .contact-call-strip p {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin: 0 0 0.35rem;
    }

    .contact-call-strip a {
      font-family: var(--font-family);
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--deep-mid);
      text-decoration: none;
    }

    .contact-call-strip a:hover { color: var(--ember); }

    .contact-form {
      padding: 1.25rem 1.25rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .contact-field label {
      display: block;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--deep-mid);
      margin-bottom: 0.35rem;
    }

    .contact-field input,
    .contact-field textarea {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0.65rem 0.85rem;
      font-size: 0.95rem;
      font-family: inherit;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .contact-field textarea {
      min-height: 120px;
      resize: vertical;
      line-height: 1.55;
    }

    .contact-field input:focus,
    .contact-field textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25);
    }

    .contact-submit {
      margin-top: 0.25rem;
      width: 100%;
      border-radius: 8px;
      padding: 0.85rem 1rem;
      background: linear-gradient(180deg, var(--orange-mid) 0%, var(--orange) 100%);
      color: var(--white);
      font-weight: 600;
      font-size: 0.95rem;
      font-family: inherit;
      cursor: pointer;
      border: 1px solid var(--orange-dark);
      transition: background 0.15s, transform 0.12s;
    }

    .contact-submit:hover {
      background: linear-gradient(180deg, var(--accent) 0%, var(--orange-dark) 100%);
      transform: translateY(-1px);
    }

    .contact-success {
      padding: 2rem 1.5rem;
      text-align: center;
      display: none;
    }

    .contact-success.is-visible { display: block; }

    .contact-success p {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.65;
      margin-bottom: 1.25rem;
    }

    .contact-success p a {
      color: var(--deep-mid);
      font-weight: 500;
    }

    .contact-success .btn-dismiss {
      display: inline-block;
      padding: 0.65rem 1.5rem;
      border-radius: 8px;
      border: 1px solid var(--border-grey);
      background: var(--surface);
      color: var(--deep-mid);
      font-family: inherit;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
    }

    .contact-success .btn-dismiss:hover { background: var(--white); }

    .contact-form-wrap.is-hidden { display: none; }

    .contact-modal__more {
      text-align: center;
      margin: 0;
      font-size: 0.86rem;
      line-height: 1.45;
      color: var(--deep-mid);
      font-weight: 500;
      border-top: 1px solid var(--border-grey);
      padding: 1rem 1.25rem 1.35rem;
    }

/* ── TALK AGENT (bottom right) ── */
    .talk-agent {
      position: fixed;
      right: 1.25rem;
      bottom: 1.25rem;
      left: auto;
      top: auto;
      z-index: 10000;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0.5rem;
      font-family: var(--font-family);
    }

    .talk-agent__drag {
      width: 58px;
      height: 14px;
      flex-shrink: 0;
      border-radius: 7px;
      background: #e7e5e4;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
      cursor: grab;
      touch-action: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      order: 2;
      border: 1px solid #d6d3d1;
    }

    .talk-agent__drag span {
      display: block;
      width: 14px;
      height: 3px;
      border-radius: 2px;
      background: #a8a29e;
    }

    .talk-agent__drag:hover {
      background: #d6d3d1;
    }

    .talk-agent__drag.is-dragging {
      cursor: grabbing;
      opacity: 0.92;
    }

    .talk-panel {
      order: 1;
      width: min(100vw - 2rem, 380px);
      max-height: min(72vh, 480px);
      background: var(--white);
      border-radius: 14px;
      box-shadow: 0 20px 50px rgba(var(--shadow-rgb), 0.12);
      border: 1px solid var(--border-grey);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      opacity: 0;
      transform: translateY(12px) scale(0.97);
      pointer-events: none;
      transition: opacity 0.22s ease, transform 0.22s ease;
      position: absolute;
      right: 0;
      bottom: calc(58px + 14px + 1rem);
      visibility: hidden;
    }

    .talk-agent.is-open .talk-panel {
      position: relative;
      bottom: auto;
      visibility: visible;
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .talk-head {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 0.85rem 1rem 0.75rem;
      background: linear-gradient(180deg, var(--white) 0%, var(--page) 100%);
      color: var(--deep-mid);
      border-bottom: 1px solid var(--border-grey);
    }

    .talk-head-text h2 {
      font-family: var(--font-family);
      font-size: 1.05rem;
      font-weight: 600;
      margin: 0;
      line-height: 1.2;
    }

    .talk-head-text p {
      margin: 0.2rem 0 0;
      font-size: 0.75rem;
      color: var(--text-muted);
      font-weight: 400;
    }

    .talk-close {
      flex-shrink: 0;
      width: 34px;
      height: 34px;
      border: none;
      border-radius: 8px;
      background: #e7e5e4;
      color: var(--deep-mid);
      cursor: pointer;
      font-size: 1.25rem;
      line-height: 1;
      display: grid;
      place-items: center;
      transition: background 0.15s;
    }

    .talk-close:hover { background: #d6d3d1; }

    .talk-messages {
      flex: 1;
      min-height: 120px;
      max-height: 280px;
      overflow-y: auto;
      padding: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      background: var(--white);
    }

    .talk-bubble {
      max-width: 88%;
      padding: 0.5rem 0.75rem;
      border-radius: 12px;
      font-size: 0.82rem;
      line-height: 1.45;
      word-wrap: break-word;
    }

    .talk-bubble--agent {
      align-self: flex-start;
      background: var(--surface);
      color: var(--text-dark);
      border: 1px solid var(--border-grey);
      border-bottom-left-radius: 4px;
    }

    .talk-bubble--agent a {
      color: var(--blue-dark);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .talk-bubble--agent a:hover {
      color: var(--orange-dark);
    }

    .talk-bubble--user {
      align-self: flex-end;
      background: linear-gradient(145deg, var(--blue-wash) 0%, var(--blue-light) 50%, var(--orange-mid) 100%);
      color: var(--grey-800);
      border-bottom-right-radius: 4px;
      border: 1px solid var(--orange-glow);
    }

    .talk-bubble--typing {
      align-self: flex-start;
      font-style: italic;
      color: var(--text-muted);
      background: transparent;
      border: none;
      padding: 0.35rem 0.85rem;
    }

    .talk-form {
      display: flex;
      gap: 0.5rem;
      padding: 0.75rem;
      border-top: 1px solid var(--border-grey);
      background: var(--white);
      flex-shrink: 0;
    }

    .talk-input {
      flex: 1;
      border: 1px solid var(--border-grey);
      border-radius: 10px;
      padding: 0.65rem 0.85rem;
      font-size: 0.88rem;
      font-family: inherit;
      color: var(--text-dark);
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .talk-input:focus {
      border-color: var(--blue-mid);
      box-shadow: 0 0 0 3px var(--blue-glow);
    }

    .talk-send {
      flex-shrink: 0;
      border: none;
      border-radius: 10px;
      padding: 0 1rem;
      background: var(--blue-dark);
      color: var(--white);
      font-weight: 500;
      font-size: 0.85rem;
      font-family: inherit;
      cursor: pointer;
      transition: background 0.15s;
    }

    .talk-send:hover {
      background: var(--blue);
    }

    .talk-fab {
      order: 3;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      border: 1px solid var(--orange-glow);
      background: linear-gradient(145deg, var(--blue-wash) 0%, var(--blue-light) 40%, var(--orange-mid) 100%);
      color: var(--grey-800);
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(var(--shadow-rgb), 0.12);
      display: grid;
      place-items: center;
      transition: transform 0.15s, box-shadow 0.15s;
    }

    .talk-fab:hover {
      transform: scale(1.06);
      box-shadow: 0 10px 28px rgba(var(--shadow-rgb), 0.14);
    }

    .talk-fab svg {
      width: 26px;
      height: 26px;
    }

    .talk-fab .talk-fab-icon-close { display: none; }

    .talk-agent.is-open .talk-fab .talk-fab-icon-chat { display: none; }
    .talk-agent.is-open .talk-fab .talk-fab-icon-close { display: block; }

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

.page-hero {
      width: 100%;
      margin-top: 70px;
      background: linear-gradient(160deg, var(--white) 0%, var(--page) 40%, var(--cream) 100%);
      padding: 3rem var(--layout-pad) 3.25rem;
      position: relative;
      overflow: hidden;
    }

    .page-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('https://images.unsplash.com/photo-1570129477492-45c003edd2be?w=900&auto=format&fit=crop') center/cover no-repeat;
      opacity: 0.08;
      pointer-events: none;
    }

    .page-hero-inner {
      position: relative;
    }

    .page-hero .section-label {
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 0.6rem;
    }

    .page-hero h1,
    .page-hero__title {
      font-family: var(--font-family);
      font-size: clamp(1.85rem, 4vw, 2.5rem);
      font-weight: 700;
      color: var(--deep-mid);
      line-height: 1.2;
      margin-bottom: 0.75rem;
    }

    /* ── Page hero entrance animations ── */
    .page-hero--entrance .page-hero__eyebrow,
    .page-hero--entrance .section-label,
    .page-hero--entrance .brand-line {
      opacity: 0;
      animation: heroEyebrowIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
    }

    .page-hero--entrance .page-hero__desc,
    .page-hero--entrance .hero-lead,
    .page-hero--entrance .page-hero-inner > p:not(.section-label):not(.brand-line):not(.page-hero__eyebrow) {
      opacity: 0;
      animation: heroDescIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
    }

    .page-hero--entrance .back-home {
      opacity: 0;
      animation: heroDescIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
    }

    .page-hero__title.is-split {
      margin-bottom: 0.5rem;
    }

    .page-hero__char {
      display: inline-block;
      opacity: 0;
      transform: translateY(1.15em) rotateX(55deg);
      transform-origin: 50% 100%;
      animation: heroCharIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .page-hero__title.is-split::after {
      content: '';
      display: block;
      height: 4px;
      width: 0;
      margin-top: 0.6rem;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--orange-dark) 0%, var(--orange-mid) 50%, var(--accent) 100%);
      animation: heroUnderlineGrow 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      animation-delay: var(--hero-underline-delay, 0.85s);
    }

    .building-process-page .page-hero__title.is-split .page-hero__char {
      animation-name: heroCharBuild;
    }

    .financing-page .page-hero__title.is-split .page-hero__char {
      animation-name: heroCharFinance;
    }

    .faq-page .page-hero__title.is-split .page-hero__char {
      animation-name: heroCharFaq;
    }

    @keyframes heroEyebrowIn {
      from {
        opacity: 0;
        transform: translateY(-12px);
        letter-spacing: 0.28em;
      }
      to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.14em;
      }
    }

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

    @keyframes heroCharIn {
      to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
      }
    }

    @keyframes heroCharBuild {
      from {
        opacity: 0;
        transform: translateX(-18px) translateY(8px);
        filter: blur(4px);
      }
      to {
        opacity: 1;
        transform: translateX(0) translateY(0);
        filter: blur(0);
      }
    }

    @keyframes heroCharFinance {
      from {
        opacity: 0;
        transform: scale(0.6);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes heroCharFaq {
      from {
        opacity: 0;
        transform: translateY(-14px) scale(0.92);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @keyframes heroUnderlineGrow {
      to {
        width: min(100%, 12rem);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .page-hero--entrance .page-hero__eyebrow,
      .page-hero--entrance .section-label,
      .page-hero--entrance .brand-line,
      .page-hero--entrance .page-hero__desc,
      .page-hero--entrance .hero-lead,
      .page-hero--entrance .back-home,
      .page-hero__char {
        opacity: 1;
        transform: none;
        animation: none;
        filter: none;
      }

      .page-hero__title.is-split::after {
        width: min(100%, 12rem);
        animation: none;
      }
    }

    .page-hero p {
      color: var(--text-muted);
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.65;
      max-width: 52ch;
    }

    .back-home {
      display: inline-block;
      margin-top: 1.25rem;
      color: var(--ember);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      border-bottom: 1px solid var(--blue-glow);
      transition: color 0.15s, border-color 0.15s;
    }

    .back-home:hover {
      color: var(--blue-dark);
      border-bottom-color: rgba(29, 78, 216, 0.45);
    }

    .section-label {
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-family: var(--font-family);
      font-size: clamp(1.65rem, 3vw, 2.1rem);
      font-weight: 700;
      color: var(--deep-mid);
      line-height: 1.2;
      margin-bottom: 0.65rem;
    }

    .section-sub {
      color: var(--text-muted);
      font-size: 1.02rem;
      font-weight: 400;
      line-height: 1.7;
      max-width: 36rem;
    }

.back-home {
      display: inline-block;
      margin-top: 1.25rem;
      color: var(--ember);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      border-bottom: 1px solid var(--blue-glow);
      transition: color 0.15s, border-color 0.15s;
    }

    .back-home:hover {
      color: var(--blue-dark);
      border-bottom-color: rgba(29, 78, 216, 0.45);
    }

    .section-label {
      font-size: 0.75rem;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-family: var(--font-family);
      font-size: clamp(1.65rem, 3vw, 2.1rem);
      font-weight: 700;
      color: var(--deep-mid);
      line-height: 1.2;
      margin-bottom: 0.65rem;
    }

    .section-sub {
      color: var(--text-muted);
      font-size: 1.02rem;
      font-weight: 400;
      line-height: 1.7;
      max-width: 36rem;
    }
