@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,600;9..40,800&family=JetBrains+Mono:wght@600;800&family=Space+Grotesk:wght@500;700&display=swap");

body {
	--enterprise-blue: #043150;
	--enterprise-sky: #e8f6fa;
	--enterprise-aqua: #63d3f4;
	--enterprise-pink: #ffffff;
	--enterprise-deep: #05263d;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a {
	text-underline-offset: 0.18em;
}

.wp-site-blocks {
	overflow-x: clip;
}

.is-style-service-card,
.is-style-case-card,
.is-style-contact-panel,
.is-style-enterprise-card,
.is-style-enterprise-panel,
.is-style-article-card,
.is-style-object-card,
.is-style-motion-panel,
.is-style-blueprint-card,
.is-style-kpi-card {
	box-shadow: 0 20px 55px rgba(4, 49, 80, 0.08);
}

.is-style-service-card:hover,
.is-style-case-card:hover,
.is-style-article-card:hover,
.is-style-object-card:hover,
.is-style-motion-panel:hover,
.is-style-blueprint-card:hover,
.is-style-enterprise-card:hover {
	transform: translateY(-3px);
	transition: transform 160ms ease, box-shadow 160ms ease;
	box-shadow: 0 28px 70px rgba(4, 49, 80, 0.14);
}

.is-style-enterprise-card,
.is-style-enterprise-panel,
.is-style-article-card,
.is-style-contact-panel,
.is-style-object-card,
.is-style-motion-panel,
.is-style-blueprint-card,
.is-style-kpi-card {
	border: 1px solid #d9e7f0;
	border-radius: 8px;
}

.is-style-enterprise-card {
	background: #ffffff;
	padding: clamp(1.4rem, 3vw, 2rem);
}

.is-style-enterprise-panel {
	background: #f4f9fc;
	padding: clamp(1.6rem, 4vw, 3rem);
}

.is-style-kpi-card {
	background: #ffffff;
	padding: 1.4rem;
}

.is-style-article-card,
.is-style-object-card,
.is-style-motion-panel,
.is-style-blueprint-card,
.is-style-contact-panel {
	background: #ffffff;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	height: 100%;
}

.is-style-motion-panel {
	animation: enterpriseFloat 7s ease-in-out infinite;
}

.is-style-blueprint-card {
	background-image:
		linear-gradient(rgba(0, 31, 232, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 31, 232, 0.05) 1px, transparent 1px);
	background-size: 28px 28px;
}

.is-style-check-list {
	list-style: none;
	padding-left: 0;
}

.is-style-check-list li {
	position: relative;
	padding-left: 1.8rem;
	margin-bottom: 0.75rem;
}

.is-style-check-list li::before {
	background: #0077d9;
	content: "";
	position: absolute;
	left: 0;
	top: 0.38rem;
	width: 1rem;
	height: 1rem;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.2 16.8 4.9 12.5l1.7-1.7 2.6 2.6 8.2-8.2 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wp-block-button.is-style-navy-button .wp-block-button__link {
	background: #043150;
	color: #ffffff;
}

.wp-block-button.is-style-ghost-button .wp-block-button__link {
	background: transparent;
	border: 1px solid currentColor;
	color: #043150;
}

.wp-block-button.is-style-text-arrow .wp-block-button__link {
	background: transparent;
	color: #043150;
	padding-left: 0;
	padding-right: 0;
}

.wp-block-button.is-style-text-arrow .wp-block-button__link::after {
	background: currentColor;
	content: "";
	display: inline-block;
	height: 0.9em;
	margin-left: 0.45rem;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.4 3.2 16.2 9l-5.8 5.8-1.3-1.3 3.6-3.6H2V8.1h10.7L9.1 4.5z'/%3E%3C/svg%3E") center / contain no-repeat;
	vertical-align: -0.12em;
	width: 1em;
}

.site-header-shell {
	position: sticky;
	top: 0;
	z-index: 10001;
	box-shadow: 0 1px 0 rgba(4, 49, 80, 0.08);
}

.site-header-bar {
	align-items: center;
	gap: 1rem;
	min-height: 3.4rem;
}

.site-header-logo {
	align-items: center;
	min-width: 0;
}

.site-header-logo .custom-logo-link {
	align-items: center;
	display: inline-flex;
}

.site-header-logo .custom-logo {
	display: block;
	height: clamp(2.8rem, 4.5vw, 3.8rem);
	object-fit: contain;
	width: auto;
}

.site-header-shell .wp-block-site-title {
	display: none;
}

.wp-block-site-title a {
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
}

.waffle-menu-open .site-header-shell.has-background {
	background: transparent !important;
	box-shadow: none;
}

.waffle-menu-open .site-header-shell .wp-block-site-title a {
	color: #ffffff !important;
}

.site-header-actions {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 0 rgba(4, 49, 80, 0.12);
	display: inline-flex;
	flex-wrap: nowrap;
	gap: 0.85rem;
	padding: 0.15rem 0.35rem 0.15rem 0.65rem;
}

.site-header-search-form {
	align-items: center;
	display: inline-grid;
	grid-template-columns: auto 0 0;
	max-width: min(52vw, 28rem);
	overflow: hidden;
	transition: grid-template-columns 220ms ease;
}

.site-header-search-form.is-open {
	grid-template-columns: auto minmax(9rem, 16rem) auto;
}

.site-header-search-toggle,
.site-header-search-submit {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--enterprise-blue);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.95rem;
	font-weight: 800;
	gap: 0.3rem;
	padding: 0.35rem 0;
	text-decoration: none;
}

