/* ProLine, автосервиз в Пловдив.
   Посока: „името като паметник“. PROLINE е надписът над халето: огромни тесни букви в тъмносиньо на бяло,
   под тях снимките от подемниците. Цветовете са от халето: бели панели, стомана, тъмносиньо (кантовете и логото)
   и кехлибар само там, където нещо иска внимание: лампите на таблото и местата за попълване.
   Шрифт: Sofia Sans Extra Condensed за надписите и Sofia Sans за текста (кирилица с български форми). */

/* ---------- tokens ---------- */
:root {
  --bg: #ffffff;
  --surface: #f1f2f4;
  --surface-2: #e4e7eb;
  --surface-3: #d3d8df;
  --ink: #1f2b4d;
  --ink-soft: #33405f;
  --muted: #5b6478;
  --accent: #f7941d;
  --accent-ink: #1f2b4d;
  --lamp-amber: #f7a21b;
  --lamp-red: #ef3b32;
  --field: #05070a;
  --field-2: #0f141c;
  --field-3: #1a212d;
  --field-ink: #ffffff;
  --field-muted: #a9b0bd;

  --font-display: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --font-text: 'Sofia Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-statement: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  --step-head: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  --step-display: clamp(4rem, 1.5rem + 9vw, 10rem);
  /* PROLINE от край до край: думата е 2,65 em широка */
  --step-mono: min(calc((100vw - 2 * var(--margin)) / 2.72), 56svh);

  --margin: clamp(1rem, 2vw, 1.75rem);
  --gutter: clamp(1rem, 1.6vw, 1.5rem);
  --section: clamp(7.5rem, 12vw, 13rem);
  --header: 4rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; animation-timing-function: var(--ease-out); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--field); scroll-padding-top: calc(var(--header) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.5; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, fieldset { margin: 0; }
ul[role="list"], ol[role="list"], ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: 0.7rem 1rem; text-decoration: none; }
.skip:focus { top: 0.5rem; }
[hidden] { display: none !important; }
main { position: relative; z-index: 1; background: var(--bg); }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: inherit; text-wrap: balance; hyphens: none; }
.display, .head, .p-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; }
.display, .p-title { font-size: var(--step-display); line-height: 0.86; }
.head { font-size: var(--step-head); line-height: 0.92; }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 38ch; text-wrap: pretty; }
.nums { font-variant-numeric: tabular-nums; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }

/* място за попълване: кехлибар като предупредителна лампа */
.tbd { display: inline-block; padding: 0.12em 0.55em 0.16em; background: var(--accent); color: var(--accent-ink); font-family: var(--font-text); font-size: var(--step-small); font-weight: 700; line-height: 1.35; letter-spacing: 0; text-transform: none; vertical-align: 0.12em; white-space: normal; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 3rem; padding: 0 1.4rem; background: var(--ink); color: #fff; border-radius: 0; font-weight: 700; font-size: var(--step-body); line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button[disabled] { opacity: 0.45; cursor: not-allowed; }
.button--big { min-height: 3.5rem; padding: 0 1.6rem; }
.button--ghost { background: var(--surface-2); color: var(--ink); }
.button--light { background: #fff; color: var(--ink); }
.button--bar { min-height: 2.5rem; padding: 0 1rem; }
.link { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.link-arrow { font-weight: 700; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 0.1em; text-decoration-color: var(--accent); transition: text-decoration-color var(--t-hover) ease; }
button.link { font-size: inherit; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #2c3b66; }
  .button--ghost:hover { background: var(--surface-3); }
  .button--light:hover { background: var(--surface-2); }
  .link:hover { text-decoration-color: currentColor; }
  .link-arrow:hover { text-decoration-color: currentColor; }
}
.field { display: block; width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; background: #fff; color: var(--ink); border: 0; border-radius: 0; font-size: max(1rem, 16px); }
.field::placeholder { color: var(--muted); }
.field--dark { background: var(--field-3); color: #fff; }
.field--dark::placeholder { color: var(--field-muted); }
select.field { appearance: none; padding-right: 2.5rem; }
.photo-btn { display: block; width: 100%; overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.photo-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .photo-btn:hover img { transform: scale(1.035); } }
figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--muted); }

/* ---------- layout ---------- */
.section { padding: calc(var(--section) / 2) var(--margin); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); transition: transform 360ms var(--ease-out), background-color 300ms ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.page-home .site-header { background: transparent; }
.page-home .site-header.is-solid, .page-home .site-header.menu-open { background: var(--bg); }
.bar { height: var(--header); display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); padding: 0 var(--margin); }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; white-space: nowrap; }
.brand-mark { flex: none; height: 2rem; width: auto; color: var(--ink); transition: transform 600ms var(--ease-out); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: var(--step-lead); line-height: 1; letter-spacing: 0.01em; padding-top: 0.08em; }
@media (hover: hover) and (pointer: fine) { .brand:hover .brand-mark { transform: rotate(-30deg); } }
.nav { margin-left: auto; display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-link { font-size: var(--step-body); font-weight: 600; text-decoration: none; padding: 0.4rem 0; color: var(--ink); text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; text-decoration-line: underline; text-underline-offset: 0.45em; text-decoration-thickness: 2px; }
.nav-link[aria-current="page"], .nav-link.is-current, .nav-services[aria-expanded="true"] { text-decoration-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .nav-link:hover { text-decoration-color: var(--ink); } }
.menu-btn { display: none; margin-left: auto; min-height: 2.75rem; padding: 0 1rem; background: var(--surface-2); font-weight: 700; }
.menu-btn-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn-close { display: inline; }

.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); padding: 2rem var(--margin) 2.5rem; opacity: 0; transform: translateY(-0.5rem); transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
.menu.is-open { opacity: 1; transform: none; }
.menu-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.menu-services a { display: grid; gap: 0.3rem; text-decoration: none; overflow: hidden; }
.menu-thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 0.6rem; transition: transform 700ms var(--ease-out); }
.menu-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-lead); line-height: 1.05; }
.menu-sub { color: var(--muted); font-size: var(--step-small); }
.menu-extra, .menu-contact { display: none; }
@media (hover: hover) and (pointer: fine) { .menu-services a:hover .menu-thumb { transform: scale(1.04); } }

