/* Maanrakennus Ari Helminen Oy — Sales Demo 010. Dark industrial redesign (founder art-direction change, 2026-10-15).
   One system for all pages: near-black and graphite surfaces, warm off-white type, the company red used sparingly
   (actions, index numbers, one rule per block). Archivo variable at its natural width throughout (no stretch, no transforms).
   Section rhythm: bg → bg-2 → bg … separated by hairlines, never by gradients or glows. */
@font-face{font-family:"Archivo";font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url("../assets/fonts/archivo-latin-var.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Archivo";font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url("../assets/fonts/archivo-latin-ext-var.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{
  --bg:#101214;--bg2:#16191c;--g1:#202428;--g2:#2a2f34;--raised:#363b40;
  --line:#2a2f34;--line2:#3b4147;
  --tx:#f1f0ec;--tx2:#c4c2bc;--tx3:#94918b;
  --red:#d71920;--red-h:#b8141a;--red-t:#f0545a;
  --hdr:76px;--wrap:1320px;--g:clamp(20px,3.2vw,48px);--r:3px;--ease:cubic-bezier(.2,.7,.2,1)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--hdr) + 16px);background:var(--bg)}
body{margin:0;font-family:Archivo,"Helvetica Neue",Arial,sans-serif;font-size:17.5px;line-height:1.65;color:var(--tx);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-stretch:100%}
img{display:block;max-width:100%;height:auto}a{color:inherit}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}ul,ol{padding:0;list-style:none}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--g)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;z-index:60;background:var(--tx);color:var(--bg);padding:10px 14px}.skip:focus{left:8px}
:focus-visible{outline:2px solid var(--tx);outline-offset:3px}
.num{font-variant-numeric:tabular-nums;letter-spacing:.01em}
::selection{background:var(--red);color:#fff}

/* ---------- type */
.kicker{display:flex;align-items:center;gap:14px;font-size:.76rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--tx2)}
.kicker::before{content:"";width:32px;height:2px;background:var(--red);flex:0 0 auto}
.kicker--red{color:var(--tx2)}
.h1,.h2,.h3{font-weight:750;letter-spacing:-.02em;text-wrap:balance;color:var(--tx)}
.h1{font-size:clamp(2.5rem,1.3rem + 4.2vw,5.4rem);line-height:1.0}
.h2{font-size:clamp(2rem,1.15rem + 2.5vw,3.7rem);line-height:1.04}
.h3{font-size:1.4rem;line-height:1.2;letter-spacing:-.01em}
.lede{font-size:clamp(1.1rem,1rem + .45vw,1.35rem);line-height:1.55;color:var(--tx2);max-width:40rem}
.body{color:var(--tx2);max-width:38rem}
.prose p{color:var(--tx2);max-width:40rem}.prose p+p{margin-top:1em}
.note{margin-top:28px;color:var(--tx3);font-size:.95rem}

/* ---------- buttons */
.btns{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border-radius:var(--r);font:inherit;font-weight:650;font-size:.98rem;text-decoration:none;white-space:nowrap;border:1.5px solid transparent;cursor:pointer;transition:background .18s var(--ease),border-color .18s var(--ease),color .18s var(--ease)}
.btn--lg{min-height:58px;padding:0 30px;font-size:1.04rem}
.btn--red{background:var(--red);color:#fff;border-color:var(--red)}.btn--red:hover{background:var(--red-h);border-color:var(--red-h)}
.btn--ghost,.btn--line,.btn--line-l{background:transparent;color:var(--tx);border-color:var(--line2)}
.btn--ghost:hover,.btn--line:hover,.btn--line-l:hover{border-color:var(--tx);background:rgba(241,240,236,.06)}
.btn .arr{width:18px;height:18px;transition:transform .2s var(--ease)}.btn:hover .arr{transform:translateX(3px)}
.ico{width:1.15em;height:1.15em;flex:0 0 auto}

/* ---------- header */
.hdr{position:sticky;top:0;z-index:40;background:rgba(16,18,20,.94);border-bottom:1px solid var(--line);transition:background .25s,border-color .25s}
.hdr .wrap{height:var(--hdr);display:flex;align-items:center;gap:28px;max-width:none;padding:0 max(var(--g),5vw)}
.brand{display:block;line-height:0}.brand img{height:50px;width:auto}
.nav{display:flex;align-items:center;gap:clamp(18px,2.4vw,40px);margin:0 auto;font-size:.95rem;font-weight:500}
.nav a{color:var(--tx2);text-decoration:none;padding:8px 0;position:relative;white-space:nowrap}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:1px;height:2px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .22s var(--ease)}
.nav a:hover,.nav a[aria-current="page"]{color:var(--tx)}.nav a:hover::after,.nav a[aria-current="page"]::after{transform:scaleX(1)}
.nav .nav-call{display:none}
.hdr-call{min-height:46px;padding:0 20px;gap:10px}
.menu-btn{display:none;width:46px;height:46px;border:1px solid var(--line2);background:transparent;border-radius:var(--r);cursor:pointer;position:relative}
.menu-btn i,.menu-btn i::before,.menu-btn i::after{position:absolute;left:12px;width:20px;height:2px;background:var(--tx);content:"";transition:transform .2s,opacity .2s}
.menu-btn i{top:21px}.menu-btn i::before{left:0;top:-7px}.menu-btn i::after{left:0;top:7px}
.menu-btn[aria-expanded="true"] i{background:transparent}.menu-btn[aria-expanded="true"] i::before{transform:translateY(7px) rotate(45deg)}.menu-btn[aria-expanded="true"] i::after{transform:translateY(-7px) rotate(-45deg)}
/* home: header floats over the full-screen hero until scrolled */
.home .hdr{position:fixed;left:0;right:0;background:linear-gradient(180deg,rgba(16,18,20,.7),rgba(16,18,20,0));border-bottom-color:transparent}
.home .hdr.is-scrolled{background:rgba(16,18,20,.96);border-bottom-color:var(--line)}

/* ========== HOME HERO — full screen */
.hx{--hh:max(640px,100svh);position:relative;height:var(--hh);overflow:hidden;background:var(--bg);display:flex;align-items:center}
.hx-img{position:absolute;inset:0}
.hx-img picture{display:block;height:100%}
/* the canvas is sized by height and anchored right; the truck front (97.3% of the canvas height from the right edge) is held at ≥60% of the width
   by shifting the image right — the tipper's rear runs off the edge instead of the truck being shrunk */
.hx-img img{position:absolute;top:0;right:0;height:100%;width:auto;max-width:none;transform:translateX(max(0px,calc(var(--hh) * .973 - 40vw)))}
.hx::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:
  linear-gradient(90deg,rgba(16,18,20,.9) 0%,rgba(16,18,20,.74) 30%,rgba(16,18,20,.34) 48%,rgba(16,18,20,0) 60%),
  linear-gradient(0deg,rgba(16,18,20,.85) 0%,rgba(16,18,20,0) 26%),
  linear-gradient(180deg,rgba(16,18,20,.55) 0%,rgba(16,18,20,0) 22%)}
.hx-txt{position:relative;z-index:2;padding:calc(var(--hdr) + 3vh) 0 4vh max(var(--g),5vw);width:min(58vw,1100px)}
.hx .kicker{color:var(--tx)}
.hx-h{margin-top:clamp(18px,2.4vh,30px);font-size:clamp(2.8rem,5.7vw,7.4rem);line-height:.98;letter-spacing:-.022em;color:#fff}
.hx-h span{display:block}
.hx-h1{font-weight:800}
.hx-h2{font-weight:300;letter-spacing:-.016em}
.hx-h2 i{font-style:normal;color:var(--red);font-weight:800}
.hx-p{margin-top:clamp(20px,3vh,34px);font-size:clamp(1.05rem,.9rem + .5vw,1.4rem);line-height:1.55;color:#e6e4df;max-width:31rem}
.hx-cta{display:inline-flex;align-items:center;gap:18px;margin-top:clamp(36px,6vh,72px);min-height:72px;padding:0 26px 0 24px;background:var(--red);color:#fff;text-decoration:none;border-radius:var(--r);transition:background .18s var(--ease)}
.hx-cta:hover{background:var(--red-h)}.hx-cta:focus-visible{outline:2px solid #fff;outline-offset:4px}
.hx-cta .ico{width:24px;height:24px}
.cta-t{display:flex;flex-direction:column;line-height:1.15}
.cta-s{font-size:.9rem;font-weight:500;opacity:.92}
.cta-n{font-size:1.45rem;font-weight:700}
.hx-cta .arr{width:22px;height:22px;margin-left:10px;transition:transform .2s var(--ease)}.hx-cta:hover .arr{transform:translateX(4px)}

/* ========== credibility */
.cred{background:var(--bg2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:clamp(64px,8vw,112px) 0}
.cred-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:clamp(36px,6vw,110px);align-items:start}
.cred-head{display:grid;gap:22px}
.cred-head .h2{font-size:clamp(1.9rem,1.1rem + 2.1vw,3.2rem);max-width:15ch}
.cred-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(28px,4vw,64px);margin:0}
.cred-list div{padding:26px 0 30px;border-top:1px solid var(--line2)}
.cred-list dt{font-weight:700;font-size:1.15rem;letter-spacing:-.005em;margin-bottom:8px;display:flex;align-items:center;gap:12px}
.cred-list dt::before{content:"";width:8px;height:8px;background:var(--red);flex:0 0 auto}
.cred-list dd{margin:0;color:var(--tx2)}
.cred-list div:last-child dt::before{background:transparent;border:1.5px solid var(--tx3)}
.cred-list div:last-child dd,.cred-list div:last-child dt{color:var(--tx2)}

/* ========== services — editorial full-bleed splits */
.svx{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);min-height:min(88vh,860px);background:var(--bg);border-bottom:1px solid var(--line)}
.svx:nth-of-type(odd){background:var(--bg2)}
.svx-img{position:relative;overflow:hidden;min-height:420px}
.svx-img picture,.svx-img img{width:100%;height:100%}.svx-img img{position:absolute;inset:0;object-fit:cover}
.svx-txt{padding:clamp(56px,7vw,120px) clamp(28px,5.5vw,104px);display:flex;flex-direction:column;justify-content:center;gap:22px;max-width:680px}
.svx--rev .svx-img{order:2}.svx--rev{grid-template-columns:minmax(0,1fr) minmax(0,1.38fr)}.svx--rev .svx-txt{justify-self:end}
.svx-n{display:flex;align-items:baseline;gap:16px;font-size:.78rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--tx2)}
.svx-n span{font-size:clamp(3rem,2rem + 2.4vw,4.8rem);font-weight:250;letter-spacing:-.03em;color:var(--red);line-height:.8}
.svx-list{display:flex;flex-wrap:wrap;gap:0;border-top:1px solid var(--line2);margin-top:6px}
.svx-list li{font-weight:600;font-size:1rem;padding:12px 18px 12px 0;margin-right:18px;border-right:1px solid var(--line2);line-height:1.3;margin-top:4px}
.svx-list li:last-child{border-right:0}
.svx .btns{margin-top:10px}

/* ========== fleet (authentic photos) */
.fleet{background:var(--bg);padding:clamp(80px,10vw,140px) 0}
.strip{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:14px;align-items:end}
.st img{width:100%;object-fit:cover;border-radius:var(--r)}
.st--a img,.st--b img,.st--d img{aspect-ratio:4/3}.st--c img{aspect-ratio:1/1}

/* ---------- generic sections (sub-pages) */
.sec{padding:clamp(72px,9vw,128px) 0;border-bottom:1px solid var(--line)}
.sec--light{background:var(--bg2)}.sec--dark{background:var(--bg)}
.sec-head{margin-bottom:clamp(36px,5vw,64px);display:grid;gap:20px}
.sec-head--row{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:end;gap:var(--g)}.sec-head--row .body{justify-self:end}
.two{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,6vw,110px);align-items:start}
.two-l{display:grid;gap:22px;position:sticky;top:calc(var(--hdr) + 32px)}
.two-l .btns{margin-top:6px}
.items li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px;padding:24px 0;border-top:1px solid var(--line2)}
.items li:last-child{border-bottom:1px solid var(--line2)}
.items b{font-weight:700;font-size:1.12rem;line-height:1.3}
.items span{color:var(--tx2)}

