/* Hallmark · shape: Counter (home), Long Document (content pages) · genre: playful · theme: Squeeze (deal 3/3, seed carpet-rug-curtain-cleaning-fe0b·f9fb7285·2026-11-10·r0, owner pick C) · draw: fe5834 · job: hire · idea: "a market stall in green that says the price per square metre out loud"
 * hero: Counter with the form right in the one warm-white card (owner rule 10) · nav: logo left, links centred, languages and the action right (owner 2026-11-10) · footer: letter close · imagery: bright natural colour photographs, rounded, one subject a frame, and line drawings inverted to warm white on the green · signature: the price "no 6 €" set huge in Geologica on the green, and the "Kur tīrīt?" choice as three peach-ringed tiles in the form
 * axes: mid/geometric-sans/warm · posture: drenched · contrast: pass · fold: pass · fonts: Geologica 800 for Gabarito (no Cyrillic), Manrope 500/700 kept · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, a fruit-stall green is a bold call for a cleaner; the rug photographs carry the colour and the copy makes no eco claim, so the green reads as a home */
/* Hallmark · hero review (fresh context, 2026-11-10): fix · resolved 5/5: masthead from 1440 (logo left 1280-1439), price under the head and inside the 1280x800 fold with the submit button, H1 second half set as one quiet line, display capped at 5.5rem (two lines at 1920); language switch appears once EN/RU are built */
/* Hallmark · finish review (fresh context, 2026-11-10): recapture + 8 findings · resolved 1, 2, 3, 4 (template band dropped), 6, 7, 8 + byline, ×, rail pin 760px; partial 5 (callouts wait for the real drawings); unresolved: kontakti lede repeats the promise (content) */
/* Hallmark · waive 58 · the hero keeps the rule-9 promise and the owner's form; content pages are long documents (FORMULA word counts) */
/* Hallmark · waive 78 · content pages are the Long Document shape, heads inline at --text-prose-h; the home page keeps its section heads at --text-section */
/* Hallmark · waive 77 · Long Document guard: prose 68ch with the price tile in the right rail, a fact and never an empty half; the contact page is the form, its short text and the FAQ by design */
/* Hallmark · dismissed 59 · long SEO content pages need more than nine sections; every page keeps the Long Document order of the formula */
/* Hallmark · waive 49b · links are the real Latvian and Russian page names ("Paklāju tīrīšana uzņēmumiem"), two lines at most at 320px and in the footer list only */
/* Hallmark · dismissed 29 · the blurred scrim behind the open phone menu is owner rule 12: the deep green at 70% with a 5px blur, never a panel behind content */
/* Hallmark · answered F15 · column gaps follow each composition's measure: the Counter hero, the prose rail and the footer differ on purpose */
/* Hallmark · dismissed 49 · the sticky phone call to action is two lines on purpose: the action, then the owner's five-minute promise (rule 9) */
/* Hallmark · waive 44c · /ru/ at 1440x900 only: the home hero section fills the first screen (min-height, ends at 902 px) and is the same layout as LV/EN; the Russian H1 «Чистка ковров в Риге» is one line shorter than the LV/EN head, so the centred content ends at 755 px. Padding it with copy would break rule 10 parity (same hero in every language) */

