@font-face {
  /* impeccable-disable-next-line overused-font -- The handoff retains v1’s local Space Grotesk. */
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --blue: #164bc6;
  --ink: #192127;
  --muted: #495965;
  --mist: #edf4fa;
  --line: #bdcbd4;
  --wa: #176344;
  --display: "Space Grotesk", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-block: 1rem; }
body { margin: 0; color: var(--ink); background: white; font: 1rem/1.5 var(--body); }
h1, h2, h3, figure, blockquote, p, ol, ul { margin: 0; }
h1, h2, h3, .brand strong { font-family: var(--display); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.04em; font-weight: 650; text-wrap: balance; }
h3 { font-size: 1.25rem; letter-spacing: -.025em; font-weight: 650; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
.icon { display: inline-block; flex: none; width: 1.22em; height: 1.22em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.symbols, [hidden] { display: none !important; }
.wrap { width: min(calc(100% - clamp(2rem, 9vw, 9rem)), 74rem); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
:focus-visible, input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { color: white; background: var(--blue); }
.skip { position: absolute; top: .2rem; left: .3rem; transform: translateY(-160%); padding: .65rem; background: white; z-index: 5; }
.skip:focus { transform: none; }
.banner { text-align: center; background: #e3edf6; color: #344756; padding: .23rem .75rem; font-size: .76rem; }
.mast, .mast nav, .brand, .actions, .wa, .jump, .map { display: flex; align-items: center; }
.mast { min-height: 4.7rem; gap: 2.25rem; flex-wrap: wrap; }
.brand { gap: .7rem; }
.brand strong { color: var(--blue); font-size: 2.7rem; font-weight: 700; letter-spacing: -.04em; }
.brand span { padding-left: .7rem; border-left: 1px solid var(--line); font-size: .72rem; line-height: 1.1; font-weight: 650; }
.mast nav { gap: 1.6rem; margin-left: auto; }
.mast nav a, .jump, .map { font-weight: 650; font-size: .92rem; min-height: 44px; align-content: center; }
.mast nav a { text-decoration: none; }
.mast nav a:hover, .jump:hover, .map:hover { color: var(--blue); text-decoration: underline; }
.wa { display: inline-flex; justify-content: center; gap: .6rem; min-height: 46px; padding: .76rem 1.2rem; border-radius: .4rem; font-size: 1rem; font-weight: 650; text-decoration: none; color: white; background: var(--wa); transition: transform .16s ease; }
.wa:hover { background: #104f37; transform: translateY(-2px); }
.wa:focus-visible { transform: none; animation: none; }
.wa:active:not(:focus-visible) { transform: translateY(1px); }
.head-wa .wa { padding: .58rem 1rem; font-size: .9rem; }
.hero { background: var(--mist); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(2rem, 4.2vw, 4rem); }
h1 { font-size: clamp(3.3rem, 6.7vw, 6rem); line-height: .98; letter-spacing: -.04em; font-weight: 650; animation: enter .45s ease-out; }
h1 em { color: var(--blue); font-style: normal; }
.lead > p { max-width: 31rem; margin-block: 1.35rem 1.55rem; font-size: clamp(1rem, 1.45vw, 1.17rem); color: var(--muted); }
.actions { flex-wrap: wrap; gap: .3rem 1.4rem; }
.actions .wa { animation: enter .45s ease-out, nudge .55s ease 3s; }
.actions .wa:focus-visible { animation: none; }
.jump, .map { display: inline-flex; gap: .45rem; }
.jump { text-decoration: none; }
.bench { position: relative; isolation: isolate; aspect-ratio: 10 / 7; min-width: 0; }
.bench picture { display: block; }
.hero-layers, .hero-layers picture, .phone-spin { position: absolute; inset: 0; }
.hero-layers picture:first-child { z-index: 1; }
.bench picture img {
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(#000 94%, transparent);
  mask-composite: intersect;
}
.hero-layers { display: none; overflow: clip; background: var(--mist); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-layers { display: block; visibility: hidden; }
    .is-layered .hero-layers { visibility: visible; }
    .is-layered:not(.is-spinnable) .hero-parts {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: contain 85% exit 80%;
    }
    .is-spinnable .hero-layers { visibility: hidden; }
  }
}
@keyframes drift { to { transform: translate(32px, -9px); opacity: .84; } }
.spin-canvas {
  display: block; width: 100%; height: 100%; background: var(--mist);
  cursor: grab; touch-action: pan-y pinch-zoom;
}
.spin-canvas:active { cursor: grabbing; }
.phone-spin { opacity: 0; transition: opacity .2s ease-out; }
.is-spinnable .phone-spin { opacity: 1; }
.spin-hint {
  position: absolute; inset: auto 0 .1rem; pointer-events: none;
  color: var(--muted); font-size: .82rem; text-align: center;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .phone-spin { display: none; }
}
.pricing h2, .gallery h2, .reviews h2 { margin-bottom: 1.65rem; }
#checker {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-areas: "controls estimate" "model preview";
  gap: 1.15rem clamp(2rem, 6vw, 6rem); align-items: start;
}
.controls { grid-area: controls; min-width: 0; }
.model-field { grid-area: model; min-width: 0; }
fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
legend, .controls > label, .model-field label { font-weight: 650; margin-bottom: .45rem; padding: 0; }
.controls > label { display: block; margin-top: 1.15rem; }
.model-field label { display: block; }
.model-field small { color: var(--muted); font-size: .86em; font-weight: 400; }
.devices { display: flex; flex-wrap: wrap; gap: .4rem; }
.devices label { flex: 1; position: relative; min-width: fit-content; cursor: pointer; }
.devices input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.devices span { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .45rem; height: 100%; min-height: 56px; border: 1px solid #81919d; border-radius: .35rem; padding: .5rem; font-size: .94rem; font-weight: 600; }
.devices input:checked + span { color: var(--blue); background: var(--mist); border: 2px solid var(--blue); padding: calc(.5rem - 1px); font-weight: 700; }
.devices input:hover + span { border-color: var(--blue); }
.controls select, .model-field input { width: 100%; min-height: 48px; padding: .65rem .75rem; border-radius: .35rem; border: 1px solid #81919d; background: white; color: var(--ink); font: inherit; }
.controls select { cursor: pointer; }
.controls select:disabled { background: #f0f3f5; color: var(--muted); opacity: 1; cursor: default; }
.model-field input::placeholder { color: #53616c; }
.estimate {
  grid-area: estimate; align-self: stretch; min-width: 0;
  background: var(--mist); border-inline-start: 3px solid var(--blue);
  padding: clamp(1rem, 2.2vw, 1.7rem);
}
.estimate h3 { color: var(--blue); margin-bottom: .75rem; }
.estimate-body { position: relative; }
.estimate { overflow: clip; }
.estimate-previous { position: absolute; inset: 0; pointer-events: none; animation: quote-out .17s ease-out both; }
.quote-changed { animation: quote-in .17s ease-out both; }
@keyframes quote-in { from { opacity: 0; } }
@keyframes quote-out { to { opacity: 0; } }
.quoted-price {
  font: 650 clamp(2.4rem, 6.7vw, 4rem)/1.02 var(--display);
  letter-spacing: -.04em; margin-bottom: .5rem; font-variant-numeric: tabular-nums;
}
.quoted-price small { display: block; margin-bottom: .18rem; font: 600 1rem/1.2 var(--body); letter-spacing: normal; }
.repair-note { font-size: .93rem; color: var(--muted); margin-top: .5rem; }
.preview { grid-area: preview; }
.preview > span, .visit h3 { display: flex; align-items: center; gap: .5rem; }
.preview > span { color: var(--muted); font-weight: 650; font-size: .86rem; }
#message {
  width: fit-content; max-width: 100%; margin-top: .45rem; padding: .72rem .95rem;
  background: var(--mist); border-radius: .65rem .65rem .65rem 0;
  white-space: pre-line; overflow-wrap: anywhere; font-size: .94rem;
}
#menu { margin-top: 1.5rem; border-block: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 0; min-height: 48px; cursor: pointer; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary .icon { width: 1rem; height: 1rem; color: var(--blue); }
details[open] > summary .icon { transform: rotate(45deg); }
.tables { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem 2rem; padding-bottom: 1.5rem; }
table { table-layout: fixed; overflow-wrap: anywhere; border-collapse: collapse; width: 100%; font-size: .94rem; text-align: left; }
caption { text-align: left; font: 650 1.35rem var(--display); padding: .6rem 0; color: var(--blue); }
th, td { vertical-align: top; padding: .5rem .35rem; border-bottom: 1px solid var(--line); }
th small { display: block; font-weight: 400; color: var(--muted); }
thead th:first-child { width: 49%; }
thead { background: var(--mist); }
.menu-note { font-size: .9rem; color: var(--muted); margin-top: .7rem; }
.process, .reviews { background: var(--mist); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: clamp(2.3rem, 4.5vw, 4rem); }
.service-grid h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.1rem; }
.service-grid ol { padding-left: 1.45rem; }
.service-grid ol li { padding-left: .35rem; }
.service-grid li::marker { font-family: var(--display); color: var(--blue); font-weight: 700; }
.service-grid li + li { margin-top: .58rem; }
.service-grid ul { list-style: none; padding: 0; }
.service-grid ul li { display: flex; align-items: baseline; gap: .65rem; }
.service-grid li .icon { position: relative; top: .2rem; width: 1rem; color: var(--blue); }
.photos { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.photos img { aspect-ratio: 1.4; object-fit: cover; }
.photos figcaption { margin-top: .45rem; font-size: .9rem; color: var(--muted); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
blockquote p { font: 500 clamp(1.1rem, 1.8vw, 1.45rem)/1.4 var(--display); letter-spacing: -.022em; max-width: 37ch; text-wrap: pretty; }
cite { display: block; margin-top: .65rem; color: var(--muted); font-size: .9rem; font-style: normal; }
.split { display: grid; grid-template-columns: 1fr 1.7fr; gap: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq details p { padding-bottom: 1rem; color: var(--muted); max-width: 60ch; }
.visit { border-top: 1px solid var(--line); }
.visit-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.visit h3 { margin-bottom: .7rem; }
.visit h3 .icon { width: 1.05em; color: var(--blue); }
.visit p { color: var(--muted); }
.map { color: var(--blue); }
.closing { background: var(--mist); }
.closing .wrap, footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; }
.closing .wrap { padding-block: clamp(2rem, 4vw, 3rem); }
footer { padding-block: 1.4rem; font-size: .86rem; color: var(--muted); }
footer strong { color: var(--ink); }
.sticky { display: none; }
@keyframes enter { from { opacity: .8; transform: translateY(.3rem); } }
@keyframes nudge { 50% { opacity: .88; } }
@media (max-width: 759px) {
  html { scroll-padding-bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  .mast { min-height: 3.8rem; gap: 1rem; }
  .brand strong { font-size: 2.2rem; }
  .mast nav { gap: 0; }
  .mast nav a:first-child, .head-wa { display: none; }
  .hero-grid, #checker, .service-grid, .quotes, .split, .tables { grid-template-columns: 1fr; }
  .hero-grid { gap: .55rem; padding-block: 1.2rem .7rem; }
  h1 { font-size: clamp(2.6rem, 12.3vw, 4.8rem); overflow-wrap: anywhere; }
  .lead > p { margin: .75rem 0 .9rem; }
  .sticky { position: fixed; z-index: 3; inset: auto 0 0; display: flex; padding: .47rem max(1rem,4.5vw) calc(.47rem + env(safe-area-inset-bottom)); background: white; border-top: 1px solid var(--line); }
  .sticky .wa { width: 100%; }
  #checker { grid-template-areas: "controls" "estimate" "model" "preview"; }
  .split { gap: 1.3rem; }
  .service-grid, .quotes { gap: 1.7rem; }
  .photos { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem .75rem; }
  .visit-info { grid-template-columns: minmax(0,1fr); }
  .split, .service-grid, .hero-grid, .tables, #checker { grid-template-columns: minmax(0,1fr); }
  h2, .estimate, .actions, .faq, .closing, footer { overflow-wrap: anywhere; }
  .pricing h2, .gallery h2, .reviews h2 { margin-bottom: 1.1rem; }
  .devices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,4.15rem),1fr)); }
  .devices label { min-width: 0; }
  .devices span { flex-direction: column; gap: .2rem; font-size: .9rem; overflow-wrap: anywhere; }
  .closing .wrap { align-items: start; flex-direction: column; gap: 1rem; }
  footer { justify-content: start; }
}
@media (max-width: 380px) {
  .actions { gap: .25rem .85rem; }
  .actions .wa { padding-inline: .85rem; }
  .devices { gap: .25rem; }
  .devices span { padding-inline: .1rem; }
  .devices input:checked + span { padding-inline: 0; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(var(--rise, 28px)); }
}
@media (prefers-reduced-motion: no-preference) {
  .is-revealing { animation: rise .55s cubic-bezier(.2,.65,.3,1) both; }
  .is-revealing :is(.photos > figure, .quotes > blockquote, li) {
    --rise: 20px;
    animation: rise .55s cubic-bezier(.2,.65,.3,1) var(--delay, 0ms) both;
  }
  :is(.photos > figure, .quotes > blockquote, li):nth-child(2) { --delay: 90ms; }
  :is(.photos > figure, .quotes > blockquote, li):nth-child(3) { --delay: 180ms; }
  .photos > figure:nth-child(4) { --delay: 270ms; }
  [data-keyboard] :is(.quote-changed, .estimate-previous) { animation: none; }
  [data-keyboard] .estimate-previous { display: none; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .devices span, .photos img { transition: transform .16s ease-out; }
  .devices input:hover:not(:focus-visible) + span, .photos figure:hover img { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wa:hover, .wa:active:not(:focus-visible) { transform: none; }
  .estimate-previous { display: none; }
}
