/* Hallivuori – sivuston ulkoasu (hv-premium 0.17, KK Growth Lab).
   Yksi tyyli kaikille sivuille: Puolustusteollisuus-sivun ilme. Tumma pohja, Archivo,
   iso kapea otsikko, mustavalkoiset kuvat, sininen tarjouspyyntö.
   Sivun sisältö on <div id="hvx" class="hvx"> -kääreen sisällä. Osat: README.md. */

@font-face {
	font-family: "Archivo";
	src: url("fonts/archivo-wdth.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

/* =========================================================
 * Pohja
 * ======================================================= */
html, body { overflow-x: clip; }
body.hvp2,
body.hvp2 #page,
body.hvp2 .site,
body.hvp2 .site-content,
body.hvp2 #content,
body.hvp2 .ast-container { background-color: #0b0e11 !important; }
body.hvp2 { color-scheme: dark; }
body.hvp2 ::selection { background: #0e5faa; color: #fff; }
body.hvp2 :is(a, button, input, textarea, select):focus-visible { outline: 2px solid #5aa0e6; outline-offset: 3px; }

/* =========================================================
 * Kääre ja perustyylit
 * ======================================================= */
#hvx {
	--bg: #0b0e11;
	--bg2: #12171c;
	--deep: #06080a;
	--line: rgba(232, 230, 225, .14);
	--txt: #e8e6e1;
	--sub: #c9cdd1;
	--mut: #9ba2a9;
	--blue: #0e5faa;
	--blue-dk: #0b4f8f;
	--blue-hi: #5aa0e6;
	--hot: #f07a3e;
	--pad: clamp(64px, 7vw, 112px);
	flex: none;
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: 0;
	background: var(--bg);
	color: var(--txt);
	font-family: Archivo, system-ui, sans-serif;
	font-stretch: 100%;
	font-size: 18px;
	line-height: 1.6;
	overflow-wrap: normal;
	-webkit-font-smoothing: antialiased;
}
/* Astran sivupohja rajaa sisällön lapsenlapset 1200 pikseliin. Osiot ovat aina koko leveyksiä. */
#hvx > * { max-width: none; margin-left: 0; margin-right: 0; }
#hvx * { box-sizing: border-box; }
#hvx :is(h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, figure, figcaption, blockquote) {
	margin: 0;
	padding: 0;
	color: inherit;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}
#hvx :is(ul, ol) { list-style: none; }
#hvx a { color: inherit; text-decoration: none; }
#hvx img { display: block; max-width: none; }
#hvx .w { width: min(1240px, 100% - 48px); margin: 0 auto; }
#hvx :is(h1, h2, h3),
#hvx .cond { font-stretch: 72%; font-weight: 700; letter-spacing: -.005em; line-height: .94; }
#hvx h2 { font-size: clamp(32px, 3.4vw, 52px); }

/* [TÄYTÄ]-merkinnät: pois ennen julkaisua */
#hvx .hv-ph {
	display: inline;
	background: #fff3b0;
	color: #2b2300;
	padding: 1px 5px;
	border-radius: 2px;
	font-weight: 600;
	font-stretch: 100%;
	font-size: .8em;
	line-height: 1.4;
	letter-spacing: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
body.hvp2 .hv-ph { background: #fff3b0; color: #2b2300; padding: 1px 5px; border-radius: 2px; font-weight: 600; font-size: .85em; }
body.hvp-noph .hv-ph,
body.hvp-noph #hvx .hv-ph { display: none; }

/* Painike ja linkki */
#hvx .btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 56px;
	padding: 0 28px;
	background: var(--blue);
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: .01em;
	transition: background .2s;
}
#hvx .btn:hover { background: var(--blue-dk); }
#hvx .lnk {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 16px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 4px;
	transition: border-color .2s;
}
#hvx .lnk:hover,
#hvx a:hover .lnk { border-color: var(--txt); }
#hvx .arr { display: inline-block; transition: transform .25s; }
#hvx a:hover .arr { transform: translateX(4px); }

/* Osioiden väli: peräkkäiset osiot eivät tuplaa väliä */
#hvx .sec { padding: var(--pad) 0; }
#hvx :is(.q, .sec, .film) + :is(.q, .sec) { padding-top: 0; }
#hvx .head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 60px;
	margin-bottom: clamp(28px, 3.5vw, 44px);
}
#hvx .head p { max-width: 30em; color: var(--mut); }

/* =========================================================
 * Hero
 * ======================================================= */
#hvx .hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	padding: 150px 0 clamp(48px, 8vh, 88px);
	overflow: hidden;
}
#hvx .hero.sub { min-height: 56vh; min-height: 56svh; }
#hvx .hero.plain {
	min-height: 0;
	padding-top: clamp(132px, 10vw, 156px);
	padding-bottom: clamp(36px, 4vw, 56px);
	border-bottom: 1px solid var(--line);
}
#hvx .hero > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% 50%;
}
#hvx .hero:not(.plain)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(11, 14, 17, .7) 0, rgba(11, 14, 17, .35) 120px, rgba(11, 14, 17, 0) 220px),
		linear-gradient(90deg, rgba(11, 14, 17, .97) 0%, rgba(11, 14, 17, .86) 40%, rgba(11, 14, 17, .25) 78%, rgba(11, 14, 17, .1) 100%),
		linear-gradient(0deg, rgba(11, 14, 17, 1) 0%, rgba(11, 14, 17, 0) 28%);
}
#hvx .hero.plain + :is(.sec, .q) { padding-top: clamp(40px, 4.5vw, 64px); }
#hvx .hero .w { position: relative; z-index: 2; }
#hvx .hero h1 { font-size: clamp(38px, 4.8vw, 76px); max-width: 13em; margin: 0 0 24px; hyphens: manual; text-wrap: balance; }
#hvx .hero .lead { max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); color: var(--sub); }
#hvx .hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; margin-top: 32px; }
/* Tuotesivun hero (Äänenvaimentimet): tumma pohja, teksti ja tuotekuva rinnakkain */
#hvx .hero.prod { min-height: 0; padding-top: clamp(132px, 11vw, 168px); align-items: center; background: radial-gradient(90% 80% at 78% 40%, #1b232b 0%, var(--deep) 70%); border-bottom: 1px solid var(--line); }
#hvx .hero.prod::before { display: none; }
#hvx .hero.prod > .w { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px clamp(40px, 7vw, 120px); align-items: center; }
#hvx .hero.prod h1 { font-size: clamp(38px, 4.4vw, 68px); }
/* Painike vasemmalla, tekstilinkit (tekniset tiedot, siviilimyynti) allekkain oikealla */
#hvx .hero.prod .cta { display: grid; grid-template-columns: max-content max-content; justify-content: start; align-items: center; gap: 14px 36px; }
#hvx .hero.prod .cta .btn { grid-row: 1 / span 2; }
#hvx .hero.prod .cta .lnk { justify-self: start; }
@media (max-width: 560px) {
	#hvx .hero.prod .cta { grid-template-columns: max-content; gap: 18px; }
	#hvx .hero.prod .cta .btn { grid-row: auto; }
}
#hvx .hero.prod .shot { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(120% 80% at 60% 40%, #1b232b 0%, #0b0e11 70%); border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 20px; }
#hvx .hero.prod .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
 * Kuvapaneelit (palvelut, asiakaskunnat)
 * ======================================================= */
