/* Shared chrome for the studio, quote builder and service pages. */
:root { --studio-paper:#f3f5f4; --studio-ink:#1a2021; --studio-muted:#4c5859; --studio-line:#d2d9d7; --studio-gold:#967329; }
.studio-header, .studio-footer, .studio-header *, .studio-footer * { box-sizing:border-box; }
.studio-header, .studio-footer { font: 1rem/1.45 Inter,Arial,sans-serif; letter-spacing:normal; }
header.studio-header { position:relative; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 5vw; min-height:74px; height:auto; color:#fff; background:#121517; }
.studio-header .studio-brand { flex:none; padding:0; line-height:1; }
.studio-header .studio-brand img { width:clamp(115px,14vw,160px); height:auto; display:block; }
.studio-header .studio-nav { display:flex; align-items:center; justify-content:flex-end; gap:clamp(16px,2.2vw,34px); margin:0; padding:0; color:white; }
.studio-nav a, .site-menu summary { font:600 .95rem/1.3 Inter,Arial,sans-serif; color:inherit; text-decoration:none; }
.studio-nav > a, .site-menu summary { min-height:44px; display:inline-flex; align-items:center; }
.site-menu { position:relative; margin:0; padding:0; }
.site-menu summary { list-style:none; gap:7px; cursor:pointer; border:0; }
.site-menu summary::-webkit-details-marker {display:none}
.site-menu summary::after { content:""; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg); }
.site-menu[open] summary::after { transform:translateY(2px) rotate(225deg); }
.site-menu .menu-panel { position:absolute; top:calc(100% + 5px); right:0; z-index:25; width:210px; padding:6px; border:1px solid #cdd4d2; border-radius:10px; background:white; color:#1a2021; box-shadow:0 8px 28px #1118; }
.site-menu:not([open]) .menu-panel {display:none}
.site-menu .menu-panel a { display:flex; align-items:center; min-height:42px; padding:9px 13px; border-radius:6px; }
.site-menu .menu-panel a:hover, .site-menu a[aria-current="page"], .site-menu a:focus-visible { background:#edf0ef; }
.studio-nav > a:hover, .site-menu summary:hover { text-decoration:underline; text-underline-offset:4px; }
.menu-account { margin-top:4px; padding-top:4px; border-top:1px solid var(--studio-line); }
.studio-nav .shop-call { border:1px solid #757b7b; border-radius:6px; padding:8px 15px; }
footer.studio-footer { display:flex; align-items:start; justify-content:space-between; flex-wrap:wrap; gap:25px; padding:28px 5vw; background:#e9edeb; border-top:1px solid var(--studio-line); color:var(--studio-ink); }
.studio-footer .footer-shop, .studio-footer .footer-links { display:flex; align-items:center; flex-wrap:wrap; gap:8px 18px; }
.studio-footer span, .studio-footer a { font-size:.91rem; color:#475354; }
.studio-footer a { text-decoration:underline; text-underline-offset:3px; }
.studio-header :focus-visible, .studio-footer :focus-visible, .studio-content :focus-visible, .gallery-viewer :focus-visible { outline:3px solid #bf9333; outline-offset:3px; }
@media(max-width:720px) {
  header.studio-header { padding:9px 4vw; min-height:62px; gap:10px; }
  .studio-header .studio-nav { gap:16px; }
  .studio-nav > .nav-wide { display:none; }
  .studio-header .studio-brand img { width:112px; }
  .studio-nav .shop-call { min-height:40px; font-size:.87rem; padding:8px 10px; }
  .site-menu .menu-panel { right:-58px; max-width:90vw; }
  .site-menu .menu-panel a { min-height:44px; }
  footer.studio-footer { padding:22px 5vw; }
}
body:has(.studio-content) { box-sizing:border-box; margin:0; background:var(--studio-paper); color:var(--studio-ink); font:1rem/1.5 Inter,Arial,sans-serif; color-scheme:light; }
.studio-content *, .studio-content *::before, .studio-content *::after { box-sizing:border-box; }
.studio-content { width:min(90%,1220px); margin:0 auto; padding:clamp(24px,3.5vw,48px) 0 clamp(48px,6vw,84px); }
.studio-content a { color:inherit; text-underline-offset:3px; }
.studio-content h1, .studio-content h2, .studio-content h3, .studio-content p, .studio-content figure { margin:0; }
.studio-content h1 { font-size:clamp(2.7rem,6.3vw,5.75rem); line-height:1.01; letter-spacing:-.065em; }
.studio-content h2 { font-size:clamp(1.5rem,3vw,2.45rem); line-height:1.12; letter-spacing:-.043em; }
.studio-content h3 { font-size:1.18rem; line-height:1.25; letter-spacing:-.025em; }
.studio-content .period { color:var(--studio-gold); }
.studio-content p { color:var(--studio-muted); max-width:70ch; }
.back-row { margin-bottom:clamp(20px,3vw,36px); }
.back-row a { display:inline-flex; align-items:center; gap:8px; min-height:32px; font-weight:600; font-size:.92rem; text-decoration:none; }
.back-row a:hover, .text-link:hover { text-decoration:underline; }
.page-intro { margin-bottom:clamp(24px,3.4vw,44px); }
.page-intro p, .service-detail-hero .lead { margin-top:16px; max-width:62ch; font-size:clamp(1rem,1.5vw,1.18rem); }
.studio-content .hero-buttons, .next-links { display:flex; align-items:center; flex-wrap:wrap; gap:10px 16px; margin-top:20px; }
.studio-content .btn { display:inline-flex; justify-content:center; align-items:center; min-height:44px; padding:10px 17px; font-size:.94rem; font-weight:650; border:1px solid #9da7a4; border-radius:6px; background:white; text-decoration:none; }
.studio-content .btn-primary { background:#212626; border-color:#212626; color:white; }
.studio-content .btn:hover { border-color:#111; box-shadow:0 1px 4px #131a191a; }
.studio-content .text-link { display:inline-flex; align-items:center; min-height:44px; font-weight:600; }
.studio-content .section, .review-feed, .next-links { border-top:1px solid var(--studio-line); margin-top:clamp(30px,4vw,56px); padding-top:clamp(25px,3vw,42px); }
.studio-content .section-header { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:16px; margin-bottom:20px; }
.studio-content .section-header p, .studio-content h2 + p, .studio-content h3 + p { margin-top:8px; }
.studio-content .eyebrow, .rating-label { display:block; color:#4f595a; font-weight:700; font-size:.75rem; letter-spacing:.11em; text-transform:uppercase; margin-bottom:8px; }
.studio-content .cards-grid, .studio-content .process-grid, .review-grid { display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); }
.studio-content :is(.feature-card,.process-step,.panel,.shop-availability,.review-card,.service-card,.estimate-panel) { background:white; border:1px solid var(--studio-line); border-radius:12px; padding:clamp(18px,2.2vw,28px); }
.studio-content .service-card { display:block; text-decoration:none; }
.studio-content .service-card:hover { border-color:#8b9692; }
.studio-content .card-link-text { display:block; text-decoration:underline; margin-top:18px; font-weight:600; }
.studio-content .service-hub-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); }
.studio-content .split, .studio-content .service-detail-grid { display:grid; align-items:start; gap:clamp(20px,5vw,70px); grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); }
.studio-content .service-hero-card { overflow:hidden; border:1px solid var(--studio-line); border-radius:12px; background:white; }
.service-hero-card img { display:block; width:100%; max-height:300px; object-fit:cover; }
.service-hero-info { padding:18px 20px; display:grid; gap:4px; }
.service-hero-info span { font-weight:700; }
.service-hero-info p { margin-top:4px; font-size:.9rem; }
.mini-card, .faq-item { padding:14px 0; border-bottom:1px solid var(--studio-line); }
.mini-card { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.mini-card span { text-align:right; }
.faq-item summary { min-height:32px; cursor:pointer; font-weight:650; }
.related-service-list { display:flex; flex-wrap:wrap; gap:10px 18px; padding:0; list-style:none; }
.process-step > span { display:block; margin-bottom:8px; color:#5d6867; }
.cta-band { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.gallery-actions { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 22px; }
.gallery-actions button { font:600 .9rem/1.3 Inter,Arial,sans-serif; cursor:pointer; min-height:40px; background:white; color:var(--studio-ink); border:1px solid var(--studio-line); border-radius:6px; padding:8px 13px; }
.gallery-actions .active { border-color:#202525; color:white; background:#202525; }
.gallery-grid { display:grid; gap:18px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.gallery-card { overflow:hidden; border:1px solid var(--studio-line); border-radius:10px; background:white; }
.gallery-card a { display:block; text-decoration:none; }
.gallery-card img { width:100%; aspect-ratio:1.5; object-fit:cover; display:block; }
.gallery-card .caption { display:grid; gap:2px; padding:12px 15px; }
.caption span { font-weight:650; }
.caption small, .google-review-card small { color:var(--studio-muted); font-size:.85rem; }
.gallery-viewer { max-width:min(90vw,1100px); max-height:92dvh; padding:16px; border:0; border-radius:12px; background:var(--studio-paper); color:var(--studio-ink); }
.gallery-viewer::backdrop {background:rgba(15,19,22,.82);}
.gallery-viewer button { display:block; font:600 .94rem Inter,Arial,sans-serif; margin-left:auto; background:white; border:1px solid var(--studio-line); border-radius:6px; padding:10px 16px; cursor:pointer; }
.gallery-viewer figure {margin:10px 0 0}
.gallery-viewer img { display:block; max-width:100%; max-height:70dvh; object-fit:contain; margin:auto; }
.gallery-viewer figcaption { padding:9px 0 0; font:600 1rem/1.4 Inter,Arial,sans-serif; }
.reviews-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(245px,310px); gap:clamp(26px,6vw,85px); align-items:center; }
.reviews-intro .page-intro { margin:0; }
.rating-panel { padding:clamp(20px,2.8vw,32px); border:1px solid var(--studio-line); border-radius:12px; background:white; }
.rating-line { display:flex; align-items:baseline; gap:8px; }
.rating-line strong { font-size:3.8rem; line-height:1; letter-spacing:-.07em; }
.rating-line > span {color:var(--studio-muted);}
.rating-stars, .review-card .stars { color:#946b16; letter-spacing:.1em; }
.rating-panel a { display:inline-block; margin-top:10px; }
.review-grid { margin-top:18px; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); }
.review-grid .review-fallback { margin:0; }
.google-review-card h3 { margin-top:10px; }
.google-review-card small {display:block;margin-top:12px;}
.shop-availability { max-width:660px; }
.estimate-panel { max-width:810px; }
.estimate-panel .impcbl-estimate { color:var(--studio-ink); }
.estimate-panel :is(.ie-field,.ie-support,.ie-details,.ie-details summary,.ie-details summary small,.ie-color-card,.ie-history,.ie-history small,.ie-investment span,.ie-secondary) { color:#465253; }
.estimate-panel :is(.ie-field input,.ie-field select,.ie-field textarea,.ie-field select option){background:white;color:var(--studio-ink);border-color:#a3afac;}
.estimate-panel :is(.ie-installation-description,.ie-confirmation,.ie-preview){background:#edf1ef;color:#242d2c;border-color:var(--studio-line);}
.estimate-panel :is(.ie-kicker,.ie-investment strong,.ie-material,.ie-color-card a) {color:#795b20;}
.estimate-panel .ie-primary {background:#212626;color:white;border-color:#212626;}
.estimate-panel .ie-primary:hover:not(:disabled){background:#38423f;color:white;}
.estimate-panel .ie-primary:disabled{background:#e0e5e2;color:#5c6562;border-color:#cbd2cf;}
.estimate-panel .ie-message {color:#70491a;}
.estimate-panel :is(.ie-investment,.ie-history,.ie-color-card) {border-color:var(--studio-line);}
@media(max-width:760px){
  .studio-content .split, .studio-content .service-detail-grid, .reviews-intro { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .rating-panel { max-width:420px; }
}
@media(max-width:440px){
  .studio-content {width:91%;}
  .gallery-actions {gap:6px;}
  .gallery-actions button {min-height:44px;}
  .gallery-card .caption {padding:8px;}
  .service-photo-grid {grid-template-columns:1fr;}
}