@font-face { font-family: "Geologica"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/geologica-800-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/geologica-800-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/geologica-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/geologica-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/manrope-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens: every colour, face, space and size lives here (gate 48) ---------- */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-body: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 3.4vw + 0.75rem, 3.75rem); --text-display: clamp(3rem, 5.2vw + 0.5rem, 5.5rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-prose-h: clamp(1.5rem, 1.25vw + 1rem, 2.25rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --text-figure: clamp(5rem, 8vw, 8.5rem); --text-figure-s: clamp(3rem, 4.5vw + 0.5rem, 4.75rem); --text-logo: 1.3125rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-close: 260ms; --dur-long: 420ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px; --hdr-h: 112px; --cta-w: 10.5rem;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-backdrop: 250; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(41% 0.100 154); --color-paper-2: oklch(47% 0.105 154); --color-paper-3: oklch(34% 0.090 156);
  --color-ink: oklch(99% 0.005 90); --color-ink-2: oklch(94% 0.020 120); --color-muted: oklch(90% 0.030 150); --color-rule: oklch(55% 0.100 154);
  --color-accent: oklch(83% 0.115 56); --color-accent-2: oklch(74% 0.150 46); --color-accent-ink: oklch(30% 0.070 40); --color-focus: oklch(88% 0.14 85);
  --color-card: oklch(97% 0.012 85); --color-card-ink: oklch(24% 0.05 160); --color-card-muted: oklch(40% 0.04 160); --color-card-edge: oklch(52% 0.04 160);
  --color-error: oklch(52% 0.19 27); --color-error-on-green: oklch(86% 0.12 60); --color-success: oklch(50% 0.12 150);
  --scrim-page: oklch(34% 0.090 156 / 0.7); --selection: oklch(83% 0.115 56 / 0.45); --promise-bg: oklch(91% 0.06 64); --pulse-low: 0.35;
  --font-display: "Geologica", ui-sans-serif, system-ui, sans-serif; --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: var(--font-display);
  --w-body: 500; --w-ui: 700; --w-head: 800;
  --radius-card: 24px; --radius-control: 16px; --radius-pill: 999px; --radius-menu: 24px; --rule-hair: 1px; --rule-bar: 2px; --rule-ring: 3px;
  --shadow-card: 0 14px 32px -16px oklch(22% 0.05 160 / 0.5); --shadow-menu: 0 24px 48px oklch(22% 0.05 160 / 0.45);
  --tracking-display: -0.025em; --tracking-figure: -0.04em; --display-weight: 800;
}
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; --hdr-h: 104px; } }
@media (max-width: 30rem) { :root { --text-logo: 1.125rem; } .logo__ic { width: 40px; height: 40px; } .logo__tag { font-size: 0.625rem; letter-spacing: 0.03em; } }
@media (max-width: 24rem) { :root { --text-logo: 1rem; } .logo__tag { font-size: 0.5625rem; letter-spacing: 0.02em; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: calc(var(--hdr-h) + var(--space-md)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; font-weight: var(--w-body); -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--selection); color: var(--color-card-ink); }
:focus-visible { outline: var(--rule-bar) solid var(--color-focus); outline-offset: 2px; }
a { color: var(--color-ink); font-weight: var(--w-ui); text-decoration-color: var(--color-muted); text-decoration-thickness: 1px; text-underline-offset: 0.16em; transition: text-decoration-color var(--dur-micro) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
a:active { color: var(--color-accent); }
h1, h2, h3 { margin: 0; color: var(--color-ink); font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.02; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: var(--text-display-s); max-width: 22ch; }
h2 { max-width: 30ch; font-size: var(--text-section); }
h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.15; }
.h1__sub { display: block; margin-top: var(--space-xs); font-size: 0.5em; line-height: 1.15; letter-spacing: -0.01em; color: var(--color-ink-2); }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; color: var(--color-muted); }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 58ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
strong, b { font-weight: var(--w-ui); }
small { font-size: var(--text-sm); }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
figure { margin: 0; }
figcaption { padding-top: var(--space-xs); font-size: var(--text-sm); font-weight: var(--w-ui); line-height: 1.4; color: var(--color-muted); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.vh, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--space-sm); top: var(--space-sm); z-index: var(--z-tooltip); padding: var(--space-xs) var(--space-sm); background: var(--color-card); color: var(--color-card-ink); width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; }
.num, .tile__p, .pcard td, .prices td.num, .spec .num, .figure, .figure__no, .hero-fig--s .figure, .counter--home h1, .prices__g th, .facts dt, .arealist__n { font-variant-numeric: lining-nums tabular-nums; }
.ratio, .ratio-wide { position: relative; overflow: hidden; background: var(--color-paper-3); border-radius: var(--radius-card); }
.ratio { aspect-ratio: 4 / 3; } .ratio-wide { aspect-ratio: 21 / 8; min-height: 440px; }
.ratio img, .ratio-wide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.04); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns) var(--space-2xl); align-items: center; }
.split--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
.split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--tops { align-items: start; }
.sec { padding-block: var(--section-gap-s); }
.sec--tight { padding-block: var(--space-2xl); }
.sec--deep { background: var(--color-paper-3); }
.sec--light { background: var(--color-paper-2); }
.more { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-lg); }
.more a { display: inline-flex; align-items: center; min-height: 44px; }
.tile { background: var(--color-paper-2); border-radius: var(--radius-card); }
.card { background: var(--color-card); color: var(--color-card-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

/* ---------- controls: one peach primary, Manrope 700, --radius-control ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-sm) var(--space-lg); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-control); background: none; color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); font-weight: var(--w-ui); line-height: 1.25; text-decoration: none; white-space: nowrap; cursor: pointer; transition: translate var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn:active { translate: 0 1px; }
.btn--primary:active { background: var(--color-accent-2); color: var(--color-accent-ink); }
.btn--primary[disabled], .btn--primary[aria-busy="true"] { opacity: 0.6; cursor: not-allowed; }
.btn--block { width: 100%; }

/* ---------- header: top bar (owner rule 9), masthead nav (owner rule 12) ---------- */
.hdr { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-rule); }
.annbar { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 36px; padding: var(--space-2xs) var(--space-md); font-size: var(--text-sm); font-weight: var(--w-body); background: var(--color-paper-3); color: var(--color-ink); text-decoration: none; text-align: center; line-height: 1.25; }
.annbar:hover { color: var(--color-ink); background: var(--color-paper-3); text-decoration: underline; text-decoration-color: var(--color-accent); }
.annbar:active { color: var(--color-ink); }
.annbar .ic-clock { flex: none; color: var(--color-accent); }
.annbar strong { white-space: nowrap; }
.annbar__dot { width: 8px; height: 8px; flex: none; background: var(--color-accent); border-radius: 50%; animation: pulse 2s var(--ease-in-out) infinite; }
@keyframes pulse { 50% { opacity: var(--pulse-low); } }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); line-height: 1.15; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo:active { color: var(--color-ink); }
.logo__ic { width: 44px; height: 44px; flex: none; }
.logo__txt { display: flex; flex-direction: column; }
.logo__name { font-family: var(--font-display); font-size: var(--text-logo); font-weight: var(--w-head); letter-spacing: -0.015em; white-space: nowrap; }
.logo__tag { font-size: var(--text-xs); font-weight: var(--w-ui); color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.06em; }   /* owner rule 7: tagline uppercase, letter-spaced, in header + footer */
.nav { display: flex; align-items: center; gap: var(--space-md); }
.nav ul { display: flex; gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; }
.nav a:not(.btn) { display: block; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-pill); color: var(--color-ink); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out); }
.nav a:not(.btn):hover { background: var(--color-paper-2); }
.nav a[aria-current]:not(.btn) { background: var(--color-paper-2); }
.nav__list > li { position: relative; }
.nav .sub { display: none; position: absolute; left: 0; top: 100%; z-index: var(--z-dropdown); flex-direction: column; gap: 0; min-width: 320px; padding: var(--space-xs); background: var(--color-paper-3); border-radius: var(--radius-control); box-shadow: var(--shadow-menu); }
.nav .sub a:not(.btn) { padding: var(--space-sm); border-radius: var(--radius-control); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }
.langs { gap: var(--space-2xs) !important; }
.langs a[aria-current] { background: var(--color-paper-2); text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav__cta { min-height: 44px; }
.nav-toggle { display: none; }
.nav-backdrop { display: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 var(--space-xs); margin: 0 0 var(--space-md); padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li + li::before { content: "›"; margin-right: var(--space-xs); }
.crumbs a { color: var(--color-muted); }
/* owner 2026-11-10: logo left, menu in the middle, languages and the action right (every desktop width from 1280) */
@media (min-width: 80rem) and (max-width: 89.99rem) { .nav__list a:not(.btn) { padding-inline: var(--space-xs); } }
@media (min-width: 80rem) {
  .bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-lg); }
  .bar > .logo { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav { display: contents; }
  .nav__list { grid-column: 2; grid-row: 1; justify-self: center; }
  .nav .langs { grid-column: 3; grid-row: 1; justify-self: end; margin-right: calc(var(--cta-w) + var(--space-md)); }
  .nav__cta { grid-column: 3; grid-row: 1; justify-self: end; width: var(--cta-w); }
}

/* ---------- the Counter hero: head, lead, promise and the price figure left; THE form in the warm-white card right ---------- */
.counter { padding-block: var(--space-xl); }
.hero-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.counter--home .hero-split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
@media (min-width: 64rem) { .counter--home { display: grid; align-items: center; min-height: calc(100svh - var(--hdr-h) - 36px); } }   /* the home hero fills the first screen in every language (RU text is shorter) */
.hero-split--solo { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); }
.hero-split__text, .hero-split__form { min-width: 0; }
.counter--home h1 { font-size: var(--text-display); max-width: 12ch; line-height: 0.98; font-variant-numeric: lining-nums tabular-nums; }
/* the H1's second half (keyword list) reads as one quiet line, not a second bold heading */
.counter--home .h1__sub { max-width: 40ch; margin-top: var(--space-sm); font-family: var(--font-body); font-weight: var(--w-ui); font-size: var(--text-lead); line-height: 1.3; letter-spacing: 0; color: var(--color-muted); }
.counter--home .hero-fig { margin-top: var(--space-lg); padding-top: var(--space-md); }
.counter--home .lead { max-width: 60ch; font-size: var(--text-md); line-height: 1.5; }
.counter .lead { margin-top: var(--space-md); }
.promise-line { display: flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-md); color: var(--color-ink-2); }
.promise-line .ic-clock { flex: none; color: var(--color-accent); }
.promise-line strong, .promise strong { white-space: nowrap; color: var(--color-ink); }
.pagemeta { margin-top: var(--space-md); font-size: var(--text-sm); font-weight: var(--w-ui); color: var(--color-muted); }
.hero-fig { display: flex; align-items: flex-end; gap: var(--space-lg); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-rule); }
.figure { margin: 0; font: var(--display-weight) var(--text-figure)/0.85 var(--font-display); letter-spacing: var(--tracking-figure); color: var(--color-ink); white-space: nowrap; }
.figure__no { display: block; margin-bottom: var(--space-xs); font-size: var(--text-2xl); letter-spacing: 0; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.figure__unit { font-size: 0.32em; letter-spacing: -0.01em; }
.figure__cap { max-width: 24ch; font-weight: var(--w-ui); color: var(--color-ink); }
.hero-fig--s { margin-top: var(--space-lg); padding-top: var(--space-md); }
.hero-fig--s .figure { font-size: var(--text-figure-s); font-variant-numeric: lining-nums tabular-nums; }
.hero-fig--s .figure__no { font-size: var(--text-lg); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); margin: var(--space-xl) 0 0; }
.facts > div { padding: var(--space-md); background: var(--color-paper-2); border-radius: var(--radius-control); }
.facts dt { font-family: var(--font-display); font-weight: var(--w-head); font-size: var(--text-2xl); line-height: 1; letter-spacing: var(--tracking-display); color: var(--color-ink); white-space: nowrap; }
.facts dd { margin: var(--space-xs) 0 0; font-size: var(--text-sm); font-weight: var(--w-ui); color: var(--color-muted); line-height: 1.3; }
@media (min-width: 68.8125rem) and (min-height: 700px) {
  .counter--home { display: grid; align-items: center; min-height: min(calc(100svh - var(--hdr-h)), 960px); }
}

