/* e-Websites Starter design tokens
   Primitive values, semantic roles, then component decisions.
   Change the brand block and the two scheme blocks for a new client.
   Components must consume these custom properties.

   Thema's: :root is het lichte thema. :root[data-thema="donker"] verderop
   zet dezelfde semantische rollen op hun donkere waarde; het attribuut komt
   van inc/thema.php (voor de eerste paint) en assets/js/thema.js (de
   schakelaar in de footer). Een kleur die per thema verschilt staat in beide
   blokken, nergens anders. De primitieven (--ew-color-offwhite, -charcoal,
   -white, -oak, -grey) zijn in beide thema's gelijk: gebruik ze alleen voor
   wat niet meekleurt, zoals tekst op een foto. */

/* Instrument Sans (OFL, see assets/fonts/OFL-instrument-sans.txt). One
   variable file with both axes: weight 400–700 and width 75–100 %. The
   design direction sets headings at font-stretch 88 %. */
@font-face {
	font-family: "Instrument Sans Variable";
	src: url("../fonts/instrument-sans-variable-wdth-wght.woff2") format("woff2");
	font-weight: 400 700;
	font-stretch: 75% 100%;
	font-style: normal;
	font-display: swap;
}

/* Caveat (OFL, see assets/fonts/OFL-caveat.txt): the handwritten accent of
   the design direction (hero labels and every eyebrow). */
