/* ============================================================
   מילים לנצח — THEME v2 (Quiet Elegance)
   Loaded AFTER colors_and_type.css to override the tokens.
   Direction: more whitespace, fewer decorations, softer shadows,
   gradients only on hero + poem; off-white / white everywhere else.
   Palette: red #C8102E · gold #D4AF7A · off-white #FDFAF7 · dark #1C1C1C · gray #6B6B6B
   Fonts: Frank Ruhl Libre (headings) · Heebo (body) · David Libre (poems)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&family=David+Libre:wght@400;500;700&display=swap');

:root {
  /* ---- core palette ---- */
  --red:        #C8102E;
  --gold:       #D4AF7A;
  --off-white:  #FDFAF7;
  --dark:       #1C1C1C;
  --gray:       #6B6B6B;

  /* ---- red ramp rebuilt around #C8102E ---- */
  --red-50:  #FEF5F6;
  --red-100: #FCE9EB;
  --red-200: #F6D2D7;
  --red-300: #EA9AA4;
  --red-400: #DD5E6E;
  --red-500: #D62A42;
  --red-600: #C8102E;   /* PRIMARY */
  --red-700: #A60D26;
  --red-800: #7E0A1D;
  --red-900: #2A0610;

  /* ---- warm neutrals ---- */
  --ink-900: #1C1C1C;
  --ink-700: #3A3633;
  --ink-500: #6B6B6B;
  --ink-300: #A9A29B;
  --ink-200: #ECE4DB;   /* hairline */
  --cream:   #F6EFE7;   /* alternate section wash */
  --paper:   #FDFAF7;   /* default page background */
  --white:   #FFFFFF;

  /* ---- semantic ---- */
  --bg:            var(--paper);
  --bg-alt:        var(--cream);
  --bg-inverse:    var(--dark);
  --surface:       var(--white);
  --surface-tint:  #FBEBEC;

  --text:          var(--ink-900);
  --text-soft:     var(--ink-500);
  --text-on-red:   #FFFFFF;
  --text-on-red-soft: rgba(255,255,255,0.78);

  --brand:         var(--red-600);
  --brand-strong:  var(--red-800);
  --brand-bright:  var(--red-500);
  --on-brand:      #FFFFFF;

  --border:        var(--ink-200);
  --border-strong: #DAD0C6;
  --divider-on-red: rgba(255,255,255,0.14);

  /* ---- type families ---- */
  --font-display: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --font-body:    'Heebo', 'Segoe UI', sans-serif;
  --font-poem:    'David Libre', 'Frank Ruhl Libre', serif;

  /* ---- softer, cleaner radii ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* ---- soft, low shadows (no deep drops) ---- */
  --shadow-sm: 0 1px 2px rgba(28,28,28,0.04);
  --shadow-md: 0 4px 18px rgba(28,28,28,0.05);
  --shadow-lg: 0 12px 34px rgba(28,28,28,0.07);
  --shadow-red: 0 8px 22px rgba(200,16,46,0.18);

  /* ---- gentler motion ---- */
  --ease-soft:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:   160ms;
  --dur-base:   360ms;
  --dur-slow:   560ms;

  --maxw: 1180px;
  --maxw-text: 64ch;
  --section-y: clamp(72px, 10vw, 132px);
}
