/* Hallmark · shape: Poster (home), Long Document (content; owner page system, design-hallmark.md § 3.5) · genre: atmospheric · theme: Darkroom (custom pick from a deal of 40, seed plumber-riga-agenskalns-santehni-53ea·e394f79d·2026-11-16·r0; owner pick 16.11.2026 from Wayfind / Darkroom / Terrazzo) · job: hire · draw: none (owner page system)
 * hero: Poster head across seven columns, the deep black-and-white print and the text under it, the owner's original form right (rule 10) · nav: thin line, links right · footer: colophon line · imagery: photographs (codex-images, black and white, printed deeper than the ground) · signature: the hairline poster head over a night print of an old pipe junction; prices as hairline figures; the home contact strip · darkroom: amber
 * axes: dark/display-condensed/chromatic-amber · posture: restrained · contrast: pass · fold: pass · fonts: Barlow -> Sofia Sans (no Cyrillic), self-hosted woff2 per subset · copy: owner verbatim where the owner fixed it (rules 9, 10, 16; the original lead form is the owner's markup) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, a dark page could read as gloomy for a trade; the safelight lights only the actions, the promise and the figures */
/* Hallmark · dismissed F4 · the second filled recipe is the owner\'s fixed form submit (.request form button), same fill as the page primary */
/* Hallmark · dismissed F2 · three-dot ellipses are placeholders inside the owner's verbatim form markup (owner: the form must not change) */
/* Hallmark · waive 77 · Long Document content pages: prose at 65ch beside a rail that carries the price figure */
/* Hallmark · waive 78 · Long Document heads inline in the prose (content pages run 700-1,300 words, FORMULA) */
/* Hallmark · dismissed 59 · long content pages carry more sections than 6-9 (owner word counts) */
/* Hallmark · dismissed 29 · the menu backdrop blur is owner rule 12 (ink at 55 % + 5px blur behind the open phone menu) */
/* Hallmark · dismissed 74 · the Tailwind class names sit in the owner's original form markup (not loaded; styled by element here) */
/* Hallmark · dismissed F20 · related-link lists come from the writers' links (3 to 9 items); a single item on the last row is accepted */
/* Hallmark · dismissed F1 · straight quotes inside Latvian company names come from the writers' copy; fixed in content, not CSS */
/* Hallmark · open, owner form · FAIL 10a (transition-all classes), 30a (emoji in the district, problem and urgency options, the lock in the privacy line) and 67 ("NOSŪTĪT" in capitals on the submit) are inside the owner's verbatim form markup (owner: the form must not change) */
/* Hallmark · waive 49b · real Latvian page names in the menu and lists wrap to two lines at 320px */
/* Hallmark · waive 40 · placeholder-only fields are the owner's original form markup (owner 13.11.2026: the form must not change); accessible names are added at runtime */

/* ---------- fonts: self-hosted per subset (Sofia Sans Extra Condensed 200-400, Sofia Sans 400-500) ---------- */
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/sofia-sans-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: "Sofia Sans"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/sofia-sans-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/sofia-sans-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: "Sofia Sans"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/sofia-sans-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: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 200 400; font-display: swap; src: url("/assets/fonts/sofia-sans-extra-condensed-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: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 200 400; font-display: swap; src: url("/assets/fonts/sofia-sans-extra-condensed-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 200 400; font-display: swap; src: url("/assets/fonts/sofia-sans-extra-condensed-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: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 200 400; font-display: swap; src: url("/assets/fonts/sofia-sans-extra-condensed-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 (theme.mjs scaffold, Darkroom: amber) ---------- */
:root {
  color-scheme: dark;
  --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.9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display: clamp(3.25rem, 6.6vw, 7.5rem); --text-display-s: clamp(2.75rem, 4.6vw, 5.25rem);
  --text-section: clamp(2.5rem, 3vw + 1rem, 4.25rem); --text-prose-h: clamp(2rem, 1.8vw + 1.1rem, 3rem); --text-title: clamp(1.4rem, 0.8vw + 1rem, 1.85rem); --text-lead: clamp(1.15rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 112px;
  --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-tooltip: 600;
  --color-paper: oklch(12.5% 0.008 55); --color-paper-2: oklch(16% 0.009 55); --color-paper-3: oklch(20.5% 0.01 55);
  --color-ink: oklch(92% 0.012 78); --color-ink-2: oklch(80% 0.012 75); --color-muted: oklch(68% 0.012 65);
  --color-rule: oklch(29% 0.01 55); --color-rule-2: oklch(42% 0.012 60);
  --color-accent: oklch(73% 0.15 58); --color-accent-deep: oklch(50% 0.11 52); --color-accent-ink: oklch(12.5% 0.008 55);
  --color-focus: oklch(73% 0.15 58); --color-error: oklch(68% 0.17 30); --color-success: oklch(72% 0.12 150);
  --scrim: oklch(8% 0.006 55 / 0.6);
  --font-display: "Sofia Sans Extra Condensed", ui-sans-serif, "Arial Narrow", sans-serif; --font-body: "Sofia Sans", ui-sans-serif, system-ui, sans-serif;
  --radius: 0; --rule-hair: 1px; --w-hair: 200; --w-regular: 400; --w-medium: 500;
  --head-h: 112px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-rule-2) var(--color-paper); scroll-padding-top: calc(var(--head-h) + var(--space-md)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-accent-deep); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-color: var(--color-rule-2); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--color-accent); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--w-hair); font-synthesis: none; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: var(--text-display); max-width: none; }
