/* =========================================================
   Design tokens — Modern Mountain Luxury
   Pulled from the YBH logo (charcoal + cyan-blue) and the
   Bozeman landscape palette: warm sand, soft sage, snow.
   ========================================================= */

:root {
  /* Surfaces */
  --color-bg: #ffffff;
  --color-bg-warm: #f8f5ef; /* warm beige for alt sections */
  --color-bg-soft: #f2efe9;
  --color-bg-dark: #1f2426; /* logo background charcoal */
  --color-bg-dark-2: #161a1c;

  /* Ink */
  --color-ink: #1b1f22;
  --color-ink-2: #2a2f33;
  --color-ink-muted: #5c6266;
  --color-ink-soft: #8a8f93;
  --color-ink-on-dark: #f3efe7;
  --color-ink-on-dark-muted: #b9b3a6;

  /* Lines */
  --color-border: #e6e2da;
  --color-border-strong: #d6d1c6;
  --color-border-on-dark: rgba(255, 255, 255, 0.14);

  /* Brand */
  --color-accent: #2fa6c9;        /* the BOZEMAN blue */
  --color-accent-ink: #1c8aaa;    /* hover / active */
  --color-accent-soft: #d8edf4;   /* tinted backgrounds */

  /* Earth (sparingly used) */
  --color-sage: #8a9c87;
  --color-sand: #c9b79c;
  --color-stone: #6f7274;

  /* Type */
  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-body: 1.0625rem;
  --fs-lede: 1.1875rem;
  --fs-h4: 1.125rem;
  --fs-h3: 1.5rem;
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h1: clamp(2.75rem, 1.8rem + 4.4vw, 5rem);

  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-body: 1.65;

  --tracking-eyebrow: 0.18em;
  --tracking-tight: -0.02em;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --section-y: clamp(4.5rem, 3rem + 5vw, 8rem);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 0.75rem + 2vw, 2rem);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows — kept extremely soft */
  --shadow-soft: 0 1px 2px rgba(20, 24, 28, 0.04),
    0 8px 24px rgba(20, 24, 28, 0.05);
  --shadow-card: 0 1px 2px rgba(20, 24, 28, 0.05),
    0 16px 40px rgba(20, 24, 28, 0.07);
  --shadow-lift: 0 2px 4px rgba(20, 24, 28, 0.06),
    0 24px 60px rgba(20, 24, 28, 0.10);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur-fast: 180ms;
  --dur: 280ms;
  --dur-slow: 600ms;

  /* Header */
  --header-h: 76px;
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }
}
