/* Lumen demo template v3. Hand written CSS, no framework, no build step.
   Every colour, size and space comes from styles/tokens.css. Built after the Alvera Digital trade sites: dark cinematic
   sections over a soft photo of the business's own work, light sections for rhythm, a display type picked for the
   business (html[data-type]), one highlighted word per heading, a logo forward hero and dividers drawn for the trade. */

@font-face { font-family: "Oswald"; src: url("../assets/fonts/oswald-var.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Anton"; src: url("../assets/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../assets/fonts/dmserif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

/* ---------- display type per business (Claude picks; fill.mjs sets data-type) ---------- */
html[data-type="heavy"] { --font-display: "Anton", Impact, "Arial Narrow", sans-serif; --font-ui: "Anton", Impact, sans-serif; --fw-display: 400; --ds: 1.04; --ds-h3: 1; --lh-tight: .98; --ls-display: .012em; --mark-w: .55; --display-case: uppercase; }
html[data-type="serif"] { --font-display: "DM Serif Display", Georgia, "Times New Roman", serif; --font-ui: "Inter", system-ui, sans-serif; --fw-display: 400; --ds: .96; --ds-h3: 1; --lh-tight: 1.06; --ls-display: -.01em; --mark-w: .7; --display-case: none; }
html[data-type="wide"] { --font-display: "Archivo", "Arial Black", sans-serif; --font-ui: "Archivo", "Arial Black", sans-serif; --fw-display: 800; --ds: .7; --ds-h3: .8; --lh-tight: 1.02; --ls-display: .01em; --mark-w: 1.02; --display-case: uppercase; }
html[data-type="wide"] h1, html[data-type="wide"] h2, html[data-type="wide"] h3, html[data-type="wide"] .closer__name { font-stretch: 125%; }
html[data-type="serif"] .btn, html[data-type="serif"] .more, html[data-type="serif"] .mobile-bar a, html[data-type="serif"] .ticker li { font-weight: 800; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-ink); color: var(--c-body); font-family: var(--font-body); font-size: var(--fs-3); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--fw-display); line-height: var(--lh-tight); letter-spacing: var(--ls-display); text-transform: var(--display-case); color: var(--tx-strong); text-wrap: balance; }
:target { scroll-margin-top: var(--header-h); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nw { white-space: nowrap; }
img.is-collage { object-fit: contain; }
.skip-link { position: absolute; left: var(--sp-4); top: calc(var(--sp-4) * -6); z-index: 100; background: var(--c-ink); color: var(--c-on-dark); padding: var(--sp-3) var(--sp-4); font-size: var(--fs-2); font-weight: var(--fw-bold); text-decoration: none; }
.skip-link:focus { top: var(--sp-4); }

/* ---------- light and dark scopes: components read these, so one card works on both ---------- */
main, .section, .section--paper, .site-header--light, .rate, .card-form { --tx: var(--c-body); --tx-strong: var(--c-ink); --tx-accent: var(--c-accent-ink); --tx-muted: var(--c-muted); --sf: var(--c-surface); --sf-2: var(--c-paper); --ln: var(--c-line); }
.section--dark, .hero, .band, .site-header, .site-footer, .closer { --tx: var(--c-on-dark); --tx-strong: var(--c-on-dark-strong); --tx-accent: var(--c-accent-lt); --tx-muted: var(--c-on-dark-muted); --sf: var(--c-dark-surface); --sf-2: var(--c-dark-surface-2); --ln: var(--c-dark-line); }
.closer { --tx-accent: var(--c-on-accent); }
.site-header--light { --tx: var(--c-ink); --tx-strong: var(--c-ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 48px; padding: var(--sp-3) var(--sp-5); border: 2px solid transparent; border-radius: var(--radius-sm); font-family: var(--font-ui); font-size: var(--fs-3); font-weight: var(--fw-display); letter-spacing: var(--ls-caps); text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast); }
html[data-type="wide"] .btn, html[data-type="wide"] .more, html[data-type="wide"] .mobile-bar a, html[data-type="wide"] .ticker li { font-stretch: 100%; }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 10px 24px -12px var(--c-accent); }
.btn--accent:hover { background: var(--c-accent-dk); border-color: var(--c-accent-dk); }
.btn--ghost { border-color: var(--ln); color: var(--tx-strong); background: var(--sf); }
.btn--ghost:hover { border-color: var(--tx-strong); }
.btn--ink { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-dark-strong); }
.section--dark .btn--ink { background: var(--c-on-dark-strong); border-color: var(--c-on-dark-strong); color: var(--c-ink); }
.btn--light { background: var(--c-surface); border-color: var(--c-surface); color: var(--c-ink); }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-header); color: var(--c-on-dark); border-bottom: 1px solid var(--c-dark-line); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); min-height: 44px; text-decoration: none; color: inherit; min-width: 0; }
.brand__logo { height: var(--logo-h); width: auto; max-width: 15rem; object-fit: contain; }
.brand__logo.is-boxed { border-radius: var(--radius-sm); }
.brand__logo.is-art { height: var(--logo-art-h); max-width: 12rem; }
.brand__mark { flex: none; height: var(--logo-h); width: auto; max-width: calc(var(--logo-h) * 1.6); object-fit: contain; }
/* a very long name (over 34 letters) steps down once more below the full menu; on the smallest phones it may take a
   third line, which the header has room for, rather than be cut off */