@font-face {
	font-family: "Caveat Variable";
	src: url("../fonts/caveat-variable-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallback while the variable font loads (font-display: swap): local Arial,
   scaled to the width and vertical metrics of Instrument Sans so the swap
   does not move the layout. Measured on the Dutch body copy at 400 to 600. */
@font-face {
	font-family: "Instrument Sans Fallback";
	src: local("Arial"), local("ArialMT"), local("Liberation Sans");
	size-adjust: 103%;
	ascent-override: 94.2%;
	descent-override: 24.3%;
	line-gap-override: 0%;
}

:root {
	/*
	 * Colours, buttons and surfaces. Change these to rebrand.
	 * Components read the semantic names. Section schemes only
	 * switch the page background and the text that sits on it.
	 */
	/* ParkettiPro palette (docs/design-direction.md): warm ivory paper and a
	   deep warm ink carry the page; the photographs bring the wood colour.
	   Muted stone (#625d55, 5.8:1 on paper) is for running secondary text;
	   the grey is metadata at larger sizes only. One accent: burnt orange from
	   the logo, deepened to #c4470c so white button text passes AA (4.9:1).
	   It fills the primary action only. Oak is a quiet detail colour. */
	--ew-color-offwhite: #f4f2ed;
	--ew-color-charcoal: #1f1e1c;
	--ew-color-grey: #9a958b;
	--ew-color-oak: #8a6a4a;
	--ew-color-oak-text: #8a6a4a;
	--ew-color-linen: #e7e4dd;
	--ew-color-stone: #5e5a53;
	--ew-color-cta: #c4470c;
	--ew-color-cta-hover: #a93c08;
	/* The burnt orange as text on ink (eyebrow in the dark tile, 6.2:1). */
	--ew-color-cta-on-dark: #e8875a;
	--ew-color-primary: var(--ew-color-charcoal);
	--ew-color-primary-hover: #33312e;
	/* Tekst op een vlak in de primaire kleur (actief filter). */
	--ew-color-on-primary: var(--ew-color-offwhite);
	/* Tekst op de CTA-knop (oranje). */
	--ew-color-on-cta: var(--ew-color-white);
	--ew-color-secondary: var(--ew-color-linen);
	--ew-color-secondary-hover: #dcd8cf;
	--ew-color-accent: var(--ew-color-oak);
	--ew-color-background: var(--ew-color-offwhite);
	--ew-color-background-alt: var(--ew-color-linen);
	--ew-color-background-dark: var(--ew-color-charcoal);
	--ew-color-surface: var(--ew-color-white);
	--ew-color-text: var(--ew-color-charcoal);
	/* De -page varianten houden de waarde van de pagina zelf vast. Een
	   sectie met data-scheme="dark" overschrijft --ew-color-text-muted en
	   --ew-color-border; een licht vlak daarbinnen (de vastgezette header)
	   haalt de paginawaarde hier terug. */
	--ew-color-text-muted-page: var(--ew-color-stone);
	--ew-color-text-muted: var(--ew-color-text-muted-page);
	--ew-color-text-meta: var(--ew-color-grey);
	--ew-color-text-on-dark: #f2f0eb;
	--ew-color-text-on-dark-muted: #cfcbc2;
	--ew-color-border-page: #e6e2da;
	--ew-color-border: var(--ew-color-border-page);
	--ew-color-success: #3f6b4a;
	--ew-color-warning: #8a6232;
	--ew-color-error: #8f3d3d;
	--ew-color-error-soft: #f6ebe8;
	--ew-color-overlay: rgba(31, 29, 27, 0.42);
	/* Photographic scrim: darkest where the copy sits (bottom left). */
	--ew-color-overlay-hero: linear-gradient(90deg, rgb(22 24 24 / 0.78) 0%, rgb(22 24 24 / 0) 62%);
	--ew-color-white: #ffffff;
	/* Schaduwkleur als kanalen, voor rgb(var(--ew-schaduw-rgb) / alfa). */
	--ew-schaduw-rgb: 31 29 27;
	/* Warme schaduw onder een vrijstaand object (de machine in de footerband). */
	--ew-schaduw-warm-rgb: 38 26 18;
	/* Strijklicht van boven op een vlak dat naar voren komt (kaarten en
	   panelen). Het lichte thema is vlak; in het
	   donkere thema geeft het de diepte die een schaduw daar niet geeft. */
	--ew-vlak-glans: none;
	/* ParkettiPro logo is multicolour (wordmark + orange PRO). Do not invert.
	   The inline SVG wordmark takes this colour; the badge (CTA colour) + white PRO
	   stay the same in every place. Reverse (white) on dark chrome: .ew-brandlogo--light. */
	--ew-logo-filter: none;
	--ew-color-logo-word: #000;
	--ew-color-logo-word-reverse: #fff;
	/* PNG logo in the footer (ewebsites_the_logo_png()): black wordmark in
	   the light theme, white wordmark in the dark theme. */
	--ew-logo-png-musta: block;
	--ew-logo-png-valkoinen: none;
	/* PRO badge in the CTA colour; a warm light drifts inside it. */
	--ew-color-logo-badge: var(--ew-color-cta);
	--ew-color-logo-glow: #ff8a4c;
	color-scheme: light;

	/* Existing component names, pointed at the roles above. */
	--ew-palette-primary: var(--ew-color-primary);
	--ew-palette-primary-hover: var(--ew-color-primary-hover);
	--ew-palette-secondary: var(--ew-color-secondary);
	--ew-palette-accent: var(--ew-color-accent);
	--ew-palette-background: var(--ew-color-background);
	--ew-palette-band: var(--ew-color-background-alt);
	--ew-palette-surface: var(--ew-color-surface);
	--ew-palette-surface-muted: var(--ew-color-background-alt);
	--ew-palette-heading: var(--ew-color-text);
	--ew-palette-body: var(--ew-color-text-muted);
	--ew-palette-body-soft: var(--ew-color-text-muted);
	/* paper-0 en paper-50 zijn wit op een donker vlak of een foto, in beide
	   thema's. */
	--ew-color-paper-0: var(--ew-color-white);
	--ew-color-paper-50: var(--ew-color-white);
	--ew-color-paper-100: var(--ew-color-background-alt);
	--ew-color-ink-900: var(--ew-color-text);
	--ew-color-ink-800: var(--ew-color-text);
	--ew-color-ink-700: var(--ew-color-text);
	--ew-color-ink-500: var(--ew-color-text-muted);
	--ew-color-ink-300: var(--ew-color-border);
	--ew-color-line: var(--ew-color-border);
	--ew-color-primary-800: var(--ew-color-primary-hover);
	--ew-color-primary-700: var(--ew-color-primary);
	--ew-color-primary-100: var(--ew-color-secondary);
	--ew-color-line-accent: var(--ew-color-border);
	--ew-color-metal: var(--ew-color-border);
	--ew-color-selection: var(--ew-color-secondary);
	--ew-color-announce-bg: var(--ew-color-background-dark);
	--ew-color-announce-fg: var(--ew-color-text-on-dark);
	--ew-color-announce-line: rgba(243, 241, 236, 0.12);
	--ew-color-announce-muted: rgba(243, 241, 236, 0.72);
	/* Availability dot in the top bar. */
	--ew-color-status-open: #7cc68a;
	--ew-color-status-open-ring: rgba(124, 198, 138, 0.2);
	--ew-color-status-closed: #a8a29a;
	/* Availability dot in the top bar (header handoff 25.11.2026). */
	--ew-color-ok: #5ec278;
	/* Handoff text-2 (nav links, text on the grain band) and the inset on ink. */
	--ew-color-ink-soft: #4a4741;
	--ew-color-ink-inset: #2a2826;
	--ew-color-on-dark-soft: var(--ew-color-text-on-dark-muted);
	--ew-color-on-dark-border: var(--ew-color-border);
	--ew-color-text-primary: var(--ew-color-text);
	--ew-color-text-secondary: var(--ew-color-text);
	--ew-color-surface-elevated: var(--ew-color-surface);
	--color-background: var(--ew-color-background);
	--color-surface: var(--ew-color-surface);
	--color-text-primary: var(--ew-color-text);
	--ew-shadow-panel: none;

	/* Primitive: type */
	--ew-font-instrument: "Instrument Sans Variable", "Instrument Sans Fallback", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
	/* One family site-wide since 1.23.2: Instrument Sans, the face of the
	   hero titles. Headings are set bold with tight tracking; the hero
	   titles add capitals. Caveat is the short handwritten note above a
	   title, at most once per section (design direction 1.24). */
	--ew-font-display: var(--ew-font-instrument);
	--ew-font-script: "Caveat Variable", "Segoe Print", "Bradley Hand", cursive;
	--ew-font-interface: var(--ew-font-instrument);
	--ew-weight-regular: 400;
	--ew-weight-medium: 500;
	--ew-weight-semibold: 600;
	--ew-weight-bold: 680;
	/* Headings in the sans are bold, like the hero titles. */
	--ew-weight-heading: 650;
	--ew-weight-heading-strong: 680;
	--ew-text-display: clamp(2.35rem, 1.15rem + 3.2vw, 4.35rem);
	--ew-text-heading-1: clamp(1.9rem, 1.15rem + 2vw, 3.1rem);
	--ew-text-heading-2: clamp(1.5rem, 1.12rem + 1.05vw, 2.25rem);
	--ew-text-heading-3: clamp(1.2rem, 1.06rem + 0.4vw, 1.5rem);
	--ew-text-heading-4: clamp(1.05rem, 1rem + 0.2vw, 1.25rem);
	--ew-text-body-large: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
	--ew-text-body: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
	--ew-text-small: 0.9375rem;
	--ew-text-label: 0.8125rem;
	--ew-text-caption: 0.75rem;
	--ew-text-eyebrow: 0.75rem;
	--ew-leading-display: 1;
	--ew-leading-heading: 1.1;
	--ew-leading-body: 1.65;
	--ew-tracking-tight: -0.025em;
	--ew-tracking-display: -0.035em;
	--ew-tracking-eyebrow: 0.12em;
	--ew-measure-narrow: 28rem;
	--ew-measure-prose: 36rem;
	--ew-measure-lede: 32rem;

	/* Primitive: space, measure, grid */
	--ew-space-1: 0.25rem;
	--ew-space-2: 0.5rem;
	--ew-space-3: 0.75rem;
	--ew-space-4: 1rem;
	--ew-space-5: 1.5rem;
	--ew-space-6: 2rem;
	--ew-space-7: 3rem;
	--ew-space-8: 4.5rem;
	--ew-space-9: 6.5rem;
	/* Layout shell: content max + shared gutters. All chrome and sections share this. */
	--ew-gutter: 1.5rem;
	--ew-grid-gap: clamp(1.25rem, 0.8rem + 1.6vw, 2.75rem);
	--ew-container-narrow: 47.5rem;
	--ew-container-content: 68rem;
	--ew-container-main: 82.5rem;
	--ew-container-wide: 90rem;
	--ew-container-max: var(--ew-container-wide);

	/* Primitive: shape, line, elevation */
	--ew-radius-none: 0;
	--ew-radius-xs: 2px;
	--ew-radius-sm: 4px;
	--ew-radius-card: 2px;
	--ew-border-hairline: 1px;
	--ew-shadow-none: none;
	--ew-shadow-card: 0 1px 0 rgba(31, 41, 51, 0.05);
	--ew-shadow-header: 0 1px 0 rgba(31, 41, 51, 0.06);
	/* Onder de headerbalk zodra de pagina schuift. Het lichte thema heeft
	   geen schaduw: de haarlijn onder de balk volstaat. */
	--ew-shadow-header-scroll: none;
	--ew-shadow-popover: 0 18px 50px rgba(38, 37, 38, 0.12);
	--ew-shadow-float: 0 24px 60px rgba(20, 19, 20, 0.28);
	/* Primitive: motion and depth */
	--ew-motion-duration-fast: 140ms;
	--ew-motion-duration-normal: 240ms;
	--ew-motion-duration-medium: 300ms;
	--ew-motion-duration-slow: 420ms;
	--ew-motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ew-motion-ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ew-reveal-distance: 0.85rem;
	--ew-z-header: 40;
	--ew-z-dropdown: 50;
	--ew-z-dialog: 70;
	--ew-z-skip: 80;

	--ew-font-heading: var(--ew-font-display);
	--ew-font-body: var(--ew-font-interface);
	--ew-space-section: clamp(4.5rem, 9vw, 8.75rem);
	--ew-space-section-tight: clamp(2.75rem, 1.6rem + 2.2vw, 4.25rem);
	--ew-hero-content-gap: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
	--ew-space-block: var(--ew-space-5);
	--ew-space-stack: var(--ew-space-4);
	--ew-container: var(--ew-container-main);

	/* Component */
	--ew-button-padding-y: 1rem;
	--ew-button-padding-x: 1.5rem;
	--ew-button-font: var(--ew-font-body);
	--ew-button-size: 1rem;
	--ew-button-weight: var(--ew-weight-semibold);
	--ew-button-radius: 0.25rem;
	--ew-button-border: 1px;
	--ew-button-duration: var(--ew-motion-duration-fast);
	--ew-button-primary-bg: var(--ew-color-cta);
	--ew-button-primary-fg: var(--ew-color-on-cta);
	--ew-button-primary-border: var(--ew-color-cta);
	--ew-button-primary-bg-hover: var(--ew-color-cta-hover);
	--ew-button-primary-fg-hover: var(--ew-color-on-cta);
	/* Secondary: a quiet outline in ink; it fills on hover. */
	--ew-button-secondary-bg: transparent;
	--ew-button-secondary-fg: var(--ew-color-text);
	--ew-button-secondary-border: var(--ew-color-text);
	--ew-button-secondary-bg-hover: var(--ew-color-text);
	--ew-button-secondary-fg-hover: var(--ew-color-background);
	--ew-button-outline-bg: transparent;
	--ew-button-outline-fg: var(--ew-color-text);
	--ew-button-outline-border: var(--ew-color-text);
	--ew-button-outline-bg-hover: var(--ew-color-text);
	--ew-button-outline-fg-hover: var(--ew-color-on-primary);
	--ew-button-text-fg: var(--ew-color-text);
	--ew-button-text-fg-hover: var(--ew-color-primary);
	--ew-button-focus: var(--ew-color-cta);
	--ew-color-brand: var(--ew-color-primary);
	--ew-color-brand-contrast: var(--ew-color-on-primary);
	--ew-color-brand-hover: var(--ew-color-primary-hover);
	/* Header bar: the page colour since the 25.11.2026 header handoff. */
	--ew-color-header-bg: var(--ew-color-background);
	/* Warm wit invoervlak. */
	--ew-color-input-bg: #fbfaf7;
	--ew-color-header-fg: var(--ew-color-text);
	/* Footer: the page colour, charcoal type, one hairline above. */
	--ew-color-footer-bg: var(--ew-color-background);
	--ew-color-footer-fg: var(--ew-color-text);
	--ew-color-footer-muted: var(--ew-color-text-muted);
	--ew-color-footer-line: var(--ew-color-border);
	--ew-color-bg: var(--ew-color-background);
	--ew-color-fg: var(--ew-color-text);
	--ew-color-heading: var(--ew-color-text);
	--ew-color-focus: var(--ew-color-cta);

	/* Masthead: top bar and header bar have fixed heights (padding included),
	   so the home hero can subtract them from the viewport and keep the same
	   whitespace above and below the photograph. The 2px are the two hairlines.
	   Smaller screens override the bar heights in components.css. */
	--ew-topbar-height: 2.625rem;
	--ew-header-height: 5.25rem;
	/* Sticky bar after 48px of scroll (.is-scrolled, navigation.js). */
	--ew-header-height-scrolled: 4.25rem;
	--ew-admin-bar-height: 0px;
	--ew-masthead-height: calc(var(--ew-admin-bar-height) + var(--ew-topbar-height) + var(--ew-header-height) + 2px);
	/* Logo link inside the header bar; the logo itself stays 3.5rem. */
	--ew-logo-padding-block-desktop: 0.375rem;
	--ew-logo-padding-inline-desktop: var(--ew-space-2);
	--ew-nav-link-size: 1.0625rem;
	--ew-nav-dropdown-bg: var(--ew-color-surface-elevated);
	--ew-nav-dropdown-fg: var(--ew-color-text-primary);
	--ew-form-border: var(--ew-color-border);
	--ew-form-radius: var(--ew-radius-xs);
	--ew-hero-min-height: min(100svh, 56rem);
	/* Homepage hero: full viewport. Each slide can override the crop. */
	--ew-home-hero-focus: 50% 34%;
	--ew-home-hero-focus-mobile: 50% 42%;
	--ew-home-hero-settle-duration: 1600ms;
	--ew-home-hero-settle-scale: 1.035;
	--ew-home-hero-fade: 1500ms;
	/* Hero progress marks: a slim track. Desktop size; small screens override it. */
	--ew-hero-dot-radius: 2.5px;
	--ew-hero-dot-height: 5px;
	--ew-hero-dot-width: 36px;
	--ew-hero-dot-width-active: 48px;
	/* Welkomstanimatie van de home-hero: vertraging en duur per element. */
	--ew-hero-welkom-eyebrow-vertraging: 0.2s;
	--ew-hero-welkom-eyebrow-duur: 0.6s;
	--ew-hero-welkom-titel-vertraging: 0.4s;
	--ew-hero-welkom-titel-duur: 0.9s;
	--ew-hero-welkom-intro-vertraging: 0.8s;
	--ew-hero-welkom-intro-duur: 0.8s;
	--ew-hero-welkom-knoppen-vertraging: 1.2s;
	--ew-hero-welkom-knoppen-duur: 0.7s;
	--ew-hero-welkom-knoppen-stap: 0.1s;
	--ew-hero-welkom-verschuiving: 16px;
	--ew-frame-radius: var(--ew-radius-none);
	/* Portfolio masonry: soft corners and one shared gap. */
	--ew-footer-heading-size: 0.8125rem;
	--ew-footer-text-size: 1.0625rem;
	--ew-footer-icon-size: 1.125rem;
	--ew-footer-pad-top: clamp(3.5rem, 2rem + 4vw, 6rem);
	--ew-footer-pad-bottom: var(--ew-space-5);
	--ew-footer-gap: clamp(2rem, 1rem + 3vw, 4rem);
	/* The lead height is mirrored by ewebsites_marquee_sizes() in inc/components.php. */
	--ew-marquee-height-lead: clamp(9.6rem, 5.6rem + 16vw, max(24rem, 10vw));
	/* Google review marquee. JS refines the durations to the real track width. */
	--ew-greviews-star: var(--ew-palette-accent);
	--ew-greviews-star-base: #898684;
	/* Homepage hero: type, floating card and header-over-photo colours. */
	/* The home hero is an inset photographic frame: page whitespace on every
	   side, a solid header above it, soft corners. */
	--ew-hero-inset: clamp(0.75rem, 0.35rem + 1.1vw, 1.5rem);
	--ew-hero-frame-radius: 3px;
	--ew-hero-frame-height: clamp(34rem, calc(100svh - var(--ew-masthead-height) - (2 * var(--ew-hero-inset))), 58rem);
	/* Other pages open with a lower frame, so the page starts sooner. */
	--ew-hero-frame-height-short: 32rem;
	/* Korte beeldhero: vlakke zwarte overlay onder witte tekst, en de breedte
	   waarop de titel breekt. Een pagina verhoogt de overlay via het veld Hero. */
	--ew-hero-overlay: linear-gradient(90deg, rgb(22 24 24 / 0.78) 0%, rgb(22 24 24 / 0.2) 75%);
	--ew-hero-titel-breedte: 16ch;
	/* The floor follows the viewport below 356px, so one long word such as
	   "ParkettiPro" or a Finnish compound fits a 320px phone whole. */
	--ew-hero-title-size: clamp(min(3rem, 13.5vw), 7vw, 6.5rem);
	--ew-hero-label-color: var(--ew-color-text-on-dark-muted);
	--ew-hero-card-width: clamp(18.5rem, 15rem + 6vw, 23rem);
	--ew-hero-card-pad: clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem);
	--ew-hero-card-radius: 0.5rem;
	--ew-hero-card-bg: var(--ew-color-surface);
	--ew-hero-card-fg: var(--ew-color-text);
	--ew-hero-card-title-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.45rem);
	--ew-header-over-photo-fg: var(--ew-color-text-on-dark);
	/* Review strip in the home hero (assets/css/hero-stroom.css), rebuilt in
	   1.26.6 on the review post type: one row, left to right. In the frame
	   the cards sit on the photograph, so they use primitives and look the
	   same in both themes; under the frame (below 64rem) the stylesheet
	   swaps in the page surface. Speed is the time per card; the template
	   multiplies it by the cards per group. The mask fades the row in behind
	   the copy and out at the right edge. */
	/* Left edge of the row: 40% of the frame, never before 36rem (the lede
	   ends about 35.5rem from the frame edge). */
	--ew-hero-stroom-start: max(40%, 36rem);
	/* The copy's bottom padding and the distance from the cards' lower edge
	   to the frame's bottom edge, so the cards line up with the buttons. */
	--ew-hero-stroom-onder: clamp(2rem, 4vh, 3.75rem);
	--ew-hero-stroom-kaart-breedte: 17.5rem;
	--ew-hero-stroom-kaart-pad: 1rem;
	--ew-hero-stroom-tussenruimte: 1.25rem;
	--ew-hero-stroom-kaart-tijd: 6s;
	/* Lines of review a card shows at rest (hover adds two). */
	--ew-hero-stroom-regels: 2;
	/* Card head: project photo, and the stars on the light card in the
	   Google reviews colours (as before 1.26.6). */
	--ew-hero-stroom-foto: 2.5rem;
	--ew-hero-stroom-tahti: var(--ew-greviews-star);
	--ew-hero-stroom-tahti-pohja: var(--ew-greviews-star-base);
	--ew-hero-stroom-masker: linear-gradient(to right, transparent 0%, black 22%, black 88%, transparent 100%);
	--ew-hero-stroom-glas-vervaging: 10px;
	--ew-hero-stroom-bg: color-mix(in srgb, var(--ew-color-offwhite) 90%, transparent);
	--ew-hero-stroom-rand: color-mix(in srgb, var(--ew-color-white) 55%, transparent);
	--ew-hero-stroom-fg: var(--ew-color-charcoal);
	/* Location line on the light card: charcoal eased toward the card, AA. */
	--ew-hero-stroom-muted: color-mix(in srgb, var(--ew-color-charcoal) 72%, var(--ew-color-offwhite));
	--ew-hero-stroom-schaduw: 0 18px 40px -18px rgb(0 0 0 / 0.45);
	--ew-hero-stroom-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ew-hero-stroom-knop: 2.75rem;
	--ew-hero-stroom-icoon: 1.125rem;
	/* Under the frame: about one card and a quarter on a phone, two on a
	   tablet. */
	--ew-hero-stroom-onder-breedte: 80vw;
	--ew-hero-stroom-onder-breedte-tablet: 42vw;
	/* Under the frame: a larger head photo, three lines of review and one
	   card height at rest (head + three lines + Lue lisää). */
	--ew-hero-stroom-onder-foto: 3.25rem;
	--ew-hero-stroom-onder-regels: 3;
	--ew-hero-stroom-onder-hoogte: 14rem;
	/* Hero foot link: the arrow moves along on hover. */
	--ew-hero-voet-pijl-schuif: 4px;
	/* Contrastband (.ew-cta): de bandkleur, daaroverheen laag licht van
	   linksboven en een lichte bovenrand. Het donkere thema heeft eigen
	   waarden (warm grafiet, zie het blok verderop). */
	--ew-cta-bg: #262523;
	--ew-cta-verloop:
		radial-gradient(90% 150% at 0% 0%, rgb(243 241 236 / 0.07) 0%, rgb(243 241 236 / 0) 60%),
		linear-gradient(180deg, rgb(0 0 0 / 0) 40%, rgb(0 0 0 / 0.16) 100%);
	--ew-cta-rand: rgb(243 241 236 / 0.07);
	--ew-cta-title-size: clamp(2rem, 1.15rem + 2.4vw, 3.6rem);
	--ew-cta-pad: clamp(3rem, 1.75rem + 4.5vw, 6rem);
	/* ParkettiPro component layer (assets/css/parkettipro.css, class
	   prefix .pp-). Shared measures for the editorial compositions. */
	--ew-pp-eyebrow: var(--ew-color-oak-text);
	/* Design direction 1.24: script eyebrow over a large uppercase title,
	   white cards with a soft lift. */
	/* 1.24 handoff: one accent, hairlines, small radii. */
	--ew-color-accent-text: #b4532a;
	--ew-color-accent-soft: #fbf3ee;
	--ew-color-accent-soft-line: #e8c9b8;
	--ew-color-ink-dark: #262523;
	--ew-color-line-2: #d6d2c8;
	--ew-color-line-soft: #eeebe4;
	--ew-color-line-dark: #3a3835;
	--ew-color-line-dark-2: #45413c;
	--ew-color-input-line: #8a857b;
	--ew-color-sign: #6b675f;
	--ew-color-image-bg: #e9e6df;
	--ew-pp-stretch: 88%;
	--ew-pp-card-shadow-dark: 0 1px 2px rgb(31 30 28 / 0.06), 0 4px 14px rgb(31 30 28 / 0.06);
	--ew-pp-card-shadow-dark-hover: 0 2px 4px rgb(31 30 28 / 0.08), 0 28px 56px -14px rgb(31 30 28 / 0.4);
	--ew-pp-hero-title-short: clamp(2.5rem, 5.2vw, 4.75rem);
	/* Topic heading inside the service guide (sections/pp-opas.php). */
	--ew-pp-topic-title: clamp(2rem, 3.4vw, 3.25rem);
	/* Reading column of long text (Tietosuojaseloste, default pages). */
	--ew-measure-reading: 42.5rem;
	--ew-pp-card-title: clamp(1.5rem, 2vw, 1.875rem);
	--ew-pp-tag-size: 0.75rem;
	--ew-pp-tag-tracking: 0.12em;
	--ew-pp-icon-tile: 3rem;
	--ew-pp-marquee-speed: 40;
	--ew-pp-marquee-height: clamp(17.5rem, 34vw, 27.5rem);
	/* Review marquee under the story band (components/pp-arviot.php). The
	   card floor keeps a phone at about one and a quarter cards; the pace
	   is the time one card takes to pass, so speed stays the same whatever
	   the number of reviews. The surface is a light veil over the dark band,
	   so it stays warm in both themes. */
	--ew-pp-arviot-card: clamp(16.5rem, 74vw, 25rem);
	--ew-pp-arviot-gap: clamp(1rem, 0.5rem + 1.4vw, 1.75rem);
	--ew-pp-arviot-pace: 16s;
	--ew-pp-arviot-surface: rgb(243 241 236 / 0.045);
	--ew-pp-arviot-line: rgb(243 241 236 / 0.12);
	--ew-pp-arviot-fade: clamp(1.5rem, 6vw, 6rem);
	--ew-pp-script-size: clamp(1.875rem, 2.6vw, 2.5rem);
	/* Like the hero: below 348px the floor follows the viewport so a
	   Finnish word in capitals ("TARJOUKSEN") fits a 320px phone whole. */
	--ew-pp-head-title: clamp(min(2.5rem, 11.5vw), 5vw, 4.5rem);
	--ew-pp-card-radius: 6px;
	--ew-pp-card-pad: clamp(1.375rem, 2.2vw, 1.875rem);
	--ew-pp-card-shadow: 0 1px 2px rgb(31 30 28 / 0.04), 0 4px 14px rgb(31 30 28 / 0.04);
	--ew-pp-card-shadow-hover: 0 2px 4px rgb(31 30 28 / 0.04), 0 24px 48px -12px rgb(31 30 28 / 0.16);
	--ew-pp-card-lift: -6px;
	--ew-pp-image-radius: 3px;
	--ew-pp-image-bg: var(--ew-color-image-bg);
	--ew-pp-inset-frame: clamp(0.4rem, 0.25rem + 0.4vw, 0.65rem);
	--ew-pp-figure: clamp(2.75rem, 1.9rem + 2.6vw, 4.25rem);
	--ew-pp-lift: 1.05;
	--ew-pp-arrow-shift: 6px;
	--ew-pp-sticky-top: calc(var(--ew-header-height) + var(--ew-space-6));
	/* Price and household deduction (sections/pp-hinta.php, handoff
	   "Hinta & Kotitalousvähennys"). Accent text #b4532a passes AA on the
	   paper (4.9:1); the dark theme lifts it to the on-dark orange. */
	--ew-pp-hinta-pad: clamp(4rem, 11vw, 10.5rem);
	--ew-pp-hinta-gap: clamp(4.5rem, 12vw, 10.5rem);
	--ew-pp-hinta-title: clamp(2.375rem, 4.4vw, 4rem);
	--ew-pp-hinta-figure: clamp(6rem, 12vw, 11rem);
	--ew-pp-hinta-disc: clamp(3rem, 5vw, 4rem);
	--ew-pp-hinta-line: #dcd7cd;
	--ew-pp-hinta-accent: var(--ew-color-accent-text);
	--ew-pp-hinta-tint: var(--ew-color-accent-soft);
	--ew-pp-hinta-body: var(--ew-color-ink-soft);
	--ew-pp-hinta-meta: var(--ew-color-sign);
	--ew-pp-hinta-shadow-hover: 0 24px 48px -24px rgb(31 30 28 / 0.22);
	/* Raised form panels (calculator card, contact form). */
	--ew-pp-panel-shadow: 0 1px 2px rgb(31 30 28 / 0.04), 0 30px 60px -30px rgb(31 30 28 / 0.18);

	/* Themaschakelaar in de footer (assets/js/thema.js). */
	--ew-thema-wissel-duur: 320ms;
}

