/* Automaattisesti koottu: theme.css -> site.css -> nehvonen-v2.css */

/* =========================================================
   NEHVONEN THEME
   Asiakkaan brändi ja koko sivuston pääsäädöt.

   Uudelle asiakkaalle muuta yleensä vain tätä tiedostoa.
========================================================= */

:root {
  /* 1. Brändivärit */
  --color-brand-dark: #071019;
  --color-brand-dark-2: #0b1520;
  --color-brand-blue: #013391;
  --color-brand-blue-2: #0b2338;
  --color-brand-accent: #f28c00;
  --color-brand-accent-2: #79ff0b;

  --color-text-dark: #071019;
  --color-text-body: #000000;
  --color-text-muted: #6b747d;
  --color-text-light: #ffffff;
  --color-text-soft-light: #dce3ea;

  --color-bg-light: #f4f6f8;
  --color-bg-light-2: #f3f5f7;
  --color-bg-white: #ffffff;

  /* Kicker-tekstien kontrastivärit */
  --color-kicker-on-dark: var(--color-brand-accent);
  --color-kicker-on-light: #9e3a00;

  /* 2. RGB-arvot läpinäkyville overlay-väreille */
  --rgb-brand-dark: 7, 16, 25;
  --rgb-brand-dark-2: 11, 21, 32;
  --rgb-brand-blue: 2, 49, 105;
  --rgb-brand-accent: 242, 140, 0;
  --rgb-text-light: 255, 255, 255;

  /* 3. Gradientit */
  --gradient-dark: linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
  --gradient-dark-angle: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
  --gradient-dark-soft: linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-dark-2) 100%);
  --gradient-accent-glow: radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .12), transparent 28%);

  /* 4. Fontit */
  --font-base: Arial, Helvetica, sans-serif;
  --font-heading: Arial, Helvetica, sans-serif;

  /* 5. Otsikkokoot desktop — AINOA paikka H1/H2/H3 desktop-koille */
  --font-h1-desktop: clamp(38px, 3.8vw, 62px);
  --font-h2-desktop: clamp(28px, 3vw, 44px);
  --font-h3-desktop: clamp(20px, 1.7vw, 26px);

  /* 6. Otsikkokoot mobiili — AINOA paikka H1/H2/H3 mobiilikoille */
  --font-h1-mobile: clamp(25px, 6.8vw, 34px);
  --font-h2-mobile: clamp(22px, 5.8vw, 29px);
  --font-h3-mobile: clamp(18px, 4.8vw, 22px);

  /* 7. Leipäteksti */
  --font-body-desktop: 17px;
  --font-body-mobile: 16.5px;
  --line-body: 1.65;
  --line-heading: 1.02;
  --letter-heading: -0.055em;

  /* 8. Sivun leveydet ja reunavälit */
  --page-padding-desktop: clamp(28px, 4vw, 64px);
  --page-padding-mobile: clamp(18px, 5.6vw, 24px);

  --container: 1180px;
  --container-wide: 1460px;
  --copy-width: 720px;
  --text-width: 680px;
  --head-width: 920px;
  --panel-width: 700px;
  --panel-text-width: 560px;

  /* 9. Section-välit ja korkeudet */
  --section-space-sm: clamp(44px, 5vw, 70px);
  --section-space-md: clamp(58px, 7vw, 96px);
  --section-space-lg: clamp(70px, 8vw, 125px);
  --section-space-xl: clamp(90px, 10vw, 150px);

  --hero-height-desktop: 100svh;
  --hero-height-mobile: 100svh;
  --section-min-height: min(760px, 92svh);
  --bg-section-min-height: clamp(560px, 64svh, 760px);

  /* 10. Muodot */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* 11. Varjot */
  --shadow-card: 0 16px 42px rgba(0, 0, 0, .18);
  --shadow-card-strong: 0 18px 44px rgba(0, 0, 0, .28);
  --shadow-panel: 0 26px 70px rgba(0, 0, 0, .32);

  /* 12. Napit */
  --button-radius: var(--radius-pill);
  --button-padding-y: 14px;
  --button-padding-x: 24px;

  /* 13. Vanhojen neh-muuttujien yhteensopivuus */
  --neh-dark: var(--color-brand-dark);
  --neh-dark-2: var(--color-brand-dark-2);
  --neh-blue: var(--color-brand-blue);
  --neh-orange: var(--color-brand-accent);
  --neh-green: var(--color-brand-accent-2);
  --neh-text: var(--color-text-soft-light);
  --neh-text-dark: var(--color-text-dark);
  --neh-body: var(--font-base);
  --neh-heading: var(--font-heading);

  --neh-page-x: var(--page-padding-desktop);
  --neh-container: var(--container);
  --neh-container-wide: var(--container-wide);

  --neh-section-min: var(--section-min-height);
  --neh-section-y: var(--section-space-lg);
  --neh-split-y: var(--section-space-lg);
  --neh-bg-section-min: var(--bg-section-min-height);
  --neh-bg-section-y: var(--section-space-xl);

  --neh-heading-section: var(--font-h2-desktop);
  --neh-heading-large: var(--font-h2-desktop);
  --neh-heading-line: var(--line-heading);
  --neh-heading-tight: var(--letter-heading);

  --neh-service-h1-desktop: var(--font-h1-desktop);
  --neh-service-h2-desktop: var(--font-h2-desktop);
  --neh-service-h3-desktop: var(--font-h3-desktop);
  --neh-service-h1-mobile: var(--font-h1-mobile);
  --neh-service-h2-mobile: var(--font-h2-mobile);
  --neh-service-h3-mobile: var(--font-h3-mobile);

  --neh-service-copy-width: var(--copy-width);
  --neh-service-text-width: var(--text-width);
  --neh-service-head-width: var(--head-width);
  --neh-service-panel-width: var(--panel-width);
  --neh-service-panel-text-width: var(--panel-text-width);
}

@media (max-width: 759px) {
  :root {
    --neh-page-x: var(--page-padding-mobile);
    --neh-heading-section: var(--font-h2-mobile);
    --neh-heading-large: var(--font-h2-mobile);

    --neh-service-copy-width: 100%;
    --neh-service-text-width: 100%;
    --neh-service-head-width: 100%;
    --neh-service-panel-width: 100%;
    --neh-service-panel-text-width: 100%;
  }
}

/* =========================================================
   NEHVONEN SITE CSS — CLEAN V5
   Rakenteet, layoutit ja komponentit.

   Pääsäädöt tehdään theme.css-tiedostossa:
   - värit
   - fontit
   - H1/H2/H3-koot
   - yleiset välit
   - container-leveydet

   Clean v5 on järjestyssiivous:
   - ei muuta HTML:ää
   - ei muuta tekstejä
   - ei muuta OAK-, myynti- tai CTA-linjaa
   - ei vaihda ulkoasujärjestelmää
   - säilyttää toimivan cascade-järjestyksen

   SISÄLLYSLUETTELO

   01 Base ja sivun perusrakenne
   02 Etusivun hero ja palvelukortit
   03 Header
   04 Palvelusivujen perussäännöt
   05 Palvelusivujen hero
   06 Section-system
   07 Kortit, gridit ja media
   08 Galleria, lightbox ja carousel
   09 Yhteystiedot ja footer
   10 Mobiili- ja responsiivisäännöt
   11 Accessibility ja reduced motion
   12 Global heading system
   13 Missing system classes

   HUOM:
   Uusia pikafixejä ei lisätä tiedoston loppuun.
   Lisää muutos oikean otsikon alle tai theme.css:ään.
========================================================= */


/* =========================================================
A BASE JA ETUSIVUN PERUSRAKENNE
========================================================= */
/* -------------------------
   Base
------------------------- */

* {
  box-sizing: border-box;
}


/* =========================================================
   MOBILE CHROME SCROLL / HEADER REVEAL FIX
   Root-scroll pidetään dokumentilla. Wrapper saa leikata vain
   vaakasuuntaisen ylivuodon, ei pystyscrollia.
========================================================= */

html,
body {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-brand-dark);
  font-family: Arial, Helvetica, sans-serif;
}

html {
  overflow-y: auto;
}

body {
  min-width: 0;
  overflow-y: visible;
  touch-action: pan-y;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.neh-block-page {
  --neh-dark: var(--color-brand-dark);
  --neh-dark-2: var(--color-brand-dark-2);
  --neh-orange: var(--color-brand-accent);
  --neh-green: #28b842;
  --neh-text: var(--color-text-soft-light);
  --neh-container: 1320px;

  --neh-page-x: clamp(28px, 6vw, 168px);
  --neh-section-y: clamp(72px, 7vw, 118px);
  --neh-section-gap: clamp(26px, 3vw, 42px);
  --neh-grid-gap: clamp(14px, 2vw, 32px);

  --neh-card-padding-y: 28px;
  --neh-card-padding-x: 20px;

  --neh-cover-y: clamp(70px, 7vw, 120px);
  --neh-hero-min-h: 720px;
  --neh-about-min-h: 760px;
  --neh-text-panel-max: 560px;

  --neh-about-bg-position: center center;
  --neh-about-bg-size: cover;

  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--neh-dark);
  color: #fff;
}

/* -------------------------
   Etusivun cover-rakenteet
------------------------- */

.neh-about-cover {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.neh-about-cover {
  min-height: var(--neh-about-min-h);
}

.neh-cover-bg,
.neh-cover-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.neh-cover-bg {
  z-index: 1;
  object-fit: cover;
  object-position: right center;
}

.neh-cover-overlay {
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 10, 18, .96) 0%,
    rgba(5, 10, 18, .88) 25%,
    rgba(5, 10, 18, .52) 48%,
    rgba(5, 10, 18, .12) 72%,
    rgba(5, 10, 18, .06) 100%
  );
}

.neh-cover-inner,
.neh-services-inner,
.neh-contact-inner,
.neh-footer-inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
}

.neh-cover-inner {
  position: relative;
  z-index: 3;
  padding-block: var(--neh-cover-y);
}

/* -------------------------
   Etusivun tekstipaneeli
------------------------- */

.neh-about-content {
  position: relative;
  z-index: 4;
  width: min(100%, var(--neh-text-panel-max));
  max-width: var(--neh-text-panel-max);
}

.neh-about-title strong {
  color: var(--neh-orange);
  font-weight: 900;
}

/* -------------------------
   Napit
------------------------- */

.neh-cta-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: auto;
}

.neh-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.neh-cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.neh-cta-button--call {
  background: var(--neh-orange);
  color: #111;
  box-shadow: 0 10px 24px rgba(var(--rgb-brand-accent), .24);
}

.neh-cta-button--call:hover {
  box-shadow:
    0 14px 30px rgba(var(--rgb-brand-accent), .34),
    0 0 0 1px rgba(255, 255, 255, .08);
}

.neh-cta-button--wa {
  background: var(--neh-green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(40, 184, 66, .22);
}

.neh-cta-button--wa:hover {
  box-shadow:
    0 14px 30px rgba(40, 184, 66, .30),
    0 0 0 1px rgba(255, 255, 255, .08);
}

/* -------------------------
   Mobiiliheron jatkoteksti
------------------------- */

.neh-mobile-hero-after {
  display: none;
}

/* -------------------------
   Etusivun palvelukortit
------------------------- */

.neh-services-block {
  position: relative;
  overflow: hidden;
  background: linear-gradient(359deg, var(--color-brand-blue) 0%, #000000 100%);
  padding-block: var(--neh-section-y);
}

.neh-services-block::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--rgb-brand-accent), .18) 0%,
    rgba(var(--rgb-brand-accent), .07) 38%,
    rgba(var(--rgb-brand-accent), 0) 70%
  );
}

.neh-section-title {
  position: relative;
  margin: 0 0 var(--neh-section-gap) 0;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.025em;
}

.neh-section-title::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin: 18px auto 0 auto;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-accent), 0) 0%,
    rgba(var(--rgb-brand-accent), 1) 50%,
    rgba(var(--rgb-brand-accent), 0) 100%
  );
}

.neh-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--neh-grid-gap);
  align-items: stretch;
  justify-items: stretch;
}

/* -------------------------
   Linkki- ja fokusapu
------------------------- */

.neh-footer-logo a {
  display: inline-block;
}

.neh-footer-logo a:focus-visible,
.neh-service-card-link:focus-visible {
  outline: 3px solid var(--neh-orange);
  outline-offset: 4px;
}

.neh-service-card {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: var(--neh-card-padding-y) var(--neh-card-padding-x);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  text-align: center;
  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.neh-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--rgb-brand-accent), .48);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, .075) 0%,
    rgba(255, 255, 255, .035) 100%
  );
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .24),
    0 0 0 1px rgba(var(--rgb-brand-accent), .08);
}

.neh-service-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px 0;
}

.neh-service-card img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  object-fit: contain;
  transition: transform .28s ease;
}

.neh-service-card:hover img {
  transform: translateY(-4px) scale(1.06);
}

.neh-service-card h3 {
  width: 100%;
  max-width: none;
  margin: 0 auto 10px auto;
  color: #fff;
  line-height: 1.08;
  font-weight: 900;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.neh-service-card p {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  color: var(--neh-text);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

/* -------------------------
   Meistä-osio
------------------------- */

.neh-about-cover {
  background-image: url("../kuvat/lolvo-sailio.webp");
  background-size: var(--neh-about-bg-size);
  background-position: var(--neh-about-bg-position);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.neh-about-cover > .neh-cover-bg {
  display: none;
}

.neh-about-cover .neh-cover-overlay {
  background: linear-gradient(
    90deg,
    rgba(5, 10, 18, .97) 0%,
    rgba(5, 10, 18, .88) 31%,
    rgba(5, 10, 18, .46) 58%,
    rgba(5, 10, 18, .10) 100%
  );
}

.neh-about-content {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--rgb-brand-dark), .78), rgba(var(--rgb-brand-dark), .45));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
  backdrop-filter: blur(2px);
}

.neh-kicker {
  margin: 0 0 14px 0;
  color: var(--color-kicker-on-dark, var(--neh-orange));
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Kicker colors by background.
   Tummalla pohjalla .neh-kicker käyttää perusväriä.
   Vaalealla pohjalla parent-luokka kertoo kontrastivärin. */
.neh-bg--light .neh-kicker,
.neh-section--light .neh-kicker,
.neh-section--white .neh-kicker,
.neh-seo-local-section .neh-kicker {
  color: var(--color-kicker-on-light);
}

.neh-about-title {
  margin: 0 0 22px 0;
  color: #fff;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.03em;
}

.neh-about-content p:not(.neh-kicker) {
  margin: 0 0 18px 0;
  color: #eef2f5;
  font-size: 17px;
  line-height: 1.65;
}

.neh-about-content p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   NEHVONEN TYÖPAIKKANA
   Peilikuva Meistä-osiosta: teksti oikealla, kuva taustalla.
========================================================= */

.neh-workplace-cover {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--neh-about-min-h);
  overflow: hidden;
  background-image: url("../kuvat/kalusto.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.neh-workplace-cover > .neh-cover-bg {
  display: none;
}

.neh-workplace-cover .neh-cover-overlay {
  background: linear-gradient(
    270deg,
    rgba(5, 10, 18, .97) 0%,
    rgba(5, 10, 18, .88) 31%,
    rgba(5, 10, 18, .46) 58%,
    rgba(5, 10, 18, .10) 100%
  );
}

.neh-workplace-content {
  position: relative;
  z-index: 4;
  width: min(100%, var(--neh-text-panel-max));
  max-width: var(--neh-text-panel-max);
  margin-left: auto;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: linear-gradient(225deg, rgba(var(--rgb-brand-dark), .78), rgba(var(--rgb-brand-dark), .45));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
  backdrop-filter: blur(2px);
}

.neh-workplace-content p:not(.neh-kicker) {
  margin: 0 0 18px 0;
  color: #eef2f5;
  font-size: 17px;
  line-height: 1.65;
}

.neh-workplace-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 759px) {
  .neh-workplace-cover {
    min-height: var(--neh-about-min-h);
    align-items: flex-end;
    background-attachment: scroll;
    background-position: center center;
  }

  .neh-workplace-cover .neh-cover-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 18, .18) 0%,
      rgba(5, 10, 18, .42) 36%,
      rgba(5, 10, 18, .96) 100%
    );
  }

  .neh-workplace-content {
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .neh-workplace-content p:not(.neh-kicker) {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neh-workplace-cover {
    background-attachment: scroll;
  }
}


/* =========================================================
   OULUN AUTOKULJETUS
   Keskitetty hero-tyylinen osio ilman tekstilaatikkoa.
========================================================= */

.neh-oak-block {
  position: relative;
  overflow: hidden;
  padding-block: clamp(82px, 8vw, 132px);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .10) 0%, rgba(var(--rgb-brand-accent), 0) 34%),
    linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
  color: #ffffff;
}

.neh-oak-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 66px 66px;
  opacity: .16;
}

.neh-oak-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
}

.neh-oak-content {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.neh-oak-logo-wrap {
  width: fit-content;
  margin: 0 auto clamp(26px, 3vw, 40px) auto;
  padding: 0;
}

.neh-oak-logo {
  width: clamp(220px, 20vw, 340px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .34));
}

.neh-oak-title {
  position: relative;
  max-width: 760px;
  margin: 0 auto 22px auto;
  color: #ffffff;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: none;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}

.neh-oak-title::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin: 18px auto 0 auto;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-accent), 0) 0%,
    rgba(var(--rgb-brand-accent), 1) 50%,
    rgba(var(--rgb-brand-accent), 0) 100%
  );
}

.neh-oak-title strong {
  color: var(--neh-orange);
  font-weight: 900;
}

.neh-oak-content p:not(.neh-kicker) {
  max-width: 660px;
  margin: 0 auto 18px auto;
  color: #f0f3f6;
  font-size: 17px;
  line-height: 1.65;
}

.neh-oak-button {
  margin-top: 14px;
}

@media (max-width: 759px) {
  .neh-oak-block {
    padding-block: 62px;
  }

  .neh-oak-content {
    width: 100%;
  }

  .neh-oak-logo {
    width: min(240px, 72vw);
  }


  .neh-oak-content p:not(.neh-kicker) {
    max-width: 100%;
    font-size: 15.5px;
    line-height: 1.58;
  }

  .neh-oak-button {
    width: 100%;
    margin-top: 14px;
  }
}

/* -------------------------
   Yhteystiedot
------------------------- */

.neh-contact-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .10) 0%, rgba(var(--rgb-brand-accent), 0) 34%),
    linear-gradient(180deg, var(--color-brand-blue) 0%, var(--color-brand-dark) 100%);
  color: #ffffff;
  padding-block: var(--neh-section-y);
}

.neh-contact-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .18;
}

.neh-contact-inner {
  position: relative;
  z-index: 2;
}

.neh-contact-simple {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.neh-contact-simple .neh-kicker {
  color: var(--color-kicker-on-dark, var(--neh-orange));
}

.neh-contact-simple h2 {
  position: relative;
  max-width: 760px;
  margin: 0 auto var(--neh-section-gap) auto;
  color: #ffffff;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.025em;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}

.neh-contact-simple h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin: 18px auto 0 auto;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-accent), 0) 0%,
    rgba(var(--rgb-brand-accent), 1) 50%,
    rgba(var(--rgb-brand-accent), 0) 100%
  );
}

.neh-contact-details {
  width: min(100%, 520px);
  margin: 0 auto;
}

.neh-contact-details p {
  margin: 0 0 18px 0;
  color: #eef2f5;
  font-size: 18px;
  line-height: 1.55;
}

.neh-contact-details p:last-child {
  margin-bottom: 0;
}

.neh-contact-details .neh-contact-company {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.neh-contact-details strong {
  color: #ffffff;
  font-weight: 900;
}

.neh-contact-details a {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.neh-contact-details a:hover {
  color: var(--neh-orange);
}

.neh-contact-simple > .neh-cta-buttons {
  width: min(760px, 100%);
  margin: 34px auto 0 auto;
  justify-content: center;
}

.neh-contact-simple > .neh-cta-buttons .neh-cta-button {
  min-width: 220px;
  min-height: 58px;
  font-size: 20px;
}

@media (max-width: 759px) {
  .neh-contact-simple {
    width: 100%;
  }

  .neh-contact-details {
    width: 100%;
  }

  .neh-contact-details p {
    font-size: 16px;
    line-height: 1.55;
  }

  .neh-contact-details .neh-contact-company,
  .neh-contact-details a {
    font-size: 20px;
  }

  .neh-contact-simple > .neh-cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .neh-contact-simple > .neh-cta-buttons .neh-cta-button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    font-size: clamp(13px, 3.6vw, 16px);
  }
}

/* -------------------------
   Footer
------------------------- */

.neh-footer-block {
  background: var(--color-brand-dark);
  color: #cfd7df;
  padding-block: 34px;
}

.neh-footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.neh-footer-logo {
  margin: 0;
}

.neh-footer-inner img {
  width: 220px;
  max-width: 80%;
}

.neh-footer-inner p {
  margin: 0;
  color: #cfd7df;
  line-height: 1.6;
  text-align: right;
}

/* -------------------------
   Responsiiviset säännöt
------------------------- */

@media (min-width: 1500px) {
  .neh-block-page {
    --neh-container: 1400px;
    --neh-hero-min-h: 820px;
    --neh-about-min-h: 820px;
  }
}

@media (max-width: 1179px) {
  .neh-block-page {
    --neh-page-x: clamp(24px, 5vw, 72px);
    --neh-hero-min-h: 660px;
    --neh-about-min-h: 680px;
    --neh-grid-gap: clamp(12px, 1.6vw, 20px);
  }

  .neh-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .neh-service-card img {
    width: 148px;
    height: 148px;
  }
}

@media (max-width: 919px) {
  .neh-block-page {
    --neh-page-x: 28px;
    --neh-section-y: 68px;
    --neh-cover-y: 58px;
    --neh-grid-gap: 22px;
  }

  .neh-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 759px) {
  .neh-block-page {
    --neh-page-x: 18px;
    --neh-section-y: 56px;
    --neh-section-gap: 24px;
    --neh-grid-gap: 16px;
    --neh-card-padding-y: 26px;
    --neh-card-padding-x: 18px;
    --neh-cover-y: 34px;
    --neh-hero-min-h: 100svh;
    --neh-about-min-h: 600px;
  }

  .neh-mobile-hero-after {
    display: block;
    background: var(--color-brand-dark);
    color: #fff;
    padding: 34px 18px 110px;
  }

  .neh-mobile-hero-after-inner {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .neh-mobile-hero-after p {
    margin: 0 0 24px 0;
    color: #eef2f5;
    font-size: 16.5px;
    line-height: 1.62;
    text-align: center;
  }

  .neh-mobile-hero-after .neh-cta-buttons {
    display: flex;
    width: 100%;
  }

  .neh-about-cover {
    align-items: flex-end;
    background-attachment: scroll;
    background-position: 58% center;
  }

  .neh-about-cover .neh-cover-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 18, .18) 0%,
      rgba(5, 10, 18, .42) 36%,
      rgba(5, 10, 18, .96) 100%
    );
  }

  .neh-about-content {
    width: 100%;
    max-width: none;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .neh-about-content p:not(.neh-kicker) {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
  }

  .neh-cta-buttons,
  .neh-contact-inner > .neh-cta-buttons {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
  }

  .neh-cta-button,
  .neh-contact-inner > .neh-cta-buttons .neh-cta-button {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 50px;
    padding: 12px 10px;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.05;
    white-space: normal;
  }

  .neh-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .neh-footer-inner > p {
    display: none;
  }

  .neh-footer-logo {
    margin: 0 auto;
  }

  .neh-footer-inner img {
    width: 220px;
    max-width: 78vw;
    margin: 0 auto;
  }
}

