/* ============================================================
   Pöytälaakso — Design System
   Display: Schibsted Grotesk · Body: Hanken Grotesk
   ============================================================ */

/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ef2cf983-a5ae-4997-87a1-69d9898efe98.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/e0ddaa44-af3a-47c0-9121-19c9b9ca39a2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/9c01d655-6c70-4abd-b91e-55bf987e5b38.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/3051f6c4-6fad-4f01-9426-6221d8e6deee.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ef2cf983-a5ae-4997-87a1-69d9898efe98.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/e0ddaa44-af3a-47c0-9121-19c9b9ca39a2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/9c01d655-6c70-4abd-b91e-55bf987e5b38.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/3051f6c4-6fad-4f01-9426-6221d8e6deee.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ef2cf983-a5ae-4997-87a1-69d9898efe98.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/e0ddaa44-af3a-47c0-9121-19c9b9ca39a2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/9c01d655-6c70-4abd-b91e-55bf987e5b38.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/3051f6c4-6fad-4f01-9426-6221d8e6deee.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/ef2cf983-a5ae-4997-87a1-69d9898efe98.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/e0ddaa44-af3a-47c0-9121-19c9b9ca39a2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/9c01d655-6c70-4abd-b91e-55bf987e5b38.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/3051f6c4-6fad-4f01-9426-6221d8e6deee.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/b3c0a11b-86f1-4dd8-802d-56bd9dbe3b55.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/bedcfed4-31e2-4be2-876d-d998abd33133.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/b3c0a11b-86f1-4dd8-802d-56bd9dbe3b55.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/bedcfed4-31e2-4be2-876d-d998abd33133.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/b3c0a11b-86f1-4dd8-802d-56bd9dbe3b55.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/bedcfed4-31e2-4be2-876d-d998abd33133.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/b3c0a11b-86f1-4dd8-802d-56bd9dbe3b55.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/bedcfed4-31e2-4be2-876d-d998abd33133.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/b3c0a11b-86f1-4dd8-802d-56bd9dbe3b55.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/bedcfed4-31e2-4be2-876d-d998abd33133.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/b3c0a11b-86f1-4dd8-802d-56bd9dbe3b55.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/bedcfed4-31e2-4be2-876d-d998abd33133.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  /* Brand — deep royal blue #0a1d8c */
  --brand: #0a1d8c;
  --brand-700: #07155f;
  --title: #0a1d8c;
  --card-blue: rgba(10, 29, 140, 0.7);

  --navy-900: #070c2b;
  --navy-800: #0a1138;
  --navy-700: #0d1647;
  --navy-600: #102056;
  --blue-600: #0a1d8c;
  --blue-500: #1631ad;
  --blue-400: #3a52d8;

  /* Light blue tints for accents on dark surfaces */
  --ice-500: #6f86ff;
  --ice-400: #8a9cff;
  --ice-300: #b9c4ff;

  /* Accent (overridable via tweaks) */
  --accent: var(--blue-600);
  --accent-soft: rgba(10, 29, 140, 0.10);

  /* Neutrals */
  --ink-900: #16181f;
  --ink-700: #2a3947;
  --ink-500: #586676;
  --ink-400: #8593a2;
  --line: #e4e9ef;
  --line-soft: #eef2f6;
  --paper: #ffffff;
  --paper-2: #f5f8fb;
  --paper-3: #eef3f8;

  /* Type */
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(12,23,34,.06), 0 2px 6px rgba(12,23,34,.05);
  --shadow-md: 0 8px 24px rgba(12,23,34,.09), 0 2px 8px rgba(12,23,34,.06);
  --shadow-lg: 0 28px 70px -20px rgba(8,28,52,.35);
  --shadow-accent: 0 16px 40px -12px rgba(10,29,140,.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  color: var(--title);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); width: 100%; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--ice-300); }
.eyebrow.on-dark::before { background: var(--ice-400); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--blue-500); transform: translateY(-2px); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-900); }
.btn-ghost:hover { border-color: var(--navy-900); background: var(--paper-2); }
.btn-ghost-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.btn-accent { background: #fff; color: var(--brand); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 17px 30px; font-size: 17px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- misc ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  padding: 6px 13px; border-radius: 100px;
  background: var(--accent-soft); color: var(--blue-600);
  border: 1px solid rgba(22,87,201,.16);
}
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

