/* Diesel Rx, LLC. Hand-written CSS. Tokens are OKLCH; see DESIGN.md. */

:root {
  --ink: oklch(0.17 0.012 255);
  --ink-2: oklch(0.225 0.014 255);
  --ink-3: oklch(0.30 0.014 255);
  --paper: oklch(0.987 0.002 255);
  --paper-2: oklch(0.958 0.004 255);
  --line: oklch(0.875 0.006 255);
  --line-dark: oklch(0.36 0.012 255);
  --text: oklch(0.24 0.012 255);
  --muted: oklch(0.44 0.014 255);
  --on-ink: oklch(0.97 0.003 255);
  --on-ink-muted: oklch(0.80 0.01 255);
  --red: #c42727; /* brand red, oklch(0.53 0.19 27) */
  --road: oklch(0.55 0.012 255);
  --red-deep: oklch(0.43 0.17 27);
  --red-lift: oklch(0.72 0.17 27);
  --amber: oklch(0.82 0.16 78);

  --f-display: "Barlow Condensed", "IBM Plex Sans", "Arial Narrow", Arial, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2.25rem;
  --s-6: 3.5rem;
  --s-7: 5.5rem;

  --wrap: 76rem;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-callbar: 40;
  --z-header: 50;
  --z-menu: 60;
  --z-skip: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7.2vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.875rem); line-height: 1.1; }
h4 { font-size: 1.2rem; line-height: 1.15; letter-spacing: 0.02em; }
p { margin: 0 0 var(--s-3); max-width: 66ch; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 2px; }
:is(.hdr, .hero, .phead, .sec--ink, .sec--red, .cta, .ftr, .aside__call, .callbar) :focus-visible,
.callbar:focus-visible, .skip:focus-visible { outline-color: var(--amber); }

