/* paidadvertising.eu tokens, v2 "loud" (October 2026): the exact values of the live SK page, paidadvertising.eu/sk/.
   Source of truth: the live site (its /loud/loud.css and /loud/css/*.css win over this copy). The v1 "paper and ink"
   kit is archived beside the master as paidadvertising-style-kit-v1-paper-2026-10-21/.

   Part 1  the tokens: fonts, the palette, type, motion, layout (the site's loud.css plus the page's own values, named)
   Part 2  the grounds: void (the floor, default), lime (the flood band), paper (the poster card); role variables only
   Part 3  the base and the canonical pieces: display cuts, prose, the one action with its sheen, focus, selection

   Build with the role variables of part 2 (--bg, --fg, --signal ...), never with raw hex. Fonts sit beside this file
   in fonts/. Lime is the signal and only the signal: the action, the brush marks, the sparks, at most one lime word or
   line per headline. Never lime on body text, never on the mark or the wordmark. */

/* ============================================================================================ part 1: tokens === */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-wdth-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-wdth-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* the palette: the ad's own colours, sampled from the "VYZERÁM AKO TOTÁLNY KO***?" creative */
  --lime: #d4e45c;          /* the signal: the action's fill, brush marks, sparks, one word per headline */
  --lime-deep: #b6c450;     /* the action pressed */
  --lime-ink: #303318;      /* lime-tinted dark: trace dots and shades on the lime */
  --void: #040404;          /* the floor: near-black, never blue-charcoal */
  --void-up: #0b0b0a;       /* a raised surface, a hair warmer than the floor */
  --void-edge: #161614;     /* the self-coloured edge of a raised surface */
  --bone: #ffffff;          /* display type on the void */
  --fog: #dadada;           /* body text on the void */
  --ash: #8f9089;           /* quiet text, struck claims */
  --soot: #2a2b25;          /* trace dots, muted strokes */
  --on-lime: #040404;       /* text and marks on a lime fill */
  --paper: #fbfbf7;         /* the poster card: warm white paper with a tooth (--noise), never the UI-kit grey */
  --ink: #040404;           /* type and dotted scenes on paper: the void itself */
  --danger: #e8697f;        /* form errors only */

  /* type: Bricolage Grotesque for the voice (800, uppercase; wdth 100 = the ad's cut, wdth 75 = the tabloid cut),
     Geist for everything read at length (400 to 600) */
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --body: "Geist", "SF Pro Text", -apple-system, system-ui, sans-serif;
  --track-d: -0.012em;      /* the wide cut */
  --track-d2: -0.006em;     /* the condensed cut */
  --lead-d: .88;            /* display line height (the hero sets .9) */
  --body-size: 19px;
  --body-lead: 1.6;

  /* motion: one ease, short presses */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-exit: cubic-bezier(.64, 0, .78, 0);
  --ease-snap: cubic-bezier(.7, 0, .2, 1);
  --t-in: 140ms;
  --t-out: 320ms;
  --t-move: 420ms;
  --t-press: 90ms;
  --t-draw: 640ms;          /* a brush mark drawing in (a strike or underline 640, a loop 760, an arrow 680) */
  --t-sheen: 4.6s;          /* the light crossing every action: ~1.8 s sweep top left to bottom right, then rest */
  --read-delay: 1200ms;     /* a claim is read before it is struck */

  /* layout */
  --gutter: clamp(16px, 4vw, 56px);
  --measure: 1360px;
  --pad: max(var(--gutter), calc((100% - var(--measure)) / 2));
  --seam-h: clamp(56px, 12.5vw, 180px);   /* a torn brush seam between the void and a lime band */
  --band-pad: clamp(64px, 8vw, 128px);
  --r-action: 8px;          /* the action block (nav 6px, the form's 12px, the giant slab 14px) */

  /* surfaces: grain only on photographs (film), at .12 at most, never over type or UI; tooth only on the poster paper */
  --grain: 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='.86' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.25 -.32'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  /* the long feather that dissolves a photograph into the void, top and bottom (mask the image's own pixels) */
  --feather-y: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.03) 3%, rgba(0,0,0,.09) 6%, rgba(0,0,0,.19) 10%, rgba(0,0,0,.33) 14%, rgba(0,0,0,.5) 18%, rgba(0,0,0,.67) 22%, rgba(0,0,0,.81) 26%, rgba(0,0,0,.92) 29%, #000 32%, #000 64%, rgba(0,0,0,.92) 67%, rgba(0,0,0,.81) 71%, rgba(0,0,0,.67) 75%, rgba(0,0,0,.5) 80%, rgba(0,0,0,.33) 85%, rgba(0,0,0,.19) 89%, rgba(0,0,0,.09) 93%, rgba(0,0,0,.03) 97%, transparent 100%);
}

/* ============================================================================================ part 2: grounds === */
/* Three grounds. Set one on any element with data-ground; :root is the void. The engine reads ?ground=void|lime|paper
   (the v1 name "window" still means void). Every element of the kit is checked on all three. --signal is the colour of
   brush strokes, --signal-fill of the highlighter's band. */

