/* Largada Design System — tokens + base primitives
   <link href="https://fonts.googleapis.com/css2?family=Anton&family=Allerta+Stencil&family=Work+Sans:wght@400;600;800&family=Red+Hat+Mono:wght@500&display=swap" rel="stylesheet">
*/
:root {
  color-scheme: dark;
  --lg-asphalt: #2B2D30; --lg-asphalt-2: #3A3D41; --lg-crack: rgba(0,0,0,.35);
  --lg-concrete: #D9DAD6; --lg-white: #F7F7F5; --lg-black: #111213; --lg-mute: #A3A7AB;
  --lg-lime: #B8E335; --lg-hazard: #F2C200; --lg-barrier: #F26A21;
  --lg-line: rgba(247,247,245,.15);

  --lg-font-title: "Anton", Impact, "Arial Narrow", sans-serif;
  --lg-font-paint: "Allerta Stencil", "Anton", sans-serif;
  --lg-font-body: "Work Sans", system-ui, sans-serif;
  --lg-font-mono: "Red Hat Mono", ui-monospace, monospace;

  --lg-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --lg-patches: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  --lg-hazard-stripes: repeating-linear-gradient(-45deg, var(--lg-hazard) 0 14px, var(--lg-black) 14px 28px);
}

body.lg { -webkit-tap-highlight-color: rgba(0,0,0,.18); margin: 0; color: var(--lg-white); font: 400 17px/1.6 var(--lg-font-body); -webkit-font-smoothing: antialiased; overflow-x: clip;
  background-color: var(--lg-asphalt); background-image: var(--lg-noise), var(--lg-patches); background-attachment: fixed; }

.lg-title, .lg-h2 { font-family: var(--lg-font-title); font-weight: 400; text-transform: uppercase; margin: 0; letter-spacing: .01em; }
.lg-title { font-size: clamp(3rem, 15vw, 9rem); line-height: .9; }
.lg-h2 { font-size: clamp(2rem, 7vw, 3.5rem); line-height: .95; }
.lg-label { font: 800 .75rem/1.2 var(--lg-font-body); letter-spacing: .12em; text-transform: uppercase; }
.lg-mono { font: 500 .8125rem/1.3 var(--lg-font-mono); }
.lg-paint { font-family: var(--lg-font-paint); color: rgba(247,247,245,.85); line-height: .85; user-select: none;
  -webkit-mask-image: var(--lg-noise); mask-image: var(--lg-noise); -webkit-mask-size: 180px; mask-size: 180px; }
.lg-hazard { background: var(--lg-hazard-stripes); }

.lg-panel { background: var(--lg-black); border: 2px solid var(--lg-white); }
.lg-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; background: var(--lg-white); color: var(--lg-black); }
.lg-panel__head h3 { margin: 0; font: 400 1.35rem/1 var(--lg-font-title); text-transform: uppercase; }

.lg-stamp { display: inline-block; font: 400 clamp(1.75rem, 7vw, 3rem)/1 var(--lg-font-title); text-transform: uppercase; color: var(--lg-lime); transform: rotate(-4deg);
  text-shadow: 3px 0 0 #000, -3px 0 0 #000, 0 3px 0 #000, 0 -3px 0 #000, 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000; }

.lg a:focus-visible, .lg button:focus-visible { outline: 3px solid var(--lg-lime); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
}
