/* ==========================================================================
   Lunara | dark mode
   Toggled by setting data-theme="dark" on <html>.
   All text colours come from tokens, so text stays readable in both themes.
   ========================================================================== */

[data-theme="dark"] {
  --bg: #17110D;
  --bg-alt: #211913;
  --text: #F5EBDD;
  --text-muted: #BBA58D;
  --line: rgba(245, 235, 221, .14);
  --accent: #E0BE85;

  --espresso: #0E0A07;
  --panel-text: #F5EBDD;
  --panel-muted: #C9B6A0;

  --hero-text: #F5EBDD;
  --header-bg: rgba(23, 17, 13, .94);
  --header-text: #F5EBDD;

  --btn-light-bg: #F5EBDD;
  --btn-light-text: #17110D;

  --field-bg: #2A1F18;
  --field-text: #F5EBDD;

  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
}

[data-theme="dark"] img { filter: brightness(.92); }
[data-theme="dark"] .label::after { color: var(--accent); }
[data-theme="dark"] .tag {
  background: rgba(23, 17, 13, .85); color: #F5EBDD;
}
[data-theme="dark"] .cat-card { background: #0E0A07; }
[data-theme="dark"] .nav-cta { background: var(--btn-light-bg); color: var(--btn-light-text); }
[data-theme="dark"] .site-header.scrolled .nav-cta { background: var(--accent); color: #17110D; }
[data-theme="dark"] .btn-dark { background: #F5EBDD; color: #17110D; }
[data-theme="dark"] .dropdown a:hover { background: var(--bg-alt); }
[data-theme="dark"] .field input::placeholder { color: #9C8A76; }
[data-theme="dark"] .form-error { color: #FFB4A9; }
[data-theme="dark"] .form-success { color: #BFE3C0; }

/* Motion sections */
[data-theme="dark"] .orbit-photo { box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .8); }
[data-theme="dark"] .frame-caption { background: rgba(8, 5, 3, .8); }

/* Hero card */
[data-theme="dark"] .hero-card { box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }
