/* TranscendIQ gold-standard look: the tokens (ops/design/gold-standard-look.md says what they mean).
   One brand grammar, two stages: light (the default, BeautyPath's cream) and dark (the film's night). The page names its stage with
   <html data-stage="light|dark">; the gold logic picks it per asset (scripts/gold-standard-look.mjs --judge). Nothing else may define a
   brand colour: asset stylesheets read these custom properties and never write their own hex colours. */
:root{
  /* the film's colours (films/transcendiq-film/source/timeline.html, the C table) */
  --tiq-teal:#5eead4;--tiq-violet:#a78bfa;--tiq-pink:#f0abfc;
  --tiq-amber:#F5A524;--tiq-coral:#FF5A5F;--tiq-ember:#FF7A3D;--tiq-yellow:#FFD166;
  --tiq-white:#F5F5F7;--tiq-grey:#A1A1A8;--tiq-night:#0A0A0C;--tiq-node:#141418;--tiq-sil:#2A2A30;
  --tiq-gradient:linear-gradient(90deg,var(--tiq-teal) 0%,var(--tiq-violet) 55%,var(--tiq-pink) 100%);
  /* deeper steps of the same hues, for words and lines on a light stage (the pale ones fail contrast as text) */
  --tiq-deep-teal:#0a6f65;--tiq-deep-violet:#6240d0;--tiq-deep-pink:#a3279a;
  --tiq-teal-ink:var(--tiq-deep-teal);--tiq-violet-ink:var(--tiq-deep-violet);--tiq-pink-ink:var(--tiq-deep-pink);--tiq-amber-ink:#92560a;
  --tiq-gradient-deep:linear-gradient(135deg,var(--tiq-deep-teal) 0%,var(--tiq-deep-violet) 60%,var(--tiq-deep-pink) 100%);
  --tiq-gradient-ink:linear-gradient(90deg,var(--tiq-teal-ink) 0%,var(--tiq-violet-ink) 55%,var(--tiq-pink-ink) 100%);
  /* type: the film's stack, its weights, its 64 px title and its label floor (36 px in a 1920 frame, 16 px on a phone) */
  --tiq-font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --tiq-fs-label:1rem;--tiq-fs-body:1.0625rem;--tiq-fs-h2:1.5rem;--tiq-fs-title:clamp(2rem,1.2rem + 3.4vw,4rem);
  --tiq-w-body:400;--tiq-w-label:500;--tiq-w-head:600;--tiq-w-mark:700;
  /* shape, depth and space */
  --tiq-r-card:24px;--tiq-r-field:14px;--tiq-r-pill:999px;--tiq-stroke:2.25;--tiq-circle:56px;--tiq-circle-lg:88px;
  --tiq-sp-1:4px;--tiq-sp-2:8px;--tiq-sp-3:12px;--tiq-sp-4:16px;--tiq-sp-5:24px;--tiq-sp-6:40px;
  /* motion: 0.3 to 0.6 s eases, a slow push-in, a light drift */
  --tiq-ease:cubic-bezier(.2,.7,.2,1);--tiq-dur-1:.3s;--tiq-dur-2:.45s;--tiq-dur-3:.6s;--tiq-push:14s;--tiq-drift:26s;
  /* the light stage (default) */
  --tiq-bg:#f7f3ee;--tiq-surface:#ffffff;--tiq-surface-2:#efe9e1;--tiq-ink:#16161a;--tiq-muted:#55555e;
  --tiq-line:rgba(22,22,26,.13);--tiq-accent:var(--tiq-teal-ink);--tiq-on-gradient:var(--tiq-night);
  --tiq-ok:#0a6b34;--tiq-bad:#b3222a;--tiq-glass:rgba(247,243,238,.82);
  --tiq-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 18px 44px -26px rgba(22,22,26,.35),0 2px 6px rgba(22,22,26,.05);
  --tiq-glow-1:rgba(94,234,212,.34);--tiq-glow-2:rgba(240,171,252,.3);--tiq-glow-3:rgba(167,139,250,.2);
}
/* the dark stage: the film's night */
:root[data-stage="dark"]{
  --tiq-bg:var(--tiq-night);--tiq-surface:var(--tiq-node);--tiq-surface-2:var(--tiq-sil);--tiq-ink:var(--tiq-white);--tiq-muted:var(--tiq-grey);
  --tiq-line:rgba(245,245,247,.16);--tiq-accent:var(--tiq-teal);--tiq-on-gradient:var(--tiq-night);
  --tiq-ok:#5eead4;--tiq-bad:#ff8a8d;--tiq-glass:rgba(10,10,12,.78);
  --tiq-shadow:0 18px 44px -26px rgba(0,0,0,.9);
  --tiq-glow-1:rgba(94,234,212,.22);--tiq-glow-2:rgba(240,171,252,.16);--tiq-glow-3:rgba(167,139,250,.2);
  --tiq-gradient-ink:var(--tiq-gradient);--tiq-teal-ink:var(--tiq-teal);--tiq-violet-ink:var(--tiq-violet);--tiq-pink-ink:var(--tiq-pink);--tiq-amber-ink:var(--tiq-amber);
}
/* the set every asset uses */
.tiq-title{font:var(--tiq-w-mark) var(--tiq-fs-title)/1.08 var(--tiq-font);letter-spacing:-.02em;color:var(--tiq-ink);margin:0 0 var(--tiq-sp-3)}
.tiq-label{font:var(--tiq-w-label) var(--tiq-fs-label)/1.4 var(--tiq-font);color:var(--tiq-ink)}
.tiq-wordmark{font:var(--tiq-w-mark) 1.3rem/1 var(--tiq-font);letter-spacing:-.03em;background:var(--tiq-gradient-ink);-webkit-background-clip:text;background-clip:text;color:transparent}
.tiq-card{background:var(--tiq-surface);border:1px solid var(--tiq-line);border-radius:var(--tiq-r-card);box-shadow:var(--tiq-shadow);padding:var(--tiq-sp-5);color:var(--tiq-ink);font-family:var(--tiq-font)}
.tiq-icon{flex:none;width:var(--tiq-circle);height:var(--tiq-circle);border-radius:50%;display:inline-grid;place-items:center;background:var(--tiq-surface);border:2.5px solid var(--tiq-accent);color:var(--tiq-accent)}
.tiq-icon svg{width:58%;height:58%;fill:none;stroke:currentColor;stroke-width:var(--tiq-stroke);stroke-linecap:round;stroke-linejoin:round}
.tiq-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 28px;border:0;border-radius:var(--tiq-r-pill);background:var(--tiq-gradient);color:var(--tiq-on-gradient);font:var(--tiq-w-head) var(--tiq-fs-label)/1.2 var(--tiq-font);text-decoration:none;cursor:pointer;transition:transform var(--tiq-dur-1) var(--tiq-ease),filter var(--tiq-dur-1) var(--tiq-ease)}
.tiq-btn:hover{transform:translateY(-2px);filter:brightness(1.04)}
.tiq-door{max-width:440px;margin:0 auto;display:grid;gap:var(--tiq-sp-4);font-family:var(--tiq-font)}
.tiq-door .tiq-card{display:flex;align-items:center;gap:var(--tiq-sp-4);text-decoration:none;text-align:left;padding:var(--tiq-sp-4) var(--tiq-sp-5) var(--tiq-sp-4) var(--tiq-sp-4);transition:transform var(--tiq-dur-1) var(--tiq-ease),box-shadow var(--tiq-dur-1) var(--tiq-ease)}
.tiq-door .tiq-card:hover,.tiq-door .tiq-card:focus-visible{transform:translateY(-3px);outline:0;border-color:var(--tiq-accent)}
/* a role card: the deep brand gradient with white words (readable on either stage) and an icon circle in white */
.tiq-role{background:var(--tiq-gradient-deep);color:#fff;border:0}
.tiq-role .tiq-icon{background:rgba(255,255,255,.16);border-color:#fff;color:#fff}
.tiq-role b{display:block;font-size:1.125rem;font-weight:var(--tiq-w-head);margin-bottom:2px}
.tiq-role .t{display:block;font-size:var(--tiq-fs-label);line-height:1.4;color:rgba(255,255,255,.94)}
.tiq-band{height:4px;border:0;border-radius:var(--tiq-r-pill);background:var(--tiq-gradient);margin:var(--tiq-sp-6) 0 var(--tiq-sp-3)}
.tiq-note{font:var(--tiq-w-label) var(--tiq-fs-label)/1.4 var(--tiq-font);color:var(--tiq-muted)}
@keyframes tiq-rise{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
@keyframes tiq-push{from{transform:scale(1)}to{transform:scale(1.06)}}
@keyframes tiq-drift{to{transform:translate3d(5vmax,3vmax,0) scale(1.12)}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