main, .cta { overflow-x: clip; }
main:focus { outline: none; }
[id] { scroll-margin-top: 5.5rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: var(--s-3); top: -4rem; z-index: var(--z-skip);
  background: var(--amber); color: var(--ink); padding: var(--s-2) var(--s-3);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--s-3); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid var(--ink-3);
}
.hdr__in { display: flex; align-items: center; gap: var(--s-4); min-height: 4.5rem; transition: min-height 0.3s var(--ease); }
.hdr.is-tight .hdr__in { min-height: 3.5rem; }
.brand { display: flex; align-items: center; gap: var(--s-2); text-decoration: none; margin-right: auto; }
.brand img { width: 3.4rem; height: auto; transition: width 0.3s var(--ease); }
.hdr.is-tight .brand img { width: 2.7rem; }
.brand__name { white-space: nowrap; font: 700 1.6rem/1 var(--f-display); letter-spacing: 0.03em; text-transform: uppercase; }
.brand__name span { color: var(--red-lift); text-transform: none; }
.nav { display: flex; gap: var(--s-4); }
.nav a {
  position: relative; padding: 0.5rem 0; text-decoration: none;
  font-size: 0.9375rem; font-weight: 500; color: var(--on-ink-muted);
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 2px;
  background: var(--red-lift); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__call { white-space: nowrap; }
.menu-btn {
  display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--on-ink-muted);
  border-radius: var(--radius); background: transparent; color: inherit; cursor: pointer;
}
.menu-btn span { display: block; width: 1.25rem; height: 2px; margin: 4px auto; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 62rem) {
  .menu-btn { display: block; flex: none; }
  .hdr .hdr__call { display: none; }
  .nav {
    position: fixed; inset: 4.5rem 0 auto 0; z-index: var(--z-menu);
    flex-direction: column; gap: 0; padding: var(--s-2) var(--gutter) var(--s-4);
    background: var(--ink); border-bottom: 1px solid var(--ink-3);
    visibility: hidden; opacity: 0; transform: translateY(-0.5rem);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .hdr.is-tight .nav { top: 3.5rem; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a { padding: 0.9rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--ink-3); }
  .nav a::after { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.7rem 1.35rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--ghost { border-color: var(--on-ink-muted); color: var(--on-ink); }
.btn--ghost:hover { border-color: var(--on-ink); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: var(--text); color: var(--text); }
.btn--line:hover { background: var(--text); color: var(--paper); }
.btn--white { background: #fff; color: var(--red-deep); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--lg { min-height: 3.75rem; padding: 0.9rem 1.75rem; font-size: 1.1875rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.arrow { transition: transform 0.3s var(--ease); }
a:hover > .arrow, .btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-ink); overflow: hidden; }
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center; gap: var(--s-4);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 span { display: block; }
.hero h1 .red { width: fit-content; margin: 0.1em 0 0 -0.14em; padding: 0.03em 0.14em 0.05em; background: var(--red); color: #fff; }
.hero__sub { margin-top: var(--s-4); color: var(--on-ink-muted); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.live {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: var(--s-4);
  font: 500 0.875rem/1 var(--f-mono); color: var(--on-ink-muted);
}
.speaks { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--ink-3); font-size: 0.9375rem; color: var(--on-ink-muted); }
.speaks a { color: var(--on-ink); text-underline-offset: 3px; }

@media (max-width: 62rem) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__map { order: 2; max-width: 34rem; }
}

/* ---------- Service-area map (signature motion). Geometry: OpenStreetMap ---------- */
.map { width: 100%; height: auto; overflow: hidden; font-family: var(--f-body); --map-bg: var(--ink); }
.map path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map .water { fill: oklch(0.27 0.035 245); }
.map .state { stroke: var(--road); stroke-width: 1.25; stroke-dasharray: 5 5; }
.map .road { stroke: oklch(0.80 0.008 255); stroke-width: 3.25; }
.map .road--spur { stroke: oklch(0.64 0.01 255); stroke-width: 2.25; }
.map .road--us { stroke: oklch(0.43 0.012 255); stroke-width: 1.25; }
.map .flow { stroke: var(--amber); stroke-width: 2.25; stroke-dasharray: 1.5 30; }
.map .flow--slow { stroke-width: 1.75; }
.map .shield { font: 600 9.5px var(--f-mono); fill: var(--on-ink-muted); paint-order: stroke; stroke: var(--map-bg); stroke-width: 4px; stroke-linejoin: round; }
.map .statelbl { font: 600 9px var(--f-mono); fill: var(--road); letter-spacing: 0.2em; text-transform: uppercase; }
.map .scale path { stroke: var(--on-ink-muted); stroke-width: 1.25; }
.map .scale text { font: 500 9px var(--f-mono); fill: var(--on-ink-muted); }
.map .city circle { fill: var(--map-bg); stroke: var(--on-ink); stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill 0.2s var(--ease), r 0.2s var(--ease); }
.map .city text { font-size: 13px; font-weight: 500; fill: var(--on-ink); paint-order: stroke; stroke: var(--map-bg); stroke-width: 5px; stroke-linejoin: round; }
.map a.city:hover circle, .map a.city:focus-visible circle { fill: var(--red-lift); }
.map a.city:not(.hub):hover circle, .map a.city:not(.hub):focus-visible circle { r: 6.5; }
.map a.city:hover text { fill: var(--red-lift); }
.map a.city { outline: none; }
.map a.city:focus-visible text { fill: var(--amber); text-decoration: underline; }
.map--light a.city:focus-visible text { text-decoration: underline; }
@media (max-width: 62rem) {
  /* On phones the map is a picture: labels would be too small to read or tap. The town list below does that job. */
  .map a.city { pointer-events: none; }
  .map a.city:not(.hub) text, .map .shield, .map .statelbl, .map .scale { display: none; }
  .map .hub text { font-size: 30px; }
  .map .city circle { r: 7; }
  .map .hub circle.core { r: 11; }
  .map__hint { display: none; }
}
.map .hub circle.core { fill: var(--red); stroke: #fff; }
.map .hub text { font: 700 19px var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; }
.map .ring { fill: none; vector-effect: non-scaling-stroke; stroke: var(--red-lift); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
.map.is-live .ring { animation: ping 3.6s var(--ease) infinite; }
.map.is-live .ring:nth-of-type(2) { animation-delay: 1.2s; }
.map.is-live .ring:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes ping { 0% { transform: scale(0.08); opacity: 0.95; } 100% { transform: scale(1); opacity: 0; } }
.map.is-live .flow { animation: flow 2.4s linear infinite; }
.map.is-live .flow--rev { animation-direction: reverse; animation-duration: 3s; }
.map.is-live .flow--slow { animation-duration: 3.4s; }
@keyframes flow { to { stroke-dashoffset: -31.5; } }
.js .map .road { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .map .city, .js .map .flow, .js .map .shield, .js .map .scale { opacity: 0; }
.js .map.is-live .road { stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease); }
.js .map.is-live .road--spur { transition-delay: 0.3s; }
.js .map.is-live .road--us { transition-delay: 0.5s; }
.js .map.is-live .city { opacity: 1; transition: opacity 0.5s var(--ease); transition-delay: calc(0.9s + var(--i) * 70ms); }
.js .map.is-live .flow { opacity: 0.95; transition: opacity 0.8s 1.7s; }
.js .map.is-live .shield, .js .map.is-live .scale { opacity: 1; transition: opacity 0.6s 1.5s; }
.map__note { margin: var(--s-2) 0 0; font: 500 0.75rem/1.5 var(--f-mono); color: var(--on-ink-muted); }
.map__note a { color: inherit; text-underline-offset: 3px; }
.sec .map__note { color: var(--muted); }
.map--light { --map-bg: var(--paper); }
.map--light .water { fill: oklch(0.90 0.03 240); }
.map--light .state { stroke: var(--muted); }
.map--light .road { stroke: oklch(0.36 0.012 255); }
.map--light .road--spur { stroke: oklch(0.52 0.012 255); }
.map--light .road--us { stroke: oklch(0.74 0.008 255); }
.map--light .flow { stroke: var(--red); }
.map--light .shield, .map--light .scale text { fill: var(--muted); }
.map--light .scale path { stroke: var(--muted); }
.map--light .statelbl { fill: var(--muted); }
.map--light .city circle { stroke: var(--text); }
.map--light .city text { fill: var(--text); }
.map--light a.city:hover circle, .map--light a.city:focus-visible circle { fill: var(--red); }
.map--light a.city:hover text, .map--light a.city:focus-visible text { fill: var(--red-deep); }
.map--light .ring { stroke: var(--red); }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(3.5rem, 8vw, 7rem); }
.sec--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sec--alt { background: var(--paper-2); }
.sec--ink { background: var(--ink); color: var(--on-ink); }
.sec--ink p { color: var(--on-ink-muted); }
.sec--red { background: var(--red); color: #fff; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4) var(--s-6); align-items: end; margin-bottom: var(--s-6); }
.sec__head p { margin: 0; color: var(--muted); }
.sec--ink .sec__head p { color: var(--on-ink-muted); }
@media (max-width: 48rem) { .sec__head { grid-template-columns: minmax(0, 1fr); margin-bottom: var(--s-5); } }

/* Page head for inner pages */
.phead { background: var(--ink); color: var(--on-ink); padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem); }
.phead h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); max-width: 18ch; }
.phead p { margin-top: var(--s-4); color: var(--on-ink-muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--s-4); font: 500 0.8125rem/1.3 var(--f-mono); color: var(--on-ink-muted); }
.crumbs a { color: var(--on-ink-muted); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--on-ink); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-dark); }
.phead__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }

