/* Vail Cowboy — Base stylesheet
   Reset + design tokens
*/

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

:root {
  /* Color — warm mountain heritage palette */
  --ivory: #F5F1E8;
  --cream: #EBE4D3;
  --paper: #FAF7EF;
  --ink: #1E1A16;
  --ink-soft: #3C332B;
  --taupe: #7A6E5F;
  --taupe-soft: #A69B87;
  --line: #D8CFBB;
  --line-soft: #E6DFCC;

  /* Accents */
  --forest: #2F3A2A;
  --rust: #A64A2A;
  --brass: #A0824A;
  --clay: #8B4B2E;

  /* Type */
  --font-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.5rem, 2.5vw, 2rem);
  --text-2xl: clamp(2rem, 4vw, 3.25rem);
  --text-3xl: clamp(2.75rem, 6vw, 5rem);
  --text-hero: clamp(3rem, 8vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 300ms var(--ease);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  /* Prevent rubber-band/bounce scroll at the top so the hero stays flush
     with the viewport top (no white gap exposed above the header). */
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overscroll-behavior-y: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

::selection {
  background: var(--forest);
  color: var(--ivory);
}