h2 { font-size: var(--text-section); max-width: 22ch; }
h3 { font-size: var(--text-title); font-weight: var(--w-regular); line-height: 1.05; max-width: 40ch; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.num, .figure, .prices, .spec { font-variant-numeric: tabular-nums; }
.vh, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hidden { display: none !important; }
.skip { position: absolute; left: var(--space-md); top: var(--space-xs); z-index: var(--z-tooltip); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); clip-path: inset(50%); }
.skip:focus { clip-path: none; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* ---------- header: the promise strip (owner rule 9) + a thin line ---------- */
.hdr { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); }
.annbar { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 40px; padding: var(--space-2xs) var(--space-md); background: var(--color-paper-3); color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; text-align: center; }
.annbar strong { color: var(--color-accent); font-weight: var(--w-medium); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--color-accent-deep); text-underline-offset: 0.2em; }
.annbar:hover strong { text-decoration-color: var(--color-accent); }
.annbar .ico { flex: none; color: var(--color-accent); }
.annbar:focus-visible { outline-offset: -4px; }
.bar { border-bottom: var(--rule-hair) solid var(--color-rule); }
.bar__in { position: relative; display: flex; align-items: center; gap: var(--space-lg); min-height: 72px; }
.logo { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); margin-right: auto; min-width: 0; }
.logo img { flex: none; width: 44px; height: 44px; border-radius: 10px; }
.logo__w { display: grid; min-width: 0; }
.logo__name { font: var(--w-regular) 1.75rem/0.95 var(--font-display); text-transform: uppercase; letter-spacing: 0.005em; }
.logo__tag { margin-top: var(--space-3xs); font-size: 0.6875rem; font-weight: var(--w-medium); text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-muted); }
.nav__list { display: flex; align-items: center; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.nav__list > li { display: flex; align-items: center; align-self: stretch; }
.nav__list > li > a { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 44px; font-size: var(--text-sm); text-decoration: none; color: var(--color-ink-2); white-space: nowrap; }
.nav__list > li > a:hover, .nav__list > li > a[aria-current] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav__cta { display: none !important; }
.bar__in > .nav { align-self: stretch; display: flex; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.caret { transition: transform var(--dur-short) var(--ease-out); }
.sub { display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); z-index: var(--z-dropdown); padding: var(--space-lg) var(--space-xl) var(--space-md); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-top: 0; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg) var(--space-xl); }
.sub__h { font: var(--w-regular) 1.5rem/1 var(--font-display); text-transform: uppercase; color: var(--color-ink); padding-bottom: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-rule); margin-bottom: var(--space-xs); }
.sub ul { list-style: none; margin: 0; padding: 0; }
.sub__group > ul > li + li { margin-top: var(--space-xs); }
.sub a { color: var(--color-ink-2); text-decoration: none; }
.sub a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.sub__hub { font-size: var(--text-sm); }
.sub__all { margin-top: var(--space-md); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.sub__all a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.langs { display: flex; gap: var(--space-2xs); list-style: none; margin: 0; padding: 0; font-size: var(--text-xs); }
.langs a { display: inline-grid; place-items: center; min-width: 32px; min-height: 36px; text-decoration: none; color: var(--color-muted); }
.langs a[aria-current] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.langs a:hover { color: var(--color-ink); }
.nav-toggle { display: none; flex: none; width: 44px; height: 44px; padding: var(--space-sm) var(--space-xs); border: var(--rule-hair) solid var(--color-rule-2); background: none; color: var(--color-ink); cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: currentColor; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.nav-toggle:hover { border-color: var(--color-ink-2); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; z-index: var(--z-sticky); background: var(--scrim); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity 260ms var(--ease-out), visibility 0s 260ms; }
.nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity 400ms var(--ease-out), visibility 0s; }
html.nav-open { overflow: hidden; }

/* ---------- buttons: display capitals, the amber safelight is the one fill ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-xs) var(--space-lg); border: var(--rule-hair) solid var(--color-ink); font: var(--w-regular) 1.375rem/1 var(--font-display); text-transform: uppercase; color: var(--color-ink); background: none; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-accent-ink); }
.btn--primary:active { background: var(--color-ink-2); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* ---------- breadcrumbs ---------- */
.crumbs { margin-bottom: var(--space-md); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li { display: inline-flex; align-items: center; gap: var(--space-xs); }
.crumbs li + li::before { content: "/"; color: var(--color-rule-2); }
.crumbs a { color: var(--color-ink-2); }

/* ---------- hero: Poster (head across seven columns, print + text under it, the form right) ---------- */
.hero { padding-block: var(--space-md) var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: start; }
.hero__head { grid-column: 1 / 8; grid-row: 1; min-width: 0; }
.hero__photo { grid-column: 1 / 4; grid-row: 2; margin: 0; display: grid; gap: var(--space-xs); }
.hero__text { grid-column: 4 / 8; grid-row: 2; display: grid; gap: var(--space-lg); align-content: start; min-width: 0; }
.hero__grid--nophoto .hero__text { grid-column: 1 / 8; }
.request { grid-column: 8 / 13; grid-row: 1 / 3; align-self: start; position: sticky; top: calc(var(--head-h) + var(--space-md)); }
.t-home .hero h1 { font-size: clamp(3.25rem, 6vw, 6.5rem); }
.hero h1 { font-size: var(--text-display-s); }
.h1__sub { display: block; margin-top: var(--space-xs); font-size: 0.46em; line-height: 1.05; }
.hero--solo .hero__head, .hero--solo .hero__text { grid-column: 1 / -1; }
.hero--solo .lead { max-width: 62ch; }
.hero .lead { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink); max-width: 46ch; }
.promise-line { display: flex; gap: var(--space-xs); align-items: flex-start; color: var(--color-ink-2); max-width: 52ch; }
.promise-line .ico { flex: none; margin-top: var(--space-3xs); color: var(--color-accent); }
.promise-line strong { color: var(--color-accent); font-weight: var(--w-medium); white-space: nowrap; }
.photo__frame { position: relative; aspect-ratio: 4 / 5; max-height: 440px; overflow: hidden; background: var(--color-paper-2); }
.photo__frame picture, .photo__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) contrast(1.12) brightness(0.86); }
.hero__photo figcaption { font-size: var(--text-xs); line-height: 1.45; color: var(--color-muted); }
.pagemeta { font-size: var(--text-sm); color: var(--color-muted); }
/* the home contact strip: three hairline numerals */
.strip { list-style: none; margin: 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.strip li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-sm); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.strip__n { font: var(--w-hair) 3.5rem/0.9 var(--font-display); color: var(--color-ink); }
.strip p { font-size: var(--text-sm); color: var(--color-ink-2); }
.strip strong { display: block; color: var(--color-ink); font-weight: var(--w-medium); font-size: var(--text-md); }