@media (max-width: 619px) {
  .neh-service-grid {
    grid-template-columns: 1fr;
  }

  .neh-service-card img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 379px) {
  .neh-block-page {
    --neh-page-x: 14px;
  }
}

@keyframes nehHeroDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.045);
  }
}

@keyframes nehFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   ACCESSIBILITY CONTRAST FIX
   Korjaa Lighthouse-kontrastivirheet rikkomatta asettelua.
========================================================= */

/* WhatsApp-nappi: valkoinen teksti vaatii tummemman vihreän. */
.neh-cta-button--wa {
  background: #146c2e;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 108, 46, .24);
}

.neh-cta-button--wa:hover {
  box-shadow: 0 14px 30px rgba(20, 108, 46, .34), 0 0 0 1px rgba(255, 255, 255, .08);
}

/* Vaalealla yhteystietoalueella oranssi kicker oli liian vaalea. */
.neh-contact-block .neh-kicker {
  color: var(--color-kicker-on-dark, var(--color-brand-accent));
}

/* Yhteystietojen listamerkit vaalealla pohjalla tummemmaksi. */
/* Näppäimistökäyttäjille näkyvä fokus ilman layout-muutoksia. */
.neh-cta-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.neh-contact-block .neh-cta-button:focus-visible {
  outline-color: #101820;
}

/* =========================================================
   MOBILE SECTION HEIGHT FINAL FIX — NO INNER SCROLL
   Section on vähintään ruudun korkuinen.
   Jos sisältö on korkeampi, section kasvaa normaalisti.
   Ei tekstilaatikon tai sisällön omaa scrollia.
========================================================= */

@media (max-width: 759px) {
  .neh-block-page {
    overflow-x: clip;
    overflow-y: visible;
  }

  .neh-about-cover,
  .neh-workplace-cover,
  .neh-oak-block,
  .neh-contact-block {
    min-height: 100svh;
    height: auto;
    overflow: visible;
  }

  .neh-about-cover,
  .neh-workplace-cover {
    align-items: stretch;
  }

  .neh-about-cover .neh-cover-inner,
  .neh-workplace-cover .neh-cover-inner {
    min-height: 100svh;
    height: auto;
    display: flex;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 34px;
  }

  .neh-oak-block,
  .neh-contact-block {
    display: flex;
    align-items: center;
  }

  .neh-oak-inner,
  .neh-contact-inner {
    width: min(calc(100% - 36px), var(--neh-container));
  }

  .neh-about-content,
  .neh-workplace-content,
  .neh-oak-content,
  .neh-contact-simple {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
}


.neh-service-card {
  position: relative;
}

.neh-service-card-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.neh-service-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.neh-service-card-link > * {
  position: relative;
  z-index: 2;
}

.neh-service-card-link:focus-visible {
  border-radius: 14px;
}


/* =========================================================
   ETUSIVUN HERO / TEKSTIN JA NAPPIEN VÄLI
   Hero-komponentin sisäinen välistys:
   leipäteksti ja CTA-rivi eivät liimaudu toisiinsa.
========================================================= */

.neh-hero--home .neh-hero__content .neh-cta-buttons {
  margin-top: clamp(22px, 2.2vw, 34px);
}

/* =========================================================
   ETUSIVUN MODULAARINEN HERO
   Sama hero-ajattelu kuin palvelusivuilla:
   .neh-hero + .neh-hero--left + .neh-hero--home
   Tämä tiedosto määrittää vain etusivun omat erot:
   logo, parallax-taustakuva, tekstin mitoitus ja mobiiliasettelu.
========================================================= */

.neh-hero--home {
  --neh-hero-height: 100svh;
  --neh-hero-container: var(--neh-container);
  --neh-hero-x: var(--neh-page-x);
  --neh-hero-content-width: min(100%, var(--neh-text-panel-max));
  --neh-hero-title-width: 100%;
  --neh-hero-text-width: 430px;
  --neh-hero-body: 16px;
  --neh-hero-line: 1.58;
  --neh-hero-image-position: right center;
  --neh-hero-overlay: linear-gradient(
    90deg,
    rgba(5, 10, 18, .96) 0%,
    rgba(5, 10, 18, .88) 25%,
    rgba(5, 10, 18, .52) 48%,
    rgba(5, 10, 18, .12) 72%,
    rgba(5, 10, 18, .06) 100%
  );
}

.neh-hero--home::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  z-index: 4;
  width: 52%;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-accent), 0) 0%,
    rgba(var(--rgb-brand-accent), .95) 22%,
    rgba(var(--rgb-brand-accent), .35) 72%,
    rgba(var(--rgb-brand-accent), 0) 100%
  );
}

.neh-hero--home .neh-hero__content {
  position: relative;
  z-index: 4;
}

.neh-hero--home .neh-hero__content h1 {
  text-shadow: 0 8px 26px rgba(0, 0, 0, .42);
}

.neh-hero--home .neh-hero__content h1 strong {
  display: block;
  color: var(--neh-orange);
  font-weight: 900;
  text-shadow: 0 0 28px rgba(var(--rgb-brand-accent), .22);
}

.neh-hero--home .neh-hero__content p:not(.neh-kicker) {
  max-width: var(--neh-hero-text-width);
  color: #f0f3f6;
}

.neh-hero__logo {
  margin: 0;
  padding: 0;
}

.neh-hero__logo a {
  display: inline-block;
}

.neh-hero__logo a:focus-visible {
  outline: 3px solid var(--neh-orange);
  outline-offset: 4px;
}

.neh-hero__logo--desktop {
  display: block;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.neh-hero__logo--desktop img {
  width: clamp(360px, 28vw, 560px);
  max-width: 100%;
}

.neh-hero__logo--mobile {
  display: none;
}

@media (min-width: 760px) {
  .neh-hero--home {
    background-image: url("../kuvat/yjj2.webp");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .neh-hero--home > .neh-hero__image {
    display: none;
  }
}

@media (max-width: 759px) {
  .neh-hero--home {
    --neh-hero-height: 100svh;
    --neh-hero-x: 18px;
    --neh-hero-content-width: 100%;
    --neh-hero-title-width: 390px;
    --neh-hero-text-width: 390px;
    --neh-hero-image-position: center 37%;
    --neh-hero-overlay: linear-gradient(
      180deg,
      rgba(5, 10, 18, .18) 0%,
      rgba(5, 10, 18, .28) 38%,
      rgba(5, 10, 18, .80) 100%
    );
    align-items: stretch;
    background: var(--color-brand-dark);
  }

  .neh-hero--home > .neh-hero__image {
    display: block;
    transform: none;
    animation: none;
  }

  .neh-hero--home .neh-hero__inner {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    margin: 0;
    padding: 0 16px 78px 16px;
    align-items: flex-end;
    justify-content: center;
  }

  .neh-hero--home .neh-hero__content {
    width: min(100%, 430px);
    max-width: 430px;
    margin: 0 auto;
    text-align: center;
    transform: none;
    animation: none;
  }

  .neh-hero--home .neh-hero__content h1 {
    max-width: var(--neh-hero-title-width);
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 6px 28px rgba(0, 0, 0, .78);
  }

  .neh-hero--home .neh-hero__content p:not(.neh-kicker),
  .neh-hero--home .neh-hero__content .neh-cta-buttons {
    display: none;
  }

  .neh-hero__logo--desktop {
    display: none;
  }

  .neh-hero__logo--mobile {
    position: absolute;
    top: 84px;
    left: 50%;
    z-index: 20;
    display: block;
    width: 300px;
    max-width: 72vw;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .neh-hero__logo--mobile img {
    width: 100%;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neh-hero--home {
    background-attachment: scroll;
  }

  .neh-hero--home > .neh-hero__image,
  .neh-hero--home .neh-hero__content {
    animation: none;
  }
}


/* =========================================================
C HEADER
========================================================= */

/* =========================================================
   NEHVONEN HEADER / NAVIGATION
   Yhteinen header kaikille sivuille.
   Yhteinen header kaikille sivuille.
========================================================= */

.neh-site-header {
  --neh-dark: var(--color-brand-dark);
  --neh-orange: var(--color-brand-accent);
  --neh-container: 1320px;
  --neh-page-x: clamp(28px, 6vw, 168px);

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  color: #ffffff;
  background: rgba(var(--rgb-brand-dark), .96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  transition: transform .24s ease, background-color .24s ease, box-shadow .24s ease;
  will-change: transform;
}

.neh-site-header.neh-header--hidden {
  transform: translate3d(0, -110%, 0);
}

.neh-site-header:has(.neh-nav-toggle:checked) {
  transform: translate3d(0, 0, 0);
}

.neh-site-header,
.neh-site-header * {
  box-sizing: border-box;
}

.neh-site-header img {
  display: block;
  max-width: 100%;
  height: auto;
}

.neh-site-header-inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
}

.neh-header-logo {
  display: inline-flex;
  align-items: center;
  width: clamp(170px, 15vw, 180px);
  max-width: 56vw;
  color: inherit;
  text-decoration: none;
}

.neh-header-logo img {
  width: 100%;
  height: auto;
}

.neh-main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.neh-main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.neh-main-nav a:hover,
.neh-main-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, .10);
}

.neh-nav-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.neh-nav-button {
  display: none;
  width: 46px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, .10);
}

.neh-nav-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #ffffff;
}

.neh-nav-button span:first-child {
  margin-top: 13px;
}

.neh-header-logo:focus-visible,
.neh-main-nav a:focus-visible,
.neh-nav-toggle:focus-visible + .neh-nav-button {
  outline: 3px solid var(--neh-orange);
  outline-offset: 4px;
}

@media (max-width: 759px) {
  .neh-site-header {
    padding: 3px 0;
  }

  .neh-site-header-inner {
    width: min(calc(100% - 2px), var(--neh-container));
    justify-content: space-between;
    padding-right: 10px;
    padding-left: 5px;
  }

  .neh-header-logo {
    width: min(137px, 58vw);
  }

  .neh-nav-button {
    display: block;
    flex: 0 0 auto;
  }

  .neh-main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(var(--rgb-brand-dark), .96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
  }

  .neh-main-nav a {
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
  }

  .neh-nav-toggle:checked ~ .neh-main-nav {
    display: flex;
  }
}


/* =========================================================
D PALVELUSIVUJEN PERUSSÄÄNNÖT
========================================================= */

/* =========================================================
   NEHVONEN PALVELUSIVUT
   Palvelusivujen peruspohja: hero, CTA ja HOX-nosto.
========================================================= */

.neh-service-page {
  --neh-dark: var(--color-brand-dark);
  --neh-dark-2: var(--color-brand-dark-2);
  --neh-orange: var(--color-brand-accent);
  --neh-orange-readable: var(--color-kicker-on-light);
  --neh-hero-accent: var(--color-brand-accent-2);
  --neh-green: #146c2e;
  --neh-text: var(--color-text-soft-light);
  --neh-container: 1320px;
  --neh-page-x: clamp(28px, 6vw, 168px);
  --neh-section-y: clamp(72px, 7vw, 118px);
  --neh-cover-y: clamp(70px, 7vw, 120px);
  --neh-text-panel-max: 560px;
  --neh-service-light: #f5f4f1;
}

.neh-service-page,
.neh-service-page * {
  box-sizing: border-box;
}

.neh-service-page :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
}

.neh-service-page .neh-kicker {
  margin: 0 0 14px 0;
  color: var(--color-kicker-on-light, var(--neh-orange-readable));
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* -------------------------
   Napit
------------------------- */

.neh-service-page .neh-cta-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.neh-service-page .neh-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease;
}

.neh-service-page .neh-cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.neh-service-page .neh-cta-button--call {
  background: var(--neh-orange);
  color: #111111;
}

.neh-service-page .neh-cta-button--wa {
  background: var(--neh-green);
  color: #ffffff;
}

/* -------------------------
   Footer ja HOX-nosto
------------------------- */

.neh-footer-logo a {
  display: inline-block;
}

.neh-footer-logo a:focus-visible {
  outline: 3px solid var(--neh-orange);
  outline-offset: 4px;
}

/* -------------------------
   Responsiiviset säännöt
------------------------- */

@media (max-width: 759px) {

  .neh-service-page .neh-cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .neh-service-page .neh-cta-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

}

.neh-contact-block .neh-kicker {
  color: var(--color-kicker-on-dark, var(--neh-orange));
}


/* =========================================================
E PALVELUSIVUJEN HERO JA KOMPONENTIT
========================================================= */

/* =========================================================
   NEHVONEN COMPONENTS
   Modulaariset section-rakenteet palvelusivuille.

   Tavoite:
   - sama tekninen pohja eri sivuille
   - sivukohtainen ilme theme- ja modifier-luokilla
   - vähemmän uusia luokkaperheitä jokaiselle palvelusivulle
========================================================= */


/* =========================================================
   COMPONENT MEDIA OWNERSHIP
   Cover-kuvat määritellään komponentissa. Base-reset ei saa
   pakottaa hero/parallax-kuvia height:auto -tilaan.
========================================================= */

/* =========================================================
   HERO TITLE WIDTH SYSTEM
   Hero-tekstialue on oletuksena leveä, jotta pitkät otsikot
   mahtuvat desktopissa. Leipäteksti pidetään erillisellä
   --neh-hero-text-width -muuttujalla luettavan levyisenä.
========================================================= */

/* =========================================================
   CLEAN HERO / VASEN REUNA
   Yksinkertainen hero-malli palvelusivuille:
   kuva + overlay + vasempaan reunaan linjattu teksti.
   Tämä käyttää vain nykyistä .neh-hero-rakennetta, joten vanhat
   hero-patchit eivät vaikuta tähän.
========================================================= */

.neh-service-page {
  --neh-hero-height: 100svh;
  --neh-hero-container: 1360px;
  --neh-hero-x: clamp(20px, 5vw, 76px);
  --neh-hero-content-width: min(72vw, 1120px);
  --neh-hero-title-width: 1120px;
  --neh-hero-text-width: 620px;
  --neh-hero-body: 16px;
  --neh-hero-line: 1.65;
  --neh-hero-image-position: center center;
  --neh-hero-overlay: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-dark), .90) 0%,
    rgba(var(--rgb-brand-dark), .68) 38%,
    rgba(var(--rgb-brand-dark), .22) 100%
  );
}

.neh-hero {
  position: relative;
  min-height: var(--neh-hero-height);
  overflow: hidden;
  color: #ffffff;
  background: var(--neh-dark, var(--color-brand-dark));
}

.neh-hero > picture {
  position: absolute;
  inset: 0;
  display: block;
}

.neh-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--neh-hero-image-position);
}

.neh-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--neh-hero-overlay);
}

.neh-hero__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--neh-hero-x) * 2)), var(--neh-hero-container));
  min-height: var(--neh-hero-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.neh-hero__content {
  position: relative;
  isolation: isolate;
  width: var(--neh-hero-content-width);
  max-width: 100%;
  text-align: left;
}

.neh-hero__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -102px -10px -151px -260px;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 28% 52%,
      rgba(var(--rgb-brand-dark), .88) 0%,
      rgba(var(--rgb-brand-dark), .72) 34%,
      rgba(var(--rgb-brand-dark), .36) 60%,
      rgba(var(--rgb-brand-dark), 0) 78%
    );
  filter: blur(18px);
}

@media (max-width: 759px) {
  .neh-hero__content::before {
    inset: -34px -28px -42px -28px;
    background:
      radial-gradient(
        ellipse at 50% 56%,
        rgba(var(--rgb-brand-dark), .88) 0%,
        rgba(var(--rgb-brand-dark), .68) 38%,
        rgba(var(--rgb-brand-dark), .30) 64%,
        rgba(var(--rgb-brand-dark), 0) 82%
      );
    filter: blur(16px);
  }
}

.neh-hero__content .neh-kicker {
  margin: 0 0 16px 0;
  color: var(--neh-orange, var(--color-brand-accent));
}

.neh-hero__content h1 {
  max-width: var(--neh-hero-title-width, 100%);
  margin: 0;
  color: #ffffff;
  line-height: .96;
  font-weight: 900;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.neh-hero__content p:not(.neh-kicker) {
  max-width: var(--neh-hero-text-width, 620px);
  margin: 20px 0 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: var(--neh-hero-body);
  line-height: var(--neh-hero-line);
}

.neh-hero--bulk,
.neh-hero--aggregate,
.neh-hero--flatbed,
.neh-hero--gallery,
.neh-hero--skip {
  --neh-hero-image-position: center center;
}

.neh-hero--energy {
  --neh-hero-image-position: center 58%;
}

.neh-hero--earth {
  --neh-hero-image-position: center center;
}

@media (max-width: 759px) {
  .neh-hero--aggregate .neh-hero__image {
    content: url("../kuvat/murske-net.webp");
  }

  .neh-hero--energy {
    --neh-hero-image-position: center center;
  }
}

@media (min-width: 1500px) {
  .neh-service-page {
    --neh-hero-container: 1460px;
  }
}

@media (max-width: 900px) {
  .neh-service-page {
    --neh-hero-content-width: min(82vw, 760px);
    --neh-hero-title-width: 760px;
    --neh-hero-text-width: 560px;
  }
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-hero-height: 100svh;
    --neh-hero-x: 18px;
    --neh-hero-content-width: 100%;
    --neh-hero-title-width: 100%;
    --neh-hero-text-width: 390px;
    --neh-hero-body: 15.5px;
    --neh-hero-line: 1.55;
    --neh-hero-overlay: linear-gradient(
      180deg,
      rgba(var(--rgb-brand-dark), .10) 0%,
      rgba(var(--rgb-brand-dark), .42) 42%,
      rgba(var(--rgb-brand-dark), .94) 100%
    );
  }

  .neh-hero__inner {
    align-items: flex-end;
    padding-bottom: 58px;
  }

  .neh-hero__content h1 {
    max-width: var(--neh-hero-title-width, 100%);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .neh-hero__content p:not(.neh-kicker) {
    max-width: var(--neh-hero-text-width, 390px);
  }
}


/* -------------------------
   Palvelusivujen teemaluokat
------------------------- */

.neh-page-theme-bulk,
.neh-page-theme-energy,
.neh-page-theme-earth,
.neh-page-theme-aggregate,
.neh-page-theme-flatbed,
.neh-page-theme-gallery {
  --neh-container: 1560px;
  --neh-page-x: clamp(24px, 5vw, 120px);
  --neh-text-panel-max: 760px;
  --neh-theme-accent: var(--neh-orange);
  --neh-section-light: #f5f4f1;
  --neh-dark-gradient: linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
}


/* -------------------------
   Section base
------------------------- */

.neh-section {
  position: relative;
  overflow: hidden;
  min-height: var(--neh-section-min);
  padding-block: var(--neh-section-y);
  display: flex;
  align-items: center;
}

.neh-section--light {
  color: #101820;
  background: var(--neh-section-light, #f5f4f1);
}

.neh-section--white {
  color: #101820;
  background: #ffffff;
}

.neh-section--dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .12), transparent 28%),
    var(--neh-dark-gradient, linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%));
}

.neh-section__inner,
.neh-container {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
}

.neh-section__head {
  max-width: 820px;
  margin: 0 0 clamp(34px, 5vw, 64px) 0;
}

.neh-section__head .neh-kicker,
.neh-section--dark .neh-kicker,
.neh-bg-section .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-section__head h2 {
  margin: 0;
  color: inherit;
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
}

.neh-section__inner--side-head .neh-section__head {
  margin-bottom: 0;
}

.neh-card-grid--light .neh-card--line {
  border-top-color: rgba(var(--rgb-brand-accent), .90);
}

.neh-card-grid--light .neh-card--line > span {
  color: var(--neh-orange-readable, var(--neh-orange));
}

.neh-card-grid--light .neh-card--line h3 {
  color: #101820;
}

.neh-card-grid--light .neh-card--line p {
  color: var(--color-text-body);
}

/* -------------------------
   Split-layout
------------------------- */