#hvx .svc { padding: var(--pad) 0 0; }
#hvx .q + .svc { padding-top: 0; }
#hvx .panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
#hvx .panels.two { grid-template-columns: repeat(2, 1fr); }
#hvx .panel {
	position: relative;
	height: clamp(400px, 64vh, 640px);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: clamp(24px, 3vw, 44px);
}
#hvx .panel img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.62);
	transform: scale(1.01);
	transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s;
}
#hvx .panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 14, 17, .92) 0%, rgba(11, 14, 17, 0) 55%); }
#hvx .panel:hover img { transform: scale(1.05); filter: brightness(.8); }
#hvx .panel > div { position: relative; z-index: 1; }
#hvx .panel h3 { font-size: clamp(28px, 2.4vw, 36px); margin-bottom: 10px; }
#hvx .panel p { color: var(--sub); font-size: 17px; }
#hvx .panel .lnk { margin-top: 22px; }

/* =========================================================
 * Kuvakaista
 * ======================================================= */
#hvx .band { position: relative; height: clamp(420px, 78vh, 820px); display: flex; align-items: center; overflow: hidden; margin-top: 2px; }
#hvx .band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: brightness(.5); }
#hvx .band .w { position: relative; }
#hvx .band p { font-size: clamp(40px, 5.6vw, 92px); max-width: 12em; }
#hvx .band p.small { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--sub); }

/* =========================================================
 * Kaksipalstainen osio: otsikko vasemmalla, sisältö oikealla
 * ======================================================= */
#hvx .q { padding: var(--pad) 0; }
#hvx .q > .w { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 120px); align-items: start; }
#hvx .q .side { position: sticky; top: 120px; }
#hvx .q .side h2 { margin-top: 4px; }
#hvx .q .body > * + * { margin-top: 24px; }
#hvx .q .big { font-size: clamp(21px, 1.8vw, 27px); line-height: 1.38; color: var(--txt); }
#hvx .q .body p { color: var(--sub); }
#hvx .q .certs { font-size: 17px; line-height: 2.1; color: var(--mut) !important; }
#hvx .q .certs b { color: var(--txt); font-weight: 600; margin-right: 6px; white-space: nowrap; }
#hvx .q .certs i { font-style: normal; color: rgba(232, 230, 225, .25); margin: 0 12px; }
#hvx .q .dnv { display: flex; flex-wrap: wrap; gap: 16px; }
#hvx .q .dnv img { width: 104px; height: 104px; border-radius: 50%; background: #fff; }
#hvx .q .rule { height: 1px; background: var(--line); margin: 44px 0 36px !important; }
#hvx .q h3 { font-size: clamp(24px, 2vw, 30px); }
#hvx .q .chain { font-stretch: 72%; font-weight: 600; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.5; color: var(--txt) !important; }
#hvx .q .chain span { color: var(--blue-hi); margin: 0 .1em; }