::selection { background: var(--navy-900); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

#root { overflow-x: clip; }


/* ============================================================
   Pöytälaakso — Section styles
   ============================================================ */


   
/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid transparent; }
.nav--scrolled { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border-color: var(--line); box-shadow: 0 1px 0 rgba(12,23,34,.03); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav__links { display: flex; gap: 6px; }
.nav__link { font-size: 15px; font-weight: 600; color: var(--ink-700); padding: 9px 14px; border-radius: 100px; transition: background .15s, color .15s; }
.nav--scrolled .nav__link { color: var(--ink-700); }
.nav__link:hover { background: var(--paper-2); color: var(--navy-900); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--navy-900); }
.nav__phone svg { width: 17px; height: 17px; color: var(--blue-600); }
.nav__cta { padding: 11px 20px; font-size: 15px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: .25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile menu: full-screen dark overlay under the nav bar (the bar stays on
   top so the burger turns into the close X in place). Shown from 980px down. */
.nav__inner { position: relative; z-index: 2; }
.nav__mobile {
  display: none; position: fixed; inset: 0; z-index: 1;
  flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--nav-top) + 12px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--navy-900); color: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.nav__mobile.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
.nav__mobile-links { display: flex; flex-direction: column; }
.nav__mobile-links a { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 7.5vw, 34px); letter-spacing: -0.02em; line-height: 1.15; color: #fff; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.nav__mobile-links a:hover, .nav__mobile-links a:focus-visible { color: var(--ice-400); }
.nav__mobile-foot { display: flex; flex-direction: column; gap: 18px; }
.nav__mobile-cta { justify-content: center; }
.nav__mobile-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 18px; color: #fff; padding: 6px; }
.nav__mobile-phone svg { width: 20px; height: 20px; color: var(--ice-400); }
/* While the menu is open: bar transparent over the overlay, white logo + X.
   backdrop-filter must go — it would trap the fixed overlay inside the bar. */
.nav.nav--menu-open { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.nav--menu-open .pl-logo:not(.pl-logo--light) { display: none; }
.nav.nav--menu-open .pl-logo--light { display: block; }
.nav.nav--menu-open .nav__burger span { background: #fff; }
html.pl-menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .nav__mobile, .nav__mobile.open { transition: none; transform: none; }
}

/* Docked at top (transparent over the dark hero): use light text so the
   header is readable. Once scrolled, .nav--scrolled restores the dark text. */
.nav:not(.nav--scrolled) .nav__link { color: rgba(255,255,255,.86); }
.nav:not(.nav--scrolled) .nav__link:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav:not(.nav--scrolled) .nav__phone { color: #fff; }
.nav:not(.nav--scrolled) .nav__phone svg { color: var(--ice-400); }
.nav:not(.nav--scrolled) .nav__burger span { background: #fff; }
/* Logo: nega (white) variant while docked at top over the dark hero; the normal
   colored logo once scrolled (white nav). Both are output; CSS toggles them. */
.pl-logo { display: block; }
/* Bigger, taller header while docked at the top; shrinks to the compact size
   once scrolled (no transition — instant). (!important overrides inline height.) */
/* Docked size scales with screen height: full 96px logo on tall screens,
   compact on laptops. --nav-top = total docked height, used by the hero and
   page header so their content always starts just below the nav. */
:root {
  --nav-logo: clamp(52px, 8.5vh, 96px);
  --nav-pad: clamp(8px, 1.6vh, 20px);
  --nav-top: calc(var(--nav-pad) + var(--nav-logo) + 40px);
}
.nav:not(.nav--scrolled) { padding-top: var(--nav-pad); }
.nav:not(.nav--scrolled) .nav__inner { height: calc(var(--nav-logo) + 40px); }
.nav:not(.nav--scrolled) .nav__logo .pl-logo { height: var(--nav-logo) !important; }
.nav .pl-logo--light { display: none; }
.nav:not(.nav--scrolled) .pl-logo:not(.pl-logo--light) { display: none; }
.nav:not(.nav--scrolled) .pl-logo--light { display: block; }

/* In the block editor the nav sits on a light canvas (no hero behind it),
   so keep it dark there regardless of scroll state. */
.editor-styles-wrapper .nav .nav__link { color: var(--ink-700); }
.editor-styles-wrapper .nav .nav__phone { color: var(--navy-900); }
.editor-styles-wrapper .nav .nav__phone svg { color: var(--blue-600); }
.editor-styles-wrapper .nav .nav__burger span { background: var(--navy-900); }
.editor-styles-wrapper .nav .pl-logo--light { display: none; }
.editor-styles-wrapper .nav .pl-logo:not(.pl-logo--light) { display: block; }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; padding: calc(var(--nav-top) + clamp(12px, 3vh, 40px)) 0 clamp(44px, 8vh, 86px); overflow: hidden; }
/* Brand-blue base tints the video via the video's own opacity — no separate
   translucent overlay layer to desync/flicker against the video on scroll. */
.hero--has-video { isolation: isolate; background: var(--brand); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity .7s ease; }
.hero__video.is-ready { opacity: .4; }
/* Poster right after the video: same tint as the playing video, fades out once it's ready. */
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; opacity: .4; transition: opacity .7s ease; }
.hero__video.is-ready + .hero__poster { opacity: 0; }
/* Drop the extra layered decorations over the video (overlay/glow/masked grid):
   fewer composited layers over the <video> = no scroll flicker. */
.hero--has-video .hero__overlay,
.hero--has-video .hero__glow,
.hero--has-video .hero__grid-lines { display: none; }
.hero__inner { z-index: 2; }
/* Animated roads layer: above the video, below the content/image (z-index 2),
   clipped by the hero's overflow:hidden so it can't bleed below the fold. */
.hero__roads { position: absolute; inset: 0; z-index: 1; pointer-events: none; margin-right: -40vw; margin-top: -50px; }
.hero__roads-svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .hero__roads .hero__truck { display: none; } }
body[data-herobg="ink"] .hero { background: #0c1722; }
.hero__glow { position: absolute; top: -20%; right: -10%; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, var(--ice-500) 0%, transparent 62%); opacity: .22; filter: blur(20px); pointer-events: none; }
.hero__grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 30%, transparent 75%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
/* With a background video there's no image column: let the copy use the width
   so the title wraps to two lines instead of four. */
