.qm-site {
  --ink: #192620;
  --paper: #f8f7f3;
  --muted: #506057;
  --line: #dce1d7;
  --accent: #d8f48d;
  --tint: #eef2e6;
  --radius: 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qm-site :focus-visible { outline: 2px solid #4e633c; outline-offset: 4px; }
.qm-width, .qm-nav { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }

.qm-header {
  position: relative;
  z-index: 10;
  display: block;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.qm-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.qm-brand { flex: none; gap: 10px; }
.qm-site .qm-brand img { width: 44px; height: 44px; border: 1px solid #ebdcd8; border-radius: 12px; }
.qm-brand .brand-text { font-size: 23px; font-weight: 780; letter-spacing: -.055em; }
.qm-site .qm-brand small { margin-top: 7px; font-size: 7px; font-weight: 750; letter-spacing: .11em; }
.qm-nav .qm-desktop-nav { gap: clamp(12px, 1.45vw, 22px); font-size: 13px; font-weight: 650; white-space: nowrap; }
.qm-desktop-nav a, .qm-header-phone { padding-block: 12px; }
.qm-desktop-nav a:hover, .qm-desktop-nav [aria-current], .qm-desktop-nav [data-current-section] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #718756;
  text-decoration-thickness: 2px;
}
.qm-nav-actions, .qm-actions { display: flex; align-items: center; gap: 12px; }
.qm-actions { flex-wrap: wrap; }
.qm-header-phone { font-size: 13px; font-weight: 750; white-space: nowrap; }
.qm-menu { display: none; position: relative; }
.qm-menu summary {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  list-style: none;
}
.qm-menu summary::-webkit-details-marker { display: none; }
.qm-menu svg { width: 22px; }
.qm-menu[open] summary { background: var(--tint); }
.qm-header .qm-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(310px, calc(100vw - 36px));
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 30px #19262024;
}
.qm-header .qm-menu nav > a { display: block; padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 650; }
.qm-header .qm-menu:not([open]) nav { display: none; }
.qm-menu nav a:hover, .qm-menu [aria-current], .qm-menu [data-current-section] { background: var(--tint); }

.qm-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 730;
  line-height: 1.2;
  text-align: center;
  transition: background .16s, border-color .16s;
}
.qm-pill:hover { background: #34483b; }
.qm-primary { background: var(--accent); color: var(--ink); }
.qm-primary:hover { background: #c9e979; }
.qm-outline { border-color: #bac6b8; background: transparent; color: var(--ink); }
.qm-outline:hover { border-color: #82947b; background: #e9eee1; }
.qm-text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.qm-text-link:hover { color: #456232; }
.qm-actions .qm-text-link { min-height: 44px; }
.qm-action-arrow { display: inline-flex; flex: none; }

.qm-site h1, .qm-site h2, .qm-site h3 { color: var(--ink); text-wrap: balance; }
.qm-site h1 { margin: 0 0 18px; font-size: clamp(42px, 5.3vw, 73px); font-weight: 760; line-height: 1; letter-spacing: -.062em; }
.qm-site h2 { margin: 0 0 10px; font-size: clamp(29px, 3.7vw, 48px); font-weight: 740; line-height: 1.09; letter-spacing: -.048em; }
.qm-site h3 { margin: 0 0 10px; font-size: clamp(23px, 2.4vw, 31px); font-weight: 740; line-height: 1.12; letter-spacing: -.037em; }
.qm-kicker { margin: 0 0 13px; color: #405742; font-size: 11px; font-weight: 800; line-height: 1.45; letter-spacing: .12em; }
.qm-kicker > span { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #78983e; }
.qm-lead { max-width: 52ch; margin: 0; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.57; }
.qm-hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(26px, 5vw, 78px); padding-block: clamp(34px, 5vw, 72px); }
.qm-hero > * { min-width: 0; }
.qm-home-hero h1 { font-size: clamp(48px, 5.65vw, 82px); }
.qm-home-hero .qm-lead { max-width: 36ch; }
.qm-starting-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 450px;
  margin: 18px 0 0;
}
.qm-starting-prices > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  padding: 11px clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.qm-starting-prices > div + div { background: var(--tint); }
.qm-starting-prices dt { font-size: 13px; font-weight: 750; line-height: 1.25; }
.qm-starting-prices dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.15; }
.qm-starting-prices strong { color: var(--ink); font-size: clamp(31px, 4vw, 43px); letter-spacing: -.065em; }
.qm-estimate-note { margin: 7px 0 15px; color: var(--muted); font-size: 13px; }

.qm-featured-work {
  overflow: hidden;
  border: 1px solid #d4d9d0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 32px #21352a14;
}
.qm-carousel-stage { position: relative; }
.qm-featured-work .photo-carousel { border-radius: 0; }
.qm-featured-work .photo-carousel:focus-visible { outline-offset: -3px; }
.qm-featured-work .carousel-slide { margin: 0; }
.qm-featured-work .carousel-slide a { aspect-ratio: 1.48; }
.qm-featured-work .carousel-slide img { object-fit: cover; }
.qm-featured-work .carousel-slide figcaption { padding: 10px 16px; background: #fff; color: #42534a; font-size: 13px; }
.qm-featured-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 11px 16px; background: var(--tint); }
.qm-featured-caption > span { align-self: center; color: #4a5c49; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.qm-featured-caption .qm-pill { min-height: 44px; padding: 9px 14px; font-size: 13px; }
.qm-hero-gallery { min-height: 44px; margin-top: 7px; font-size: 15px; }

.qm-quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.qm-quick-links a { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 17px 19px; background: #fff; }
.qm-quick-links a:hover { background: var(--tint); }
.qm-quick-links a:focus-visible { outline-offset: -4px; }
.qm-quick-links strong { font-size: 16px; }
.qm-quick-links small { grid-row: 2; color: var(--muted); font-size: 13px; }
.qm-quick-links a > span { grid-column: 2; grid-row: 1 / span 2; color: #4f6746; }

.qm-section { padding-block: clamp(36px, 5.3vw, 74px); }
.qm-count-section { padding-block: clamp(14px, 2.6vw, 36px) clamp(24px, 4vw, 52px); }
.qm-split-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px 22px; margin-bottom: 21px; }
.qm-split-heading h2 { margin-bottom: 4px; }
.qm-split-heading div > p:last-child:not(.qm-kicker) { margin: 8px 0 0; color: var(--muted); }
.qm-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qm-service-grid article { display: flex; flex-direction: column; align-items: start; padding: clamp(19px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.qm-service-grid article + article { background: var(--tint); }
.qm-service-grid article > p:not(.qm-kicker) { margin: 0 0 15px; color: var(--muted); }
.qm-service-grid article > a { margin-top: auto; }
.qm-area-band, .qm-bottom-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: clamp(20px, 4.5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
}
.qm-area-band p:last-child, .qm-bottom-prompt p { max-width: 57ch; margin: 0; color: var(--muted); }
.qm-area-band .qm-pill, .qm-bottom-prompt .qm-pill { flex: none; }
.qm-area-band { margin-bottom: clamp(24px, 4vw, 56px); }
.qm-bottom-prompt { margin-block: 34px 48px; }
.qm-bottom-prompt h2 { font-size: clamp(25px, 3.6vw, 38px); }
.qm-count-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.qm-count {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: clamp(12px, 2.5vw, 24px) 8px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  text-align: center;
}
.qm-count:hover { border-color: #82947b; background: var(--tint); }
.qm-count svg { width: clamp(80px, 9vw, 118px); height: auto; margin-bottom: 4px; color: #526f4c; }
.qm-count strong { font-size: 22px; }
.qm-count > span { color: var(--muted); font-size: 13px; }

.qm-page-trail { padding-top: 23px; color: var(--muted); font-size: 13px; }
.qm-page-trail ol { display: flex; flex-wrap: wrap; gap: 4px 9px; padding: 0; margin: 0; list-style: none; }
.qm-page-trail li + li::before { margin-right: 9px; color: #627462; content: "/"; }
.qm-page-trail a { text-decoration: underline; text-underline-offset: 3px; }
.qm-detail-hero { grid-template-columns: 1fr 1fr; padding-block: clamp(24px, 4vw, 53px); }
.qm-detail-hero h1 { font-size: clamp(39px, 4.7vw, 66px); }
.qm-detail-hero .qm-actions, .qm-quote-layout .qm-actions { margin-top: 22px; }
.qm-detail-hero figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.qm-photo-frame, .qm-example-link { overflow: hidden; }
.qm-detail-hero .qm-photo-frame { background: var(--tint); }
.qm-detail-hero img { display: block; width: 100%; height: auto; }
.qm-detail-hero figcaption { padding: 8px 14px; color: var(--muted); font-size: 13px; }
.qm-detail-hero.qm-compact-hero { display: block; }
.qm-compact-hero h1 { max-width: 22ch; }
.qm-detail-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.qm-detail-sections section { display: flex; flex-direction: column; align-items: start; padding: clamp(17px, 2.8vw, 29px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.qm-detail-sections h2 { margin-bottom: 8px; font-size: clamp(21px, 2.25vw, 27px); letter-spacing: -.035em; }
.qm-detail-sections p { margin: 0; color: var(--muted); }
.qm-detail-sections .qm-text-link { min-height: 44px; padding-top: 13px; margin-top: auto; font-size: 14px; }
.qm-detail-sections.qm-compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qm-example-link { display: block; align-self: center; width: min(100%, 375px); aspect-ratio: 3 / 4; margin-top: 14px; border-radius: 13px; background: var(--tint); }
.qm-example-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qm-detail-hero .qm-portrait-example img { max-height: 480px; object-fit: contain; background: var(--tint); }
.qm-detail-footnote { max-width: 72ch; margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.qm-detail-pricing {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 13px clamp(16px, 4vw, 52px);
  align-items: start;
  margin-bottom: 18px;
  padding: clamp(18px, 3.6vw, 39px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
}
.qm-detail-pricing h2 { font-size: clamp(27px, 3.3vw, 42px); }
.qm-detail-pricing p:not(.qm-kicker) { max-width: 38ch; margin: 12px 0 0; color: var(--muted); }
.qm-detail-pricing .qm-size-list { gap: 6px; }
.qm-detail-pricing .qm-size-list a { min-height: 44px; padding: 8px 12px; font-size: 14px; }
.qm-detail-pricing .qm-size-list span { flex: none; }
.qm-multiple-tvs { grid-column: 2; justify-self: start; font-size: 14px; }
.qm-related { display: flex; flex-wrap: wrap; gap: 9px; margin-block: 22px 45px; }

.qm-page-intro { display: flex; align-items: end; justify-content: space-between; gap: 15px 24px; padding-block: clamp(24px, 4.2vw, 52px); }
.qm-page-intro .qm-pill { flex: none; }
.qm-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; }
.qm-project-photo { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.qm-project-photo a { display: block; overflow: hidden; background: #e8e9e2; cursor: zoom-in; }
.qm-project-photo a:focus-visible { outline-offset: -4px; }
.qm-project-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.qm-project-photo figcaption { padding: 10px 12px; color: var(--muted); font-size: 13px; }

#photo-viewer.qm-photo-viewer {
  width: min(1120px, calc(100% - 24px));
  max-width: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid #465149;
  border-radius: 18px;
  background: #151b17;
}
.qm-photo-viewer .viewer-bar { align-items: center; }
.qm-viewer-gallery { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.qm-photo-viewer #viewer-close { display: inline-flex; align-items: center; gap: 7px; margin-inline-start: auto; border-radius: 999px; background: #2b352e; }
.qm-photo-viewer #viewer-close:hover { background: #425148; }
.qm-viewer-stage { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 12px; }
#photo-viewer #viewer-image { height: clamp(100px, calc(100dvh - 164px), 72dvh); }
.qm-viewer-caption { min-height: 1.4em; margin: 10px 0 0; color: #e5ebe4; font-size: 14px; line-height: 1.4; text-align: center; }
.qm-photo-viewer .qm-swipe-hint { margin: 4px 0 0; color: #bfcbbf; font-size: 12px; text-align: center; }
.qm-featured-credit { display: none; }

.qm-photo-arrow {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #fffc;
  border-radius: 50%;
  background: #17231ef0;
  color: #fff;
  box-shadow: 0 2px 10px #0004;
  cursor: pointer;
}
.qm-photo-arrow:hover { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.qm-site .qm-photo-arrow:focus-visible, .qm-site .qm-photo-viewer :focus-visible { outline-color: var(--accent); }

@media (any-pointer: fine) {
  .qm-photo-arrow:not([hidden]) { display: grid; }
  .qm-viewer-stage:has(.qm-photo-arrow:not([hidden])) { grid-template-columns: 46px minmax(0, 1fr) 46px; }
  .qm-carousel-stage .qm-photo-arrow { position: absolute; inset-block-start: calc(50% - 19px); inset-inline-start: 12px; translate: 0 -50%; }
  .qm-carousel-stage .qm-photo-arrow[data-photo-step="1"] { inset-inline-start: auto; inset-inline-end: 12px; }
  .qm-featured-credit { display: block; }
  .qm-swipe-hint { display: none; }
}

.qm-quote-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(18px, 5vw, 70px); min-height: 57vh; }
.qm-quote-layout .quote-card { min-width: 0; padding: clamp(18px, 3vw, 36px); border-radius: var(--radius); background: #fff; }
.qm-quote-layout .quote-card h2 { margin-bottom: 16px; font-size: clamp(24px, 3vw, 34px); }
.qm-site .quote-card input { min-height: 48px; border-radius: 9px; }
.qm-site .quote-card .button { width: 100%; justify-content: center; min-height: 48px; border-radius: 99px; font-size: 15px; }
.qm-site .quote-card .form-status:not([hidden]) { margin-block: 10px; color: #8c301b; }
.qm-selected { display: inline-flex; flex-wrap: wrap; gap: 4px 11px; padding: 6px 13px; margin: 16px 0 0; border-radius: 99px; background: var(--tint); font-weight: 700; font-size: 13px; }
.qm-selected a, .qm-price-note a { text-decoration: underline; text-underline-offset: 3px; }
.qm-quote-counts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.qm-quote-counts a { min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; }
.qm-quote-counts a:hover { background: var(--tint); }
.qm-size-picker { max-width: 650px; margin-inline: auto; padding-block: clamp(21px, 4vw, 45px) 46px; }
.qm-size-picker h1 { font-size: clamp(34px, 5.4vw, 55px); }
.qm-picker-back { display: inline-block; margin-bottom: 18px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.qm-picker-progress { display: block; width: 100%; height: 6px; margin-bottom: 13px; overflow: hidden; appearance: none; border: 0; border-radius: 9px; color: #4d6740; background: #dfe7d8; }
.qm-picker-progress::-webkit-progress-bar { background: #dfe7d8; }
.qm-picker-progress::-webkit-progress-value { background: #4d6740; }
.qm-picker-progress::-moz-progress-bar { background: #4d6740; }
.qm-picker-intro { margin: 0 0 16px; color: var(--muted); }
.qm-size-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.qm-size-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 58px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.qm-size-list a:hover { border-color: #82947b; background: var(--tint); }
.qm-size-list span { color: var(--muted); font-weight: 700; text-align: right; }
.qm-price-note { margin-top: 13px; padding: 13px 15px; border-radius: 13px; background: var(--tint); color: var(--muted); font-size: 14px; }
.qm-price-note p { margin: 0; }

.qm-site .qm-footer { display: block; max-width: none; padding: 0; border-top: 1px solid var(--line); background: #eef0e8; }
.qm-footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 22px; padding-block: clamp(22px, 3.8vw, 43px); }
.qm-footer-grid > div > p { max-width: 34ch; margin: 11px 0 0; color: var(--muted); font-size: 14px; }
.qm-footer-grid nav { display: grid; align-content: start; gap: 5px; }
.qm-footer-grid nav a { width: fit-content; padding-block: 3px; font-size: 14px; }
.qm-footer-grid nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.qm-site .qm-language-switch { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 6px; padding-block: 5px; }
.qm-language-switch a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 10px; border-radius: 99px; color: var(--muted); font-size: 13px; font-weight: 650; }
.qm-language-switch a:hover, .qm-language-switch a[aria-current] { background: var(--tint); color: var(--ink); }
.qm-site .qm-footer-languages { justify-content: flex-start; border-top: 1px solid var(--line); padding-bottom: 10px; }
.qm-estimate-note a { text-decoration: underline; text-underline-offset: 3px; }
.qm-localized .qm-quote-layout { margin-block: 0; }
.qm-mobile-contact { display: none; }

@media (max-width: 1150px) {
  .qm-header-phone { display: none; }
}

@media (max-width: 940px) {
  .qm-nav .qm-desktop-nav { display: none; }
  .qm-menu { display: block; }
}

@media (min-width: 941px) {
  html:has(.qm-site) { scroll-padding-top: 92px; }
  .qm-header { position: sticky; top: 0; }
  .qm-priced-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(28px, 5vw, 76px);
    padding-block: clamp(28px, 4vw, 52px);
  }
  .qm-priced-overview .qm-detail-hero { padding-block: 14px; }
  .qm-priced-overview .qm-detail-pricing { grid-template-columns: 1fr; margin: 0; padding: clamp(20px, 2.6vw, 34px); }
  .qm-priced-overview .qm-multiple-tvs { grid-column: 1; }
}

@media (max-width: 840px) {
  .qm-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html:has(.qm-has-dock) { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .qm-width, .qm-nav { width: calc(100% - 32px); }
  .qm-nav { min-height: 64px; }
  .qm-site .qm-brand img { width: 40px; height: 40px; }
  .qm-brand .brand-text { font-size: 21px; }
  .qm-header-quote { display: none; }
  .qm-hero, .qm-quote-layout { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding-block: 26px; }
  .qm-page-trail { padding-top: 14px; }
  .qm-detail-hero { padding-block: 20px 22px; }
  .qm-detail-hero h1 { font-size: clamp(35px, 9vw, 49px); margin-bottom: 12px; }
  .qm-detail-hero .qm-actions { margin-top: 14px; }
  .qm-home-hero h1 { font-size: clamp(42px, 10.7vw, 65px); margin-bottom: 12px; }
  .qm-starting-prices { margin-top: 14px; }
  .qm-intro .qm-pill { padding-inline: 14px; }
  .qm-featured-work { border-radius: 17px; }
  .qm-featured-caption { padding: 9px 12px; }
  .qm-featured-work .carousel-slide figcaption { padding: 8px 12px; }
  .qm-quick-links, .qm-detail-pricing { grid-template-columns: 1fr; }
  .qm-multiple-tvs { grid-column: 1; }
  .qm-quick-links a { padding: 12px 15px; }
  .qm-split-heading, .qm-area-band, .qm-bottom-prompt, .qm-page-intro { align-items: start; flex-direction: column; }
  .qm-split-heading { margin-bottom: 15px; }
  .qm-count-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .qm-footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .qm-footer-grid > div { grid-column: span 2; }
  .qm-site.qm-has-dock { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .qm-site .qm-mobile-contact {
    position: fixed;
    inset: auto 0 0;
    z-index: 8;
    display: grid;
    grid-template-columns: .75fr .75fr 1.4fr;
    gap: 7px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #f8f7f3f5;
    backdrop-filter: blur(12px);
  }
  .qm-site .qm-mobile-contact a {
    display: grid;
    place-items: center;
    min-height: 45px;
    padding: 7px 4px;
    border: 1px solid #bac6b8;
    border-radius: 99px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 730;
  }
  .qm-site .qm-mobile-contact a:last-child { border-color: var(--ink); background: var(--ink); color: #fff; }
}

@media (max-width: 600px) {
  .qm-detail-sections.qm-compare-grid, .qm-service-grid { grid-template-columns: 1fr; }
  .qm-gallery-grid { gap: 9px; }
  .qm-project-photo { border-radius: 12px; }
  .qm-project-photo figcaption { padding: 7px 8px; font-size: 12px; }
}

@media (max-width: 350px) {
  .qm-intro .qm-actions { gap: 8px; }
  .qm-intro .qm-pill { flex: 1 1 auto; padding-inline: 10px; font-size: 13px; }
  .qm-intro .qm-pill span[aria-hidden] { display: none; }
}

/* The homepage starts with work, a real review and a simple TV-count choice. */
.qm-home-hero { align-items: start; padding-block: 25px 40px; gap: clamp(24px, 4vw, 58px); }
.qm-home-hero h1 { font-size: clamp(43px, 4.8vw, 67px); }
.qm-home-hero .qm-lead { font-size: 17px; max-width: 39ch; }
.qm-rating-link { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 14px 0 22px; font-size: 13px; }
.qm-rating-link > span:first-child { color: #a66c08; font-size: 20px; }
.qm-rating-link > span:last-child { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.qm-hero-count { padding: 0; margin-bottom: 20px; }
.qm-hero-count .qm-split-heading { margin-bottom: 10px; }
.qm-hero-count h2 { font-size: 23px; letter-spacing: -.035em; }
.qm-hero-count .qm-count-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.qm-hero-count .qm-count { padding: 10px 4px; border-radius: 13px; }
.qm-hero-count .qm-count svg { width: 63px; margin: 0; }
.qm-hero-count .qm-count strong { font-size: 17px; }
.qm-hero-count .qm-count > span { font-size: 10px; }
.qm-home-hero .qm-actions { gap: 8px; }
.qm-home-hero .qm-actions .qm-pill { padding-inline: 16px; font-size: 13px; }
.qm-home-hero .qm-hero-gallery { font-size: 13px; margin-top: 3px; }
.qm-home-hero .qm-featured-work .carousel-slide a { aspect-ratio: 2.2; }
.qm-review-preview { margin: 14px 0 0; padding: 17px 20px; background: #eef2e6; border: 1px solid var(--line); border-radius: 17px; }
.qm-review-preview figcaption { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; font-size: 13px; }
.qm-review-preview figcaption span { color: #526248; font-size: 12px; }
.qm-review-preview blockquote { margin: 10px 0; font-size: 15px; line-height: 1.55; }
.qm-review-rotator { margin: 14px 0 0; }
.qm-review-rotator .qm-review-preview { margin: 0; }
.qm-review-rotator > div[aria-live] { display: grid; }
.qm-review-rotator [data-review-slide] { grid-area: 1 / 1; }
.qm-review-rotator [data-review-slide][hidden] { display: block; visibility: hidden; }
.qm-review-rotator .qm-review-preview:not([hidden]) { animation: qm-review-in .45s ease; }
.qm-review-dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.qm-review-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c9d1bd; cursor: pointer; }
.qm-review-dots button[aria-current="true"] { background: #526248; width: 22px; border-radius: 4px; }
@keyframes qm-review-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qm-review-rotator .qm-review-preview:not([hidden]) { animation: none; } }
.qm-review-preview > a { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.qm-home-pricing { padding-top: 16px; }
.qm-home-pricing h2 { max-width: 22ch; }
.qm-home-price-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; list-style: none; margin: 0 0 14px; padding: 0; }
.qm-home-price-grid li { min-width: 0; }
.qm-home-price-grid a { display: grid; gap: 14px; height: 100%; padding: 21px 17px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.qm-home-price-grid li:first-child a { background: var(--tint); border-color: #bacba3; }
.qm-home-price-grid a:hover { border-color: #82947b; background: var(--tint); }
.qm-home-price-grid a > span:first-child { font-size: 16px; font-weight: 700; }
.qm-home-price-grid strong { font-size: 32px; letter-spacing: -.04em; }
.qm-home-price-grid small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.qm-price-detail { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; gap: 5px; }
.qm-budget-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; margin-top: 22px; border-radius: 18px; background: var(--tint); }
.qm-budget-note h3 { font-size: 24px; }
.qm-budget-note p { max-width: 65ch; margin: 0; color: var(--muted); }
.qm-budget-note .qm-pill { flex: none; }
@media(max-width: 1000px) and (min-width: 761px) { .qm-home-price-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width: 760px) {
  .qm-home-hero { padding-top: 14px; gap: 16px; }
  .qm-home-hero h1 { font-size: 40px; max-width: 16ch; }
  .qm-home-hero .qm-lead { font-size: 15px; line-height: 1.45; }
  .qm-rating-link { margin: 10px 0 15px; font-size: 12px; }
  .qm-hero-count { margin-bottom: 14px; }
  .qm-hero-count h2 { font-size: 21px; }
  .qm-hero-count .qm-count { padding-block: 8px; }
  .qm-hero-count .qm-count svg { width: 52px; }
  .qm-home-hero .qm-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .qm-home-hero .qm-actions .qm-pill { padding-inline: 8px; font-size: 12px; }
  .qm-home-price-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .qm-home-price-grid a { padding: 17px 14px; }
  .qm-home-price-grid li:last-child { grid-column: 1 / -1; }
  .qm-budget-note { flex-direction: column; align-items: flex-start; padding: 20px; }
}