@media (max-width: 39.99rem) { .brand--long .brand__name { font-size: max(var(--fs-1), calc(var(--fs-2) * var(--ds-h3))); -webkit-line-clamp: 3; } }
@media (min-width: 40rem) and (max-width: 63.99rem) { .brand--long .brand__name { font-size: calc(var(--fs-3) * var(--ds-h3)); } }
/* the footer has the room: a long name takes a third line there instead of being cut off */
.site-footer .brand__name { -webkit-line-clamp: 3; }
.brand--mark .brand__name { text-transform: uppercase; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
/* the clamp hides overflow, so the line box must hold each display font's descenders (g, y, p) */
.brand__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding-bottom: .08em; line-height: 1.3; font-family: var(--font-display); font-weight: var(--fw-display); font-size: calc(var(--fs-4) * var(--ds-h3)); letter-spacing: var(--ls-display); text-transform: var(--display-case); color: var(--tx-strong); text-wrap: balance; }
.brand__sub { font-size: var(--fs-1); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: none; align-items: center; gap: var(--sp-5); }
.nav a { font-size: var(--fs-2); font-weight: var(--fw-bold); text-decoration: none; color: inherit; opacity: .9; padding-block: var(--sp-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { opacity: 1; border-bottom-color: var(--c-accent-lt); }
.header-cta { display: flex; align-items: center; gap: var(--sp-3); }
.pill-phone { display: none; align-items: center; gap: var(--sp-2); min-height: 44px; padding: 0 var(--sp-4); border: 1.5px solid var(--c-dark-line); border-radius: 999px; font-weight: var(--fw-bold); font-size: var(--fs-2); text-decoration: none; color: inherit; white-space: nowrap; }
.pill-phone svg { width: 1rem; height: 1rem; }
.header-cta .btn { display: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--c-dark-line); border-radius: var(--radius-sm); background: transparent; color: inherit; cursor: pointer; }
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }
.mobile-nav { display: none; border-top: 1px solid var(--c-dark-line); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; padding-block: var(--sp-3); }
.mobile-nav a:not(.btn) { padding: var(--sp-3) var(--sp-2); font-weight: var(--fw-bold); text-decoration: none; color: inherit; }
.mobile-nav .btn { margin-top: var(--sp-3); }
.site-header--light { background: var(--c-surface); color: var(--c-ink); border-bottom-color: var(--c-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header--light .pill-phone, .site-header--light .nav-toggle { border-color: var(--c-line); }
.site-header--light .nav a:hover { border-bottom-color: var(--c-accent); }
.site-header--light .mobile-nav { border-top-color: var(--c-line); }
/* on phones the hero eyebrow right below says the same, and a long sub line would be cut off */
.site-header .brand__sub { display: none; }
@media (min-width: 40rem) { .pill-phone { display: inline-flex; } .site-header .brand__sub { display: block; } }
@media (min-width: 64rem) { .brand__logo { height: var(--logo-h-lg); max-width: 17rem; } .brand__logo.is-art { height: var(--logo-art-h-lg); max-width: 18rem; } .brand__mark { height: var(--logo-h-lg); max-width: calc(var(--logo-h-lg) * 1.6); } }
@media (min-width: 64rem) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .header-cta .btn { display: inline-flex; }
}
/* from 64rem the menu takes the room: the phone pill and the line under the name come back at 80rem, and a name in type
   steps down a size so it never runs out of room */
@media (min-width: 64rem) and (max-width: 79.99rem) { .pill-phone, .site-header .brand__sub { display: none; } .nav { gap: var(--sp-4); } .site-header .brand__name { font-size: calc(var(--fs-3) * var(--ds-h3)); } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--c-ink); color: var(--tx); }
.hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: var(--scrim-hero-sm); }
.hero--plain { background: var(--hero-plain); }
.hero__grid { display: grid; gap: var(--sp-7); padding-block: var(--sp-8) var(--sp-9); align-items: center; }
/* the business's own logo, big, as the reference sites open: a glow lifts it off the photo */
.hero__logo { display: block; width: auto; height: auto; max-width: min(100%, 22rem); max-height: 7.5rem; margin-bottom: var(--sp-6); object-fit: contain; object-position: left center; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)); }
.hero__logo.is-boxed { border-radius: var(--radius); }
.pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0 0 var(--sp-5); padding: 0; list-style: none; }
.pills li { padding: var(--sp-2) var(--sp-3); border-radius: 999px; background: var(--c-glass-strong); border: 1px solid var(--c-on-dark-line); font-size: var(--fs-1); font-weight: var(--fw-bold); color: var(--c-on-dark); }
/* the brackets run inline with the words, so a long label that wraps closes after its last word, not at the far edge */
.eyebrow { display: inline-block; font-size: var(--fs-1); font-weight: var(--fw-bold); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-accent); }
.eyebrow::before, .eyebrow::after { content: "["; opacity: .75; margin-right: var(--sp-2); }
.eyebrow::after { content: "]"; margin-right: 0; margin-left: var(--sp-2); }
.hero .eyebrow::before, .hero .eyebrow::after { content: none; }
.hero .eyebrow { letter-spacing: .14em; }
.hero h1 { margin-top: var(--sp-4); max-width: 18ch; font-size: calc(var(--fs-6) * var(--ds)); color: var(--c-on-dark-strong); }
.hero--logo h1 { font-size: calc(var(--fs-5) * var(--ds)); }
.hero h1 em { font-style: normal; color: var(--c-accent-lt); }
.hero__sub { margin-top: var(--sp-5); max-width: 52ch; font-size: var(--fs-3); color: var(--c-on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.proof { margin: var(--sp-6) 0 0; max-width: 46ch; padding: var(--sp-4) var(--sp-5); border-left: 3px solid var(--c-accent-lt); background: var(--c-glass); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.proof .stars { color: var(--c-star); letter-spacing: .12em; font-size: var(--fs-2); }
.proof p { margin-top: var(--sp-1); font-size: var(--fs-2); color: var(--c-on-dark-strong); }
.proof footer { margin-top: var(--sp-2); font-size: var(--fs-1); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-on-dark); }
@media (max-width: 39.99rem) {
  .hero__actions, .hero .proof { display: none; }
  .hero__grid { gap: var(--sp-6); padding-block: var(--sp-7) var(--sp-8); }
  .hero__logo { max-height: 6rem; margin-bottom: var(--sp-5); }
  .pills { margin-bottom: var(--sp-4); }
}
@media (min-width: 64rem) {
  .hero__scrim { background: var(--scrim-hero); }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-8); padding-block: var(--sp-9) var(--sp-10); }
  .hero__logo { max-width: min(100%, 30rem); max-height: 11rem; }
}

