*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --forest: #1B3A2E;
    --terracotta: #FFFFFF;
    --surveyor-orange: #FFFFFF;
    --accent-shadow: 0 0 1px rgba(255,255,255,0.5), 0 1px 0 rgba(255,255,255,0.25), 0 0 8px rgba(255,255,255,0.28), 0 0 16px rgba(255,255,255,0.12);
    --accent-glow: 0 0 6px rgba(255,255,255,0.28), 0 0 14px rgba(255,255,255,0.1);
    --parchment: #F4F1EA;
    --near-black: #141414;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --section-pad-y: 72px;
    --section-pad-x: 56px;
    --content-max: 1200px;
  }

  html, body { height: 100%; }
  body {
    font-family: var(--sans);
    background: var(--near-black);
    color: var(--parchment);
    overflow-x: hidden;
  }

  /* The scroll track — height comes from section content (equal padding). */
  .scroll-track {
    position: relative;
    height: auto;
  }

  /* The world layer — ONE continuous tall image, fixed in the viewport,
     panned via translateY as the person scrolls the track above. */
  .world {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
  }
  .world-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    /* Do NOT use bare height:auto alone — empty bg-only div collapses to 0.
       aspect-ratio keeps it visible even if JS hasn't run yet;
       setupPan() still sets an explicit px height for the pan math.
       Avoid translateX centering — GSAP's y transform would overwrite it. */
    aspect-ratio: 473 / 1024;
    height: auto;
    background-image: url('../images/hero.jpg?v=sunrise');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    will-change: transform;
    backface-visibility: hidden;
  }
  .world-grade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,12,8,0.32), rgba(20,12,8,0.18) 38%, rgba(12,8,6,0.58) 100%);
    pointer-events: none;
  }
  .world-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px max(56px, calc((100vw - var(--content-max)) / 2));
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
  }
  nav.scrolled { background: rgba(20,20,20,0.5); backdrop-filter: blur(14px); }
  .nav-logo {
    display: flex;
    align-items: center;
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.15;
    color: var(--parchment);
    text-decoration: none;
    white-space: nowrap;
    min-width: 0;
  }
  .nav-logo:hover { color: #fff; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-links a {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(244,241,234,0.85);
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
  }
  .nav-links a:hover { color: var(--surveyor-orange); }
  .nav-links a.nav-phone {
    font-family: var(--mono);
    color: var(--surveyor-orange);
    text-shadow: var(--accent-shadow);
  }

  .nav-cta {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--near-black);
    background: var(--surveyor-orange);
    padding: 11px 24px;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.25s, box-shadow 0.25s;
    white-space: nowrap;
    box-shadow: var(--accent-glow);
  }
  .nav-cta:hover { background: #e8e4d8; }
  .nav-cta-menu { display: none; }

  @media (max-width: 900px) {
    :root {
      --section-pad-y: 56px;
      --section-pad-x: 20px;
    }
    .nav-links { display: none; }
    nav {
      padding: 14px 16px;
      gap: 12px;
    }
    .nav-logo {
      font-size: 0.78rem;
      line-height: 1.15;
      min-width: 0;
      flex: 1 1 auto;
      padding-right: 8px;
      white-space: normal;
    }
    nav > .nav-cta { display: none; }
    .scene {
      padding: var(--section-pad-y) var(--section-pad-x);
      height: auto;
      min-height: 0;
    }
    #scene0 {
      padding-top: 84px;
      padding-bottom: var(--section-pad-y);
      min-height: 100svh;
    }
    .scene-title {
      font-size: clamp(1.75rem, 8vw, 2.4rem);
    }
    #scene0 .scene-offer {
      font-size: clamp(1.2rem, 5.2vw, 1.65rem);
    }
    #scene0 .scene-title {
      font-size: clamp(1rem, 4vw, 1.25rem);
    }
    .hero-logo-img {
      height: auto;
      width: min(280px, 78vw);
    }
    .scene-end {
      padding-left: 0;
      padding-right: 0;
      padding-top: var(--section-pad-y);
      min-height: 0;
    }
    .world-image {
      aspect-ratio: 730 / 2153;
      background-image: url('../images/hero-mobile.png?v=sunrise');
    }
    .world-grade {
      background: linear-gradient(180deg, rgba(20,12,8,0.5), rgba(20,12,8,0.36) 38%, rgba(12,8,6,0.74) 100%);
    }
    .world-vignette {
      background: radial-gradient(ellipse at center, rgba(0,0,0,0.24) 40%, rgba(0,0,0,0.7) 100%);
    }
    .hero-with-form .quote-card {
      background: rgba(10, 8, 7, 0.55);
    }
  }

  /* progress rail */
  .progress-rail {
    position: fixed;
    right: 32px; top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex; flex-direction: column; gap: 14px;
  }
  .progress-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(244,241,234,0.25); transition: background 0.3s, transform 0.3s; }
  .progress-dot.active { background: var(--surveyor-orange); transform: scale(1.6); box-shadow: var(--accent-glow); }

  @media (max-width: 900px) {
    .progress-rail { display: none; }
  }

  /* ── CONTENT PANELS — float on top of the world ── */
  .scene {
    position: relative;
    height: auto;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    z-index: 2;
    padding: var(--section-pad-y) var(--section-pad-x);
  }
  #scene0 {
    align-items: flex-start;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: var(--section-pad-y);
    height: auto;
    min-height: 100vh; /* first screen still fills the viewport */
  }
  .scene-inner { max-width: 560px; }
  .scene-inner-wide {
    max-width: 1100px;
    width: 100%;
  }
  .scene-story .scene-desc {
    max-width: 720px;
  }
  .scene-eyebrow {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--surveyor-orange);
    margin-bottom: 16px;
    text-shadow: var(--accent-shadow);
  }
  #services .scene-eyebrow {
    font-size: 1.05rem;
    margin-bottom: 20px;
  }
  .scene-offer {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 500;
    color: var(--surveyor-orange);
    margin-bottom: 12px;
    text-shadow: var(--accent-shadow);
  }
  .scene-title {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 500;
    margin-bottom: 18px;
    color: var(--parchment);
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  }
  .scene-title em {
    color: var(--surveyor-orange);
    font-style: italic;
    font-weight: 400;
    text-shadow: var(--accent-shadow);
  }

  .hero-brand {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }
  .hero-logo-img {
    display: block;
    height: auto;
    width: min(340px, 36vw);
    max-width: 100%;
    filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
  }
  #scene0 .scene-offer {
    color: rgba(244,241,234,0.72);
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 12px;
    text-shadow: none;
  }
  #scene0 .scene-title {
    color: var(--parchment);
    font-size: clamp(1.85rem, 2.6vw, 2.45rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    text-shadow: 0 2px 18px rgba(0,0,0,0.45);
  }
  #scene0 .scene-desc {
    max-width: 100%;
  }
  .scene-desc {
    font-size: 1rem;
    color: rgba(244,241,234,0.8);
    line-height: 1.65;
    max-width: 460px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  }

  @media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  }

  /* ── BELOW-THE-FOLD SECTIONS (real site content) ── */
  .content-section {
    position: relative;
    z-index: 3;
    background: var(--parchment);
    color: var(--near-black);
    padding: 100px 56px;
  }
  .content-section.dark {
    background: var(--near-black);
    color: var(--parchment);
  }
  .content-inner { max-width: 1100px; margin: 0 auto; }

  .section-eyebrow-light {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 14px;
  }
  .section-title-light {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 20px;
  }
  .section-title-light em { color: var(--surveyor-orange); font-style: italic; font-weight: 400; }
  .section-sub {
    font-size: 1rem;
    color: rgba(20,20,20,0.65);
    max-width: 620px;
    line-height: 1.6;
    margin-bottom: 56px;
  }
  .dark .section-sub { color: rgba(244,241,234,0.7); }

  /* Services float on the panorama (inside .scroll-track) */
  .scene-services {
    align-items: flex-start;
    height: auto;
    min-height: 0;
  }
  .scene-services-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .scene-desc-wide {
    max-width: 640px;
    margin-bottom: 40px;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .service-card {
    border: 1px solid rgba(244, 241, 234, 0.35);
    border-radius: 2px;
    padding: 22px 20px;
    background: rgba(20, 20, 20, 0.28);
    backdrop-filter: blur(8px);
  }
  .service-card h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--parchment);
    text-shadow: 0 1px 10px rgba(0,0,0,0.45);
  }
  .service-card p,
  .service-card ul {
    font-size: 0.9rem;
    color: rgba(244, 241, 234, 0.78);
    line-height: 1.55;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  }
  .service-card ul {
    list-style: disc;
    padding-left: 1.15em;
    margin: 0;
  }
  .service-card li {
    margin-bottom: 4px;
  }
  .service-card li:last-child {
    margin-bottom: 0;
  }

  @media (max-width: 800px) {
    .services-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Trust grid floating on the panorama */
  .scene-trust {
    align-items: flex-start;
    height: auto;
    min-height: 0;
  }
  .scene-trust-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
  }
  .trust-item {
    border: 1px solid rgba(244, 241, 234, 0.35);
    border-radius: 2px;
    padding: 22px 20px;
    background: rgba(20, 20, 20, 0.28);
    backdrop-filter: blur(8px);
  }
  .trust-item h3 {
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--surveyor-orange);
    margin-bottom: 10px;
    text-shadow: var(--accent-shadow);
  }
  .trust-item p {
    font-size: 0.9rem;
    color: rgba(244, 241, 234, 0.78);
    line-height: 1.55;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  }

  @media (max-width: 800px) {
    .trust-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Contact + footer — last panorama section */
  .scene-end {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    height: auto;
    min-height: 0;
    padding: var(--section-pad-y) 0 0;
    box-sizing: border-box;
  }
  .scene-end-main {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 var(--section-pad-x) var(--section-pad-y);
    width: 100%;
  }
  .mini-footer-inner {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 36px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(244, 241, 234, 0.15);
    border-radius: 4px;
  }
  .mini-footer-inner .scene-eyebrow {
    margin-bottom: 14px;
  }
  .mini-footer-inner .scene-title {
    margin-bottom: 16px;
  }
  .mini-footer-inner .scene-desc {
    margin: 0 auto 8px;
    color: rgba(244, 241, 234, 0.75);
  }
  .mini-footer-inner .cta-phone {
    margin-top: 22px;
  }

  /* Full-bleed footer at the bottom of the last scene */
  .site-footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: 100%;
    margin-top: auto;
    padding: 0;
    flex: 0 0 auto;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(244, 241, 234, 0.15);
  }
  .site-footer-inner {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px 32px;
    padding: 16px var(--section-pad-x);
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .site-footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-width: 0;
  }
  .site-footer-copy {
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(244, 241, 234, 0.6);
  }
  .site-footer-name {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 2px;
  }
  .footer-logo-img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 180px;
    flex: 0 0 auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  }
  .site-footer-phone {
    font-family: var(--mono);
    font-size: 0.95rem;
    color: var(--surveyor-orange);
    text-decoration: none;
    white-space: nowrap;
    text-shadow: var(--accent-shadow);
  }
  .site-footer a {
    color: rgba(244, 241, 234, 0.75);
    text-decoration: none;
  }
  .site-footer a:hover { color: var(--surveyor-orange); }
  .site-footer-credit {
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(244, 241, 234, 0.6);
    margin: 0;
    text-align: right;
    white-space: nowrap;
  }
  .site-footer-credit a {
    color: var(--surveyor-orange);
    text-shadow: var(--accent-shadow);
  }

  .cta-phone {
    display: inline-block;
    margin-top: 30px;
    font-family: var(--mono);
    font-size: 1.6rem;
    color: var(--surveyor-orange);
    text-decoration: none;
    letter-spacing: 0.02em;
    text-shadow: var(--accent-shadow);
  }
  .cta-phone:hover { text-decoration: underline; }

  @media (max-width: 800px) {
    .scene-end {
      padding-top: var(--section-pad-y);
      min-height: 0;
    }
    .scene-end-main {
      padding: 0 var(--section-pad-x) var(--section-pad-y);
      align-items: flex-start;
    }
    .mini-footer-inner {
      padding: 28px 20px;
    }
    .mini-footer-inner .scene-title {
      font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .cta-phone {
      font-size: 1.35rem;
    }
  }

  /* ── QUOTE FORM (hero) ── */
  .hero-with-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    grid-template-rows: auto auto;
    column-gap: 80px;
    row-gap: 28px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
  }
  .hero-with-form .hero-brand {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-content: flex-start;
    margin-bottom: 0;
    position: static;
    height: auto;
    aspect-ratio: auto;
    width: auto;
    min-height: 0;
    min-width: 0;
    overflow: visible;
  }
  .hero-with-form .hero-logo-img {
    position: static;
    inset: auto;
    display: block;
    height: auto;
    width: min(340px, 34vw);
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }
  .hero-with-form .quote-card {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    max-width: none;
    flex: none;
    align-self: center;
    background: rgba(10, 8, 7, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 2px;
    padding: 26px 28px 22px;
    box-shadow: none;
  }
  .hero-with-form .quote-card h3 {
    font-size: 1.35rem;
    letter-spacing: 0.01em;
  }
  .hero-with-form .quote-card .quote-sub {
    margin-bottom: 16px;
    letter-spacing: 0.01em;
  }
  .hero-with-form .scene-inner {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
  }
  .hero-with-form .scene-desc {
    max-width: none;
  }
  .quote-card {
    flex: 0 0 calc(50% - 24px);
    width: calc(50% - 24px);
    max-width: 520px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid var(--surveyor-orange);
    border-radius: 5px;
    padding: 32px;
    box-shadow: var(--accent-glow);
  }
  .quote-card h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 6px;
  }
  .quote-card .quote-sub {
    font-size: 0.85rem;
    color: rgba(244,241,234,0.6);
    margin-bottom: 22px;
  }
  .quote-field {
    margin-bottom: 14px;
  }
  .quote-field label {
    display: block;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244,241,234,0.5);
    margin-bottom: 6px;
  }
  .quote-field input,
  .quote-field select,
  .quote-field textarea {
    width: 100%;
    background: rgba(244,241,234,0.06);
    border: 1px solid rgba(244,241,234,0.2);
    border-radius: 2px;
    padding: 10px 12px;
    color: var(--parchment);
    font-family: var(--sans);
    font-size: 0.9rem;
  }
  .quote-field input::placeholder,
  .quote-field textarea::placeholder { color: rgba(244,241,234,0.35); }
  .quote-field select { color: var(--parchment); }
  .quote-field select option { background: var(--near-black); color: var(--parchment); }
  .quote-field textarea { resize: none; height: 64px; }
  .quote-field input:focus,
  .quote-field select:focus,
  .quote-field textarea:focus {
    outline: none;
    border-color: var(--surveyor-orange);
  }
  .quote-check {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .quote-prefs-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244,241,234,0.5);
    margin-bottom: 8px;
  }
  .quote-check-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
  }
  .quote-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0;
    padding: 0;
    accent-color: var(--surveyor-orange);
    background: rgba(244,241,234,0.06);
    border: 1px solid rgba(244,241,234,0.2);
    border-radius: 2px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    display: grid;
    place-content: center;
  }
  .quote-check input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    background: var(--surveyor-orange);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  }
  .quote-check input[type="checkbox"]:checked::before {
    transform: scale(1);
  }
  .quote-check input[type="checkbox"]:focus {
    outline: none;
    border-color: var(--surveyor-orange);
  }
  .quote-check label {
    display: inline;
    margin: 0;
    text-transform: none;
    letter-spacing: 0.02em;
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--parchment);
    cursor: pointer;
  }
  .quote-submit {
    width: 100%;
    background: var(--surveyor-orange);
    color: var(--near-black);
    border: none;
    border-radius: 2px;
    padding: 13px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.25s, box-shadow 0.25s;
    box-shadow: var(--accent-glow);
  }
  .quote-submit:hover { background: #e8e4d8; }
  .quote-status {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--surveyor-orange);
    display: none;
  }
  .quote-status.is-success { color: #8fbf88; }
  .quote-status.is-error { color: #e07a6a; }
  .quote-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
  }
  .quote-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .quote-names {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .quote-field textarea {
    height: 88px;
    resize: vertical;
  }
  .quote-note {
    margin-top: 10px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(244, 241, 234, 0.55);
    text-align: center;
  }
  .php-email-form {
    position: relative;
  }
  .php-email-form .loading,
  .php-email-form .error-message,
  .php-email-form .sent-message {
    display: none;
    margin-top: 12px;
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .php-email-form .loading {
    color: rgba(244, 241, 234, 0.75);
  }
  .php-email-form .error-message {
    color: #e07a6a;
  }
  .php-email-form .sent-message {
    color: #8fbf88;
  }
  .php-email-form .d-block {
    display: block !important;
  }
  @media (max-width: 520px) {
    .quote-names {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 1100px) {
    .hero-with-form {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 28px;
    }
    .hero-with-form .hero-brand {
      align-self: stretch;
      width: 100%;
      height: auto;
      aspect-ratio: auto;
      position: static;
      justify-content: center;
      margin-bottom: 0;
    }
    .hero-with-form .hero-logo-img {
      position: static;
      inset: auto;
      height: auto;
      width: min(280px, 78vw);
      max-width: 100%;
      max-height: none;
      margin-left: auto;
      margin-right: auto;
    }
    .quote-card {
      flex: 1 1 auto;
      width: 100%;
      max-width: none;
      padding: 24px 18px;
    }
    .hero-with-form .scene-inner {
      width: 100%;
      max-width: none;
      flex: 1 1 auto;
      text-align: center;
    }
    #scene0 .scene-desc {
      margin-left: auto;
      margin-right: auto;
    }
    .hero-logo-img {
      height: auto;
      width: min(280px, 78vw);
    }
  }

  @media (max-width: 900px) {
    .site-footer-inner {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 12px;
      padding: 22px 20px;
    }
    .site-footer-brand {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .footer-logo-img {
      height: 64px;
    }
    .site-footer-credit {
      text-align: center;
      white-space: normal;
    }
  }

  /* ── SERVICE PAGES ── */
  .service-page-body {
    min-height: 100%;
    position: relative;
    background: var(--near-black);
  }
  .service-page-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('../images/hero.jpg?v=sunrise');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
  }
  .service-page-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(20,12,8,0.42), rgba(20,12,8,0.28) 38%, rgba(12,8,6,0.62) 100%),
      radial-gradient(ellipse at center, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.5) 100%);
  }
  .service-page-wrap {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .service-page {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 140px var(--section-pad-x) 72px;
    flex: 1 1 auto;
  }
  .service-page .scene-desc {
    max-width: none;
    margin-bottom: 12px;
  }
  .service-page h2.scene-title {
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    margin-top: 36px;
    margin-bottom: 14px;
  }
  .service-page ul {
    margin: 0 0 8px 1.2em;
    color: rgba(244,241,234,0.8);
    line-height: 1.65;
    max-width: 640px;
  }
  .service-page li { margin-bottom: 8px; }
  .service-page .cta-phone { margin-top: 16px; }
  .service-page a { color: var(--surveyor-orange); }
  a.service-card {
    color: inherit;
    text-decoration: none;
    display: block;
  }
  a.service-card:hover { border-color: var(--surveyor-orange); }
  .site-footer-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: center;
    width: 100%;
    padding: 0 var(--section-pad-x) 18px  var(--section-pad-x);
    font-size: 0.8rem;
  }
  .site-footer-services a {
    color: rgba(244, 241, 234, 0.75);
    text-decoration: none;
  }
  .site-footer-services a:hover { color: var(--surveyor-orange); }
  @media (max-width: 900px) {
    .service-page { padding-top: 100px; }
    .service-page-body::before {
      background-image: url('../images/hero-mobile.png?v=sunrise');
    }
    .service-page-body::after {
      background:
        linear-gradient(180deg, rgba(20,12,8,0.58), rgba(20,12,8,0.44) 38%, rgba(12,8,6,0.76) 100%),
        radial-gradient(ellipse at center, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.62) 100%);
    }
  }
  .nav-links { flex-wrap: wrap; gap: 12px 16px; }
  .nav-links a.nav-phone { white-space: nowrap; }

  /* ── SERVICES DROPDOWN + MOBILE NAV ── */
  #mainNav {
    overflow: visible;
    pointer-events: auto;
  }
  .nav-toggle {
    display: none;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(244,241,234,0.55);
    background: rgba(20,20,20,0.55);
    border-radius: 4px;
    cursor: pointer;
    flex: 0 0 auto;
    position: relative;
    z-index: 230;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 18px;
    background: var(--parchment);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }
  nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-item.nav-dropdown { position: relative; }
  .nav-dropdown-toggle {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(244,241,234,0.85);
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .nav-dropdown-toggle:hover { color: var(--surveyor-orange); }
  .nav-caret { font-size: 0.7em; line-height: 1; }
  .nav-dropdown-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 240px;
    background: rgba(20, 20, 20, 0.96);
    border: 1px solid rgba(244,241,234,0.12);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  }
  .nav-dropdown-menu a {
    display: block;
    padding: 8px 18px;
    white-space: nowrap;
  }
  @media (min-width: 901px) {
    .nav-links {
      align-self: stretch;
    }
    .nav-item.nav-dropdown {
      display: flex;
      align-items: center;
      align-self: stretch;
    }
    .nav-dropdown-toggle {
      height: 100%;
    }
    .nav-dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 220;
    }
    .nav-dropdown-menu::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 100%;
      height: 12px;
    }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu,
    .nav-dropdown.open .nav-dropdown-menu {
      display: block;
    }
  }
  @media (max-width: 900px) {
    #mainNav .nav-logo {
      flex: 0 0 auto;
      min-width: 0;
    }
    .nav-toggle {
      display: flex !important;
      margin-left: auto;
    }
    nav {
      flex-wrap: wrap;
      background: rgba(20,20,20,0.82);
    }
    nav.nav-open { background: rgba(20,20,20,0.96); }
    .nav-links {
      display: none;
      order: 4;
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 8px 0 12px;
    }
    nav.nav-open .nav-links {
      display: flex !important;
      max-height: calc(100vh - 72px);
      overflow-y: auto;
      background: rgba(20, 20, 20, 0.98);
    }
    .nav-links > a,
    .nav-dropdown-toggle {
      padding: 12px 4px;
      font-size: 0.95rem;
      width: 100%;
      text-align: left;
    }
    .nav-dropdown-menu {
      position: static;
      min-width: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
      padding: 0 0 8px 12px;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a { padding: 10px 8px; }
    nav.nav-open .nav-links > .nav-cta-menu {
      display: inline-block;
      width: auto;
      align-self: flex-start;
      margin: 16px 4px 8px;
      padding: 12px 22px;
      font-size: 0.8rem;
      text-align: center;
      color: var(--near-black);
    }
    nav.nav-open .nav-links > .nav-cta-menu:hover {
      color: var(--near-black);
      background: #e8e4d8;
    }
  }