.site-header-search-submit {
	opacity: 0;
	padding-left: 0.55rem;
	pointer-events: none;
	transition: opacity 160ms ease;
}

.site-header-search-form.is-open .site-header-search-submit {
	opacity: 1;
	pointer-events: auto;
}

.site-header-search-toggle:hover,
.site-header-search-toggle:focus-visible,
.site-header-search-submit:hover,
.site-header-search-submit:focus-visible {
	color: #0077d9;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.site-header-search-icon {
	background: currentColor;
	display: inline-block;
	height: 1.05rem;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.6 2a5.6 5.6 0 0 1 4.46 8.99l3.43 3.43-1.07 1.07-3.43-3.43A5.6 5.6 0 1 1 7.6 2Zm0 1.5a4.1 4.1 0 1 0 0 8.2 4.1 4.1 0 0 0 0-8.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 1.05rem;
}

.site-header-search-field {
	background: #ffffff;
	border: 0;
	border-bottom: 2px solid var(--enterprise-blue);
	color: var(--enterprise-blue);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	min-width: 0;
	opacity: 0;
	padding: 0.25rem 0.5rem;
	transition: opacity 180ms ease;
	width: 100%;
}

.site-header-search-form.is-open .site-header-search-field {
	opacity: 1;
}

.site-header-search-field:focus {
	outline: 2px solid rgba(0, 119, 217, 0.25);
	outline-offset: 2px;
}

.site-language-switcher {
	align-items: center;
	display: inline-flex;
	gap: 0.35rem;
}

.site-language-switcher a {
	color: var(--enterprise-blue);
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.95rem;
	font-weight: 800;
	text-decoration: none;
}

.site-language-switcher a:hover,
.site-language-switcher a:focus-visible {
	color: #0077d9;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.waffle-menu-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--enterprise-blue);
	cursor: pointer;
	display: inline-flex;
	gap: 0.5rem;
	height: 42px;
	justify-content: center;
	padding: 0 0.1rem;
	position: relative;
	width: auto;
	z-index: 120;
}

.waffle-menu-toggle::before {
	content: "Valikko";
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.95rem;
	font-weight: 800;
}

.waffle-menu-open .waffle-menu-toggle {
	align-items: center;
	background: transparent;
	color: #ffffff;
	display: inline-flex;
	gap: 0.5rem;
	width: auto;
}

.waffle-menu-open .waffle-menu-toggle::before {
	content: "Sulje";
}

.waffle-menu-toggle svg,
.waffle-menu-toggle-icon,
.waffle-menu-toggle-label {
	display: none !important;
}

.waffle-menu-toggle::after {
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 24px 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 8px / 24px 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 16px / 24px 2px no-repeat;
	content: "";
	display: block;
	height: 18px;
	transition: background 180ms ease, transform 220ms ease;
	width: 24px;
}