/* Työvaiheet (Etusivu): vaiheet viivalla, viiva piirtyy kun osio tulee näkyviin (hvp.js lisää .pre ja .in) */
#hvx .flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
#hvx .q .flow { grid-column: 1 / -1; margin: 24px 0 0; }
#hvx .flow::before,
#hvx .flow::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
#hvx .flow::after { top: -.5px; height: 2px; background: var(--blue-hi); transform-origin: left center; }
#hvx .flow li { position: relative; margin: 0; padding: 38px 12px 0 0; font-stretch: 72%; font-weight: 700; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.15; color: var(--txt); }
#hvx .flow li::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 22px; background: var(--blue-hi); }
#hvx .flow.pre::after { transform: scaleX(0); }
#hvx .flow.pre li { color: var(--mut); }
#hvx .flow.pre li::before { background: rgba(232, 230, 225, .25); }
#hvx .flow.pre.in::after { transform: scaleX(1); transition: transform 2.1s cubic-bezier(.45, 0, .2, 1); }
#hvx .flow.pre.in li { color: var(--txt); transition: color .5s; }
#hvx .flow.pre.in li::before { background: var(--blue-hi); transition: background-color .5s; }
#hvx .flow.pre.in li:nth-child(2), #hvx .flow.pre.in li:nth-child(2)::before { transition-delay: .3s; }
#hvx .flow.pre.in li:nth-child(3), #hvx .flow.pre.in li:nth-child(3)::before { transition-delay: .6s; }
#hvx .flow.pre.in li:nth-child(4), #hvx .flow.pre.in li:nth-child(4)::before { transition-delay: .9s; }
#hvx .flow.pre.in li:nth-child(5), #hvx .flow.pre.in li:nth-child(5)::before { transition-delay: 1.2s; }
#hvx .flow.pre.in li:nth-child(6), #hvx .flow.pre.in li:nth-child(6)::before { transition-delay: 1.5s; }
#hvx .flow.pre.in li:nth-child(7), #hvx .flow.pre.in li:nth-child(7)::before { transition-delay: 1.8s; }
@media (max-width: 1100px) {
	#hvx .flow { grid-template-columns: minmax(0, 1fr); padding-left: 30px; }
	#hvx .q .flow { grid-column: 2; margin: 8px 0; }
	#hvx .flow::before,
	#hvx .flow::after { right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
	#hvx .flow::after { left: -.5px; width: 2px; transform-origin: center top; }
	#hvx .flow.pre::after { transform: scaleY(0); }
	#hvx .flow.pre.in::after { transform: scaleY(1); }
	#hvx .flow li { padding: 11px 0; }
	#hvx .flow li::before { left: -30px; top: 50%; width: 16px; height: 2px; margin-top: -1px; }
}
@media (max-width: 900px) {
	#hvx .q .flow { grid-column: auto; }
}
#hvx .q .aside { padding-left: 20px; border-left: 2px solid var(--blue); }
/* Referenssikuva .q-osion tekstipalstassa (Kokoonpanot ja hitsaus: henkilönostokori) */
#hvx .q figure.ref img { width: 100%; height: auto; border: 1px solid var(--line); }
#hvx .q .aside a { color: var(--blue-hi); white-space: nowrap; }
#hvx .q .aside a:hover { color: var(--txt); }

/* Tekniset tiedot (termi ja arvo) */
#hvx .specs { border-top: 1px solid var(--line); }
#hvx .specs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
#hvx .specs dt { color: var(--mut); font-size: 17px; }
#hvx .specs dd { color: var(--txt); font-size: 18px; }
#hvx .q .specs + h3 { margin-top: 64px; }

/* Kolme rinnakkaista kohtaa */
#hvx .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(32px, 4vw, 64px); }
#hvx .trio > div { border-top: 1px solid var(--line); padding-top: 28px; }
#hvx .trio h3 { font-size: clamp(24px, 1.9vw, 30px); margin-bottom: 12px; }
#hvx .trio p { color: var(--sub); }
#hvx .trio.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* =========================================================
 * Silentum-äänenvaimentimet (nosto .sm ja Äänenvaimentimet-sivu)
 * ======================================================= */
#hvx .sm { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--pad) 0; }
#hvx .sm > .w { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px clamp(40px, 7vw, 120px); align-items: center; }
#hvx .sm h2 { margin: 0 0 22px; }
#hvx .sm .lead { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.42; color: var(--txt); max-width: 26em; }
#hvx .sm .tech { margin-top: 26px; color: var(--sub); max-width: 36em; }
#hvx .sm .figs { display: flex; flex-wrap: wrap; gap: 28px clamp(40px, 6vw, 96px); margin: 56px 0 48px; padding-top: 36px; border-top: 1px solid var(--line); }
#hvx .sm .fig b { display: block; font-stretch: 72%; font-weight: 700; font-size: clamp(44px, 4.2vw, 64px); line-height: .9; color: var(--txt); }
#hvx .sm .fig.hot b { color: var(--hot); }
#hvx .sm .fig span { display: block; margin-top: 12px; color: var(--mut); font-size: 16px; max-width: 16em; }
/* Lyhyet väitteet isolla, ilman lukuja */
#hvx .sm .claims { margin: 48px 0 44px; padding-top: 32px; border-top: 1px solid var(--line); }
#hvx .sm .claims li { font-stretch: 72%; font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.08; color: var(--txt); hyphens: manual; }
#hvx .sm .claims li + li { margin-top: 12px; }
#hvx .sm .claims .hot { color: var(--hot); }
#hvx .sm .lead + .lnk { margin-top: 36px; }
/* Väitteet koko leveydellä (Äänenvaimentimet-sivu) */
#hvx .claims.xl li { font-stretch: 72%; font-weight: 700; font-size: clamp(36px, 4vw, 60px); line-height: 1; color: var(--txt); hyphens: manual; }
#hvx .claims.xl li + li { margin-top: .14em; }
#hvx .claims.xl .hot { color: var(--hot); }
#hvx .claims.xl + p { margin-top: clamp(28px, 3vw, 40px); max-width: 34em; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--sub); }
#hvx .sm .shot { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(120% 80% at 60% 40%, #1b232b 0%, #0b0e11 70%); border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 20px; }
#hvx .sm .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Läpinäkyvä tuotekuva tumman laatikon päällä: koko tuote näkyy */
#hvx .shot.cut img,
#hvx .hero.prod .shot.cut img { object-fit: contain; }
/* Mallit (Äänenvaimentimet) */
/* 3D-mallit: nimi ja käyttö vasemmalla, pyöritettävä malli oikealla. Toistaiseksi mallien tilalla still-kuvat (img.still), kunnes oikeat kuvat tulevat. */
#hvx .m3 > article { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--line); }
#hvx .m3 > article:last-child { border-bottom: 1px solid var(--line); }
#hvx .m3 h3 { font-size: clamp(28px, 2.6vw, 40px); }
#hvx .m3 .t p { margin-top: 10px; color: var(--mut); }
#hvx .m3 model-viewer { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 55% 45%, #1b232b 0%, #0b0e11 72%); border: 1px solid var(--line); --poster-color: transparent; --progress-bar-color: rgba(232, 230, 225, .45); --progress-bar-height: 2px; }
#hvx .m3 model-viewer:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 4px; }
#hvx .m3 img.still { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: radial-gradient(120% 90% at 55% 45%, #1b232b 0%, #0b0e11 72%); border: 1px solid var(--line); }