/* ---------- quote card ---------- */
.quote-card { position: relative; background: var(--c-accent); color: var(--c-on-accent); border-radius: var(--radius-lg); padding: var(--sp-6); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.quote-card__logo { display: block; margin: 0 auto var(--sp-5); max-height: 6rem; width: auto; max-width: 80%; object-fit: contain; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); background: var(--c-ink); }
.quote-card__logo.is-boxed { padding: 0; }
.quote-card h2 { color: var(--c-on-accent); text-align: center; text-transform: uppercase; font-size: calc(var(--fs-5) * var(--ds)); letter-spacing: var(--ls-caps); }
.quote-card .form { margin-top: var(--sp-5); }
.form { display: flex; flex-direction: column; gap: var(--sp-4); }
.field-label { display: block; margin-bottom: var(--sp-1); font-size: var(--fs-2); font-weight: var(--fw-bold); }
.field { width: 100%; min-height: 48px; padding: var(--sp-3) var(--sp-4); border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-surface); color: var(--c-ink); font: inherit; font-size: var(--fs-2); }
.field::placeholder { color: var(--c-muted); }
.field:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px var(--c-focus); }
textarea.field { min-height: 6.5rem; resize: vertical; }
.consent { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-1); line-height: 1.5; }
.consent input { width: 1.25rem; height: 1.25rem; flex: none; margin-top: .1rem; accent-color: var(--c-ink); }
.form__note { font-size: var(--fs-1); text-align: center; }
.form__note a { font-weight: var(--fw-bold); }
.form__status { display: none; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); font-size: var(--fs-2); background: var(--c-surface); color: var(--c-ink); }
.form__status[data-state] { display: block; }
.form__status a { color: inherit; font-weight: var(--fw-bold); }
.quote-card .btn--light { font-size: var(--fs-4); min-height: 56px; }
.card-form { background: var(--c-surface); border: 1px solid var(--c-line); border-top: 4px solid var(--c-accent); border-radius: var(--radius-lg); padding: var(--sp-6); box-shadow: var(--shadow-md); color: var(--c-body); }
.card-form h3 { font-size: calc(var(--fs-4) * var(--ds-h3)); text-transform: uppercase; letter-spacing: var(--ls-caps); }
.card-form > p { margin-top: var(--sp-2); font-size: var(--fs-2); }
.card-form .form { margin-top: var(--sp-5); }
.card-form .field-label, .card-form .consent { color: var(--c-ink); }
.card-form .form__status { background: var(--c-paper); border-left: 4px solid var(--c-accent); }

/* ---------- highlights band ---------- */
.band { position: relative; background: var(--c-ink); color: var(--tx); border-top: 1px solid var(--c-dark-line); }
.band .wrap { display: grid; gap: var(--sp-5); padding-block: var(--sp-7); }
.hl { display: flex; gap: var(--sp-4); align-items: flex-start; }
.hl__icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 999px; background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 0 0 6px var(--c-dark-surface); }
.hl__icon svg { width: 1.35rem; height: 1.35rem; }
.hl h3 { font-size: calc(var(--fs-4) * var(--ds-h3)); }
.hl p { margin-top: var(--sp-1); font-size: var(--fs-2); color: var(--tx); }
@media (min-width: 40rem) { .band .wrap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .band .wrap.band--3 { grid-template-columns: repeat(3, 1fr); } .band .wrap.band--4 { grid-template-columns: repeat(4, 1fr); } .hl { flex-direction: column; gap: var(--sp-3); } }

