/* ============================================================
   Fonts
   ============================================================ */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/source-sans-3-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/source-sans-3-700.woff2') format('woff2');
}

/* ============================================================
   Design Tokens — Forest & Marigold
   ============================================================ */

:root {
  /* Colors */
  --color-primary:      #2d5a3f;   /* forest green */
  --color-accent:       #f0b429;   /* marigold */
  --color-accent-hover: #d9a024;
  --color-secondary:    #d4726a;   /* dusty rose */
  --color-bg:           #faf8f5;   /* warm cream */
  --color-bg-alt:       #f0ece6;   /* darker cream */
  --color-text:         #1e1e1e;
  --color-text-muted:   #5a5a5a;
  --color-border:       #ddd8d0;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Source Sans 3', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;

  /* Radii */
  --radius-card: 16px;
  --radius-pill: 50px;
  --radius-sm:   6px;

  /* Layout */
  --max-width: 1200px;
  --gap:       1.5rem;
}

/* ============================================================
   Reset & Base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

/* ============================================================
   Layout Utilities
   ============================================================ */

.container {
  width: min(var(--max-width), 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-lg);
}

.section--alt {
  background: var(--color-bg-alt);
}

/* ============================================================
   Accessibility
   ============================================================ */

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}

.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;
}
