/*
Theme Name: Sparrow Installation
Description: Custom home installation service site with an estimate form.
Version: 1.4.6
Text Domain: sparrow-installation
*/
:root { color-scheme: light; --ink: #202122; --muted: #505353; --paper: #f4f4f2; --line: #d8d8d4; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #286a9d; outline-offset: 4px; }
.skip { position: absolute; top: 0; left: 0; z-index: 2; background: white; padding: .75rem; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.site-header { border-top: 5px solid #202324; border-bottom: 1px solid #242626; background: #f3f3f3; min-height: 80px; padding: 1rem clamp(1.25rem, 6vw, 7rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 750; letter-spacing: -.035em; }
.site-header a { text-decoration: none; }
.site-header a:hover { text-decoration: underline; }
nav { display: flex; flex-wrap: wrap; gap: .55rem clamp(1rem, 2.5vw, 2rem); }
nav a { font-weight: 600; }
.hero { display: grid; place-items: center; min-height: clamp(29rem, 49vw, 57rem); padding: 4.5rem 1.25rem; text-align: center; color: #fff; background: linear-gradient(#14171e48, #14171e75), #414448 url(hero.webp) center / cover no-repeat; background-size: cover; }
.hero-content { width: min(100%, 88rem); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.45rem, 4.65vw, 6rem); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.hero p { margin: 1.15rem auto 1.5rem; font-size: clamp(1.05rem, 1.55vw, 1.8rem); font-weight: 600; text-wrap: balance; }
.hero h1, .hero p { text-shadow: 0 2px 12px #000a; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .65rem 1.5rem; border: 1px solid transparent; border-radius: 99px; background: #353535; color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { background: #151515; }
.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
.about, .services, .contact { padding-block: clamp(3rem, 6.5vw, 6rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 3rem); line-height: 1.12; letter-spacing: -.04em; margin-bottom: 1rem; }
h3 { font-size: 1.14rem; line-height: 1.25; margin-bottom: .55rem; }
.about p { max-width: 43rem; font-size: 1.15rem; color: var(--muted); }
.services { background: var(--paper); }
.services-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.65rem 1.4rem; }
article { border-top: 1px solid #949692; padding-top: 1rem; }
article p, .contact-copy p, .form-note { color: var(--muted); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem 4rem; align-items: start; }
.contact-copy p { margin-bottom: 1rem; }
.contact-copy a { overflow-wrap: anywhere; }
form { background: var(--paper); padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); }
label { display: grid; gap: .35rem; margin-bottom: 1rem; font-weight: 700; min-width: 0; }
input, select, textarea { width: 100%; color: var(--ink); background: white; font: inherit; font-weight: 400; border: 1px solid #888; border-radius: .25rem; padding: .6rem .65rem; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #353535 50%), linear-gradient(135deg, #353535 50%, transparent 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-note { font-size: .9rem; margin-top: .75rem; }
.estimate-status { padding: .75rem; border: 1px solid #777; margin-bottom: 1rem; background: #fff; }
footer { background: #262727; color: white; padding-block: 1.5rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
@media (max-width: 52rem) { .services-grid { grid-template-columns: repeat(2, 1fr); } .contact { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { .site-header { align-items: flex-start; flex-direction: column; } .hero { min-height: 29rem; } .services-grid, .form-row { grid-template-columns: 1fr; gap: .5rem; } }
.hero .hero-label { margin: 0 0 1rem; text-transform: uppercase; font-size: clamp(.9rem, 1.25vw, 1.3rem); letter-spacing: .035em; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { mix-blend-mode: multiply; display: block; width: 2.375rem; height: 2.375rem; object-fit: contain; flex-shrink: 0; }

.linked-service { position: relative; }
.linked-service h3 a::after { content: ""; position: absolute; inset: 0; }
.linked-service:hover h3 a { text-decoration-thickness: 2px; }
.mount-hero { background: var(--paper); }
.mount-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.mount-back { display: inline-block; margin-bottom: 1.25rem; font-weight: 700; }
.mount-hero p { color: var(--muted); margin-top: 1.15rem; font-size: 1.12rem; }
.mount-image { min-height: clamp(15rem, 29vw, 25rem); background: #d8d7d4 url(hero.webp) center / cover no-repeat; }
.mount-options { padding-block: clamp(2.5rem, 6vw, 5rem); }
.mount-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.mount-plan { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); }
.mount-plan h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.mount-plan a { font-weight: 700; }
.mount-price { font-weight: 750; font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); margin-bottom: .75rem; }
.price-prefix { display: block; font-size: 1rem; font-weight: 600; }
.mount-book { background: var(--paper); margin-top: 2rem; padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 43rem) { .mount-hero-inner, .mount-plans { grid-template-columns: 1fr; } }

.furniture-image { background-image: url(furniture-assembly.webp); }
.furniture-book { margin-top: 0; }
.furniture-book h2 { font-size: 1.25rem; margin-bottom: .25rem; }
.furniture-book .mount-price { margin: 0; }

.service-intro { padding-block: clamp(2.5rem, 6vw, 5rem); }
.service-intro p { max-width: 44rem; }

.work-gallery { padding-top: clamp(2rem, 4vw, 3rem); }
.work-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.work-gallery figure { margin: 0; }
.work-gallery a { display: block; border: 1px solid var(--line); }
.work-gallery img { display: block; width: 100%; height: auto; }
@media (max-width: 36rem) { .work-gallery-grid { grid-template-columns: 1fr; } }

.services-grid .linked-service { border-top: 0; padding-top: 0; }
.service-card-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: .8rem; }
@media (max-width: 30rem) { .services-grid { row-gap: 1.75rem; } }

.customer-review-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.customer-review { min-width: 0; background: white; border: 1px solid var(--line); border-radius: .5rem; padding: 1.15rem; }
.customer-review figure { margin: 0; display: flex; flex-direction: column; height: 100%; }
.mount-hero .review-rating { margin: 0 0 .65rem; color: #794b07; }
.review-rating [aria-hidden] { letter-spacing: .12em; }
.review-rating-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.customer-review blockquote { margin: 0 0 1rem; }
.customer-review figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .65rem; margin-top: auto; }
.customer-review time { color: var(--muted); font-size: .875rem; }