/* ---------- ticker: the services, running across in the brand colour ---------- */
.ticker { overflow: hidden; background: var(--c-accent); color: var(--c-on-accent); border-block: 1px solid rgba(255, 255, 255, .14); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker ul { display: flex; flex: none; align-items: center; gap: var(--sp-6); margin: 0; padding: var(--sp-4) var(--sp-6) var(--sp-4) 0; list-style: none; }
.ticker li { display: inline-flex; align-items: center; gap: var(--sp-6); font-family: var(--font-ui); font-weight: var(--fw-display); font-size: var(--fs-3); letter-spacing: var(--ls-caps); text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: ""; width: .45rem; height: .45rem; border-radius: 2px; background: currentColor; opacity: .6; transform: rotate(45deg); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: var(--sp-9); background: var(--c-surface); color: var(--tx); }
.section--paper { background: var(--c-paper); }
/* dark sections: the business's own photo, blurred and dark, under a brand light; the page reads as one shoot */
.section--dark { isolation: isolate; overflow: hidden; background: var(--c-ink); }
/* the top starts as flat ink, the colour a divider above ends in, so there is no seam where they meet */
.section--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--c-ink) 0, transparent 6rem), radial-gradient(70% 55% at 100% 0%, var(--c-glow) 0%, transparent 70%), radial-gradient(60% 50% at 0% 100%, var(--c-glow) 0%, transparent 70%), var(--scrim-dark); }
.backdrop { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.head { max-width: 46rem; }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { margin-top: var(--sp-3); font-size: calc(var(--fs-5) * var(--ds)); }
.head p:not(.eyebrow) { margin-top: var(--sp-4); color: var(--tx); }
.head-row { display: grid; gap: var(--sp-5); align-items: end; }
.head-row .actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
/* one word of each heading in the brand colour, or boxed in it */
h2 em { font-style: normal; color: var(--tx-accent); }
.mark-box h2 em, h2 em.box { padding: 0 .14em; border-radius: 4px; background: var(--c-accent); color: var(--c-on-accent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h2:has(em.box) { line-height: max(var(--lh-tight), 1.16); }
@media (min-width: 64rem) { .head-row { grid-template-columns: 1fr auto; } .section { padding-block: var(--sp-10); } }

/* ---------- dividers drawn for the trade (fill.mjs picks one, html/svg inline) ---------- */
.divider { position: relative; overflow: hidden; height: 5.5rem; background: var(--c-ink); }
/* the drawing runs 2px past the bottom (clipped), so no hairline of the light section shows under it on any screen */
.divider svg { position: absolute; inset: 0 0 -2px; width: 100%; height: calc(100% + 2px); }
.divider .fill-ink { fill: var(--c-ink); } .divider .fill-road { fill: var(--c-road); } .divider .fill-paper { fill: var(--c-paper); }
.divider .fill-accent { fill: var(--c-accent); } .divider .fill-accent-lt { fill: var(--c-accent-lt); } .divider .fill-accent-dk { fill: var(--c-accent-dk); }
.divider .stroke-accent-lt { stroke: var(--c-accent-lt); }
.divider.from-surface { background: var(--c-surface); } .divider.from-paper { background: var(--c-paper); }
.divider .fill-surface { fill: var(--c-surface); }
/* road: a car drives across, on the line between the light verge and the dark road */
.divider--road { height: 6.5rem; background: linear-gradient(180deg, var(--c-paper) 0 50%, var(--c-road) 50% 100%); }
.divider--road.from-surface { background: linear-gradient(180deg, var(--c-surface) 0 50%, var(--c-road) 50% 100%); }
.divider--road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; background: var(--c-line); }
.divider--road::after { content: ""; position: absolute; left: 0; right: 0; top: 74%; height: 4px; background: repeating-linear-gradient(90deg, var(--c-accent-lt) 0 3rem, transparent 3rem 6rem); opacity: .9; }
.road__car { position: absolute; left: 0; bottom: calc(50% - 4px); width: 100%; animation: drive 16s linear infinite; }
.road__car svg { position: static; width: 9.5rem; height: auto; }
@keyframes drive { from { transform: translateX(-10rem); } to { transform: translateX(100%); } }
.divider--waves .w1 { animation: drift 18s linear infinite; } .divider--waves .w2 { animation: drift 26s linear infinite reverse; } .divider--waves .w3 { animation: drift 34s linear infinite; }
@keyframes drift { to { transform: translateX(-1440px); } }
.divider--bolt .spark { stroke-dasharray: 18 26; animation: spark 2.8s linear infinite; }
@keyframes spark { to { stroke-dashoffset: -88; } }
@media (min-width: 64rem) { .divider { height: 7rem; } .divider--road { height: 8rem; } .road__car svg { width: 12rem; } }

/* ---------- services ---------- */
.ticks { margin: var(--sp-4) 0 0; padding: 0; list-style: none; display: grid; gap: var(--sp-2); }
.ticks li { display: flex; gap: var(--sp-2); align-items: flex-start; font-size: var(--fs-2); }
.ticks li::before { content: ""; flex: none; width: .55rem; height: .55rem; margin-top: .5rem; border-radius: 2px; background: var(--c-accent); }
.section--dark .ticks li::before { background: var(--c-accent-lt); }
.more { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-4); font-family: var(--font-ui); font-weight: var(--fw-display); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--tx-accent); text-decoration: none; }
.more svg { width: 1rem; height: 1rem; transition: transform var(--t-fast); }
.more:hover svg { transform: translateX(3px); }
.cards { display: grid; gap: var(--sp-5); margin-top: var(--sp-8); }
.card { position: relative; display: flex; flex-direction: column; padding: var(--sp-6); background: var(--sf); border: 1px solid var(--ln); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--tx); transition: transform var(--t-fast), border-color var(--t-fast); }
.section--dark .card { box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.card:hover { transform: translateY(-3px); border-color: var(--c-accent-lt); }
.card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius); background: var(--c-accent); color: var(--c-on-accent); }
.card__icon svg { width: 1.4rem; height: 1.4rem; }
.card h3 { margin-top: var(--sp-4); font-size: calc(var(--fs-4) * var(--ds-h3)); }
.card p { margin-top: var(--sp-2); font-size: var(--fs-2); }
.card .more { margin-top: auto; padding-top: var(--sp-4); }
/* the call card closes the grid in the brand colour */
.card--dark { justify-content: center; overflow: hidden; background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); --tx-strong: var(--c-on-accent); }
.card--dark > * { position: relative; z-index: 1; }
.card--dark h3 { color: var(--c-on-accent); }
.card--dark .card__icon { background: var(--c-on-accent); color: var(--c-accent); }
.card--dark .btn { align-self: flex-start; background: var(--c-on-accent); border-color: var(--c-on-accent); color: var(--c-accent); box-shadow: none; }
.card--dark p { margin-bottom: var(--sp-5); }
.card--dark:hover { border-color: var(--c-accent); }
/* the call card: a full width band under the service cards, so it is only ever as tall as its own words */
.card--band { align-items: flex-start; gap: var(--sp-4); margin-top: var(--sp-5); }
.card--band h3 { margin-top: 0; }
.card--band p { margin-bottom: 0; }
.card--band:hover { transform: none; }
@media (min-width: 40rem) {
  .card--band { flex-direction: row; align-items: center; gap: var(--sp-5); }
  .card--band__text { flex: 1; min-width: 0; }
  .card--band .btn { flex: none; align-self: center; }
}
.card--media { padding: 0; overflow: hidden; }
.card__media { position: relative; overflow: hidden; margin: 0; aspect-ratio: 16 / 10; background: var(--c-ink); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.card--media:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-6); }
.card--media h3 { margin-top: 0; }

/* ---------- work ---------- */
.gallery { margin-top: var(--sp-8); }
.shot { display: flex; flex-direction: column; margin: 0; }
.shot__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--c-ink); box-shadow: var(--shadow-md); }
.section--dark .shot__media { box-shadow: 0 0 0 1px var(--c-dark-line), var(--shadow-md); }
.shot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.shot:hover img { transform: scale(1.04); }
/* the caption sits under the photo, never on it: owner photos often carry their own BEFORE and AFTER labels */
.shot figcaption { padding: var(--sp-3) var(--sp-1) 0; font-size: var(--fs-1); color: var(--tx-muted); }
.shot figcaption strong { display: block; font-family: var(--font-display); font-weight: var(--fw-display); font-size: calc(var(--fs-3) * var(--ds-h3)); line-height: 1.2; text-transform: var(--display-case); letter-spacing: var(--ls-display); color: var(--tx-strong); }
@media (min-width: 40rem) { html[data-type="wide"] .shot figcaption strong { font-stretch: 125%; } }
.tag { display: inline-block; margin-bottom: var(--sp-2); padding: var(--sp-1) var(--sp-3); border-radius: 999px; background: var(--c-accent); color: var(--c-on-accent); font-size: var(--fs-1); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; }
@media (min-width: 40rem) { .shot figcaption { font-size: var(--fs-2); } .shot figcaption strong { font-size: calc(var(--fs-4) * var(--ds-h3)); } }

