@charset "UTF-8";

/* Hot or Not Chicken Co. — brand tokens.
   Three tiers: primitives (the four spec'd brand hues + neutrals) → semantic
   tokens → the two schemes. The whole site restyles from html[data-heat];
   component CSS (style.css) may reference ONLY the semantic layer. */

:root {
  /* ── Primitives — HN_Font_Colors.pdf ─────────────────────────────── */
  --magenta: #d51588;   /* Pantone Rhodamine Red C */
  --goldenrod: #fac013; /* Pantone 123 C */
  --royal: #283995;     /* Pantone 7687 C */
  --cyan: #1fbbe5;      /* Pantone 306 C */

  --plum: #2b1220;      /* warm near-black (hot-side ink) */
  --navy: #141f49;      /* cool near-black (not-side ink) */
  --cream: #fff7ec;     /* warm paper */
  --ice: #f0faff;       /* cool paper */
  --white: #ffffff;

  /* ── Fonts ────────────────────────────────────────────────────────── */
  --font-display: "Cubano", "Arial Black", sans-serif;
  --font-sub: "SaaSeries EDOT", "Trebuchet MS", sans-serif;
  --font-body: "Andale Mono", "Cascadia Mono", "Consolas", "Menlo", monospace;

  /* ── Fluid type scale ─────────────────────────────────────────────── */
  --text-hero: clamp(2.5rem, 6.5vw, 4.75rem);
  --text-gate: clamp(3rem, 12vmin, 8rem);
  --text-h2: clamp(2rem, 5vw, 3.25rem);
  --text-h3: clamp(1.25rem, 2.6vw, 1.6rem);
  --text-large: clamp(1.05rem, 1.6vw, 1.25rem);
  --text-regular: 1rem;
  --text-small: 0.875rem;
  --text-tiny: 0.78rem;

  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-normal: 1.55;

  /* ── Space scale ──────────────────────────────────────────────────── */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* ── Shape ────────────────────────────────────────────────────────── */
  --radius-s: 0.5rem;
  --radius-m: 1rem;
  --radius-l: 2rem;
  --radius-blob: 42% 58% 55% 45% / 50% 44% 56% 50%;

  --border-chunky: 3px;
}

/* ── Scheme: HOT (default) — magenta leads, goldenrod pops ──────────── */
:root,
html[data-heat="hot"] {
  --color-bg: var(--cream);
  --color-bg-raised: var(--white);
  --color-ink: var(--plum);
  --color-ink-soft: color-mix(in oklch, var(--plum), var(--cream) 28%);

  --color-accent: var(--magenta);
  /* AA-safe on --color-bg for normal-size text (raw magenta sits at ~4.6:1). */
  --color-accent-text: color-mix(in oklch, var(--magenta), black 16%);
  --color-pop: var(--goldenrod);
  --color-pop-soft: color-mix(in oklch, var(--goldenrod), var(--cream) 72%);

  --color-panel: var(--magenta);
  --color-on-panel: var(--cream);
  --color-panel-pop: var(--goldenrod);
  --color-panel-deep: color-mix(in oklch, var(--magenta), black 30%);

  --color-border: var(--plum);
  --color-focus: var(--royal);

  --gate-word: var(--cream);
  --mascot-ink: var(--magenta);

  /* Brand-kit squiggle tile, recolored per surface (cross-color on panels). */
  --pattern-panel: url("/images/pattern-panel-hot.webp");
  --pattern-band: url("/images/pattern-band-hot.webp");
}

/* ── Scheme: NOT — royal leads, cyan pops ───────────────────────────── */
html[data-heat="not"] {
  --color-bg: var(--ice);
  --color-bg-raised: var(--white);
  --color-ink: var(--navy);
  --color-ink-soft: color-mix(in oklch, var(--navy), var(--ice) 28%);

  --color-accent: var(--royal);
  --color-accent-text: var(--royal); /* ~9.3:1 on --ice */
  --color-pop: var(--cyan);
  --color-pop-soft: color-mix(in oklch, var(--cyan), var(--ice) 72%);

  --color-panel: var(--royal);
  --color-on-panel: var(--ice);
  --color-panel-pop: var(--cyan);
  --color-panel-deep: color-mix(in oklch, var(--royal), black 30%);

  --color-border: var(--navy);
  --color-focus: var(--magenta);

  --gate-word: var(--ice);
  --mascot-ink: var(--cyan);

  --pattern-panel: url("/images/pattern-panel-not.webp");
  --pattern-band: url("/images/pattern-band-not.webp");
}

/* ── Fonts — self-hosted; the brand faces aren't on any CDN ─────────── */
@font-face {
  font-family: "Cubano";
  src: url("/fonts/cubano-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SaaSeries EDOT";
  src: url("/fonts/saaseries-edot.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Andale Mono";
  src: url("/fonts/andale-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}