.neh-split {
  min-height: var(--neh-section-min);
  padding-block: var(--neh-split-y);
  display: flex;
  align-items: center;
}

.neh-split__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 6vw, 104px);
}

.neh-split--reverse .neh-split__copy {
  order: 2;
}

.neh-split--reverse .neh-split__media {
  order: 1;
}

.neh-split__copy h2 {
  max-width: 760px;
  margin: 0 0 24px 0;
  color: inherit;
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
}

.neh-split__copy p:not(.neh-kicker),
.neh-copy p:not(.neh-kicker) {
  max-width: 660px;
  margin: 0 0 18px 0;
  color: var(--color-text-body);
  font-size: 17px;
  line-height: 1.68;
}

.neh-section--dark .neh-split__copy p:not(.neh-kicker),
.neh-section--dark .neh-copy p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .86);
}

.neh-split__media {
  margin: 0;
}

.neh-split__media img {
  width: 100%;
  height: clamp(360px, 38vw, 620px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .18);
}

.neh-split__media p {
  margin: 14px 0 0 0;
  color: #44505a;
  font-size: 15px;
  line-height: 1.5;
}

/* -------------------------
   Korttigridit
------------------------- */

.neh-card--line {
  padding-top: 26px;
  border-top: 3px solid rgba(var(--rgb-brand-accent), .88);
}

.neh-card__number,
.neh-card--line > span {
  display: block;
  margin-bottom: 18px;
  color: var(--neh-theme-accent, var(--neh-orange));
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
}

.neh-card__title,
.neh-card--line h3 {
  margin: 0 0 12px 0;
  color: #ffffff;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
}

.neh-card__text,
.neh-card--line p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15.5px;
  line-height: 1.6;
}

/* -------------------------
   Mediakortit
------------------------- */

/* -------------------------
   Taustakuva- ja parallax-osiot
------------------------- */

.neh-bg-section__copy p:not(.neh-kicker) {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}


/* -------------------------
   Kuvamosaiikki
------------------------- */

.neh-media-mosaic {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 16px;
}

.neh-media-mosaic__item {
  margin: 0;
  min-width: 0;
}

.neh-media-mosaic__item--main {
  grid-row: span 2;
}

.neh-media-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
}

/* -------------------------
   Full split
------------------------- */

.neh-full-split__panel .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-full-split__panel p:not(.neh-kicker) {
  max-width: 620px;
  margin: 0 0 18px 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

/* -------------------------
   Responsiiviset säännöt
------------------------- */


@media (max-width: 919px) {
  .neh-split__inner {
    grid-template-columns: 1fr;
  }

  .neh-split--reverse .neh-split__copy,
  .neh-split--reverse .neh-split__media {
    order: initial;
  }

}

@media (max-width: 759px) {
  .neh-page-theme-bulk,
  .neh-page-theme-energy,
  .neh-page-theme-earth,
  .neh-page-theme-aggregate,
  .neh-page-theme-gallery {
    --neh-container: 1320px;
    --neh-page-x: 18px;
    --neh-text-panel-max: 430px;
  }

  .neh-section {
    padding-block: var(--neh-section-y);
  }

  .neh-split {
    padding-block: var(--neh-split-y);
  }

  .neh-section__inner,
.neh-container,
.neh-split__inner {
    width: min(calc(100% - 36px), var(--neh-container));
  }

  .neh-split__media img {
    height: 240px;
    border-radius: 14px;
  }

  .neh-card--line {
    padding-top: 20px;
  }

}


/* -------------------------
   Vaihtolava theme + yleiset modulaariset apuluokat
------------------------- */

.neh-page-theme-skip {
  --neh-container: 1560px;
  --neh-page-x: clamp(24px, 5vw, 120px);
  --neh-text-panel-max: 700px;
  --neh-theme-accent: var(--neh-orange);
  --neh-section-light: #f5f4f1;
  --neh-dark-gradient: linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
}

.neh-centered-intro .neh-section__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), 980px);
  text-align: center;
}

.neh-centered-intro h2 {
  max-width: 900px;
  margin: 0 auto 22px auto;
  color: inherit;
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.05em;
}

.neh-centered-intro p:not(.neh-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text-body);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.68;
}

.neh-detail-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(16, 24, 32, .16);
}

.neh-detail-list p {
  margin: 0;
  padding: 26px 0;
  color: var(--color-text-body);
  font-size: 16.5px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(16, 24, 32, .14);
}

.neh-detail-list strong {
  color: #101820;
  font-weight: 900;
}

@media (max-width: 759px) {
  .neh-centered-intro .neh-section__inner {
    width: min(calc(100% - 36px), var(--neh-container));
    text-align: left;
  }

  .neh-centered-intro h2,
  .neh-centered-intro p:not(.neh-kicker) {
    margin-inline: 0;
  }

  .neh-service-mobile-narrow .neh-section__inner,
.neh-service-mobile-narrow .neh-split__inner {
    width: min(calc(100% - 72px), 430px);
    max-width: 430px;
    margin-inline: auto;
    min-width: 0;
  }

  .neh-service-mobile-narrow .neh-split__copy,
.neh-service-mobile-narrow .neh-detail-list {
    min-width: 0;
    max-width: 100%;
  }

  .neh-detail-list p {
    padding: 22px 0;
    font-size: 15.5px;
  }
}


@media (max-width: 759px) {
  .neh-media-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .neh-media-mosaic__item--main {
    grid-row: auto;
  }

  .neh-media-mosaic img {
    height: 230px;
    border-radius: 14px;
  }
}


/* -------------------------
   Lavettisiirrot theme + yleiset modulaariset apuluokat
------------------------- */

.neh-page-theme-flatbed {
  --neh-container: 1560px;
  --neh-page-x: clamp(24px, 5vw, 120px);
  --neh-text-panel-max: 760px;
  --neh-theme-accent: var(--neh-orange);
  --neh-section-light: #f5f4f1;
  --neh-dark-gradient: linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
}


.neh-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 14px 24px;
  border-radius: 8px;
  color: #101820;
  background: var(--neh-theme-accent, var(--neh-orange));
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.neh-inline-button::after {
  content: "›";
  margin-left: 12px;
  font-size: 22px;
  line-height: 1;
}


@media (max-width: 759px) {
  .neh-page-theme-flatbed {
    --neh-container: 1320px;
    --neh-page-x: 18px;
    --neh-text-panel-max: 430px;
  }

}


/* -------------------------
   Maanrakennusajot: mobiilihero käyttää pystympää kuvaa
------------------------- */


/* =========================================================
   HERO-MODUULIN KESKITETTY OHJAUS
   Hero käyttää samaa h1-asteikkoa kuin muu typografia.
========================================================= */

.neh-service-page {
  --neh-hero-content-max: var(--neh-text-panel-max, 720px);
  --neh-hero-title-max: var(--neh-hero-content-max);
  --neh-hero-title-size: var(--font-h1-desktop);
  --neh-hero-title-line: var(--neh-h1-line);
  --neh-hero-title-tracking: var(--neh-heading-tracking-tight);
}

.neh-page-theme-bulk,
.neh-page-theme-energy,
.neh-page-theme-earth,
.neh-page-theme-aggregate,
.neh-page-theme-gallery {
  --neh-hero-content-max: clamp(680px, 54vw, 980px);
  --neh-hero-title-max: var(--neh-hero-content-max);
}

.neh-page-theme-skip {
  --neh-hero-content-max: clamp(620px, 48vw, 880px);
  --neh-hero-title-max: var(--neh-hero-content-max);
}

.neh-page-theme-flatbed {
  --neh-hero-content-max: clamp(760px, 58vw, 1080px);
  --neh-hero-title-max: var(--neh-hero-content-max);
}

@media (max-width: 759px) {
  .neh-service-page,
  .neh-page-theme-bulk,
  .neh-page-theme-energy,
  .neh-page-theme-earth,
  .neh-page-theme-aggregate,
  .neh-page-theme-gallery,
  .neh-page-theme-skip,
  .neh-page-theme-flatbed {
    --neh-hero-mobile-width: min(85vw, 640px);
    --neh-hero-content-max: var(--neh-hero-mobile-width);
    --neh-hero-title-max: var(--neh-hero-mobile-width);
    --neh-hero-title-size: var(--font-h1-desktop);
    --neh-hero-title-line: var(--neh-h1-line);
    --neh-hero-title-tracking: var(--neh-heading-tracking-tight);
  }
}

/* =========================================================
   KESKITETTY INTRO TUMMALLA POHJALLA
   Korjaa galleriasivun ala-CTA:n liian tumman tekstin.
========================================================= */

.neh-section--dark.neh-centered-intro .neh-kicker,
.neh-section--dark .neh-centered-intro .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-section--dark.neh-centered-intro p:not(.neh-kicker),
.neh-section--dark .neh-centered-intro p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .82);
}

/* =========================================================
   TYPOGRAFIA / MODUULIEN YHTENÄISTYS
   Pakottaa eri sectionit käyttämään samaa H1 / H2 / H3 -asteikkoa.
========================================================= */

.neh-section__head h2,
.neh-split__copy h2,
.neh-centered-intro h2 {
  line-height: var(--neh-h2-line);
  letter-spacing: var(--neh-heading-tracking-tight);
}

.neh-card__title,
.neh-card--line h3 {
  line-height: var(--neh-h3-line);
  letter-spacing: var(--neh-heading-tracking-normal);
}

.neh-card__title,
.neh-card--line h3 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.neh-split__inner {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}

.neh-split__copy,
.neh-split__media,
.neh-section__head,
.neh-card--line {
  min-width: 0;
}

.neh-section__inner--side-head .neh-section__head {
  max-width: 980px;
  margin-bottom: 0;
}


@media (max-width: 1180px) {
  .neh-split__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  .neh-section__head h2,
.neh-split__copy h2,
.neh-centered-intro h2 {
    line-height: var(--neh-h2-line);
    letter-spacing: var(--neh-heading-tracking-tight);
  }

  .neh-card__title,
.neh-card--line h3 {
    line-height: var(--neh-h3-line);
  }
}

/* Lavettisivun parallax-osio näyttävämmäksi */

/* Palvelusivujen otsikoiden hienosäätö */
.neh-service-page h1,
.neh-service-page h2,
.neh-service-page h3 {
  text-wrap: balance;
}

.neh-service-page .neh-hero-title,
.neh-service-page .neh-bg-section__copy h2,
.neh-service-page .neh-split__copy h2,
.neh-service-page .neh-section__head h2 {
  letter-spacing: -.045em;
}

.neh-service-page .neh-split__copy h2 {
  line-height: 1.02;
}

.neh-service-page .neh-section__head h2 {
  line-height: 1.04;
}

.neh-service-page .neh-bg-section__copy h2 {
  line-height: .98;
}

.neh-service-page .neh-media-card h3 {
  line-height: 1.05;
  letter-spacing: -.035em;
}

.neh-service-page .neh-fact-list h3 {
  line-height: 1.15;
}

@media (max-width: 759px) {
  .neh-service-page .neh-split__copy h2,
  .neh-service-page .neh-section__head h2,
  .neh-service-page .neh-bg-section__copy h2 {
    line-height: 1.02;
    letter-spacing: -.04em;
  }
}

/* Faktakortti siistimmäksi */
/* =========================================================
   HERO LEFT CLEAN V2
   Section-korkeuksiin koskevat 1080p-patchit poistettu.
   Tämä versio muuttaa vain uuden .neh-hero-rakenteen.
========================================================= */


/* =========================================================
   HERO LEFT CLEAN V3 / SECTION-KORKEUDET PALAUTETTU
   Sectionien korkeudet ovat nyt yhdessä muuttujaryhmässä:
   --neh-section-y, --neh-split-y, --neh-bg-section-y, --neh-bg-section-min.
   Ei 1080p-patchia eikäia section-korkeuksiin.
========================================================= */


/* =========================================================
   VIEWPORT HEIGHTS 1
   Hero on vähintään 100svh.
   Tavalliset sectionit, splitit ja bg-sectionit ovat vähintään 50svh.
   Korkeus on min-height, eli sisältö saa kasvattaa osiota.
========================================================= */


/* =========================================================
F SECTION SYSTEM
========================================================= */

/* =========================================================
   NEHVONEN SECTION SYSTEM
   Tuotantoversio: sectionclean1

   Palvelusivujen ulkoasun keskitetty CSS.
   Ei erillisiä työvaihe-/fix-blokkeja.

   Rakenne:
   1. Perusmuuttujat, sectionit ja päälayoutit
   2. Palvelusivujen hero-kuvat
   3. Palvelusivujen otsikkokoot
   4. Palvelusivujen responsiiviset leveydet
   5. Head-grid-layout
   6. Kortit, kuvapaneelit, full split, note ja teemakohtaiset säädöt

   Otsikkokoot säädetään kuudesta muuttujasta:
   --neh-service-h1-desktop
   --neh-service-h2-desktop
   --neh-service-h3-desktop
   --neh-service-h1-mobile
   --neh-service-h2-mobile
   --neh-service-h3-mobile
========================================================= */

/* =========================================================
   1. Perusmuuttujat, sectionit ja päälayoutit
========================================================= */

:root {
  --neh-card-gap: clamp(18px, 2.3vw, 30px);
}

.neh-service-page .neh-section {
  position: relative;
  isolation: isolate;
  color: #ffffff;
}

.neh-service-page .neh-section:not(.neh-hero) {
  padding-inline: var(--neh-page-x);
}

.neh-service-page .neh-container,
.neh-service-page .neh-section__inner {
  width: min(100%, var(--neh-container));
  margin-inline: auto;
  min-width: 0;
}

.neh-service-page .neh-container--wide {
  width: min(100%, var(--neh-container-wide));
}

.neh-service-page .neh-bg--light {
  background: var(--color-bg-light);
  color: var(--color-brand-dark);
}

.neh-service-page .neh-bg--white {
  background: #ffffff;
  color: var(--color-brand-dark);
}

.neh-service-page .neh-bg--dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .12), transparent 28%),
    linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
  color: #ffffff;
}

.neh-service-page .neh-bg--light .neh-kicker,
.neh-service-page .neh-bg--white .neh-kicker {
  color: var(--color-kicker-on-light);
}

.neh-service-page .neh-bg--dark .neh-kicker,
.neh-service-page .neh-bg--image .neh-kicker {
  color: var(--neh-orange, var(--color-brand-accent));
}

/* Split / normaalit tekstikuva-osiot */
.neh-service-page .neh-layout--split,
.neh-service-page .neh-layout--mosaic,
.neh-service-page .neh-layout--side-head {
  min-height: var(--neh-section-min);
  padding-block: var(--neh-split-y);
}

.neh-service-page .neh-layout--split > .neh-section__inner,
.neh-service-page .neh-layout--mosaic > .neh-section__inner,
.neh-service-page .neh-layout--side-head > .neh-section__inner {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 6vw, 104px);
}

.neh-service-page .neh-layout--detail > .neh-section__inner {
  align-items: start;
}

.neh-service-page .neh-layout--mosaic > .neh-section__inner {
  grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.22fr);
}

.neh-service-page .neh-section__copy {
  min-width: 0;
  max-width: 720px;
}

.neh-service-page .neh-section__copy h2,
.neh-service-page .neh-section__head h2 {
  max-width: 880px;
  margin: 0 0 clamp(18px, 2vw, 28px) 0;
  color: inherit;
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
  text-wrap: balance;
}

.neh-service-page .neh-section__copy p:not(.neh-kicker),
.neh-service-page .neh-section__head p:not(.neh-kicker) {
  max-width: 680px;
  margin: 0 0 18px 0;
  color: var(--color-text-body);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.68;
}

.neh-service-page .neh-bg--dark .neh-section__copy p:not(.neh-kicker),
.neh-service-page .neh-bg--dark .neh-section__head p:not(.neh-kicker),
.neh-service-page .neh-bg--image .neh-section__copy p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .86);
}

.neh-service-page .neh-section__media {
  min-width: 0;
  margin: 0;
}

.neh-service-page .neh-layout--split .neh-section__media img,
.neh-service-page .neh-layout--mosaic .neh-section__media img {
  display: block;
  width: 100%;
  height: clamp(360px, 38vw, 620px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .18);
}

.neh-service-page .neh-section__media figcaption,
.neh-service-page .neh-section__media p {
  margin: 14px 0 0 0;
  max-width: 560px;
  color: #44505a;
  font-size: 15px;
  line-height: 1.5;
}

/* Keskitetty intro */
.neh-service-page .neh-layout--center {
  padding-block: clamp(56px, 7vw, 100px);
  text-align: center;
}

.neh-service-page .neh-layout--center > .neh-section__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.neh-service-page .neh-align--center {
  margin-inline: auto;
  text-align: center;
}

.neh-service-page .neh-align--center p {
  margin-inline: auto;
}

/* Kortit */
.neh-service-page .neh-layout--cards {
  padding-block: var(--neh-section-y);
}

.neh-service-page .neh-layout--cards > .neh-section__inner {
  display: grid;
  gap: clamp(32px, 4vw, 58px);
}

.neh-service-page .neh-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: var(--neh-card-gap);
}

.neh-service-page .neh-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neh-service-page .neh-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.neh-service-page .neh-card {
  min-width: 0;
}

.neh-service-page .neh-card--line {
  padding-top: clamp(20px, 2.5vw, 30px);
  border-top: 3px solid var(--neh-orange, var(--color-brand-accent));
}

.neh-service-page .neh-card--line h3 {
  margin: 0 0 10px 0;
  color: inherit;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.035em;
}

.neh-service-page .neh-card--line p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 15.5px;
  line-height: 1.58;
}

.neh-service-page .neh-bg--white .neh-card--line p,
.neh-service-page .neh-bg--light .neh-card--line p {
  color: #36434f;
}

.neh-service-page .neh-grid--media .neh-card--media img {
  display: block;
  width: 100%;
  height: clamp(220px, 20vw, 340px);
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.neh-service-page .neh-grid--media .neh-card--media h3 {
  margin: 0 0 8px 0;
  color: #ffffff;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.035em;
}

.neh-service-page .neh-grid--media .neh-card--media p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.55;
}

/* Kuvatausta / parallax-paneelit */
.neh-service-page .neh-bg--image {
  position: relative;
  overflow: hidden;
  min-height: var(--neh-bg-section-min);
  color: #ffffff;
  background: var(--color-brand-dark);
}

.neh-service-page .neh-bg--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 75% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
  pointer-events: none;
}

.neh-service-page .neh-panel--right::before {
  background:
    linear-gradient(270deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 25% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
}

.neh-service-page .neh-section__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.neh-service-page .neh-layout--panel > .neh-section__inner {
  position: relative;
  z-index: 2;
  min-height: var(--neh-bg-section-min);
  display: flex;
  align-items: center;
  padding-block: var(--neh-bg-section-y);
}

.neh-service-page .neh-panel--right > .neh-section__inner {
  justify-content: flex-end;
}

.neh-service-page .neh-panel--left > .neh-section__inner,
.neh-service-page .neh-layout--panel:not(.neh-panel--right) > .neh-section__inner {
  justify-content: flex-start;
}

.neh-service-page .neh-layout--panel .neh-section__copy {
  width: min(100%, 700px);
  max-width: 700px;
  padding: clamp(24px, 3vw, 42px);
  border-left: 5px solid var(--neh-orange, var(--color-brand-accent));
  background: rgba(var(--rgb-brand-dark), .72);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .32);
}

.neh-service-page .neh-layout--panel .neh-section__copy h2 {
  max-width: 620px;
  color: #ffffff;
}

.neh-service-page .neh-layout--panel .neh-section__copy p:not(.neh-kicker) {
  max-width: 560px;
}

/* Full split */
.neh-service-page .neh-layout--full-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  color: #ffffff;
  background: var(--color-brand-dark);
  padding: 0;
}

.neh-service-page .neh-layout--full-split > .neh-section__media {
  margin: 0;
}

.neh-service-page .neh-layout--full-split > .neh-section__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(380px, 42vw, 620px);
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
}

.neh-service-page .neh-layout--full-split > .neh-section__copy {
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 7vw, 112px) max(var(--neh-page-x), 34px) clamp(58px, 7vw, 112px) clamp(34px, 6vw, 86px);
  background:
    radial-gradient(circle at 86% 18%, rgba(var(--rgb-brand-accent), .18), transparent 28%),
    linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
}

.neh-service-page .neh-layout--full-split > .neh-section__copy h2 {
  max-width: 640px;
  color: #ffffff;
}

/* Detail-listat / faktat / mosaiikki */
.neh-service-page .neh-detail-list {
  display: grid;
  gap: 14px;
}

.neh-service-page .neh-detail-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--neh-orange, var(--color-brand-accent));
  border-radius: 14px;
  background: var(--color-bg-light-2);
  color: var(--color-text-body);
  box-shadow: 0 10px 28px rgba(var(--rgb-brand-dark), .08);
}

.neh-service-page .neh-fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.neh-service-page .neh-fact-list article {
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 18px;
  background: var(--color-bg-light-2);
  box-shadow: 0 12px 30px rgba(var(--rgb-brand-dark), .08);
}

.neh-service-page .neh-media-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.neh-service-page .neh-media-mosaic__item {
  margin: 0;
}

.neh-service-page .neh-media-mosaic__item--main {
  grid-column: 1 / -1;
}

.neh-service-page .neh-media-mosaic img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
}

.neh-service-page .neh-media-mosaic__item--main img {
  height: clamp(300px, 34vw, 520px);
}

/* HOX / note */
.neh-service-page .neh-layout--note {
  min-height: auto;
  padding: clamp(34px, 5vw, 70px) var(--neh-page-x);
}

.neh-service-page .neh-note {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 20%, rgba(var(--rgb-brand-accent), .22), transparent 30%),
    rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}

.neh-service-page .neh-note__label {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  color: var(--color-brand-dark);
  background: var(--neh-orange, var(--color-brand-accent));
  font-weight: 900;
}

