/* RME template — base, header and the sections that came from the live rme.ee theme (energy journey, service cards).
   Ported 2026-11-20 from the demo "rme" (RMEnergy v3): the live theme (Scia, @layer live) is not shipped; its values
   for the parts the demo still showed are written here under the rm- prefix. The demo's own sheet (rm.css, rm-mobile.css)
   follows below with its selectors renamed. Breakpoints: 1279 (container 976), 960 (phone bar), 900 (bands stack). */

@layer cms-hl{:where([data-as="h1"]){font-size:2em;margin-block:.67em}:where([data-as="h2"]){font-size:1.5em;margin-block:.83em}:where([data-as="h3"]){font-size:1.17em;margin-block:1em}:where([data-as="h4"]){font-size:1em;margin-block:1.33em}:where([data-as="h5"]){font-size:.83em;margin-block:1.67em}:where([data-as="h6"]){font-size:.67em;margin-block:2.33em}}:root {
  --rm-ground: #11111f;
  --rm-plate: #07090deb;
  --rm-container: 1200px;
  --rm-text: #c5c7ce;
  --rm-heading: #f5f7fa;
}
@media (max-width: 1279px) { :root { --rm-container: 976px; } }

html { scroll-padding-top: 120px; }
body.rm-site { margin: 0; background: var(--rm-ground); color: var(--rm-text); font: 400 18px/1.4 "Montserrat", sans-serif; letter-spacing: -.01em; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
body.rm-site > main { position: relative; z-index: 1; }
.rm-main :where(:is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), :is(h4:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h4"]))) { overflow-wrap: break-word; }
@media (max-width: 739px) { .rm-main :where(:is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), :is(h4:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h4"]))) { hyphens: auto; } }
.rm-img-ph { background: #1c303d; object-fit: cover; }
.rm-ed-note { font-size: 13px; line-height: 1.4; color: #9aa6ad; padding: 6px 10px; background: rgba(0, 0, 0, .55); }

/* the animated energy grid behind home and service pages (demo includes/energy-bg.php): two pre-rendered phases, the
   lit one fading in and out — compositor-only */
.rm-grid-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; overflow: hidden; pointer-events: none; }
.rm-grid-bg img { position: absolute; top: 0; left: 0; width: 100%; height: 120%; max-width: none; object-fit: cover; }
.rm-grid-lit { position: absolute; inset: 0; opacity: 0; will-change: opacity; animation: rm-eg-pulse 5s ease-in-out infinite; }
@keyframes rm-eg-pulse { 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rm-grid-lit { animation: none; opacity: .5; } }

/* ---------- header (the live rme.ee header: framed near-black bar, 1 px cyan edge, 20 px from the top) ---------- */
.cms-block--rm-header { position: relative; z-index: 111; }
.rm-hd { position: fixed; top: 0; left: 0; width: 100%; z-index: 111; margin-top: 20px; pointer-events: none; }
.rm-hd-in { pointer-events: auto; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; width: var(--rm-container); max-width: calc(100% - 32px); min-height: 44px; margin: 0 auto; padding: 16px 25px; background: var(--rm-plate); border: 1px solid var(--rm-cyan); border-radius: 1px; }
.rm-hd-logo { display: block; flex: none; }
.rm-hd-logo .rm-logo-svg, .rm-logo-img { display: block; width: 130px; height: auto; }
.rm-hd-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.rm-hd-menu { display: flex; align-items: center; justify-content: center; gap: 16px; }
.rm-hd-menu > li { position: relative; }
.rm-hd-menu > li > a { display: block; padding: 8px; font-size: 16px; line-height: 1.4; color: var(--rm-text); transition: color .3s; }
.rm-hd-menu > li > a:hover, .rm-hd-menu > li > a[aria-current], .rm-hd-menu > li.is-current > a { color: var(--rm-heading); }
/* Teenused: a two-column panel of the service pages (demo 2026-11-18) — opens on hover and on keyboard focus */
.rm-svc-menu { position: absolute; top: 100%; left: -28px; z-index: 222; width: 760px; padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: #07090df7; border: 1px solid var(--rm-cyan); border-radius: 1px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); opacity: 0; transform: scale(1, 0); transform-origin: 50% 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.rm-hd-has:hover > .rm-svc-menu, .rm-hd-has:focus-within > .rm-svc-menu { opacity: 1; transform: none; pointer-events: auto; }
.rm-hd-has::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.rm-svc-menu > li { position: relative; }
.rm-svc-menu > li::before { content: ''; position: absolute; inset: 0; border-radius: 1px; background: rgba(104, 210, 223, .09); opacity: 0; transition: opacity .3s; }
.rm-svc-menu > li:hover::before, .rm-svc-menu > li.is-current::before { opacity: 1; }
.rm-svc-menu > li > a { position: relative; z-index: 1; display: grid; gap: 6px; padding: 16px 18px 17px 22px; }
.rm-svc-menu > li.is-current > a::after { content: ''; position: absolute; left: 8px; top: 18px; height: calc(100% - 36px); width: 2px; background: var(--rm-cyan); }
.rm-sm-name { font-size: 16px; line-height: 1.3; font-weight: 600; color: #fff; transition: color .2s; }
.rm-sm-text { font-size: 13.5px; line-height: 1.45; color: #9aa6ad; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rm-svc-menu > li:hover .rm-sm-name, .rm-svc-menu > li.is-current .rm-sm-name { color: var(--rm-cyan); }
.rm-svc-menu > li.rm-sm-all { grid-column: 1 / -1; margin-top: 6px; }
.rm-svc-menu > li.rm-sm-all > a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; font-size: 15px; font-weight: 600; color: var(--rm-cyan); }
.rm-sm-all .rm-ico { transition: transform .25s; }
.rm-sm-all:hover .rm-ico { transform: translateX(4px); }
.rm-hd-rp { display: flex; align-items: center; justify-content: flex-end; gap: 25px; flex: none; }
.rm-lang { position: relative; }
.rm-lang > summary { display: inline-flex; align-items: center; gap: 8px; padding: 8px; color: var(--rm-text); cursor: pointer; list-style: none; font-size: 16px; }
.rm-lang > summary::-webkit-details-marker { display: none; }
.rm-lang > summary:hover { color: var(--rm-heading); }
.rm-globe { color: var(--rm-cyan); }
.rm-lang > ul { position: absolute; top: calc(100% + 18px); right: -8px; min-width: 150px; padding: 8px; background: #000; border: 1px solid rgba(245, 247, 250, .15); border-radius: 1px; z-index: 222; }
.rm-lang a { display: block; padding: 12px; color: var(--rm-text); white-space: nowrap; transition: color .2s; }
.rm-lang a:hover { color: var(--rm-heading); }
.rm-lang a b { font-weight: 600; margin-right: 6px; }
/* the live accent button; dark text on cyan (the live white text measured 2.2:1, S-025) */
.rm-hd-btn { display: inline-block; padding: 13px 24px 14px; font-size: 16px; line-height: 1; color: #0b1820; background: #32c2d4; border: 1px solid #5c9dff80; border-radius: 1px; transition: background-color .3s; }
.rm-hd-btn:hover { background: var(--rm-cyan); }
.rm-m-bar { display: none; }
@media (max-width: 1279px) { .rm-hd-menu { gap: 12px; } .rm-hd-menu > li > a { padding: 6px; } .rm-svc-menu { width: 640px; } }
@media (max-width: 1100px) { .rm-hd-in { padding-left: 18px; padding-right: 18px; gap: 12px; } .rm-hd-rp { gap: 12px; } }
@media (max-width: 960px) {
  .rm-hd { margin-top: 0; pointer-events: auto; }
  .rm-hd-in { display: none; }
  .rm-m-bar { display: flex; }
}

/* ---------- section titles (live .scia-section-title / .scia-large-text) ---------- */
.rm-large { font-size: 22px; line-height: 1.4; color: var(--rm-heading); }
@media (max-width: 1279px) { .rm-large { font-size: 18px; } }
.rm-sec-wrap { width: var(--rm-container); max-width: calc(100% - 32px); margin: 0 auto; }
.rm-sec-title { max-width: 66.666%; margin: 0 auto 64px; text-align: center; }
.rm-sec-title :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-sec-title [data-as="h2"] { margin: 0 0 16px; font-size: 56px; line-height: 1.2; letter-spacing: -.05em; font-weight: 600; color: var(--rm-heading); }
@media (max-width: 1279px) { .rm-sec-title :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])) { font-size: 45px; } }

/* ---------- Energiateekond (live homepage section + v3 layering) ---------- */
.rm-jrn { position: relative; overflow: hidden; color: #e0e0e0; padding-bottom: 128px; }
.rm-jrn-head { position: relative; z-index: 2; text-align: center; padding: 60px 20px; max-width: 1230px; margin: 0 auto; }
.rm-jrn-head :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])).rm-sh-title, .rm-jrn-head [data-as="h2"].rm-sh-title { margin: 0 0 15px; font-size: 56px; line-height: 1.2; letter-spacing: -.05em; font-weight: 600; color: #fff; }
.rm-jrn-head .rm-large { font-weight: 400; color: #aaa; margin: 0 auto; max-width: 900px; }
.rm-jrn-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding-top: 50px; }
.rm-jrn-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.rm-jrn-path { fill: none; stroke: var(--rm-cyan); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 12px var(--rm-cyan)); }
.rm-jrn-dot { fill: #fff; filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px var(--rm-cyan)); }
.rm-nojs .rm-jrn-svg { display: none; }
.rm-jrn-step { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-bottom: 150px; padding: 0 20px; }
.rm-jrn-step:nth-child(even) { flex-direction: row-reverse; }
.rm-jrn-step:last-child { margin-bottom: 0; }
.rm-jrn-col { width: 48%; position: relative; }
.rm-jrn-media :is(video, img) { width: 100%; height: 350px; object-fit: cover; box-shadow: 0 20px 50px rgba(0, 0, 0, .8); border: 1px solid #333; background: #111; display: block; position: relative; z-index: 2; }
.rm-jrn-text :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-jrn-text [data-as="h3"] { font-size: clamp(24px, 2vw, 30px); line-height: 1.2; margin: 0 0 14px; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.rm-jrn-text .rm-jl-lead { color: #e6e9ec; font-size: 18px; line-height: 1.5; margin-bottom: 22px; }
.rm-jrn-text .rm-jl-label { color: var(--rm-cyan); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.rm-jl-list { margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.rm-jl-list li { position: relative; padding-left: 18px; color: #b9c0c6; font-size: 15px; line-height: 1.45; }
.rm-jl-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--rm-cyan); }
.rm-jrn-text .rm-jl-close { margin: 0; padding-top: 4px; font-size: 15px; line-height: 1.55; color: #9aa3ab; }
.rm-jl-close strong { display: block; margin-bottom: 4px; color: #fff; font-size: 16px; font-weight: 600; }
.rm-jl-edlist { font-size: 15px; color: #b9c0c6; margin-bottom: 18px; }
.rm-jl-toggle { display: none; }
@media (max-width: 1279px) { .rm-jrn-head :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])).rm-sh-title { font-size: 45px; } }
@media (max-width: 1100px) { .rm-jl-list { grid-template-columns: minmax(0, 1fr); } }
/* rmejrn 2026-11-24: a step's Sisu (one rich text). The first element reads as the lead, H4–H6 as the list label, H1–H3 as
   a white sub-heading, a list as the two-column dash list, a paragraph as the closing text; a bold opening line ended by a
   line break (Shift+Enter) stands on its own row, as the old closing line did. */
.rm-jrn .rm-jl-sisu > * { margin: 0; }
.rm-jrn .rm-jl-sisu p { margin: 0 0 12px; padding-top: 4px; font-size: 15px; line-height: 1.55; color: #9aa3ab; }
.rm-jrn .rm-jl-sisu > :last-child { margin-bottom: 0; }
.rm-jrn .rm-jrn-text :is(.rm-jl-intro, .rm-jl-ed) > p:first-child { margin-bottom: 22px; padding-top: 0; font-size: 18px; line-height: 1.5; color: #e6e9ec; }
.rm-jrn .rm-jrn-text .rm-jl-sisu :is(h4, h5, h6) { margin: 0 0 10px; font-family: inherit; font-size: 15px; line-height: 1.6; font-weight: 600; letter-spacing: inherit; color: var(--rm-cyan); }
.rm-jrn .rm-jrn-text .rm-jl-sisu :is(h1, h2, h3) { margin: 0 0 10px; font-family: inherit; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.rm-jrn .rm-jl-sisu ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.rm-jrn .rm-jl-sisu ul > li { position: relative; padding-left: 18px; color: #b9c0c6; font-size: 15px; line-height: 1.45; }
.rm-jrn .rm-jl-sisu ul > li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--rm-cyan); }
.rm-jrn .rm-jl-sisu ol { margin: 0 0 22px; padding: 0 0 0 22px; list-style: decimal; display: grid; gap: 10px; color: #b9c0c6; font-size: 15px; line-height: 1.45; }
.rm-jrn .rm-jl-sisu ol > li::marker { color: var(--rm-cyan); font-weight: 600; }
.rm-jrn .rm-jl-sisu li :is(ul, ol) { margin: 8px 0 0; display: block; }
.rm-jrn .rm-jl-sisu li p { margin: 0; padding: 0; font: inherit; color: inherit; }
.rm-jrn .rm-jl-sisu p strong { font-size: max(1em, 16px); font-weight: 600; color: #fff; }
.rm-jrn .rm-jl-sisu p > strong:first-child:has(+ br) { display: block; margin-bottom: 4px; }
.rm-jrn .rm-jl-sisu p > strong:first-child:has(+ br) + br { display: none; }
.rm-jrn .rm-jl-sisu a { color: #68d2df; text-decoration: underline; text-underline-offset: 2px; }
.rm-jrn .rm-jrn-lead > * { margin: 0; }
.rm-jrn .rm-jrn-lead > * + * { margin-top: 12px; }
.rm-jrn .rm-jrn-lead :is(h2, h3, h4, h5, h6) { font-family: inherit; font-size: 1.1em; line-height: 1.3; font-weight: 600; color: #e6e9ec; }
.rm-jrn .rm-jrn-lead :is(ul, ol) { display: inline-block; text-align: left; padding-left: 22px; list-style: disc; }
.rm-jrn .rm-jrn-lead ol { list-style: decimal; }
.rm-jrn .rm-jrn-lead a { color: #68d2df; }
@media (max-width: 1100px) { .rm-jrn .rm-jl-sisu ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 868px) {
  .rm-jrn-step, .rm-jrn-step:nth-child(even) { flex-direction: column; margin-bottom: 120px; }
  .rm-jrn-col { width: 100%; }
  .rm-jrn-media { margin-bottom: 30px; }
  .rm-jrn-media :is(video, img) { height: 250px; }
}

/* ---------- service cards (live "Kogu projekt ühest kohast") ---------- */
.rm-svcs { position: relative; padding: 128px 0 108px; }
.rm-svc-cards { display: block; }
a.rm-svc-card { position: relative; width: 100%; max-width: 1200px; margin: 0 0 20px; background: #0d0d17; border: 1px solid rgba(104, 210, 223, .2); padding: 60px 40px 40px; display: flex; flex-direction: column; gap: 20px; transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s ease; box-shadow: 0 0 15px rgba(104, 210, 223, .1); color: var(--rm-text); overflow: hidden; z-index: 0; }
a.rm-svc-card::after { content: attr(data-number); position: absolute; top: 10px; left: 20px; font-size: 120px; font-weight: 800; line-height: 1; color: rgba(104, 210, 223, .1); z-index: 0; pointer-events: none; }
a.rm-svc-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(104, 210, 223, .05), transparent); opacity: 0; transition: opacity .6s ease; pointer-events: none; z-index: 1; }
a.rm-svc-card:hover { background: #151528; border-color: var(--rm-cyan); box-shadow: 0 0 30px rgba(104, 210, 223, .4); transform: translateY(-4px); }
a.rm-svc-card:hover::before { opacity: 1; }
a.rm-svc-card > * { position: relative; z-index: 2; margin: 0; }
a.rm-svc-card :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), a.rm-svc-card [data-as="h3"] { font-size: 32px; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; color: #fff; }
a.rm-svc-card p { font-size: 18px; line-height: 1.4; }
.rm-svc-go { align-self: flex-start; background: var(--rm-cyan); color: #11111f; border: 1px solid var(--rm-cyan); padding: 12px 28px; font-size: 16px; font-weight: 600; letter-spacing: .5px; transition: background-color .3s, color .3s, transform .3s, box-shadow .3s; }
a.rm-svc-card:hover .rm-svc-go { background: transparent; color: var(--rm-cyan); transform: translateY(-2px); box-shadow: 0 0 10px rgba(104, 210, 223, .4); }
@media (max-width: 768px) {
  a.rm-svc-card { padding: 40px 25px 25px; }
  a.rm-svc-card::after { font-size: 80px; top: 5px; left: 15px; }
}
@media (prefers-reduced-motion: reduce) { a.rm-svc-card, a.rm-svc-card:hover { transform: none; } }

/* ---------- article body (rich text): the demo's prose with its pull quote as figure > blockquote + figcaption ---------- */
.rm-prose > :first-child { margin-top: 0; }
.rm-prose figure { margin: 40px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--rm-cyan); }
.rm-prose figure blockquote { margin: 0; }
.rm-prose figure blockquote p { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.4; font-weight: 500; color: #fff; }
.rm-prose figure figcaption { margin-top: 14px; font-size: 15px; color: var(--rm-mute); }
.rm-prose a { color: var(--rm-cyan); text-decoration: underline; text-underline-offset: 3px; }
.rm-legal-text a { color: var(--rm-cyan); text-decoration: underline; text-underline-offset: 3px; }
.rm-ft-ed { display: grid; gap: 4px; margin-top: 18px; font-size: 15px; }
.rm-ft-ed div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
.rm-ft-ed dt { color: var(--rm-mute); }
.rm-ft-visit.is-nomap { grid-template-columns: minmax(0, 1fr); }
.rm-marq-name { font-size: 16px; font-weight: 600; color: #fff; white-space: nowrap; }


/* ===== the demo sheet (assets/css/rm.css), live-theme rules removed, classes renamed ===== */
/* RMEnergy v3 — the v1 blocks (hero, Kasulik, FAQ, footer, service + Kasulik pages) inside the live rme.ee site.
   v1 sheet, one prefix (rm-). Every v1 block carries .rm-v1; the live CSS is in @layer live (includes/head.php). */

:root {
  --rm-navy: #10202b;
  --rm-cyan: #68d2df;       /* v3: the live accent */
  --rm-white: #ffffff;
  --rm-ink: #0b1820;
  --rm-mute: #a9bcc6;
  --rm-soft: #43555f;
  --rm-scrim: rgba(8, 18, 25, .88);
  --rm-scrim-top: rgba(8, 18, 25, .78);
  --rm-clear: rgba(8, 18, 25, 0);
  --rm-shadow: 0 24px 60px rgba(4, 10, 14, .45);
  --rm-font: "Montserrat", sans-serif;   /* v3: the live site's font (v1 had Switzer) */
  --rm-page: 75%;
  --rm-gut: 32px;
  --rm-top-h: 96px;
  --rm-head-h: 166px;
  --rm-head-land: 144px; /* the solid header's height: where an anchor jump lands (round 9) */
  --rm-band: 120px;
  /* round 15: every colour used below is a token here (TEMPLATE-DEMO §2) */
  --rm-black: #040607;
  --rm-slate: #30485a;
  --rm-panel: #1c303d;
  --rm-word: #617784;
  --rm-lead: #dce6eb;
  --rm-body-t: #d3dee4;
  --rm-mute-2: #c6d4db;
  --rm-cyan-pale: #bdeef5;
  --rm-card-t: #4b5d68;
  --rm-link-ink: #1f8fa0;
  --rm-err: #ffb3a8;
}

/* v3: inside a v1 block every live rule is undone (all: revert = as if no live CSS), then v1's own base applies.
   Specificity 0 throughout, as v1's element rules were, so every v1 component rule still wins. */
/* svg / img / video / iframe keep their attributes (all: revert would drop presentation hints: stroke, width ...) */
:where(.rm-v1, .rm-v1 *:not(svg, svg *, img, video, iframe)), :where(.rm-v1, .rm-v1 *)::before, :where(.rm-v1, .rm-v1 *)::after { all: revert; }
/* heading levels: all: revert brings back the browser's size of the TAG; a heading moved to another level (data-as) keeps its design level's */
:where(.rm-v1 [data-as="h1"]){font-size:2em;margin-block:.67em}:where(.rm-v1 [data-as="h2"]){font-size:1.5em;margin-block:.83em}:where(.rm-v1 [data-as="h3"]){font-size:1.17em;margin-block:1em}:where(.rm-v1 [data-as="h4"]){font-size:1em;margin-block:1.33em}:where(.rm-v1 [data-as="h5"]){font-size:.83em;margin-block:1.67em}:where(.rm-v1 [data-as="h6"]){font-size:.67em;margin-block:2.33em}
:where(.rm-v1) :where(img, video, iframe) { border-radius: 0; user-select: auto; }
:where(.rm-v1, .rm-v1 *), :where(.rm-v1, .rm-v1 *)::before, :where(.rm-v1, .rm-v1 *)::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:where(.rm-v1) { color: var(--rm-white); font: 400 17px/1.6 var(--rm-font); }
:where(.rm-v1) :where(:is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), p, ul, ol, dl, dd, figure, blockquote, address) { margin: 0; }
:where(.rm-v1) :where(ul, ol) { padding: 0; list-style: none; }
:where(.rm-v1) :where(img, video) { display: block; max-width: 100%; }
:where(.rm-v1) :where(a) { color: inherit; text-decoration: none; }
:where(.rm-v1) :where(b, strong, :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), :is(h4:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h4"])), :is(h5:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h5"])), :is(h6:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h6"])), th) { font-weight: 600; }
:where(.rm-v1) :where(button) { font: inherit; color: inherit; cursor: pointer; }
:where(.rm-v1) :where(address) { font-style: normal; }
:where(.rm-v1) :focus-visible { outline: 3px solid var(--rm-white); outline-offset: 3px; }
.rm-ico { flex: none; }
.rm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the page column is 75 % of the window on desktop (owner 2026-11-11); phones get their own gutter */
.rm-wrap { width: var(--rm-page); margin: 0 auto; }
.rm-skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--rm-white); color: var(--rm-ink); padding: 12px 18px; font-weight: 600; }
.rm-skip:focus { top: 16px; }

/* actions */
.rm-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 16px; min-height: 54px; padding: 0 28px; background: var(--rm-cyan); color: var(--rm-ink); font-weight: 600; font-size: 16px; letter-spacing: .01em; transition: background-color .25s, color .25s; }
.rm-btn .rm-ico, .rm-link .rm-ico { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.rm-btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, 0)); transform: translateX(-110%); pointer-events: none; }
.rm-btn:hover::after, .rm-btn:focus-visible::after { animation: rm-glint .8s cubic-bezier(.45, 0, .35, 1); }
@keyframes rm-glint { from { transform: translateX(-110%); } to { transform: translateX(330%); } }
.rm-btn:hover .rm-ico, .rm-link:hover .rm-ico { transform: translateX(5px); }
.rm-link { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; font-weight: 600; font-size: 16px; letter-spacing: .01em; }
.rm-link:hover { color: var(--rm-cyan); }

/* splash: shown only when the head script put rm-intro-on on <html> */
.rm-intro { display: none; }
.rm-intro-on, .rm-lock { overflow: hidden; }
.rm-intro-on .rm-intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; background: var(--rm-navy); cursor: pointer; }
.rm-intro img { width: min(560px, 72vw); height: auto; transform-origin: 0 0; }
.rm-intro-on .rm-logo-svg { visibility: hidden; }

/* header: two rows — phone · centred logo · language, then the nav row. Clear over the film, solid navy after it */
.rm-head { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 0 calc((100% - var(--rm-page)) / 2); background: linear-gradient(var(--rm-scrim-top), var(--rm-clear)); }
/* round 9: the solid navy is a layer that fades in over the clear gradient (a gradient cannot transition) */
.rm-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--rm-navy); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.rm-nojs .rm-head::before, .rm-head.is-solid::before { opacity: 1; }
.rm-head-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: var(--rm-top-h); }
.rm-logo { justify-self: center; display: block; grid-column: 2; grid-row: 1; }
.rm-logo-svg { display: block; width: 168px; height: auto; }
/* round 9: desktop shrinks by transform only — header up 24 px, the top row's items down 12 px, logo to 124 px.
   End state as before (top row 72 visible, header bottom 144), with no layout per frame. Phones never transform the
   header: it would become the containing block of the fixed phone menu (W23). */
@media (min-width: 901px) {
  .rm-head, .rm-tel, .rm-tools, .rm-logo-svg { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
  .rm-head.is-solid { transform: translateY(-24px); }
  .rm-head.is-solid .rm-tel, .rm-head.is-solid .rm-tools { transform: translateY(12px); }
  .rm-head.is-solid .rm-logo-svg { transform: translateY(12px) scale(.7381); }
}
.rm-tel { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 500; letter-spacing: .02em; transition: color .2s; }
.rm-tel .rm-ico { color: var(--rm-cyan); }
.rm-tel:hover { color: var(--rm-cyan); }
.rm-tools { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 8px; }
/* nav: the library's premium_menu_1 — one glass capsule, a glass pill slides to the hovered item and rests on the
   section in view (main.js). Capsule look is desktop-only (below). */
.rm-nav { position: relative; display: flex; align-items: center; justify-content: center; gap: 2px; width: max-content; margin: 0 auto 14px; padding: 6px; }
.rm-nav > a, .rm-sub > summary { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 22px; font-size: 16px; font-weight: 500; letter-spacing: .01em; color: rgba(255, 255, 255, .68); cursor: pointer; list-style: none; transition: color .4s cubic-bezier(.175, .885, .32, 1.275); }
.rm-nav > a.is-current, .rm-sub > summary.is-current { color: var(--rm-white); }
.rm-nav-ind { display: none; }
.rm-sub > summary::-webkit-details-marker { display: none; }
.rm-nav > a:hover, .rm-sub > summary:hover, .rm-sub[open] > summary { color: var(--rm-white); }
.rm-sub { position: relative; }
.rm-sub > summary .rm-ico { transition: transform .25s; }
.rm-sub[open] > summary .rm-ico { transform: rotate(180deg); }
/* round 12 (owner: the dropdowns were "just boxes with flat solid background", style them like the nav): the nav's
   glass language — a rounded glass panel, names white .68 → white, and the nav's glass pill (gradient, 1 px inner ring,
   cyan glow) under the hovered / focused / current row. The panel is a lifted slate, not navy, so on the solid header
   it still steps off the navy page (W32). */
.rm-sub > ul, .rm-lang > ul { display: grid; gap: 2px; padding: 8px; background: rgba(28, 48, 61, .9); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); color: var(--rm-white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 48px rgba(0, 0, 0, .45), inset 0 1px 2px rgba(255, 255, 255, .07); }
/* the services panel sits inside the nav capsule, which already has a backdrop-filter: a nested one renders unreliably
   in Chromium (the film showed through), so this panel is opaque with no blur of its own */
.rm-sub > ul { position: absolute; top: calc(100% + 20px); left: 50%; width: 560px; border-radius: 26px; transform: translateX(-50%); background: var(--rm-panel); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* round 9: an invisible bridge over the 20 px gap, so the pointer never leaves the menu on its way down */
.rm-sub > ul::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; }
.rm-sub > ul a, .rm-lang li a { position: relative; isolation: isolate; display: flex; align-items: center; gap: 20px; border-radius: 999px; color: rgba(255, 255, 255, .68); transition: color .3s; }
.rm-sub > ul a::before, .rm-lang li a::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 10px 20px rgba(0, 0, 0, .25), 0 0 18px rgba(103, 210, 224, .2); opacity: 0; transition: opacity .3s; }
.rm-sub > ul a:hover, .rm-sub > ul a:focus-visible, .rm-lang li a:hover, .rm-lang li a:focus-visible, .rm-lang li a[aria-current] { color: var(--rm-white); }
.rm-sub > ul a:hover::before, .rm-sub > ul a:focus-visible::before, .rm-lang li a:hover::before, .rm-lang li a:focus-visible::before, .rm-lang li a[aria-current]::before { opacity: 1; }
.rm-sub > ul a { justify-content: space-between; padding: 12px 22px; font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: .01em; }
.rm-sub > ul a .rm-ico, .rm-lang li a .rm-ico { flex: none; color: var(--rm-cyan); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.rm-sub > ul a:hover .rm-ico, .rm-sub > ul a:focus-visible .rm-ico, .rm-lang li a:hover .rm-ico, .rm-lang li a:focus-visible .rm-ico, .rm-lang li a[aria-current] .rm-ico { opacity: 1; transform: none; }
.rm-sub > ul a:focus-visible, .rm-lang li a:focus-visible { outline: 2px solid var(--rm-cyan); outline-offset: -2px; }
@media (min-width: 901px) {
  .rm-nav { border-radius: 999px; background: rgba(11, 24, 32, .55); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 20px 40px rgba(0, 0, 0, .4), inset 0 1px 2px rgba(255, 255, 255, .06); transition: background-color .3s, box-shadow .3s; }
  .rm-nav > a, .rm-sub > summary { border-radius: 999px; }
  /* on the solid navy header a near-navy capsule would smudge (W32): the pill alone carries it there */
  .rm-head.is-solid .rm-nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .rm-nav-ind { display: block; position: absolute; z-index: 1; top: 6px; left: 0; width: 0; height: calc(100% - 12px); border-radius: 999px; background: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 10px 20px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; will-change: transform; transition: transform .45s cubic-bezier(.22, 1.2, .36, 1), width .45s cubic-bezier(.22, 1.2, .36, 1), opacity .3s; }
  .rm-sub[open] > ul { animation: rm-drop-c .22s cubic-bezier(.2, .7, .2, 1); }
  .rm-nav-ind::after { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--rm-cyan); opacity: .3; filter: blur(10px); }
  .rm-nav-ind.is-on { opacity: 1; }
  .rm-head.is-solid .rm-nav-ind { background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 10px 20px rgba(0, 0, 0, .3); }
  .rm-nav-ind.is-jump { transition: opacity .3s; }
}
.rm-lang { position: relative; }
.rm-lang > summary { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 600; font-size: 15px; letter-spacing: .02em; cursor: pointer; list-style: none; transition: color .2s; }
.rm-lang > summary::-webkit-details-marker { display: none; }
.rm-lang > summary img, .rm-lang li img { width: 22px; height: 16px; border-radius: 1px; object-fit: cover; }
.rm-lang > summary:hover, .rm-lang[open] > summary { color: var(--rm-cyan); }
.rm-lang > summary .rm-ico { transition: transform .25s; }
.rm-lang[open] > summary .rm-ico { transform: rotate(180deg); }
.rm-lang > ul { position: absolute; top: calc(100% + 8px); right: 0; min-width: 230px; border-radius: 22px; }
/* round 9: the panels enter with a short fade and drop (services: desktop only, it is inline on phones) */
.rm-lang[open] > ul { animation: rm-drop .22s cubic-bezier(.2, .7, .2, 1); }
@keyframes rm-drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes rm-drop-c { from { opacity: 0; transform: translate(-50%, -6px); } }
.rm-lang li a { gap: 12px; padding: 11px 18px; font-size: 15px; font-weight: 500; }
.rm-lang li a .rm-ico { margin-left: auto; }
.rm-burger { display: none; width: 48px; height: 48px; border: 0; background: var(--rm-white); color: var(--rm-ink); place-items: center; }
.rm-burger .rm-ico + .rm-ico, .rm-burger[aria-expanded="true"] .rm-ico:first-child { display: none; }
.rm-burger[aria-expanded="true"] .rm-ico + .rm-ico { display: block; }

/* 1 · hero "Kaader" (round 8): the film as a full-width frame, the title row under it on navy, nothing over the film */
.rm-hero { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100vh; height: 100svh; min-height: 680px; background-color: var(--rm-navy); overflow: hidden; }
.rm-hero-media { position: relative; overflow: hidden; background: var(--rm-navy) center / cover no-repeat; }
/* round 12: the old site's own 4K montage (no drone OSD or watermark, so no crop scale) — 1920 px, CRF 22 */
.rm-hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rm-hero-media::before { content: ''; position: absolute; inset: 0 0 auto 0; z-index: 1; height: 280px; background: linear-gradient(rgba(8, 18, 25, .7), var(--rm-clear)); pointer-events: none; }
/* the cyan line on the film's lower edge runs with the playback (main.js), the logo's charge */
.rm-hero-run { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: var(--rm-cyan); transform: scaleX(0); transform-origin: 0 50%; }
/* round 13 (owner: "redesign/relay … row below hero"): the title row is one card in the 75 % column that rises over
   the film's lower edge and casts a shadow onto it — the session's "layer above" language. Round 13b (owner: "change
   background to black"): the card is the plates' black. Named W32 departure by owner request: black on the navy hero
   is a near tone (dL ≈ 10); the card is carried by the film lap, a 1 px light ring and the shadow, not by its fill.
   White text, the standard cyan button, white link, white focus ring. */
.rm-hero { --rm-lap: clamp(48px, 7vh, 88px); padding-bottom: 48px; }
.rm-hero-row { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 64px; align-items: start; margin-top: calc(-1 * var(--rm-lap)); padding-top: 48px; padding-bottom: 52px; background: var(--rm-black); color: var(--rm-white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 -18px 50px rgba(0, 0, 0, .4), 0 30px 60px rgba(0, 0, 0, .55); }
@media (min-width: 901px) { .rm-hero-row { padding-left: 56px; padding-right: 56px; } }
.rm-hero :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-hero [data-as="h1"] { font-size: clamp(32px, 2.9vw, 46px); /* v3: Montserrat sets wider than Switzer: 2.9vw keeps v1’s three lines */ line-height: 1.16; font-weight: 600; letter-spacing: -.022em; hyphens: manual; }
.rm-hero-side p { font-size: 19px; line-height: 1.45; max-width: 30em; padding-top: 6px; color: var(--rm-lead); }
.rm-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 26px; }

/* 2 · Intro: the statement beside two of the client's people shots, then the experience ledger */
.rm-intro-band { padding: 148px 0 var(--rm-band); }
.rm-intro-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 80px; align-items: center; }
.rm-intro-say :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-intro-say [data-as="h2"] { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.18; font-weight: 600; letter-spacing: -.022em; }
.rm-intro-lead { margin-top: 30px; font-size: clamp(20px, 1.75vw, 24px); line-height: 1.45; max-width: 27em; }
.rm-intro-for { margin-top: 22px; font-size: 20px; font-weight: 600; color: var(--rm-cyan); }
.rm-pair { position: relative; padding: 0 0 56px 64px; --rm-dx: 0; --rm-dy: 0; }
.rm-pair-big { display: block; height: 560px; overflow: hidden; transform: translate(calc(var(--rm-dx) * -8px), calc(var(--rm-dy) * -6px)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.rm-pair-small { position: absolute; left: 0; bottom: 0; width: 46%; height: 250px; overflow: hidden; box-shadow: 0 0 0 8px var(--rm-navy), var(--rm-shadow); transform: translate(calc(var(--rm-dx) * 16px), calc(var(--rm-dy) * 12px)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.rm-pair img { width: 100%; height: 100%; object-fit: cover; }
.rm-pair-big img { object-position: 30% 50%; }
/* the four figures over the client's roof film */
.rm-ledger-frame { position: relative; margin-top: 120px; height: 480px; display: flex; align-items: flex-end; overflow: hidden; background: var(--rm-ink); }
.rm-frame-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rm-ledger-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(8, 18, 25, .1) 0%, rgba(8, 18, 25, .6) 48%, rgba(8, 18, 25, .93) 100%); pointer-events: none; }
.rm-ledger { position: relative; z-index: 2; width: 100%; padding: 0 56px 52px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; }
.rm-ledger dt { font-size: 15px; letter-spacing: .02em; color: var(--rm-mute); }
.rm-ledger dd { margin-top: 6px; display: grid; gap: 2px; }
.rm-ledger dd b { color: var(--rm-cyan); white-space: nowrap; font-size: clamp(26px, 2.1vw, 40px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
.rm-ledger dd span { font-size: 17px; color: var(--rm-mute); }

/* round 12 · raised plate (owner: Energiateekond "black … wordpress like section top/bottom dividers … a step above the
   background sections", then Teenused and the footer the same): a black band lifted over the navy page. Tilted shape
   dividers (Elementor "tilt"; top and bottom parallel, so the band reads as one slanted plate) stick out over the
   neighbouring bands and cast a shadow onto them. Markup: divider() in includes/functions.php. */
.rm-lift { --rm-tilt: clamp(36px, 5vw, 96px); position: relative; z-index: 3; background: var(--rm-black); color: var(--rm-white); }
.rm-divide { position: absolute; left: 0; width: 100%; height: var(--rm-tilt); fill: var(--rm-black); pointer-events: none; }
.rm-divide-top { bottom: calc(100% - 1px); filter: drop-shadow(0 -16px 22px rgba(0, 0, 0, .5)); }
.rm-divide-bottom { top: calc(100% - 1px); filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .5)); }
.rm-divide-flip { transform: scaleX(-1); }

/* 3 · Energiateekond (round 12c): the round-10b rows — name + duration · title line + key sentence · list — and only
   the centre column is a card (owner: "remove card from first and last column"). The card is a slate fill a real step
   off the black (L* 29 vs 2, W32), no outline (W30); a cyan bar on its top edge charges with the scroll (main.js
   data-rm-thread); full without JS. The long paragraph stays cut (owner: too much text). */
.rm-journey { padding: var(--rm-band) 0; }
.rm-journey :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-journey [data-as="h2"] { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.18; font-weight: 600; letter-spacing: -.022em; }
.rm-steps { display: grid; gap: 64px; margin-top: 64px; }
/* round 12d (owner: "isnt properly aligned"): the three columns share one text line — name, card title and list label
   sit on the card title's first baseline (the card's padding is counted), not on the card's top edge */
.rm-step { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 20px 48px; align-items: first baseline; }
.rm-step-say { position: relative; overflow: hidden; padding: 34px 36px 38px; background: var(--rm-slate); }
.rm-step-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--rm-cyan); transform: scaleX(var(--rm-f, 1)); transform-origin: 0 50%; }
.rm-step :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-step [data-as="h3"] { font-size: clamp(22px, 2vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.rm-step-time { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 500; letter-spacing: .01em; color: var(--rm-mute-2); }
.rm-step-time .rm-ico { color: var(--rm-cyan); }
.rm-step-title { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.rm-step-key { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--rm-lead); }
.rm-step-scope { padding-top: 4px; }
.rm-step-label { display: block; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--rm-cyan); }
.rm-step-scope ul { margin-top: 12px; display: grid; gap: 10px; }
.rm-step-scope li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.4; font-weight: 500; }
.rm-step-scope .rm-ico { flex: none; margin-top: 1px; color: var(--rm-cyan); }

/* 4 · Tehtud tööd: heading column beside the lead photo, two more under it, then the project rail */
.rm-work { padding: var(--rm-band) 0 0; }
.rm-work-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.rm-work-say { grid-column: 1 / 5; align-self: end; padding-bottom: 8px; }
.rm-work-say :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-work-say [data-as="h2"] { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.18; font-weight: 600; letter-spacing: -.022em; }
.rm-work-say p { margin-top: 22px; color: var(--rm-mute); font-size: 19px; }
.rm-shot { position: relative; display: block; overflow: hidden; background: var(--rm-ink); }
.rm-shot-1 { grid-column: 5 / 13; height: 620px; }
.rm-shot-2 { grid-column: 1 / 7; height: 460px; }
.rm-shot-3 { grid-column: 7 / 13; height: 460px; }
.rm-shot img { width: 100%; height: 100%; object-fit: cover; }
.rm-shot figcaption { position: absolute; inset: auto 0 0 0; padding: 140px 30px 28px; background: linear-gradient(var(--rm-clear), var(--rm-scrim)); }
.rm-shot :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-shot [data-as="h3"] { font-size: clamp(22px, 2vw, 28px); line-height: 1.22; font-weight: 600; }
.rm-shot p { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 17px; }
.rm-shot p b { color: var(--rm-cyan); }
.rm-shot p span { color: var(--rm-mute); }
.rm-shot .rm-shot-role { display: block; margin-top: 6px; font-size: 16px; color: var(--rm-white); max-width: 34em; }
.rm-rail-head { margin-top: 112px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rm-reg-title { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.22; font-weight: 600; }
.rm-rail-nav { display: flex; gap: 6px; }
.rm-sq { width: 54px; height: 54px; border: 0; display: grid; place-items: center; background: var(--rm-white); color: var(--rm-ink); transition: background-color .2s, opacity .2s; }
.rm-sq:hover { background: var(--rm-cyan); }
.rm-sq:disabled { opacity: .3; cursor: default; background: var(--rm-white); }
.rm-rail { margin-top: 32px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 28px) / 3.35); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.rm-rail::-webkit-scrollbar { display: none; }
.rm-rail.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.rm-card { scroll-snap-align: start; display: grid; align-content: start; gap: 8px; }
.rm-card-photo { display: block; height: 280px; overflow: hidden; margin-bottom: 14px; background: var(--rm-ink); }
.rm-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rm-card:hover .rm-card-photo img { transform: scale(1.05); }
.rm-card-size { font-size: 20px; font-weight: 600; color: var(--rm-cyan); letter-spacing: -.01em; }
.rm-card :is(h4:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h4"])), .rm-card [data-as="h4"] { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; }
.rm-card p { font-size: 15px; line-height: 1.5; color: var(--rm-mute); }

/* 5 · Partnerid: two endless rows of white marks running opposite ways */
.rm-trust { padding: var(--rm-band) 0; }
/* no plate since 2026-11-13 (owner: "no background"): white marks straight on the navy ground, in the column */
.rm-plate { width: var(--rm-page); margin: 0 auto; }
/* round 12 (owner): the thanks line sits under the two logo rows, centred on them as their sign-off */
.rm-trust :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-trust [data-as="h2"] { margin: 56px auto 0; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.22; font-weight: 600; max-width: 22em; text-align: center; text-wrap: balance; }
.rm-marquee { width: 100%; margin: 0; display: grid; gap: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.rm-marq-row { overflow: hidden; }
.rm-marq-move { display: flex; width: max-content; animation: rm-marq 75s linear infinite; }
.rm-marq-row + .rm-marq-row .rm-marq-move { animation-duration: 68s; animation-direction: reverse; }
.rm-marquee:hover .rm-marq-move { animation-play-state: paused; }
.rm-marq-track { display: flex; align-items: center; gap: 88px; padding-right: 88px; }
.rm-marq-track li { flex: none; }
.rm-marq-track img { max-width: none; opacity: .82; }
@keyframes rm-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 6 · Teenused (round 11): a real selector — six tab rows at left, the chosen service's panel at right (main.js) */
.rm-svc { padding: var(--rm-band) 0; }
.rm-svc :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-svc [data-as="h2"] { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.18; font-weight: 600; letter-spacing: -.022em; margin-bottom: 48px; }
.rm-svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 56px; align-items: start; }
.rm-svc-list { display: grid; gap: 6px; }
.rm-svc-name { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 12px 24px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.3; font-weight: 600; letter-spacing: -.005em; color: rgba(255, 255, 255, .72); background: linear-gradient(var(--rm-cyan), var(--rm-cyan)) 0 0 / 0% 100% no-repeat; transition: color .25s, background-size .45s cubic-bezier(.65, 0, .2, 1); }
.rm-svc-name .rm-ico { opacity: .45; transition: opacity .2s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.rm-svc-name:hover { color: var(--rm-white); }
.rm-svc-name:hover .rm-ico { opacity: 1; transform: translateX(4px); }
/* the chosen row: its ground charges cyan left to right, ink on cyan */
.rm-svc-name[aria-selected="true"] { color: var(--rm-ink); background-size: 100% 100%; }
.rm-svc-name[aria-selected="true"] .rm-ico { opacity: 1; transform: none; }
.rm-svc-detail + .rm-svc-detail { margin-top: 72px; }
.rm-svc-h { margin-bottom: 20px; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.22; font-weight: 600; }
.rm-svc-photo { display: block; height: 340px; overflow: hidden; background: var(--rm-ink); }
.rm-svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-svc-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; margin-top: 30px; }
.rm-svc-copy p { font-size: 19px; line-height: 1.5; }
.rm-svc-copy b { display: block; font-size: 15px; letter-spacing: .02em; color: var(--rm-cyan); }
.rm-svc-scope { margin-top: 12px; display: grid; gap: 10px; }
.rm-svc-scope li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.4; font-weight: 500; }
.rm-svc-scope .rm-ico { margin-top: 2px; color: var(--rm-cyan); }
/* tabs on: one panel at a time, its heading is the selected row */
.rm-svc.is-pick .rm-svc-detail + .rm-svc-detail { margin-top: 0; }
.rm-svc.is-pick .rm-svc-detail:not([hidden]) { animation: rm-pane .35s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes rm-pane { from { opacity: 0; transform: translateY(8px); } }

/* 7 · Kasulik: opens on the quote, the four articles in a row under it */
.rm-read { padding: var(--rm-band) 0; }
.rm-quote { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; padding: 72px 64px 64px; overflow: hidden; background: var(--rm-ink); }
.rm-quote::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 18, 25, .94) 0%, rgba(8, 18, 25, .86) 50%, rgba(8, 18, 25, .3) 76%, var(--rm-clear) 92%); pointer-events: none; }
.rm-quote blockquote, .rm-quote figcaption { position: relative; z-index: 2; max-width: 700px; }
.rm-quote blockquote p { font-size: clamp(28px, 2.9vw, 42px); line-height: 1.26; font-weight: 600; letter-spacing: -.02em; }
.rm-quote figcaption { margin-top: 30px; display: grid; gap: 2px; font-size: 17px; }
.rm-quote figcaption span { color: var(--rm-mute); }
.rm-read-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-top: 112px; }
.rm-read :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-read [data-as="h2"] { font-size: clamp(30px, 3vw, 42px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
/* round 12 (owner: "Kasulik build into cards"): each article is a white card on the navy — photo to the card's edges,
   ink title and text inside, "Loe edasi" pinned to the card's foot so the four line up. No outline (W30). */
.rm-articles { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rm-articles li { display: flex; }
.rm-articles a { flex: 1; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding-bottom: 26px; background: var(--rm-white); color: var(--rm-ink); box-shadow: 0 18px 40px rgba(4, 10, 14, .35); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.rm-articles a:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(4, 10, 14, .45); }
.rm-articles a > :not(.rm-article-photo) { margin: 0 24px; }
.rm-article-photo { display: block; height: 200px; overflow: hidden; margin-bottom: 12px; }
.rm-article-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.rm-articles a:hover .rm-article-photo img { transform: scale(1.06); }
.rm-articles b { font-size: 19px; line-height: 1.3; }
.rm-article-text { font-size: 15px; line-height: 1.5; color: var(--rm-card-t); }
.rm-article-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--rm-ink); }
.rm-article-go .rm-ico { color: var(--rm-link-ink); }
.rm-article-go .rm-ico { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.rm-articles a:hover .rm-article-go .rm-ico { transform: translateX(5px); }

/* 8 · KKK beside the office with its map */
.rm-faq { padding: var(--rm-band) 0 136px; }
.rm-faq-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.rm-faq-main :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-faq-main [data-as="h2"] { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
.rm-faq-list { margin-top: 24px; display: grid; }
.rm-q > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 19px; font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none; transition: color .2s; }
.rm-q > summary::-webkit-details-marker { display: none; }
.rm-q > summary .rm-ico { margin-top: 3px; color: var(--rm-cyan); transition: transform .25s; }
.rm-q[open] > summary .rm-ico { transform: rotate(45deg); }
.rm-q > summary:hover, .rm-q[open] > summary { color: var(--rm-cyan); }
.rm-q > p { padding: 0 64px 24px 0; font-size: 17px; color: var(--rm-mute); }
.rm-map { display: block; height: 320px; overflow: hidden; background: var(--rm-ink); }
.rm-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.rm-office :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-office [data-as="h2"] { margin-top: 32px; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.22; font-weight: 600; }
.rm-office p { margin-top: 12px; font-size: 19px; }
.rm-office .rm-acts { margin-top: 28px; }
/* round 14 (owner: "under kontakt add a row below with contact information such as mail, phone, address large"):
   phone · e-mail · address as large links across the column. Named W34 departure by owner request (the footer
   below carries the same facts). The address in the office block above was dropped so it shows once in the band. */
.rm-reach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px 64px; margin-top: 120px; font-style: normal; }
.rm-reach-item { display: grid; gap: 12px; align-content: start; }
.rm-reach-label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--rm-mute); }
.rm-reach-label .rm-ico { color: var(--rm-cyan); }
.rm-reach b { font-size: clamp(26px, 2.4vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; transition: color .2s; }
.rm-reach-item:hover b, .rm-reach-item:focus-visible b { color: var(--rm-cyan); }
.rm-reach-more { margin-top: -4px; font-size: 17px; color: var(--rm-mute); }

/* motion: frame pictures slide against the scroll (JS sets --rm-par and html.rm-par) */
.rm-par :is(.rm-pair-big, .rm-shot, .rm-ledger-frame, .rm-quote, .rm-park-photo) > :is(img, video) { transform: translate3d(0, var(--rm-par, 0px), 0) scale(1.12); will-change: transform; }
/* splash hand-off: the nav row and the hero lines rise in as the logo lands */
.rm-enter .rm-nav, .rm-enter .rm-hero-side, .rm-enter .rm-tel, .rm-enter .rm-tools { animation: rm-rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.rm-enter .rm-tel, .rm-enter .rm-tools { animation-delay: .25s; }
.rm-enter .rm-nav { animation-delay: .32s; }
.rm-enter .rm-hero :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])) .rm-w, .rm-enter .rm-hero [data-as="h1"] .rm-w { animation: rm-light .75s ease-out backwards; animation-delay: calc(.45s + var(--i) * 60ms); }
@keyframes rm-light { 0% { opacity: 0; color: var(--rm-cyan); } 40% { opacity: 1; color: var(--rm-cyan); } 100% { opacity: 1; color: var(--rm-white); } }
.rm-enter .rm-hero-side { animation-delay: .65s; }
@keyframes rm-rise { from { opacity: 0; transform: translateY(22px); } }

/* round 7 · the splash carried into the page */
/* header logo: the three cells charge bottom-up with reading progress (main.js sets --rm-c1..3); each flashes when full */
.rm-cellbar { transform-box: fill-box; transform-origin: 0 50%; transition: transform .2s linear; }
.rm-js .rm-cellbar-1 { transform: scaleX(var(--rm-c1, 0)); }
.rm-js .rm-cellbar-2 { transform: scaleX(var(--rm-c2, 0)); }
.rm-js .rm-cellbar-3 { transform: scaleX(var(--rm-c3, 0)); }
.rm-cellbar.is-full { animation: rm-cellflash .6s ease-out; }
@keyframes rm-cellflash { from { fill: var(--rm-white); } }
/* statements: words charge from slate (3.55 : 1, large text) to white as the line is read; the front word is cyan */
.rm-word { white-space: nowrap; }
.rm-charge .rm-w { color: var(--rm-word); transition: color .35s; }
.rm-charge .rm-w.is-lit { color: var(--rm-white); }
.rm-charge .rm-w.is-front { color: var(--rm-cyan); }

/* inner pages (privacy, 404): start under the header, no hero */
.rm-page { padding: calc(var(--rm-head-h) + 72px) 0 var(--rm-band); }
.rm-notfound-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.rm-notfound :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-notfound [data-as="h1"] { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.18; font-weight: 600; letter-spacing: -.022em; }
.rm-notfound-say > p { margin-top: 22px; max-width: 28em; font-size: 20px; color: var(--rm-mute); }
.rm-notfound .rm-acts { margin-top: 36px; }
.rm-notfound-photo { display: block; height: 520px; overflow: hidden; background: var(--rm-ink); }
.rm-notfound-photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-legal-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.rm-legal :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-legal [data-as="h1"] { font-size: clamp(32px, 2.9vw, 44px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
.rm-legal-head p { margin-top: 16px; color: var(--rm-mute); font-size: 16px; }
.rm-legal-text { max-width: 760px; }
.rm-legal-text :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])) { margin-top: 48px; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.25; font-weight: 600; }
.rm-legal-text :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])):first-child { margin-top: 0; }
.rm-legal-text p { margin-top: 14px; font-size: 17px; line-height: 1.65; color: var(--rm-body-t); }