/* page hero */
.phero{position:relative;min-height:min(74svh,760px);display:flex;align-items:flex-end;background:var(--bg);overflow:hidden;border-bottom:1px solid var(--line)}
.phero-img{position:absolute;inset:0}.phero-img picture,.phero-img img{width:100%;height:100%}.phero-img img{object-fit:cover}
.phero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(16,18,20,.9) 0%,rgba(16,18,20,.6) 42%,rgba(16,18,20,.12) 78%),linear-gradient(0deg,rgba(16,18,20,.88) 0%,rgba(16,18,20,0) 46%)}
.phero-txt{position:relative;z-index:2;width:100%;padding-top:96px;padding-bottom:clamp(48px,7vw,96px);display:grid;gap:22px;grid-template-columns:minmax(0,1fr)}
.phero .h1{max-width:15ch;color:#fff}.phero .lede{color:#e3e1dc}
.phero .btns{margin-top:8px}

/* split */
.split{display:grid;grid-template-columns:minmax(0,11fr) minmax(0,9fr);background:var(--bg2);border-bottom:1px solid var(--line)}
.split-img{position:relative;min-height:540px}.split-img picture,.split-img img{width:100%;height:100%}.split-img img{object-fit:cover;position:absolute;inset:0}
.split-txt{padding:clamp(48px,6vw,104px) clamp(24px,5vw,88px);display:grid;gap:22px;align-content:center;max-width:640px}
.split--rev .split-img{order:2}.split--rev{grid-template-columns:minmax(0,9fr) minmax(0,11fr)}.split--rev .split-txt{justify-self:end}

/* VT 4 (tienhoito page) — understated */
.vt{background:var(--bg2);padding:clamp(64px,8vw,104px) 0;border-bottom:1px solid var(--line)}
.vt-g{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(28px,5vw,80px);align-items:center}
.vt-big span{display:grid;place-items:center;min-width:1.5em;background:var(--red);color:#fff;font-weight:800;font-size:clamp(3.6rem,2.4rem + 4vw,6.4rem);line-height:1;padding:.08em .22em .12em;border-radius:8px;box-shadow:inset 0 0 0 5px var(--red),inset 0 0 0 9px #fff}
.vt-txt{display:grid;gap:18px}

/* materials */
.matrow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:2px solid var(--tx)}
.matrow li{padding:28px 20px 28px 0;border-right:1px solid var(--line2)}
.matrow li+li{padding-left:24px}.matrow li:last-child{border-right:0}
.mr-n{display:block;font-weight:750;font-size:clamp(1.6rem,1rem + 1.6vw,2.6rem);letter-spacing:-.015em;line-height:1}

/* mosaic + gallery */
.mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mo{position:relative;overflow:hidden;border-radius:var(--r)}.mo img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover}
.mo--w{grid-column:span 2;grid-row:span 2}.mo--w img{aspect-ratio:auto}
.mosaic--3{grid-template-columns:repeat(3,minmax(0,1fr))}.mosaic--3 .mo img{aspect-ratio:4/3}
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 14px}
.gallery figure{position:relative}.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r)}

/* facts */
.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 var(--g);margin-top:clamp(40px,5vw,64px);border-top:1px solid var(--line2)}
.facts div{padding-top:18px}
.facts dt{font-weight:600;font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--tx3);margin-bottom:6px}
.facts dd{color:var(--tx)}
.facts--1{grid-template-columns:1fr;border-top:0;margin-top:28px}
.facts--1 div{display:grid;grid-template-columns:11rem 1fr;gap:16px;padding:14px 0;border-top:1px solid var(--line2)}
.facts--1 dt{margin:3px 0 0}
.facts--1 a{text-decoration:none;font-weight:700}.facts--1 a:hover{color:var(--red-t)}

/* closing CTA */
.close{background:var(--g1);padding:clamp(80px,10vw,136px) 0;border-top:3px solid var(--red)}
.close-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--g);align-items:end}
.close-g > div:first-child{display:grid;gap:22px}
.close-act{display:grid;gap:16px;justify-items:start}
.close-who{color:var(--tx3);font-size:.95rem}
.close-num{font-weight:750;font-size:clamp(2.6rem,1.3rem + 4vw,5rem);line-height:1;letter-spacing:-.015em;text-decoration:none;font-variant-numeric:tabular-nums;white-space:nowrap}
.close-num:hover{color:var(--red-t)}
.close-mail a{color:var(--tx2);text-decoration:none;border-bottom:1px solid var(--line2)}.close-mail a:hover{color:var(--tx);border-color:var(--tx)}

/* contact */
.contact{background:var(--bg);padding:clamp(56px,8vw,112px) 0;border-bottom:1px solid var(--line)}
.contact-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,6vw,110px);align-items:start}
.contact-l{display:grid;gap:14px}
.contact-who{color:var(--tx3);margin-top:18px}
.contact-num{font-weight:750;font-size:clamp(2.4rem,1.3rem + 3.4vw,4.4rem);line-height:1;text-decoration:none;font-variant-numeric:tabular-nums;white-space:nowrap}.contact-num:hover{color:var(--red-t)}
.contact-mail a{color:var(--tx2);text-decoration:none;border-bottom:1px solid var(--line2);word-break:break-all}.contact-mail a:hover{color:var(--tx)}
.bill{margin-top:22px}.bill .facts--1{margin-top:8px}
.ftr-h{font-weight:600;font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--tx3)}
.formcard{background:var(--g1);border:1px solid var(--line2);border-radius:var(--r);padding:clamp(24px,3.5vw,48px)}
.form{display:grid;gap:18px}.form[hidden]{display:none}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field label{display:block;font-weight:600;font-size:.92rem;margin-bottom:6px;color:var(--tx)}.field .opt{font-weight:400;color:var(--tx3)}
.field input,.field select,.field textarea{width:100%;font:inherit;font-size:1rem;padding:13px 14px;border:1.5px solid var(--line2);border-radius:var(--r);background:var(--bg);color:var(--tx)}
.field textarea{resize:vertical}.field ::placeholder{color:#7c7a76}
.field select{appearance:none;-webkit-appearance:none;padding-right:42px;background-image:linear-gradient(45deg,transparent 50%,var(--tx2) 50%),linear-gradient(135deg,var(--tx2) 50%,transparent 50%);background-position:calc(100% - 22px) 52%,calc(100% - 16px) 52%;background-size:6px 6px;background-repeat:no-repeat}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--tx);outline-offset:1px;border-color:var(--tx)}
.field .err{color:var(--red-t);font-size:.88rem;margin-top:6px;font-weight:600}.field .err:empty{display:none}
.form .btn{justify-self:start}
/* R18: real sending. Honeypot off-screen (not display:none, so bots fill it); status line; success / error boxes replace the demo box. */
.hp{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.form-act{display:grid;gap:12px}.form-priv{margin:0;font-size:.88rem;color:var(--tx3)}.form-priv a{color:var(--tx);font-weight:600}
.form-status{margin:0;font-size:.92rem;color:var(--tx2)}.form-status:empty{display:none}
.form-msg{padding:18px;border:1.5px solid var(--line2);border-radius:var(--r);background:var(--bg);display:grid;gap:10px}
.form-msg[hidden]{display:none}.form-msg p{margin:0}.form-msg a:not(.btn){font-weight:700}.form-msg--err{border-color:var(--red-t)}.form-msg .btn{justify-self:start}
#f-send[disabled]{opacity:.7;cursor:progress}

/* legal */
.narrow{max-width:820px}.legal .h1{margin:18px 0 28px;font-size:clamp(2rem,1.3rem + 2.4vw,3.2rem)}

/* footer */
.ftr{background:var(--bg);color:var(--tx3);padding:72px 0 calc(40px + env(safe-area-inset-bottom));font-size:.93rem;border-top:1px solid var(--line)}
.ftr-g{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:var(--g)}
.ftr-id{display:grid;gap:18px;align-content:start}.ftr-id img{height:56px;width:auto}
.ftr-h{margin-bottom:14px}
.ftr-l{display:grid;gap:9px}.ftr a{color:var(--tx2);text-decoration:none}.ftr a:hover{color:var(--tx)}
.ftr-tel a{font-weight:750;font-size:1.4rem;color:var(--tx)}
.ftr-meta{margin-top:56px;padding-top:22px;border-top:1px solid var(--line);font-size:.8rem;line-height:1.55;max-width:70rem}

.dock{display:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* ================= ≤1240 */
@media (max-width:1240px){
  .nav{gap:18px;font-size:.88rem}.hdr .wrap{gap:18px}
  .facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ftr-g{grid-template-columns:1fr 1fr}
}
/* ================= ≤1023: menu collapses */
@media (max-width:1023px){
  :root{--hdr:68px}
  .brand img{height:44px}
  .menu-btn{display:block}
  .hdr{background:var(--bg)}
  .home .hdr{background:var(--bg)}
  .nav{position:fixed;left:0;right:0;top:var(--hdr);bottom:0;display:none;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:12px var(--g) 32px;background:var(--bg);overflow:auto;font-size:1.35rem;font-weight:700}
  .nav[data-open="1"]{display:flex}
  .nav a{padding:18px 0;border-bottom:1px solid var(--line2);color:var(--tx)}.nav a::after{display:none}
  .nav a[aria-current="page"]{color:var(--red-t)}
  .nav .nav-call{display:flex;justify-content:center;gap:8px;margin-top:24px;border:0;background:var(--red);border-radius:var(--r);font-size:1.1rem;padding:18px}
  .hdr-call{margin-left:auto}
  body.menu-open{overflow:hidden}
  .two{grid-template-columns:1fr}.two-l{position:static}
  .cred-g{grid-template-columns:1fr}
  .svx,.svx--rev{grid-template-columns:1fr;min-height:0}.svx--rev .svx-img{order:0}.svx-img{min-height:0;aspect-ratio:16/10}.svx-txt{max-width:none;padding:48px var(--g) 64px}
  .split,.split--rev{grid-template-columns:1fr}.split--rev .split-img{order:0}.split-img{min-height:0;aspect-ratio:4/3}.split-txt{max-width:none}
  .contact-g{grid-template-columns:1fr}
  .matrow{grid-template-columns:1fr 1fr}.matrow li:nth-child(2){border-right:0}.matrow li:nth-child(3){padding-left:0}.matrow li:nth-child(n+3){border-top:1px solid var(--line2)}
  .gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}.mo--w{grid-column:span 2;grid-row:auto}.mo--w img{aspect-ratio:4/3}
  .strip{grid-template-columns:1fr 1fr}.st img{aspect-ratio:4/3!important}
}
/* ================= hero: stacked layout on narrow or portrait screens */
@media (max-width:899px),(max-aspect-ratio:1/1){
  .hx{height:auto;display:block;padding-top:var(--hdr)}
  .home .hdr{position:sticky}
  .hx{padding-top:0}
  .hx-img{position:relative;inset:auto;aspect-ratio:5/4;max-height:62svh;width:100%}
  .hx-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 50%;transform:none}
  .hx::before{inset:auto 0 0 0;top:calc(min(80vw,62svh) - 120px);background:linear-gradient(0deg,var(--bg) calc(100% - 120px),rgba(16,18,20,0) 100%)}
  .hx-txt{width:auto;padding:0 var(--g) 44px;margin-top:-44px}
  .hx-h{font-size:clamp(2.2rem,9.8vw,4.6rem);line-height:1.0}
  .hx-p{max-width:34rem}
  .hx-cta{margin-top:28px;width:min(100%,440px);min-height:66px;padding:0 20px}
  .hx-cta .arr{margin-left:auto}
}
/* ================= ≤767: phone */
@media (max-width:767px){
  body{font-size:16.5px;padding-bottom:calc(66px + env(safe-area-inset-bottom))}
  .hdr-call{display:none}
  .hdr .wrap{justify-content:space-between}
  .hx-img{aspect-ratio:5/4;max-height:none}
  .hx::before{top:calc(80vw - 120px)}
  .hx-cta{width:100%}
  .btns .btn--lg{flex:1 1 100%}
  .cred-list{grid-template-columns:1fr}
  .svx-img{aspect-ratio:4/3}
  .svx-list li{font-size:.95rem}
  .svx .btns .btn{flex:1 1 100%}
  .sec-head--row{grid-template-columns:1fr}.sec-head--row .body{justify-self:start}
  .facts{grid-template-columns:1fr}
  .facts--1 div{grid-template-columns:1fr;gap:2px}
  .items li{grid-template-columns:1fr;gap:4px;padding:18px 0}
  .phero{display:block;min-height:0}.phero-img{position:relative;aspect-ratio:4/3}
  .phero::before{inset:auto 0 0 0;top:calc(75vw - 90px);background:linear-gradient(0deg,var(--bg) calc(100% - 90px),rgba(16,18,20,0) 100%)}
  .phero-txt{padding-top:0;margin-top:-40px}
  .phero .btns .btn{flex:1 1 100%}
  .h1{font-size:clamp(2rem,8.6vw,2.8rem)}
  .vt-g{grid-template-columns:1fr;gap:24px}
  .row2{grid-template-columns:1fr}
  .form .btn{justify-self:stretch}
  .gallery{grid-template-columns:1fr 1fr}
  .mosaic--3{grid-template-columns:1fr}
  .close-g{grid-template-columns:1fr;gap:36px}
  .close-act .btns{width:100%}
  .ftr-g{grid-template-columns:1fr}
  .dock{display:grid;grid-template-columns:1.25fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:45;background:var(--bg);border-top:1px solid var(--line2);padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:8px}
  .dock a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:50px;border-radius:var(--r);font-weight:700;text-decoration:none;font-size:.98rem}
  .dock-call{background:var(--red);color:#fff}.dock-quote{border:1.5px solid var(--line2);color:var(--tx)}
}
@media (max-width:380px){
  .hx .kicker{letter-spacing:.15em;font-size:.7rem}
  .svx-n span{font-size:2.6rem}
}
.h1,.h2{overflow-wrap:break-word}
@media (min-width:768px) and (max-width:899px),(min-width:768px) and (max-aspect-ratio:1/1){.hx-img{aspect-ratio:16/10;max-height:52svh}.hx-img img{object-position:86% 62%}.hx::before{top:calc(min(62.5vw,52svh) - 120px)}}
@media (max-width:1023px){.svx,.svx--rev{grid-template-columns:minmax(0,1fr)}}

