/* Eastside Collision Center. One family (Archivo, variable width and weight),
   one accent (the red from the sign on the building), one grey family (steel). */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #b3143b;
  --red-700: #8c0e2d;
  --red-400: #d3214b;
  --red-50: #fbeff2;
  --ink: #151618;
  --ink-2: #1c1e21;
  --ink-3: #26292d;
  --steel-700: #3a3f45;
  --steel-600: #4c535b;
  --steel-500: #5c636c;
  --steel-400: #8a9099;
  --steel-300: #b4bac1;
  --steel-200: #d5d9dd;
  --steel-100: #e6e8ea;
  --steel-50: #f4f5f6;
  --white: #fff;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(21, 22, 24, 0.08);
  --shadow: 0 1px 2px rgba(21, 22, 24, 0.06), 0 10px 30px rgba(21, 22, 24, 0.1);
  --shadow-dark: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(8, 9, 10, 0.45);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--steel-50);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
picture img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 900; font-stretch: 112%; letter-spacing: -0.01em; text-wrap: balance; }
p, li, dd, figcaption, blockquote, summary, cite, .small { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red-400); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 0.8rem; font-weight: 800; font-stretch: 112%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.kicker::before { content: ''; width: 22px; height: 3px; background: currentColor; flex: none; }
@media (max-width: 560px) { .kicker { letter-spacing: 0.1em; } }
.h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); text-transform: uppercase; font-stretch: 118%; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--steel-600); max-width: 38em; }
.on-dark { color: var(--white); }
.on-dark .lead, .on-dark .muted { color: var(--steel-300); }
.on-dark .kicker { color: var(--red-400); }
.muted { color: var(--steel-500); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-weight: 800; font-stretch: 112%; font-size: 0.98rem; letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn span { text-wrap: balance; }
/* phones: labels sit on one line where they can, and never leave one word alone */
@media (max-width: 480px) {
  .btn { padding: 0 16px; font-stretch: 100%; letter-spacing: 0.01em; }
  .h2 { font-size: 1.85rem; font-stretch: 112%; }
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgba(179, 20, 59, 0.28); }
.btn-red:hover { background: var(--red-700); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.on-dark .btn-line, .btn-line.light { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.on-dark .btn-line:hover, .btn-line.light:hover { background: var(--white); color: var(--ink); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-stretch: 112%; text-decoration: none; color: var(--red); }
.link-arrow svg { width: 18px; height: 18px; fill: currentColor; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* top strip + header */
.topstrip { background: var(--ink); color: var(--steel-300); font-size: 0.86rem; }
.topstrip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topstrip a { color: var(--white); text-decoration: none; font-weight: 700; }
.topstrip a:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--steel-400); box-shadow: 0 0 0 3px rgba(138, 144, 153, 0.25); }
.status.open .dot { background: #3fb468; box-shadow: 0 0 0 3px rgba(63, 180, 104, 0.25); }
@media (max-width: 760px) { .topstrip .addr { display: none; } .topstrip .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--steel-100); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand svg { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 11px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; font-size: 0.95rem; white-space: nowrap; color: var(--steel-700); transition: color 0.15s ease, background-color 0.15s ease; }
.nav a:hover { color: var(--ink); background: var(--steel-50); }
.nav a[aria-current='page'] { color: var(--red); }
.nav .nav-cta { display: none; }
.nav a.nav-cta.btn-red, .nav a.nav-cta.btn-red:hover { color: var(--white); background: var(--red); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta .btn { white-space: nowrap; }
.header-cta .btn { min-height: 44px; padding: 0 16px; font-size: 0.9rem; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: var(--steel-50); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; fill: var(--ink); }
.call-icon { display: none; }
@media (max-width: 1180px) {
  .nav { position: fixed; inset: calc(var(--header-h) + 38px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--steel-100); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--steel-100); border-radius: 0; }
  .nav .nav-cta { display: inline-flex; margin-top: 12px; border-radius: var(--radius-sm); border-bottom: 2px solid transparent; justify-content: center; }
  .nav .nav-cta.btn-line { border: 2px solid var(--ink); }
  .menu-btn { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-cta .call-icon { display: inline-flex; width: 44px; height: 44px; padding: 0; }
  .site-header .wrap { gap: 12px; }
}
@media (max-width: 560px) { .brand svg { height: 32px; } }
/* below 640 the logo, call, Photo estimate and menu buttons do not fit on one row; the
   phone bar at the bottom carries Photo estimate there */
@media (max-width: 640px) { .header-cta .head-est { display: none; } }

/* hero */
.hero { position: relative; color: var(--white); overflow: hidden; isolation: isolate; background: #121315; }
/* the shop's own paint booth behind the hero, faded dark on the left for the text (Roman 10-14) */
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg picture, .hero-bg img { display: block; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 72% 30%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 19, 21, 0.97) 0%, rgba(18, 19, 21, 0.93) 34%, rgba(18, 19, 21, 0.6) 58%, rgba(18, 19, 21, 0.25) 100%), linear-gradient(0deg, rgba(18, 19, 21, 0.85) 0%, rgba(18, 19, 21, 0) 34%); }
.hero-tag { position: absolute; right: var(--gutter); top: 18px; margin: 0; background: rgba(21, 22, 24, 0.72); color: var(--white); font-size: 0.78rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-eyebrow { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 22px; font-weight: 700; font-size: 0.92rem; color: var(--steel-300); }
.hero-eyebrow strong { color: var(--white); }
.hero-eyebrow .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--red-400); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 0.95; font-stretch: 116%; letter-spacing: -0.02em; margin-bottom: 22px; }
.hero h1 .accent { color: var(--red-400); }
.hero .lead { color: var(--steel-300); margin-bottom: 30px; }
.starter { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-dark); max-width: 640px; }
.starter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.starter-head h2 { font-size: 1.22rem; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.01em; }
.starter-head p { margin: 0; font-size: 0.9rem; color: var(--steel-500); }
.starter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.starter-opt { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 2px solid var(--steel-100); border-radius: var(--radius-sm); text-decoration: none; font-weight: 800; font-stretch: 108%; line-height: 1.15; transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease; }
.starter-opt:hover { border-color: var(--red); background: var(--red-50); transform: translateY(-1px); }
.starter-opt .pict { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--steel-50); display: grid; place-items: center; }
.starter-opt .pict svg { width: 28px; height: 28px; }
.starter-opt .go { margin-left: auto; width: 18px; height: 18px; fill: var(--red); flex: none; }
/* two-up options in a narrow hero column: drop the arrow so labels stay on one line */
@media (min-width: 901px) and (max-width: 1180px), (min-width: 561px) and (max-width: 720px) { .starter-opt { gap: 10px; padding: 10px 12px; } .starter-opt .go { display: none; } }
.starter-foot { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 14px; font-size: 0.92rem; color: var(--steel-500); }
.starter-foot a { color: var(--ink); font-weight: 800; text-decoration: none; }
.starter-foot a:hover { color: var(--red); }
.hero-side { align-self: end; display: flex; justify-content: flex-end; }
.hero-quote { margin: 0; width: min(340px, 100%); background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-dark); }
.hero-quote p { margin: 8px 0 8px; font-weight: 600; line-height: 1.35; font-size: 0.98rem; }
.hero-quote .who { font-size: 0.82rem; color: var(--steel-500); display: flex; align-items: center; gap: 6px; }
.hero-quote .who svg { width: 14px; height: 14px; }
@media (max-width: 1023px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-bg { bottom: auto; height: clamp(420px, 112vw, 640px); }
  .hero-bg img { object-position: 80% 28%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(18, 19, 21, 0.62) 0%, rgba(18, 19, 21, 0.78) 48%, #121315 100%); }
  .hero-side { justify-content: flex-start; }
  .hero-tag { display: none; }
}
@media (max-width: 560px) {
  .starter { padding: 16px; }
  .starter-grid { grid-template-columns: 1fr; }
  .starter-opt { min-height: 58px; }

}

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: var(--red); }
.on-dark .stars svg { fill: var(--red-400); }