/* ---------- When you call (home) ---------- */
.call3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.call3 li { padding: var(--s-4) var(--s-4) var(--s-4) 0; }
.call3 li + li { padding-left: var(--s-4); border-left: 1px solid var(--line); }
.call3 h3 { margin-bottom: var(--s-2); }
.call3 p { margin: 0; color: var(--muted); font-size: 1rem; }
.call3 .eg { display: block; margin-top: var(--s-2); font: 500 0.875rem/1.4 var(--f-mono); color: var(--text); }
@media (max-width: 48rem) {
  .call3 { grid-template-columns: minmax(0, 1fr); }
  .call3 li, .call3 li + li { padding: var(--s-4) 0; border-left: 0; }
  .call3 li + li { border-top: 1px solid var(--line); }
}

/* ---------- Service ledger ---------- */
.ledger { border-top: 2px solid var(--text); }
.ledger a {
  display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr) auto; gap: var(--s-2) var(--s-5); align-items: center;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: padding 0.35s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.ledger h3 { transition: color 0.25s var(--ease); }
.ledger p { margin: 0; color: var(--muted); font-size: 1rem; }
.ledger .arrow { width: 1.5rem; height: 1.5rem; color: var(--red); }
.ledger a:hover { padding-inline: var(--s-3); background: var(--paper-2); }
.sec--alt .ledger a:hover { background: var(--paper); }
.ledger a:hover h3 { color: var(--red-deep); }
@media (max-width: 48rem) {
  .ledger a { grid-template-columns: minmax(0, 1fr) auto; }
  .ledger p { grid-column: 1; grid-row: 2; }
  .ledger .arrow { grid-row: 1 / span 2; }
  .ledger a:hover { padding-inline: 0; background: none; }
}

