/* Glas Community — colour system.
   The palette is hand-printed ink on natural paper: a single grounding moss green,
   warm oatmeal paper, and a small set of secondary inks (candle, seaglass, slate).
   Base scales first, then semantic aliases. */

:root {
  /* ---- Moss (primary ink) ---- */
  --glas-moss: #24372C;        /* Approved Moss Glas — the brand's primary ink */
  --glas-moss-deep: #16241B;   /* deepest printed moss, reversed backgrounds */
  --glas-moss-700: #24372C;
  --glas-moss-500: #3C5A48;    /* lighter moss — links, hover ink */
  --glas-moss-300: #7C9384;    /* muted moss — secondary text on paper */
  --glas-moss-150: #C3CFC6;    /* soft moss tint — hover surface, rules */
  --glas-moss-100: #DCE3DD;    /* faintest moss wash — surface tint */

  /* ---- Candle (warm accent) ---- */
  --glas-candle: #C88A50;      /* amber — small labels, accents, never paragraphs */
  --glas-candle-deep: #A86E38; /* darker candle for adequate contrast on pale */
  --glas-candle-soft: #E8C9A6; /* soft candle wash */

  /* ---- Seaglass + Slate (supporting inks) ---- */
  --glas-seaglass: #5D918E;
  --glas-seaglass-soft: #BBD2CE;
  --glas-slate: #43474B;

  /* ---- Paper + neutrals ---- */
  --glas-paper: #EFEBE1;       /* lightest natural paper — page ground */
  --glas-oatmeal: #E7E2D6;     /* oatmeal — reversed text on moss, secondary surface */
  --glas-oatmeal-deep: #D8D1BF;/* aged oatmeal — borders / rules on paper */
  --glas-white: #FBFAF5;       /* warm card white */
  --glas-charcoal: #2A2A2A;    /* charcoal — long reading body */
  --glas-ink-soft: #5A5A54;    /* soft neutral ink — captions on paper */

  /* ---- Semantic: text ---- */
  --text-primary: var(--glas-moss);     /* headings, short copy, labels, icons */
  --text-body: var(--glas-charcoal);    /* long reading passages */
  --text-muted: var(--glas-ink-soft);   /* captions, metadata */
  --text-accent: var(--glas-candle-deep);/* small emphasis, dates, categories */
  --text-link: var(--glas-moss-500);
  --text-reversed: var(--glas-oatmeal); /* type on moss backgrounds (avoid pure white) */
  --text-on-candle: var(--glas-moss);

  /* ---- Semantic: surface ---- */
  --surface-page: var(--glas-paper);
  --surface-card: var(--glas-white);
  --surface-raised: var(--glas-oatmeal);
  --surface-moss: var(--glas-moss);      /* reversed / feature sections */
  --surface-moss-deep: var(--glas-moss-deep);
  --surface-tint: var(--glas-moss-100);

  /* ---- Semantic: line / border ---- */
  --border-subtle: var(--glas-oatmeal-deep);
  --border-ink: var(--glas-moss);
  --border-hairline: rgba(36, 55, 44, 0.18);
  --rule-reversed: rgba(231, 226, 214, 0.35);

  /* ---- Focus ---- */
  --focus-ring: var(--glas-candle-deep);
}