/* proof strip */
.proof { background: var(--white); border-bottom: 1px solid var(--steel-100); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-item { padding: 26px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; border-left: 1px solid var(--steel-100); text-decoration: none; }
.proof-item:first-child { border-left: 0; }
.proof-item .big { font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 900; font-stretch: 116%; line-height: 1; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.proof-item .big .stars svg { width: 16px; height: 16px; }
.proof-item .small { font-size: 0.9rem; color: var(--steel-500); font-weight: 600; white-space: nowrap; }
a.proof-item:hover .small { color: var(--red); }
@media (max-width: 860px) {
  .proof .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .proof-item { padding: 20px 10px; border-top: 1px solid var(--steel-100); }
  .proof-item:nth-child(-n + 2) { border-top: 0; }
  .proof-item:nth-child(odd) { border-left: 0; }
  .proof-item .small { font-size: 0.82rem; white-space: normal; }
}
@media (max-width: 380px) { .proof-item { padding: 18px 8px; } .proof-item .big { font-size: 1.05rem; } }

/* how the photo estimate works */
.how .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.steps { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--steel-200); }
.steps li:last-child { border-bottom: 1px solid var(--steel-200); }
.steps .n { font-size: 2.1rem; font-weight: 900; font-stretch: 125%; line-height: 1; color: var(--red); }
.steps h3 { font-size: 1.18rem; margin-bottom: 4px; font-stretch: 112%; }
.steps p { margin: 0; color: var(--steel-600); }
.how-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.how-actions .muted a { color: var(--ink); font-weight: 800; text-decoration: none; }
.phone-art { position: relative; justify-self: center; width: min(360px, 100%); }
.phone { position: relative; border-radius: 42px; background: var(--ink); padding: 12px; box-shadow: var(--shadow-dark); }
.phone-screen { border-radius: 32px; overflow: hidden; background: var(--white); aspect-ratio: 9 / 18.5; display: flex; flex-direction: column; }
.ps-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; font-size: 0.78rem; font-weight: 800; color: var(--steel-500); text-transform: uppercase; letter-spacing: 0.08em; }
.ps-bar { height: 5px; margin: 0 18px; border-radius: 3px; background: var(--steel-100); overflow: hidden; }
.ps-bar i { display: block; width: 62%; height: 100%; background: var(--red); }
.ps-title { padding: 16px 18px 6px; font-weight: 900; font-stretch: 112%; font-size: 1.22rem; line-height: 1.1; }
.ps-sub { padding: 0 18px; font-size: 0.86rem; color: var(--steel-500); }
.ps-view { position: relative; margin: 14px 18px; flex: 1; border-radius: 16px; background: #151618; overflow: hidden; }
.ps-view picture { position: absolute; inset: 0; }
.ps-view picture img { object-position: 50% 60%; }
.ps-map { position: absolute; right: 10px; bottom: 10px; width: 66px; padding: 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 6px 18px rgba(21, 22, 24, 0.32); }
.ps-map svg { width: 100%; height: auto; }
.ps-view .corner { position: absolute; width: 28px; height: 28px; border: 3px solid var(--white); }
.ps-view .c1 { left: 14px; top: 14px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.ps-view .c2 { right: 14px; top: 14px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.ps-view .c3 { left: 14px; bottom: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.ps-view .c4 { right: 14px; bottom: 14px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.ps-shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 0 18px 12px; }
.ps-shots span { position: relative; aspect-ratio: 1; border-radius: 8px; background: var(--steel-100); display: grid; place-items: center; font-size: 0.68rem; font-weight: 800; color: var(--steel-500); overflow: hidden; }
.ps-shots span picture { position: absolute; inset: 0; }
.ps-shots span.done i { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: #2f8f55; display: grid; place-items: center; }
.ps-shots span.done i svg { width: 10px; height: 10px; fill: #fff; }
.ps-shots span.now { outline: 3px solid var(--red); outline-offset: -3px; background: var(--white); color: var(--red); }
/* the mock's shutter button: icon and words on one centered row, like the site's buttons */
.ps-cta { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 18px 18px; min-height: 46px; padding: 0 16px; border-radius: 12px; background: var(--red); color: var(--white); font-weight: 800; font-stretch: 112%; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; box-shadow: 0 6px 16px rgba(179, 20, 59, 0.3), inset 0 -3px 0 rgba(21, 22, 24, 0.18); }
.ps-cta svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.phone-art .note { position: absolute; right: -18px; top: 18%; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; font-size: 0.82rem; font-weight: 700; max-width: 170px; line-height: 1.3; }
.phone-art .note b { display: block; color: var(--red); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
@media (max-width: 900px) { .how .wrap { grid-template-columns: minmax(0, 1fr); } .phone-art { order: -1; width: min(300px, 82%); } .phone-art .note { right: -10px; } }
@media (max-width: 600px) { .phone-art .note { display: none; } }

/* services */
.services { background: var(--white); }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.services-head .lead { margin: 0; }
.svc-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.svc { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--steel-50); border: 1px solid var(--steel-100); text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.svc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.svc picture { aspect-ratio: 16 / 10; }
.svc-body { padding: 18px 20px 22px; }
.svc h3 { font-size: 1.22rem; text-transform: uppercase; font-stretch: 116%; margin-bottom: 6px; }
.svc p { margin: 0; color: var(--steel-600); font-size: 0.98rem; }
.svc.big { grid-row: span 2; background: var(--ink); color: var(--white); border-color: var(--ink); }
.svc.big picture { aspect-ratio: auto; flex: 1; min-height: 300px; }
.svc.big .svc-body { padding: 24px 26px 28px; }
.svc.big h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.svc.big p { color: var(--steel-300); font-size: 1.05rem; }
.svc .lbl { position: absolute; left: 12px; top: 12px; background: rgba(21, 22, 24, 0.8); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 5px 9px; border-radius: 999px; }
.svc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 34px; padding-top: 10px; border-top: 1px solid var(--steel-100); }
.svc-list div { padding: 18px 0; border-bottom: 1px solid var(--steel-100); }
.svc-list h3 { font-size: 1.02rem; font-stretch: 112%; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.svc-list h3::before { content: ''; width: 10px; height: 10px; background: var(--red); transform: skewX(-14deg); }
.svc-list p { margin: 0; color: var(--steel-600); font-size: 0.96rem; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc.big { grid-column: span 2; grid-row: auto; } .svc.big picture { min-height: 260px; aspect-ratio: 16 / 9; flex: none; } .svc-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc.big { grid-column: auto; } .svc-list { grid-template-columns: 1fr; } }

/* right to choose */
.choose { position: relative; background: var(--red); color: var(--white); overflow: hidden; }
.choose::after { content: ''; position: absolute; right: -8%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 60px solid rgba(255, 255, 255, 0.06); pointer-events: none; }
.choose .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.choose .kicker { color: var(--white); }
.choose h2 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); text-transform: uppercase; font-stretch: 118%; margin-bottom: 20px; }
.choose p { font-size: 1.12rem; color: rgba(255, 255, 255, 0.9); max-width: 36em; }
.choose .law { font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.choose blockquote { margin: 0; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 0 18px 40px rgba(80, 6, 24, 0.35); }
.choose blockquote p { color: var(--ink); font-size: 1.08rem; font-weight: 600; line-height: 1.45; margin: 10px 0 12px; }
.choose cite { font-style: normal; font-size: 0.86rem; color: var(--steel-500); }
@media (max-width: 860px) { .choose .wrap { grid-template-columns: 1fr; } }

/* before and after */
.work .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; background: var(--ink); --pos: 50%; }
.ba picture { position: absolute; inset: 0; }
.ba .after { clip-path: inset(0 0 0 var(--pos)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.ba .knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-dark); display: grid; place-items: center; }
.ba .knob svg { width: 26px; height: 26px; fill: var(--ink); }
.ba input[type='range'] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input[type='range']:focus-visible + .handle .knob { outline: 3px solid var(--red-400); outline-offset: 3px; }
.ba .lbl { position: absolute; top: 14px; padding: 6px 10px; border-radius: 4px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: rgba(21, 22, 24, 0.78); pointer-events: none; }
.ba .lbl.b { left: 14px; }
.ba .lbl.a { right: 14px; background: var(--red); }
.ba .sample { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; background: rgba(255, 255, 255, 0.92); color: var(--ink); pointer-events: none; }

.work-media { display: grid; gap: 12px; }
.work-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.work-thumb { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; text-decoration: none; }
.work-thumb picture { position: absolute; inset: 0; }
.work-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 10px 8px; color: var(--white); font-size: 0.8rem; font-weight: 700; background: linear-gradient(transparent, rgba(21, 22, 24, 0.85)); }
.work-cap { margin: 0 0 22px; padding: 12px 14px; border-left: 4px solid var(--red); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.95rem; color: var(--steel-600); }
.work-cap strong { color: var(--ink); }
.page-head { position: relative; color: var(--white); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px); overflow: hidden; background: #121315; border-bottom: 4px solid var(--red); }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; font-stretch: 118%; line-height: 0.95; margin-bottom: 16px; }
.page-head .lead { color: var(--steel-300); }
.gal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gal-item { background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gal-item .ba { border-radius: 0; box-shadow: none; }
.gal-body { padding: 18px 20px 20px; }
.gal-body h2 { font-size: 1.3rem; text-transform: uppercase; font-stretch: 116%; margin-bottom: 4px; }
.gal-veh { color: var(--steel-500); font-weight: 700; margin: 0 0 8px; }
.gal-cta { margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--ink); color: var(--white); }
.gal-cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-transform: uppercase; font-stretch: 118%; margin-bottom: 8px; }
.gal-cta p { color: var(--steel-300); }
.gal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gal-cta .btn-line { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
@media (max-width: 760px) { .gal-grid { grid-template-columns: 1fr; } }
.floor-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.floor-head h3 { font-size: 1.1rem; text-transform: uppercase; font-stretch: 116%; }
.floor-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 12px; }
.floor-grid figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--steel-200); }
.floor-grid figure:first-child { aspect-ratio: auto; grid-row: span 2; }
.floor-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 0.82rem; font-weight: 700; color: var(--white); background: linear-gradient(transparent, rgba(21, 22, 24, 0.85)); }
@media (max-width: 900px) { .work .wrap { grid-template-columns: 1fr; } .floor-grid { grid-template-columns: 1fr 1fr; } .floor-grid figure:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 9; } }

