/* ==========================================================================
   Wijze Wolf — Base: fonts, reset, typography, focus, accessibility
   ========================================================================== */

/* --- Self-hosted variable fonts (AVG/GDPR: no external calls) --- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: var(--c-link); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }

/* --- Headings --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 540;
  line-height: var(--lh-snug);
  color: var(--c-text);
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { max-width: var(--measure); }
strong, b { font-weight: 600; }
em, i { font-style: italic; }

::selection { background: var(--c-accent); color: var(--c-on-accent); }

/* --- Focus (visible, on-brand) --- */
:focus-visible {
  outline: 2px solid var(--c-accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--r-pill);
  z-index: 999;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Eyebrow / kicker with paw glyph */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-primary);
}
.eyebrow .ww-icon { color: var(--c-accent); }
.eyebrow--light { color: var(--c-secondary); }
.eyebrow--light .ww-icon { color: var(--c-accent); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: var(--fs-lead); color: var(--c-text-muted); line-height: 1.6; }

.ww-icon { flex: none; }
