/* Direct contact stays above the interactive pane. */
.header-phone { white-space: nowrap; font-size: .9rem; font-weight: 700; }
.header-phone:hover { text-decoration: underline; }
@media (max-width: 999px) {
  .header-phone, .button.header-quote { display: none; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .site-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(75px + env(safe-area-inset-bottom)); }
  body.menu-open .mobile-actions { visibility: visible; }
  .mobile-nav { max-height: calc(100dvh - 170px); }
}
@media (min-width:1000px) and (max-width:1199px) {
  .desktop-nav { gap: 16px; margin-right: 0; }
  .header-inner { gap: 14px; }
}
/* Keep the supplied canvas beneath readable hero copy, with links above it. */
.film[data-wipe-glass]::after { z-index: 6; pointer-events: none; }
.film[data-wipe-glass] .wg-above { z-index: 8; pointer-events: none; padding-top: max(108px, 7vw); }
.film[data-wipe-glass] .film-actions a { pointer-events: auto; }
.film[data-wipe-glass] .wg-glass { touch-action: pan-y pinch-zoom; }
.film[data-wipe-glass] .wg-blade { z-index: 9; }
.film[data-wipe-glass] .wg-blade svg { width: 150px; height: 34px; stroke: none; }
.film.wg-is-clean .wg-blade { display: none; }
.film .wg-chip { max-width: calc(100% - 24px); width: max-content; white-space: normal; }
.wg-chip-text { line-height: 1.25; }
.wg-chip-btn, .wg-sound { flex-shrink: 0; }
.wg-sound { font: inherit; font-size: .8125rem; color: white; background: transparent; border: 0; text-decoration: underline; min-height: 36px; cursor: pointer; }
.wg-is-clean .wg-sound { display: none; }
.pane-pass { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.window-pane { position: relative; }
/* Let spacing and background changes separate sections, not decorative frames. */
.gallery-group + .gallery-group, .detail-block, .service-detail, .service-strip, .filters, .request-box { border: 0; }
.pane-pass { z-index: 2; }
.season-note { background: var(--ink); color: #d8e9f1; padding-block: 10px; font-size: .88rem; }
.season-note p { border-inline-start: 2px solid #67aeec; padding-inline-start: 12px; }
.comparison { min-width: 0; background: var(--ink); color: white; }
.comparison figcaption { display:flex; justify-content: space-between; padding: 8px 14px; }
.comparison figcaption a { text-decoration: underline; }
.compare-images { overflow: hidden; }
.compare-images img:nth-child(2) { clip-path: inset(0 calc(100% - var(--before,50%)) 0 0); }
.compare-rule { position: absolute; inset-block: 0; left: var(--before,50%); width: 4px; transform: translateX(-50%); background: white; border-inline: 1px solid #344859; pointer-events:none; }
.compare-rule::after { content: '↔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #182d38; color:white; border:2px solid white; border-radius:4px; padding:0 7px; line-height:32px; font-size:20px; }
.compare-images input[type=range] { position: absolute; inset:0; width:100%; height:100%; opacity:0; cursor:ew-resize; margin:0; touch-action:pan-y; }
.compare-images:focus-within { outline:3px solid var(--blue); outline-offset:2px; }
#window-builder h3 { font-size:clamp(1.5rem,3vw,2rem); line-height:1.15; letter-spacing:-.025em; }
#window-builder h3 + p,.rate-note { margin-block:8px 16px; color:var(--muted); }
.builder-label,.builder-options label { display:block; font-weight:700; font-size:.9rem; }
#window-builder select,#other-windows { display:block; width:100%; min-height:44px; padding:8px; margin-top:4px; border:1px solid #78858e; border-radius:4px; background:white; color:var(--ink); font:inherit; font-weight:400; font-size:1rem; }
.facade-stage { position:relative; aspect-ratio:320/174; margin:16px 0 10px; border:1px solid #b7cad1; background:#edf4f5; }
.facade-drawing { position:absolute; inset:0; width:100%; height:100%; stroke:none; }
.structure { fill:url(#siding); stroke:#455e6a; stroke-width:1.6; stroke-linejoin:round; }
.structure .roof { fill:#54707e; } .structure .awning { fill:#aed1dc; }
.ground,.seams { fill:none; stroke:#66808a; stroke-width:1.4; }
.tap-pane { position:absolute; padding:0; min-width:0; border:2px solid #354f62; background-color:#c7d9df; background-image:linear-gradient(90deg,transparent 46%,#506c7a 46% 53%,transparent 53%),linear-gradient(transparent 46%,#506c7a 46% 53%,transparent 53%); cursor:pointer; border-radius:0; }
.tap-pane[aria-pressed=true] { background-color:#75c4fa; border-color:#004484; }
.tap-pane[aria-pressed=true]::after { content:''; position:absolute; top:7%; right:5%; width:40%; aspect-ratio:1; background:white; clip-path:polygon(50% 0,62% 37%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 37%); animation:glint .35s ease-out; }
@keyframes glint { from {transform:scale(.45);} }
.extra-windows { display:flex; justify-content:space-between; align-items:center; gap:10px; font-weight:700; }
#other-windows { width:5em; margin:0; }
.builder-options { margin-block:16px 8px; }
.track-option { display:flex; align-items:center; gap:8px; min-height:44px; }
.track-option input { width:19px; height:19px; accent-color:var(--blue); }
.estimate-line { padding-top:14px; border-top:1px solid var(--line); }
#window-count { display:block; font-size:1.5rem; font-weight:700; }
#window-estimate { display:block; font-size:.95rem; font-weight:400; }
.builder-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px; margin-bottom:20px; }
.builder-form-toggle { color:var(--blue-dark); background:transparent; border:0; text-decoration:underline; cursor:pointer; min-height:44px; }
@media (prefers-reduced-motion: reduce) {
  .film[data-wipe-glass] :is(.wg-glass,.wg-blade,.wg-drip,.wg-chip), .pane-pass { display: none; }
  .film[data-wipe-glass] .wg-above { padding-top: clamp(48px,5vw,80px); }
}

/* Native, user-initiated work video; no decorative frames or autoplay. */
.work-video { display: grid; align-items: center; gap: clamp(18px, 4vw, 48px); margin-top: clamp(36px, 6vw, 64px); }
.work-video-copy h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.2; letter-spacing: -.025em; }
.work-video-copy p { margin-top: 10px; color: var(--muted); max-width: 40ch; }
.work-video figure { width: min(100%, 320px); margin-inline: auto; }
.work-video video { display: block; width: 100%; height: auto; aspect-ratio: 512 / 902; background: var(--ink); }
@media (min-width: 760px) { .work-video { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .work-video figure { margin-inline: 0 auto; } }