:root, [data-ground="void"] {
  --bg: var(--void);
  --bg-up: var(--void-up);
  --edge: var(--void-edge);
  --fg: var(--bone);         /* display */
  --fg-2: var(--fog);        /* body */
  --fg-3: var(--ash);        /* quiet */
  --fg-struck: var(--ash);   /* the words under a strike: light enough for the stroke to read across them */
  --signal: var(--lime);     /* brush strokes (underline, loop, strike, arrow, seam), sparks, the one lime word */
  --signal-fill: var(--lime); /* the highlighter's fill behind a word */
  --act-bg: var(--lime);     /* the action */
  --act-fg: var(--on-lime);
  --sheen: rgba(255, 255, 255, .5);
  --logo: var(--bone);       /* the mark and the wordmark: never lime */
  --dot-ink: var(--bone);
  --dot-trace: var(--soot);
  --dot-spark: var(--lime);
  --focus: var(--lime);
}
[data-ground="lime"] {
  --bg: var(--lime);
  --bg-up: #dbe96f;
  --edge: var(--lime-deep);
  --fg: var(--void);
  --fg-2: #1d1f0d;
  --fg-3: var(--lime-ink);
  --fg-struck: #6b7530;
  --signal: var(--void);     /* on the lime, the marks turn ink */
  --signal-fill: var(--void); /* a highlighter on the lime is ink, its word lime */
  --act-bg: var(--void);     /* the ink action, lime label */
  --act-fg: var(--lime);
  --sheen: rgba(212, 228, 92, .34);
  --logo: var(--void);
  --dot-ink: var(--void);
  --dot-trace: #b9c75a;
  --dot-spark: var(--bone);
  --focus: var(--void);
}
[data-ground="paper"] {
  --bg: var(--paper);
  --bg-up: #ffffff;
  --edge: #e6e4dc;
  --fg: var(--ink);
  --fg-2: #2b2c30;
  --fg-3: #4b4d44;
  --fg-struck: #8a8c84;
  --signal: var(--ink);      /* lime strokes vanish on paper (1.3:1): on paper the strokes are ink */
  --signal-fill: var(--lime); /* lime lives on paper only as the highlighter's fill behind ink type */
  --act-bg: var(--void);
  --act-fg: var(--lime);
  --sheen: rgba(212, 228, 92, .34);
  --logo: var(--ink);
  --dot-ink: var(--ink);
  --dot-trace: #c5c7cb;
  --dot-spark: var(--lime-deep);
  --focus: var(--ink);
}

/* ============================================================================ part 3: the base and the pieces === */

html { background: var(--bg); color: var(--fg-2); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); font: 400 var(--body-size)/var(--body-lead) var(--body); -webkit-font-smoothing: antialiased; font-optical-sizing: auto; }
[data-ground] { background: var(--bg); color: var(--fg-2); }
::selection { background: var(--lime); color: var(--on-lime); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.nw { white-space: nowrap; }

/* display: the ad's wide cut (hero, section heads) and the tabloid's condensed cut (posters, the comparison, form
   questions, the giant slab). One headline is one cut; at most two lines; one lime mark. */
.d { font-family: var(--display); font-weight: 800; font-optical-sizing: auto; text-transform: uppercase; line-height: var(--lead-d); letter-spacing: var(--track-d); color: var(--fg); }
.d2 { font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: var(--lead-d); letter-spacing: var(--track-d2); color: var(--fg); text-wrap: balance; }

/* prose: one idea per paragraph, the punch line in the display face */
.prose { max-width: 34em; font-size: clamp(18px, 1.35vw, 20px); line-height: 1.62; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1.05em; }
.punch { font-family: var(--display); font-weight: 700; font-size: 1.5em; line-height: 1.1; letter-spacing: -0.015em; color: var(--fg); }

/* the one action: the ad's lime block, black uppercase Bricolage; a light crosses it top left to bottom right, then
   rests; it never moves on hover (the fill changes), it presses */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 30px; border: 0; border-radius: var(--r-action);
  background: var(--act-bg); color: var(--act-fg);
  font: 800 19px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-out) var(--ease), color var(--t-out) var(--ease), transform var(--t-press) ease-out;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, transparent 38%, color-mix(in srgb, var(--sheen) 16%, transparent) 42%, color-mix(in srgb, var(--sheen) 52%, transparent) 46%, var(--sheen) 50%, color-mix(in srgb, var(--sheen) 52%, transparent) 54%, color-mix(in srgb, var(--sheen) 16%, transparent) 58%, transparent 62%) 0 0 / 250% 250% no-repeat;
  animation: pa-sheen var(--t-sheen) cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes pa-sheen { 0% { background-position: 100% 100%; } 40%, 100% { background-position: 0 0; } }
@media (hover: hover) { .cta:hover { background: var(--bone); color: var(--on-lime); transition-duration: var(--t-in), var(--t-in), var(--t-press); } [data-ground="lime"] .cta:hover, [data-ground="paper"] .cta:hover { background: #1b1c15; color: var(--lime); } }
.cta:active { background: var(--lime-deep); transform: scale(.97); }
[data-ground="lime"] .cta:active, [data-ground="paper"] .cta:active { background: #1b1c15; }
.cta:focus-visible { outline-offset: 5px; }
.cta--big { min-height: 68px; padding: 0 42px; font-size: clamp(19px, 1.5vw, 22px); }
.cta--nav { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .cta::before { animation: none; }
}