/* footer */
.rm-foot { padding: 96px 0 48px; font-size: 16px; }
.rm-foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 64px; }
.rm-foot-brand img { width: 170px; height: auto; }
.rm-foot-brand p { margin-top: 22px; color: var(--rm-mute); max-width: 26em; }
.rm-foot ul, .rm-foot address { display: grid; gap: 10px; align-content: start; }
.rm-foot a { font-weight: 500; }
.rm-foot a:hover { color: var(--rm-cyan); }
.rm-foot address span { color: var(--rm-mute); }
.rm-social { display: flex; gap: 20px; margin-top: 8px; }
.rm-social a { color: var(--rm-white); }
.rm-foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-top: 24px; }
.rm-copy { color: var(--rm-mute); }
.rm-copy a { color: var(--rm-mute); font-weight: 400; }
.rm-copy a:hover { color: var(--rm-cyan); }
/* Ideearendus credit (checklist §2): RME cyan → pale cyan → white, a glimmer band sweeps across on hover */
.rm-credit { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; text-align: right; }
.rm-credit-name { font-size: 22px; font-weight: 600; letter-spacing: -.01em; background-image: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .9) 50%, transparent 65%), linear-gradient(90deg, var(--rm-cyan), var(--rm-cyan-pale) 62%, var(--rm-white)); background-size: 200% 100%, 100% 100%; background-position: 160% 0, 0 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.rm-credit:hover .rm-credit-name, .rm-credit:focus-visible .rm-credit-name { animation: rm-glimmer 1.1s ease-in-out; }
@keyframes rm-glimmer { from { background-position: 160% 0, 0 0; } to { background-position: -60% 0, 0 0; } }
.rm-credit-sub { margin-top: 4px; font-size: 12px; letter-spacing: .05em; color: rgba(255, 255, 255, .6); }