/* reviews */
.reviews { background: var(--white); }
.rv-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; margin-bottom: 30px; }
.rating { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--steel-50); border: 1px solid var(--steel-100); }
.rating .num { font-size: 3.4rem; font-weight: 900; font-stretch: 125%; line-height: 0.9; }
.rating .stars svg { width: 20px; height: 20px; }
.rating .of { font-size: 0.9rem; color: var(--steel-500); font-weight: 600; margin-top: 4px; }
.chips-wrap { position: relative; margin: 0 calc(var(--gutter) * -1) 26px; }
.chips { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; white-space: nowrap; }
@media (max-width: 1100px) { .chips-wrap::after { content: ''; position: absolute; top: 0; right: 0; bottom: 6px; width: 40px; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--white)); } }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--steel-100); background: var(--white); font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease; }
.chip .ct { font-size: 0.78rem; color: var(--steel-500); font-weight: 800; }
.chip:hover { border-color: var(--steel-300); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed='true'] .ct { color: var(--steel-300); }
.rv-grid { columns: 3 300px; column-gap: 18px; }
.rv { break-inside: avoid; margin: 0 0 18px; padding: 20px 20px 18px; border-radius: var(--radius); border: 1px solid var(--steel-100); background: var(--white); box-shadow: var(--shadow-sm); }
.rv p { margin: 10px 0 14px; line-height: 1.5; }
.rv mark { background: linear-gradient(transparent 55%, rgba(211, 33, 75, 0.22) 55%); color: inherit; padding: 0 1px; }
.rv footer { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.rv .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.86rem; color: var(--white); background: var(--steel-600); flex: none; }
.rv:nth-child(3n + 1) .av { background: var(--red); }
.rv:nth-child(3n + 2) .av { background: var(--ink); }
.rv .src { color: var(--steel-500); display: flex; align-items: center; gap: 5px; }
.rv .src svg { width: 13px; height: 13px; fill: var(--steel-400); }
.rv.big p { font-size: 1.12rem; font-weight: 600; }
.rv[hidden] { display: none; }
.rv-more { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }
.rv-empty { padding: 20px; border: 2px dashed var(--steel-200); border-radius: var(--radius); color: var(--steel-500); }
@media (max-width: 760px) { .rv-head { grid-template-columns: 1fr; } }