/* Donker thema. Dezelfde rollen als hierboven, in dezelfde volgorde. De
   pagina is diep, warm grafiet; vlakken die naar voren komen zijn een stap
   lichter, de contrastband en de bovenbalk een stap dieper. De tekst is het
   off-white van het merk, nooit zuiver wit; eiken blijft het enige accent. */
:root[data-thema="donker"] {
	--ew-color-primary: var(--ew-color-offwhite);
	--ew-color-primary-hover: var(--ew-color-white);
	--ew-color-on-primary: var(--ew-color-charcoal);
	--ew-color-secondary: #383638;
	--ew-color-secondary-hover: #444144;
	--ew-color-background: #1b1a1b;
	--ew-color-background-alt: #232223;
	--ew-color-background-dark: #121112;
	--ew-color-surface: #2a292a;
	--ew-color-text: var(--ew-color-offwhite);
	--ew-color-text-muted-page: #aba69d;
	--ew-color-border-page: #363436;
	--ew-color-success: #86b892;
	--ew-color-warning: #d2a56b;
	--ew-color-error: #e0908d;
	--ew-color-error-soft: rgb(224 144 141 / 0.12);
	--ew-schaduw-rgb: 0 0 0;
	--ew-schaduw-warm-rgb: 0 0 0;
	--ew-vlak-glans: linear-gradient(180deg, rgb(243 241 236 / 0.04) 0%, rgb(243 241 236 / 0) 60%);
	/* Contrastband: warm grafiet, een stap lichter dan de pagina in plaats
	   van bijna zwart. Twee lagen eroverheen: breed, zacht omgevingslicht
	   achter de tekst (geen zichtbare lichtvlek) en een verticale toon die
	   bovenaan iets oplicht en onderaan naar de kleur van de footer zakt,
	   zodat band en footer twee vlakken zijn die op elkaar aansluiten. */
	--ew-cta-bg: #221f1e;
	--ew-cta-verloop:
		radial-gradient(75% 140% at 30% 42%, rgb(243 232 214 / 0.05) 0%, rgb(243 232 214 / 0.02) 45%, rgb(243 232 214 / 0) 78%),
		linear-gradient(180deg, rgb(243 232 214 / 0.03) 0%, rgb(243 232 214 / 0) 30%, rgb(18 17 18 / 0) 50%, rgb(18 17 18 / 0.3) 100%);
	--ew-cta-rand: rgb(243 232 214 / 0.07);
	--ew-logo-filter: none;
	--ew-color-logo-word: #fff;
	--ew-logo-png-musta: none;
	--ew-logo-png-valkoinen: block;
	color-scheme: dark;
	--ew-shadow-card: 0 1px 0 rgb(0 0 0 / 0.35);
	--ew-shadow-header: 0 1px 0 rgb(0 0 0 / 0.4);
	--ew-shadow-header-scroll: 0 14px 30px -20px rgb(0 0 0 / 0.45);
	--ew-shadow-popover: 0 18px 50px rgb(0 0 0 / 0.5);
	--ew-shadow-float: 0 24px 60px rgb(0 0 0 / 0.6);
	--ew-color-header-bg: #222122;
	--ew-color-input-bg: #212021;
	--ew-greviews-star-base: #6f6b66;
	--ew-pp-hinta-line: #3d3a3d;
	--ew-pp-hinta-accent: var(--ew-color-cta-on-dark);
	--ew-pp-hinta-tint: rgb(232 135 90 / 0.14);
	--ew-pp-hinta-body: var(--ew-color-text-muted);
	--ew-pp-hinta-meta: var(--ew-color-text-muted);
	--ew-pp-hinta-shadow-hover: 0 24px 48px -24px rgb(0 0 0 / 0.6);
	--ew-pp-panel-shadow: 0 1px 0 rgb(0 0 0 / 0.35), 0 30px 60px -30px rgb(0 0 0 / 0.6);
}

