/* GEMT base - tokens, reset, typography */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,450;0,9..144,600;0,9..144,700;1,9..144,500&family=Public+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  --stone: #F4F0E6;
  --stone-dim: #E8E1D0;
  --paper: #FCFAF5;
  --ink: #1A1915;
  --ink-soft: #4F4C43;
  /* Bridged toward logo lime (#5E9608 / #609808) — olive-forest scale */
  --logo-green: #5E9608;
  --forest: #2F6B1F;
  --forest-deep: #163218;
  --forest-glow: #4A8F28;
  --gold: #C9A012;
  --gold-soft: #E8C040;
  --clay: #7A3F28;
  --garnet: #6E1E23;
  --line: rgba(26, 25, 21, 0.12);
  --line-soft: rgba(26, 25, 21, 0.07);
  --success: #4A8F28;
  --danger: #6E1E23;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --radius: 4px;
  --header-h: 72px;
  --gutter: 24px;
  --gutter-sm: 16px;
  --container-pad: 28px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* clip avoids scrollbar jump without locking body scroll on desktop */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  width: 100%;
  min-width: 0;
}

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

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  color: var(--forest-deep);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--forest-deep);
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2.5px solid var(--gold);
  line-height: 1.3;
}

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