/* custom and cash work */
.custom { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.custom .wrap { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(28px, 3.4vw, 48px); align-items: center; }
.custom .h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
/* the narrow text column beside the slider: "and after" stays together, so the size has to fit it (no sideways scroll at 900 to 1100 px) */
@media (min-width: 901px) { .work .h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); } }
/* one clean row per item, each on one line (Roman 10-14: "a little cleaner") */
.custom-list { list-style: none; padding: 0; margin: 26px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.custom-list li { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-weight: 700; font-size: 1.04rem; color: var(--white); }
.custom-list .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(211, 33, 75, 0.16); border: 1px solid rgba(211, 33, 75, 0.55); }
.custom-list svg { width: 15px; height: 15px; fill: var(--red-400); }
.custom-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 460px; }
.custom-photos figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.custom-photos figure picture { position: absolute; inset: 0; }
.custom-photos figure:first-child { grid-row: span 2; }
.custom-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 0.82rem; font-weight: 700; background: linear-gradient(transparent, rgba(21, 22, 24, 0.85)); }
.custom-photos .credit { position: absolute; right: 8px; bottom: 6px; font-size: 0.66rem; color: rgba(255, 255, 255, 0.75); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
/* photos in rows at their own shape, same height across a row (Roman 10-16: "The framing of these
   photos just don't fit well"): each one grows by its width-to-height, the <i class="br"> marks end a row */
.custom-photos.jr { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 12px; row-gap: 6px; min-height: 0; }
.custom-photos.jr figure { flex: var(--ar) 1 0%; aspect-ratio: var(--ar); min-width: 0; }
.custom-photos.jr .br { flex-basis: 100%; height: 0; }
.custom-photos.jr .br-m { display: none; }
@media (max-width: 900px) { .custom .wrap { grid-template-columns: 1fr; } .custom-photos { min-height: 0; grid-template-rows: auto; grid-template-columns: 1fr 1fr; } .custom-photos figure { aspect-ratio: 4 / 3; } .custom-photos figure:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 9; } }
@media (max-width: 900px) { .custom-photos.jr figure, .custom-photos.jr figure:first-child { aspect-ratio: var(--ar); } .custom-photos.jr .br-m { display: block; } .custom-photos.jr .br-d { display: none; } }


