html, body { background: #f4f4f0; }

/* =========================================================
   Watti / SSPT – v3.1
   Yksi palsta kaikelle (max 1600 px): yläpalkki, herokehys, osiot,
   loppukaista ja alatunniste alkavat samasta reunasta.
   Kiinteä vaalea yläpalkki, pienet pyöristykset (6/10/12 px),
   ei yläotsikoita. Fontti Ubuntu (Watin oma), vihreä logosta.
   ========================================================= */
:root {
  --bg: #f4f4f0;
  --white: #ffffff;
  --ink: #161816;
  --ink-2: #2b2e2b;
  --muted: #5d615c;
  --muted-2: #8a8e88;
  --line: rgba(22, 24, 22, .12);
  --dark: #121412;
  --green: #A6D134;
  --green-hover: #b8dd4f;
  --green-text: #4b7a0b;
  --green-soft: #eaf3d2;
  --on-dark: #f3f4ef;
  --on-dark-2: rgba(243, 244, 239, .72);
  --on-dark-3: rgba(243, 244, 239, .5);

  --font: "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-2: cubic-bezier(.25, .1, .25, 1);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 12px;
  --wrap: 1600px;
  --pad: clamp(16px, 3vw, 48px);
  --col: min(100% - 2 * var(--pad), var(--wrap));
  --head: 84px;
  --gap: clamp(16px, 1.8vw, 28px);
  --sec: clamp(72px, 9vw, 140px);
  --frame: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--head) + 24px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(166, 209, 52, .5); }
:focus-visible { outline: 3px solid var(--green-text); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(44px, 6vw, 104px); line-height: 1; letter-spacing: -.035em; }
h2 { font-size: clamp(34px, 4.2vw, 68px); line-height: 1.04; letter-spacing: -.03em; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.tone { color: var(--muted-2); }
.lede { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--muted); max-width: 44ch; }
.muted { color: var(--muted); }
.wrap { width: var(--col); margin: 0 auto; }