/* ---------- the request: a raised surface + promise box + the owner's original form ---------- */
.request { background: var(--color-paper-3); padding: var(--space-md) var(--space-lg) var(--space-lg); display: grid; gap: var(--space-xs); }
.request__h { font-size: 2rem; font-weight: var(--w-regular); max-width: none; }
.promise-box { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-accent); color: var(--color-ink); font-size: var(--text-sm); }
.promise-box strong { color: var(--color-accent); font-weight: var(--w-medium); white-space: nowrap; }
.promise-box__ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; background: var(--color-accent); color: var(--color-accent-ink); }
/* the owner's markup carries Tailwind class names that this site does not load: styled here by element only */
.request form { display: grid; gap: var(--space-xs); }
.request form > div:not(.hidden):not([aria-hidden]) { display: grid; }
.request input:not([type="hidden"]):not([name="website"]), .request select, .request textarea { width: 100%; min-height: 46px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background-color: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); transition: border-color var(--dur-micro) var(--ease-out); }
.request input::placeholder, .request textarea::placeholder { color: var(--color-muted); opacity: 1; }
.request input:hover, .request select:hover, .request textarea:hover { border-color: var(--color-ink-2); }
.request input:focus-visible, .request select:focus-visible, .request textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-accent); }
.request input:user-invalid, .request select:user-invalid { border-color: var(--color-error); }
.request input:disabled, .request select:disabled, .request textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.request select { appearance: none; -webkit-appearance: none; padding-right: var(--space-xl); cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--color-ink-2) 50%), linear-gradient(135deg, var(--color-ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.request select option { background: var(--color-paper-2); color: var(--color-ink); }
.request textarea { height: 68px; min-height: 0; resize: none; }
.request button[type="submit"] { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); width: 100%; height: 52px; margin-top: var(--space-2xs); padding: 0 var(--space-lg); border: 0; border-radius: 0; background: var(--color-accent); color: var(--color-accent-ink); font: var(--w-regular) 1.375rem/1 var(--font-display); text-transform: uppercase; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out); }
.request button[type="submit"]:hover { background: var(--color-ink); }
.request button[type="submit"]:active { background: var(--color-ink-2); }
.request button[type="submit"]:disabled { background: var(--color-rule-2); color: var(--color-ink-2); cursor: not-allowed; }
.request button[type="submit"] svg { width: 20px; height: 20px; }
.request form p { font-size: var(--text-xs); color: var(--color-muted); line-height: 1.5; }
.request form p a { color: var(--color-ink-2); }
#success-message, #form-success { padding: var(--space-xl) var(--space-md); text-align: center; display: grid; justify-items: center; gap: var(--space-sm); }
#success-message.hidden, #form-success.hidden { display: none !important; }
#success-message svg, #form-success svg { width: 40px; height: 40px; color: var(--color-accent); }
#success-message h3, #form-success h3 { font-size: 2.25rem; }
#success-message p, #form-success p { color: var(--color-ink-2); }