.hero--has-video .hero__inner { grid-template-columns: minmax(0, 860px); }
.hero__kicker { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; color: var(--ice-300); letter-spacing: .01em; margin-bottom: clamp(12px, 2.4vh, 22px); }
.hero__kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice-400); box-shadow: 0 0 0 4px rgba(111,134,255,.22); }
.hero__title { font-size: clamp(38px, min(6vw, 8.5vh), 72px); font-weight: 800; color: #fff; white-space: pre-line; letter-spacing: -0.03em; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.74); max-width: 600px; margin-top: clamp(14px, 2.6vh, 24px); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(20px, 3.6vh, 36px); }
.hero__stats { /*display: flex;*/ display:none; gap: 40px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__stat-v { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.hero__stat-l { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 8px; max-width: 130px; line-height: 1.35; }

.hero__media { position: relative; }
.hero__slot { width: 100%; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.hero__media-badge { position: absolute; bottom: 22px; left: -18px; /*display: flex;*/ display:none; align-items: center; gap: 13px; background: var(--card-blue); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-md); }
.hero__media-badge-v { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff; }
.hero__media-badge-l { font-size: 12.5px; color: rgba(255,255,255,.62); }

/* ---------- TRUST ---------- */
.trust { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.07); padding: 22px 0; }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust__label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.trust__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.trust__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.86); padding: 8px 15px; border-radius: 100px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); }
.trust__badge svg { color: var(--ice-400); }

/* ---------- shared section heads ---------- */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.services .sec-head { max-width: 860px; }
.sec-title { font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
.sec-lead { font-size: 18px; color: var(--ink-500); margin-top: 18px; line-height: 1.6; }

/* ---------- SERVICES ---------- */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.svc__icon { width: 56px; height: 56px; border-radius: 15px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.svc__tag { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-600); background: var(--accent-soft); padding: 6px 12px; border-radius: 100px; }
.svc__title { font-size: 24px; font-weight: 700; }
.svc__desc { color: var(--ink-500); margin-top: 12px; font-size: 16px; line-height: 1.6; }
.svc__points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.svc__points li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; color: var(--ink-700); }
.svc__points svg { color: var(--blue-600); flex-shrink: 0; }

/* ---------- STATS ---------- */
.stats { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
/* Brand-blue base tints the video via the video's own opacity — no separate
   translucent overlay layer to desync/flicker against the video on scroll. */
.stats--has-media { isolation: isolate; }
.stats__media { position: absolute; inset: 0; z-index: 0; background: var(--brand); }
.stats__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s ease; }
.stats__video.is-ready { opacity: .4; }
/* Image background: same brand-tinted opacity as the ready video. */
.stats__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
/* Masked grid-lines layer repaints per frame over a video/image — drop it. */
.stats--has-media .stats__bg { display: none; }
.stats__inner { z-index: 2; }
/* Editor SSR has no app.js to add .is-ready — show the video there. */
.editor-styles-wrapper .hero__video, .editor-styles-wrapper .stats__video { opacity: .4; }
/* The editor preview runs no front-end JS, so the poster never fades out —
   hide it there, otherwise poster + video show on top of each other. */