/* ---------- steps: a line of icons, each with its step label (no big number behind: Baraa, 2026-11-09) ---------- */
.steps { position: relative; display: grid; gap: var(--sp-7); margin: var(--sp-8) 0 0; padding: 0; list-style: none; }
.step { position: relative; display: grid; justify-items: center; gap: var(--sp-2); padding: 0 var(--sp-4); text-align: center; }
.step__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 0 0 8px var(--c-accent-tint); }
.step__icon svg { width: 1.45rem; height: 1.45rem; }
.step__n { margin-top: var(--sp-3); font-size: var(--fs-1); font-weight: var(--fw-bold); letter-spacing: .18em; text-transform: uppercase; color: var(--tx-accent); }
.step h3 { font-size: calc(var(--fs-4) * var(--ds-h3)); }
.step p { max-width: 30ch; font-size: var(--fs-2); }
@media (min-width: 56rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .steps::before { content: ""; position: absolute; top: 1.75rem; left: 16.66%; right: 16.66%; height: 2px; background: linear-gradient(90deg, var(--c-accent) 0 50%, transparent 0) 0 0 / 12px 2px repeat-x; opacity: .55; }
}

/* ---------- about ---------- */
.about { display: grid; gap: var(--sp-8); align-items: center; }
.collage { position: relative; padding: var(--sp-3) var(--sp-7) var(--sp-8) var(--sp-2); }
.collage__main { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; transform: rotate(-2deg); border: 5px solid var(--c-surface); }
.collage__main img { width: 100%; height: 100%; object-fit: cover; }
.collage__side { position: absolute; right: 0; bottom: 0; width: 46%; margin: 0; overflow: hidden; border: 5px solid var(--c-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1; transform: rotate(3deg); }
.collage__side img { width: 100%; height: 100%; object-fit: cover; }
.collage--one { padding: var(--sp-3); }
.about h2 { margin-top: var(--sp-3); font-size: calc(var(--fs-5) * var(--ds)); }
.lead { margin-top: var(--sp-5); padding-left: var(--sp-4); border-left: 3px solid var(--c-accent-lt); font-size: var(--fs-4); font-style: italic; line-height: 1.45; color: var(--tx-strong); }
.about p + p { margin-top: var(--sp-3); }
.about .lead + p { margin-top: var(--sp-5); }
.features { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.feature { padding: var(--sp-4); border-radius: var(--radius); background: var(--sf); border: 1px solid var(--ln); }
.feature strong { display: block; font-family: var(--font-display); font-weight: var(--fw-display); font-size: calc(var(--fs-3) * 1.12 * var(--ds-h3)); line-height: 1.2; text-transform: var(--display-case); letter-spacing: var(--ls-display); color: var(--tx-strong); }
.feature p { margin-top: var(--sp-1); font-size: var(--fs-2); }
@media (min-width: 40rem) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .about { grid-template-columns: 1fr 1fr; gap: var(--sp-9); } }

/* ---------- reviews ---------- */
.topics { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-6) 0 0; padding: 0; list-style: none; }
.topics li { padding: var(--sp-2) var(--sp-3); border: 1px solid var(--ln); border-radius: 999px; background: var(--sf); font-size: var(--fs-1); font-weight: var(--fw-bold); color: var(--tx-strong); }
.topics li b { color: var(--tx-accent); }
.quotes { margin-top: var(--sp-7); }
.review { position: relative; display: flex; flex-direction: column; margin: 0; padding: var(--sp-6); background: var(--sf); border: 1px solid var(--ln); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--tx); }
.section--dark .review { box-shadow: none; }
.review::before { content: "\201C"; position: absolute; top: var(--sp-2); right: var(--sp-5); font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--tx-accent); opacity: .3; }
.review .stars { color: var(--c-star); letter-spacing: .12em; }
.review p { max-width: 70ch; margin-top: var(--sp-3); color: var(--tx-strong); }
.review footer { display: flex; align-items: center; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-4); font-size: var(--fs-1); color: var(--tx-muted); }
/* the name over where and when: two lines on purpose in every card, so no card wraps where its neighbour does not */
.review__by { display: grid; min-width: 0; line-height: 1.3; }
.review__by b { font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--tx-strong); overflow-wrap: anywhere; }
.review__g { flex: none; width: 1.1rem; height: 1.1rem; margin-left: auto; }
.review__who { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 999px; background: var(--c-accent); color: var(--c-on-accent); font-family: var(--font-ui); font-size: var(--fs-2); }
.reviews-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* ---------- rate us (review funnel) ---------- */
.rate { max-width: 38rem; margin: var(--sp-7) auto 0; text-align: center; color: var(--c-body); }
.rate__stars { display: flex; justify-content: center; gap: var(--sp-2); }
.rate__star { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; padding: 0; border: 2px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); color: var(--c-star-off); cursor: pointer; transition: transform var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.rate__star svg { width: 2rem; height: 2rem; fill: currentColor; }
.rate__star.is-lit { color: var(--c-star); border-color: var(--c-star); }
.rate__star:hover { transform: translateY(-2px); }
.rate__hint { margin-top: var(--sp-3); font-size: var(--fs-2); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-muted); }
.rate__panel { margin-top: var(--sp-6); padding: var(--sp-6); text-align: left; background: var(--c-surface); border: 1px solid var(--c-line); border-top: 4px solid var(--c-accent); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.rate__panel[hidden] { display: none; }
.rate__go { margin-top: var(--sp-6); }
.rate__panel h2, .rate__panel h3 { font-size: calc(var(--fs-4) * var(--ds-h3)); color: var(--c-ink); }
.rate__panel > p { margin-top: var(--sp-2); }
.rate__panel > .field, .rate__panel > .btn, .rate__panel .form { margin-top: var(--sp-4); }
.rate__issues { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; border: 0; }
.rate__issues legend { width: 100%; margin-bottom: var(--sp-2); font-size: var(--fs-2); font-weight: var(--fw-bold); color: var(--c-ink); }
.rate__chip { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; padding: 0 var(--sp-4); border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-paper); font-size: var(--fs-2); color: var(--c-ink); cursor: pointer; }
.rate__chip input { accent-color: var(--c-accent); }
.rate__chip:has(input:checked) { border-color: var(--c-accent); background: var(--c-accent-tint); color: var(--c-ink); }
.rate__note { margin-top: var(--sp-3); font-size: var(--fs-2); color: var(--c-muted); }
@media (max-width: 23.9375rem) { .rate__star { width: 3rem; height: 3rem; } }
.review-page { padding-block: var(--sp-8); }
body.is-review { background: var(--c-surface); }
.review-note { margin-top: var(--sp-8); text-align: center; font-size: var(--fs-2); color: var(--c-muted); }
.review-note a { color: var(--c-accent-ink); font-weight: var(--fw-bold); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: var(--sp-7); align-items: start; }
.faq-list { border-top: 1px solid var(--ln); }
.faq { border-bottom: 1px solid var(--ln); }
.faq summary { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5) 0; list-style: none; cursor: pointer; font-weight: var(--fw-bold); color: var(--tx-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 999px; border: 1px solid var(--ln); font-family: var(--font-ui); font-size: var(--fs-3); line-height: 1; color: var(--tx-accent); transition: transform var(--t-fast); }
.faq[open] summary::after { content: "\2212"; }
.faq p { padding-bottom: var(--sp-5); font-size: var(--fs-2); max-width: 68ch; color: var(--tx); }
@media (min-width: 64rem) { .faq-layout { grid-template-columns: 4fr 7fr; gap: var(--sp-9); } .faq-layout > :first-child { position: sticky; top: calc(var(--header-h) + var(--sp-5)); } }