@media (max-width: 1100px) {
  .rm-nav > a, .rm-sub > summary { padding: 0 16px; }
  .rm-intro-grid { gap: 48px; }
  .rm-pair-big { height: 460px; }
  .rm-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-ledger-frame { height: 560px; }
  .rm-step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rm-step-head { grid-column: 1 / -1; }
  .rm-reach { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rm-reach-item:last-child { grid-column: 1 / -1; }
  .rm-work-say { grid-column: 1 / -1; padding-bottom: 12px; }
  .rm-shot-1 { grid-column: 1 / -1; }
  .rm-rail { grid-auto-columns: calc((100% - 2 * 28px) / 2.35); }
  .rm-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .rm-svc-grid, .rm-faq-grid { gap: 48px; }
  .rm-legal-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 900px) {
  :root { --rm-gut: 20px; --rm-top-h: 76px; --rm-head-h: 76px; --rm-head-land: 76px; --rm-band: 84px; }
  body { font-size: 17px; }
  .rm-wrap { width: 100%; padding: 0 var(--rm-gut); }
  .rm-head { padding: 0 var(--rm-gut); }
  .rm-head.is-solid { --rm-top-h: 76px; }
  .rm-logo-svg, .rm-head.is-solid .rm-logo-svg { width: 124px; }
  .rm-tel { width: 44px; justify-content: center; }
  .rm-tel span { display: none; }
  .rm-burger { display: grid; }
  .rm-tools { gap: 4px; }
  .rm-nav { display: none; position: fixed; inset: var(--rm-head-h) 0 0 0; width: auto; margin: 0; padding: 20px var(--rm-gut) 40px; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; background: var(--rm-navy); overflow-y: auto; }
  .rm-nav.is-open { display: flex; }
  .rm-head.is-menu { background: var(--rm-navy); }
  .rm-nav > a, .rm-sub > summary { font-size: 28px; font-weight: 600; min-height: 60px; padding: 0 14px; justify-content: space-between; color: var(--rm-white); }
  .rm-sub > summary { display: flex; }
  .rm-sub > ul { position: static; width: auto; margin: 6px 0 10px; padding: 0; transform: none; border-radius: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .rm-hero { display: flex; flex-direction: column; height: auto; min-height: 100vh; min-height: 100svh; }
  .rm-hero-media { flex: 1 0 52vh; }
  .rm-hero { --rm-lap: 40px; padding-bottom: 32px; }
  .rm-hero-row { grid-template-columns: minmax(0, 1fr); width: auto; margin-left: var(--rm-gut); margin-right: var(--rm-gut); padding: 30px 22px 32px; }
  .rm-hero-side p { font-size: 18px; padding-top: 0; }
  .rm-btn, .rm-link { font-size: 17px; }
  .rm-intro-band { padding-top: 96px; }
  .rm-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .rm-intro-for { font-size: 18px; }
  .rm-pair { padding: 0 0 40px 28px; }
  .rm-pair-big { height: min(66vw, 420px); transform: none; }
  .rm-pair-small { width: 52%; height: min(34vw, 200px); transform: none; }
  .rm-ledger-frame { margin-top: 56px; height: auto; padding-top: 220px; }
  .rm-ledger { padding: 0 20px 28px; gap: 26px 20px; }
  .rm-ledger dd b { white-space: normal; }
  .rm-ledger dd span { font-size: 16px; }
  .rm-steps { gap: 48px; margin-top: 40px; }
  .rm-step { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rm-step-say { padding: 26px 22px 28px; }
  .rm-step :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-step [data-as="h3"] { font-size: 26px; }
  .rm-step-key { font-size: 16px; }
  .rm-work-top { gap: 16px; }
  .rm-shot-1, .rm-shot-2, .rm-shot-3 { grid-column: 1 / -1; height: min(110vw, 460px); }
  .rm-shot figcaption { padding: 100px 20px 20px; }
  .rm-rail-head { margin-top: 64px; }
  .rm-rail-nav { display: none; }
  .rm-rail { grid-auto-columns: 80%; gap: 16px; }
  .rm-card-photo { height: min(56vw, 260px); }
  .rm-plate { width: calc(100% - 2 * var(--rm-gut)); }
  .rm-marquee { gap: 36px; }
  .rm-trust :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-trust [data-as="h2"] { margin-top: 40px; }
  .rm-marq-track { gap: 52px; padding-right: 52px; }
  .rm-svc-grid { grid-template-columns: minmax(0, 1fr); }
  .rm-svc :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-svc [data-as="h2"] { margin-bottom: 32px; }
  .rm-svc-list { gap: 4px; }
  .rm-svc-name { min-height: 58px; padding: 10px 18px; font-size: 18px; }
  .rm-svc-photo { height: min(56vw, 300px); }
  .rm-svc-copy { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  .rm-svc-copy p { font-size: 17px; }
  .rm-quote { min-height: 0; padding: 220px 20px 28px; }
  .rm-quote::after { background: linear-gradient(var(--rm-clear), var(--rm-scrim) 45%); }
  .rm-read :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-read [data-as="h2"] { margin-top: 72px; }
  .rm-articles { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rm-article-photo { height: min(52vw, 280px); }
  .rm-faq { padding: 84px 0; }
  .rm-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .rm-reach { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 72px; }
  .rm-sub > ul a { padding: 12px 14px; }
  .rm-sub > ul a .rm-ico { opacity: 1; transform: none; }
  .rm-q > summary { padding: 16px 0; font-size: 18px; }
  .rm-q > p { padding: 0 0 18px; font-size: 16px; }
  .rm-map { height: 260px; }
  .rm-page { padding-top: calc(var(--rm-head-h) + 40px); }
  .rm-notfound-grid, .rm-legal-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rm-notfound-photo { height: min(62vw, 360px); }
  .rm-foot { padding-top: 72px; }
  .rm-foot-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .rm-lang > summary { padding: 0 8px; }
  .rm-logo-svg { width: 108px; }
  .rm-ledger dd b { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-credit:hover .rm-credit-name, .rm-credit:focus-visible .rm-credit-name { animation: none; }
  .rm-btn:hover::after, .rm-btn:focus-visible::after, .rm-cellbar.is-full { animation: none; }
  .rm-js .rm-cellbar-1, .rm-js .rm-cellbar-2, .rm-js .rm-cellbar-3 { transform: none; }
  .rm-svc-name { transition: none; }
  .rm-svc.is-pick .rm-svc-detail:not([hidden]) { animation: none; }
  .rm-nav-ind { transition: opacity .2s; }
  html { scroll-behavior: auto; }
  .rm-hero-film, .rm-hero-run { display: none; }
  .rm-sub[open] > ul, .rm-lang[open] > ul { animation: none; }
  .rm-sub > ul a .rm-ico, .rm-lang li a .rm-ico, .rm-sub > ul a::before, .rm-lang li a::before { transition: none; }
  .rm-btn, .rm-btn .rm-ico, .rm-link .rm-ico, .rm-head, .rm-head::before, .rm-tel, .rm-tools, .rm-head-top, .rm-logo-svg, .rm-q > summary .rm-ico, .rm-pair-big, .rm-pair-small, .rm-card-photo img, .rm-step-bar, .rm-svc-name .rm-ico, .rm-park-photo, .rm-article-photo img, .rm-article-go .rm-ico { transition: none; }
  .rm-card:hover .rm-card-photo img, .rm-articles a:hover .rm-article-photo img, .rm-articles a:hover { transform: none; }
  .rm-articles a { transition: none; }
  .rm-marq-move { animation: none; }
  .rm-marquee { -webkit-mask-image: none; mask-image: none; }
  .rm-marq-move { width: auto; }
  .rm-marq-track { flex-wrap: wrap; justify-content: center; row-gap: 40px; padding: 0 var(--rm-gut); }
  .rm-marq-track[aria-hidden] { display: none; }
  .rm-pair-big, .rm-pair-small { transform: none; }
}

/* ==========================================================================================================
   round 15 · inner pages (services, projects, Kasulik + articles, Kontakt), footer columns, the phone design.
   Same direction as the homepage: navy ground, black raised plates (.rm-lift) with tilt dividers, slate cards on
   black, cyan accent, square corners. Phone rules for everything are in the ≤ 900 block at the end.
   ========================================================================================================== */

/* header: the nav's phone-only foot (phone, e-mail, booking) and the dropdown's "all services" row */
.rm-nav-foot { display: none; }
.rm-sub-all { margin-top: 4px; }
.rm-sub-all a { color: var(--rm-cyan); }

/* homepage: links to the new pages */
.rm-svc-more { grid-column: 1 / -1; justify-self: start; }
.rm-rail-nav { align-items: center; }
.rm-rail-nav .rm-link { margin-right: 18px; }

/* inner page head: the frame at the right, a black card lapping over its left edge */
.rm-phead { padding: calc(var(--rm-head-h) + 32px) 0 var(--rm-band); }
.rm-phead-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: center; }
.rm-phead-media { grid-column: 5 / 13; grid-row: 1; display: block; height: clamp(440px, 64vh, 640px); overflow: hidden; background: var(--rm-ink); }
.rm-phead-media img, .rm-phead-media iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.rm-phead-card { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 2; padding: 52px 56px 56px; background: var(--rm-black); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .55); }
.rm-phead :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-phead [data-as="h1"] { font-size: clamp(32px, 3.1vw, 50px); line-height: 1.18; font-weight: 600; letter-spacing: -.022em; hyphens: manual; overflow-wrap: break-word; }
.rm-phead-lead { margin-top: 20px; max-width: 34em; font-size: 19px; line-height: 1.5; color: var(--rm-lead); }
.rm-phead .rm-acts { margin-top: 30px; }
.rm-phead-reach { display: grid; gap: 10px; margin-top: 28px; font-style: normal; }
.rm-phead-reach a { display: flex; align-items: flex-start; gap: 14px; min-height: 44px; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; transition: color .2s; }
.rm-phead-reach a:hover { color: var(--rm-cyan); }
.rm-phead-reach .rm-ico { margin-top: 4px; color: var(--rm-cyan); }
.rm-phead-reach small { display: block; margin-top: 2px; font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--rm-mute); }
/* the service's three steps: a cyan bar on each charges with the scroll (main.js [data-rm-thread="row"]) */
.rm-psteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; margin-top: 72px; }
.rm-pstep { position: relative; padding-top: 28px; }
.rm-pstep-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--rm-cyan); transform: scaleX(var(--rm-f, 1)); transform-origin: 0 50%; }
.rm-pstep b { display: block; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -.015em; }
.rm-pstep p { margin-top: 10px; max-width: 26em; font-size: 17px; line-height: 1.5; color: var(--rm-mute); }

