:root {
  --pine: #1f3d33;
  --pine-deep: #142a23;
  --pine-soft: #2c5546;
  --sage: #dce5dc;
  --sage-soft: #ebf0e9;
  --linen: #f7f4ee;
  --white: #ffffff;
  --brass: #b9853a;
  --brass-hover: #c9974c;
  --brass-soft: #f3e7d2;
  --ink: #1c2421;
  --muted: #5e6b65;
  --line: #e4ded3;
  --success: #2f7a55;
  --danger: #b5432f;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(20, 42, 35, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 42, 35, 0.16);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 112px);
  --concept-h: 36px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--pine-soft); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--pine);
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--pine); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

@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; }
}