/* ---------- contact ---------- */
.contact { display: grid; gap: var(--sp-7); align-items: start; }
.rows-info { display: grid; gap: 0; margin: var(--sp-6) 0 0; border-top: 1px solid var(--ln); }
.info { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--sp-4); padding-block: var(--sp-4); border-bottom: 1px solid var(--ln); }
.info dt { font-size: var(--fs-1); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--tx-accent); padding-top: var(--sp-1); }
.info dd { margin: 0; font-size: var(--fs-2); color: var(--tx-strong); }
.info .phone { font-family: var(--font-ui); font-weight: var(--fw-display); font-size: var(--fs-4); text-decoration: none; }
/* the live map of the town, framed like the reference sites; a business that works from home shows the town only */
.map { position: relative; margin-top: var(--sp-6); overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--ln); box-shadow: var(--shadow-md); aspect-ratio: 16 / 11; background: var(--c-ink); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.map__tag { position: absolute; left: var(--sp-3); bottom: var(--sp-3); display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-1) var(--sp-3); border-radius: 999px; background: var(--c-ink); color: var(--c-on-dark-strong); font-size: var(--fs-1); font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.map__tag::before { content: ""; width: .5rem; height: .5rem; border-radius: 999px; background: var(--c-accent-lt); box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.map-link { display: inline-flex; margin-top: var(--sp-4); }
@media (min-width: 64rem) { .contact { grid-template-columns: 7fr 5fr; gap: var(--sp-9); } }

/* ---------- closing band: the name, big, in the brand colour ---------- */
.closer { position: relative; overflow: hidden; isolation: isolate; background: var(--c-accent); color: var(--c-on-accent); text-align: center; }
/* the light sits below the top edge, so the divider above meets flat brand colour, not a cut-off glow */
.closer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 45%, rgba(255, 255, 255, .14) 0%, transparent 72%), linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .18) 100%); }
.closer .wrap { display: grid; justify-items: center; gap: var(--sp-5); padding-block: var(--sp-9); container-type: inline-size; }
.closer .eyebrow { color: var(--c-on-accent); }
.closer__name { max-width: 100%; font-family: var(--font-display); font-weight: var(--fw-display); font-size: min(calc(var(--fs-6) * 1.35 * var(--ds)), calc(100cqi / (var(--chars) * var(--mark-w) * .82))); line-height: 1; letter-spacing: var(--ls-display); text-transform: var(--display-case); color: var(--c-on-accent); text-wrap: balance; }
.closer p { max-width: 52ch; }
.closer .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
.closer .btn--ghost { border-color: var(--c-on-accent); color: var(--c-on-accent); background: transparent; }
.closer blockquote { max-width: 58ch; margin: var(--sp-3) 0 0; font-size: var(--fs-2); opacity: .95; }
.closer blockquote footer { margin-top: var(--sp-2); font-size: var(--fs-1); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-on-dark); padding-block: var(--sp-8) var(--sp-10); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
.site-footer .brand { color: var(--c-on-dark-strong); }
.site-footer .brand__sub { white-space: normal; }
.site-footer p { font-size: var(--fs-2); }
.footer-h { margin-bottom: var(--sp-3); font-size: calc(var(--fs-4) * var(--ds-h3)); color: var(--c-on-dark-strong); }
.footer-list { display: grid; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; font-size: var(--fs-2); }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--c-on-dark-strong); text-decoration: underline; }
.footer-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-2); }
.hours th, .hours td { padding: var(--sp-1) 0; text-align: left; font-weight: 400; vertical-align: top; }
.hours th { padding-right: var(--sp-4); color: var(--c-on-dark-strong); white-space: nowrap; }
.footer-phone { display: inline-block; margin-top: var(--sp-4); font-family: var(--font-ui); font-weight: var(--fw-display); font-size: var(--fs-4); color: var(--c-on-dark-strong); text-decoration: none; }
.footer-bottom { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--c-on-dark-line); font-size: var(--fs-1); }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } .footer-bottom { flex-direction: row; justify-content: space-between; } .site-footer { padding-bottom: var(--sp-8); } }

/* ---------- mobile call bar ---------- */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 56px; font-family: var(--font-ui); font-weight: var(--fw-display); font-size: var(--fs-3); letter-spacing: var(--ls-caps); text-transform: uppercase; text-decoration: none; }
.mobile-bar svg { width: 1.1rem; height: 1.1rem; }
.mobile-bar .call { background: var(--c-accent); color: var(--c-on-accent); }
.mobile-bar .msg { background: var(--c-ink); color: var(--c-on-dark-strong); }
@media (min-width: 64rem) { .mobile-bar { display: none; } }

/* ---------- reveal on scroll (app.js adds .js to html; without script everything simply shows) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .btn:hover, .rate__star:hover, .shot:hover img, .card:hover, .card--media:hover .card__media img { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .ticker ul[aria-hidden] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; padding-inline: var(--sp-4); }
  .road__car { animation: none; transform: translateX(62%); }
}

/* grid children may shrink below their content, so nothing pushes a 390px page sideways */
.hero__grid > *, .about > *, .contact > *, .faq-layout > *, .head-row > *, .closer .wrap > * { min-width: 0; }

