/* Bonfire Adventures, round 6: tokens. */

/* Type: Clash Display for headlines, Inter for text (owner's picks, round 6). */
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-variable.woff2') format('woff2'); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-variable.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Grounds */
  --c-night: #141210;
  --c-cream: #fbf6ee;
  --c-sand: #efe6d8;
  /* Ink */
  --c-ink: #2b211d;         /* 14.6:1 on cream */
  --c-ink-soft: #5f5248;    /* 6.9:1 on cream; 5.0:1 or better on the scene grounds */
  --c-paper: #fbf6ee;       /* text on night 17.8:1 */
  --c-stone: #b9ada0;       /* muted text on night 8.4:1 */
  /* Brand */
  --c-ember: #e8732a;       /* buttons; ink on ember 5.4:1 */
  --c-gold: #f6b93b;

  --rule-dark: rgb(251 246 238 / 0.18);
  --rule-light: rgb(43 33 29 / 0.16);

  /* Space: 4px scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --gutter: var(--s-5);
  --section: 128px;
  --header-h: 64px;
  --below-header: 112px;    /* header 64 + 48 */
  --tap: 48px;
  --radius: 999px;
  --frame-r: 16px;

  /* Type */
  --font-display: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --display-weight: 600;
  --display-stretch: 100%;
  --body-stretch: 100%;
  --track-tight: -0.02em;
  --fs-1: 0.875rem;                          /* 14: labels, notes */
  --fs-2: 1rem;                              /* 16: body */
  --fs-3: clamp(1.25rem, 1.6vw, 1.5rem);     /* 20–24: small statements */
  --fs-4: clamp(2.25rem, 5vw, 5rem);         /* 36–80: headlines */
  --fs-5: clamp(3rem, 8vw, 8.5rem);          /* 48–136: the line in the sky */
  --lh-tight: 0.92;
  --lh-body: 1.5;
  --measure: 32em;

  /* Motion */
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --dur: 900ms;
}
@media (min-width: 1024px) {
  :root { --gutter: var(--s-7); }
}
@media (max-width: 767px) {
  :root { --section: 96px; }
}
