/* Match Daniel's approved Clean & Open reference on the mobile homepage.
   Shared markup and all desktop/interior-page styles stay unchanged. */
@font-face {
  font-family: "PT Mobile Display";
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-900-italic.woff") format("woff");
}
.home .home-mobile-only { display: none; }

@media (max-width: 760px) {
  .home { --gutter: clamp(1rem, 4.25vw, 2rem); --home-action: #073fb6; }
  .home .home-desktop-only { display: none; }
  .home .home-mobile-only { display: block; }
  .home .site-header { border-bottom: 1px solid var(--chrome-light); box-shadow: 0 1px 3px rgb(6 26 63 / 4%); }
  .home .header-row { display: grid; grid-template-columns: 1fr 44px; gap: 0; min-height: clamp(62px, 16vw, 86px); padding-block: 0; }
  .home .brand { padding: .3rem 0; }
  .home .brand img { width: clamp(145px, 42.4vw, 220px); }
  .home .main-nav { width: auto; grid-column: 2; grid-row: 1; }
  .home .nav-toggle { position: static; width: 44px; height: 44px; }
  .home .nav-toggle svg { width: 30px; height: 30px; }
  .home .nav-toggle path { stroke-width: 2.8; stroke-linecap: butt; }
  .home #nav-list.open { position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); padding: .5rem var(--gutter); background: #fff; max-height: calc(100dvh - 120px); overflow-y: auto; box-shadow: 0 8px 18px rgb(6 26 63 / 10%); }
  .home .hero.has-photo {
    background: #fff;
    color: var(--navy);
    clip-path: none;
    padding: .75rem 0 0 !important;
  }
  .home .hero .kicker {
    color: var(--muted);
    font-family: var(--body);
    font-size: clamp(.6rem, 2.6vw, .875rem);
    font-style: normal;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: .1rem;
  }
  .home .hero h1 {
    color: var(--navy);
    font-family: "PT Mobile Display", var(--display);
    font-weight: 900;
    font-size: clamp(2.5rem, 14.85vw, 5.3rem);
    line-height: .78;
    margin-bottom: .75rem;
    letter-spacing: -.025em;
    text-wrap: initial;
  }
  .home .home-mobile-headline { width: 92.6%; transform: scaleX(1.08); transform-origin: left center; }
  .home .home-mobile-headline > span { display: block; white-space: nowrap; }
  .home .hero .lede { color: var(--navy); font-size: clamp(1rem, 4.85vw, 1.5rem); line-height: 1.2; margin-bottom: 0; }
  .home .hero .cta-row { margin: .8rem 0 0; }
  .home .hero .home-request {
    background: var(--home-action);
    border-color: var(--home-action);
    color: #fff;
    font-family: var(--body);
    font-style: normal;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0;
    border-radius: 6px;
    min-height: 44px;
    padding: .55rem 1rem;
  }
  .home .hero .home-request:hover { background: var(--blue-hover); }
  .home .home-request .home-mobile-only { display: inline; }
  .home .home-request [aria-hidden] { margin-left: .5rem; }
  .home main > .trust-strip { display: none; }
  .home .home-mobile-rating { padding: 0 1rem; }
  .home .home-mobile-rating a {
    display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
    column-gap: .6rem; row-gap: .15rem; min-height: 36px;
    font-size: clamp(.75rem, 3.4vw, 1rem); color: var(--navy); text-decoration: none;
  }
  .home .home-mobile-rating .stars { font-size: clamp(1rem, 4.1vw, 1.3rem); letter-spacing: .03em; }
  .home .home-feature-photo { margin: 0; }
  .home .home-feature-photo picture, .home .home-feature-photo img { display: block; width: 100%; }
  .home .home-feature-photo img { aspect-ratio: 2.2 / 1; height: auto; object-fit: cover; object-position: center bottom; border: 0; }
  .home .section { padding: 1.75rem 0; }
  .home main h2 { font-size: 1.9rem; line-height: 1.15; margin-bottom: .85rem; }
  .home .home-services { padding: .875rem 0 0; }
  .home .home-services h2 { font-family: "PT Mobile Display", var(--display); font-weight: 900; font-size: clamp(1.75rem, 8.2vw, 3rem); line-height: 1; margin-bottom: .4rem; color: var(--navy); width: 84.7%; transform: scaleX(1.18); transform-origin: left center; }
  .home .home-services > .wrap > .lead, .home .service-list p, .home .service-list li:nth-child(n+5) { display: none; }
  .home .service-list { border-top: 0; }
  .home .service-list li { padding: 0; border-color: var(--chrome-light); }
  .home .service-list li:nth-child(4) { border-bottom: 0; }
  .home .service-list li.primary a { border-left: 0; padding-left: 0; }
  .home .service-list a { display: flex; align-items: center; justify-content: space-between; gap: .85rem; padding: .375rem 0; min-height: 40px; color: var(--navy); }
  .home .service-list a::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); transform: rotate(45deg); flex-shrink: 0; }
  .home .service-list .home-service-icon { flex: 0 0 28px; width: 28px; height: 28px; color: var(--navy); }
  .home .service-list h3 { flex: 1; margin: 0; font-family: var(--body); font-style: normal; font-size: clamp(1rem, 4.25vw, 1.25rem); font-weight: 500; line-height: 1.3; color: var(--navy); }
  .home .home-support-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .3rem; max-width: none; font-size: .8125rem; font-weight: 600; margin: .1rem calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter); background: var(--chrome-light); color: var(--muted); }
  .home .home-support-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); text-decoration: none; }
  .home .home-support-links a:hover { color: var(--blue); text-decoration: underline; }
  .home .process, .home .home-why { display: none; }
  .home .home-short-process { background: var(--chrome-light); padding: 1.5rem 0; }
  .home .home-short-process ol { margin: 0; padding-left: 1.3rem; }
  .home .home-short-process li { margin: .65rem 0; padding-left: .3rem; }
  .home .home-short-process li::marker { color: var(--blue); font-weight: 700; }
  .home .home-work .lead { font-size: 1rem; }
  .home .photo-band { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .home .photo-band figure:first-child, .home .photo-band figure:nth-child(n+4) { display: none; }
  .home .photo-band figcaption { font-size: .8rem; line-height: 1.4; }
  .home .home-work-link { margin: 1rem 0 0; }
  .home .home-work-link a, .home .home-owner-note a { display: inline-flex; align-items: center; min-height: 44px; }
  .home .home-owner-note { border-block: 1px solid var(--line); padding: 1.5rem 0; }
  .home .home-owner-note p { margin-bottom: .25rem; }
  .home .home-areas .lead { font-size: 1rem; }
  .home .home-areas p:last-child { line-height: 2.4; }
  .home .faqs { padding: 1.5rem 0 2rem; }
  .home .final-cta { clip-path: none; padding: 1.75rem 0 !important; }
  .home .final-cta h2 { font-size: 1.9rem; }
  .home .final-cta p, .home .final-cta .btn-light { display: none; }
  .home .final-cta .cta-row { margin-bottom: 0; }
  .home .mobile-bar { border-top: 0; grid-template-columns: 1fr 1fr 1.4fr; }
  .home .mobile-bar a { min-height: 48px; font-family: var(--body); font-style: normal; font-weight: 600; font-size: clamp(.8rem, 3.4vw, 1rem); letter-spacing: 0; gap: .5rem; border-right-color: rgb(255 255 255 / 35%); }
  .home .mobile-bar a:last-child { background: var(--home-action); text-transform: capitalize; }
  .home .mobile-bar a:nth-child(2) svg { display: none; }
  .home .mobile-bar a:nth-child(2)::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4 3h16a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H8l-5 4V4a1 1 0 0 1 1-1Z'/%3E%3Cpath stroke='%23061a3f' stroke-width='1.5' d='M7 8h10M7 11h10M7 14h7'/%3E%3C/svg%3E") center / contain no-repeat; }
  .home .mobile-bar a:last-child::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='17' rx='1'/%3E%3Cpath d='M7 2v6m10-6v6M3 11h18'/%3E%3Cpath stroke-width='2.8' d='M8 15h.01M13 15h.01M8 19h.01M13 19h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
  .home { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
}
