:root {
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --color-forest: #596948;
  --color-forest-dark: #3f4c34;
  --color-olive: #82916c;
  --color-accent: #b99a55;
  --color-cream: #f5f2eb;
  --color-surface: #f2f1ed;
  --color-text: #30342d;
  --color-muted: #5f645b;
  --color-white: #ffffff;
  --color-focus: #ffd36a;
  --container: 1280px;
  --header-hero: 190px;
  --header-compact: 88px;
  --section-space: clamp(80px, 10vw, 150px);
  --transition-fast: 250ms ease;
  --transition-medium: 450ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text);
  background: #fff;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-wrap: balance;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 1100;
  transform: translateY(-160%);
  padding: 12px 16px;
  min-height: 44px;
  background: var(--color-forest-dark);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-line {
  display: block;
  width: 72px;
  height: 2px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-olive));
  transform-origin: center;
}

body.is-menu-open {
  overflow: hidden;
}

@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;
    scroll-behavior: auto !important;
  }
}