.kunnonwebbi-breadcrumbs {
	color: var(--enterprise-blue);
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.template-breadcrumb-band {
	padding-top: clamp(1.25rem, 3vw, 2rem);
	padding-bottom: 0;
}

.kunnonwebbi-breadcrumbs ol {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.kunnonwebbi-breadcrumbs li {
	align-items: center;
	display: inline-flex;
	gap: 0.45rem;
}

.kunnonwebbi-breadcrumbs li + li::before {
	background: currentColor;
	content: "";
	display: inline-block;
	height: 0.78em;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.2 1.4 8.8 6l-4.6 4.6-1-1L6.8 6 3.2 2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0.8;
	width: 0.78em;
}

.kunnonwebbi-breadcrumbs a {
	color: inherit;
	text-decoration: underline;
}

.kunnonwebbi-breadcrumbs a:hover,
.kunnonwebbi-breadcrumbs a:focus-visible {
	color: #0077d9;
}

.kunnonwebbi-breadcrumbs span {
	color: #4f6a7a;
}

.page-hero {
	overflow: hidden;
	padding-bottom: clamp(3rem, 7vw, 6rem);
	padding-top: clamp(2rem, 5vw, 4.5rem);
	position: relative;
}

.page-hero::after {
	border: 1px solid rgba(4, 49, 80, 0.16);
	border-radius: 50%;
	content: "";
	height: clamp(14rem, 30vw, 30rem);
	pointer-events: none;
	position: absolute;
	right: -10vw;
	top: -18vw;
	width: clamp(20rem, 44vw, 44rem);
}

.page-hero-grid {
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	position: relative;
	z-index: 1;
}

.page-hero-copy .wp-block-post-title {
	color: var(--enterprise-blue);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.2rem, 4.1vw, 4.1rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.02;
	margin-bottom: 1rem;
	max-width: 16ch;
}

.page-hero-excerpt {
	color: #24475b;
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	line-height: 1.55;
	max-width: 42rem;
}

.page-hero-excerpt .wp-block-post-excerpt__more-link {
	display: none;
}

.page-hero-image-frame {
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(135deg, rgba(4, 49, 80, 0.08), rgba(99, 211, 244, 0.18)),
		#ffffff;
	border: 0;
	border-radius: 999rem 999rem 0 0;
	box-shadow: none;
	display: grid;
	overflow: hidden;
	place-items: stretch;
	position: relative;
	width: 100%;
}

.page-hero-image-frame::before {
	color: rgba(4, 49, 80, 0.42);
	content: "Kuvapaikka";
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.9rem;
	font-weight: 800;
	left: 50%;
	letter-spacing: 0.08em;
	position: absolute;
	text-transform: uppercase;
	top: 58%;
	transform: translate(-50%, -50%);
	z-index: 0;
}

.page-hero-image-frame .wp-block-post-featured-image {
	height: 100%;
	margin: 0;
	position: relative;
	width: 100%;
	z-index: 1;
}

.page-hero-image-frame .wp-block-post-featured-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.page-content-shell {
	padding-bottom: clamp(4rem, 8vw, 7rem);
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--style--root--padding-right);
	padding-top: clamp(3rem, 6vw, 5rem);
}

.page-content-body,
body.page .wp-block-post-content {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: min(1180px, calc(100vw - 2rem)) !important;
	width: min(1180px, calc(100vw - 2rem)) !important;
}

.page-content-body > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.wp-block-columns)),
body.page .wp-block-post-content > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.wp-block-columns)) {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: min(860px, calc(100vw - 2rem)) !important;
	width: 100% !important;
}

.page-content-body > h2,
.page-content-body > h3,
.page-content-body > p,
body.page .wp-block-post-content > h2,
body.page .wp-block-post-content > h3,
body.page .wp-block-post-content > p {
	max-width: min(860px, calc(100vw - 2rem)) !important;
}

.page-content-body > .alignwide,
body.page .wp-block-post-content > .alignwide {
	max-width: min(1180px, calc(100vw - 2rem)) !important;
	width: min(1180px, calc(100vw - 2rem)) !important;
}

.page-content-body > .alignfull,
body.page .wp-block-post-content > .alignfull {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	max-width: 100vw !important;
	width: 100vw !important;
}

body.page .wp-block-post-content .wp-block-columns:not(.alignwide):not(.alignfull) {
	gap: clamp(2rem, 5vw, 4rem);
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: min(1180px, calc(100vw - 2rem)) !important;
	width: 100% !important;
}

body.page .wp-block-post-content .wp-block-columns > .wp-block-column:only-child {
	flex-basis: 100% !important;
	max-width: 100% !important;
}

body.page .wp-block-post-content .wp-block-columns > .wp-block-column {
	min-width: 0;
}