.neh-service-page .neh-note p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.35;
}

/* Mobiili */
@media (max-width: 1020px) {
  .neh-service-page .neh-grid--3,
  .neh-service-page .neh-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 919px) {
  .neh-service-page .neh-layout--split > .neh-section__inner,
  .neh-service-page .neh-layout--mosaic > .neh-section__inner,
  .neh-service-page .neh-layout--side-head > .neh-section__inner,
  .neh-service-page .neh-layout--full-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  

  .neh-service-page .neh-layout--split,
  .neh-service-page .neh-layout--mosaic,
  .neh-service-page .neh-layout--side-head,
  .neh-service-page .neh-layout--cards {
    padding-block: clamp(54px, 8vh, 78px);
  }

  .neh-service-page .neh-grid--3,
  .neh-service-page .neh-grid--4,
  .neh-service-page .neh-fact-list,
  .neh-service-page .neh-media-mosaic {
    grid-template-columns: 1fr;
  }

  .neh-service-page .neh-layout--split .neh-section__media img,
  .neh-service-page .neh-layout--mosaic .neh-section__media img,
  .neh-service-page .neh-grid--media .neh-card--media img {
    height: auto;
    min-height: 220px;
  }

  .neh-service-page .neh-bg--image,
  .neh-service-page .neh-layout--panel > .neh-section__inner {
    min-height: clamp(520px, 76svh, 760px);
  }

  .neh-service-page .neh-layout--panel > .neh-section__inner {
    align-items: flex-end;
    padding-block: clamp(42px, 8vh, 68px);
  }

  .neh-service-page .neh-layout--panel .neh-section__copy {
    width: 100%;
    padding: 22px 18px;
    border-left-width: 4px;
    background: rgba(var(--rgb-brand-dark), .74);
  }

  .neh-service-page .neh-layout--panel .neh-section__copy h2,
  .neh-service-page .neh-section__copy h2,
  .neh-service-page .neh-section__head h2 {
    line-height: 1.03;
    overflow-wrap: normal;
    word-break: normal;
  }

  .neh-service-page .neh-layout--full-split > .neh-section__media img {
    min-height: 280px;
  }

  .neh-service-page .neh-layout--full-split > .neh-section__copy {
    padding: 48px 18px;
  }

  .neh-service-page .neh-note {
    display: grid;
    justify-items: start;
  }

  .neh-service-page .neh-note__label {
    width: 60px;
    height: 60px;
  }

  .neh-service-page .neh-mobile--narrow > .neh-section__inner {
    width: min(calc(100% - 28px), 430px);
    max-width: 430px;
  }
}


.neh-service-page {

  --neh-section-min: 50svh;
  --neh-section-y: clamp(56px, 7svh, 96px);
  --neh-split-y: clamp(56px, 7svh, 104px);
  --neh-bg-section-y: clamp(56px, 7svh, 104px);
  --neh-bg-section-min: 50svh;

  --neh-h1-line: .96;
  --neh-h2-line: .98;
  --neh-h3-line: 1.06;

  --neh-heading-tracking-tight: -.048em;
  --neh-heading-tracking-normal: -.03em;
}

.neh-service-page h1,
.neh-service-page h2,
.neh-service-page h3 {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.neh-bg--light {
  color: #101820;
  background: var(--neh-section-light, #f5f4f1);
}

.neh-bg--white {
  color: #101820;
  background: #ffffff;
}

.neh-bg--dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .12), transparent 28%),
    var(--neh-dark-gradient, linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%));
}

.neh-section__head .neh-kicker,
.neh-bg--dark .neh-kicker,
.neh-bg--image .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-grid--light .neh-card--line {
  border-top-color: rgba(var(--rgb-brand-accent), .90);
}

.neh-grid--light .neh-card--line > span {
  color: var(--neh-orange-readable, var(--neh-orange));
}

.neh-grid--light .neh-card--line h3 {
  color: #101820;
}

.neh-grid--light .neh-card--line p {
  color: var(--color-text-body);
}

.neh-layout--split {
  min-height: var(--neh-section-min);
  padding-block: var(--neh-split-y);
  display: flex;
  align-items: center;
}

.neh-layout--split > .neh-section__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 6vw, 104px);
}

.neh-layout--split--reverse .neh-section__copy {
  order: 2;
}

.neh-layout--split--reverse .neh-section__media {
  order: 1;
}

.neh-section__copy h2 {
  max-width: 760px;
  margin: 0 0 24px 0;
  color: inherit;
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
}

.neh-section__copy p:not(.neh-kicker),
.neh-copy p:not(.neh-kicker) {
  max-width: 660px;
  margin: 0 0 18px 0;
  color: var(--color-text-body);
  font-size: 17px;
  line-height: 1.68;
}

.neh-bg--dark .neh-section__copy p:not(.neh-kicker),
.neh-bg--dark .neh-copy p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .86);
}

.neh-section__media {
  margin: 0;
}

.neh-section__media img {
  width: 100%;
  height: clamp(360px, 38vw, 620px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .18);
}

.neh-section__media p {
  margin: 14px 0 0 0;
  color: #44505a;
  font-size: 15px;
  line-height: 1.5;
}

.neh-grid {
  display: grid;
  gap: clamp(20px, 3vw, 46px);
}

.neh-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neh-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.neh-grid--media {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}


.neh-card--media {
  min-width: 0;
}

.neh-card--media img {
  width: 100%;
  height: clamp(220px, 20vw, 340px);
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.neh-card--media h3 {
  margin: 0 0 8px 0;
  color: #ffffff;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.035em;
}

.neh-card--media p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.55;
}

.neh-bg--image {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--color-brand-dark);
  min-height: var(--neh-bg-section-min);
}

.neh-bg--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 75% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
  pointer-events: none;
}

.neh-panel--right::before {
  background:
    linear-gradient(270deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 25% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
}

.neh-section__bg-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.neh-layout--panel > .neh-section__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  min-height: var(--neh-bg-section-min);
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding-block: var(--neh-bg-section-y);
}

.neh-layout--panel .neh-section__copy {
  max-width: 700px;
}

.neh-panel--right .neh-layout--panel .neh-section__copy {
  margin-left: auto;
}

.neh-layout--panel .neh-section__copy h2 {
  margin: 0 0 22px 0;
  color: #ffffff;
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
  text-shadow: 0 8px 28px rgba(0, 0, 0, .42);
}

.neh-layout--panel .neh-section__copy p:not(.neh-kicker) {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

.neh-theme--bulk {
  --neh-bg-image: url("../kuvat/lolvo-sailio.webp");
}

.neh-theme--energy {
  --neh-bg-image: url("../kuvat/hake4.webp");
}

.neh-theme--earth {
  --neh-bg-image: url("../kuvat/maa-lumi4.webp");
}

.neh-layout--mosaic > .neh-section__inner {
  grid-template-columns: minmax(300px, .72fr) minmax(460px, 1.18fr);
}

.neh-layout--full-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  color: #ffffff;
  background: var(--color-brand-dark);
}

.neh-layout--full-split > .neh-section__media {
  margin: 0;
}

.neh-layout--full-split > .neh-section__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(380px, 42vw, 620px);
  object-fit: cover;
  object-position: center center;
}

.neh-layout--full-split > .neh-section__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 7vw, 112px) max(var(--neh-page-x), 34px) clamp(58px, 7vw, 112px) clamp(34px, 6vw, 86px);
  background:
    radial-gradient(circle at 86% 18%, rgba(var(--rgb-brand-accent), .18), transparent 28%),
    var(--neh-dark-gradient, linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%));
}

.neh-layout--full-split > .neh-section__copy .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-layout--full-split > .neh-section__copy h2 {
  max-width: 640px;
  margin: 0 0 22px 0;
  color: #ffffff;
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
}

.neh-layout--full-split > .neh-section__copy p:not(.neh-kicker) {
  max-width: 620px;
  margin: 0 0 18px 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

.neh-layout--full-split > .neh-section__copy p:last-child {
  margin-bottom: 0;
}

.neh-layout--center .neh-section__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), 980px);
  text-align: center;
}

.neh-layout--center h2 {
  max-width: 900px;
  margin: 0 auto 22px auto;
  color: inherit;
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.05em;
}

.neh-layout--center p:not(.neh-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text-body);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.68;
}

.neh-theme--skip {
  --neh-bg-image: url("../kuvat/vaihtolava.webp");
}

.neh-theme--skip .neh-section__bg-image {
  object-position: center center;
}

.neh-theme--flatbed {
  --neh-bg-image: url("../kuvat/lavetti-wide-safety.webp");
}


.neh-bg--dark.neh-layout--center .neh-kicker,
.neh-bg--dark .neh-layout--center .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-bg--dark.neh-layout--center p:not(.neh-kicker),
.neh-bg--dark .neh-layout--center p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .82);
}

.neh-section__head h2,
.neh-section__copy h2,
.neh-layout--panel .neh-section__copy h2,
.neh-layout--center h2,
.neh-layout--full-split > .neh-section__copy h2 {
  line-height: var(--neh-h2-line);
  letter-spacing: var(--neh-heading-tracking-tight);
}

.neh-card__title,
.neh-card--line h3,
.neh-card--media h3 {
  line-height: var(--neh-h3-line);
  letter-spacing: var(--neh-heading-tracking-normal);
}

.neh-card__title,
.neh-card--line h3,
.neh-card--media h3 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.neh-layout--split > .neh-section__inner,
.neh-layout--mosaic > .neh-section__inner {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}

.neh-section__copy,
.neh-section__media,
.neh-section__head,
.neh-card--line,
.neh-card--media,
.neh-layout--full-split > .neh-section__copy {
  min-width: 0;
}

.neh-grid--4 {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: clamp(20px, 2.4vw, 38px);
}

.neh-theme--flatbed {
  min-height: clamp(440px, 44vw, 680px);
}

.neh-theme--flatbed .neh-section__bg-image {
  filter: saturate(1.05) contrast(1.06);
}

.neh-theme--flatbed::before {
  background:
    linear-gradient(
      90deg,
      rgba(var(--rgb-brand-dark), .16) 0%,
      rgba(var(--rgb-brand-dark), .30) 38%,
      rgba(var(--rgb-brand-dark), .82) 68%,
      rgba(var(--rgb-brand-dark), .96) 100%
    );
}

.neh-theme--flatbed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 45%, rgba(0, 0, 0, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .22) 100%);
}

.neh-theme--flatbed .neh-layout--panel > .neh-section__inner {
  position: relative;
  z-index: 3;
}

.neh-theme--flatbed .neh-layout--panel .neh-section__copy {
  max-width: 620px;
  margin-left: auto;
  padding: clamp(26px, 3vw, 44px);
  border-radius: 18px;
  background: rgba(var(--rgb-brand-dark), .46);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}


.neh-service-page .neh-hero-title,
.neh-service-page .neh-layout--panel .neh-section__copy h2,
.neh-service-page .neh-section__copy h2,
.neh-service-page .neh-section__head h2 {
  letter-spacing: -.045em;
}

.neh-service-page .neh-section__copy h2 {
  line-height: 1.02;
}


.neh-service-page .neh-layout--panel .neh-section__copy h2 {
  line-height: .98;
}

.neh-service-page .neh-card--media h3 {
  line-height: 1.05;
  letter-spacing: -.035em;
}


.neh-layout--note {
  color: #ffffff;
  background: var(--neh-dark);
  border-top: 1px solid rgba(var(--rgb-brand-accent), .55);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.neh-note {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(18px, 2.6vw, 30px) 0;
}

.neh-note__label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #101820;
  background: var(--neh-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.neh-layout--note p {
  margin: 0;
  max-width: 920px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
  font-weight: 800;
}

.neh-layout--note strong {
  color: #ffffff;
  font-weight: 900;
}

/* =========================================================
   5. Head-grid-layout
========================================================= */

.neh-service-page .neh-layout--head-grid {
  min-height: auto;
  padding-block: clamp(78px, 8vw, 132px);
}

.neh-service-page .neh-layout--head-grid > .neh-section__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container-wide));
  max-width: var(--neh-container-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(34px, 4.2vw, 66px);
}

.neh-service-page .neh-layout--head-grid .neh-section__head {
  width: min(100%, 920px);
  max-width: 920px;
}

.neh-service-page .neh-layout--head-grid .neh-section__head h2 {
  max-width: 920px;
  margin: 0;
  color: inherit;
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.neh-service-page .neh-layout--head-grid .neh-section__head p:not(.neh-kicker) {
  max-width: 760px;
}

.neh-service-page .neh-layout--head-grid .neh-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 2.5vw, 38px);
}

.neh-service-page .neh-layout--head-grid .neh-card--line {
  min-width: 0;
  padding-top: 24px;
  border-top: 3px solid var(--neh-orange, var(--color-brand-accent));
}

.neh-service-page .neh-layout--head-grid .neh-card__number {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-kicker-on-light);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
}

.neh-service-page .neh-layout--head-grid .neh-card--line h3 {
  margin: 0 0 14px 0;
  color: inherit;
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.neh-service-page .neh-layout--head-grid .neh-card--line p {
  margin: 0;
  color: var(--color-text-body);
  font-size: clamp(15.5px, 1.08vw, 17px);
  line-height: 1.66;
}

@media (max-width: 1180px) {
  .neh-service-page .neh-layout--head-grid .neh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .neh-service-page .neh-layout--head-grid {
    padding-block: clamp(54px, 8vh, 78px);
  }

  .neh-service-page .neh-layout--head-grid > .neh-section__inner {
    width: min(calc(100% - 36px), var(--neh-container));
    gap: 32px;
  }

  .neh-service-page .neh-layout--head-grid .neh-section__head {
    width: 100%;
    max-width: none;
  }

  .neh-service-page .neh-layout--head-grid .neh-section__head h2 {
    line-height: 1.02;
  }

  .neh-service-page .neh-layout--head-grid .neh-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

}

/* =========================================================
   2. Palvelusivujen hero-kuvat
========================================================= */

.neh-service-page .neh-hero {
  position: relative;
  min-height: var(--neh-hero-height, 100svh);
  overflow: hidden;
}

.neh-service-page .neh-hero > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.neh-service-page .neh-hero .neh-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: var(--neh-hero-image-position, center center);
}

.neh-service-page .neh-hero .neh-hero__overlay {
  position: absolute;
  inset: 0;
}

.neh-service-page .neh-hero .neh-hero__inner {
  position: relative;
  min-height: var(--neh-hero-height, 100svh);
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-hero-height: 100svh;
  }

  .neh-service-page .neh-hero,
  .neh-service-page .neh-hero .neh-hero__inner {
    min-height: 100svh;
  }

  .neh-service-page .neh-hero .neh-hero__image {
    height: 100%;
    min-height: 100svh;
  }

  .neh-service-page .neh-hero--bulk {
    --neh-hero-image-position: center center;
  }

  .neh-service-page .neh-hero--skip {
    --neh-hero-image-position: center center;
  }

  .neh-service-page .neh-hero--energy {
    --neh-hero-image-position: center center;
  }

  .neh-service-page .neh-hero--earth {
    --neh-hero-image-position: center center;
  }
}

/* =========================================================
   3. Palvelusivujen otsikkokoot
========================================================= */

.neh-service-page {
  --neh-service-h1-desktop: clamp(48px, 4.8vw, 78px);
  --neh-service-h2-desktop: clamp(32px, 4vw, 58px);
  --neh-service-h3-desktop: clamp(22px, 2vw, 34px);

  --neh-service-h1-mobile: clamp(26px, 7.5vw, 52px);
  --neh-service-h2-mobile: clamp(26px, 7vw, 44px);
  --neh-service-h3-mobile: clamp(23px, 6.8vw, 34px);

  --neh-heading-section: var(--neh-service-h2-desktop);
  --neh-heading-large: var(--neh-service-h2-desktop);
}

.neh-service-page .neh-hero__content h1 {
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.neh-service-page .neh-section__copy h2,
.neh-service-page .neh-section__head h2,
.neh-service-page .neh-layout--panel .neh-section__copy h2,
.neh-service-page .neh-layout--full-split > .neh-section__copy h2,
.neh-service-page .neh-layout--head-grid .neh-section__head h2 {
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.neh-service-page .neh-section h3,
.neh-service-page .neh-card h3,
.neh-service-page .neh-card--line h3,
.neh-service-page .neh-card--media h3,
.neh-service-page .neh-grid--media .neh-card--media h3,
.neh-service-page .neh-fact-list h3 {
  line-height: 1.05;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-heading-section: var(--neh-service-h2-mobile);
    --neh-heading-large: var(--neh-service-h2-mobile);
  }

  .neh-service-page .neh-hero__content h1 {
    line-height: 1;
    letter-spacing: -.055em;
  }

  .neh-service-page .neh-section__copy h2,
  .neh-service-page .neh-section__head h2,
  .neh-service-page .neh-layout--panel .neh-section__copy h2,
  .neh-service-page .neh-layout--full-split > .neh-section__copy h2,
  .neh-service-page .neh-layout--head-grid .neh-section__head h2 {
    line-height: 1.03;
    letter-spacing: -.052em;
  }

  .neh-service-page .neh-section h3,
  .neh-service-page .neh-card h3,
  .neh-service-page .neh-card--line h3,
  .neh-service-page .neh-card--media h3,
  .neh-service-page .neh-grid--media .neh-card--media h3,
  .neh-service-page .neh-fact-list h3 {
    line-height: 1.05;
    letter-spacing: -.045em;
  }
}

/* =========================================================
   4. Palvelusivujen responsiiviset leveydet
========================================================= */

.neh-service-page,
.neh-service-page *,
.neh-service-page *::before,
.neh-service-page *::after {
  box-sizing: border-box;
}

.neh-service-page {
  --neh-service-container-width: min(100%, var(--neh-container, 1180px));
  --neh-service-container-wide-width: min(100%, var(--neh-container-wide, 1460px));
  --neh-service-copy-width: 720px;
  --neh-service-text-width: 680px;
  --neh-service-head-width: 920px;
  --neh-service-panel-width: 700px;
  --neh-service-panel-text-width: 560px;
  overflow-x: clip;
}

.neh-service-page .neh-container,
.neh-service-page .neh-section__inner {
  width: var(--neh-service-container-width);
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}

.neh-service-page .neh-container--wide,
.neh-service-page .neh-layout--head-grid > .neh-section__inner {
  width: var(--neh-service-container-wide-width);
  max-width: 100%;
}

.neh-service-page .neh-section__copy,
.neh-service-page .neh-section__head {
  width: min(100%, var(--neh-service-copy-width));
  max-width: 100%;
  min-width: 0;
}

.neh-service-page .neh-section__head {
  width: min(100%, var(--neh-service-head-width));
}

.neh-service-page .neh-section__copy p:not(.neh-kicker),
.neh-service-page .neh-section__head p:not(.neh-kicker) {
  width: min(100%, var(--neh-service-text-width));
  max-width: 100%;
}

.neh-service-page .neh-section__media,
.neh-service-page .neh-grid,
.neh-service-page .neh-card,
.neh-service-page .neh-detail-list,
.neh-service-page .neh-fact-list,
.neh-service-page .neh-media-mosaic {
  max-width: 100%;
  min-width: 0;
}

.neh-service-page .neh-section__media img,
.neh-service-page .neh-card img,
.neh-service-page .neh-media-mosaic img {
  max-width: 100%;
}

.neh-service-page .neh-layout--panel .neh-section__copy {
  width: min(100%, var(--neh-service-panel-width));
  max-width: 100%;
}

.neh-service-page .neh-layout--panel .neh-section__copy p:not(.neh-kicker) {
  width: min(100%, var(--neh-service-panel-text-width));
  max-width: 100%;
}

.neh-service-page .neh-layout--full-split > .neh-section__copy {
  width: 100%;
  max-width: none;
}

.neh-service-page .neh-layout--full-split > .neh-section__copy p:not(.neh-kicker) {
  width: min(100%, var(--neh-service-text-width));
  max-width: 100%;
}

.neh-service-page .neh-mobile--narrow > .neh-section__inner {
  width: min(100%, 430px);
  max-width: 100%;
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-page-x: clamp(16px, 5vw, 22px);
    --neh-service-copy-width: 100%;
    --neh-service-text-width: 100%;
    --neh-service-head-width: 100%;
    --neh-service-panel-width: 100%;
    --neh-service-panel-text-width: 100%;
  }

  .neh-service-page .neh-section:not(.neh-hero) {
    padding-inline: var(--neh-page-x);
  }

  .neh-service-page .neh-container,
  .neh-service-page .neh-container--wide,
  .neh-service-page .neh-section__inner,
  .neh-service-page .neh-layout--head-grid > .neh-section__inner,
  .neh-service-page .neh-layout--panel > .neh-section__inner,
  .neh-service-page .neh-mobile--narrow > .neh-section__inner {
    width: 100%;
    max-width: 100%;
  }

  .neh-service-page .neh-section__copy,
  .neh-service-page .neh-section__head,
  .neh-service-page .neh-layout--panel .neh-section__copy,
  .neh-service-page .neh-layout--full-split > .neh-section__copy {
    width: 100%;
    max-width: 100%;
  }

  .neh-service-page .neh-section__copy p:not(.neh-kicker),
  .neh-service-page .neh-section__head p:not(.neh-kicker),
  .neh-service-page .neh-layout--panel .neh-section__copy p:not(.neh-kicker),
  .neh-service-page .neh-layout--full-split > .neh-section__copy p:not(.neh-kicker) {
    width: 100%;
    max-width: 100%;
  }

  .neh-service-page .neh-layout--full-split > .neh-section__copy {
    padding-inline: 0;
  }
}


/* =========================================================
   Lähde: galleria.css
========================================================= */

.neh-service-page--gallery .neh-contact-block {
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .10) 0%, rgba(var(--rgb-brand-accent), 0) 34%),
    linear-gradient(180deg, var(--color-brand-blue) 0%, var(--color-brand-dark) 100%);
}