/* about */
/* photos and words side by side at the same height (the big photo stretches to
   match the words), the three reviews as one row of cards under both (Roman 10-14) */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.about-media { display: flex; flex-direction: column; gap: 12px; }
.about-main { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; flex: 1 1 auto; min-height: 280px; background: var(--steel-200); }
.about-main picture { position: absolute; inset: 0; }
.about-photos { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--steel-200); }
.about-photos figure picture { position: absolute; inset: 0; }
.about-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: var(--white); font-size: 0.84rem; font-weight: 700; background: linear-gradient(transparent, rgba(21, 22, 24, 0.85)); }
.about-text { align-self: center; }
.about h2 { margin-bottom: 6px; }
.about-sub { font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.86rem; margin-bottom: 22px; }
.about p { color: var(--steel-700); font-size: 1.1rem; max-width: 36em; }
.about-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.aq { margin: 0; background: var(--white); border: 1px solid var(--steel-100); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); }
.aq .stars svg { width: 16px; height: 16px; }
.aq p { margin: 0; flex: 1; font-size: 1.06rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.aq cite { font-style: normal; font-size: 0.86rem; color: var(--steel-500); display: flex; align-items: center; gap: 6px; }
.aq cite svg { width: 14px; height: 14px; }
.pull { margin: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); }
.pull p { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.pull cite { font-style: normal; font-size: 0.88rem; color: var(--steel-500); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { order: 2; }
  .about-main { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .about-quotes { grid-template-columns: minmax(0, 1fr); }
}

/* faq */
.faq { background: var(--white); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.faq details { border-top: 1px solid var(--steel-200); }
.faq details:last-child { border-bottom: 1px solid var(--steel-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 800; font-stretch: 108%; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.18s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { margin: 0 0 20px; color: var(--steel-600); max-width: 40em; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } }

/* visit */
/* heading across the top, then the card and the photo + map side by side,
   level at the top and the bottom (Roman 10-16: "the visit page boxes look a little weird because they're offset") */
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; margin-top: 26px; }
.visit-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--steel-100); padding: 26px; box-shadow: var(--shadow-sm); }
.visit-card h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--steel-500); margin: 22px 0 8px; font-stretch: 112%; }
.visit-card h3:first-child { margin-top: 0; }
.visit-card address { font-style: normal; font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.visit-card .tel { font-size: 1.5rem; font-weight: 900; font-stretch: 116%; text-decoration: none; }
.visit-card .tel:hover { color: var(--red); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--steel-100); font-weight: 600; }
.hours th { font-weight: 700; }
.hours td { text-align: right; color: var(--steel-600); }
.hours tr.today th, .hours tr.today td { color: var(--red); font-weight: 800; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.visit-actions .btn { flex: 1 1 auto; justify-content: center; }
.visit-media { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.visit-media .map { aspect-ratio: auto; min-height: 220px; } /* photo and map share the card's height */
.visit-media picture { border-radius: var(--radius); overflow: hidden; min-height: 240px; position: relative; }
.visit-media picture img { position: absolute; inset: 0; } /* the card sets the height; the photo fills what the map leaves */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--steel-100); aspect-ratio: 16 / 9; background: var(--steel-100); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .map-load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; gap: 10px; padding: 20px; background: repeating-linear-gradient(45deg, var(--steel-100) 0 12px, var(--steel-50) 12px 24px); }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .visit-media { grid-template-rows: auto auto; } .visit-media picture { aspect-ratio: 3 / 2; min-height: 0; } .visit-media .map { aspect-ratio: 16 / 9; min-height: 0; } }

