:root { --accent: #000; }

.site-header { padding-top: clamp(2.25rem, 5vw, 3rem); }
.nav-shell .brand { display: inline-flex; align-items: center; gap: .45rem; }
.nav-shell .brand img { flex: none; }
@media (max-width: 760px) {
  .nav-shell .brand { font-size: .95rem; white-space: nowrap; }
}
@media (max-width: 360px) {
  .nav-shell { padding-inline: .65rem; gap: .5rem; }
  .nav-shell .brand { font-size: .875rem; }
  .nav-shell .brand img { width: 22px; height: 22px; }
}
.hero-phone { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: 1rem; }
.nav-shell .nav-phone {
  position: relative;
  box-sizing: border-box;
  width: 8.75rem;
  height: 44px;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
  white-space: nowrap;
  transition: width .25s ease, background-color .25s ease;
}
@media (max-width: 360px) {
  .nav-shell .nav-phone { width: 7.5rem; }
}
.nav-phone-icon { position: absolute; opacity: 0; }
.nav-phone-icon, .nav-phone-number { transition: opacity .15s ease; }
.hero-phone-visible .nav-shell .nav-phone { width: 44px; background: #555; }
.hero-phone-visible .nav-phone-icon { opacity: 1; }
.hero-phone-visible .nav-phone-number { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .nav-shell .nav-phone, .nav-phone-icon, .nav-phone-number { transition: none; }
}
.hero-image.windows-hero {
  --reveal: 50%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.windows-hero img { position: absolute; inset: 0; }
.windows-after { clip-path: inset(0 0 0 var(--reveal)); }
.windows-divider {
  position: absolute;
  inset: 0 auto 0 var(--reveal);
  width: 2px;
  background: white;
  transform: translateX(-50%);
  box-shadow: 0 0 6px #0008;
  pointer-events: none;
}
.windows-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid white;
  border-radius: 50%;
  background: black;
  color: white;
  font: 700 1.35rem/1 system-ui, sans-serif;
}
.windows-label {
  position: absolute;
  top: .75rem;
  padding: .25rem .65rem;
  border-radius: .5rem;
  background: #000d;
  color: white;
  font: 600 .875rem/1.4 system-ui, sans-serif;
}
.windows-label--before { left: .75rem; }
.windows-label--after { right: .75rem; }
.windows-slider {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.windows-slider:focus-visible + .windows-divider .windows-handle {
  box-shadow: 0 0 0 2px black, 0 0 0 5px white;
}

.windows-feature { max-width: 58rem; padding: 0 0 clamp(2rem, 5vw, 4rem); }
.windows-feature .identity-section {
  grid-template-columns: minmax(0, 44rem);
  justify-content: center;
  align-items: center;
  gap: .85rem;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  text-align: center;
}
.identity-sticker { width: clamp(6rem, 15vw, 10rem); height: auto; }
.identity-copy { width: 100%; container-type: inline-size; }
.identity-section .identity-copy h1 { font-size: min(4.8cqi, 2.1rem); line-height: 1.15; }
.identity-copy h1 span { display: block; white-space: nowrap; }

.hero-phone { justify-content: center; }
.identity-copy .about-copy { margin-inline: auto; }
@media (max-width: 580px) {
  .identity-sticker { width: 7rem; }
  .identity-copy .about-copy { max-width: 32ch; }
}
body { --footer-divider-gap: 1.5rem; }
#contact { padding-bottom: var(--footer-divider-gap); }
#contact .contact-grid { row-gap: 1.1rem; }
.contact-info { grid-column: 1 / -1; }
.contact-grid > .map { height: 100%; }
#contact-form .form-full { grid-column: 1 / -1; }
.quote-intro h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.quote-intro p { margin: .5rem 0 0; color: var(--muted); }
#contact-form textarea { width: 100%; }
#contact-form button { grid-column: 1 / -1; justify-self: center; }
#contact-form button:disabled { opacity: .55; cursor: not-allowed; }
#quote-status:empty, #quote-turnstile:empty, #contact-method-error:empty { display: none; }
.required-mark { color: #aa2612; }
#contact-form .form-status { color: #6b6b6b; text-align: center; }
@media (max-width: 760px) {
  #contact-form { grid-row: 2; }
  .contact-grid > .map { grid-row: 3; height: 18rem; }
  footer.site-legal-footer { padding-bottom: 1rem; }
}
.service-card img.service-image { height: auto; aspect-ratio: 1; }
.site-legal-footer { padding-top: 0; }
.site-legal-footer .copyright { margin-top: 0; padding-top: var(--footer-divider-gap); }
#reviews { padding: 0; }
#reviews > .google-rating { border-top: 0; text-align: center; }
.google-rating a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .25rem .65rem;
  min-height: 44px;
  padding: .5rem .85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  font-size: .875rem;
}
@media (max-width: 760px) {
  .google-rating a { flex-wrap: nowrap; gap: .35rem; padding-inline: .5rem; font-size: .75rem; white-space: nowrap; }
  .google-rating a .google-rating-stars { letter-spacing: 0; }
}
.google-rating-stars { color: #915b00; letter-spacing: .08em; white-space: nowrap; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-block: 1.25rem; }
.customer-reviews .review { width: auto; min-width: 0; }
.walkthrough { margin: 1.25rem auto 0; max-width: 62ch; text-align: center; }
.hero-phone a[href^="tel:"] { background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
#contact { scroll-margin-top: 7rem; }
.property-size { min-width: 0; margin: 0; padding: 0; border: 0; }
.property-size legend { margin-bottom: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.storey-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
#contact-form .storey-options label { display: inline-flex; justify-content: center; align-items: center; gap: .2rem; min-height: 44px; padding: .3rem .2rem; border: 1px solid var(--line); border-radius: .65rem; cursor: pointer; font-size: .64rem; letter-spacing: .025em; white-space: nowrap; }
#contact-form .storey-options input { width: auto; min-height: 0; margin: 0; accent-color: var(--ink); }
.storey-options label:has(:checked) { background: #e8e8e8; border-color: var(--ink); }
.review-title a { display: flex; align-items: center; gap: .45rem; }
.review-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 1.8rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #285e59;
  color: white;
  letter-spacing: 0;
}
@media (min-width: 761px) { .reviews-arrow { display: none; } }
.review:nth-child(2) .review-avatar { background: #655091; }
.review:nth-child(3) .review-avatar { background: #a13b35; }
@media (max-width: 760px) {
  .review-grid { grid-template-columns: 1fr; }
  .customer-reviews .review { min-height: 0; padding: .9rem; gap: .65rem; font-size: .875rem; }
  .site-legal-footer .copyright { text-align: center; }
  #services .service-card { min-height: 0; padding: .8rem; gap: .75rem; }
  #services .service-card h3 { font-size: 1.15rem; }
  #services .service-card p { font-size: .875rem; }
}
