/* Webwerk Foundation: the deep, project-neutral implementation module. */

:root {
  --color-primary: var(--wp--preset--color--primary, #275d6b);
  --color-primary-hover: var(--wp--preset--color--primary-hover, #1c4651);
  --color-on-primary: var(--wp--preset--color--white, #fff);
  --color-secondary: #30394a;
  --color-accent: var(--wp--preset--color--accent, #a33d50);
  --color-accent-hover: var(--wp--preset--color--accent-hover, #823143);
  --color-hero-title: var(--wp--preset--color--hero-title, #243aa4);
  --color-background: var(--wp--preset--color--background, #eaf1f4);
  --color-surface: var(--wp--preset--color--surface, #d8e7ed);
  --color-surface-sunken: var(--wp--preset--color--surface-sunken, #c9dee7);
  --color-surface-strong: var(--color-surface-sunken);
  --color-heading: var(--wp--preset--color--heading, #202a3b);
  --color-text: var(--wp--preset--color--text, #374a55);
  --color-text-muted: var(--wp--preset--color--text-muted, #5b6678);
  --color-border: var(--wp--preset--color--border, #afc5ce);
  --color-border-strong: #78879a;
  --color-focus: var(--color-accent);
  --color-focus-offset: var(--color-on-primary);
  --font-heading: var(
    --wp--preset--font-family--heading,
    "Manrope",
    "Avenir Next",
    Arial,
    sans-serif
  );
  --font-body: var(
    --wp--preset--font-family--body,
    "Atkinson Hyperlegible",
    "Segoe UI",
    Arial,
    sans-serif
  );
  --text-xs: var(--wp--preset--font-size--x-small);
  --text-sm: var(--wp--preset--font-size--small);
  --text-base: var(--wp--preset--font-size--base);
  --text-lg: var(--wp--preset--font-size--large);
  --heading-4: var(--wp--preset--font-size--heading-4);
  --heading-3: var(--wp--preset--font-size--heading-3);
  --heading-2: var(--wp--preset--font-size--heading-2);
  --heading-1: var(--wp--preset--font-size--heading-1);
  --space-3xs: var(--wp--preset--spacing--3-x-small);
  --space-2xs: var(--wp--preset--spacing--2-x-small);
  --space-xs: var(--wp--preset--spacing--x-small);
  --space-sm: var(--wp--preset--spacing--small);
  --space-md: var(--wp--preset--spacing--medium);
  --space-lg: var(--wp--preset--spacing--large);
  --space-xl: var(--wp--preset--spacing--x-large);
  --space-2xl: var(--wp--preset--spacing--2-x-large);
  --space-3xl: var(--wp--preset--spacing--3-x-large);
  --gutter: var(--space-sm);
  --grid-gap: var(--space-md);
  --section-space: var(--space-2xl);
  --container-wide: var(--wp--style--global--wide-size, 80rem);
  --container-content: var(--wp--style--global--content-size, 50rem);
  --container-narrow: 38rem;
  --line-height-body: 1.68;
  --line-height-heading: 1.08;
  --line-height-tight: 1.05;
  --letter-spacing-heading: -0.035em;
  --letter-spacing-eyebrow: 0.08em;
  --transition-fast: 150ms;
  --transition-base: 250ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 0.5rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
  text-wrap: balance;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.15em;
  transition: color var(--transition-fast) var(--ease-out);
}

a:hover {
  color: var(--color-primary-hover);
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--color-focus-offset);
}

:focus:not(:focus-visible) {
  outline: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.wp-site-blocks {
  overflow: clip;
}
.wp-site-blocks > * {
  margin-block-start: 0;
}

.ww-wrap {
  width: calc(100% - (2 * var(--gutter)));
  max-width: var(--container-wide);
  margin-inline: auto;
}

.ww-eyebrow {
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
}

.ww-visually-hidden:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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