/* =========================================================
 * Video
 * ======================================================= */
#hvx .film { padding: 0 0 var(--pad); }
#hvx :is(.hero, .svc, .band, .sm) + .film { padding-top: var(--pad); }
#hvx .vid .frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg2); }
#hvx .vid .frame > img,
#hvx .vid .hvp-yt img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55); }
#hvx .vid .hvp-yt {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #000;
	cursor: pointer;
}
#hvx .vid .hvp-yt img { transition: filter .4s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
#hvx .vid .hvp-yt:hover img { filter: grayscale(1) brightness(.7); transform: scale(1.02); }
#hvx .vid :is(video, iframe) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #000; }
#hvx .vid .play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 96px;
	height: 96px;
	margin: -48px 0 0 -48px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .5);
	display: grid;
	place-items: center;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	background: rgba(11, 14, 17, .25);
	pointer-events: none;
	transition: transform .25s, background .25s;
}
#hvx .vid .play::before { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
#hvx .vid .hvp-yt:hover .play { transform: scale(1.06); background: rgba(14, 95, 170, .55); }
#hvx .vid .tag { position: absolute; left: 24px; top: 24px; z-index: 1; }
#hvx .vid figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 40px; padding-top: 22px; color: var(--mut); font-size: 16px; }
#hvx .vid figcaption strong { color: var(--txt); font-weight: 600; }

/* =========================================================
 * Koneet
 * ======================================================= */
/* Kyvykkyydet: CNC-sorvit (.machines.three) ja koneistuskeskukset (.machines). Kortissa kuva, nimi ja yksi rivi.
   Kuvat ilman luokkaa näytetään mustavalkoisina. Korostetut kuvat (img.hl: kone värillisenä, tausta tumma ja mustavalkoinen, sama käsittely kuin henkilönostokorissa) näytetään sellaisenaan. */
#hvx .machines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(44px, 4.5vw, 64px) 24px; }
#hvx .machines.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#hvx .mc figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg2); }
#hvx .mc img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.8); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; }
#hvx .mc:hover img { transform: scale(1.04); filter: grayscale(1) contrast(1.05) brightness(.95); }
#hvx .mc img.hl,
#hvx .mc:hover img.hl { filter: none; }
#hvx .mc h3 { font-size: clamp(22px, 1.8vw, 28px); margin-top: 18px; }
#hvx .mc p { margin-top: 10px; color: var(--sub); font-size: 16px; line-height: 1.5; }
#hvx .mc .cap { margin-top: 8px; color: var(--mut); }
#hvx .mc .cap b { color: var(--txt); font-weight: 600; }
#hvx .mc .ft { margin-top: 6px; color: var(--mut); font-size: 15px; }

/* =========================================================
 * Ajankohtaista
 * ======================================================= */
#hvx .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
#hvx .nc .img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg2); margin-bottom: 20px; }
#hvx .nc .img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.85); transition: transform .6s ease, filter .6s; }
#hvx .nc:hover .img img { transform: scale(1.03); filter: grayscale(1) contrast(1.05) brightness(1); }
#hvx .nc time { display: block; margin-bottom: 10px; font-size: 15px; color: var(--mut); }
#hvx .nc h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.02; }
#hvx .nc h3 a { transition: color .2s; }
#hvx .nc h3 a:hover { color: var(--blue-hi); }
#hvx .nc p { margin-top: 14px; color: var(--mut); font-size: 17px; line-height: 1.55; }
#hvx .none { color: var(--mut); }
#hvx .head:has(+ .none) .lnk { display: none; }
#hvx .pager { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 64px; font-size: 16px; font-weight: 600; }
#hvx .pager .current { color: var(--blue-hi); }
#hvx .pager a:hover { color: var(--blue-hi); }

/* =========================================================
 * Tarjouspyyntö (lomake) ja Yhteystiedot (henkilöt, osoite ja kartta, laskutus)
 * ======================================================= */