.neh-gallery-hero .neh-cover-bg {
  object-position: center center;
}

.neh-surprise-copy p:not(.neh-kicker) {
  max-width: 650px;
  margin: 0 0 28px 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.65;
}

.neh-gallery-intro-inner p:not(.neh-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text-body);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.68;
}

.neh-big-gallery {
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 10%, rgba(var(--rgb-brand-accent), .12), transparent 28%),
    linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
  padding-block: clamp(56px, 6vw, 96px);
}

.neh-big-gallery-grid {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(14px, 1.8vw, 24px);
}

.neh-gallery-item {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-brand-dark-2);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .28);
}

.neh-gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 560px;
}

.neh-gallery-item--wide {
  grid-column: span 2;
}

.neh-gallery-item--tall {
  grid-row: span 2;
  min-height: 560px;
}

.neh-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.neh-gallery-item:hover img {
  transform: scale(1.045);
  filter: brightness(1.04);
}

.neh-gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px;
  color: #ffffff;
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.035em;
  text-shadow: 0 5px 22px rgba(0, 0, 0, .62);
  background: linear-gradient(180deg, rgba(5, 10, 18, 0) 0%, rgba(5, 10, 18, .82) 100%);
}

.neh-gallery-note-inner p:not(.neh-kicker) {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .neh-big-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 919px) {
  .neh-big-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .neh-gallery-hero .neh-cover-bg {
    object-position: 56% center;
  }

  .neh-big-gallery {
    padding-block: 54px;
  }

  .neh-big-gallery-grid {
    width: min(calc(100% - 36px), var(--neh-container));
  }

  .neh-gallery-intro-inner p:not(.neh-kicker) {
    margin-inline: 0;
  }


  .neh-big-gallery-grid {
    grid-template-columns: 1fr;
  }

  .neh-gallery-item,
  .neh-gallery-item--large,
  .neh-gallery-item--wide,
  .neh-gallery-item--tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
    border-radius: 14px;
  }

  .neh-gallery-item img {
    min-height: 260px;
  }

  .neh-gallery-item figcaption {
    padding: 22px;
  }

}

.neh-surprise-image {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 520px);
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
}

/* =========================================================
   GALLERIAN LIGHTBOX
   Klikattu kuva avautuu isona koko ruudun päälle.
========================================================= */

.neh-gallery-item > .neh-lightbox-link,
.neh-gallery-item > .neh-lightbox-open {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.neh-gallery-item > .neh-lightbox-link:focus-visible,
.neh-gallery-item > .neh-lightbox-open:focus-visible {
  outline: 3px solid var(--neh-orange);
  outline-offset: -6px;
}

.neh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(2, 8, 14, .92);
}

.neh-lightbox.is-open {
  display: flex;
}

.neh-lightbox-image {
  display: block;
  width: auto;
  max-width: min(1200px, 96vw);
  max-height: 90svh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.neh-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10000;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
}

.neh-lightbox-close:hover,
.neh-lightbox-close:focus-visible {
  background: var(--color-brand-accent);
  color: #101820;
  outline: 0;
}

@media (max-width: 759px) {
  .neh-lightbox {
    padding: 12px;
  }

  .neh-lightbox-image {
    max-width: 96vw;
    max-height: 84svh;
    border-radius: 10px;
  }

  .neh-lightbox-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 32px;
  }
}


/* =========================================================
   LIGHTBOX: SWIPE JA NUOLINAVIGOINTI
   Kuvia voi vaihtaa sormella, nuolilla tai näppäimistöllä.
========================================================= */

.neh-lightbox {
  touch-action: pan-y;
}

.neh-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  font-size: 58px;
  line-height: 1;
  font-weight: 700;
  transform: translateY(-50%);
}

.neh-lightbox-prev {
  left: 18px;
}

.neh-lightbox-next {
  right: 18px;
}

.neh-lightbox-nav:hover,
.neh-lightbox-nav:focus-visible {
  background: var(--color-brand-accent);
  color: #101820;
  outline: 0;
}

@media (max-width: 759px) {
  .neh-lightbox-nav {
    width: 46px;
    height: 58px;
    font-size: 46px;
    background: rgba(255, 255, 255, .18);
  }

  .neh-lightbox-prev {
    left: 8px;
  }

  .neh-lightbox-next {
    right: 8px;
  }
}


.neh-lightbox-nav[hidden] {
  display: none !important;
}

.neh-hidden-lightbox-gallery {
  display: none;
}


/* =========================================================
   Theme API binding
   Näiden avulla theme.css ohjaa koko sivustoa keskitetysti.
========================================================= */

body {
  font-family: var(--font-base);
  color: var(--color-text-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

.neh-service-page {
  --neh-service-h1-desktop: var(--font-h1-desktop);
  --neh-service-h2-desktop: var(--font-h2-desktop);
  --neh-service-h3-desktop: var(--font-h3-desktop);
  --neh-service-h1-mobile: var(--font-h1-mobile);
  --neh-service-h2-mobile: var(--font-h2-mobile);
  --neh-service-h3-mobile: var(--font-h3-mobile);

  --neh-service-copy-width: var(--copy-width);
  --neh-service-text-width: var(--text-width);
  --neh-service-head-width: var(--head-width);
  --neh-service-panel-width: var(--panel-width);
  --neh-service-panel-text-width: var(--panel-text-width);
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-service-copy-width: 100%;
    --neh-service-text-width: 100%;
    --neh-service-head-width: 100%;
    --neh-service-panel-width: 100%;
    --neh-service-panel-text-width: 100%;
  }
}

/* =========================================================
   MOBILE NARROW DESKTOP FIX
   .neh-mobile--narrow saa kaventaa vain mobiilissa.

   Desktopissa / tabletissa sectionin sisällön pitää käyttää
   normaalia container-leveyttä, ei 430px kapeaa palstaa.
========================================================= */

.neh-service-page .neh-mobile--narrow > .neh-section__inner {
  width: min(100%, var(--container));
  max-width: 100%;
  margin-inline: auto;
}

@media (max-width: 759px) {
  .neh-service-page .neh-mobile--narrow > .neh-section__inner {
    width: min(100%, 430px);
    max-width: 100%;
  }
}

/* =========================================================
   SPLIT LAYOUT WIDTH FIX
   Ei omia fonttikokoja. Split-osion otsikko käyttää samaa H2-kokoa
   kuin muu sivusto.

   Rivitysongelma korjataan antamalla tekstipalstalle järkevämpi leveys.
========================================================= */

@media (min-width: 920px) {
  .neh-service-page .neh-layout--split > .neh-section__inner,
  .neh-service-page .neh-layout--mosaic > .neh-section__inner {
    grid-template-columns: minmax(420px, 1fr) minmax(460px, 1fr);
  }

  .neh-service-page .neh-layout--split .neh-section__copy {
    width: min(100%, var(--copy-width));
    max-width: 100%;
  }

  .neh-service-page .neh-layout--split .neh-section__copy h2 {
    max-width: 100%;
  }
}

@media (min-width: 760px) and (max-width: 919px) {
  .neh-service-page .neh-layout--split > .neh-section__inner,
  .neh-service-page .neh-layout--mosaic > .neh-section__inner {
    grid-template-columns: 1fr;
  }

  .neh-service-page .neh-layout--split .neh-section__copy h2 {
    max-width: 100%;
  }
}

/* =========================================================
   HOME HERO PICTURE FIX
   Etusivun hero käyttää picture-elementtiä:
   - desktop: /kuvat/yjj.webp
   - mobiili: /kuvat/yjjmobile.webp

   Älä piilota hero-kuvaa desktopissa, jos picture hoitaa kuvanvaihdon.
========================================================= */

.neh-hero--home > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.neh-hero--home > picture .neh-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--neh-hero-image-position);
}

@media (min-width: 760px) {
  .neh-hero--home > .neh-hero__image {
    display: block;
  }

  .neh-hero--home > picture {
    display: block;
  }
}

/* =========================================================
   HOME HERO DESKTOP/MOBILE IMAGE FIX
   Etusivun hero käyttää eri kuvaa desktopille ja mobiilille:
   desktop: kuvat/yjj2.webp
   mobiili: kuvat/yjj-mobile.webp
========================================================= */


/* =========================================================
   SEO LOCAL CONTENT SECTIONS
   Paikallisen hakunäkyvyyden tekstiosiot.
========================================================= */

.neh-seo-local-section {
  padding: var(--section-space-lg) var(--page-padding-desktop);
  background: var(--color-bg-light);
  color: var(--color-text-body);
}

.neh-seo-local-inner {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.neh-seo-local-copy {
  width: min(100%, 980px);
  margin-inline: auto;
}

.neh-seo-local-copy h2 {
  margin: 0 0 24px 0;
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  line-height: var(--line-heading);
  letter-spacing: var(--letter-heading);
  text-wrap: balance;
}

.neh-seo-local-copy p:not(.neh-kicker) {
  margin: 0 0 18px 0;
  max-width: 820px;
  color: var(--color-text-body);
  font-size: var(--font-body-desktop);
  line-height: var(--line-body);
}

.neh-seo-local-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(28px, 3vw, 44px);
}

.neh-seo-local-grid article {
  padding-top: 22px;
  border-top: 3px solid var(--color-brand-accent);
}

.neh-seo-local-grid h3 {
  margin: 0 0 10px 0;
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.neh-seo-local-grid p {
  margin: 0;
  color: var(--color-text-body);
  font-size: 15.5px;
  line-height: 1.58;
}

@media (max-width: 919px) {
  .neh-seo-local-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  .neh-seo-local-section {
    padding: var(--section-space-md) var(--page-padding-mobile);
  }


  .neh-seo-local-copy p:not(.neh-kicker) {
    max-width: 100%;
    font-size: var(--font-body-mobile);
  }

}

/* =========================================================
   MOBILE PREMIUM V1
   Mobile-first visuaalinen päivitys.
   Ei muuta tekstejä, linkkejä, OAK-linjaa tai sisältöjärjestystä.
========================================================= */

@media (max-width: 759px) {
  :root {
    --mobile-safe-x: clamp(18px, 5.6vw, 24px);
    --mobile-section-y: clamp(56px, 13vw, 82px);
    --mobile-section-y-tight: clamp(42px, 10vw, 62px);
    --mobile-card-radius: 18px;
    --mobile-glass: rgba(var(--rgb-brand-dark), .72);
    --mobile-border: rgba(255, 255, 255, .12);
  }

  html {
    background: var(--color-brand-dark);
  }

  body {
    background: var(--color-brand-dark);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  .neh-block-page,
  .neh-service-page {
    --neh-page-x: var(--mobile-safe-x);
    --neh-section-y: var(--mobile-section-y);
    --neh-section-gap: clamp(22px, 7vw, 34px);
    --neh-grid-gap: clamp(18px, 5vw, 24px);
    --neh-card-padding-y: clamp(22px, 6vw, 30px);
    --neh-card-padding-x: clamp(18px, 5vw, 24px);
    overflow-x: clip;
  }

  /* Header: pienempi, lasimaisempi, enemmän premium. */
  .neh-site-header {
    padding: 8px 0;
    background: rgba(var(--rgb-brand-dark), .82);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .26);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }

  .neh-site-header-inner {
    width: min(calc(100% - 28px), var(--neh-container));
    padding: 0;
    justify-content: space-between;
    gap: 14px;
  }

  .neh-header-logo {
    width: clamp(145px, 42vw, 174px);
    max-width: 58vw;
  }

  .neh-nav-button {
    width: 46px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 24px rgba(0, 0, 0, .20);
  }

  .neh-nav-button span {
    width: 21px;
    height: 2px;
    background: rgba(255, 255, 255, .94);
  }

  .neh-main-nav {
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(var(--rgb-brand-dark), .96);
    box-shadow: 0 24px 56px rgba(0, 0, 0, .38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .neh-main-nav a {
    min-height: 50px;
    justify-content: center;
    border-radius: 13px;
    font-size: 15.5px;
    letter-spacing: -.01em;
  }

  .neh-main-nav a:active,
  .neh-cta-button:active,
  .neh-inline-button:active,
  .neh-oak-button:active {
    transform: scale(.985);
  }

  /* Etusivuhero: vahva kuvapinta, alalaitaan ankkuroitu otsikko. */
  .neh-hero--home {
    --neh-hero-height: 100svh;
    --neh-hero-x: var(--mobile-safe-x);
    --neh-hero-title-width: min(100%, 390px);
    --neh-hero-image-position: 56% center;
    --neh-hero-overlay: linear-gradient(
      180deg,
      rgba(5, 10, 18, .10) 0%,
      rgba(5, 10, 18, .25) 34%,
      rgba(5, 10, 18, .72) 70%,
      rgba(5, 10, 18, .98) 100%
    );
    min-height: 100svh;
  }

  .neh-hero--home::after {
    width: 74%;
    height: 3px;
    opacity: .96;
  }

  .neh-hero--home .neh-hero__inner {
    min-height: 100svh;
    padding: 100px var(--mobile-safe-x) 54px var(--mobile-safe-x);
    align-items: flex-end;
  }

  .neh-hero--home .neh-hero__content {
    width: min(100%, 430px);
    margin-inline: auto;
    text-align: center;
  }

  .neh-hero--home .neh-hero__content::before {
    inset: -34px -28px -46px -28px;
    background:
      radial-gradient(ellipse at 50% 56%, rgba(var(--rgb-brand-dark), .90) 0%, rgba(var(--rgb-brand-dark), .70) 42%, rgba(var(--rgb-brand-dark), .18) 76%, rgba(var(--rgb-brand-dark), 0) 88%);
    filter: blur(18px);
  }

  .neh-hero--home .neh-hero__content h1 {
    line-height: 1.01;
    letter-spacing: -.04em;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .82);
  }

  .neh-hero__logo--mobile {
    top: 82px;
    width: min(292px, 74vw);
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .48));
  }

  .neh-mobile-hero-after {
    padding: 36px var(--mobile-safe-x) 92px;
    background:
      radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .10), transparent 30%),
      linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-dark-2) 100%);
  }

  .neh-mobile-hero-after-inner {
    width: min(100%, 430px);
  }

  .neh-mobile-hero-after p {
    font-size: 16.5px;
    line-height: 1.68;
    color: rgba(255, 255, 255, .86);
  }

  /* Yleinen mobiilirytmi. */
  .neh-about-cover,
  .neh-workplace-cover,
  .neh-oak-block,
  .neh-contact-block,
  .neh-service-page .neh-section {
    scroll-margin-top: 78px;
  }

  .neh-oak-block,
  .neh-contact-block {
    padding-block: var(--mobile-section-y);
  }

  .neh-oak-content,
  .neh-contact-simple,
  .neh-seo-local-copy {
    width: min(100%, 430px);
  }

  .neh-oak-title,
  .neh-contact-simple h2,
  .neh-seo-local-copy h2 {
    line-height: 1.04;
    letter-spacing: -.04em;
  }

  /* Palvelusivujen hero: mobiilissa oma laskeutumissivu-fiilis. */
  .neh-service-page .neh-hero {
    min-height: 96svh;
  }

  .neh-service-page .neh-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 18, .12) 0%,
      rgba(5, 10, 18, .32) 38%,
      rgba(5, 10, 18, .82) 76%,
      rgba(5, 10, 18, .98) 100%
    );
  }

  .neh-service-page .neh-hero__inner {
    width: min(calc(100% - (var(--mobile-safe-x) * 2)), 430px);
    min-height: 96svh;
    padding: 100px 0 46px 0;
    align-items: flex-end;
  }

  .neh-service-page .neh-hero__content {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .neh-service-page .neh-hero__content::before {
    inset: -32px -26px -42px -26px;
    background:
      radial-gradient(ellipse at 36% 58%, rgba(var(--rgb-brand-dark), .92) 0%, rgba(var(--rgb-brand-dark), .72) 40%, rgba(var(--rgb-brand-dark), .26) 70%, rgba(var(--rgb-brand-dark), 0) 88%);
    filter: blur(18px);
  }

  .neh-service-page .neh-hero__content .neh-kicker {
    margin-bottom: 12px;
  }

  .neh-service-page .neh-hero__content h1,
  .neh-service-page h1 {
    line-height: 1.03;
    letter-spacing: -.038em;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .76);
  }

  .neh-service-page .neh-hero__content p:not(.neh-kicker) {
    max-width: 100%;
    margin-top: 16px;
    font-size: var(--font-body-mobile);
    line-height: 1.58;
    color: rgba(255, 255, 255, .88);
  }

  .neh-hero--flatbed .neh-hero__image {
    object-position: 56% center;
  }

  .neh-hero--aggregate .neh-hero__image {
    object-position: 56% center;
  }

  .neh-hero--energy .neh-hero__image {
    object-position: 54% center;
  }

  .neh-hero--earth .neh-hero__image {
    object-position: 54% center;
  }

  .neh-hero--bulk .neh-hero__image {
    object-position: 58% center;
  }

  .neh-hero--skip .neh-hero__image {
    object-position: 56% center;
  }

  /* Palvelusivujen osiot: väljempi ja selkeämpi mobiilissa. */
  .neh-service-page .neh-section {
    padding-block: var(--mobile-section-y);
  }

  .neh-service-page .neh-layout--center,
  .neh-service-page .neh-layout--cards,
  .neh-service-page .neh-layout--split,
  .neh-service-page .neh-layout--mosaic,
  .neh-service-page .neh-layout--head-grid {
    padding-block: var(--mobile-section-y);
  }

  .neh-service-page .neh-bg--image {
    min-height: 88svh;
  }

  .neh-service-page .neh-layout--panel > .neh-section__inner {
    min-height: 88svh;
    padding-block: var(--mobile-section-y-tight);
    align-items: flex-end;
  }

  .neh-service-page .neh-layout--panel .neh-section__copy {
    width: 100%;
    max-width: 430px;
    padding: 22px 0 0 10px;
  }

  .neh-service-page .neh-layout--panel .neh-section__copy h2,
  .neh-service-page .neh-section__copy h2,
  .neh-service-page .neh-section__head h2,
  .neh-service-page h2 {
    line-height: 1.04;
    letter-spacing: -.04em;
  }

  .neh-service-page .neh-section__copy p,
  .neh-service-page .neh-section__head p:not(.neh-kicker),
  .neh-service-page .neh-detail-list p {
    font-size: var(--font-body-mobile);
    line-height: 1.64;
  }

  .neh-service-page .neh-grid,
  .neh-service-page .neh-grid--3,
  .neh-service-page .neh-grid--4,
  .neh-service-page .neh-grid--media {
    grid-template-columns: 1fr;
    gap: clamp(22px, 6vw, 30px);
  }

  .neh-service-page .neh-card--line {
    padding-top: 20px;
  }

  .neh-service-page .neh-card--line h3,
  .neh-service-page .neh-card h3,
  .neh-service-page .neh-card--media h3 {
    line-height: 1.08;
  }

  .neh-service-page .neh-grid--media .neh-card--media img,
  .neh-service-page .neh-layout--split .neh-section__media img,
  .neh-service-page .neh-layout--mosaic .neh-section__media img {
    height: clamp(250px, 64vw, 360px);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  }

  .neh-service-page .neh-section__media figcaption,
  .neh-service-page .neh-section__media p {
    font-size: 14.8px;
    line-height: 1.55;
  }

  .neh-service-page .neh-detail-list {
    width: 100%;
    border-radius: 20px;
  }

  .neh-note {
    width: min(100%, 430px);
    margin-inline: auto;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .neh-seo-local-section {
    padding: var(--mobile-section-y) var(--mobile-safe-x);
  }

  .neh-seo-local-grid {
    gap: 22px;
  }

  .neh-seo-local-grid article {
    padding-top: 18px;
  }

  /* Footer: puhelimessa selkeä ja rauhallinen. */
  .neh-footer-block {
    padding-block: 40px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background:
      radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .08), transparent 28%),
      var(--color-brand-dark);
  }

  .neh-footer-inner {
    width: min(calc(100% - 36px), var(--neh-container));
    display: flex;
    align-items: center;
    justify-content: center;
  }


  .neh-footer-inner img {
    width: min(230px, 72vw);
    max-width: 100%;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .34));
  }
}


@media (hover: hover) and (pointer: fine) {
  .neh-service-card-link:hover .neh-service-card {
    transform: translateY(-4px);
  }
}

/* END MOBILE PREMIUM V1
========================================================= */

/* =========================================================
J GLOBAL HEADING SIZE SYSTEM
   H1/H2/H3-koot tulevat vain theme.css:n kuudesta muuttujasta.
   Älä lisää yksittäisiä font-size-arvoja h1/h2/h3-otsikoille.
========================================================= */

