/* =========================================================================
 * North House Dental — design tokens
 *
 * The single source of every design value. Component styles (sections.css)
 * only consume these custom properties; no raw colour or font name appears
 * outside this file.
 *
 * Two layers:
 *
 * 1. Vendo Kit Design System (Appearance › Site Design, option `vk_design`).
 *    The kit prints the palette, fonts, type scale, spacing, container widths,
 *    radii, shadows and motion as --vk-* properties on :root. Colours the
 *    core roles don't cover are added there as named extra colours, so they
 *    are editable in the admin and appear in the editor palette.
 *
 * 2. This file: the typefaces' extra cuts, and the few values the designs use
 *    between Design System steps. These are derived from layer 1 (so they stay
 *    fluid and follow a rebrand) and named after the Figma variables and
 *    text styles they implement.
 *
 * Figma variable (file KANSb7FFcf0BJYmk0yBQEm)  →  CSS custom property
 * -------------------------------------------------------------------------
 * Colour
 *   Text / Primary                     --vk-color-ink
 *   Text / Secondary                   --vk-color-body
 *   Text / Brand, Action / Primary     --vk-color-brand
 *   Text / Accent, Action / Positive   --vk-color-accent
 *   Text / Accent On Dark              --vk-color-accent-on-dark     (extra)
 *   Text / Inverse, Action / On Dark   --vk-color-on-dark
 *   Text / Inverse Muted               --north-house-text-inverse-muted
 *   Background / Base                  --vk-color-surface-2
 *   Background / Primary               --vk-color-bg
 *   Background / Soft                  --vk-color-surface
 *   Background / Map                   --vk-color-map                (extra)
 *   Background / Dark                  --vk-color-dark
 *   Background / Dark Secondary        --vk-color-dark-secondary     (extra)
 *   Border / Default                   --vk-color-border
 *   Border / Cool                      --vk-color-border-cool        (extra)
 *   Border / Subtle                    --vk-color-border-subtle      (extra)
 *   Border / Brand Subtle              --north-house-border-brand-subtle
 *   Border / On Dark                   --north-house-border-on-dark
 *   Accent / Review                    --vk-color-star
 *   Status / Late Background           --vk-color-late-background    (extra)
 *   Status / Late Text                 --vk-color-late-text          (extra)
 *   Service / WhatsApp                 --vk-color-whatsapp           (extra)
 *   Overlay / Dark nn, White nn        color-mix() of --vk-color-dark /
 *                                      --vk-color-on-dark at nn%
 * Typography
 *   Font Family / Display              --vk-font-heading  (Editor's Note)
 *   Font Family / Sans                 --vk-font-body     (Montserrat)
 *   Heading / H2                       --vk-text-4xl (x .984 = 50px)
 *   Heading / H3                       --north-house-heading-h3
 *   Heading / Panel                    --north-house-heading-panel
 *   Label / Editorial                  --north-house-label-editorial
 *   Body / Large                       --north-house-body-large
 *   Body / Compact                     --north-house-body-compact
 *   Meta / Default                     --north-house-meta
 * Dimensions
 *   Spacing / 80, 70, 50               --north-house-space-80/-70/-50
 *   Spacing / 8 … 128                  --vk-space-2xs … --vk-space-4xl
 *   Radius / Image                     --vk-radius-md
 *   Radius / Pill                      --vk-radius-button
 *   Layout / Desktop Container         --vk-container
 *   Layout / Grid Gutter               --vk-gutter
 * ====================================================================== */

/* Typefaces --------------------------------------------------------------
 * The Design System registers Editor's Note as 'VK Heading' (Regular,
 * Bold); the design also uses Thin, Light, Semibold and three italics, added
 * to the same family with the live site's weight map. Montserrat is a
 * variable font: one file covers every weight. */