/* service body: text beside the photo + slate card */
.rm-sbody { padding: var(--rm-band) 0; }
.rm-sbody-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px 80px; align-items: start; }
.rm-sbody :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-sbody [data-as="h2"] { max-width: 18em; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
.rm-sbody-text p { margin-top: 20px; max-width: 38em; font-size: 18px; line-height: 1.65; color: var(--rm-body-t); }
.rm-sbody-text .rm-sbody-first { margin-top: 32px; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.5; font-weight: 500; color: var(--rm-white); }
.rm-sbody-photo { display: block; height: 300px; overflow: hidden; background: var(--rm-ink); }
.rm-sbody-photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-sbody-card { position: relative; margin: -64px 0 0 40px; padding: 32px 34px 36px; background: var(--rm-slate); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.rm-sbody-card :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-sbody-card [data-as="h3"] { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--rm-cyan); }
/* the page's closing sentence is body text (some carry commas, W37 is for titles and display lines), set a little larger */
.rm-sbody-close { margin: 28px 0 0 40px; max-width: 30em; font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--rm-lead); }

/* service questions: the heading as a column beside them, then prev / next */
.rm-sfaq { padding: calc(var(--rm-band) + 40px) 0 var(--rm-band); }
.rm-sfaq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 72px; align-items: start; }
.rm-sfaq :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-sfaq [data-as="h2"] { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
.rm-sfaq .rm-faq-list { margin-top: -20px; }
.rm-pager { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; margin-top: 104px; }
.rm-pager a { display: grid; gap: 8px; align-content: start; min-height: 44px; transition: color .2s; }
.rm-pager a:hover { color: var(--rm-cyan); }
.rm-pager-next { justify-items: end; text-align: right; }
.rm-pager-dir { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--rm-mute); }
.rm-pager-dir .rm-ico { color: var(--rm-cyan); }
.rm-pager b { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; letter-spacing: -.01em; }