main.neh-block-page :is(
  h1,
  .neh-hero__content h1
) {
  font-size: var(--font-h1-desktop);
  line-height: 1.02;
  letter-spacing: -.04em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

main.neh-block-page :is(
  h2,
  .neh-section-title,
  .neh-about-title,
  .neh-section__copy h2,
  .neh-section__head h2,
  .neh-copy h2,
  .neh-split__copy h2,
  .neh-bg-section__copy h2,
  .neh-layout--panel .neh-section__copy h2,
  .neh-layout--full-split > .neh-section__copy h2,
  .neh-layout--head-grid .neh-section__head h2,
  .neh-layout--center h2,
  .neh-centered-intro h2,
  .neh-oak-title,
  .neh-contact-simple h2,
  .neh-seo-local-copy h2,
  .neh-gallery-intro-inner h2,
  .neh-gallery-note-inner h2,
  .neh-surprise-copy h2
) {
  font-size: var(--font-h2-desktop);
  line-height: 1.05;
  letter-spacing: -.038em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

main.neh-block-page :is(
  h3,
  .neh-service-card h3,
  .neh-card__title,
  .neh-card h3,
  .neh-card--line h3,
  .neh-card--media h3,
  .neh-media-card h3,
  .neh-fact-list h3,
  .neh-grid--media .neh-card--media h3,
  .neh-seo-local-grid h3
) {
  font-size: var(--font-h3-desktop);
  line-height: 1.08;
  letter-spacing: -.032em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

@media (max-width: 759px) {
  main.neh-block-page :is(
    h1,
    .neh-hero__content h1
  ) {
    font-size: var(--font-h1-mobile);
    line-height: 1.05;
    letter-spacing: -.032em;
  }

  main.neh-block-page :is(
    h2,
    .neh-section-title,
    .neh-about-title,
    .neh-section__copy h2,
    .neh-section__head h2,
    .neh-copy h2,
    .neh-split__copy h2,
    .neh-bg-section__copy h2,
    .neh-layout--panel .neh-section__copy h2,
    .neh-layout--full-split > .neh-section__copy h2,
    .neh-layout--head-grid .neh-section__head h2,
    .neh-layout--center h2,
    .neh-centered-intro h2,
    .neh-oak-title,
    .neh-contact-simple h2,
    .neh-seo-local-copy h2,
    .neh-gallery-intro-inner h2,
    .neh-gallery-note-inner h2,
    .neh-surprise-copy h2
  ) {
    font-size: var(--font-h2-mobile);
    line-height: 1.08;
    letter-spacing: -.03em;
  }

  main.neh-block-page :is(
    h3,
    .neh-service-card h3,
    .neh-card__title,
    .neh-card h3,
    .neh-card--line h3,
    .neh-card--media h3,
    .neh-media-card h3,
    .neh-fact-list h3,
    .neh-grid--media .neh-card--media h3,
    .neh-seo-local-grid h3
  ) {
    font-size: var(--font-h3-mobile);
    line-height: 1.1;
    letter-spacing: -.026em;
  }
}

/* =========================================================
   MOBILE SERVICE CARD SYSTEM
   Vain layout. Otsikkokoot tulevat GLOBAL HEADING SIZE SYSTEMistä.
========================================================= */

@media (max-width: 759px) {
  .neh-service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--neh-grid-gap);
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .neh-service-card-link {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .neh-service-card {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 30px 22px 32px;
    text-align: center;
  }

  .neh-service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(
      180deg,
      rgba(var(--rgb-brand-accent), .95),
      rgba(var(--rgb-brand-accent), .18)
    );
  }

  .neh-service-card:active {
    transform: scale(.992);
    border-color: rgba(var(--rgb-brand-accent), .46);
    background:
      linear-gradient(135deg, rgba(var(--rgb-brand-accent), .11), rgba(255, 255, 255, .035)),
      rgba(255, 255, 255, .04);
  }

  .neh-service-image {
    width: auto;
    min-width: 0;
    margin: 0 auto 22px auto;
  }

  .neh-service-card img {
    display: block;
    width: 66px;
    height: 66px;
    margin: 0 auto;
    object-fit: contain;
  }

  .neh-service-card h3 {
    max-width: 100%;
    margin: 0 auto 12px auto;
    text-align: center;
  }

  .neh-service-card p {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
    font-size: var(--font-body-mobile);
    line-height: 1.5;
  }
}

/* =========================================================
K MISSING SYSTEM CLASSES
   Nämä luokat ovat HTML:ssä tai JS:ssä käytössä.
   Ne pidetään kevyinä järjestelmäluokkina, ei yksittäisinä
   sivukohtaisina säätöinä.
========================================================= */

/* Section spacing modifiers */
.neh-space--md {
  --neh-section-y: var(--section-space-md);
  --neh-split-y: var(--section-space-md);
  --neh-bg-section-y: var(--section-space-md);
}

.neh-space--lg {
  --neh-section-y: var(--section-space-lg);
  --neh-split-y: var(--section-space-lg);
  --neh-bg-section-y: var(--section-space-lg);
}

.neh-space--xl {
  --neh-section-y: var(--section-space-xl);
  --neh-split-y: var(--section-space-xl);
  --neh-bg-section-y: var(--section-space-xl);
}

/* Role/theme marker classes.
   Näillä ei pakoteta ulkoasua, mutta pidetään luokat dokumentoituna
   ja käytettävissä jatkossa. */
.neh-role--hero,
.neh-theme--aggregate,
.neh-theme--note,
.neh-service-page--bulk,
.neh-service-page--energy,
.neh-surprise-section,
.neh-gallery-cta-section,
.neh-split__media--surprise {
  /* marker */
}

/* Container helper */
.neh-container-wide {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--container-wide));
  max-width: var(--container-wide);
  margin-inline: auto;
}

/* Parallax alias nykyiselle background section -järjestelmälle */
@media (min-width: 760px) {
  .neh-bg--parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neh-bg--parallax {
    background-attachment: scroll;
  }
}

/* 404 hero modifier */
.neh-hero--notfound {
  --neh-hero-image-position: center center;
}

/* Service image carousel */
.neh-service-image-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.neh-service-image-slider::-webkit-scrollbar {
  display: none;
}

.neh-service-image-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.neh-service-image-slide {
  flex: 0 0 min(86%, 520px);
  scroll-snap-align: start;
}

.neh-service-image-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.neh-service-image-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(var(--rgb-brand-dark), .28);
}

.neh-section--dark .neh-service-image-dots button,
.neh-bg--dark .neh-service-image-dots button {
  background: rgba(255, 255, 255, .35);
}

@media (max-width: 759px) {
  .neh-service-image-slide {
    flex-basis: 88%;
  }
}

/* Nehvonen 2.0 — cinematic fleet journal
   Loaded after the legacy styles so the redesign can be released safely. */

:root {
  --v2-ink: #050b11;
  --v2-night: #071019;
  --v2-blue: #071d38;
  --v2-blue-bright: #0b3470;
  --v2-orange: #f28c00;
  --v2-orange-light: #ffad32;
  --v2-paper: #e9e5dc;
  --v2-paper-light: #f6f3ec;
  --v2-steel: #9ba8b3;
  --v2-white: #fff;
  --v2-container: 1420px;
  --v2-gutter: clamp(20px, 4vw, 72px);
  --v2-section: clamp(88px, 10vw, 168px);
  --v2-radius: 4px;
  --v2-heading: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --v2-body: "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--v2-night);
}

body.neh-v2 {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  color: var(--v2-night);
  background: var(--v2-paper-light);
  font-family: var(--v2-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.neh-v2 *,
.neh-v2 *::before,
.neh-v2 *::after { box-sizing: border-box; }
.neh-v2 img { display: block; max-width: 100%; }
.neh-v2 a { color: inherit; }

.neh-skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #071019;
  background: #fff;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.neh-skip-link:focus { transform: translateY(0); }

.neh-scroll-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}
.neh-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--v2-orange), var(--v2-orange-light));
  transform: scaleX(var(--neh-progress, 0));
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(242, 140, 0, .65);
}

.neh-v2-container {
  width: min(calc(100% - (var(--v2-gutter) * 2)), var(--v2-container));
  margin-inline: auto;
}

.neh-v2-kicker {
  margin: 0 0 18px;
  color: #a74400;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.neh-v2 h1,
.neh-v2 h2,
.neh-v2 h3 {
  font-family: var(--v2-heading);
  font-weight: 900;
  text-wrap: balance;
}

.neh-section-label {
  display: flex;
  gap: 13px;
  align-items: center;
  align-self: start;
  color: #42505b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.neh-section-label::after {
  width: 64px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: .42;
}
.neh-section-label span { color: #a74400; }
.neh-section-label--light { color: rgba(255,255,255,.9); }
.neh-section-label--light span { color: var(--v2-orange-light); }

/* Header */
.neh-v2 .neh-site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(3,8,13,.86), rgba(3,8,13,.46) 70%, transparent);
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(0);
  transition: background .35s ease, transform .3s ease, backdrop-filter .35s ease;
}
.neh-v2 .neh-site-header.is-scrolled {
  background: rgba(5,11,17,.88);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(130%);
}
.neh-v2 .neh-site-header.neh-header--hidden { transform: translateY(-110%); }
.neh-v2 .neh-site-header-inner {
  display: flex;
  width: min(calc(100% - (var(--v2-gutter) * 2)), var(--v2-container));
  max-width: var(--v2-container);
  min-height: 84px;
  margin: 0 auto;
  padding: 10px 0;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.neh-v2 .neh-header-logo {
  display: block;
  width: clamp(168px, 14vw, 218px);
  max-width: 38vw;
  flex: 0 0 auto;
}
.neh-v2 .neh-header-logo img { width: 100%; height: auto; }
.neh-v2 .neh-main-nav {
  position: static;
  display: flex;
  width: auto;
  padding: 0;
  align-items: center;
  gap: clamp(10px, 1.8vw, 30px);
  background: none;
  border: 0;
  box-shadow: none;
}
.neh-v2 .neh-main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  padding: 0 2px;
  align-items: center;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}
.neh-v2 .neh-main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--v2-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.neh-v2 .neh-main-nav a:hover,
.neh-v2 .neh-main-nav a:focus-visible,
.neh-v2 .neh-main-nav a[aria-current="page"] { color: #fff; }
.neh-v2 .neh-main-nav a:hover::after,
.neh-v2 .neh-main-nav a:focus-visible::after,
.neh-v2 .neh-main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.neh-v2 .neh-main-nav .neh-nav-contact {
  min-height: 44px;
  padding: 0 19px;
  color: var(--v2-night);
  background: var(--v2-orange);
}
.neh-v2 .neh-main-nav .neh-nav-contact::after { display: none; }
.neh-v2 .neh-nav-button { display: none; }

/* Hero */
.neh-v2-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #02070c;
  isolation: isolate;
}
.neh-v2-hero__media,
.neh-v2-hero__media img,
.neh-v2-hero__shade,
.neh-v2-hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.neh-v2-hero__media { z-index: -3; margin: 0; }
.neh-v2-hero__media img {
  max-width: none;
  object-fit: cover;
  object-position: 57% center;
  animation: neh-v2-drift 18s ease-in-out infinite alternate;
}
.neh-v2-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2,7,12,.94) 0%, rgba(2,7,12,.67) 33%, rgba(2,7,12,.08) 68%, rgba(2,7,12,.24) 100%),
    linear-gradient(180deg, rgba(2,7,12,.42), transparent 30%, rgba(2,7,12,.16) 68%, rgba(2,7,12,.93));
}
.neh-v2-hero__grid {
  z-index: -1;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}
