/* ==========================================================================
   Purser Brand Stylesheet — single-import entry point
   ==========================================================================
   Usage notes (per brand guidance):
   - Brass and Brass Bright and Rope are ACCENT colors only. Never use them
     for essential/body copy at small sizes — use Ink or Slate instead, so
     text stays legible and accessible at small sizes.
   - Manifest (display serif) is a DISPLAY-ONLY face. Never set it below
     22px — below that size it loses its character and hurts legibility.
     Use Midship Sans for anything smaller.
   - Ledger Mono is reserved for the voice of the record: amounts, IDs,
     reference numbers, and timestamps — anywhere tabular precision and an
     audit-trail feel matter.
   ========================================================================== */

:root {
  /* Color tokens */
  --paper: #F7F3EB;
  --parchment: #FDFAF3;
  --ink: #1B2A41;
  --deep: #10192A;
  --brass: #B08C3D;
  --brass-bright: #C9A45B;
  --slate: #5C6470;
  --rope: #8C8577;
  --hairline: #E4DECF;

  /* Shape tokens */
  --radius: 14px;

  /* Font stack tokens */
  --font-display: "Manifest", serif;
  --font-ui: "Midship Sans", "Inter", system-ui, sans-serif;
  --font-ledger: "Ledger Mono", "JetBrains Mono", ui-monospace, monospace;
}

/* ==========================================================================
   @font-face — Manifest (display serif)
   Manifest is never used below 22px.
   ========================================================================== */

/* latin */
@font-face {
  font-family: "Manifest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/manifest/manifest-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manifest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/manifest/manifest-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manifest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/manifest/manifest-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manifest";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/manifest/manifest-latin-600-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: "Manifest";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/manifest/manifest-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manifest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/manifest/manifest-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manifest";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/manifest/manifest-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manifest";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/manifest/manifest-latin-ext-600-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   @font-face — Midship Sans (text & UI sans)
   ========================================================================== */

/* latin */
@font-face {
  font-family: "Midship Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/midship/midship-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Midship Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/midship/midship-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Midship Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/midship/midship-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: "Midship Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/midship/midship-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Midship Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/midship/midship-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Midship Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/midship/midship-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   @font-face — Ledger Mono (financial monospace)
   ========================================================================== */

/* latin */
@font-face {
  font-family: "Ledger Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/ledger/ledger-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ledger Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/ledger/ledger-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: "Ledger Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/ledger/ledger-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Ledger Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/ledger/ledger-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Utility classes
   ========================================================================== */

/* Display serif — never below 22px */
.purser-display {
  font-family: var(--font-display);
  font-weight: 600;
}

/* Small-caps eyebrow label — accent color, tracking .15em per revised
   guidance (not .2em) */
.purser-eyebrow {
  font-family: var(--font-ui);
  font-weight: 600;
  font-feature-settings: "smcp";
  letter-spacing: .15em;
  color: var(--brass);
  font-size: 12px;
}

/* Body copy — Ink/Slate only, never Brass/Rope, so small text stays legible */
.purser-body {
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--slate);
}

/* Tabular figures for UI/dashboard numerals */
.purser-figures {
  font-family: var(--font-ui);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* The voice of the record — amounts, IDs, timestamps */
.purser-record {
  font-family: var(--font-ledger);
  font-weight: 400;
}
