/* ===========================================================================
   iT9 HR document — the 2027 edition (2026-10-30, batch E4e).
   ===========================================================================
   A document first SENT after Centra's design switch was put on Everyone is
   shown in the it9.ca look: the server says so (look '2027') and the page adds
   .doc-2027 to the document's container. Nothing here applies to any other
   document, so this file is linked unconditionally next to doc-cover.css and
   its fonts are fetched only when a 2027 document is on screen. They are
   declared as 'iT9 Sora' etc. so they never compete with the app's own faces.

   The values are the template's 2027 edition (it9_brand.py IT9_BRAND_EDITION
   =2027), the same map the PDFs and the SOWs use: blue becomes the it9.ca red,
   slate becomes the ink greys, Space Grotesk / Inter / IBM Plex Mono become
   Sora / Hanken Grotesk / JetBrains Mono. Ink, grey and border tokens of the
   page around a body page stay with the page's own light or dark theme.

   :root:root raises these above the signing pages' own rules and above
   centra-public-v2.css, which pins the document to today's tokens.
   =========================================================================== */

@font-face{font-family:'iT9 Sora';font-style:normal;font-weight:100 800;font-display:swap;
  src:url(sora-variable.ttf) format('truetype-variations')}
@font-face{font-family:'iT9 Hanken Grotesk';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(hanken-grotesk-variable.ttf) format('truetype-variations')}
@font-face{font-family:'iT9 Hanken Grotesk';font-style:italic;font-weight:100 900;font-display:swap;
  src:url(hanken-grotesk-italic-variable.ttf) format('truetype-variations')}
@font-face{font-family:'iT9 JetBrains Mono';font-style:normal;font-weight:100 800;font-display:swap;
  src:url(jetbrains-mono-variable.ttf) format('truetype-variations')}

/* The cover's own tokens (doc-cover.css declares them on :root and .doccover). */
:root:root .doc-2027,
:root:root .doc-2027 .doccover{
  --dc-ink:#181D20;
  --dc-blue:#D70F27;
  --dc-blue-light:#FF7A8A;
  --dc-orange:#D70F27;
  --dc-s200:#E1E4E6;
  --dc-s300:#C9CED2;
  --dc-s400:#9AA1A7;
  --dc-s500:#6B737A;
  --dc-s600:#50585E;
  --dc-s700:#3A4045;
  --dc-field:#F6F7F8;
  --dc-display:'iT9 Sora','Sora','iT9 Hanken Grotesk','Hanken Grotesk',-apple-system,"Segoe UI",Roboto,sans-serif;
  --dc-body:'iT9 Hanken Grotesk','Hanken Grotesk',-apple-system,"Segoe UI",Roboto,system-ui,sans-serif;
  --dc-mono:'iT9 JetBrains Mono','JetBrains Mono',ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
}
/* The cover ground: the 2027 grid wash in place of the soft blue radial wash. */
:root:root .doc-2027 .doccover{
  background:#fff url(cover-wash-2027.png) center/cover no-repeat;
}

/* The body pages on the signing pages (sign.html and signoff.html style them
   from the page's own tokens): the accent and the type. */
:root:root .doc.doc-2027{
  --blue:#D70F27;
  --blue-dark:#B30C20;
  --blue-pale:#F6F7F8;
  --focus-ring:0 0 0 3px rgba(215,15,39,.30);
  --font-display:'iT9 Sora','Sora','iT9 Hanken Grotesk','Hanken Grotesk',-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-body:'iT9 Hanken Grotesk','Hanken Grotesk',-apple-system,"Segoe UI",Roboto,system-ui,sans-serif;
  --font-mono:'iT9 JetBrains Mono','JetBrains Mono',ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
  font-family:var(--font-body);
}
@media (prefers-color-scheme: dark){
  :root:root .doc.doc-2027{
    --blue:#FF7A8A;
    --blue-dark:#FF9AA6;
    --blue-pale:#2B3034;
    --focus-ring:0 0 0 3px rgba(255,122,138,.35);
  }
}
/* Paper is paper: printed or saved as PDF, the accent is the print red. */
@media print{
  :root:root .doc.doc-2027{--blue:#D70F27;--blue-dark:#B30C20;--blue-pale:#F6F7F8}
}