/* ---------- the page photograph in the hero, under the text and beside the form: big or none, rounded ---------- */
.hero-split__fig { margin-top: var(--space-xl); }
.hero-split__fig .ratio { aspect-ratio: 16 / 10; }
/* desktop: the text column is as tall as the form card and the photo takes what is left, so the hero is one screen */
@media (min-width: 68.8125rem) {
  .counter--inner .hero-split { align-items: stretch; }
  .counter--inner .hero-split__text { display: flex; flex-direction: column; }
  .counter--inner .hero-split__fig { display: flex; flex: 1 1 0; flex-direction: column; min-height: 240px; margin-top: var(--space-lg); }
  .counter--inner .hero-split__fig .ratio { flex: 1 1 auto; aspect-ratio: auto; min-height: 200px; }
  .card .form { gap: var(--space-xs); padding: var(--space-md) var(--space-lg); }
  .card .form__h { font-size: var(--text-xl); }
  .counter--home { padding-block: var(--space-md); }
  .card .seg label { min-height: 44px; }
  .card .promise { padding-block: var(--space-2xs); }
  .card .field textarea { min-height: 44px; }
  .counter--inner { padding-block: var(--space-lg); }
  .counter--inner .facts { margin-top: var(--space-lg); }
  .counter--inner .facts > div { padding: var(--space-sm) var(--space-md); }
  .counter--inner .facts dt { font-size: var(--text-xl); font-variant-numeric: lining-nums tabular-nums; }
}
/* ---------- the wide photograph under the home hero: big or none, rounded, caption under ---------- */
.wide { margin-block: 0 var(--space-md); }

