/* ------------------------------------------------------------------ Type */

/* Script note: Caveat, short (2–4 words), slightly tilted. At most one
   per section; optional. */
.pp-eyebrow {
	display: block;
	margin: 0 0 0.625rem;
	color: var(--ew-color-oak-text);
	font-family: var(--ew-font-script);
	font-size: var(--ew-pp-script-size);
	font-weight: var(--ew-weight-medium);
	letter-spacing: 0;
	line-height: 1;
	text-transform: none;
	rotate: -2deg;
	transform-origin: 0 50%;
}

[data-scheme="dark"] .pp-eyebrow {
	color: var(--ew-color-cta-on-dark);
}

/* Section heading: condensed uppercase, tight. Content stays in sentence
   case for search and assistive tech; long Finnish compounds hyphenate or
   break before they overflow a phone. */
.pp-h2 {
	max-width: 16ch;
	margin: 0;
	color: var(--ew-color-heading);
	font-size: var(--ew-pp-head-title);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.03em;
	line-height: 0.92;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Tag / label: small uppercase in wood. */
.pp-tag {
	color: var(--ew-color-oak-text);
	font-size: var(--ew-pp-tag-size);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-pp-tag-tracking);
	line-height: 1.4;
	text-transform: uppercase;
}

.pp-lede {
	max-width: 32.5rem;
	margin: 0;
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-body-large);
	line-height: 1.65;
	text-wrap: pretty;
}

.pp-text {
	max-width: var(--ew-measure-prose);
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-body);
	line-height: var(--ew-leading-body);
	text-wrap: pretty;
}

.pp-text > * + * {
	margin-top: var(--ew-space-4);
}

.pp-text strong {
	color: var(--ew-color-heading);
	font-weight: var(--ew-weight-semibold);
}

.pp-head {
	display: grid;
	gap: var(--ew-space-4);
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

/* Heading left, lead right, aligned on the last line (Palvelut). */
.pp-head--split {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 26.25rem), 1fr));
	gap: 1.5rem clamp(2.5rem, 6vw, 6.5rem);
	align-items: end;
}

.pp-head--split > p {
	max-width: 32.5rem;
	margin: 0;
	font-size: var(--ew-text-body-large);
}

/* Secondary on light: an underlined text link with an arrow. */
.pp-link {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	min-height: 2.75rem;
	color: var(--ew-color-heading);
	font-size: var(--ew-text-body);
	font-weight: var(--ew-weight-semibold);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
	transition: color var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

.pp-link::after {
	content: "\2192" / "";
	transition: transform 0.45s var(--ew-motion-ease-out);
}

.pp-link:hover,
.pp-link:focus-visible {
	color: var(--ew-color-accent-text);
}

.pp-link:hover::after,
.pp-link:focus-visible::after {
	transform: translateX(var(--ew-pp-arrow-shift));
}

.pp-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ew-space-3) var(--ew-space-6);
}

/* --------------------------------------------------------------- Figures */

.pp-figure {
	position: relative;
	margin: 0;
}

.pp-figure__frame {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--ew-pp-image-radius);
	background: var(--ew-pp-image-bg);
}

.pp-figure__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pp-figure__caption {
	margin-top: var(--ew-space-3);
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-caption);
	letter-spacing: 0.01em;
}

/* ------------------------------------------------- 1. Page title, facts
   Page openings use the original framed hero again (sections/home-hero.php,
   sections/page-hero-beeld.php, 1.23.1). What remains here: the title of
   the compact page heading (404) and the facts list that closes the intro
   of a service page. */

.pp-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ew-space-5);
	margin: var(--ew-space-6) 0 0;
	padding: var(--ew-space-5) 0 0;
	border-top: 1px solid var(--ew-color-charcoal);
}

.pp-facts > div {
	display: grid;
	gap: var(--ew-space-1);
	align-content: start;
}

.pp-facts dt {
	color: var(--ew-color-oak-text);
	font-size: var(--ew-pp-tag-size);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-pp-tag-tracking);
	text-transform: uppercase;
}

.pp-facts dd {
	margin: 0;
	color: var(--ew-color-heading);
	font-size: var(--ew-text-small);
	font-weight: var(--ew-weight-medium);
	line-height: 1.4;
}

@media (max-width: 30rem) {
	.pp-facts {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--ew-space-4);
	}
}

/* ------------------------------------------------------ 2. Service cards
   "Palvelut Grid": white cards (1px line, 6px radius, soft shadow), photo
   4:3, icon tile and index, title, one line, "Lue lisää" footer. The whole
   card is one link; hover and focus-visible lift it 6px, zoom the photo to
   1.05 and turn the icon tile and link text burnt orange. Three columns at
   desktop, two on tablets, one on phones. The homepage closes the grid with
   the dark measurement card; service pages use the same card for related
   services. */

.pp-svc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 21.25rem), 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
}

.pp-svc {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ew-color-border-page);
	border-radius: var(--ew-pp-card-radius);
	background: var(--ew-color-surface);
	box-shadow: var(--ew-pp-card-shadow);
	color: var(--ew-color-heading);
	text-decoration: none;
	transition:
		transform 0.45s var(--ew-motion-ease-out),
		box-shadow 0.45s var(--ew-motion-ease-out);
}

.pp-svc__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--ew-pp-image-bg);
}

.pp-svc__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ew-motion-ease-out);
}

.pp-svc__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.75rem;
	padding: var(--ew-pp-card-pad);
}

.pp-svc__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.375rem;
}

.pp-svc__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--ew-pp-icon-tile);
	height: var(--ew-pp-icon-tile);
	border: 1px solid var(--ew-color-border-page);
	border-radius: var(--ew-radius-sm);
	color: var(--ew-color-heading);
	transition:
		border-color 0.35s ease,
		background-color 0.35s ease,
		color 0.35s ease;
}

.pp-svc__num {
	color: var(--ew-color-text-meta);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
}

.pp-svc__title {
	margin: 0;
	font-size: var(--ew-pp-card-title);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.pp-svc__text {
	display: block;
	color: var(--ew-color-text-muted);
	font-size: 1rem;
	line-height: 1.6;
	text-wrap: pretty;
}

.pp-svc__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ew-color-line-soft);
	font-size: 0.9375rem;
	font-weight: var(--ew-weight-medium);
	transition: color 0.3s ease;
}

.pp-svc__arrow {
	font-size: 1.25rem;
	line-height: 1;
	transition: transform 0.45s var(--ew-motion-ease-out);
}

.pp-svc:hover,
.pp-svc:focus-visible {
	transform: translateY(var(--ew-pp-card-lift));
	box-shadow: var(--ew-pp-card-shadow-hover);
}

.pp-svc:focus-visible {
	outline: 2px solid var(--ew-color-cta);
	outline-offset: 4px;
}

.pp-svc:hover .pp-svc__media img,
.pp-svc:focus-visible .pp-svc__media img {
	transform: scale(var(--ew-pp-lift));
}

.pp-svc:hover .pp-svc__icon,
.pp-svc:focus-visible .pp-svc__icon {
	border-color: var(--ew-color-accent-soft-line);
	background: var(--ew-color-accent-soft);
	color: var(--ew-color-accent-text);
}

.pp-svc:hover .pp-svc__more,
.pp-svc:focus-visible .pp-svc__more {
	color: var(--ew-color-accent-text);
}

.pp-svc:hover .pp-svc__arrow,
.pp-svc:focus-visible .pp-svc__arrow {
	transform: translateX(var(--ew-pp-arrow-shift));
}

/* The dark measurement card. */
.pp-svc--cta {
	min-height: 26.25rem;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border-color: var(--ew-color-charcoal);
	background: var(--ew-color-charcoal);
	box-shadow: var(--ew-pp-card-shadow-dark);
	color: var(--ew-color-text-on-dark);
}

.pp-svc--cta .pp-svc__icon {
	margin-bottom: 1.375rem;
	border-color: var(--ew-color-line-dark-2);
	color: var(--ew-color-cta-on-dark);
}

.pp-svc--cta .pp-eyebrow {
	margin: 0;
	font-size: 2rem;
}

.pp-svc__cta-title {
	margin: 1.375rem 0 0;
	color: var(--ew-color-text-on-dark);
	font-size: clamp(1.875rem, 2.6vw, 2.5rem);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.025em;
	line-height: 0.95;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: auto;
}

.pp-svc__points {
	display: flex;
	flex-direction: column;
	margin-top: 1.75rem;
	border-bottom: 1px solid var(--ew-color-line-dark);
	color: var(--ew-color-text-on-dark-muted);
	font-size: 1rem;
}

.pp-svc__points > span {
	padding: 0.75rem 0;
	border-top: 1px solid var(--ew-color-line-dark);
}

.pp-svc__action {
	display: flex;
	margin-top: auto;
	padding-top: 2rem;
}

.pp-svc__button {
	display: inline-flex;
	align-items: center;
	gap: 0.875rem;
	padding: 1rem 1.375rem;
	border-radius: var(--ew-radius-sm);
	background: var(--ew-color-cta);
	color: var(--ew-color-white);
	font-size: 1rem;
	font-weight: var(--ew-weight-semibold);
	transition: background-color 0.3s ease;
}

.pp-svc--cta:hover,
.pp-svc--cta:focus-visible {
	box-shadow: var(--ew-pp-card-shadow-dark-hover);
}

.pp-svc--cta:hover .pp-svc__button,
.pp-svc--cta:focus-visible .pp-svc__button {
	background: var(--ew-color-cta-hover);
}

/* ------------------------------------------- 3. Project items and marquee
   Projects are photographs, not cards: image (3px radius), tags in wood,
   title. Hover zooms the image to 1.04 and turns the title burnt orange.
   The homepage shows them as the "Projektit Marquee"; service pages show
   an even row (pp-projektit). */

.pp-marquee__frame {
	display: block;
	overflow: hidden;
	border-radius: var(--ew-pp-image-radius);
	background: var(--ew-pp-image-bg);
}

.pp-marquee__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ew-motion-ease-out);
}

.pp-marquee__title {
	margin: 0;
	color: var(--ew-color-heading);
	font-size: clamp(1.25rem, 1.7vw, 1.625rem);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.15;
	transition: color 0.3s ease;
}

/* The whole item is clickable through the title link. */

.pp-marquee__item:hover .pp-marquee__frame img,
.pp-marquee__item:focus-visible .pp-marquee__frame img {
	transform: scale(1.04);
}

.pp-marquee__item:hover .pp-marquee__title,
.pp-marquee__item:focus-visible .pp-marquee__title {
	color: var(--ew-color-accent-text);
}

/* Marquee: the track bleeds edge to edge. Without the script (or with
   reduced motion) it is a natively scrolling row and the copy is hidden. */
.pp-marquee {
	overflow: hidden;
}

.pp-marquee__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pp-marquee__controls {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.pp-marquee__pause {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--ew-color-line-2);
	border-radius: var(--ew-radius-sm);
	background: transparent;
	color: var(--ew-color-heading);
	transition: border-color 0.3s ease;
}

.pp-marquee__pause[hidden] {
	display: none;
}

.pp-marquee__pause:hover {
	border-color: var(--ew-color-heading);
}

.pp-marquee__icon--play,
.pp-marquee.is-paused .pp-marquee__icon--pause {
	display: none;
}

.pp-marquee.is-paused .pp-marquee__icon--play {
	display: block;
}

.pp-marquee__view {
	overflow-x: auto;
	padding: 0 var(--ew-gutter) 0.5rem;
	scrollbar-width: thin;
}

.pp-marquee.is-running .pp-marquee__view {
	overflow: visible;
}

.pp-marquee__track {
	display: flex;
	gap: clamp(1rem, 2vw, 1.75rem);
	width: max-content;
}

.pp-marquee.is-running .pp-marquee__track {
	will-change: transform;
}

.pp-marquee__item--copy {
	display: none;
}

.pp-marquee.is-running .pp-marquee__item--copy {
	display: flex;
}

.pp-marquee__item {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 1.125rem;
	color: var(--ew-color-heading);
	text-decoration: none;
}

.pp-marquee__item--a { width: clamp(18.75rem, 38vw, 35rem); }
.pp-marquee__item--b { width: clamp(15rem, 26vw, 23.75rem); }
.pp-marquee__item--c { width: clamp(17.5rem, 32vw, 30rem); }
.pp-marquee__item--d { width: clamp(18.75rem, 40vw, 37.5rem); }
.pp-marquee__item--e { width: clamp(15rem, 28vw, 26.25rem); }
.pp-marquee__item--f { width: clamp(17.5rem, 34vw, 31.25rem); }

.pp-marquee__frame {
	height: var(--ew-pp-marquee-height);
}

.pp-marquee__text {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-width: 32.5rem;
}

.pp-marquee__item:focus-visible {
	outline: 2px solid var(--ew-color-cta);
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.pp-marquee__item--copy,
.pp-marquee.is-running .pp-marquee__item--copy {
		display: none;
	}

	.pp-marquee.is-running .pp-marquee__view {
		overflow-x: auto;
	}
}

/* ------------------------------------------------- 4. Before and after
   Two photographs of the same job, side by side, labelled. Text beside on
   wide screens, above on narrow ones. */

.pp-pari__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(var(--ew-space-6), 1rem + 4vw, 6rem);
	align-items: center;
}

.pp-pari__copy {
	display: grid;
	gap: var(--ew-space-4);
}

.pp-pari__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ew-space-4);
}

.pp-pari__pair .pp-figure__frame {
	aspect-ratio: 3 / 4;
}

.pp-pari__label {
	position: absolute;
	top: var(--ew-space-3);
	left: var(--ew-space-3);
	z-index: 1;
	padding: 0.25rem 0.625rem;
	border-radius: var(--ew-radius-xs);
	background: var(--ew-color-background);
	color: var(--ew-color-heading);
	font-size: var(--ew-pp-tag-size);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-pp-tag-tracking);
	text-transform: uppercase;
}

@media (max-width: 60rem) {
	.pp-pari__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--ew-space-6);
	}
}

@media (max-width: 30rem) {
	.pp-pari__pair {
		gap: var(--ew-space-2);
	}
}

/* --------------------------------------------------------- 5. Process
   A row of five under an ink rule: grey index, short title, body. Stacks
   into a numbered list on phones. */

.pp-prosessi__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	gap: var(--ew-space-6) clamp(1rem, 2vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pp-step;
}

.pp-prosessi__step {
	display: grid;
	gap: 0.625rem;
	align-content: start;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ew-color-charcoal);
	counter-increment: pp-step;
}

.pp-prosessi__step::before {
	content: counter(pp-step, decimal-leading-zero);
	color: var(--ew-color-text-meta);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
}

.pp-prosessi__title {
	margin: 0;
	font-family: var(--ew-font-body);
	font-size: clamp(1.1875rem, 1.1rem + 0.25vw, 1.3125rem);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.pp-prosessi__text {
	margin: 0;
	color: var(--ew-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* ---------------------------------------------- 6. Story band (dark)
   Credibility: a portrait photograph, the story, two figures and three
   customer quotes. The band is a section scheme; it never animates. */

.pp-tausta__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(var(--ew-space-6), 1rem + 4vw, 6rem);
	align-items: center;
}

.pp-tausta__media .pp-figure__frame {
	aspect-ratio: 2 / 3;
}

/* minmax(0, 1fr): the implicit auto track took the min-content width of the
   two fact figures (2 × 9rem + gap) and pushed the copy 8px past a 320px
   screen. */
.pp-tausta__copy {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--ew-space-5);
}

/* Fact figures: large condensed numerals over a hairline, label below. */
.pp-tausta__figures {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: var(--ew-space-5) clamp(1rem, 2vw, 1.75rem);
	max-width: 30rem;
	margin: var(--ew-space-3) 0 0;
}

.pp-tausta__figures > div {
	display: grid;
	gap: 0.625rem;
}

.pp-tausta__figures dd {
	order: 1;
	margin: 0;
	padding-bottom: 0.625rem;
	border-bottom: 1px solid currentColor;
	color: var(--ew-color-heading);
	font-size: var(--ew-pp-figure);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.035em;
	line-height: 0.9;
}

.pp-tausta__figures dt {
	order: 2;
	color: var(--ew-color-text-muted);
	font-size: 0.9375rem;
}

.pp-quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ew-grid-gap);
	margin: clamp(var(--ew-space-7), 2rem + 4vw, var(--ew-space-9)) 0 0;
	padding: 0;
	list-style: none;
}

.pp-quote {
	display: grid;
	gap: var(--ew-space-4);
	align-content: start;
	margin: 0;
}

/* Testimonial: a large quote, the job and area as a label; no cards. */
.pp-quote blockquote {
	margin: 0;
	color: var(--ew-color-heading);
	font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
	font-weight: var(--ew-weight-medium);
	letter-spacing: -0.015em;
	line-height: 1.4;
}

.pp-quote figcaption {
	color: var(--ew-color-text-muted);
	font-size: var(--ew-pp-tag-size);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-pp-tag-tracking);
	line-height: 1.5;
	text-transform: uppercase;
}

/* In a column beside a heading (Meistä): one quote under the other. */

/* Review marquee (components/pp-arviot.php): one row of review cards under
   the story band, drifting LEFT TO RIGHT. The track holds N identical
   groups (--pp-arviot-groups) and moves exactly one group, from -100%/N of
   its own width to 0, so the last frame matches the first and the loop has
   no jump. Each group ends with one gap of padding, so the seam between
   groups is the same gap as between cards. CSS only; the dark band itself
   never moves. Hover, keyboard focus and a tap (focus) pause the row. */

.pp-arviot {
	margin-top: clamp(var(--ew-space-7), 2rem + 4vw, var(--ew-space-9));
}