.editor-styles-wrapper .hero__poster { display: none; }
.stats__bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 90% at 70% 30%, #000 20%, transparent 78%); }
.stats__inner { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.stats__head { max-width: 460px; }
.stats__title { font-size: clamp(28px, 3.6vw, 44px); color: #fff; margin-top: 18px; }
.stats__lead { font-size: 18px; color: rgba(255,255,255,.66); margin-top: 18px; line-height: 1.6; }
.stats__points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 13px; }
.stats__points li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; color: rgba(255,255,255,.82); }
.stats__points svg { color: var(--ice-400); flex-shrink: 0; }
.stats__right { display: flex; flex-direction: column; gap: 16px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kpi { position: relative; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 28px 26px; background: var(--card-blue); overflow: hidden; transition: border-color .25s, background .25s; }
.kpi::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 3px; background: var(--ice-400); border-radius: 0 0 3px 0; }
.kpi:hover { border-color: rgba(255,255,255,.32); }
.kpi__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); color: var(--ice-300); display: grid; place-items: center; margin-bottom: 20px; }
.kpi__v { font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 54px); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; }
.kpi__suffix { font-size: .48em; color: var(--ice-400); margin-left: 3px; font-weight: 700; }
.kpi__prefix { margin-right: .22em; }
.kpi__l { font-size: 15.5px; font-weight: 600; color: #fff; margin-top: 14px; line-height: 1.35; }
.kpi__desc { font-size: 13.5px; color: rgba(255,255,255,.52); margin-top: 6px; line-height: 1.4; }
.stats__note { font-size: 13px; color: rgba(255,255,255,.4); font-style: italic; }

/* ---------- ABOUT ---------- */
.about { background: var(--paper-2); }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.about__title { font-size: clamp(28px, 3.6vw, 44px); margin: 18px 0 24px; }
.about__p { color: var(--ink-500); font-size: 17px; line-height: 1.68; margin-bottom: 16px; }
.about__media { margin-top: 30px; }
.about__slot { width: 100%; aspect-ratio: 16/10; box-shadow: var(--shadow-md); }
.about__values { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.value { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); color: var(--blue-600); display: grid; place-items: center; }
.value__title { font-size: 18px; font-weight: 700; }
.value__desc { color: var(--ink-500); font-size: 15px; margin-top: 6px; line-height: 1.55; }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--blue-600); background: linear-gradient(120deg, var(--blue-600), var(--navy-700)); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: clamp(48px, 7vw, 84px); flex-wrap: wrap; }
.cta-band__title { font-size: clamp(28px, 3.6vw, 42px); color: #fff; max-width: 620px; }
.cta-band__lead { font-size: 18px; color: rgba(255,255,255,.8); margin-top: 14px; max-width: 540px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- REKRY ---------- */
.rekry { background: var(--paper); }
.rekry__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.rekry__slot { width: 100%; aspect-ratio: 5/4; box-shadow: var(--shadow-md); }
.rekry__title { font-size: clamp(28px, 3.4vw, 42px); margin: 18px 0 18px; }
.rekry__body { font-size: 18px; color: var(--ink-500); line-height: 1.66; margin-bottom: 30px; max-width: 520px; }

/* ---------- FORM SECTION ---------- */
.form-sec { background: var(--paper); }
.form-sec__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-sec__title { font-size: clamp(28px, 3.4vw, 42px); margin: 18px 0 20px; }
.form-sec__lead { font-size: 17px; color: var(--ink-500); line-height: 1.64; }
.form-sec__usp { list-style: none; padding: 0; margin: 30px 0; display: flex; flex-direction: column; gap: 16px; }
.form-sec__usp li { display: flex; align-items: center; gap: 13px; font-size: 16px; font-weight: 500; color: var(--ink-700); }
.form-sec__usp svg { color: var(--blue-600); flex-shrink: 0; }
.form-sec__call { border-top: 1px solid var(--line); padding-top: 26px; }
.form-sec__call span { display: block; font-size: 15px; color: var(--ink-500); }
.form-sec__call-num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--navy-900); margin-top: 8px; letter-spacing: -0.02em; }
.form-sec__call-num svg { color: var(--blue-600); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-md); }