/* ---------- THE form (owner rule 10) ---------- */
.form { display: grid; gap: var(--space-sm); padding: var(--space-lg); color: inherit; }
.form__h { max-width: none; font-size: var(--text-2xl); color: inherit; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.form__row--top { align-items: start; }
.field { display: grid; gap: var(--space-2xs); min-width: 0; align-content: start; }
.field > span, .field__l, .seg legend { font-size: var(--text-sm); font-weight: var(--w-ui); }
.req { color: var(--color-error-on-green); font-weight: var(--w-ui); }
.field input:not(.photo-input), .field select, .field textarea { width: 100%; min-height: 44px; padding: var(--space-xs) var(--space-sm); border: var(--rule-bar) solid var(--color-muted); border-radius: var(--radius-control); background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-md); font-weight: var(--w-body); transition: border-color var(--dur-micro) var(--ease-out); }
.field input::placeholder, .field textarea::placeholder { color: var(--color-muted); opacity: 0.85; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: var(--rule-bar) solid var(--color-focus); outline-offset: 1px; border-color: var(--color-ink); }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: var(--color-error-on-green) !important; }
.field textarea { min-height: 56px; resize: vertical; }
.field select { text-overflow: ellipsis; }
.field__err { color: var(--color-error-on-green); font-size: var(--text-xs); font-weight: var(--w-ui); }
/* "Kur tīrīt?": three choice tiles, the chosen one peach (theme Controls) */
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xs); min-width: 0; margin: 0; padding: 0; border: 0; }
.seg legend { grid-column: 1 / -1; padding: 0; margin-bottom: var(--space-2xs); }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg label { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-xs); border: var(--rule-bar) solid var(--color-muted); border-radius: var(--radius-control); font-size: var(--text-sm); font-weight: var(--w-ui); line-height: 1.2; text-align: center; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.seg label:hover { border-color: var(--color-ink); }
.seg input:checked + label { background: var(--color-accent); border-color: var(--color-accent-2); color: var(--color-accent-ink); box-shadow: inset 0 0 0 1px var(--color-accent-2); }
.seg input:focus-visible + label { outline: var(--rule-bar) solid var(--color-focus); outline-offset: 2px; }
.promise { display: flex; align-items: center; gap: var(--space-xs); margin: 0; padding: var(--space-xs) var(--space-sm); border: var(--rule-bar) solid var(--color-accent-2); border-radius: var(--radius-control); background: var(--promise-bg); color: var(--color-card-ink); font-size: var(--text-sm); }
.promise strong { color: var(--color-card-ink); }
.promise__ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; background: var(--color-accent-ink); color: var(--color-card); border-radius: 50%; }
.form__legal { font-size: var(--text-xs); color: var(--color-muted); line-height: 1.35; }
.form__legal a { color: inherit; font-weight: var(--w-ui); }
.form__status { font-weight: var(--w-ui); }
.form__status:empty { display: none; }
.form__status.is-err { color: var(--color-error-on-green); }
.form__done { padding: var(--space-md); background: var(--promise-bg); color: var(--color-card-ink); border-radius: var(--radius-control); }
.form__done strong { display: block; margin-bottom: var(--space-2xs); font-family: var(--font-display); font-weight: var(--w-head); font-size: var(--text-lg); line-height: 1.2; }
.form.is-sent > :not(.form__status):not(.form__h) { display: none; }
/* inside the warm-white card: card ink, card edges at 3:1, the focus ring in card ink */
.card .form { color: var(--color-card-ink); }
.card .field input:not(.photo-input), .card .field select, .card .field textarea { border-color: var(--color-card-edge); background: var(--color-card); color: var(--color-card-ink); }
.card .field input::placeholder, .card .field textarea::placeholder { color: var(--color-card-muted); }
.card .field input:hover, .card .field select:hover, .card .field textarea:hover, .card .seg label:hover { border-color: var(--color-card-ink); }
.card .seg label { border-color: var(--color-card-edge); }
.card .req, .card .field__err, .card .form__status.is-err { color: var(--color-error); }
.card .field [aria-invalid="true"] { border-color: var(--color-error) !important; }
.card .form__legal { color: var(--color-card-muted); }
.card :focus-visible, .card .field input:focus-visible, .card .field select:focus-visible, .card .field textarea:focus-visible, .card .seg input:focus-visible + label, .card .photo-input:focus-visible ~ .photo-drop { outline-color: var(--color-card-ink); }
.card .photo-drop, .card .photo-btn { border-color: var(--color-card-edge); color: var(--color-card-ink); }
.card .photo-count, .card .file-status { color: var(--color-card-muted); }
.card .file-status.is-err { color: var(--color-error); }

