/*
  Carmela Fashion — Design Tokens
  Nudged toward Carmela-website-v3.pdf measured palette
*/

:root {
  /* Colors — PDF palette (measured from renders) */
  --color-bg: #F6F0E6;
  --color-bg-alt: #F7F3EB;
  --color-bg-soft: #EFE3CC;
  --color-surface: #FFFFFF;
  --color-slot: #E8E2D4;

  --color-mustard: #C9A227;
  --color-mustard-hover: #B8921F;
  --color-mustard-soft: #E8D5A3;
  --color-mustard-muted: rgba(201, 162, 39, 0.18);
  --color-mustard-footer: #E2B04A;

  --color-brown: #3E2B20;
  --color-brown-deep: #2E2620;
  --color-brown-mid: #4A3528;
  --color-brown-card: #4A372C;
  --color-brown-soft: #5C4033;
  --color-brown-muted: #8B6F5C;
  --color-footer-bg: #2E2620;

  --color-text: #2F2118;
  --color-text-muted: #6B5A4E;
  --color-text-on-dark: #F5F2E8;
  --color-text-on-mustard: #2F2118;

  --color-border: #DDD5C6;
  --color-border-soft: #E8E2D4;

  /* Typography — tighter toward PDF */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-xs: 0.6875rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: clamp(1.75rem, 3.2vw, 2.5rem);
  --fs-4xl: clamp(2.1rem, 4.2vw, 3.1rem);
  --fs-hero: clamp(2.35rem, 5.2vw, 3.55rem);

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.12;
  --lh-snug: 1.28;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;

  --ls-wide: 0.1em;
  --ls-wider: 0.16em;

  /* Spacing */
  --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-pad-y: clamp(3.75rem, 7.5vw, 6.25rem);
  --section-pad-x: clamp(1.5rem, 5.5vw, 3.75rem);

  /* Layout */
  --max-width: 1120px;
  --max-width-wide: 1240px;
  --header-height: 4.5rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(47, 33, 24, 0.06);
  --shadow-md: 0 4px 16px rgba(47, 33, 24, 0.08);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 200ms;

  /* Z-index */
  --z-header: 100;
}

/* ===== Narrow screens — token densify (desktop ≥900 untouched) ===== */
@media (max-width: 899px) {
  :root {
    --section-pad-y: clamp(2.75rem, 8vw, 3.75rem);
    --section-pad-x: clamp(1.25rem, 5vw, 1.75rem);
    --header-height: 3.75rem;
    --fs-hero: clamp(2.1rem, 8.5vw, 2.75rem);
    --fs-3xl: clamp(1.55rem, 6vw, 2rem);
    --fs-4xl: clamp(1.85rem, 7vw, 2.4rem);
  }
}

@media (max-width: 639px) {
  :root {
    --section-pad-y: clamp(2.5rem, 9vw, 3.25rem);
    --section-pad-x: 1.25rem;
    --header-height: 3.5rem;
  }
}
