/**
 * Editorial Theme — Warm parchment, serif headings, no glass blur.
 * For: eyzaguirre, baselradar, expertiseguild
 *
 * Personality: thoughtful, legible, print-inspired.
 * Fraunces for headings (loaded conditionally in base.html).
 */

html[data-theme="editorial"] {
  /* --- Backgrounds (parchment palette) --- */
  --space-black:    #faf7f2;
  --space-dark:     #f3ede4;
  --space-gray-900: #eae2d6;
  --space-gray-800: #ddd4c4;
  --space-gray-700: #b8aa96;

  /* --- Text (warm near-black) --- */
  --text-primary:   #1a1509;
  --text-secondary: #5c5043;
  --text-muted:     #9c8e7d;
  --text-disabled:  #c4b9a7;

  /* --- Accent tints (warm, muted) --- */
  --accent-tint:   rgba(0, 0, 0, 0.04);
  --accent-border: rgba(0, 0, 0, 0.10);
  --accent-glow:   rgba(0, 0, 0, 0.06);

  /* --- Glass → flat borders (no blur) --- */
  --glass-bg:       rgba(0, 0, 0, 0.02);
  --glass-border:   rgba(0, 0, 0, 0.08);
  --glass-backdrop: none;
  --glass-shadow:   0 2px 8px rgba(0, 0, 0, 0.07);
  --glow-blue:      0 2px 8px rgba(0, 0, 0, 0.07);
  --glow-blue-strong: 0 4px 16px rgba(0, 0, 0, 0.12);

  /* --- Typography (serif body + display heading) --- */
  --font-family:             Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --font-heading:            'Fraunces', Georgia, 'Times New Roman', serif;
  --letter-spacing-heading:  0.01em;
  --text-transform-heading:  none;
  --line-height-tight:       1.15;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.14);

  /* --- Component: Buttons (thin border, no lift) --- */
  --btn-border:          1px solid rgba(0, 0, 0, 0.15);
  --btn-radius:          var(--radius-sm);
  --btn-shadow:          none;
  --btn-hover-shadow:    none;
  --btn-hover-transform: none;

  /* --- Component: Cards (flat, thin border) --- */
  --card-border:          1px solid rgba(0, 0, 0, 0.10);
  --card-radius:          var(--radius-sm);
  --card-shadow:          0 1px 3px rgba(0, 0, 0, 0.06);
  --card-hover-shadow:    0 2px 8px rgba(0, 0, 0, 0.10);
  --card-hover-transform: none;

  /* --- Component: Inputs (minimal border) --- */
  --input-border:      1px solid rgba(0, 0, 0, 0.15);
  --input-radius:      var(--radius-sm);
  --input-focus-ring:  0 0 0 2px rgba(0, 0, 0, 0.05);

  /* --- Component: Nav --- */
  --nav-bg:     rgba(250, 247, 242, 0.95);
  --nav-border: 1px solid rgba(0, 0, 0, 0.08);

  /* --- Component: Badges --- */
  --badge-radius: var(--radius-sm);

  /* --- Dividers --- */
  --divider-width: 1px;
  --divider-color: rgba(0, 0, 0, 0.08);

  /* --- Animation: slow, no movement (editorial patience) --- */
  --ease-smooth:         cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:     300ms var(--ease-smooth);
  --transition-base:     400ms var(--ease-smooth);
  --transition-slow:     600ms var(--ease-smooth);
  --hover-lift-sm:       none;
  --hover-lift-md:       none;
}