#hvx .contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px clamp(40px, 7vw, 120px); align-items: start; }
#hvx .contact .note { margin-top: 24px; color: var(--mut); font-size: 16px; max-width: 40em; }
#hvx :is(.contact .note, .doc) a { color: var(--txt); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(232, 230, 225, .4); text-underline-offset: 4px; transition: text-decoration-color .2s; }
#hvx :is(.contact .note, .doc) a:hover { text-decoration-color: var(--txt); }
#hvx .people h2 { font-size: clamp(26px, 2.2vw, 34px); margin-bottom: 20px; }
#hvx .people .lnk { margin-top: 28px; }
/* Henkilö: kuva, nimi, rooli ja yhteystiedot. Sama rivi lomakkeen vieressä (.people) ja Yhteystiedot-sivun ruudukossa (.team). */
#hvx :is(.people, .team) li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); }
#hvx .people li:last-child { border-bottom: 1px solid var(--line); }
#hvx :is(.people, .team) img { width: 96px; height: 96px; object-fit: cover; background: var(--bg2); filter: saturate(.8) contrast(1.05) brightness(.95); }
/* Henkilö ilman kuvaa: nimikirjain */
#hvx :is(.people, .team) .av { width: 96px; height: 96px; display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--line); font-stretch: 72%; font-weight: 700; font-size: 32px; line-height: 1; color: var(--mut); }
#hvx :is(.people, .team) .nm { font-stretch: 72%; font-weight: 700; font-size: 24px; line-height: 1.05; }
#hvx :is(.people, .team) .rl { margin-top: 6px; color: var(--mut); font-size: 16px; line-height: 1.45; }
#hvx :is(.people, .team) .ct { margin-top: 10px; font-size: 16px; line-height: 1.75; }
#hvx :is(.people, .team) .ct a { transition: color .2s; }
#hvx :is(.people, .team) .ct a:hover { color: var(--blue-hi); }
/* Yhteystiedot-sivu: henkilöt kolmessa sarakkeessa, viimeisenä yleinen sähköposti */
#hvx .team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 56px); }
#hvx .team li { border-bottom: 1px solid var(--line); margin-bottom: -1px; }
#hvx :is(.people, .team) li.gen { grid-template-columns: minmax(0, 1fr); }
/* Kartta: Google-kartta latautuu vasta painalluksesta (hvp.js), ennen sitä ei yhteyttä Googleen */
#hvx .map {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 1px solid var(--line);
	background-color: var(--bg2);
	background-image: linear-gradient(rgba(232, 230, 225, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 230, 225, .05) 1px, transparent 1px);
	background-size: 40px 40px;
	background-position: -1px -1px;
}
#hvx .map-load {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 24px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--txt);
	font: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: center;
	cursor: pointer;
}
#hvx .map-load .pin { width: 20px; height: 20px; border-radius: 50% 50% 50% 0; background: var(--blue-hi); transform: rotate(-45deg); box-shadow: 0 0 0 10px rgba(90, 160, 230, .12); margin-bottom: 10px; }
#hvx .map-load b { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border: 1px solid rgba(232, 230, 225, .35); font-size: 16px; font-weight: 600; transition: border-color .2s, background-color .2s; }
#hvx .map-load:hover b { border-color: var(--txt); background-color: rgba(255, 255, 255, .04); }
#hvx .map-load small { color: var(--mut); font-size: 14px; }
#hvx .map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7); }

/* =========================================================
 * Tekstisivu (Tietosuojaseloste): yksi kapea palsta
 * ======================================================= */
#hvx .doc { max-width: 46em; }
#hvx .doc h2 { font-size: clamp(26px, 2.2vw, 34px); margin: clamp(44px, 4.5vw, 64px) 0 16px; }
#hvx .doc h2:first-child { margin-top: 0; }
#hvx .doc :is(p, li) { color: var(--sub); }
#hvx .doc * + :is(p, ul) { margin-top: 14px; }
#hvx .doc h2 + :is(p, ul) { margin-top: 0; }
#hvx .doc ul { display: grid; gap: 8px; }
#hvx .doc li { position: relative; padding-left: 24px; }
#hvx .doc li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--mut); }
#hvx .doc .upd { margin-top: clamp(44px, 4.5vw, 64px); color: var(--mut); font-size: 15px; }

#hvx .wpcf7 form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
#hvx .wpcf7 form > * { grid-column: 1 / -1; }
#hvx .wpcf7 form > p:has(input[type="text"], input[type="email"], input[type="tel"], input[type="file"]) { grid-column: auto; }
#hvx .wpcf7 form > p { margin: 0 0 22px; }
#hvx .wpcf7 fieldset.hidden-fields-container { display: none; }
#hvx .wpcf7 label { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--txt); }
#hvx .wpcf7 label br { display: none; }
#hvx .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
#hvx .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select) {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 14px 16px;
	background: var(--bg2);
	border: 1px solid rgba(232, 230, 225, .22);
	border-radius: 0;
	box-shadow: none;
	color: var(--txt);
	font: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.4;
}
#hvx .wpcf7 textarea { height: 180px; resize: vertical; }
#hvx .wpcf7 :is(input, textarea, select):focus { outline: none; border-color: var(--blue-hi); }
#hvx .wpcf7 input[type="file"] {
	display: block;
	width: 100%;
	padding: 12px;
	background: var(--bg2);
	border: 1px dashed rgba(232, 230, 225, .3);
	border-radius: 0;
	color: var(--sub);
	font: inherit;
	font-size: 15px;
	font-weight: 400;
}
#hvx .wpcf7 input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 8px 14px;
	background: #1c232a;
	color: var(--txt);
	border: 1px solid rgba(232, 230, 225, .3);
	border-radius: 0;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
#hvx .wpcf7 .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	height: 56px;
	padding: 0 28px;
	background: var(--blue);
	color: #fff;
	border: 0;
	border-radius: 0;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .01em;
	cursor: pointer;
	transition: background .2s;
}
#hvx .wpcf7 .wpcf7-submit:hover { background: var(--blue-dk); }
#hvx .wpcf7 .wpcf7-spinner { margin: 0 0 0 16px; vertical-align: middle; }
#hvx .wpcf7-not-valid-tip { margin-top: 6px; color: var(--hot); font-size: 14px; font-weight: 500; }
#hvx .wpcf7 form .wpcf7-response-output { margin: 8px 0 0; padding: 14px 16px; border: 1px solid var(--line); color: var(--sub); font-size: 16px; }
#hvx .wpcf7 form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output { border-color: var(--hot); }
#hvx .wpcf7 form.sent .wpcf7-response-output { border-color: var(--blue-hi); }

/* =========================================================
 * Tarjouspyyntö-kaista (sivujen lopussa): matala tumma kaista, otsikko vasemmalla, painike ja puhelin oikealla
 * ======================================================= */