/* toggle */
.form-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-3); border-radius: 100px; padding: 5px; margin-bottom: 28px; }
.form-toggle__btn { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; border: 0; background: none; font-size: 15.5px; font-weight: 700; color: var(--ink-500); border-radius: 100px; transition: color .2s; }
.form-toggle__btn.on { color: var(--navy-900); }
.form-toggle__pill { position: absolute; z-index: 1; top: 5px; bottom: 5px; width: calc(50% - 5px); background: #fff; border-radius: 100px; box-shadow: var(--shadow-sm); transition: transform .28s cubic-bezier(.4,.1,.2,1); }
.form-toggle__pill.tarjous { transform: translateX(0); }
.form-toggle__pill.yhteys { transform: translateX(calc(100% + 0px)); }

/* steps */
.steps { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.steps__dot { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-500); white-space: nowrap; }
.steps__dot b { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-3); color: var(--ink-400); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0; transition: .25s; }
.steps__dot.on { color: var(--navy-900); }
.steps__dot.on b { background: var(--blue-600); color: #fff; }
.steps__line { flex: 1; min-width: 16px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__line i { display: block; height: 100%; background: var(--blue-600); transition: width .4s ease; }

/* form grid + fields */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld--full { grid-column: 1 / -1; }
.fld__label { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.fld__req { color: var(--blue-500); margin-left: 2px; }
.fld__hint { font-size: 12.5px; color: var(--ink-400); }
.fld__err { font-size: 13px; color: #d6483b; font-weight: 600; }
.inp { font-family: var(--font-body); font-size: 15.5px; color: var(--navy-900); background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 11px; padding: 13px 15px; transition: border-color .18s, background .18s, box-shadow .18s; width: 100%; }
.inp::placeholder { color: var(--ink-400); }
.inp:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(43,115,232,.12); }
.inp--area { resize: vertical; min-height: 100px; line-height: 1.55; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: var(--ink-700); background: var(--paper-2); border: 1.5px solid var(--line); padding: 11px 16px; border-radius: 100px; transition: .18s; }
.chip:hover { border-color: var(--ink-400); }
.chip--on { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.chip--on svg { color: var(--ice-400); }

/* consent */
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--ink-500); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue-600); flex-shrink: 0; }
.consent a { color: var(--blue-600); font-weight: 600; text-decoration: underline; }
.consent--err { color: #d6483b; }

.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.form-actions--end { justify-content: flex-end; }

/* done */
.form-done { text-align: center; padding: 24px 8px; }
.form-done__check { width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft); color: var(--blue-600); display: grid; place-items: center; margin: 0 auto 24px; }
.form-done__title { font-size: 28px; }
.form-done__text { color: var(--ink-500); font-size: 17px; margin: 14px auto 28px; max-width: 440px; line-height: 1.6; }
.form-done__summary { text-align: left; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px; margin-bottom: 28px; }
.form-done__summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.form-done__summary > div:last-child { border-bottom: 0; }
.form-done__summary span { color: var(--ink-500); }
.form-done__summary strong { color: var(--navy-900); font-weight: 600; text-align: right; }

/* ---------- CONTACT ---------- */
.contact { background: var(--paper-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact__col { display: flex; flex-direction: column; gap: 18px; }
.contact__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.contact__card-title { font-size: 19px; margin: 16px 0 12px; }
.contact__card p { color: var(--ink-500); font-size: 15.5px; line-height: 1.6; }
.contact__muted { color: var(--ink-400); font-size: 14px; margin-top: 8px; }
.contact__channels { display: grid; grid-template-columns: 1fr; gap: 12px; }
.contact__channel { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; transition: border-color .18s, transform .18s; }
.contact__channel:hover { border-color: var(--blue-500); transform: translateX(3px); }
.contact__channel-l { font-size: 13px; color: var(--ink-400); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.contact__channel-v { font-size: 17px; font-weight: 700; color: var(--navy-900); }
.contact__people-title { font-size: 19px; margin-bottom: 4px; }
.contact__people { display: flex; flex-direction: column; gap: 12px; }
.person { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.person__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.person__info { flex: 1; }
.person__name { font-weight: 700; color: var(--navy-900); font-size: 16px; }
.person__role { font-size: 13.5px; color: var(--ink-500); }
.person__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; min-width: 0; }
.person__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--blue-600); white-space: nowrap; }
.person__email { font-size: 13px; font-weight: 600; color: var(--ink-500); word-break: break-word; transition: color .18s; }
.person__email:hover { color: var(--blue-600); }
.contact__map { grid-column: 1 / -1; position: relative; }
.contact__map-slot { width: 100%; height: 320px; box-shadow: var(--shadow-sm); border-radius: 16px; overflow: hidden; }
.contact__map-slot iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Click-to-load map placeholder: tinted terminal photo + button. */
.pl-map:not(.pl-map--loaded) {
  display: flex; align-items: flex-end; justify-content: center; padding: 24px;
  background: linear-gradient(rgba(7,12,43,.72), rgba(7,12,43,.86)), var(--navy-900) url("../../kuvia/hero-poster-960.webp") center / cover no-repeat;
}
.pl-map__consent { text-align: center; color: #fff; max-width: 520px; }
.pl-map__note { margin-top: 12px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); }
.pl-map__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pl-map__load svg { color: currentColor; }
.contact__map-pin { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 9px 15px; border-radius: 100px; font-weight: 700; font-size: 14px; color: var(--navy-900); box-shadow: var(--shadow-md); }
.contact__map-pin svg { color: var(--blue-600); }
/* Once the real Google map is showing, its own place card sits in the same
   top-left corner — hide our label so it doesn't cover Google's info. */
.contact__map:has(iframe) .contact__map-pin { display: none; }

/* ---------- FOOTER ---------- */
.footer { background: linear-gradient(180deg, var(--brand) 0%, var(--brand) 45%, var(--brand-700) 100%); color: #fff; }
.footer__inner { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 48px; padding-block: clamp(48px, 6vw, 76px); }
.footer__tag { color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.6; max-width: 340px; margin: 20px 0 26px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__col li { color: rgba(255,255,255,.78); font-size: 15px; }
.footer__col a:hover { color: var(--ice-400); }
.footer__bar { margin-top: 72px; padding: 24px 0; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: rgba(255,255,255,.5); flex-wrap: wrap; }
.footer__certs { letter-spacing: .04em; }
.footer__by { display: inline-flex; align-items: center; opacity: .8; transition: opacity .2s ease; }
.footer__by:hover { opacity: 1; }
.footer__by img { height: 14px; width: auto; display: block; }

/* Certificate logos (from /kuvia/certificates) — nega (white) variants shown
   directly on the dark footer, no background chip. */
.footer__certs-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 36px 8px; }
.footer__cert { display: inline-flex; align-items: center; justify-content: center; }
/* Explicit height (not just max-height): SVG logos have no intrinsic
   size, so a max-height alone leaves them 0px tall and invisible. */
.footer__cert img { height: 104px; width: auto; max-width: 240px; object-fit: contain; display: block; }
/* Colored raster badges (e.g. Kiwa PNGs) whitened to match the nega SVGs. */
.footer__cert--invert img { filter: brightness(0) invert(1); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
  .nav__cta { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__values { position: static; }
  .form-sec__inner { grid-template-columns: 1fr; }
  .rekry__inner { grid-template-columns: 1fr; }
  .rekry__media { max-width: 460px; }
  .stats__inner { grid-template-columns: 1fr; }
  .stats__head { max-width: 640px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .services__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; flex-wrap: wrap; }
  .trust__inner { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
@media (max-width: 460px) {
  .stats__grid { grid-template-columns: 1fr; }
  .form-toggle__btn { font-size: 14px; padding: 11px 6px; }
  .hero__media-badge { left: 0; }
  .footer__cols { grid-template-columns: 1fr; gap: 22px; }
  .footer__bar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 600px) {
  /* Hero stats stack into full rows instead of wrapping awkwardly. */
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__stat-l { max-width: none; }
}

/* ============================================================
   WordPress integration + image-slot replacement
   ============================================================ */

/* Neutralise theme/editor wrappers so sections stay full-bleed */
.pl-page, .pl-page > .entry-content, .pl-page > .entry-content > * { margin: 0; }
.wp-site-blocks, .is-root-container, .entry-content { max-width: none !important; }

/* image-slot replacement */
.pl-slot {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--paper-3) 0%, var(--paper-2) 100%);
  border-radius: var(--radius-lg);
}
.pl-slot img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; }

/* Content-image lightbox (near-fullscreen popup) */
.pl-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 4vh 4vw; background: rgba(7,12,43,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: zoom-out; }
.pl-lightbox.open { display: flex; animation: pl-fade .2s ease; }
/* Fill the popup area: small images scale UP (aspect ratio preserved). */
.pl-lightbox img { width: 94vw; height: 92vh; object-fit: contain; cursor: default; }
.pl-lightbox__close { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 19px; line-height: 1; cursor: pointer; transition: background .18s; }
.pl-lightbox__close:hover { background: rgba(255,255,255,.28); }
@keyframes pl-fade { from { opacity: 0; } to { opacity: 1; } }
.pl-slot__ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--ink-400);
  border: 1.5px dashed var(--line);
  border-radius: inherit;
}
.hero__slot.pl-slot { aspect-ratio: 4/5; }
.about__slot.pl-slot { aspect-ratio: 16/10; }
.rekry__slot.pl-slot { aspect-ratio: 5/4; }
.contact__map-slot.pl-slot { height: 320px; }

/* ServerSideRender / editor canvas: reveal items must be visible (no JS there) */
.editor-styles-wrapper .reveal,
.pl-ssr .reveal { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper .nav { position: static; }

/* Editor canvas: every section here is full-bleed, so let blocks span the full
   editor width instead of the default ~600px content column. Editor-only. */
.editor-styles-wrapper .is-root-container,
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.editor-styles-wrapper .is-root-container > .wp-block,
.editor-styles-wrapper .wp-block {
  max-width: none !important;
}
/* Our SSR section wrapper fills the width too. */
.editor-styles-wrapper .pl-ssr { width: 100%; max-width: none; }

/* ============================================================
   Työhakemus (CF7 application) page
   ============================================================ */
/* Dark page header band — also gives the fixed nav a dark backdrop so its
   top-state white text stays readable on this (otherwise light) page. */
.pl-pagehead {
  --pagehead-img: url("../../../../uploads/2026/10/poytalaakso-hero-poster-1536x864.jpg");
  background:
    linear-gradient(rgba(7,12,43,.80), rgba(7,12,43,.88)),
    var(--navy-900) var(--pagehead-img) center / cover no-repeat;
  color: #fff; padding: calc(var(--nav-top) + clamp(20px, 5vh, 48px)) 0 clamp(36px, 6vh, 64px);
}
@media (max-width: 768px) {
  .pl-pagehead { --pagehead-img: url("../../../../uploads/2026/10/poytalaakso-hero-poster-768x432.jpg"); }
}
.pl-pagehead__title { font-size: clamp(34px, 5vw, 56px); color: #fff; }
.pl-pagehead__lead { font-size: 18px; color: rgba(255,255,255,.74); margin-top: 16px; max-width: 620px; line-height: 1.6; }

.pl-apply { background: var(--paper); padding-block: clamp(48px, 7vw, 96px); }
.pl-apply__inner { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }

/* Style the CF7 form to match the brand (CF7 emits plain inputs, no .inp). */
.pl-apply .form-card .wpcf7 p { margin: 0 0 18px; }
.pl-apply .form-card label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-900); margin-bottom: 16px; }
.pl-apply .form-card input[type="text"],
.pl-apply .form-card input[type="email"],
.pl-apply .form-card input[type="tel"],
.pl-apply .form-card textarea {
  font-family: var(--font-body); font-size: 15.5px; color: var(--navy-900);
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 13px 15px; width: 100%; transition: border-color .18s, background .18s, box-shadow .18s;
}
.pl-apply .form-card input::placeholder,
.pl-apply .form-card textarea::placeholder { color: var(--ink-400); }
.pl-apply .form-card input:focus,
.pl-apply .form-card textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(43,115,232,.12);
}
.pl-apply .form-card textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.pl-apply .form-card .wpcf7-submit {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body);
  font-weight: 600; font-size: 17px; padding: 17px 30px; border-radius: 100px; border: 0;
  background: var(--blue-600); color: #fff; box-shadow: var(--shadow-accent); cursor: pointer;
  transition: transform .18s, background .18s;
}
.pl-apply .form-card .wpcf7-submit:hover { background: var(--blue-500); transform: translateY(-2px); }
.pl-apply .form-card .wpcf7-spinner { margin: 0 0 0 12px; }
/* Two-column rows (name|street, postcode|city, phone|email), matching the
   original Divi layout. CF7 wraps each .pl-col's content in a <p>. */