/* ---------- home: the name over the hall ---------- */
.hero-pin { position: relative; height: 100svh; min-height: 36rem; margin-top: calc(-1 * var(--header)); background: var(--ground, var(--surface)); transition: background-color 700ms ease; }
.hero-pin.is-pinned { height: calc(100svh + (var(--steps) - 1) * 50svh); }
.hero-stick { position: sticky; top: 0; height: 100svh; min-height: 36rem; overflow: clip; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: var(--gutter); padding: 0 var(--margin) clamp(1.5rem, 4svh, 2.5rem); }
.hero-frames { --ph: calc(100svh - var(--header) - 1.75rem); position: absolute; z-index: 0; top: calc(var(--header) + 1.75rem); left: 50%; height: max(var(--ph), 30rem); width: min(calc(var(--ph) * 2 / 3), 40vw); transform: translateX(-50%); background: var(--surface-2); overflow: hidden; }
.hero-frame { position: absolute; inset: 0; z-index: var(--z); clip-path: inset(calc((1 - var(--p, 0)) * 100%) 0 0 0); }
.hero-frame:first-child { --p: 1; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.08 - var(--p, 0) * 0.08)); transform-origin: 50% 100%; }
.hero-title { position: relative; z-index: 3; grid-column: 1 / -1; grid-row: 1; display: grid; margin-top: clamp(5rem, 13.5svh, 7.5rem); color: var(--ink); }
.hero-word { justify-self: center; font-family: var(--font-display); font-weight: 800; font-size: var(--step-mono); line-height: 0.74; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.hero-kind { justify-self: start; margin-top: clamp(0.9rem, 2.2svh, 1.4rem); font-family: var(--font-display); font-weight: 800; font-size: var(--step-lead); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.hero-caps { position: relative; z-index: 3; grid-column: 10 / 13; grid-row: 2; align-self: end; justify-self: end; display: grid; margin-bottom: 1.5rem; }
.hero-cap { grid-area: 1 / 1; max-width: 20ch; text-align: right; font-size: var(--step-small); font-weight: 600; color: var(--ink-soft); opacity: 0; transform: translateY(0.5rem); transition: opacity 400ms ease, transform 500ms var(--ease-out); }
.hero-cap.is-on { opacity: 1; transform: none; }
.hero-sub { position: relative; z-index: 3; grid-column: 1 / 4; grid-row: 3; align-self: end; }
.hero-sub p { max-width: 28ch; font-weight: 600; }
.hero-sub .hero-tbd { margin-top: 0.9rem; }
.hero-act { position: relative; z-index: 3; grid-column: 9 / 13; grid-row: 3; align-self: end; justify-self: end; display: grid; justify-items: end; gap: 0.6rem; }
.hero-open, .call-open, .c-open { font-size: var(--step-small); font-weight: 600; }
.hero-open::before, .call-open::before, .c-open::before { content: ''; display: inline-block; width: 0.6rem; height: 0.6rem; margin-right: 0.5rem; border-radius: 50%; background: var(--muted); vertical-align: 0.05em; }
[data-open].is-open::before { background: #2f9e57; }
[data-open].is-closed::before { background: var(--lamp-red); }

/* ---------- intro: title, note, facts ---------- */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; padding-top: calc(var(--section) * 0.7); }
.intro-head { grid-column: 1 / 8; }
.intro-note { grid-column: 9 / 13; max-width: 34ch; }
.facts-row { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 2rem var(--gutter); margin-top: clamp(4rem, 8vw, 7.5rem); }
.facts-row > div { min-width: 0; }
.fact { font-family: var(--font-display); font-weight: 800; font-size: var(--step-head); line-height: 0.92; text-transform: uppercase; }
.facts-row dd { margin-top: 0.5rem; max-width: 24ch; font-size: var(--step-small); color: var(--muted); }
.intro-photo { grid-column: 6 / 13; grid-row: 3; margin-top: clamp(3rem, 6vw, 5rem); }
.intro-small { grid-column: 1 / 5; grid-row: 3; align-self: end; }
.intro-small .photo-btn { aspect-ratio: 3 / 4; }
.intro-photo .photo-btn { aspect-ratio: 4 / 3; }

/* ---------- what we repair: three columns of names ---------- */
.svc-index { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(3rem, 6.5vw, 6rem); align-items: start; }
.svc-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1.25rem; }
.svc-title { font-family: var(--font-display); font-weight: 800; font-size: var(--step-head); line-height: 0.92; text-transform: uppercase; }
.svc-col { grid-column: span 3; }
.svc-col:nth-child(2) { grid-column: 1 / 4; }
.svc-col:nth-child(3) { grid-column: 4 / 7; }
.svc-col:nth-child(4) { grid-column: 7 / 10; }
.svc-group { font-size: var(--step-body); font-weight: 700; line-height: 1.25; margin-bottom: 1.25em; }
.svc-group a { text-decoration: none; }
.svc-items { display: grid; gap: 0.2rem; }
.svc-items li { width: fit-content; font-size: var(--step-body); line-height: 1.3; color: var(--ink-soft); cursor: default; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 2px; transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease; outline-offset: 2px; }
.svc-items li:hover, .svc-items li:focus-visible, .svc-items li.is-on { color: var(--ink); text-decoration-color: var(--accent); }
.svc-sum { display: none; }
.svc-desc { grid-column: 10 / 13; grid-row: 2; align-self: start; font-size: var(--step-body); font-weight: 600; min-height: 4.5em; }
@media (hover: hover) and (pointer: fine) { .svc-group a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.22em; text-decoration-thickness: 2px; } }

