/* ==========================================================================
   Design tokens — paulgreenamyer.com
   Palette sourced from Paul's own travel photos (Istanbul, Cartagena, Prague).
   Direction: "Confident Direct-Response" — bold, declarative, specific.
   ========================================================================== */

:root {
  /* --- Color: base + accents ------------------------------------------- */
  --color-bone: #f4ecdc;          /* warm ivory/bone — default background everywhere */
  --color-bone-soft: #ede2cc;     /* slightly deeper bone, for subtle panel separation */
  --color-terracotta: #c1481f;    /* burnt-orange/terracotta — saturated, confident */
  --color-terracotta-dark: #9c3a18;
  --color-teal: #0b7d78;          /* punchy teal — not pastel */
  --color-teal-dark: #085f5b;
  --color-black: #16130f;         /* grounding neutral — warm black, not pure #000 */
  --color-white: #fffaf0;

  /* Text colors per surface */
  --ink-on-bone: var(--color-black);
  --ink-on-dark: var(--color-bone);
  --ink-muted: #5c5648;

  /* --- Typography -------------------------------------------------------- */
  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --step-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --step-h3: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-h2: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem);
  --step-h1: clamp(2.6rem, 1.9rem + 3.2vw, 4.5rem);
  --step-display: clamp(3.2rem, 2.2rem + 5vw, 6.5rem);

  /* --- Layout / rhythm ---------------------------------------------------- */
  --content-max: 1180px;
  --content-narrow: 760px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 2.75rem;
  --space-5: 4.5rem;
  --space-6: 7rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --border-hairline: 1px solid rgba(22, 19, 15, 0.14);
}

/* Section-block accent utilities: rotate these across blocks, one per block. */
.on-terracotta {
  --surface: var(--color-terracotta);
  --ink: var(--color-white);
  --ink-muted: rgba(255, 250, 240, 0.78);
  --border-hairline: 1px solid rgba(255, 250, 240, 0.22);
  background: var(--surface);
  color: var(--ink);
}
.on-teal {
  --surface: var(--color-teal);
  --ink: var(--color-white);
  --ink-muted: rgba(255, 250, 240, 0.78);
  --border-hairline: 1px solid rgba(255, 250, 240, 0.22);
  background: var(--surface);
  color: var(--ink);
}
.on-black {
  --surface: var(--color-black);
  --ink: var(--color-bone);
  --ink-muted: rgba(244, 236, 220, 0.7);
  --border-hairline: 1px solid rgba(244, 236, 220, 0.16);
  background: var(--surface);
  color: var(--ink);
}
.on-bone {
  --surface: var(--color-bone);
  --ink: var(--color-black);
  background: var(--surface);
  color: var(--ink);
}
