/* DrivenDad tokens, Brand Book v2 (design kit tokens/colors.css, typography.css, spacing.css).
   Espresso and whisper/paper carry about 95%; gold is the spark at about 5%. No blue, ever.
   The website scale is the kit's desktop / mobile pair, interpolated between 390 and 1440 wide. */

@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DIN Condensed"; src: url("../fonts/DINCondensedBold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("../fonts/JosefinSans-var.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("../fonts/JosefinSans-Italic-var.woff2") format("woff2"); font-weight: 100 700; font-style: italic; font-display: swap; }

:root {
  /* colour */
  --espresso: #242424;
  --deep: #161616;               /* every dark screen surface, always with the grain */
  --gold: #BF9A4E;               /* rules, labels on dark, the button */
  --gold-75: #CDAF76;
  --whisper: #E1DDC8;
  --paper: #F6F5EF;
  --bronze: #8C6C2B;             /* small gold-coloured text on light grounds */
  --ink-75: #4A4747;
  --ink-50: #777373;
  --whisper-92: rgba(225, 221, 200, .92);
  --whisper-86: rgba(225, 221, 200, .86);
  --line-dark: rgba(225, 221, 200, .16);
  --line-light: rgba(36, 36, 36, .14);
  --grain: url("../assets/brand/espresso-grain.png");

  /* type */
  --anton: "Anton", Impact, "Arial Narrow", sans-serif;
  --din: "DIN Condensed", "Arial Narrow", sans-serif;
  --josefin: "Josefin Sans", Futura, "Century Gothic", sans-serif;
  --fs-meta: clamp(13px, 12.26px + .19vw, 15px);
  --fs-body: clamp(17px, 16.26px + .19vw, 19px);
  --fs-small: clamp(16px, 15.63px + .1vw, 17px);
  --fs-lead: clamp(19px, 17.51px + .38vw, 23px);
  --fs-h3: clamp(22px, 20.51px + .38vw, 26px);
  --fs-h2: clamp(34px, 27.31px + 1.71vw, 52px);
  --fs-scene: clamp(21px, 19.14px + .48vw, 26px);
  --fs-hero: clamp(58px, 13.6vw, 146px);         /* phones: 4 lines; desktop: 2 lines, inside the 96–146 H1 range */
  --fs-close: clamp(30px, 4.2vw + 10px, 76px);

  /* layout: 12 columns, 1224 content, 108 margins; 24 on phones */
  --content: 1224px;
  --content-wide: 1680px;
  --m: clamp(24px, 7.5vw, 108px);
  --rhythm: clamp(96px, 60px + 6.9vw, 160px);
  --gutter: 24px;

  /* motion: one curve (Emil Kowalski's strong ease-out, no overshoot), three durations; GSAP and three.js where CSS cannot */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-hover: 150ms;            /* anything you trigger: hover, press, tap, closing */
  --dur-reveal: 300ms;           /* UI state changes: the header, the menu, the fronts cards, the slider rail */
  --dur-enter: 900ms;            /* things entering as you scroll: sections, headline lines, images (GSAP uses the same) */
  --dur-page: 600ms;             /* between pages: the new page rises in (Pascal, 2026-10-31: a subtle one, about 0.6s) */
  --rise: 15px;                  /* sections and menu links rise this far as they fade in */
  --stagger: 60ms;               /* between the blocks of one section */

  /* depth: base 0 · elevated 1 · floating 10 · overlay 20 */
  --z-elevated: 1;
  --z-float: 10;
  --z-overlay: 20;
  --shadow-float: 0 1px 0 rgba(225, 221, 200, .06), 0 18px 40px -24px rgba(8, 6, 2, .7);

  --focus: var(--espresso);
}
