@charset "UTF-8";
/* Modern CSS Reset & Normalize */
/* ─────────────────────────────────────────────────────────────
 * Mixins & Functions
 * Usage in any partial: @use '../mixins' as *; (or 'mixins' from root)
 * ───────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────
 * Breakpoints (px)
 * Keep in sync with JS defaults (dynamicAdapt / spollers use 767/768)
 * ───────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────
 * Functions
 * ───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* Smooth scroll with reduced motion support.
   overscroll-behavior + background kill the white rubber-band edges */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
  overscroll-behavior: none;
  background-color: var(--color-bg, #fff);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    /* stylelint-disable-next-line declaration-no-important -- intentional override */
    animation-duration: 0.01ms !important;
    /* stylelint-disable-next-line declaration-no-important -- intentional override */
    animation-iteration-count: 1 !important;
    /* stylelint-disable-next-line declaration-no-important -- intentional override */
    transition-duration: 0.01ms !important;
    /* stylelint-disable-next-line declaration-no-important -- intentional override */
    scroll-behavior: auto !important;
  }
}
body {
  min-height: 100dvh;
  background-color: var(--color-bg, #fff);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  text-wrap: balance;
}

p,
li,
figcaption {
  text-wrap: pretty;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

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

img {
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 0.75rem;
}

/* Forms */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

input,
textarea {
  border-radius: 0;
}

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

input[type=number] {
  appearance: textfield;
}

input::-ms-clear {
  display: none;
}

textarea {
  resize: vertical;
}

::placeholder {
  color: inherit;
  opacity: 0.7;
}

button {
  cursor: pointer;
  background: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

/* Semantic elements */
nav,
footer,
header,
aside,
main,
article,
section {
  display: block;
}

summary {
  display: list-item;
  cursor: pointer;
}

::-webkit-details-marker {
  display: none;
}

/* Note: removing list-style also drops list semantics in VoiceOver/Safari —
   add role="list" to semantic lists that must stay announced as lists */
ul,
ol {
  list-style: none;
}

/* Author display rules must never defeat the hidden attribute
   (spollers.js and others toggle it) */
[hidden] {
  /* stylelint-disable-next-line declaration-no-important -- intentional override */
  display: none !important;
}

/* Focus visible for accessibility */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 0.125rem solid currentcolor;
  outline-offset: 0.125rem;
}

/* Anchor targets stop below a fixed header (--header-height in vars.scss) */
:target {
  scroll-margin-block-start: calc(var(--header-height, 0rem) + 1rem);
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}