/* Modern Coastal Editorial.
   One palette for site.html, gate.html and savethedate.html.
   Sampled from the overall grade of the elopement and proposal photographs,
   not from the light sources in them. Nothing here is saturated.

   Light is the default. Any element carrying .on-dark, and the gate and hero,
   redefine the same variable names, so every component inherits the dark
   treatment without a second set of rules. */

:root {
  /* Grounds. bg is quarried limestone, card sits one step lighter. */
  --bg: #dcd9ce;
  --bg2: #d4d1c5;
  --card: #e4e1d8;

  /* Ink */
  --ink: #2b2d26;
  --ink2: #21231d;
  --muted: #55574d;
  --line: rgba(43, 45, 38, 0.18);

  /* Antique gold. amber-dk is the text weight, amber is decorative only. */
  --amber: #b49a62;
  --amber-dk: #6b571f;

  /* Muted olive */
  --sage: #8c8e6f;
  --sage-dk: #4b5340;
  --sage-bg: #d3d5c6;

  /* Coastal blue. Points at the trip, nothing else. */
  --teal: #8ca9b1;
  --teal-dk: #425c64;
  --teal-bg: #cdd7da;

  /* Status */
  --ok: #41603b;
  --ok-bg: #d6dfcd;
  --danger: #8d2d20;
  --danger-bg: #ecd9d4;

  /* The unverified marker */
  --flag: #6b571f;

  /* Text over photographs */
  --on-dark: #e6e0d6;
  --on-dark-mute: rgba(230, 224, 214, 0.74);
  --scrim: rgba(20, 22, 17, 0.62);

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* The dark register. Same variable names, flipped values, so a section marked
   .on-dark renders its cards, rules, buttons and status chips correctly with no
   component-level overrides. */
.on-dark,
[data-theme="friends"] {
  --bg: #21231d;
  --bg2: #191b16;
  --card: #2a2c24;

  --ink: #e6e0d6;
  --ink2: #d7d1c5;
  --muted: #a39d90;
  --line: rgba(230, 224, 214, 0.16);

  --amber: #c4ab78;
  --amber-dk: #c6af7d;

  --sage: #8c8e6f;
  --sage-dk: #a8b48f;
  --sage-bg: #272a20;

  --teal: #8ca9b1;
  --teal-dk: #a8c0c6;
  --teal-bg: #1d272a;

  --ok: #8fcf86;
  --ok-bg: #1b2518;
  --danger: #e59b8d;
  --danger-bg: #2c1714;

  --flag: #d9b870;

  --on-dark: #e6e0d6;
  --on-dark-mute: rgba(230, 224, 214, 0.74);
  --scrim: rgba(12, 13, 10, 0.68);
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 104px;

  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 3px;
}
