/* ==========================================================================
   PowerWeave — theme tokens
   The only place where brand colors are written as literals. Every other
   file derives from these variables with var(), color-mix() or rgba().
   ========================================================================== */
:root {
  /* Palette — royal purple & gold */
  --c-deep: #24123A;
  --c-primary: #4B2A7B;
  --c-accent: #C9A227;
  --c-line: #CBB9E8;
  --c-tint: #F3EEF8;
  --c-white: #FFFFFF;

  /* Typography — self-hosted web fonts first (see fonts/README.md), then the
     matching system faces as fallback. Both are OFL-licensed. */
  --font-sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-h1: clamp(2.25rem, 1rem + 5.3vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  --fs-cta: clamp(2.125rem, 1.1rem + 3vw, 3.5rem);
  --fs-page: clamp(3rem, 1.4rem + 5.5vw, 6rem);
  --fs-num: clamp(3.5rem, 1.6rem + 4.6vw, 6.5rem);
  --fs-name: clamp(1.5rem, 1.05rem + 1.7vw, 2.5rem);
  --fs-mail: clamp(1.75rem, 1.1rem + 2.8vw, 3.5rem);

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
  --sec-pad: clamp(72px, 10vw, 128px);
  --rail: 40px;
  --radius: 2px;
}
