/* Paneelit: light.inc panel system in the Lakitulkki brand, round 2 (CHANGES-r2.md). Study page (designs/v2), never deployed. */

/* 1. Metric-matched fallback faces (spec 2.3) */
@font-face{font-family:'Libertinus fallback';src:local('Georgia');size-adjust:90.1%;ascent-override:99.2%;descent-override:27.3%;line-gap-override:0%}
@font-face{font-family:'Clash fallback';src:local('Arial');size-adjust:93.3%;ascent-override:95.4%;descent-override:26.8%;line-gap-override:0%}
/* Wordmark: Overpass 600 (OFL) subset to A-Z and ÄÖÅ from /assets/brand-7.ttf, renamed, so the 160 KB TTF is never requested (fix 1) */
@font-face{font-family:'Paneelit Wordmark';src:url(wordmark-600.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}

/* 2. Tokens (spec 2.1, 2.10) */
:root{
  --canvas:#FAF8F4;--ink:#040D1E;--navy:#123466;--cream:#F5F2EC;--sand:#ECE7DF;
  --navy-tint:#E3E8EF;--terra-tint:#F6E6DC;--terra:#DD6C3E;--terra-hover:#E07D54;
  --terra-text:#AC4B1C;--muted:#505C6D;--line:#D6D5CE;--line-ink:rgb(245 242 236/.14);
  --ink-hover:#1C2B45;--sheet:#FFFDF9;
  --r1:#6F819C;--r2:#D8AE55;--r3:#B25D22;--r4:#9B3A2E;--r3-tint:#F7E4D4;--r4-tint:#F4DDD8;
  --ease:cubic-bezier(.22,1,.36,1);
  --d-press:120ms;--d-colour:200ms;--d-caption:280ms;--d-arrow:350ms;--d-wipe:400ms;--d-fold:300ms;
  --d-photo:500ms;--d-swap:600ms;--d-reveal:850ms;--d-head:900ms;--d-tab:6000ms;
  --inset:32px;--section-pad:64px;--gutter:16px;--pad-y:72px;--pad-x:64px;
  /* Radii (r2, Harvey's rule, Studio SPEC 2.4): 8px on every container and media frame, 0 on everything you press or read as UI */
  --r-panel:8px;--r-card:8px;--r-pill:0px;--btn-radius:0px;
  --serif:'Libertinus Serif Display','Libertinus fallback',Georgia,serif;
  --sans:'Clash Grotesk','Clash fallback',Arial,sans-serif;
  --wmf:'Paneelit Wordmark','Clash Grotesk',Arial,sans-serif;
  --fs-h2:clamp(32px,3.6vw,56px);
  --fs-h3:clamp(26px,2.4vw,34px);
  --fs-h4:clamp(22px,2vw,28px);
  --fs-num:clamp(72px,8.4vw,120px);
  --sh-card:0 24px 48px -12px rgb(4 13 30/.18),0 2px 6px rgb(4 13 30/.08);
  --sh-stage:0 18px 40px -12px rgb(2 6 15/.55),0 0 0 1px rgb(245 242 236/.08);
  --sh-sheet:0 30px 60px -20px rgb(2 6 15/.5);
  --sh-pill:0 0 0 1px rgb(4 13 30/.08),0 4px 16px rgb(4 13 30/.06);
  --glass:rgb(250 248 244/.82);
  color-scheme:light;
}
@media (max-width:1099px){:root{--inset:24px;--section-pad:48px;--pad-y:56px;--pad-x:48px}}
@media (max-width:767px){:root{--inset:16px;--section-pad:40px;--pad-y:48px;--pad-x:24px}}

/* 3. Base */
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:104px;font-synthesis:none;-webkit-text-size-adjust:100%;text-size-adjust:100%;scrollbar-gutter:stable}
body{margin:0;background:var(--canvas);color:var(--ink);font:400 17px/1.55 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:clip}
[hidden]{display:none!important}
/* Element rules skip the approved footer (#footer-root, footer-original.css owns it); :not(:where()) keeps their specificity */
:is(img,svg,video):not(:where(#footer-root) *){display:block}
img:not(:where(#footer-root) *){max-width:100%;height:auto}
:is(h1,h2,h3,h4):not(:where(#footer-root) *){margin:0;font-family:var(--serif);font-weight:400;text-wrap:balance;hyphens:manual}
p:not(:where(#footer-root) *){margin:0;text-wrap:pretty;hyphens:manual}
:is(ul,ol):not(:where(#footer-root) *){margin:0;padding:0}
a:not(:where(#footer-root) *){color:inherit}
button:not(:where(#footer-root) *){font:inherit;color:inherit}
h2:not(:where(#footer-root) *){font-size:var(--fs-h2);line-height:1.08;letter-spacing:-.01em}
.em{color:var(--navy)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.i{width:1em;height:1em;fill:currentColor;flex:none}
:focus-visible:not(:where(#footer-root) *){outline:2px solid var(--terra-text);outline-offset:3px}
main:focus{outline:none}
.skip-link{position:fixed;top:12px;left:12px;z-index:70;display:inline-flex;align-items:center;height:44px;padding:0 20px;border-radius:var(--btn-radius);background:var(--ink);color:var(--cream);font:500 15px/1 var(--sans);text-decoration:none;transform:translateY(-200%)}
.skip-link:focus{transform:none;outline-color:var(--terra-text)}

/* 4. Panel system (spec 2.2) */
.panel{position:relative;border-radius:var(--r-panel)}
.panel--sand{background:var(--sand)}
.panel--ink{background:var(--ink);color:var(--cream)}
.panel--ink :focus-visible{outline-color:var(--cream)}
.panel--line{background:var(--canvas);box-shadow:inset 0 0 0 1px var(--line)}
.panel--photo{background-color:#3a4150;background-size:cover;background-repeat:no-repeat}
main{padding-bottom:calc(var(--section-pad)*2)}
main>section{margin-inline:max(var(--inset),calc((100% - 1856px)/2))}
main>section+section{margin-top:calc(var(--section-pad)*2)}
.head{max-width:900px}
.head .lede{margin-top:20px;max-width:40rem;font-size:19px;line-height:1.5}
.head+*{margin-top:56px}
@media (max-width:767px){.head+*{margin-top:32px}.head .lede{font-size:17px}}

/* 5. Components: buttons, links, chips, glass */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:40px;padding:0 18px;border-radius:var(--btn-radius);font:500 14px/1 var(--sans);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color var(--d-colour) var(--ease),color var(--d-colour) var(--ease),transform 200ms var(--ease)}
.btn:active{transform:scale(.97);transition-duration:var(--d-colour),var(--d-colour),var(--d-press)}
.btn .i{width:14px;height:14px;transition:transform var(--d-arrow) var(--ease)}
.btn:hover .i,.btn:focus-visible .i{transform:translateX(3px)}
.btn--terra{background:var(--terra);color:var(--ink);box-shadow:var(--sh-pill)}
.btn--terra:hover{background:var(--terra-hover)}
.btn--ink{background:var(--ink);color:var(--cream)}
.btn--ink:hover{background:var(--ink-hover)}
.btn--lg{height:48px;padding:0 24px;font-size:16px}
.btn--lg .i{width:16px;height:16px}
.link-arrow{display:inline-flex;align-items:center;gap:8px;min-height:44px;font:500 16px/1.3 var(--sans);text-decoration:none;color:inherit}
.link-arrow .u,.announce .u{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.link-arrow .i{width:16px;height:16px;transition:transform var(--d-arrow) var(--ease)}
.link-arrow:hover .i,.link-arrow:focus-visible .i{transform:translateX(5px)}
.link-arrow:hover .i-ur,.link-arrow:focus-visible .i-ur{transform:translate(2px,-2px)}
.glass{background:var(--glass);-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);box-shadow:var(--sh-pill)}
.sq{display:inline-block;flex:none;width:6px;height:6px;background:var(--terra)}

/* 6. Announcement bar (spec 3.1) */
.announce{display:flex;align-items:center;justify-content:center;height:44px;padding:0 16px;background:var(--ink);color:var(--cream)}
.announce :focus-visible{outline-color:var(--cream)}
.announce-desk{display:flex;align-items:center;gap:16px;font:500 15px/1 var(--sans);white-space:nowrap}
.pill-new{display:inline-flex;align-items:center;height:22px;padding:0 10px;border:1px solid rgb(245 242 236/.4);border-radius:var(--r-pill);font:600 12px/1 var(--sans)}
.announce-link,.announce-mob{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--cream)}
.announce .u{text-decoration-color:rgb(245 242 236/.45);text-underline-offset:4px;transition:text-decoration-color var(--d-colour) var(--ease)}
.announce-link:hover .u,.announce-link:focus-visible .u,.announce-mob:hover .u,.announce-mob:focus-visible .u{text-decoration-color:var(--cream)}
.announce .i{width:14px;height:14px;transition:transform var(--d-arrow) var(--ease)}
.announce-link:hover .i,.announce-link:focus-visible .i,.announce-mob:hover .i,.announce-mob:focus-visible .i{transform:translateX(4px)}
.announce-mob{display:none;font:500 14px/1 var(--sans);gap:12px;min-height:44px}
#top-sentinel{position:absolute;top:44px;left:0;width:1px;height:1px;pointer-events:none}

/* 7. Navigation (spec 3.2 to 3.4) */
.site-head{position:sticky;top:-44px;z-index:45}
.site-nav{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:72px;padding:0 var(--inset)}
.nav-a{justify-self:start}
.wm{font:600 18px/1 var(--wmf);letter-spacing:.18em;text-transform:uppercase;color:var(--ink);text-decoration:none;white-space:nowrap}
.nav-a .wm{position:relative;isolation:isolate;display:inline-flex;align-items:center;height:40px;margin-left:-16px;padding:0 16px;border-radius:var(--r-panel)}
.nav-a .wm::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--glass);-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);box-shadow:var(--sh-pill);opacity:0;transition:opacity 250ms var(--ease)}
html.is-stuck .nav-a .wm::before,html:not(.js) .nav-a .wm::before{opacity:1}
.nav-pill{display:flex;gap:4px;padding:5px;list-style:none;border-radius:var(--r-panel)}
.nav-pill a{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:var(--r-pill);font:500 14px/1 var(--sans);color:var(--ink);text-decoration:none;white-space:nowrap;transition:background-color var(--d-colour) var(--ease)}
.nav-pill a:hover{background:rgb(4 13 30/.06)}
.nav-pill a:active{background:rgb(4 13 30/.08)}
.nav-c{justify-self:end;display:flex;align-items:center;gap:8px}
.menu-link,.menu-btn{display:none;place-items:center;width:44px;height:44px;margin-right:-8px;border:0;border-radius:var(--r-pill);background:none;color:var(--ink);cursor:pointer}
.menu-link .i,.menu-btn .i{width:22px;height:22px}
.nav-blur{position:fixed;top:0;left:0;right:0;z-index:40;height:96px;pointer-events:none;display:none}
.nav-blur i{position:absolute;inset:0}
.nav-blur i:nth-child(1){-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);-webkit-mask:linear-gradient(#000 0,#000 45%,transparent 100%);mask:linear-gradient(#000 0,#000 45%,transparent 100%)}
.nav-blur i:nth-child(2){-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);-webkit-mask:linear-gradient(#000 0,#000 30%,transparent 72%);mask:linear-gradient(#000 0,#000 30%,transparent 72%)}
.nav-blur i:nth-child(3){-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);-webkit-mask:linear-gradient(#000 0,transparent 48%);mask:linear-gradient(#000 0,transparent 48%)}
html.is-stuck .nav-blur{display:block;animation:fadeIn 250ms var(--ease) both}
@keyframes fadeIn{from{opacity:0}}

/* Mobile sheet (spec 3.4) */
.sheet{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;padding:0 16px max(16px,env(safe-area-inset-bottom));background:var(--canvas);overflow-y:auto;overscroll-behavior:contain}
.sheet-top{display:flex;align-items:center;justify-content:space-between;height:64px;flex:none}
.sheet-top .wm{font-size:16px;display:inline-flex;align-items:center;min-height:44px}
.sheet-close{display:grid;place-items:center;width:44px;height:44px;margin-right:-10px;border:0;border-radius:var(--r-pill);background:none;cursor:pointer}
.sheet-close .i{width:22px;height:22px}
.sheet-list{list-style:none;display:grid;gap:8px;padding:24px 0 32px}
.sheet-row{display:grid;gap:6px;min-height:56px;padding:12px 0;text-decoration:none}
.sheet-t{display:inline-flex;align-items:center;gap:12px;font:400 28px/1.1 var(--serif);letter-spacing:-.01em}
.sheet-t .sq{width:6px;height:6px}
.sheet-l{font:400 14px/1.4 var(--sans);color:var(--muted)}
.sheet-how{display:inline-flex;align-items:center;min-height:56px;font:500 20px/1 var(--sans);text-decoration:none}
.sheet-cta{margin-top:auto;width:100%;height:56px;font-size:16px;flex:none}
.sheet-cta .i{width:16px;height:16px}
html.sheet-open{overflow:hidden}

/* 8. Hero (spec 4.2) */
.hero{display:grid;gap:16px}
.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,9svh - 24px,72px) var(--pad-x)}
.align-start .hero-copy,.hero-copy[data-align="start"]{justify-content:flex-start}
.hero-group{container-type:inline-size}
/* One headline size on all three audience pages (owner, 2026-11-04). Yrityksille's first line ("Ymmärrä yrityksen sopimukset",
   12.04 em) is the longest, 14 % longer than the consumer's, and needs 8 cqi to hold the JSON's break after "sopimukset" at
   every width from 768 (0.96 of the copy column at most), so the other two pages take 8 cqi as well (they had 9.4 cqi and 96 px).
   Below 390 (iPhone SE and mini widths) the 40 px floor leaves "Ymmärrä" and "yrityksen" on lines of their own, four lines
   in all; 37 px keeps the three lines the headline has at 390. */
.hero-h1{font-size:clamp(40px,min(8cqi,10.5svh),88px);line-height:1.06;letter-spacing:-.015em}
@media (max-width:389px){.hero-h1{font-size:37px}}
/* ?h1=3 (owner comparison, fix 2): a 3-line H1 that fills the sand panel from 1280 to 1799 (72px at 1440x900).
   Off by default: the spec and the Taste hero rule keep the headline at 2 lines, as in all four variations. */
.br-split{display:none}
@media (min-width:1280px) and (max-width:1799px){
  html.h1-3 .hero .br-split{display:inline}
  html.h1-3 .hero .br-desk{display:none}
  html.h1-3 .hero-h1{font-size:clamp(40px,min(11cqi,10.5svh),104px);line-height:1.04}
}
.hero-lede{margin-top:28px;max-width:30rem;font-size:19px;line-height:1.5;color:var(--muted)}
.hero-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:32px}
/* From 1280 the wave panel fills the row on its own (the hero document was removed 10.11.2026).
   The 636px floor keeps the hero tall on short laptop screens. */
@media (min-width:1280px){
  .hero{--atf:max(636px,calc(100svh - 116px - 16px - clamp(12px,5svh - 8px,40px)));height:min(760px,var(--atf))}
}

/* 8.1 Stage: an HTML rebuild of the app's own components on a 580x730 design canvas (spec 4.2.1). */
.stage-wrap{position:relative;min-width:0;container-type:size}
.stage{position:absolute;inset:0;overflow:hidden;border-radius:var(--r-panel);background:var(--ink);container-type:size}
.st-canvas{--u:min(calc(100cqw / 580),calc(100cqh / 730));position:absolute;left:calc(50% - 290 * var(--u));top:calc(50% - 365 * var(--u));width:calc(580 * var(--u));height:calc(730 * var(--u));color:var(--cream);font-family:var(--sans);-webkit-user-select:none;user-select:none}
.st-canvas>*{position:absolute}
.stk>*{grid-area:1/1;opacity:0}
.stk>[data-f]{opacity:1}
html.stage-start .stk>[data-f]{opacity:0}
html.stage-start .stk>[data-s]{opacity:1}
.st-caps{left:calc(28 * var(--u));top:calc(26 * var(--u));width:calc(330 * var(--u));display:grid;list-style:none;font:400 calc(22 * var(--u))/calc(26 * var(--u)) var(--serif);letter-spacing:-.005em;color:var(--cream)}
.st-label{right:calc(28 * var(--u));top:calc(26 * var(--u));display:flex;align-items:center;height:calc(26 * var(--u));padding:0 calc(11 * var(--u));border:1px solid rgb(245 242 236/.24);border-radius:var(--r-pill);font:500 calc(12.5 * var(--u))/1 var(--sans);color:rgb(245 242 236/.78);white-space:nowrap}
.st-sheet{left:calc(28 * var(--u));top:calc(84 * var(--u));width:calc(336 * var(--u));height:calc(440 * var(--u));padding:calc(34 * var(--u)) calc(24 * var(--u)) calc(24 * var(--u));background:var(--sheet);box-shadow:var(--sh-sheet);color:var(--ink);font-family:var(--serif)}
.st-head{position:relative;margin:0 0 calc(14 * var(--u));font-size:calc(11.5 * var(--u));line-height:calc(16 * var(--u));letter-spacing:.12em;text-transform:uppercase;color:#3A3A3A;white-space:nowrap}
.st-clauses{position:relative;display:grid;gap:calc(8 * var(--u));list-style:none}
.cl{display:grid;grid-template-columns:calc(28 * var(--u)) minmax(0,1fr);font-size:calc(12.5 * var(--u));line-height:calc(20 * var(--u))}
.cl-n{display:grid;font-variant-numeric:lining-nums}
.cl-n>span{grid-area:1/1}
.cl-n0{color:var(--muted);opacity:0}
.cl-n1{color:var(--ink)}
html.stage-start .cl-n0{opacity:1}
html.stage-start .cl-n1{opacity:0}
.hl{--hp:100;margin:0 calc(-2 * var(--u));padding:calc(1 * var(--u)) calc(2 * var(--u));background-image:linear-gradient(var(--ht),var(--ht)),linear-gradient(var(--hu),var(--hu));background-repeat:no-repeat;background-position:0 0,0 100%;background-size:calc(var(--hp) * 1%) 100%,calc(var(--hp) * 1%) calc(2 * var(--u));-webkit-box-decoration-break:slice;box-decoration-break:slice}
.hl--3{--ht:var(--r3-tint);--hu:var(--r3)}
.hl--4{--ht:var(--r4-tint);--hu:var(--r4)}
html.stage-start .hl{--hp:0}
.st-band{position:absolute;left:calc(24 * var(--u));right:calc(24 * var(--u));top:0;height:calc(40 * var(--u));background:rgb(18 52 102/.07);opacity:0}
.st-tag{position:absolute;right:calc(10 * var(--u));top:calc(10 * var(--u))}
.st-tag-in{display:block;padding:calc(3 * var(--u)) calc(8 * var(--u));background:var(--sand);font:500 calc(11.5 * var(--u))/calc(14 * var(--u)) var(--sans);color:#3A3A3A;white-space:nowrap}
html.stage-start .st-tag-in{clip-path:inset(0 0 100% 100%)}
.st-wires{left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.st-wires path{fill:none;stroke-width:1;vector-effect:non-scaling-stroke;stroke-linecap:butt}
.w-out path{stroke:rgb(245 242 236/.35)}
.w-in path{stroke:rgb(4 13 30/.4)}
.st-wires--m{display:none}
html.stage-start .st-wires path{visibility:hidden}
.st-pin{--px:0;--py:0;--ps:0;left:0;top:0;width:calc(6 * var(--u));height:calc(6 * var(--u));margin:calc(-3 * var(--u)) 0 0 calc(-3 * var(--u));background:var(--terra);box-shadow:0 0 0 calc(2 * var(--u)) var(--sheet);transform:translate(calc(var(--px) * var(--u)),calc(var(--py) * var(--u))) scale(var(--ps))}
.st-pin.is-final{--ps:1}
.st-pin[data-pin="pf1"]{--px:235.1;--py:373.7}
.st-pin[data-pin="pf2"]{--px:234.9;--py:441.7}
html.stage-start .st-pin{--ps:0}
.st-find{left:calc(348 * var(--u));top:calc(var(--fy) * var(--u));width:calc(204 * var(--u))}
.st-find[data-find="1"]{--fy:304}
.st-find[data-find="2"]{--fy:429.7}
html.stage-start .st-find{visibility:hidden}
.st-find-sh{position:absolute;inset:0;box-shadow:var(--sh-stage)}
.st-find-card{position:relative;padding:calc(10 * var(--u)) calc(14 * var(--u)) calc(11 * var(--u));border:1px solid var(--line);background:var(--canvas);color:var(--ink)}
.f-row{display:flex;align-items:center;gap:calc(8 * var(--u))}
.f-lv{display:grid;place-items:center;width:calc(18 * var(--u));height:calc(18 * var(--u));background:var(--r4);color:var(--canvas);font:600 calc(11.5 * var(--u))/1 var(--sans)}
.f-lvt{font:500 calc(11.5 * var(--u))/1 var(--sans);color:var(--muted)}
.f-title{margin-top:calc(7 * var(--u));font:400 calc(15 * var(--u))/1.15 var(--serif);letter-spacing:-.005em;text-wrap:balance}
.f-meta{margin-top:calc(4 * var(--u));font:400 calc(11.5 * var(--u))/calc(14 * var(--u)) var(--sans);color:var(--muted)}
.f-src{margin-top:calc(3 * var(--u));font:400 calc(11.5 * var(--u))/calc(14 * var(--u)) var(--sans);color:var(--navy);white-space:nowrap}
.f-src span{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:calc(2 * var(--u))}
.st-prog{left:calc(28 * var(--u));top:calc(566 * var(--u));width:calc(524 * var(--u));height:calc(148 * var(--u));padding:calc(12 * var(--u)) calc(16 * var(--u));border:1px solid var(--line);background:var(--cream);box-shadow:var(--sh-stage);color:var(--ink)}
.st-rail{--step:94;position:relative;height:calc(20 * var(--u))}
.st-sq{position:absolute;top:0;left:calc(var(--i) * var(--step) * var(--u));width:calc(20 * var(--u));height:calc(20 * var(--u))}
.st-sq>span{position:absolute;inset:0;display:grid;place-items:center}
.sq-todo{border:1px solid var(--line);background:var(--canvas);font:600 calc(11.5 * var(--u))/1 var(--sans);color:var(--muted);opacity:0}
.sq-cur{border:calc(1.5 * var(--u)) solid var(--ink);background:var(--cream);opacity:0}
.sq-cur i{width:calc(6 * var(--u));height:calc(6 * var(--u));background:var(--ink)}
.sq-done{background:var(--ink);color:var(--cream)}
.sq-done svg{width:calc(12 * var(--u));height:calc(12 * var(--u));fill:currentColor}
html.stage-start .sq-done{opacity:0}
html.stage-start .sq-todo{opacity:1}
html.stage-start .st-sq[style*="--i:0"] .sq-todo{opacity:0}
html.stage-start .st-sq[style*="--i:0"] .sq-cur{opacity:1}
.st-conn{position:absolute;top:calc(9.5 * var(--u));left:calc((var(--i) * var(--step) + 20) * var(--u));width:calc((var(--step) - 20) * var(--u));height:1px;background:var(--line)}
.st-conn b{position:absolute;inset:0;background:var(--ink);transform-origin:left;transform:scaleX(var(--cf,1))}
html.stage-start .st-conn b{--cf:0}
.st-phases{display:grid;margin-top:calc(10 * var(--u))}
.st-ph{grid-area:1/1;min-width:0;opacity:0}
.st-ph[data-f]{opacity:1}
html.stage-start .st-ph[data-f]{opacity:0}
html.stage-start .st-ph[data-s]{opacity:1}
.ph-name{font:600 calc(13.5 * var(--u))/calc(18 * var(--u)) var(--sans)}
.ph-state{display:grid;font:400 calc(12.5 * var(--u))/calc(17 * var(--u)) var(--sans)}
.s-run{font-weight:600}
.s-done{color:var(--muted)}
.ph-lines{display:grid;grid-template-rows:repeat(3,calc(17 * var(--u)));margin-top:calc(6 * var(--u));list-style:none}
.ph-lines .stk{display:grid;min-width:0;font:400 calc(13 * var(--u))/calc(17 * var(--u)) var(--sans);white-space:nowrap}
.l-todo{color:var(--muted)}
.l-run{font-weight:600}
.stage-row{display:none}
.stage-btn{--u:min(calc(100cqw / 580),calc(100cqh / 730));position:absolute;z-index:30;left:calc(50% + 230 * var(--u));top:calc(50% - 303 * var(--u));display:grid;place-items:center;width:calc(32 * var(--u));height:calc(32 * var(--u));padding:0;border:1px solid rgb(245 242 236/.24);border-radius:0;background:transparent;color:var(--cream);cursor:pointer;transition:border-color var(--d-colour) var(--ease),background-color var(--d-colour) var(--ease)}
.stage-btn::before{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
.stage-btn:hover,.stage-btn:focus-visible{border-color:rgb(245 242 236/.6);background:rgb(245 242 236/.06)}
.stage-btn:focus-visible{outline:2px solid var(--cream);outline-offset:3px}
.stage-btn .i{width:calc(14 * var(--u));height:calc(14 * var(--u))}
.stage-btn .i-play,.stage-btn .i-replay{display:none}
.stage-btn[data-state="paused"] .i-pause,.stage-btn[data-state="rest"] .i-pause{display:none}
.stage-btn[data-state="paused"] .i-play{display:block}
.stage-btn[data-state="rest"] .i-replay{display:block}

/* 9. Ongelma (spec 4.3) */
.ongelma{padding:var(--pad-y) var(--pad-x)}
.ongelma-cols{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:1080px}
.ongelma-cols p{font-size:19px;line-height:1.5}
.ongelma-p1{color:var(--muted)}

/* 10. Miten se toimii? (r2, CHANGES-r2.md 3): a light hairline panel after light.inc's platform tabs. The H2 sits above a
   5fr/7fr grid; the steps on the left, the stage on the right, their tops level. */
.method{padding:var(--pad-y) var(--pad-x)}
/* Owner (2026-11-14): study B of the stageshow proposals in A's browser frame. The steps are an accordion on the left
   (main.js initTabs); the open step shows its description, Harvey-style, and drives the stage on the right (src/method.tsx,
   components/method): the contract in the app's document view over the navy painting, a card per step. */
.method-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
.method-left{display:flex;flex-direction:column;min-width:0}
.m-steps{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.m-step{position:relative;border-bottom:1px solid var(--line)}
.m-step-h{margin:0;font:inherit}
.m-tab{--row:68px;position:static;display:flex;align-items:center;width:100%;min-height:var(--row);margin:0;padding:0;border:0;background:none;font:400 clamp(24px,2.08vw,30px)/1.1 var(--serif);letter-spacing:-.01em;color:var(--muted);text-align:left;cursor:pointer;transition:color 250ms var(--ease)}
.m-tab[aria-expanded="true"]{cursor:default}
.m-tab:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.m-n{flex:none;width:1.8em;font-variant-numeric:lining-nums}
.m-name{flex:1 1 auto;min-width:0}
.m-tab:hover,.m-tab[aria-expanded="true"]{color:var(--ink)}
/* the open step's description, under its name; the row opens and closes its height */
.m-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows 450ms var(--ease)}
.m-panel-in{min-height:0;overflow:hidden;visibility:hidden;opacity:0;transition:opacity 200ms var(--ease),visibility 0s linear 450ms}
.m-step.is-open .m-panel{grid-template-rows:1fr}
.m-step.is-open .m-panel-in{visibility:visible;opacity:1;transition:opacity 350ms var(--ease) 150ms,visibility 0s}
.m-desc{margin:0;padding:0 0 24px calc(1.8 * clamp(24px,2.08vw,30px));max-width:36em;font-size:16px;line-height:1.55;color:#3D4756}
/* the timer: a 2px ink bar over the open step's bottom hairline, under its description (the button is static, so the
   bar inside it sits on the step) */
.m-tab-bar{position:absolute;left:0;right:0;bottom:-1px;height:2px;overflow:hidden;pointer-events:none}
.m-tab-bar b{position:absolute;inset:0;background:var(--ink);transform:scaleX(0);transform-origin:left}
.m-steps.is-auto .m-tab[aria-expanded="true"] .m-tab-bar b{animation:tabTimer var(--d-tab) linear forwards}
.m-steps.is-held .m-tab-bar b{animation-play-state:paused!important}
@keyframes tabTimer{to{transform:scaleX(1)}}
/* The steps toggle: a 32px square ring, 14px icon, 44px hit area */
.m-pause{position:relative;display:inline-grid;place-items:center;width:32px;height:32px;margin:24px 0 0;padding:0;border:0;border-radius:0;background:none;box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);cursor:pointer;transition:box-shadow var(--d-colour) var(--ease),background-color var(--d-colour) var(--ease)}
.m-pause::before{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
.m-pause:hover,.m-pause:focus-visible{box-shadow:inset 0 0 0 1px var(--ink);background:rgb(4 13 30/.04)}
.m-pause .i{width:14px;height:14px}
.m-pause .i-play,.m-pause[data-state="paused"] .i-pause{display:none}
.m-pause[data-state="paused"] .i-play{display:block}
.m-media{position:relative;min-width:0;container-type:inline-size}
/* The stage's slot: the poster (step 5, the same frame at the same size) holds the place until the island runs, so
   nothing moves when it does. The stage switches to its phone design below 560px of slot. */
.m-stage{position:relative;max-width:696px;border-radius:var(--r-panel);background:#0b1a33}
.m-stage picture,.m-poster{display:block;width:100%;height:auto;border-radius:var(--r-panel)}
.m-stage.is-live{background:none}
/* the slot's edge: where the window runs off the right and the foot, its paper would melt into the page. A hairline of
   ink over the slot keeps the edge there (the page's --line on paper) and disappears on the painting. */
.m-stage::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;box-shadow:inset 0 0 0 1px rgb(4 13 30/.15);pointer-events:none}
@media (max-width:1279px){
  .method-grid{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:40px}
  .m-tab{--row:60px;font-size:24px}
  .m-desc{padding-left:calc(1.8 * 24px);font-size:15px}
}
/* Below 1024: one column, the stage first and the steps under it (tap a step, the stage follows). */
@media (max-width:1023px){
  .method-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .method-left{display:contents}
  .m-media{order:2}
  .m-tabs-wrap{order:3;margin-top:32px}
}
@media (max-width:767px){
  .m-tab{--row:52px;font-size:21px}
  .m-desc{padding-left:calc(1.8 * 21px)}
}
/* No-JS: every step open, the poster beside them */
html:not(.js) .m-panel{grid-template-rows:1fr}
html:not(.js) .m-panel-in{visibility:visible;opacity:1}
html:not(.js) .m-tab{cursor:default}

/* 11. Documents (owner, 2026-11-14: proposal C of designs/v2/docs-study, with the glass chips). Three painting panels in
   a row: the one you point at, focus or tap takes the wide slot (initSwap, the router's latch) and shows its intro and
   its documents; the others show the title only. The copy keeps the open width and the title the closed width, so
   nothing reflows while a panel widens. Without JS the three share the row, each open. Below 1024 they stack, each
   open: the painting as a band, the copy under it. Each painting's crop is --pos on its .dg-bg. */
.docs>.head{padding-inline:var(--pad-x)}
.dg-row{--grow:2.3;display:flex;gap:16px;height:clamp(580px,46vw,700px);container-type:inline-size}
.dg{position:relative;isolation:isolate;flex:1 1 0;min-width:0;overflow:hidden;border-radius:var(--r-panel);background:#2c3341;color:var(--cream);transition:flex-grow var(--d-swap) var(--ease);-webkit-tap-highlight-color:transparent}
.dg.is-active{flex-grow:var(--grow)}
.dg:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.dg-bg{position:absolute;inset:0;z-index:-2;overflow:hidden;background-color:#2c3341;background-size:cover;background-position:var(--pos,50% 50%)}
.dg-bg img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--pos,50% 50%)}
/* A veil where the copy sits (title and intro at the top); the painting stays clear below. Closed panels dim a little. */
.dg-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgb(4 13 30/.76) 0%,rgb(4 13 30/.6) 32%,rgb(4 13 30/.16) 50%,rgb(4 13 30/.06) 62%,rgb(4 13 30/.3) 100%);transition:background-color 400ms var(--ease)}
.dg:not(.is-active) .dg-shade{background-color:rgb(4 13 30/.24)}
.dg-copy{position:absolute;top:32px;bottom:32px;left:32px;width:calc((100cqi - 32px) * var(--grow) / (var(--grow) + 2) - 64px);display:flex;flex-direction:column}
.dg-copy h3{width:calc((100cqi - 32px) / (var(--grow) + 2) - 64px);font-size:clamp(30px,2.5vw,40px);line-height:1.08;letter-spacing:-.01em}
.dg-intro{margin-top:14px;max-width:32ch;font-size:clamp(17px,1.25vw,19px);line-height:1.5;color:rgb(245 242 236/.94);opacity:0;translate:0 10px;transition:opacity 300ms var(--ease),translate 300ms var(--ease)}
.dg.is-active .dg-intro{opacity:1;translate:none;transition-duration:500ms;transition-delay:180ms}
/* Chips (the owner's pick of three, 2026-11-14): dark frosted glass over the painting, cream type and the terracotta
   square, at owner feedback 5's sizes, fully round (owner, 2026-11-14: the one exception to Harvey's square UI). When a
   panel opens, its chips wipe open from the left one after another (--k is the chip's index), the leading edge round.
   Cream on the glass measured at 6.8:1 or more over every painting. */
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:28px;list-style:none}
.chips li{display:inline-flex;align-items:center;gap:10px;padding:9px 18px 9px 15px;border:1px solid rgb(245 242 236/.24);border-radius:999px;background:rgb(4 13 30/.58);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);font:500 clamp(15px,1.1vw,17px)/1.3 var(--sans);color:var(--cream);white-space:nowrap;clip-path:inset(0 100% 0 0 round 999px);transition:clip-path 200ms var(--ease)}
.chips li::before{content:"";flex:none;width:6px;height:6px;background:var(--terra)}
.chips li:nth-child(2){--k:1}.chips li:nth-child(3){--k:2}.chips li:nth-child(4){--k:3}.chips li:nth-child(5){--k:4}
.chips li:nth-child(6){--k:5}.chips li:nth-child(7){--k:6}.chips li:nth-child(8){--k:7}.chips li:nth-child(9){--k:8}
.dg.is-active .chips li{clip-path:inset(0 round 999px);transition:clip-path var(--d-wipe) var(--ease) calc(160ms + var(--k,0) * 40ms)}
@media (prefers-reduced-transparency:reduce){.chips li{background:rgb(4 13 30/.85);-webkit-backdrop-filter:none;backdrop-filter:none}}
@media (min-width:1024px) and (max-width:1279px){.dg-row{--grow:1.8}}
html:not(.js) .dg{flex-grow:1}
html:not(.js) .dg-copy{right:32px;width:auto}
html:not(.js) .dg-copy h3{width:auto}
html:not(.js) .dg-intro{opacity:1;translate:none}
html:not(.js) .chips li{clip-path:none}
@media (max-width:1023px){
  .dg-row{flex-direction:column;height:auto}
  .dg,.dg.is-active{flex:none}
  .dg{background:var(--ink)}
  .dg-bg{position:relative;inset:auto;z-index:auto;aspect-ratio:2/1}
  .dg-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgb(4 13 30/.55) 0%,rgb(4 13 30/0) 42%,rgb(4 13 30/0) 66%,var(--ink) 100%)}
  .dg-shade{display:none}
  .dg-copy{position:static;width:auto;padding:4px 32px 32px}
  .dg-copy h3{position:absolute;top:28px;left:32px;right:32px;width:auto}
  .dg-intro{margin-top:0;opacity:1;translate:none}
  .chips{padding-top:24px}
  .chips li{clip-path:none;transition:none;background:rgb(245 242 236/.07);-webkit-backdrop-filter:none;backdrop-filter:none}
}
@media (max-width:767px){
  .dg-bg{aspect-ratio:16/10}
  .dg-copy{padding:0 24px 28px}
  .dg-copy h3{top:22px;left:24px;right:24px;font-size:30px}
  .dg-intro{font-size:17px}
  .chips li{font-size:15px}
}

/* 12. Riskitasot (spec 4.6) */
.risks{padding:var(--pad-y) var(--pad-x)}
.risk-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;list-style:none}
.risk{padding-top:24px;border-top:2px solid var(--rc)}
.risk-n{display:block;font:400 var(--fs-num)/1 var(--serif);letter-spacing:-.02em}
.risk h3{margin-top:24px;font-size:var(--fs-h4);line-height:1.15;letter-spacing:-.01em}
@media (min-width:1024px){.risk h3{min-height:2.3em}}
.risk p{margin-top:12px;font-size:16px;line-height:1.55;color:var(--muted)}

/* 13. Handoff (spec 4.7) */
.handoff{container-type:inline-size}
.handoff-grid{display:grid;gap:16px}
.ho-photo{min-height:0;background-position:0% 50%}
.ho-img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:0% 50%;border-radius:var(--r-panel)}
.ho-cards{position:absolute;z-index:1;left:32px;top:24%;width:min(403px,48%)}
.ui-card{margin:0}
.ui-card img{width:100%;height:auto;box-shadow:var(--sh-card)}
/* One legible excerpt of card 1 (fix 1): the step row, the label, the hint and the reader's two notes, at 0.85 of
   native size when the card is 403px wide (0.80 at 1440, 0.71 at 1280, 0.67 on phones). Every value is a share of
   the card width, so the crop holds at any width. Fix 2: the crop runs 18px further into the empty notes field,
   and that last 18px fades into the capture's own paper (#FAF8F4), so the field ends softly below the notes
   instead of being cut mid-field. The fade starts below the text at every width. */
.ho-c1{position:relative;aspect-ratio:403/164;overflow:hidden;box-shadow:var(--sh-card)}
.ho-c1 img{width:155.3%;max-width:none;margin:-19.4% 0 0 -2.1%;box-shadow:none}
.ho-c1::after{content:"";position:absolute;left:0;right:0;bottom:0;height:18px;background:linear-gradient(rgb(250 248 244/0),var(--canvas));pointer-events:none}
.ui-caption{display:inline-block;position:relative;padding:8px 12px;background:var(--canvas);font:500 12px/1 var(--sans);color:var(--muted);box-shadow:var(--sh-card)}
.ho-text{display:flex;flex-direction:column;justify-content:center;padding:48px}
.ho-text h2{font-size:40px;line-height:1.08}
.ho-text p{margin-top:16px;font-size:16px;line-height:1.55;color:rgb(245 242 236/.78)}
.ho-text h2+p{margin-top:24px}
@media (min-width:1280px){
  .handoff-grid{grid-template-columns:1.4fr 1fr;grid-template-rows:minmax(calc((100cqi - 16px) * 7 / 12 / 1.5),auto)}
}
@media (min-width:1440px){
  .ho-text{padding:56px}
  .ho-text h2{font-size:44px}
  .ho-text p{font-size:17px}
}
@media (max-width:1279px){
  .ho-photo{aspect-ratio:16/9;background-position:50% 50%}
  .ho-img{object-position:50% 50%}
  .ho-cards{width:min(400px,40%)}
  .ho-text p{max-width:60ch}
}

/* 14. FAQ (spec 4.8) */
.faq{padding:var(--pad-y) var(--pad-x)}
.faq-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:64px}
.faq-head h2{position:sticky;top:104px}
.faq-list details+details{border-top:1px solid var(--line)}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;list-style:none;cursor:pointer;font:400 22px/1.3 var(--serif);letter-spacing:-.005em;transition:color var(--d-colour) var(--ease)}
.faq-list summary:hover,.faq-list summary:focus-visible{color:var(--navy)}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:focus-visible{outline-offset:6px}
.pm{position:relative;flex:none;width:18px;height:18px}
.pm .i{position:absolute;inset:0;width:18px;height:18px;transition:opacity var(--d-colour) var(--ease)}
.pm .i-minus,details[open] .pm .i-plus{opacity:0}
details[open] .pm .i-minus{opacity:1}
.faq-list .a{padding:0 0 24px}
.faq-list .a p{max-width:60ch;font-size:17px;line-height:1.55;color:var(--muted)}

/* 15. Router (spec 5.1) */
.router{--copy-w:300px;display:flex;gap:16px;height:clamp(480px,42vw,640px)}
.route{position:relative;isolation:isolate;flex:1 1 0;min-width:0;overflow:hidden;border-radius:var(--r-panel);background:var(--ink);color:var(--cream);text-decoration:none;transition:flex-grow var(--d-swap) var(--ease);-webkit-tap-highlight-color:transparent}
.route.is-active{flex-grow:1.4}
.route:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
/* The painting is pinned to the copy edge (left) on both cards, so each title sits on its calm upper left (Studio 5.1) */
.route-bg{position:absolute;top:0;bottom:0;left:0;z-index:0;width:max(56vw,760px);background-size:cover;background-position:0 0}
.route-bg picture{display:block;height:100%}
.route-bg img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:0 0}
/* Studio's scrim: a veil only where the copy needs contrast, so the lower painting shows in its colour */
.route-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgb(4 13 30/.78) 0%,rgb(4 13 30/.52) 32%,rgb(4 13 30/0) 60%)}
/* The UI plate stays opaque in both states (fix 1): the veil above it does the dimming, so the painting never ghosts through */
.route-ui{position:absolute;z-index:2;left:28px;top:clamp(214px,17.5vw,248px);width:clamp(720px,60vw,1000px);box-shadow:0 0 0 1px rgb(245 242 236/.08),0 10px 15px -3px rgb(2 6 15/.25);transform:translateY(18px);transition:transform var(--d-swap) var(--ease)}
.route-ui picture{display:block}
.route-ui img{width:100%;max-width:none;height:auto}
.route.is-active .route-ui{transform:none}
.route-veil{position:absolute;inset:0;z-index:3;background:rgb(4 13 30/.44);pointer-events:none;transition:opacity 400ms var(--ease)}
.route.is-active .route-veil{opacity:0}
.route-label{position:absolute;z-index:4;top:16px;right:16px;font:500 12px/1 var(--sans);color:rgb(245 242 236/.7);white-space:nowrap}
.route-copy{position:absolute;z-index:4;left:28px;top:30px;width:var(--copy-w);display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.route-title{font:400 var(--fs-h3)/1.1 var(--serif);letter-spacing:-.01em}
.route-line{font:400 17px/1.45 var(--sans);color:rgb(245 242 236/.86);text-wrap:pretty}
.route-cta{display:inline-flex;align-items:center;height:36px;padding:0 16px;border:1px solid rgb(245 242 236/.6);border-radius:var(--btn-radius);font:500 14px/1 var(--sans);white-space:nowrap;transition:background-color 300ms var(--ease),color 300ms var(--ease),border-color 300ms var(--ease)}
.route.is-active .route-cta{background:var(--cream);border-color:var(--cream);color:var(--ink)}
.arrow-slot{display:inline-flex;width:0;margin-left:0;overflow:hidden;transition:width 300ms var(--ease),margin 300ms var(--ease)}
.arrow-slot .i{width:16px;height:16px;transform:translateX(4px);opacity:0;transition:transform 300ms var(--ease),opacity 300ms var(--ease)}
.route.is-active .arrow-slot{width:16px;margin-left:8px}
.route.is-active .arrow-slot .i{transform:none;opacity:1}
.route.is-active:hover .arrow-slot .i,.route.is-active:focus-visible .arrow-slot .i{transform:translateX(3px)}

/* 16. Layman (r2, CHANGES-r2.md 5): the approved section from designs/taste, inside a hairline panel. Values are the
   approved page's computed ones mapped to Paneelit's tokens (--paper = --canvas, --accent-text = --terra-text). */
.engine{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:80px;align-items:center;padding:var(--pad-y) var(--pad-x)}
.engine-copy{min-width:0}
.engine-label{margin:0 0 20px;font:700 12px/1.55 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--terra-text)}
.no-kicker .engine-label{display:none}
.engine h2{max-width:600px;line-height:1.1;letter-spacing:-.02em}
/* Libertinus Serif Display has no italic: the approved page synthesizes it; Paneelit's html sets font-synthesis:none */
.engine h2 em{font-style:italic;font-synthesis:style}
.engine-copy>p:not(.engine-label){margin-top:28px;max-width:540px;font-size:19px;line-height:1.55;color:var(--muted)}
/* The approved outline button, square; ink fill on hover and focus; no 2px lift (nothing lifts on Paneelit) */
.engine .btn--secondary{height:auto;min-height:56px;margin-top:36px;padding:12px 24px;gap:44px;justify-content:space-between;border:1px solid var(--ink);border-radius:0;background:transparent;color:var(--ink);font:400 14px/1.55 var(--sans);box-shadow:none}
.engine .btn--secondary:hover,.engine .btn--secondary:focus-visible{background:var(--ink);color:var(--cream)}
.engine-stack{width:100%;max-width:460px;height:auto;justify-self:end;overflow:visible}
.engine-plate{fill:var(--sand);stroke:var(--ink);stroke-width:1;stroke-linejoin:round}
.engine-labels line{stroke:var(--line);stroke-width:1}
.engine-labels text{font:400 17px var(--sans);fill:var(--ink)}
.engine-labels .engine-num{fill:var(--terra-text);font-weight:700}
@media (max-width:1023px){
  .engine{grid-template-columns:minmax(0,1fr);gap:44px}
  .engine-stack{justify-self:start}
}
@media (max-width:767px){
  .engine-copy>p:not(.engine-label){margin-top:22px;font-size:16px}
  .engine .btn--secondary{min-height:52px;padding-inline:20px;gap:40px;font-size:13px}
  .engine-stack{max-width:380px}
  .engine-labels text{font-size:19px}
}

/* 17 (the terracotta closing panel) and 18 (Paneelit's footer) were removed in r2: the approved footer replaces both
   (#footer-root, footer-original.css and /assets/components/documents.css). */

/* 19. Motion (behind html.motion-ok and prefers-reduced-motion: no-preference) */
@media (prefers-reduced-motion:no-preference){
  html.motion-ok .faq-list details[open] .a{animation:faqIn 350ms var(--ease)}
  @keyframes faqIn{from{opacity:0;transform:translateY(-6px)}}
}
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    html.motion-ok .dg-bg{view-timeline:--ph block}
    html.motion-ok .dg-bg img{animation:drift linear both;animation-timeline:--ph;animation-range:cover 0% cover 100%}
    html.motion-ok .dg-bg.is-drifting img{will-change:transform}
  }
}
/* Owner feedback 23 (2026-11-05): +-5% moved a painting 1/28 of the scroll speed and read as still. +-10% needs a zoom of at least 1.2 to keep the edges covered. */
@keyframes drift{from{transform:translateY(10%) scale(1.22)}to{transform:translateY(-10%) scale(1.22)}}
/* Reduced motion: no transitions at all (fix 2). A 1ms duration with the default transition-property "all" started
   about 1,150 transitions on every breakpoint change, so the stage remeasured the old layout and put the finding
   pin on clause 9.3's first line. No script listens for transitionend. The approved footer keeps its own rule (r2). */
@media (prefers-reduced-motion:reduce){
  :not(:where(#footer-root) *),:not(:where(#footer-root) *)::before,:not(:where(#footer-root) *)::after{transition:none!important;animation-duration:1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
  .route,.route *,.m-photo,.nav-cta{transition:none!important}
}

/* 20. Reduced transparency */
@media (prefers-reduced-transparency:reduce){
  .glass,.nav-a .wm::before{background:var(--canvas);-webkit-backdrop-filter:none;backdrop-filter:none}
  .nav-blur{display:none!important}
}

/* 21. Responsive */
@media (max-width:1279px){
  .stage-wrap{height:760px}
}
@media (max-width:1279px){.router{--copy-w:260px}}
@media (max-width:1023px){
  .faq-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .faq-head h2{position:static}
  .risk-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 32px}
  .router{--copy-w:220px;height:520px}
}
@media (max-width:899px){
  .site-nav{grid-template-columns:1fr auto;height:64px;isolation:isolate}
  .site-nav::before{content:"";position:absolute;inset:0;z-index:-1;background:rgb(250 248 244/.96);-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);box-shadow:inset 0 -1px 0 var(--line);opacity:0;transition:opacity 250ms var(--ease)}
  html.is-stuck .site-nav::before,html:not(.js) .site-nav::before{opacity:1}
  .nav-b{display:none}
  .nav-a .wm{height:44px;font-size:16px;margin-left:0;padding:0}
  .nav-a .wm::before{display:none}
  .nav-blur{display:none!important}
  .nav-cta{position:relative;height:36px;padding:0 14px;font-size:13px}
  .nav-cta::after{content:"";position:absolute;inset:-4px 0}
  .nav-cta .i{display:none}
  .menu-link{display:inline-grid}
  .menu-btn:not([hidden]){display:inline-grid}
  html{scroll-padding-top:88px}
}
@media (min-width:900px){.sheet{display:none!important}}
@media (max-width:767px){
  .announce-desk{display:none}
  .announce-mob{display:inline-flex}
  .hero-copy{padding:40px 24px}
  .br-desk{display:none}
  .hero-lede{margin-top:20px;font-size:17px}
  .hero-ctas{flex-direction:column;align-items:stretch;gap:12px;margin-top:28px}
  .hero-ctas .btn{width:100%;height:52px}
  .hero-ctas .link-arrow{align-self:flex-start}
  .stage-wrap{height:auto;container-type:inline-size}
  .stage{position:relative;inset:auto;aspect-ratio:358/560}
  .st-canvas{--u:min(calc(100cqw / 358),calc(100cqh / 560));left:calc(50% - 179 * var(--u));top:calc(50% - 280 * var(--u));width:calc(358 * var(--u));height:calc(560 * var(--u))}
  .st-caps{left:calc(18 * var(--u));top:calc(14 * var(--u));width:calc(322 * var(--u));font-size:calc(18 * var(--u));line-height:calc(21 * var(--u))}
  .st-label{display:none}
  .st-sheet{left:calc(18 * var(--u));top:calc(64 * var(--u));width:calc(322 * var(--u));height:calc(250 * var(--u));padding:calc(30 * var(--u)) calc(18 * var(--u)) calc(18 * var(--u))}
  .st-head{font-size:calc(11.5 * var(--u));margin-bottom:calc(10 * var(--u))}
  .st-clauses{gap:calc(6 * var(--u))}
  .cl[data-c="91"],.cl[data-c="92"],.cl[data-c="95"]{display:none}
  .cl{font-size:calc(13 * var(--u));line-height:calc(19.5 * var(--u))}
  .st-band{left:calc(18 * var(--u));right:calc(18 * var(--u))}
  .st-wires--d{display:none}
  .st-wires--m{display:block}
  .st-pin[data-pin="pf1"]{--px:258.3;--py:188}
  .st-pin[data-pin="pf2"]{display:none}
  .st-find{left:calc(34 * var(--u));width:calc(290 * var(--u))}
  .st-find[data-find="1"]{--fy:268.5}
  .st-find[data-find="2"]{display:none}
  .st-prog{left:calc(18 * var(--u));top:calc(400 * var(--u));width:calc(322 * var(--u));height:calc(146 * var(--u));padding:calc(12 * var(--u)) calc(14 * var(--u))}
  .st-rail{--step:54.4}
  .ph-name{font-size:calc(13 * var(--u));line-height:calc(17 * var(--u))}
  .ph-state{font-size:calc(12 * var(--u));line-height:calc(16 * var(--u))}
  .ph-lines .stk{font-size:calc(12.5 * var(--u));white-space:normal}
  .stage-row{display:flex;align-items:center;height:44px;margin:0;padding-left:4px;font:400 12px/1 var(--sans);color:var(--muted)}
  .stage-btn{--u:1px;left:auto;right:0;top:auto;bottom:0;width:44px;height:44px;border-color:var(--line);color:var(--ink)}
  .stage-btn::before{display:none}
  .stage-btn:hover,.stage-btn:focus-visible{border-color:var(--ink);background:transparent}
  .stage-btn:focus-visible{outline-color:var(--terra-text)}
  .stage-btn .i{width:16px;height:16px}
  .ongelma-cols{grid-template-columns:minmax(0,1fr);gap:20px}
  .ongelma-cols p{font-size:17px}
  .risk-cols{grid-template-columns:minmax(0,1fr);gap:40px}
  .handoff-grid{gap:16px}
  .ho-photo{display:flex;flex-direction:column;aspect-ratio:auto;background-color:transparent;background-image:none!important}
  .ho-img{position:static;width:100%;height:auto;aspect-ratio:4/3;object-position:65% 50%;background:#3a4150}
  .ho-cards{position:relative;left:auto;top:auto;width:min(340px,88%);margin:-32px auto 0}
  .ho-text{padding:40px 24px}
  .ho-text h2{font-size:34px}
  .faq-list summary{font-size:19px;padding:20px 0}
  .router{flex-direction:column;height:auto;--copy-w:calc(100% - 48px)}
  .route{flex:none;height:460px}
  /* stacked cards are static: the painting is card-wide, still pinned to the copy edge */
  .route-bg{width:100%}
  .route-veil{opacity:0}
  .route-ui{width:680px;left:24px;top:206px;transform:none}
  .route-copy{left:24px;top:24px}
  .route .route-cta{background:var(--cream);border-color:var(--cream);color:var(--ink)}
  .route .arrow-slot{width:16px;margin-left:8px}
  .route .arrow-slot .i{transform:none;opacity:1}
  /* The depiction label stays on phones as the handoff's caption chip, on the plate's lower-left corner (fix 2):
     top-right would collide with the full-width copy, and bare text over the photo gap reads at about 2.6:1 */
  .route-label{top:auto;bottom:12px;left:24px;right:auto;padding:8px 12px;background:var(--canvas);color:var(--muted);box-shadow:var(--sh-card)}
}

/* ===================================================================== round 2, owner feedback 3 (2026-11-03)
   Hero copy panel: the original hero's waves (designs/taste: video, shade, toggle, cream type), only in a smaller panel.
   Hero stage: calm and light. A contract on a sand panel; clauses 9.1, 9.3 and 9.4 are slowly highlighted and flagged
   on one 26 s CSS cycle (main.js initCalm starts and pauses it). Final state (all marked) without JS and under
   reduced motion. */
.panel--waves{position:relative;isolation:isolate;overflow:hidden;background:#0b1a33 url(/assets/hero-waves-poster.jpg) center/cover no-repeat;color:var(--cream)}
.panel--waves .hero-video,.panel--waves .hero-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.panel--waves .hero-video{object-fit:cover;object-position:center}
.panel--waves .hero-shade{z-index:-1;background:linear-gradient(90deg,rgb(8 26 56/.93),rgb(8 26 56/.83) 55%,rgb(8 26 56/.72))}
.panel--waves .hero-h1{color:var(--cream)}
.panel--waves .hero-h1 .em{color:inherit;font-style:italic;font-synthesis:style}
.panel--waves .hero-lede{color:rgb(245 242 236/.84)}
.panel--waves .btn--ink{background:transparent;color:var(--cream);box-shadow:inset 0 0 0 1px var(--cream)}
.panel--waves .btn--ink:hover,.panel--waves .btn--ink:focus-visible{background:var(--cream);color:var(--ink)}
.panel--waves .link-arrow{color:var(--cream)}
.panel--waves :focus-visible{outline-color:var(--cream)}
.hero-video-toggle{position:absolute;right:20px;bottom:20px;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgb(255 255 255/.35);border-radius:0;background:rgb(4 13 30/.2);color:var(--cream);opacity:.5;cursor:pointer;transition:opacity .2s,background-color .2s}
.hero-video-toggle svg{width:16px;height:16px;grid-area:1/1}
.hero-video-toggle .icon-play,.hero-video-toggle[data-state=paused] .icon-pause{display:none}
.hero-video-toggle[data-state=paused] .icon-play{display:block}
.hero-video-toggle:hover,.hero-video-toggle:focus-visible{opacity:1;background:rgb(4 13 30/.5)}
.hero-video-toggle:focus-visible{outline:2px solid var(--cream);outline-offset:2px}
@media (max-width:767px){.panel--waves .hero-shade{background:rgb(8 26 56/.86)}}
/* Parallax: the water drifts down at about a fifth of the scroll speed over the first screen. The video runs 24% taller
   than the panel so the drift never shows an edge. Scroll-driven animation runs on the compositor, needs no JS and is
   off where unsupported or under reduced motion. */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:scroll()){
    .panel--waves .hero-video{top:-12%;height:124%;animation:hero-drift linear both;animation-timeline:scroll(root);animation-range:0 100vh}
    @keyframes hero-drift{to{translate:0 9.7%}}
  }
}

/* Owner feedback 4 (2026-11-03): no tag, no caption, no flags. "A document that just gets scrolled through", like the
   app's own document view: the example contract scrolls slowly; clauses with a finding carry a thin underline in their
   risk colour, and the one passing the middle of the view takes its full tint (main.js initCalm). */
.stage-wrap.calm{height:auto;container-type:normal}
.calm-stage{position:relative;margin:0;min-height:560px;height:100%;overflow:hidden;border-radius:var(--r-panel);background:var(--sand);container-type:inline-size}
@media (min-width:1280px){.calm-stage{position:absolute;inset:0;min-height:0}}
.doc-view{position:absolute;inset:0;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 14%,#000 86%,transparent 100%)}
.doc-paper{position:absolute;top:0;bottom:0;left:50%;width:min(456px,80cqi);transform:translateX(-50%);background:#FDFCF9;box-shadow:0 0 0 1px rgb(4 13 30/.04),0 18px 40px rgb(4 13 30/.08)}
.doc-flow{padding:56px clamp(22px,7cqi,40px) 8px;font:400 13.5px/1.68 var(--serif);color:var(--ink);will-change:transform}
.doc-h{display:flex;gap:10px;margin:22px 0 8px;font:400 11.5px/1.4 var(--serif);letter-spacing:.09em;text-transform:uppercase;color:#3B4350}
.doc-h:first-child{margin-top:0}
.doc-p{display:grid;grid-template-columns:30px minmax(0,1fr);margin:0 0 7px}
.doc-n{font-size:12.5px;color:#5A6270}
.doc-h .doc-n{font-size:11.5px;color:inherit}
.doc-sign{display:flex;gap:56px;margin:30px 0 56px 30px;padding-top:28px;font:400 12px/1 var(--sans);color:var(--muted)}
.doc-sign span{flex:1;padding-top:8px;border-top:1px solid #9AA1AC}
.doc-hl{padding:1px 0;background-color:transparent;background-image:linear-gradient(var(--hu),var(--hu));background-repeat:no-repeat;background-position:0 100%;background-size:100% 1.5px;-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background-color .9s var(--ease)}
.doc-hl[data-lvl="1"]{--hu:rgb(111 129 156/.75);--ht:#E8ECF1}
.doc-hl[data-lvl="2"]{--hu:rgb(216 174 85/.85);--ht:#F6EDD4}
.doc-hl[data-lvl="3"]{--hu:var(--r3);--ht:var(--r3-tint)}
.doc-hl[data-lvl="4"]{--hu:var(--r4);--ht:var(--r4-tint)}
.doc-hl.is-on{background-color:var(--ht)}
.calm-btn{position:absolute;right:14px;bottom:12px;z-index:2;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:0;background:rgb(236 231 223/.9);color:var(--ink);cursor:pointer}
.calm-btn::before{content:"";position:absolute;inset:-4px}
.calm-btn:hover,.calm-btn:focus-visible{border-color:var(--ink)}
.calm-btn:focus-visible{outline:2px solid var(--terra-text);outline-offset:2px}
.calm-btn .i{width:14px;height:14px;grid-area:1/1}
.calm-btn .i-play,.calm-btn[data-state=paused] .i-pause{display:none}
.calm-btn[data-state=paused] .i-play{display:block}
@container (max-width:520px){.doc-flow{font-size:12.5px;padding-top:40px}.doc-paper{width:88cqi}}
/* Owner feedback 5 (2026-11-03): the highlighted clauses are interactive. A click, tap, Enter or Space opens a popover
   with the app's own finding for that clause (fixtures.mjs: level, title, what it means, the cited law). Under reduced
   motion and without JS the document scrolls natively instead of by itself. */
.doc-view{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.calm.is-auto .doc-view{overflow:clip}
.doc-hl[role=button]{cursor:pointer}
.doc-hl[role=button]:hover,.doc-hl[aria-expanded=true]{background-color:var(--ht)}
.doc-hl:focus-visible{outline:2px solid var(--terra-text);outline-offset:2px}
.doc-pop{position:absolute;z-index:5;top:0;left:0;width:min(344px,calc(100% - 24px));padding:14px 16px 18px 18px;border:1px solid var(--line);border-radius:var(--r-card);background:#FDFCF9;box-shadow:0 18px 44px rgb(4 13 30/.16),0 2px 6px rgb(4 13 30/.06);font-family:var(--sans);color:var(--ink)}
.doc-pop[hidden]{display:none}
.doc-pop.is-in{animation:docPop .24s var(--ease) both}
@keyframes docPop{from{opacity:0;transform:translateY(var(--from,6px))}to{opacity:1;transform:none}}
.doc-pop-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -6px 6px 0}
.doc-pop-lvl{display:flex;align-items:center;gap:8px;font:500 12.5px/1 var(--sans);color:#3A3A3A}
.doc-pop-lvl b{display:grid;place-items:center;width:20px;height:20px;font:600 12px/1 var(--sans)}
.doc-pop-x{position:relative;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:0;background:none;color:var(--ink);cursor:pointer}
.doc-pop-x::before{content:"";position:absolute;inset:-6px}
.doc-pop-x .i{width:16px;height:16px}
.doc-pop-x:focus-visible{outline:2px solid var(--terra-text);outline-offset:0}
.doc-pop-t{margin:0;font:400 19px/1.25 var(--serif);letter-spacing:-.005em}
.doc-pop-k{margin:4px 0 0;font:400 12.5px/1.4 var(--sans);color:var(--muted)}
.doc-pop-d{margin:12px 0 0;font:400 14px/1.55 var(--sans);color:#2B3443}
.doc-pop-s{display:grid;gap:3px;margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line);font:400 12.5px/1.4 var(--sans);color:var(--muted)}
.doc-pop-s[hidden]{display:none}
.doc-pop-src{color:var(--ink)}
@media (prefers-reduced-motion:reduce){.doc-pop.is-in{animation:none}}

/* Owner feedback 6 (2026-11-03): the router cards drop the app screenshots ("ditch the ui photos atm") and show the
   paintings only, so the cards are shorter. */
@media (min-width:768px){.router{height:clamp(440px,36vw,560px)}}
@media (max-width:767px){.route{height:360px}}

/* Owner feedback 7 (2026-11-03): the document is draggable (mouse and pen) and its text is bigger. */
.doc-view{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:auto}
.doc-view.is-dragging{cursor:grabbing}
.doc-view.is-dragging .doc-hl{cursor:grabbing}
.doc-paper{width:min(540px,86cqi)}
.doc-flow{padding-top:60px;font-size:16px;line-height:1.66}
.doc-h{margin:26px 0 9px;font-size:13px}
.doc-h .doc-n{font-size:13px}
.doc-p{grid-template-columns:38px minmax(0,1fr);margin-bottom:8px}
.doc-n{font-size:14px}
.doc-sign{margin-left:38px;font-size:13px}
@container (max-width:520px){.doc-flow{font-size:14.5px;padding-top:44px}.doc-p{grid-template-columns:32px minmax(0,1fr)}.doc-paper{width:90cqi}}

/* Owner feedback (2026-11-04): the document fills the whole panel, no sand margin and no paper shadow. It is a little
   off-white: --cream, one step under the canvas, so the panel still reads against the page. The text keeps its measure
   on a wide panel. */
.calm-stage{background:var(--cream);box-shadow:inset 0 0 0 1px var(--line)}
.doc-paper{left:0;width:100%;transform:none;background:none;box-shadow:none}
.doc-flow{padding-inline:max(clamp(22px,7cqi,40px),calc((100cqi - 620px) / 2))}
.calm-btn{background:rgb(245 242 236/.9)}

/* Owner feedback 8 (2026-11-03): the film (since 2026-11-14 the 60 s TV ad lakitulkki_tv_60s_v3, web encodes in
   media/) sits in the "Oletko täysin varma" section the way harvey.ai presents its video: a centred head, then a wide
   framed poster with a round play button. Nothing loads before the press; then it plays inline with sound and the
   native controls. Without JS the native player shows. */
.ongelma--film{text-align:center}
.film-head{max-width:860px;margin:0 auto}
.film-head h2{text-wrap:balance}
.film-head p{max-width:60ch;margin:22px auto 0;font-size:19px;line-height:1.55}
.film-head .ongelma-p1{color:var(--muted)}
.film-head .ongelma-p1+.ongelma-p2{margin-top:14px}
.film{position:relative;margin-top:clamp(40px,5vw,64px);overflow:hidden;border-radius:var(--r-panel);background:#0b1a33;aspect-ratio:16/9}
.film-video{display:block;width:100%;height:100%;object-fit:cover;background:#0b1a33}
.film-play{position:absolute;left:50%;top:50%;z-index:2;display:grid;place-items:center;width:76px;height:76px;margin:-38px 0 0 -38px;padding:0;border:0;border-radius:50%;background:rgb(255 255 255/.30);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;cursor:pointer;transition:background-color .3s var(--ease),transform .2s var(--ease)}
.film-play .i{width:24px;height:24px;margin-left:3px}
.film-play:hover,.film-play:focus-visible{background:rgb(255 255 255/.45)}
.film-play:active{transform:scale(.96)}
.film-play:focus-visible{outline:2px solid #fff;outline-offset:4px}
.film.is-playing .film-play{opacity:0;pointer-events:none}
@media (max-width:767px){.film-head p{font-size:17px}.film-play{width:60px;height:60px;margin:-30px 0 0 -30px}.film-play .i{width:20px;height:20px}}
/* The play button must read on any poster area (the poster's centre is the white document): a navy glass disc. */
.film-play{background:rgb(4 13 30/.58);box-shadow:inset 0 0 0 1px rgb(255 255 255/.45),0 8px 24px rgb(4 13 30/.25)}
.film-play:hover,.film-play:focus-visible{background:rgb(4 13 30/.74)}

/* Owner feedback 9 (2026-11-03): out of the container, on the page itself, and the film plays silently in the
   background like harvey.ai's; the play button restarts it with sound. The frame spans the same width as the panels. */
.ongelma--film{padding:clamp(24px,4vw,56px) 0 0}
.ongelma--film .film-head{padding-inline:var(--pad-x)}
.ongelma--film .film{margin-top:clamp(40px,4.5vw,64px)}
.film.is-sound .film-play{opacity:0;pointer-events:none}
.film.is-playing .film-play{opacity:1;pointer-events:auto}
.film.is-sound.is-playing .film-play{opacity:0;pointer-events:none}
/* Owner feedback 10 (2026-11-03): narrower on desktop (about two thirds of the view); tablets and phones keep the
   full width. */
@media (min-width:1024px){.ongelma--film .film{width:min(100%,clamp(880px,66vw,1280px));margin-inline:auto}}
/* The film opens on white small print, so the frame keeps a hairline edge against the paper page. */
.ongelma--film .film{box-shadow:0 0 0 1px var(--line),0 24px 60px rgb(4 13 30/.08)}

/* Owner feedback 12 (2026-11-03): the top bar copies light.inc/product exactly (studied live: nav.nav .nav-blur).
   Six stacked backdrop blurs (0.5, 1, 2, 4, 8, 16 px), each masked to an overlapping band of the bar, so the blur
   grows towards the very top edge; over them a 5 % wash of the colour of whatever is under the bar (--wash, eased over
   .3 s by main.js), fading to nothing. Phones (below 900 px) get light's frosted bar instead. Replaces the earlier
   three-layer version and its paper wash. */
@property --wash{syntax:"<color>";inherits:true;initial-value:#FAF8F4}
.nav-blur{--wash:var(--canvas);height:62px;transition:--wash .3s}
.nav-blur i{position:absolute;inset:0}
.nav-blur i:nth-child(1){-webkit-backdrop-filter:blur(.5px);backdrop-filter:blur(.5px);-webkit-mask:linear-gradient(to top,transparent 0%,#000 0%,#000 16.7%,transparent 33.3%);mask:linear-gradient(to top,transparent 0%,#000 0%,#000 16.7%,transparent 33.3%)}
.nav-blur i:nth-child(2){-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);-webkit-mask:linear-gradient(to top,transparent 0%,#000 16.7%,#000 33.3%,transparent 50%);mask:linear-gradient(to top,transparent 0%,#000 16.7%,#000 33.3%,transparent 50%)}
.nav-blur i:nth-child(3){-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);-webkit-mask:linear-gradient(to top,transparent 16.7%,#000 33.3%,#000 50%,transparent 66.7%);mask:linear-gradient(to top,transparent 16.7%,#000 33.3%,#000 50%,transparent 66.7%)}
.nav-blur i:nth-child(4){-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);-webkit-mask:linear-gradient(to top,transparent 33.3%,#000 50%,#000 66.7%,transparent 83.3%);mask:linear-gradient(to top,transparent 33.3%,#000 50%,#000 66.7%,transparent 83.3%)}
.nav-blur i:nth-child(5){-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-mask:linear-gradient(to top,transparent 50%,#000 66.7%,#000 83.3%,transparent 100%);mask:linear-gradient(to top,transparent 50%,#000 66.7%,#000 83.3%,transparent 100%)}
.nav-blur i:nth-child(6){-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);-webkit-mask:linear-gradient(to top,transparent 66.7%,#000 83.3%);mask:linear-gradient(to top,transparent 66.7%,#000 83.3%)}
.nav-blur::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,color-mix(in srgb,var(--wash) 5%,transparent),color-mix(in srgb,var(--wash) 0%,transparent))}
@media (max-width:899px){
  html.is-stuck .nav-blur{display:none}
  .site-nav{transition:background-color .2s,box-shadow .2s}
  html.is-stuck .site-nav{background:color-mix(in srgb,var(--canvas) 96%,transparent);-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);box-shadow:0 1px 0 var(--line)}
}
@media (prefers-reduced-transparency:reduce){.nav-blur{display:none!important}}

/* Top bar fix: the fade-in was a CSS animation with fill "both", which keeps an opacity effect applied, and that made
   .nav-blur a backdrop root: its six layers blurred nothing. Like light.inc, an opacity transition that ends at 1. */
@media (min-width:900px){
  .nav-blur{display:block;opacity:0;transition:opacity .3s var(--ease),--wash .3s}
  html.is-stuck .nav-blur{display:block;opacity:1;animation:none}
}
/* Owner feedback 16 (2026-11-03): no announcement strip (the header now starts at the top, so it sticks at 0 and the
   stuck state begins after the first 8 px of scroll), and the nav CTA is navy. */
.site-head{top:0}
#top-sentinel{top:8px}
.btn--navy{background:var(--navy);color:var(--cream);box-shadow:var(--sh-pill)}
.btn--navy:hover{background:#0E2A52}
.btn--navy:focus-visible{outline-color:var(--navy)}
/* With the strip gone, the header is 72 px: the hero's above-the-fold height gives the 44 px back. */
@media (min-width:1280px){.hero{--atf:max(636px,calc(100svh - 72px - 16px - clamp(12px,5svh - 8px,40px)))}}

/* Owner feedback 18 (2026-11-03): one shorter paragraph in one colour under "Oletko täysin varma". */
.film-head .film-lede{max-width:58ch;margin:22px auto 0;font-size:19px;line-height:1.55;color:#2B3443}
@media (max-width:767px){.film-head .film-lede{font-size:17px}}
/* Owner feedback 19 (2026-11-03): no glass container around the LAKITULKKI wordmark, stuck or not. */
.nav-a .wm::before{content:none}
/* Owner feedback 20 (2026-11-03): over dark areas (data-nav="dark": the waves panel, dark paintings, the router, the
   footer) each part of the bar turns light, the way light.inc's .nav.dark does. */
.nav-a .wm,.nav-pill,.nav-pill a,.nav-cta,.menu-link,.menu-btn{transition:color .3s var(--ease),background-color .3s var(--ease),border-color .3s var(--ease),box-shadow .3s var(--ease)}
.site-head.dark-a .nav-a .wm{color:var(--cream)}
.site-head.dark-b .nav-pill{background:rgb(31 32 34/.55);box-shadow:inset 0 0 0 1px rgb(255 255 255/.16)}
.site-head.dark-b .nav-pill a{color:#fff}
.site-head.dark-b .nav-pill a:hover{background:rgb(255 255 255/.14)}
.site-head.dark-c .nav-cta{background:var(--cream);color:var(--ink)}
.site-head.dark-c .menu-link,.site-head.dark-c .menu-btn{color:var(--cream)}
.doc-pop-lvl[hidden],.doc-pop-k[hidden]{display:none}
/* Owner feedback 2026-11-03 (top bar): three items only, no outline ring on the pill, no terracotta square. The current
   page's item is a flat full grey with 4px corners, no shadow or other effect; hover on the others is a lighter wash. */
.nav-pill.glass{box-shadow:0 4px 16px rgb(4 13 30/.06)}
.nav-pill a{border-radius:4px}
.nav-pill a:not([aria-current="page"]):hover{background:rgb(4 13 30/.04)}
.nav-pill a[aria-current="page"],.nav-pill a[aria-current="page"]:hover{background:#E4E3E1;box-shadow:none}
.site-head.dark-b .nav-pill{box-shadow:none}
.site-head.dark-b .nav-pill a:not([aria-current="page"]):hover{background:rgb(255 255 255/.09)}
.site-head.dark-b .nav-pill a[aria-current="page"],.site-head.dark-b .nav-pill a[aria-current="page"]:hover{background:#4A4C50;box-shadow:none}
.sheet-row[aria-current="page"]{margin:0 -12px;padding:12px;border-radius:4px;background:#E4E3E1}

/* Owner feedback 21 (2026-11-04): the start view on a phone, up to 899 px (where the hamburger bar starts).
   1. No scrollable document: the hero's example document is not shown.
   2. The water panel is the whole first screen: edge to edge, as tall as the screen (svh), behind the bar.
   3. "Aloita analyysi" sits at the bottom of the panel, where the thumb is.
   4. The bar's own "Aloita analyysi" waits until the hero has been scrolled past (main.js initHeroCta sets html.past-hero;
      the button is hidden by html.js:not(.past-hero), so with no JS it stays).
   5. The copy is centred, across and down: the headline and the lede are centre-aligned, and the block sits halfway between
      the bar and the button (auto margins), so it holds its place on any screen height.
   6. No pause button on the water video, at any width (owner, 2026-11-04: it was removed on the phone start view first,
      then everywhere). The video still stays still under reduced motion and while off screen
      (designs/taste/hero-video.js); the button's corner is no longer reserved on the audience pages.
   The bar belongs to the hero while the hero is in view: clear, cream type over the water from the first paint, no wash and
   no hairline, and it scrolls away with the hero (sticky with a negative top) instead of running over the headline. Once
   the hero is passed it comes back as the paper bar, with the button. A stuck bar over a dark area further down stays
   paper with ink type (it was paper with cream type on it). */
.hero-video-toggle{display:none}
@media (max-width:899px){
  :root{--bar:64px}
  .hero{display:block;margin-inline:0;margin-top:calc(-1 * var(--bar))}
  .hero .stage-wrap{display:none}
  .hero-copy{min-height:100vh;min-height:100svh;justify-content:flex-start;border-radius:0;padding:calc(var(--bar) + 16px) var(--pad-x) max(24px,env(safe-area-inset-bottom));text-align:center}
  .hero-group{display:flex;flex:1 1 auto;flex-direction:column}
  .hero-h1{margin-top:auto}
  .hero-lede{margin-inline:auto}
  .hero-ctas{flex-direction:column;align-items:stretch;gap:12px;margin-top:auto;padding-top:32px}
  .hero-ctas .btn{width:100%;height:52px}
  .hero-ctas .link-arrow{align-self:center}
  .nav-cta{transition:color .3s var(--ease),background-color .3s var(--ease),border-color .3s var(--ease),box-shadow .3s var(--ease),opacity .25s var(--ease),visibility 0s}
  html.js:not(.past-hero) .nav-cta{visibility:hidden;opacity:0;pointer-events:none;transition:opacity .25s var(--ease),visibility 0s linear .25s}
  html.js:not(.past-hero) .nav-a .wm,html.js:not(.past-hero) .menu-link,html.js:not(.past-hero) .menu-btn{color:var(--cream)}
  .site-head{transition:top .3s var(--ease)}
  html.js:not(.past-hero) .site-head{top:calc(-1 * var(--bar))}
  html.js:not(.past-hero) .site-nav::before{opacity:0}
  html.js:not(.past-hero) .site-nav{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
  html.past-hero.is-stuck .site-head.dark-a .nav-a .wm,html.past-hero.is-stuck .site-head.dark-c .menu-link,html.past-hero.is-stuck .site-head.dark-c .menu-btn{color:var(--ink)}
  html.past-hero.is-stuck .site-head.dark-c .nav-cta{background:var(--navy);color:var(--cream)}
  /* The terracotta focus ring is about 2.5:1 on the water: the bar's controls and the skip link take the cream ring while the bar is over it */
  html.js:not(.past-hero) .site-head :focus-visible,html.js:not(.past-hero) .skip-link:focus{outline-color:var(--cream)}
}

/* Owner feedback 22 (2026-11-05): outerview.app's card surface (.hwo-c) on the panels. Three shadows: a 1 px ring in place of
   a border, a 1 px contact shadow, and a wide drop whose negative spread keeps it under the panel, so it only shows as a
   pool below. Their colours are brown; here they are our ink. Corners stay 8px (Harvey's rule). */
:root{--sh-plate:0 0 0 1px rgb(4 13 30/.07),0 1px 2px rgb(4 13 30/.04),0 30px 60px -40px rgb(4 13 30/.35)}
.panel,.calm-stage,.route,.dg{box-shadow:var(--sh-plate)}
/* The sand panels stay flat */
.panel--sand{box-shadow:none}
/* The start view on a phone is full-bleed, and the handoff's photo panel turns into a plain stack */
@media (max-width:899px){.hero-copy{box-shadow:none}}
@media (max-width:767px){.ho-photo{box-shadow:none}}
