/* Direction: Lumora — minimal candle atelier. Warm paper, soot ink, clay accent, a light serif display */
/* 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: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f1ebe2;
  --border: #e4dbcf;
  --border-strong: #b5b1ac;
  --ink: #231f1b;
  --muted: #6b6159;
  --accent: #8a5a3c;
  --accent-hover: #754d33;
  --accent-ink: #ffffff;
  --accent-text: #7a4a2e;
  --accent-strong: #8a5a3c;
  --accent-soft: #f0e4d8;
  --accent-border: #c8b0a0;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dfe9dc;
  --success-strong: #137638;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f2e3d6;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f2ddd8;
  --danger-strong: #b91c1c;
  --chart-1: #8a5a3c;
  --chart-2: #83880e;
  --chart-3: #0e5e4c;
  --chart-4: #0086b6;
  --chart-5: #523c8e;
  --chart-6: #b75a86;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.02em;
  --radius-card: 4px;
  --radius-btn: 999px;
  --radius-input: 6px;
  --x-band: #25201c;
  --x-on-photo: #f6efe6;
  --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: #130d08;
  --surface: #2b2521;
  --surface-2: #1f1914;
  --border: #342f2b;
  --border-strong: #5a5652;
  --ink: #faf7f2;
  --muted: #9e9994;
  --accent: #8a5a3c;
  --accent-hover: #9c7359;
  --accent-ink: #ffffff;
  --accent-text: #ab8873;
  --accent-strong: #ab8873;
  --accent-soft: #2d1e13;
  --accent-border: #49301f;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #132614;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #361c08;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #38100c;
  --danger-strong: #d16969;
  --chart-1: #966547;
  --chart-2: #8f9423;
  --chart-3: #1b9579;
  --chart-4: #418bd1;
  --chart-5: #9868ba;
  --chart-6: #cb6578;
}

@keyframes lumora-flick {
  0%, 100% { transform: scale(1) rotate(-1deg); }
  50% { transform: scale(1.08, 1.14) rotate(2deg); }
}
.flame { display: inline-block; transform-origin: 50% 90%; animation: lumora-flick 3.2s ease-in-out infinite; }
html.reduced-motion .flame { animation: none; }
.candle-ph { background: linear-gradient(160deg, var(--surface-2), var(--accent-soft)); }
dialog.modal::backdrop { background: rgba(0, 0, 0, 0.45); }
