/*
  tokens.css
  Design tokens for The Shining Cleanse: palette, type, spacing, radii and layout values.
*/

:root {
  /* Palette: deep green, warm gold, cream */
  --color-deep: #10281E;
  --color-forest: #173A2B;
  --color-mid: #24523F;
  --color-gold: #C9A84C;
  --color-gold-muted: rgba(201, 168, 76, 0.15);
  /* Darker gold for text on cream or white. The bright gold only works on dark green. */
  --color-gold-ink: #7D6626;
  --color-cream: #F6F1E7;
  --color-sage: #E3ECE5;
  --color-sage-soft: #EEF3EE;
  --color-paper: #FCFBF7;
  --color-white: #FFFFFF;
  --color-text-primary: #F3EFE6;
  --color-text-secondary: rgba(243, 239, 230, 0.74);
  --color-text-muted: rgba(243, 239, 230, 0.56);
  --color-text-dark: #17201B;
  --color-text-dark-secondary: #4B554F;
  --color-border-dark: rgba(243, 239, 230, 0.14);
  --color-border-light: rgba(16, 40, 30, 0.12);
  --font-quote: "Instrument Serif", Georgia, "Times New Roman", serif;
  --color-error: #B3342A;
  --color-overlay: rgba(14, 28, 21, 0.75);
  --color-shadow-card: rgba(14, 28, 21, 0.08);

  /* Type: Young Serif for headings, Hanken Grotesk for everything else */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: var(--font-display);
  --font-sans: var(--font-body);

  --text-body-sm: 15px;
  --text-body: 17px;
  --text-body-lg: 19px;
  --text-h4: 18px;
  --text-h3: 24px;
  --text-h2: clamp(30px, 3.4vw, 44px);
  --text-h1: clamp(36px, 4.4vw, 56px);
  --text-display: clamp(36px, 4vw, 58px);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 96px;
  --space-11: 112px;

  /* Two radii: small for controls, medium for cards and photos */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 14px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s ease;
  --max-width: 1200px;
  --nav-height: 72px;
  --hero-height: clamp(540px, 76vh, 680px);
  --focus-width: 2px;
  --border-thin: 1px;
  --container-padding: 40px;
  --bar-height: 60px;
}

@media (max-width: 860px) {
  :root {
    --container-padding: 24px;
    --nav-height: 64px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 20px;
  }
}