/* footer */
.site-footer { background: var(--ink); color: var(--steel-300); padding: 40px 0 96px; font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(200px, 1fr) auto auto auto; gap: 24px clamp(24px, 4vw, 56px); align-items: start; }
.site-footer { --logo-w: 190px; }
.site-footer .logo svg { width: var(--logo-w); height: auto; }
.site-footer h3 { color: var(--white); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px; font-stretch: 112%; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { text-decoration: none; color: var(--steel-200); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
/* the two buttons sit beside the logo, not on a row of their own (Roman 10-16: "shift the facebook and google buttons over in the footer to make it more space efficient"); they drop under it only when the column is too narrow */
.site-footer .f-brand { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px 22px; }
/* level with the bottom of COLLISION CENTER (Roman 10-16: "push the buttons down to align with the bottom of the logo"): the logo file keeps 40 of its 1080 units clear under the letters */
.site-footer .social { display: flex; gap: 8px; margin-bottom: calc(var(--logo-w) * 40 / 1080); }
.site-footer .social a { width: 36px; height: 36px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; }
.site-footer .social svg { width: 18px; height: 18px; fill: var(--white); }
.site-footer .fine { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-top: 18px; border-top: 1px solid var(--ink-3); font-size: 0.84rem; color: var(--steel-400); }
.fine-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (min-width: 900px) { .site-footer { padding-bottom: 32px; } }
/* 900 to 1080 px: a smaller logo and tighter columns keep the buttons beside it there too */
@media (min-width: 901px) and (max-width: 1080px) { .site-footer .wrap { grid-template-columns: 246px repeat(3, auto); column-gap: 28px; justify-content: space-between; } .site-footer { --logo-w: 150px; } .site-footer .f-brand { column-gap: 16px; } .site-footer .nowrap { white-space: normal; } }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .f-brand { grid-column: 1 / -1; justify-content: space-between; } }
@media (max-width: 480px) { .site-footer .wrap { grid-template-columns: 1fr; } .site-footer .nowrap { white-space: normal; overflow-wrap: anywhere; } }

/* announcement bar from the admin */
.notice { background: var(--red); color: var(--white); text-align: center; font-weight: 700; padding: 9px var(--gutter); font-size: 0.95rem; }

/* privacy and other text pages */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.2rem; margin: 32px 0 10px; }

/* mobile action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--steel-100); box-shadow: 0 -8px 24px rgba(21, 22, 24, 0.08); }
.mbar .btn { flex: 1; min-height: 50px; padding: 0 10px; font-size: 0.9rem; }
.mbar .btn:first-child { flex: 0.72; }
.mbar .btn:last-child { flex: 1.28; }
@media (max-width: 899px) { .mbar { display: flex; } body { padding-bottom: 74px; } }

/* load-in motion */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .rise.in { opacity: 1; transform: none; }
}

