/* ─────────────────────────────────────────────────────────────────────────
   MAX Klub — token layer.

   Nocturne's token sheet (design_handoff/design/_ds/nocturne-…/styles.css)
   with its default indigo accent replaced by the club's pink, plus the
   MAX-specific tokens named in README §8. Nothing downstream may hard-code
   a hex, an alpha or a radius: if a value recurs in the design, it is here.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  /* — grounds — */
  --color-bg:             #161826;   /* page ground */
  --color-surface:        #232532;   /* cards, form card, inputs */
  --color-text:           #e9e9ed;
  --color-hero-ground:    #0f111c;   /* behind the hero video only */

  /* — accent: the club's pink. Overrides Nocturne's #9184d9 (README §8). — */
  --color-accent:         #d10359;
  --color-accent-100:     #fdeef3;
  --color-accent-200:     #fac6db;
  --color-accent-300:     #f292b8;   /* accent text on the section band; link hover */
  --color-accent-400:     #e75c8d;   /* date kickers, stat numbers, links */
  --color-accent-500:     #d10359;
  --color-accent-600:     #a80448;   /* pressed */
  --color-accent-700:     #800637;
  --color-accent-800:     #560726;   /* .tag-accent background */
  --color-accent-900:     #300616;

  /* Nocturne carries accent-2 as a machine-derived stand-in so both sets
     resolve. This is a mono palette — accent-2 reads as accent. */
  --color-accent-2:       var(--color-accent);
  --color-accent-2-100:   var(--color-accent-100);
  --color-accent-2-800:   var(--color-accent-800);

  /* — neutrals (Nocturne, unchanged) — */
  --color-neutral-100:    #f3f5fe;
  --color-neutral-200:    #e4e7f5;
  --color-neutral-300:    #cfd3e5;
  --color-neutral-400:    #b2b6ca;
  --color-neutral-500:    #9397ab;
  --color-neutral-600:    #75798c;
  --color-neutral-700:    #595d6c;   /* hover hairline */
  --color-neutral-800:    #3f424d;   /* card hairline */
  --color-neutral-900:    #292b31;

  /* — the two full-bleed bands — */
  --color-section:        #350318;
  --color-section-glow:   #560726;
  --color-section-ghost:  #800637;

  /* — recurring alphas. README §8: "keep these exact — they are the
       design's texture." Named so no template writes rgba() by hand. — */
  --text-82:   rgba(233, 233, 237, .82);
  --text-80:   rgba(233, 233, 237, .80);
  --text-78:   rgba(233, 233, 237, .78);
  --text-75:   rgba(233, 233, 237, .75);
  --text-72:   rgba(233, 233, 237, .72);
  --text-70:   rgba(233, 233, 237, .70);
  --text-68:   rgba(233, 233, 237, .68);
  --text-65:   rgba(233, 233, 237, .65);
  --text-62:   rgba(233, 233, 237, .62);
  --text-60:   rgba(233, 233, 237, .60);
  --text-55:   rgba(233, 233, 237, .55);
  --text-50:   rgba(233, 233, 237, .50);
  --text-45:   rgba(233, 233, 237, .45);
  --text-40:   rgba(233, 233, 237, .40);
  --text-25:   rgba(233, 233, 237, .25);

  --line-16:   rgba(233, 233, 237, .16);
  --line-14:   rgba(233, 233, 237, .14);
  --line-12:   rgba(233, 233, 237, .12);
  --line-10:   rgba(233, 233, 237, .10);
  --line-08:   rgba(233, 233, 237, .08);
  --line-03:   rgba(233, 233, 237, .03);   /* archive row hover */

  --color-divider:  var(--line-16);        /* Nocturne's component-layer name */

  --header-bg:      rgba(22, 24, 38, .82);
  --hero-card-bg:   rgba(35, 37, 50, .72);
  --tag-scrim:      rgba(22, 24, 38, .80); /* the "Izpostavljeno" pill */
  --lightbox-bg:    rgba(22, 24, 38, .92);

  /* — type — */
  --font-heading:         "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:            var(--font-heading);
  --font-heading-weight:  500;   /* headings are NEVER bolder (README §8) */

  --text-h1:        clamp(48px, 6vw, 84px);
  --text-h1-hero:   clamp(48px, 7vw, 96px);
  --text-h2:        clamp(34px, 3.6vw, 52px);
  --text-h2-sm:     clamp(30px, 3vw, 44px);
  --text-h3-card:   clamp(34px, 3.2vw, 46px);
  --text-lead:      19px;

  --tracking-h1:    -.035em;
  --tracking-h2:    -.025em;
  --tracking-h4:    -.02em;
  --tracking-kicker: .22em;
  --tracking-micro:  .18em;

  /* — spacing (Nocturne's 0.7× density scale) — */
  --space-1: 2.8px;  --space-2: 5.6px;  --space-3: 8.4px;
  --space-4: 11.2px; --space-6: 16.8px; --space-8: 22.4px;

  /* — layout — */
  --container:   1280px;
  --gutter:      clamp(20px, 5vw, 40px);
  --section-gap: clamp(64px, 10vw, 110px);  /* README §7.5: eases down on small screens */
  --page-head:   76px;                      /* interior page top padding */
  --header-h:    66px;

  /* — radii (README §8) — */
  --radius-sm:  4px;
  --radius-md:  8px;    /* thumbs, inputs */
  --radius-lg:  14px;   /* large cards and bands */
  --radius-card: 12px;  /* small cards, map */
  --radius-tile: 10px;  /* gallery tiles */
  --radius-ig:   6px;   /* instagram tiles */
  --radius-pill: 999px;

  /* — elevation. Never stack more than these. — */
  --shadow-sm:    0 0 0 1px var(--color-neutral-800);
  --shadow-md:    0 0 0 1px var(--color-neutral-700), 0 6px 18px rgba(0, 0, 0, .55);
  --shadow-lg:    0 0 0 1px var(--color-neutral-500), 0 16px 40px rgba(0, 0, 0, .65);
  --shadow-hover: 0 0 0 1px var(--color-neutral-700), 0 18px 44px rgba(0, 0, 0, .6);

  /* — motion. README §7.4: nothing longer than 300ms. — */
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --dur-fast:     .25s;
  --dur:          .3s;
}