.pp-arviot__note {
	margin: 0 0 var(--ew-space-5);
	color: var(--ew-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* Capped at the wide container and centred: on very wide screens the row
   ends in a soft fade instead of running to the window edge. */
.pp-arviot__view {
	max-width: calc(var(--ew-container-wide) + (var(--ew-gutter) * 2));
	margin-inline: auto;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--ew-pp-arviot-fade), #000 calc(100% - var(--ew-pp-arviot-fade)), transparent);
	mask-image: linear-gradient(to right, transparent, #000 var(--ew-pp-arviot-fade), #000 calc(100% - var(--ew-pp-arviot-fade)), transparent);
}

/* Keyboard focus: the fade would hide the ring at the edges, so it lifts
   while the row has focus; the ring sits just inside the clipped box. */
.pp-arviot__view:focus-visible {
	outline: 2px solid var(--ew-color-cta-on-dark);
	outline-offset: -2px;
	-webkit-mask-image: none;
	mask-image: none;
}

.pp-arviot__track {
	display: flex;
	width: max-content;
	animation: pp-arviot-drift calc(var(--pp-arviot-count, 3) * var(--ew-pp-arviot-pace)) linear infinite;
}

.pp-arviot__view:hover .pp-arviot__track,
.pp-arviot__view:focus-within .pp-arviot__track {
	animation-play-state: paused;
}

@keyframes pp-arviot-drift {
	from {
		transform: translate3d(calc(-100% / var(--pp-arviot-groups, 2)), 0, 0);
	}

	to {
		transform: translate3d(0, 0, 0);
	}
}

.pp-arviot__group {
	display: flex;
	gap: var(--ew-pp-arviot-gap);
	margin: 0;
	padding: 0 var(--ew-pp-arviot-gap) 0 0;
	list-style: none;
}

.pp-arviot__item {
	display: flex;
	flex: 0 0 var(--ew-pp-arviot-card);
}

/* Card: a quiet veil over the band, a hairline edge, the review on top and
   the job below, set apart by type and space alone. */
.pp-arvio {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--ew-space-6);
	width: 100%;
	margin: 0;
	padding: var(--ew-pp-card-pad);
	border: 1px solid var(--ew-pp-arviot-line);
	border-radius: var(--ew-pp-card-radius);
	background: var(--ew-pp-arviot-surface);
}

.pp-arvio__text {
	margin: 0;
	color: var(--ew-color-heading);
	font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
	font-weight: var(--ew-weight-medium);
	letter-spacing: -0.01em;
	line-height: 1.55;
}

.pp-arvio__text p {
	margin: 0;
}

.pp-arvio__meta {
	display: grid;
	gap: 0.375rem;
}

.pp-arvio__type {
	color: var(--ew-color-heading);
	font-size: var(--ew-pp-tag-size);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-pp-tag-tracking);
	line-height: 1.5;
	text-transform: uppercase;
}

.pp-arvio__place {
	color: var(--ew-color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.4;
}

/* Reduced motion: no drift. The copies go, the first group stays as a row
   that scrolls by touch, trackpad or arrow keys (the row is a tab stop). */
@media (prefers-reduced-motion: reduce) {
	.pp-arviot__view {
		overflow-x: auto;
		-webkit-mask-image: none;
		mask-image: none;
		scroll-snap-type: x proximity;
	}

	.pp-arviot__track {
		animation: none;
	}

	.pp-arviot__group[aria-hidden="true"] {
		display: none;
	}

	.pp-arviot__group {
		padding-inline: var(--ew-gutter);
	}

	.pp-arviot__item {
		scroll-snap-align: start;
		scroll-margin-inline: var(--ew-gutter);
	}
}

@media (max-width: 60rem) {
	.pp-tausta__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-tausta__media .pp-figure__frame {
		aspect-ratio: 4 / 3;
	}

	.pp-quotes {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ------------------------------------------- 7. Two columns of text
   Intro (heading left, paragraphs right) and the price summary. */

.pp-split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(var(--ew-space-6), 1rem + 4vw, 6rem);
	align-items: start;
}

@media (max-width: 60rem) {
	.pp-split {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--ew-space-5);
	}
}

/* Definition grid: title and text pairs in two columns. */

.pp-note {
	max-width: var(--ew-measure-prose);
	margin: var(--ew-space-6) 0 0;
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-small);
	line-height: 1.6;
}

/* --------------------------------------- 8. Story block (service pages)
   Text and a photograph; the side alternates with --flip. An optional
   detail photograph overlaps the lower corner. */

.pp-tarina__grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	gap: clamp(var(--ew-space-6), 1rem + 5vw, 7rem);
	align-items: center;
}

.pp-tarina--flip .pp-tarina__media {
	order: -1;
}

.pp-tarina__copy {
	display: grid;
	gap: var(--ew-space-5);
}

.pp-tarina__media {
	position: relative;
	padding-bottom: var(--ew-space-6);
}

.pp-tarina__media > .pp-figure .pp-figure__frame {
	aspect-ratio: 4 / 5;
}

.pp-tarina__media--wide > .pp-figure .pp-figure__frame {
	aspect-ratio: 4 / 3;
}

.pp-tarina__detail {
	position: absolute;
	right: calc(var(--ew-space-6) * -1);
	bottom: 0;
	width: 42%;
	padding: var(--ew-pp-inset-frame);
	background: var(--ew-color-bg);
}

.pp-tarina--flip .pp-tarina__detail {
	right: auto;
	left: calc(var(--ew-space-6) * -1);
}

.pp-tarina__detail .pp-figure__frame {
	aspect-ratio: 1;
}

@media (max-width: 60rem) {
	.pp-tarina__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--ew-space-6);
	}

	.pp-tarina--flip .pp-tarina__media {
		order: 0;
	}

	.pp-tarina__media > .pp-figure .pp-figure__frame {
		aspect-ratio: 4 / 3;
	}

	.pp-tarina__detail,
.pp-tarina--flip .pp-tarina__detail {
		right: var(--ew-space-3);
		left: auto;
		width: 36%;
	}
}

/* ----------------------------------------------- 9. Comparison table */

.pp-vertailu {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--ew-text-small);
}

.pp-vertailu caption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.pp-vertailu th,
.pp-vertailu td {
	padding: var(--ew-space-4) var(--ew-space-4) var(--ew-space-4) 0;
	/* Long compounds break at their soft hyphens (inc/tavutus.php). */
	overflow-wrap: break-word;
	hyphens: manual;
	border-bottom: var(--ew-border-hairline) solid var(--ew-color-border);
	text-align: left;
	vertical-align: top;
}

.pp-vertailu thead th {
	color: var(--ew-color-heading);
	font-family: var(--ew-font-heading);
	font-size: var(--ew-text-heading-3);
	font-weight: var(--ew-weight-heading);
}

.pp-vertailu tbody th {
	width: 26%;
	color: var(--ew-color-heading);
	font-weight: var(--ew-weight-semibold);
}

.pp-vertailu td {
	color: var(--ew-color-text-muted);
	line-height: 1.5;
}

/* Phones: three columns are too narrow for Finnish, so each row stacks.
   The row label spans the top, the two values sit side by side under
   their column name (data-label). */
@media (max-width: 40rem) {
	.pp-vertailu thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.pp-vertailu tbody tr {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: var(--ew-space-4);
		padding: var(--ew-space-4) 0;
		border-bottom: var(--ew-border-hairline) solid var(--ew-color-border);
	}

	.pp-vertailu tbody th,
.pp-vertailu td {
		padding: 0;
		border-bottom: 0;
	}

	.pp-vertailu tbody th {
		grid-column: 1 / -1;
		width: auto;
		margin-bottom: var(--ew-space-2);
	}

	.pp-vertailu td::before {
		content: attr(data-label);
		display: block;
		color: var(--ew-color-oak-text);
		font-size: 0.75rem;
		font-weight: var(--ew-weight-semibold);
		letter-spacing: 0.12em;
		text-transform: uppercase;
	}
}

/* --------------------------------------------------------------- 10. FAQ
   Ink rule on top, rows divided by a hairline, "+" / "−" in a soft grey.
   Native details/summary (accessible without script); the first item is
   open by default. */

.pp-faq__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ew-color-charcoal);
}

.pp-faq__list > li {
	border-bottom: 1px solid var(--ew-color-line-2);
}

.pp-faq__q {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 1.5rem;
	gap: var(--ew-space-4);
	align-items: center;
	min-height: 2.75rem;
	padding: 1.375rem 0;
	color: var(--ew-color-heading);
	font-size: clamp(1.125rem, 1.05rem + 0.25vw, 1.3125rem);
	font-weight: var(--ew-weight-medium);
	letter-spacing: -0.01em;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
	transition: color 0.3s ease;
}

.pp-faq__q::-webkit-details-marker {
	display: none;
}

.pp-faq__q::after {
	content: "+" / "";
	justify-self: end;
	color: var(--ew-color-sign);
	font-size: 1.5rem;
	font-weight: var(--ew-weight-regular);
	line-height: 1;
}

.pp-faq__item[open] .pp-faq__q::after {
	content: "\2212" / "";
}

.pp-faq__q:hover {
	color: var(--ew-color-accent-text);
}

.pp-faq__q:focus-visible {
	outline: 2px solid var(--ew-color-cta);
	outline-offset: 4px;
}

.pp-faq__a {
	max-width: var(--ew-measure-prose);
	margin: 0;
	padding: 0 2.5rem 1.5rem 0;
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-body);
	line-height: var(--ew-leading-body);
}

/* ------------------------------------------------- 11. Related services
   Service cards (.pp-svc, section 2) without numbers. */

/* ------------------------------------------------------ 12. Quote band
   Dark CTA band, one per page near the footer: ink, a photograph on one
   half, the uppercase heading, a lead and one primary action with an
   underlined secondary. */

.pp-tarjous {
	padding-block: var(--ew-space-section-tight) var(--ew-space-section);
}

.pp-tarjous__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	overflow: hidden;
	border-radius: var(--ew-pp-image-radius);
	background: var(--ew-color-ink-dark);
	color: var(--ew-color-text-on-dark);
}

.pp-tarjous__media {
	position: relative;
	min-height: 22rem;
	background: var(--ew-color-charcoal);
}

.pp-tarjous__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pp-tarjous__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.5rem;
	padding: clamp(2rem, 1rem + 4vw, 5rem);
}

.pp-tarjous__panel--plain {
	grid-template-columns: minmax(0, 1fr);
}

.pp-tarjous__title {
	max-width: 14ch;
	margin: 0;
	color: var(--ew-color-text-on-dark);
	font-size: var(--ew-pp-head-title);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.03em;
	line-height: 0.92;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* On a phone the column is the measure: at 14ch a word such as
   "TARJOUKSEN" would have to break inside itself. */
@media (max-width: 40rem) {
	.pp-tarjous__title {
		max-width: none;
	}
}

.pp-tarjous__text {
	max-width: 30rem;
	margin: 0;
	color: var(--ew-color-text-on-dark-muted);
	font-size: var(--ew-text-body-large);
	line-height: 1.6;
}

.pp-tarjous__side {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ew-space-4) var(--ew-space-6);
	margin-top: var(--ew-space-3);
}

.pp-tarjous__side .pp-link {
	color: var(--ew-color-text-on-dark);
}

.pp-tarjous__side .pp-link:hover {
	color: var(--ew-color-cta-on-dark);
}

.pp-tarjous__meta {
	flex-basis: 100%;
	margin: 0;
	color: var(--ew-color-text-on-dark-muted);
	font-size: var(--ew-text-caption);
}

@media (max-width: 48rem) {
	.pp-tarjous__panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-tarjous__media {
		min-height: 15rem;
	}

	.pp-tarjous__side .ew-button {
		width: 100%;
	}
}

/* ---------------------------------------------------- 13. Quote form
   One column of plain fields in three groups; labels above, help below,
   errors announced. */

/* Contact form: a raised panel, the same surface as the calculator card,
   so the form reads as the place to act next to the flat contact list. */

.pp-field__optional {
	color: var(--ew-color-text-muted);
	font-weight: var(--ew-weight-regular);
}

.pp-field__help {
	margin: 0;
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-caption);
	line-height: 1.5;
}

/* Service choices as large touch targets. */

.pp-consent {
	display: grid;
	grid-template-columns: 1.25rem minmax(0, 1fr);
	gap: var(--ew-space-3);
	align-items: start;
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-small);
	line-height: 1.5;
}

.pp-consent input {
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.15rem;
	accent-color: var(--ew-color-cta);
}

.pp-consent a {
	color: var(--ew-color-heading);
}

.pp-form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Aside: next steps and contact. */
.pp-steps {
	display: grid;
	gap: var(--ew-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pp-aside;
}

.pp-steps li {
	display: grid;
	grid-template-columns: 1.75rem minmax(0, 1fr);
	gap: var(--ew-space-3);
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-small);
	line-height: 1.55;
	counter-increment: pp-aside;
}

.pp-steps li::before {
	content: counter(pp-aside, decimal-leading-zero);
	color: var(--ew-color-text-meta);
	font-family: var(--ew-font-heading);
	font-size: var(--ew-text-small);
	font-variant-numeric: tabular-nums;
	font-weight: var(--ew-weight-heading-strong);
	line-height: 1.55;
}

.pp-steps strong {
	display: block;
	color: var(--ew-color-heading);
	font-weight: var(--ew-weight-semibold);
}

.pp-contactlist {
	display: grid;
	gap: var(--ew-space-4);
	margin: 0;
}

.pp-contactlist > div {
	display: grid;
	gap: var(--ew-space-1);
}

.pp-contactlist dt {
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-caption);
	letter-spacing: var(--ew-tracking-eyebrow);
	text-transform: uppercase;
}

.pp-contactlist dd {
	margin: 0;
	color: var(--ew-color-heading);
	font-size: var(--ew-text-body);
	line-height: 1.5;
}

.pp-contactlist a {
	color: inherit;
	text-underline-offset: 0.2em;
}

/* Section rhythm: two plain sections in a row share one gap; a tinted
   band always keeps its own padding on both sides. */
.pp-section:not([data-scheme]) + .pp-section:not([data-scheme]) {
	padding-top: 0;
}

@media (forced-colors: active) {
	.pp-tarina__detail {
		forced-color-adjust: auto;
	}
}

/* ---------------------------------------------------- 14. Price calculator
   Hintalaskuri v2 (design handoff 25.11.2026). Intro and step rail left,
   the step panel right (white, 6px, soft shadow, 3px progress bar). One
   step at a time once assets/js/laskuri.js runs (.is-js); without it all
   four steps stack and the form posts. Options are native radios drawn as
   cards: hover lifts 3px and zooms the photo; checked gets the accent ring
   and a filled tick. */

.pp-laskuri__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 22.5rem), 1fr));
	gap: clamp(2.5rem, 5vw, 5.5rem);
	align-items: start;
}

/* The intro is a size container so the title scales with its column, not
   the viewport: the longest word ("HINTALASKURIAMME") is ~8.5em wide, so
   11.5cqi keeps it on one line in any column width. */
.pp-laskuri__intro {
	min-width: 0;
	container-type: inline-size;
}

.pp-laskuri__title {
	font-size: min(clamp(2.5rem, 4.6vw, 4.25rem), 11.5cqi);
	hyphens: manual;
}

.pp-laskuri__lede {
	max-width: 30rem;
	margin: 1.5rem 0 0;
	color: var(--ew-color-text-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

/* Step rail. */
.pp-laskuri__rail {
	margin: clamp(2.25rem, 4vw, 3.5rem) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ew-color-line-2);
}

.pp-laskuri__rail li {
	border-bottom: 1px solid var(--ew-color-line-2);
}

.pp-laskuri__railbtn {
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: center;
	width: 100%;
	padding: 1rem 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.pp-laskuri__railbtn:disabled {
	cursor: default;
}

.pp-laskuri__dot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border: 1px solid var(--ew-color-line-2);
	border-radius: 50%;
	background: var(--ew-color-surface);
	color: var(--ew-color-text-meta);
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	font-weight: var(--ew-weight-semibold);
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.pp-laskuri__railtext {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pp-laskuri__raillabel {
	color: var(--ew-color-text-meta);
	font-size: 0.9375rem;
	font-weight: var(--ew-weight-semibold);
	transition: color 0.3s ease;
}

.pp-laskuri__railvalue {
	overflow: hidden;
	color: var(--ew-color-sign);
	font-size: 0.875rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pp-laskuri__edit {
	color: var(--ew-color-oak-text);
	font-size: 0.8125rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.pp-laskuri__railbtn.is-current .pp-laskuri__dot {
	border-color: var(--ew-color-cta);
	background: var(--ew-color-cta);
	color: var(--ew-color-white);
}

.pp-laskuri__railbtn.is-done .pp-laskuri__dot {
	border-color: var(--ew-color-charcoal);
	background: var(--ew-color-charcoal);
	color: transparent;
}

.pp-laskuri__railbtn.is-done .pp-laskuri__dot::after {
	content: "\2713";
	position: absolute;
	color: var(--ew-color-white);
}

.pp-laskuri__railbtn.is-current .pp-laskuri__raillabel,
.pp-laskuri__railbtn.is-done .pp-laskuri__raillabel {
	color: var(--ew-color-heading);
}

.pp-laskuri__railbtn.is-done:not(:disabled) .pp-laskuri__edit {
	opacity: 1;
}

.pp-laskuri__railbtn:focus-visible {
	outline: 2px solid var(--ew-color-cta);
	outline-offset: 3px;
}

/* Phones: the steps side by side as a compact progress row (dot, label,
   chosen value), one hairline above and below. "Muokkaa" is dropped: a
   finished step is still a button and its check mark says it can be
   reopened. */
@media (max-width: 40rem) {
	.pp-laskuri__rail {
		display: grid;
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
		gap: 0.5rem;
		border-bottom: 1px solid var(--ew-color-line-2);
	}

	.pp-laskuri__rail li {
		border-bottom: 0;
	}

	.pp-laskuri__railbtn {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: 0.375rem;
		padding: 0.875rem 0;
		text-align: center;
	}

	.pp-laskuri__railtext {
		align-items: center;
		width: 100%;
	}

	.pp-laskuri__raillabel {
		max-width: 100%;
		font-size: 0.875rem;
		overflow-wrap: normal;
	}

	.pp-laskuri__railvalue {
		max-width: 100%;
		font-size: 0.75rem;
	}

	.pp-laskuri__edit {
		display: none;
	}
}

@media (max-width: 22rem) {
	.pp-laskuri__raillabel {
		font-size: 0.8125rem;
	}
}

/* Panel. */
.pp-laskuri__panel {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--ew-color-border-page);
	border-radius: var(--ew-pp-card-radius);
	background: var(--ew-color-surface);
	box-shadow: var(--ew-pp-panel-shadow);
}

.pp-laskuri__progress {
	height: 3px;
	background: var(--ew-color-line-soft);
}

.pp-laskuri__progress span {
	display: block;
	width: 15%;
	height: 100%;
	background: var(--ew-color-cta);
	transition: width 0.7s var(--ew-motion-ease-out);
}

.pp-laskuri__inner {
	display: flex;
	flex-direction: column;
	min-height: 35rem;
	padding: clamp(1.5rem, 3.4vw, 3rem);
}

.pp-laskuri__form {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.pp-laskuri__step {
	min-width: 0;
	margin: 0 0 2.5rem;
	padding: 0;
	border: 0;
}

.pp-laskuri.is-js .pp-laskuri__step {
	display: none;
	margin: 0;
}

.pp-laskuri.is-js .pp-laskuri__step.is-active {
	display: block;
	animation: pp-laskuri-in 0.5s var(--ew-motion-ease-out);
}

@keyframes pp-laskuri-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
}

.pp-laskuri__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	float: left;
	width: 100%;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
	padding: 0;
}

.pp-laskuri__head ~ * {
	clear: both;
}

.pp-laskuri__q {
	color: var(--ew-color-heading);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.pp-laskuri__q:focus {
	outline: none;
}

.pp-laskuri__count {
	flex: none;
	color: var(--ew-color-text-meta);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
}

/* Option cards (steps 1 and 3). */
.pp-laskuri__options {
	display: grid;
	gap: 0.875rem;
}

.pp-laskuri__options--types {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.25rem), 1fr));
}

.pp-laskuri__options--treat {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
}

.pp-laskuri__card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ew-color-border-page);
	border-radius: var(--ew-radius-sm);
	background: var(--ew-color-surface);
	cursor: pointer;
	transition:
		transform 0.4s var(--ew-motion-ease-out),
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