/* optional photos: the real input stays in the DOM, visually hidden */
.photo-field { position: relative; }
.photo-field .photo-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.photo-drop, .photo-btn { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: var(--space-xs) var(--space-sm); border: var(--rule-bar) dashed var(--color-muted); border-radius: var(--radius-control); background: none; color: var(--color-ink); font-size: var(--text-sm); font-weight: var(--w-ui); text-align: center; line-height: 1.2; cursor: pointer; transition: border-color var(--dur-micro) var(--ease-out); }
.photo-drop:hover, .photo-btn:hover, .photo-drop.dragging { border-color: var(--color-ink); }
.card .photo-drop:hover, .card .photo-btn:hover { border-color: var(--color-card-ink); }
.photo-drop.dragging { border-style: solid; }
.photo-btn:active, .photo-drop:active { translate: 0 1px; }
.photo-input:focus-visible ~ .photo-drop, .photo-btn:focus-visible { outline: var(--rule-bar) solid var(--color-focus); outline-offset: 2px; }
.photo-actions { display: none; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: var(--space-xs); }
.photo-btn { white-space: nowrap; }
.photo-list { display: none; gap: var(--space-xs); }
.photo-field.has-file .photo-list { display: flex; }
.photo-field.is-full .photo-drop, .photo-field.is-full .photo-actions { display: none; }
.photo-item { position: relative; flex: 0 1 96px; min-width: 0; overflow: hidden; border-radius: var(--radius-control); background: var(--color-paper-3); }
.photo-thumb { display: block; width: 100%; height: 64px; object-fit: cover; }
.photo-size { display: block; padding-block: var(--space-3xs); font-size: var(--text-xs); text-align: center; color: var(--color-ink); }
.photo-remove { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--color-card); cursor: pointer; }
.photo-remove svg { width: 20px; height: 20px; padding: var(--space-2xs); background: var(--color-card-ink); border-radius: 50%; }
.photo-count, .file-status { font-size: var(--text-xs); color: var(--color-muted); }
.file-status.is-err { color: var(--color-error-on-green); }
.photo-field.uploading .photo-item { opacity: 0.6; }
@media (hover: none), (max-width: 40rem) {
  .photo-drop { display: none; }
  .photo-field:not(.is-full) .photo-actions { display: grid; }
}

