/* Edyah Labs — design tokens (Aperture identity, client-selected Concept 1)
   Brand colours are fixed. Do not edit the five brand hexes. */
:root{
  /* Brand */
  --el-ultramarine:#3549E8;
  --el-deep-blue:#2434B8;
  --el-carbon:#111315;
  --el-paper:#F5F4EF;
  --el-mist:#DCE1EF;

  /* Derived neutrals for the 3D stage (not brand colours, material tones only) */
  --el-ink-2:#1A1D21;      /* raised surfaces on carbon */
  --el-line-dark:rgba(220,225,239,.16);  /* mist @16% */
  --el-text-dim:rgba(245,244,239,.62);   /* paper @62% */

  /* Type */
  --el-font-sans:"Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --el-font-mono:"Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Type scale (1.25 minor third, clamped) */
  --el-fs-display:clamp(2.6rem, 1.2rem + 5.2vw, 6.25rem);
  --el-fs-h2:clamp(2rem, 1.1rem + 3.2vw, 4rem);
  --el-fs-body:clamp(1rem, .95rem + .25vw, 1.1875rem);
  --el-fs-small:.875rem;
  --el-fs-label:.75rem;

  /* Space + motion */
  --el-gutter:clamp(20px, 4vw, 64px);
  --el-ease:cubic-bezier(.2,.7,.1,1);
  --el-focus:2px solid var(--el-ultramarine);

  /* 3D material variables — read by intro.js on init and on theme change */
  --mat-body:#17191C;      /* matte black plates */
  --mat-body-2:#1E2125;    /* slightly lifted plates */
  --mat-metal:#8C929C;     /* restrained brushed metal (frame, nodes) */
  --mat-edge:#DCE1EF;      /* hairline edges (mist) */
  --mat-accent:#3549E8;    /* signal: ultramarine only */
  --mat-env:.32;           /* environment light intensity */

  /* Intro stage */
  --intro-bg:var(--el-carbon);
  --intro-fg:var(--el-paper);
  --intro-fg-dim:var(--el-text-dim);
  --intro-handover:var(--el-paper);  /* colour of the first home section after the intro */
  --intro-header-h:72px;             /* height of the site header above the stage */
}

/* Internal-only alternate stage themes (switch with ?introTheme=graphite or Shift+Alt+T). */
.intro[data-intro-theme="graphite"]{
  --intro-bg:#1A1D21;
  --mat-body:#202328; --mat-body-2:#262A30; --mat-env:.4;
}
.intro[data-intro-theme="deep"]{
  --intro-bg:var(--el-deep-blue);
  --intro-fg-dim:rgba(245,244,239,.72);
  --mat-body:#121426; --mat-body-2:#181B33; --mat-edge:#DCE1EF; --mat-accent:#F5F4EF; --mat-env:.38;
}