body.page .wp-block-post-content .wp-block-columns:not(.alignwide):not(.alignfull) > .wp-block-column:first-child:not(:only-child) {
	flex-basis: 62% !important;
	max-width: 62% !important;
}

body.page .wp-block-post-content .wp-block-columns:not(.alignwide):not(.alignfull) > .wp-block-column:last-child:not(:only-child) {
	flex-basis: 32% !important;
	max-width: 32% !important;
}

body.page .wp-block-post-content .wp-block-columns .alignwide,
body.page .wp-block-post-content .wp-block-columns .alignfull {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

.waffle-menu-toggle[aria-expanded="true"]::after {
	background:
		linear-gradient(currentColor, currentColor) center / 24px 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 24px no-repeat;
	height: 24px;
	transform: rotate(45deg);
}

.waffle-menu-panel {
	background:
		radial-gradient(circle at 82% -14%, rgba(99, 211, 244, 0.16), transparent 30rem),
		linear-gradient(135deg, var(--enterprise-blue), var(--enterprise-deep));
	clip-path: inset(0);
	color: #ffffff;
	box-sizing: border-box;
	height: 100dvh;
	inset: 0 !important;
	left: 0 !important;
	right: 0 !important;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0;
	pointer-events: none;
	position: fixed !important;
	opacity: 0;
	transform: translate3d(105%, -8%, 0) rotate(-9deg) scale(0.86);
	transform-origin: 100% 0%;
	visibility: hidden;
	width: 100vw !important;
	max-width: none !important;
	z-index: 20000;
}

.waffle-menu-mounted .waffle-menu-panel,
.waffle-menu-closing .waffle-menu-panel {
	visibility: visible;
}

.waffle-menu-open .waffle-menu-panel {
	animation: enterpriseMenuOpen 720ms cubic-bezier(0.16, 0.9, 0.18, 1) both;
	opacity: 1;
	pointer-events: auto;
}

.waffle-menu-closing .waffle-menu-panel {
	animation: enterpriseMenuClose 640ms cubic-bezier(0.65, 0, 0.35, 1) both;
	pointer-events: none;
}

.waffle-menu-open {
	overflow: hidden;
}

.waffle-menu-mounted .waffle-menu-panel {
	display: block !important;
}

.waffle-menu-panel > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
}

.waffle-menu-orbit {
	border: 1.5px solid rgba(255, 255, 255, 0.42);
	border-radius: 50%;
	height: min(42vw, 520px);
	pointer-events: none;
	position: absolute;
	right: -2vw;
	top: -22vw;
	transform: rotate(8deg);
	width: min(54vw, 680px);
}

.waffle-menu-orbit::after {
	border: 1.5px solid rgba(99, 211, 244, 0.34);
	border-radius: 50%;
	content: "";
	height: 72%;
	position: absolute;
	right: 8%;
	top: -18%;
	width: 82%;
}

.waffle-menu-open .waffle-menu-orbit {
	animation: enterpriseOrbit 18s linear infinite;
}

.waffle-menu-inner {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-height: 100dvh;
	margin-left: auto;
	margin-right: auto;
	max-width: 1920px;
	padding: clamp(2.2rem, 5vw, 4.5rem) clamp(2rem, 5.5vw, 6.5rem) clamp(1.7rem, 4vw, 3rem);
	position: relative;
	width: 100%;
	z-index: 2;
}

.waffle-menu-topline {
	align-items: center;
	display: flex;
	justify-content: space-between;
	left: 0 !important;
	padding: clamp(1.15rem, 2.5vw, 2rem) clamp(1.75rem, 4vw, 3.8rem);
	pointer-events: none;
	position: absolute;
	right: 0 !important;
	top: 0 !important;
	width: auto !important;
	z-index: 4;
}

.waffle-menu-logo {
	align-items: center;
	display: flex;
	min-height: 4rem;
	pointer-events: auto;
}

.waffle-menu-logo .custom-logo-link {
	align-items: center;
	display: inline-flex;
}

.waffle-menu-logo .custom-logo {
	display: block;
	height: clamp(3rem, 5vw, 4.8rem);
	max-width: min(18rem, 42vw);
	object-fit: contain;
	width: auto;
}

.waffle-menu-close {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--interface);
	font-size: 1rem;
	font-weight: 800;
	gap: 0.45rem;
	line-height: 1;
	padding: 0.75rem 0;
	pointer-events: auto;
}

