/* ==========================================================================
   Uganda Safari Tour — Design Tokens & Base
   Palette grounded in Bwindi forest green + savanna ochre, not a generic
   travel-site default. Fraunces (warmth, character) for display type,
   Inter for body/UI — both loaded at limited weights for performance.
   ========================================================================== */

:root {
  /* Color */
  --primary: #1F4A38;        /* Bwindi forest green */
  --primary-dark: #123326;
  --primary-light: #E9F0EA;
  --accent: #C77B2E;         /* savanna ochre / sunset */
  --accent-dark: #9C5F1F;
  --accent-light: #F7E9D7;
  --text: #221D17;
  --text-light: #635B4E;
  --background: #FBF8F2;     /* warm ivory */
  --surface: #FFFFFF;
  --border: #E6DFD1;
  --shadow-sm: 0 2px 10px rgba(18, 51, 38, 0.07);
  --shadow-md: 0 10px 30px rgba(18, 51, 38, 0.12);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: min(100% - 2.5rem, 1240px);
  --container-narrow: min(100% - 2.5rem, 860px);
  --radius-sm: 6px;
  --radius-md: 12px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: var(--container); margin-inline: auto; }
.container-narrow { width: var(--container-narrow); margin-inline: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--primary-dark);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: 1.15rem; color: var(--text-light); max-width: 62ch; }

section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.95rem;
  margin-bottom: 0.5em;
  display: inline-block;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--primary); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  transition: top 0.15s ease;
  z-index: 200;
}
.skip-link:focus { top: 1rem; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
