/* Finishing pass: readable typography, complete navigation and explicit states. */
:root { --muted: #5e6a72; }
body:has(dialog[open]) { overflow: hidden; }
.site-header { column-gap: 26px; }
.brand { gap: 10px; letter-spacing: -.9px; }
.brand-mark { width: 52px; height: 52px; flex: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-caption { font-size: 11px; margin-top: 6px; }
.nav-toggle { display: none; }
.site-header nav a { position: relative; padding: 12px 0; }
.site-header nav a::after { content: ''; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.site-header nav a:hover::after, .site-header nav a[aria-current=page]::after { transform: scaleX(1); }
.site-header nav a[aria-current=page] { color: var(--accent); }
.city-form { padding: 0 8px; border-radius: 4px; background: #f0f2ee; }
.city-form select { min-height: 40px; }
.intro { padding-top: 48px; }
.intro-aside .text-link, .text-link { font-size: 13px; }
.catalog-bar { padding: 24px 0; }
.search { border: 1px solid var(--line); border-radius: 4px; padding: 11px 14px; background: #fff; min-height: 46px; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px #a24e3512; }
.search input { font-size: 13px; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
#search-clear { width: 26px; height: 26px; flex: none; padding: 0; font-size: 23px; line-height: 1; }
.catalog-layout { grid-template-columns: 205px minmax(0,1fr) 300px; gap: 28px; padding-bottom: 30px; }
.directions-label { font-size: 11px; color: var(--muted); margin: 2px 0 15px 12px; }
.service-menu, .is-price-page .service-menu { max-height: none; overflow: visible; padding: 0; }
.service-menu button { font-size: 13px; min-height: 48px; padding: 13px 12px; margin-bottom: 3px; }
.service-menu button[aria-pressed=true] { background: #f0e9df; color: #883e29; box-shadow: inset 3px 0 #a24e35; }
.service-menu button[aria-pressed=true]>span:last-child { color: var(--accent); }
.sheet-heading { font-size: 11px; padding-bottom: 15px; }
#price-rows { counter-reset: price-row; }
.price-row { counter-increment: price-row; }
.price-row summary { font-size: 14px; min-height: 77px; padding: 19px 0; gap: 12px; }
.price-row summary>span:first-child { display: flex; align-items: baseline; gap: 12px; }
.price-row summary>span:first-child::before { content: counter(price-row, decimal-leading-zero); color: #8c8176; font-size: 10px; flex: none; font-variant-numeric: tabular-nums; }
.price-row strong { font-size: 15px; }
.price-row strong small { font-size: 10px; margin-top: 3px; }
.price-row[open] { border-color: #bca18b; }
.price-row[open] summary { color: var(--accent); }
.price-row.is-selected summary>span:first-child::before { content: '✓'; color: var(--accent); font-size: 13px; }
.price-details { padding: 2px 12px 20px 26px; font-size: 13px; line-height: 1.8; }
.price-details .button { font-size: 12px; min-height: 44px; }
.price-details .button[aria-disabled=true] { border-color: #cbb39e; color: #73472e; background: #f4eee7; }
.sheet-bottom { padding-top: 17px; }
.sheet-bottom .text-link { font-size: 12px; min-height: 34px; }
.sheet-bottom>span { font-size: 11px; }
.price-disclaimer { font-size: 11px; max-width: none; margin-top: 15px; }
.estimate { padding: 24px; }
.estimate-top .eyebrow { font-size: 10px; letter-spacing: 1px; }
.estimate h2 { font-size: 28px; }
.estimate-lead, .estimate-steps li { font-size: 12px; }
.estimate-steps li { padding: 10px 0; }
.estimate-steps span { font-size: 10px; }
.estimate-note { font-size: 11px; line-height: 1.7; }
.button { min-height: 48px; font-size: 13px; }
.button:active { transform: translateY(1px); }
.estimate-items { max-height: 320px; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 3px; }
.estimate-items li { font-size: 12px; padding: 13px 0; }
.estimate-item-bottom { flex-wrap: wrap; }
.estimate-item-bottom button { font-size: 11px; min-height: 32px; }
.quantity { gap: 0; width: fit-content; border: 1px solid #cfc4b4; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.quantity button { width: 36px; height: 36px; border: 0; border-radius: 0; }
.quantity span { width: 32px; text-align: center; font-size: 12px; }
.estimate-total { font-size: 11px; }
.estimate-total small { font-size: 11px; margin-top: 4px; }
.principles p, .process-grid p { font-size: 13px; }
.principles span { font-size: 10px; }
.case-grid { gap: 28px; }
.case-image { border-radius: 4px; }
.case-image>span { padding: 9px 12px; font-size: 11px; background: #fafaf7f5; }
.case-meta, .case-price span, .section-note { font-size: 11px; }
.case-card h3 { min-height: 52px; }
.case-price strong { font-size: 19px; }
.section-heading>p { font-size: 13px; }
.review { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 22px; }
.review-head { align-items: start; }
.review-head strong { font-size: 14px; }
.review blockquote { font-size: 13px; }
.review>p { font-size: 11px; margin-top: auto; padding-top: 10px; }
.empty-stars { color: #c3c8c7; }
.footer-top p, .footer-bottom { font-size: 11px; }
.footer-bottom { line-height: 1.8; }
.footer-bottom a { padding: 5px 0; }
.dialog-close { width: 44px; height: 44px; }
.case-dialog dl { font-size: 13px; }

@media(max-width:1150px) {
  .catalog-layout { grid-template-columns: 175px minmax(0,1fr) 270px; gap: 22px; }
  .site-header { gap: 16px; }
  .brand { font-size: 23px; }
  .brand-mark { width: 48px; height: 48px; }
  .price-row summary { font-size: 13px; }
  .price-row summary>span:first-child { gap: 8px; }
  .price-row strong { font-size: 14px; }
  .estimate { padding: 22px; }
}
@media(max-width:900px) {
  .catalog-layout { grid-template-columns: 175px minmax(0,1fr); }
  .estimate { grid-column: 1/-1; }
  .directions-label { margin-left: 10px; }
}
@media(max-width:600px) {
  .site-header { gap: 14px 12px; padding: 18px 0; }
  .site-header .brand { font-size: 22px; margin-right: auto; }
  .brand-mark { width: 45px; height: 45px; }
  .brand-caption { font-size: 10px; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; }
  .nav-toggle[aria-expanded=true] { background: var(--warm); border-color: #bca18b; }
  .city-form { order: 2; max-width: 190px; }
  .city-form select { max-width: 160px; font-size: 12px; }
  .account-link { order: 2; font-size: 12px; min-height: 44px; }
  .site-header nav { display: none; width: 100%; order: 3; padding-top: 8px; border-top: 1px solid var(--line); gap: 0; }
  .site-header nav.is-open { display: flex; flex-direction: column; }
  .site-header nav a, .site-header nav a:nth-child(2), .site-header nav a:last-child { display: block; font-size: 14px; padding: 12px 4px; }
  .intro { padding-top: 30px; }
  h1 { font-size: clamp(38px,11.5vw,46px); }
  .intro-aside p { font-size: 14px; }
  .intro-aside .text-link { font-size: 12px; }
  .catalog-bar { padding: 22px 0 16px; }
  .search { padding: 10px 12px; }
  .search input { font-size: 16px; }
  .search input::placeholder { font-size: 12px; }
  .catalog-layout { gap: 23px; }
  .directions { width: 100%; }
  .directions-label { margin: 0 0 10px; font-size: 11px; }
  .service-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; width: 100%; }
  .service-menu button { width: 100%; min-height: 46px; font-size: 12px; padding: 11px 12px; margin: 0; }
  .service-menu button[aria-pressed=true] { border-color: #cfb7a0; box-shadow: inset 3px 0 #a24e35; }
  .sheet-heading { font-size: 11px; }
  .price-row summary { font-size: 13px; gap: 10px; min-height: 80px; }
  .price-row strong { font-size: 14px; }
  .price-row summary>span:first-child { display: block; }
  .price-row summary>span:first-child::before { display: none; }
  .price-row.is-selected summary>span:first-child::before { display: inline-block; margin-right: 7px; }
  .price-details { padding-left: 0; padding-right: 0; font-size: 13px; }
  .sheet-bottom .text-link { font-size: 12px; }
  .price-disclaimer { font-size: 11px; }
  .estimate { padding: 25px; }
  .estimate-items { max-height: none; }
  .estimate h2 { font-size: 30px; }
  .quantity button { width: 44px; height: 44px; }
  .estimate-item-bottom button { min-height: 44px; }
  .principles span { font-size: 9px; }
  .principles p { font-size: 12px; }
  .case-card h3 { min-height: 0; }
  .case-price { margin-top: 15px; }
  .review blockquote { font-size: 14px; }
  .faq-list summary { font-size: 14px; }
  .footer-top .brand { font-size: 20px; }
  .footer-top .brand-mark { width: 36px; height: 36px; }
  .footer-top>a:last-child { margin-left: 0; font-size: 12px; }
  .footer-top p { width: auto; }
  .footer-bottom { font-size: 11px; gap: 12px 20px; }





  body.has-estimate { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
}
/* Inputs share a single outer focus treatment. Never outline the inner control. */
:root { --field-border: #cbd2d5; --field-active: #536e7e; --field-ring: #536e7e24; }
:focus-visible { outline: 2px solid var(--field-active); outline-offset: 3px; }
.city-form, .search {
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: 5px;
  min-height: 46px;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
.city-form:hover, .search:hover { border-color: #9aa9b1; }
.city-form:focus-within, .search:focus-within {
  border-color: var(--field-active);
  box-shadow: 0 0 0 3px var(--field-ring);
}
.city-form { position: relative; padding: 0; width: 182px; max-width: 182px; flex-shrink: 0; }
.city-form>label { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.city-form::after { content: ''; position: absolute; right: 14px; top: 18px; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.city-form select {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 44px;
  padding: 10px 30px 10px 34px;
  border-radius: 5px;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
}
.city-form select:focus-visible, .search input:focus-visible { outline: none; box-shadow: none; }
.city-form option { background: #fff; color: var(--ink); }
.search input { border-radius: 0; line-height: 1.5; }
#search-clear { display: grid; place-items: center; border-radius: 3px; color: var(--muted); }
#search-clear:hover { background: #edf0f1; color: var(--ink); }
#estimate-title:focus { outline: none; }
@media(max-width:600px) {
  .city-form { width: 182px; max-width: 182px; }
  .city-form select { font-size: 16px; padding-left: 32px; padding-right: 25px; }
  .city-form { width: 205px; max-width: calc(100% - 98px); }
  .city-form::after { right: 11px; }
  .city-form>label { left: 10px; }
  .search input { font-size: 16px; }
}
@media(forced-colors:active) {
  .city-form:focus-within, .search:focus-within { outline: 2px solid Highlight; outline-offset: 2px; }
}
.city-form select { text-overflow: ellipsis; }
@media(prefers-reduced-motion:reduce) {
  .city-form, .search, .site-header nav a::after { transition: none; }
}
