/* =========================================================
   Jan Verkkosivut — dark, photo-led, minimal with wow moments
   ========================================================= */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #120D0A;
  --bg-2: #1B1410;
  --bg-3: #261C16;
  --text: #F3E9DD;
  --muted: #A8998A;
  --line: rgba(243, 233, 221, .12);
  --accent: #C89B6D;
  --dark: #0B0806;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: var(--sans);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.04rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(100px, 16vh, 180px) 0; }
.section + .section { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
.kicker, .eyebrow, .tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
em { font-style: normal; color: var(--accent); }
.title { font-weight: 400; font-size: clamp(2.4rem, 5.4vw, 5.8rem); line-height: .98; letter-spacing: -.055em; max-width: 15ch; text-wrap: balance; }
.title--xl { font-size: clamp(2.8rem, 8vw, 9rem); max-width: none; }
.head { display: grid; gap: 22px; margin-bottom: clamp(44px, 8vh, 90px); }
.head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 34ch); align-items: end; gap: 22px 60px; }
.head--split > div { display: grid; gap: 22px; }
.head__side { color: var(--muted); max-width: 40ch; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; } }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.wd > span { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px;
  border-radius: 4px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--text); color: var(--dark); font-weight: 500; font-size: .98rem; letter-spacing: -.01em;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(.97); }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px rgba(243, 233, 221, .4); }
