/* Direction: candlelit atelier — cream paper, ember accent, a high-contrast serif */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #fbf6ee;
  --surface: #fffaf2;
  --surface-2: #f3e8d6;
  --border: #e4d5bd;
  --border-strong: #b6afa8;
  --ink: #2a1a12;
  --muted: #6b5848;
  --accent: #9a4a1f;
  --accent-hover: #833f1a;
  --accent-ink: #ffffff;
  --accent-text: #8a3d14;
  --accent-strong: #9a4a1f;
  --accent-soft: #f1dcc3;
  --accent-border: #cfa991;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dfe8d9;
  --success-strong: #137638;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f2e2d3;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f3dcd5;
  --danger-strong: #b91c1c;
  --chart-1: #9a4a1f;
  --chart-2: #888216;
  --chart-3: #065c43;
  --chart-4: #1e84a6;
  --chart-5: #493e8f;
  --chart-6: #b0588b;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.02em;
  --radius-card: 6px;
  --radius-btn: 999px;
  --radius-input: 6px;
  --x-band: #2a1810;
  --x-on-photo: #f6ead8;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #100803;
  --surface: #28211c;
  --surface-2: #1c1410;
  --border: #312b26;
  --border-strong: #58524f;
  --ink: #fbf6ee;
  --muted: #9d9790;
  --accent: #9a4a1f;
  --accent-hover: #a96541;
  --accent-ink: #ffffff;
  --accent-text: #b67c5e;
  --accent-strong: #b67c5e;
  --accent-soft: #2e1709;
  --accent-border: #4e2610;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #112210;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #341904;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #350c09;
  --danger-strong: #d16969;
  --chart-1: #a7562c;
  --chart-2: #958e14;
  --chart-3: #169670;
  --chart-4: #2f8bcc;
  --chart-5: #916abf;
  --chart-6: #c6627e;
}

.product-card .media img { transition: transform .5s ease; }
.product-card:hover .media img { transform: scale(1.04); }
.flame { display: inline-block; transform-origin: 50% 100%; animation: flicker 3s ease-in-out infinite; }
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.06, 0.96) rotate(-2deg); }
  60% { transform: scale(0.96, 1.05) rotate(2deg); }
}
html.reduced-motion .flame { animation: none; }
html.reduced-motion .product-card:hover .media img { transform: none; }
.hero-glow { background: radial-gradient(ellipse at 70% 30%, var(--accent-soft), transparent 60%); }