/* ---------- Napit: suorakulmainen, pieni pyöristys ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px;
  border: 0; border-radius: var(--r-sm); cursor: pointer; text-decoration: none; font-weight: 500; font-size: 16px; line-height: 1.2; white-space: nowrap;
  transition: background-color .25s var(--ease-2), color .25s var(--ease-2), box-shadow .25s var(--ease-2);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--green); color: var(--ink); }
.btn--primary:hover { background: var(--green-hover); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(127, 127, 127, .14); }
.btn--glass { color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--glass:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2f332f; }
.btn--white { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--green); padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.on-dark .link-arrow { color: var(--on-dark); }

/* ---------- Yläpalkki: kiinteä, vaalea, samassa palstassa ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: var(--bg); }
.navbar { display: flex; align-items: center; gap: 12px; height: var(--head); }
.brand { flex: none; display: block; }
.brand img { width: 124px; height: auto; }
.nav { display: flex; align-items: center; flex: 1; }
.nav > ul { display: flex; list-style: none; margin: 0 auto; padding: 0; gap: 4px; }
.nav a, .nav .nav-sub-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 0; background: none; border-radius: var(--r-sm); color: var(--ink-2); font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: color .2s, background-color .2s; }
.nav a:hover, .nav .nav-sub-btn:hover { background: rgba(22,24,22,.06); color: var(--ink); }
.nav a[aria-current="page"], .nav .nav-sub-btn[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.nav-sub { position: relative; }
.nav-sub-btn svg { width: 12px; height: 12px; transition: transform .25s; }
.nav-sub[data-open] .nav-sub-btn svg { transform: rotate(180deg); }
.nav-sub-panel { position: absolute; top: calc(100% + 18px); left: 50%; translate: -50% 0; width: 640px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .25s; }
.nav-sub[data-open] .nav-sub-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav .nav-sub-panel a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; height: auto; padding: 8px; border-radius: var(--r-sm); color: var(--ink); box-shadow: none; }
.nav .nav-sub-panel a:hover { background: var(--bg); }
.nav .nav-sub-panel img { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; }
.nav .nav-sub-panel strong { display: block; font-weight: 500; font-size: 16px; }
.nav .nav-sub-panel span span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; font-weight: 400; }
.nav .nav-sub-panel a.all { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 14px 12px; background: var(--bg); }
.nav .nav-sub-panel a.all svg { width: 18px; }
.nav .head-call { display: block; height: auto; padding: 0 8px; background: none; color: var(--ink); line-height: 1.2; text-align: right; white-space: nowrap; font-size: 17px; }
.nav .head-call small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.nav .head-call:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }
.nav .btn { height: 48px; min-height: 48px; margin-left: 10px; padding: 0 20px; color: var(--ink); background: var(--green); box-shadow: none; border-radius: var(--r-sm); }
.nav .btn:hover { background: var(--green-hover); color: var(--ink); }
.menu-btn { display: none; }
@media (max-width: 1240px) { .nav .head-call { display: none; } }
@media (max-width: 1040px) {
  :root { --head: 68px; }
  .brand img { width: 104px; }
  .nav > ul, .nav .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; height: 46px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 500; cursor: pointer; }
  .menu-btn .bars { position: relative; width: 20px; height: 14px; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-btn .bars::before { top: 2px; } .menu-btn .bars::after { top: 10px; }
  .menu-open .menu-btn .bars::before { top: 6px; transform: rotate(45deg); }
  .menu-open .menu-btn .bars::after { top: 6px; transform: rotate(-45deg); }
}
.mobile-menu { position: fixed; inset: var(--head) 0 0; z-index: 55; display: flex; align-items: flex-start; background: rgba(10,12,10,.4); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.mobile-menu .sheet { width: 100%; max-height: calc(100dvh - var(--head)); overflow-y: auto; background: var(--bg); padding: 8px var(--pad) max(24px, env(safe-area-inset-bottom)); transform: translateY(-12px); transition: transform .4s var(--ease); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-open .mobile-menu .sheet { transform: none; }
body.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav > ul > li > a { display: block; padding: 12px 0; font-size: 22px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; }
.mobile-menu .sub { padding-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.mobile-menu .sub a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.mobile-menu .btn { width: 100%; margin-top: 20px; justify-content: space-between; }
.mobile-menu .m-contact { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.mobile-menu .m-contact a { color: var(--ink); font-weight: 500; }

/* ---------- Hero: kuva palstan levyisenä, teksti alakulmassa ---------- */
.hero { width: var(--col); margin: 0 auto; }
.hero-frame { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(560px, calc(100svh - var(--head) - var(--frame)), 1000px); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; background: var(--dark); }
.hero--short .hero-frame { min-height: clamp(420px, 62svh, 660px); }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(12,14,12,.88) 0%, rgba(12,14,12,.5) 34%, rgba(12,14,12,0) 64%),
    linear-gradient(90deg, rgba(12,14,12,.5) 0%, rgba(12,14,12,0) 55%); }