.btn--line:hover { background: var(--text); color: var(--bg); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter); transition: background .4s, transform .5s var(--ease), padding .4s;
}
.nav.is-solid { background: rgba(18, 13, 10, .86); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.02em; }
.nav__mark { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .94rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__cta { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(243, 233, 221, .4); transition: background .3s, color .3s, box-shadow .3s; }
.nav__cta:hover { background: var(--accent); color: var(--dark); box-shadow: none; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
.nav__burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger i:first-of-type { top: 18px; } .nav__burger i:last-of-type { top: 25px; }
.nav__burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
body.menu-open .nav { background: var(--bg); box-shadow: none; }
.menu { position: fixed; inset: 0; z-index: 35; background: var(--bg); padding: 100px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { text-decoration: none; font-size: clamp(1.9rem, 8.5vw, 3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.25; border-bottom: 1px solid var(--line); padding: 6px 0; }
@media (max-width: 900px) { .nav__links, .nav__cta { display: none; } .nav__burger { display: block; } }

/* ---------- HERO ---------- */
.hero { position: relative; }
.hero__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero__window { position: absolute; inset: 0; z-index: 1; background: var(--dark); clip-path: inset(34% 33% 34% 33% round 12px); }
.hero__window::after { content: ""; position: absolute; inset: 0; background: rgba(11, 8, 6, .06); pointer-events: none; }
.hero__over { position: absolute; z-index: 2; left: 0; right: 0; bottom: 13vh; text-align: center; padding: 0 var(--gutter); font-weight: 500; font-size: clamp(1.6rem, 4.4vw, 4.6rem); letter-spacing: -.05em; line-height: 1; opacity: 0; color: var(--text); text-shadow: 0 4px 40px rgba(0, 0, 0, .4); }

/* Hero canvas: a design workspace instead of photos */
.cv { position: absolute; inset: 0; background: var(--dark) radial-gradient(rgba(243, 233, 221, .09) 1px, transparent 1.3px) 0 0 / 22px 22px; }
.cv__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border-top: 1px solid var(--line); background: rgba(11, 8, 6, .8); font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.cv__bar b { color: var(--text); font-weight: 500; }
.cv__dots { display: flex; gap: 6px; } .cv__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-3); }
.cv__layers, .cv__insp { position: absolute; top: 50%; translate: 0 -50%; width: 190px; padding: 10px; border-radius: 12px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); font-family: var(--mono); font-size: .72rem; color: var(--muted); display: grid; gap: 2px; }
.cv__layers { left: 28px; } .cv__insp { right: 28px; }
.cv__layers li, .cv__insp li { padding: 7px 9px; border-radius: 6px; display: flex; align-items: center; gap: 8px; }
.cv__layers li.is-on { background: rgba(200, 155, 109, .16); color: var(--text); }
.cv__ph { text-transform: uppercase; letter-spacing: .1em; font-size: .64rem; opacity: .7; }
.sw { width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 1px var(--line); }
.cv__board { position: absolute; left: 50%; top: 50%; translate: -50% -50%; --bw: clamp(280px, 28vw, 540px); width: var(--bw); aspect-ratio: 16 / 10; container-type: inline-size; display: grid; grid-template-rows: auto auto auto auto; align-content: space-between; gap: calc(var(--bw) * .03); padding: calc(var(--bw) * .04) calc(var(--bw) * .05); border-radius: 6px; background: #F3E9DD; color: #1E1712; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); will-change: transform; }
.cv__label { position: absolute; left: 0; bottom: calc(100% + 8px); font-family: var(--mono); font-size: .68rem; color: var(--muted); white-space: nowrap; }
.b-nav { display: flex; justify-content: space-between; align-items: center; }
.b-nav b { font-size: 2.5cqw; font-weight: 650; letter-spacing: -.02em; }
.b-nav span { display: flex; gap: 2cqw; } .b-nav span i { width: 6cqw; height: .8cqw; border-radius: 9px; background: rgba(30, 23, 18, .25); }
.b-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4cqw; align-items: center; }
.b-h { font-size: 5.6cqw; font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
.b-h em { color: #9A6A3E; }
.b-l { display: block; height: 1cqw; width: 85%; margin-top: 2.6cqw; border-radius: 9px; background: rgba(30, 23, 18, .14); }
.b-l--s { width: 58%; margin-top: 1.6cqw; }
.b-img { aspect-ratio: 4 / 3; border-radius: 1.4cqw; overflow: hidden; position: relative; background: radial-gradient(circle at 70% 34%, #F0D2A8 0 14%, transparent 14.5%), linear-gradient(170deg, #C89B6D, #6B4A33); }
.b-img i { position: absolute; left: -10%; right: -10%; bottom: -38%; height: 70%; border-radius: 50%; background: #3A2A1F; }
.b-btn { justify-self: start; padding: 1.4cqw 3.2cqw; border-radius: 99px; background: #1E1712; color: #F3E9DD; font-size: 2cqw; font-weight: 600; }
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; } .b-cards i { height: 6cqw; border-radius: 1.2cqw; background: rgba(30, 23, 18, .08); }
.s { position: relative; }
.s::after { content: ""; position: absolute; inset: -1.2cqw; opacity: 0; border: 1.5px solid #B07A45; background: linear-gradient(#B07A45, #B07A45) 0 0 / 7px 7px no-repeat, linear-gradient(#B07A45, #B07A45) 100% 0 / 7px 7px no-repeat, linear-gradient(#B07A45, #B07A45) 0 100% / 7px 7px no-repeat, linear-gradient(#B07A45, #B07A45) 100% 100% / 7px 7px no-repeat; animation: sel 10s infinite backwards; pointer-events: none; }
.s2::after { animation-delay: 2.5s; } .s3::after { animation-delay: 5s; } .s4::after { animation-delay: 7.5s; }
@keyframes sel { 0%, 3% { opacity: 0; } 5%, 23% { opacity: 1; } 25%, 100% { opacity: 0; } }
.cv__cur { position: absolute; inset: 0; pointer-events: none; animation: cur 10s var(--ease) infinite; }
.cv__cur svg { width: 2.6cqw; min-width: 12px; display: block; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.cv__cur span { position: absolute; left: 2.4cqw; top: 3cqw; padding: .3cqw 1.2cqw; border-radius: 4px; background: #B07A45; color: #fff; font-size: 1.6cqw; font-weight: 600; white-space: nowrap; }
@keyframes cur { 0%, 1% { transform: translate(52%, 92%); } 4%, 22% { transform: translate(30%, 12%); } 29%, 47% { transform: translate(34%, 44%); } 54%, 72% { transform: translate(80%, 48%); } 79%, 97% { transform: translate(18%, 76%); } 100% { transform: translate(52%, 92%); } }
.hero__status { position: absolute; right: var(--gutter); top: max(110px, 14vh); display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
.hero__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 2.4s ease-in-out infinite; }
.hero__status span { color: var(--text); }
@keyframes blink { 50% { opacity: .25; } }
@media (max-width: 1180px) { .cv__layers, .cv__insp { display: none; } }
.hero__over span { color: var(--accent); margin: 0 .3em; }
.hero__text { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__text a { pointer-events: auto; }
.hero .kicker { position: absolute; left: var(--gutter); top: max(110px, 14vh); }
.hero__title { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 32vh 1fr; padding: 0 var(--gutter); font-weight: 500; font-size: clamp(3.2rem, 9.2vw, 11.5rem); line-height: .9; letter-spacing: -.06em; }
.hero__l1 { grid-row: 1; align-self: end; justify-self: start; padding-bottom: 1.4vh; }
.hero__l2 { grid-row: 3; align-self: start; justify-self: end; padding-top: 1.4vh; text-align: right; }
.hero__l1, .hero__l2 { display: block; }
.hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 4vh, 44px); display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.hero__lead { max-width: 34ch; color: var(--muted); font-size: .98rem; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: clamp(24px, 4vh, 44px); translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: drop 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 861px) and (max-width: 1200px) { .hero__scroll { display: none; } }
@media (max-width: 860px) {
  .hero__window { clip-path: none; }
  .hero__window::after { background: linear-gradient(180deg, rgba(11, 8, 6, 0) 0%, rgba(11, 8, 6, 0) 42%, rgba(11, 8, 6, .85) 62%, rgba(11, 8, 6, .97) 100%); }
  .hero__over, .hero__scroll, .hero__status, .cv__bar { display: none; }
  .cv__board { top: 76px; translate: -50% 0; --bw: min(70vw, 360px); }
  .cv__label { display: none; }
  .hero__text { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: 100px var(--gutter) 28px; }
  .hero .kicker, .hero__title, .hero__foot { position: static; }
  .hero__title { display: block; padding: 0; font-size: clamp(3rem, 14.5vw, 5.4rem); }
  .hero__l1, .hero__l2 { padding: 0; text-align: left; }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero__lead { color: rgba(243, 233, 221, .82); }
}

/* ---------- Statement ---------- */
.statement .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
.statement__text { font-size: clamp(1.7rem, 1rem + 2.6vw, 3.7rem); line-height: 1.12; letter-spacing: -.04em; font-weight: 450; max-width: 26ch; }
@media (max-width: 760px) { .statement .wrap { grid-template-columns: 1fr; } }

/* ---------- WORK: MV Interior on computer + phone ---------- */
.mv { display: grid; gap: 22px; text-decoration: none; }
.mv__stage { position: relative; padding: 0 9% 8% 0; perspective: 1600px; }
.mv__desk { border-radius: 12px; overflow: hidden; background: #1F1813; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -50px rgba(0, 0, 0, .9); transform-origin: 50% 100%; will-change: transform; }
.mv__bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; }
.mv__bar i { width: 9px; height: 9px; border-radius: 50%; background: #4A3A2E; }
.mv__bar b { margin: 0 auto; padding: 3px 16px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); transform: translateX(-20px); }
.mv__phone { position: absolute; right: 0; bottom: 0; width: 23%; border-radius: 28px; overflow: hidden; border: 7px solid #0A0806; background: #0A0806; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px var(--line); will-change: transform; }
.mv__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; }
.mv__cap p { display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; color: var(--muted); }
.mv__cap b { color: var(--text); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.mv__go { font-weight: 600; transition: color .3s; }
.mv:hover .mv__go { color: var(--accent); }
@media (min-width: 861px) { .mv__stage { width: min(100%, 100vh); margin: 0 auto; } }
@media (max-width: 860px) { .mv__stage { padding: 0 12% 14% 0; } .mv__phone { width: 34%; border-width: 5px; border-radius: 20px; } }

/* ---------- TRY: live mini preview ---------- */
.chk { background: transparent; }
.chk__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.chk__text { display: grid; gap: 22px; }
.chk__list { border-top: 1px solid var(--line); margin-top: 10px; }
.chk__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.chk__row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chk__n { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.chk__t { display: grid; gap: 2px; }
.chk__t b { font-weight: 500; font-size: clamp(1.05rem, .9rem + .5vw, 1.3rem); letter-spacing: -.02em; transition: color .2s; }
.chk__t small { color: var(--muted); font-size: .88rem; }
.chk__box { width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px rgba(243, 233, 221, .35); display: grid; place-items: center; transition: background .2s, box-shadow .2s; }
.chk__box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--dark); border-bottom: 2px solid var(--dark); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .3s var(--ease); }
.chk__row input:checked ~ .chk__box { background: var(--accent); box-shadow: none; }
.chk__row input:checked ~ .chk__box::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.chk__row input:focus-visible ~ .chk__box { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) { .chk__row:hover .chk__t b { color: var(--accent); } }
.chk__card { position: sticky; top: 110px; display: grid; gap: 18px; justify-items: start; padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .5); }
.chk__card .v-cap { margin: 0; }
.chk__score { display: flex; align-items: baseline; gap: 10px; line-height: .9; }
.chk__score b { display: inline-block; font-weight: 500; font-size: clamp(3.4rem, 2.6rem + 2vw, 4.6rem); letter-spacing: -.06em; }
.chk__score b.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: translateY(-10px) scale(1.12); color: var(--accent); } }
.chk__sc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; width: 100%; }
.chk__score span { color: var(--muted); font-size: 1.4rem; }
.chk__bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; width: 100%; }
.chk__bar i { height: 6px; border-radius: 9px; background: var(--bg-3); transition: background .3s; }
.chk__bar i.is-on { background: var(--accent); }
.chk__verdict { font-size: .98rem; line-height: 1.45; color: var(--muted); }
.chk__fix { display: grid; gap: 10px; width: 100%; padding-top: 16px; border-top: 1px solid var(--line); }
.chk__fix[hidden] { display: none; }
.chk__fix ul { display: grid; gap: 6px; }
.chk__fix li { color: var(--muted); font-size: .92rem; padding-left: 18px; position: relative; }
.chk__fix li::first-letter { text-transform: uppercase; }
.chk__fix li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--accent); }
@media (min-width: 861px) { .chk__fix { display: none !important; } }
@media (max-width: 860px) { .chk__grid { grid-template-columns: 1fr; } .chk__card { position: static; } }
/* Rows: number lights up and a line sweeps when ticked */
.chk__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.chk__row:has(input:checked)::after { transform: scaleX(1); }
.chk__row:has(input:checked) .chk__n { color: var(--accent); }
/* Mini site that fixes itself */
.mini { width: 100%; display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: var(--dark) radial-gradient(rgba(243, 233, 221, .08) 1px, transparent 1.3px) 0 0 / 18px 18px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s; }
.mini.is-perfect { box-shadow: inset 0 0 0 1px var(--accent), 0 0 60px -20px rgba(200, 155, 109, .6); }
.mini .mini__yes { display: none; } .mini .mini__no { display: inline; }
.mini__g { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #F3E9DD; color: #1E1712; font-size: .78rem; }
.mini__gl { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #8A7B6C; }
.mini__g .mini__no { color: #8A7B6C; }
.mini__g b { font-weight: 600; }
.mini__g small { color: #6B5D50; }
.mini.ok-google .m-google .mini__no { display: none; } .mini.ok-google .m-google .mini__yes { display: grid; animation: pop2 .5s var(--ease); }
.mini__ph { width: 92%; margin: 0 auto; border-radius: 22px; padding: 6px; background: #0A0806; box-shadow: 0 0 0 1px var(--line); transform: rotate(-4deg) translateX(-6%); transition: transform .8s var(--ease), border-radius .8s; overflow: hidden; }
.mini__in { display: grid; gap: 8px; padding: 14px 12px; border-radius: 17px; background: #F3E9DD; color: #1E1712; zoom: .62; }
.mini.ok-mobile .mini__ph { transform: none; }
.mini.ok-mobile .mini__in { zoom: 1; animation: pop2 .5s var(--ease); }
.mini.ok-mobile .mini__ph { width: 74%; }
.mini__nav { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; }
.mini__nav i { width: 14px; height: 6px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.mini__h { font-weight: 600; font-size: 1.05rem; line-height: 1.05; letter-spacing: -.04em; }
.m-call, .m-info, .m-price, .m-fresh { opacity: .22; outline: 1.5px dashed rgba(30, 23, 18, .5); outline-offset: 2px; border-radius: 6px; transition: opacity .4s, outline-color .4s; }
.mini__call { justify-self: start; padding: 6px 14px; border-radius: 99px; background: #1E1712; color: #F3E9DD; font-size: .72rem; font-weight: 600; }
.mini.ok-call .m-call { background: var(--accent); color: var(--dark); }
.mini__info { display: flex; justify-content: space-between; font-size: .68rem; color: #6B5D50; }
.mini__price { display: grid; gap: 3px; font-size: .7rem; }
.mini__price li { display: flex; justify-content: space-between; padding-bottom: 3px; border-bottom: 1px solid rgba(30, 23, 18, .12); }
.mini__date { font-family: var(--mono); font-size: .6rem; color: #8A7B6C; }
.mini.ok-fresh .m-fresh .mini__no { display: none; } .mini.ok-fresh .m-fresh .mini__yes { display: inline; }
.mini.ok-call .m-call, .mini.ok-info .m-info, .mini.ok-price .m-price, .mini.ok-fresh .m-fresh { opacity: 1; outline-color: transparent; animation: pop2 .5s var(--ease); }
@keyframes pop2 { 0% { transform: scale(.9); } 50% { transform: scale(1.05); } 100% { transform: none; } }


/* ---------- Steps: sticky photo changes per step ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); }
.steps__media { position: sticky; top: 12vh; height: 76vh; border-radius: 12px; overflow: hidden; background: var(--dark) radial-gradient(rgba(243, 233, 221, .08) 1px, transparent 1.3px) 0 0 / 22px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.steps__pic { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; opacity: 0; transition: opacity .9s ease; }
.steps__pic > div { width: min(100%, 420px); transform: translateY(24px) scale(.97); transition: transform 1.2s var(--ease); }
.steps__pic.is-on > div { transform: none; }
.steps__pic.is-on { opacity: 1; }
.steps__pic.is-on img { transform: scale(1); }

/* Step visuals: built from type and shapes, no photos */
.v-cap { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.v-form, .v-kit, .v-msg { padding: 26px; border-radius: 16px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.v-field { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.v-field span { font-size: .78rem; color: var(--muted); }
.v-field b { font-weight: 500; }
.v-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.v-chips i { font-style: normal; font-size: .76rem; padding: 6px 11px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.v-chips i.is-on { background: var(--text); color: var(--bg); box-shadow: none; }
.v-send { display: inline-block; margin-top: 18px; padding: 11px 18px; border-radius: 4px; background: var(--accent); color: var(--dark); font-weight: 600; font-size: .88rem; }
.v-type { display: flex; align-items: end; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.v-type b { font-weight: 600; letter-spacing: -.05em; font-size: 5.4rem; line-height: .8; color: var(--accent); }
.v-type span { font-size: .84rem; color: var(--muted); line-height: 1.5; }
.v-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.v-swatches i { aspect-ratio: 1; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px var(--line); }
.v-wire { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 14px 14px 60px; gap: 8px; }
.v-wire i { border-radius: 6px; background: var(--bg-3); }
.v-wire i:nth-child(1) { grid-column: 1 / -1; width: 70%; }
.v-wire i:nth-child(2) { grid-column: 1 / -1; width: 45%; background: rgba(200, 155, 109, .35); }
.v-wire i:nth-child(5) { display: none; }
.v-bubble { padding: 16px 18px; border-radius: 18px 18px 18px 4px; background: var(--bg-3); line-height: 1.45; }
.v-bubble u { display: block; margin-top: 8px; color: var(--accent); text-underline-offset: 3px; font-size: .92rem; }
.v-choice { display: flex; gap: 8px; margin: 16px 0 14px; }
.v-choice span { flex: 1; text-align: center; padding: 11px; border-radius: 4px; font-size: .88rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.v-choice .is-yes { background: var(--accent); color: var(--dark); box-shadow: none; }
.v-note { font-size: .84rem; color: var(--muted); }
.step__vis { margin-bottom: 14px; }
.steps__count { position: absolute; left: 22px; bottom: 18px; z-index: 2; font-family: var(--mono); font-size: .78rem; color: rgba(243, 233, 221, .8); }
.steps__count b { font-weight: 500; color: var(--text); }
.steps__list { display: grid; }
.step { min-height: 76vh; display: grid; align-content: center; gap: 16px; border-top: 1px solid var(--line); padding: 40px 0; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .row__t { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.6rem); }
.step .row__p { max-width: 38ch; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps__media { display: none; }
  .step { min-height: 0; padding: 32px 0; gap: 12px; }

}

/* ---------- Rows (services) with a photo that follows the pointer ---------- */
.rows { border-top: 1px solid var(--line); position: relative; }
.row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 40px; gap: 8px 40px; align-items: center; padding: clamp(22px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line); transition: color .3s; isolation: isolate; }
.row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.5); z-index: -1; background: var(--bg-2); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.row__arrow { justify-self: end; font-size: 1.4rem; color: var(--accent); opacity: 0; transform: translate(-8px, 8px); transition: opacity .3s, transform .5s var(--ease); }
.row__n { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.row__t { font-weight: 500; font-size: clamp(1.6rem, 1rem + 2.2vw, 3.4rem); letter-spacing: -.045em; line-height: 1.02; transition: transform .5s var(--ease), color .3s; }
.row__p { color: var(--muted); max-width: 42ch; }
@media (hover: hover) { .rows:hover .row { color: rgba(243, 233, 221, .35); } .rows .row:hover { color: var(--text); } .row:hover .row__t { transform: translateX(12px); } .rows .row:hover::before { transform: scaleY(1); } .row:hover .row__arrow { opacity: 1; transform: none; } }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } .row__arrow { display: none; } }
/* ---------- Prices ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.price { display: grid; align-content: start; gap: 16px; padding: 32px 32px 36px 0; }
.price + .price { padding-left: 32px; border-left: 1px solid var(--line); }
.price__name { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price__num { font-weight: 500; font-size: clamp(3.6rem, 2rem + 4.4vw, 7rem); line-height: .9; letter-spacing: -.06em; }
.price__num small { font-size: .3em; letter-spacing: -.02em; color: var(--muted); margin-left: 4px; }
.price:first-child .price__num { color: var(--accent); }
.price__desc { color: var(--muted); max-width: 26ch; }
.price__sub { color: var(--muted); margin-top: -6px; }
.price__list { display: grid; gap: 8px; color: var(--muted); font-size: .96rem; }
.price__list li { display: flex; gap: 10px; }
.price__list li::before { content: "—"; color: var(--accent); }
.prices__note { margin-top: 28px; color: var(--muted); font-size: .95rem; max-width: 60ch; }
@media (max-width: 860px) {
  .prices { grid-template-columns: 1fr; }
  .price, .price + .price { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.faq .head { align-content: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 500; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); max-width: 58ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(243, 233, 221, .3); background: transparent; color: var(--text); font-size: 1.1rem; border-radius: 0; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder { color: rgba(243, 233, 221, .3); }
.field textarea { resize: vertical; min-height: 90px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; min-width: 0; }
.chips legend { width: 100%; margin-bottom: 10px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 8px 16px; border-radius: 4px; font-size: .92rem; box-shadow: inset 0 0 0 1px rgba(243, 233, 221, .3); transition: background .2s, color .2s; }
.chips input:checked + span { background: var(--text); color: var(--bg); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__note { font-size: .86rem; color: var(--muted); max-width: 36ch; }
.form__note a { color: var(--text); }
.form__status:empty { display: none; }
.form__status { font-size: 1.2rem; font-weight: 500; }
.form.is-sent > :not(.form__status) { display: none; }
.contact__side { display: grid; gap: 16px; padding-top: 8px; }
.contact__email { font-weight: 500; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); letter-spacing: -.03em; text-decoration: none; word-break: break-word; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; justify-self: start; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact__actions .btn { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(243, 233, 221, .35); }
.contact__actions .btn:hover { background: var(--text); color: var(--bg); }
.contact__small { color: var(--muted); font-size: .92rem; max-width: 32ch; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { background: var(--dark); padding: clamp(60px, 10vh, 110px) 0 28px; overflow: hidden; }
.foot__word { font-weight: 500; font-size: clamp(3rem, 12.4vw, 15rem); line-height: .85; letter-spacing: -.065em; white-space: nowrap; color: var(--bg-3); }
.foot__row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.foot__row a { text-decoration: none; }
.foot__row a:hover { color: var(--text); }
.foot__row span:first-child { margin-right: auto; }

/* ---------- Phone: sticky CTA, shown only when scrolling up ---------- */
.dock {
  position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30;
  display: none; justify-content: center; align-items: center; gap: 10px; min-height: 52px; border-radius: 6px;
  background: var(--accent); color: var(--dark); text-decoration: none; font-weight: 600;
  box-shadow: 0 14px 36px -12px rgba(0, 0, 0, .7); transform: translateY(160%); transition: transform .5s var(--ease);
}
.dock.is-on { transform: translateY(0); }
@media (max-width: 860px) { .dock { display: flex; } }

.toast { position: fixed; left: 50%; bottom: 90px; z-index: 60; translate: -50% 20px; opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-weight: 600; transition: opacity .3s, translate .4s var(--ease); }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Small pages (kiitos, tietosuoja) ---------- */
.page { min-height: 100vh; min-height: 100svh; padding: 110px var(--gutter) 80px; }
.page--center { display: grid; align-items: center; }
.page__in { max-width: 720px; margin: 0 auto; display: grid; gap: 20px; }
.page h1 { font-weight: 500; font-size: clamp(2.8rem, 8vw, 6rem); line-height: .95; letter-spacing: -.055em; }
.page h2 { font-weight: 500; font-size: 1.5rem; letter-spacing: -.03em; margin-top: 18px; }
.page p, .page li { color: var(--muted); }
.page ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.page .btn { color: var(--dark); }
.hero.is-off .cv *, .hero.is-off .cv *::after { animation-play-state: paused; }
html.wait .hero__text, html.wait .hero__window { opacity: 0; }
@keyframes blink { 50% { opacity: .25; } }

#hinta .price__num { font-size: clamp(4rem, 1.5rem + 6vw, 8.6rem); font-weight: 300; }

/* ---------- Apple-style type (SF Pro on Apple devices, Inter elsewhere) ---------- */
body { font-feature-settings: "tnum" 0; letter-spacing: -.011em; }
.kicker, .eyebrow, .tag, .price__name, .v-cap { text-transform: none; letter-spacing: -.01em; font-size: .95rem; font-weight: 600; color: var(--accent); }
.hero__status, .cv__label, .mv__bar b, .steps__count, .mini__gl, .mini__date { letter-spacing: 0; text-transform: none; }
.row__n, .chk__n { font-variant-numeric: tabular-nums; font-weight: 600; }
.hero__title { font-weight: 600; letter-spacing: -.045em; }
.title { font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.row__t { font-weight: 600; letter-spacing: -.03em; }
.price__num, #hinta .price__num { font-weight: 600; letter-spacing: -.045em; }
.chk__score b, .foot__word { font-weight: 600; letter-spacing: -.045em; }
.btn { font-weight: 500; letter-spacing: -.01em; }
