/*
  haven. design tokens
  Source: Internal Docs/HAVEN RE. Branding _GLOW x Real Estate.md + HAVEN.RE brand kit.png
  NOTE: Canela (brand display face) has no free CDN source. Fraunces (Google Fonts) is
  substituted as the closest free warm-editorial-serif analog. Swap when Canela is licensed.
*/

:root {
  /* Color palette */
  --color-charcoal: #111111;
  --color-charcoal-soft: #2a2a2a;
  --color-gold: #d4a23c;
  --color-gold-soft: #e3ba63;
  --color-gold-deep: #b8862a;
  --color-stone: #6b6b6b;
  --color-stone-light: #9b9b9b;
  --color-soft-white: #f7f6f4;
  --color-sand: #ede7dd;
  --color-white: #ffffff;
  --color-line: rgba(17, 17, 17, 0.1);
  --color-line-soft: rgba(17, 17, 17, 0.06);

  /* Semantic */
  --bg-page: var(--color-soft-white);
  --bg-alt: var(--color-sand);
  --bg-inverse: var(--color-charcoal);
  --text-primary: var(--color-charcoal);
  --text-secondary: var(--color-stone);
  --text-inverse: var(--color-soft-white);
  --accent: var(--color-gold);

  /* Type */
  --font-display: "Fraunces", "Canela", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  --fs-h2: clamp(1.9rem, 3vw + 1rem, 3rem);
  --fs-h3: clamp(1.35rem, 1.5vw + 1rem, 1.75rem);
  --fs-lead: clamp(1.05rem, 0.5vw + 1rem, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.6;

  /* Spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;

  /* Shadow */
  --shadow-card: 0 12px 32px -18px rgba(17, 17, 17, 0.28);
  --shadow-lift: 0 20px 48px -20px rgba(17, 17, 17, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-med: 0ms;
  }
}