.hero-inner { width: 100%; padding: 96px clamp(22px, 3.4vw, 56px) clamp(26px, 3.2vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.hero-box { max-width: 1120px; text-shadow: 0 2px 22px rgba(0,0,0,.28); }
.hero h1 { color: #fff; }
.hero h1 .ln { display: block; }
.hero .lede { color: rgba(255,255,255,.86); margin-top: 22px; max-width: 48ch; }
.hero .actions { margin-top: 32px; text-shadow: none; }
.hero .crumbs { color: rgba(255,255,255,.72); margin-bottom: 18px; }
.hero .meta { margin-top: 16px; color: rgba(255,255,255,.78); display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.hero-aside { align-self: end; }
.callcard { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; width: 300px; padding: 12px 20px 12px 12px; border-radius: var(--r); text-decoration: none; color: var(--ink); background: #fff; transition: background-color .25s; }
.callcard:hover { background: var(--green-soft); }
.callcard img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; object-position: 50% 22%; }
.callcard small { display: block; font-size: 13px; color: var(--muted); }
.callcard strong { display: block; font-weight: 500; line-height: 1.3; }
.callcard b { display: block; font-weight: 500; font-size: 20px; color: var(--green-text); letter-spacing: -.01em; line-height: 1.3; }
.statbar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 4vh, 48px); }
.statbar div { padding-right: 16px; }
.statbar b { display: block; font-size: clamp(28px, 2.6vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.statbar span { display: block; margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.72); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 88px; }
  .hero-aside { justify-self: start; }
  .statbar { grid-template-columns: 1fr 1fr; gap: 18px 0; }
}
@media (max-width: 560px) {
  .hero-frame { min-height: calc(100svh - var(--head) - var(--frame)); }
  .hero--short .hero-frame { min-height: 64svh; }
  .hero-frame::after { background: linear-gradient(0deg, rgba(12,14,12,.94) 0%, rgba(12,14,12,.7) 45%, rgba(12,14,12,.1) 78%); }
  .hero .actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .callcard { width: 100%; }
}

.hero--article h1 { font-size: clamp(34px, 4.4vw, 72px); line-height: 1.06; max-width: 22ch; }

/* ---------- Osiot ---------- */
.sec { padding: var(--sec) 0; }
.sec + .sec { padding-top: 0; }
.sec--tight { padding: clamp(56px, 6vw, 96px) 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 64px); }
.sec-head > div:first-child { max-width: 900px; }
.sec-head h2 { max-width: 20ch; }
.sec-head .lede { margin: 18px 0 0; max-width: 56ch; }
.sec-head .side { padding-bottom: 6px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.two--top { align-items: start; }
.two--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 900px) { .two, .two--7-5 { grid-template-columns: 1fr; } }
.photo { width: 100%; border-radius: var(--r); object-fit: cover; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-54 { aspect-ratio: 5 / 4; }
.prose { max-width: 66ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(28px, 2.8vw, 40px); margin: 1.4em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--green-text); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.panel { background: var(--white); border-radius: var(--r); padding: clamp(22px, 2.6vw, 40px); }
.panel--dark { background: var(--dark); color: var(--on-dark); }
.panel--dark h2, .panel--dark h3 { color: var(--on-dark); }

/* ---------- Etusivun esittely: teksti + luvut vasemmalla, iso kuva oikealla ---------- */
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.intro-text { grid-column: 1 / span 6; padding-right: clamp(0px, 4vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.intro-text h2 { max-width: 15ch; }
.intro-text .lede { margin: 24px 0 26px; max-width: 46ch; }
.intro-fig { grid-column: 7 / -1; margin: 0; display: flex; flex-direction: column; }
.intro-fig img { flex: 1 1 0; width: 100%; min-height: 460px; object-fit: cover; object-position: 50% 55%; border-radius: var(--r-lg); }
.intro-fig figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gap); }
.facts b { display: block; font-size: clamp(40px, 3.8vw, 64px); font-weight: 500; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-text, .intro-fig { grid-column: 1 / -1; }
  .intro-text { display: contents; }
  .intro-text > .rv:first-child { order: 1; }
  .intro-fig { order: 2; margin-top: 12px; }
  .intro-fig img { flex: none; min-height: 0; aspect-ratio: 4 / 3.4; }
  .facts { order: 3; margin-top: 28px; }
}

/* ---------- Tuotteet: neljä rinnakkain, kuva + tiedot ---------- */
.prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) var(--gap); }
.prods--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .prods, .prods--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .prods, .prods--3 { grid-template-columns: 1fr; } }
.mcard { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.mcard__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: #d9dad4; }
.prods--3 .mcard__media { aspect-ratio: 4 / 3; }
@media (max-width: 600px) { .mcard__media { aspect-ratio: 4 / 3; } }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mcard:hover .mcard__media img { transform: scale(1.04); }
.mcard__body { padding-top: 16px; }
.mcard h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: clamp(21px, 1.6vw, 25px); }
.mcard h3 svg { width: 20px; height: 20px; flex: none; color: var(--green-text); transition: transform .3s var(--ease); }
.mcard:hover h3 svg { transform: translateX(4px); }
.mcard:hover h3 { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mcard p { margin: 6px 0 0; color: var(--muted); font-size: 15px; max-width: 40ch; }
.mcard dl { margin: 12px 0 0; display: grid; gap: 2px; font-size: 14px; }
.mcard dl div { display: flex; justify-content: space-between; gap: 12px; }
.mcard dt { color: var(--muted); }
.mcard dd { margin: 0; font-weight: 500; text-align: right; }

/* ---------- Tilauspaneeli (tumma) ---------- */
.order-panel { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 72px); background: var(--dark); color: var(--on-dark); overflow: hidden; position: relative; isolation: isolate; }
.order-panel h2 { color: var(--on-dark); max-width: 16ch; }
.order-panel .top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 80px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-size: clamp(56px, 6vw, 96px); font-weight: 300; line-height: .9; letter-spacing: -.05em; color: var(--green); margin-bottom: 18px; }
.steps h3 { color: var(--on-dark); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--on-dark-2); max-width: 34ch; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Piipun osat: kuva + kohdepisteet ---------- */
.parts-map { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.parts-fig { position: relative; margin: 0; background: #fff; border-radius: var(--r-lg); padding: clamp(12px, 2vw, 28px); }
.parts-fig .pin-area { position: relative; }
.parts-fig img { width: 100%; height: auto; }
.pin { position: absolute; width: 34px; height: 34px; translate: -50% -50%; border: 0; border-radius: 50%; padding: 0; cursor: pointer; background: var(--ink); color: #fff; font-weight: 500; font-size: 14px; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 6px 14px rgba(0,0,0,.25); transition: transform .3s var(--ease), background-color .25s, color .25s; }
.pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.pin.is-on { background: var(--green); color: var(--ink); transform: scale(1.18); }
.pin.is-on::after { opacity: 1; transform: none; }
.legend { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 4px; }
.legend button { width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; text-align: left; padding: 14px 16px; border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; transition: background-color .25s; }
.legend button:hover, .legend button.is-on { background: #fff; }
.legend .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transition: background-color .25s, color .25s; }
.legend button.is-on .n { background: var(--green); color: var(--ink); }
.legend strong { display: block; font-weight: 500; font-size: 17.5px; }
.legend span.d { display: block; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .parts-map { grid-template-columns: 1fr; } .parts-fig { max-width: 560px; } .pin { width: 30px; height: 30px; font-size: 13px; } }

/* ---------- Henkilöt ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.tperson { margin: 0; }
.tperson img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 26%; border-radius: var(--r); }
.tperson figcaption { padding-top: 16px; display: grid; gap: 2px; }
.tperson strong { font-weight: 500; font-size: 21px; letter-spacing: -.01em; }
.tperson span { color: var(--muted); font-size: 15px; }
.tperson a { justify-self: start; margin-top: 6px; color: var(--ink); font-weight: 500; font-size: 18px; text-decoration: none; border-bottom: 2px solid var(--green); }
.tperson a:hover { color: var(--green-text); }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } .tperson img { aspect-ratio: 4 / 3.4; } }
.quote { display: grid; grid-template-columns: 112px 1fr; gap: 28px; align-items: center; margin-top: clamp(48px, 6vw, 96px); max-width: 1100px; }
.quote img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 72% 40%; }
.quote blockquote { margin: 0; }
.quote p { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.3; letter-spacing: -.02em; font-weight: 400; margin: 0 0 12px; }
.quote cite { font-style: normal; color: var(--muted); font-size: 15px; }
.quote cite b { color: var(--ink); font-weight: 500; }
@media (max-width: 560px) { .quote { grid-template-columns: 64px 1fr; gap: 16px; } .quote img { width: 64px; height: 64px; } }

/* ---------- Henkilökortit (yhteystiedot) ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.person img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 50% 25%; border-radius: var(--r); }
.person > div { padding-top: 16px; }
.person h3 { font-size: 22px; }
.person .role { color: var(--muted); font-size: 15px; margin: 2px 0 10px; }
.person a { display: block; color: var(--ink); font-weight: 500; text-decoration: none; line-height: 1.7; word-break: break-word; }
.person a:hover { color: var(--green-text); text-decoration: underline; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }

/* ---------- Artikkelit ---------- */
.alist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alist a { display: block; height: 100%; padding: 4px 0; text-decoration: none; }
.alist a:hover strong { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.alist time { font-size: 14px; color: var(--muted-2); }
.alist strong { display: block; font-size: clamp(19px, 1.5vw, 22px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; margin: 6px 0 6px; }
.alist .ex { display: block; color: var(--muted); font-size: 15px; }
.alist--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px var(--gap); }
@media (max-width: 900px) { .alist--grid { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.filters button { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-sm); background: #fff; cursor: pointer; font-weight: 500; font-size: 15px; transition: background-color .2s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filters button span { opacity: .55; margin-left: 6px; }
.search { max-width: 520px; }
.count { color: var(--muted); font-size: 15px; margin-bottom: 12px; }

/* ---------- Artikkelisivu ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.article-wrap .prose { font-size: 18.5px; }
.article-aside { position: sticky; top: 120px; display: grid; gap: 24px; }
.aside-box { background: var(--dark); color: var(--on-dark); border-radius: var(--r); padding: 28px; }
.aside-box h2 { font-size: 26px; color: var(--on-dark); margin-bottom: 8px; }
.aside-box p { color: var(--on-dark-2); font-size: 16px; }
.aside-box .btn { width: 100%; justify-content: space-between; }
.aside-links { background: #fff; border-radius: var(--r); padding: 18px 22px; }
.aside-links h3 { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.aside-links ul { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: block; padding: 8px 0; text-decoration: none; font-weight: 500; line-height: 1.4; }
.aside-links a:hover { color: var(--green-text); }
@media (max-width: 960px) { .article-wrap { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* ---------- Tiedot ja taulukot ---------- */
.spec-box { background: #fff; border-radius: var(--r); padding: clamp(22px, 2.4vw, 34px); }
.spec-box h2 { font-size: 24px; margin-bottom: 10px; }
.spec-box dl { margin: 0 0 22px; }
.spec-box dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.spec-box dt { color: var(--muted); }
.spec-box dd { margin: 0; font-weight: 500; text-align: right; }
.spec-box .btn { width: 100%; justify-content: space-between; }
.tables { display: grid; gap: 16px; }
.table-scroll { overflow-x: auto; background: #fff; border-radius: var(--r); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec-table caption { text-align: left; font-weight: 500; font-size: 19px; padding: 20px 24px 6px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 24px; }
.spec-table thead th { border-bottom: 1px solid var(--line); }
.compare tbody tr:nth-child(even) { background: var(--bg); }
.spec-table thead th { font-size: 14px; color: var(--muted); font-weight: 400; }
.spec-table tbody th { font-weight: 500; }
.notes { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.notes li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--muted); }
.notes li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: .62em; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.checklist li::before { content: ""; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23161816' stroke-width='3'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checklist strong { display: block; font-weight: 500; }
.checklist span { color: var(--muted); }

/* ---------- Tekninen piirros ---------- */
.drawing { margin: 0; background: #fff; border-radius: var(--r); padding: 24px; }
.drawing svg { width: 100%; height: auto; max-height: 380px; overflow: visible; }
.drawing figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.dw-line { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.dw-fill { fill: #e3e5dd; stroke: var(--ink); stroke-width: 1.5; }
.dw-flue { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.dw-dim { stroke: var(--muted); stroke-width: 1; fill: none; }
.dw-txt { font-family: var(--font); font-size: 16px; font-weight: 500; fill: var(--ink); }
.dw-acc { stroke: var(--green-text); stroke-width: 3; fill: none; }

/* ---------- Rakenne ja galleria ---------- */
.builds { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.builds figure { margin: 0; background: #fff; border-radius: var(--r); padding: 20px; }
.builds img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.builds figcaption { margin-top: 10px; }
.builds figcaption strong { display: block; font-weight: 500; }
.builds figcaption span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .builds { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.gallery button { grid-column: span 4; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: #d9dad4; }
.gallery button:nth-child(6n+1), .gallery button:nth-child(6n+5) { grid-column: span 7; aspect-ratio: auto; height: clamp(260px, 30vw, 460px); }
.gallery button:nth-child(6n+2), .gallery button:nth-child(6n+6) { grid-column: span 5; aspect-ratio: auto; height: clamp(260px, 30vw, 460px); }
.gallery button:nth-child(6n+3), .gallery button:nth-child(6n+4) { grid-column: span 6; aspect-ratio: auto; height: clamp(220px, 24vw, 380px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } .gallery button { grid-column: span 1 !important; height: auto !important; aspect-ratio: 1 !important; } .gallery button:nth-child(3n+1) { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10 !important; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; }
.lightbox::backdrop { background: rgba(12, 14, 12, .92); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); border-radius: 12px; }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; width: 50px; height: 50px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox svg { width: 20px; height: 20px; }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: rgba(255,255,255,.8); font-size: 15px; }

/* ---------- Tarvikkeet ---------- */
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.items img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; background: #e6e7e1; border-radius: var(--r); }
.items div { padding-top: 16px; }
.items h3 { font-size: 20px; margin-bottom: 4px; }
.items p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .items { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .items { grid-template-columns: 1fr; } }

/* ---------- Videot ja dokumentit ---------- */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.videos--1 { grid-template-columns: 1fr; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; } }
.vid { margin: 0; }
.vid-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--dark); cursor: pointer; }
.vid-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vid-btn:hover img { transform: scale(1.04); }
.vid-btn .play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px; border-radius: var(--r-sm); background: #fff; color: var(--ink); font-weight: 500; font-size: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.vid-btn .play svg { width: 34px; height: 34px; padding: 10px 9px 10px 11px; border-radius: 4px; background: var(--green); }
.vid iframe { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--r); }
.vid figcaption { margin-top: 14px; font-weight: 500; font-size: 17px; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.docs a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px 14px 14px; background: #fff; border-radius: var(--r-sm); text-decoration: none; transition: box-shadow .25s; }
.docs a:hover { box-shadow: 0 8px 22px rgba(0,0,0,.07); }
.docs .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--green-soft); color: var(--green-text); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.docs strong { display: block; font-weight: 500; }
.docs .d { font-size: 14px; color: var(--muted); }
.docs .size { font-size: 14px; color: var(--muted-2); white-space: nowrap; }
.doc-groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
.doc-groups h3 { margin-bottom: 14px; }
@media (max-width: 860px) { .doc-groups { grid-template-columns: 1fr; } }

/* ---------- Jälleenmyyjät ---------- */
.dealers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px var(--gap); }
.dealers a { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: #fff; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; height: 100%; transition: box-shadow .25s; }
.dealers a:hover { box-shadow: 0 8px 22px rgba(0,0,0,.07); }
.dealers span { color: var(--muted); font-weight: 400; font-size: 14px; }
@media (max-width: 960px) { .dealers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dealers { grid-template-columns: 1fr; } }

/* ---------- Vertailu ---------- */
.compare th:first-child { width: 24%; }

/* ---------- Loppu-CTA kuvan päällä (palstan levyinen) ---------- */
.cta-photo { width: var(--col); margin: 0 auto clamp(40px, 5vw, 80px); }
.cta-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; min-height: min(64svh, 600px); display: flex; align-items: flex-end; }
.cta-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,14,12,.9) 0%, rgba(12,14,12,.45) 50%, rgba(12,14,12,.15) 100%); }
.cta-inner { width: 100%; padding: 120px clamp(22px, 3.4vw, 56px) clamp(28px, 3.6vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta-inner h2 { color: #fff; font-size: clamp(42px, 6vw, 104px); line-height: 1; letter-spacing: -.035em; max-width: 12ch; }
.cta-inner p { color: rgba(255,255,255,.82); max-width: 40ch; margin: 16px 0 0; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Alatunniste ---------- */
.foot { background: var(--dark); color: var(--on-dark-2); padding: clamp(48px, 6vw, 88px) 0 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px var(--gap); padding-bottom: 48px; }
.foot h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--on-dark-2); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-brand img { width: 150px; margin-bottom: 16px; }
.foot .people-mini li { line-height: 1.45; }
.foot .people-mini strong { color: #fff; font-weight: 500; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--green); color: var(--ink); }
.socials svg { width: 19px; height: 19px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 8px 0 max(28px, env(safe-area-inset-bottom)); font-size: 14px; color: var(--on-dark-3); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Lomakkeet ---------- */
.field { display: grid; }
.field > label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; font-size: 15px; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 14px; }
.input, select.input, textarea.input { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(22,24,22,.18); border-radius: var(--r-sm); background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 130px; resize: vertical; }
.input:focus { outline: none; border-color: var(--green-text); box-shadow: 0 0 0 4px rgba(166, 209, 52, .4); }
.input[aria-invalid="true"] { border-color: #b3261e; }
.err { color: #b3261e; font-size: 14px; margin: 4px 0 0; }
.err:empty { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px var(--gap); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-box { background: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 40px); }
.notice { padding: 16px 20px; background: var(--green-soft); border-radius: var(--r-sm); font-size: 15px; }
.notice strong { display: block; margin-bottom: 2px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice legend { font-weight: 500; font-size: 15px; margin-bottom: 8px; padding: 0; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 8px 20px; border-radius: var(--r-sm); background: var(--bg); font-weight: 500; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(22,24,22,.1); transition: background-color .2s, box-shadow .2s, color .2s; }
.choice span small { font-weight: 400; font-size: 13px; color: var(--muted); }
.choice input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.choice input:checked + span small { color: rgba(255,255,255,.72); }
.choice input:focus-visible + span { outline: 3px solid var(--green-text); outline-offset: 2px; }
.choice--big span { min-height: 66px; border-radius: var(--r-sm); padding: 10px 20px; }

/* ---------- Laskuri ---------- */
.calc-tabs { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border-radius: var(--r-sm); margin-bottom: 28px; }
.calc-tabs button { border: 0; background: none; padding: 12px 22px; border-radius: var(--r-sm); font-weight: 500; font-size: 16px; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.calc-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (max-width: 560px) { .calc-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .calc-tabs button { padding: 10px 8px; font-size: 15px; } }
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.calc-form { display: grid; gap: 14px; }
.calc-step { background: #fff; border-radius: var(--r); padding: clamp(20px, 2.6vw, 34px); display: grid; gap: 18px; }
.calc-step > h2 { font-size: clamp(22px, 1.8vw, 26px); letter-spacing: -.02em; }
.calc-step .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-step .row .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .calc-step .row { grid-template-columns: 1fr; } }
.calc-step .note { font-size: 14px; color: var(--muted); margin: -6px 0 0; }
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 14px 18px; border-radius: var(--r-sm); cursor: pointer; background: var(--bg); transition: background-color .2s, box-shadow .2s; }
.opt:has(input:checked) { background: var(--green-soft); box-shadow: inset 0 0 0 1.5px var(--green-text); }
.opt input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green-text); }
.opt strong { display: block; font-weight: 500; }
.opt small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.opt .price { font-weight: 500; white-space: nowrap; }
.qty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 12px 12px 18px; border-radius: var(--r-sm); background: var(--bg); }
.qty strong { display: block; font-weight: 500; }
.qty small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.stepper { display: inline-grid; grid-template-columns: 44px 40px 44px; align-items: center; text-align: center; background: #fff; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(22,24,22,.12); overflow: hidden; }
.stepper button { height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.stepper button:hover { background: var(--bg); }
.stepper button:disabled { opacity: .3; cursor: default; background: transparent; }
.stepper output { font-weight: 500; }
.range label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.range output { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.range .ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--fill, 0%), #dcded7 var(--fill, 0%)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: #dcded7; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--green); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: 4px solid #fff; }
.calc-side { position: sticky; top: 110px; }
.summary { background: var(--dark); color: var(--on-dark); border-radius: var(--r); padding: clamp(22px, 2.4vw, 30px); }
.summary h2 { font-size: 24px; color: var(--on-dark); margin-bottom: 14px; }
.summary .vis { display: block; margin-bottom: 14px; }
.summary .vis-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--on-dark-3); }
.summary .vis-meta b { color: var(--on-dark); font-weight: 500; margin-right: 4px; }
.lines { list-style: none; margin: 0; padding: 0; font-size: 15px; max-height: 340px; overflow-y: auto; }
.lines li { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; }
.lines li span:last-child { white-space: nowrap; font-weight: 500; }
.lines li.ship span:first-child { color: var(--on-dark-2); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.3); }
.total output { font-size: clamp(30px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.03em; }
.summary .vat { margin: 6px 0 18px; font-size: 13px; color: var(--on-dark-3); }
.summary .btn { width: 100%; justify-content: space-between; }
.summary .btn + .btn { margin-top: 8px; }
.summary .btn--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); padding-right: 22px; }
.order-box .summary { position: sticky; top: 110px; }
.mobile-total { display: none; }
@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
  .calc-side { position: static; }
  .mobile-total { display: flex; position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px; border-radius: var(--r-sm); background: rgba(18,20,18,.88); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: translateY(140%); transition: transform .4s var(--ease); }
  .mobile-total.is-on { transform: none; }
  .mobile-total b { display: block; font-size: 19px; font-weight: 500; }
  .mobile-total small { color: rgba(255,255,255,.6); font-size: 12.5px; }
  .mobile-total .btn { min-height: 46px; }
}
.order { margin-top: clamp(40px, 6vw, 80px); scroll-margin-top: 110px; }
.order-box { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.order h2 { margin-bottom: 8px; }
@media (max-width: 960px) { .order-box { grid-template-columns: 1fr; } .order-box .summary { position: static; } }
.stack, .stack-top { display: none !important; }

/* ---------- Yhtenäiset kohteiden otsikot ja välit ---------- */
.mcard h3, .tperson strong, .vid figcaption, .alist strong, .items h3, .person h3, .builds figcaption strong {
  font-size: clamp(19px, 1.4vw, 22px); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.tperson figcaption, .vid figcaption { padding-top: 0; margin-top: 16px; }
.tperson a { font-size: 17px; border-bottom-width: 1.5px; }

/* ---------- Liike: nousu ilman sumennusta, ryhmät porrastetusti, kuvat asettuvat ---------- */
.js .rv, .js .rv-kid { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.is-in, .js .rv-kid.is-in { opacity: 1; transform: none; }
/* ryhmissä (tuotteet, henkilöt, videot, artikkelit, luvut, vaiheet) jokainen kohde nousee omana vuorollaan; säiliö ei liiku */
.js .rv-group { opacity: 1; transform: none; }
/* kuvat asettuvat kehyksensä sisällä */
.mcard__media img, .vid-btn img { transition: transform 1.2s var(--ease); }
.js .rv-kid:not(.is-in) .mcard__media img, .js .rv-kid:not(.is-in) .vid-btn img { transform: scale(1.08); }
/* etusivun tehdaskuva: avautuu alhaalta */
.js .intro-fig.rv { transform: none; }
.js .intro-fig img { clip-path: inset(0 0 0 0 round var(--r-lg)); transition: clip-path 1.3s var(--ease) calc(var(--i, 0) * 90ms); }
.js .intro-fig:not(.is-in) img { clip-path: inset(18% 0 0 0 round var(--r-lg)); }
/* piipun osat: kohdepisteet ilmestyvät järjestyksessä */
.js .parts-fig:not(.is-in) .pin { opacity: 0; }
.js .parts-fig.is-in .pin { animation: pin-in .6s var(--ease) both; animation-delay: calc(.35s + var(--i, 0) * 80ms); }
@keyframes pin-in { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
/* loppukaista: kuva asettuu, teksti nousee */
.js .cta-frame.rv { opacity: 1; transform: none; }
.js .cta-frame > img { transition: transform 1.6s var(--ease); }
.js .cta-frame:not(.is-in) > img { transform: scale(1.08); }
.js .cta-inner > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .cta-frame.is-in .cta-inner > * { opacity: 1; transform: none; }
.js .cta-frame.is-in .cta-inner > :nth-child(2) { transition-delay: .12s; }

/* hero: kuva asettuu, otsikkorivit nousevat maskin takaa, muu seuraa */
.hero h1 .ln > span { display: block; }
.js .hero h1 .ln { overflow: hidden; padding: .08em 0 .12em; margin: -.08em 0 -.12em; }
.js .hero h1 .ln > span { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js .is-loaded .hero h1 .ln > span { transform: none; }
.js .is-loaded .hero h1 .ln:nth-child(2) > span { transition-delay: .09s; }
.js .is-loaded .hero h1 .ln:nth-child(3) > span { transition-delay: .18s; }
.js .hero-done .hero h1 .ln { overflow: visible; }
.js .hero-box > :not(h1), .js .hero-aside, .js .statbar { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .is-loaded .hero-box > :not(h1), .js .is-loaded .hero-aside, .js .is-loaded .statbar { opacity: 1; transform: none; }
.js .is-loaded .hero-box > .crumbs-nav { transition-delay: 0s; }
.js .is-loaded .hero-box > .lede, .js .is-loaded .hero-box > .meta { transition-delay: .35s; }
.js .is-loaded .hero-box > .actions { transition-delay: .45s; }
.js .is-loaded .hero-aside { transition-delay: .6s; }
.js .is-loaded .statbar { transition-delay: .6s; }
.js .hero-img img { transform: scale(1.06); transition: transform 1.8s var(--ease); }
.js .is-loaded .hero-img img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv, .js .rv-kid, .js .hero-box > *, .js .hero-aside, .js .statbar, .js .hero h1 .ln > span, .js .hero-img img,
  .js .cta-inner > *, .js .cta-frame > img, .js .mcard__media img, .js .vid-btn img, .js .pin { opacity: 1 !important; transform: none !important; scale: none !important; }
  .js .intro-fig img { clip-path: none !important; }
}
@media (max-width: 560px) {
  .spec-table th, .spec-table td { padding: 12px 14px; }
  .spec-table caption { padding: 16px 14px 4px; }
}