/* ---------- photo estimate page ---------- */
.est-page .mbar { display: none; }
.est-page { padding-bottom: 0 !important; background: var(--steel-50); }
.est { padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.est-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.est-form, .done { background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.est-top h1, .done h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); text-transform: uppercase; font-stretch: 118%; margin-bottom: 12px; }
.est-top .lead { margin-bottom: 26px; }
.est-progress { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: s; }
.est-progress li { position: relative; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--steel-400); padding-top: 12px; border-top: 4px solid var(--steel-100); }
.est-progress li span { display: none; }
.est-progress li.past { color: var(--steel-600); border-top-color: var(--ink); }
.est-progress li.on { color: var(--red); border-top-color: var(--red); }
.est-progress li.skip { opacity: 0.45; text-decoration: line-through; }
@media (max-width: 560px) { .est-progress li { font-size: 0.66rem; letter-spacing: 0; } }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { padding: 0; margin-bottom: 18px; font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 900; font-stretch: 112%; line-height: 1.1; }
.step legend:focus { outline: none; }
.step-n { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.step-intro { margin-top: -6px; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type { position: relative; display: block; cursor: pointer; }
.type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type-box { display: block; height: 100%; padding: 16px 18px 16px 50px; border: 2px solid var(--steel-200); border-radius: var(--radius-sm); transition: border-color 0.15s ease, background-color 0.15s ease; position: relative; }
.type-box::before { content: ''; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--steel-300); background: var(--white); transition: all 0.15s ease; }
.type-box strong { display: block; font-size: 1.05rem; font-stretch: 108%; line-height: 1.2; }
.type-box small { display: block; color: var(--steel-500); font-size: 0.9rem; margin-top: 4px; line-height: 1.35; }
.type:hover .type-box { border-color: var(--steel-400); }
.type input:checked + .type-box { border-color: var(--red); background: var(--red-50); }
.type input:checked + .type-box::before { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 4px var(--white); }
.type input:focus-visible + .type-box { outline: 3px solid var(--red-400); outline-offset: 2px; }
.type.small .type-box { padding-top: 14px; padding-bottom: 14px; }
.type.small .type-box::before { top: 15px; }
@media (max-width: 560px) { .type-grid, .ins-grid { grid-template-columns: 1fr; } }

.dmg-wrap { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--steel-100); }
.dmg-head h2 { font-size: 1.3rem; font-stretch: 112%; margin-bottom: 4px; }
.dmg-layout { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 14px; }
.dmg { width: 100%; height: auto; touch-action: manipulation; }
.dmg .body { fill: var(--steel-50); stroke: var(--steel-400); stroke-width: 2; }
.dmg .glass { fill: var(--steel-200); }
.dmg .tire { fill: var(--ink-3); }
.dmg .axis { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; fill: var(--steel-400); font-family: var(--font); }
.dmg .part { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dmg .part path { fill: var(--white); stroke: var(--steel-400); stroke-width: 1.6; transition: fill 0.15s ease; }
.dmg .part text { font-size: 11px; font-weight: 800; fill: var(--steel-600); pointer-events: none; font-family: var(--font); }
.dmg .part:hover path { fill: var(--red-50); }
.dmg .part.on path { fill: var(--red); stroke: var(--red-700); }
.dmg .part.on text { fill: var(--white); }
.dmg .part:focus { outline: none; }
.dmg .part:focus-visible path { stroke: var(--ink); stroke-width: 3.5; }
.dmg-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 8px; }
.picked { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.picked .none { color: var(--steel-400); font-weight: 600; }
.picked button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); font-weight: 700; font-size: 0.88rem; cursor: pointer; }
.picked button span { color: var(--steel-300); font-size: 1.1rem; line-height: 1; }
@media (max-width: 640px) { .dmg-layout { grid-template-columns: 1fr; } .dmg { max-width: 300px; margin: 0 auto; } }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 600; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.field { display: block; margin-bottom: 18px; }
.field > span, .field-label { display: block; font-weight: 800; font-size: 0.95rem; margin-bottom: 8px; }
.field em { font-style: normal; font-weight: 600; color: var(--steel-400); font-size: 0.85rem; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--steel-200); border-radius: var(--radius-sm); background: var(--white); font-size: 1.05rem; transition: border-color 0.15s ease; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(179, 20, 59, 0.12); }
.field.narrow { max-width: 280px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row3 { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } .field.narrow { max-width: none; } }
.seg { display: inline-flex; border: 2px solid var(--steel-200); border-radius: var(--radius-sm); overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; min-width: 92px; text-align: center; padding: 12px 16px; font-weight: 800; border-left: 2px solid var(--steel-200); cursor: pointer; }
.seg label:first-child span { border-left: 0; }
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--red-400); outline-offset: -3px; }
.hint-box { margin: 6px 0 18px; padding: 12px 14px; border-left: 4px solid var(--red); background: var(--steel-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.95rem; color: var(--steel-700); }

.shots { display: grid; gap: 12px; margin: 10px 0 18px; }
.shot { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px; border: 2px solid var(--steel-100); border-radius: var(--radius); transition: border-color 0.15s ease; }
.shot.has { border-color: var(--ink); }
.shot.busy { opacity: 0.6; }
.shot-art { position: relative; background: var(--steel-50); border-radius: var(--radius-sm); display: grid; place-items: center; padding: 6px; align-self: start; }
.shot-art svg { width: 100%; height: auto; }
.shot-n { position: absolute; left: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 0.78rem; font-weight: 900; display: grid; place-items: center; }
.shot.has .shot-n { background: #2f8f55; }
.shot h3 { font-size: 1.08rem; font-stretch: 108%; margin-bottom: 4px; }
.shot h3 em { font-style: normal; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-left: 6px; }
.shot p { margin: 0 0 10px; color: var(--steel-600); font-size: 0.95rem; }
.shot-btn { position: relative; min-height: 46px; font-size: 0.86rem; overflow: hidden; }
.shot-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.shot-btn:focus-within { outline: 3px solid var(--red-400); outline-offset: 3px; }
.shot-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.shot-thumbs:empty { display: none; }
.thumb { position: relative; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--steel-100); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .rm { position: absolute; right: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(21, 22, 24, 0.82); color: var(--white); font-size: 1.1rem; line-height: 1; cursor: pointer; }
@media (max-width: 480px) { .shot { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; } }
.skip-photos { margin-top: 6px; }

.err { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--red-50); color: var(--red-700); font-weight: 700; }
.est-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--steel-100); }
.est-nav [data-next], .est-nav [data-send] { margin-left: auto; }
.est-nav .btn[disabled] { opacity: 0.55; pointer-events: none; }
@media (max-width: 640px) {
  .est-nav { position: sticky; bottom: 0; z-index: 5; margin: 26px -20px -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 -8px 20px rgba(21, 22, 24, 0.06); }
  .est-nav .btn { flex: 1; }
}
.sending { margin-top: 18px; }
.sending .bar { height: 8px; border-radius: 4px; background: var(--steel-100); overflow: hidden; }
.sending .bar i { display: block; height: 100%; width: 4%; background: var(--red); transition: width 0.2s ease; }
.sending p { margin: 8px 0 0; font-weight: 700; color: var(--steel-600); }
.send-err { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--red-50); color: var(--red-700); }
.send-err a { font-weight: 800; }
.summary:not(:empty) { margin: 8px 0 16px; padding: 16px 18px; border-radius: var(--radius); background: var(--steel-50); border: 1px solid var(--steel-100); }
.summary h3 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 8px; }
.summary dl { margin: 0; display: grid; gap: 8px; }
.summary dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; }
.summary dt { font-weight: 800; }
.summary dd { margin: 0; color: var(--steel-700); }
.summary .edit { border: 0; background: none; color: var(--red); font-weight: 800; cursor: pointer; padding: 0 0 0 6px; text-decoration: underline; }
@media (max-width: 480px) { .summary dl div { grid-template-columns: 1fr; gap: 0; } }
.consent { font-size: 0.86rem; color: var(--steel-500); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: left; }
.done:focus { outline: none; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: #2f8f55; display: grid; place-items: center; margin-bottom: 18px; }
.done-mark svg { width: 36px; height: 36px; fill: var(--white); }
.done-next { margin: 26px 0; padding: 20px 22px; border-radius: var(--radius); background: var(--steel-50); }
.done-next h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.done-next ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.preview-only { padding: 12px 14px; border-radius: var(--radius-sm); background: #fff7d6; color: #5a4300; font-size: 0.92rem; }

.est-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.aside-card { margin: 0; background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius); padding: 20px; }
.aside-card h2 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 8px; }
.tel { white-space: nowrap; }
.aside-card .tel { display: block; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 900; font-stretch: 116%; text-decoration: none; margin-bottom: 8px; }
.aside-card .tel:hover { color: var(--red); }
.aside-card p { margin: 0 0 6px; }
.aside-card .status { font-size: 0.92rem; font-weight: 700; }
.aside-card.quote blockquote { margin: 8px 0; }
.aside-card.quote p { font-weight: 600; line-height: 1.45; }
.aside-card.quote figcaption { font-size: 0.86rem; color: var(--steel-500); }
@media (max-width: 960px) { .est-wrap { grid-template-columns: minmax(0, 1fr); } .est-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* estimator: corner shots with an example photo, the hidden damage note */
.shot-count { font-weight: 800; color: var(--steel-600); margin: 4px 0 0; }
.shot-art.photo { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.shot-art.photo img { width: 100%; height: 100%; object-fit: cover; }
.shot-map { position: absolute; right: 4px; bottom: 4px; width: 34px; padding: 2px; border-radius: 6px; background: rgba(255, 255, 255, 0.95); }
.shot-map svg { width: 100%; height: auto; display: block; }
.shot h3 em.tag { color: var(--steel-500); display: block; margin: 3px 0 0; }
.disclaimer { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--steel-50); border: 1px solid var(--steel-200); font-size: 0.95rem; color: var(--steel-700); }
.disclaimer strong { display: block; margin-bottom: 4px; color: var(--ink); }
.disclaimer p { margin: 0; }
@media (max-width: 480px) { .shot-art.photo { aspect-ratio: 1; } }

/* spacing under section headings */
.h2 + .lead, .h2 + p, .about-sub + p { margin-top: 18px; }
.custom .lead { margin-bottom: 0; }
@media (max-width: 480px) { .shot { grid-template-columns: 108px minmax(0, 1fr); } .shot-map { width: 28px; } }
/* phones: example photo and words side by side, the photo button full width under them */
@media (max-width: 480px) {
  .shot { grid-template-areas: "art title" "art hint" "thumbs thumbs" "btn btn"; grid-template-rows: auto 1fr; row-gap: 4px; align-items: start; }
  .shot-body { display: contents; }
  .shot-art { grid-area: art; }
  .shot-body h3 { grid-area: title; }
  .shot-body p { grid-area: hint; margin: 0; font-size: 0.9rem; }
  .shot-thumbs { grid-area: thumbs; margin: 8px 0 0; }
  .shot-btn { grid-area: btn; width: 100%; margin-top: 10px; }
}
