/*
 * Far Ember: tokens
 * Feel: the last light on a strange planet. A blue-black sky full of small
 * stars, a huge sunset world rising from the bottom of the hero with a thin
 * ring around it, titles in thin, very widely spaced capitals, and every
 * action framed in square ember orange. HUD corner brackets mark cards and
 * a band of hexagons closes each big section.
 *
 * Fonts (free, Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600&family=Mulish:wght@400;600;700&family=Chakra+Petch:wght@500;600&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --fe-void: #07080D;
  --fe-deep: #0E1019;
  --fe-hull: #161A27;
  --fe-line: #262B3C;
  --fe-line-bright: #3A4057;

  /* Text */
  --fe-star: #F2EDE3;
  --fe-mist: #ABA8B7;
  --fe-dim: #6E6C7E;

  /* Accents */
  --fe-flare: #F2842A;
  --fe-flare-hi: #FFA24F;
  --fe-flare-soft: rgba(242, 132, 42, .14);
  --fe-cyan: #43C7CF;
  --fe-cyan-soft: rgba(67, 199, 207, .14);
  --fe-rust: #8C3B1F;
  --fe-dusk: #2B1C3F;
  --fe-glass: rgba(14, 16, 25, .72);

  /* Sky: tiny stars on a blue-black field */
  --fe-stars:
    radial-gradient(1px 1px at 12% 18%, rgba(242, 237, 227, .9), transparent 60%),
    radial-gradient(1px 1px at 27% 62%, rgba(242, 237, 227, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(242, 237, 227, .8), transparent 60%),
    radial-gradient(1px 1px at 58% 12%, rgba(242, 237, 227, .7), transparent 60%),
    radial-gradient(1px 1px at 71% 48%, rgba(242, 237, 227, .5), transparent 60%),
    radial-gradient(1.5px 1.5px at 86% 22%, rgba(255, 190, 130, .9), transparent 60%),
    radial-gradient(1px 1px at 93% 70%, rgba(242, 237, 227, .6), transparent 60%),
    radial-gradient(1px 1px at 6% 80%, rgba(67, 199, 207, .7), transparent 60%);
  --fe-stars-size: 420px 300px;

  /* The world: a sunset planet rising from the bottom edge */
  --fe-world: radial-gradient(circle at 50% 0%, #FFC27A 0%, #F2842A 18%, #B4471F 38%, #5B2230 62%, #2B1C3F 82%, #141325 100%);
  --fe-haze: radial-gradient(60% 55% at 50% 100%, rgba(242, 132, 42, .42), rgba(140, 59, 31, .18) 45%, transparent 75%);
  --fe-ring: rgba(255, 194, 122, .45);

  /* Hexagon band (stroke only) */
  --fe-hex: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'><path d='M14 0 L28 8 L28 24 L14 32 L0 24 L0 8 Z M14 32 L14 48' fill='none' stroke='%2343C7CF' stroke-opacity='.22' stroke-width='1'/></svg>");
  --fe-hex-size: 28px 48px;

  /* Scene gradients for drawn cards */
  --fe-scene-dune: linear-gradient(180deg, #120F22 0%, #3A1E36 40%, #A8461F 78%, #F2A055 100%);
  --fe-scene-ice: linear-gradient(180deg, #071019 0%, #14324A 55%, #43C7CF 100%);
  --fe-scene-ridge: linear-gradient(180deg, #0B0A16 0%, #2B1C3F 60%, #8C3B1F 100%);

  /* Type */
  --fe-font-head: 'Josefin Sans', 'Futura', 'Century Gothic', sans-serif;
  --fe-font-body: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
  --fe-font-hud: 'Chakra Petch', ui-monospace, monospace;
  --fe-text-display: clamp(36px, 6.4vw, 84px);
  --fe-text-h1: clamp(32px, 4.8vw, 60px);
  --fe-text-h2: clamp(24px, 3.2vw, 38px);
  --fe-text-h3: 18px;
  --fe-text-lead: 19px;
  --fe-text-body: 16px;
  --fe-text-small: 14px;
  --fe-text-micro: 12px;
  --fe-track-wide: 0.22em;
  --fe-track-head: 0.12em;
  --fe-track-hud: 0.14em;

  /* Shape */
  --fe-radius: 0px;
  --fe-radius-soft: 3px;
  --fe-border: 1.5px;
  --fe-bracket: 14px;
  --fe-shadow: 0 30px 70px -24px rgba(0, 0, 0, .85);
  --fe-glow-flare: 0 0 0 1px rgba(242, 132, 42, .35), 0 12px 34px -10px rgba(242, 132, 42, .6);

  /* Space */
  --fe-container: 1200px;
  --fe-narrow: 700px;
  --fe-gutter: 24px;
  --fe-section: clamp(72px, 10vw, 128px);
  --fe-gap: 24px;
}