/* projects: two columns on the black plate, the second set lower */
.rm-plist { padding: var(--rm-band) 0 calc(var(--rm-band) + 40px); }
.rm-plist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px 64px; align-items: start; }
.rm-proj:nth-child(even) { margin-top: 140px; }
.rm-proj-photo { display: block; height: 360px; overflow: hidden; background: var(--rm-ink); }
.rm-proj.is-lead .rm-proj-photo { height: 460px; }
.rm-proj-photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-proj-say { padding-top: 26px; }
.rm-proj-size { display: block; font-size: clamp(24px, 2vw, 30px); line-height: 1.2; letter-spacing: -.015em; color: var(--rm-cyan); }
.rm-proj :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-proj [data-as="h3"] { margin-top: 8px; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.25; font-weight: 600; }
.rm-proj-place { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--rm-mute); }
.rm-proj-place .rm-ico { color: var(--rm-cyan); }
.rm-proj-text { margin-top: 12px; max-width: 34em; font-size: 17px; line-height: 1.6; color: var(--rm-body-t); }
.rm-plist + .rm-trust { padding-top: calc(var(--rm-band) + 48px); }

/* Kasulik: title beside the featured article, then the cards */
.rm-bhead { padding: calc(var(--rm-head-h) + 40px) 0 72px; }
.rm-bhead-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; align-items: end; }
.rm-bhead :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-bhead [data-as="h1"] { font-size: clamp(48px, 5.6vw, 88px); line-height: 1.18; font-weight: 600; letter-spacing: -.03em; }
.rm-bhead-say p { margin-top: 20px; max-width: 24em; padding-bottom: 10px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; color: var(--rm-lead); }
.rm-feature a { display: block; }
.rm-feature-photo { height: clamp(340px, 44vh, 460px); overflow: hidden; background: var(--rm-ink); }
.rm-feature-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.rm-feature a:hover .rm-feature-photo img { transform: scale(1.04); }
.rm-feature-card { position: relative; z-index: 2; margin: -96px 0 0 48px; padding: 34px 40px 32px; background: var(--rm-black); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .55); }
.rm-feature-card :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-feature-card [data-as="h2"] { font-size: clamp(25px, 2.2vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; transition: color .2s; }
.rm-feature a:hover :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])) { color: var(--rm-cyan); }
.rm-feature-lead { margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--rm-mute-2); }
.rm-feature-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 22px; font-size: 15px; font-weight: 600; }
.rm-feature-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.rm-feature-meta .rm-ico { color: var(--rm-cyan); }
.rm-feature-meta > span:first-child { color: var(--rm-mute); }
.rm-blist { padding: 24px 0 calc(var(--rm-band) + 24px); }
.rm-articles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 0; }
.rm-articles :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-articles [data-as="h3"] { font-size: 20px; line-height: 1.3; font-weight: 600; }
.rm-articles-3 .rm-article-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.rm-articles-3 .rm-article-go > span { display: inline-flex; align-items: center; gap: 8px; }
.rm-article-min { font-weight: 500; color: var(--rm-card-t); }
.rm-article-min .rm-ico { color: var(--rm-card-t); }