/* ---------- home: the bento of service tiles, the Rows of "Kur tīrīt?", the photo guide, the honest tiles, steps ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-md); margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
.tile--svc { display: flex; flex-direction: column; gap: var(--space-sm); grid-column: span 2; min-height: 260px; padding: var(--space-lg); transition: background-color var(--dur-short) var(--ease-out); }
.tile--svc:nth-child(-n+2), .tile--svc:nth-child(n+6) { grid-column: span 3; }
.tile--svc:hover { background: color-mix(in oklab, var(--color-paper-2) 85%, var(--color-ink)); }
.tile--svc h3 a { color: var(--color-ink); text-decoration: none; }
.tile--svc h3 a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.tile--svc p { color: var(--color-muted); }
.tile__p { margin-top: auto !important; padding-top: var(--space-lg); font: var(--display-weight) var(--text-3xl)/1 var(--font-display); color: var(--color-ink) !important; letter-spacing: -0.02em; white-space: nowrap; }
.unit { font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--w-ui); letter-spacing: 0; color: var(--color-muted); white-space: normal; }   /* the unit may wrap under the price (EN "per m², over 100 m²" at 375 px) */
.tiles__rule { margin-top: var(--space-md); max-width: 72ch; font-size: var(--text-sm); font-weight: var(--w-ui); color: var(--color-muted); }
.models__lead { margin-top: var(--space-md); }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.rows li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows__fact { margin-top: var(--space-xs); font-weight: var(--w-ui); color: var(--color-ink); }
.plate img, .dw__plate img { width: 100%; filter: invert(1); mix-blend-mode: screen; }
.guide { display: grid; gap: var(--space-md); margin: var(--space-lg) 0 0; padding: 0 0 0 var(--space-lg); }
.guide li { padding-left: var(--space-xs); }
.guide li::marker { font-family: var(--font-display); font-weight: var(--w-head); color: var(--color-accent); }
.guide h3 { max-width: none; }
.guide p { margin-top: var(--space-2xs); }
.guide__end { margin-top: var(--space-lg); }
.honest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-xl); }
.honest > .tile { padding: var(--space-lg); }
.honest ul { margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.honest li { padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.honest--inline { gap: var(--space-xl); margin-top: var(--space-lg); padding: var(--space-lg); background: var(--color-paper-2); border-radius: var(--radius-card); }
.prose .honest h3 { margin-top: 0; }
.prose .honest ul { padding-left: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); margin: var(--space-xl) 0 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { counter-increment: st; padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-rule); }
.steps li::before { content: counter(st); display: block; font-family: var(--font-display); font-weight: var(--w-head); font-size: var(--text-3xl); line-height: 1; color: var(--color-accent); }
.steps h2, .steps h3 { margin-top: var(--space-xs); max-width: none; font-size: var(--text-lg); line-height: 1.2; letter-spacing: -0.01em; }
.steps p { margin-top: var(--space-2xs); }
.steps--band, .steps--hero { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: var(--space-lg); }
.steps--band li, .steps--hero li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: var(--space-sm); padding: var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.steps--band li::before, .steps--hero li::before { grid-row: span 2; font-size: var(--text-xl); }
.steps--band h3, .steps--hero h2 { margin-top: 0; }
.subnav h2 { max-width: none; font-size: var(--text-title); line-height: 1.2; margin-bottom: var(--space-sm); }
.subnav ul { margin: 0; padding: 0; list-style: none; }
.subnav li { border-top: var(--rule-hair) solid var(--color-rule); }
.subnav li a { display: flex; align-items: center; min-height: 44px; padding-block: var(--space-2xs); color: var(--color-ink); text-decoration: none; line-height: 1.25; }
.subnav li a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.subnav__cols { columns: 2 12rem; column-gap: var(--space-xl); }
.subnav__cols li { break-inside: avoid; }
.rail .subnav { padding: var(--space-lg); }

/* ---------- content pages: Long Document with a right rail ---------- */
.content-grid, .article-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-2xl); align-items: start; padding-block: var(--section-gap-s); }
.content-grid--home { padding-block: 0; }
.article-grid--solo { grid-template-columns: minmax(0, 1fr); }
.contact__more { padding-block: var(--section-gap-s); }
.rail { display: flex; flex-direction: column; gap: var(--space-lg); align-self: stretch; min-width: 0; }
.pcard { display: grid; gap: var(--space-sm); padding: var(--space-lg); }
@media (min-height: 760px) { .rail > :last-child { position: sticky; top: calc(var(--hdr-h) + var(--space-md)); } }
.pcard__h { max-width: none; font-size: var(--text-title); line-height: 1.2; }
.pcard__note { font-size: var(--text-sm); line-height: 1.4; color: var(--color-muted); }
.pcard__rules { margin: 0; padding: 0; list-style: none; }
.pcard__rules li { padding-block: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); }
.pcard__rules li:first-child { border-top: 0; font-weight: var(--w-ui); color: var(--color-ink); }
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { padding: var(--space-xs) 0; text-align: left; font-weight: var(--w-body); vertical-align: baseline; border-top: var(--rule-hair) solid var(--color-rule); }
.prices .num { padding-left: var(--space-md); text-align: right; white-space: nowrap; font-family: var(--font-display); font-weight: var(--w-head); color: var(--color-ink); }
.prices small { display: block; color: var(--color-muted); line-height: 1.3; }
.prices a { color: var(--color-ink); text-decoration: none; }
.prices a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.prices--ledger thead th { font-size: var(--text-sm); font-weight: var(--w-ui); color: var(--color-muted); border-top: 0; }
.prices--ledger td:not(.num) { padding-left: var(--space-md); font-size: var(--text-sm); font-weight: var(--w-ui); color: var(--color-muted); }
.prices__g th { padding-top: var(--space-lg); font-family: var(--font-display); font-weight: var(--w-head); font-size: var(--text-title); line-height: 1.2; letter-spacing: var(--tracking-display); color: var(--color-ink); border-top: 0 !important; font-variant-numeric: lining-nums tabular-nums; }
.ledger > section + .prose { margin-top: var(--space-2xl); }
.ledger h2 { font-size: var(--text-prose-h); }
.prose { min-width: 0; }
.prose p, .prose li { font-size: var(--text-body); line-height: 1.7; }
.prose p, .prose ul, .prose ol { max-width: 56ch; }
.prose__sec { margin-top: var(--space-2xl); }
.prose__sec:first-child { margin-top: 0; }
.prose h2 { font-size: var(--text-prose-h); line-height: 1.08; }
.prose h3 { font-size: var(--text-lg); }
.prose h2 + p, .prose h2 + ul, .prose h2 + ol, .prose h2 + .table-wrap { margin-top: var(--space-md); }
.prose p + p { margin-top: var(--space-sm); }
.prose ul, .prose ol { margin-block: var(--space-sm); padding-left: var(--space-lg); }
.prose li + li { margin-top: var(--space-2xs); }
.prose .lead-rest { margin-bottom: var(--space-xl); font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink); }
.ticks li::marker { color: var(--color-accent); }
.steplist { display: grid; gap: var(--space-sm); }
.steplist li::marker { font-family: var(--font-display); font-weight: var(--w-head); color: var(--color-accent); }
.steplist strong { display: block; font-family: var(--font-display); font-weight: var(--w-head); font-size: var(--text-lg); line-height: 1.25; color: var(--color-ink); }
.note { max-width: 56ch; margin-block: var(--space-md); padding: var(--space-md) var(--space-lg); background: var(--color-paper-3); border-radius: var(--radius-control); }
.note p { font-size: var(--text-md); }
.table-wrap { max-width: 100%; overflow-x: auto; margin-block: var(--space-md); border-block: var(--rule-bar) solid var(--color-rule); }
.spec { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.spec th, .spec td { padding: var(--space-xs) var(--space-md) var(--space-xs) 0; text-align: left; font-weight: var(--w-body); vertical-align: top; border-top: var(--rule-hair) solid var(--color-rule); }
.spec thead th { font-size: var(--text-sm); font-weight: var(--w-ui); color: var(--color-muted); border-top: 0; }
.spec tbody th { font-weight: var(--w-ui); color: var(--color-ink); }
.spec tr > :last-child { padding-right: 0; }
.spec .num { text-align: right; white-space: nowrap; font-family: var(--font-display); font-weight: var(--w-head); color: var(--color-ink); }
:is(.spec, .prices):has(tbody td.num) thead th:last-child { text-align: right; }
.sources { margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-rule); }
.prose .sources h2 { font-size: var(--text-lg); }
.prose .sources li { font-size: var(--text-sm); line-height: 1.45; }
.sources span { color: var(--color-muted); }
.prose > .pagemeta { margin-top: var(--space-xl); }
.dwg-band h2 { font-size: var(--text-prose-h); }
.dwg-band .split { align-items: center; }
.dwg-band .guide { margin-top: var(--space-lg); }
.dw figcaption { padding-top: var(--space-sm); }
.dw__cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-md); padding-top: var(--space-md); }
.dw__cols b { display: block; color: var(--color-ink); }