/* ---------- service area card when there is no town to map ---------- */
.area { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-3); margin-top: var(--sp-6); min-height: 12rem; padding: var(--sp-6); border-radius: var(--radius-lg); background: var(--hero-plain); color: var(--c-on-dark); }
.area strong { font-family: var(--font-display); font-weight: var(--fw-display); font-size: calc(var(--fs-4) * 1.25 * var(--ds-h3)); line-height: 1.1; text-transform: var(--display-case); color: var(--c-on-dark-strong); text-wrap: balance; }
.area a { align-self: flex-start; }

/* ---------- one grade on every photo, so mixed phone shots read as one shoot ---------- */
.shot__media::after, .card__media::after, .collage__main::after, .collage__side::after { content: ""; position: absolute; inset: 0; background: var(--c-photo-wash); pointer-events: none; }
.shot img, .card__media img, .collage img { filter: saturate(1.06) contrast(1.04); }

/* ---------- about with no photo ---------- */
@media (min-width: 64rem) {
  .about--text { grid-template-columns: minmax(0, 1fr); }
  .about--text > div { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--sp-9); align-items: start; }
  .about--text > div > * { grid-column: 1; }
  .about--text .features { grid-column: 2; grid-row: 1 / span 9; margin-top: 0; align-self: center; grid-template-columns: minmax(0, 1fr); }
}
.footer-blurb { margin-top: var(--sp-5); max-width: 34ch; }

/* ---------- grids that always fill their rows ----------
   fill.mjs gives every cell its span of a 12 column grid (s3, s4, s6, s12), rows of at most 3 or 4 with the fuller rows
   first. Phones: one column (photo grids keep two). Tablets: two columns, an odd last cell takes the whole row. */
.g12 { display: grid; gap: var(--sp-5); grid-template-columns: minmax(0, 1fr); }
.g12--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
@media (max-width: 63.99rem) {
  .g12--pairs > :last-child:nth-child(odd) { grid-column: span 2; }
  .g12--pairs > :last-child:nth-child(odd) .shot__media { aspect-ratio: 16 / 9; }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .g12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g12 > :last-child:nth-child(odd) { grid-column: span 2; }
  /* reviews run word for word and differ in length, so side by side on a tablet a short one stands in a tall box: one column */
  .quotes.g12 { grid-template-columns: minmax(0, 1fr); }
  .quotes.g12 > :last-child { grid-column: auto; }
}
@media (min-width: 64rem) {
  .g12, .g12--pairs { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-5); }
  .g12 > .s3 { grid-column: span 3; } .g12 > .s4 { grid-column: span 4; } .g12 > .s6 { grid-column: span 6; } .g12 > .s12 { grid-column: span 12; }
  .g12 > .s5 { grid-column: span 5; } .g12 > .s7 { grid-column: span 7; } .g12 > .s8 { grid-column: span 8; }
  .g12 > .s6 .shot__media { aspect-ratio: 16 / 10; } .g12 > .s12 .shot__media { aspect-ratio: 21 / 9; }
}
/* small laptops: a row of four is too tight for card text, so it becomes two rows of two (still no gaps) */
@media (min-width: 64rem) and (max-width: 79.99rem) { .g12 > .s3 { grid-column: span 6; } }

/* ---------- phones first: most people open the page from a text (Baraa, 2026-11-10) ----------
   scripts/check-phone.mjs measures every rule here at 360, 390 and 430px and fails the build when one breaks. */
/* the logo shows once. The header stays on screen, so while the hero is one column a second logo right under it is left
   out and the headline leads at its full size */
@media (max-width: 63.99rem) {
  .hero__logo, .quote-card__logo { display: none; }
  .hero--logo h1 { font-size: calc(var(--fs-6) * var(--ds)); }
  /* a thumb needs 44px: footer links, the phone numbers and the text links under cards */
  .footer-list { gap: 0; }
  .footer-list a, .footer-phone, .info .phone { display: flex; align-items: center; min-height: 44px; }
  .footer-phone { margin-top: var(--sp-3); }
  .info .phone { margin-block: calc(var(--sp-2) * -1); }
  .more { min-height: 44px; }
  /* under 16px an iPhone zooms the whole page in when a field is tapped */
  .field { font-size: var(--fs-3); }
}
@media (max-width: 39.99rem) {
  /* the first screen: trade line, headline, what they do, then the proof chips and the form */
  .hero__grid > :first-child { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__grid { padding-block: var(--sp-6) var(--sp-8); }
  .hero h1 { margin-top: var(--sp-3); }
  .hero__sub { margin-top: var(--sp-4); }
  .pills { order: 5; margin: var(--sp-5) 0 0; }
  /* the wide type runs small at phone size; its headings step up so every type reads from arm's length */
  .head h2, .about h2 { font-size: calc(var(--fs-5) * max(var(--ds), .8)); }
  /* sections sit closer: 4rem above and below instead of 5.5rem, and the content starts 2rem under its heading */
  .section { padding-block: var(--sp-8); }
  .cards, .gallery, .steps { margin-top: var(--sp-6); }
  .quotes { margin-top: var(--sp-6); }
  .about { gap: var(--sp-6); }
  .closer .wrap { padding-block: var(--sp-8); }
  .divider { height: 4rem; }
  .divider--road { height: 5rem; }
  .road__car svg { width: 7.5rem; }
  /* boxes give their words the room: 1.5rem of padding instead of 2rem */
  .card:not(.card--media), .card__body, .review, .quote-card, .card-form, .rate__panel { padding: var(--sp-5); }
  /* a long label wraps inside its button instead of pushing the page sideways */
  .btn { white-space: normal; text-align: center; text-wrap: balance; }
  .reviews-cta .btn { width: 100%; font-size: var(--fs-2); }
  /* steps: a list down the left with the icon beside its words and a dashed line joining them, not a tall centred stack */
  .head--center:has(+ .steps) { margin-inline: 0; text-align: left; }
  .steps { gap: var(--sp-6); }
  .step { grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: var(--sp-4); row-gap: var(--sp-1); padding: 0; text-align: left; }
  .step__icon { grid-row: 1 / span 3; width: 3rem; height: 3rem; box-shadow: 0 0 0 6px var(--c-accent-tint); }
  .step__n { margin-top: 0; }
  .step p { max-width: none; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: calc(1.5rem - 1px); top: calc(3rem + 6px); bottom: calc(var(--sp-6) * -1 + 6px); width: 2px; background: linear-gradient(180deg, var(--c-accent) 0 50%, transparent 0) 0 0 / 2px 12px repeat-y; opacity: .55; }
  /* the closing name may take two or three lines, so it stays big instead of shrinking to fit one */
  .closer__name { font-size: min(calc(var(--fs-6) * 1.35 * var(--ds)), calc(100cqi / (var(--chars-sm, var(--chars)) * var(--mark-w) * .9))); }
  /* footer: the two link lists side by side, and room under the last line for the call bar */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-5); }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .site-footer { padding-bottom: calc(56px + var(--sp-7) + env(safe-area-inset-bottom, 0px)); }
}
/* a tap answers at once: the button dips under the thumb, with no grey flash over it */
.btn, .mobile-bar a, .more, .nav-toggle, .faq summary, .rate__star { -webkit-tap-highlight-color: transparent; }
.btn:active, .mobile-bar a:active { filter: brightness(.9); }
/* the call bar clears the home bar on phones that have one */
.mobile-bar { background: var(--c-ink); padding-bottom: env(safe-area-inset-bottom, 0px); }