/* ===== Homepage hero — founder art-direction reference "Kokemusta ja kalustoa auringonlaskussa" (2026-10-15).
   Recreated in live HTML/CSS: Manrope (OFL, variable 200–800, natural width), large logo, spacious nav, three-line headline with
   "kokemusta." in red, large rounded call CTA + outlined quote CTA, hairline credibility strip with red line icons.
   Geometry from the 1659×948 reference: logo h 10% of hero · headline 5.55vw/0.92 · CTAs 85/948 tall · strip at 82–92%. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url("../assets/fonts/manrope-latin-var.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url("../assets/fonts/manrope-latin-ext-var.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
.home .hdr,.ha{font-family:Manrope,system-ui,sans-serif}
@media (min-width:1024px){
  .home{--hdr:clamp(96px,13.5vh,128px)}
  .home .hdr{background:linear-gradient(180deg,rgba(14,16,18,.72),rgba(14,16,18,0));border-bottom:0}
  .home .hdr .wrap{padding:0 max(var(--g),6.9vw) 0 max(var(--g),6.9vw);gap:40px}
  .home .brand img{height:clamp(64px,10vh,96px)}
  .home .nav{gap:clamp(24px,3vw,52px);font-size:clamp(15px,1.05vw,18px);font-weight:500}
  .home .nav a{color:#ece9e3}
  .home .hdr-call{border-radius:999px;min-height:clamp(48px,5.8vh,56px);padding:0 26px;font-size:clamp(15px,1.1vw,18px);font-weight:700}
  /* R18o (2026-11-05): logo ei enää pienene vierityksessä – sijainnit eivät hypi; vain tausta (.is-scrolled) muuttuu. Palkin korkeus --hdr ennallaan (heron asettelu riippuu siitä). */
}
.ha{--hh:max(700px,100svh);position:relative;height:var(--hh);overflow:hidden;background:#0e1012;color:#fff}
.ha-img{position:absolute;inset:0}.ha-img picture{display:block;height:100%}
/* canvas sized by height, anchored right; the truck front (0.869 × height from the right edge) is held at ≥ 54% of the width */
.ha-img img{position:absolute;top:0;right:0;height:100%;width:auto;max-width:none;transform:translateX(max(0px,calc(var(--hh) * .8688 - 46vw)))}
.ha::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:
  linear-gradient(90deg,rgba(14,16,18,.86) 0%,rgba(14,16,18,.66) 30%,rgba(14,16,18,.22) 48%,rgba(14,16,18,0) 58%),
  linear-gradient(0deg,rgba(14,16,18,.9) 0%,rgba(14,16,18,.35) 20%,rgba(14,16,18,0) 36%),
  linear-gradient(180deg,rgba(14,16,18,.55) 0%,rgba(14,16,18,0) 20%)}
