/* fotostax design tokens — shared by every concept.
   Colour rules (brand reboot):
   - Mostly white. Magenta leads. Cyan is the accent. Yellow is rare.
   - Magenta on white is 4.3:1: large headings and bold button text only, never body copy.
   - Cyan and yellow never carry text on white. Use them for fills, rules, edges and the CMY offset.
*/

@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-400.woff2") format("woff2"), url("../fonts/ClashDisplay-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-500.woff2") format("woff2"), url("../fonts/ClashDisplay-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-600.woff2") format("woff2"), url("../fonts/ClashDisplay-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-700.woff2") format("woff2"), url("../fonts/ClashDisplay-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-400.woff2") format("woff2"), url("../fonts/Satoshi-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-500.woff2") format("woff2"), url("../fonts/Satoshi-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-700.woff2") format("woff2"), url("../fonts/Satoshi-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Colour */
  --fx-white: #ffffff;
  --fx-paper: #f7f6f3;          /* warm off-white for quiet alternate sections */
  --fx-mist: #efeeea;           /* slightly deeper surface */
  --fx-line: #e4e2dd;           /* hairlines on white */
  --fx-ink: #121212;            /* near-black text */
  --fx-ink-2: #3f3f3f;          /* secondary text, 10.4:1 on white */
  --fx-ink-3: #666666;          /* muted text, 5.7:1 on white */
  --fx-magenta: #e7198c;        /* leads: CTAs, large headings, key marks */
  --fx-magenta-text: #c2107a;   /* only for small text that must read as magenta (links), 5.7:1 */
  --fx-magenta-tint: #fde8f3;   /* very light magenta wash */
  --fx-cyan: #41c4db;           /* accent: never text on white */
  --fx-cyan-tint: #e3f6f9;
  --fx-yellow: #f1eb47;         /* sparingly: never text on white */
  --fx-yellow-tint: #fcfbe0;
  --fx-night: #0d0d0f;          /* for the rare dark band (film, footer) */

  /* Type */
  --fx-font-display: "Clash Display", "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --fx-font-text: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Roles from the brand doc: Title = Clash Display Bold, Subtitle = Clash Display (regular/medium),
     Heading = Satoshi Bold, Paragraph = Satoshi Regular. */
  --fx-step--2: 0.75rem;
  --fx-step--1: 0.875rem;
  --fx-step-0: 1.0625rem;                                   /* body */
  --fx-step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); /* lead / small heading */
  --fx-step-2: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);   /* h3 */
  --fx-step-3: clamp(1.875rem, 1.4rem + 2vw, 3rem);          /* h2 */
  --fx-step-4: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);         /* h1 */
  --fx-step-5: clamp(3rem, 1.5rem + 7.5vw, 8.5rem);          /* display */
  --fx-leading-tight: 1.02;
  --fx-leading-snug: 1.18;
  --fx-leading-body: 1.55;
  --fx-tracking-display: -0.02em;

  /* Space (4px base) */
  --fx-space-1: 0.25rem;
  --fx-space-2: 0.5rem;
  --fx-space-3: 0.75rem;
  --fx-space-4: 1rem;
  --fx-space-5: 1.5rem;
  --fx-space-6: 2rem;
  --fx-space-7: 3rem;
  --fx-space-8: 4rem;
  --fx-space-9: 6rem;
  --fx-space-10: 8rem;
  --fx-section: clamp(4rem, 3rem + 6vw, 9rem);   /* vertical rhythm between sections */

  /* Layout */
  --fx-max: 1200px;
  --fx-max-wide: 1440px;
  --fx-max-text: 38rem;
  --fx-gutter: clamp(16px, 4vw, 48px);           /* 16px on phones */

  /* Shape */
  --fx-radius-xs: 3px;    /* prints */
  --fx-radius-s: 8px;
  --fx-radius-m: 14px;
  --fx-radius-l: 24px;
  --fx-radius-pill: 999px;

  /* Depth */
  --fx-shadow-s: 0 1px 2px rgba(18, 18, 18, 0.08), 0 4px 12px -6px rgba(18, 18, 18, 0.18);
  --fx-shadow-m: 0 2px 4px rgba(18, 18, 18, 0.06), 0 16px 40px -16px rgba(18, 18, 18, 0.28);
  --fx-shadow-l: 0 2px 6px rgba(18, 18, 18, 0.06), 0 30px 80px -30px rgba(18, 18, 18, 0.38);

  /* Motion: purposeful and calm */
  --fx-ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fx-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --fx-dur-1: 120ms;
  --fx-dur-2: 220ms;
  --fx-dur-3: 420ms;

  /* CMY offset (the logo's signature). Use with restraint. */
  --fx-offset: 0.06em;
}
