/* ==========================================================================
   Naples Codex — Design Tokens
   --------------------------------------------------------------------------
   Single source of truth for color, type, spacing, and layout.
   All component styling in main.css references these variables.

   To upgrade typefaces later (GT Sectra Display, Tiempos Text):
   enqueue the font files, then change --nc-serif-display / --nc-serif-body
   here. Nothing else needs to touch.
   ========================================================================== */

:root {

  /* --- Color: surfaces ------------------------------------------------- */
  --nc-navy:           #0A1A2F;  /* primary background (publication register) */
  --nc-navy-raised:    #102540;  /* elevated surface: cards on navy */
  --nc-cream:          #F5EFE0;  /* light-mode sections, edition body bg */

  /* --- Color: accent --------------------------------------------------- */
  --nc-gold:           #C9A66B;  /* masthead, rules, edition titles, accents */
  --nc-gold-soft:      rgba(201, 166, 107, 0.34); /* hairline rules, borders */

  /* --- Color: text ----------------------------------------------------- */
  --nc-ink:            #1A1A1A;  /* body text on cream */
  --nc-ink-muted:      #6B6B6B;  /* muted text on cream */
  --nc-on-navy:        #E8E4D8;  /* body text on navy */
  --nc-on-navy-muted:  #9A9A9A;  /* muted text on navy */

  /* --- Typography: families -------------------------------------------- */
  /* Display & body are Georgia for now; system stack for UI/metadata.
     No web fonts are loaded — this is deliberate (performance + register). */
  --nc-serif-display:  Georgia, "Times New Roman", "Times", serif;
  --nc-serif-body:     Georgia, "Times New Roman", "Times", serif;
  --nc-sans:           -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                       "Helvetica Neue", Arial, sans-serif;

  /* --- Typography: scale ----------------------------------------------- */
  --nc-body-size:      1.0625rem;  /* 17px base; bumps to 18px on wide screens */
  --nc-body-leading:   1.6;
  --nc-measure:        68ch;       /* long-form reading line length (65–75) */

  /* --- Tracking -------------------------------------------------------- */
  --nc-track-wordmark: 0.14em;     /* wordmark letter-spacing (spec: ≥0.12em) */
  --nc-track-eyebrow:  0.18em;     /* series kicker / section nav small caps */

  /* --- Spacing scale --------------------------------------------------- */
  --nc-space-1:  0.5rem;
  --nc-space-2:  1rem;
  --nc-space-3:  1.5rem;
  --nc-space-4:  2rem;
  --nc-space-5:  3rem;
  --nc-space-6:  4.5rem;
  --nc-space-7:  7rem;

  /* --- Layout ---------------------------------------------------------- */
  --nc-container:      1200px;     /* edition grid / general max width */
  --nc-container-read: 720px;      /* single-column reading max width */
  --nc-radius:         2px;        /* near-square; restraint over rounding */
  --nc-hairline:       1px;
}