.pl-apply .form-card .pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.pl-apply .form-card .pl-row .pl-col p { margin: 0; }
@media (max-width: 559px) {
  .pl-apply .form-card .pl-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .pl-apply .form-card .pl-row .pl-col p { margin: 0 0 18px; }
}

/* ---- Quote/contact CF7 form (homepage .form-card--cf7) ---- */
.form-card--cf7 .wpcf7-form-control-wrap { display: block; }
.form-card--cf7 input[type="text"],
.form-card--cf7 input[type="email"],
.form-card--cf7 input[type="tel"],
.form-card--cf7 input[type="date"],
.form-card--cf7 textarea {
  font-family: var(--font-body); font-size: 15.5px; color: var(--navy-900);
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 13px 15px; width: 100%; transition: border-color .18s, background .18s, box-shadow .18s;
}
.form-card--cf7 textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.form-card--cf7 input::placeholder, .form-card--cf7 textarea::placeholder { color: var(--ink-400); }
.form-card--cf7 input:focus, .form-card--cf7 textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(43,115,232,.12); }

/* radio groups -> chips */
.form-card--cf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.form-card--cf7 .wpcf7-radio .wpcf7-list-item { margin: 0; }
.form-card--cf7 .wpcf7-radio .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink-700); background: var(--paper-2); border: 1.5px solid var(--line); padding: 11px 16px; border-radius: 100px; transition: .18s; }
.form-card--cf7 .wpcf7-radio .wpcf7-list-item label:hover { border-color: var(--ink-400); }
.form-card--cf7 .wpcf7-radio .wpcf7-list-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form-card--cf7 .wpcf7-radio .wpcf7-list-item:has(input:checked) label { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* mode toggle (Tarjouspyyntö / Yhteydenotto) */
/* mode toggle (swaps the two forms via JS) */
.form-card--cf7 .plq-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-3); border-radius: 100px; padding: 5px; margin-bottom: 28px; }
.form-card--cf7 .plq-toggle__btn { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; border: 0; background: none; font-family: var(--font-body); font-size: 15.5px; font-weight: 700; color: var(--ink-500); border-radius: 100px; cursor: pointer; transition: color .2s; }
.form-card--cf7 .plq-toggle__btn.on { color: var(--navy-900); }
.form-card--cf7 .plq-toggle__btn svg { width: 18px; height: 18px; }
.form-card--cf7 .plq-toggle__pill { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: #fff; border-radius: 100px; box-shadow: var(--shadow-sm); transition: transform .28s cubic-bezier(.4,.1,.2,1); }
.form-card--cf7 .plq-pane[hidden] { display: none; }
/* general contact form (pane) uses plain CF7 labels — stack them */
.form-card--cf7 .plq-pane--contact label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-900); margin-bottom: 16px; }