.ha-txt{position:absolute;z-index:2;left:max(var(--g),6.9vw);top:26%;width:min(46vw,900px)}
.ha-h{font-size:clamp(3rem,5.55vw,7rem);font-weight:700;line-height:.94;letter-spacing:-.035em;color:#f4f2ee;margin:0}
.ha-h span{display:block}.ha-red{color:var(--red)}
.ha-p{margin-top:clamp(18px,3vh,30px);font-size:clamp(17px,1.5vw,25px);line-height:1.32;font-weight:500;color:#ece9e3;max-width:34rem;letter-spacing:-.005em}
.ha-btns{display:flex;flex-wrap:wrap;gap:clamp(14px,1.3vw,22px);margin-top:clamp(28px,4.4vh,44px)}
.ha-call{display:inline-flex;align-items:center;gap:clamp(16px,1.5vw,24px);min-height:clamp(70px,9vh,86px);padding:0 clamp(24px,2.2vw,36px);border-radius:22px;background:var(--red);color:#fff;text-decoration:none;box-shadow:0 18px 40px -22px rgba(215,25,32,.8);transition:background .2s}
.ha-call:hover{background:var(--red-h)}
.ha-call .ico{width:26px;height:26px}
.ha-call .cta-s{font-size:clamp(13px,1vw,16px);font-weight:600;letter-spacing:.06em;text-transform:uppercase;opacity:.92}
.ha-call .cta-n{font-size:clamp(22px,1.75vw,29px);font-weight:700;letter-spacing:-.005em}
.ha-call .arr{width:26px;height:26px;margin-left:clamp(10px,1.2vw,22px)}
.ha-quote{display:inline-flex;align-items:center;gap:18px;min-height:clamp(70px,9vh,86px);padding:0 clamp(24px,2vw,34px);border-radius:22px;background:rgba(20,22,24,.55);border:1px solid rgba(241,240,236,.22);color:#f4f2ee;text-decoration:none;font-weight:600;font-size:clamp(16px,1.25vw,20px);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:border-color .2s,background .2s}
.ha-quote:hover{border-color:#f4f2ee;background:rgba(30,33,36,.7)}
.ha-quote .arr{width:22px;height:22px}
.ha-call:focus-visible,.ha-quote:focus-visible{outline:2px solid #fff;outline-offset:4px}
.ha-strip{position:absolute;z-index:2;left:max(var(--g),6.9vw);right:max(var(--g),6.9vw);bottom:clamp(28px,6vh,72px);display:flex;align-items:center;margin:0;padding:clamp(22px,3.6vh,36px) 0 0;list-style:none;border-top:1px solid rgba(241,240,236,.22)}
.ha-strip li{display:flex;align-items:center;gap:clamp(14px,1.6vw,26px);padding-right:clamp(26px,2.8vw,46px);margin-right:clamp(26px,2.8vw,46px);border-right:1px solid rgba(241,240,236,.22)}
.ha-strip li:last-child{border-right:0}
.ha-strip svg{width:clamp(34px,3vw,48px);height:clamp(34px,3vw,48px);fill:none;stroke:var(--red);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.ha-strip span{display:flex;flex-direction:column;line-height:1.25;color:#c9c5be;font-size:clamp(15px,1.15vw,19px);font-weight:500}
.ha-strip b{color:#f4f2ee;font-weight:700;font-size:clamp(17px,1.4vw,23px)}
/* tablets / portrait / phones: stacked — truck first, then copy, CTAs and strip */
@media (max-width:1023px),(max-aspect-ratio:1/1){
  .ha{height:auto;overflow:visible}
  .ha-img{position:relative;inset:auto;aspect-ratio:5/4;max-height:64svh}
  .ha-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 50%;transform:none}
  .ha::before{inset:auto 0 0 0;top:calc(min(80vw,64svh) - 120px);background:linear-gradient(0deg,#0e1012 calc(100% - 120px),rgba(14,16,18,0) 100%)}
  .ha-txt{position:relative;left:auto;top:auto;width:auto;padding:0 var(--g);margin-top:-36px}
  .ha-h{font-size:clamp(2.6rem,11.6vw,5.4rem);line-height:.96}
  .ha-p{font-size:clamp(17px,4.6vw,22px)}
  .ha-btns{flex-direction:column;align-items:stretch}
  .ha-call,.ha-quote{min-height:70px;border-radius:18px}
  .ha-call .arr,.ha-quote .arr{margin-left:auto}
  .ha-strip{position:relative;left:auto;right:auto;bottom:auto;margin:36px var(--g) 40px;flex-direction:column;align-items:stretch;padding-top:6px}
  .ha-strip li{padding:16px 0;margin:0;border-right:0;border-bottom:1px solid rgba(241,240,236,.14)}
  .ha-strip li:last-child{border-bottom:0}
}
@media (min-width:768px) and (max-width:1023px){.ha-img{aspect-ratio:16/10}.ha::before{top:calc(min(62.5vw,64svh) - 120px)}.ha-btns{flex-direction:row}.ha-strip{flex-direction:row}.ha-strip li{border-bottom:0;border-right:1px solid rgba(241,240,236,.14);padding-right:24px;margin-right:24px}}
.brand{flex:0 0 auto}.brand img{max-width:none}
@media (min-width:1024px) and (max-width:1280px){.home .nav{gap:18px;font-size:14.5px}.home .hdr .wrap{gap:22px}.home .brand img{height:64px}.home .hdr-call{padding:0 18px}}
/* hero image v-auth (2026-10-15, founder): the AI-enhanced version of the company's own front-three-quarter photo — closest to the original truck.
   Truck front = 0.8308 × hero height from the canvas' right edge; held at ≥ 52 % of the width so the whole truck incl. tipper stays in frame at 16:10. */
.ha-img img{transform:translateX(max(0px,calc(var(--hh) * .8308 - 48vw)))}
.ha::before{background:
  linear-gradient(90deg,rgba(14,16,18,.9) 0%,rgba(14,16,18,.74) 30%,rgba(14,16,18,.3) 46%,rgba(14,16,18,0) 56%),
  linear-gradient(0deg,rgba(14,16,18,.88) 0%,rgba(14,16,18,.3) 18%,rgba(14,16,18,0) 32%),
  linear-gradient(180deg,rgba(14,16,18,.7) 0%,rgba(14,16,18,.15) 16%,rgba(14,16,18,0) 26%)}
@media (max-width:1023px),(max-aspect-ratio:1/1){.ha-img img{transform:none;object-position:50% 55%}.ha::before{background:linear-gradient(0deg,#0e1012 calc(100% - 120px),rgba(14,16,18,0) 100%)}}
@media (min-width:1024px) and (max-width:1280px) and (min-aspect-ratio:1/1){
  .ha-img img{transform:translateX(max(0px,calc(var(--hh) * .8308 - 42vw)))}
  .ha-txt{width:44vw}.ha-p{max-width:22rem}.ha-h{font-size:5vw}
}
/* hero image v-sharp (2026-10-15, founder): no blurred extension — the sharp photo sits right and fades into the hero colour.
   Truck front = 0.8485 × hero height from the canvas' right edge; held at ≥ 52 % of the width. Lighter, purely gradient overlay. */
.ha-img img{transform:translateX(max(0px,calc(var(--hh) * .8485 - 48vw)))}
.ha::before{background:
  linear-gradient(90deg,rgba(14,16,18,.78) 0%,rgba(14,16,18,.55) 30%,rgba(14,16,18,.18) 46%,rgba(14,16,18,0) 54%),
  linear-gradient(0deg,rgba(14,16,18,.82) 0%,rgba(14,16,18,.2) 18%,rgba(14,16,18,0) 30%),
  linear-gradient(180deg,rgba(14,16,18,.6) 0%,rgba(14,16,18,0) 18%)}
@media (min-width:1024px) and (max-width:1280px) and (min-aspect-ratio:1/1){.ha-img img{transform:translateX(max(0px,calc(var(--hh) * .8485 - 42vw)))}}
@media (max-width:1023px),(max-aspect-ratio:1/1){.ha-img img{transform:none;object-position:50% 50%}.ha::before{background:linear-gradient(0deg,#0e1012 calc(100% - 120px),rgba(14,16,18,0) 100%)}}
/* final hero refinement (2026-10-15): desktop canvas hero-final (softer top blend); overlay top band eased to merge with the header */
@media (min-width:1024px) and (min-aspect-ratio:1/1){
  .ha::before{background:
    linear-gradient(90deg,rgba(14,16,18,.78) 0%,rgba(14,16,18,.55) 30%,rgba(14,16,18,.18) 46%,rgba(14,16,18,0) 54%),
    linear-gradient(0deg,rgba(14,16,18,.82) 0%,rgba(14,16,18,.2) 18%,rgba(14,16,18,0) 30%),
    linear-gradient(180deg,rgba(14,16,18,.62) 0%,rgba(14,16,18,.32) 9%,rgba(14,16,18,.1) 18%,rgba(14,16,18,0) 26%)}
}
/* tablet portrait (768–1023, or any portrait ≥768): truck full-bleed and large, headline overlaps the image's darkened foot,
   CTAs side by side, strip in one row — one composition instead of a scaled-down desktop */
@media (min-width:768px) and (max-width:1023px),(min-width:768px) and (max-aspect-ratio:1/1){
  .ha-img{aspect-ratio:4/3;max-height:none;width:100%}
  .ha-img img{object-position:50% 50%;transform:none}
  .ha::before{inset:auto 0 0 0;top:calc(75vw - 260px);background:linear-gradient(0deg,#0e1012 calc(100% - 260px),rgba(14,16,18,.82) calc(100% - 150px),rgba(14,16,18,0) 100%)}
  .ha-txt{margin-top:-170px;padding:0 max(var(--g),6vw)}
  .ha-h{font-size:clamp(4rem,10.4vw,6.2rem);line-height:.95}
  .ha-p{max-width:30rem;margin-top:22px}
  .ha-btns{flex-direction:row;margin-top:30px}.ha-call .arr{margin-left:18px}.ha-quote .arr{margin-left:6px}
  .ha-strip{margin:40px max(var(--g),6vw) 48px;flex-direction:row}
}
@media (min-width:768px) and (max-width:1023px),(min-width:768px) and (max-aspect-ratio:1/1){
  .ha::before{top:calc(75vw - 120px);background:linear-gradient(0deg,#0e1012 calc(100% - 120px),rgba(14,16,18,0) 100%)}
  .ha-txt{margin-top:-28px}
}

/* ===== 2026-10-15 (founder): desktop header CTA → "Ota yhteyttä" (contact page); tel button kept below 1024 px */
.hdr-contact{display:none}
@media (min-width:1024px){
  .hdr-call{display:none}
  .hdr-contact{display:inline-flex;gap:10px;min-height:46px;padding:0 22px;border-radius:999px;font-weight:700}
  .home .hdr-contact{min-height:clamp(48px,5.8vh,56px);padding:0 28px;font-size:clamp(15px,1.1vw,18px)}
  .hdr-contact .ico{width:19px;height:19px}
  .nav a[href="yhteystiedot.html"]{display:inline}
}

/* =====================================================================================================
   Homepage R2 (2026-10-15) — refined editorial sections. Archivo only; no new imagery or decoration.
   Tonal rhythm: intro graphite → 01 base → 02 graphite → 03 base → gallery graphite → contact.
   Images are contained in the grid (no full bleeds) and sized below the text column's visual weight.
   ===================================================================================================== */
.ed-intro,.ed01,.ed02,.ed03{--pad:max(var(--g),6.9vw);position:relative}
.ed-intro .wrap,.ed01 .wrap,.ed02 .wrap,.ed03 .wrap{max-width:none;padding-left:var(--pad);padding-right:var(--pad)}
.ed-label{display:flex;align-items:center;gap:14px;margin:0;font-size:.78rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--tx2)}
.ed-label::before{content:"";width:30px;height:2px;background:var(--red);flex:0 0 auto}
.ed-k{display:flex;align-items:flex-end;gap:16px;margin:0}
.ed-num{margin:0;font-weight:200;line-height:.8;letter-spacing:-.04em;color:var(--red);font-variant-numeric:tabular-nums}
.ed-num--sm{font-size:clamp(2.4rem,1.7rem + 1.4vw,3.2rem)}
.ed-h{margin:0;font-weight:750;font-size:clamp(2.2rem,1.25rem + 2.5vw,4rem);line-height:1.02;letter-spacing:-.026em;color:var(--tx);text-wrap:balance}
.ed-lede{margin:0;font-size:clamp(1.05rem,.98rem + .3vw,1.24rem);line-height:1.55;color:var(--tx2);max-width:34rem}
.ed-act{display:flex;flex-wrap:wrap;align-items:center;gap:14px 30px}
.ed-act .btn{border-radius:18px}
.ed-act .btn--lg{min-height:60px;padding:0 30px}
.ed-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-weight:600;font-size:1rem;color:var(--tx);text-decoration:none;border-bottom:1px solid var(--line2);transition:border-color .2s,color .2s}
.ed-link .arr{width:18px;height:18px;transition:transform .2s}
.ed-link:hover{color:#fff;border-bottom-color:var(--red)}.ed-link:hover .arr{transform:translateX(3px)}
.ed01 figure,.ed02 figure,.ed03 figure{position:relative;margin:0}
.ed01 figure img,.ed02 figure img,.ed03 figure img{display:block;width:100%;object-fit:cover}
.ed-grp-h{margin:0 0 6px;font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--tx3)}

/* --- intro: how the company works (no service list — the hero already names the services) */
.ed-intro{background:var(--bg2);border-top:1px solid var(--line);padding:clamp(84px,8.4vw,128px) 0 clamp(80px,8vw,120px)}
.ed-intro-g{display:grid;gap:clamp(30px,3vw,44px)}
.ed-intro-main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(28px,5vw,96px);align-items:end}
.ed-intro-h{margin:0;font-weight:750;font-size:clamp(2.4rem,1.15rem + 3.3vw,4.8rem);line-height:1.02;letter-spacing:-.028em;color:var(--tx);text-wrap:balance}
.ed-intro-h span{display:block;font-weight:300;color:var(--tx2)}
.ed-intro-main .ed-lede{padding-bottom:.4em}
.ed-intro-notes{list-style:none;margin:clamp(10px,1.6vw,26px) 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,56px)}
.ed-intro-notes li{padding-top:20px;border-top:1px solid var(--line2);color:var(--tx2);font-size:1rem;line-height:1.55}
.ed-intro-notes b{display:block;color:var(--tx);font-weight:700;font-size:1.14rem;margin-bottom:6px}
.ed-intro-notes li::before{content:"";display:block;width:22px;height:2px;background:var(--red);margin:-21px 0 19px}

/* --- 01: text-led; contained portrait image (the photo is authentic but modest in quality — kept smaller) */
.ed01{background:var(--bg);padding:clamp(88px,9vw,136px) 0}
.ed01-g{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(40px,5.4vw,104px);align-items:center}
.ed01-txt{display:grid;gap:22px;align-content:start}
.ed01-txt .ed-h{margin-top:6px;max-width:14ch}
.ed-grps{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(24px,2.6vw,44px);margin-top:12px}
.ed-grp ul{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--line2)}
.ed-grp li{padding:12px 0;border-top:1px solid var(--line2);font-weight:600;font-size:1rem;line-height:1.35;color:var(--tx)}
.ed01 .ed-act{margin-top:14px}
.ed01-img img{aspect-ratio:4/5;max-height:640px;object-position:30% 50%}

/* --- 02: image + transport column, then aggregates as a typographic band: transport and materials weigh the same */
.ed02{background:var(--bg2);border-top:1px solid var(--line);padding:clamp(88px,9vw,136px) 0}
.ed02-g{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(40px,5.4vw,104px);align-items:stretch}
.ed02-img img{height:100%;min-height:400px;max-height:580px;object-position:50% 60%}
.ed02-txt{display:grid;gap:22px;align-content:center}
.ed02-txt .ed-h{margin-top:6px;max-width:13ch}
.ed-trans{list-style:none;margin:8px 0 0;padding:0;border-bottom:1px solid var(--line2)}
.ed-trans li{display:grid;gap:2px;padding:14px 0;border-top:1px solid var(--line2)}
.ed-trans b{font-weight:650;font-size:1.06rem;color:var(--tx)}
.ed-trans span{font-size:.95rem;line-height:1.5;color:var(--tx2)}
.ed02-mats{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"h act" "m m";gap:22px var(--g);align-items:end;margin-top:clamp(56px,5.6vw,88px)}
.ed02-mats-h{grid-area:h}.ed02-mats-h p:last-child{margin:0;color:var(--tx2);font-size:1rem;line-height:1.5;max-width:36rem}
.ed02-mats .ed-act{grid-area:act}
.ed-mats{grid-area:m;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line2);border-bottom:1px solid var(--line2)}
.ed-mats li{padding:clamp(18px,2vw,30px) 0 clamp(18px,2vw,30px) clamp(18px,2vw,32px);border-left:1px solid var(--line2);font-weight:750;font-size:clamp(1.9rem,1rem + 2.3vw,3.6rem);line-height:1;letter-spacing:-.03em;color:var(--tx)}
.ed-mats li:first-child{border-left:0;padding-left:0}

/* --- 03: text-led with framed illustration; Valtatie 4 as its own evidence row */
.ed03{background:var(--bg);border-top:1px solid var(--line);padding:clamp(88px,9vw,136px) 0}
.ed03-g{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:clamp(40px,5.4vw,104px) clamp(40px,5.4vw,104px);align-items:center}
.ed03-txt{display:grid;gap:22px}
.ed03-txt .ed-h{margin-top:6px;max-width:13ch}
.ed-caps{margin:0;font-weight:600;font-size:1rem;color:var(--tx);line-height:1.8}
.ed-caps i{font-style:normal;color:var(--red);margin:0 .55em}
.ed03 .ed-act{margin-top:10px}
.ed03-img img{aspect-ratio:4/3;object-position:46% 50%}
.ed-vt4{grid-column:1/-1;display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:12px clamp(28px,4vw,72px);align-items:center;padding-top:clamp(30px,3vw,44px);border-top:1px solid var(--line2)}
.ed-vt4 p{margin:0}
.ed-vt4-k{font-size:.78rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--tx2)}
.ed-vt4-n{font-weight:200;font-size:clamp(2.6rem,1.6rem + 2.4vw,4.4rem);line-height:.9;letter-spacing:-.03em;color:var(--tx);white-space:nowrap}
.ed-vt4-t{color:var(--tx2);font-size:1.02rem;line-height:1.55;max-width:40rem}

/* gallery after 03 takes the graphite tone so the page keeps alternating */
.home .fleet{background:var(--bg2);border-top:1px solid var(--line)}
.ed-caps span{white-space:nowrap}
/* gallery and contact share the editorial left edge on the homepage (hero, intro, 01–03 all sit at 6.9vw) */
.home .fleet .wrap,.home .close .wrap{max-width:none;padding-left:max(var(--g),6.9vw);padding-right:max(var(--g),6.9vw)}

/* --- narrower desktop / tablet landscape */
@media (min-width:901px) and (max-width:1180px){
  .ed01-g{grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:44px}
  .ed-grp li{font-size:.95rem}
  .ed01-img img{aspect-ratio:3/4}
  .ed02-g{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:center}
  .ed02-img img{height:auto;min-height:0;aspect-ratio:4/3;object-position:30% 60%}
}
/* --- tablet portrait and phones: single column, image placed right after the opening copy */
@media (max-width:900px){
  .ed-intro-main{grid-template-columns:1fr;gap:22px}
  .ed01-g,.ed02-g,.ed03-g{grid-template-columns:minmax(0,1fr);gap:22px}
  .ed01-txt{display:contents}
  .ed01-g>*,.ed01-txt>*{min-width:0}
  .ed01 .ed-k{order:1}.ed01 .ed-h{order:2}.ed01 .ed-lede{order:3}.ed01-img{order:4;margin:12px 0 10px}.ed-grps{order:5}.ed01 .ed-act{order:6}
  .ed-grps{grid-template-columns:1fr 1fr;gap:0 24px;margin-top:0}
  .ed01-img img{aspect-ratio:16/10;max-height:none}
  .ed02-txt{display:contents}.ed02-g>*,.ed02-txt>*{min-width:0}
  .ed02 .ed-k{order:1}.ed02 .ed-h{order:2}.ed02 .ed-lede{order:3}.ed02-img{order:4;margin:12px 0 10px}.ed-trans{order:5;margin-top:0}
  .ed01-txt .ed-h,.ed02-txt .ed-h,.ed03-txt .ed-h{max-width:18ch}
  .ed02-img img{height:auto;min-height:0;max-height:none;aspect-ratio:16/9}
  .ed03-img{margin-top:10px}
  .ed03-img img{aspect-ratio:16/10}
  .ed-vt4{margin-top:22px}
  .ed02-mats{grid-template-columns:1fr;grid-template-areas:"h" "m" "act"}
}
@media (max-width:767px){
  .ed-intro{padding:64px 0 60px}
  .ed-intro-h{font-size:clamp(2.05rem,8.8vw,2.7rem)}
  .ed-intro-notes{grid-template-columns:1fr;gap:26px}
  .ed01,.ed02,.ed03{padding:68px 0 72px}
  .ed-h{font-size:clamp(2rem,8.6vw,2.6rem)}
  .ed-grps{grid-template-columns:1fr;gap:18px}
  .ed01-img img{aspect-ratio:4/3}
  .ed02-img img{aspect-ratio:4/3;object-position:46% 60%}
  .ed-act{flex-direction:column;align-items:stretch;gap:14px}.ed-act .btn{width:100%}.ed-act .ed-link{align-self:flex-start}
  .ed-mats{grid-template-columns:1fr 1fr}
  .ed-mats li{font-size:clamp(1.9rem,9.4vw,2.5rem);padding:18px 0 18px 18px}
  .ed-mats li:nth-child(odd){border-left:0;padding-left:0}.ed-mats li:nth-child(n+3){border-top:1px solid var(--line2)}
  .ed02-mats{margin-top:48px;gap:20px}
  .ed-vt4{grid-template-columns:1fr;gap:10px;margin-top:26px;padding-top:26px}
  .ed-k{flex-direction:column;align-items:flex-start;gap:14px}
}

/* =====================================================================================================
   Homepage R3 (2026-10-15) — overrides on top of R2. Intro as a benefit list; 01 with three service groups
   below a text + image row; 02 materials as a 2×2 composition with tonal tiles and grain swatches (CSS only,
   no imagery). Earlier .ed-mats / R2 grouping rules are superseded here.
   ===================================================================================================== */
/* --- intro */
.ed-intro-g{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(40px,6vw,120px);align-items:end}
.ed-intro-main{display:grid;grid-template-columns:none;gap:26px;align-items:start}
.ed-intro-main .ed-lede{padding-bottom:0;max-width:30rem}
.ed-intro-h span{display:block}
.ed-ben{margin:0;border-bottom:1px solid var(--line2)}
.ed-ben>div{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:6px clamp(20px,2.4vw,40px);padding:clamp(22px,2vw,30px) 0;border-top:1px solid var(--line2)}
.ed-ben dt{font-weight:700;font-size:clamp(1.08rem,1rem + .3vw,1.26rem);line-height:1.3;color:var(--tx)}
.ed-ben dd{margin:0;color:var(--tx2);font-size:1rem;line-height:1.55}

/* --- 01: text + image, then three service groups across */
.ed01-g{grid-template-columns:minmax(0,6fr) minmax(0,5fr);grid-template-areas:"txt img" "grps grps";row-gap:clamp(56px,5.4vw,88px);align-items:center}
.ed01-txt{grid-area:txt}.ed01-img{grid-area:img}
.ed01-img img{aspect-ratio:4/3;max-height:none;object-position:42% 45%}
.ed01-txt .ed-h{max-width:15ch}
.ed01 .ed-act{margin-top:10px}
.ed-grps{grid-area:grps;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(28px,3.4vw,64px);margin-top:0}
.ed-grp{position:relative;padding-top:26px;border-top:1px solid var(--line2)}
.ed-grp::before{content:"";position:absolute;left:0;top:-1px;width:28px;height:2px;background:var(--red)}
.ed-grp-k{margin:0 0 8px;font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--tx3)}
.ed-grp-h3{margin:0 0 16px;font-weight:720;font-size:clamp(1.25rem,1.05rem + .55vw,1.6rem);line-height:1.15;letter-spacing:-.012em;color:var(--tx)}
.ed-grp ul{list-style:none;margin:0;padding:0;border:0}
.ed-grp li{padding:5px 0;border:0;font-weight:500;font-size:1rem;line-height:1.45;color:var(--tx2)}

/* --- 02 materials: compact 2×2 composition */
.ed02-mats{grid-template-columns:minmax(0,4fr) minmax(0,7fr);grid-template-areas:none;gap:clamp(36px,5vw,96px);align-items:start;margin-top:clamp(64px,6vw,104px);padding-top:clamp(48px,4.6vw,72px);border-top:1px solid var(--line2)}
.ed02-mats-h{grid-area:auto;display:grid;gap:18px;align-content:start}
.ed02-mats-h p:last-of-type{max-width:24rem}
.ed02-mats .ed-act{grid-area:auto;margin-top:8px}
.ed-h3{margin:0;font-weight:750;font-size:clamp(1.7rem,1.1rem + 1.3vw,2.5rem);line-height:1.08;letter-spacing:-.02em;color:var(--tx);text-wrap:balance}
.mats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mat{position:relative;display:grid;grid-template-rows:auto 1fr auto;gap:10px;min-height:clamp(180px,14vw,230px);padding:clamp(22px,2vw,32px);background:var(--mt);border:1px solid rgba(255,255,255,.06);border-radius:4px;overflow:hidden}
.mat-i{font-size:.72rem;font-weight:600;letter-spacing:.16em;color:var(--red-t);font-variant-numeric:tabular-nums}
.mat-n{align-self:end;font-weight:750;font-size:clamp(2.1rem,1.3rem + 1.9vw,3.3rem);line-height:.95;letter-spacing:-.03em;color:var(--tx)}
.mat-d{font-size:.95rem;line-height:1.45;color:var(--tx2);max-width:22ch}
.mat-s{position:absolute;top:clamp(20px,2vw,30px);right:clamp(20px,2vw,30px);width:clamp(52px,4.6vw,72px);aspect-ratio:1;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),inset 0 -8px 16px rgba(0,0,0,.35)}
.mat--sora{--mt:#211e19}
.mat--sora .mat-s{background:radial-gradient(#d4c19c 0.8px,transparent 1.4px) 0 0/5px 5px,radial-gradient(#6b5a3f 0.9px,transparent 1.5px) 1px 3px/7px 7px,radial-gradient(#c2ab83 0.7px,transparent 1.3px) 3px 1px/11px 11px,radial-gradient(#5c4c36 1.0px,transparent 1.6px) 2px 5px/13px 13px,radial-gradient(#e0d1b0 0.6px,transparent 1.2px) 6px 2px/17px 17px,#988362}
.mat--murske{--mt:#1c1f22}
.mat--murske .mat-s{background:radial-gradient(#b4b6b8 1.7px,transparent 2.3px) 0 0/9px 9px,radial-gradient(#34373b 2.0px,transparent 2.6px) 3px 6px/13px 13px,radial-gradient(#8e9195 1.5px,transparent 2.1px) 7px 2px/17px 17px,radial-gradient(#26292d 1.8px,transparent 2.4px) 10px 9px/19px 19px,radial-gradient(#c9cbcc 1.0px,transparent 1.6px) 5px 11px/23px 23px,#62666a}
.mat--sepeli{--mt:#191c1f}
.mat--sepeli .mat-s{background:radial-gradient(#9fa4a9 2.8px,transparent 3.4px) 0 0/11px 11px,radial-gradient(#272b2f 3.0px,transparent 3.6px) 5px 8px/15px 15px,radial-gradient(#7f848a 2.6px,transparent 3.2px) 9px 3px/19px 19px,radial-gradient(#363b40 3.2px,transparent 3.8px) 13px 12px/23px 23px,radial-gradient(#b3b8bc 1.6px,transparent 2.2px) 4px 15px/27px 27px,#4d5257}
.mat--multa{--mt:#1e1916}
.mat--multa .mat-s{background:radial-gradient(#604938 0.8px,transparent 1.4px) 0 0/4px 4px,radial-gradient(#21180f 0.9px,transparent 1.5px) 1px 3px/6px 6px,radial-gradient(#4f3b2d 0.8px,transparent 1.4px) 4px 1px/9px 9px,radial-gradient(#6e5442 0.6px,transparent 1.2px) 2px 6px/11px 11px,radial-gradient(#1a120c 1.0px,transparent 1.6px) 7px 4px/13px 13px,#392a20}

@media (min-width:901px) and (max-width:1180px){
  .ed01-g{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;row-gap:56px}
  .ed01-img img{aspect-ratio:4/3}
  .ed-intro-g{grid-template-columns:1fr;gap:36px}
  .ed02-mats{grid-template-columns:1fr;gap:32px}
  .ed02-mats-h{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:44px;align-items:end}
  .ed02-mats-h .ed-label,.ed02-mats-h .ed-h3{grid-column:1}.ed02-mats-h>p,.ed02-mats-h .ed-act{grid-column:2}
}
@media (max-width:900px){
  .ed-intro-g{grid-template-columns:1fr;gap:36px}
  .ed01-g{grid-template-columns:minmax(0,1fr);grid-template-areas:none;row-gap:22px}
  .ed01-txt,.ed01-img,.ed-grps{grid-area:auto}
  .ed01-img img{aspect-ratio:16/10}
  .ed-grps{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;margin-top:22px}
  .ed01 .ed-act{margin-top:22px}
  .ed02-mats{grid-template-columns:1fr;grid-template-areas:none;gap:30px}
}
@media (max-width:767px){
  .ed-ben>div{grid-template-columns:1fr;gap:6px}
  .ed01-img img{aspect-ratio:4/3}
  .ed-grps{grid-template-columns:1fr;gap:30px;margin-top:14px}
  .ed-grp-h3{margin-bottom:10px}
  .ed02-mats{margin-top:52px;padding-top:44px}
  .mats{gap:10px}
  .mat{min-height:168px;padding:18px;gap:8px}
  .mat-n{font-size:clamp(1.65rem,7.4vw,2.1rem)}
  .mat-d{font-size:.86rem}
  .mat-s{width:40px;top:16px;right:16px}
}
/* R3 hero indicators: equal thirds on tablet so the longer R3 copy wraps evenly */
@media (min-width:768px) and (max-width:1180px){
  .ha-strip li{flex:1 1 0;min-width:0;gap:12px;padding-right:18px;margin-right:18px}
  .ha-strip li:last-child{padding-right:0;margin-right:0}
  .ha-strip svg{width:30px;height:30px}
  .ha-strip span{font-size:14px}.ha-strip b{font-size:16px}
}

/* =====================================================================================================
   Homepage R4 (2026-10-15) — art-direction pass on top of R3.
   Tonal sequence: hero → intro graphite → 01 base → 02 graphite → materials (the one warm-light panel)
   → 03 base → gallery graphite → contact. Materials are typography-led (no material photography exists).
   ===================================================================================================== */
/* --- 01: service index — category titles large on the left, services as one readable line on the right */
.ed-grps{display:block}
.svc-rows{grid-area:grps;border-bottom:1px solid var(--line2)}
.svc-row{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:14px clamp(32px,4.4vw,88px);align-items:baseline;padding:clamp(26px,2.6vw,40px) 0;border-top:1px solid var(--line2)}
.svc-row:first-child{border-top-color:var(--tx3)}
.svc-cat h3{margin:0;font-weight:750;font-size:clamp(1.5rem,1.05rem + 1.2vw,2.3rem);line-height:1.05;letter-spacing:-.022em;color:var(--tx)}
.svc-cat p{margin:10px 0 0;font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--red-t)} /* R18r (2026-11-06): kohderyhmätekstit punaisiksi – --red-t #f0545a, kontrasti 5,47:1 taustaan #101214 (vain väri muutettu) */
.svc-items{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 0;font-size:clamp(1.05rem,.95rem + .35vw,1.28rem);line-height:1.45;font-weight:500;color:var(--tx)}
.svc-items li{white-space:nowrap}
.svc-items li+li::before{content:"/";color:var(--red);margin:0 .65em;font-weight:400}

/* --- 02: transport entries — titles carry, descriptions recede */
.ed-trans li{gap:5px;padding:clamp(18px,1.7vw,24px) 0}
.ed-trans b{font-weight:700;font-size:clamp(1.15rem,1rem + .45vw,1.42rem);line-height:1.2;letter-spacing:-.01em}
.ed-trans span{font-size:.94rem;color:var(--tx3)}
.ed02-txt .ed-act{margin-top:6px}

/* --- materials: warm-light specimen panel */
.ed-mat{--ink:#141618;--ink2:#55585b;--rule:rgba(20,22,24,.16);--pad:max(var(--g),6.9vw);background:#ebe8e2;color:var(--ink);padding:clamp(88px,9vw,136px) 0}
.ed-mat .wrap{max-width:none;padding-left:var(--pad);padding-right:var(--pad)}
.ed-mat-g{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(40px,6vw,120px);align-items:start}
.ed-mat-h{display:grid;gap:22px}
.ed-mat .ed-label{color:var(--ink2)}
.ed-mat .ed-h{color:var(--ink);font-size:clamp(2.1rem,1.2rem + 2.2vw,3.6rem);max-width:12ch}
.ed-mat-p{margin:0;color:var(--ink2);font-size:1.05rem;line-height:1.55;max-width:26rem}
.ed-mat .ed-act{margin-top:6px}
.spec{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:clamp(32px,4vw,72px);border-bottom:1px solid var(--rule)}
.spec li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:clamp(14px,1.4vw,22px);padding:clamp(24px,2.4vw,38px) 0 clamp(26px,2.6vw,40px);border-top:1px solid var(--rule)}
.spec li:nth-child(-n+2){border-top:2px solid var(--ink)}
.spec-i{grid-row:1/3;padding-top:.5em;font-size:.74rem;font-weight:600;letter-spacing:.1em;color:#c0151b;font-variant-numeric:tabular-nums}
.spec-n{font-weight:750;font-size:clamp(2.6rem,1.4rem + 3vw,4.6rem);line-height:.95;letter-spacing:-.035em;color:var(--ink)}
.spec-d{margin-top:12px;font-size:1rem;line-height:1.45;color:var(--ink2)}
.spec-note{margin:18px 0 0;font-size:.86rem;line-height:1.5;color:var(--ink2)}
.ed-mat + .ed03{border-top:0}

/* --- gallery: one dominant photograph + three supporting, captions as quiet labels */
.gal{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,2.5fr) minmax(0,2.5fr);gap:14px;margin-top:clamp(36px,3.6vw,56px)}
.gal figure{position:relative;margin:0;overflow:hidden;background:var(--g1)}
.gal img{display:block;width:100%;height:100%;object-fit:cover}
.gal-a{grid-row:1/3}
.gal-a img{position:absolute;inset:0;object-position:30% 55%}
.gal-b{grid-column:2/4}.gal-b img{aspect-ratio:4/3;object-position:40% 60%}
.gal-c img,.gal-d img{aspect-ratio:1}

@media (max-width:900px){
  .ed-mat-g{grid-template-columns:1fr;gap:40px}
  .ed-mat .ed-h{max-width:16ch}
  .gal{grid-template-columns:1fr 1fr;gap:10px}
  .gal-a{grid-row:auto;grid-column:1/-1}.gal-a img{position:static;aspect-ratio:4/3}
  .gal-b{grid-column:1/-1}
}
@media (max-width:767px){
  .svc-row{grid-template-columns:1fr;gap:14px;padding:24px 0}
  .svc-items{display:block;font-size:1.04rem}
  .svc-items li{white-space:normal;padding:3px 0}
  .svc-items li+li::before{content:none}
  .svc-items li::before{content:"";display:inline-block;width:10px;height:2px;background:var(--red);vertical-align:middle;margin:0 12px 3px 0}
  .ed-mat{padding:68px 0 72px}
  .spec{grid-template-columns:1fr}
  .spec li:nth-child(2){border-top:1px solid var(--rule)}
  .spec li{grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;padding:20px 0}
  .spec-i{grid-row:auto;padding-top:0}
  .spec-n{font-size:2.3rem}
  .spec-d{margin:0;font-size:.9rem;text-align:right;max-width:14ch}
}
/* R4 fixes after screenshot review: services as a calm two-column list (no line-start separators);
   02 image sized by its own ratio and centred against the taller text column */
.svc-items{display:block;columns:2;column-gap:clamp(28px,3vw,56px)}
.svc-items li{white-space:normal;break-inside:avoid;padding:4px 0 4px 22px;position:relative}
.svc-items li+li::before{content:none}
.svc-items li::before{content:"";position:absolute;left:0;top:.95em;width:10px;height:2px;background:var(--red)}
.ed02-g{align-items:center}
.ed02-img img{height:auto;min-height:0;max-height:none;aspect-ratio:6/5}
.ed-mat .ed-h{max-width:14ch}
@media (min-width:901px) and (max-width:1180px){.ed02-img img{aspect-ratio:4/3}}
@media (max-width:900px){.ed02-img img{aspect-ratio:16/9}}
@media (max-width:767px){
  .svc-items{columns:1}
  .svc-items li::before{display:block;margin:0}
  .ed02-img img{aspect-ratio:4/3}
}
.svc-items{columns:auto;column-count:1}
.svc-items li+li::before{content:""}
.svc-items li{padding:5px 0 5px 24px}
.svc-items li::before,.svc-items li+li::before{margin:0;font-weight:400}
/* 03 service labels: dash markers (same language as 01) so wrapped lines never start with a separator */
.ed-caps{display:flex;flex-wrap:wrap;gap:4px 24px;line-height:1.6}
.ed-caps i{display:none}
.ed-caps span{display:inline-flex;align-items:center;gap:10px}
.ed-caps span::before{content:"";width:10px;height:2px;background:var(--red);flex:0 0 auto}
/* gallery, tablet portrait: the supporting photos sit in one row so the 516-px truck photo is never enlarged */
@media (min-width:768px) and (max-width:900px){
  .gal{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gal-a{grid-column:1/-1}
  .gal-b{grid-column:auto}.gal-b img{aspect-ratio:1;object-position:35% 60%}
}

/* =====================================================================================================
   Homepage R5 Materials (2026-10-18) — materials section only, on top of R4. Four AI-generated material
   illustrations (founder-supplied) in a 2×2 grid; names large, uses subordinate; one section-level disclosure.
   ===================================================================================================== */
.mx{--pad:max(var(--g),6.9vw);background:#0b0c0d;border-top:1px solid var(--line);padding:clamp(88px,9vw,136px) 0}
.mx .wrap{max-width:none;padding-left:var(--pad);padding-right:var(--pad)}
.mx-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:28px clamp(40px,5vw,96px);align-items:end}
.mx-title{display:grid;gap:22px}
.mx .ed-h{max-width:none}
.mx-side{display:grid;gap:26px;justify-items:start;padding-bottom:6px}
.mx-p{margin:0;color:var(--tx2);font-size:clamp(1.05rem,.98rem + .3vw,1.2rem);line-height:1.55;max-width:26rem}
.mx-grid{list-style:none;margin:clamp(44px,4.4vw,68px) 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(40px,4vw,64px) clamp(20px,2vw,32px)}
.mx-img{position:relative;margin:0;overflow:hidden;background:var(--g1)}
.mx-img img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:50% 100%}
.mx-t{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:6px 24px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line2)}
.mx-n{margin:0;font-weight:750;font-size:clamp(1.9rem,1.1rem + 1.7vw,3rem);line-height:1;letter-spacing:-.03em;color:var(--tx)}
.mx-d{margin:0;font-size:.98rem;line-height:1.45;color:var(--tx3);text-align:right}
.mx + .ed03{border-top:1px solid var(--line)}
@media (max-width:900px){
  .mx-head{grid-template-columns:1fr;gap:24px}
  .mx-grid{gap:36px 16px}
  .mx-t{grid-template-columns:1fr;gap:6px}
  .mx-d{text-align:left}
}
@media (max-width:767px){
  .mx{padding:68px 0 72px}
  .mx-side{gap:22px}
  .mx-grid{grid-template-columns:1fr;row-gap:36px;margin-top:36px}
  .mx-img img{aspect-ratio:3/2;object-position:50% 70%}
  .mx-t{grid-template-columns:minmax(0,1fr) auto;margin-top:14px;padding-top:12px}
  .mx-n{font-size:2.2rem}
  .mx-d{text-align:right;font-size:.92rem}
}

/* =====================================================================================================
   Homepage R6 mobile polish (2026-10-18) — homepage only (.home); no layout, copy or image changes.
   ===================================================================================================== */
/* 02: the "Kuljetukset ja maa-ainekset" link follows the transport list in the single-column order */
@media (max-width:900px){.ed02 .ed02-txt .ed-act{order:6;margin-top:6px}}
/* contact e-mail: 44 px tap target from padding, the visible underline kept as before */
.home .close-mail a{display:inline-block;padding:12px 0;margin:-12px 0;border-bottom:0;text-decoration:underline;text-decoration-color:var(--line2);text-decoration-thickness:1px;text-underline-offset:5px}
.home .close-mail a:hover{text-decoration-color:var(--tx)}
/* R7 (2026-10-18): footer touch targets on every page (was homepage-only in R6) — phones, tablets up to 1024 px,
   and any coarse-pointer device; same type, taller clickable rows (pitch 44 px instead of 34 px) */
@media (max-width:1024px),(pointer:coarse){
  .ftr .ftr-l{gap:0}
  .ftr .ftr-l a{display:block;padding:10px 0}
  .ftr .ftr-h{margin-bottom:4px}
  .ftr .ftr-tel a,.ftr .ftr-g p a[href^="mailto:"]{display:inline-block;padding:10px 0}
}
@media (max-width:767px){
  .home .close-num{display:inline-block;padding:2px 0}
  /* gallery captions: a little larger and in sentence case on phones, still a quiet label */
}

/* =====================================================================================================
   R8 (2026-10-18) — Maanrakennus page brought to the homepage design system. Scoped to body.pg only.
   Shared conventions taken from the homepage: 6.9vw editorial edge for header, content, contact and footer;
   Manrope header type; section CTAs 60 px / 18 px radius; .ed-h heading scale; .gal editorial gallery.
   ===================================================================================================== */
.pg .wrap{max-width:none;padding-left:max(var(--g),6.9vw);padding-right:max(var(--g),6.9vw)}
.pg .hdr{font-family:Manrope,system-ui,sans-serif}
.pg .hdr .wrap{padding:0 max(var(--g),6.9vw)}
@media (min-width:1024px){
  .pg .hdr .wrap{gap:40px}
  .pg .nav{gap:clamp(24px,3vw,52px);font-size:clamp(15px,1.05vw,18px);font-weight:500}
  .pg .nav a{color:#ece9e3}
}
@media (min-width:1024px) and (max-width:1280px){.pg .nav{gap:18px;font-size:14.5px}.pg .hdr .wrap{gap:22px}}
/* hero: homepage heading weight and spacing; two-line headline on desktop */
.pg .phero-txt{gap:24px}
.pg .phero .h1{max-width:none;font-size:clamp(2.4rem,1.2rem + 3.6vw,4.8rem);line-height:1.0;letter-spacing:-.028em;text-wrap:balance}
.pg .phero .lede{max-width:36rem}
/* buttons in content: the homepage section-CTA language (60 px, 18 px radius) */
.pg main .btn{border-radius:18px}
.pg main .btn--red,.pg main .btn--ghost{min-height:60px;padding:0 30px;font-size:1.04rem}
/* sections: homepage rhythm and heading scale */
.pg .sec{padding:clamp(88px,9vw,136px) 0}
.pg .sec .h2{font-size:clamp(2.2rem,1.25rem + 2.5vw,4rem);line-height:1.02;letter-spacing:-.026em}
.pg .two{grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(40px,5.4vw,104px)}
/* service index: name carries, description recedes; group labels shared with the homepage */
.pg .items li{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;padding:clamp(20px,1.8vw,26px) 0;align-items:baseline}
.pg .items li:first-child{border-top:2px solid var(--tx3)}
.pg .items b{font-weight:650;font-size:clamp(1.1rem,.98rem + .4vw,1.32rem);line-height:1.3;letter-spacing:-.005em}
.pg .items span{color:var(--tx3);font-size:.98rem;line-height:1.5}
.pg .grp-k{margin:0 0 14px;font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--red-t)}
.pg .items + .grp-k{margin-top:clamp(40px,4vw,56px)}
/* gallery: homepage editorial composition (lead + one wide + two squares), captions as quiet labels */
.pg .gal{margin-top:0}
/* contact section: same tap targets as the homepage */
.pg .close-mail a{display:inline-block;padding:12px 0;margin:-12px 0;border-bottom:0;text-decoration:underline;text-decoration-color:var(--line2);text-decoration-thickness:1px;text-underline-offset:5px}
.pg .close-mail a:hover{text-decoration-color:var(--tx)}
@media (max-width:900px){.pg .two{grid-template-columns:1fr;gap:36px}}
@media (max-width:767px){
  .pg .sec{padding:68px 0 72px}
  .pg .sec .h2{font-size:clamp(2rem,8.6vw,2.6rem)}
  .pg .items li{grid-template-columns:1fr;gap:4px;padding:18px 0}
  .pg .close-num{display:inline-block;padding:2px 0}
}
/* contact section on tablets: the long page-specific heading collided with the phone number — stack it */
@media (min-width:768px) and (max-width:1023px){.pg .close-g{grid-template-columns:1fr;gap:40px}}

/* =====================================================================================================
   R9 (2026-10-18) — Maanrakennus page rhythm, scoped to body.pg. The second service section mirrors the first
   (list left, heading right) so the two long lists don't repeat the same composition; mobile order unchanged.
   ===================================================================================================== */
@media (min-width:901px){
  .pg .two--rev{grid-template-columns:minmax(0,7fr) minmax(0,4fr)}
  .pg .two--rev .two-l{order:2}
  .pg .two--rev .two-r{order:1}
}
.pg .items + .grp-k{margin-top:clamp(48px,4.6vw,68px)}
.pg .two-l .body{max-width:30rem}
/* R9 hero (desktop): the 4:3 authentic photo was centred behind the headline, so the excavator sat under the text.
   Anchor the photo right on a dark field and keep the headline to its left; mobile crop unchanged. */
@media (min-width:1024px){
  .pg .phero--side{background:#0e1012}
  .pg .phero--side .phero-img{left:auto;width:min(72%,calc(100% - 420px))}
  .pg .phero--side::before{background:linear-gradient(90deg,#0e1012 0%,#0e1012 28%,rgba(14,16,18,.55) 46%,rgba(14,16,18,.05) 72%),linear-gradient(0deg,rgba(14,16,18,.8) 0%,rgba(14,16,18,0) 40%)}
}
/* service headings: the left column is 4/12 wide; a slightly smaller heading keeps "piharakentaminen." on one line */
@media (min-width:901px){.pg .sec .h2{font-size:clamp(2.1rem,1.1rem + 2.1vw,3.5rem)}}
@media (min-width:1024px){.pg .phero--side .h1{max-width:17ch}}
@media (min-width:901px) and (max-width:1180px){
  .pg .two{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:44px}
  .pg .two--rev{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
}

/* =====================================================================================================
   R10 (2026-10-18) — full internal-site refinement. Every internal page carries body.pg (shared system from R8/R9);
   page modifiers: .pg-maa .pg-kul .pg-tie .pg-yri .pg-yht .pg-leg. Homepage untouched.
   ===================================================================================================== */
/* hero with the photo anchored right (Maanrakennus, Tienhoito): no hyphenated break in the long last word on desktop */
@media (min-width:1024px){
  .pg .phero--side .h1{max-width:none;font-size:clamp(2.3rem,1rem + 3vw,4.3rem)}
  .pg .h1-nb{white-space:nowrap}
}
/* Kuljetukset gallery: three authentic 516–600 px photos in one row (never enlarged into a lead); phones 1 + 2 */
.gal3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1640px}
.gal3 figure{position:relative;margin:0;overflow:hidden;background:var(--g1)}
.gal3 img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
@media (max-width:767px){
  .gal3{grid-template-columns:1fr 1fr;gap:10px}
  .gal3 figure:first-child{grid-column:1/-1}
}
/* R17 02.11: four-photo variant (Ari's SISU added) – one row of four from 1200 px, 2 × 2 at 768–1199, phones 1 + 2 + 1 */
@media (min-width:1200px){.gal3--4{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:768px) and (max-width:1199px){.gal3--4{grid-template-columns:1fr 1fr}}
@media (max-width:767px){.gal3--4 figure:last-child{grid-column:1/-1}}
/* materials on the Kuljetukset page: same photo grid as the homepage, on the section's graphite */
.pg .mx-grid{margin-top:0}
/* contact sections on every internal page: 44 px links, tablet stacking (was Maanrakennus-only) */
@media (max-width:767px){.pg .close-num{display:inline-block;padding:2px 0}}
@media (min-width:768px) and (max-width:1023px){.pg .close-g{grid-template-columns:1fr;gap:40px}}
/* Yhteystiedot: larger tap areas; on phones and tablets the form follows the phone number and e-mail */
.pg-yht .contact-num{display:inline-block;padding:4px 0}
.pg-yht .contact-mail a{display:inline-block;padding:12px 0;margin:-12px 0;border-bottom:0;text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:5px}
.pg-yht .facts--1 a{display:inline-block;padding:12px 0;margin:-12px 0}
@media (max-width:900px){
  .pg-yht .contact-l{display:contents}
  .pg-yht .contact-g{gap:14px}
  .pg-yht .contact-l > .kicker{order:1}.pg-yht .contact-l > .h1{order:2}.pg-yht .contact-who{order:3}.pg-yht .contact-num{order:4;justify-self:start}.pg-yht .contact-mail{order:5}
  .pg-yht .contact-r{order:6;margin:22px 0 10px}
  .pg-yht .contact-l > .facts{order:7}.pg-yht .bill{order:8}
}
/* legal page: same edge as the rest; narrow measure kept */
.pg-leg .narrow{max-width:none}.pg-leg .prose{max-width:46rem}
@media (min-width:1024px){
  .pg .h1-nb{display:block}
  .pg-tie .phero--side .h1{max-width:11ch}
}
/* side hero: fade the photo's own left edge (no seam where the photo starts at narrower desktops) */
@media (min-width:1024px){
  .pg .phero--side::before{background:linear-gradient(0deg,rgba(14,16,18,.82) 0%,rgba(14,16,18,0) 42%)}
  .pg .phero--side .phero-img::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#0e1012 0%,rgba(14,16,18,.72) 20%,rgba(14,16,18,.18) 52%,rgba(14,16,18,0) 70%)}
}
@media (min-width:1024px){.pg-kul .phero--side .h1{max-width:13ch}.pg-yri .phero--side .h1{max-width:14ch}.pg .phero--side .lede{max-width:30rem}}
/* Valtatie 4 sign keeps its own width when the block stacks on phones */
.pg .vt-big{justify-self:start}
/* fact lists stay one label/value row each at tablet widths (the generic 2-column .facts rule squeezed them) */
@media (max-width:1023px){.pg .facts--1{grid-template-columns:1fr}}
/* R17 03.11: the ≤1240 two-column .facts rule also squeezed the Yritys/Yhteystiedot lists at 1024–1240 (labels and values
   overlapped); there they are one column with each label above its value */
@media (min-width:1024px) and (max-width:1240px){.pg .facts--1{grid-template-columns:1fr}.pg .facts--1 div{grid-template-columns:1fr;gap:2px}.pg .facts--1 dt{margin:0}}
/* Yritys gallery: 8 photos as 4 + 4 on tablets too (3 columns left a 2-photo last row) */
@media (min-width:600px) and (max-width:1023px){.pg-yri .gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 10px}}

/* =====================================================================================================
   R11 (2026-10-18) — final polish on Kuljetukset, Tienhoito, Yritys, Yhteystiedot. Homepage and Maanrakennus untouched
   (all rules scoped to .pg-kul / .pg-yht).
   ===================================================================================================== */
/* Kuljetukset hero: the photo starts where the text column ends, so heading and lede sit on solid dark;
   the cab is framed at the photo's left edge with only a short fade */
@media (min-width:1024px){
  .pg-kul .phero--side .phero-img{width:calc(100% - clamp(560px,46vw,900px))}
  .pg-kul .phero--side .phero-img::after{background:linear-gradient(90deg,#0e1012 0%,rgba(14,16,18,.55) 7%,rgba(14,16,18,0) 22%)}
}
/* Kuljetukset materials: name over description, one hierarchy at every width */
.pg-kul .mx-t{grid-template-columns:1fr;gap:6px;margin-top:16px;padding-top:14px}
.pg-kul .mx-n{font-size:clamp(1.6rem,1.1rem + 1.1vw,2.4rem)}
.pg-kul .mx-d{text-align:left;color:var(--tx2);font-size:1rem;line-height:1.5}
@media (max-width:767px){.pg-kul .mx-n{font-size:1.9rem}.pg-kul .mx-d{font-size:.98rem}}
/* Yhteystiedot form panel: graphite surface of the design system (was the bluer --g1) */
.pg-yht .formcard{background:var(--bg2);border-color:var(--line)}
.pg-yht .field input,.pg-yht .field select,.pg-yht .field textarea{background-color:var(--bg);border-color:var(--line2)}
.pg-yht .field ::placeholder{color:#8f8c86}

/* =====================================================================================================
   R13 (2026-10-18) — final corrections after the V3 audits (verified items only). Approved composition, imagery and
   structure unchanged.
   ===================================================================================================== */
/* 1. one button language: the homepage contact band uses the subpages' radius and height */
.home .close .btn{border-radius:18px;min-height:60px}
/* 2. the homepage footer and phone hero share the editorial edge used everywhere else */
.home .ftr .wrap{max-width:none;padding-left:max(var(--g),6.9vw);padding-right:max(var(--g),6.9vw)}
@media (max-width:767px){
  .ha-txt{padding:0 max(var(--g),6.9vw)}
  .ha-strip{margin-left:max(var(--g),6.9vw);margin-right:max(var(--g),6.9vw)}
}
/* 3. footer divider runs the full content width (the copyright line is short since R12.1) */
.ftr-meta{max-width:none}
/* 4. split-section text aligns to the page gutter (Kuljetukset "Toimitus") */
.pg .split-txt{padding-left:max(var(--g),6.9vw);padding-right:max(var(--g),6.9vw)}
.pg .split--rev .split-txt{justify-self:start}
/* 5. side heroes: text column centred so the kicker sits at a comparable height on every internal page */
@media (min-width:1024px){.pg .phero--side{align-items:center}.pg .phero--side .phero-txt{padding-top:clamp(48px,7vw,96px)}}
/* 6. phone contact bar: rounded like the buttons above it; hidden until the hero CTAs have scrolled away (FP-22) */
@media (max-width:767px){
  .dock{transform:translateY(110%);visibility:hidden;transition:transform .3s var(--ease),visibility 0s .3s}
  .dock.is-on{transform:none;visibility:visible;transition:transform .3s var(--ease)}
  .dock a{border-radius:12px}
}

/* ---------- R14 (2026-10-29): Kuljetukset — Maa-ainesalueet (client-confirmed locations: Joutsa, Luhanka, Leivonmäki).
   Typographic place names in the homepage materials-specimen language (.ed-mats): hairline columns, no icons, no map. */
.mal-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line2);border-bottom:1px solid var(--line2)}
.mal-list li{padding:clamp(22px,2.4vw,36px) 0 clamp(22px,2.4vw,36px) clamp(18px,2vw,32px);border-left:1px solid var(--line2);font-weight:750;font-size:clamp(1.9rem,1rem + 2.3vw,3.6rem);line-height:1;letter-spacing:-.03em;color:var(--tx)}
.mal-list li:first-child{padding-left:0;border-left:0}
.mal-act{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;margin-top:clamp(28px,3vw,40px)}
.mal-act p{color:var(--tx2);max-width:38rem}
@media (max-width:767px){
  .mal-list{grid-template-columns:1fr;border-bottom:0}
  .mal-list li{padding:18px 0;border-left:0;border-bottom:1px solid var(--line2)}
  .mal-act{flex-direction:column;align-items:stretch}
  .mal-act .btn{width:100%}
}
@media (max-width:767px){.pg .sec.mal .h2{font-size:min(2.4rem,8.2vw)}} /* one-word headline must fit the phone gutter at 320–767 px */
/* R14 (2026-10-30): under 360 px the unbreakable e-mail address in the closing block (320 px at 16.5 px) widened the page; scale it to the viewport there */
@media (max-width:359px){.close-mail{font-size:4.2vw}.close-mail a{max-width:100%;overflow-wrap:anywhere}}
.legal p{overflow-wrap:break-word} /* R14: the e-mail address in the controller line must wrap on narrow phones */
/* R15: curated 8-image Yritys gallery stays 4 columns down to 768 (no 3+3+2 orphan row on tablets) */
@media (min-width:768px){.gallery--8{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* R15: 404 page */
.nf{padding:calc(var(--hh,84px) + clamp(56px,8vw,120px)) 0 clamp(72px,9vw,130px);background:var(--bg,#0e1012)}
.nf-g{max-width:52rem}
.nf .lede{margin:18px 0 28px;max-width:38rem}
.nf-l ul{display:flex;flex-wrap:wrap;gap:10px 28px;margin:44px 0 0;padding:26px 0 0;list-style:none;border-top:1px solid var(--line2)}
.nf-l a{display:inline-block;padding:10px 0;color:var(--tx);font-weight:600;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--line2)}
/* R16: in-text service links */
.tx-link{color:inherit;text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:1px;text-underline-offset:3px}
.tx-link:hover{text-decoration-thickness:2px}
.two-l .btns{margin-top:24px}
/* R16: keyboard focus never lands under the fixed phone contact bar (WCAG 2.4.11) */
@media (max-width:767px){html{scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom))}}
/* R16: in-text links get a 44 px touch area on phones without moving the text */
@media (max-width:768px){.tx-link{display:inline-block;padding:14px 0;margin:-14px 0}}
/* R16 (2026-11-01, founder): materials grid in two columns on phones, Etusivu + Kuljetukset (was variants/mx-2col-mobile.css). */
@media (max-width:767px){
  .mx-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:26px}
  .mx-img img{aspect-ratio:1/1;object-position:50% 70%}
  .mx-t,.pg-kul .mx-t{grid-template-columns:1fr;gap:4px;margin-top:10px;padding-top:10px}
  .mx-n,.pg-kul .mx-n{font-size:1.5rem}
  .mx-d,.pg-kul .mx-d{text-align:left;font-size:.88rem;line-height:1.4}
}
/* R16 (2026-11-01): keep the phone number on one line in the hero call button on the narrowest phones. */
@media (max-width:359px){.ha-call .cta-n{white-space:nowrap;font-size:20px}}

/* R16 (2026-11-01, founder): image disclosure chips and the materials note removed for the local review build (Mode P:
   footer line only, Freeze Record §6l). Their styles were removed with them; R15 css keeps them if Mode L labels return. */

/* R16 (2026-11-01, founder): image captions removed with their styles; the materials usage line is content, not an image note. */
.mx-use{margin:clamp(28px,3vw,44px) 0 0;max-width:40rem;font-size:1rem;line-height:1.55;color:var(--tx2)}
/* R16 final review (2026-11-01): on desktop the four materials sit in one row (illustrations kept, ~60 % less height),
   so the authentic photos and the next services come sooner. Tablets and phones keep two columns. */
@media (min-width:1024px){
  .mx-grid,.pg .mx-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px clamp(16px,1.6vw,28px)}
  .mx-img img{aspect-ratio:4/3;object-position:50% 85%}
  .mx-t,.pg-kul .mx-t{grid-template-columns:1fr;gap:6px;margin-top:14px;padding-top:12px}
  .mx-n,.pg-kul .mx-n{font-size:clamp(1.6rem,.9rem + 1.1vw,2.3rem)}
  .mx-d,.pg-kul .mx-d{text-align:left}
}
/* R17 (2026-11-01): homepage earthworks groups as short descriptions (same type size as the former item lists). */
.svc-desc{margin:0;max-width:44rem;font-size:clamp(1.05rem,.95rem + .35vw,1.28rem);line-height:1.5;font-weight:500;color:var(--tx2)}
@media (max-width:767px){.svc-desc{font-size:1.04rem}}
/* R17: required-field marking on the quote form (the required attributes themselves are unchanged). */
.form-req{margin:0 0 20px;font-size:.92rem;color:var(--tx2)}
.field .req{color:var(--red-t);font-weight:700}
/* R17: tighter phone footer; service and company links side by side where the link texts fit, one column below 375 px, where "Tienhoito ja kunnossapito" would wrap. */
@media (max-width:767px){
  .ftr{padding-top:48px}
  .ftr-g{grid-template-columns:auto auto;justify-content:start;gap:28px clamp(28px,9vw,64px)}
  .ftr-id,.ftr-g>div:last-child{grid-column:1/-1}
  .ftr-meta{margin-top:28px}
}
@media (max-width:374px){.ftr-g{grid-template-columns:minmax(0,1fr)}}
/* R17 (2026-11-01, founder): the Etusivu earthworks CTA may wrap to two balanced lines on narrow phones instead of running
   into its side padding (it was white-space:nowrap); same font size, padding kept, height grows as needed. */
#maanrakennus .ed-act .btn--red{white-space:normal;text-wrap:balance;text-align:center;line-height:1.3;padding:12px 30px}
@media (max-width:359px){#maanrakennus .ed-act .btn--red{padding:12px 24px}}
/* R17 (2026-11-01, founder): one quiet note under both materials grids (illustrations + ask for availability and price);
   replaces the usage sentence. Small but readable, muted, no box or accent, directly under the grid. */
.mx-use{margin:16px 0 0;max-width:46rem;font-size:.84rem;line-height:1.5;color:var(--tx3)}
/* R17 (2026-11-01, founder): Maanrakennus hero on the narrowest phones (< 375 px, i.e. 320–360 px devices). "Maanrakennusta" was wider than the
   heading box and broke as "Maanrakennus / ta": a moderately smaller heading keeps the word whole (a soft hyphen
   Maan-rakennusta remains as a fallback for even narrower screens). */
@media (max-width:374px){.pg-maa .phero .h1{font-size:2rem}}
/* Same page and width: a lower hero image (16:9 instead of 4:3, gradient start follows it) and slightly tighter vertical
   gaps, so the call button fits a 320 x 640 first view. Body text and button sizes unchanged. */
@media (max-width:374px){
  .pg-maa .phero-img{aspect-ratio:16/9}
  .pg-maa .phero-img img{object-position:50% 25%}
  .pg-maa .phero::before{top:calc(56.25vw - 90px)}
  .pg-maa .phero-txt{gap:18px}
  .pg-maa .phero .btns{margin-top:4px}
}

/* R18 (2026-11-04, founder): round "AI" mark in the lower-right corner of AI-made images (materials grids, Tienhoito plough hero).
   Not a control: no pointer events, no focus. Above the hero's gradient overlay (z-index 1) so it stays visible on phones. */
.ai-mark{position:absolute;right:8px;bottom:8px;z-index:2;width:24px;height:24px;border-radius:50%;background:rgba(11,12,13,.62);color:#F1F0EC;font-family:"Archivo",system-ui,sans-serif;font-size:10.5px;font-weight:600;line-height:24px;letter-spacing:.04em;text-align:center;pointer-events:none;user-select:none;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);box-shadow:0 0 0 1px rgba(241,240,236,.12)}
/* R18 (2026-11-04, final check): the required-fields line no longer overlaps the "Tarjouspyyntö" heading box (was margin-top -8px:
   the heading's descenders sat ~2 px from the line's ascenders at every width). Measured gap after: see the R18 final-check folder (julkaisuviimeistely 2026-11-04). */
/* R18d-6 (2026-11-05, founder brief): author credit on the copyright row. Secondary by design: same small grey text as the
   copyright line, no logo, box or accent colour. Copyright left, credit right on one row; the credit wraps under the copyright
   when the row is too narrow (phones). The link keeps the footer grey, gets a quiet underline so it reads as a link, a 44 px tap
   height via padding (negative margin keeps the row height unchanged) and the site-wide :focus-visible ring. */
.ftr-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 32px}
.ftr-by a{color:var(--tx3);text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:.2em;display:inline-block;padding:12px 0;margin:-12px 0}
.ftr-by a:hover{color:var(--tx2);text-decoration-color:var(--tx3)}
/* R18e (2026-11-05, founder brief): compact service picker right after the hero. Scoped to .pv-*; nothing here touches the hero.
   Same editorial edge as the sections below (6.9vw), small uppercase label instead of a marketing heading, three low cards on the
   dark background; each card is one link (no nested links): title, one-line description, "Tutustu …" row with the site arrow.
   Below 1024 px the cards stack; description and link stay visible (no carousel, nothing collapsible). Focus = site-wide ring. */
.pv{background:var(--bg);border-top:1px solid var(--line);padding:clamp(44px,4.6vw,68px) 0 clamp(48px,5vw,72px)}
.pv .wrap{max-width:none;padding-left:max(var(--g),6.9vw);padding-right:max(var(--g),6.9vw)}
/* R18e-3 (2026-11-05, founder): centred H2 in the site heading style at a moderate size (the section stays low); width capped so
   the sentence wraps in balanced lines on desktop (two lines) and phones (three to four lines). */
.pv-h{margin:0 auto clamp(26px,3vw,40px);max-width:28ch;text-align:center;font-weight:750;font-size:clamp(1.5rem,1.1rem + 1.45vw,2.35rem);line-height:1.12;letter-spacing:-.022em;color:var(--tx);text-wrap:balance}
.pv-g{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.4vw,20px)}
/* R18f (2026-11-05, founder): card polish — line icon tile (same stroke style as the hero strip icons), clearer hierarchy and
   spacing, subtle gradient surface with a quiet border and a 2 px red top edge; hover/focus change colour only (no movement);
   the "Tutustu" row sits on the card bottom with margin-top:auto, so the three links share one height on desktop. */
.pv-h em{font-style:normal;color:var(--red)} /* R18p (2026-11-05): otsikko "Mitä tarvitset kohteeseesi?" – rivittyy leveyden mukaan (max-width 28ch) */
.pv-c{display:flex;flex-direction:column;height:100%;box-sizing:border-box;padding:clamp(22px,2.1vw,30px) clamp(22px,2.2vw,32px) clamp(20px,1.9vw,26px);background:linear-gradient(180deg,#1b1e22 0%,#15181b 100%);border:1px solid #2b3036;border-top:2px solid var(--red);border-radius:var(--r);color:var(--tx);text-decoration:none;transition:background .2s var(--ease),border-color .2s var(--ease)}
.pv-c:hover{background:linear-gradient(180deg,#22262b 0%,#1a1d21 100%);border-color:var(--line2);border-top-color:var(--red)}
.pv-c:focus-visible{outline:2px solid var(--tx);outline-offset:3px}
.pv-i{display:grid;place-items:center;width:52px;height:52px;margin-bottom:18px;border-radius:10px;background:rgba(241,240,236,.05);border:1px solid rgba(241,240,236,.08);transition:background .2s var(--ease)}
.pv-i svg{width:32px;height:32px;fill:none;stroke:var(--red);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pv-c:hover .pv-i{background:rgba(241,240,236,.08)}
.pv-t{margin-bottom:8px;font-weight:750;font-size:clamp(1.16rem,1.05rem + .3vw,1.34rem);line-height:1.25;letter-spacing:-.012em;color:var(--tx)}
.pv-d{margin-bottom:22px;font-size:1rem;line-height:1.5;color:var(--tx2)}
.pv-l{display:inline-flex;align-items:center;gap:10px;margin-top:auto;padding-top:16px;border-top:1px solid rgba(241,240,236,.1);font-weight:600;font-size:.96rem;color:var(--tx)}
.pv-l .arr{width:18px;height:18px;flex:0 0 auto;transition:transform .2s}
.pv-c:hover .pv-l{color:#fff}.pv-c:hover .pv-l .arr{transform:translateX(3px)}
@media (max-width:1023px){.pv-g{grid-template-columns:minmax(0,1fr);gap:12px}
  .pv-c{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:16px;align-items:start;padding:18px 20px 16px}
  .pv-i{grid-row:1/4;width:44px;height:44px;margin:0}.pv-i svg{width:28px;height:28px}
  .pv-t{margin-bottom:4px}.pv-d{margin-bottom:12px}.pv-l{margin-top:0;padding-top:10px}}
@media (max-width:767px){.pv{padding:40px 0 44px}.pv-t{font-size:1.14rem}.pv-d{font-size:.96rem}.pv-l{font-size:.94rem}}
@media (max-width:359px){.pv-c{grid-template-columns:40px minmax(0,1fr);column-gap:12px;padding:16px 16px 14px}.pv-i{width:40px;height:40px;grid-row:1/3}.pv-i svg{width:26px;height:26px}.pv-l{grid-column:1/-1}}
/* R18f (2026-11-05, founder): floating WhatsApp link, every page. Plain link (no widget, nothing loaded before the click, no
   prefilled message). Desktop: pill with icon + text, bottom right; the footer gets matching extra bottom padding so the
   copyright row and author credit stay clear of the pill at page end. Phones: icon-only 52 px circle above the contact bar
   (accessible name stays via the visually hidden text), hidden while the menu is open or a form field has focus (keyboard).
   No motion: colour-only hover, site focus ring. */
.wa{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:44;display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 18px 0 14px;box-sizing:border-box;background:var(--bg2);color:var(--tx);border:1px solid var(--line2);border-radius:999px;text-decoration:none;font-weight:600;font-size:.95rem;line-height:1;box-shadow:0 6px 24px rgba(0,0,0,.35);transition:background .2s var(--ease),border-color .2s var(--ease)}
.wa-i{width:22px;height:22px;flex:0 0 auto;color:#25d366}
.wa:hover{background:var(--g1);border-color:var(--raised);color:#fff}
.wa:focus-visible{outline:2px solid var(--tx);outline-offset:3px}
body.menu-open .wa,body.wa-off .wa,body.wa-form .wa{visibility:hidden}
@media (min-width:768px){.ftr{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}
@media (max-width:767px){
  .wa{right:12px;bottom:calc(78px + env(safe-area-inset-bottom));width:52px;height:52px;min-height:0;padding:0;justify-content:center;border-radius:50%}
  .wa-i{width:26px;height:26px}
  .wa-t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ftr{padding-bottom:calc(104px + env(safe-area-inset-bottom))} /* keeps the copyright row clear of the circle at page end (the contact bar space is already in body padding) */}
@media print{.wa{display:none}}
/* R18f-2/-3 (2026-11-05, founder): on the homepage the WhatsApp link is hidden in the first screen and shown once the top of the
   service picker enters the viewport from below; it hides again when that edge drops below the viewport (main.js, IntersectionObserver on .pv → body.wa-show).
   visibility:hidden keeps it out of the tab order. Menu-open and form-focus hiding stay in force (the :not() guards). */
/* R18k (2026-11-05): sama portitus palvelusivuilla (body.wa-gate): linkki näkyy vasta, kun sivuheron painikelohko on vierinyt ylös, eikä siis peitä
   Soita-/Pyydä tarjous -painikkeita 390 px:ssä. body.wa-form (yhteystiedot): piilossa, kun lomake on näkyvissä – ei peitä kenttien oikeaa reunaa. */
.home .wa,.wa-gate .wa{visibility:hidden;opacity:0;transition:opacity .2s var(--ease),visibility 0s .2s}
.home.wa-show:not(.menu-open):not(.wa-off):not(.wa-form) .wa,.wa-gate.wa-show:not(.menu-open):not(.wa-off):not(.wa-form) .wa{visibility:visible;opacity:1;transition:opacity .2s var(--ease)}

/* R18l (2026-11-05): tietosuojaselosteen väliotsikot ja luettelot – ilmavuus ja luettavuus; ei vaikuta muihin sivuihin (.legal vain tietosuoja.html). */
.legal h2{margin:36px 0 10px;font-size:clamp(1.25rem,1.05rem + .7vw,1.6rem);line-height:1.25}
.legal ul{margin:0 0 20px;padding-left:1.25em}
.legal li{margin:0 0 10px}
.legal li strong{color:var(--tx)}