#hvx .cta6 { background: var(--deep); color: var(--txt); border-top: 1px solid var(--line); padding: clamp(48px, 5vw, 76px) 0 0; }
#hvx .cta6.solo { padding-bottom: clamp(48px, 5vw, 76px); }
#hvx .cta6 .in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px clamp(40px, 6vw, 96px); }
#hvx .cta6 h2 { font-size: clamp(36px, 3.8vw, 56px); }
#hvx .cta6 .lead { font-size: clamp(17px, 1.3vw, 19px); max-width: 32em; margin-top: 14px; color: var(--sub); }
#hvx .cta6 .row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
#hvx .cta6 .tels { display: grid; gap: 14px; }
#hvx .cta6 .lead a { color: var(--txt); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(232, 230, 225, .4); text-underline-offset: 4px; transition: text-decoration-color .2s; }
#hvx .cta6 .lead a:hover { text-decoration-color: var(--txt); }
#hvx .cta6 .w > .row { margin-top: 32px; }
#hvx .cta6 .tel { font-stretch: 72%; font-weight: 700; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; letter-spacing: .01em; }
#hvx .cta6 .tel span { display: block; font-stretch: 100%; font-size: 15px; font-weight: 500; letter-spacing: normal; color: var(--mut); margin-bottom: 4px; }
#hvx .cta6 .tel:hover { color: var(--blue-hi); }
#hvx :is(.civil, .cross) {
	margin-top: clamp(44px, 4.5vw, 64px);
	border-top: 1px solid var(--line);
	padding: 26px 0 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px 40px;
}
#hvx :is(.civil, .cross) p { max-width: 46em; color: var(--sub); font-size: 17px; }

/* =========================================================
 * Työstöalueet numeroina (Kyvykkyydet)
 * ======================================================= */
#hvx .env { border-top: 1px solid var(--line); }
#hvx .env > div { display: flex; flex-direction: column-reverse; gap: 10px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
#hvx .env dt { color: var(--mut); font-size: 16px; }
#hvx .env dd { font-stretch: 72%; font-weight: 700; font-size: clamp(36px, 3.6vw, 56px); line-height: .95; letter-spacing: -.005em; color: var(--txt); font-variant-numeric: tabular-nums lining-nums; }
#hvx .env dd small { font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--mut); }

/* Taulukot listoina (jos sivulle lisätään hv-table-taulukko) */
#hvx .hvp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px 80px; }
#hvx .hvp-spec__title { font-size: clamp(22px, 1.8vw, 28px); margin: 0 0 14px; }
#hvx .hvp-spec__model { color: var(--mut); margin-left: 6px; }
#hvx .hvp-spec dl { display: flex; flex-wrap: wrap; gap: 14px 36px; }
#hvx .hvp-spec dt { font-size: 14px; color: var(--mut); }
#hvx .hvp-spec dd { font-size: 17px; }
#hvx .hvp-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 40px; }
#hvx .hvp-people li { display: flex; flex-direction: column; gap: 2px; }
#hvx .hvp-people span { color: var(--mut); }

/* =========================================================
 * 404
 * ======================================================= */
#hvx .e404 { min-height: 80vh; min-height: 80svh; border-bottom: 0; }
#hvx .dim404 { display: block; width: min(560px, 100%); height: auto; overflow: visible; color: #8d959c; margin-bottom: clamp(16px, 2.5vw, 28px); }
#hvx .dim404 .num { fill: var(--txt); font-family: Archivo, system-ui, sans-serif; font-size: 40px; font-weight: 700; font-stretch: 72%; }
#hvx .dim404 > :is(path, line) { fill: none; stroke: currentColor; stroke-width: .9; }
#hvx .links404 { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 36px; }

/* =========================================================
 * Yläpalkki (lisäosa hv-site) samaan linjaan sisällön kanssa
 * ======================================================= */