.waffle-menu-close-icon {
	display: inline-block;
	height: 1.25rem;
	position: relative;
	width: 1.25rem;
}

.waffle-menu-close-icon::before,
.waffle-menu-close-icon::after {
	background: currentColor;
	content: "";
	height: 2px;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 1rem;
}

.waffle-menu-close-icon::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.waffle-menu-close-icon::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.waffle-menu-close:hover,
.waffle-menu-close:focus-visible {
	color: var(--enterprise-aqua);
	outline-color: currentColor;
}

.waffle-menu-inner .wp-block-heading {
	color: #ffffff;
	font-weight: 850;
	letter-spacing: 0;
	margin-top: 0.2rem;
}

.waffle-menu-main-list {
	margin-left: 0;
	margin-top: clamp(7rem, 15vh, 12rem);
	max-width: min(560px, 100%);
}

.waffle-menu-row {
	align-items: center;
	color: #ffffff;
	gap: 2rem;
	margin: 0;
	padding: 0.52rem 0;
	opacity: 0;
	transform: translateX(3rem);
	transition: opacity 320ms ease, transform 480ms cubic-bezier(0.16, 0.9, 0.18, 1);
}

.waffle-menu-open .waffle-menu-row {
	opacity: 1;
	transform: translateX(0);
}

.waffle-menu-open .waffle-menu-row:nth-child(2) {
	transition-delay: 60ms;
}

.waffle-menu-open .waffle-menu-row:nth-child(3) {
	transition-delay: 120ms;
}

.waffle-menu-open .waffle-menu-row:nth-child(4) {
	transition-delay: 180ms;
}

.waffle-menu-open .waffle-menu-row:nth-child(5) {
	transition-delay: 240ms;
}

.waffle-menu-row::after {
	color: #ffffff;
	content: "+";
	font-family: var(--wp--preset--font-family--interface);
	font-size: clamp(1.7rem, 2.5vw, 2.15rem);
	font-weight: 800;
	line-height: 1;
}

.waffle-menu-row .wp-block-button__link {
	background: transparent;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--interface);
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	font-weight: 800;
	letter-spacing: 0;
	padding: 0;
	text-decoration: none;
}

