/* =============================================================================
   THEME: DAY (v2). Palette copied from dashboard/themes/northwind.css. Light,
   warm paper surfaces, deep emerald accent, clay secondary. Defines the full
   semantic token set as overrides on [data-theme="day"] (night.css supplies
   the :root default and defines every token, so day only needs to override).
   No CDN: the northwind source's Google Fonts (Fraunces) import is replaced
   with a system serif stack. The TT Norms Pro body font is kept because it
   is a LOCAL vendored asset already served site-wide at /assets/fonts/, not
   a CDN fetch.
   ========================================================================== */

@import url('/assets/fonts/tt-norms-pro/tt-norms-pro.css');

[data-theme="day"] {
  /* Surfaces , warm paper, light to white */
  --surface-1: #F4F1EA;
  --surface-2: #FBFAF6;
  --surface-3: #ECE7DC;

  /* Ink , near-black warm */
  --ink-1: #211C16;
  --ink-2: #5A5347;
  --ink-3: #8C8576;

  /* Rules , dark hairlines on light */
  --rule:        rgba(33,28,22,0.10);
  --rule-strong: rgba(33,28,22,0.18);

  /* Primary accent , deep emerald */
  --accent:      #1F7A5C;
  --accent-dim:  rgba(31,122,92,0.14);
  --accent-soft: rgba(31,122,92,0.06);
  --on-accent:   #F7FBF8;

  /* Secondary accent , clay */
  --accent-2:     #B5562F;
  --accent-2-dim: rgba(181,86,47,0.14);

  /* Spotlight , emerald -> lime */
  --spotlight: linear-gradient(100deg, #1F7A5C 0%, #5BA152 55%, #9BBE3C 100%);
  --spotlight-solid: #2F8A57;

  /* Semantic status (tuned for light bg) */
  --ok:        #1E8A50;  --ok-dim:     rgba(30,138,80,0.14);
  --warn:      #B7791F;  --warn-dim:   rgba(183,121,31,0.16);
  --danger:    #C2402F;  --danger-dim: rgba(194,64,47,0.14);

  /* Typography , system serif display (no CDN) + local TT Norms Pro body */
  --font-display: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body:    'TT Norms Pro', system-ui, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, monospace;
  --weight-display: 400;
  --tracking-display: -0.01em;
  --feature-settings: normal;

  /* Shape */
  --radius:      14px;
  --radius-sm:   10px;
  --radius-pill: 999px;

  /* Depth , soft neutral shadows for light surfaces */
  --shadow-card:   0 1px 2px rgba(33,28,22,0.04), 0 16px 36px -28px rgba(33,28,22,0.30);
  --shadow-lift:   0 26px 54px -34px rgba(33,28,22,0.34);
  --shadow-accent: 0 12px 36px -18px var(--accent);

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.16s;
  --dur:      0.32s;
  --dur-slow: 0.7s;

  /* Layout */
  --maxw:   1120px;
  --gutter: clamp(22px, 5vw, 72px);

  /* Texture , light needs no grain; faint warm ambient only */
  --grain-opacity: 0;
  --ambient-1: rgba(31,122,92,0.05);
  --ambient-2: rgba(181,86,47,0.04);

  color-scheme: light;
}