/* article: head on navy, photo frame, body on the black plate */
.rm-ahead { padding: calc(var(--rm-head-h) + 48px) 0 0; }
.rm-ahead :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-ahead [data-as="h1"] { max-width: 18em; font-size: clamp(36px, 3.9vw, 60px); line-height: 1.18; font-weight: 600; letter-spacing: -.025em; }
.rm-ahead-lead { margin-top: 24px; max-width: 36em; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.5; color: var(--rm-lead); }
.rm-ahead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--rm-mute); }
.rm-ahead-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.rm-ahead-meta .rm-ico { color: var(--rm-cyan); }
.rm-ahead-meta .rm-link { min-height: 44px; gap: 8px; font-size: 15px; color: var(--rm-white); }
.rm-ahead-meta .rm-link:hover { color: var(--rm-cyan); }
.rm-ahead-photo { display: block; height: clamp(320px, 56vh, 600px); margin-top: 40px; overflow: hidden; background: var(--rm-ink); }
.rm-ahead-photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-abody { padding: calc(var(--rm-band) - 16px) 0 var(--rm-band); }
.rm-abody-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px 80px; align-items: start; }
.rm-prose { grid-column: 1; grid-row: 1; max-width: 720px; }
.rm-aside { grid-column: 2; grid-row: 1; }
.rm-prose > * + * { margin-top: 20px; }
.rm-prose p, .rm-prose li { font-size: 18px; line-height: 1.7; color: var(--rm-body-t); }
.rm-prose :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])) { margin-top: 60px; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.22; font-weight: 600; letter-spacing: -.015em; scroll-margin-top: calc(var(--rm-head-land) + 24px); }
.rm-prose :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])) { margin-top: 36px; font-size: 21px; line-height: 1.3; font-weight: 600; }
.rm-prose > :first-child { margin-top: 0; }
.rm-prose ul { display: grid; gap: 8px; }
.rm-prose li { position: relative; padding-left: 26px; }
.rm-prose li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 8px; height: 8px; background: var(--rm-cyan); }
.rm-pull { margin-top: 44px !important; margin-bottom: 24px; padding: 34px 40px 32px; background: var(--rm-slate); }
.rm-pull blockquote p { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.4; font-weight: 600; letter-spacing: -.01em; color: var(--rm-white); }
.rm-pull figcaption { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--rm-cyan); }
.rm-aside-h { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--rm-cyan); }
.rm-facts { margin-top: 10px; }
.rm-facts > div { padding: 10px 0; }
.rm-facts dt { font-size: 14px; color: var(--rm-mute); }
.rm-facts dd { margin-top: 2px; font-size: 17px; line-height: 1.4; font-weight: 500; }
.rm-facts + .rm-toc { margin-top: 44px; }
.rm-toc ul { margin-top: 8px; display: grid; }
.rm-toc a { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 9px 0; font-size: 16px; line-height: 1.4; color: var(--rm-body-t); transition: color .2s; }
.rm-toc a:hover { color: var(--rm-white); }
.rm-toc .rm-ico { margin-top: 3px; color: var(--rm-cyan); transition: transform .25s; }
.rm-toc a:hover .rm-ico { transform: translateX(4px); }
.rm-more { padding: calc(var(--rm-band) + 40px) 0 var(--rm-band); }
.rm-more :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-more [data-as="h2"] { margin-bottom: 32px; font-size: clamp(30px, 3vw, 42px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }

/* Kontakt: the form on a black card */
.rm-cform { padding: 16px 0 calc(var(--rm-band) + 24px); }
.rm-cform-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }
.rm-cform-say { padding-top: 48px; }
.rm-cform-say :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-cform-say [data-as="h2"] { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
.rm-cform-say > p { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--rm-lead); }
.rm-cform-say .rm-svc-scope { margin-top: 18px; }
.rm-cform-say .rm-cform-or { margin-top: 36px; font-size: 17px; color: var(--rm-mute); }
.rm-cform-say .rm-acts { margin-top: 14px; }
.rm-cform-card { padding: 48px; background: var(--rm-black); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .55); }
.rm-form { display: grid; gap: 22px; }
.rm-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.rm-field { display: grid; gap: 8px; align-content: start; }
.rm-field label { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.rm-field-note { font-weight: 400; color: var(--rm-mute); }
.rm-field input, .rm-field textarea, .rm-field select { display: block; width: 100%; min-height: 54px; margin: 0; padding: 14px 16px; border: 0; border-radius: 0; background: var(--rm-slate); color: var(--rm-white); font: 400 17px/1.4 var(--rm-font); outline: 2px solid transparent; outline-offset: 0; transition: outline-color .2s; }
.rm-field textarea { min-height: 168px; resize: vertical; }
.rm-field ::placeholder { color: var(--rm-mute); opacity: 1; }
.rm-field input:focus, .rm-field textarea:focus, .rm-field select:focus { outline: 2px solid var(--rm-cyan); }
.rm-select { position: relative; display: block; }
.rm-select select { appearance: none; -webkit-appearance: none; padding-right: 52px; cursor: pointer; }
.rm-select option { background: var(--rm-slate); color: var(--rm-white); }
.rm-select .rm-ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--rm-cyan); pointer-events: none; }
.rm-field.has-error input, .rm-field.has-error textarea { outline: 2px solid var(--rm-err); }
.rm-field-err { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.4; color: var(--rm-err); }
.rm-field-err .rm-ico { margin-top: 1px; }
.rm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rm-hp input { font: inherit; }
.rm-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.rm-form-foot .rm-btn { border: 0; }
.rm-form-privacy { max-width: 26em; font-size: 15px; line-height: 1.5; color: var(--rm-mute); }
.rm-form-privacy a { color: var(--rm-white); font-weight: 600; }
.rm-form-privacy a:hover { color: var(--rm-cyan); }
.rm-status { display: flex; align-items: flex-start; gap: 14px; }
.rm-status:focus { outline: none; }
.rm-status:focus-visible { outline: 3px solid var(--rm-white); outline-offset: 6px; }
.rm-status-err { margin-bottom: 26px; font-weight: 600; color: var(--rm-err); }
.rm-status-err .rm-ico { margin-top: 1px; }
.rm-status-ok .rm-ico { color: var(--rm-cyan); }
.rm-status-ok :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-status-ok [data-as="h3"] { font-size: clamp(24px, 2vw, 30px); line-height: 1.2; font-weight: 600; }
.rm-status-ok p { margin-top: 10px; font-size: 18px; color: var(--rm-lead); }
.rm-status-ok .rm-link { margin-top: 10px; }

/* footer: brand · services · info · contact */
.rm-foot-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1.1fr); gap: 40px 48px; }
.rm-foot-col :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-foot-col [data-as="h2"] { margin-bottom: 14px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--rm-cyan); }
.rm-foot-col ul { display: grid; gap: 10px; }

@media (max-width: 1100px) {
  .rm-phead-card { grid-column: 1 / 9; padding: 40px 40px 44px; }
  .rm-phead-media { grid-column: 4 / 13; }
  .rm-sbody-grid, .rm-cform-grid { grid-template-columns: minmax(0, 1fr); }
  .rm-sbody-side { max-width: 640px; }
  .rm-cform-say { padding-top: 0; }
  .rm-sfaq-grid { grid-template-columns: minmax(0, 1fr); }
  .rm-sfaq .rm-faq-list { margin-top: 0; }
  .rm-bhead-grid { grid-template-columns: minmax(0, 1fr); }
  .rm-abody-grid { grid-template-columns: minmax(0, 1fr); }
  .rm-prose, .rm-aside { grid-column: 1; grid-row: auto; }
  .rm-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
  .rm-aside > .rm-aside-h, .rm-aside > .rm-facts { grid-column: 1; }
  .rm-facts + .rm-toc { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; }
  .rm-articles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ==========================================================================================================
   round 15 · the phone design (≤ 900 px). Its own layout, not the desktop shrunk: a 64 px bar with the logo at the
   left; a full-screen menu with the contacts at its foot; the hero fits one screen with both actions; frames full
   gutter width with cards lapping up over their foot; every standalone control at least 44 px tall.
   ========================================================================================================== */
@media (max-width: 900px) {
  :root { --rm-top-h: 64px; --rm-head-h: 64px; --rm-head-land: 64px; --rm-band: 80px; }
  /* bar: logo · phone · language · menu */
  .rm-head-top { display: flex; align-items: center; gap: 6px; height: 64px; }
  .rm-logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
  .rm-logo-svg, .rm-head.is-solid .rm-logo-svg { width: 112px; }
  .rm-tel { width: 44px; height: 44px; min-height: 44px; justify-content: center; }
  .rm-tel .rm-ico { width: 20px; height: 20px; }
  .rm-tools { gap: 4px; }
  .rm-lang > summary { min-height: 44px; padding: 0 8px; gap: 6px; }
  .rm-lang > ul { right: -52px; }
  .rm-lang li a { min-height: 48px; }
  .rm-burger { width: 44px; height: 44px; }
  /* menu: full screen under the bar, the contacts at its foot */
  .rm-nav { padding: 12px var(--rm-gut) 28px; gap: 0; }
  .rm-nav > a, .rm-sub > summary { min-height: 56px; padding: 0 4px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
  .rm-nav > a.is-current, .rm-sub > summary.is-current { color: var(--rm-cyan); }
  .rm-sub > ul { margin: 0 0 12px; gap: 0; }
  .rm-sub > ul a { min-height: 48px; padding: 10px 4px 10px 16px; font-size: 17px; border-radius: 0; }
  .rm-sub > ul a::before { display: none; }
  .rm-sub > ul a[aria-current] { color: var(--rm-cyan); }
  .rm-nav-foot { display: grid; gap: 0; margin-top: auto; padding-top: 28px; }
  .rm-nav-reach { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 18px; font-weight: 500; }
  .rm-nav-reach .rm-ico { color: var(--rm-cyan); }
  .rm-nav-foot .rm-btn { margin-top: 14px; justify-content: space-between; }
  /* hero: exactly one screen with both actions; the film takes what the card leaves */
  .rm-hero { height: auto; min-height: 100vh; min-height: 100svh; padding-bottom: 20px; }
  .rm-hero-media { flex: 1 1 0; min-height: max(200px, 28svh); }
  .rm-hero-row { padding: 24px 20px 22px; }
  .rm-hero :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-hero [data-as="h1"] { font-size: clamp(26px, 7.2vw, 32px); line-height: 1.18; }
  .rm-hero-side p { font-size: 17px; line-height: 1.45; }
  .rm-hero .rm-acts { margin-top: 18px; gap: 2px 24px; }
  .rm-hero .rm-btn { width: 100%; justify-content: space-between; }
  .rm-link { min-height: 48px; }
  /* homepage bands */
  .rm-read :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-read [data-as="h2"] { margin-top: 0; }
  .rm-read-head { margin-top: 64px; }
  .rm-rail-nav { display: flex; }
  .rm-rail-nav .rm-sq { display: none; }
  .rm-rail-nav .rm-link { margin-right: 0; }
  .rm-rail-head { flex-wrap: wrap; align-items: center; gap: 4px 24px; }
  .rm-q > summary { min-height: 56px; align-items: center; }
  .rm-reach-item { min-height: 44px; }
  .rm-svc-more { margin-top: 4px; }
  /* inner page head */
  .rm-phead { padding: calc(var(--rm-head-h) + 16px) 0 var(--rm-band); }
  .rm-phead-grid { display: block; }
  .rm-phead-media { height: min(64vw, 360px); }
  .rm-phead-media.is-map { height: min(80vw, 380px); }
  .rm-phead-card { margin: -40px 10px 0; padding: 26px 22px 28px; }
  .rm-phead :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-phead [data-as="h1"] { font-size: clamp(27px, 7.4vw, 34px); }
  .rm-phead-lead { margin-top: 14px; font-size: 17px; }
  .rm-phead .rm-acts { margin-top: 20px; gap: 2px 24px; }
  .rm-phead .rm-btn { width: 100%; justify-content: space-between; }
  .rm-phead-reach a { font-size: 20px; }
  .rm-psteps { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 44px; }
  .rm-pstep { padding: 2px 0 2px 24px; }
  .rm-pstep-bar { top: 0; bottom: 0; right: auto; width: 4px; height: auto; transform: scaleY(var(--rm-f, 1)); transform-origin: 50% 0; }
  .rm-pstep b { font-size: 22px; }
  .rm-pstep p { margin-top: 6px; font-size: 16px; }
  /* service body + questions */
  .rm-sbody-grid { gap: 48px; }
  .rm-sbody-text p { font-size: 17px; }
  .rm-sbody-text .rm-sbody-first { margin-top: 24px; font-size: 19px; }
  .rm-sbody-photo { height: min(58vw, 300px); }
  .rm-sbody-card { margin: -44px 10px 0; padding: 26px 22px 28px; }
  .rm-sbody-close { margin: 24px 10px 0; }
  .rm-sfaq { padding-top: calc(var(--rm-band) + 24px); }
  .rm-pager { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 64px; }
  .rm-pager-next { justify-items: start; text-align: left; }
  /* projects */
  .rm-plist-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .rm-proj:nth-child(even) { margin-top: 0; }
  .rm-proj-photo, .rm-proj.is-lead .rm-proj-photo { height: min(62vw, 360px); }
  .rm-proj-say { padding-top: 20px; }
  .rm-proj-text { font-size: 16px; }
  /* Kasulik + articles */
  .rm-bhead { padding: calc(var(--rm-head-h) + 32px) 0 56px; }
  .rm-bhead :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-bhead [data-as="h1"] { font-size: clamp(44px, 12vw, 60px); }
  .rm-bhead-say p { font-size: 18px; }
  .rm-feature-photo { height: min(62vw, 340px); }
  .rm-feature-card { margin: -48px 10px 0; padding: 24px 22px 24px; }
  .rm-feature-lead { font-size: 16px; }
  .rm-articles-3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rm-ahead { padding-top: calc(var(--rm-head-h) + 32px); }
  .rm-ahead :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-ahead [data-as="h1"] { font-size: clamp(29px, 7.8vw, 40px); }
  .rm-ahead-lead { margin-top: 16px; font-size: 18px; }
  .rm-ahead-photo { height: min(64vw, 380px); margin-top: 28px; }
  .rm-aside { display: block; }
  .rm-facts + .rm-toc { margin-top: 36px; }
  .rm-prose p, .rm-prose li { font-size: 17px; }
  .rm-prose :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])) { margin-top: 48px; }
  .rm-pull { padding: 26px 22px 24px; }
  /* Kontakt */
  .rm-cform { padding-top: 0; }
  .rm-cform-card { padding: 26px 20px 28px; }
  .rm-form-row { grid-template-columns: minmax(0, 1fr); }
  .rm-form-foot .rm-btn { width: 100%; justify-content: space-between; }
  /* footer: one column, every row a 44 px target */
  .rm-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rm-foot-col ul, .rm-foot address { gap: 0; }
  .rm-foot-col li a, .rm-foot address a { display: flex; align-items: center; min-height: 44px; }
  .rm-foot address span { padding: 4px 0; }
  .rm-social { margin-top: 4px; gap: 24px; }
  .rm-social a { display: inline-flex; align-items: center; min-height: 44px; }
  .rm-copy a { display: inline-flex; align-items: center; min-height: 44px; }
  .rm-credit { min-height: 44px; justify-content: center; align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-feature-photo img, .rm-toc .rm-ico, .rm-pager a, .rm-field input, .rm-field textarea, .rm-field select { transition: none; }
  .rm-feature a:hover .rm-feature-photo img, .rm-toc a:hover .rm-ico { transform: none; }
}

