/* ============================================================
   TOKENS.CSS — Design Tokens for nora lucia
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* ─── Color Palette ─── */
  --color-cream:        #faf8f5;
  --color-cream-dark:   #f2ede6;
  --color-sand:         #e8ddd0;
  --color-sand-dark:    #c9b99f;
  --color-taupe:        #9c8b7a;
  --color-brown:        #6b5a49;
  --color-espresso:     #3a2e26;
  --color-black:        #1a1612;
  --color-white:        #ffffff;

  --color-gold:         #c9a96e;
  --color-gold-light:   #e4cfa0;
  --color-gold-dark:    #a07c45;

  --color-accent:       #b8866c;
  --color-accent-light: #d9b09a;

  --color-text-primary:   #1a1612;
  --color-text-secondary: #6b5a49;
  --color-text-muted:     #9c8b7a;
  --color-text-inverse:   #faf8f5;

  --color-border:         #e8ddd0;
  --color-border-dark:    #c9b99f;
  --color-overlay:        rgba(26, 22, 18, 0.45);

  --color-success:        #4a7c59;
  --color-error:          #c0392b;

  /* ─── Typography ─── */
  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   2rem;       /* 32px */
  --text-3xl:   2.75rem;    /* 44px */
  --text-4xl:   3.5rem;     /* 56px */
  --text-5xl:   4.5rem;     /* 72px */

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semi:    600;

  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  --tracking-tight:  -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.12em;
  --tracking-widest:  0.2em;

  /* ─── Spacing (8px base) ─── */
  --space-1:  0.25rem;   /* 4px  */
  --space-2:  0.5rem;    /* 8px  */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */

  /* ─── Border Radius ─── */
  --radius-none: 0;
  --radius-sm:   0.125rem;
  --radius-md:   0.25rem;
  --radius-lg:   0.5rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  /* ─── Shadows ─── */
  --shadow-xs:  0 1px 2px rgba(26,22,18,0.06);
  --shadow-sm:  0 2px 8px rgba(26,22,18,0.08);
  --shadow-md:  0 4px 16px rgba(26,22,18,0.10);
  --shadow-lg:  0 8px 32px rgba(26,22,18,0.12);
  --shadow-xl:  0 16px 48px rgba(26,22,18,0.16);

  /* ─── Transitions ─── */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --duration-fast:   150ms;
  --duration-normal: 250ms;
  --duration-slow:   400ms;

  /* ─── Layout ─── */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1280px;
  --container-2xl: 1440px;

  --nav-height:       64px;
  --announce-height:  40px;
}

/* ─── Base Reset ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

input, textarea {
  font-family: inherit;
}
