/* Refinements preserve the original Aspen palette and composition. */
:root, :root[data-theme="teal"] { --action: #007b91; }
html { scroll-padding-bottom: 100px; }
body { -webkit-text-size-adjust: 100%; }
main:focus { outline: none; }
.header-inner > *, .hero > *, .contact-grid > *, .contact-fields > * { min-width: 0; }
.request-form input, .request-form select, .request-form textarea { font-size: 16px; }
.request-form input, .request-form select { min-height: 48px; }
.request-form textarea { min-height: 110px; }
input, select, textarea, button { scroll-margin-block: 100px; }
.request-form :focus-visible { outline-color: var(--pine); }
.form-trap { pointer-events: none; }
.request-result:focus { outline: 2px solid var(--pine); outline-offset: 8px; }
.request-result a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-services { gap: 4px 25px; }
.footer-services a, .detail-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.detail-page { line-height: 1.75; }
.detail-page .offer-box h2 { margin-top: 0; }
.detail-page .offer-box > :last-child { margin-bottom: 0; }
.detail-header .header-inner > a:not(.logo) { min-height: 44px; display: inline-flex; align-items: center; }
.detail-page > .button + .inline-link { margin-inline-start: 12px; }
.breadcrumbs { font-size: .85rem; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; color: var(--muted); }
.breadcrumbs a { min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumbs span { align-self: center; }
.mobile-explorer[open] > summary > span { transform: rotate(45deg); }
.mobile-contact :focus-visible, .maintenance :focus-visible { outline-color: var(--cream); }
.site-footer-link { text-underline-offset: 4px; }
@media (max-width: 800px) {
  .detail-header .header-inner { grid-template-columns: 1fr auto; }
  .detail-header .header-inner > a:not(.logo):not(.header-phone) { grid-column: 1; grid-row: 2; }
  .detail-header .header-phone { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 680px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 36px); }
  .hero-description, .about-copy p, .workmanship-copy > p,
  .team-story > p:last-child, .price-card > p:not(.price, .eyebrow),
  .service-panel p:not(.eyebrow), .service-area-section > p:not(.eyebrow),
  .section-heading p, .form-intro, .faq-list details p { font-size: 1rem; line-height: 1.65; }
  .offer-note, .hero-warranty, .hero-founder small, .quick-grid small, .form-status,
  .plan-inclusions-details .plan-terms, .footer p, .footer-services { font-size: .8125rem; }
  .hero-founder strong { font-size: .8125rem; }
  .comfort-choices { gap: 5px; }
  .comfort-choices button { font-size: .75rem; min-height: 80px; }
  .service-tabs button { min-height: 64px; padding: 12px; }
  .faq-list summary { min-height: 52px; font-size: .9375rem; }
  .contact-phone { font-size: clamp(1.65rem, 7.5vw, 2.5rem); }
  .request-form { padding: 22px; }
  .request-form > .button { width: 100%; min-height: 52px; }
  .footer-inner { flex-wrap: wrap; padding-block: 16px; }
  .footer-services { gap: 4px 18px; padding-bottom: 18px; }
  .mobile-contact { padding-inline: max(12px, env(safe-area-inset-left)); }
  body:has(.request-form input:focus, .request-form textarea:focus, .request-form select:focus) .mobile-contact { display: none; }
  .detail-page h1 { font-size: clamp(2.25rem, 9vw, 3.25rem); overflow-wrap: break-word; }
  .detail-page > .button + .inline-link { margin-inline-start: 0; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { gap: 6px; }
  .header .logo { width: 70px; }
  .header-phone { padding-inline: 7px; font-size: .72rem; }
  .header-phone svg { display: none; }
  .menu-toggle { font-size: .75rem; }
  .hero h1 { font-size: 2.8rem; }
  .comfort-card { padding: 16px; }
  .comfort-card h2 { font-size: 2.2rem; }
  .service-tabs button { font-size: .8rem; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
