/* ==========================================================================
   NSC 2027 design language, "Helix", version 2 (8 Nov 2026)
   One source of truth: the site, the brand guide (/en/brand/), the brochure
   and the kit read these values. Change them here, never in a page.

   Register: the estate's portal system (UCHPE, SDUMC, AHBS), meaning square
   corners, hairlines, heavy tight Inter, mono labels and colour fields,
   expressed in NSC's own colour: the crimson of the brochure's DNA on a
   near-black wine.
   ========================================================================== */
@font-face { font-family: "Inter var"; src: url(/fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  /* ---- Colour fields (dark) --------------------------------------------- */
  --night:   #14060A;  /* hero, footer: near-black wine                      */
  --wine:    #2A0B12;  /* dark bands, cards on night                          */
  --garnet:  #5E1621;  /* glow behind subjects, inner-page fields             */
  /* ---- Action and accent ------------------------------------------------ */
  --crimson: #B3263A;  /* the one action colour (white on it 6.5:1)           */
  --crimson-d: #8E1C2E;/* pressed/hover                                       */
  --rose:    #FF8FA0;  /* accent on dark: outline words, dots, rules          */
  --blush:   #FBE3E6;  /* tint on light                                       */
  /* ---- Light surfaces --------------------------------------------------- */
  --white:   #FFFFFF;  /* page                                                */
  --wash:    #FAF5F6;  /* alternate band                                      */
  --wash-2:  #F3E9EB;  /* table heads, wells                                  */
  --line:    #E8DADD;  /* hairlines                                           */
  --ink:     #170B0E;  /* text (18:1 on white)                                */
  --ink-2:   #5E4D52;  /* secondary text (7.9:1 on white)                     */
  --on-dark: #F4E4E7;  /* body text on night                                  */
  --on-dark-2: #C9AEB4;/* secondary text on night (8.6:1)                     */

  /* ---- Nucleobases: information only (programme tracks) ----------------- */
  --a: #D9822B;  --a-ink: #8A4D0F;   /* adenine  · Day 1, cardiometabolic   */
  --t: #2F8A5B;  --t-ink: #1F6643;   /* thymine  · workshop, hands-on       */
  --g: #C24563;  --g-ink: #9A2645;   /* guanine  · Day 2, cancer            */
  --c: #4F6B86;  --c-ink: #3A536B;   /* cytosine · papers and posters       */

  /* ---- Type ------------------------------------------------------------- */
  /* SF Pro on Apple devices (the system font), Inter everywhere else. */
  --sans: -apple-system, BlinkMacSystemFont, "Inter var", system-ui, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* ---- Space and motion ------------------------------------------------- */
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
