/* TVM design tokens.
   One source for color, type, space and motion. Loaded by the homepage now,
   /apply in Phase 5, and meant to be shared with the client portal later.
   Rule from the brief: gold is for "you act here" only. */

@font-face{
  font-family:"Figtree";
  src:url("/fonts/Figtree-Variable.woff2") format("woff2");
  font-weight:300 900;
  font-style:normal;
  font-display:swap;
}

:root{
  color-scheme:dark;

  /* Color: brief section 4 */
  --black:#0F1115;      /* Cinema Black: main background */
  --gold:#E3A92A;       /* Golden Yellow: action only */
  --gold-deep:#CA9802;  /* Mustard Gold: hover, borders */
  --ivory:#F5F2EE;      /* Soft Ivory: text on dark, contrast sections */
  --white:#FFFFFF;

  /* Color: derived, all from the five above */
  --surface-raised:#16181D;                 /* bars and panels that sit on black */
  --line:rgb(245 242 238 / 0.14);           /* hairlines on dark */
  --ivory-dim:rgb(245 242 238 / 0.68);      /* quiet copy and mono labels, 7:1 on black */
  --ivory-faint:rgb(245 242 238 / 0.38);    /* large type only, 3.6:1 on black */
  --ink-soft:#52504C;                       /* quiet copy on ivory */
  --gold-on-light:#8A6700;                  /* gold as TEXT on ivory, 4.7:1 */
  --green:#4CC38A;                          /* open, done. Never for actions */

  /* Type */
  --font:"Figtree","Helvetica Neue",Helvetica,Arial,sans-serif;
  --mono:ui-monospace,"SF Mono","Cascadia Code",Menlo,Consolas,monospace; /* timecode tags only */

  /* Scale. rem + vw inside clamp so browser zoom still works; every max is under 2.5x its min. */
  --fs-number:clamp(6rem, 3rem + 14vw, 12.5rem);        /* a number standing alone: +65%, 200, 1 */
  --fs-hero:clamp(3.25rem, 0.9rem + 9.6vw, 7.5rem);     /* the h1 */
  --fs-headline:clamp(2.5rem, 1.25rem + 5.2vw, 6rem);   /* every section's big type */
  --fs-lead:clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  --fs-body:1rem;
  --fs-small:0.875rem;
  --fs-mono:0.75rem;

  /* Space and layout */
  --gutter:clamp(1rem, 4vw, 2.5rem);
  --wrap:75rem;                              /* page width */
  --read:36rem;                              /* reading width for quiet copy */
  --frame-pad:clamp(3.25rem, 1rem + 4vw, 6rem);   /* air above and below each idea. Width-based so tall phones stay tight */
  --header-h:3.5rem;
  --radius:0.5rem;
  --radius-lg:0.875rem;

  /* Motion */
  --dur-fast:150ms;
  --dur:300ms;
  --ease:cubic-bezier(0.2, 0.7, 0.2, 1);
}