/* ---------- Languages band ---------- */
.tongues { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-6); align-items: center; }
.tongues p { color: #fff; }
.tongues__list li { border-bottom: 1px solid oklch(1 0 0 / 0.28); }
.tongues__list li:first-child { border-top: 1px solid oklch(1 0 0 / 0.28); }
.tongues__list a { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); padding: 0.85rem 0; text-decoration: none; }
.tongues__list b { font: 700 clamp(1.7rem, 4vw, 2.75rem)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.01em; transition: transform 0.35s var(--ease); }
.tongues__list [lang="ru"] b { font-family: var(--f-body); font-weight: 600; font-size: clamp(1.4rem, 3.2vw, 2.2rem); text-transform: none; }
.tongues__list small { font: 500 0.8125rem var(--f-mono); }
.tongues__list a:hover b { transform: translateX(0.5rem); }
@media (max-width: 56rem) { .tongues { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } }

/* ---------- Split (text + photo) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split h2 { margin-bottom: var(--s-4); }
.split .btn { margin-top: var(--s-3); }
.photo { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.9s var(--ease); }
.photo:hover img { transform: scale(1.03); }
@media (max-width: 56rem) { .split, .split--wide { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Quote ---------- */
.quote { max-width: 56rem; }
.quote blockquote { margin: 0; font: 600 clamp(1.6rem, 3.6vw, 2.75rem)/1.18 var(--f-display); text-transform: uppercase; letter-spacing: 0.005em; text-wrap: balance; }
.quote figcaption { margin-top: var(--s-4); font: 500 0.875rem/1.5 var(--f-mono); color: var(--on-ink-muted); }
.quote figcaption b { color: var(--on-ink); font-weight: 500; }

/* ---------- Answer block (AEO) ---------- */
.answer { padding: var(--s-4) 0 var(--s-4) 0; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); }
.answer h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: var(--s-3); max-width: 30ch; }
.answer p { margin: 0; font-size: 1.1875rem; line-height: 1.6; max-width: 62ch; }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.detail > div > * + * { margin-top: var(--s-6); }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-5); margin-top: var(--s-4); }
.ticks li { position: relative; padding: 0.8rem 0 0.8rem 1.6rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 0.7rem; height: 2px; background: var(--red); }
.steps { counter-reset: s; margin-top: var(--s-4); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 700 2rem/1 var(--f-display); color: var(--red); }
.steps h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
.note { padding: var(--s-4); background: var(--paper-2); border-radius: var(--radius); }
.note h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.note p { margin: 0; }
.aside { position: sticky; top: 5.5rem; display: grid; gap: var(--s-4); }
.aside__call { padding: var(--s-4); background: var(--ink); color: var(--on-ink); border-radius: var(--radius); }
.aside__call h2 { font-size: 1.75rem; margin-bottom: var(--s-2); }
.aside__call p { color: var(--on-ink-muted); font-size: 0.9375rem; }
.aside__call .btn { width: 100%; }
.aside__list h2 { font-size: 1.2rem; letter-spacing: 0.03em; padding-bottom: var(--s-2); border-bottom: 2px solid var(--text); }
.aside__list a { display: block; padding: 0.65rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 0.9688rem; transition: color 0.2s, padding-left 0.3s var(--ease); }
.aside__list a:hover { color: var(--red-deep); padding-left: 0.4rem; }
@media (max-width: 62rem) { .detail { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }
@media (max-width: 36rem) { .ticks { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Town list ---------- */
.towns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-5); border-top: 2px solid var(--text); }
.towns a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); padding: 0.95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 0.2s, padding-left 0.3s var(--ease); }
.towns b { font: 600 1.35rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.towns small { font: 500 0.75rem var(--f-mono); color: var(--muted); text-align: right; }
.towns a:hover { color: var(--red-deep); padding-left: 0.4rem; }
.sec--ink .towns { border-top-color: var(--on-ink); }
.sec--ink .towns a { border-bottom-color: var(--ink-3); }
.sec--ink .towns small { color: var(--on-ink-muted); }
.sec--ink .towns a:hover { color: var(--red-lift); }
@media (max-width: 56rem) { .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .towns { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: var(--s-7); }
.faq-group > h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); padding-bottom: var(--s-3); border-bottom: 2px solid var(--text); }
.qa { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s-2) var(--s-6); }
.qa h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.qa p { margin: 0; }
@media (max-width: 48rem) { .qa { grid-template-columns: minmax(0, 1fr); } }
details.q { border-bottom: 1px solid var(--line); }
details.q:first-of-type { border-top: 2px solid var(--text); }
details.q summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 1.1rem 0; cursor: pointer; list-style: none; font: 600 clamp(1.25rem, 2vw, 1.5rem)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: 0.01em; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary { overflow: hidden; }
details.q summary::after { content: ""; flex: none; margin-right: 0.35rem; width: 0.8rem; height: 0.8rem; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.3s var(--ease); }
details.q[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.q p { padding-bottom: var(--s-4); margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.nap { border-top: 2px solid var(--text); }
.nap div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s-3); padding: 1rem 0; border-bottom: 1px solid var(--line); }
.nap dt { font: 500 0.8125rem/1.6 var(--f-mono); color: var(--muted); }
.nap dd { margin: 0; overflow-wrap: anywhere; }
.nap dd a { text-underline-offset: 3px; }
.nap .big { font: 700 clamp(1.9rem, 4vw, 2.5rem)/1 var(--f-display); letter-spacing: 0.01em; text-decoration: none; }
.nap .big:hover { color: var(--red-deep); }
.form { padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--paper-2); border-radius: var(--radius); }
.form h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: var(--s-2); }
.form > p { color: var(--muted); font-size: 0.9688rem; }
.field { margin-top: var(--s-3); }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.9375rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.8rem 0.9rem; border: 1.5px solid var(--muted); border-radius: var(--radius);
  background: #fff; color: var(--text); font: 400 1rem/1.4 var(--f-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--text); outline-offset: 1px; border-color: var(--text); box-shadow: 0 0 0 5px var(--amber); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field .err { display: block; min-height: 1.2rem; margin-top: 0.25rem; font-size: 0.875rem; color: var(--red-deep); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-3); }
