/*
 * Karri brand tokens for careers.karri.io
 * Source: 2026-05-15_Karri_Brand_Guidelines.pdf (v01, May 2026)
 *
 * Colour values are the official hex codes from the guidelines (p. 17).
 *
 * Fonts are self-hosted (see fonts.css), never hotlinked. Outfit is the
 * brand's own Google alternative to FG Futurist (guidelines p. 23) and the
 * fallback in the stack below.
 */

:root {
  /* Core palette: carries most surfaces */
  --karri-cream: #F5E6D3;        /* Newsprint Cream, the base */
  --karri-cream-tint: #FBF5ED;   /* Newsprint Cream 40% Tint: softer alternative when full cream is too heavy */
  --karri-off-black: #261E18;    /* Off Black: text and anchor */
  --karri-mint: #A0D2B9;         /* Light Mint, the hero: confident, not everywhere */

  /* Secondary palette: accents only, used sparingly */
  --karri-blue: #97C2E2;         /* Soft Blue */
  --karri-mustard: #E1B831;      /* Mustard Yellow */
  --karri-pink: #E76F88;         /* Watermelon Pink (called Bubblegum in older notes) */

  /* Typefaces */
  --font-display: "FG Futurist", "Outfit", system-ui, sans-serif; /* headlines, sublines, detail caps */
  --font-body: "Public Sans", system-ui, sans-serif;              /* body copy only */
  --font-mono: "DM Mono", ui-monospace, monospace;                /* labels, buttons, spec text */

  /* Shape */
  --radius-card: 1rem;
  --radius-pill: 999px;
}

body {
  background: var(--karri-cream-tint);
  color: var(--karri-off-black);
  font-family: var(--font-body);
  font-weight: 500;              /* Public Sans Medium */
  letter-spacing: -0.02em;       /* body kerning -2% */
  line-height: 1.4;              /* body leading 140% */
}

/* Headline: Bold for 4-6 words, Semibold for longer lines */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

/* Subline: Futurist Medium */
.subline {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.25;
}

/* Detail 1: tracked-out caps, e.g. [ ENGINEERING ] */
.detail {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Detail 2: DM Mono for labels, meta lines and buttons */
.label,
.button {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.button {
  display: inline-block;
  padding: 0.5em 1.5em;
  border-radius: var(--radius-pill);
  background: var(--karri-off-black);
  color: var(--karri-cream);
  text-decoration: none;
}

.button--outline {
  background: transparent;
  color: currentColor;
  border: 1.5px solid currentColor;
}

/* Rounded content card, as used throughout the guidelines */
.card {
  background: var(--karri-cream);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.card--mint {
  background: var(--karri-mint);
}