body.hvp2 .hv-header { padding: 0 !important; font-family: Archivo, system-ui, sans-serif !important; }
body.hvp2 .hv-header__bar {
	border: 0 !important;
	border-bottom: 1px solid rgba(232, 230, 225, .14) !important;
	border-radius: 0 !important;
	background: transparent !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	box-shadow: none !important;
	padding: 22px max(24px, calc((100% - 1240px) / 2)) !important;
	gap: 32px !important;
	transition: padding .3s ease, background-color .3s ease;
}
body.hvp2 .hv-header__logo img { width: 158px !important; transition: width .3s ease; }
body.hvp2 .hv-nav__list { gap: 2px !important; }
body.hvp2 .hv-nav__list a {
	border-radius: 0 !important;
	padding: 10px 14px !important;
	font-family: inherit !important;
	font-size: .97rem !important;
	font-weight: 500 !important;
	font-stretch: 100%;
	letter-spacing: 0;
	color: rgba(232, 230, 225, .78) !important;
	transition: color .2s ease;
}
body.hvp2 .hv-nav__list a:hover,
body.hvp2 .hv-nav__list a:focus-visible { color: #fff !important; }
body.hvp2 .hv-nav__list .current-menu-item > a,
body.hvp2 .hv-nav__list .current-menu-ancestor > a {
	color: #fff !important;
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-decoration-color: #5aa0e6 !important;
	text-underline-offset: 10px;
}
body.hvp2 .hv-nav__list > li:last-child > a,
body.hvp2 .hv-nav__list a[href$="/tarjouspyynto/"] {
	background: #0e5faa !important;
	color: #fff !important;
	font-weight: 600 !important;
	padding: 12px 24px 12px 20px !important;
	margin-left: 14px !important;
	text-decoration: none !important;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
body.hvp2 .hv-nav__list > li:last-child > a:hover,
body.hvp2 .hv-nav__list a[href$="/tarjouspyynto/"]:hover { background: #0b4f8f !important; }
body.hvp2 .hv-nav__list .sub-menu {
	background: #0b0e11 !important;
	border: 1px solid rgba(232, 230, 225, .14) !important;
	border-radius: 0 !important;
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7) !important;
	padding: 6px 0 !important;
	min-width: 240px !important;
	margin-top: 0;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
body.hvp2 .hv-nav__list .sub-menu a { padding: 11px 18px !important; border-left: 2px solid transparent; text-decoration: none !important; }
body.hvp2 .hv-nav__list .sub-menu a:hover,
body.hvp2 .hv-nav__list .sub-menu .current-menu-item > a { background: rgba(255, 255, 255, .04); border-left-color: #5aa0e6; color: #fff !important; }
/* Kapeammilla näytöillä valikko mahtuu yhdelle riville */
@media (min-width: 1101px) and (max-width: 1320px) {
	body.hvp2 .hv-header__bar { gap: 20px !important; }
	body.hvp2 .hv-nav__list > li:not(:last-child) > a { padding: 10px 9px !important; font-size: .92rem !important; }
}
@media (min-width: 1101px) and (max-width: 1240px) {
	body.hvp2 .hv-header__bar { gap: 16px !important; }
	body.hvp2 .hv-header__logo img { width: 136px !important; }
	body.hvp2 .hv-nav__list > li:not(:last-child) > a { padding: 10px 7px !important; font-size: .86rem !important; }
	body.hvp2 .hv-nav__list > li:last-child > a { padding: 11px 20px 11px 16px !important; margin-left: 8px !important; }
}

/* Kiinteä yläpalkki vierittäessä */
body.hvp-sticky.hvp-scrolled .hv-header { position: fixed; animation: hvpDrop .35s cubic-bezier(.2, .7, .2, 1); }
body.hvp2.hvp-sticky.hvp-scrolled .hv-header__bar {
	background: rgba(11, 14, 17, .94) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	backdrop-filter: blur(12px) !important;
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}
body.hvp2.hvp-scrolled .hv-header__logo img { width: 140px !important; }
@keyframes hvpDrop { from { transform: translateY(-110%); } to { transform: none; } }
@media (max-width: 782px) { .admin-bar.hvp-scrolled .hv-header { top: 0; } }

/* Mobiilivalikko */
@media (max-width: 1100px) {
	body.hvp2 .hv-header__bar { padding: 14px 16px !important; gap: 0 !important; }
	body.hvp2 .hv-header__logo img { width: 136px !important; }
	body.hvp2 .hv-header.is-open .hv-header__bar {
		background: #0b0e11 !important;
		min-height: 100vh;
		min-height: 100dvh;
		max-height: 100dvh;
		overflow-y: auto;
		align-content: flex-start;
	}
	body.hvp2 .hv-nav__list { padding: 28px 0 24px !important; }
	body.hvp2 .hv-nav__list > li > a {
		font-size: 2rem !important;
		font-weight: 700 !important;
		font-stretch: 72%;
		line-height: 1.1 !important;
		padding: 14px 0 !important;
		color: #fff !important;
		text-decoration: none !important;
	}
	body.hvp2 .hv-nav__list > li + li { border-top: 1px solid rgba(232, 230, 225, .12) !important; }
	body.hvp2 .hv-nav__list .sub-menu { clip-path: none; margin-top: 0; border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 0 12px !important; }
	body.hvp2 .hv-nav__list .sub-menu a { font-size: 1.05rem !important; padding: 8px 0 8px 14px !important; color: rgba(232, 230, 225, .72) !important; }
	body.hvp2 .hv-nav__list > li:last-child > a,
	body.hvp2 .hv-nav__list a[href$="/tarjouspyynto/"] {
		margin: 20px 0 0 !important;
		padding: 18px 20px !important;
		font-size: 1.15rem !important;
		font-stretch: 100%;
		text-align: left !important;
	}
}

/* =========================================================
 * Alatunniste (lisäosa hv-site)
 * ======================================================= */
body.hvp2 .hv-footer {
	background: #06080a !important;
	border-top: 1px solid rgba(232, 230, 225, .14) !important;
	color: #9ba2a9 !important;
	font-family: Archivo, system-ui, sans-serif !important;
	font-size: 16px !important;
	padding: clamp(64px, 7vw, 96px) max(24px, calc((100% - 1240px) / 2)) 0 !important;
}
body.hvp2 .hv-footer :is(p, li, a, span, h2) { font-family: inherit !important; }
body.hvp2 .hv-footer p { color: #9ba2a9 !important; }
body.hvp2 .hv-footer a { color: #e8e6e1 !important; text-decoration: none !important; transition: color .2s; }
body.hvp2 .hv-footer a:hover { color: #5aa0e6 !important; }
body.hvp2 .hv-footer__title {
	font-stretch: 72%;
	font-weight: 700 !important;
	font-size: 26px !important;
	line-height: 1 !important;
	letter-spacing: -.005em !important;
	text-transform: none !important;
	color: #e8e6e1 !important;
	margin: 0 0 20px !important;
}
body.hvp2 .hv-footer__bottom { border-top-color: rgba(232, 230, 225, .14) !important; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
body.hvp2 .hv-footer__bottom p { color: #6f767d !important; }
body.hvp2 .hv-footer__bottom a { color: #9ba2a9 !important; }

/* =========================================================
 * Uutinen (yksittäinen artikkeli)
 * ======================================================= */
body.hvp2.single-post .site-content { padding-top: clamp(124px, 11vw, 160px); }
body.hvp2.single-post .ast-article-single,
body.hvp2.single-post.ast-separate-container .ast-article-single {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 auto !important;
	max-width: 780px;
	border: 0;
	box-shadow: none;
}
body.hvp2.single-post .entry-header { margin-bottom: 28px; }
body.hvp2.single-post .site-content :is(h1, h2, h3):not(#hvx *) {
	font-family: Archivo, system-ui, sans-serif !important;
	font-stretch: 72% !important;
	font-weight: 700 !important;
	letter-spacing: -.005em !important;
	line-height: .94 !important;
	text-transform: none !important;
	color: #e8e6e1 !important;
}
body.hvp2.single-post .site-content h1.entry-title { font-size: clamp(36px, 4.4vw, 64px) !important; margin: 0 0 18px !important; hyphens: manual; }
body.hvp2.single-post .entry-meta { font-size: 0 !important; }
body.hvp2.single-post .entry-meta :is(.posted-by, .cat-links) { display: none !important; }
body.hvp2.single-post .entry-meta :is(.posted-on, .published, a) { font-family: Archivo, system-ui, sans-serif; font-size: 16px !important; font-stretch: 100%; color: #9ba2a9 !important; }
body.hvp2.single-post .hv-post-img { margin: 0 0 40px; }
body.hvp2.single-post .hv-post-img img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
body.hvp2.single-post .entry-content { font-family: Archivo, system-ui, sans-serif; font-stretch: 100%; color: #c9cdd1; font-size: 19px; line-height: 1.65; }
body.hvp2.single-post .entry-content > :is(p, ul, ol) { color: #c9cdd1; }
body.hvp2.single-post .entry-content > p { margin: 0 0 1.1em; }
body.hvp2.single-post .site-content .entry-content > h2 { font-size: clamp(26px, 2.6vw, 38px) !important; margin: 1.6em 0 .55em !important; }
body.hvp2.single-post .entry-content > :is(ul, ol) { margin: 0 0 1.2em; padding-left: 1.1em; }
body.hvp2.single-post .entry-content > :is(ul, ol) li { margin: 0 0 .35em; color: #c9cdd1; }
body.hvp2.single-post .entry-content > p a { color: #5aa0e6; text-decoration: underline; text-underline-offset: 3px; }
body.hvp2.single-post .hv-post-back { margin-top: 56px !important; padding-top: 28px; border-top: 1px solid rgba(232, 230, 225, .14); }
body.hvp2.single-post .hv-post-back a { color: #e8e6e1 !important; text-decoration: none !important; font-weight: 600; }
body.hvp2.single-post :is(.post-navigation, .ast-single-related-posts-container, #comments) { display: none !important; }
body.hvp2.single-post .site-content > .ast-container { padding-bottom: 0 !important; }
body.hvp2.single-post #primary { margin-bottom: 0 !important; }
body.hvp2.single-post .hvx-post-cta { margin-top: clamp(56px, 6vw, 96px); }

/* =========================================================
 * Pienet näytöt
 * ======================================================= */
@media (max-width: 1240px) {
	#hvx .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	#hvx .team { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
	#hvx .machines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	#hvx .panels,
	#hvx .panels.two { grid-template-columns: 1fr; }
	#hvx .panel { height: 380px; }
	#hvx .q > .w,
	#hvx .sm > .w,
	#hvx .contact,
	#hvx .cta6 .in { grid-template-columns: minmax(0, 1fr); }
	#hvx .q .side { position: static; }
	#hvx .sm .shot,
	#hvx .hero.prod .shot { aspect-ratio: 4 / 3; }
	#hvx .hero.prod > .w { grid-template-columns: minmax(0, 1fr); }
	#hvx .news-grid,
	#hvx .trio,
	#hvx .trio.four,
	#hvx .m3 > article { grid-template-columns: minmax(0, 1fr); }
	#hvx .news-grid { gap: 48px; }
	#hvx .machines,
	#hvx .machines.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#hvx .hero > img { object-position: 62% 50%; }
	#hvx .hero:not(.plain)::before { background: linear-gradient(0deg, rgba(11, 14, 17, 1) 0%, rgba(11, 14, 17, .88) 55%, rgba(11, 14, 17, .45) 100%); }
}
@media (max-width: 600px) {
	#hvx { font-size: 17px; }
	#hvx .w { width: calc(100% - 32px); }
	#hvx .hero { padding-top: 112px; }
	#hvx .hero.plain { padding-top: 116px; }
	#hvx .btn { width: 100%; justify-content: center; }
	#hvx .vid .tag { left: 12px; top: 12px; }
	#hvx .vid .play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
	#hvx .specs > div { grid-template-columns: minmax(0, 1fr); }
	#hvx .machines { gap: 36px 16px; }
	#hvx .mc h3 { font-size: 20px; margin-top: 14px; }
	#hvx .mc p { font-size: 14px; }
	#hvx .mc .ft { font-size: 13px; }
	#hvx .q .dnv img { width: 88px; height: 88px; }
	#hvx .wpcf7 form { grid-template-columns: minmax(0, 1fr); }
	#hvx :is(.people, .team) li { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
	#hvx :is(.people, .team) li.gen { grid-template-columns: minmax(0, 1fr); }
	#hvx :is(.people, .team) img,
	#hvx :is(.people, .team) .av { width: 72px; height: 72px; }
	#hvx :is(.people, .team) .av { font-size: 26px; }
	#hvx .map { aspect-ratio: 4 / 3; }
	body.hvp2 .hv-footer { padding-left: 16px !important; padding-right: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
	#hvx * { transition: none !important; }
	body.hvp-sticky.hvp-scrolled .hv-header { animation: none; }
}


/* Alatunnisteen somelinkit */
body.hvp2 .hv-footer .hv-footer__social { display: flex !important; gap: 10px; list-style: none !important; margin: 24px 0 0 !important; padding: 0 !important; }
body.hvp2 .hv-footer .hv-footer__social li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
body.hvp2 .hv-footer .hv-footer__social a { display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(232, 230, 225, .22); color: #e8e6e1 !important; transition: color .2s, border-color .2s; }
body.hvp2 .hv-footer .hv-footer__social a:hover, body.hvp2 .hv-footer .hv-footer__social a:focus-visible { color: #5aa0e6 !important; border-color: #5aa0e6; }
body.hvp2 .hv-footer .hv-footer__social svg { width: 18px; height: 18px; display: block; }
