:root {
  --ink: #1A1816;
  --ink-soft: #4A4640;
  --ink-faint: #6B6459;
  --ground: #FFFFFF;
  --surface: #FAF8F4;
  --surface-2: #E2DED4;
  --line: #D3CEC2;
  --line-strong: #B8B0A0;
  --accent-ink: #FDF6F2;
  --accent-on-dark: #E8A33A;
  --gold: #B81F26;
  --gold-deep: #7A1015;
  --gold-soft: #F3DED9;
  --hero-glow: rgba(184,31,38,.30);
  --hero-glow-2: rgba(184,31,38,.13);
  --night: #1A1816;
  --night-2: #2A2723;
  --green: #17693C;
  --green-soft: #DDF0E4;
  --amber: #8A5300;
  --amber-soft: #FBEBD2;
  --shadow: 0 1px 2px rgba(23,21,15,.07), 0 14px 36px rgba(23,21,15,.10);
  --shadow-lg: 0 2px 6px rgba(23,21,15,.08), 0 28px 70px rgba(23,21,15,.16);
  --display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.page { max-width: 1120px; margin: 0 auto; padding: 0 26px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--night); color: var(--accent-on-dark); padding: 12px 20px; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 8px; top: 8px; }

/* ribbon */
.preview-ribbon { background: var(--night-2); color: #CFC9B8; font-size: 11.5px; letter-spacing: .02em; text-align: center; padding: 7px 16px; }
.preview-ribbon strong { color: var(--accent-on-dark); font-weight: 600; }
.ribbon-claim { color: var(--accent-ink); background: var(--gold); font-weight: 700; text-decoration: none; padding: 3px 10px; border-radius: 3px; margin-left: 8px; display: inline-block; }
.ribbon-claim:hover { background: #FFC629; }

/* nav */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; flex-wrap: wrap; position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--ground) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease, padding .25s ease; }
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(23,21,15,.07); padding: 10px 0; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -.03em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: font-size .25s ease; }
.wordmark i { font-style: normal; color: var(--gold-deep); }
.topbar.scrolled .wordmark { font-size: 20px; }
/* height + width:auto lets a very wide mark run away: Gene Barton's is
   640x47, i.e. 13.6:1, which rendered 599px wide and swallowed the header.
   max-width clamps it; object-fit:contain is what makes the clamp SCALE the
   mark instead of squashing it, since width:auto+max-width alone would keep
   height at 44 and distort. Only 1 of 36 logos needs this, but a future one
   will too. */
.wordmark-img { display: block; height: 44px; width: auto; max-width: 250px;
  object-fit: contain; object-position: left center; transition: height .25s ease; }
.topbar.scrolled .wordmark-img { height: 36px; }
.site-footer .wordmark-img { height: 48px; max-width: 280px; }
@media (max-width: 620px) { .wordmark-img { height: 34px; } .site-footer .wordmark-img { height: 40px; } }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 13.5px; font-weight: 600; letter-spacing: .01em; text-decoration: none; color: var(--ink-soft); padding: 4px 1px; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--gold-deep); border-color: var(--gold); }
.topbar-call { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--accent-ink); background: var(--gold); border: 1px solid #DCA000; padding: 9px 16px; border-radius: 4px; white-space: nowrap; transition: background .15s ease, transform .15s ease; }
.topbar-call:hover { background: #FFC629; transform: translateY(-1px); }
@media (max-width: 760px) { .nav-links { gap: 15px; order: 3; width: 100%; justify-content: center; padding-top: 11px; border-top: 1px solid var(--line); font-size: 13px; } .wordmark { font-size: 20px; } }

/* status badge */
.status-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.status-badge.open { background: var(--green-soft); color: var(--green); }
.status-badge.closed { background: var(--amber-soft); color: var(--amber); }
.status-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.status-badge.open .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: .55; animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* hero */
.hero { background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%); color: #F3EFE3; padding: 74px 0 82px; position: relative; overflow: hidden; }
/* The accent glow is the whole point of the change: the palette is sampled from
   the business's own signage and was previously used everywhere EXCEPT the
   largest element on the page. Two soft radials, no image, no extra request. */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(1050px 520px at 76% 6%, var(--hero-glow) 0%, transparent 62%), radial-gradient(720px 420px at 4% 96%, var(--hero-glow-2) 0%, transparent 58%); }
.hero::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -1px; height: 60px; background: var(--ground); border-radius: 100% 100% 0 0 / 100% 100% 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: 22px; padding: 7px 14px 7px 12px; border: 1px solid var(--hero-glow); border-radius: 999px; background: rgba(255,255,255,.04); }
.eyebrow svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(35px, 5.4vw, 57px); font-weight: 800; color: #FFFFFF; }
/* --gold is the business's raw accent, sampled from their photo or logo, and
   it is often dark -- 129 AutoBody's is #281808. The hero sits on --night,
   so the raw accent put the LARGEST text on the page at 1.01:1 on 400 of
   460 sites. --gold-on-dark is the same colour lifted until it clears 4.6:1
   against the dark band; the palette has always computed it, the headline
   just never used it. */
