/* ============================================================
   BASE — CSS Variables, Reset, Typography
   ============================================================ */

:root {
  /* Colors */
  --color-gold:          #E8C800;
  --color-green:         #1E5C1C;
  --color-bg:            #FAFAF5;
  --color-text:          #1A1A1A;
  --color-white:         #FFFFFF;
  --color-text-muted:    #555555;

  /* Fonts */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-hero:   clamp(2.5rem, 6vw, 4rem);
  --text-h1:     clamp(2rem,   4vw, 3rem);
  --text-h2:     clamp(1.5rem, 3vw, 2.25rem);
  --text-h3:     clamp(1.125rem, 2vw, 1.5rem);
  --text-body:   1.125rem;
  --text-small:  0.875rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  5rem;
  --space-2xl: 7.5rem;

  /* Layout */
  --container-max:      1200px;
  --content-max:         800px;
  --radius-sm:            6px;
  --radius-md:           10px;
  --radius-pill:         48px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ---- Headings ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p {
  margin-bottom: var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-italic  { font-style: italic; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--color-text);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