/* ---------- hubs and lists ---------- */
.hub { padding-block: var(--section-gap-s); }
.hub + .content-grid { padding-top: 0; }
.hub__group + .hub__group { margin-top: var(--space-2xl); }
.hub__group h2, .arealist h2 { max-width: none; font-size: var(--text-prose-h); }
.arealist__n { display: inline-grid; place-items: center; min-width: 2.25em; padding: var(--space-3xs) var(--space-xs); vertical-align: middle; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-display); font-weight: var(--w-head); font-size: var(--text-md); letter-spacing: 0; }
.arealist__lead { margin-top: var(--space-xs); }
.index { columns: 4 11rem; column-gap: var(--space-xl); margin: var(--space-lg) 0 0; padding: 0; list-style: none; }
.index li { break-inside: avoid; border-top: var(--rule-hair) solid var(--color-rule); }
.index a { display: flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration: none; }
.index a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.index--short { columns: 2 14rem; }
.svclist { display: grid; gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.svclist__row { display: grid; grid-template-columns: 280px minmax(0, 1fr) auto; gap: var(--space-lg); align-items: center; padding: var(--space-md); }
.svclist__fig { display: block; overflow: hidden; border-radius: var(--radius-control); }
.svclist__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(1.06) contrast(1.04); }
.svclist__text h2 { max-width: none; font-size: var(--text-title); line-height: 1.2; }
.svclist__text a { color: var(--color-ink); text-decoration: none; }
.svclist__text a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.svclist__text p { margin-top: var(--space-2xs); max-width: 65ch; color: var(--color-muted); }
.svclist__price { margin: 0; padding-right: var(--space-sm); white-space: nowrap; }
.svclist__price b { font-family: var(--font-display); font-weight: var(--w-head); font-size: var(--text-xl); color: var(--color-ink); }
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.docs .tile { padding: var(--space-lg); }
.docs h2 { max-width: none; font-size: var(--text-title); line-height: 1.2; }
.docs a { color: var(--color-ink); text-decoration: none; }
.docs a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.docs p { margin-top: var(--space-xs); color: var(--color-muted); }
.related { margin-bottom: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-rule); }
.related__h { max-width: none; font-size: var(--text-title); line-height: 1.2; }
.related ul { columns: 3 16rem; column-gap: var(--space-xl); margin: var(--space-sm) 0 0; padding: 0; list-style: none; }
.related li { break-inside: avoid; }
.related a { display: inline-flex; align-items: center; min-height: 44px; }
.notfound { min-height: 50svh; }
.notfound .lead { margin-top: var(--space-md); }

