/* Mobile-only v13b adjustments. No v14 premium design or desktop restyling. */
.mobile-menu-toggle,.mobile-menu {display:none;}
.mobile-menu[hidden] {display:none!important;}
@media(max-width:900px) {
 /* The original desktop navy background was confined to min-width:901px.
    Mobile therefore inherited the cream body. Use a solid brand fallback;
    the existing <picture> remains intact (no fixed background/iOS dependency). */
 .hero-stage {background:var(--navy);background-attachment:scroll;}
 html.mob .hero-title,html.mob .hero-intro-text,html.mob .hero-intro {color:var(--cream);}
 html.mob .hero-intro .eyebrow,html.mob .hero-intro .trust-line {color:#e3d9c7;}
 /* Also cover first paint/no-JS before main.js applies html.mob. */
 .hero-title,.hero-intro-text {color:var(--cream);}
 .hero-media img {object-fit:cover;}
 /* Existing mobile header rules forced cream with !important. */
 html.mob .nav,html.mob .nav.solid,html.mob .nav.on-dark,
 .nav,.nav.solid,.nav.on-dark {
  background:#1f2a44!important;color:#f4f0e8!important;
  border-bottom:1px solid #c9b89666!important;
  transform:none!important;mix-blend-mode:normal!important;
 }
 html.mob .nav .brand-mark,.nav .brand-mark {background:#f4f0e8!important;color:#1f2a44!important;}
 .nav {gap:10px;padding:14px var(--pad);z-index:60;}
 .nav .brand {margin-right:auto;gap:8px;min-width:0;}
 .nav .brand-name {font-size:14px;}
 .nav .brand-mark {width:30px;height:30px;flex-shrink:0;}
 .nav .nav-phone {display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;height:44px;flex-shrink:0;font-size:0!important;line-height:0!important;padding:0 16px!important;margin:0;border:1px solid #c9b89699;border-radius:99px;color:#f4f0e8;vertical-align:middle;}
 .nav .nav-phone:before {content:'Call';display:block;font-size:12px;font-weight:700;letter-spacing:.04em;line-height:1;text-transform:none;}
 .mobile-menu-toggle {
  display:flex;align-items:center;justify-content:center;gap:7px;
  min-height:44px;padding:9px 12px;flex-shrink:0;
  border:1px solid #c9b89699;border-radius:99px;
  background:transparent;color:#f4f0e8;font:inherit;font-size:12px;font-weight:700;cursor:pointer;
 }
 .mobile-menu-toggle[aria-expanded="true"] {background:#f4f0e8;color:#1f2a44;}
 .mobile-menu {
  display:grid;position:absolute;top:calc(100% + 6px);left:var(--pad);right:var(--pad);
  max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow-y:auto;
  padding:8px;background:#1f2a44;color:#f4f0e8;
  border:1px solid #c9b89699;border-radius:18px;box-shadow:0 16px 34px #10162666;
 }
 .mobile-menu a {display:flex;align-items:center;min-height:52px;padding:12px 16px;border-radius:10px;text-decoration:none;font-size:16px;font-weight:600;}
 .mobile-menu a+a {border-top:1px solid #c9b89633;}
 .mobile-menu a:hover,.mobile-menu a:focus-visible {background:#ffffff12;}
 #about-us,#work,#contact-us,#quote {scroll-margin-top:96px;}
}

/* v13c: deterministic mobile hero, independent of legacy reveal animations. */
@media(max-width:900px) {
 html.mob .hero-stage {height:auto!important;min-height:0;overflow:visible;}
 html.mob .hero-frame {
  position:relative!important;inset:auto!important;display:flex;flex-direction:column;
  height:auto!important;min-height:0;padding:138px var(--pad) 36px;overflow:visible;
 }
 html.mob .hero-copy {display:block!important;position:relative;order:1;min-width:0;width:100%;}
 html.mob .hero-kicker {display:block!important;margin-bottom:12px;color:#e3d9c7;font-size:10px;letter-spacing:.12em;}
 html.mob .hero-title {
  position:relative!important;inset:auto!important;display:block;line-height:1.02;
  font-size:clamp(40px,12.5vw,72px);color:var(--cream);letter-spacing:-.055em;
 }
 html.mob .hero-title .ht-line {
  position:static!important;display:block!important;white-space:normal;
  opacity:1!important;visibility:visible!important;transform:none!important;
  animation:none!important;color:var(--cream)!important;text-align:left;margin:0;
 }
 html.mob .hero-support {
  display:block!important;max-width:36ch;margin-top:18px;
  font-size:15px;line-height:1.5;color:#f1eadc;
 }
 html.mob .hero-cta {display:flex!important;flex-wrap:wrap;gap:10px;margin-top:20px;align-items:center;}
 html.mob .hero-cta a {display:flex;align-items:center;justify-content:center;min-height:46px;margin:0;font-size:10px;letter-spacing:.08em;text-decoration:none;}
 html.mob .hero-btn {background:var(--cream);color:var(--navy);padding:14px 18px;}
 html.mob .hero-call {padding:13px 12px;border:1px solid #c9b89699;border-radius:99px;color:var(--cream);font-weight:700;text-transform:uppercase;}
 html.mob .hero-trust {display:flex!important;flex-wrap:wrap;gap:8px 14px;margin-top:20px;padding-top:16px;border-top:1px solid #c9b89655;}
 html.mob .hero-trust li {display:flex;align-items:center;gap:6px;color:#e3d9c7;font-size:10px;}
 html.mob .hero-trust i {display:block;width:5px;height:5px;border-radius:50%;background:#c9b896;}
 html.mob .hero-mask {
  position:relative!important;inset:auto!important;order:2;display:block!important;
  width:100%;height:auto!important;min-height:0;aspect-ratio:4/5;flex:0 0 auto;margin:26px 0 0;
  clip-path:none!important;transform:none!important;opacity:1!important;visibility:visible!important;
  animation:none!important;overflow:hidden;background:#27344e;
 }
 html.mob .hero-media {position:absolute!important;inset:0!important;display:block;width:100%;height:100%;}
 html.mob .hero-media picture {display:block;width:100%;height:100%;}
 html.mob .hero-media img {
  display:block;width:100%;height:100%;object-fit:cover;object-position:center;
  opacity:1!important;visibility:visible!important;transform:none!important;
  animation:none!important;filter:none!important;
 }
 html.mob .hero-intro {order:3;position:relative;inset:auto;margin-top:26px;opacity:1!important;visibility:visible!important;transform:none!important;animation:none!important;}
 .xmas-theme .hero-frame > .xmas-decor {top:83px;left:var(--pad);right:var(--pad);height:44px;}
 .xmas-theme .hero-frame > .xmas-decor .xmas-bow {width:38px;height:32px;top:4px;}
 .xmas-theme .hero-frame > .xmas-decor .xmas-item {width:26px;height:26px;top:16px;}
 /* Leave enough scrollable space to bring the last tiles/content above the
    fixed quote controls, including the iPhone home-indicator safe area. */
 .gallery {padding-bottom:calc(112px + env(safe-area-inset-bottom,0px));}
 .g-item {scroll-margin-bottom:calc(112px + env(safe-area-inset-bottom,0px));}
 .footer {padding-bottom:calc(184px + env(safe-area-inset-bottom,0px));}
 .pill-wrap {bottom:calc(22px + env(safe-area-inset-bottom,0px));}
 html {scroll-padding-bottom:calc(112px + env(safe-area-inset-bottom,0px));}
}
