@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-variable-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --wash: #EDF4FA;
  --white: #fff;
  --ink: #1C2733;
  --blue: #2F7BD3;
  --blue-deep: #1E5FAB;
  --bubble: #E6ECF2;
  --note: #FFF3C2;
  --muted: #5E6B78;
  --line: #D5DEE7;
  --font: "Bricolage Grotesque",system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-optical-sizing: auto;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(32px, 3.6vw, 44px); }
p { margin: 0 0 1em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 17px;
  border: 2px solid var(--blue); min-height: 52px;
}
.btn-fill { background: var(--blue); color: #fff; }
.btn-fill:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-line { background: #fff; color: var(--blue); }
.btn-line:hover { background: var(--wash); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Header */
header { background: var(--white); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.bar img { height: 34px; width: auto; }
.bar nav { margin-left: auto; display: flex; gap: 24px; }
.bar nav a { text-decoration: none; font-weight: 500; }
.bar nav a:hover { color: var(--blue); }
.bar .phone { text-decoration: none; font-weight: 600; color: var(--blue); white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; }

/* Hero */
.hero { background: var(--wash); padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); max-width: 15ch; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 44ch; margin: 20px 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .fine { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* Phone thread */
.phone-frame { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 18px 16px 22px; box-shadow: 0 18px 50px rgba(28,39,51,.10); max-width: 400px; margin-left: auto; }
.phone-frame .top { text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.phone-frame .top strong { display: block; color: var(--ink); font-size: 15px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; margin: 8px 0; }
.msg.them { background: var(--bubble); border-bottom-left-radius: 6px; }
.msg.us { background: var(--blue); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.msg img { border-radius: 12px; width: 180px; height: 135px; object-fit: cover; }
.msg.pic { padding: 4px; width: fit-content; max-width: 82%; }
.thread-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }

/* Picker */
.pick { padding: 80px 0 24px; }
.pick h2 { margin-bottom: 8px; }
.pick .sub { color: var(--muted); margin-bottom: 28px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: block; text-decoration: none; border: 2px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.tile:hover { border-color: var(--blue); }
.tile.is-picked { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,123,211,.18); }
.tile img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.tile .body { padding: 18px 20px 20px; }
.tile h3 { font-size: 24px; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 15px; margin: 0; }

/* Quote side panel */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(28,39,51,.45); opacity: 0; transition: opacity .3s ease; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: #fff;
  box-shadow: -24px 0 60px rgba(28,39,51,.18); transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 0; }
.drawer-head h2 { font-size: 28px; }
.drawer-head p { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.drawer-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.drawer-close:hover { background: var(--wash); }
.drawer-body { padding: 20px 28px 28px; display: grid; gap: 16px; }
.drawer-foot { margin-top: auto; padding: 18px 28px 26px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.drawer-foot a { color: var(--blue); font-weight: 600; text-decoration: none; }
body.drawer-open { overflow: hidden; }
.note { background: var(--note); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
form { display: grid; gap: 14px; }
.group { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.group h3 { font-size: 17px; font-weight: 700; margin: 0 0 2px; }
#new-loc { display: grid; gap: 12px; }
.group[hidden], #new-loc[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; line-height: 1.45; }
.check input { width: 22px; height: 22px; min-height: 0; flex: none; margin: 2px 0 0; accent-color: var(--blue); }
.check.consent { font-size: 13px; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.file { display: flex; gap: 14px; align-items: center; padding: 16px; border: 2px dashed var(--line); border-radius: 12px; font-weight: 400; font-size: 14px; color: var(--muted); cursor: pointer; }
.file:hover { border-color: var(--blue); }
.file input { width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; position: absolute; }
.file b { color: var(--ink); font-size: 15px; }
.file::before { content: "+"; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--wash); color: var(--blue); font-size: 26px; font-weight: 600; display: grid; place-items: center; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input, select, textarea { font: inherit; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-height: 50px; width: 100%; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .btn { width: 100%; margin-top: 4px; }
form small { color: var(--muted); font-weight: 400; }
[data-done] { background: #DDF3E6; border-radius: 10px; padding: 12px 14px; }

/* Steps */
.steps { background: var(--wash); padding: 72px 0; }
.steps h2 { margin-bottom: 36px; }
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step-row::before { content: ""; position: absolute; left: 10px; right: 10px; top: 11px; height: 2px; background: var(--line); }
.step { position: relative; padding-top: 34px; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); border: 5px solid var(--wash); box-sizing: border-box; }
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* Preview reviews as messages */
.reviews { padding: 80px 0; }
.reviews .wrap { max-width: 760px; }
.reviews h2 { margin-bottom: 6px; }
.reviews .sub { color: var(--muted); margin-bottom: 28px; }
.rv { display: grid; grid-template-columns: 44px 1fr; gap: 12px; margin-bottom: 22px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bubble); display: grid; place-items: center; font-weight: 800; color: var(--blue); }
.rv .bubble { background: var(--bubble); border-radius: 18px; border-top-left-radius: 6px; padding: 14px 18px; }
.rv .bubble p { margin: 0 0 6px; }
.rv .meta { font-size: 14px; color: var(--muted); }
.stars { color: #F2A900; letter-spacing: 2px; font-size: 14px; }
.rv-foot { margin-top: 28px; background: var(--note); border-radius: 12px; padding: 14px 16px; font-size: 15px; }

/* FAQ */
.faq { padding: 72px 0; }
.faq .wrap { max-width: 760px; }
.faq h2 { margin-bottom: 6px; }
.faq .sub { color: var(--muted); margin-bottom: 20px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--blue); font-weight: 600; flex: none; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin: 0 0 18px; color: var(--muted); }

/* Coverage */
.coverage { background: var(--wash); padding: 72px 0; }
.coverage .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.coverage p { color: var(--muted); }
.cities { columns: 2; column-gap: 32px; list-style: none; margin: 0; padding: 0; font-weight: 500; }
.cities li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* Footer */
footer { padding: 40px 0; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { text-decoration: none; margin-right: 18px; }

/* Preview responsive behavior */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone-frame { margin: 0 auto; }
  .tiles, .step-row { grid-template-columns: 1fr; }
  .step-row::before { display: none; }
  .coverage .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .bar nav, .bar .phone { display: none; }
  .menu-btn { display: block; }
  header.nav-open nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px; background: #fff; padding: 16px 20px 20px; gap: 10px; border-bottom: 1px solid var(--line); }
  .hero { padding: 44px 0 40px; }
  .btn { width: 100%; }
  .drawer-head, .drawer-body, .drawer-foot { padding-left: 20px; padding-right: 20px; }
  .row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer-panel, .drawer-backdrop { transition: none; }
}

/* Production reviews */
.score-card {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  vertical-align: top;
}
.score-card:where([hidden], :not(:has(.score-num:not(:empty)))) { display: none; }
.score-num { grid-row: span 2; font-size: 44px; font-weight: 800; line-height: 1; }
.score-stars { color: var(--blue); letter-spacing: 2px; }
.score-sub { color: var(--muted); font-size: 14px; }

.rv-grid { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 760px; gap: 22px; }
.rv-card {
  min-width: 0;
  background: var(--bubble);
  border-radius: 18px;
  border-top-left-radius: 6px;
  padding: 16px 18px;
  overflow-wrap: anywhere;
}
.rv-card:where(.rv-empty) { color: var(--muted); font-style: italic; }
.rv-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.rv-stars { color: #F2A900; letter-spacing: 2px; font-size: 14px; }
.rv-date { color: var(--muted); font-size: 13px; }
.rv-text { font-size: 16px; margin: 8px 0 10px; }

/* Scope the production footer to preserve the preview's yellow .rv-foot note. */
:where(.rv-card) .rv-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: 14px;
}
.rv-who { min-width: 0; }
:where(.rv-who) strong { color: var(--ink); }
:where(.rv-who) span { display: block; color: var(--muted); }
.rv-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 3px 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}
.rv-tick { color: var(--blue); font-weight: 800; }

.mech-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.mech-n { display: block; color: var(--muted); font-size: 12px; text-transform: none; }
:where(.mech-strip) strong { display: block; color: var(--ink); font-size: 15px; }
.mech-copy { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.rv-trust { background: var(--note); border-radius: 12px; padding: 14px 16px; font-size: 15px; margin-top: 28px; }
:where(.feedback-details) summary { font-size: 15px; color: var(--blue); font-weight: 600; cursor: pointer; margin-top: 20px; }
.feedback-form-shell { background: var(--wash); border-radius: 18px; padding: 20px; margin-top: 12px; }
.review-form-title { font-size: 20px; }

/* Production service-page layout */
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.quote-section { padding: 72px 0; background: var(--white); }
:where(.quote-section) h2 { margin-bottom: 16px; }
:where(.quote-section) p { color: var(--muted); }
:where(.quote-section) form { max-width: 760px; }
:where(.quote-section) h3 { font-size: 20px; margin: 12px 0 4px; }

/* Production forms */
.svc-form { display: grid; gap: 14px; min-width: 0; }
.svc-form[hidden] { display: none; }
.form-group { min-width: 0; margin-bottom: 14px; }
:where(.form-group) label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
:where(.form-group) input,
:where(.form-group) select,
:where(.form-group) textarea {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 50px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
:where(.form-group) textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-width: 0; }
.form-small { min-width: 0; }

.form-group:where(.checkbox-group),
label:where(:has(input[type="checkbox"])) {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}
label:where(:has(input[type="checkbox"])) { cursor: pointer; }
:where(.checkbox-group) label { font-weight: 400; }
input:where([type="checkbox"]) {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  flex: none;
  padding: 0;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.form-note,
.consent { font-size: 13px; color: var(--muted); }

/* Production photo uploads */
.photo-upload-group { position: relative; }
.photo-count-label { color: var(--muted); font-size: 13px; font-weight: 400; }
.photo-add-btn,
:where(.photo-upload-group) label:where([role="button"]) {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 2px dashed var(--line);
  border-radius: 12px;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.photo-add-btn:where(:hover),
:where(.photo-upload-group) label:where([role="button"]:hover) { border-color: var(--blue); }
.photo-add-btn:where(:focus-within),
:where(.photo-upload-group) label:where([role="button"]:focus-within) {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.photo-add-btn::before,
:where(.photo-upload-group) label:where([role="button"])::before {
  content: "+";
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--blue);
  font-size: 26px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
:where(.photo-add-btn, .photo-upload-group label[role="button"]) b { color: var(--ink); font-size: 15px; }
:where(.photo-add-btn, .photo-upload-group label[role="button"]) svg { flex: none; }
.photo-upload-list,
.photo-preview-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.photo-upload-list:where(:not(:empty)),
.photo-preview-grid:where(:not(:empty)) { margin-bottom: 8px; }
:where(.photo-upload-list, .photo-preview-grid) img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }

/* Visually hide controls without removing keyboard or screen-reader access. */
.sr-only,
.visually-hidden,
.photo-hidden-input,
:where(.photo-upload-group) input:where([type="file"]) {
  position: absolute;
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Production form feedback */
.site-form-error,
.site-form-success { border-radius: 10px; padding: 12px 14px; font-size: 15px; margin-top: 10px; overflow-wrap: anywhere; }
.site-form-error { color: #B42318; background: #FEE4E2; }
.site-form-success { color: #067647; background: #DDF3E6; }
[data-antiabuse-role="turnstile-host"] { margin: 10px 0; }

/* Contact band */
:where(#contact) { background: var(--wash); padding: 72px 0; }
:where(#contact) > :where(.wrap, .container) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
:where(#contact) h2 { margin-bottom: 16px; }
:where(#contact) p { color: var(--muted); }
.contact-line { display: block; margin-bottom: 18px; text-decoration: none; overflow-wrap: anywhere; }
.contact-label { display: block; color: var(--muted); font-size: 13px; }
:where(.contact-line) strong { display: block; color: var(--ink); font-size: 17px; }
.contact-line:where(a:hover) { color: var(--blue); text-decoration: underline; }

/* Mobile action bar */
.mobile-cta { display: none; }
.mobile-cta-call,
.mobile-cta-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 0 12px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.mobile-cta-call { background: var(--ink); color: var(--white); border-color: var(--ink); }
.mobile-cta-quote { background: var(--blue); color: var(--white); border-color: var(--blue); }
.mobile-cta-quote:where(:hover) { background: var(--blue-deep); border-color: var(--blue-deep); }

/* Production responsive behavior */
@media (max-width: 900px) {
  :where(#contact) > :where(.wrap, .container) { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { padding-bottom: 72px; padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .form-row { grid-template-columns: 1fr; }
  .mech-strip { grid-template-columns: minmax(0, 1fr); }
  .mobile-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    background: var(--white);
    box-shadow: 0 -1px 0 var(--line);
    padding: 10px 20px;
    padding-top: 10px;
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: max(20px, env(safe-area-inset-left, 0px));
  }
  .mobile-cta:where(body.drawer-open *) { display: none; }
}
/* Hero thread: messages arrive one at a time with a typing bubble (JS adds .thread-animate) */
.thread-animate .msg.pending { display: none; }
.msg.typing { display: flex; gap: 5px; align-items: center; padding: 13px 16px; width: 66px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .45; animation: thread-dot 1.1s infinite ease-in-out; }
.msg.typing.them { color: var(--muted); }
.msg.typing.us { color: #fff; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes thread-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg.reveal { animation: thread-pop .22s ease-out; }
@keyframes thread-pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .thread-animate .msg.pending { display: block; }
  .msg.typing { display: none; }
  .msg.reveal { animation: none; }
}

/* Frameless thread (John 10/27): no phone box, photo is just the photo, older bubbles fade out at the top */
.phone-frame { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; max-width: 420px; }
.phone-frame .top { border-bottom: 0; margin-bottom: 4px; padding-bottom: 0; }
.thread-stage { height: 440px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 40px; -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 6%, #000 34%); mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 6%, #000 34%); }
.thread-stage .msg { flex: none; }
.msg.pic, .msg.us.pic, .msg.them.pic { background: transparent; padding: 0; width: fit-content; max-width: 72%; }
.msg.pic img { width: 230px; height: auto; border-radius: 18px; display: block; }
@media (max-width: 900px) { .thread-stage { height: 400px; } }

/* Thread fills from the top down (John 10/27); older bubbles dim with age, the top mask only once the stack scrolls */
.thread-stage { justify-content: flex-start; padding-top: 0; -webkit-mask-image: none; mask-image: none; }
.thread-stage.scrolled { -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 4%, #000 30%); mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 4%, #000 30%); }
.thread-stage .msg { transition: opacity .7s ease; }

/* Two big bubbles at a time (John 10/27): no header line, larger type, the stage scrolls as the thread grows */
.phone-frame { max-width: 480px; }
.thread-stage { height: 330px; }
.thread-stage .msg { font-size: 20px; line-height: 1.4; padding: 14px 20px; max-width: 92%; border-radius: 24px; margin: 10px 0; }
.thread-stage .msg.them { border-bottom-left-radius: 8px; }
.thread-stage .msg.us { border-bottom-right-radius: 8px; }
.thread-stage .msg.pic { padding: 0; }
.msg.pic img { width: 300px; border-radius: 22px; }
.msg.typing { padding: 16px 20px; width: 78px; }
.msg.typing i { width: 9px; height: 9px; }
@media (max-width: 900px) { .thread-stage { height: 310px; } .thread-stage .msg { font-size: 18px; } .msg.pic img { width: 240px; } }

.footnote { font-size: 13px; color: var(--muted); margin: 0 0 8px; }

/* Clear separation between bubbles (John 10/27): narrower bubbles so left/right reads, real gaps between them */
.thread-stage { height: 370px; }
.thread-stage .msg { max-width: 74%; margin: 0 0 22px; }
.thread-stage .msg.them { margin-right: auto; }
.thread-stage .msg.us { margin-left: auto; }
.thread-stage .msg.pic { margin-bottom: 14px; }
.msg.pic img { width: 260px; }
@media (max-width: 900px) { .thread-stage .msg { max-width: 80%; } }

/* Speech-bubble tails (John 10/27): grey points left, blue points right, photos have none */
.thread-stage .msg { position: relative; }
.thread-stage .msg.them::after, .thread-stage .msg.us::after { content: ""; position: absolute; bottom: 0; width: 16px; height: 16px; }
.thread-stage .msg.them::after { left: -7px; background: var(--bubble); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.thread-stage .msg.us::after { right: -7px; background: var(--blue); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.thread-stage .msg.pic::after { display: none; }

/* Bigger comic tails and room for them at the stage edges */
.thread-stage { padding: 0 18px; }
.thread-stage .msg.them { border-bottom-left-radius: 4px; }
.thread-stage .msg.us { border-bottom-right-radius: 4px; }
.thread-stage .msg.them::after, .thread-stage .msg.us::after { width: 26px; height: 22px; bottom: 0; }
.thread-stage .msg.them::after { left: -15px; -webkit-clip-path: polygon(100% 0, 100% 68%, 0 100%); clip-path: polygon(100% 0, 100% 68%, 0 100%); }
.thread-stage .msg.us::after { right: -15px; -webkit-clip-path: polygon(0 0, 0 68%, 100% 100%); clip-path: polygon(0 0, 0 68%, 100% 100%); }

/* iMessage-style curved tails (John's iMessage screenshot, 10/27): a colored curl carved by a background-colored cutout */
.thread-stage .msg.them, .thread-stage .msg.us { border-radius: 22px; }
.thread-stage .msg.them::before, .thread-stage .msg.us::before { content: ""; position: absolute; bottom: -2px; width: 20px; height: 20px; z-index: 0; }
.thread-stage .msg.them::before { left: -7px; background: var(--bubble); border-bottom-right-radius: 16px; }
.thread-stage .msg.us::before { right: -7px; background: var(--blue); border-bottom-left-radius: 16px; }
.thread-stage .msg.them::after, .thread-stage .msg.us::after { content: ""; position: absolute; bottom: -2px; width: 10px; height: 22px; z-index: 1; background: var(--wash); -webkit-clip-path: none; clip-path: none; left: auto; right: auto; }
.thread-stage .msg.them::after { left: -10px; border-bottom-right-radius: 10px; }
.thread-stage .msg.us::after { right: -10px; border-bottom-left-radius: 10px; }
.thread-stage .msg.pic::before, .thread-stage .msg.pic::after { display: none; }

/* Scrollable thread (John 10/27): wheel or drag over the thread reads the whole conversation; scrollbar hidden */
.thread-stage { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
.thread-stage::-webkit-scrollbar { display: none; }
.fine.footnote { margin-top: 6px; }

/* Older bubbles disappear instead of fading (John 10/27); they come back when the thread is scrolled */
.thread-stage .msg.gone { display: none; }
.thread-stage.scrolled { -webkit-mask-image: none; mask-image: none; }

/* Typing bubble sized like a real one, and bubbles pop out from the tail corner (John 10/27: the opening looked squished) */
.msg.typing { width: 96px; padding: 20px 24px; min-height: 58px; box-sizing: border-box; }
.msg.typing i { width: 11px; height: 11px; }
.msg.reveal { animation: thread-pop .28s cubic-bezier(.2,.9,.3,1.2); }
.msg.us.reveal { transform-origin: 100% 100%; }
.msg.them.reveal { transform-origin: 0 100%; }
@keyframes thread-pop { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }

/* Typing dots were being squeezed by flex inside a fixed-width bubble; let the bubble size to its dots */
.msg.typing { width: auto; min-width: 0; padding: 20px 22px; gap: 7px; }
.msg.typing i { flex: none; width: 11px; height: 11px; }
@keyframes thread-dot { 0%, 60%, 100% { transform: translateY(0) scale(1); opacity: .45; } 30% { transform: translateY(-6px) scale(1.15); opacity: 1; } }

.thread-stage .msg.typing { max-width: none; width: auto; }


/* Service tile sliders (John 10/27): each tile auto-slides through job photos; dots are indicators only */
.slides { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bubble); }
.slide-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.4,0,.2,1); will-change: transform; }
.slide-track img { flex: none; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.slide-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.slide-dots i.on { background: #fff; }
@media (prefers-reduced-motion: reduce) { .slide-track { transition: none; } }

/* Closing sections (John 10/27 "I do not like the design of the bottom"): white coverage with a run-in city line, then a dark closing band and dark footer */
.coverage { background: var(--white); padding: 80px 0; }
.coverage .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.coverage .run { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.coverage .run a { color: var(--blue); text-decoration: none; border-bottom: 2px solid rgba(47,123,211,.35); }
.coverage .run a:hover { border-bottom-color: var(--blue); }
.closing { background: var(--ink); color: #fff; padding: 96px 0; text-align: center; }
.closing .wrap { display: block; }
.closing .kick { color: #9FB3C8; font-size: 17px; margin: 0 0 12px; }
.closing h2 { font-size: clamp(36px, 4.6vw, 56px); color: #fff; margin: 0 auto 10px; max-width: 16ch; }
.closing .phone-big { display: inline-block; font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -.03em; color: #fff; text-decoration: none; margin: 10px 0 6px; }
.closing .phone-big:hover { color: #BFD9FF; }
.closing .sub { color: #B9C8D8; font-size: 18px; margin: 0 auto 28px; max-width: 44ch; }
.closing .row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.closing .btn-fill { background: #fff; color: var(--ink); border-color: #fff; }
.closing .btn-fill:hover { background: #E6EEF7; border-color: #E6EEF7; }
.closing .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.closing .btn-line:hover { background: rgba(255,255,255,.08); }
.closing .mail { margin: 26px 0 0; color: #9FB3C8; font-size: 15px; }
.closing .mail a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.closing .mail strong { font-weight: 500; }
footer { background: var(--ink); color: #9FB3C8; border-top: 1px solid rgba(255,255,255,.08); }
footer a { color: #D7E1EC; }
footer p { color: #9FB3C8; }
@media (max-width: 900px) { .coverage .wrap { grid-template-columns: 1fr; gap: 24px; } .closing { padding: 72px 0; } }

/* Coverage map, design D treatment (John 10/27 "how about the one from design d"): dark navy panel, aqua outline and pins that pop in when scrolled into view, pulsing ring on Indianapolis, legend line */
.coverage .wrap { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.coverage .run { font-size: clamp(19px, 1.9vw, 25px); margin-top: 22px; }
.map-panel { margin: 0; justify-self: end; width: 100%; max-width: 440px; background: #0B1E33; border-radius: 24px; padding: 30px 28px 22px; }
.map-panel svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-panel .state { fill: #12294A; stroke: #3FC8E6; stroke-width: 1.5; stroke-linejoin: round; }
.map-panel .pin { fill: #3FC8E6; }
.map-panel .ring { fill: none; stroke: #3FC8E6; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map-panel .lbl { font-family: var(--font); font-size: 12px; font-weight: 600; fill: #E6EEF5; }
.map-panel .lbl.small { font-size: 11px; font-weight: 500; fill: #A9BBCD; }
.map-panel .legend { margin: 16px 0 0; font-size: 13px; color: #A9BBCD; }
.map-panel.armed .pin, .map-panel.armed .lbl { opacity: 0; }
.map-panel.in-view .pin, .map-panel.in-view .lbl { animation: pin-pop .5s ease-out forwards; }
.map-panel.in-view .ring { animation: pin-ring 2.4s ease-out 1.2s infinite; }
@keyframes pin-pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes pin-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
@media (prefers-reduced-motion: reduce) { .map-panel .pin, .map-panel .lbl { animation: none !important; opacity: 1 !important; } .map-panel .ring { animation: none !important; opacity: 0 !important; } }
@media (max-width: 900px) { .coverage .wrap { grid-template-columns: 1fr; gap: 28px; } .map-panel { justify-self: center; max-width: 420px; padding: 24px 20px 18px; margin-top: 6px; } }

/* Hero deck (John 10/28 "we need the sliding pictures from the older version": text thread, relocation, removal, cleaning slide sideways like the old hero slideshow; 10s hold, arrows, dots, swipe) */
.hero .wrap { display: block; }
.hero-deck { overflow: hidden; }
.deck-track { display: flex; align-items: stretch; transition: transform .65s cubic-bezier(.22,.75,.2,1); }
.deck-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; visibility: hidden; transition: visibility 0s .65s; }
.deck-slide.is-on { visibility: visible; transition: visibility 0s; }
.deck-slide h2 { font-size: clamp(38px, 5.2vw, 66px); max-width: 15ch; }
.hero-photo { margin: 0; width: 100%; max-width: 480px; justify-self: end; aspect-ratio: 12 / 11; border-radius: 28px; overflow: hidden; background: #DCE6F0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Dots only (John 10/28 "remove the arrows, ultra minimalistic, swipe on touch"): a 6px dot drawn inside a 24px tap target */
.deck-nav { display: flex; justify-content: center; margin-top: 24px; }
.deck-dots { display: flex; gap: 2px; }
.deck-dot { box-sizing: content-box; width: 6px; height: 6px; padding: 9px; border: 0; border-radius: 50%; background: #C5D3E0; background-clip: content-box; cursor: pointer; transition: background-color .2s; }
.deck-dot.on { background-color: var(--blue); }
.deck-dot:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; }
@media (max-width: 900px) { .deck-slide { grid-template-columns: 1fr; gap: 28px; } .hero-photo { justify-self: center; aspect-ratio: 4 / 3; max-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .deck-track, .deck-slide { transition: none; } }

/* Review photos (John 10/28): customers attach up to 3 photos of their spa in the survey; the published card shows them above the text */
.rv-photos { display: flex; gap: 8px; margin: 12px 0 4px; }
.rv-photo { width: 112px; height: 84px; object-fit: cover; border-radius: 10px; background: #E6EEF7; display: block; }
@media (max-width: 720px) { .rv-photo { width: 96px; height: 72px; } }
