/* ============================================================
   TIMOTHY MULCARE — "slipcase" design language
   Warm paper ground · geometric tracked Alright Sans caps ·
   light Cheltenham serif · flat primary-print color coding.
   ============================================================ */

/* ---- Alright Sans (primary / poster voice) ---- */
@font-face { font-family:"Alright Sans"; src:url("./fonts/AlrightSans-Light-v3.otf") format("opentype"); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Alright Sans"; src:url("./fonts/AlrightSans-Regular-v3.otf") format("opentype"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Alright Sans"; src:url("./fonts/AlrightSans-Medium-v3.otf") format("opentype"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Alright Sans"; src:url("./fonts/AlrightSans-Bold-v3.otf") format("opentype"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"Alright Sans"; src:url("./fonts/AlrightSans-Ultra-v3.otf") format("opentype"); font-weight:900; font-style:normal; font-display:swap; }

/* ---- Cheltenham (secondary / editorial voice) ---- */
@font-face { font-family:"Cheltenham"; src:url("./fonts/cheltenham-normal-200.ttf") format("truetype"); font-weight:200; font-style:normal; font-display:swap; }
@font-face { font-family:"Cheltenham"; src:url("./fonts/cheltenham-italic-200.ttf") format("truetype"); font-weight:200; font-style:italic; font-display:swap; }
@font-face { font-family:"Cheltenham"; src:url("./fonts/cheltenham-normal-300.ttf") format("truetype"); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Cheltenham"; src:url("./fonts/cheltenham-italic-300.ttf") format("truetype"); font-weight:300; font-style:italic; font-display:swap; }
@font-face { font-family:"Cheltenham"; src:url("./fonts/cheltenham-italic-400.ttf") format("truetype"); font-weight:400; font-style:italic; font-display:swap; }

:root {
  --sans: "Alright Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cheltenham", "Times New Roman", Times, serif;

  /* paper + ink */
  --paper: #ecebe4;          /* warm grey slipcase ground (tweakable) */
  --paper-spine: #e7e5dd;    /* gray-spine panel */
  --ink: #14130f;
  --ink-soft: #6a6760;
  --ink-faint: #a7a39a;

  /* flat-print primaries */
  --red:    #de1a16;
  --blue:   #0e44c4;
  --yellow: #f3c200;

  /* project palette (each owns a fixed color) */
  --c-remember: #f3c200;   /* yellow  */
  --c-gnosis:   #0e44c4;   /* blue    */
  --c-shadow:   #de1a16;   /* red     */
  --c-father:   #14130f;   /* black   */
  --c-italy:    #ed6a18;   /* orange  */
  --c-ssri:     #d11f86;   /* magenta */
  --c-bait:     #0c8c9b;   /* teal    */
  --c-route66:  #1f7a3c;   /* green   */
  --c-hurricane:#4733c9;   /* violet  */
  --c-oaxaca:   #7a2bb0;   /* purple  */
  --c-corn:     #02a094;   /* turquoise */

  /* tracked-caps tuning (tweakable) */
  --track: 0.4em;
  --word-scale: 1;
  --scatter: 1;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 420ms var(--ease);
}
::selection { background: var(--yellow); color: var(--ink); }

/* tracked caps utility — the poster voice */
.caps {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: var(--track);
  /* compensate trailing track so optical centering stays true */
  text-indent: var(--track);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* editorial serif — the human voice */
.serif {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; text-decoration: none; }