.pp-laskuri__card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.pp-laskuri__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--ew-pp-image-bg);
}

.pp-laskuri__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.9);
	transition: transform 0.9s var(--ew-motion-ease-out), filter 0.4s ease;
}

.pp-laskuri__swatch {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 2px;
	height: 6rem;
	background: var(--ew-color-white);
}

.pp-laskuri__cardbody {
	display: flex;
	flex: 1;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.875rem 1rem 1rem;
}

.pp-laskuri__cardtext {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.pp-laskuri__cardtitle {
	color: var(--ew-color-heading);
	font-size: 1rem;
	font-weight: var(--ew-weight-semibold);
}

.pp-laskuri__cardsub {
	color: var(--ew-color-sign);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.pp-laskuri__tick {
	position: relative;
	flex: none;
	width: 1.375rem;
	height: 1.375rem;
	border: 1.5px solid var(--ew-color-input-line);
	border-radius: 50%;
	transition: border-color 0.3s ease, background-color 0.3s ease;
}

.pp-laskuri__card:hover,
.pp-laskuri__card:has(input:focus-visible) {
	border-color: var(--ew-color-charcoal);
	box-shadow: 0 16px 32px -18px rgb(31 30 28 / 0.3);
	transform: translateY(-3px);
}

.pp-laskuri__card:hover .pp-laskuri__media img,
.pp-laskuri__card:has(input:focus-visible) .pp-laskuri__media img,
.pp-laskuri__card:has(input:checked) .pp-laskuri__media img {
	filter: none;
	transform: scale(1.05);
}

.pp-laskuri__card:hover .pp-laskuri__tick {
	border-color: var(--ew-color-charcoal);
}

.pp-laskuri__card:has(input:focus-visible) {
	outline: 2px solid var(--ew-color-cta);
	outline-offset: 3px;
}

.pp-laskuri__card:has(input:checked) {
	border-color: var(--ew-color-cta);
	box-shadow: 0 0 0 1px var(--ew-color-cta), 0 14px 30px -16px rgb(196 71 12 / 0.45);
	transform: none;
}

.pp-laskuri__card:has(input:checked) .pp-laskuri__tick {
	border-color: var(--ew-color-cta);
	background: var(--ew-color-cta);
}

.pp-laskuri__card:has(input:checked) .pp-laskuri__tick::after {
	content: "\2713";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ew-color-white);
	font-size: 0.75rem;
	font-weight: var(--ew-weight-bold);
}

/* Step 2: area. */
.pp-laskuri__area {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.pp-laskuri__label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: var(--ew-weight-semibold);
}

.pp-laskuri__number {
	display: flex;
	align-items: center;
	gap: 1rem;
	border-bottom: 1px solid var(--ew-color-input-line);
	transition: border-color 0.3s ease;
}

.pp-laskuri__number.is-filled {
	border-bottom-color: var(--ew-color-charcoal);
}

.pp-laskuri__number:focus-within {
	border-bottom-color: var(--ew-color-cta);
}

.pp-laskuri__number input {
	flex: 1;
	min-width: 0;
	padding: 0.5rem 0;
	border: 0;
	background: transparent;
	color: var(--ew-color-heading);
	font-family: inherit;
	font-size: clamp(3.5rem, 6vw, 5.5rem);
	font-stretch: 86%;
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.04em;
	line-height: 1.05;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.pp-laskuri__number input::placeholder {
	color: var(--ew-color-line-2);
}

.pp-laskuri__number input::-webkit-outer-spin-button,
.pp-laskuri__number input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.pp-laskuri__number input:focus-visible {
	outline: none;
}

.pp-laskuri__stepper {
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--ew-color-border-page);
	border-radius: 50%;
	background: transparent;
	color: var(--ew-color-heading);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.pp-laskuri__stepper:hover {
	border-color: var(--ew-color-charcoal);
	background: var(--ew-color-background);
}

.pp-laskuri__range input {
	width: 100%;
	accent-color: var(--ew-color-cta);
}

.pp-laskuri__ends {
	display: flex;
	justify-content: space-between;
	color: var(--ew-color-text-meta);
	font-size: 0.75rem;
}

.pp-laskuri__caption {
	margin: 0 0 0.75rem;
	color: var(--ew-color-sign);
	font-size: 0.875rem;
}

.pp-laskuri__presets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.125rem), 1fr));
	gap: 0.625rem;
}

.pp-laskuri__preset {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	padding: 0.875rem 1rem;
	border: 1px solid var(--ew-color-border-page);
	border-radius: var(--ew-radius-sm);
	background: transparent;
	color: var(--ew-color-heading);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.pp-laskuri__preset svg {
	color: var(--ew-color-text-meta);
}

.pp-laskuri__preset:hover {
	border-color: var(--ew-color-charcoal);
}

.pp-laskuri__preset[aria-pressed="true"] {
	border-color: var(--ew-color-cta);
	background: var(--ew-color-accent-soft);
}

.pp-laskuri__preset[aria-pressed="true"] svg {
	color: var(--ew-color-accent-text);
}

.pp-laskuri__presettitle {
	font-size: 0.9375rem;
	font-weight: var(--ew-weight-semibold);
}

.pp-laskuri__presetsub {
	color: var(--ew-color-sign);
	font-size: 0.8125rem;
}

/* Step 4: contact. */
.pp-laskuri__fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr));
	gap: 1.625rem 1.375rem;
}

.pp-laskuri__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 0.875rem;
	font-weight: var(--ew-weight-semibold);
}

.pp-laskuri__field legend {
	margin-bottom: 0.5rem;
	padding: 0;
}

.pp-laskuri__field--full {
	grid-column: 1 / -1;
}

.pp-laskuri__field input,
.pp-laskuri__field textarea {
	width: 100%;
	height: 3.125rem;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--ew-color-input-line);
	border-radius: 0;
	background: transparent;
	color: var(--ew-color-heading);
	font-family: inherit;
	font-size: 1.0625rem;
	font-weight: var(--ew-weight-regular);
	transition: border-color 0.3s ease;
}

.pp-laskuri__field textarea {
	height: auto;
	padding: 0.75rem 0;
	line-height: 1.5;
	resize: vertical;
}

.pp-laskuri__field input:hover,
.pp-laskuri__field textarea:hover {
	border-bottom-color: var(--ew-color-charcoal);
}

.pp-laskuri__field input:focus-visible,
.pp-laskuri__field textarea:focus-visible {
	outline: none;
	border-bottom-color: var(--ew-color-cta);
}

.pp-laskuri__segments {
	display: flex;
	gap: 0.375rem;
}

.pp-laskuri__segment {
	position: relative;
	flex: 1;
	min-width: 0;
}

.pp-laskuri__segment input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.pp-laskuri__segment span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 2.5rem;
	padding: 0 0.5rem;
	border: 1px solid var(--ew-color-border-page);
	border-radius: 3px;
	font-size: 0.9375rem;
	font-weight: var(--ew-weight-medium);
	cursor: pointer;
	transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.pp-laskuri__segment span:hover {
	border-color: var(--ew-color-charcoal);
}

.pp-laskuri__segment input:checked + span {
	border-color: var(--ew-color-charcoal);
	background: var(--ew-color-charcoal);
	color: var(--ew-color-white);
}

.pp-laskuri__segment input:focus-visible + span {
	outline: 2px solid var(--ew-color-cta);
	outline-offset: 3px;
}

/* "Muu" city: the free-text field appears only while "Muu" is checked. */
.pp-laskuri__othercity {
	display: none;
}

.pp-laskuri__fields:has(input[name="hl_kaupunki"][value="muu"]:checked) .pp-laskuri__othercity {
	display: flex;
}

/* Navigation. */
.pp-laskuri__nav {
	margin-top: auto;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ew-color-line-soft);
}

.pp-laskuri.is-js .pp-laskuri__step.is-active {
	margin-bottom: 2rem;
}

.pp-laskuri__err {
	margin: 0 0 0.75rem;
	color: var(--ew-color-accent-text);
	font-size: 0.875rem;
}

.pp-laskuri__err:empty {
	display: none;
}

.pp-laskuri__navrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.pp-laskuri__back {
	display: flex;
	gap: 0.625rem;
	align-items: center;
	padding: 0.75rem 0;
	border: 0;
	background: none;
	color: var(--ew-color-heading);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: var(--ew-weight-semibold);
	cursor: pointer;
	transition: color 0.3s ease;
}

.pp-laskuri__back[hidden] {
	display: none;
}

.pp-laskuri__back:hover {
	color: var(--ew-color-accent-text);
}

.pp-laskuri__back:disabled {
	color: #c9c4ba;
	cursor: default;
}

.pp-laskuri__next {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-width: 12.5rem;
	height: 3.5rem;
	margin-left: auto;
	padding: 0 1.375rem;
	border: 0;
	border-radius: var(--ew-radius-sm);
	background: var(--ew-color-cta);
	color: var(--ew-color-white);
	font: inherit;
	font-size: 1rem;
	font-weight: var(--ew-weight-semibold);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.pp-laskuri__next:hover {
	background: var(--ew-color-cta-hover);
}

.pp-laskuri__next:disabled {
	opacity: 0.7;
	cursor: progress;
}

.pp-laskuri__next:focus-visible,
.pp-laskuri__back:focus-visible,
.pp-laskuri__stepper:focus-visible,
.pp-laskuri__preset:focus-visible,
.pp-laskuri__reset:focus-visible {
	outline: 2px solid var(--ew-color-cta);
	outline-offset: 3px;
}

/* Success. */
.pp-laskuri__done {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 1.125rem;
	animation: pp-laskuri-in 0.6s var(--ew-motion-ease-out);
}

.pp-laskuri__done[hidden] {
	display: none;
}

.pp-laskuri__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border: 1px solid var(--ew-color-accent-soft-line);
	border-radius: 50%;
	background: var(--ew-color-accent-soft);
	color: var(--ew-color-accent-text);
	font-size: 1.375rem;
}

.pp-laskuri__thanks {
	margin: 0;
	color: var(--ew-color-heading);
	font-size: clamp(2.125rem, 3.4vw, 3rem);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.025em;
	line-height: 0.95;
	text-transform: uppercase;
}

.pp-laskuri__thanks:focus {
	outline: none;
}

.pp-laskuri__sent {
	margin: 0;
	color: var(--ew-color-text-muted);
	font-size: 1.0625rem;
}

.pp-laskuri__sent strong {
	color: var(--ew-color-heading);
}

.pp-laskuri__reset {
	padding: 0.5rem 0;
	border: 0;
	background: none;
	color: var(--ew-color-heading);
	font: inherit;
	font-size: 1rem;
	font-weight: var(--ew-weight-semibold);
	text-decoration: underline;
	text-underline-offset: 5px;
	cursor: pointer;
}

@media (max-width: 40rem) {
	.pp-laskuri__inner {
		min-height: 0;
	}

	.pp-laskuri__next {
		flex: 1;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pp-laskuri.is-js .pp-laskuri__step.is-active,
.pp-laskuri__done {
		animation: none;
	}

	.pp-laskuri__progress span {
		transition: none;
	}

	.pp-laskuri__card,
.pp-laskuri__card:hover,
.pp-laskuri__card:has(input:focus-visible),
.pp-laskuri__card:hover .pp-laskuri__media img,
.pp-laskuri__card:has(input:focus-visible) .pp-laskuri__media img,
.pp-laskuri__card:has(input:checked) .pp-laskuri__media img {
		transform: none;
	}
}

/* ---------------------------------------------------- 15. Content sections
   Handoff "Sisältöosiot" (25.11.2026): 2.1 floor types (.pp-tyypit).
   Handoff "Hinta & Kotitalousvähennys" (25.11.2026): price factors and
   the household deduction (.pp-hinta, .pp-kv). */

/* 2.1 Floor types. */
.pp-tyypit__title {
	max-width: 51.25rem;
}

.pp-tyypit__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.pp-tyyppi {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ew-color-border-page);
	border-radius: var(--ew-pp-card-radius);
	background: var(--ew-color-surface);
	box-shadow: var(--ew-pp-card-shadow);
	transition:
		transform 0.45s var(--ew-motion-ease-out),
		box-shadow 0.45s var(--ew-motion-ease-out),
		border-color 0.3s ease;
}

.pp-tyyppi:hover {
	border-color: var(--ew-color-line-2);
	box-shadow: var(--ew-pp-card-shadow-hover);
	transform: translateY(-6px);
}

.pp-tyyppi__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--ew-pp-image-bg);
}

.pp-tyyppi__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--ew-motion-ease-out);
}

.pp-tyyppi:hover .pp-tyyppi__media img {
	transform: scale(1.04);
}

.pp-tyyppi__index {
	position: absolute;
	top: 0.875rem;
	left: 0.875rem;
	padding: 0.375rem 0.625rem;
	border-radius: 3px;
	background: var(--ew-color-background);
	color: var(--ew-color-heading);
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	font-weight: var(--ew-weight-semibold);
}

.pp-tyyppi__body {
	padding: clamp(1.25rem, 2vw, 1.625rem);
}

.pp-tyyppi__title {
	margin: 0 0 0.625rem;
	font-size: clamp(1.3125rem, 1.6vw, 1.5rem);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.pp-tyyppi__text {
	margin: 0;
	color: var(--ew-color-text-muted);
	font-size: 0.96875rem;
	line-height: 1.65;
}

/* Price and household deduction (.pp-hinta, .pp-kv), handoff "Hinta &
   Kotitalousvähennys" (25.11.2026), sections/pp-hinta.php. No breakpoints:
   every row is an auto-fit grid, every size a clamp(). The band owns the
   background and never animates; [data-reveal] sits on inner blocks, never
   on a card. */
.pp-hinta {
	padding-block: var(--ew-pp-hinta-pad);
}

.pp-hinta__inner {
	display: flex;
	flex-direction: column;
	gap: var(--ew-pp-hinta-gap);
}

/* #hinta and #kotitalousvahennys are link targets: clear the sticky header. */
.pp-hinta__osa,
.pp-kv {
	scroll-margin-top: var(--ew-pp-sticky-top);
}

.pp-hinta__head {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 23.75rem), 1fr));
	gap: 2rem clamp(3rem, 8vw, 8.75rem);
	align-items: end;
}

.pp-hinta__title {
	max-width: 11em;
	font-size: var(--ew-pp-hinta-title);
}

.pp-hinta__lede {
	max-width: 30rem;
	margin: 0;
	color: var(--ew-color-heading);
	font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
	line-height: 1.55;
	text-wrap: pretty;
}

.pp-hinta__tekijat {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr));
	gap: clamp(0.625rem, 2vw, 1.5rem);
	margin: clamp(2.25rem, 7vw, 5.5rem) 0 0;
	padding: 0;
	list-style: none;
}

.pp-hinta__tekija {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-content: start;
	gap: clamp(0.875rem, 2vw, 1.375rem);
	padding: clamp(1.375rem, 3vw, 2.5rem);
	border: 1px solid var(--ew-pp-hinta-line);
	border-radius: var(--ew-pp-card-radius);
	background: var(--ew-color-background);
	transition:
		transform 0.45s var(--ew-motion-ease-out),
		box-shadow 0.45s var(--ew-motion-ease-out),
		background-color var(--ew-motion-duration-medium) ease;
}

.pp-hinta__tekija:hover,
.pp-hinta__tekija:focus-within {
	background: var(--ew-color-surface);
	box-shadow: var(--ew-pp-hinta-shadow-hover);
	transform: translateY(-4px);
}

.pp-hinta__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.pp-hinta__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--ew-pp-hinta-disc);
	height: var(--ew-pp-hinta-disc);
	border-radius: 50%;
	background: var(--ew-color-background-alt);
	color: var(--ew-color-heading);
}

.pp-hinta__icon svg {
	width: 1.75rem;
	height: 1.75rem;
	stroke-width: 1.3;
}

.pp-hinta__index {
	color: var(--ew-color-text-meta);
	font-size: var(--ew-text-label);
	font-variant-numeric: tabular-nums;
}

.pp-hinta__tekijatitle {
	margin: 0;
	color: var(--ew-color-heading);
	font-size: 1.25rem;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.pp-hinta__tekijatext {
	margin: 0.625rem 0 0;
	color: var(--ew-color-text-muted);
	font-size: 1rem;
	line-height: 1.6;
	text-wrap: pretty;
}

.pp-hinta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.75rem;
	margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.pp-hinta__cta {
	justify-content: space-between;
	gap: 0.875rem;
	min-width: min(100%, 15rem);
	font-size: 0.9375rem;
	white-space: nowrap;
}

/* Kotitalousvähennys: one card, two panels. The right panel draws its
   divider on its left and top edge and shifts 1px over the card border;
   overflow clips whichever edge meets the outside, so the line is a left
   divider side by side and a top divider when stacked. */
.pp-kv {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 23.75rem), 1fr));
	overflow: hidden;
	border: 1px solid var(--ew-pp-hinta-line);
	border-radius: var(--ew-pp-card-radius);
	background: var(--ew-color-background);
	color: var(--ew-color-heading);
}

