/* =====================================================================
   PLAY IN THE CITY — brand tokens (v1.0, Dec 2026)
   Copy this file to <site>/assets/css/brand.css and the /fonts folder to
   <site>/assets/fonts/. Every deliverable (site, IG mock-up, films) uses
   these tokens; do not invent new colours or families.
   ===================================================================== */

@font-face {
  font-family: "Anybody";
  src: url("../fonts/anybody-latin-standard-normal.woff2") format("woff2-variations"),
       url("../fonts/anybody-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 50% 150%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* ---- Core palette ------------------------------------------------- */
  --baize:    #0F3D2E;  /* card-table felt green — primary dark          */
  --baize-2:  #145240;  /* raised felt / hover                           */
  --ink:      #14110F;  /* near-black, warm                              */
  --cream:    #F3E8D2;  /* printed paper — primary light                 */
  --cream-2:  #E9DABC;  /* aged paper / borders on cream                 */
  --tomato:   #E8462B;  /* bingo-ball red — energy, CTAs on cream        */
  --marigold: #F4AE2A;  /* warm gold (flat, never 3-D chrome)            */
  --mint:     #6FF2B0;  /* electric mint — modern accent, CTAs on dark   */
  --lilac:    #B9A4FF;  /* after-party neon — night scenes only          */

  /* ---- Semantic ----------------------------------------------------- */
  --bg: var(--cream);
  --fg: var(--ink);
  --accent: var(--tomato);
  --night-bg: var(--ink);
  --night-fg: var(--cream);
  --night-accent: var(--mint);

  /* ---- Type families ----------------------------------------------- */
  --f-display: "Anybody", "Arial Narrow", Impact, sans-serif;   /* headlines, uppercase */
  --f-serif:   "Fraunces", Georgia, "Times New Roman", serif;   /* italic connectors, editorial */
  --f-mono:    "Space Mono", ui-monospace, "Courier New", monospace; /* tickets, dates, labels */

  /* Display variations: use font-stretch + font-weight (Anybody wdth 50–150) */
  --display-condensed: 56%;   /* signature tall caps (matches the logo)   */
  --display-normal: 100%;
  --display-wide: 140%;       /* retro-futurist kickers, sparingly        */

  /* ---- Type scale (fluid) ------------------------------------------- */
  --t-mega: clamp(4.5rem, 16vw, 15rem);   /* hero words                   */
  --t-xxl:  clamp(3.25rem, 9vw, 8rem);
  --t-xl:   clamp(2.5rem, 6vw, 5rem);
  --t-l:    clamp(1.75rem, 3.4vw, 2.75rem);
  --t-m:    clamp(1.25rem, 2vw, 1.5rem);
  --t-body: clamp(1rem, 1.1vw, 1.125rem);
  --t-s:    0.875rem;
  --t-xs:   0.75rem;

  /* ---- Space / shape / motion ------------------------------------- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;
  --radius-ticket: 14px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);      /* expo-out: arrivals         */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);   /* scene changes              */
  --ease-snap: cubic-bezier(.34, 1.56, .64, 1);  /* playful overshoot (balls)  */
  --dur-1: 180ms; --dur-2: 420ms; --dur-3: 800ms; --dur-4: 1400ms;
}

/* ---- Shared type utilities ------------------------------------------ */
.pitc-display {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: var(--display-condensed);
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.01em;
}
.pitc-wide {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: var(--display-wide);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.pitc-serif-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  text-transform: none;
}
.pitc-mono {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: var(--t-xs);
}

/* ---- Texture: film grain (SVG noise, no image file) ------------------ */
.pitc-grain::after {
  content: ""; position: absolute; inset: -50%; pointer-events: none; z-index: 50;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .16; mix-blend-mode: multiply;
  animation: pitc-grain 1.2s steps(6) infinite;
}
@keyframes pitc-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---- Texture: halftone dot screen ----------------------------------- */
.pitc-halftone {
  background-image: radial-gradient(currentColor 28%, transparent 30%);
  background-size: 9px 9px;
}

/* ---- Photo treatments (real event stills) --------------------------- */
/* Night duotone: ink shadows, mint highlights (after-party scenes)       */
.pitc-duo-night { position: relative; isolation: isolate; background: var(--ink); }
.pitc-duo-night img { filter: grayscale(1) contrast(1.25) brightness(1.05); mix-blend-mode: luminosity; opacity: .95; }
.pitc-duo-night::before { content: ""; position: absolute; inset: 0; background: var(--mint); mix-blend-mode: multiply; z-index: 1; pointer-events: none; }
/* Day duotone: tomato on cream (games / announcements)                  */
.pitc-duo-day { position: relative; isolation: isolate; background: var(--cream); }
.pitc-duo-day img { filter: grayscale(1) contrast(1.2); }
.pitc-duo-day::before { content: ""; position: absolute; inset: 0; background: var(--tomato); mix-blend-mode: screen; z-index: 1; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .pitc-grain::after { animation: none; }
}

/* ===== v1.1 merge direction (slow-jams type + endspeciesism motion) ===== */
@font-face { font-family: "Alumni Sans"; src: url("../fonts/alumni-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Alumni Sans"; src: url("../fonts/alumni-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --black: #0B0A09; --butter: #FFE792;
  --f-head: "Alumni Sans", "Arial Narrow", Impact, sans-serif;
  --f-ui: "Poppins", system-ui, sans-serif;
}