@media (max-width: 40rem) {
	:root {
	}
}

[data-scheme="alt"],
[data-scheme="band"],
[data-scheme="muted"] {
	--ew-color-bg: var(--ew-color-background-alt);
	--color-background: var(--ew-color-background-alt);
}

[data-scheme="dark"] {
	--ew-color-bg: var(--ew-color-background-dark);
	--ew-color-fg: var(--ew-color-text-on-dark);
	--ew-color-heading: var(--ew-color-text-on-dark);
	--ew-color-text-primary: var(--ew-color-text-on-dark);
	--ew-color-text-secondary: var(--ew-color-text-on-dark);
	--ew-color-text-muted: var(--ew-color-text-on-dark-muted);
	--ew-palette-heading: var(--ew-color-text-on-dark);
	--ew-palette-body: var(--ew-color-text-on-dark-muted);
	--ew-color-border: rgba(243, 241, 236, 0.24);
	--ew-button-primary-bg: var(--ew-color-cta);
	--ew-button-primary-fg: var(--ew-color-on-cta);
	--ew-button-primary-border: var(--ew-color-cta);
	--ew-button-primary-bg-hover: var(--ew-color-cta-hover);
	--ew-button-primary-fg-hover: var(--ew-color-on-cta);
	--ew-button-secondary-bg: rgba(243, 241, 236, 0.08);
	--ew-button-secondary-fg: var(--ew-color-text-on-dark);
	--ew-button-secondary-border: rgba(243, 241, 236, 0.55);
	--ew-button-secondary-bg-hover: var(--ew-color-offwhite);
	--ew-button-secondary-fg-hover: var(--ew-color-charcoal);
	--ew-button-outline-fg: var(--ew-color-text-on-dark);
	--ew-button-outline-border: var(--ew-color-text-on-dark);
	--ew-button-text-fg: var(--ew-color-text-on-dark);
	--ew-button-text-fg-hover: var(--ew-color-white);
	--ew-button-focus: var(--ew-color-offwhite);
	--color-background: var(--ew-color-background-dark);
	--color-text-primary: var(--ew-color-text-on-dark);
}

