/* ============================================================
   enola — Design Tokens
   Include this file once at the top of any document.
   ============================================================ */

/* ─── Webfonts ─────────────────────────────────────────────── */
/* Loaded from Google Fonts. Self-host the .woff2 versions for
   production. Plex Sans 400/500/600/700; Plex Mono 400/500/600;
   Plex Serif 400 + italic 400/500. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Serif:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  /* ─── Paper tones (light backgrounds & surfaces) ─────────── */
  --paper:           #F2EFE7;   /* default slide background */
  --paper-2:         #E9E5DA;   /* card surface, slight elevation */
  --paper-3:         #DED9CC;   /* further elevated, rare */
  --paper-on-dark:   #EEEAE0;   /* type on ink-bg surfaces */

  /* ─── Ink tones (foreground & dark surfaces) ─────────────── */
  --ink:             #16191E;   /* primary type, inverted card bg */
  --ink-2:           #52555B;   /* secondary body */
  --ink-3:           #8B8A82;   /* chrome, captions, muted */
  --dark:            #14171C;   /* dedicated dark-slide bg (rare) */
  --dark-2:          #1E2128;   /* dark-surface card */
  --dark-rule:       #2D3038;   /* divider on dark */

  /* ─── Structural rule ────────────────────────────────────── */
  --rule:            #CFCABA;   /* every hairline divider */

  /* ─── Accent (single chromatic colour) ───────────────────── */
  --accent:          oklch(58% 0.13 40);    /* ~#B0573B */
  --accent-2:        oklch(72% 0.08 40);    /* lighter, for dark bg */
  --accent-soft:     rgba(176, 87, 59, 0.06); /* tinted table cell */

  /* ─── Semantic-positive (used sparingly, deltas only) ────── */
  --positive:        oklch(52% 0.10 150);

  /* ─── Type scale (slide system, 1920×1080) ───────────────── */
  --type-display:    132px;     /* cover wordmark */
  --type-title:      72px;      /* slide titles */
  --type-subtitle:   44px;      /* pull-quotes / cover tag */
  --type-lead:       36px;      /* lead body */
  --type-body:       30px;      /* default body */
  --type-small:      24px;      /* captions, mono chrome, MIN size */

  /* ─── Spacing & layout ───────────────────────────────────── */
  --pad-top:         96px;
  --pad-bottom:      84px;
  --pad-x:           104px;
  --gap-title:       48px;      /* title → body, via .title-rule */
  --gap-item:        28px;      /* between list items */
  --card-pad:        36px;
  --card-radius:     4px;       /* flat / blueprint */

  /* ─── Font stacks ────────────────────────────────────────── */
  --sans:  'IBM Plex Sans',  system-ui, sans-serif;
  --serif: 'IBM Plex Serif', Georgia, serif;
  --mono:  'IBM Plex Mono',  ui-monospace, monospace;

  /* ─── Semantic shortcuts ─────────────────────────────────── */
  --fg-1:  var(--ink);
  --fg-2:  var(--ink-2);
  --fg-3:  var(--ink-3);
  --bg-1:  var(--paper);
  --bg-2:  var(--paper-2);
  --bg-3:  var(--paper-3);
}

/* ============================================================
   Semantic type classes
   Mirror the slide-deck rhythm so you can render the same
   visual hierarchy in any HTML, not just decks.
   ============================================================ */

.arched-eyebrow {
  font-family: var(--mono);
  font-size: var(--type-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 28px 0;
}

.arched-title {
  font-family: var(--sans);
  font-size: var(--type-title);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.arched-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.arched-rule {
  width: 96px;
  height: 2px;
  background: var(--accent);
  margin: 36px 0 var(--gap-title);
  border: 0;
}

.arched-lead {
  font-family: var(--sans);
  font-size: var(--type-lead);
  line-height: 1.35;
  color: var(--ink-2);
  margin: 0;
  font-weight: 400;
}

.arched-body {
  font-family: var(--sans);
  font-size: var(--type-body);
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0;
}

.arched-mono-label {
  font-family: var(--mono);
  font-size: var(--type-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.arched-figure {
  font-family: var(--sans);
  font-size: 100px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--ink);
}
.arched-figure .unit {
  font-family: var(--mono);
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-left: 8px;
  font-weight: 500;
  vertical-align: middle;
}

/* ─── List markers used across the deck ─────────────────────── */
.arched-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--sans);
  font-size: 26px;
  color: var(--ink);
  line-height: 1.3;
}
.arched-list > li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: baseline;
}
.arched-list > li::before {
  content: "—";
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 500;
}

.arched-list--plus > li::before { content: "+"; }
.arched-list--arrow > li::before { content: "→"; }