/* ---------- the Long Document ---------- */
.doc { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.doc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.prose { grid-column: 1 / 8; display: grid; gap: var(--space-2xl); min-width: 0; }
.doc--solo .prose, .doc--hub .prose { grid-column: 1 / 10; }
.doc--prices .prose { grid-column: 1 / 9; }
.prose__sec { display: grid; gap: var(--space-md); }
.prose h2 { font-size: var(--text-prose-h); max-width: 24ch; margin-bottom: var(--space-2xs); }
.t-home .prose h2 { font-size: var(--text-section); }
.prose p, .prose li { color: var(--color-ink-2); line-height: 1.72; }
.prose p, .prose li { max-width: 58ch; }
.prose .lead-rest { font-size: var(--text-lg); line-height: 1.6; color: var(--color-ink); }
.prose a { color: var(--color-ink); text-decoration-color: var(--color-accent-deep); }
.prose a:hover { text-decoration-color: var(--color-accent); }
.prose strong { font-weight: var(--w-medium); color: var(--color-ink); }
.ticks { list-style: none; padding: 0; display: grid; gap: var(--space-xs); max-width: 65ch; }
.ticks li { position: relative; padding-left: var(--space-lg); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 1px; background: var(--color-ink-2); }
.steps { list-style: none; padding: 0; counter-reset: st; display: grid; max-width: 65ch; border-top: var(--rule-hair) solid var(--color-rule); }
.steps li { counter-increment: st; position: relative; min-height: 64px; padding: var(--space-sm) 0 var(--space-sm) 68px; border-bottom: var(--rule-hair) solid var(--color-rule); }
.steps li::before { content: counter(st); position: absolute; left: 0; top: var(--space-sm); width: 56px; font: var(--w-hair) 3rem/0.9 var(--font-display); color: var(--color-ink); }
.steps li strong { display: block; margin-bottom: var(--space-3xs); }
.note { padding: var(--space-md) var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); max-width: 65ch; }
.note p { font-size: var(--text-sm); line-height: 1.6; color: var(--color-ink-2); }
.table-wrap { max-width: 100%; overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; font-size: var(--text-sm); border-top: var(--rule-hair) solid var(--color-ink-2); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); line-height: 1.5; }
.spec thead th { font-weight: var(--w-regular); color: var(--color-muted); }
.spec tbody th { font-weight: var(--w-medium); color: var(--color-ink); }
.spec td { color: var(--color-ink-2); }
.spec td.num { white-space: nowrap; color: var(--color-ink); font: var(--w-hair) 1.75rem/1 var(--font-display); }
.sources { display: grid; gap: var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.sources h2 { font-size: var(--text-title); font-weight: var(--w-regular); }
.sources ol { padding-left: var(--space-lg); display: grid; gap: var(--space-xs); }
.sources li { font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.5; }
.sources li span { color: var(--color-muted); }
/* the rail: the price as a hairline figure (Darkroom range: figures as an edition) */
.doc__rail { grid-column: 9 / 13; display: grid; gap: var(--space-sm); justify-items: start; position: sticky; top: calc(var(--head-h) + var(--space-lg)); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink-2); }
.rail__label, .rail__note { font-size: var(--text-sm); color: var(--color-muted); max-width: 34ch; }
.rail__label { color: var(--color-ink-2); }
.figure { font: var(--w-hair) clamp(5rem, 8.5vw, 9.5rem)/0.85 var(--font-display); color: var(--color-ink); white-space: nowrap; }
.figure__no { font: var(--w-regular) var(--text-lg)/1 var(--font-body); color: var(--color-muted); margin-right: var(--space-2xs); }
.figure--text { font-size: var(--text-2xl); line-height: 1.05; white-space: normal; text-transform: uppercase; }
.rail__list { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); width: 100%; }
.rail__list h2 { font-size: var(--text-title); font-weight: var(--w-regular); margin-bottom: var(--space-sm); }
.rail__list ul { list-style: none; padding: 0; display: grid; }
.rail__list li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rail__list a { display: block; padding-block: var(--space-xs); color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); }
.rail__list a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }

/* ---------- prices: a collector's sheet on the well ---------- */
.list-band, .band--paper { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: start; }
.split > :first-child { grid-column: 1 / 5; display: grid; gap: var(--space-md); }
.split > :last-child { grid-column: 5 / 13; }
.note-lead { font-size: var(--text-sm); color: var(--color-muted); max-width: 36ch; }
.prices { width: 100%; border-collapse: collapse; border-top: var(--rule-hair) solid var(--color-ink-2); }
.prices thead th { text-align: left; font-size: var(--text-sm); font-weight: var(--w-regular); color: var(--color-muted); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.prices th.num, .prices td.num { text-align: right; }
.prices tbody th { text-align: left; font-weight: var(--w-regular); padding: var(--space-md) var(--space-lg) var(--space-md) 0; }
.prices tbody td { vertical-align: top; padding: var(--space-md) 0; white-space: nowrap; }
.prices tbody tr { border-bottom: var(--rule-hair) solid var(--color-rule); }
.prices .item { display: block; font: var(--w-regular) 1.6rem/1.05 var(--font-display); text-transform: uppercase; color: var(--color-ink); }
.prices .note-s { display: block; margin-top: var(--space-2xs); font-size: var(--text-sm); line-height: 1.45; color: var(--color-muted); max-width: 60ch; }
.prices .from { display: block; font: var(--w-hair) 2.5rem/1 var(--font-display); color: var(--color-ink); }

/* ---------- FAQ: rows under hairlines ---------- */
.faq { padding-block: var(--section-gap-s); }
.faq__list { border-top: var(--rule-hair) solid var(--color-ink-2); }
.faq__item { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 64px; padding-block: var(--space-md); cursor: pointer; list-style: none; font-weight: var(--w-medium); font-size: var(--text-lg); line-height: 1.35; color: var(--color-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover span:first-child { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.18em; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1px; background: var(--color-ink); transition: transform var(--dur-short) var(--ease-out); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0deg); }
summary:hover .pm::before, summary:hover .pm::after { background: var(--color-accent); }
.faq__a p { padding-bottom: var(--space-lg); color: var(--color-ink-2); line-height: 1.7; max-width: 58ch; }

/* ---------- services on home: a collector's sheet ---------- */
.svc h2 { margin-bottom: var(--space-xl); }
.svc__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.svc__group h3 { max-width: none; padding-bottom: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-ink-2); margin-bottom: var(--space-2xs); }
.svc__group ul { list-style: none; padding: 0; }
.svc__group li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); padding-block: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-rule); }
.svc__group a { color: var(--color-ink); text-decoration: none; }
.svc__group a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.svc__price { flex: none; font: var(--w-hair) 1.5rem/1 var(--font-display); color: var(--color-ink); white-space: nowrap; }
.more { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin-top: var(--space-xl); }
.more a { color: var(--color-ink); text-decoration-color: var(--color-accent); }

