/* ===========================================================
   CRYSTAL AID — DESIGN TOKENS
   A jewel-box aesthetic: deep ink backgrounds, warm bone text,
   antique brass accents drawn from the brand's own studio
   photography (gold wire wraps on black backdrops).
   =========================================================== */

:root {
  /* ---- Color: named, not generic ---- */
  --ink: #0E0D10;            /* primary background — near-black, warm */
  --ink-soft: #16151A;       /* secondary surface, cards */
  --ink-softer: #1D1C22;     /* tertiary surface, hover states */
  --bone: #F6F1E7;           /* primary text on dark */
  --bone-dim: #C9C2B4;       /* secondary text on dark */
  --brass: #B8864B;          /* primary accent — antique gold/brass */
  --brass-bright: #D9A968;   /* hover/active brass */
  --amethyst: #6B4C82;       /* secondary accent — desaturated purple */
  --garnet: #7A3B3B;         /* rare third accent — deep red, sparingly */
  --moss: #4A5142;           /* quiet divider green, very restrained */
  --line: rgba(246, 241, 231, 0.12);   /* hairline borders on dark */
  --line-bright: rgba(184, 134, 75, 0.4);

  /* Light surfaces (used sparingly: cart drawer, modals) */
  --paper: #FBF8F2;
  --paper-line: rgba(14, 13, 16, 0.1);

  /* ---- Type ---- */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* ---- Scale ---- */
  --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: 96px;
  --space-10: 128px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: var(--bone);
}

::selection { background: var(--brass); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--space-4); }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