.pp-kv__panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: clamp(1.75rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 4.5rem);
}

.pp-kv__panel--tiedot {
	gap: clamp(2.25rem, 4vw, 3rem);
	margin: -1px 0 0 -1px;
	border-top: 1px solid var(--ew-color-border-page);
	border-left: 1px solid var(--ew-color-border-page);
	background: var(--ew-color-surface);
}

.pp-kv__title {
	max-width: 12em;
	margin: 0;
	color: var(--ew-color-heading);
	font-size: clamp(1.75rem, 2.8vw, 2.5rem);
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1.08;
	text-wrap: balance;
}

.pp-kv__luvut {
	display: flex;
	flex-wrap: wrap;
	gap: 1.75rem 2.5rem;
	margin: auto 0 0;
	padding-top: clamp(2rem, 6vw, 5rem);
}

.pp-kv__luvut > div {
	max-width: 9.5rem;
}

.pp-kv__luvut > .pp-kv__paa {
	flex: 1 0 100%;
	max-width: none;
}

.pp-kv__luvut dt {
	font-size: 2rem;
	font-stretch: 86%;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
}

.pp-kv__luvut dd {
	margin: 0.5rem 0 0;
	color: var(--ew-color-text-muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

.pp-kv__paa dt {
	color: var(--ew-pp-hinta-accent);
	font-size: var(--ew-pp-hinta-figure);
	letter-spacing: -0.05em;
	line-height: 0.8;
}

.pp-kv__paa dd {
	margin-top: 1.125rem;
	font-size: 0.96875rem;
	line-height: 1.5;
}

.pp-kv__kohdat {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pp-kv__kohdat li {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
}

.pp-kv__kohdat p {
	margin: 0.125rem 0 0;
	color: var(--ew-pp-hinta-body);
	font-size: 1rem;
	line-height: 1.65;
	text-wrap: pretty;
}

.pp-kv__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--ew-pp-hinta-tint);
	color: var(--ew-pp-hinta-accent);
}

.pp-kv__icon svg {
	width: 1.375rem;
	height: 1.375rem;
	stroke-width: 1.5;
}

.pp-kv__esimerkki {
	display: grid;
	gap: 1rem;
}

.pp-kv__kuitti {
	padding: clamp(1.125rem, 2.4vw, 1.5rem) clamp(1rem, 2.4vw, 1.625rem);
	border-radius: var(--ew-radius-sm);
	background: var(--ew-color-background);
}

.pp-kv__kuittititle {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0 0 0.75rem;
	color: var(--ew-color-oak-text);
	font-size: var(--ew-text-caption);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-tracking-eyebrow);
	text-transform: uppercase;
}

.pp-kv__kuittititle svg {
	width: 1rem;
	height: 1rem;
	stroke-width: 1.6;
}

.pp-kv__kuitti dl {
	margin: 0;
	font-size: 0.96875rem;
	font-variant-numeric: tabular-nums;
}

.pp-kv__kuitti dl > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5625rem 0;
}

.pp-kv__kuitti dt {
	color: var(--ew-color-text-muted);
	white-space: nowrap;
}

.pp-kv__kuitti dd {
	margin: 0;
	white-space: nowrap;
}

.pp-kv__kuitti .pp-kv__yhteensa {
	margin-top: 0.375rem;
	padding: 1rem 0 0;
	border-top: 1px solid var(--ew-color-heading);
}

.pp-kv__yhteensa dt {
	color: var(--ew-color-heading);
	font-weight: var(--ew-weight-semibold);
}

.pp-kv__yhteensa dd {
	color: var(--ew-pp-hinta-accent);
	font-size: 2rem;
	font-stretch: 86%;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.pp-kv__lahde {
	margin: 0;
	color: var(--ew-pp-hinta-meta);
	font-size: var(--ew-text-label);
	line-height: 1.55;
}

.pp-kv__lahde a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pp-kv__lahde a:hover,
.pp-kv__lahde a:focus-visible {
	color: var(--ew-pp-hinta-accent);
}

@media (prefers-reduced-motion: reduce) {
	.pp-tyyppi,
.pp-tyyppi:hover,
.pp-tyyppi:hover .pp-tyyppi__media img,
.pp-hinta__tekija:hover,
.pp-hinta__tekija:focus-within {
		transform: none;
	}
}

/* ---------------------------------------------------- 16. Header
   Handoff "Header & top bar" (25.11.2026). Top bar: ink, three slots,
   availability with a pulsing dot (never sticky). Main header: page colour,
   84px, after 48px of scroll 68px with a translucent fill and soft shadow
   (.is-scrolled, navigation.js). Logo: mosaic mark + wordmark. Nav: 16px,
   one sliding 2px underline at the bottom edge (ink; accent while the
   Palvelut panel is open). Right: phone (when set), Hintalaskuri, primary
   CTA. Palvelut opens the mega panel (.pp-mega). Below 68rem: 64px bar,
   outlined icon buttons, full-height menu with an accordion and actions. */

/* Top bar. */
.ew-topbar {
	border-bottom: 0;
	background: var(--ew-color-charcoal);
	color: var(--ew-color-text-on-dark-muted);
	font-size: 0.84375rem;
}

.ew-topbar__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--ew-topbar-height);
	padding-block: 0;
}

.ew-topbar__side,
.ew-topbar__lause {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin: 0;
	white-space: nowrap;
}

/* Left lines take turns: both sit in one grid cell and fade in and out on
   a 12 s loop, the second half a loop behind. Hover or focus pauses them;
   with reduced motion they stand side by side. */
.ew-topbar__kierto {
	display: grid;
}

.ew-topbar__kierto .ew-topbar__lause {
	grid-area: 1 / 1;
	animation: ew-topbar-kierto 12s var(--ew-motion-ease) infinite;
}

.ew-topbar__kierto .ew-topbar__lause:nth-child(2) {
	animation-delay: -6s;
}

.ew-topbar__kierto:hover .ew-topbar__lause,
.ew-topbar__kierto:focus-within .ew-topbar__lause {
	animation-play-state: paused;
}