/* ---------- overview rows (/pakalpojumi/, /padomi/) ---------- */
.overview { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.ov__group + .ov__group { margin-top: var(--space-2xl); }
.ov__group > h2 { margin-bottom: var(--space-lg); font-size: var(--text-prose-h); }
.ov__rows { list-style: none; padding: 0; border-top: var(--rule-hair) solid var(--color-ink-2); }
.ov__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg); align-items: start; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.ov__text { display: grid; gap: var(--space-xs); }
.ov__text h3 a, .ov__h a { color: var(--color-ink); text-decoration: none; }
.ov__text h3 a:hover, .ov__h a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.ov__h { font-size: var(--text-title); font-weight: var(--w-regular); max-width: 40ch; }
.ov__text p { color: var(--color-ink-2); max-width: 70ch; }
.ov__kids { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); font-size: var(--text-sm); }
.ov__kids a { color: var(--color-ink-2); }
.ov__price { display: grid; justify-items: end; text-align: right; }
.ov__price span { font-size: var(--text-xs); color: var(--color-muted); }
.ov__price b { font: var(--w-hair) 2.25rem/1 var(--font-display); white-space: nowrap; }

/* ---------- places: an index of plates ---------- */
.places { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.band--moss { background: var(--color-paper); }
.places h2 { margin-bottom: var(--space-xl); }
.places__list { list-style: none; margin: 0; padding: 0; columns: 4; column-gap: var(--gap-columns); column-rule: var(--rule-hair) solid var(--color-rule); counter-reset: pl; }
.places__list li { break-inside: avoid; counter-increment: pl; }
.places__list a { display: flex; gap: var(--space-sm); align-items: baseline; min-height: 44px; padding-block: var(--space-2xs); font-size: var(--text-lg); color: var(--color-ink); text-decoration: none; }
.places__list a::before { content: counter(pl, decimal-leading-zero); min-width: 2ch; font: var(--w-hair) 1.75rem/1 var(--font-display); color: var(--color-muted); }
.places__list a:hover::before, .places__list a[aria-current]::before { color: var(--color-accent); }
.places__list a:hover, .places__list a[aria-current] { text-decoration: underline; text-decoration-color: var(--color-accent); }

/* ---------- related links ---------- */
.related { padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.related h2 { font-size: var(--text-prose-h); margin-bottom: var(--space-lg); }
.related__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); border-top: var(--rule-hair) solid var(--color-ink-2); }
.related__list li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.related__list a { display: block; padding-block: var(--space-sm); color: var(--color-ink); text-decoration: none; }
.related__list a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.notfound .related__list { margin-top: var(--space-xl); }
.notfound { padding-block: var(--section-gap-s); }
.notfound .lead { margin-top: var(--space-md); max-width: 60ch; }

/* ---------- the close: the grained well, the one amber button ---------- */
.close { padding-block: var(--section-gap-s); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.close__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md) var(--space-xl); align-items: end; }
.close h2 { grid-column: 1 / -1; max-width: none; }
.close p { max-width: 52ch; font-size: var(--text-lead); color: var(--color-ink-2); }
.close strong { font-weight: var(--w-medium); color: var(--color-accent); white-space: nowrap; }

/* ---------- footer: colophon ---------- */
.foot { padding-block: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__in { display: grid; gap: var(--space-md); }
.foot__colophon { max-width: 70ch; color: var(--color-ink-2); line-height: 1.6; }
.foot__colophon strong { color: var(--color-ink); font-weight: var(--w-medium); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); }
.foot__links a { color: var(--color-ink); }
.foot__legal { font-size: var(--text-xs); color: var(--color-muted); }