/* submit + consent + validation */
.form-card--cf7 .plq-actions { margin-top: 8px; }
.form-card--cf7 .wpcf7-submit { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 17px; padding: 17px 30px; border-radius: 100px; border: 0; background: var(--blue-600); color: #fff; box-shadow: var(--shadow-accent); cursor: pointer; transition: transform .18s, background .18s; }
.form-card--cf7 .wpcf7-submit:hover { background: var(--blue-500); transform: translateY(-2px); }
.form-card--cf7 .wpcf7-spinner { margin-left: 12px; }
.form-card--cf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.form-card--cf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink-500); line-height: 1.5; }
.form-card--cf7 .wpcf7-acceptance input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue-600); flex-shrink: 0; }
.form-card--cf7 .wpcf7-not-valid-tip { color: #d6483b; font-size: 13px; font-weight: 600; margin-top: 5px; }
.form-card--cf7 .wpcf7-response-output { margin: 18px 0 0 !important; padding: 14px 16px !important; border-radius: 11px; font-size: 14.5px; }

/* ============================================================
   Ordinary text pages (page.php / index.php / 404.php) —
   e.g. Tietosuojaseloste. Readable column under .pl-pagehead.
   ============================================================ */
.pl-prose-section { background: var(--paper); padding-block: clamp(48px, 7vw, 96px); }
.pl-prose { max-width: 760px; margin: 0 auto; padding-inline: var(--gutter); box-sizing: content-box; color: var(--ink-700); font-size: 17px; line-height: 1.7; }
.pl-prose > * + * { margin-top: 1.1em; }
.pl-prose h2, .pl-prose h3, .pl-prose h4 { color: var(--title); line-height: 1.2; }
.pl-prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 2em; }
.pl-prose h3 { font-size: clamp(19px, 2.2vw, 23px); margin-top: 1.6em; }
.pl-prose h4 { font-size: 18px; margin-top: 1.4em; }
.pl-prose > :first-child { margin-top: 0; }
.pl-prose a:not(.btn) { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.pl-prose a:not(.btn):hover { color: var(--blue-400); }
.pl-prose ul, .pl-prose ol { padding-left: 1.4em; }
.pl-prose li + li { margin-top: .4em; }
.pl-prose strong { color: var(--ink-900); }
.pl-prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue-600); color: var(--ink-500); }
.pl-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pl-prose th, .pl-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pl-prose img { height: auto; border-radius: var(--radius); }
.pl-prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.pl-prose__item + .pl-prose__item { margin-top: 2em; padding-top: 2em; border-top: 1px solid var(--line); }