.neh-v2-hero__inner {
  display: flex;
  width: min(calc(100% - (var(--v2-gutter) * 2)), var(--v2-container));
  min-width: 0;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(130px, 18vh, 220px) 0 clamp(100px, 13vh, 150px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.neh-v2-hero__logo { width: clamp(250px, 26vw, 430px); margin: 0 0 clamp(36px, 6vh, 66px); }
.neh-v2-hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.4)); }
.neh-v2-eyebrow {
  margin: 0 0 18px;
  color: var(--v2-orange-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.neh-v2-hero h1 {
  max-width: 1100px;
  margin: 0;
  color: #fff;
  font-size: clamp(52px, 6.4vw, 108px);
  line-height: .88;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-shadow: 0 10px 34px rgba(0,0,0,.55);
}
.neh-v2-scroll-cue {
  position: absolute;
  right: var(--v2-gutter);
  bottom: 40px;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.neh-v2-scroll-cue svg { width: 24px; fill: none; stroke: var(--v2-orange); stroke-width: 1.8; animation: neh-v2-bounce 1.8s ease-in-out infinite; }

/* Proof rail */
.neh-proof-rail { color: #fff; background: var(--v2-orange); }
.neh-proof-rail__inner {
  display: grid;
  width: min(calc(100% - (var(--v2-gutter) * 2)), var(--v2-container));
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
}
.neh-proof-rail__inner > div {
  display: flex;
  min-height: 116px;
  padding: 22px clamp(18px, 2.5vw, 38px);
  align-items: center;
  gap: 16px;
  border-right: 1px solid rgba(5,11,17,.22);
}
.neh-proof-rail__inner > div:first-child { border-left: 1px solid rgba(5,11,17,.22); }
.neh-proof-rail strong { color: var(--v2-night); font-family: var(--v2-heading); font-size: clamp(28px, 3vw, 46px); letter-spacing: -.05em; }
.neh-proof-rail span { max-width: 130px; color: rgba(5,11,17,.75); font-size: 11px; font-weight: 800; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; }

/* Manifesto */
.neh-manifesto { padding: var(--v2-section) 0; background: var(--v2-paper); }
.neh-manifesto__grid { display: grid; grid-template-columns: minmax(140px, .32fr) 1fr; gap: clamp(36px, 7vw, 130px); }
.neh-manifesto__copy { max-width: 1050px; }
.neh-manifesto h2 {
  max-width: 1000px;
  margin: 0 0 clamp(54px, 7vw, 92px);
  color: var(--v2-night);
  font-size: clamp(42px, 5.6vw, 86px);
  line-height: .98;
  letter-spacing: -.055em;
}
.neh-manifesto__columns { display: grid; max-width: 940px; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 6vw, 90px); }
.neh-manifesto__columns p { margin: 0; color: #35414a; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.72; }
.neh-manifesto__columns strong { color: var(--v2-night); }
.neh-manifesto__link { display: inline-flex; min-height: 54px; margin-top: 38px; padding: 0 22px; align-items: center; gap: 16px; color: var(--v2-night); background: var(--v2-orange); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: background-color .2s ease, transform .2s ease; }
.neh-manifesto__link:hover,
.neh-manifesto__link:focus-visible { background: var(--v2-orange-light); transform: translateY(-2px); }

/* Services */
.neh-v2-services { padding: var(--v2-section) 0; color: #fff; background: var(--v2-night); }
.neh-v2-section-head {
  display: grid;
  margin-bottom: clamp(54px, 7vw, 100px);
  grid-template-columns: minmax(140px, .32fr) 1fr;
  gap: clamp(36px, 7vw, 130px);
}
.neh-v2-services .neh-v2-kicker { color: var(--v2-orange-light); }
.neh-v2-section-head h2 { margin: 0; font-size: clamp(46px, 5.8vw, 88px); line-height: .94; letter-spacing: -.055em; text-transform: uppercase; }
.neh-service-matrix { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(270px, 28vw, 420px); gap: 12px; }
.neh-service-tile {
  position: relative;
  display: flex;
  grid-column: span 4;
  overflow: hidden;
  min-height: 300px;
  padding: clamp(24px, 3vw, 42px);
  align-items: flex-end;
  color: #fff;
  background: #0b1b2b;
  text-decoration: none;
  isolation: isolate;
}
.neh-service-tile--wide { grid-column: span 8; }
.neh-service-tile--tall { grid-row: span 2; }
.neh-service-tile > img { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.neh-service-tile__shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg, rgba(3,8,13,.06), rgba(3,8,13,.22) 38%, rgba(3,8,13,.94)); transition: background .4s ease; }
.neh-service-tile::after { position: absolute; z-index: -1; inset: 0; border: 1px solid rgba(255,255,255,.12); content: ""; pointer-events: none; }
.neh-service-tile__number { position: absolute; top: 26px; right: 28px; color: var(--v2-orange-light); font-family: var(--v2-heading); font-size: 14px; font-weight: 900; letter-spacing: .1em; }
.neh-service-tile__copy { display: flex; width: 100%; flex-direction: column; align-items: flex-start; }
.neh-service-tile small { margin-bottom: 12px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.neh-service-tile strong { max-width: 760px; font-family: var(--v2-heading); font-size: clamp(26px, 2.7vw, 46px); line-height: .98; letter-spacing: -.035em; }
.neh-service-tile em { max-height: 0; margin-top: 0; overflow: hidden; color: rgba(255,255,255,.82); font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .06em; opacity: 0; transition: max-height .3s ease, margin .3s ease, opacity .3s ease; }
.neh-service-tile em b { color: var(--v2-orange-light); }
.neh-service-tile:hover > img,
.neh-service-tile:focus-visible > img { transform: scale(1.055); filter: saturate(1.12); }
.neh-service-tile:hover .neh-service-tile__shade,
.neh-service-tile:focus-visible .neh-service-tile__shade { background: linear-gradient(180deg, rgba(3,8,13,.04), rgba(3,8,13,.18) 30%, rgba(3,8,13,.98)); }
.neh-service-tile:hover em,
.neh-service-tile:focus-visible em { max-height: 30px; margin-top: 18px; opacity: 1; }

.neh-service-directory-matrix { grid-auto-rows: clamp(360px,31vw,480px); }
.neh-service-directory-matrix .neh-service-tile__shade { background: linear-gradient(180deg,rgba(3,8,13,.03),rgba(3,8,13,.32) 30%,rgba(3,8,13,.97)); }
.neh-service-directory-matrix .neh-service-tile strong { color: #fff; }
.neh-service-directory-matrix .neh-service-tile__description { display: block; max-width: 720px; margin-top: 18px; color: rgba(255,255,255,.78); font-size: clamp(14px,1.1vw,17px); font-weight: 500; line-height: 1.55; }
.neh-service-directory-matrix .neh-service-tile em { max-height: 30px; margin-top: 18px; opacity: 1; }

/* Night shift */
.neh-night-shift { position: relative; min-height: min(900px, 100svh); overflow: hidden; color: #fff; background: #02070c; isolation: isolate; }
.neh-night-shift > img { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.neh-night-shift__shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(2,7,12,.96), rgba(2,7,12,.76) 42%, rgba(2,7,12,.12) 78%), linear-gradient(180deg, rgba(2,7,12,.2), rgba(2,7,12,.58)); }
.neh-night-shift__content { display: grid; min-height: min(900px, 100svh); padding-block: var(--v2-section); grid-template-columns: minmax(140px, .32fr) minmax(0, 780px); gap: clamp(36px, 7vw, 130px); align-items: center; }
.neh-night-shift .neh-v2-kicker { color: var(--v2-orange-light); }
.neh-night-shift h2 { margin: 0 0 28px; font-size: clamp(48px, 6vw, 94px); line-height: .92; letter-spacing: -.06em; text-transform: uppercase; }
.neh-night-shift__content > div:last-child > p:not(.neh-v2-kicker) { max-width: 600px; margin: 0 0 32px; color: rgba(255,255,255,.76); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.68; }

.neh-v2-text-link { display: inline-flex; padding: 12px 0 9px; gap: 15px; align-items: center; border-bottom: 2px solid var(--v2-orange); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.neh-v2-text-link span { color: var(--v2-orange); font-size: 17px; transition: transform .2s ease; }
.neh-v2-text-link:hover span,
.neh-v2-text-link:focus-visible span { transform: translate(3px,-3px); }

/* Heritage */
.neh-heritage { position: relative; overflow: hidden; padding: var(--v2-section) 0; background: var(--v2-paper-light); }
.neh-heritage__grid { position: relative; display: grid; grid-template-columns: minmax(140px,.32fr) minmax(220px,.42fr) 1fr; gap: clamp(30px, 5vw, 92px); align-items: center; }
.neh-heritage__number { color: transparent; font-family: var(--v2-heading); font-size: clamp(150px, 22vw, 380px); font-weight: 900; letter-spacing: -.1em; line-height: .72; -webkit-text-stroke: 2px rgba(7,16,25,.13); }
.neh-heritage h2 { margin: 0 0 28px; font-size: clamp(44px, 5vw, 78px); line-height: .96; letter-spacing: -.055em; }
.neh-heritage__copy > p:not(.neh-v2-kicker) { max-width: 680px; margin: 0; color: #43505a; font-size: 17px; line-height: 1.72; }
.neh-heritage__facts { display: grid; margin-top: 48px; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(7,16,25,.18); }
.neh-heritage__facts div { padding: 24px 16px 0 0; }
.neh-heritage__facts span { color: #a74400; font-family: var(--v2-heading); font-size: 30px; font-weight: 900; }
.neh-heritage__facts p { margin: 7px 0 0; color: #59646c; font-size: 12px; line-height: 1.45; }
.neh-heritage--night { color: #fff; background: radial-gradient(circle at 30% 42%,rgba(12,36,65,.72),rgba(12,36,65,0) 44%), linear-gradient(135deg,#02070c,#071019 58%,#0c2441); isolation: isolate; }
.neh-heritage--night .neh-heritage__number { -webkit-text-stroke-color: rgba(242,140,0,.28); }
.neh-heritage--night h2 { color: #fff; }
.neh-heritage--night .neh-v2-kicker { color: var(--v2-orange-light); }
.neh-heritage--night .neh-heritage__copy > p:not(.neh-v2-kicker) { color: rgba(255,255,255,.72); }
.neh-heritage--night .neh-heritage__facts { border-top-color: rgba(255,255,255,.16); }
.neh-heritage--night .neh-heritage__facts div { border-bottom-color: rgba(255,255,255,.13); }
.neh-heritage--night .neh-heritage__facts span { color: var(--v2-orange-light); }
.neh-heritage--night .neh-heritage__facts p { color: rgba(255,255,255,.58); }

/* OAK */
.neh-oak-v2 { padding: clamp(68px,7vw,110px) 0; color: #fff; background: #0c2441; }
.neh-oak-v2__grid { display: grid; grid-template-columns: minmax(140px,.32fr) 1fr minmax(260px,.65fr); gap: clamp(34px,5vw,90px); align-items: center; }
.neh-oak-v2__grid > .neh-section-label { align-self: start; margin-top: 4px; }
.neh-oak-v2 figure { margin: 0; padding: clamp(20px,3vw,42px); border-left: 2px solid var(--v2-orange); background: rgba(3,12,23,.18); }
.neh-oak-v2 figure img { width: min(100%,420px); height: auto; margin: 0 auto; }
.neh-oak-v2 .neh-v2-kicker { color: var(--v2-orange-light); }
.neh-oak-v2 h2 { margin: 0 0 24px; font-size: clamp(40px,4.7vw,72px); line-height: .98; letter-spacing: -.05em; }
.neh-oak-v2 p:not(.neh-v2-kicker) { max-width: 720px; margin: 0 0 28px; color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.68; }

/* Workplace */
.neh-work-v2 { display: grid; min-height: 800px; grid-template-columns: 1fr 1fr; background: var(--v2-paper); }
.neh-work-v2__media { position: relative; min-height: 680px; overflow: hidden; }
.neh-work-v2__media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, transparent 70%, rgba(233,229,220,.25)); }
.neh-work-v2__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 59% center; }
.neh-work-v2__copy { display: flex; padding: clamp(68px,6vw,96px) clamp(38px,5vw,72px); flex-direction: column; justify-content: center; }
.neh-work-v2__copy .neh-section-label { margin-bottom: clamp(38px,4vw,58px); }
.neh-work-v2 h2 { margin: 0 0 24px; color: var(--v2-night); font-size: clamp(40px,4vw,64px); line-height: .98; letter-spacing: -.05em; }
.neh-work-v2__copy > p:not(.neh-v2-kicker) { max-width: 650px; margin: 0 0 16px; color: #3f4b54; font-size: 16.5px; line-height: 1.58; }
.neh-work-v2 .neh-v2-text-link { align-self: flex-start; margin-top: 18px; }
.neh-summer-job { max-width: 650px; margin-top: 16px; padding: 22px 24px; border-left: 3px solid var(--v2-orange); background: #fff; }
.neh-summer-job p { margin: 0 0 14px; color: #3f4b54; font-size: 15px; line-height: 1.5; }
.neh-summer-job p strong { color: var(--v2-night); }
.neh-summer-job a { display: inline-flex; min-height: 44px; padding: 0 18px; align-items: center; gap: 10px; color: var(--v2-night); background: var(--v2-orange); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.neh-summer-job a span { font-variant-numeric: tabular-nums; }

.neh-driver-story-v2 { padding: clamp(34px,4vw,58px) var(--v2-gutter); color: #fff; background: var(--v2-night); }
.neh-driver-story-v2__grid { display: grid; grid-template-columns: 240px minmax(0,1fr) minmax(280px,.8fr); align-items: center; gap: clamp(28px,4vw,58px); }
.neh-driver-story-v2__media { height: 260px; margin: 0; overflow: hidden; }
.neh-driver-story-v2__media img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 66%; }
.neh-driver-story-v2 .neh-v2-kicker { margin-bottom: 10px; }
.neh-driver-story-v2 h3 { margin: 0 0 14px; color: #fff; font-size: clamp(30px,3vw,46px); line-height: 1; letter-spacing: -.04em; }
.neh-driver-story-v2__copy > p:last-child { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.58; }
.neh-driver-story-v2__quote { margin: 0; padding-left: 24px; border-left: 3px solid var(--v2-orange); }
.neh-driver-story-v2__quote p { margin: 0; color: #fff; font-size: clamp(19px,1.7vw,25px); font-weight: 800; line-height: 1.3; letter-spacing: -.025em; }
.neh-driver-story-v2__quote footer { margin-top: 12px; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.neh-driver-story-v2__quote > footer:first-child { margin: 0 0 12px; }
body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero h1 { font-size: clamp(54px,7vw,104px); }
body.neh-v2.neh-careers-page main.neh-block-page .neh-work-v2 h2 { font-size: clamp(40px,4vw,64px); }
body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero { min-height: 100svh; }
body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero::after { position: absolute; right: var(--v2-gutter); bottom: 0; left: var(--v2-gutter); z-index: 5; height: 3px; content: ""; background: linear-gradient(90deg,var(--v2-orange),rgba(242,140,0,0)); }
body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero .neh-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero .neh-hero__overlay { background: linear-gradient(90deg,rgba(3,8,13,.95),rgba(3,8,13,.68) 42%,rgba(3,8,13,.1) 80%), linear-gradient(180deg,rgba(3,8,13,.25),transparent 45%,rgba(3,8,13,.68)); }
body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero .neh-hero__inner { display: flex; width: min(calc(100% - (var(--v2-gutter) * 2)),var(--v2-container)); min-height: 100svh; margin: 0 auto; padding: 150px 0 90px; align-items: flex-end; }
body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero .neh-hero__content { width: min(100%,920px); max-width: none; margin: 0; text-align: left; }
body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero .neh-kicker { margin-bottom: 16px; color: var(--v2-orange-light); font-size: 11px; letter-spacing: .18em; }
body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero h1 { max-width: 950px; margin: 0; color: #fff; line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }

/* Area */
.neh-area-v2 { padding: var(--v2-section) 0; color: #fff; background: var(--v2-ink); }
.neh-area-v2__grid { display: grid; grid-template-columns: minmax(140px,.32fr) minmax(330px,.65fr) 1fr; gap: clamp(34px,5vw,90px); align-items: center; }
.neh-area-v2__map { position: relative; display: grid; aspect-ratio: 1; place-items: center; }
.neh-map-ring { position: absolute; border: 1px solid rgba(242,140,0,.28); border-radius: 50%; }
.neh-map-ring--1 { width: 35%; height: 35%; }
.neh-map-ring--2 { width: 62%; height: 62%; }
.neh-map-ring--3 { width: 90%; height: 90%; }
.neh-map-pin { position: relative; z-index: 2; width: 16px; height: 16px; border: 4px solid var(--v2-orange); border-radius: 50%; background: #fff; box-shadow: 0 0 0 14px rgba(242,140,0,.12), 0 0 36px rgba(242,140,0,.5); }
.neh-area-v2__map strong { position: absolute; z-index: 2; top: calc(50% + 28px); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.neh-area-v2 .neh-v2-kicker { color: var(--v2-orange-light); }
.neh-area-v2 h2 { margin: 0 0 24px; font-size: clamp(42px,4.8vw,72px); line-height: .98; letter-spacing: -.05em; }
.neh-area-v2__copy > p:not(.neh-v2-kicker) { margin: 0; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.68; }
.neh-area-v2 ul { display: flex; margin: 36px 0 0; padding: 0; flex-wrap: wrap; gap: 8px; list-style: none; }
.neh-area-v2 li { padding: 9px 13px; border: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.68); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

/* Contact */
.neh-contact-v2 { padding: var(--v2-section) 0 clamp(80px,9vw,130px); color: #fff; background: linear-gradient(145deg,#082757,#071526 56%,#050b11); }
.neh-contact-v2__head { max-width: 1000px; margin: clamp(60px,8vw,110px) 0 clamp(50px,7vw,90px); }
.neh-contact-v2 .neh-v2-kicker { color: var(--v2-orange-light); }
.neh-contact-v2 h2 { margin: 0 0 22px; font-size: clamp(62px,8vw,128px); line-height: .82; letter-spacing: -.065em; text-transform: uppercase; }
.neh-contact-v2__head > p:last-child { max-width: 650px; margin: 0; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.65; }
.neh-contact-v2__people { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid rgba(255,255,255,.16); }
.neh-contact-v2__people a { position: relative; display: grid; padding: clamp(28px,4vw,54px) clamp(18px,3vw,42px); grid-template-columns: auto 1fr auto; gap: 10px 24px; align-items: center; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); text-decoration: none; transition: background .25s ease; }
.neh-contact-v2__people a:first-child { border-left: 1px solid rgba(255,255,255,.16); }
.neh-contact-v2__people a:hover,
.neh-contact-v2__people a:focus-visible { background: rgba(255,255,255,.06); }
.neh-contact-v2__people span { grid-row: 1 / 3; color: var(--v2-orange-light); font-family: var(--v2-heading); font-size: 15px; font-weight: 900; }
.neh-contact-v2__people small { color: rgba(255,255,255,.58); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.neh-contact-v2__people strong { font-family: var(--v2-heading); font-size: clamp(28px,3.8vw,58px); letter-spacing: -.035em; white-space: nowrap; }
.neh-contact-v2__people em { grid-row: 1 / 3; grid-column: 3; font-size: 11px; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.neh-contact-v2__people em b { color: var(--v2-orange-light); }
.neh-contact-v2__actions { display: flex; margin-top: 44px; align-items: flex-end; justify-content: space-between; gap: 30px; }
.neh-v2 .neh-contact-v2 .neh-v2-button { display: inline-flex; min-height: 58px; padding: 0 25px; align-items: center; gap: 18px; color: #071019 !important; background-color: #f28c00 !important; font-size: 12px; font-weight: 900; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; transition: background-color .2s ease, transform .2s ease; }
.neh-v2-button:hover,
.neh-v2-button:focus-visible { background-color: #ffad32 !important; transform: translateY(-2px); }
.neh-contact-v2 address { color: rgba(255,255,255,.55); font-size: 13px; font-style: normal; line-height: 1.6; text-align: right; }

.neh-footer-v2 { padding: 40px 0; color: rgba(255,255,255,.5); background: #03080d; }
.neh-footer-v2 .neh-v2-container { display: grid; grid-template-columns: 1fr auto auto; gap: 36px; align-items: center; }
.neh-footer-v2 a { width: 180px; }
.neh-footer-v2 a img { width: 100%; height: auto; }
.neh-footer-v2 p { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.neh-mobile-dock { display: none; }

/* Progressive reveal: content stays visible when JavaScript is unavailable. */
.neh-js .neh-reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.neh-js .neh-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Service pages — retain the content, give every service the same new visual system. */
.neh-v2 .neh-service-page { overflow: clip; background: var(--v2-paper-light); }
.neh-v2 .neh-service-page > .neh-hero {
  min-height: min(920px, 94svh);
  height: auto;
  background: var(--v2-ink);
}
.neh-v2 .neh-service-page > .neh-hero::after {
  position: absolute;
  right: var(--v2-gutter);
  bottom: 0;
  left: var(--v2-gutter);
  z-index: 5;
  height: 3px;
  content: "";
  background: linear-gradient(90deg,var(--v2-orange),rgba(242,140,0,0));
}
.neh-v2 .neh-service-page > .neh-hero picture,
.neh-v2 .neh-service-page > .neh-hero .neh-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; }
.neh-v2 .neh-service-page > .neh-hero .neh-hero__image { max-width: none; object-fit: cover; }
.neh-v2 .neh-page-theme-aggregate > .neh-hero .neh-hero__image { content: normal !important; }
.neh-v2 .neh-service-page > .neh-hero .neh-hero__overlay {
  background: linear-gradient(90deg,rgba(3,8,13,.95),rgba(3,8,13,.68) 42%,rgba(3,8,13,.1) 80%), linear-gradient(180deg,rgba(3,8,13,.25),transparent 45%,rgba(3,8,13,.68));
}
.neh-v2 .neh-service-page > .neh-hero .neh-hero__inner {
  display: flex;
  width: min(calc(100% - (var(--v2-gutter) * 2)),var(--v2-container));
  min-height: min(920px,94svh);
  margin: 0 auto;
  padding: 150px 0 90px;
  align-items: flex-end;
}
.neh-v2 .neh-service-page > .neh-hero .neh-hero__content { width: min(100%,920px); max-width: none; margin: 0; text-align: left; }
.neh-v2 .neh-service-page > .neh-hero .neh-kicker { margin-bottom: 16px; color: var(--v2-orange-light); font-size: 11px; letter-spacing: .18em; }
.neh-v2 .neh-service-page > .neh-hero h1 { max-width: 950px; margin: 0; color: #fff; font-size: clamp(54px,7vw,110px); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.neh-v2 .neh-service-page > .neh-hero .neh-hero__content > p:not(.neh-kicker) { max-width: 650px; margin-top: 26px; color: rgba(255,255,255,.74); font-size: clamp(17px,1.4vw,21px); line-height: 1.6; }
.neh-v2 .neh-service-page .neh-section { padding-block: clamp(80px,9vw,140px); }
.neh-v2 .neh-service-page .neh-container { width: min(calc(100% - (var(--v2-gutter) * 2)),var(--v2-container)); max-width: var(--v2-container); }
.neh-v2 .neh-service-page .neh-section__copy h2,
.neh-v2 .neh-service-page .neh-section__head h2 { margin-bottom: 24px; font-size: clamp(40px,4.7vw,72px); line-height: .98; letter-spacing: -.05em; }
.neh-v2 .neh-service-page .neh-section__copy p:not(.neh-kicker),
.neh-v2 .neh-service-page .neh-section__head p:not(.neh-kicker) { font-size: clamp(16px,1.2vw,18px); line-height: 1.72; }
.neh-v2 .neh-service-page .neh-bg--light,
.neh-v2 .neh-service-page .neh-bg--white { background: var(--v2-paper-light); }
.neh-v2 .neh-service-page .neh-bg--dark { background: var(--v2-night); }
.neh-v2 .neh-service-page .neh-layout--split > .neh-section__inner { grid-template-columns: minmax(0,.82fr) minmax(420px,1.18fr); gap: clamp(50px,8vw,130px); }
.neh-v2 .neh-service-page .neh-section__media img,
.neh-v2 .neh-service-page .neh-card--media img { border-radius: 0; box-shadow: none; }
.neh-v2 .neh-service-page .neh-grid--media { gap: 12px; }
.neh-v2 .neh-service-page .neh-card--media { padding: 0 0 32px; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); background: transparent; box-shadow: none; }
.neh-v2 .neh-service-page .neh-card--media img { width: 100%; height: clamp(260px,23vw,410px); margin-bottom: 28px; object-fit: cover; }
.neh-v2 .neh-gallery-item > button.neh-lightbox-open { width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.neh-v2 .neh-service-page .neh-card--media h3 { font-size: clamp(25px,2vw,34px); }
.neh-v2 .neh-service-page .neh-inline-button,
.neh-v2 .neh-service-page .neh-cta-button { border-radius: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.neh-v2 .neh-service-page .neh-note { border-radius: 0; }

/* Service wayfinding and the standalone service directory. */
.neh-breadcrumb { margin: 0 0 24px; color: rgba(255,255,255,.7); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.neh-breadcrumb ol { display: flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; }
.neh-breadcrumb li { display: inline-flex; min-width: 0; align-items: center; gap: 8px; }
.neh-breadcrumb li + li::before { color: var(--v2-orange-light); content: "/"; }
.neh-breadcrumb a { color: inherit; text-underline-offset: 4px; }
.neh-breadcrumb [aria-current="page"] { color: #fff; text-decoration: none; }

.neh-service-back { display: flex; width: 100%; min-height: 68px; margin: 0; padding: 22px max(var(--v2-gutter),calc((100vw - var(--v2-container))/2)); box-sizing: border-box; align-items: center; gap: 12px; color: #fff; border-top: 1px solid rgba(255,255,255,.12); background: #07111b; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.neh-service-back::before { color: var(--v2-orange); content: "\2190"; font-size: 17px; transition: transform .2s ease; }
.neh-service-back:hover::before,
.neh-service-back:focus-visible::before { transform: translateX(-3px); }

.neh-service-directory,
.neh-service-index { padding: var(--v2-section) 0; color: var(--v2-night); background: var(--v2-paper-light); }
.neh-service-directory__head,
.neh-service-index__head { max-width: 920px; margin-bottom: clamp(42px,6vw,76px); }
.neh-service-directory__head h1,
.neh-service-directory__head h2,
.neh-service-index__head h1,
.neh-service-index__head h2 { margin: 0 0 22px; font-size: clamp(44px,5.4vw,82px); line-height: .94; letter-spacing: -.055em; text-transform: uppercase; }
.neh-service-directory__head p,
.neh-service-index__head p { max-width: 680px; margin: 0; color: #43505a; font-size: 17px; line-height: 1.68; }
.neh-service-directory__grid,
.neh-service-index__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.neh-service-directory__grid > a,
.neh-service-directory__card,
.neh-service-index__grid > a,
.neh-service-index__card { position: relative; display: grid; min-height: 230px; padding: clamp(24px,3vw,40px); align-content: space-between; gap: 28px; overflow: hidden; color: #fff; border: 1px solid rgba(255,255,255,.12); background: var(--v2-night); text-decoration: none; isolation: isolate; }
.neh-service-directory__grid > a::before,
.neh-service-directory__card::before,
.neh-service-index__grid > a::before,
.neh-service-index__card::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(145deg,rgba(242,140,0,.18),transparent 58%); opacity: 0; transition: opacity .25s ease; }
.neh-service-directory__grid > a:hover::before,
.neh-service-directory__grid > a:focus-visible::before,
.neh-service-directory__card:hover::before,
.neh-service-directory__card:focus-visible::before,
.neh-service-index__grid > a:hover::before,
.neh-service-index__grid > a:focus-visible::before,
.neh-service-index__card:hover::before,
.neh-service-index__card:focus-visible::before { opacity: 1; }
.neh-service-directory__number,
.neh-service-index__number { color: var(--v2-orange-light); font-family: var(--v2-heading); font-size: 14px; font-weight: 900; letter-spacing: .1em; }
.neh-service-directory__title,
.neh-service-index__title { margin: 0; font-family: var(--v2-heading); font-size: clamp(28px,3vw,46px); font-weight: 900; line-height: .98; letter-spacing: -.04em; }
.neh-service-directory__meta,
.neh-service-index__meta { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.55; }

.neh-services-directory-link { width: fit-content; margin-top: clamp(28px,4vw,48px); }
.neh-lightbox-open .neh-mobile-dock { display: none !important; }

.neh-v2 .neh-contact-block {
  min-height: 0;
  padding: clamp(86px,9vw,140px) var(--v2-gutter);
  color: #fff;
  background: linear-gradient(145deg,#082757,#071526 56%,#050b11);
}
.neh-v2 .neh-contact-inner { width: min(100%,var(--v2-container)); max-width: var(--v2-container); }
.neh-v2 .neh-contact-simple { width: min(100%,920px); max-width: none; margin: 0; text-align: left; }
.neh-v2 .neh-contact-simple h2 { margin-bottom: 44px; color: #fff; font-size: clamp(56px,7vw,108px); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.neh-v2 .neh-contact-details { display: grid; grid-template-columns: repeat(2,minmax(220px,1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.neh-v2 .neh-contact-details p { margin: 0; padding: 28px 24px 28px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.6); font-size: 13px; text-transform: uppercase; }
.neh-v2 .neh-contact-details a { display: inline-block; margin-top: 8px; color: #fff; font-family: var(--v2-heading); font-size: clamp(26px,3vw,44px); font-weight: 900; letter-spacing: -.03em; }
.neh-v2 .neh-footer-block { padding: 45px var(--v2-gutter); background: #03080d; }
.neh-v2 .neh-footer-inner { width: min(100%,var(--v2-container)); max-width: var(--v2-container); }

@keyframes neh-v2-drift { from { transform: scale(1); } to { transform: scale(1.035); } }
@keyframes neh-v2-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (min-width: 760px) {
  .neh-v2.neh-service-index-page .neh-service-page > .neh-hero h1 { max-width: 920px; font-size: clamp(54px,6vw,78px); }
}

@media (max-width: 1100px) {
  .neh-proof-rail__inner { grid-template-columns: repeat(2,1fr); }
  .neh-proof-rail__inner > div:nth-child(3) { border-left: 1px solid rgba(5,11,17,.22); border-top: 1px solid rgba(5,11,17,.22); }
  .neh-proof-rail__inner > div:nth-child(4) { border-top: 1px solid rgba(5,11,17,.22); }
  .neh-service-matrix { grid-template-columns: repeat(2,1fr); grid-auto-rows: 360px; }
  .neh-service-tile,
  .neh-service-tile--wide { grid-column: span 1; }
  .neh-service-tile--tall { grid-row: span 1; }
  .neh-heritage__grid { grid-template-columns: 150px 1fr; }
  .neh-heritage__number { position: absolute; z-index: 0; right: -3vw; top: -1vw; opacity: .6; }
  .neh-heritage__copy { position: relative; z-index: 1; grid-column: 2; }
  .neh-oak-v2__grid { grid-template-columns: .72fr 1fr; gap: 44px; }
  .neh-oak-v2__grid > .neh-section-label { grid-column: 1 / -1; margin: 0; }
  .neh-area-v2__grid { grid-template-columns: 130px minmax(260px,.65fr) 1fr; }
  .neh-v2 .neh-service-page .neh-layout--split > .neh-section__inner { grid-template-columns: 1fr 1fr; gap: 50px; }
}

@media (pointer: coarse), (hover: none) {
  .neh-v2 .neh-bg--parallax { background-attachment: scroll !important; }
}

@media (max-width: 900px) {
  :root { --v2-gutter: clamp(20px,4vw,38px); --v2-section: clamp(74px,12vw,118px); }
  .neh-manifesto__grid,
  .neh-v2-section-head,
  .neh-night-shift__content { grid-template-columns: 120px 1fr; gap: 36px; }
  .neh-oak-v2__grid { grid-template-columns: .72fr 1fr; gap: 44px; }
  .neh-work-v2 { grid-template-columns: 1fr; }
  .neh-work-v2__media { min-height: 70svh; }
  .neh-driver-story-v2__grid { grid-template-columns: 220px minmax(0,1fr); }
  .neh-driver-story-v2__quote { grid-column: 2; }
  .neh-area-v2__grid { grid-template-columns: 120px 1fr; }
  .neh-area-v2__map { grid-column: 2; width: min(100%,440px); }
  .neh-area-v2__copy { grid-column: 2; }
  .neh-contact-v2__people a { grid-template-columns: auto 1fr; }
  .neh-contact-v2__people em { display: none; }
}

@media (min-width: 901px) {
  .neh-manifesto,
  .neh-contact-v2 { position: relative; overflow: hidden; isolation: isolate; }
  .neh-heritage,
  .neh-oak-v2,
  .neh-area-v2 { position: relative; display: flex; min-height: clamp(640px,82svh,840px); overflow: hidden; align-items: center; isolation: isolate; }
  .neh-manifesto > .neh-v2-container,
  .neh-heritage > .neh-v2-container,
  .neh-oak-v2 > .neh-v2-container,
  .neh-area-v2 > .neh-v2-container,
  .neh-contact-v2 > .neh-v2-container { position: relative; z-index: 2; width: min(calc(100% - (var(--v2-gutter) * 2)),var(--v2-container)); }
  .neh-manifesto { --neh-pattern-x: 14%; --neh-pattern-y: 52%; --neh-pattern-grid: rgba(7,16,25,.055); --neh-pattern-ring: rgba(167,68,0,.13); }
  .neh-heritage { --neh-pattern-x: 24%; --neh-pattern-y: 54%; --neh-pattern-grid: rgba(255,255,255,.038); --neh-pattern-ring: rgba(242,140,0,.1); }
  .neh-oak-v2 { --neh-pattern-x: 86%; --neh-pattern-y: 50%; --neh-pattern-grid: rgba(255,255,255,.038); --neh-pattern-ring: rgba(242,140,0,.1); }
  .neh-area-v2 { --neh-pattern-x: 36%; --neh-pattern-y: 52%; --neh-pattern-grid: rgba(255,255,255,.038); --neh-pattern-ring: rgba(242,140,0,.1); }
  .neh-contact-v2 { --neh-pattern-x: 84%; --neh-pattern-y: 58%; --neh-pattern-grid: rgba(255,255,255,.038); --neh-pattern-ring: rgba(242,140,0,.1); }
  .neh-manifesto::before,
  .neh-heritage::before,
  .neh-oak-v2::before,
  .neh-area-v2::before,
  .neh-contact-v2::before { position: absolute; z-index: 0; inset: 0; content: ""; pointer-events: none; background-image: linear-gradient(var(--neh-pattern-grid) 1px,transparent 1px),linear-gradient(90deg,var(--neh-pattern-grid) 1px,transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
  .neh-manifesto::after,
  .neh-heritage::after,
  .neh-oak-v2::after,
  .neh-area-v2::after,
  .neh-contact-v2::after { position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none; background: repeating-radial-gradient(circle at var(--neh-pattern-x) var(--neh-pattern-y),transparent 0 86px,var(--neh-pattern-ring) 87px 88px,transparent 89px 168px); -webkit-mask-image: radial-gradient(circle at var(--neh-pattern-x) var(--neh-pattern-y),#000,transparent 72%); mask-image: radial-gradient(circle at var(--neh-pattern-x) var(--neh-pattern-y),#000,transparent 72%); }
}

@media (min-width: 760px) and (max-width: 1020px) {
  .neh-v2 .neh-site-header-inner { min-height: 72px; }
  .neh-v2 .neh-header-logo { width: 176px; }
  .neh-v2 .neh-nav-button {
    position: relative;
    display: flex;
    width: 48px;
    height: 44px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.07);
    cursor: pointer;
  }
  .neh-v2 .neh-nav-button span { display: block; width: 21px; height: 2px; margin: 0; background: #fff; transition: transform .25s ease, opacity .2s ease; }
  .neh-v2 .neh-nav-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .neh-v2 .neh-nav-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .neh-v2 .neh-nav-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .neh-v2 .neh-main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--v2-gutter);
    display: none;
    width: min(360px, calc(100% - (var(--v2-gutter) * 2)));
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(4,10,16,.97);
    box-shadow: 0 24px 60px rgba(0,0,0,.42);
  }
  .neh-v2 .neh-main-nav.is-open { display: flex; }
  .neh-v2 .neh-main-nav a { min-height: 50px; padding: 0 16px; }
  .neh-v2 .neh-main-nav .neh-nav-contact { margin-top: 4px; justify-content: center; }
}

@media (max-width: 759px) {
  html { scroll-padding-top: 70px; }
  body.neh-v2 { padding-bottom: 0; }
  body.neh-v2.is-past-hero { padding-bottom: 64px; }
  .neh-v2 .neh-site-header { background: rgba(4,10,16,.72); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); }
  .neh-v2 .neh-site-header-inner { width: calc(100% - 28px); min-height: 64px; padding: 7px 0; }
  .neh-v2 .neh-header-logo { width: clamp(145px,42vw,174px); max-width: 56vw; }
  .neh-v2 .neh-nav-button {
    position: relative;
    display: flex;
    width: 46px;
    height: 42px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.07);
    cursor: pointer;
  }
  .neh-v2 .neh-nav-button span { display: block; width: 20px; height: 2px; margin: 0; background: #fff; transition: transform .25s ease, opacity .2s ease; }
  .neh-v2 .neh-nav-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .neh-v2 .neh-nav-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .neh-v2 .neh-nav-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .neh-v2 .neh-main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    width: auto;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(4,10,16,.97);
    box-shadow: 0 24px 60px rgba(0,0,0,.42);
  }
  .neh-v2 .neh-main-nav.is-open { display: flex; }
  .neh-v2 .neh-main-nav a { min-height: 50px; padding: 0 16px; justify-content: space-between; }
  .neh-v2 .neh-main-nav a::after { right: 16px; bottom: 8px; left: 16px; }
  .neh-v2 .neh-main-nav .neh-nav-contact { margin-top: 4px; justify-content: center; }

  .neh-v2-hero { min-height: 100svh; }
  .neh-v2-hero__media img { object-position: 57% center; animation: none; }
  .neh-v2-hero__shade { background: linear-gradient(180deg,rgba(2,7,12,.05),rgba(2,7,12,.05) 47%,rgba(2,7,12,.92) 82%,rgba(2,7,12,.99)); }
  .neh-v2-hero__grid { display: none; }
  .neh-v2-hero__inner { min-height: 100svh; padding: 100px 0 72px; justify-content: flex-end; align-items: center; text-align: center; }
  .neh-v2-hero__logo { display: none; }
  .neh-v2-eyebrow { font-size: 9px; letter-spacing: .15em; }
  .neh-v2-hero__inner { width: calc(100% - 40px); max-width: calc(100% - 40px); }
  .neh-v2-hero h1 { width: 100%; max-width: 100%; font-size: clamp(25px,7.8vw,38px); line-height: .96; letter-spacing: -.052em; }
  .neh-v2-scroll-cue { right: 50%; bottom: 18px; min-height: 36px; transform: translateX(50%); }
  .neh-v2-scroll-cue span { display: none; }

  .neh-proof-rail { overflow: hidden; }
  .neh-proof-rail__inner { display: grid; width: 100%; margin: 0; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .neh-proof-rail__inner > div { width: auto; min-width: 0; min-height: 104px; padding: 15px 20px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; border: 0; border-right: 1px solid rgba(5,11,17,.22) !important; border-bottom: 1px solid rgba(5,11,17,.22) !important; }
  .neh-proof-rail__inner > div:nth-child(odd) { border-left: 1px solid rgba(5,11,17,.22) !important; }
  .neh-proof-rail strong { font-size: 30px; }
  .neh-proof-rail span { max-width: 100%; font-size: 9px; overflow-wrap: normal; word-break: normal; hyphens: none; }

  .neh-section-label { margin-bottom: 42px; flex-wrap: wrap; font-size: 9px; letter-spacing: .1em; white-space: normal; }
  .neh-section-label::after { flex: 1 1 36px; max-width: 64px; }
  .neh-manifesto__grid,
  .neh-v2-section-head,
  .neh-night-shift__content,
  .neh-heritage__grid,
  .neh-area-v2__grid { display: block; }
  .neh-manifesto h2 { margin-bottom: 42px; font-size: clamp(34px,10.3vw,50px); }
  .neh-manifesto__columns { display: block; }
  .neh-manifesto__columns p + p { margin-top: 22px; }
  .neh-manifesto__link { width: 100%; min-height: 52px; margin-top: 30px; justify-content: center; }

  .neh-v2-section-head h2 { max-width: 100%; font-size: clamp(28px,8vw,42px); }
  .neh-v2-services { padding-block: 64px; }
  .neh-v2-section-head { margin-bottom: 38px; }
  .neh-service-matrix { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 8px; }
  .neh-service-tile,
  .neh-service-tile--wide,
  .neh-service-tile--tall { min-height: clamp(186px,58vw,226px); grid-column: auto; grid-row: auto; padding: 20px; }
  .neh-service-tile__number { top: 18px; right: 18px; }
  .neh-service-tile small { margin-bottom: 8px; }
  .neh-service-tile strong { max-width: 100%; min-width: 0; font-size: clamp(18px,5.4vw,27px); }
  .neh-service-tile em { max-height: 30px; margin-top: 11px; opacity: 1; }
  .neh-service-directory-matrix .neh-service-tile,
  .neh-service-directory-matrix .neh-service-tile--wide,
  .neh-service-directory-matrix .neh-service-tile--tall { min-height: clamp(340px,96vw,390px); padding: 22px 20px; }
  .neh-service-directory-matrix .neh-service-tile__description { margin-top: 14px; font-size: 14px; line-height: 1.48; }
  .neh-service-directory-matrix .neh-service-tile em { margin-top: 14px; }

  .neh-night-shift { min-height: clamp(430px,64svh,540px); }
  .neh-night-shift__shade { background: linear-gradient(180deg,rgba(2,7,12,.12),rgba(2,7,12,.4) 44%,rgba(2,7,12,.97) 82%); }
  .neh-night-shift__content { display: flex; min-height: clamp(430px,64svh,540px); padding-block: 50px; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
  .neh-night-shift .neh-section-label { margin-bottom: 28px; }
  .neh-night-shift h2 { margin-bottom: 20px; font-size: clamp(31px,9vw,43px); }
  .neh-night-shift__content > div:last-child > p:not(.neh-v2-kicker) { margin-bottom: 24px; font-size: 16px; line-height: 1.58; }

  .neh-heritage { padding: 60px 0 54px; }
  .neh-heritage .neh-section-label { margin-bottom: 30px; }
  .neh-heritage__number { position: absolute; top: 72px; right: -12px; font-size: 132px; opacity: .5; }
  .neh-heritage__copy { position: relative; }
  .neh-heritage h2 { margin-bottom: 20px; font-size: clamp(28px,7.8vw,38px); }
  .neh-heritage__copy > p:not(.neh-v2-kicker) { font-size: 16px; line-height: 1.58; }
  .neh-heritage__facts { margin-top: 28px; grid-template-columns: 1fr; }
  .neh-heritage__facts div { display: grid; padding: 12px 0; grid-template-columns: 76px 1fr; align-items: center; border-bottom: 1px solid rgba(7,16,25,.13); }
  .neh-heritage__facts span { font-size: 25px; }
  .neh-heritage__facts p { margin: 0; }

  .neh-oak-v2 { padding: 56px 0; }
  .neh-oak-v2__grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .neh-oak-v2__grid > .neh-section-label { margin: 0 0 4px; }
  .neh-oak-v2 figure { order: 2; padding: 20px; }
  .neh-oak-v2 figure img { width: min(100%,260px); }
  .neh-oak-v2 h2 { max-width: 100%; margin-bottom: 18px; font-size: clamp(26px,7vw,34px); }
  .neh-oak-v2 p:not(.neh-v2-kicker) { margin-bottom: 0; font-size: 16px; line-height: 1.58; }

  .neh-work-v2 { display: flex; min-height: 0; flex-direction: column; }
  .neh-work-v2__media { min-height: clamp(290px,44svh,400px); }
  .neh-work-v2__copy { padding: 56px var(--v2-gutter) 62px; }
  .neh-work-v2__copy .neh-section-label { margin-bottom: 30px; }
  .neh-work-v2 h2 { margin-bottom: 20px; font-size: clamp(29px,7.8vw,38px); }
  .neh-work-v2__copy > p:not(.neh-v2-kicker) { margin-bottom: 14px; font-size: 16px; line-height: 1.58; }
  .neh-work-v2 .neh-v2-text-link { margin-top: 12px; }
  .neh-summer-job { margin-top: 14px; padding: 20px; }
  .neh-summer-job a { width: 100%; justify-content: center; }
  .neh-driver-story-v2 { padding: 28px var(--v2-gutter) 34px; }
  .neh-driver-story-v2__grid { grid-template-columns: 1fr; gap: 24px; }
  .neh-driver-story-v2__media { height: 260px; }
  .neh-driver-story-v2 h3 { font-size: 34px; }
  .neh-driver-story-v2__quote { grid-column: auto; padding-left: 20px; }
  body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero h1 { font-size: clamp(38px,11.2vw,52px); }
  body.neh-v2.neh-careers-page main.neh-block-page .neh-work-v2 h2 { font-size: clamp(29px,7.8vw,38px); }
  body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero { min-height: 100svh; }
  body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero .neh-hero__image { object-position: 70% center; }
  body.neh-v2.neh-careers-page main.neh-block-page > .neh-hero .neh-hero__inner { width: calc(100% - (var(--v2-gutter) * 2)); min-height: 100svh; padding: 110px 0 50px; }

  .neh-area-v2 { padding: 58px 0; }
  .neh-area-v2 .neh-section-label { margin-bottom: 28px; }
  .neh-area-v2__map { width: min(100%,220px); margin: 0 auto 32px; }
  .neh-area-v2 h2 { max-width: 100%; margin-bottom: 18px; font-size: clamp(27px,7.2vw,34px); }
  .neh-area-v2__copy > p:not(.neh-v2-kicker) { font-size: 16px; line-height: 1.58; }
  .neh-area-v2 ul { margin-top: 24px; gap: 6px; }
  .neh-area-v2 li { padding: 7px 10px; }

  .neh-contact-v2 h2 { font-size: clamp(34px,9.5vw,50px); }
  .neh-contact-v2__people { grid-template-columns: 1fr; }
  .neh-contact-v2__people a,
  .neh-contact-v2__people a:first-child { padding-inline: 0; border-right: 0; border-left: 0; }
  .neh-contact-v2__actions { align-items: stretch; flex-direction: column; }
  .neh-v2-button { justify-content: center; }
  .neh-contact-v2 address { text-align: left; }
  .neh-footer-v2 .neh-v2-container { grid-template-columns: 1fr; gap: 20px; }
  .neh-footer-v2 a { width: 160px; }

  .neh-mobile-dock {
    position: fixed;
    z-index: 900;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(3,8,13,.94);
    border-top: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(16px);
    transform: translateY(110%);
    transition: transform .3s ease;
  }
  .is-past-hero .neh-mobile-dock { transform: translateY(0); }
  .neh-mobile-dock a { display: flex; min-height: 64px; align-items: center; justify-content: center; gap: 9px; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
  .neh-mobile-dock a + a { border-left: 1px solid rgba(255,255,255,.13); color: var(--v2-orange-light); }

  .neh-v2 .neh-service-page > .neh-hero { min-height: 94svh; }
  .neh-v2 .neh-service-page > .neh-hero .neh-hero__inner { width: calc(100% - (var(--v2-gutter) * 2)); min-height: 94svh; padding: 110px 0 50px; }
  .neh-v2 .neh-service-page > .neh-hero h1 { max-width: 100%; font-size: clamp(19px,6vw,30px); line-height: .99; letter-spacing: -.05em; }
  .neh-v2 .neh-service-page > .neh-hero .neh-hero__content > p:not(.neh-kicker) { font-size: 16px; line-height: 1.58; }
  .neh-v2 .neh-service-page .neh-section { padding-block: 74px; }
  .neh-v2 .neh-service-page .neh-layout--split > .neh-section__inner { display: flex; flex-direction: column; gap: 44px; }
  .neh-v2 .neh-service-page .neh-section__copy h2,
  .neh-v2 .neh-service-page .neh-section__head h2 { font-size: clamp(19px,6.2vw,29px) !important; }
  .neh-v2 .neh-contact-block { padding: 82px var(--v2-gutter); }
  .neh-v2 .neh-contact-simple h2 { font-size: clamp(32px,9vw,48px); }
  .neh-v2 .neh-contact-details { grid-template-columns: 1fr; }

  .neh-breadcrumb { margin-bottom: 18px; font-size: 10px; letter-spacing: .06em; }
  .neh-service-back { width: 100%; min-height: 62px; padding-block: 19px; }
  .neh-service-directory,
  .neh-service-index { padding: 64px 0; }
  .neh-service-directory__head,
  .neh-service-index__head { margin-bottom: 36px; }
  .neh-service-directory__head h1,
  .neh-service-directory__head h2,
  .neh-service-index__head h1,
  .neh-service-index__head h2 { margin-bottom: 18px; font-size: clamp(32px,9vw,44px); }
  .neh-service-directory__head p,
  .neh-service-index__head p { font-size: 16px; line-height: 1.58; }
  .neh-service-directory__grid,
  .neh-service-index__grid { grid-template-columns: 1fr; gap: 8px; }
  .neh-service-directory__grid > a,
  .neh-service-directory__card,
  .neh-service-index__grid > a,
  .neh-service-index__card { min-height: 164px; padding: 22px 20px; gap: 22px; }
  .neh-service-directory__title,
  .neh-service-index__title { font-size: clamp(24px,7vw,32px); }

  /* The legacy home-hero rules hide supporting copy and actions on mobile.
     A 404 page needs both in order to recover from the dead end. */
  .neh-v2 .neh-hero--notfound .neh-hero__inner { padding: 116px var(--v2-gutter) 38px; align-items: flex-end; }
  .neh-v2 .neh-hero--notfound .neh-hero__content { text-align: left; }
  .neh-v2 .neh-hero--notfound .neh-hero__content h1 { margin-inline: 0; font-size: clamp(40px,12vw,58px); text-align: left; }
  .neh-v2 .neh-hero--notfound .neh-hero__content p:not(.neh-kicker) { display: block; margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.55; }
  .neh-v2 .neh-hero--notfound .neh-hero__content .neh-cta-buttons { display: flex; margin-top: 24px; gap: 10px; }
  .neh-v2 .neh-hero--notfound .neh-cta-button { min-height: 50px; padding-inline: 18px; flex: 1 1 0; justify-content: center; }

  /* Keep Finnish compound words intact. Fluid sizes above make the longest
     service names fit without emergency mid-word wrapping on small screens. */
  .neh-v2 :is(
    .neh-v2-hero h1,
    .neh-v2-section-head h2,
    .neh-manifesto h2,
    .neh-night-shift h2,
    .neh-heritage h2,
    .neh-oak-v2 h2,
    .neh-work-v2 h2,
    .neh-area-v2 h2,
    .neh-contact-v2 h2,
    .neh-service-tile strong,
    .neh-service-page h1,
    .neh-service-page h2,
    .neh-service-page h3,
    .neh-service-directory__title,
    .neh-service-index__title
  ) {
    max-inline-size: 100%;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    text-wrap: balance;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .neh-v2 *, .neh-v2 *::before, .neh-v2 *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .neh-js .neh-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Yhdistetty palvelusivu
   ========================================================= */

.neh-v2.neh-service-index-page {
  scroll-padding-top: 88px;
}

.neh-unified-service {
  position: relative;
  min-height: 0 !important;
  scroll-margin-top: 88px;
  overflow: hidden;
}

.neh-v2 .neh-service-page .neh-unified-service.neh-layout--split {
  min-height: 0;
  padding-block: clamp(72px, 8vw, 124px);
}

.neh-unified-service::before {
  position: absolute;
  z-index: 0;
  top: clamp(10px, 2vw, 34px);
  right: clamp(-10px, 2vw, 42px);
  color: rgba(7, 16, 25, .045);
  content: attr(data-number);
  font-family: var(--v2-heading);
  font-size: clamp(150px, 19vw, 330px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.08em;
  pointer-events: none;
}

.neh-unified-service.neh-bg--dark::before {
  color: rgba(255, 255, 255, .035);
}

.neh-unified-service > .neh-section__inner {
  position: relative;
  z-index: 1;
}

.neh-service-number {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.neh-service-number::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.neh-unified-service__lead {
  max-width: 650px;
  font-size: clamp(17px, 1.35vw, 20px) !important;
  line-height: 1.65 !important;
}

.neh-service-facts {
  display: grid;
  margin: clamp(28px, 4vw, 44px) 0 0;
  border-top: 1px solid rgba(7, 16, 25, .2);
}

.neh-service-facts > div {
  display: grid;
  grid-template-columns: minmax(118px, .34fr) minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(7, 16, 25, .16);
}

.neh-service-facts dt {
  color: #152433;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.neh-service-facts dd {
  margin: 0;
  color: #3a4752;
  font-size: 15.5px;
  line-height: 1.58;
}

.neh-bg--dark .neh-service-facts {
  border-top-color: rgba(255, 255, 255, .2);
}

.neh-bg--dark .neh-service-facts > div {
  border-bottom-color: rgba(255, 255, 255, .16);
}

.neh-bg--dark .neh-service-facts dt {
  color: var(--v2-orange-light);
}

.neh-bg--dark .neh-service-facts dd {
  color: rgba(255, 255, 255, .76);
}

.neh-unified-service .neh-section__media {
  position: relative;
}

.neh-unified-service .neh-section__media::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .3);
  content: "";
  pointer-events: none;
}

.neh-unified-service.neh-bg--light .neh-section__media::after {
  border-color: rgba(7, 16, 25, .18);
}

.neh-service-index-page .neh-contact-v2 .neh-section-label span {
  display: none;
}

@media (max-width: 759px) {
  .neh-v2.neh-service-index-page {
    scroll-padding-top: 74px;
  }

  .neh-unified-service {
    scroll-margin-top: 74px;
  }

  .neh-v2 .neh-service-page .neh-unified-service.neh-layout--split {
    padding-block: 70px;
  }

  .neh-unified-service::before {
    top: 22px;
    right: 8px;
    font-size: 118px;
  }

  .neh-service-facts > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 15px 0;
  }

  .neh-service-facts dd {
    font-size: 15px;
  }

  .neh-unified-service.neh-layout--split--reverse .neh-section__copy,
  .neh-unified-service.neh-layout--split--reverse .neh-section__media {
    order: initial;
  }
}