.hp { position: absolute; left: -200vw; }
.form .btn { margin-top: var(--s-3); }
.form__status { margin: var(--s-3) 0 0; font-size: 0.9375rem; }
@media (max-width: 56rem) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 34rem) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Languages page ---------- */
.langblock { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--s-3) var(--s-6); padding: var(--s-6) 0; border-top: 2px solid var(--text); }
.langblock h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.langblock[lang="ru"] h2, .langblock[lang="ru"] h3 { font-family: var(--f-body); font-weight: 600; text-transform: none; line-height: 1.15; letter-spacing: -0.01em; }
.langblock[lang="ru"] h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.langblock h3 { margin-bottom: var(--s-3); }
.langblock small { display: block; margin-top: var(--s-2); font: 500 0.8125rem var(--f-mono); color: var(--muted); }
@media (max-width: 48rem) { .langblock { grid-template-columns: minmax(0, 1fr); padding: var(--s-5) 0; } }

/* ---------- CTA band + footer ---------- */
.cta { background: var(--red); color: #fff; padding-block: clamp(3rem, 6vw, 5rem); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); }
.cta h2 { max-width: 16ch; }
.cta p { margin: var(--s-2) 0 0; color: #fff; }
.cta__num { font: 700 clamp(2.4rem, 6vw, 4.25rem)/1 var(--f-display); letter-spacing: 0.01em; color: #fff; text-decoration: none; display: inline-block; transition: transform 0.35s var(--ease); }
.cta__num:hover { transform: translateX(6px); }
.cta__side { display: grid; gap: var(--s-3); justify-items: start; }

.ftr { background: var(--ink); color: var(--on-ink-muted); padding-block: var(--s-6) calc(var(--s-5) + 4.5rem); font-size: 0.9375rem; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.ftr h2 { font-size: 1.05rem; letter-spacing: 0.08em; color: var(--on-ink); margin-bottom: var(--s-3); }
.ftr a { color: var(--on-ink-muted); text-decoration: none; transition: color 0.2s; }
.ftr a:hover { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
.ftr li a { display: block; padding: 0.4rem 0; }
.ftr__brand img { width: 11rem; margin-bottom: var(--s-4); }
.ftr__brand p { max-width: 26rem; }
.ftr .ftr__phone { font: 700 1.9rem/1 var(--f-display); color: var(--on-ink); letter-spacing: 0.02em; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-4); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--ink-3); font-size: 0.8438rem; }
.ftr__base p { margin: 0; max-width: none; }
@media (min-width: 62.01rem) { .ftr { padding-bottom: var(--s-5); } }
@media (max-width: 56rem) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .ftr__grid { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 62rem) {
  .ftr li a { padding: 0.72rem 0; }
  .crumbs a, .speaks a { display: inline-block; padding: 0.75rem 0; }
  .crumbs li { display: flex; align-items: center; }
  .cta__num, .ftr .ftr__phone, .ftr__brand p a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .brand { min-height: 2.75rem; }
}

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 62rem) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 3.75rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--red); color: #fff; text-decoration: none;
    font: 700 1.5rem/1 var(--f-display); letter-spacing: 0.03em; text-transform: uppercase;
  }
  .callbar svg { width: 1.25rem; height: 1.25rem; }
}