/* ---------- floating phone CTA (owner: one button, two lines) ---------- */
.stickycta { display: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- tablet and phone ---------- */
@media (max-width: 1280px) { .bar__in { gap: var(--space-md); } .nav__list { gap: var(--space-md); } .sub__grid { gap: var(--space-lg); } }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .bar__in > .nav { align-self: auto; }
  .js .nav { position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-dropdown); background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule-2); box-shadow: 0 30px 50px var(--scrim); clip-path: inset(0 0 100% 0); transform: translateY(-14px); visibility: hidden; transition: clip-path 260ms var(--ease-in), transform 260ms var(--ease-in), visibility 0s 260ms; }
  .nav-open .nav { clip-path: inset(0 0 -60px 0); transform: none; visibility: visible; transition: clip-path 400ms var(--ease-out), transform 400ms var(--ease-out), visibility 0s; }
  html:not(.js) .bar__in { flex-wrap: wrap; }
  html:not(.js) .nav { flex-basis: 100%; order: 5; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: var(--space-xs) var(--gutter) var(--space-lg); }
  .nav__list > li { border-bottom: var(--rule-hair) solid var(--color-rule); align-self: auto; }
  .js .nav__list > li { opacity: 0; transform: translateY(-6px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
  .nav-open .nav__list > li { opacity: 1; transform: none; }
  .nav-open .nav__list > li:nth-child(2) { transition-delay: 60ms; } .nav-open .nav__list > li:nth-child(3) { transition-delay: 120ms; }
  .nav-open .nav__list > li:nth-child(4) { transition-delay: 180ms; } .nav-open .nav__list > li:nth-child(5) { transition-delay: 240ms; } .nav-open .nav__list > li:nth-child(6) { transition-delay: 300ms; }
  .nav__list > li > a { min-height: 52px; width: 100%; font: var(--w-regular) 1.75rem/1 var(--font-display); text-transform: uppercase; color: var(--color-ink); }
  .nav__list > li.nav__cta { display: block !important; border: 0; padding-top: var(--space-md); }
  .nav__cta .btn { width: 100%; }
  .caret, .sub, .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .svc__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places__list { columns: 3; }
}
@media (max-width: 860px) {
  .hero__grid, .doc__grid, .split { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .hero__head, .hero__text, .hero__photo, .request, .prose, .doc__rail, .split > :first-child, .split > :last-child, .doc--solo .prose, .doc--hub .prose, .doc--prices .prose, .hero__grid--nophoto .hero__text { grid-column: 1; grid-row: auto; }
  .request { order: 2; position: static; } .hero__photo { order: 3; }
  .hero__photo .photo__frame { aspect-ratio: 4 / 3; max-height: none; }
  .doc__rail { position: static; margin-top: var(--space-2xl); }
  .related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places__list { columns: 2; }
  .svc__groups { grid-template-columns: minmax(0, 1fr); }
  .table-wrap--stack thead { display: none; }
  .table-wrap--stack tr { display: grid; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .table-wrap--stack th, .table-wrap--stack td { display: block; border: 0; padding: var(--space-3xs) 0; }
  .table-wrap--stack td[data-label]::before { content: attr(data-label) ": "; color: var(--color-muted); font: var(--w-regular) var(--text-sm)/1.5 var(--font-body); }
  .table-wrap--stack td.num { white-space: normal; }
}
@media (max-width: 640px) {
  :root { --head-h: 104px; }
  .bar__cta { display: none; }
  .bar__in { gap: var(--space-sm); min-height: 64px; }
  .logo img { width: 36px; height: 36px; border-radius: 8px; }
  .logo__name { font-size: 1.4rem; }
  .logo__tag { font-size: 0.625rem; letter-spacing: 0.08em; }
  .annbar { font-size: 0.75rem; padding-inline: var(--space-xs); gap: var(--space-2xs); }
  .langs a { min-width: 28px; }
  .request { padding: var(--space-md); }
  .prices thead { display: none; }
  .prices tbody th { padding-right: var(--space-sm); }
  .prices .item { font-size: 1.35rem; }
  .prices .from { font-size: 2rem; }
  .ov__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .ov__price { justify-items: start; text-align: left; }
  .places__list, .related__list { grid-template-columns: minmax(0, 1fr); columns: 1; }
  .close__in { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .stickycta { position: fixed; left: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm); z-index: var(--z-sticky); display: block; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
  .stickycta.is-away, .nav-open .stickycta { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .stickycta__btn { display: grid; justify-items: center; padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none; box-shadow: 0 8px 24px var(--scrim); }
  .stickycta__a { font: var(--w-regular) 1.375rem/1.1 var(--font-display); text-transform: uppercase; }
  .stickycta__b { font-size: var(--text-xs); }
  .stickycta__btn:active { background: var(--color-ink-2); }
  body:has(.stickycta) { padding-bottom: 80px; }
}