/* A stuck bar and an open mobile menu are page surfaces, also when the
   masthead started dark over the hero photograph. The masthead keeps its
   dark scheme, so the bar restores the page roles of the active theme for
   itself. */
.ew-top.is-stuck,
.ew-top.is-nav-open[data-scheme="dark"] {
	--ew-color-fg: var(--ew-color-text);
	--ew-color-heading: var(--ew-color-text);
	--ew-color-text-primary: var(--ew-color-text);
	--ew-color-text-secondary: var(--ew-color-text);
	--ew-color-text-muted: var(--ew-color-text-muted-page);
	--ew-palette-heading: var(--ew-color-text);
	--ew-palette-body: var(--ew-color-text-muted-page);
	--ew-color-border: var(--ew-color-border-page);
	--ew-button-primary-bg: var(--ew-color-cta);
	--ew-button-primary-fg: var(--ew-color-on-cta);
	--ew-button-primary-border: var(--ew-color-cta);
	--ew-button-primary-bg-hover: var(--ew-color-cta-hover);
	--ew-button-primary-fg-hover: var(--ew-color-on-cta);
	--ew-button-focus: var(--ew-color-cta);
}

/* The floating hero card is a page surface inside the dark hero:
   it restores the page roles for its own text and button. */
.ew-hero__card {
	--ew-color-heading: var(--ew-hero-card-fg);
	--ew-palette-heading: var(--ew-hero-card-fg);
	--ew-palette-body: var(--ew-color-text-muted-page);
	--ew-button-primary-bg: var(--ew-color-cta);
	--ew-button-primary-fg: var(--ew-color-on-cta);
	--ew-button-primary-border: var(--ew-color-cta);
	--ew-button-primary-bg-hover: var(--ew-color-cta-hover);
	--ew-button-primary-fg-hover: var(--ew-color-on-cta);
	--ew-button-focus: var(--ew-color-cta);
}

@media (prefers-reduced-motion: reduce) {
	:root {
		--ew-motion-duration-fast: 0ms;
		--ew-motion-duration-normal: 0ms;
		--ew-motion-duration-medium: 0ms;
		--ew-motion-duration-slow: 0ms;
		--ew-thema-wissel-duur: 0ms;
	}
}