@font-face{font-family:'VK Heading';src:url('/wp-content/uploads/fonts/en-thin.woff2') format('woff2');font-weight:100;font-style:normal;font-display:swap}
@font-face{font-family:'VK Heading';src:url('/wp-content/uploads/fonts/en-light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'VK Heading';src:url('/wp-content/uploads/fonts/en-semibold.woff2') format('woff2');font-weight:500 600;font-style:normal;font-display:swap}
@font-face{font-family:'VK Heading';src:url('/wp-content/uploads/fonts/en-extralightitalic.woff2') format('woff2');font-weight:100 200;font-style:italic;font-display:swap}
@font-face{font-family:'VK Heading';src:url('/wp-content/uploads/fonts/en-italic.woff2') format('woff2');font-weight:300 500;font-style:italic;font-display:swap}
@font-face{font-family:'VK Heading';src:url('/wp-content/uploads/fonts/en-bolditalic.woff2') format('woff2');font-weight:600 900;font-style:italic;font-display:swap}
@font-face{font-family:'VK Body';src:url('/wp-content/uploads/fonts/montserrat-regular.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}

/* Arrows. Neither face has "→", which the kit's stacks fill from its bundled
 * Manrope — three .ttf files (~117 KB) fetched for one glyph. The same glyph,
 * subset from Manrope (SIL OFL) into three WOFF2 files under 1 KB, is used
 * instead, and the stacks below name it in Manrope's place. */
@font-face{font-family:'North House Arrows';src:url('../fonts/manrope-arrows-regular.woff2') format('woff2');font-weight:100 500;font-style:normal;font-display:swap;unicode-range:U+2190-2193}
@font-face{font-family:'North House Arrows';src:url('../fonts/manrope-arrows-bold.woff2') format('woff2');font-weight:600 700;font-style:normal;font-display:swap;unicode-range:U+2190-2193}
@font-face{font-family:'North House Arrows';src:url('../fonts/manrope-arrows-extrabold.woff2') format('woff2');font-weight:800 900;font-style:normal;font-display:swap;unicode-range:U+2190-2193}

/* Derived tokens --------------------------------------------------------
 * Declared where the kit declares its own, so they resolve on the page and
 * in the editor canvas alike. Comments give the value at 1440px. */
:root,
.vk-scope,
.editor-styles-wrapper {
	/* Type: the Design System's stacks, with the arrow subset above in place
	 * of the kit's bundled Manrope. */
	--vk-font-heading: 'VK Heading', 'North House Arrows', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--vk-font-body: 'VK Body', 'North House Arrows', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	/* Colour: Figma's overlay semantics, as transparencies of the palette. */
	--north-house-text-inverse-muted: color-mix(in srgb, var(--vk-color-on-dark) 80%, transparent);
	--north-house-border-on-dark: color-mix(in srgb, var(--vk-color-on-dark) 35%, transparent);
	--north-house-border-brand-subtle: color-mix(in srgb, var(--vk-color-brand) 22%, transparent);

	/* Type: Figma text styles between Design System steps. */
	--north-house-heading-h3: calc(var(--vk-text-4xl) * .9055);         /* 46 */
	--north-house-heading-panel: calc(var(--vk-text-xl) * .8665);       /* 22 */
	--north-house-label-editorial: calc(var(--vk-text-lg) * .9425);     /* 19 */
	--north-house-body-large: calc(var(--vk-text-md) * 1.0625);         /* 17 */
	--north-house-body-compact: calc(var(--vk-text-md) * .9375);        /* 15 */
	--north-house-body-list: calc(var(--vk-text-sm) * 1.1223);          /* 14.5 */
	--north-house-meta: calc(var(--vk-text-sm) * 1.045);                /* 13.5 */

	/* Space: Figma Spacing / 80, 70, 50 — section padding, fluid. */
	--north-house-space-80: calc(var(--vk-section-y) * .6667);
	--north-house-space-70: calc(var(--vk-section-y) * .5833);
	--north-house-space-50: calc(var(--vk-section-y) * .4167);

	/* Radius: form fields, icon tiles and contact tiles. */
	--north-house-radius-control: 4px;
}