/* ---------- Suncoast Floors: client layer (build/client.cjs) ---------- */
/* his colours: the template's dark sections turn light blue, and the text and card scopes they set turn to the light
   ones, so every component reads its colours from the right scope (values in tokens.css) */
body { background: var(--c-surface); }
.section--dark, .hero, .band { --tx: var(--c-body); --tx-strong: var(--c-ink); --tx-accent: var(--c-accent-ink); --tx-muted: var(--c-muted); --sf: var(--c-surface); --sf-2: var(--c-paper); --ln: var(--c-sky-line); }
.section--dark { background: var(--c-sky); }
.section--dark::before { background: radial-gradient(70% 55% at 100% 0%, var(--c-glow) 0%, transparent 70%); }
.section--dark .ticks li::before { background: var(--c-accent); }
.section--dark .card { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--shadow-sm); }
.hero { background: var(--c-sky); }
.hero h1 { color: var(--c-ink); }
.hero h1 em { color: var(--c-accent-ink); }
.hero__sub { color: var(--c-body); }
.pills li { background: var(--c-surface); border-color: var(--c-sky-line); color: var(--c-ink); }
.band { background: var(--c-surface); border-top: 1px solid var(--c-sky-line); }
.hl__icon { box-shadow: 0 0 0 6px var(--c-sky); }
.divider { background: var(--c-sky); }
.divider .fill-ink { fill: var(--c-sky); }
.closer::before { background: radial-gradient(60% 55% at 50% 45%, rgba(255, 255, 255, .22) 0%, transparent 72%); }
.card__media { background: var(--c-sky); }
/* the line under his name ("Shop at home flooring · St. Petersburg") does not fit beside the menu and was cut off; the
   hero's first line right below says the same (the template already hides it on phones for that reason) */
.site-header .brand__sub { display: none; }
/* Services opens a list of his five service pages (build recipe: each service page has a link in the main menu) */
.nav-drop { position: relative; }
.nav-drop__btn { display: inline-flex; align-items: center; gap: var(--sp-1); min-height: 44px; padding: var(--sp-2) 0; border: 0; border-bottom: 2px solid transparent; background: none; color: inherit; font: inherit; font-size: var(--fs-2); font-weight: var(--fw-bold); opacity: .9; cursor: pointer; white-space: nowrap; }
.nav-drop__btn:hover { opacity: 1; border-bottom-color: var(--c-accent); }
.nav-drop__btn svg { width: var(--sp-4); height: var(--sp-4); transition: transform var(--t-fast); }
.nav-drop__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop__btn[aria-current="true"] { opacity: 1; border-bottom-color: var(--c-accent); }
.nav-drop__menu { position: absolute; top: calc(100% + var(--sp-2)); left: calc(var(--sp-4) * -1); z-index: 60; min-width: 15rem; padding: var(--sp-2) 0; background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); border-top: 3px solid var(--c-accent); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.nav-drop__menu[hidden] { display: none; }
.nav .nav-drop__menu a { display: block; padding: var(--sp-3) var(--sp-4); border-bottom: 0; opacity: 1; }
.nav .nav-drop__menu a:hover, .nav .nav-drop__menu a:focus-visible { background: var(--c-sky); }
.nav .nav-drop__menu a[aria-current="page"] { color: var(--c-accent-ink); box-shadow: inset 3px 0 0 var(--c-accent); }
@media (prefers-reduced-motion: reduce) { .nav-drop__btn svg { transition: none; } }
/* on phones the service pages sit under Services in the menu, which scrolls when it is taller than the screen */
.mobile-sub { display: flex; flex-direction: column; margin: calc(var(--sp-2) * -1) 0 var(--sp-2) var(--sp-4); }
.mobile-nav .mobile-sub a:not(.btn) { padding-block: var(--sp-2); min-height: 44px; display: flex; align-items: center; font-size: var(--fs-2); opacity: .9; }
.mobile-nav a[aria-current="page"] { color: var(--c-accent-ink); opacity: 1; }
.mobile-nav[data-open="true"] { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
/* his email and the areas list in the contact rows; the email is one long word, so it wraps instead of pushing the page */
.info dd, .footer-email { overflow-wrap: anywhere; }
.info dd > a:not(.phone), .footer-email a { display: inline-flex; align-items: center; min-height: 44px; }
.info dd > a:not(.phone) { color: var(--c-accent-ink); font-weight: var(--fw-bold); }
.footer-email { margin-top: var(--sp-1); font-size: var(--fs-2); }
.footer-email a { color: inherit; }
.area-list { display: grid; gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }
.area-list li { display: flex; gap: var(--sp-2); align-items: baseline; }
.area-list li::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 2px; background: var(--c-accent); transform: translateY(-.1rem); }
.area-note { margin-top: var(--sp-3); color: var(--c-body); }
.area-note a { color: var(--c-accent-ink); font-weight: var(--fw-bold); }