.hero h1 em { font-style: normal; color: var(--accent-on-dark); }
.hero-sub { font-size: 18px; color: #D3CDBC; margin: 20px 0 0; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--body); font-size: 15.5px; font-weight: 700; text-decoration: none; padding: 15px 26px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--gold); color: var(--accent-ink); border-color: #DCA000; box-shadow: 0 6px 20px rgba(245,179,1,.28); }
.btn-primary:hover { background: #FFC629; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.06); color: #F3EFE3; border-color: rgba(255,255,255,.26); }
.btn-ghost:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.btn-dark { background: var(--night); color: #F7F3E7; }
.btn-dark:hover { background: #2B281D; transform: translateY(-2px); }
.hero-rating { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: #CFC8B4; }
.stars { color: var(--accent-on-dark); letter-spacing: 2px; font-size: 16px; }
.hero-card { margin: 0; background: var(--surface); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-card img { display: block; width: 100%; height: auto; }
.hero-card figcaption { padding: 13px 17px; font-size: 12.5px; color: var(--ink-faint); background: var(--surface); border-top: 1px solid var(--line); }
.hero-card figcaption strong { color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 52px 0 62px; } }

/* stat band */
/* The band was flat white, which read as a stark strip between the hero and
   the page. It now carries the SAME tint the hero does -- `--hero-glow-2` is
   the business's own accent at 13%, the exact token behind the hero's warm
   cast -- laid over the page ground, so the two match by construction rather
   than by a hand-picked colour that would drift per palette. */
.stat-band { background-color: var(--ground);
  /* Same token the hero's foot fades through -- `--accent-on-dark` is the
     business's accent lightened for dark grounds, and the hero curve runs
     82% -> 34% -> 0% of it into --ground. 12% keeps the band clearly the same
     family as that gold without competing with it. First declaration is the
     fallback for engines without color-mix; they simply get --ground. */
  background-color: color-mix(in srgb, var(--accent-on-dark) 12%, var(--ground));
  border-bottom: 1px solid var(--line); }
.stat-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 30px 0; }
.stat-row > .stat { flex: 1 1 0; }
.stat { text-align: center; padding: 4px 10px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { display: block; font-family: var(--display); font-size: 33px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.05; }
.stat .n small { font-size: 19px; font-weight: 700; }
.stat .l { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); margin-top: 7px; }
@media (max-width: 720px) { .stat-row { gap: 22px 8px; justify-content: center; } .stat-row > .stat { flex: 0 1 calc(50% - 4px); } .stat:nth-child(2) { border-right: 0; } .stat .n { font-size: 27px; } }

/* sections */
section { position: relative; }
.sec { padding: 74px 0; }
.sec-tight { padding: 54px 0; }
.sec-head { max-width: 44em; margin-bottom: 40px; }
.sec-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 13px; }
.sec-head h2 { font-size: clamp(27px, 3.5vw, 38px); }
.sec-head p { color: var(--ink-soft); font-size: 17px; margin: 15px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* service cards */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 44px; }
.svc-grid > .svc { flex: 0 1 calc(33.333% - 13.34px); }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
/* Picture on top, text beneath. The card is ~380px wide in a 3-up grid, so a
   side-by-side split like the reference site would leave two cramped columns;
   stacking keeps both the image and the copy readable at that width. */
.svc-img { height: 210px; background: var(--surface-2); flex: none; }
@media (max-width: 900px) { .svc-img { height: 190px; } }
.svc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-img-mark { display: flex; align-items: center; justify-content: center; color: var(--gold-deep); }
.svc-img-mark svg { width: 34px; height: 34px; }
.svc-body { padding: 22px 24px 26px; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.svc h3 { font-size: 18px; margin-bottom: 9px; }
.svc-body h3 { margin-top: 0; }
.svc p { margin: 0; font-size: 14.6px; color: var(--ink-soft); line-height: 1.62; }
@media (max-width: 900px) { .svc-grid > .svc { flex-basis: calc(50% - 10px); } }
@media (max-width: 620px) { .svc-grid > .svc { flex-basis: 100%; } }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 26px 22px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.is-popular { border: 2px solid var(--gold); position: relative; box-shadow: var(--shadow); }
.pop-flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--accent-ink); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 19px; }
.price-card .amt { font-family: var(--display); font-size: 38px; font-weight: 800; letter-spacing: -.035em; margin: 12px 0 4px; }
.price-card .per { font-size: 13.5px; color: var(--ink-faint); margin: 0 0 16px; }
.price-card ul { list-style: none; margin: 0 0 20px; padding: 0; font-size: 14.2px; color: var(--ink-soft); }
.price-card li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.price-card .btn { margin-top: auto; width: 100%; }
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }
.price-note { font-size: 13.5px; color: var(--ink-faint); margin-top: 22px; }

/* reviews */
.rev-band { background: var(--night); color: #EFEADC; }
.rev-band .sec-tag { color: var(--gold); }
.rev-band h2 { color: #FFFFFF; }
.rev-band .sec-head p { color: #C6BFAC; }
.pull { font-family: var(--display); font-size: clamp(21px, 2.9vw, 31px); font-weight: 600; line-height: 1.36; letter-spacing: -.02em; color: #FFFFFF; max-width: 20em; margin: 0 0 12px; }
.pull-by { font-size: 13.5px; color: var(--gold); font-weight: 600; }
.rev-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 44px; }
.rev-grid > .rev { flex: 0 1 calc(33.333% - 12px); }
.rev { background: var(--surface); color: var(--ink); border-radius: 9px; padding: 22px 21px; border-left: 3px solid var(--gold); }
.rev-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.rev-av { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex: none; }
.rev-who { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.rev-when { font-size: 12.5px; color: var(--ink-faint); }
.rev-stars { color: var(--gold); font-size: 13px; letter-spacing: 1.5px; margin-bottom: 8px; }
.rev p { margin: 0; font-size: 14.4px; color: var(--ink-soft); }
.google-g { width: 15px; height: 15px; margin-left: auto; flex: none; }
.rev-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 30px; color: var(--gold); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.rev-more:hover { text-decoration: underline; }
@media (max-width: 900px) { .rev-grid > .rev { flex-basis: 100%; } }

/* split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: 9px; display: block; width: 100%; height: auto; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(25px, 3.2vw, 34px); }
.split p { color: var(--ink-soft); font-size: 16.4px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15.6px; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--gold-deep); border-bottom: 2.5px solid var(--gold-deep); transform: rotate(-45deg); }
.check-list strong { color: var(--ink); }

/* award */
.award-row { display: grid; grid-template-columns: 200px 1fr; gap: 34px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px 30px; }
.award-row img { width: 100%; height: auto; border-radius: 6px; display: block; }
.award-row h3 { font-size: 21px; margin-bottom: 10px; }
.award-row p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.award-src { display: block; margin-top: 12px; font-size: 12.5px; color: var(--ink-faint); }
@media (max-width: 700px) { .award-row { grid-template-columns: 1fr; gap: 20px; text-align: center; } .award-row img { max-width: 190px; margin: 0 auto; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding-top: 16px; }
.step-n { font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--accent-ink); background: var(--gold); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 14.6px; color: var(--ink-soft); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

/* hours */
.hours-card { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours-row:last-child { border-bottom: 0; }
.hours-row.today { background: var(--gold-soft); font-weight: 700; }
.hours-row .d { color: var(--ink-soft); }
.hours-row.today .d { color: var(--ink); }

/* info cards */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 24px 22px; }
.info h3 { font-size: 16.5px; margin-bottom: 9px; }
.info p, .info address { margin: 0; font-size: 14.8px; color: var(--ink-soft); font-style: normal; line-height: 1.65; }
.info a { color: var(--gold-deep); font-weight: 600; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* form */
.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 32px 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; font-family: var(--body); font-size: 15.5px; color: var(--ink); background: var(--ground); border: 1px solid var(--line-strong); border-radius: 5px; padding: 12px 13px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-deep); background: var(--surface); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.4px; color: var(--ink-soft); margin-bottom: 20px; }
.consent input { width: 17px; height: 17px; margin-top: 2px; flex: none; }
.consent a { color: var(--gold-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; padding: 13px 15px; border-radius: 5px; font-size: 14.5px; display: none; }
.form-msg.ok { display: block; background: var(--green-soft); color: var(--green); }
.form-msg.err { display: block; background: var(--amber-soft); color: var(--amber); }
.btn-spinner { width: 15px; height: 15px; border: 2px solid rgba(0,0,0,.25); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading .btn-spinner { display: inline-block; }

/* claim banner */
.claim-band { background: linear-gradient(135deg, #23211A, #35301C); color: #F3EFE3; border-radius: 12px; padding: 40px 40px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.claim-band h2 { color: #FFFFFF; font-size: clamp(23px, 3vw, 31px); }
.claim-band p { color: #CBC4B1; margin: 12px 0 0; font-size: 16px; max-width: 40em; }
@media (max-width: 800px) { .claim-band { grid-template-columns: 1fr; padding: 30px 26px; } }

/* gallery */
.gal { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.gal > figure { flex: 0 1 calc(50% - 8px); max-width: 560px; }
.gal figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; }
.gal img { display: block; width: 100%; height: 300px; flex: 1 1 auto; min-height: 0; object-fit: cover; object-position: center; }
.gal figcaption { flex: none; padding: 11px 15px; font-size: 12.6px; color: var(--ink-faint); }
@media (max-width: 820px) { .gal > figure { flex-basis: 100%; } .gal img { height: auto; } }

/* faq */
.faq { max-width: 46em; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 17px 20px; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 21px; color: var(--gold-deep); font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--ink-soft); font-size: 15.2px; }

/* prose */
.prose { max-width: 44em; }
.prose h2 { font-size: 23px; margin: 34px 0 12px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 15.8px; }
.prose ul { padding-left: 22px; }

/* footer */
.site-footer { background: var(--night); color: #F1F1EE; padding: 54px 0 0; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 38px; }
.site-footer .wordmark { color: #FFFFFF; }
.site-footer .wordmark i { color: var(--accent-on-dark); }
.footer-brand p { font-size: 14.2px; margin: 14px 0 0; color: #D9D9D4; max-width: 26em; }
.footer-tag { font-family: var(--display); font-size: 13px; color: var(--accent-on-dark); font-weight: 600; margin-top: 12px; display: block; }
.footer-col h4 { font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a, .footer-col address a { color: #F1F1EE; text-decoration: none; font-size: 14.2px; }
.footer-col a:hover { color: var(--accent-on-dark); }
.footer-col address { font-style: normal; font-size: 14.2px; line-height: 1.7; color: #D9D9D4; }
.footer-bottom { border-top: 1px solid #302C22; padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12.4px; color: #8F8877; }
.footer-bottom a { color: #E4E4E0; text-decoration: none; margin-left: 16px; }
.footer-bottom a:hover { color: var(--accent-on-dark); }
@media (max-width: 880px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } .footer-bottom a { margin: 0 16px 0 0; } }

/* mobile call bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1px; position: fixed; left: 0; right: 0; bottom: 0; background: var(--line-strong); z-index: 90; box-shadow: 0 -4px 20px rgba(23,21,15,.16); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 4px calc(9px + env(safe-area-inset-bottom)); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 11.5px; font-weight: 700; }
  .mobile-bar a.primary { background: var(--gold); color: var(--accent-ink); }
  .mobile-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 62px; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* -------- footer social row -------- */
.footer-social { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.site-footer .footer-social .social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; margin: 0 -2px;
  color: #CBC3B0; text-decoration: none; border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.site-footer .footer-social .social-link svg { width: 20px; height: 20px; display: block; }
.site-footer .footer-social .social-link:hover {
  color: var(--accent-on-dark); background: rgba(255,255,255,.07);
}

/* -------- portrait hero: cap the card so it cannot dwarf the headline -------- */
@media (min-width: 901px) {
  .hero-card.is-portrait img { max-height: 460px; width: auto; margin: 0 auto; }
  .hero-card.is-portrait { display: flex; justify-content: center; }
}

/* -------- visit grid with no hours column -------- */
.visit-grid.one-col { grid-template-columns: 1fr; }

/* -------- hero brand mark: shown when a business has no usable photograph -------- */
.hero-card.hero-mark {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 54px 34px; text-align: center; min-height: 260px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
}
.hero-mark .mark-word {
  font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08; letter-spacing: -.015em; color: var(--ink);
}
.hero-mark .mark-word i { font-style: normal; color: var(--gold-deep); }
.hero-mark .mark-sub {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}
@media (max-width: 900px) { .hero-card.hero-mark { min-height: 200px; padding: 40px 26px; } }

/* ---- credentials, coverage, financing ----
   Third-party-issued proof: a licence number, a manufacturer programme, a
   named service area. Every one of these is checkable by the reader, which is
   what separates them from a star rating. Nothing renders unless the record
   actually carries the fact -- there is no placeholder state on purpose. */
.cred-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px 30px; }
.cred-item { display: flex; flex-direction: column; gap: 3px; }
.cred-k { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); }
.cred-v { font-size: 16px; font-weight: 650; line-height: 1.35; }
.cred-v .num { font-variant-numeric: tabular-nums; }
.cred-note { font-size: 12.5px; color: var(--ink-faint); }
.area-line { margin: 0; font-size: 15px; line-height: 1.6; }
.area-line b { font-weight: 650; }
.fin-note { margin: 18px 0 0; padding: 14px 16px; border-radius: 8px; background: var(--ground); border: 1px solid var(--line); font-size: 14.5px; }
.footer-licence { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-faint); }
@media (max-width: 620px) { .cred-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (max-width: 400px) { .cred-grid { grid-template-columns: 1fr; } }

/* ---- symptom-first navigation ----
   Organised by what the visitor has WRONG, not by what the business sells.
   Every button resolves to one of this business's own service anchors; a
   symptom with no matching service is never rendered. */
.symp { padding: 40px 0 8px; }
/* Only desktop. On a phone the stat band stacks to two columns with its own
   22px row gap, so the rhythm already reads -- widening it there would just
   push the stats below the fold. */
@media (min-width: 721px) { .symp { padding: 40px 0 36px; } }
.symp-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.symp-btn { flex: 0 1 calc(25% - 9px); min-width: 240px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; line-height: 1.35; transition: border-color .15s, transform .15s; }
.symp-btn:hover, .symp-btn:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.symp-btn span { flex: 1; }
.symp-btn svg { flex: none; width: 17px; height: 17px; color: var(--gold); }
@media (max-width: 480px) { .symp-btn { flex-basis: 100%; } }

/* ---- round-the-clock availability ----
   Only rendered for businesses whose own listing says they are 24/7. For a
   burst pipe or a breakdown this is the only fact on the page that matters,
   and it was previously buried as one card in a service grid. */
.emerg { background: var(--gold); color: var(--accent-ink); padding: 22px 0; }
.emerg-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.emerg-t { font-size: 19px; font-weight: 750; letter-spacing: -.01em; margin: 0; }
.emerg-s { font-size: 14.5px; opacity: .92; margin: 3px 0 0; }
.emerg .btn { background: var(--accent-ink); color: var(--gold); border-color: var(--accent-ink); }
@media (max-width: 560px) { .emerg-in { flex-direction: column; align-items: flex-start; } }


/* ---- Tier 1 hero + footer polish ----
   CSS only: no new images, no extra requests, nothing to licence. Everything
   here is driven by the per-business palette that was already being sampled. */
.hero-cta .btn-primary { box-shadow: 0 10px 30px var(--hero-glow); }
.hero-cta .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px var(--hero-glow); }
.hero-cta .btn-ghost { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: #F3EFE3; }
.hero-cta .btn-ghost:hover { border-color: var(--gold); }
.hero-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--hero-glow); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.hero-card img { border-radius: 0; display: block; }
.hero-rating { margin-top: 20px; }
.hero-rating .stars { color: var(--accent-on-dark); letter-spacing: 2px; font-size: 17px; }

/* footer: ruled column heads and an icon beside each contact line */
.footer-col h4 { position: relative; padding-bottom: 9px; margin-bottom: 14px; color: var(--gold); letter-spacing: .09em; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); opacity: .75; }
.footer-brand p { max-width: 34em; }
.site-footer address { font-style: normal; }


/* ---- Tier 1 footer ----
   Icon rows in the Visit column, circled social marks, ruled column heads and
   a hairline above the brand block. CSS + small markup only: no imagery, so
   nothing to licence and no extra request. */
.footer-visit address { display: flex; flex-direction: column; gap: 13px; font-style: normal; }
.fv-row { display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start; line-height: 1.5; }
.fv-row svg { width: 16px; height: 16px; margin-top: 3px; color: var(--gold); }
.footer-brand { position: relative; padding-top: 20px; }
.footer-brand::before { content: ""; position: absolute; top: 0; left: 0; width: 54px; height: 2px; background: var(--gold); opacity: .8; }
.site-footer .footer-social { gap: 10px; }
.site-footer .footer-social .social-link { width: 40px; height: 40px; margin: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; transition: border-color .15s ease, color .15s ease; }
.site-footer .footer-social .social-link:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.footer-tag { display: block; margin-top: 10px; font-style: italic; opacity: .9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
@media (max-width: 620px) { .footer-brand { padding-top: 18px; } }

/* ---- cookie consent ----------------------------------------------------
   Anchored bottom, not a full-screen modal. This visitor arrived from
   unsolicited mail and is already deciding whether we are legitimate; a wall
   across their own shop's photo is the worst possible first impression, and
   the project's own standard is to remove friction, not add it. */
.ck-bar{position:fixed;left:0;right:0;bottom:0;z-index:80;background:var(--surface);
  border-top:2px solid var(--gold);box-shadow:0 -6px 24px rgba(0,0,0,.14)}
.ck-in{max-width:1100px;margin:0 auto;padding:16px 22px;display:flex;gap:18px;
  align-items:flex-start;flex-wrap:wrap}
.ck-txt{flex:1 1 320px;min-width:260px}
.ck-txt b{display:block;font-size:15px;margin-bottom:3px}
.ck-txt p{margin:0;font-size:13px;line-height:1.5;color:var(--ink-soft)}
.ck-txt a{color:var(--ink);text-decoration:underline}
.ck-btns{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ck-opts{flex:1 1 100%;display:flex;gap:16px;flex-wrap:wrap;align-items:center;
  padding:12px 0 2px;border-top:1px solid var(--line);margin-top:4px}
.ck-opts label{font-size:13px;display:flex;gap:6px;align-items:center;color:var(--ink-soft)}
.btn-sm{padding:8px 14px;font-size:13px}
/* The mobile call bar is also pinned to the bottom -- without this the two
   overlap and the consent buttons sit under the Call/Book/Directions row. */
@media (max-width:720px){
  .ck-bar{bottom:var(--mobilebar-h,64px)}
  .ck-in{padding:13px 16px;gap:12px}
  .ck-btns{width:100%}
  .ck-btns .btn{flex:1 1 auto;text-align:center}
}

/* Consent buttons are styled HERE rather than reusing .btn-ghost, which is
   built for the dark hero band: its near-white text on the white consent bar
   measured 1.15:1, i.e. invisible.

   Accept and Decline are deliberately given EQUAL visual weight -- same size,
   same border, same text colour. Making refusal harder to see than acceptance
   is a dark pattern and the specific thing regulators look for; consent
   obtained that way is not consent. */
.ck-btns .btn,.ck-opts .btn{border:1px solid var(--ink);background:var(--surface);
  color:var(--ink);font-weight:600;border-radius:4px;padding:9px 16px;font-size:13px;
  line-height:1.2;cursor:pointer;box-shadow:none;filter:none;letter-spacing:0}
.ck-btns .btn:hover,.ck-opts .btn:hover{background:var(--surface-2)}
.ck-btns #ck-yes{background:var(--gold);border-color:var(--gold);color:var(--accent-ink)}
.ck-btns #ck-yes:hover{filter:brightness(.94)}
.ck-btns #ck-cust{border-color:var(--line-strong);color:var(--ink-soft)}

/* -------- contact map ---------------------------------------------------
   The stylesheet never sized this iframe, so it fell back to the HTML
   default of 300x150 and rendered as a postage stamp inside a 666px column
   on every contact page since the template was written. An unsized <iframe>
   does not inherit its container's width the way an <img> does. */
.map-embed-frame { width: 100%; border-radius: 8px;
  overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
/* The iframe FILLS the frame. Two passes had disagreed: this rule pinned the
   iframe to 340px while the block below sets the frame to 440px on desktop,
   so the map sat in a 440px box with a 100px empty strip beneath it --
   which reads as a map that half-loaded. The old min-height is gone too: it
   fought the explicit heights below and won at some widths, which is why
   240px never actually applied. (The consent placeholder that used to share
   this frame was removed 2026-10-18; the map now loads with the page.) */
.map-embed-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Height is set on the FRAME, not the iframe, so every breakpoint agrees. */
.map-embed-frame { height: 300px; }
@media (min-width: 901px) { .map-embed-frame { height: 440px; } }
@media (max-width: 560px) { .map-embed-frame { height: 240px; } }

/* -------- service ticker ------------------------------------------------
   Sits between the header and the hero. Two identical sets scroll as one
   track so the loop has no seam; the second is aria-hidden so the list is
   announced once. */
.tk{overflow:hidden;background:var(--night);border-bottom:1px solid rgba(255,255,255,.08);
  padding:9px 0;position:relative}
.tk-track{display:flex;width:max-content;animation:tk-scroll 38s linear infinite}
.tk-set{display:flex;flex-shrink:0}
.tk-i{color:var(--accent-on-dark);font-size:12.5px;font-weight:600;letter-spacing:.05em;
  text-transform:uppercase;white-space:nowrap;padding:0 22px;position:relative}
.tk-i::after{content:"";position:absolute;right:-3.5px;top:50%;width:5px;height:5px;
  border-radius:50%;background:#FFFFFF;opacity:.9;transform:translateY(-50%)}
.tk:hover .tk-track{animation-play-state:paused}
@keyframes tk-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* Motion is opt-out everywhere else on this template and must be here too --
   a permanently moving strip is the single worst offender for vestibular
   disorders. Stopped, it is simply a list. */
@media (prefers-reduced-motion:reduce){
  .tk-track{animation:none}
  .tk{overflow-x:auto}
}

/* -------- inner-page photo banner --------------------------------------
   The four inner pages carried no image at all, so 952 businesses with a real
   photograph of their own premises showed it on exactly one page. */
.pban{position:relative;min-height:210px;display:flex;align-items:flex-end;
  background:var(--night);overflow:hidden}
.pban-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center 45%;opacity:.42}
/* A scrim, not just a dimmed photo: a light sky or a white wall behind white
   text is unreadable, and that varies per business. The gradient guarantees
   the heading has something dark under it whatever the photo turns out to be. */
.pban::before{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(12,12,11,.30) 0%,rgba(12,12,11,.86) 100%)}
/* The same curved sweep the homepage hero ends on, in the business's own
   accent, so an inner page resolves into the body the same way the homepage
   does instead of stopping at a hard edge. --accent-on-dark, not --gold: the
   raw accent is frequently near-black and would read as a grey smear.
   Sits ABOVE the scrim and BELOW the heading; the heading's bottom padding
   exceeds the curve height so the two can never collide. */
.pban::after{content:"";position:absolute;left:-2%;right:-2%;bottom:-1px;
  height:52px;z-index:2;border-radius:100% 100% 0 0 / 100% 100% 0 0;
  background:linear-gradient(180deg,
    color-mix(in srgb, var(--accent-on-dark) 82%, transparent) 0%,
    color-mix(in srgb, var(--accent-on-dark) 34%, var(--ground)) 46%,
    var(--ground) 100%)}
.pban .page{position:relative;z-index:3;width:100%}
.pban-in{padding:40px 0 60px}
.pban .sec-tag{color:var(--accent-on-dark)}
.pban h1{color:#fff;margin:6px 0 0}
.pban-mark{min-height:150px;background:linear-gradient(160deg,var(--night) 0%,var(--night-2) 100%)}
/* The mark band is a solid colour block, so it needs no photo scrim -- but it
   DOES need the curve. This rule used to read `::after{display:none}` and was
   killing the scrim; once the scrim moved to ::before and the curve took
   ::after, the same rule silently removed the curve from every brand-mark
   banner instead. */
.pban-mark::before{display:none}
@media (max-width:720px){ .pban{min-height:160px} .pban-in{padding:28px 0 48px}
  .pban::after{height:40px} }

/* -------- header hours block -------------------------------------------
   The reference site shows a static "Monday - Saturday / 09:00 AM - 05:00 PM"
   here. This shows the same range PLUS the live badge, which is the part
   that answers the question a customer actually has: can I call them now.
   The badge is driven by the same updateStatus() that already runs on the
   contact and about pages, so there is one source of truth, not two. */
.tbh{display:none;flex-direction:column;align-items:flex-end;gap:1px;
  margin-left:auto;margin-right:16px;line-height:1.25;text-align:right}
.tbh-lab{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-faint)}
/* One day-group per line. They were joined with a middot, which read as a
   single crowded run of text; and anything past two groups rendered as a bare
   "Open at" label with no hours under it at all, on 129 sites. Tight leading
   keeps four lines shorter than the two-line brand beside it. */
.tbh-range{display:block;font-size:11.5px;font-weight:600;color:var(--ink);
  line-height:1.28;white-space:nowrap;text-align:right}
.tbh-range + .tbh-range{margin-top:1px}
/* Shown instead of five or six lines, which would make the header taller than
   the brand. Never drops the information -- it points at the full table. */
.tbh-more{display:block;font-size:11px;font-weight:700;color:var(--gold-deep);
  text-decoration:none;line-height:1.35;white-space:nowrap}
.tbh-more:hover{text-decoration:underline}
/* Keep the tinted pill. --amber and --green were deliberately darkened to
   ~7.8:1 AGAINST these soft backgrounds; dropping the background put the
   amber on the near-white header at 3.3:1, under the 4.5:1 floor. The colour
   and its backdrop were calibrated as a pair and have to stay one. */
.tbh .status-badge{font-size:10.5px;padding:2px 8px;border-radius:999px}
.tbh .status-badge .pulse{width:6px;height:6px}
/* Desktop only. Below this the header is already carrying a logo, a nav
   toggle and a call button, and the mobile bar repeats the phone anyway. */
@media (min-width:981px){ .tbh{display:flex} }

/* -------- services page: image + text rows -----------------------------
   Rows alternate sides so six services do not read as one column of
   identical blocks. A row with no image collapses to a single column rather
   than leaving a gap. */
.svc-rows{display:flex;flex-direction:column;gap:30px;margin-top:44px}
.svc-r{display:grid;grid-template-columns:300px 1fr;gap:28px;align-items:center;
  padding-bottom:30px;border-bottom:1px solid var(--line)}
.svc-r:last-child{border-bottom:0;padding-bottom:0}
.svc-r.flip{grid-template-columns:1fr 300px}
.svc-r.flip .svc-r-img{order:2}
.svc-r.no-img{grid-template-columns:1fr}
.svc-r-img{border-radius:8px;overflow:hidden;background:var(--surface-2);
  aspect-ratio:4/3}
.svc-r-img img{display:block;width:100%;height:100%;object-fit:cover}
.svc-r-txt h3{margin:0 0 8px;font-size:21px}
.svc-r-txt p{margin:0 0 15px;color:var(--ink-soft);line-height:1.6;max-width:62ch}
/* NOT .btn-ghost. That button is built for the dark hero band -- near-white
   text on a 6%-white fill -- and on this light page it measured 1.15:1,
   i.e. invisible. Second time the same reuse caused the same bug, after the
   consent "Decline all" button, so this one is styled explicitly. */
.svc-r-txt .btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--ink);
  background:var(--surface);color:var(--ink);font-weight:600;font-size:13px;
  padding:9px 16px;border-radius:4px;filter:none;box-shadow:none;letter-spacing:0}
.svc-r-txt .btn:hover{background:var(--gold);border-color:var(--gold);color:var(--accent-ink)}
@media (max-width:760px){
  .svc-r,.svc-r.flip{grid-template-columns:1fr;gap:16px}
  .svc-r.flip .svc-r-img{order:0}
  .svc-r-img{max-width:340px}
}

/* -------- homepage review marquee --------------------------------------
   Was a single stacked column of full-length cards. Now a horizontal strip
   that keeps the real name, real date and real star rating -- the reference
   site attributes every quote to "Recent Client", which is weaker evidence
   than an actual customer's name. */
.rv-band{padding-bottom:58px}
.rv-wrap{overflow:hidden;margin-top:34px;
  /* fade the edges so cards enter and leave instead of being chopped */
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.rv-track{display:flex;width:max-content;animation:rv-scroll 64s linear infinite}
.rv-set{display:flex;flex-shrink:0}
.rv-card{width:352px;flex:none;margin-right:18px;display:flex;flex-direction:column}
.rv-card p{flex:1}
.rv-wrap:hover .rv-track{animation-play-state:paused}
@keyframes rv-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* Stopped it is simply a scrollable row, which is the honest fallback. */
@media (prefers-reduced-motion:reduce){
  .rv-track{animation:none}
  .rv-wrap{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
}
@media (max-width:560px){ .rv-card{width:290px} }

/* ---- Gallery marquee -------------------------------------------------- */
/* Runs LEFT-TO-RIGHT, against the reviews strip directly below it, which
   runs right-to-left (rv-scroll goes 0 -> -50%; this goes -50% -> 0). The
   opposing directions are the point: two strips sliding the same way read as
   one broken element. Same 50% offset trick, so the seam is never visible. */
.gv-band{padding-bottom:10px}
.gv-wrap{overflow:hidden;margin-top:34px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.gv-track{display:flex;width:max-content;animation:gv-scroll 52s linear infinite}
.gv-set{display:flex;flex-shrink:0}
.gv-set figure{width:420px;flex:none;margin:0 18px 0 0;background:var(--surface);
  border:1px solid var(--line);border-radius:9px;overflow:hidden;
  display:flex;flex-direction:column}
.gv-set img{display:block;width:100%;height:300px;flex:1 1 auto;min-height:0;
  object-fit:cover;object-position:center}
.gv-set figcaption{flex:none;padding:11px 15px;font-size:12.6px;color:var(--ink-faint)}
.gv-wrap:hover .gv-track{animation-play-state:paused}
@keyframes gv-scroll{from{transform:translateX(-50%)}to{transform:translateX(0)}}
/* Stopped it is simply a scrollable row, which is the honest fallback. */
@media (prefers-reduced-motion:reduce){
  .gv-track{animation:none}
  .gv-wrap{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
}
@media (max-width:560px){ .gv-set figure{width:300px} .gv-set img{height:220px} }

/* -------- dark review band ---------------------------------------------
   `.dark-band` has been emitted on the reviews section since the template
   was written and was NEVER defined in this stylesheet -- so the "dark
   full-bleed reviews band" built for the pilot has never rendered on any
   site. White cards on the page's own near-white ground is why the section
   read as flat. Defining it here, keyed off the business's own palette so
   it stays theirs rather than a fixed grey. */
.sec.dark-band{background:linear-gradient(165deg,var(--night) 0%,var(--night-2) 100%);
  color:#F3EFE3}
.sec.dark-band .sec-tag{color:var(--accent-on-dark)}
.sec.dark-band h2,.sec.dark-band h1{color:#fff}
.sec.dark-band .sec-sub{color:rgba(243,239,227,.78)}
.sec.dark-band .sec-sub a{color:var(--accent-on-dark)}
/* Cards stay light so the quotes read as quoted material against the band. */
.sec.dark-band .rev{background:var(--surface);color:var(--ink);border-color:transparent}

/* The real four-colour Google mark beside the hero rating. It was already
   defined for review cards and never used here -- the rating just said the
   words "Google reviews" with no mark. */
/* margin-left:auto MUST be cancelled here. The base .google-g rule is built
   for the review-card header, where the mark sits hard right; inherited into
   the hero it pushed the whole rating row 488px right of the Book button.
   Third time in this batch a class built for one context was reused in
   another -- after .btn-ghost on the consent and service buttons. */
.hero-rating .google-g{width:17px;height:17px;flex:none;margin-left:0}

/* -------- review cards: brighter, equal height ------------------------
   The Google mark was 15px and pinned top-right, where it read as a grey
   speck rather than the strongest trust signal on the card. It is the
   reason to believe the quote, so it leads. */
.rev-src{display:flex;align-items:center;gap:9px;margin-bottom:15px;
  padding-bottom:13px;border-bottom:1px solid var(--line)}
.rev-src .google-g{width:26px;height:26px;margin-left:0;flex:none}
.rev-src span{font-size:10.5px;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink-faint)}
/* Ragged card bottoms were most of why the grid looked untidy. Stretch is
   the grid default; the cards just never filled the row. */
.rev-grid{align-items:stretch}
.rev{display:flex;flex-direction:column;border-left:0;
  border:1px solid var(--line);box-shadow:var(--shadow);padding:24px 23px}
.rev p{flex:1;margin-bottom:0}
.rev-stars{color:var(--gold-deep);letter-spacing:2px;margin-bottom:11px}

/* -------- reviews page: columns scrolling upward -----------------------
   Light throughout, per the no-darkness direction for this page. Columns
   run at different speeds (--rc-dur) so they do not move in lockstep,
   which is what makes it read as motion rather than a single sliding block. */
.rc-sec{padding-bottom:64px}
.rc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:38px}
.rc-col{height:660px;overflow:hidden;position:relative;
  /* fade both ends so cards arrive and leave rather than being cut */
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(180deg,transparent,#000 8%,#000 92%,transparent)}
.rc-run{display:flex;flex-direction:column;animation:rc-up var(--rc-dur,50s) linear infinite}
.rc-set{display:flex;flex-direction:column;gap:20px;padding-bottom:20px}
.rc-card{flex:none}
.rc-col:hover .rc-run{animation-play-state:paused}
@keyframes rc-up{from{transform:translateY(0)}to{transform:translateY(-50%)}}
/* Stopped it becomes a plain scrollable column, which is the honest fallback
   and still shows every review. */
@media (prefers-reduced-motion:reduce){
  .rc-run{animation:none}
  .rc-col{height:auto;overflow:visible;-webkit-mask-image:none;mask-image:none}
}
@media (max-width:760px){
  .rc-grid{grid-template-columns:1fr}
  .rc-col{height:560px}
}

/* -------- customer CTA band -------------------------------------------
   Full bleed, in the business's own accent. --accent-ink against --accent
   is the pair the build already contrast-checks, so this is legible across
   all 1,233 sampled palettes without a separate calibration. */
/* --accent-on-dark, NOT --gold. The raw accent is often dark -- 129
   AutoBody's is #281808 -- which produced a near-black band, the opposite of
   the bright CTA this is modelled on. accent-on-dark is the same colour
   lifted until it clears 4.6:1 against the dark band, so it is always
   light enough to read as a colour rather than a shadow. */
.cta-band{background:var(--accent-on-dark);color:#16150F;text-align:center;
  padding:66px 0;margin-top:0}
.cta-band h2{font-size:clamp(28px,4vw,44px);color:#16150F;margin:0 0 14px}
.cta-band p{margin:0 auto 28px;max-width:44ch;font-size:17px;opacity:.86}
.cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
/* Solid white primary, as in the reference: highest possible contrast on a
   saturated band whatever the accent turns out to be. */
.cta-band .cta-go{background:#fff;color:#14161C;border:1px solid #fff;
  font-weight:700;padding:15px 30px;border-radius:8px;box-shadow:none}
.cta-band .cta-go:hover{transform:translateY(-1px)}
.cta-band .cta-call{background:transparent;color:#16150F;
  border:1.5px solid #16150F;font-weight:700;padding:15px 24px;
  border-radius:8px;box-shadow:none}
.cta-band .cta-call svg{width:17px;height:17px}
@media (max-width:620px){ .cta-band{padding:48px 0} .cta-row .btn{width:100%;justify-content:center} }

/* -------- full-bleed hero -------------------------------------------------
   The photograph IS the band. First attempt buried it under a 0.72-0.90 scrim
   chosen to guarantee contrast against a pure-white photo -- it guaranteed the
   contrast and destroyed the picture, which was the whole point of the change.

   Corrected approach: a light overlay so the photo stays clearly visible, and
   the legibility guarantee moved onto the TEXT itself via a dark halo behind
   the glyphs. The halo is what the letters actually sit on, so it holds even
   where the photo behind is bright. No blur anywhere -- a blurred hero is a
   picture of nothing. */
/* Band height matters more than any crop tuning. At 585px a 4:3 photo showed
   54% of itself and cut Teeter's shopfront sign in half; at ~760px it shows
   ~75% and the awning, window and signage all survive. Taller costs nothing
   but vertical space and it is the single biggest improvement to how the
   photograph reads. */
/* STANDARD BAND HEIGHT. Content-driven heights ranged 465-648px across the
   fleet -- a law firm with a one-line sub got a band a third shorter than a
   body shop with four. 648px is the approved 2-A Paint height, applied to
   every homepage banner so the mail piece lands on a consistent page whoever
   receives it. min-height, not height: a business with unusually long copy
   grows rather than overflows. box-sizing is border-box, so this figure is
   the whole band including padding. */
.hero.has-bg { overflow: hidden; padding: 92px 0 122px;
  display: flex; align-items: center; }
.hero.has-bg > .page { width: 100%; }
.hero { min-height: 648px; display: flex; align-items: center; }
.hero > .page { width: 100%; }
/* Height was content-driven, not padding-driven: 128px of headline and a
   117px four-line sub in a 660px column. Widening the column drops the sub
   to three lines and the stack is tightened, which takes the band from
   616px to roughly 500 without shrinking a single typeface. */
.hero.has-bg .hero-grid { grid-template-columns: minmax(0, 760px); }
.hero.has-bg .eyebrow { margin-bottom: 15px; }
.hero.has-bg .hero-sub { margin-top: 15px; }
.hero.has-bg .hero-cta { margin-top: 24px; }
.hero.has-bg .hero-rating { margin-top: 16px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover;
  object-position: center 45%; }

/* Light, bottom-weighted so the curve at the foot of the band still reads,
   plus a gentle left ramp under the text column. Photo stays legible. */
.hero.has-bg::before { background:
  linear-gradient(180deg, rgba(8,8,10,.30) 0%, rgba(8,8,10,.28) 45%, rgba(8,8,10,.62) 100%),
  linear-gradient(90deg, rgba(8,8,10,.52) 0%, rgba(8,8,10,.34) 46%, rgba(8,8,10,.06) 78%, rgba(8,8,10,0) 100%);
  z-index: 1; }

.hero.has-bg .hero-grid { grid-template-columns: minmax(0, 660px); z-index: 4; }
/* The real contrast guarantee: a dark halo behind the glyphs. */
.hero.has-bg h1 { text-shadow: 0 2px 4px rgba(0,0,0,.72), 0 4px 22px rgba(0,0,0,.62); }
.hero.has-bg .hero-sub,
.hero.has-bg .hero-rating { text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 2px 12px rgba(0,0,0,.6); }
.hero.has-bg .eyebrow { background: rgba(8,8,10,.46); backdrop-filter: blur(3px); }

@media (max-width: 900px) {
  /* one column: text sits over the middle of the picture, so the ramp is
     replaced by a vertical one that is heaviest where the text lands. */
  .hero.has-bg::before { background:
    linear-gradient(180deg, rgba(8,8,10,.26) 0%, rgba(8,8,10,.52) 42%, rgba(8,8,10,.72) 100%); }
  .hero.has-bg { padding: 80px 0 90px; }
  .hero { min-height: 0; }
  .hero.has-bg .hero-grid { grid-template-columns: 1fr; }
}
/* A shared category backdrop is the one element on the page that is NOT this
   business's own. Held back a little so it reads as texture behind the words
   rather than as a photograph of their premises. */
.hero.has-bg.bg-generic .hero-bg img { filter: saturate(.88) brightness(.82); }

/* The curve at the foot of the hero was rendering GREY, which was a layering
   bug rather than a colour choice: it is filled with --ground (near-white),
   but the scrim sits at z-index 1 and the curve at auto, so the overlay was
   painting straight over a white dome. Lifted above the scrim, and tinted
   with the business's own accent so the band resolves into their colour
   instead of a grey smear -- gold on the nail salon, blue on the accountant.

   --accent-on-dark, NOT --gold. --gold is the raw sampled accent and is
   frequently near-black (#382808 on 5th Ave); --accent-on-dark is the same
   colour already lifted to clear contrast on a dark band, which is what the
   headline uses and therefore what the eye is matching it to.

   Fades to --ground by the foot so there is no hard line where the hero
   meets the page. */
.hero.has-bg::after { z-index: 2; height: 66px;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent-on-dark) 82%, transparent) 0%,
    color-mix(in srgb, var(--accent-on-dark) 34%, var(--ground)) 46%,
    var(--ground) 100%); }

/* Breathing room between the brand and the first menu item. The topbar's flex
   gap is 20px, which reads fine for a text wordmark but cramped once a real
   logo image sits there -- a logo carries its own visual weight right up to
   its edge, where a wordmark has letter-spacing around it. Applied to both so
   the header is consistent whichever mark a business has. */
.topbar .wordmark-img,
.topbar .wordmark { margin-right: 30px; }
@media (max-width: 900px) { .topbar .wordmark-img,
  .topbar .wordmark { margin-right: 0; } }

/* --- HEADER STAYS ON ONE ROW -------------------------------------------
   `.topbar` is a wrapping flex row, and a flex item's default `min-width` is
   `auto` -- so a long business name refuses to shrink and pushes the call
   button onto a second row instead. "LONGHORN FISH & STEAKHOUSE" needed
   1,063px of a 1,068px container and tipped over by five pixels, doubling the
   header to 146px with a band of empty space beside it.

   The brand is the only part that can give: the nav, the hours and the call
   button are all fixed content that must not be squeezed or wrapped. So the
   wordmark gets `min-width: 0` and is allowed to run to TWO LINES, which is
   what the name needs, while everything else is pinned. Below 760px the old
   wrapping layout still applies -- the nav deliberately takes its own full
   row there. */
@media (min-width: 761px) {
  .topbar { flex-wrap: nowrap; }
  .topbar .wordmark {
    min-width: 0;                 /* without this it cannot shrink at all */
    line-height: 1.06;            /* two lines without inflating the bar */
    text-wrap: balance;           /* split evenly rather than one orphan word */
  }
  /* A logo IMAGE must never distort, so it scales down instead of wrapping. */
  .topbar .wordmark-img { min-width: 0; flex-shrink: 1; }
  .topbar .nav-links,
  .topbar .topbar-call,
  .topbar .tbh { flex-shrink: 0; }
  /* Size tiers set by the build from the name's own length -- see
     shell.wordmark_class. Keeps a long name to about two lines instead of
     four, without ever shortening the business's actual name. */
  .topbar .wordmark.wm-md { font-size: 20px; }
  .topbar .wordmark.wm-sm { font-size: 17.5px; }
  .topbar .wordmark.wm-xs { font-size: 15.5px; letter-spacing: -.02em; }
  .topbar.scrolled .wordmark.wm-md { font-size: 18px; }
  .topbar.scrolled .wordmark.wm-sm { font-size: 16px; }
  .topbar.scrolled .wordmark.wm-xs { font-size: 14.5px; }
  /* The gap is the first thing to give back when the name is long. */
  .topbar .wordmark-img,
  .topbar .wordmark { margin-right: clamp(12px, 2.2vw, 30px); }
}

/* -------- footer, CSS-only character ------------------------------------
   Same approach that gave the hero its personality: accent radials and a
   tinted edge, no image requests and nothing generated. It is per-business
   for free, because every value keys off --accent-on-dark -- which on 47
   sites is now sampled from the business's real logo rather than a photo.

   --accent-on-dark, never --gold: the raw accent is frequently near-black
   (#382808 on 5th Ave) and would vanish into --night. */
.site-footer { position: relative; overflow: hidden; }

/* Two soft accent pools, mirroring the hero's so the page opens and closes
   on the same gesture. Very low alpha -- this should read as depth, not as
   a coloured panel. */
.site-footer::before { content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0; background:
    radial-gradient(760px 340px at 88% 0%,
      color-mix(in srgb, var(--accent-on-dark) 7%, transparent) 0%, transparent 62%),
    radial-gradient(560px 300px at 2% 100%,
      color-mix(in srgb, var(--accent-on-dark) 5%, transparent) 0%, transparent 58%); }

/* A hairline of the accent across the very top, fading out at both ends, so
   the footer announces itself instead of the page just going dark. */
.site-footer::after { content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; z-index: 1; pointer-events: none; background: linear-gradient(90deg,
    transparent 0%, var(--accent-on-dark) 18%, var(--accent-on-dark) 82%, transparent 100%);
  opacity: .55; }

.site-footer > .page { position: relative; z-index: 2; }

/* The column heads sit on a short accent rule -- the detail that made the
   reference footer read as deliberate rather than as a list of links. */
.footer-col h4 { position: relative; padding-bottom: 9px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0;
  width: 22px; height: 2px; background: var(--accent-on-dark); opacity: .75; }

/* A faint diagonal weave across the band. Painted on the FOOTER, not on
   .page: .page is the centred max-width container, so hanging the texture
   there stopped it at the content width and left the far left and right
   edges bare while the radial glow ran full-bleed. Baked into the element's
   own background rather than a pseudo-element, since ::before and ::after
   are already carrying the glow and the hairline. */
.site-footer { background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 12px),
    var(--night); }

/* Legibility over the glow, measured rather than eyeballed.
   --accent-on-dark is tuned to exactly 4.6:1 against the FLAT band, so the
   moment a radial lightens the background beneath it, accent-coloured small
   text drops under AA -- 3.43:1 on the pink accent. Two fixes:
     * the radials were cut from 16%/10% to 7%/5%
     * accent small text in the footer is lifted 25% toward white, which
       holds >=5.5:1 on every accent in the fleet under that glow
   The bottom bar was the worst text on the page at 3.35:1; brightened to
   #ADA695, which measures 5.79:1 under the same conditions. */
.site-footer .footer-col h4,
.site-footer .footer-tag { color: color-mix(in srgb, var(--accent-on-dark) 75%, #FFFFFF); }
.footer-col h4::after { background: color-mix(in srgb, var(--accent-on-dark) 75%, #FFFFFF); }
.site-footer svg { color: color-mix(in srgb, var(--accent-on-dark) 75%, #FFFFFF); }
.footer-bottom { color: #C9C9C4; }
.footer-bottom a { color: #E4E4E0; }
.site-footer .wordmark i { color: color-mix(in srgb, var(--accent-on-dark) 75%, #FFFFFF); }

/* --- GRID MIN-WIDTH FLOOR ------------------------------------------------
   A bare `1fr` track is `minmax(auto, 1fr)`, and that `auto` floor is the
   item's MIN-CONTENT -- so one long unbreakable run of text makes the track,
   and with it the whole page, wider than the viewport. It is latent on every
   grid in this sheet and it fired for real: MLA Automotive's reviews page
   pushed its cards to 382px inside a 338px column at 390px wide, the only
   horizontal overflow in 4,996 pages.

   `min-width: 0` on the items restores the intended behaviour and is a no-op
   wherever the content already fits, which is everywhere else. Listed by
   container rather than applied with `*` so it cannot disturb flex or
   intrinsic sizing elsewhere. */
.hero-grid > *, .stat-row > *, .svc-grid > *, .price-grid > *, .rev-grid > *,
.split > *, .award-row > *, .steps > *, .info-grid > *, .field-row > *,
.claim-band > *, .gal > *, .footer-main > *, .mobile-bar > *, .visit-grid > *,
.cred-grid > *, .fv-row > *, .svc-r > *, .rc-grid > * {
  min-width: 0;
}