/* ===== v3 additions ===== */
/* homepage FAQ (client point 3): v1's service-page FAQ layout, heading beside the questions; the live map follows */
.rm-faq-home { padding: var(--rm-band) 0; }
.rm-faq-cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 72px; align-items: start; }
.rm-faq-cols :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-faq-cols [data-as="h2"] { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
.rm-faq-cols .rm-faq-list { margin-top: -20px; }
@media (max-width: 900px) {
  .rm-faq-home { padding: 84px 0; }
  .rm-faq-cols { grid-template-columns: minmax(0, 1fr); }
  .rm-faq-cols .rm-faq-list { margin-top: 0; }
}

/* service pages (client point 5): v1 layout and type, but the page ground is the live homepage's animated grid
   (includes/energy-bg.php, fixed behind the page) — so the v1 black plate is see-through here and loses its tilts */
.rm-main-service .rm-sbody { background: transparent; box-shadow: none; }
.rm-main-service .rm-sbody > .rm-divide { display: none; }

/* hero: in Montserrat "Broneeri konsultatsioon" no longer fit the side column on one line below ~1300 px */
.rm-hero .rm-btn { white-space: nowrap; padding: 0 22px; gap: 12px; }
@media (max-width: 1180px) { .rm-hero-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 900px) { .rm-hero-row { grid-template-columns: minmax(0, 1fr); } }

/* 2026-11-17 · cursor highlight removed (owner): the page backlight and the pointer-following card glow are gone
   (foot.php, main.js); the card's hover glow went with them. The rest-state card border stays. */

/* 2026-11-17 · Firefox perf: Firefox re-blurs a backdrop-filter on every frame that anything behind it moves (grid
   pulse, videos, marquee), which halved its frame rate. The header was already 80 % opaque near-black, so the blur
   barely showed: no blur in any browser, the ground made a touch more solid instead. */

/* 2026-11-18 · v1 animated logo in the live header (header.php): the inline SVG takes the live logo.webp's box */

/* 2026-11-18 · v1 splash on the homepage (head.php + header.php + rm.js): above the live header and cookie notice */
.rm-intro-on .rm-intro { z-index: 200; }
/* the hand-off: the header's two menu groups and the phone bar's toggler rise in as the logo lands */

/* 2026-11-18 · language: globe + short code (owner); the open list names the other language with its code */
.rm-lang-link { display: inline-flex !important; align-items: center; gap: 8px; }
.rm-lang-link .rm-ico { flex: none; }
.rm-lang-link .rm-globe { color: #68d2df; }
.rm-lang-opt b { font-weight: 600; margin-right: 6px; }

/* 2026-11-18 · hero band (owner): its ground is the page's own animated grid, as in the section under it, and the
   title plate wears the header's near-black ground, without an edge (owner: no border) */
.rm-hero { background-color: transparent; }
.rm-hero-row { background: #07090deb; border: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }

/* 2026-11-18 · footer tilt read grey (owner): the live <main> stacks at z-index 5, above the footer plate (3), so the
   Kontakt band's backlight washed over the tilt. The footer now stacks above <main>: its tilt is footer black. */
.rm-foot.rm-lift { z-index: 6; }

/* 2026-11-18 · Energiateekond steps (owner: "a lot of text"): the same client copy in layers — a lead line, the
   run-on "Analüüsime: a, b, c" sentence as a real list, then the key line bold with the rest quieter. All steps read
   left-aligned (the live right-aligned even steps made the lists ragged on the left). */

/* 2026-11-18 · closing booking band (sections/broneeri.php): one plate on the header's ground, photo beside the line */
.rm-book { padding: var(--rm-band) 0; }
.rm-book-plate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; background: #07090deb; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.rm-book-photo { margin: 0; min-height: 440px; overflow: hidden; background: var(--rm-ink); }
.rm-book-photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-book-say { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px; padding: 64px 72px; }
.rm-book-say :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-book-say [data-as="h2"] { font-size: clamp(32px, 3vw, 48px); line-height: 1.16; font-weight: 600; letter-spacing: -.022em; color: var(--rm-white); max-width: 15em; }
@media (max-width: 900px) {
  .rm-book { padding: 72px 0; }
  .rm-book-plate { grid-template-columns: minmax(0, 1fr); }
  .rm-book-photo { min-height: 0; height: 260px; }
  .rm-book-say { padding: 32px 22px 36px; gap: 28px; }
  .rm-book-say :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-book-say [data-as="h2"] { font-size: clamp(26px, 7vw, 34px); }
  .rm-book-say .rm-btn { width: 100%; justify-content: space-between; }
}
.rm-book-say .rm-btn { white-space: nowrap; padding: 0 22px; gap: 12px; }

/* 2026-11-18 · footer in the live dress (includes/footer.php): one framed panel like the header — near-black glass,
   1 px cyan edge, the header's width — floating on the animated grid. Rows: visit + map, slim links, legal line. */
.rm-ft { position: relative; z-index: 6; padding: 8px 0 28px; }
.rm-ft-panel { width: var(--stg-container-width, 1200px); max-width: calc(100% - 32px); margin: 0 auto; padding: 0 48px; background: #07090deb; border: 1px solid #68d2df; border-radius: 1px; }
.rm-ft-visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 48px 0 40px; }
.rm-ft-reach :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-ft-reach [data-as="h2"] { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--rm-white); }
.rm-ft-reach > p { margin-top: 12px; max-width: 30em; font-size: 16px; line-height: 1.5; color: var(--rm-mute); }
.rm-ft-lines { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rm-ft-lines a { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; color: var(--rm-white); transition: color .2s; }
.rm-ft-lines .rm-ico { flex: none; color: #68d2df; }
.rm-ft-lines a:hover { color: #68d2df; }
/* the map as Google draws it (as on the live site) */
.rm-ft-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.rm-ft-mid { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 24px 56px; align-items: start; padding: 32px 0 28px; }
.rm-ft-logo img { display: block; width: 130px; height: auto; }
.rm-ft-mid :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-ft-mid [data-as="h2"] { margin-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #68d2df; }
.rm-ft-mid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px 32px; }
.rm-ft-svc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rm-ft-mid a { font-size: 15px; font-weight: 500; color: #d7dde1; transition: color .2s; }
.rm-ft-mid a:hover { color: #68d2df; }
.rm-ft-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 0 0 26px; font-size: 14px; color: var(--rm-mute); }
.rm-ft-base a:hover { color: #68d2df; }
.rm-ft-social { display: flex; gap: 20px; }
.rm-ft-social a { font-weight: 500; color: #d7dde1; }
.rm-ft .rm-credit-name { font-size: 18px; }

/* 2026-11-18 · Teenused dropdown (header.php): a larger panel in place of the live single column — two columns of
   services (name + one-line summary), a tinted ground on hover, the current page marked in cyan with a bar */

/* 2026-11-18 · owner: full-width footer. The ground runs edge to edge (no edge line: top border removed by owner); the content keeps the
   header's width inside it. */
.rm-ft { padding: 0; }
.rm-ft-panel { width: 100%; max-width: none; margin: 0; padding: 0 max(16px, calc((100% - var(--stg-container-width, 1200px)) / 2 + 25px)); border: 0; border-radius: 0; }

/* 2026-11-18 · site check: article pages drop v1's black tilted plate like the homepage and service pages did — the
   article body sits on the header's near-black glass (kept for long-form reading), without the tilts */
.rm-main-article .rm-abody { background: #07090deb; box-shadow: none; }
.rm-main-article .rm-abody > .rm-divide { display: none; }

/* 2026-11-18 · footer socials as brand icons (functions.php brand_icon, Font Awesome Free brands) */
.rm-ft-social { display: flex; align-items: center; gap: 8px; }
.rm-ft-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #d7dde1; transition: color .2s; }
.rm-ft-social a:hover, .rm-ft-social a:focus-visible { color: #68d2df; }
.rm-ft-social .rm-brand { display: block; height: 22px; width: auto; }
/* 2026-11-18 · footer contact lines larger (owner); the heading sits straight on them (description line removed) */
.rm-ft-lines { margin-top: 26px; gap: 16px; }
.rm-ft-lines a { gap: 16px; font-size: clamp(20px, 1.65vw, 24px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }

/* 2026-11-18 · phone view parts (header.php menu sheet, Energiateekond fold buttons) stay out of the desktop; they are
   laid out in assets/rm-mobile.css, which loads only at 960 px and below */
.rm-m-nav, .rm-jl-toggle { display: none; }

/* 2026-11-18 · article pages (owner: "move content to the center, Sisukord left"). Laptops: Sisukord in a 260 px
   column left of the text. Wide screens: the text column (720 px) sits in the exact centre of the page, Sisukord
   right beside it on the left. Below 1101 px rm.css stacks them. */
@media (min-width: 1101px) {
  .rm-abody-grid { grid-template-columns: 260px minmax(0, 720px); justify-content: start; gap: 48px 56px; }
  .rm-aside { grid-column: 1; }
  .rm-prose { grid-column: 2; max-width: none; }
}
@media (min-width: 1368px) {
  .rm-abody-grid { width: calc(100% - 96px); grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr); }
  .rm-aside { justify-self: end; width: min(100%, 280px); }
}

/* 2026-11-18 · owner: less empty space between Energiateekond ("Pakume teie energiaprojektile terviklahendust") and the
   numbers. It was 398 px at 1440 (last step's 150 px margin + the section's 128 px padding + the frame's 120 px margin);
   now only the section padding stays. */
#numbrid .rm-ledger-frame { margin-top: 0; }

/* 2026-11-18 · article head (sections/article.php, owner): photo first; title, lead and reading time centred on the
   hero's near-black plate, lapping up over the photo's foot. The plate's text column matches the article text. */
.rm-ahead-photo { margin-top: 0; height: clamp(300px, 44vh, 520px); }
@media (min-width: 901px) { .rm-ahead { padding-top: 128px; } }
.rm-ahead-plate { position: relative; z-index: 2; width: min(880px, calc(100% - 96px)); margin: -112px auto 0; padding: 48px 56px 34px; background: #07090deb; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); text-align: center; }
.rm-ahead-plate :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-ahead-plate .rm-ahead-lead, .rm-ahead-plate [data-as="h1"] { margin-left: auto; margin-right: auto; text-wrap: balance; }
.rm-ahead-plate :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-ahead-plate [data-as="h1"] { max-width: 16em; }
.rm-ahead-plate .rm-ahead-meta { justify-content: center; }


/* ===== the phone view (demo rm-mobile.css, linked there with media="(max-width: 960px)") ===== */
@media (max-width: 960px) {
/* RMEnergy v3 — the phone view (2026-11-18, .build/PLAN-MOBILE.md). Linked after rm.css with media="(max-width: 960px)",
   960 px being where the live header switches to its phone bar. Phone-only band layouts sit in (max-width: 900px),
   rm.css's phone breakpoint. Desktop never loads this sheet. New parts: rm-m- prefix (header.php). */

:root { --rm-m-bar: 60px; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--rm-m-bar) + 8px); }

/* ---------- phone bar: logo · phone · language · menu (each control 44 px) ---------- */
.rm-m-bar { display: flex; align-items: center; gap: 2px; width: 100%; min-height: 0; height: calc(var(--rm-m-bar) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 10px 0 16px; box-sizing: border-box; background: #07090deb; }
.rm-m-bar .rm-hd-logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.rm-m-bar .rm-hd-logo .rm-logo-svg { width: 92px; }
.rm-m-tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 8px; color: #fff; font: 600 14px/1 var(--rm-font); letter-spacing: .02em; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.rm-m-tool::-webkit-details-marker { display: none; }
.rm-m-tool .rm-ico { color: #68d2df; }
.rm-m-tool:focus-visible, .rm-m-burger:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.rm-m-lang { position: relative; }
.rm-m-lang > ul { position: absolute; right: -50px; top: calc(100% + 8px); z-index: 3; min-width: 196px; margin: 0; padding: 6px; list-style: none; background: #07090d; box-shadow: 0 20px 44px rgba(0, 0, 0, .6); }
.rm-m-lang li { margin: 0; list-style: none; }
.rm-m-lang li::before { display: none; }
.rm-m-lang a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; font: 500 16px/1.2 var(--rm-font); color: #d7dde1; }
.rm-m-lang a b { min-width: 26px; font-weight: 600; color: #fff; }
.rm-m-lang a[aria-current] { color: #68d2df; }
.rm-m-lang a[aria-current] b { color: #68d2df; }
/* menu: the live cyan square, three bars → a cross while the menu is open */
.rm-m-burger { position: relative; display: block; flex: none; width: 44px; height: 44px; margin-left: 6px; background: #68d2df; border-radius: 1px; -webkit-tap-highlight-color: transparent; }
.rm-m-burger span { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 1px; background: #07090d; transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .2s; }
.rm-m-burger span:nth-child(1) { top: 15px; }
.rm-m-burger span:nth-child(2) { top: 21px; }
.rm-m-burger span:nth-child(3) { top: 27px; width: 13px; }
.rm-m-open .rm-m-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.rm-m-open .rm-m-burger span:nth-child(2) { opacity: 0; }
.rm-m-open .rm-m-burger span:nth-child(3) { width: 20px; transform: translateY(-6px) rotate(-45deg); }
/* the live JS drawer is not used on this site */
/* the splash hand-off lifts the menu square in, as it did the live toggler */

/* ---------- menu sheet #rm-mnav ---------- */
.rm-m-nav { position: fixed; inset: calc(var(--rm-m-bar) + env(safe-area-inset-top)) 0 0 0; z-index: 110; display: block; overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px calc(32px + env(safe-area-inset-bottom)); background: #07090d; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s; }
.rm-m-open .rm-m-nav, .rm-m-nav:target { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.rm-m-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 -10px 0 auto; color: #fff; }
.rm-js .rm-m-close { display: none; }
.rm-m-label { margin: 8px 0 2px; font-size: 14px; font-weight: 600; letter-spacing: .03em; color: #68d2df; }
.rm-m-svc a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 0; font-size: 17px; line-height: 1.3; font-weight: 600; color: #e6ecef; }
.rm-m-svc a .rm-ico { color: #68d2df; }
.rm-m-svc a[aria-current], .rm-m-main a[aria-current] { color: #68d2df; }
.rm-m-main { margin-top: 18px; }
.rm-m-main a { display: flex; align-items: center; min-height: 56px; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.rm-m-foot { display: grid; gap: 6px; margin-top: 28px; }
.rm-m-foot .rm-btn { justify-content: space-between; width: 100%; min-height: 56px; margin-bottom: 10px; }
.rm-m-reach { display: flex; align-items: center; gap: 14px; min-height: 48px; font-size: 18px; font-weight: 600; color: #fff; }
.rm-m-reach .rm-ico { color: #68d2df; }
.rm-m-svc a:active, .rm-m-main a:active, .rm-m-reach:active { color: #68d2df; }

/* ---------- footer: one column of tap rows ---------- */
.rm-ft-panel { padding: 0 20px; }
.rm-ft-visit { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 56px 0 36px; }
.rm-ft-reach :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-ft-reach [data-as="h2"] { font-size: 28px; }
.rm-ft-lines { margin-top: 18px; gap: 2px; }
.rm-ft-lines a { display: flex; align-items: center; gap: 14px; min-height: 52px; font-size: 19px; line-height: 1.3; }
.rm-ft-lines .rm-ico { width: 22px; height: 22px; }
.rm-ft-lines li:nth-child(2) span { white-space: nowrap; }
.rm-ft-map iframe { height: 240px; }
.rm-ft-mid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; padding: 4px 0 32px; }
.rm-ft-logo { grid-column: 1 / -1; }
.rm-ft-mid :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-ft-mid [data-as="h2"] { margin-bottom: 4px; }
.rm-ft-mid ul, .rm-ft-svc ul { grid-template-columns: minmax(0, 1fr); gap: 0; }
.rm-ft-mid a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; font-size: 16px; line-height: 1.3; }
.rm-ft-base { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); line-height: 1.6; }
.rm-ft-social { margin-left: -10px; }
.rm-ft-social a { width: 44px; height: 44px; }
.rm-ft .rm-credit { align-items: flex-start; text-align: left; }
}

@media (max-width: 600px) {
  .rm-ft-mid { grid-template-columns: minmax(0, 1fr); }
}

/* ================================== phones (≤ 900 px): the bands ================================== */
@media (max-width: 900px) {
  /* hero: one screen, both actions in view */
  .rm-hero { padding-bottom: 20px; }
  .rm-hero-media { flex: 1 0 38svh; }
  .rm-hero { --rm-lap: 36px; }
  .rm-hero-row { margin-left: 12px; margin-right: 12px; padding: 24px 20px 22px; gap: 14px; }
  .rm-hero :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-hero [data-as="h1"] { font-size: clamp(27px, 7.4vw, 34px); line-height: 1.18; }
  .rm-hero-side p { font-size: 17px; line-height: 1.45; }
  .rm-hero .rm-acts { margin-top: 18px; gap: 4px; }
  .rm-hero .rm-btn { width: 100%; justify-content: space-between; min-height: 54px; }
  .rm-hero .rm-link { min-height: 48px; }

  /* Energiateekond: left-aligned, no drawn line, each step's list folds behind a button */
  .rm-jrn .rm-jrn-svg { display: none; }
  .rm-jrn .rm-jrn-head { text-align: left; padding-left: 20px; padding-right: 20px; }
  .rm-jrn .rm-jrn-head :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])).rm-sh-title, .rm-jrn .rm-jrn-head [data-as="h2"].rm-sh-title { font-size: 30px; line-height: 1.2; }
  .rm-jrn .rm-jrn-head .rm-large { font-size: 17px; line-height: 1.5; }
  .rm-jrn .rm-jrn-wrap { padding-left: 20px; padding-right: 20px; }
  .rm-jrn .rm-jrn-step { margin-bottom: 64px; gap: 0; }
  .rm-jrn .rm-jrn-media { margin-bottom: 22px; }
  .rm-jrn .rm-jrn-media video, .rm-jrn .rm-jrn-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .rm-jrn .rm-jrn-text :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-jrn .rm-jrn-text [data-as="h3"] { font-size: 23px; line-height: 1.22; margin-bottom: 10px; }
  .rm-jrn .rm-jrn-text .rm-jl-lead { font-size: 17px; margin-bottom: 6px; }
  .rm-jrn .rm-jrn-text :is(.rm-jl-intro, .rm-jl-ed) > p:first-child { font-size: 17px; margin-bottom: 6px; }
  .rm-jrn .rm-jrn-text .rm-jl-sisu :is(h1, h2, h3) { font-size: 19px; }
  .rm-jrn .rm-jl-more { padding-top: 12px; }
  .rm-js .rm-jrn .rm-jl-more:not(.is-open) { display: none; }
  .rm-js .rm-jrn .rm-jl-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: #68d2df; font: 600 16px/1.2 var(--rm-font); letter-spacing: 0; text-transform: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .rm-jrn .rm-jl-toggle .rm-ico { transition: transform .25s; }
  .rm-jrn .rm-jl-toggle[aria-expanded="true"] .rm-ico { transform: rotate(180deg); }

  /* Teenused: plates without the outline or the ghost 01-06, three lines of text, the whole plate is the link */
  .rm-svcs .rm-sec-title { text-align: left; }
  .rm-svcs .rm-sec-title :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-svcs .rm-sec-title [data-as="h2"] { font-size: 30px; line-height: 1.2; }
  .rm-svcs a.rm-svc-card { padding: 24px 20px 22px; gap: 10px; margin-bottom: 12px; border: 0; box-shadow: none; background: #07090deb; transform: none; }
  .rm-svcs a.rm-svc-card::after, .rm-svcs a.rm-svc-card::before { display: none; }
  .rm-svcs a.rm-svc-card :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-svcs a.rm-svc-card [data-as="h3"] { font-size: 21px; line-height: 1.25; }
  .rm-svcs a.rm-svc-card p { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .rm-svcs a.rm-svc-card .rm-svc-go { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 0; border: 0; background: none; box-shadow: none; transform: none; color: #68d2df; font-size: 15px; }
  .rm-svcs a.rm-svc-card .rm-svc-go::after { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }
  .rm-svcs a.rm-svc-card:active { background: #151528; }

  /* numbers */
  .rm-ledger-frame { margin-top: 0; padding-top: 200px; }
  .rm-ledger dd b { font-size: clamp(24px, 6.6vw, 30px); }

  /* Tehtud tööd: captions under the photos, the rail snaps card by card */
  .rm-work-say :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-work-say [data-as="h2"] { font-size: 34px; }
  .rm-work-say p { font-size: 17px; margin-top: 14px; }
  .rm-work-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rm-shot-1, .rm-shot-2, .rm-shot-3 { height: auto; overflow: visible; background: none; }
  .rm-shot img { height: min(62vw, 300px); }
  .rm-shot figcaption { position: static; padding: 16px 0 0; background: none; }
  .rm-shot :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-shot [data-as="h3"] { font-size: 21px; }
  .rm-shot p { font-size: 16px; }
  .rm-shot .rm-shot-role { font-size: 15px; color: var(--rm-mute-2); }
  .rm-rail-head { margin-top: 56px; }
  .rm-rail { grid-auto-columns: 82%; gap: 14px; scroll-padding-left: 0; }
  .rm-card-photo { height: min(52vw, 220px); }
  .rm-card :is(h4:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h4"])), .rm-card [data-as="h4"] { font-size: 18px; }

  /* partners */
  .rm-marq-track img { max-height: 40px; width: auto; }
  .rm-trust :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-trust [data-as="h2"] { font-size: 24px; text-align: left; margin-left: 0; }

  /* Kasulik: articles as rows, thumbnail beside the title */
  .rm-quote { padding-top: 200px; }
  .rm-quote blockquote p { font-size: 23px; line-height: 1.3; }
  .rm-read-head { margin-top: 64px; }
  .rm-articles, .rm-articles-3 { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 24px; }
  .rm-articles a { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-content: start; column-gap: 16px; row-gap: 6px; padding: 0; background: none; color: var(--rm-white); box-shadow: none; transform: none; }
  .rm-articles a:hover { transform: none; box-shadow: none; }
  .rm-articles a > :not(.rm-article-photo) { margin: 0; grid-column: 2; }
  .rm-article-photo { grid-column: 1; grid-row: 1 / span 3; height: 88px; margin: 0; background: var(--rm-ink); }
  .rm-articles b, .rm-articles :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-articles [data-as="h3"] { font-size: 17px; line-height: 1.3; }
  .rm-article-text { font-size: 14px; color: var(--rm-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .rm-article-go, .rm-articles-3 .rm-article-go { margin-top: 0; font-size: 14px; color: #68d2df; justify-content: flex-start; }
  .rm-article-go .rm-ico, .rm-article-min .rm-ico { color: #68d2df; }
  .rm-article-min { color: var(--rm-mute); }
  .rm-articles a:active b, .rm-articles a:active :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-articles a:active [data-as="h3"] { color: #68d2df; }

  /* KKK */
  .rm-q > summary { min-height: 56px; padding: 16px 0; font-size: 17px; }
  .rm-faq-cols :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-faq-cols [data-as="h2"] { font-size: 30px; }

  /* booking band */
  .rm-book-photo { height: 220px; }

  /* article head: photo, then the centred plate lapping 40 px over it */
  .rm-ahead-photo { height: min(64vw, 380px); }
  .rm-ahead-plate { width: 100%; margin-top: -40px; padding: 26px 16px 18px; }
  .rm-ahead-plate :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-ahead-plate [data-as="h1"] { font-size: clamp(24px, 7vw, 36px); hyphens: auto; overflow-wrap: break-word; }
  .rm-ahead-plate .rm-ahead-meta { gap: 0 24px; }

  /* inner pages */
  .rm-phead .rm-acts { gap: 4px; }
  .rm-phead .rm-btn { width: 100%; justify-content: space-between; white-space: nowrap; padding: 0 22px; }
  .rm-phead .rm-link { min-height: 48px; }
  .rm-pager { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 64px; }
  .rm-pager a { padding: 12px 0; }
  .rm-pager-next { justify-items: start; text-align: left; }
  .rm-bhead :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-bhead [data-as="h1"] { font-size: 44px; }
  .rm-feature-card { margin: -48px 12px 0; padding: 24px 20px 22px; }
  .rm-feature-card :is(h2:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h2"])), .rm-feature-card [data-as="h2"] { font-size: 23px; }
}

@media (max-width: 600px) {
  .rm-articles .rm-article-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-m-nav, .rm-m-open .rm-m-nav, .rm-m-nav:target, .rm-m-burger span, .rm-jrn .rm-jl-toggle .rm-ico { transition: none; }
  .rm-enter .rm-m-burger, .rm-enter .rm-m-tool { animation: none; }
  /* still partner rows (rm.css wraps them) → a three-column logo grid, about a screen instead of two */
  .rm-marq-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; justify-items: center; align-items: center; padding: 0 20px; }
  .rm-marq-track img { max-width: 100%; max-height: 30px; height: auto; width: auto; }
}

/* all heading levels H1–H6 inside editable text (rich-text body of articles and legal pages) */
.rm-prose :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])), .rm-legal-text :is(h1:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h1"])) { margin-top: 64px; font-size: clamp(32px, 3vw, 44px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.rm-prose :is(h4:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h4"])), .rm-legal-text :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])), .rm-legal-text :is(h4:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h4"])) { margin-top: 30px; font-size: 18px; line-height: 1.35; font-weight: 600; }
.rm-prose :is(h5:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h5"])), .rm-legal-text :is(h5:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h5"])) { margin-top: 26px; font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: .01em; }
.rm-prose :is(h6:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h6"])), .rm-legal-text :is(h6:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h6"])) { margin-top: 24px; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rm-cyan); }
.rm-legal-text :is(h3:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h3"])) { font-size: 20px; margin-top: 34px; font-weight: 600; }
.rm-prose ol { display: grid; gap: 8px; padding-left: 22px; list-style: decimal; }
.rm-prose ol li { padding-left: 6px; } .rm-prose ol li::before { display: none; }
.rm-legal-text ul, .rm-legal-text ol { margin-top: 14px; padding-left: 22px; } .rm-legal-text ul { list-style: disc; } .rm-legal-text ol { list-style: decimal; }
.rm-legal-text li { font-size: 17px; line-height: 1.65; color: var(--rm-body-t); }

/* level-picked headings keep the design of the heading they were made as */
:where(.rm-v1) :where(:is(h4:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h4"])), :is(h5:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h5"])), :is(h6:where(:not([data-as])),:is(h1,h2,h3,h4,h5,h6):where([data-as="h6"]))) { margin: 0; }
.rm-v1 [data-as] { font-weight: 600; }

/* service-page body is now a rich text: its first paragraph is the lead */
.rm-sbody-text .rm-sbody-rt > p:first-child { margin-top: 32px; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.5; font-weight: 500; color: var(--rm-white); }
.rm-sbody-rt > :first-child { margin-top: 0; }
.rm-sbody-rt a { color: var(--rm-cyan); text-decoration: underline; text-underline-offset: 3px; }
