/* Flick tokens. Contract for the page, the app and the film. Art direction: shared/STYLE.md.
   Calm physical canvas: matte cool grey studio surface, one near-black stage, real light and material.
   No fixed brand accent: --accent is set at runtime from the liked images (default = ink). */
@font-face{font-family:"Geist";src:url("fonts/geist.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Flick Mono";src:url("fonts/jetbrains-mono.woff2") format("woff2");font-weight:100 800;font-display:swap}
:root{
  /* canvas: matte cool grey, never beige/cream */
  --canvas:#E4E5E7; --canvas-hi:#ECEDEF; --canvas-lo:#D7D8DB;
  --canvas-bg:radial-gradient(120% 90% at 28% 0%,#EEEFF1 0%,#E4E5E7 46%,#D8D9DC 100%);
  --paper:#F7F7F8;              /* raised white surfaces: idea field, buttons, chips */
  --ink:#0E0F12;                /* black objects: primary button, code block */
  --text:#0E0F12; --text-2:#4A4D55; --text-3:#8A8D95;
  --rule:rgba(14,15,18,.09); --rule-2:rgba(14,15,18,.16);
  /* the one dark stage, lit by a single top-left light */
  --stage:#050506; --stage-2:#0E0F12; --stage-tx:#ECEDEF; --stage-tx-2:#8D9097;
  --stage-bg:radial-gradient(70% 80% at 22% 8%,#17181C 0%,#0A0A0C 42%,#050506 78%);
  /* accent comes from content; JS sets it from the liked card's most saturated colour */
  --accent:#0E0F12; --accent-tx:#FFFFFF;
  /* material: soft real shadows, light from the top left */
  --sh-1:0 1px 1px rgba(12,14,20,.06),0 2px 6px -2px rgba(12,14,20,.10);
  --sh-2:0 1px 1px rgba(12,14,20,.05),0 10px 18px -8px rgba(12,14,20,.16),0 28px 56px -24px rgba(12,14,20,.22);
  --sh-3:0 2px 2px rgba(12,14,20,.05),0 18px 30px -12px rgba(12,14,20,.20),0 50px 90px -40px rgba(12,14,20,.32);
  --hi-top:inset 0 1px 0 rgba(255,255,255,.9);
  /* shape */
  --r-card:22px; --r-tile:10px; --r-panel:18px; --r-field:14px; --r-pill:999px;
  /* type: Geist only; mono is for code (install line, tool names) */
  --font-ui:"Geist",system-ui,"Segoe UI",sans-serif; --font-mono:"Flick Mono",ui-monospace,Consolas,monospace;
  --t-display:clamp(40px,5.4vw,78px); --t-h2:clamp(26px,2.6vw,36px); --t-body:15px; --t-small:13px; --t-micro:12px;
  /* motion (ms values mirror shared/fx) */
  --ease-out:cubic-bezier(.16,1,.3,1); --ease-inout:cubic-bezier(.65,0,.35,1);
  --d-1:160ms; --d-2:320ms; --d-3:640ms;

  /* legacy names (old dark "Halo glass" theme) mapped onto the new calm scheme so older
     app/film CSS keeps rendering until it is restyled. New code uses the names above. */
  --ink-0:var(--canvas); --ink-1:var(--canvas-hi); --ink-2:var(--paper); --ink-3:var(--canvas-lo);
  --line:var(--rule); --line-hi:var(--rule-2);
  --glass:rgba(255,255,255,.55); --glass-hi:rgba(255,255,255,.8); --blur:18px;
  --tx-1:var(--text); --tx-2:var(--text-2); --tx-3:var(--text-3);
  --halo:var(--text-2); --halo-deep:var(--ink);
  --amber:var(--accent); --amber-hi:var(--accent);
  --slate:var(--text-3);
  --frost-0:var(--canvas); --frost-1:var(--canvas-hi); --frost-tx:var(--text); --frost-tx-2:var(--text-2);
  --r-chip:var(--r-pill);
  --shadow-card:var(--sh-3); --shadow-frost:var(--sh-2);
  --glow-halo:var(--sh-2); --glow-amber:var(--sh-2);
  --t-label:var(--t-micro);
}