/* ---------- brands in the hall: square plate, spare text ---------- */
.plate { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--surface); }
.plate-media { position: relative; align-self: center; margin: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem) var(--margin); aspect-ratio: 1; }
.plate-photo { position: absolute; inset: 0; display: block; overflow: hidden; cursor: zoom-in; background: var(--surface-2); opacity: 0; visibility: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 900ms var(--ease-in-out), opacity 0ms linear 900ms, visibility 0ms linear 900ms; }
.plate-photo.is-on { opacity: 1; visibility: visible; clip-path: inset(0); transition: clip-path 900ms var(--ease-in-out); z-index: 1; }
.plate-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .plate-photo:hover img { transform: scale(1.03); } }
.plate-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; padding: clamp(2rem, 4vw, 3.5rem) var(--margin) clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem); }
.plate-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.plate-tab { min-height: 2.75rem; font-size: var(--step-lead); font-weight: 600; color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.35em; text-decoration-thickness: 3px; transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease; }
.plate-tab[aria-selected="true"] { color: var(--ink); text-decoration-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .plate-tab:hover { color: var(--ink); } }
.plate-head { font-size: var(--step-head); }
.plate-panel { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.plate-title { font-size: var(--step-lead); font-weight: 700; line-height: 1.2; }
.plate-panel p { margin-top: 0.9rem; max-width: 36ch; }
.plate-panel:not([hidden]) { animation: rise 600ms var(--ease-out) both; }
.plate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { display: flex; align-items: center; min-height: 4.5rem; padding: 0 1.25rem; background: var(--surface-2); color: var(--ink); font-weight: 700; text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cell--ink { background: var(--ink); color: #fff; }
.cell:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .cell:hover { background: var(--surface-3); } .cell--ink:hover { background: #2c3b66; } }

/* ---------- the dashboard: the live thing ---------- */
.lamps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: center; padding: calc(var(--section) / 2) var(--margin); background: var(--field); color: var(--field-ink); }
.lamps-copy { grid-column: 1 / 6; }
.lamps-copy .lead { margin-top: 1.5rem; color: var(--field-ink); }
.lamps-out { margin-top: 2.25rem; display: grid; gap: 0.9rem; }
.lamps-count { font-weight: 700; }
.msg { min-height: 5em; padding: 1rem 1.1rem; background: var(--field-2); color: var(--field-ink); line-height: 1.5; max-width: none; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.send .link { font-size: var(--step-body); }
.send .link[disabled] { opacity: 0.45; cursor: not-allowed; }
.lamps-note { font-size: var(--step-small); color: var(--field-muted); }
.lamps-note .link { color: var(--field-ink); }
.cluster { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; padding: clamp(1rem, 2.5vw, 2rem); background: var(--field-2); }
.lamp { display: grid; justify-items: center; align-content: center; gap: 0.75rem; aspect-ratio: 5 / 4; padding: 1rem 0.5rem; background: transparent; color: #4b5466; transition: background-color var(--t-hover) ease, color 160ms ease, transform var(--t-press) var(--ease-out); }
.lamp svg { width: clamp(2.75rem, 4.4vw, 4.25rem); height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lamp .lamp-fill { fill: currentColor; stroke: none; }
.lamp text { font-family: var(--font-text); font-size: 9.5px; font-weight: 800; }
.lamp .lamp-teeth { stroke-width: 4.4; stroke-linecap: butt; }
.lamp-name { font-size: var(--step-small); font-weight: 600; line-height: 1.25; color: var(--field-muted); text-align: center; transition: color var(--t-hover) ease; }
.lamp:active { transform: scale(0.96); }
.lamp[aria-pressed="true"] { background: transparent; }
.lamp[aria-pressed="true"] .lamp-name { color: var(--field-ink); }
.lamp--amber[aria-pressed="true"] { color: var(--lamp-amber); }
.lamp--red[aria-pressed="true"] { color: var(--lamp-red); }
@media (hover: hover) and (pointer: fine) { .lamp:hover:not([aria-pressed="true"]) { color: #7a8396; } .lamp:hover .lamp-name { color: var(--field-ink); } }

/* ---------- names from the reviews ---------- */
.names { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; padding-top: calc(var(--section) * 0.6); padding-bottom: calc(var(--section) * 0.6); }
.names-main { grid-column: 1 / 9; }
.names-score { grid-column: 9 / 13; justify-self: end; display: grid; justify-items: end; text-align: right; }
.names-num { font-family: var(--font-display); font-weight: 800; font-size: var(--step-display); line-height: 0.8; }
.names-of { margin-top: 0.75rem; font-size: var(--step-small); font-weight: 600; color: var(--muted); }
.names-text { font-size: var(--step-statement); line-height: 1.18; max-width: 46ch; }
.names-lead { display: inline; font-size: inherit; font-weight: 700; color: var(--ink); }
.names-run { display: inline; max-width: none; color: var(--muted); }
.name { transition: color 400ms ease; }
.name.is-lit { color: var(--ink); }
.names-quote { margin-top: 1.5rem; font-size: var(--step-lead); font-weight: 600; max-width: 40ch; }
.names-link { margin-top: 1.25rem; }

/* ---------- strip of small frames ---------- */
.strip { padding-top: calc(var(--section) * 0.35); }
.strip-title { position: relative; z-index: 2; margin-bottom: -0.75rem; font-size: var(--step-lead); font-weight: 700; line-height: 1.2; }
.strip-title a { display: inline-block; padding: 0.15rem 0.6rem 0.25rem 0; background: var(--bg); text-decoration: none; }
.strip-title .nums { color: var(--muted); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .strip-title a:hover .strip-name { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 2px; } }
.strip-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: clamp(0.5rem, 2vw, 1.75rem); align-items: center; }
.strip-frame { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--surface-2); cursor: zoom-in; transition: transform 250ms var(--ease-out); }
.strip-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .strip-frame:hover { transform: scale(1.1); position: relative; z-index: 1; } }
.strip-frame:active { transform: scale(1.04); }

/* ---------- questions: wide heading, indented list ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.faq-head { grid-column: 1 / -1; font-size: var(--step-display); line-height: 0.86; }
.faq-list { grid-column: 5 / 13; display: grid; gap: 0.5rem; margin-top: clamp(3rem, 5.5vw, 5rem); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 0.9rem 1.5rem; margin: 0 -1.5rem; cursor: pointer; list-style: none; font-size: var(--step-lead); line-height: 1.3; transition: background-color var(--t-hover) ease; }
.qa summary::-webkit-details-marker { display: none; }
.qa-mark { position: relative; flex: none; width: 1rem; height: 1rem; }
.qa-mark::before, .qa-mark::after { content: ''; position: absolute; top: 0.2rem; width: 0.62rem; height: 0.62rem; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); left: 0.18rem; transition: transform var(--t-ui) var(--ease-out); }
.qa-mark::after { display: none; }
.qa[open] .qa-mark::before { transform: translateY(0.3rem) rotate(-135deg); }
.qa[open] { background: var(--surface); margin: 0 -1.5rem; }
.qa[open] summary { margin: 0; }
.qa-body { padding: 0 1.5rem 1.5rem; }
.qa-body p { max-width: 48ch; }
@media (hover: hover) and (pointer: fine) { .qa:not([open]) summary:hover { background: var(--surface); } }

/* ---------- the call: the phone number as display type ---------- */
.call { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); overflow: clip; grid-template-rows: auto 1fr auto; row-gap: 2rem; padding: clamp(2rem, 5vw, 4rem) var(--margin) clamp(1.5rem, 3vw, 2.25rem); background: var(--ink); color: #fff; }
.call-top { display: grid; justify-items: start; gap: 1rem; }
.call-title { max-width: 24ch; font-size: var(--step-lead); font-weight: 700; line-height: 1.25; }
.call-open::before { background: #8892a8; }
.call-phone { align-self: end; justify-self: start; margin-bottom: 9svh; font-family: var(--font-display); font-weight: 800; font-size: calc((100vw - 2 * var(--margin)) / 4.32); line-height: 0.8; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: color var(--t-hover) ease; }
.call-phone span { display: block; }
@media (hover: hover) and (pointer: fine) { .call-phone:hover { color: var(--accent); } .call .link:hover { color: var(--accent); } }
.call-foot { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 2rem; flex-wrap: wrap; font-size: var(--step-small); }
.call-foot p { max-width: 46ch; }
.call-hours { margin-top: 0.6rem; display: grid; gap: 0.1rem; color: #c9cfdb; }
.call-hours li { display: flex; gap: 1.5rem; justify-content: space-between; max-width: 22rem; }
.call-links { display: flex; gap: 1.5rem; font-size: var(--step-body); font-weight: 600; }

/* ---------- footer: columns above, the name below ---------- */
.site-footer { position: sticky; bottom: 0; z-index: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; padding: clamp(2rem, 4vw, 3rem) var(--margin) 1.25rem; background: var(--field); color: var(--field-ink); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--gutter); font-size: var(--step-body); }
.fhead { font-family: var(--font-text); font-size: var(--step-body); font-weight: 700; margin-bottom: 0.6rem; }
.fcol ul { display: grid; gap: 0.35rem; padding: 0; list-style: none; }
.fcol p, .fcol li { color: #c9cfdb; }
.fcol p + p { margin-top: 0.5rem; }
.fcol .link { margin-right: 1rem; }
.footer-phone { font-weight: 700; color: #fff; text-decoration: none; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 19rem; }
.footer-hours li span, .call-hours li span:last-child, .hours li span:last-child { white-space: nowrap; }
.footer-word { grid-row: 3; display: block; text-decoration: none; color: #fff; transition: color 300ms ease; }
.footer-word svg { width: 100%; height: auto; overflow: visible; }
.footer-word text { font-family: var(--font-display); font-weight: 800; font-size: 100px; letter-spacing: -0.01em; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .footer-word:hover { color: var(--accent); } .site-footer .link:hover { color: #fff; } }
.footer-last { grid-row: 4; display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; font-size: var(--step-small); color: var(--field-muted); }

.quickbar { display: none; }
.toast { position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: 120; max-width: min(28rem, calc(100vw - 2rem)); padding: 0.9rem 1.1rem; background: var(--ink); color: #fff; font-size: var(--step-small); opacity: 0; visibility: hidden; transform: translate(-50%, 1rem); pointer-events: none; transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui); }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }

/* ---------- inner pages ---------- */
.p-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: end; padding: clamp(2.5rem, 6vw, 5rem) var(--margin) calc(var(--section) / 2); }
.p-hero-copy { grid-column: 1 / 8; }
.p-hero-copy .lead { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.p-tbd { margin-top: 1.25rem; }
.p-jump { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-weight: 700; }
.p-hero-photo { grid-column: 8 / 13; }
.p-hero-photo .photo-btn { aspect-ratio: 4 / 5; max-height: 74svh; }

.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: center; scroll-margin-top: var(--header); }
.svc-copy .lead { margin-top: 1.5rem; }
.svc-list { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem var(--gutter); }
.svc-list li { padding-left: 1.1rem; position: relative; line-height: 1.35; }
.svc-list li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 0.45rem; height: 0.45rem; background: var(--accent); }
.svc-cta { margin-top: 2rem; }
.svc--a .svc-photo { grid-column: 1 / 7; }
.svc--a .svc-photo .photo-btn { aspect-ratio: 4 / 5; max-height: 86svh; }
.svc--a .svc-copy { grid-column: 8 / 13; }
.svc--b { background: var(--surface); }
.svc--b .svc-copy { grid-column: 1 / 7; }
.svc--b .svc-photo { grid-column: 8 / 13; }
.svc--b .svc-photo .photo-btn { aspect-ratio: 1; }
.svc--c { align-items: start; }
.svc-band { grid-column: 1 / -1; grid-row: 2; }
.svc-band .photo-btn { aspect-ratio: 21 / 9; }
.svc-c-head { grid-column: 1 / 6; grid-row: 1; }
.svc-c-lead { grid-column: 7 / 13; grid-row: 1; align-self: end; }
.svc-c-lists { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--gutter); margin-top: 1rem; }
.svc-c-lists .svc-list { grid-template-columns: 1fr; margin-top: 0.9rem; }
.svc-sub { font-size: var(--step-lead); font-weight: 700; line-height: 1.2; }
.svc--d { align-items: start; }
.svc--d .svc-copy { grid-column: 1 / 7; }
.svc-d-list { grid-column: 8 / 13; }
.svc-d-list .svc-list { margin-top: 0; grid-template-columns: 1fr; }

/* gallery page */
.g-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; align-items: end; padding: clamp(2.5rem, 6vw, 5rem) var(--margin) clamp(2rem, 4vw, 3rem); }
.g-hero h1 { grid-column: 1 / 8; }
.g-hero .lead { grid-column: 8 / 13; }
.filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.filter { min-height: 2.9rem; padding: 0 1rem; background: var(--surface); font-weight: 600; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.filter .nums { margin-left: 0.3rem; color: var(--muted); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter[aria-pressed="true"] .nums { color: #c9cfdb; }
.filter:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .filter:hover:not([aria-pressed="true"]) { background: var(--surface-2); } }
.g-group { padding: clamp(2.5rem, 5vw, 4.5rem) var(--margin); scroll-margin-top: var(--header); }
.g-group-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; margin-bottom: 2rem; }
.g-title { grid-column: 1 / 7; }
.g-about { grid-column: 7 / 13; }
.g-links { margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; }
.tile { display: flex; flex-direction: column; width: 100%; text-align: left; cursor: zoom-in; color: inherit; }
.tile-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.tile-tag { display: grid; gap: 0.35rem; padding: 0.75rem 0 0; font-size: var(--step-small); line-height: 1.3; }
.tag-row { display: flex; gap: 0.5rem; color: var(--muted); font-weight: 600; }
.tag-model { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-lead); line-height: 1; }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile-img img { transform: scale(1.05); } }
.tile:active .tile-img img { transform: scale(1.02); }

/* contact page */
.c-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; padding: clamp(2.5rem, 6vw, 5rem) var(--margin) calc(var(--section) / 2); align-items: start; }
.c-hero-copy { grid-column: 1 / 7; }
.c-hero-copy .lead { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.c-ways { grid-column: 7 / 13; }
.c-phone { display: block; font-family: var(--font-display); font-weight: 800; font-size: min(var(--step-display), calc((50vw - 2 * var(--margin)) / 4.2)); line-height: 0.86; text-decoration: none; white-space: nowrap; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .c-phone:hover { color: #2c3b66; } }
.c-buttons { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 10px; }
.c-info { margin-top: 2.5rem; display: grid; gap: 8px; }
.c-info > div { background: var(--surface); padding: 1.1rem 1.25rem; display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; }
.c-info dt { color: var(--muted); font-size: var(--step-small); font-weight: 600; padding-top: 0.15rem; }
.c-info .tbd { margin-top: 0.4rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 22rem; }
.c-open { margin-top: 0.6rem; }
.c-open:empty { display: none; }
.find { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; background: var(--surface); }
.find-copy { grid-column: 1 / 5; }
.find-copy > p { margin-top: 1.25rem; }
.find-buttons { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 10px; }
.find-photo { grid-column: 6 / 13; }
.find-photo .photo-btn { aspect-ratio: 4 / 3; }
.map { grid-column: 1 / -1; height: clamp(22rem, 48svh, 32rem); background: var(--surface-2); }
.onsite { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: end; }
.onsite-head { grid-column: 1 / 5; }
.onsite-head p { margin-top: 1.25rem; }
.onsite-row { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.onsite-row .photo-btn { aspect-ratio: 3 / 4; }
.onsite-row figure:nth-child(2) .photo-btn, .onsite-row figure:nth-child(4) .photo-btn { aspect-ratio: 3 / 5; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(0.85) contrast(1.02); }
.note { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; }
.note .coupon-left { grid-column: 1 / 6; }
.note .coupon-left p { margin-top: 1.25rem; }
.note .coupon-right { grid-column: 7 / 13; display: grid; gap: 10px; padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--surface); }
.note .button { width: 100%; min-height: 3.5rem; }
.coupon-alt { font-size: var(--step-small); color: var(--muted); }
.coupon-alt .link { color: var(--ink); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: rgba(5, 7, 10, 0.96); color: #fff; opacity: 0; transition: opacity 260ms ease; }
.lb.is-open { opacity: 1; }
.lb-stage { position: relative; overflow: hidden; touch-action: pan-y; }
.lb-media { position: absolute; display: block; object-fit: contain; background: var(--field-2); transform-origin: 0 0; }
.lb-ui { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem 1.5rem; padding: 0.9rem var(--margin) calc(0.9rem + env(safe-area-inset-bottom)); }
.lb-caption { font-size: var(--step-small); }
.lb-caption b { font-weight: 700; }
.lb-count { color: var(--field-muted); font-size: var(--step-small); }
.lb-controls { display: flex; gap: 6px; }
.lb-btn { min-height: 2.9rem; padding: 0 1rem; background: var(--field-3); font-weight: 600; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.lb-btn:active { transform: scale(0.96); }
.lb-close { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: #2a3342; } .lb-close:hover { background: var(--surface-2); } }
body.lb-lock { overflow: hidden; }

/* ---------- motion (content stays visible without JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out) calc(var(--i, 0) * 80ms), transform 900ms var(--ease-expo) calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-lines] [data-line] { display: inline-block; transform: translateY(108%); transition: transform 1000ms var(--ease-expo) calc(var(--i, 0) * 95ms + 80ms); }
  .js [data-lines] .line { display: block; overflow: clip; padding-bottom: 0.06em; margin-bottom: -0.06em; }
  .js [data-lines].is-in [data-line] { transform: none; }
  .js [data-rise] { animation: rise 800ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
  .js .hero-word { animation: word-in 1100ms var(--ease-expo) both; }
  .js .hero-kind { animation: rise 800ms var(--ease-out) 350ms both; }
  .js .hero-frames { animation: frame-in 1300ms var(--ease-in-out) 100ms both; }
  .js .hero-sub, .js .hero-act { animation: rise 800ms var(--ease-out) 550ms both; }
  .js .hero-caps { animation: fade-in 800ms ease 800ms both; }
  .js .svc-col li { opacity: 0; transform: translateY(10px); transition: opacity 500ms ease, transform 600ms var(--ease-out), color var(--t-hover) ease, text-decoration-color var(--t-hover) ease; }
  .js .svc-col.is-in li { opacity: 1; transform: none; }
  .js .svc-col.is-in li:nth-child(2) { transition-delay: 40ms, 40ms, 0ms, 0ms; }
  .js .svc-col.is-in li:nth-child(3) { transition-delay: 80ms, 80ms, 0ms, 0ms; }
  .js .svc-col.is-in li:nth-child(4) { transition-delay: 120ms, 120ms, 0ms, 0ms; }
  .js .svc-col.is-in li:nth-child(5) { transition-delay: 160ms, 160ms, 0ms, 0ms; }
  .js .svc-col.is-in li:nth-child(6) { transition-delay: 200ms, 200ms, 0ms, 0ms; }
  .js .svc-col.is-in li:nth-child(7) { transition-delay: 240ms, 240ms, 0ms, 0ms; }
  .js .svc-col.is-in li:nth-child(8) { transition-delay: 280ms, 280ms, 0ms, 0ms; }
  .js .call-phone span { transform: translateY(14%); opacity: 0; transition: transform 1100ms var(--ease-expo), opacity 700ms ease; }
  .js .call-phone.is-in span { transform: none; opacity: 1; }
  .js .footer-word { clip-path: inset(100% 0 0 0); transition: clip-path 1200ms var(--ease-in-out), color 300ms ease; }
  .js .footer-word.is-in { clip-path: inset(0); }
  .lamp[aria-pressed="true"] svg { animation: lamp-on 420ms ease-out; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.12em); letter-spacing: 0.04em; } to { opacity: 1; transform: none; letter-spacing: -0.01em; } }
@keyframes frame-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lamp-on { 0% { opacity: 0.2; } 30% { opacity: 1; } 45% { opacity: 0.55; } 100% { opacity: 1; } }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .menu-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-col:nth-child(2) { grid-column: 1 / 5; }
  .svc-col:nth-child(3) { grid-column: 5 / 9; }
  .svc-col:nth-child(4) { grid-column: 9 / 13; }
  .svc-desc { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cluster { grid-column: 6 / 13; }
}

/* ---------- single column ---------- */
@media (max-width: 820px) {
  :root { --header: 3.5rem; --step-mono: calc((100vw - 2 * var(--margin)) / 2.72); }
  .nav { display: none; }
  .bar .button--bar { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; margin-left: 0; }
  .menu { position: fixed; top: var(--header); bottom: 0; overflow-y: auto; padding: 1.5rem var(--margin) 6rem; }
  .menu-services { grid-template-columns: 1fr; gap: 10px; }
  .menu-services a { grid-template-columns: 5.5rem 1fr; column-gap: 1rem; align-items: center; }
  .menu-thumb { grid-row: span 2; margin: 0; }
  .menu-extra { display: grid; gap: 0.25rem; margin-top: 2rem; }
  .menu-extra a { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: 1; text-decoration: none; }
  .menu-contact { display: flex; gap: 1.5rem; margin-top: 2rem; font-size: var(--step-lead); font-weight: 700; }

  /* hero: the name on top, a square picture under its lower half, the words below */
  .hero-pin { min-height: 0; }
  .hero-stick { --pt: calc(var(--header) + 0.5rem); --ps: calc(100vw - 2 * var(--margin)); --pp: calc(var(--pt) + var(--step-mono) * 0.42); display: block; min-height: 0; padding-top: calc(var(--pp) + var(--ps) + 3.4rem); }
  .hero-frames { top: var(--pp); left: var(--margin); width: var(--ps); height: var(--ps); transform: none; }
  .hero-title { position: absolute; top: var(--pt); left: var(--margin); margin: 0; }
  .hero-kind { position: absolute; top: calc(var(--pp) - var(--pt) + var(--ps) + 0.8rem); left: 0; margin: 0; white-space: nowrap; }
  .hero-caps { display: none; }
  .hero-sub p { max-width: 36ch; }
  .hero-sub .hero-tbd { margin-top: 0.5rem; }
  .hero-act { justify-self: start; justify-items: start; margin-top: 1.1rem; }

  .intro { display: block; }
  .intro-note { margin-top: 1.25rem; }
  .facts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem var(--gutter); margin-top: 3rem; }
  .intro-photo { margin-top: 3rem; }
  .intro-small { margin-top: 1rem; width: 62%; }

  .svc-index { display: block; }
  .svc-head { margin-bottom: 2.5rem; }
  .svc-col + .svc-col { margin-top: 2.5rem; }
  .svc-items li { line-height: 1.45; }
  .svc-sum { display: block; margin-top: 0.9rem; color: var(--muted); }
  .svc-desc { display: none; }

  .plate { display: block; min-height: 0; padding-bottom: 2rem; }
  .plate-media { margin: 0 var(--margin); padding-top: 2.5rem; }
  .plate-media { aspect-ratio: auto; height: calc(100vw - 2 * var(--margin) + 2.5rem); }
  .plate-photo { top: 2.5rem; }
  .plate-copy { padding: 1.5rem var(--margin) 0; gap: 1.75rem; }
  .plate-actions { grid-template-columns: 1fr; }
  .cell { min-height: 3.75rem; }

  .lamps { display: block; }
  .cluster { margin-top: 2.5rem; gap: 6px; }
  .lamp { aspect-ratio: 1; padding: 0.6rem 0.25rem; gap: 0.5rem; }
  .lamp-name { font-size: var(--step-small); }

  .names { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 2rem; }
  .names-score { justify-self: start; justify-items: start; text-align: left; }
  .strip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .strip-title { margin-bottom: 0.75rem; }

  .faq { display: block; }
  .faq-list { margin-top: 2rem; }
  .qa summary { font-size: var(--step-body); padding: 0.85rem var(--margin); margin: 0 calc(-1 * var(--margin)); }
  .qa[open] { margin: 0 calc(-1 * var(--margin)); }
  .qa-body { padding: 0 var(--margin) 1.25rem; }

  .call { min-height: 86svh; }
  .call-phone { margin-bottom: 4svh; }
  .call-foot { display: grid; }

  .site-footer { position: relative; min-height: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem var(--gutter); }
  .footer-cols > .fcol:nth-child(1), .footer-cols > .fcol:nth-child(3) { grid-column: 1 / -1; }
  .footer-word, .js .footer-word { margin-top: 20svh; clip-path: none; }
  .footer-last { flex-direction: column; gap: 0.25rem; }

  .p-hero, .svc, .g-hero, .g-group-head, .c-hero, .find, .note, .onsite { display: block; }
  .onsite-row { margin-top: 2rem; grid-template-columns: 1fr 1fr; }
  .c-phone { font-size: calc((100vw - 2 * var(--margin)) / 4.2); }
  .p-hero-photo, .svc-photo, .c-ways, .find-photo, .map, .note .coupon-right { margin-top: 2rem; }
  .svc-copy, .svc-d-list { margin-top: 2rem; }
  .svc--b .svc-copy, .svc--d .svc-copy { margin-top: 0; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-c-lists { display: grid; grid-template-columns: 1fr; margin-top: 2rem; }
  .svc-c-lead { margin-top: 1.25rem; }
  .svc-band { margin-top: 2rem; }
  .svc-band .photo-btn { aspect-ratio: 4 / 3; }
  .g-hero .lead { margin-top: 1rem; }
  .g-about { margin-top: 1rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; }
  .tiles > .tile:first-child { grid-column: 1 / -1; }
  .tiles > .tile:first-child .tile-img { aspect-ratio: 4 / 3; }
  .c-info > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .map { height: auto; aspect-ratio: 4 / 5; }
  .lb-ui { grid-template-columns: 1fr auto; }
  .lb-controls { grid-column: 1 / -1; }
  .lb-controls .lb-btn { flex: 1; }
}

/* ---------- phone: thumb bar with call and Viber ---------- */
@media (max-width: 640px) {
  body { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); }
  .bar { gap: 0.6rem; }
  .bar .button--bar { margin-left: auto; padding: 0 0.75rem; font-size: var(--step-small); }
  .menu-btn { margin-left: 0; padding: 0 0.8rem; }
  .quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--surface-2); transition: transform 320ms var(--ease-out); }
  .quickbar a { display: grid; place-items: center; min-height: 3.5rem; font-weight: 700; text-decoration: none; }
  .quickbar a:first-child { background: var(--ink); color: #fff; }
  .quickbar.is-hidden { transform: translateY(100%); }
  .toast { bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .tiles { gap: 16px 8px; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .plate-photo, .plate-photo.is-on { transition: none; }
}