/* ---------- FAQ rows, form band, footer ---------- */
.faq h2 { font-size: var(--text-prose-h); }
.faq__item { border-top: var(--rule-hair) solid var(--color-rule); }
.faq__item:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; padding-block: var(--space-sm); color: var(--color-ink); font-family: var(--font-display); font-weight: var(--w-head); font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-body); font-weight: var(--w-ui); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.faq__a { padding-bottom: var(--space-lg); }
.faq__a p { font-size: var(--text-body); line-height: 1.7; }
.form-band__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.form-band h2 { font-size: var(--text-section); }
.form-band .lead { margin-top: var(--space-md); }
.form-band__text { min-width: 0; }
.form-band__fig { margin-top: var(--space-xl); }
.tile--form .form__h { font-size: var(--text-xl); }
.sec--join-bottom { padding-bottom: 0; }
.sec--join-top { padding-top: 0; }
.sec--gap { padding-top: var(--section-gap); }
.t-home .faq h2 { font-size: var(--text-section); }
.ftr { padding-block: var(--space-3xl) var(--space-lg); background: var(--color-paper-3); color: var(--color-ink-2); }
.ftr__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); }
.ftr__p { max-width: 30ch; font: var(--w-head) var(--text-2xl)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }
.ftr__p strong { font-weight: var(--w-head); }
.ftr__sig { margin-top: var(--space-xl); }
.ftr .logo, .ftr .logo:active { color: var(--color-ink); }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.ftr__h { font-weight: var(--w-ui); color: var(--color-ink); }
.ftr ul { margin: var(--space-sm) 0 0; padding: 0; list-style: none; }
.ftr__col a { display: inline-flex; align-items: center; min-height: 32px; color: var(--color-ink-2); font-weight: var(--w-body); }
.ftr__col a:hover { color: var(--color-ink); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.stickycta { display: none; }

/* ---------- menu button below 1280 px: the masthead needs the width (owner rule 12) ---------- */
@media (max-width: 79.99rem) {
  .nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: calc(-1 * var(--space-xs)); padding: 0; border: 0; border-radius: var(--radius-control); background: none; color: var(--color-ink); cursor: pointer; }
  .nav-toggle:hover { background: var(--color-paper-2); }
  .nav-toggle:active { background: var(--color-paper-3); }
  .nav-toggle__bars { display: grid; gap: var(--space-2xs); width: 24px; }
  .nav-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0.001; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .bar { flex-wrap: wrap; }
  /* owner 2026-11-10: the hamburger stays on the logo's row on every phone; the logo shrinks instead of pushing it down */
  .bar > .logo { flex: 1 1 0; min-width: 0; }
  .logo__txt { min-width: 0; }
  .nav-toggle { flex: none; }
  .nav { flex-direction: column; align-items: stretch; gap: var(--space-sm); flex-basis: 100%; padding: var(--space-sm) var(--gutter) var(--space-lg); background: var(--color-paper); }
  .nav ul { flex-direction: column; gap: 0; }
  .js .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100svh - var(--hdr-h)); overflow: auto; border-radius: 0 0 var(--radius-menu) var(--radius-menu); box-shadow: var(--shadow-menu);
    clip-path: inset(0 -40px 100% -40px); transform: translateY(-14px); visibility: hidden;
    transition: clip-path var(--dur-close) var(--ease-in), transform var(--dur-close) var(--ease-in), visibility 0s var(--dur-close); }
  .js .nav.is-open { clip-path: inset(0 -40px -80px -40px); transform: none; visibility: visible; transition: clip-path var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
  .nav.is-open .nav__list > li, .nav.is-open > .langs, .nav.is-open > .nav__cta { animation: navItemIn 360ms var(--ease-out) both; }
  .nav.is-open .nav__list > li:nth-child(1) { animation-delay: 60ms; }
  .nav.is-open .nav__list > li:nth-child(2) { animation-delay: 120ms; }
  .nav.is-open .nav__list > li:nth-child(3) { animation-delay: 180ms; }
  .nav.is-open .nav__list > li:nth-child(4) { animation-delay: 240ms; }
  .nav.is-open .nav__list > li:nth-child(5) { animation-delay: 300ms; }
  .nav.is-open > .langs { animation-delay: 360ms; }
  .nav.is-open > .nav__cta { animation-delay: 360ms; }
  .nav .sub { display: none !important; }
  .nav .nav__list > li + li { border-top: var(--rule-hair) solid var(--color-rule); }
  .nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: var(--space-xs) var(--space-sm); font-size: var(--text-body); }
  .nav .langs { flex-direction: row; gap: var(--space-xs) !important; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: var(--z-backdrop); background: var(--scrim-page); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity var(--dur-close) var(--ease-in), visibility 0s var(--dur-close); }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity var(--dur-long) var(--ease-out); }
  html.nav-open { overflow: hidden; }
}
@keyframes navItemIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- one column from 1100 px down: text, then the form, then the figure ---------- */
@media (max-width: 68.75rem) {
  .hero-split, .counter--home .hero-split { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-md); }
  .hero-split__text { display: contents; }
  .hero-split__form { order: 1; margin-top: var(--space-sm); }
  .hero-fig, .facts { order: 2; }
  .hero-split__fig { order: 3; margin-top: var(--space-sm); }
  .hero-split > .hero-split__text > * { min-width: 0; }
  .split, .split--4-8, .split--5-7, .split--7-5, .content-grid, .article-grid, .form-band__in, .ftr__in { grid-template-columns: minmax(0, 1fr); }
  .rail { align-self: auto; }
  .rail > :last-child { position: static !important; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--svc, .tile--svc:nth-child(-n+2), .tile--svc:nth-child(n+6) { grid-column: span 1; min-height: 220px; }
  .tile--svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--band, .steps--hero { grid-template-columns: minmax(0, 1fr); }
  .ratio-wide { min-height: 300px; }
  .docs { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phones ---------- */
@media (max-width: 40rem) {
  .honest, .form__row, .seg { grid-template-columns: minmax(0, 1fr); }
  .ratio-wide { aspect-ratio: 4 / 3; min-height: 0; }
  .form { padding: var(--space-md); }
  .counter { padding-block: var(--space-lg); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile--svc, .tile--svc:last-child:nth-child(odd) { grid-column: auto; min-height: 0; }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .hero-fig { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); padding: var(--space-sm) var(--space-md); }
  .facts dd { margin: 0; text-align: right; }
  .svclist__row { grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-sm); align-items: start; padding: var(--space-sm); }
  .svclist__price { grid-column: 2; padding-right: 0; }
  .dw__cols { grid-auto-flow: row; }
  .ftr__cols { grid-template-columns: minmax(0, 1fr); }
  .ftr { padding-block: var(--space-2xl) var(--space-lg); }
  .ftr__p { font-size: var(--text-xl); }
  .stickycta { display: block; position: sticky; bottom: 0; z-index: var(--z-raised); transition: transform var(--dur-short) var(--ease-out), visibility 0s; }
  .stickycta.is-away { transform: translateY(100%); visibility: hidden; transition: transform var(--dur-short) var(--ease-in), visibility 0s var(--dur-short); }
  html { scroll-padding-bottom: 72px; }
  .stickycta a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: var(--space-xs); background: var(--color-accent); color: var(--color-accent-ink); font-weight: var(--w-ui); line-height: 1.2; text-decoration: none; }
  .stickycta a:hover { background: var(--color-accent-2); }
  .stickycta a:active { background: var(--color-accent-2); color: var(--color-accent-ink); }
  .stickycta small { font-size: var(--text-xs); font-weight: var(--w-body); }
  .table-wrap--stack { overflow: visible; border-block: 0; }
  .table-wrap--stack thead { display: none; }
  .table-wrap--stack tbody, .table-wrap--stack tr, .table-wrap--stack th, .table-wrap--stack td { display: block; }
  .table-wrap--stack tr { padding-block: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); }
  .table-wrap--stack th, .table-wrap--stack td { padding: var(--space-2xs) 0; border-top: 0; }
  .table-wrap--stack td { display: flex; justify-content: space-between; gap: var(--space-md); text-align: right; white-space: normal; }
  .table-wrap--stack td::before { content: attr(data-label); flex: none; max-width: 45%; font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--w-ui); color: var(--color-muted); text-align: left; }
  .prices--ledger td:not(.num) { padding-left: 0; }
  .prices__g th { padding-top: var(--space-md); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
}