.waffle-menu-row .wp-block-button__link:hover {
	background: transparent;
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.waffle-menu-footer-links {
	column-gap: clamp(3rem, 7vw, 7.5rem) !important;
	display: flex !important;
	flex-wrap: wrap;
	row-gap: 1.35rem !important;
	margin-top: auto;
	opacity: 0;
	padding-top: clamp(3rem, 8vh, 5rem);
	transform: translateY(1rem);
	transition: opacity 320ms ease 320ms, transform 480ms cubic-bezier(0.16, 0.9, 0.18, 1) 320ms;
}

.waffle-menu-footer-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.35rem clamp(3rem, 7vw, 7.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.waffle-menu-footer-list li {
	margin: 0;
}

.waffle-menu-open .waffle-menu-footer-links {
	opacity: 1;
	transform: translateY(0);
}

.waffle-menu-footer-link .wp-block-button__link {
	background: transparent;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.95rem;
	font-weight: 800;
	padding: 0;
}

.waffle-menu-footer-links > a,
.waffle-menu-footer-list a {
	color: #ffffff;
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.95rem;
	font-weight: 800;
	text-decoration: none;
}

.waffle-menu-footer-links > a::after,
.waffle-menu-footer-list a::after {
	background: currentColor;
	content: "";
	display: inline-block;
	height: 0.85em;
	margin-left: 0.45rem;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.2 1.4 8.8 6l-4.6 4.6-1-1L6.8 6 3.2 2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 0.85em;
}

.waffle-menu-footer-links > a:hover,
.waffle-menu-footer-links > a:focus-visible,
.waffle-menu-footer-list a:hover,
.waffle-menu-footer-list a:focus-visible {
	color: var(--enterprise-aqua);
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.waffle-menu-footer-link .wp-block-button__link::after {
	background: currentColor;
	content: "";
	display: inline-block;
	height: 0.85em;
	margin-left: 0.45rem;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.2 1.4 8.8 6l-4.6 4.6-1-1L6.8 6 3.2 2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 0.85em;
}

.waffle-menu-footer-link .wp-block-button__link:hover {
	background: transparent;
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.kunnonwebbi-page-menu {
	align-items: start;
	display: grid;
	column-gap: clamp(4.5rem, 9vw, 10rem);
	row-gap: clamp(2rem, 4vw, 4rem);
	grid-template-columns: minmax(280px, 440px) minmax(280px, 390px) minmax(260px, 460px);
	margin-top: clamp(8rem, 24vh, 15rem);
	width: 100%;
}

.kunnonwebbi-page-menu__column {
	min-width: 0;
}

.kunnonwebbi-page-menu__branch {
	display: none;
}

.kunnonwebbi-page-menu__branch.is-active {
	display: block;
}

.kunnonwebbi-page-menu__column--children:not(.is-visible) {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.kunnonwebbi-page-menu__column--children.is-visible {
	opacity: 1;
	visibility: visible;
}

.kunnonwebbi-page-menu__column--grandchildren:not(.is-visible) {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.kunnonwebbi-page-menu__column--grandchildren.is-visible {
	opacity: 1;
	visibility: visible;
}

.kunnonwebbi-page-menu__row {
	align-items: center;
	color: #ffffff;
	display: grid;
	gap: clamp(1rem, 2vw, 2rem);
	grid-template-columns: minmax(0, 1fr) 2.5rem;
	margin: 0;
	min-height: 3rem;
	opacity: 0;
	padding: 0.38rem 0;
	transform: translateX(3rem);
	transition: opacity 320ms ease, transform 520ms cubic-bezier(0.16, 0.9, 0.18, 1);
}

.waffle-menu-open .kunnonwebbi-page-menu__row {
	opacity: 1;
	transform: translateX(0);
}

.waffle-menu-open .kunnonwebbi-page-menu__column:nth-child(2) .kunnonwebbi-page-menu__row {
	transition-delay: 90ms;
}

.waffle-menu-open .kunnonwebbi-page-menu__column:nth-child(3) .kunnonwebbi-page-menu__row {
	transition-delay: 160ms;
}

.kunnonwebbi-page-menu__row a {
	color: #ffffff;
	font-family: var(--wp--preset--font-family--interface);
	font-size: clamp(1.05rem, 1.55vw, 1.45rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.18;
	text-decoration: none;
	text-wrap: balance;
}

.kunnonwebbi-page-menu__column--root .kunnonwebbi-page-menu__row a {
	font-size: clamp(1.16rem, 1.75vw, 1.62rem);
}

.kunnonwebbi-page-menu__column--grandchildren .kunnonwebbi-page-menu__row a {
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(1rem, 1.25vw, 1.18rem);
	font-weight: 650;
}

.kunnonwebbi-page-menu__row.is-active > a {
	color: #ffffff;
	text-decoration: none;
}

.kunnonwebbi-page-menu__row a:hover,
.kunnonwebbi-page-menu__row a:focus-visible {
	color: var(--enterprise-aqua);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.23em;
}

.kunnonwebbi-page-menu__expand {
	appearance: none;
	background: transparent;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	height: 2.5rem;
	padding: 0;
	position: relative;
	width: 2.5rem;
}

.kunnonwebbi-page-menu__expand::before,
.kunnonwebbi-page-menu__expand::after {
	background: currentColor;
	content: "";
	height: 3px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: transform 180ms ease, width 180ms ease;
	width: 1.15rem;
}

.kunnonwebbi-page-menu__expand::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.kunnonwebbi-page-menu__row.is-active > .kunnonwebbi-page-menu__expand::before {
	height: 1rem;
	mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 3 16 9l-5.5 6-1.1-1.1 3.6-4H2V8.1h11L9.4 4.2z'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 1.5rem;
}

.kunnonwebbi-page-menu__row.is-active > .kunnonwebbi-page-menu__expand::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(0);
}

.kunnonwebbi-page-menu__expand:hover,
.kunnonwebbi-page-menu__expand:focus-visible {
	color: var(--enterprise-aqua);
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.enterprise-vector-object {
	align-items: center;
	background: #f4f9fc;
	border: 1px solid #d9e7f0;
	border-radius: 8px;
	display: inline-flex;
	height: 56px;
	justify-content: center;
	width: 56px;
}

.enterprise-vector-object svg {
	fill: none;
	height: 32px;
	stroke: #0077d9;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 32px;
}

.enterprise-object-grid .wp-block-group,
.enterprise-workflow-step {
	height: 100%;
}

.enterprise-workflow-step {
	position: relative;
}

.enterprise-workflow-step::after {
	background: #c9dce8;
	content: "";
	height: 1px;
	position: absolute;
	right: -1.5rem;
	top: 2rem;
	width: 3rem;
}

.enterprise-workflow-step:last-child::after {
	display: none;
}

.enterprise-command-panel {
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 8px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.enterprise-command-tile {
	background: #f4f9fc;
	border: 1px solid #d9e7f0;
	border-radius: 8px;
	padding: 1.2rem;
}

.enterprise-command-tile .enterprise-vector-object {
	background: #ffffff;
}

.enterprise-status-strip {
	background: #043150;
	border-radius: 8px;
	color: #ffffff;
	margin-top: 1rem;
	padding: 0.8rem 1rem;
}

.enterprise-status-strip p {
	margin: 0;
}

.article-hero .wp-block-post-title {
	max-width: 920px;
}

.article-meta a,
.wp-block-post-date,
.wp-block-post-author-name {
	font-size: 0.9rem;
	font-weight: 700;
}

.kunnonkartta-contact-form {
	display: grid;
	gap: 1rem;
}

.kunnonkartta-contact-form label {
	display: grid;
	gap: 0.35rem;
	font-weight: 700;
}

.kunnonkartta-contact-form input,
.kunnonkartta-contact-form textarea {
	background: #ffffff;
	border: 1px solid #c9dce8;
	border-radius: 6px;
	color: #0d1b24;
	font: inherit;
	padding: 0.85rem 0.95rem;
	width: 100%;
}

.kunnonkartta-contact-form input:focus,
.kunnonkartta-contact-form textarea:focus {
	border-color: #0077d9;
	box-shadow: 0 0 0 3px rgba(0, 119, 217, 0.14);
	outline: none;
}

.kunnonkartta-contact-form button {
	justify-self: start;
}

.contact-form-website {
	left: -9999px;
	position: absolute;
}

.contact-form-notice {
	border-radius: 6px;
	font-weight: 700;
	margin: 0;
	padding: 0.85rem 1rem;
}

.contact-form-notice--success {
	background: #e9f8ef;
	color: #135d2f;
}

.contact-form-notice--error {
	background: #fff0f0;
	color: #8f1d1d;
}

.enterprise-eyebrow {
	color: #0077d9;
	font-family: var(--wp--preset--font-family--interface);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.enterprise-grid-tight {
	gap: clamp(1rem, 2vw, 1.5rem);
}

.enterprise-motion-field {
	position: relative;
	overflow: hidden;
}

.enterprise-motion-field::before,
.enterprise-motion-field::after {
	border: 1px solid rgba(0, 31, 232, 0.18);
	border-radius: 50%;
	content: "";
	pointer-events: none;
	position: absolute;
}

.enterprise-motion-field::before {
	height: 34rem;
	right: -12rem;
	top: -18rem;
	width: 46rem;
}

.enterprise-motion-field::after {
	bottom: -16rem;
	height: 28rem;
	left: -10rem;
	width: 36rem;
}

.enterprise-object-rail {
	overflow-x: auto;
	scroll-snap-type: x proximity;
}

.enterprise-object-rail > * {
	min-width: min(320px, 82vw);
	scroll-snap-align: start;
}

.enterprise-kinetic-number {
	color: var(--enterprise-blue);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 850;
	line-height: 0.92;
}

.enterprise-glow-line {
	background: linear-gradient(90deg, var(--enterprise-blue), var(--enterprise-aqua), var(--enterprise-pink));
	border-radius: 999px;
	height: 4px;
	width: min(18rem, 70vw);
}

@keyframes enterpriseFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes enterpriseOrbit {
	from {
		transform: rotate(8deg);
	}
	to {
		transform: rotate(368deg);
	}
}

@keyframes enterpriseMenuOpen {
	0% {
		border-bottom-left-radius: 48vw;
		opacity: 0;
		transform: translate3d(105%, -8%, 0) rotate(-9deg) scale(0.86);
	}
	62% {
		border-bottom-left-radius: 14vw;
		opacity: 1;
		transform: translate3d(-2.5%, 1.2%, 0) rotate(1.5deg) scale(1.015);
	}
	100% {
		border-bottom-left-radius: 0;
		opacity: 1;
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	}
}

@keyframes enterpriseMenuClose {
	0% {
		border-bottom-left-radius: 0;
		opacity: 1;
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	}
	35% {
		opacity: 1;
		transform: translate3d(-1.5%, 0.6%, 0) rotate(1deg) scale(1.01);
	}
	100% {
		border-bottom-left-radius: 48vw;
		opacity: 0;
		transform: translate3d(105%, -8%, 0) rotate(-9deg) scale(0.86);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

.enterprise-section {
	padding-top: clamp(4rem, 8vw, 6rem);
	padding-bottom: clamp(4rem, 8vw, 6rem);
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: 28px;
}

.wp-block-button .wp-block-button__link {
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #043150;
	color: #ffffff;
}

@media (max-width: 720px) {
	.hide-on-mobile {
		display: none !important;
	}

	.is-style-enterprise-card,
	.is-style-enterprise-panel,
	.is-style-article-card,
	.is-style-object-card,
	.is-style-motion-panel,
	.is-style-blueprint-card,
	.is-style-contact-panel,
	.is-style-kpi-card {
		padding: 1.25rem;
	}

	.enterprise-workflow-step::after {
		display: none;
	}

	.primary-navigation {
		display: none;
	}

	.waffle-menu-panel {
		clip-path: inset(0);
		transform: translate3d(105%, -5%, 0) rotate(-5deg) scale(0.88);
	}

	.waffle-menu-orbit {
		height: 62vw;
		right: -24vw;
		top: -30vw;
		width: 86vw;
	}

	.waffle-menu-inner {
		min-height: calc(100dvh - 3.35rem);
		padding: 1.6rem clamp(1rem, 6vw, 1.5rem) 1.75rem;
	}

	.waffle-menu-topline {
		padding: 1.1rem clamp(1rem, 5vw, 1.5rem);
	}

	.waffle-menu-logo {
		min-height: 3.2rem;
	}

	.waffle-menu-logo .custom-logo {
		height: 3.1rem;
		max-width: 11rem;
	}

	.kunnonwebbi-page-menu {
		column-gap: 0;
		grid-template-columns: 1fr;
		margin-top: clamp(4.5rem, 12vh, 7rem);
		row-gap: 1.8rem;
	}

	.kunnonwebbi-page-menu__column--children,
	.kunnonwebbi-page-menu__column--grandchildren {
		border-left: 1px solid rgba(255, 255, 255, 0.26);
		padding-left: 1rem;
	}

	.kunnonwebbi-page-menu__row {
		grid-template-columns: minmax(0, 1fr) 2.25rem;
		min-height: 2.65rem;
		padding: 0.25rem 0;
	}

	.kunnonwebbi-page-menu__row a,
	.kunnonwebbi-page-menu__column--root .kunnonwebbi-page-menu__row a,
	.kunnonwebbi-page-menu__column--grandchildren .kunnonwebbi-page-menu__row a {
		font-size: clamp(1rem, 5vw, 1.28rem);
	}

	.waffle-menu-open .waffle-menu-toggle::before {
		font-size: 0.85rem;
	}

	.site-header-actions {
		gap: 0.55rem;
	}

	.site-header-search-form {
		max-width: 58vw;
	}

	.site-header-search-form.is-open {
		grid-template-columns: auto minmax(6.5rem, 1fr) auto;
	}

	.site-header-search-toggle span:first-child,
	.site-header-search-submit {
		font-size: 0.85rem;
	}

	.page-hero {
		padding-bottom: 2.5rem;
		padding-top: 1.6rem;
	}

	.page-hero-grid {
		gap: 1.5rem;
	}

	.page-hero-copy .wp-block-post-title {
		font-size: clamp(2rem, 10vw, 3.2rem);
		max-width: 100%;
	}

	.page-hero-image-frame {
		aspect-ratio: 16 / 11;
	}

	body.page .wp-block-post-content .wp-block-columns:not(.alignwide):not(.alignfull) > .wp-block-column:first-child:not(:only-child),
	body.page .wp-block-post-content .wp-block-columns:not(.alignwide):not(.alignfull) > .wp-block-column:last-child:not(:only-child) {
		flex-basis: 100% !important;
		max-width: 100% !important;
	}

	.waffle-menu-footer-links {
		display: grid;
		gap: 1.35rem !important;
		padding-top: 2.5rem;
	}

	.waffle-menu-footer-list {
		display: grid;
		gap: 1.35rem;
	}
}
