/* Carat & Grace — design tokens, straight from the Figma variables. Do not hand-edit:
   regenerate with tools/cng/cng-build.mjs. */
:root {
  /* brand */
  --cg-onyx: #1e1620;
  --cg-plum: #3a2433;
  --cg-rose: #b76e79;
  --cg-champagne: #c9a97a;
  --cg-blush: #efdcd6;

  /* surfaces */
  --cg-white: #ffffff;
  --cg-pearl: #fbf8f5;
  --cg-porcelain: #f4eeea;
  --cg-image: #ede6e1;
  --cg-night: #16111a;

  /* text */
  --cg-text: #1e1620;
  --cg-text-2: #6f6470;
  --cg-accent: #a35d69;
  --cg-inverse: #fbf8f5;

  /* lines + state */
  --cg-line: #e6ddd8;
  --cg-line-strong: #1e1620;
  --cg-sale: #a33b4c;

  /* metals (card dots + PDP swatches) */
  --cg-metal-white: #dadde2;
  --cg-metal-yellow: #e3c27e;
  --cg-metal-rose: #e3a99a;
  --cg-metal-platinum: #c9cdd4;
  --cg-metal-silver: #dadde2;

  /* type */
  --cg-display: 'Playfair Display', 'Times New Roman', serif;
  --cg-sans: 'Jost', -apple-system, 'Segoe UI', system-ui, sans-serif;

  /* layout — 1440 frame, 56px gutters, 1328 content */
  --cg-max: 1440px;
  --cg-gutter: 56px;
  --cg-header-h: 156px;   /* 36 announce + 72 top bar + 48 nav */
  --cg-header-sticky-h: 72px;
}

@media (max-width: 1023px) {
  :root { --cg-gutter: 32px; }
}
@media (max-width: 767px) {
  :root { --cg-gutter: 16px; --cg-header-h: 90px; --cg-header-sticky-h: 90px; }
}

/* LIGHT ONLY (light-mode-only-rule.md, 30 Oct 2026). This theme carries no dark palette and no
   prefers-color-scheme block — it is the BROWSER that repaints a page which does not declare its
   scheme (Chrome Android "Auto dark mode for web contents", Samsung Internet). Declaring it here
   also keeps the controls the browser paints itself — inputs, selects, checkboxes, the scrollbar —
   on their light colours. The <meta name="color-scheme"> in every layout says the same, earlier.
   The background is the theme's own light surface, the one body already uses; no design changes. */
:root { color-scheme: light only; }
html, body { background-color: var(--cg-pearl); }
