/* FERGANALI · design tokens
   One source for colour, type, space and motion.
   Signed off 15 Nov 2026: Commissioner + Literata (journal only),
   Pomegranate as house colour with Indigo as counterpart.
   Revised 15 Nov 2026 after owner review and the evidence report: Aged Ivory
   ground with Midnight stages, larger type. Second revision: Cormorant returns
   for headings and long-form (owner request); Commissioner stays for interface and body. */

/* ── Faces (self-hosted, subset per script; U+02BB verified in every file) ── */
@font-face{font-family:'Commissioner';font-style:normal;font-weight:400 600;font-display:swap;
  src:url('/fonts/commissioner-latin.woff2') format('woff2');
  unicode-range:U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2010-2015,U+2018-201E,U+2020-2022,U+2026,U+2030,U+2032-2033,U+2039-203A,U+20AC,U+2116,U+2212}
@font-face{font-family:'Commissioner';font-style:normal;font-weight:400 600;font-display:swap;
  src:url('/fonts/commissioner-cyrillic.woff2') format('woff2');
  unicode-range:U+0400-045F,U+0490-0491}
@font-face{font-family:'Cormorant SC';font-style:normal;font-weight:300;font-display:swap;src:url('/fonts/cormorant-sc-300.woff2') format('woff2')}
@font-face{font-family:'Cormorant SC';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/cormorant-sc-400.woff2') format('woff2')}

:root{
  /* Neutrals */
  --ivory:#F2EDE3;      /* Aged Ivory */
  --ivory2:#E8E1D4;     /* panel on ivory ground */
  --ink:#2A1E0A;        /* Deep Ink, secondary text */
  --night:#0E0C09;      /* Midnight, body text */
  --paper:#FAFAF7;      /* page ground */

  /* Jewels: cloth and fields only, never interface chrome */
  --emerald:#155c40;     --emerald-deep:#0a3325;     --emerald-bright:#2f7a5c;
  --pomegranate:#6e2230; --pomegranate-deep:#3a0f17; --pomegranate-bright:#9a3644;
  --indigo:#1f2f52;      --indigo-deep:#0e1730;      --indigo-bright:#3a4d78;
  --garnet:#5f1a24;
  --aubergine:#3a2440;   --aubergine-deep:#241528;   --aubergine-bright:#5a3a5e;

  /* Atlas band: three colours only */
  --band-ivory:#F2EDE3; --band-navy:#1c2c52; --band-navy-2:#33477a;
  --band-pom:#6e1f2c;   --band-pom-2:#9a2f3e;

  /* Roles */
  --ground:var(--ivory);
  --panel:var(--ivory2);
  --text:var(--night);
  --text-2:var(--ink);
  --rule:rgba(14,12,9,.2);
  --house:var(--pomegranate);      /* the signature field */
  --house-2:var(--indigo);         /* its counterpart; footer */
  --on-field:var(--ivory);
  --rule-on-field:rgba(242,237,227,.28);

  /* Type */
  --font-ui:'Commissioner','Helvetica Neue',Arial,sans-serif;
  --font-display:'Cormorant SC',Georgia,serif;      /* the wordmark's face: one h1 per view, nothing else */
  --fs-label:12px;  --fs-small:14px; --fs-body:17px; --fs-lead:20px;
  --fs-h3:20px;     --fs-h2:32px;    --fs-h1:56px;
  --lh-body:1.6;    --lh-head:1.2;
  --w-text:400;     --w-strong:500;
  --track-label:.12em;
  --measure:66ch;

  /* Space: 4 / 8 / 16 / 24 / 40 / 64 / 104 / 168 */
  --s1:4px; --s2:8px; --s3:16px; --s4:24px; --s5:40px; --s6:64px; --s7:104px; --s8:168px;
  --gutter:clamp(16px,2.2vw,32px);
  --margin:clamp(20px,4.5vw,72px);

  /* Motion: slow and few for images, quick for interface */
  --ease-calm:cubic-bezier(.4,0,.2,1);
  --t-ui:160ms;
  --t-image:750ms;
  --t-wipe:850ms;
}