/* 404 */
.lost { min-height: 60vh; display: grid; align-items: center; }

/* ---------- Scroll reveals (content visible without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal="left"] { transform: translateX(-1.75rem); }
.js [data-reveal="right"] { transform: translateX(1.75rem); }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] .photo::after {
  content: ""; position: absolute; inset: 0; background: var(--ink-2);
  transform-origin: bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal="clip"].is-in .photo::after { transform: scaleY(0); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.hero h1 span, .hero .live, .hero__sub, .hero__cta, .hero .speaks { animation: rise 0.9s var(--ease) both; }
.hero h1 span:nth-child(2) { animation-delay: 0.08s; }
.hero h1 span:nth-child(3) { animation-delay: 0.16s; }
.hero h1 span:nth-child(4) { animation-delay: 0.24s; }
.hero__sub { animation-delay: 0.34s; }
.hero__cta { animation-delay: 0.42s; }
.hero .speaks { animation-delay: 0.5s; }
@keyframes rise { from { opacity: 0; transform: translateY(1.1rem); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal] .photo::after { display: none; }
  .js .map .road { stroke-dashoffset: 0; }
  .js .map .city, .js .map .shield, .js .map .scale { opacity: 1; }
  .js .map .flow { opacity: 0.95; }
  .map .ring:nth-of-type(1) { opacity: 0.5; transform: scale(0.35); }
  .map .ring:nth-of-type(2) { opacity: 0.28; transform: scale(0.7); }
}

@media print {
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal] .photo::after { display: none; }
  .hdr, .callbar, .cta, .hero__map { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Heavy equipment ---------- */
.machines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-5); margin-top: var(--s-4); border-top: 2px solid var(--on-ink); }
.machines li { padding: 1rem 0; border-bottom: 1px solid var(--ink-3); }
.machines b, .machines h3 { font: 600 1.35rem/1.15 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.machines p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.9688rem; }
.machines--light { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top-color: var(--text); }
.machines--light li { border-bottom-color: var(--line); }
.brands { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s-3); }
.brands li { padding: 0.45rem 0.8rem; border: 1px solid var(--ink-3); border-radius: var(--radius); font: 500 0.875rem/1.2 var(--f-mono); color: var(--on-ink); }
.brands--light li { border-color: var(--line); color: var(--text); background: var(--paper-2); }
.heq__lbl { margin-top: var(--s-5); font: 500 0.8125rem var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink-muted); }
.heq__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.note .fine { margin-top: var(--s-3); font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 56rem) { .machines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .machines, .machines--light { grid-template-columns: minmax(0, 1fr); } }
.certs { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.certs li { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.7rem 1rem; border-left: 3px solid var(--red); background: var(--paper-2); }
.certs b { font: 600 1.15rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.03em; }
.certs small { font-size: 0.8125rem; color: var(--muted); }
.sec--ink .certs li { background: var(--ink-2, rgba(255,255,255,0.05)); }
.sec--ink .certs small { color: var(--on-ink-muted); }
.heq { border-top: 1px solid var(--ink-3); }
.nav a { white-space: nowrap; }
@media (min-width: 62.01rem) and (max-width: 80rem) {
  .nav { gap: var(--s-3); }
  .nav a { font-size: 0.875rem; }
  .hdr__call .mono { font-size: 0.875rem; }
}
.nap__sub { display: block; margin-top: 0.35rem; font-size: 0.9375rem; color: var(--muted); }
.ftr__sms { font-size: 0.9375rem; }
