/* Lauteeni.fi - brändivärit: musta, beige (RGB 221, 199, 160) ja valkoinen */
:root {
  --musta: #000000;
  --tumma: #15110D;
  --tumma-2: #221B15;
  --beige: #DDC7A0;
  --beige-syva: #C4A877;
  --beige-vaalea: #F4EEE3;
  --valkoinen: #FFFFFF;
  --teksti-2: #55504A;
  --viiva: #E2D9CA;
  --viiva-tumma: rgba(255,255,255,.16);
  --display: "Jost", "Futura", system-ui, sans-serif;
  --body: "Lora", Georgia, serif;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--musta); background: var(--valkoinen); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: .01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--beige-syva); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--musta); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- painikkeet ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--musta); background: var(--musta); color: #fff; font: 500 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--tumma-2); border-color: var(--tumma-2); }
.btn-beige { background: var(--beige); border-color: var(--beige); color: var(--musta); }
.btn-beige:hover { background: #E9D8B9; border-color: #E9D8B9; }
.btn-line { background: transparent; color: var(--musta); border-color: var(--musta); }
.btn-line:hover { background: var(--musta); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost-light:hover { background: #fff; color: var(--musta); border-color: #fff; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--beige-syva); }

/* ---------- ylätunniste ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(21,17,13,.97); color: #fff; border-bottom: 1px solid var(--viiva-tumma); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 24px; }
.logo { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; }
.logo img { width: 168px; height: auto; }
.logo-sub { font: 500 10px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { text-decoration: none; font: 500 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; color: #fff; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--beige); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 6px auto; transition: transform .2s; }

/* ---------- kuvapaikat ---------- */
.photo { position: relative; overflow: hidden; background: radial-gradient(130% 100% at 50% 100%, #3A2B1F 0%, var(--tumma) 75%); }
.photo > svg, .photo > .cms-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.cms-photo { object-fit: cover; display: block; }
.cms-photo.is-render { object-fit: contain; background: var(--beige-vaalea); padding: 6% 6% 22%; }
.photo-tag { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(255,255,255,.92); color: var(--musta); font: 500 12px/1 var(--display); letter-spacing: .02em; padding: 6px 10px; border-radius: 999px; pointer-events: none; }
.photo.has-photo .photo-tag { display: none; }

/* ---------- etusivun hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header)); display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; }
.hero > .photo { position: absolute; inset: 0; }
.hero > .photo > .cms-photo, .hero > .photo > svg { transform: scale(1.06); transition: transform 2.6s cubic-bezier(.2,.7,.2,1); }
.hero.is-in > .photo > .cms-photo, .hero.is-in > .photo > svg { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 50%, rgba(10,7,4,.55) 0%, rgba(10,7,4,.25) 70%), linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(10,7,4,.55) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; padding-top: 60px; padding-bottom: 60px; }
.hero-logo { width: min(372px, 47vw); height: auto; opacity: 0; transform: translateY(14px); transition: opacity 1.2s ease .2s, transform 1.2s cubic-bezier(.2,.7,.2,1) .2s; }
.hero.is-in .hero-logo { opacity: 1; transform: none; }
.hero-slogan { font: 500 clamp(13px, 1.4vw, 17px)/1 var(--display); letter-spacing: .32em; text-transform: uppercase; }
.hero-title { margin-top: 26px; font: italic 400 clamp(19px, 2vw, 24px)/1.4 var(--body); letter-spacing: 0; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------- osiot ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow { display: block; font: 600 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #8A6B3E; }

/* tunnelmateksti */
.feel { background: var(--beige-vaalea); }
.feel-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.statement { font: 500 clamp(36px, 5.4vw, 72px)/1.05 var(--display); letter-spacing: .005em; max-width: 12ch; }
.feel-text { display: grid; gap: 18px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: #3A342D; max-width: 52ch; }

/* laudepaketit etusivulla */
.pkgs { padding: clamp(24px, 4vw, 56px) 0 clamp(64px, 8vw, 112px); }
.pkg { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; text-decoration: none; color: var(--musta); border-bottom: 1px solid var(--viiva); }
.pkg:last-child { border-bottom: 0; }
.pkg-flip .pkg-photo { order: 2; }
.pkg-photo { aspect-ratio: 4 / 5; border-radius: 6px; max-height: 720px; }
.pkg-photo .cms-photo { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pkg:hover .pkg-photo .cms-photo { transform: scale(1.03); }
.pkg-text { display: grid; gap: 16px; align-content: center; max-width: 480px; }
.pkg-name { font: 400 clamp(64px, 8vw, 112px)/.95 var(--body); letter-spacing: -.01em; }
.pkg-mood { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; }
.pkg-note { color: var(--teksti-2); }
.pkg-facts { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0 28px; border-top: 1px solid var(--viiva); }
.pkg-facts div { display: contents; }
.pkg-facts dt, .pkg-facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--viiva); }
.pkg-facts dt { font: 600 12px/1.6 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #8A6B3E; }
.pkg-facts dd { font: 500 18px/1.3 var(--display); }
.pkg .go { justify-self: start; margin-top: 10px; display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--musta); color: #fff; font: 500 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; transition: background .15s, color .15s; }
.pkg:hover .go { background: var(--beige); color: var(--musta); }

/* meistä */
.about { background: var(--beige-vaalea); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-head { display: grid; gap: 18px; }
.about-head h2 { font: 400 clamp(44px, 5.4vw, 76px)/1 var(--body); letter-spacing: -.01em; }
.about-lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; max-width: 34ch; }
.about-text { display: grid; gap: 18px; font-size: 18px; line-height: 1.7; color: #3A342D; max-width: 60ch; }
.about-end { font-style: italic; }
.about-text .btn { justify-self: start; margin-top: 8px; }

.about-text { grid-row: span 2; }
.team { grid-column: 1; align-self: start; margin-top: clamp(24px, 3vw, 40px); }
.member { margin: 0; display: inline-grid; justify-items: center; text-align: center; gap: 12px; }
.member-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; background: #fff; }
.member figcaption { display: grid; gap: 2px; }
.member strong { font: 500 18px/1.2 var(--display); letter-spacing: .03em; }
.member span { font: 500 13px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #8A6B3E; }

.pkg-desc { display: grid; gap: 12px; color: #6B4A2E; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; }
.specs-intro { display: grid; gap: 14px; }

/* instagram */
.insta { background: #fff; }
.insta .wrap { display: grid; gap: 28px; justify-items: start; }
.insta-head { display: grid; gap: 12px; max-width: 60ch; }
.insta-head h2 { font: 400 clamp(36px, 4.4vw, 60px)/1.05 var(--body); }
.insta-head p { color: var(--teksti-2); font-size: 18px; }
.insta-feed { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.insta-feed.has-posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.insta-feed .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
.insta-tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--beige-vaalea); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.insta-tile:hover img { transform: scale(1.04); filter: brightness(.85); }

/* näkyviin selatessa */
.js-reveal .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

.features { background: var(--beige-vaalea); padding: clamp(40px, 5vw, 64px) 0; }
.features ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.features li { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 6px 22px; border-left: 1px solid var(--viiva); }
.features li:first-child { border-left: 0; }
.features svg { width: 52px; height: 52px; fill: none; stroke: var(--musta); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 8px; }
.features h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.features p { font-size: 15px; color: var(--teksti-2); max-width: 24ch; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: s; border-top: 1px solid var(--musta); }
.steps li { counter-increment: s; padding: 26px 32px 0 0; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 44px/1 var(--display); color: var(--beige-syva); margin-bottom: 18px; }
.steps h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.steps p { color: var(--teksti-2); }

.b2b { background: var(--tumma); color: #fff; }
.b2b .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: end; }
.b2b h2 { font-size: clamp(32px, 4.2vw, 54px); text-transform: uppercase; letter-spacing: .04em; }
.b2b p { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 46ch; }

.posts { display: grid; border-top: 1px solid var(--viiva); }
.post-link { display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--viiva); text-decoration: none; }
.post-link:hover h3 { text-decoration: underline; text-decoration-color: var(--beige-syva); text-underline-offset: 6px; }
.post-link .topic { font: 500 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--beige-syva); }
.post-link h3 { font: 500 23px/1.25 var(--body); letter-spacing: 0; }
.post-link span:last-child { color: var(--teksti-2); font-size: 15px; }

.design-cta { position: relative; color: #fff; text-align: center; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.design-cta > .photo { position: absolute; inset: 0; }
.design-cta::after { content: ""; position: absolute; inset: 0; background: rgba(12,8,5,.62); }
.design-cta .wrap { position: relative; z-index: 2; display: grid; justify-items: center; gap: 28px; }
.design-cta-text { font: 400 clamp(26px, 3.4vw, 42px)/1.25 var(--body); max-width: 28ch; }
.design-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- alatunniste ---------- */
.site-footer { background: var(--tumma); color: #fff; padding: 64px 0 40px; }
body:not(.is-home):not(.is-product) .site-footer { margin-top: clamp(72px, 10vw, 128px); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer .logo { align-items: flex-start; }
.site-footer .logo img { width: 220px; }
.footer-desc { margin-top: 18px; max-width: 36ch; color: rgba(255,255,255,.7); }
.site-footer h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; color: var(--beige); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--viiva-tumma); padding-top: 22px; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.55); }

/* ---------- kelluvat: tarjouspainike ja chat ---------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 40; min-height: 52px; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .25s, opacity .25s; }
.float-cta[data-hidden] { transform: translateY(24px); opacity: 0; pointer-events: none; }
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; background: none; border: 0; padding: 0; cursor: pointer; }
.chat-fab .bubble { display: block; background: var(--beige); color: var(--musta); font: 500 16px/1 var(--display); letter-spacing: .02em; padding: 15px 22px; border-radius: 22px 22px 6px 22px; box-shadow: 0 8px 26px rgba(0,0,0,.28); }
.chat-open .chat-fab { display: none; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 41; width: min(380px, calc(100vw - 24px)); height: min(540px, calc(100dvh - 110px)); background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; }
.chat[hidden] { display: none; }
.chat-head { background: var(--tumma); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.chat-head strong { display: block; font: 500 16px/1.2 var(--display); letter-spacing: .04em; }
.chat-head span { font-size: 13px; opacity: .75; }
.chat-head .x { background: rgba(255,255,255,.12); color: #fff; width: 38px; height: 38px; font-size: 22px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg-bot { background: var(--beige-vaalea); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-user { background: var(--musta); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-action { display: table; margin-top: 8px; background: #fff; border: 1px solid var(--musta); color: var(--musta); font: 500 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chat-chips button { border: 1px solid var(--viiva); background: #fff; border-radius: 999px; padding: 7px 12px; font: 400 14px var(--body); cursor: pointer; }
.chat-chips button:hover { border-color: var(--musta); }
.chat form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--viiva); }
.chat form input { flex: 1; border: 1px solid var(--viiva); border-radius: 999px; padding: 10px 16px; font: 16px var(--body); min-width: 0; }
.chat form input:focus { outline: none; border-color: var(--musta); }
.chat form button { border: 0; background: var(--musta); color: #fff; border-radius: 999px; padding: 0 18px; font: 500 13px var(--display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }

/* ---------- alasivun otsake ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(38px, 6vw, 76px); text-transform: uppercase; letter-spacing: .03em; }
.page-head p { margin-top: 18px; font-size: 19px; color: var(--teksti-2); max-width: 56ch; }

/* ---------- tuotesivu (tuotekortin mukaan) ---------- */
.product { --bg: var(--beige-vaalea); --fg: var(--musta); --muted: var(--teksti-2); --accent: #8A6B3E; --box: #5B4030; --box-fg: #fff; --line: #D9CCB7;
  background: var(--bg); color: var(--fg); padding: clamp(24px, 3vw, 36px) 0 clamp(40px, 6vw, 72px); transition: background .3s; }
.product[data-tone="koto"] { --bg: #F2E6D5; --accent: #8A5A33; --box: #6B4428; --box-fg: #fff; --line: #DCCAB2; }
.product[data-tone="salo"] { --bg: #D9BC9C; --fg: #2B1D12; --muted: #4A3626; --accent: #5E3B20; --box: #4E3120; --box-fg: #fff; --line: #BF9F7E; }
.product[data-tone="kajo"] { --bg: #F6F5EF; --accent: #3F4A40; --box: #DDE6DA; --box-fg: #1F2A22; --line: #C9D1C6; }
.product[data-tone="usva"] { --bg: #2A201C; --fg: #F6EEE3; --muted: rgba(246,238,227,.78); --accent: #E3B48A; --box: #E3B48A; --box-fg: #2A201C; --line: rgba(246,238,227,.22); }
.model-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: clamp(24px, 3vw, 40px); }
.model-tabs button { border: 0; background: transparent; font: 500 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 12px 22px; border-radius: 999px; cursor: pointer; color: var(--fg); }
.model-tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.sheet { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.sheet-text { display: grid; gap: 14px; align-content: start; }
.sheet-text .eyebrow { color: var(--accent); }
.sheet-name { font: 400 clamp(72px, 10vw, 140px)/.92 var(--body); letter-spacing: -.01em; margin: 4px 0 8px; }
.sheet-mood { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.45; max-width: 26ch; }
.sheet-note { color: var(--muted); max-width: 40ch; }
.sheet-price { background: var(--box); color: var(--box-fg); padding: 18px 26px 20px; margin: 14px 0 18px; max-width: 420px; display: grid; gap: 6px; }
.sheet-price span { font: 600 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.sheet-price strong { font: 600 clamp(32px, 3.4vw, 42px)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.sheet-mat { font: 400 clamp(22px, 2.2vw, 28px)/1.3 var(--body); }
.sheet-intro { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); max-width: 54ch; }
.sheet-features { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.stage-main { position: relative; overflow: hidden; aspect-ratio: 3 / 4; max-height: 78vh; background: var(--tumma); width: 100%; }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.stage-main .load-3d { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,.35); white-space: nowrap; }
.stage-main.is-live { aspect-ratio: 4 / 3; }
.stage-main.is-live .load-3d, .stage-main.is-live .stage-img, .stage-main.is-live .stage-cap { display: none; }
.stage-cap { position: absolute; left: 14px; top: 14px; font: 500 12px/1 var(--display); color: #fff; background: rgba(0,0,0,.45); padding: 6px 10px; border-radius: 999px; }

.sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-big { min-height: 56px; padding: 0 30px; font-size: 15px; }
.product .btn:not(.btn-beige):not(.btn-line) { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.product .btn-line { color: var(--fg); border-color: var(--fg); background: transparent; }
.product .btn-line:hover { background: var(--fg); color: var(--bg); }
.sheet-how { font-size: 15px; color: var(--muted); max-width: 44ch; }

.specs { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); background: #fff; }
.specs-intro { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; max-width: 64ch; margin-bottom: clamp(32px, 4vw, 56px); }
.specs .sheet-features { margin: -28px 0 40px; }
.shapes-wrap { display: grid; gap: 18px; margin-bottom: clamp(48px, 6vw, 80px); }
.shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shape { display: grid; align-content: start; justify-items: center; text-align: center; gap: 6px; padding: 26px 16px 22px; background: #fff; border: 1px solid var(--viiva); border-radius: 6px; cursor: pointer; color: var(--musta); font: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.shape:hover { border-color: var(--musta); box-shadow: 0 10px 28px rgba(21,17,13,.10); transform: translateY(-2px); }
.shape-ico { width: 84px; height: 84px; margin-bottom: 8px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.shape strong { font: 500 17px/1.2 var(--display); letter-spacing: .04em; }
.shape small { font-size: 14px; color: var(--teksti-2); line-height: 1.4; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.col-title { font: 400 clamp(36px, 3.6vw, 48px)/1 var(--body); padding-bottom: 18px; border-bottom: 1px solid var(--musta); }
.equip { width: 100%; border-collapse: collapse; }
.equip th, .equip td { padding: 15px 0; border-bottom: 1px solid var(--viiva); text-align: left; font: 400 17px/1.3 var(--display); vertical-align: top; }
.equip td { text-align: right; font-weight: 600; padding-left: 16px; }
.equip .is-no th, .equip .is-no td { color: #9A9188; }
.quote-band { margin-top: clamp(48px, 6vw, 80px); background: var(--tumma); color: #fff; border-radius: 6px; padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.quote-band h2 { font: 400 clamp(28px, 3vw, 40px)/1.1 var(--body); }
.quote-band p { margin-top: 10px; color: rgba(255,255,255,.78); max-width: 56ch; }
.config-box textarea { min-height: 72px !important; }
.pricebox { margin-top: 8px; background: var(--tumma); color: #fff; border-radius: 6px; padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 16px; }
.pricebox-top { display: grid; line-height: 1.15; gap: 4px; }
.pricebox-top span { font: 600 12px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--beige); }
.pricebox-top strong { font: 600 32px/1.15 var(--display); font-variant-numeric: tabular-nums; }
.pricebox small { grid-column: 1 / -1; font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.5; }
.mbar { display: none; }

/* ---------- yrityksille ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 17px; }
.spec th, .spec td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--viiva); vertical-align: top; }
.spec th { width: 38%; font: 500 15px/1.4 var(--display); letter-spacing: .04em; color: var(--teksti-2); padding-right: 24px; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--musta); }
.b2b-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.b2b-grid h2 { font-size: clamp(24px, 2.8vw, 32px); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 20px; }
.plain-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 17px; }

/* ---------- lomakkeet ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font: 500 14px/1.2 var(--display); letter-spacing: .04em; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; font: 400 16px/1.4 var(--body); padding: 13px 14px; border: 1px solid #CFC5B5; border-radius: 6px; background: #fff; color: var(--musta); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--musta); box-shadow: 0 0 0 1px var(--musta); }
.field textarea { min-height: 120px; resize: vertical; }
.form-error { color: #B42318; min-height: 1em; }
.sent { background: var(--beige-vaalea); border-radius: 8px; padding: 28px; }
.sent h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.form-card { background: var(--beige-vaalea); border-radius: 8px; padding: clamp(22px, 3vw, 36px); }
.form-card .field input, .form-card .field textarea { border-color: #fff; }

/* ---------- dialogi ---------- */
dialog { border: 0; border-radius: 10px; padding: 0; width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 32px); color: var(--musta); }
dialog::backdrop { background: rgba(10, 7, 4, .6); }
.dlg-inner { padding: clamp(24px, 4vw, 40px); }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.dlg-head h2 { font-size: 28px; text-transform: uppercase; letter-spacing: .05em; }
.dlg-head p { color: var(--teksti-2); margin-top: 8px; }
.x { border: 0; background: var(--beige-vaalea); width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; flex: none; }
.config-box textarea { background: var(--beige-vaalea); border-color: var(--beige-vaalea); font-size: 14px; min-height: 120px; }

/* ---------- yhteystiedot ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.people { display: grid; border-top: 1px solid var(--musta); }
.person { padding: 22px 0; border-bottom: 1px solid var(--viiva); display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--beige); display: grid; place-items: center; font: 500 22px var(--display); color: var(--musta); }
img.avatar { object-fit: cover; }
.person h3 { font-size: 19px; letter-spacing: .03em; }
.person p { color: var(--teksti-2); font-size: 15px; }
.company-info { margin-top: 32px; font-size: 15px; color: var(--teksti-2); }

/* ---------- blogi ---------- */
.article { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(24px, 5vw, 64px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--viiva); scroll-margin-top: 100px; }
.article header .topic { font: 500 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--beige-syva); }
.article h2 { font: 600 clamp(26px, 3vw, 38px)/1.2 var(--body); letter-spacing: 0; margin-top: 10px; }
.article-body { font-size: 18px; line-height: 1.7; max-width: 64ch; display: grid; gap: 16px; }
.article-body h3 { font: 600 21px/1.3 var(--body); letter-spacing: 0; margin-top: 12px; }
.article-body ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.article-img { width: 100%; border-radius: 8px; margin-bottom: 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--beige-vaalea); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; margin: 0; }
.quote blockquote { margin: 0; font: italic 400 19px/1.5 var(--body); }
.quote figcaption { font: 500 14px var(--display); letter-spacing: .04em; color: var(--teksti-2); }

.demo-badge { position: fixed; left: 12px; bottom: 12px; z-index: 35; background: rgba(0,0,0,.78); color: #fff; font: 500 12px var(--display); padding: 6px 12px; border-radius: 999px; text-decoration: none; }
.nf { min-height: 50vh; display: grid; place-content: center; text-align: center; gap: 20px; padding: 80px 20px; }
.nf h1 { font-size: clamp(40px, 7vw, 80px); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- responsiivisuus ---------- */
@media (max-width: 1020px) {
  .sheet, .specs-grid, .quote-band { grid-template-columns: 1fr; }
  .shapes { grid-template-columns: repeat(2, 1fr); }
  .insta-feed { grid-template-columns: repeat(2, 1fr); }
  .quote-band .btn { justify-self: start; }
  .stage-main { aspect-ratio: 4 / 3; max-height: none; order: -1; }
  .pricebox { display: none; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; background: var(--musta); color: #fff; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--viiva-tumma); }
  .mbar span { display: block; font: 500 11px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--beige); }
  .mbar strong { font: 500 24px var(--display); font-variant-numeric: tabular-nums; }
  .mbar .btn { min-height: 46px; }
  body.is-product .site-footer { padding-bottom: 110px; }
  body.is-product .demo-badge { bottom: 84px; }
  .features ul { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .features li:nth-child(3) { border-left: 0; }
}
@media (max-width: 960px) {
  .feel-inner, .pkg, .about-grid, .b2b .wrap, .contact-grid, .product-top, .article, .b2b-grid { grid-template-columns: 1fr; }
  .pkg-flip .pkg-photo { order: 0; }
  .pkg-photo { aspect-ratio: 4 / 3; }
  .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
  .post-link { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 760px) {
  :root { --header: 72px; }
  .logo img { width: 132px; }
  .logo-sub { font-size: 8px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header) 0 auto 0; background: var(--tumma); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--viiva-tumma); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--viiva-tumma); font-size: 16px; }
  .nav .btn { margin-top: 16px; min-height: 50px; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 84svh; }
  .model-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 12px; width: 100%; }
  .model-tabs button { padding: 12px 4px; font-size: 13px; letter-spacing: .06em; border-radius: 8px; }
  .preview figure svg { height: 110px; }
  .features ul { grid-template-columns: 1fr; }
  .features li { border-left: 0; }
  .float-cta { left: 16px; right: 16px; bottom: 16px; }
  .chat { right: 8px; left: 8px; bottom: 8px; width: auto; }
  .chat-fab { right: 16px; bottom: 16px; }
  .spec th { width: 45%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero > .photo > .cms-photo, .hero > .photo > svg, .hero-logo { transform: none !important; opacity: 1 !important; }
  * { transition-duration: .01ms !important; }
}