/* Privacy-policy note on CF7 forms without a consent checkbox */
.pl-form-privacy { font-size: 14px; line-height: 1.5; color: var(--ink-500); margin: 4px 0 16px; }
.pl-form-privacy a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

/* Footer bar legal link (Tietosuojaseloste) */
.footer__sep { margin-inline: 10px; opacity: .5; }
.footer__legal { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal:hover { color: var(--ice-400); }

/* Skip link: hidden until focused with the keyboard */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10000; padding: 12px 18px; border-radius: 10px; background: var(--navy-900); color: #fff; font-weight: 700; }
.skip-link:focus { top: 16px; }

/* ============================================================
   Laptop screens (981–1600px wide): one step smaller text,
   headings, buttons and section spacing. Phones and large
   desktops keep the sizes above.
   ============================================================ */
@media (min-width: 981px) and (max-width: 1600px) {
  body { font-size: 16px; }
  .section { padding-block: clamp(56px, 7vw, 104px); }

  /* headings */
  .sec-title { font-size: clamp(28px, 3vw, 40px); }
  .stats__title, .about__title, .cta-band__title,
  .rekry__title, .form-sec__title { font-size: clamp(26px, 2.8vw, 38px); }
  .kpi__v { font-size: clamp(36px, 3.4vw, 46px); }
  .pl-pagehead__title { font-size: clamp(32px, 3.8vw, 48px); }
  .value__title { font-size: 17px; }
  .contact__card-title, .contact__people-title { font-size: 18px; }
  .pl-prose h2 { font-size: clamp(22px, 2.3vw, 28px); }
  .pl-prose h3 { font-size: clamp(18px, 1.8vw, 21px); }

  /* body copy */
  .hero__lead { font-size: 17px; }
  .sec-lead, .stats__lead, .cta-band__lead,
  .rekry__body, .pl-pagehead__lead { font-size: 16.5px; }
  .about__p, .form-sec__lead, .form-done__text,
  .contact__channel-v, .pl-prose { font-size: 16px; }
  .svc__desc, .form-sec__usp li, .person__name, .footer__tag { font-size: 15px; }

  /* buttons */
  .btn-lg { padding: 15px 26px; font-size: 16px; }
}