@keyframes ew-topbar-kierto {
	0%,
	45% {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	50%,
	95% {
		visibility: hidden;
		opacity: 0;
		transform: translateY(0.35em);
	}

	100% {
		visibility: visible;
		opacity: 1;
		transform: none;
	}
}

.ew-topbar .ew-topbar__phone {
	display: inline-flex;
	gap: 0.4375rem;
	align-items: center;
	color: var(--ew-color-background);
	font-variant-numeric: tabular-nums;
	text-decoration: none;
	white-space: nowrap;
}

.ew-topbar .ew-topbar__phone:hover {
	color: var(--ew-color-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ew-topbar__phone svg {
	flex: none;
	width: 0.875rem;
	height: 0.875rem;
}

.ew-topbar__stars {
	color: var(--ew-color-cta-on-dark);
	letter-spacing: 1px;
}

.ew-topbar__end {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin-left: auto;
}

.ew-topbar__status {
	gap: 0.625rem;
	color: var(--ew-color-background);
}

.ew-topbar .ew-topbar__dot,
.pp-hdr__status .ew-topbar__dot {
	width: 7px;
	height: 7px;
	background: var(--ew-color-grey);
	box-shadow: none;
}

.ew-topbar__status[data-state="open"] .ew-topbar__dot {
	background: var(--ew-color-ok);
	box-shadow: none;
	animation: pp-pulse 2.4s ease-out infinite;
}

@keyframes pp-pulse {
	0% {
		box-shadow: 0 0 0 0 rgb(94 194 120 / 0.55);
	}

	70% {
		box-shadow: 0 0 0 7px rgb(94 194 120 / 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgb(94 194 120 / 0);
	}
}

.ew-topbar__rule {
	width: 1px;
	height: 14px;
	background: var(--ew-color-line-dark-2);
}

.ew-topbar .ew-topbar__mail {
	color: var(--ew-color-text-on-dark-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ew-topbar .ew-topbar__mail:hover {
	color: var(--ew-color-white);
}

@media (max-width: 67.4375rem) {
	.ew-topbar__wide,
	.ew-topbar .ew-topbar__phone {
		display: none;
	}

	.ew-topbar__end {
		margin-inline: auto;
	}
}

/* The scroll-timeline shadow of components.css (ew-top-schuif) is replaced
   by .is-scrolled: in Chrome that animation on the sticky bar let page
   content paint over the mega panel. */
.ew-top[data-header="solid"] {
	animation: none;
	border-bottom-color: var(--ew-color-line-2);
	transition:
		background-color 0.3s ease,
		box-shadow 0.3s ease;
}

.ew-top[data-header="solid"].is-scrolled {
	background: rgb(244 242 237 / 0.97);
	box-shadow: 0 10px 30px -20px rgb(31 30 28 / 0.35);
}

.ew-header__bar {
	min-height: var(--ew-header-height);
	padding-block: 0;
	transition: min-height 0.35s var(--ew-motion-ease-out);
}

.ew-top.is-scrolled .ew-header__bar {
	min-height: var(--ew-header-height-scrolled);
}

/* Logo: inline assets/images/logo.svg ("Parketti" + orange PRO badge).
   Height drives the size; the wordmark is black on light chrome and white
   (reverse) on dark chrome or in the dark theme (tokens.css). */
.ew-brandlogo {
	--ew-logo-h: 2.25rem;
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
}

.ew-logo-svg {
	display: block;
	flex: none;
	width: calc(var(--ew-logo-h) * 873 / 160.2);
	max-width: none;
	height: var(--ew-logo-h);
	transition: width 0.35s var(--ew-motion-ease-out), height 0.35s var(--ew-motion-ease-out);
}

.ew-top.is-scrolled .ew-brandlogo {
	--ew-logo-h: 1.875rem;
}

.ew-logo-svg .ew-logo__word {
	fill: var(--ew-color-logo-word);
}

.ew-brandlogo--light .ew-logo-svg .ew-logo__word {
	fill: var(--ew-color-logo-word-reverse);
}

/* A dark/transparent header turns light when stuck or when a menu opens
   (components.css); the wordmark follows back to the default colour. */
.ew-top.is-stuck .ew-brandlogo--light .ew-logo-svg .ew-logo__word,
.ew-top.is-nav-open .ew-brandlogo--light .ew-logo-svg .ew-logo__word,
.ew-top[data-header]:has(.ew-nav--desktop .ew-nav__expand[aria-expanded="true"]) .ew-brandlogo--light .ew-logo-svg .ew-logo__word {
	fill: var(--ew-color-logo-word);
}

.ew-logo-svg .ew-logo__badge {
	fill: var(--ew-color-logo-badge);
}

/* Glow in the PRO badge: a soft warm light (radial gradient, clipped to the
   badge) drifts slowly from left to right and back while it breathes. It
   sits under the white PRO letters. SVG user units: the badge runs from
   x 540 to 872, so 300px moves the light across it. */
.ew-logo-svg .ew-logo__glow-stop {
	stop-color: var(--ew-color-logo-glow);
}

.ew-logo-svg .ew-logo__glow {
	animation:
		ew-logo-glow-drift 7s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate,
		ew-logo-glow-breathe 3.5s ease-in-out infinite alternate;
}

@keyframes ew-logo-glow-drift {
	from {
		transform: translateX(-10px);
	}

	to {
		transform: translateX(300px);
	}
}

@keyframes ew-logo-glow-breathe {
	from {
		opacity: 0.55;
	}

	to {
		opacity: 0.95;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ew-logo-svg .ew-logo__glow {
		animation: none;
		opacity: 0.6;
	}
}

.ew-footer .ew-brandlogo {
	--ew-logo-h: 2.5rem;
}

/* PNG logo (footer): same height as the inline SVG. Both colour versions
   are in the markup; the theme tokens show one of them. */
.ew-logo-png {
	width: auto;
	max-width: none;
	height: var(--ew-logo-h);
}

.ew-logo-png--musta {
	display: var(--ew-logo-png-musta);
}

.ew-logo-png--valkoinen {
	display: var(--ew-logo-png-valkoinen);
}

.ew-brandlogo--light .ew-logo-png--musta {
	display: none;
}

.ew-brandlogo--light .ew-logo-png--valkoinen {
	display: block;
}

/* Avainlippu (Suomalaista palvelua) under the footer tagline. Blue on the
   light theme, white on the dark theme, switched by the logo tokens. */
.ew-footer__avainlippu {
	margin-top: var(--ew-space-6);
}

.ew-footer__avainlippu-kuva {
	width: auto;
	max-width: 100%;
	height: 5.5rem;
}

.ew-footer__avainlippu-kuva--musta {
	display: var(--ew-logo-png-musta);
}

.ew-footer__avainlippu-kuva--valkoinen {
	display: var(--ew-logo-png-valkoinen);
}

/* Footer menu: Tabler line icon before each label
   (parkettipro_footer_menu_icon()). The underline on hover stays on the
   text; the icon picks up the accent. */
.ew-footer-nav__list a:has(.ew-footer-nav__icon) {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
}

.ew-footer-nav__icon {
	display: inline-flex;
	flex: none;
	color: var(--ew-color-footer-muted);
	transition: color var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-footer-nav__icon svg {
	width: var(--ew-footer-icon-size);
	height: var(--ew-footer-icon-size);
}

.ew-footer-nav__list a:hover .ew-footer-nav__icon,
.ew-footer-nav__list a:focus-visible .ew-footer-nav__icon {
	color: var(--ew-color-accent-text);
}

/* Desktop nav. */
.ew-nav--desktop {
	align-self: stretch;
}

.ew-nav--desktop .ew-nav__list {
	height: 100%;
	gap: 0;
	margin: 0;
	padding: 0;
}

.ew-nav--desktop .ew-nav__list > .ew-nav__item {
	align-self: stretch;
}

.ew-nav--desktop .ew-nav__list > .ew-nav__item > a {
	display: flex;
	align-items: center;
	align-self: stretch;
	padding: 0 0.9375rem;
	color: var(--ew-color-ink-soft);
	font-size: 1rem;
	font-weight: var(--ew-weight-medium);
	transition: color 0.25s ease;
}

.ew-nav--desktop .ew-nav__list > .ew-nav__item > a:hover,
.ew-nav--desktop .ew-nav__item.is-current > a,
.ew-nav--desktop .ew-nav__item.is-ancestor > a,
.ew-nav--desktop .ew-nav__item:has(> .ew-nav__expand[aria-expanded="true"]) > a {
	color: var(--ew-color-heading);
}

.ew-nav--desktop .ew-nav__item--has-children > a {
	padding-right: 0.125rem;
}

.ew-nav--desktop .ew-nav__item--has-children > .ew-nav__expand {
	margin: 0 0.5rem 0 0;
	color: var(--ew-color-heading);
}

.ew-nav--desktop .ew-nav__expand::before {
	transition: transform 0.3s ease;
}

.ew-nav__streep {
	top: 3px;
	height: 2px;
	background: var(--ew-color-charcoal);
}

.ew-nav--desktop:has(.ew-nav__expand[aria-expanded="true"]) .ew-nav__streep {
	background: var(--ew-color-cta);
}

/* Without the sliding underline (no JS, touch): the current item. */
.ew-nav--desktop:not(.heeft-streep) .ew-nav__item.is-current > a,
.ew-nav--desktop:not(.heeft-streep) .ew-nav__item.is-ancestor > a {
	text-decoration: none;
	box-shadow: inset 0 -2px 0 var(--ew-color-charcoal);
}

/* Right cluster. */
.ew-header__desktop-tools {
	gap: 1.375rem;
}

.pp-hdr__laskuri {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	color: var(--ew-color-heading);
	font-size: 0.9375rem;
	font-weight: var(--ew-weight-semibold);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.25s ease;
}

.pp-hdr__laskuri:hover {
	color: var(--ew-color-accent-text);
}

/* flex: none keeps the icon when the header row runs short of room;
   without it the SVG shrinks to nothing before the text does. */
.pp-hdr__laskuri svg {
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
}

/* Narrow desktops (68rem, where the desktop header starts, to 82rem): a
   centred nav needs equal room on both sides, which the logo and the right
   cluster no longer have. The nav takes the free middle instead and its
   items sit a little closer. */
@media (min-width: 68.0625rem) and (max-width: 82rem) {
	.ew-header__bar {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.ew-nav--desktop {
		justify-self: center;
	}

	.ew-nav--desktop .ew-nav__list > .ew-nav__item > a {
		padding-inline: 0.625rem;
	}
}

.ew-header__cta .ew-button {
	gap: 0.75rem;
	min-height: 3.125rem;
	padding: 0 1.25rem;
	border-radius: var(--ew-radius-sm);
	font-size: 0.9375rem;
	transition: background-color 0.3s ease, min-height 0.35s var(--ew-motion-ease-out);
}

.ew-header__cta .ew-button::after {
	content: "\2192";
}

.ew-top.is-scrolled .ew-header__cta .ew-button {
	min-height: 2.75rem;
}

/* Palvelut mega panel (desktop). The item is not positioned, so the panel
   hangs from .ew-header (position: relative) at full width. */
.ew-nav--desktop .ew-nav__item--panel {
	position: static;
}

.ew-nav--desktop .ew-nav__sub.pp-mega {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	min-width: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--ew-color-line-2);
	border-bottom: 1px solid var(--ew-color-line-2);
	border-radius: 0;
	background: var(--ew-color-background);
	color: var(--ew-color-heading);
	box-shadow: 0 30px 50px -30px rgb(31 30 28 / 0.25);
	/* The entrance runs on the inner grid: an opacity animation on the panel
	   itself left it mis-composited under the hero image in Chrome. */
	animation: none;
}

.ew-nav--desktop .ew-nav__sub.pp-mega .pp-mega__grid {
	animation: pp-mega-in 0.4s var(--ew-motion-ease-out);
}

.ew-nav--desktop .ew-nav__sub.pp-mega::before {
	content: none;
}

.ew-nav--desktop .ew-nav__sub.pp-mega.is-leaving {
	animation: none;
	visibility: hidden;
}

@keyframes pp-mega-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
}

.pp-mega__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
	gap: 2.5rem;
	padding-block: 2rem 2.25rem;
}

.pp-mega__label {
	margin: 0 0 0.875rem;
	color: var(--ew-color-oak-text);
	font-size: 0.75rem;
	font-weight: var(--ew-weight-semibold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pp-mega__list ul {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ew-color-line-2);
	list-style: none;
}

.pp-mega__list li {
	border-bottom: 1px solid var(--ew-color-line-2);
	animation: none;
}

.ew-nav .pp-mega .pp-mega__svc {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr) 1.25rem;
	gap: 0.875rem;
	align-items: center;
	padding: 0.75rem 0.5rem 0.75rem 0;
	color: var(--ew-color-heading);
	text-decoration: none;
}

.ew-nav .pp-mega .pp-mega__svc:hover,
.ew-nav .pp-mega .pp-mega__svc:focus-visible {
	color: var(--ew-color-heading);
}

.pp-mega__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--ew-color-line-2);
	border-radius: var(--ew-radius-sm);
	background: var(--ew-color-surface);
	color: var(--ew-color-heading);
	/* Colours only: "all" would also transition visibility, so the tiles
	   outlived the panel's is-leaving (visibility: hidden) and flashed. */
	transition:
		border-color 0.25s ease,
		background-color 0.25s ease,
		color 0.25s ease;
}

.pp-mega__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.ew-nav .pp-mega .pp-mega__svc.is-active .pp-mega__icon {
	border-color: var(--ew-color-accent-soft-line);
	background: var(--ew-color-accent-soft);
	color: var(--ew-color-accent-text);
}

.pp-mega__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pp-mega__title {
	font-size: 1rem;
	font-weight: var(--ew-weight-semibold);
}

.pp-mega__line {
	overflow: hidden;
	color: var(--ew-color-sign);
	font-size: 0.84375rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pp-mega__arrow {
	color: var(--ew-color-accent-text);
	opacity: 0;
	transform: translateX(-6px);
	transition:
		opacity 0.3s var(--ew-motion-ease-out),
		transform 0.3s var(--ew-motion-ease-out);
}

.ew-nav .pp-mega .pp-mega__svc.is-active .pp-mega__arrow {
	opacity: 1;
	transform: none;
}

.pp-mega__preview {
	position: relative;
	min-height: 18.75rem;
	overflow: hidden;
	border-radius: 3px;
	background: var(--ew-pp-image-bg);
}

.pp-mega__photo,
.pp-mega__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.pp-mega__photo {
	opacity: 0;
	transition: opacity 0.5s ease;
}

.pp-mega__photo img {
	object-fit: cover;
	transform: scale(1);
	transition: transform 1.2s var(--ew-motion-ease-out);
}

.pp-mega__photo.is-active {
	opacity: 1;
}

.pp-mega__photo.is-active img {
	transform: scale(1.03);
}

.pp-mega__chip {
	position: absolute;
	bottom: 0.875rem;
	left: 0.875rem;
	padding: 0.5rem 0.75rem;
	border-radius: 3px;
	background: var(--ew-color-background);
	font-size: 0.8125rem;
	font-weight: var(--ew-weight-semibold);
}

.ew-nav .pp-mega .pp-mega__cta {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding: 1.625rem;
	border-radius: var(--ew-radius-sm);
	background: var(--ew-color-charcoal);
	color: var(--ew-color-text-on-dark);
	text-decoration: none;
}

/* The card itself stays dark on hover. This also cancels the generic
   submenu-link hover (.ew-nav--desktop .ew-nav__sub a:hover), which turned
   the dark card light and the white title unreadable. Only the button
   reacts, like every primary button: the hover accent and a 6px arrow nudge. */
.ew-nav .pp-mega .pp-mega__cta:hover {
	background: var(--ew-color-charcoal);
	color: var(--ew-color-text-on-dark);
}

.ew-nav .pp-mega .pp-mega__cta:hover .pp-mega__ctabtn,
.ew-nav .pp-mega .pp-mega__cta:focus-visible .pp-mega__ctabtn {
	background: var(--ew-color-cta-hover);
}

.ew-nav .pp-mega .pp-mega__cta:hover .pp-mega__ctabtn > span,
.ew-nav .pp-mega .pp-mega__cta:focus-visible .pp-mega__ctabtn > span {
	transform: translateX(6px);
}

.pp-mega__note {
	display: block;
	color: var(--ew-color-cta-on-dark);
	font-family: var(--ew-font-script);
	font-size: 1.75rem;
	line-height: 1;
	transform: rotate(-2deg);
	transform-origin: left;
}

.pp-mega__ctatitle {
	font-size: 1.625rem;
	font-stretch: 88%;
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.02em;
	line-height: 0.98;
	text-transform: uppercase;
}

.pp-mega__ctatext {
	color: var(--ew-color-text-on-dark-muted);
	font-size: 0.90625rem;
	line-height: 1.6;
}

.pp-mega__ctabtn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding: 0.875rem 1rem;
	border-radius: var(--ew-radius-sm);
	background: var(--ew-color-cta);
	color: var(--ew-color-white);
	font-size: 0.9375rem;
	font-weight: var(--ew-weight-semibold);
	transition: background-color 0.3s var(--ew-motion-ease-out);
}

.pp-mega__ctabtn > span {
	transition: transform 0.3s var(--ew-motion-ease-out);
}

@media (prefers-reduced-motion: reduce) {
	.pp-mega__ctabtn,
	.pp-mega__ctabtn > span {
		transition: none;
	}

	.ew-nav .pp-mega .pp-mega__cta:hover .pp-mega__ctabtn > span,
	.ew-nav .pp-mega .pp-mega__cta:focus-visible .pp-mega__ctabtn > span {
		transform: none;
	}
}

/* Mobile and tablet. */
.pp-hdr__phone-compact {
	display: none;
}

@media (max-width: 68rem) {
	.pp-hdr__phone-compact,
.ew-nav-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 2.75rem;
		height: 2.75rem;
		border: 1px solid var(--ew-color-line-2);
		border-radius: var(--ew-radius-sm);
		color: var(--ew-color-heading);
	}

	.pp-hdr__phone-compact svg {
		width: 1.125rem;
		height: 1.125rem;
	}

	.ew-header__actions {
		display: flex;
		gap: 0.625rem;
		align-items: center;
	}

	.ew-header__cta-compact .ew-button {
		min-height: 2.75rem;
		padding: 0 0.875rem;
		border-radius: var(--ew-radius-sm);
		font-size: 0.875rem;
	}

	.ew-header .ew-brandlogo,
.ew-top.is-scrolled .ew-brandlogo {
		--ew-logo-h: 1.875rem;
	}

	.ew-top.is-scrolled .ew-header__bar {
		min-height: var(--ew-header-height);
	}

	.ew-nav-panel {
		background: var(--ew-color-background);
		border-top: 1px solid var(--ew-color-line-2);
	}

	.ew-nav--mobile .ew-nav__list {
		align-items: stretch;
	}

	.ew-nav--mobile .ew-nav__list > .ew-nav__item {
		border-bottom: 1px solid var(--ew-color-line-2);
	}

	.ew-nav--mobile .ew-nav__list > .ew-nav__item > a {
		flex: 1;
		padding: 1.125rem 0;
		font-size: 1.375rem;
		font-weight: var(--ew-weight-semibold);
		letter-spacing: -0.02em;
		text-decoration: none;
	}

	.ew-nav--mobile .ew-nav__item--panel > .ew-nav__expand {
		width: 2.75rem;
		height: 2.75rem;
		margin: 0;
		color: var(--ew-color-sign);
	}

	.ew-nav--mobile .ew-nav__item--panel > .ew-nav__expand::before {
		content: "+";
		width: auto;
		height: auto;
		border: 0;
		font-size: 1.5rem;
		font-weight: 300;
		transform: none;
	}

	.ew-nav--mobile .ew-nav__item--panel > .ew-nav__expand[aria-expanded="true"]::before {
		content: "\2212";
	}

	.ew-nav--mobile .pp-mega-m {
		flex-basis: 100%;
		margin: 0;
		padding: 0.375rem 0 0.625rem;
		list-style: none;
	}

	.ew-nav--mobile .pp-mega-m[hidden] {
		display: none;
	}

	.pp-mega-m__link {
		display: flex;
		gap: 0.875rem;
		align-items: center;
		padding: 0.625rem 0;
		color: var(--ew-color-heading);
		font-size: 1.0625rem;
		text-decoration: none;
	}

	.pp-mega-m .pp-mega__icon {
		width: 2.25rem;
		height: 2.25rem;
	}

	.pp-mega-m .pp-mega__icon svg {
		width: 1.125rem;
		height: 1.125rem;
	}

	.ew-nav-panel__meta {
		border-top: 0;
	}

	.ew-nav-panel__actions {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
	}

	.pp-hdr__panellink,
.ew-nav-panel__actions .ew-button {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 3.375rem;
		padding: 0 1.125rem;
		border: 1px solid var(--ew-color-charcoal);
		border-radius: var(--ew-radius-sm);
		color: var(--ew-color-heading);
		font-size: 1rem;
		font-weight: var(--ew-weight-semibold);
		text-decoration: none;
	}

	.ew-nav-panel__actions .ew-button {
		/* The base .ew-nav-panel__cta flex (1 1 12rem) is for a row; in this
		   column it would make the button 12rem tall. */
		flex: none;
		border-color: var(--ew-color-cta);
		color: var(--ew-color-white);
	}

	.ew-nav-panel__actions .ew-button::after {
		content: "\2192";
	}

	.pp-hdr__status {
		/* .ew-topbar__status names a top-bar grid area; in the panel's grid
		   that opened a second column and pushed this line off-screen. */
		grid-area: auto;
		display: flex;
		gap: 0.625rem;
		align-items: center;
		min-width: 0;
		margin: 0;
		white-space: normal;
		color: var(--ew-color-text-muted);
		font-size: 0.875rem;
	}

	.pp-hdr__status .ew-topbar__state {
		display: none;
	}

	.pp-hdr__status[data-state="open"] .ew-topbar__state--open,
.pp-hdr__status[data-state="closed"] .ew-topbar__state--closed {
		display: inline;
	}

	.pp-hdr__status[data-state="open"] .ew-topbar__dot {
		background: var(--ew-color-ok);
	}
}

/* Small phones (to 375px): logo, compact CTA and menu button share the bar.
   A slightly smaller logo keeps it clear of the CTA; the gutter stays, so
   the logo still lines up with the page and the menu panel. */
@media (max-width: 23.4375rem) {
	.ew-header .ew-brandlogo,
.ew-top.is-scrolled .ew-header .ew-brandlogo {
		--ew-logo-h: 1.5rem;
	}
}

/* Low screens (phone in landscape): the menu panel is only ~250px tall and
   the stacked buttons left one visible menu item. Buttons side by side,
   tighter spacing, and no status line (the top bar above already shows it). */
@media (max-width: 68rem) and (max-height: 32rem) {
	.ew-nav--mobile {
		padding-block: var(--ew-space-3);
	}

	.ew-nav-panel__meta {
		gap: var(--ew-space-3);
		padding-top: var(--ew-space-3);
		padding-bottom: calc(var(--ew-space-3) + env(safe-area-inset-bottom, 0px));
	}

	.ew-nav-panel__actions {
		flex-direction: row;
	}

	.pp-hdr__panellink,
.ew-nav-panel__actions .ew-button {
		flex: 1 1 0;
		min-height: 3rem;
	}

	.ew-nav-panel .pp-hdr__status {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ew-topbar__status[data-state="open"] .ew-topbar__dot {
		animation: none;
	}

	.ew-topbar__kierto {
		display: flex;
		gap: 1.5rem;
	}

	.ew-topbar__kierto .ew-topbar__lause {
		animation: none;
	}

	.ew-header__bar,
.ew-logo-svg,
.ew-header__cta .ew-button,
.pp-mega__photo img,
.pp-mega__arrow {
		transition: none;
	}

	.ew-nav--desktop .ew-nav__sub.pp-mega,
.ew-nav--desktop .ew-nav__sub.pp-mega.is-leaving {
		animation: none;
	}

	.pp-mega__photo.is-active img {
		transform: none;
	}
}

/* Bar heights below 68rem (overrides the PNG-logo values in components.css):
   a 64px bar and a one-line top bar. */
@media (max-width: 68rem) {
	:root {
		--ew-header-height: 4rem;
		--ew-topbar-height: 2.625rem;
	}

	.ew-header__bar {
		padding-block: 0;
	}
}

/* ---------------------------------------------------- 17. Calculator mode
   /parketin-hionta/#laskuri as a full-viewport application. Everything here
   is scoped to html.pp-laskuri-mode, which only the calculator page can set
   (inline head script, inc/enqueue.php; assets/js/laskuri.js keeps it in
   sync with the address). The page locks to 100dvh only in this mode; the
   active step scrolls inside the card as a last resort on very short
   screens. State A: intro + rail left, card right. State B (.is-focus):
   the card alone, centred, 680px max. */

.pp-laskuri__toolbar,
.pp-hdr__exit {
	display: none;
}

html.pp-laskuri-mode,
html.pp-laskuri-mode body {
	height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
}

html.pp-laskuri-mode {
	/* The admin bar is hidden in this mode; drop its offset too. */
	margin-top: 0 !important;
}

html.pp-laskuri-mode body {
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
}

html.pp-laskuri-mode #wpadminbar,
html.pp-laskuri-mode .ew-topbar,
html.pp-laskuri-mode .ew-footer,
html.pp-laskuri-mode main > :not(#laskuri),
html.pp-laskuri-mode .ew-nav--desktop,
html.pp-laskuri-mode .ew-header__desktop-tools,
html.pp-laskuri-mode .ew-header__cta-compact,
html.pp-laskuri-mode .pp-hdr__phone-compact,
html.pp-laskuri-mode .ew-nav-toggle,
html.pp-laskuri-mode .ew-nav-panel {
	display: none !important;
}

/* Compact brand bar: logo left, "Sulje laskuri" right. */
html.pp-laskuri-mode .ew-top {
	position: relative;
	flex: none;
	box-shadow: none;
}

html.pp-laskuri-mode .ew-header__bar,
html.pp-laskuri-mode .ew-top.is-scrolled .ew-header__bar {
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "logo actions";
	min-height: 3.5rem;
	padding-top: env(safe-area-inset-top, 0px);
}

html.pp-laskuri-mode .ew-header .ew-brandlogo,
html.pp-laskuri-mode .ew-top.is-scrolled .ew-header .ew-brandlogo {
	--ew-logo-h: 1.5rem;
}

html.pp-laskuri-mode .pp-hdr__exit {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	min-height: 2.75rem;
	color: var(--ew-color-sign);
	font-size: 0.875rem;
	font-weight: var(--ew-weight-medium);
	text-decoration: none;
	transition: color 0.25s ease;
}

html.pp-laskuri-mode .pp-hdr__exit:hover {
	color: var(--ew-color-heading);
}

/* The viewport below the bar. */
html.pp-laskuri-mode main {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
}

html.pp-laskuri-mode #laskuri {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-width: 0;
	min-height: 0;
	padding-block: clamp(0.75rem, 3vh, 2.5rem) max(clamp(0.75rem, 3vh, 2.5rem), env(safe-area-inset-bottom, 0px));
	overflow: hidden;
}

html.pp-laskuri-mode .pp-laskuri__grid {
	grid-template-rows: minmax(0, 1fr);
	align-items: center;
	width: 100%;
	height: 100%;
	gap: clamp(2rem, 4vw, 4.5rem);
}

html.pp-laskuri-mode .pp-laskuri__panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	max-height: 100%;
}

html.pp-laskuri-mode .pp-laskuri__inner {
	flex: 1 1 auto;
	min-height: 0;
	padding: clamp(1rem, 3.2vh, 2.5rem) clamp(1rem, 2.6vw, 2.5rem);
}

html.pp-laskuri-mode .pp-laskuri__form {
	min-height: 0;
}

html.pp-laskuri-mode .pp-laskuri.is-js .pp-laskuri__step.is-active {
	flex: 1 1 auto;
	min-height: 0;
	margin-bottom: clamp(0.75rem, 2vh, 1.5rem);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

html.pp-laskuri-mode .pp-laskuri__head {
	margin-bottom: clamp(0.875rem, 2.4vh, 1.75rem);
}

html.pp-laskuri-mode .pp-laskuri__nav {
	flex: none;
	padding-top: clamp(0.75rem, 2vh, 1.25rem);
}

/* Option cards sized by the viewport height, not their width. */
html.pp-laskuri-mode .pp-laskuri__media {
	aspect-ratio: auto;
	height: clamp(4.5rem, 15vh, 10rem);
}

html.pp-laskuri-mode .pp-laskuri__swatch {
	height: clamp(3.25rem, 9vh, 6rem);
}

html.pp-laskuri-mode .pp-laskuri__number input {
	font-size: clamp(3rem, min(6vw, 9vh), 5.5rem);
	padding-block: 0.25rem;
}

html.pp-laskuri-mode .pp-laskuri__area {
	gap: clamp(1rem, 3vh, 2rem);
}

html.pp-laskuri-mode .pp-laskuri__field textarea {
	min-height: 0;
}

html.pp-laskuri-mode .pp-laskuri__fields {
	gap: clamp(0.875rem, 2.2vh, 1.625rem) 1.375rem;
}

.pp-laskuri__hint {
	margin: calc(-1 * clamp(0.5rem, 1.4vh, 1.25rem)) 0 clamp(1rem, 2.4vh, 1.5rem);
	color: var(--ew-color-sign);
	font-size: 0.875rem;
	line-height: 1.5;
}

/* State A, desktop: intro and rail beside the card. */
html.pp-laskuri-mode .pp-laskuri__intro {
	transition: opacity 0.16s ease;
}

html.pp-laskuri-mode .pp-laskuri__title {
	font-size: min(clamp(2.25rem, min(4.2vw, 7vh), 4rem), 11.5cqi);
}

html.pp-laskuri-mode .pp-laskuri__lede {
	margin-top: clamp(0.75rem, 2vh, 1.5rem);
}

html.pp-laskuri-mode .pp-laskuri__rail {
	margin-top: clamp(1rem, 3.5vh, 3rem);
}

html.pp-laskuri-mode .pp-laskuri__railbtn {
	padding-block: clamp(0.5rem, 1.5vh, 1rem);
}

@media (min-width: 62rem) {
	html.pp-laskuri-mode .pp-laskuri__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}

/* Short desktop windows: the rail puts label and value on one row and the
   lede keeps three lines, so the intro fits beside the card. */
@media (min-width: 62rem) and (max-height: 42rem) {
	html.pp-laskuri-mode .pp-laskuri__railtext {
		flex-direction: row;
		align-items: baseline;
		gap: 0.75rem;
	}

	html.pp-laskuri-mode .pp-laskuri__raillabel {
		flex: none;
	}

	html.pp-laskuri-mode .pp-laskuri__railvalue {
		min-width: 0;
	}

	html.pp-laskuri-mode .pp-laskuri__lede {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}
}

/* Four options read as a 2 x 2 set in the card (never 3 + 1). */
html.pp-laskuri-mode .pp-laskuri__options--types,
html.pp-laskuri-mode .pp-laskuri__options--treat {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.pp-laskuri-mode .pp-laskuri.is-focus .pp-laskuri__inner {
	padding-top: clamp(0.75rem, 2.4vh, 1.75rem);
}

/* State B: focus. The intro fades (is-focusing), then leaves the layout. */
.pp-laskuri.is-focusing .pp-laskuri__intro {
	opacity: 0;
}

html.pp-laskuri-mode .pp-laskuri.is-focus .pp-laskuri__intro {
	display: none;
}

html.pp-laskuri-mode .pp-laskuri.is-focus .pp-laskuri__grid {
	grid-template-columns: minmax(0, 42.5rem);
	justify-content: center;
}

html.pp-laskuri-mode .pp-laskuri.is-focus .pp-laskuri__panel {
	animation: pp-laskuri-focus 0.3s var(--ew-motion-ease-out);
}

@keyframes pp-laskuri-focus {
	from {
		opacity: 0.55;
		transform: scale(0.985);
	}
}

html.pp-laskuri-mode .pp-laskuri.is-focus .pp-laskuri__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.875rem clamp(1rem, 2.6vw, 2.5rem) 0;
}

html.pp-laskuri-mode .pp-laskuri.is-focus .pp-laskuri__count {
	display: none;
}

.pp-laskuri__steplabel {
	margin: 0;
	color: var(--ew-color-oak-text);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	font-weight: var(--ew-weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Step label with the earlier answers below it, one quiet line that
   ellipsises rather than pushing "Aloita alusta" away. */
.pp-laskuri__where {
	flex: 1 1 auto;
	min-width: 0;
}

.pp-laskuri__trail {
	margin: 0.1875rem 0 0;
	overflow: hidden;
	color: var(--ew-color-sign);
	font-size: 0.8125rem;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pp-laskuri__trail[hidden] {
	display: none;
}

.pp-laskuri__restart {
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ew-color-sign);
	font: inherit;
	font-size: 0.8125rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.pp-laskuri__restart:hover {
	color: var(--ew-color-accent-text);
}

.pp-laskuri__restart:focus-visible {
	outline: 2px solid var(--ew-color-cta);
	outline-offset: 3px;
}

/* Below 62rem: one column. The card takes the remaining height so the
   buttons sit near the bottom; the intro shrinks to its heading. */
@media (max-width: 61.9375rem) {
	html.pp-laskuri-mode #laskuri {
		align-items: stretch;
		padding-block: 0.75rem max(0.75rem, env(safe-area-inset-bottom, 0px));
	}

	html.pp-laskuri-mode .pp-laskuri__grid,
html.pp-laskuri-mode .pp-laskuri.is-focus .pp-laskuri__grid {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
	}

	html.pp-laskuri-mode .pp-laskuri__panel {
		flex: 1 1 auto;
		width: 100%;
		max-width: 42.5rem;
		margin-inline: auto;
	}

	/* A size container has no content width: stretch it explicitly. */
	html.pp-laskuri-mode .pp-laskuri__intro {
		flex: none;
		width: 100%;
	}

	html.pp-laskuri-mode .pp-laskuri__intro .pp-eyebrow,
html.pp-laskuri-mode .pp-laskuri__rail {
		display: none;
	}

	/* One line where it fits (the full title is ~11.6em wide). */
	html.pp-laskuri-mode .pp-laskuri__title {
		max-width: none;
		font-size: min(clamp(1.375rem, 6.4vw, 2.25rem), 8.4cqi);
	}

	html.pp-laskuri-mode .pp-laskuri__lede {
		display: -webkit-box;
		margin-top: 0.375rem;
		overflow: hidden;
		font-size: 0.875rem;
		line-height: 1.5;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}
}

@media (max-width: 40rem) {
	html.pp-laskuri-mode .pp-laskuri__q {
		font-size: 1.375rem;
	}

	html.pp-laskuri-mode .pp-laskuri__options--types,
html.pp-laskuri-mode .pp-laskuri__options--treat {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.625rem;
	}

	html.pp-laskuri-mode .pp-laskuri__media {
		height: clamp(4rem, 12vh, 7rem);
	}

	html.pp-laskuri-mode .pp-laskuri__swatch {
		height: clamp(2.75rem, 7vh, 4.5rem);
	}

	html.pp-laskuri-mode .pp-laskuri__cardbody {
		gap: 0.5rem;
		padding: 0.625rem 0.75rem 0.75rem;
	}

	html.pp-laskuri-mode .pp-laskuri__cardtitle {
		font-size: 0.9375rem;
	}

	html.pp-laskuri-mode .pp-laskuri__cardsub {
		font-size: 0.75rem;
	}

	/* The tick moves onto the photo corner so the title gets the full
	   card width ("Muu / en tiedä" on one line). */
	html.pp-laskuri-mode .pp-laskuri__tick {
		position: absolute;
		top: 0.5rem;
		right: 0.5rem;
		width: 1.25rem;
		height: 1.25rem;
		background: var(--ew-color-surface);
	}

	html.pp-laskuri-mode .pp-laskuri__presets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Title over size in every preset, so the four read the same whether
	   or not "Koko asunto ~80 m²" fits on one line. */
	html.pp-laskuri-mode .pp-laskuri__preset {
		gap: 0.125rem;
		padding: 0.625rem 0.75rem;
	}

	html.pp-laskuri-mode .pp-laskuri__preset svg {
		display: none;
	}

	html.pp-laskuri-mode .pp-laskuri__fields {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.75rem;
	}

	html.pp-laskuri-mode .pp-laskuri__field input {
		height: 2.75rem;
	}

	/* Two lines, so the placeholder is never cut mid-line. */
	html.pp-laskuri-mode .pp-laskuri__field textarea {
		height: 4rem;
		padding-block: 0.5rem;
		font-size: 1rem;
		line-height: 1.4;
		resize: none;
	}

	/* Segments size to their label and wrap rather than clip. */
	html.pp-laskuri-mode .pp-laskuri__segments {
		flex-wrap: wrap;
	}

	html.pp-laskuri-mode .pp-laskuri__segment {
		flex: 1 1 auto;
	}

	html.pp-laskuri-mode .pp-laskuri__segment span {
		padding-inline: 0.375rem;
		white-space: nowrap;
	}

	html.pp-laskuri-mode .pp-laskuri__toolbar {
		gap: 0.75rem;
	}

	html.pp-laskuri-mode .pp-laskuri__restart {
		flex: none;
		white-space: nowrap;
	}

	/* The placeholders name these fields; the labels stay for screen
	   readers. The city legend stays visible (the segments need it). */
	html.pp-laskuri-mode .pp-laskuri__field > label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	html.pp-laskuri-mode .pp-laskuri__field {
		gap: 0;
	}

	html.pp-laskuri-mode .pp-laskuri__next {
		height: 3.25rem;
		padding-inline: 1rem;
		font-size: 0.9375rem;
		white-space: nowrap;
	}

	html.pp-laskuri-mode .pp-hdr__exit {
		font-size: 0.8125rem;
	}
}

/* Short phones (iPhone SE class): tighter contact step. */
@media (max-width: 40rem) and (max-height: 45rem) {
	html.pp-laskuri-mode .pp-laskuri__hint,
html.pp-laskuri-mode .pp-laskuri__lede {
		display: none;
	}

	html.pp-laskuri-mode .pp-laskuri__head {
		margin-bottom: 0.625rem;
	}

	html.pp-laskuri-mode .pp-laskuri__fields {
		gap: 0.5rem;
	}

	html.pp-laskuri-mode .pp-laskuri__field legend {
		margin-bottom: 0.25rem;
	}

	html.pp-laskuri-mode .pp-laskuri__segment span {
		height: 2.25rem;
	}

	html.pp-laskuri-mode .pp-laskuri__field textarea {
		height: 3.75rem;
	}

	html.pp-laskuri-mode .pp-laskuri__next {
		height: 3rem;
	}

	html.pp-laskuri-mode .pp-laskuri__toolbar {
		padding-top: 0.5rem;
	}

	html.pp-laskuri-mode .pp-laskuri__restart {
		min-height: 2.25rem;
	}
}

/* Narrow phones (below 375px): "Takaisin" and "Lähetä ja saat hinnan"
   share one row without clipping; the arrow goes, the label stays. */
@media (max-width: 23.375rem) {
	html.pp-laskuri-mode .pp-laskuri__navrow {
		gap: 0.75rem;
	}

	html.pp-laskuri-mode .pp-laskuri__back {
		flex: none;
		font-size: 0.875rem;
	}

	html.pp-laskuri-mode .pp-laskuri__next {
		justify-content: center;
		padding-inline: 0.75rem;
		font-size: 0.875rem;
		line-height: 1.2;
		text-align: center;
		white-space: normal;
	}

	html.pp-laskuri-mode .pp-laskuri__next > [aria-hidden="true"] {
		display: none;
	}

	html.pp-laskuri-mode .pp-laskuri__steplabel {
		font-size: 0.6875rem;
		letter-spacing: 0.04em;
		line-height: 1.35;
	}

	html.pp-laskuri-mode .pp-laskuri__restart {
		font-size: 0.75rem;
	}

	/* All four cities stay on one row at 320px. */
	html.pp-laskuri-mode .pp-laskuri__segments {
		gap: 0.25rem;
	}

	html.pp-laskuri-mode .pp-laskuri__segment span {
		padding-inline: 0.25rem;
		font-size: 0.875rem;
	}
}

/* Phones in landscape: the title only, four options in one row, so the
   active step keeps a usable height. */
@media (max-width: 61.9375rem) and (max-height: 30rem) {
	html.pp-laskuri-mode .pp-laskuri__lede {
		display: none;
	}

	html.pp-laskuri-mode .pp-laskuri__title {
		font-size: min(1.375rem, 8.4cqi);
	}

	html.pp-laskuri-mode .pp-laskuri__panel {
		max-width: 52rem;
	}

	html.pp-laskuri-mode .pp-laskuri__head {
		margin-bottom: 0.625rem;
	}

	html.pp-laskuri-mode .pp-laskuri__q {
		font-size: 1.25rem;
	}

	html.pp-laskuri-mode .pp-laskuri__options--types,
html.pp-laskuri-mode .pp-laskuri__options--treat {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.5rem;
	}

	html.pp-laskuri-mode .pp-laskuri__media {
		height: clamp(3rem, 16vh, 5rem);
	}

	html.pp-laskuri-mode .pp-laskuri__swatch {
		height: clamp(2.25rem, 12vh, 3.5rem);
	}

	html.pp-laskuri-mode .pp-laskuri__cardbody {
		gap: 0.5rem;
		padding: 0.5rem 0.625rem 0.625rem;
	}

	html.pp-laskuri-mode .pp-laskuri__cardtitle {
		font-size: 0.875rem;
	}

	html.pp-laskuri-mode .pp-laskuri__cardsub {
		display: none;
	}

	html.pp-laskuri-mode .pp-laskuri__tick {
		position: absolute;
		top: 0.375rem;
		right: 0.375rem;
		width: 1.125rem;
		height: 1.125rem;
		background: var(--ew-color-surface);
	}

	html.pp-laskuri-mode .pp-laskuri__number input {
		font-size: 2.5rem;
	}

	html.pp-laskuri-mode .pp-laskuri__presets {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	html.pp-laskuri-mode .pp-laskuri__preset svg {
		display: none;
	}

	html.pp-laskuri-mode .pp-laskuri__next {
		height: 3rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html.pp-laskuri-mode .pp-laskuri__intro {
		transition: none;
	}

	html.pp-laskuri-mode .pp-laskuri.is-focus .pp-laskuri__panel {
		animation: none;
	}
}

/* ---------------------------------------------------- 18. Quote form steps
   assets/js/tarjous.js turns the three groups of the quote form into steps
   (.is-steps): step bar with numbers and a 3px progress line, one group at
   a time, Back + Jatka / submit in one row. Without JS nothing changes. */

/* ---------------------------------------------------- 19. Wood-grain band
   The "Laadukkaat materiaalit ja ammattilaitteet" panel above the footer
   (.ew-footer-patch.pp-grain-band). A decorative inline SVG layer: chevron
   parquet lines, long grain streaks and film noise, barely visible, with a
   warm spotlight moved by assets/js/grain-band.js. The footer itself stays
   plain. The machine wrapper leans toward the pointer; the image keeps its
   own hover lift. */

.pp-grain-band {
	position: relative;
}

.pp-grain-layer {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
}

.pp-grain-layer svg {
	position: absolute;
	inset: 0;
	display: block;
	pointer-events: none;
}

.pp-grain-band > :not(.pp-grain-layer) {
	position: relative;
}

/* Body text on the band: text-2 of the handoff keeps >= 4.5:1 with the
   spotlight right under it (measured: 5th percentile of the background). */
.pp-grain-band .ew-footer-patch__intro {
	color: var(--ew-color-ink-soft);
}

.pp-grain-machine {
	transition: transform 0.8s var(--ew-motion-ease-out);
}

/* Frosted haze under the copy, always on and light (25.11.2026: kept at
   all times, lower intensity, no hover effect of its own; later the same
   day lowered to an 8% fill and 2px blur so the pattern shows through).
   It barely softens the chevron and grain under the text. No edge or box: a blurred layer of page
   colour whose sides fade out (two intersected linear masks). */
.pp-grain-band .ew-footer-patch__tekst {
	isolation: isolate;
}

.pp-grain-band .ew-footer-patch__tekst::before {
	/* Long, soft edges: the haze fades over most of its margin. */
	--pp-haze-fade-x: 7rem;
	--pp-haze-fade-y: 3.5rem;
	content: "";
	position: absolute;
	z-index: -1;
	inset: -2rem -4rem;
	background: color-mix(in srgb, var(--ew-color-background) 8%, transparent);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	-webkit-mask-image:
		linear-gradient(to right, transparent, #000 var(--pp-haze-fade-x), #000 calc(100% - var(--pp-haze-fade-x)), transparent),
		linear-gradient(to bottom, transparent, #000 var(--pp-haze-fade-y), #000 calc(100% - var(--pp-haze-fade-y)), transparent);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(to right, transparent, #000 var(--pp-haze-fade-x), #000 calc(100% - var(--pp-haze-fade-x)), transparent),
		linear-gradient(to bottom, transparent, #000 var(--pp-haze-fade-y), #000 calc(100% - var(--pp-haze-fade-y)), transparent);
	mask-composite: intersect;
	pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.pp-grain-band .ew-footer-patch__tekst::before {
		background: color-mix(in srgb, var(--ew-color-background) 20%, transparent);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pp-grain-machine {
		transition: none;
	}
}

/* Desktop and tablet: a larger machine whose bottom falls past the lower
   edge of the band (request 25.11.2026). The copy sets the band height:
   --ew-space-6 (32px) above and below it, no min-height (request
   25.11.2026). The machine leaves the grid (absolute) and follows the band:
   its box runs from --ew-footer-patch-uit above the band to
   --ew-footer-kone-onder below it (capped at 52vw), and its width comes
   from the source ratio (840 x 1247). Extra bottom margin for the overhang. The copy stays
   in the right column. */
@media (min-width: 48rem) {
	.pp-grain-band.ew-footer-patch--kone {
		--ew-footer-patch-pad: var(--ew-space-6);
		--ew-footer-kone-onder: clamp(3rem, 1rem + 5vw, 7rem);
		margin-bottom: calc(var(--ew-space-8) + var(--ew-footer-kone-onder));
	}

	.pp-grain-band.ew-footer-patch--kone > .ew-footer-patch__beeld {
		position: absolute;
		bottom: calc(var(--ew-footer-kone-onder) * -1);
		left: clamp(1.5rem, 0.25rem + 4.4vw, 4.5rem);
		width: auto;
		/* Capped on tablet, where the copy wraps and the band grows, so the
		   machine stays in the left column. */
		height: min(calc(100% + var(--ew-footer-patch-uit) + var(--ew-footer-kone-onder)), 52vw);
		aspect-ratio: 840 / 1247;
		margin: 0;
		transform-origin: 50% 100%;
	}

	.pp-grain-band.ew-footer-patch--kone > .ew-footer-patch__tekst {
		grid-column: 2;
	}
}

/* ---------------------------------------------------- 20. Shared page system
   Site-wide rollout of the homepage language (26.11.2026): one compact
   page heading, the service guide, form status, empty states and reading
   text. Every page outside the homepage is built from these and the
   sections above; nothing here is page-specific. */

/* Compact page heading (sections/page-hero.php): no photograph, so the
   type carries it. Same H1 as the short photo hero. */
.pp-sivuotsikko {
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.pp-sivuotsikko__inner {
	display: grid;
	justify-items: start;
	gap: var(--ew-space-5);
}

.pp-sivuotsikko .ew-crumbs {
	margin-bottom: var(--ew-space-2);
}

.pp-sivuotsikko .pp-eyebrow {
	margin: 0;
}

.pp-sivuotsikko__title {
	max-width: 16ch;
	margin: 0;
	color: var(--ew-color-heading);
	font-size: var(--ew-pp-hero-title-short);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.035em;
	line-height: 1;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: auto;
}

.pp-sivuotsikko .pp-actions {
	margin-top: var(--ew-space-2);
}

/* Lead paragraphs beside a heading (sections/pp-intro.php). */
.pp-text--lead {
	color: var(--ew-color-heading);
	font-size: var(--ew-text-body-large);
	line-height: 1.6;
}

.pp-text--lead > p + p {
	color: var(--ew-color-text-muted);
}

/* Service guide (sections/pp-opas.php). */
.pp-opas__index {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--ew-space-5) clamp(var(--ew-space-6), 1rem + 4vw, 6rem);
	align-items: start;
	margin-bottom: clamp(3.5rem, 8vw, 7rem);
}

.pp-opas__index ol {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 0 var(--ew-grid-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ew-color-charcoal);
}

.pp-opas__index li {
	border-bottom: 1px solid var(--ew-color-line-2);
}

.pp-opas__index a {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: 0.5rem;
	align-items: baseline;
	min-height: 2.75rem;
	padding: 0.875rem 0;
	color: var(--ew-color-heading);
	font-size: var(--ew-text-small);
	font-weight: var(--ew-weight-semibold);
	line-height: 1.35;
	text-decoration: none;
	transition: color var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

.pp-opas__index a:hover,
.pp-opas__index a:focus-visible {
	color: var(--ew-color-accent-text);
}

.pp-opas__index a:focus-visible {
	outline: 2px solid var(--ew-color-focus);
	outline-offset: 2px;
}

.pp-opas__n {
	color: var(--ew-color-text-meta);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	font-weight: var(--ew-weight-regular);
}

.pp-aihe {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--ew-space-6) clamp(var(--ew-space-6), 1rem + 4vw, 6rem);
	align-items: start;
	scroll-margin-top: var(--ew-pp-sticky-top);
}

.pp-aihe + .pp-aihe {
	margin-top: clamp(4rem, 9vw, 8rem);
}

.pp-aihe__head {
	position: sticky;
	top: var(--ew-pp-sticky-top);
	display: grid;
	gap: var(--ew-space-4);
	justify-items: start;
}

.pp-aihe__head > * {
	margin: 0;
}

.pp-aihe__title {
	max-width: 14ch;
	font-size: var(--ew-pp-topic-title);
}

/* Optional topic photograph under the heading; 3:2 keeps the sticky
   column shorter than the viewport. */
.pp-aihe__media {
	width: 100%;
	margin-top: var(--ew-space-3);
}

.pp-aihe__media .pp-figure__frame {
	aspect-ratio: 3 / 2;
}

.pp-aihe__body {
	min-width: 0;
}

.pp-aihe__body > .pp-note {
	margin-top: var(--ew-space-5);
}

/* Paper cards: the price-factor card of the "Hinta" handoff without the
   lift, since they are not links. */
.pp-kortit {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pp-kortti {
	display: grid;
	align-content: start;
	gap: 0.625rem;
	padding: clamp(1.25rem, 2.4vw, 2rem);
	border: 1px solid var(--ew-color-border-page);
	border-radius: var(--ew-pp-card-radius);
	background: var(--ew-color-surface);
}

.pp-kortti__n {
	margin-bottom: var(--ew-space-3);
	color: var(--ew-color-text-meta);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
}

.pp-kortti__title {
	margin: 0;
	color: var(--ew-color-heading);
	font-size: 1.25rem;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.pp-kortti__text {
	margin: 0;
	color: var(--ew-color-text-muted);
	font-size: 0.96875rem;
	line-height: 1.65;
	text-wrap: pretty;
}

/* Comparison in a white panel. */
.pp-opas__taulu {
	padding: clamp(0.5rem, 1.5vw, 1rem) clamp(1.25rem, 3vw, 2.5rem);
	border: 1px solid var(--ew-color-border-page);
	border-radius: var(--ew-pp-card-radius);
	background: var(--ew-color-surface);
}

.pp-opas__taulu .pp-vertailu tbody tr:last-child > * {
	border-bottom: 0;
}

.pp-opas__taulu .pp-vertailu thead th {
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.pp-aihe .pp-tyypit__grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

@media (max-width: 60rem) {
	.pp-opas__index,
.pp-aihe {
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-aihe__head {
		position: static;
	}
}

@media (max-width: 40rem) {
	.pp-opas__taulu {
		padding-block: 0;
	}

	.pp-opas__taulu .pp-vertailu tbody tr:last-child {
		border-bottom: 0;
	}
}

/* Projects with fewer than four items: the marquee row stands still as an
   even grid in the container (sections/pp-marquee.php). */
.pp-marquee--static .pp-marquee__view {
	overflow: visible;
	max-width: calc(var(--ew-container) + (var(--ew-gutter) * 2));
	margin-inline: auto;
	padding-bottom: 0;
}

.pp-marquee--static .pp-marquee__track {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	width: auto;
}

.pp-marquee--static .pp-marquee__item {
	width: auto;
}

.pp-marquee--static .pp-marquee__frame {
	height: auto;
	aspect-ratio: 4 / 3;
}

/* Form status (components/pp-status.php). */
.pp-status {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	gap: var(--ew-space-4);
	align-items: start;
	margin: 0 0 var(--ew-space-6);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid var(--ew-color-border-page);
	border-radius: var(--ew-pp-card-radius);
	background: var(--ew-color-surface);
}

.pp-status__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--ew-color-line-2);
	border-radius: 50%;
	color: var(--ew-color-heading);
	font-size: 1.125rem;
	font-weight: var(--ew-weight-bold);
}

.pp-status--success .pp-status__mark {
	border-color: var(--ew-color-accent-soft-line);
	background: var(--ew-color-accent-soft);
	color: var(--ew-color-accent-text);
}

.pp-status--error {
	border-color: var(--ew-color-error);
	background: var(--ew-color-error-soft);
}

.pp-status--error .pp-status__mark {
	border-color: var(--ew-color-error);
	color: var(--ew-color-error);
}

.pp-status__body {
	display: grid;
	gap: 0.375rem;
	padding-top: 0.5rem;
}

.pp-status__title,
.pp-status__text {
	margin: 0;
}

.pp-status__title {
	color: var(--ew-color-heading);
	font-size: 1.125rem;
	font-weight: var(--ew-weight-semibold);
	line-height: 1.3;
}

.pp-status--success .pp-status__title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.025em;
	line-height: 0.95;
	text-transform: uppercase;
}

.pp-status__text {
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-body);
	line-height: 1.55;
}

/* Empty state (components/pp-tyhja.php). */
.pp-tyhja {
	display: grid;
	justify-items: start;
	gap: var(--ew-space-4);
	padding: clamp(2rem, 5vw, 3.5rem) 0;
	border-top: 1px solid var(--ew-color-charcoal);
}

.pp-tyhja__title {
	margin: 0;
	color: var(--ew-color-heading);
	font-size: var(--ew-pp-card-title);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.pp-tyhja__text {
	max-width: var(--ew-measure-prose);
	margin: 0;
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-body);
	line-height: var(--ew-leading-body);
}

.pp-tyhja .pp-actions {
	margin-top: var(--ew-space-2);
}

/* Reading text (Tietosuojaseloste and any default page): one column at a
   reading measure and the site's heading scale. */
.pp-prose {
	max-width: var(--ew-measure-reading);
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-body);
	line-height: var(--ew-leading-body);
}

.pp-prose > * {
	margin-block: 0;
}

.pp-prose > * + * {
	margin-top: var(--ew-space-4);
}

.pp-prose h2 {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	color: var(--ew-color-heading);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.025em;
	line-height: 1.05;
	text-transform: uppercase;
}

.pp-prose h3 {
	margin-top: var(--ew-space-6);
	color: var(--ew-color-heading);
	font-size: 1.25rem;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.pp-prose h2 + *,
.pp-prose h3 + * {
	margin-top: var(--ew-space-3);
}

.pp-prose ul,
.pp-prose ol {
	padding-left: 1.25rem;
}

.pp-prose li + li {
	margin-top: var(--ew-space-2);
}

.pp-prose strong {
	color: var(--ew-color-heading);
	font-weight: var(--ew-weight-semibold);
}

.pp-prose a {
	color: var(--ew-color-heading);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.pp-prose a:hover,
.pp-prose a:focus-visible {
	color: var(--ew-color-accent-text);
}

/* Quote request (template-tarjous.php): the calculator layout with a
   three-step form. Only what the calculator does not already draw. */
.pp-laskuri--tarjous .ew-crumbs {
	margin-bottom: var(--ew-space-5);
}

.pp-laskuri__options--services {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
}

.pp-laskuri__options--services .pp-laskuri__media {
	aspect-ratio: 3 / 2;
}

/* Phones: two cards per row in the quote form (services) and in the price
   calculator on the page (floor types, treatments), as the full-screen
   calculator mode already does. The tick moves onto the photo's corner to
   leave the narrow card body to the title. */
@media (max-width: 40rem) {
	.pp-laskuri__options--services,
	.pp-laskuri__options--types,
	.pp-laskuri__options--treat {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.625rem;
	}

	.pp-laskuri__options .pp-laskuri__cardbody {
		gap: 0.5rem;
		padding: 0.625rem 0.75rem 0.75rem;
	}

	.pp-laskuri__options .pp-laskuri__cardtitle {
		font-size: 0.9375rem;
		line-height: 1.3;
		hyphens: manual;
	}

	.pp-laskuri__options .pp-laskuri__cardsub {
		font-size: 0.75rem;
	}

	.pp-laskuri__options .pp-laskuri__card:not(.pp-laskuri__card--plain) .pp-laskuri__tick {
		position: absolute;
		top: 0.5rem;
		right: 0.5rem;
		background: var(--ew-color-surface);
	}
}

/* Quote form and price calculator (page view): Takaisin / Jatka stay in
   reach at the bottom of the screen while a long step scrolls, and come to
   rest in their place at the end of the panel. The full-screen calculator
   (html.pp-laskuri-mode) fits the viewport and keeps its own layout.
   "clip" keeps the rounded corners without making the panel a scroll
   container (which "hidden" did, and that disables sticky). The row bleeds
   over the panel padding so cards never show beside it. */
.pp-laskuri--tarjous .pp-laskuri__panel,
html:not(.pp-laskuri-mode) .pp-laskuri__panel:has([data-pp-form="hintalaskuri"]) {
	overflow: clip;
}

/* A sticky element cannot leave its parent, and .pp-laskuri__nav is only as
   tall as the row. "contents" makes the form (a flex column holding all the
   steps) the row's parent. Not when the script hides the nav ([hidden],
   after sending). The row draws its own top hairline, and the first visible
   item takes over the nav's margin-top: auto. */
.pp-laskuri--tarjous .pp-laskuri__nav:not([hidden]),
html:not(.pp-laskuri-mode) [data-pp-form="hintalaskuri"] .pp-laskuri__nav:not([hidden]) {
	display: contents;
}

.pp-laskuri--tarjous .pp-laskuri__err:not(:empty),
.pp-laskuri--tarjous .pp-laskuri__err:empty + .pp-laskuri__navrow,
html:not(.pp-laskuri-mode) [data-pp-form="hintalaskuri"] .pp-laskuri__err:not(:empty),
html:not(.pp-laskuri-mode) [data-pp-form="hintalaskuri"] .pp-laskuri__err:empty + .pp-laskuri__navrow {
	margin-top: auto;
}

.pp-laskuri--tarjous .pp-laskuri__navrow,
html:not(.pp-laskuri-mode) [data-pp-form="hintalaskuri"] .pp-laskuri__navrow {
	--pp-navrow-pad: clamp(1.5rem, 3.4vw, 3rem);
	position: sticky;
	bottom: 0;
	z-index: 2;
	margin-inline: calc(var(--pp-navrow-pad) * -1);
	padding: 0.75rem var(--pp-navrow-pad) calc(0.75rem + env(safe-area-inset-bottom, 0px));
	background: var(--ew-color-surface);
	box-shadow: 0 -1px 0 var(--ew-color-line-soft), 0 -14px 18px -16px rgb(31 30 28 / 0.35);
}

.pp-laskuri__card--plain {
	justify-content: center;
}

.pp-laskuri__card--plain .pp-laskuri__cardbody {
	flex: 0 0 auto;
	align-items: center;
	min-height: 3.5rem;
}

.pp-laskuri__field select {
	width: 100%;
	height: 3.125rem;
	padding: 0 1.5rem 0 0;
	border: 0;
	border-bottom: 1px solid var(--ew-color-input-line);
	border-radius: 0;
	background-color: transparent;
	color: var(--ew-color-heading);
	font-family: inherit;
	font-size: 1.0625rem;
	font-weight: var(--ew-weight-regular);
	transition: border-color 0.3s ease;
}

.pp-laskuri__field select:hover {
	border-bottom-color: var(--ew-color-charcoal);
}

.pp-laskuri__field select:focus-visible {
	outline: none;
	border-bottom-color: var(--ew-color-cta);
}

.pp-laskuri__field .pp-field__optional,
.pp-laskuri__field .pp-field__help,
.pp-laskuri__label .pp-field__optional {
	font-weight: var(--ew-weight-regular);
}

.pp-laskuri__number--compact input {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	text-align: left;
}

.pp-laskuri__file input[type="file"] {
	height: auto;
	padding: 0.75rem 0;
	font-size: 0.9375rem;
}

.pp-laskuri__fields > .pp-consent {
	grid-column: 1 / -1;
	margin: 0;
}

.pp-laskuri__fine {
	margin: 0.75rem 0 0;
	color: var(--ew-color-sign);
	font-size: 0.8125rem;
	text-align: right;
}

.pp-tarjous-info {
	display: grid;
	gap: var(--ew-space-6);
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.pp-tarjous-info > div {
	display: grid;
	gap: var(--ew-space-4);
}

.pp-tarjous-info .pp-tag,
.pp-tarjous-info .pp-note {
	margin: 0;
}

.pp-laskuri__panel > .pp-laskuri__inner > .pp-status {
	margin-bottom: var(--ew-space-5);
}

/* Default page body under the compact heading: one gap, not two. */
.pp-sivuotsikko + .pp-sivu {
	padding-top: 0;
}

/* Testimonials (sections/pp-palautteet.php). */
.pp-palautteet__side {
	display: grid;
	justify-items: start;
	gap: var(--ew-space-3);
}

.pp-palautteet__side > .pp-text {
	margin: 0;
}

.pp-palautteet__list {
	margin-top: 0;
}

.pp-quote__stars {
	margin: 0;
	color: var(--ew-color-accent-text);
	font-size: 0.875rem;
	letter-spacing: 0.12em;
}

.pp-quote__date {
	display: block;
	margin-top: 0.25rem;
	color: var(--ew-color-text-meta);
	font-weight: var(--ew-weight-regular);
	letter-spacing: 0.04em;
}

/* Company details (Meistä): a ruled row under a wood tag. */
.pp-yritystiedot {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.pp-yritystiedot .pp-tag {
	margin: 0;
	padding-top: var(--ew-space-5);
}

.pp-facts--wide {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	margin-top: 0;
}

/* Yhteystiedot: details left, the form panel right. */
.pp-yhteys__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 5vw, 5.5rem);
	align-items: start;
}

.pp-yhteys__tiedot {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
}

.pp-yhteys__tiedot > div {
	display: grid;
	gap: var(--ew-space-4);
}

.pp-yhteys__tiedot .pp-tag,
.pp-yhteys__tiedot .pp-note {
	margin: 0;
}

.pp-yhteys__panel .pp-laskuri__inner {
	min-height: 0;
}

.pp-contactlist--large dd {
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: -0.01em;
}

.pp-contactlist a:hover,
.pp-contactlist a:focus-visible {
	color: var(--ew-color-accent-text);
}

@media (max-width: 60rem) {
	.pp-yhteys__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-yhteys__panel {
		order: -1;
	}
}

/* ---------------------------------------------------- 21. Projects
   Archive, related projects and the project page, drawn with the shared
   project item (the homepage projects row) and the shared intro. Replaces
   projecten.css and project.css (26.11.2026). */

/* Project item (components/project-kaart.php). */
.pp-projekti {
	min-width: 0;
}

.pp-projekti__link {
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
	color: var(--ew-color-heading);
	text-decoration: none;
}

.pp-projekti__frame {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--ew-pp-image-radius);
	background: var(--ew-pp-image-bg);
}

.pp-projekti__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 60%;
	transition: transform 0.9s var(--ew-motion-ease-out);
}

.pp-projekti__link:hover .pp-projekti__frame img,
.pp-projekti__link:focus-visible .pp-projekti__frame img {
	transform: scale(var(--ew-pp-lift));
}

.pp-projekti__link:focus-visible {
	outline: 2px solid var(--ew-color-focus);
	outline-offset: 4px;
}

.pp-projekti__status {
	position: absolute;
	top: 0.875rem;
	left: 0.875rem;
	padding: 0.375rem 0.625rem;
	border-radius: var(--ew-radius-xs);
	background: var(--ew-color-background);
	color: var(--ew-color-heading);
	font-size: var(--ew-pp-tag-size);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-pp-tag-tracking);
	text-transform: uppercase;
}

.pp-projekti__text {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.pp-projekti__title {
	font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.4375rem);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: -0.015em;
	line-height: 1.25;
	transition: color var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

.pp-projekti__link:hover .pp-projekti__title {
	color: var(--ew-color-accent-text);
}

/* Archive (archive-project.php). */
.pp-arkisto__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--ew-space-4) var(--ew-space-6);
	margin-bottom: clamp(2rem, 4vw, 3rem);
	padding-bottom: var(--ew-space-4);
	border-bottom: 1px solid var(--ew-color-line-2);
}

.pp-arkisto__status {
	margin: 0 0 0 auto;
	color: var(--ew-color-text-meta);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

.pp-arkisto__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1rem, 2vw, 1.75rem);
}

.pp-arkisto[aria-busy="true"] .pp-arkisto__grid {
	opacity: 0.5;
	transition: opacity var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

.pp-arkisto__more {
	display: flex;
	justify-content: center;
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.pp-arkisto__more[hidden] {
	display: none;
}

/* Category chips (sections/project-filters.php), only when categories
   exist. */
.ew-filters__lijst {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ew-filters__knop {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0 1rem;
	border: 1px solid var(--ew-color-line-2);
	border-radius: var(--ew-radius-sm);
	color: var(--ew-color-heading);
	font-size: 0.9375rem;
	font-weight: var(--ew-weight-medium);
	text-decoration: none;
	transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.ew-filters__knop:hover {
	border-color: var(--ew-color-charcoal);
}

.ew-filters__knop[aria-current="true"] {
	border-color: var(--ew-color-charcoal);
	background: var(--ew-color-charcoal);
	color: var(--ew-color-white);
}

.ew-filters__knop:focus-visible {
	outline: 2px solid var(--ew-color-focus);
	outline-offset: 3px;
}

/* Project intro (sections/project-intro.php). */
.pp-projekti-intro__media {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pp-projekti-intro__media .pp-figure__frame {
	aspect-ratio: 16 / 9;
}

.pp-projekti-intro__solo {
	max-width: var(--ew-measure-reading);
}

.pp-projekti-intro__main {
	display: grid;
	gap: var(--ew-space-6);
}

.pp-projekti-intro__extra {
	display: grid;
	gap: var(--ew-space-3);
}

.pp-projekti-intro__extra > *,
.pp-projekti-intro__extra .pp-text > * {
	margin: 0;
}

.pp-projekti-intro__partners {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ew-color-heading);
	font-weight: var(--ew-weight-medium);
}

.pp-projekti-intro__partners a {
	color: inherit;
	text-underline-offset: 0.2em;
}

.pp-projekti-intro__side {
	display: grid;
	gap: var(--ew-space-4);
}

.pp-projekti-intro__side p {
	margin: 0;
}

/* Facts as a stacked ruled list beside a text. */
.pp-facts--stack {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin-top: 0;
	padding-top: 0;
}

.pp-facts--stack > div {
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: var(--ew-space-4);
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--ew-color-line-2);
}

/* Steps of a project (sections/project-onderdelen.php). */
.pp-vaiheet__title {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pp-vaiheet__lista {
	display: grid;
	gap: clamp(3.5rem, 2rem + 4vw, 6rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pp-vaihe {
	display: grid;
	gap: var(--ew-space-5);
	align-items: start;
	padding-top: var(--ew-space-5);
	border-top: 1px solid var(--ew-color-charcoal);
}

.pp-vaihe__tekst {
	max-width: 34rem;
}

.pp-vaihe__nummer {
	margin: 0 0 var(--ew-space-3);
	color: var(--ew-color-text-meta);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
}

.pp-vaihe__titel {
	margin: 0 0 var(--ew-space-3);
	color: var(--ew-color-heading);
	font-size: var(--ew-pp-card-title);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.pp-vaihe__body {
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-body);
	line-height: var(--ew-leading-body);
}

.pp-vaihe__body p {
	margin: 0 0 0.75em;
}

.pp-vaihe__body p:last-child {
	margin-bottom: 0;
}

.pp-vaihe__beelden {
	display: grid;
	gap: 0.5rem;
	min-width: 0;
}

.pp-vaihe__rest {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pp-vaihe__tegel {
	min-width: 0;
	min-height: 0;
}

.pp-vaihe__hoofd,
.pp-vaihe__foto {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: var(--ew-pp-image-radius);
	background: var(--ew-pp-image-bg);
	cursor: zoom-in;
}

.pp-vaihe__hoofd img,
.pp-vaihe__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ew-motion-ease-out);
}

.pp-vaihe__hoofd:hover img,
.pp-vaihe__foto:hover img {
	transform: scale(var(--ew-pp-lift));
}

.pp-vaihe__hoofd:focus-visible,
.pp-vaihe__foto:focus-visible {
	outline: 2px solid var(--ew-color-focus);
	outline-offset: 3px;
}

.pp-vaihe__meer {
	display: none;
}

@media (min-width: 40rem) {
	.pp-vaihe__beelden {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	/* The main photo sets the row height; the 2 x 2 mosaic fills it. */
	.pp-vaihe__rest {
		grid-template-rows: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
		height: 0;
		min-height: 100%;
	}

	.pp-vaihe__tegel:nth-child(n + 5) {
		display: none;
	}

	.pp-vaihe__tegel .pp-vaihe__foto {
		height: 100%;
		aspect-ratio: auto;
	}

	.pp-vaihe__tegel:only-child {
		grid-column: 1 / -1;
		grid-row: 1 / -1;
	}

	.pp-vaihe__tegel:first-child:nth-last-child(2),
.pp-vaihe__tegel:first-child:nth-last-child(2) ~ .pp-vaihe__tegel,
.pp-vaihe__tegel:first-child:nth-last-child(3) {
		grid-column: 1 / -1;
	}

	.pp-vaihe__meer {
		position: absolute;
		inset: 0;
		display: grid;
		place-items: center;
		background: color-mix(in srgb, var(--ew-color-charcoal) 55%, transparent);
		color: var(--ew-color-text-on-dark);
		font-size: var(--ew-text-body-large);
		font-weight: var(--ew-weight-semibold);
	}

	.pp-vaihe--een-beeld .pp-vaihe__beelden {
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-vaihe--een-beeld .pp-vaihe__hoofd {
		aspect-ratio: 3 / 2;
	}
}

@media (min-width: 64.0625rem) {
	.pp-vaihe {
		grid-template-columns: minmax(0, 5fr) minmax(0, 12fr);
		gap: clamp(2.5rem, 1rem + 3.5vw, 5rem);
	}

	.pp-vaihe__tekst {
		position: sticky;
		top: var(--ew-pp-sticky-top);
	}

	.pp-vaihe--zonder-beeld {
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-vaihe--zonder-beeld .pp-vaihe__tekst {
		position: static;
	}
}

/* Previous and next project (sections/project-navigatie.php). */
.pp-naapurit__lijst {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 var(--ew-grid-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ew-color-charcoal);
}

.pp-naapurit__item {
	min-width: 0;
	border-bottom: 1px solid var(--ew-color-line-2);
}

.pp-naapurit__link {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr) auto;
	gap: var(--ew-space-4);
	align-items: center;
	padding: var(--ew-space-4) 0;
	color: var(--ew-color-heading);
	text-decoration: none;
}

.pp-naapurit__item--volgende .pp-naapurit__link {
	grid-template-columns: minmax(0, 1fr) 5.5rem auto;
	text-align: right;
}

.pp-naapurit__item--volgende .pp-naapurit__foto {
	order: 2;
}

.pp-naapurit__item--volgende .pp-naapurit__tekst {
	order: 1;
}

.pp-naapurit__item--volgende .pp-naapurit__pijl {
	order: 3;
}

.pp-naapurit__foto {
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--ew-pp-image-radius);
	background: var(--ew-pp-image-bg);
}

.pp-naapurit__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ew-motion-ease-out);
}

.pp-naapurit__tekst {
	display: grid;
	gap: 0.25rem;
	min-width: 0;
}

.pp-naapurit__richting {
	color: var(--ew-color-oak-text);
	font-size: var(--ew-pp-tag-size);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-pp-tag-tracking);
	text-transform: uppercase;
}

.pp-naapurit__titel {
	font-size: 1.125rem;
	font-weight: var(--ew-weight-semibold);
	line-height: 1.3;
	transition: color var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

.pp-naapurit__pijl {
	color: var(--ew-color-sign);
	transition: transform 0.45s var(--ew-motion-ease-out);
}

.pp-naapurit__link:hover .pp-naapurit__titel,
.pp-naapurit__link:focus-visible .pp-naapurit__titel {
	color: var(--ew-color-accent-text);
}

.pp-naapurit__link:hover .pp-naapurit__foto img {
	transform: scale(var(--ew-pp-lift));
}

.pp-naapurit__item--vorige .pp-naapurit__link:hover .pp-naapurit__pijl {
	transform: translateX(calc(var(--ew-pp-arrow-shift) * -1));
}

.pp-naapurit__item--volgende .pp-naapurit__link:hover .pp-naapurit__pijl {
	transform: translateX(var(--ew-pp-arrow-shift));
}

.pp-naapurit__link:focus-visible {
	outline: 2px solid var(--ew-color-focus);
	outline-offset: 2px;
}

.pp-naapurit__alle {
	margin: var(--ew-space-5) 0 0;
}

@media (max-width: 47.99rem) {
	.pp-naapurit__lijst {
		grid-template-columns: minmax(0, 1fr);
	}

	.pp-naapurit__item--leeg {
		display: none;
	}

	.pp-naapurit__item--volgende .pp-naapurit__link {
		grid-template-columns: 4.5rem minmax(0, 1fr) auto;
		text-align: left;
	}

	.pp-naapurit__item--volgende .pp-naapurit__foto,
.pp-naapurit__item--volgende .pp-naapurit__tekst {
		order: 0;
	}

	.pp-naapurit__link {
		grid-template-columns: 4.5rem minmax(0, 1fr) auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pp-projekti__frame img,
.pp-vaihe__hoofd img,
.pp-vaihe__foto img,
.pp-naapurit__foto img,
.pp-naapurit__pijl {
		transition: none;
	}

	.pp-projekti__link:hover .pp-projekti__frame img,
.pp-vaihe__hoofd:hover img,
.pp-vaihe__foto:hover img,
.pp-naapurit__link:hover .pp-naapurit__foto img {
		transform: none;
	}
}

/* Lightbox (assets/js/lightbox.js), project steps. Moved from project.css. */

html.ew-beeldviewer-open {
	overflow: hidden;
}

.ew-beeldviewer {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(20, 19, 20, 0.97);
	color: var(--ew-color-text-on-dark);
	overscroll-behavior: contain;
}

.ew-beeldviewer::backdrop {
	background: transparent;
}

.ew-beeldviewer[open] {
	display: grid;
	place-items: center;
	animation: ew-beeldviewer-in var(--ew-motion-duration-normal) var(--ew-motion-ease) both;
}

@keyframes ew-beeldviewer-in {
	from {
		opacity: 0;
	}
}

.ew-beeldviewer__figuur {
	display: grid;
	gap: var(--ew-space-3);
	justify-items: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: clamp(3.5rem, 2rem + 4vw, 5rem) clamp(1rem, 0.5rem + 6vw, 6rem) var(--ew-space-5);
	box-sizing: border-box;
	grid-template-rows: minmax(0, 1fr) auto;
}

.ew-beeldviewer__beeld {
	display: block;
	align-self: center;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 9rem);
	max-height: calc(100dvh - 9rem);
	min-height: 0;
	object-fit: contain;
	border-radius: var(--ew-radius-sm);
	transition: opacity var(--ew-motion-duration-normal) var(--ew-motion-ease);
	touch-action: pan-y;
	user-select: none;
}

.ew-beeldviewer.is-laden .ew-beeldviewer__beeld {
	opacity: 0.35;
}

.ew-beeldviewer__bijschrift {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 1rem;
	max-width: 46rem;
	color: var(--ew-color-text-on-dark-muted);
	font-size: var(--ew-text-small);
	text-align: center;
}

.ew-beeldviewer__teller {
	color: var(--ew-color-text-on-dark);
	font-variant-numeric: tabular-nums;
}

.ew-beeldviewer__knop {
	position: absolute;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(243, 241, 236, 0.25);
	border-radius: 50%;
	background: rgba(20, 19, 20, 0.5);
	color: var(--ew-color-text-on-dark);
	font-size: 1.25rem;
	cursor: pointer;
	transition: background-color var(--ew-motion-duration-fast) var(--ew-motion-ease), border-color var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-beeldviewer__knop:hover {
	border-color: var(--ew-color-text-on-dark);
	background: rgba(243, 241, 236, 0.12);
}

.ew-beeldviewer__knop:focus-visible {
	outline: 2px solid var(--ew-color-text-on-dark);
	outline-offset: 2px;
}

.ew-beeldviewer__knop[hidden] {
	display: none;
}

.ew-beeldviewer__sluit {
	top: var(--ew-space-4);
	right: var(--ew-space-4);
}

.ew-beeldviewer__vorige,
.ew-beeldviewer__volgende {
	top: 50%;
	margin-top: -1.5rem;
}

.ew-beeldviewer__vorige {
	left: var(--ew-space-4);
}

.ew-beeldviewer__volgende {
	right: var(--ew-space-4);
}

@media (max-width: 40rem) {
	.ew-beeldviewer__vorige,
.ew-beeldviewer__volgende {
		top: auto;
		bottom: var(--ew-space-4);
		margin-top: 0;
	}

	.ew-beeldviewer__figuur {
		padding-bottom: 5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ew-beeldviewer[open],
.ew-beeldviewer__beeld {
		animation: none;
		transition: none;
	}
}

/* ---------------------------------------------------- 22. Search and 404 */

/* Search form (searchform.php): the calculator's underline field and
   primary button. */
.pp-haku {
	display: flex;
	align-items: flex-end;
	gap: var(--ew-space-4);
	max-width: 40rem;
}

.pp-haku input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 3.5rem;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--ew-color-input-line);
	border-radius: 0;
	background: transparent;
	color: var(--ew-color-heading);
	font: inherit;
	font-size: 1.125rem;
	transition: border-color 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.pp-haku input[type="search"]:hover {
	border-bottom-color: var(--ew-color-charcoal);
}

.pp-haku input[type="search"]:focus-visible {
	outline: none;
	border-bottom-color: var(--ew-color-cta);
}

.pp-haku__button {
	flex: none;
	min-width: 0;
	margin-left: 0;
}

.pp-hakutulokset {
	padding-top: 0;
}

.pp-hakutulokset__form {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pp-hakutulokset__list {
	max-width: 52rem;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ew-color-charcoal);
}

.pp-hakutulos {
	border-bottom: 1px solid var(--ew-color-line-2);
}

.pp-hakutulos__link {
	display: grid;
	gap: 0.5rem;
	padding: var(--ew-space-5) 0;
	color: var(--ew-color-heading);
	text-decoration: none;
}

.pp-hakutulos__title {
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.2;
	transition: color var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

.pp-hakutulos__text {
	max-width: var(--ew-measure-prose);
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-small);
	line-height: 1.6;
}

.pp-hakutulos__link:hover .pp-hakutulos__title,
.pp-hakutulos__link:focus-visible .pp-hakutulos__title {
	color: var(--ew-color-accent-text);
}

.pp-hakutulos__link:focus-visible {
	outline: 2px solid var(--ew-color-focus);
	outline-offset: 2px;
}

/* Pagination (search). */
.pp-sivutus {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.pp-sivutus .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pp-sivutus .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.875rem;
	border: 1px solid var(--ew-color-line-2);
	border-radius: var(--ew-radius-sm);
	color: var(--ew-color-heading);
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
}

.pp-sivutus a.page-numbers:hover {
	border-color: var(--ew-color-charcoal);
}

.pp-sivutus .current {
	border-color: var(--ew-color-charcoal);
	background: var(--ew-color-charcoal);
	color: var(--ew-color-white);
}

/* 404: the search under the heading. */
.pp-404-haku {
	padding-bottom: clamp(1rem, 3vw, 2rem);
}

@media (max-width: 30rem) {
	.pp-haku {
		flex-direction: column;
		align-items: stretch;
	}
}

/* Quote request on phones and small tablets (one column): the form follows
   the heading and the rail; next steps and contact move below the form. */
@media (max-width: 52rem) {
	.pp-laskuri--tarjous .pp-laskuri__grid {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: var(--ew-space-5);
	}

	.pp-laskuri--tarjous .pp-laskuri__intro {
		display: contents;
	}

	.pp-laskuri--tarjous .pp-laskuri__panel {
		order: 1;
		width: 100%;
	}

	.pp-laskuri--tarjous .pp-laskuri__panel,
.pp-laskuri--tarjous .pp-tarjous-info {
		margin-top: var(--ew-space-4);
	}

	.pp-laskuri--tarjous .pp-tarjous-info {
		order: 2;
	}

	.pp-laskuri--tarjous .ew-crumbs,
.pp-laskuri--tarjous .pp-eyebrow {
		align-self: flex-start;
	}

	.pp-laskuri--tarjous .ew-crumbs,
.pp-laskuri--tarjous .pp-eyebrow,
.pp-laskuri--tarjous .pp-laskuri__lede,
.pp-laskuri--tarjous .pp-laskuri__rail {
		margin-block: 0;
	}
}

/* ------------------------------------- Service copy: inline links (1.29)
   [[target|anchor]] links inside service paragraphs, cards and FAQ
   answers (parkettipro_teksti_html()). Underlined like .pp-link, without
   the arrow, so a sentence reads as one line. */

.pp-tekstilinkki {
	color: var(--ew-color-heading);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

.pp-tekstilinkki:hover,
.pp-tekstilinkki:focus-visible {
	color: var(--ew-color-accent-text);
}

/* The next step under the FAQ list: one short line and a text link. */

.pp-faq__cta {
	max-width: var(--ew-measure-prose);
	margin-top: var(--ew-space-6);
}

.pp-faq__cta p {
	margin: 0 0 var(--ew-space-2);
	color: var(--ew-color-text);
	font-size: var(--ew-text-body);
	line-height: var(--ew-leading-body);
}

/* ------------------------------------------- "From" price (1.27, .pp-hinta)
   The sanding price as the large figure above the lede, in the form of the
   deduction rate (.pp-kv__luvut / .pp-kv__paa); the unit is set smaller so
   "40 €/m²" stays on one line at 320px. The worked examples reuse the
   receipt of the deduction example. */

.pp-hinta__alkaen {
	margin: 0 0 clamp(1.25rem, 3vw, 2rem);
	padding-top: 0;
}

.pp-hinta__yksikko {
	margin-left: 0.06em;
	font-size: 0.36em;
	letter-spacing: -0.01em;
}

.pp-hinta__esimerkit {
	grid-template-columns: minmax(0, 1fr);
	max-width: 30rem;
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

/* Room labels may wrap at 320px; the amounts stay on one line. */
.pp-hinta__esimerkit .pp-kv__kuitti dt {
	white-space: normal;
}

/* Six services (1.27): the dark quote tile is the seventh card and takes
   the whole last row, so no grid cell stays empty at two or three columns. */
.pp-svc-grid > .pp-svc--cta:nth-child(7) {
	grid-column: 1 / -1;
	min-height: 0;
}

/* No call button in the header bar on phones or tablets (owner,
   29.11.2026): below the desktop layout the bar keeps the logo, "Tarjous"
   and the menu. The number stays in the menu panel ("Soita …") and the
   footer; desktop keeps "Soita meille" in the header tools. */
.pp-hdr__phone-compact {
	display: none;
}
