/* =========================================================================
   PLAN B - Plac Zbawiciela. Na gorze.
   Xerox-punk flyer wall. Canvas: near-black | Ink: newsprint off-white
   Dominant: riso fuchsia | Accent (single): CRT cyan
   Display: Archivo Black | Body: Hanken Grotesk | Strip: mono
   ========================================================================= */
:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --ink: #f2f0e9;
  --muted: #a7a39a;
  --fuchsia: #ff2e63;
  --cyan: #00d4ff;
  --line: #2a2a2a;
  --border: 2px solid #f2f0e9;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition: none !important; }
}
body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 1.02rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, "Liberation Mono", monospace; }

/* photocopier grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
section { padding: 84px 0; position: relative; }

/* riso double-print heading */
.riso { position: relative; display: inline-block; color: var(--fuchsia); font-family: "Archivo Black", sans-serif; text-transform: uppercase; line-height: 0.96; letter-spacing: -0.01em; }
.riso::before {
  content: attr(data-text); position: absolute; left: -3px; top: 3px; z-index: -1;
  color: var(--cyan); pointer-events: none;
}

/* ---------- info strip ---------- */
.infostrip {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 9px 22px; background: var(--bg);
  border-bottom: var(--border);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.infostrip .left { color: var(--muted); }
.infostrip .open { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); white-space: nowrap; }
.infostrip .dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 9px var(--cyan); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.infostrip nav { display: flex; align-items: center; gap: 16px; }
.infostrip nav a { color: var(--ink); text-decoration: none; }
.infostrip nav a:hover { color: var(--fuchsia); }
.lang-toggle { display: inline-flex; border: 1.5px solid var(--ink); }
.lang-toggle button { border: 0; background: transparent; color: var(--ink); padding: 3px 9px; cursor: pointer; font: 700 0.7rem ui-monospace, monospace; }
.lang-toggle button[aria-pressed="true"] { background: var(--fuchsia); color: #0d0d0d; }
@media (max-width: 820px) { .infostrip .left, .infostrip nav a { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 96px 0 64px; overflow: hidden; }
.hero h1 { font-size: clamp(4.2rem, 19vw, 15rem); margin-left: -0.04em; }
.hero h1.riso::before { left: -6px; top: 6px; }
.stamp {
  display: inline-block; margin-top: 6px; transform: rotate(-4deg);
  border: 3px solid var(--cyan); color: var(--cyan);
  font-family: "Archivo Black", sans-serif; text-transform: lowercase;
  font-size: clamp(1.1rem, 3.4vw, 1.9rem); padding: 4px 16px; letter-spacing: 0.02em;
}
.hero-line { margin-top: 30px; max-width: 30ch; font-size: clamp(1.05rem, 2.4vw, 1.45rem); color: var(--ink); font-weight: 600; }
.hero-sub { margin-top: 10px; color: var(--muted); font-size: 0.98rem; max-width: 46ch; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; font-family: ui-monospace, monospace; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; padding: 12px 20px; text-decoration: none; border: var(--border); }
.btn-fill { background: var(--fuchsia); color: #0d0d0d; border-color: var(--fuchsia); }
.btn-fill:hover { background: var(--cyan); border-color: var(--cyan); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #0d0d0d; }

/* ---------- perforation divider ---------- */
.perf { border: 0; border-top: 2px dashed #3a3a3a; margin: 0; position: relative; }
.perf span { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); background: var(--bg); padding: 0 14px; color: #555; font: 700 0.66rem ui-monospace, monospace; letter-spacing: 0.3em; text-transform: uppercase; }

/* ---------- section heads ---------- */
.sec-head { margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(2rem, 6vw, 3.8rem); }
.sec-head p { margin-top: 14px; color: var(--muted); max-width: 54ch; font-size: 1.02rem; }

/* ---------- flyer wall (manifesto) ---------- */
.flyer-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.flyer {
  border: var(--border); background: var(--bg-2); padding: 26px 24px 30px;
  transition: transform 0.06s steps(2), background 0.06s;
}
.flyer:nth-child(4n+1) { transform: rotate(-2.4deg); }
.flyer:nth-child(4n+2) { transform: rotate(1.6deg); }
.flyer:nth-child(4n+3) { transform: rotate(-1deg); }
.flyer:nth-child(4n+4) { transform: rotate(2deg); }
.flyer:hover { transform: rotate(0deg) translateY(-4px); background: #1b1b1b; }
.flyer .tag { font: 700 0.66rem ui-monospace, monospace; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.flyer h3 { font-family: "Archivo Black", sans-serif; font-size: 1.45rem; text-transform: uppercase; margin: 12px 0 10px; line-height: 1.05; }
.flyer p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 560px) { .flyer { transform: none !important; } }

/* ---------- program listing ---------- */
.program { background: var(--bg-2); border-top: var(--border); border-bottom: var(--border); }
.gig-list { display: grid; gap: 0; border: var(--border); }
.gig {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: baseline;
  padding: 20px 22px; border-bottom: 2px dashed #333;
}
.gig:last-child { border-bottom: 0; }
.gig:hover { background: #1d1d1d; }
.gig .when { font: 700 0.78rem ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.gig .what { font-family: "Archivo Black", sans-serif; text-transform: uppercase; font-size: 1.18rem; }
.gig .what small { display: block; font-family: "Hanken Grotesk", sans-serif; font-weight: 400; text-transform: none; color: var(--muted); font-size: 0.86rem; margin-top: 4px; letter-spacing: 0; }
.gig .price { font: 700 0.8rem ui-monospace, monospace; color: var(--fuchsia); text-transform: uppercase; }
@media (max-width: 620px) { .gig { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- gallery flyer wall ---------- */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gal figure { border: var(--border); overflow: hidden; background: #000; position: relative; transition: transform 0.06s steps(2); }
.gal figure img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(0.95); }
.gal figure figcaption { position: absolute; left: 0; bottom: 0; background: var(--fuchsia); color: #0d0d0d; font: 700 0.66rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 9px; }
.g1 { grid-column: span 7; aspect-ratio: 16/10; transform: rotate(-1.2deg); }
.g2 { grid-column: span 5; aspect-ratio: 4/5; transform: rotate(1.4deg); }
.g3 { grid-column: span 4; aspect-ratio: 1; transform: rotate(1deg); }
.g4 { grid-column: span 4; aspect-ratio: 1; transform: rotate(-1.6deg); }
.g5 { grid-column: span 4; aspect-ratio: 1; transform: rotate(0.8deg); }
.gal figure:hover { transform: rotate(0deg); z-index: 3; }
@media (max-width: 760px) {
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal figure { grid-column: span 1 !important; aspect-ratio: 1 !important; transform: none !important; }
  .g1 { grid-column: span 2 !important; aspect-ratio: 16/10 !important; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: stretch; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: var(--border); padding: 30px 30px 34px; background: var(--bg-2); }
.contact-card h3 { font-family: "Archivo Black", sans-serif; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 18px; }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 0.97rem; }
.contact-card dt { font: 700 0.72rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cyan); padding-top: 3px; }
.contact-card dd { color: var(--ink); }
.contact-card dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--fuchsia); }
.contact-card .socials { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.map-box { border: var(--border); overflow: hidden; min-height: 360px; filter: grayscale(1) contrast(1.1) invert(0.9) hue-rotate(180deg); }
.map-box iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- footer ---------- */
.foot { border-top: var(--border); padding: 46px 0 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot-mark { font-family: "Archivo Black", sans-serif; font-size: 1.6rem; text-transform: uppercase; color: var(--ink); }
.foot-mark b { color: var(--fuchsia); }
.foot-contact { font: 0.85rem ui-monospace, monospace; color: var(--muted); }
.foot-contact a { color: var(--cyan); }
.disclaimer { margin-top: 26px; font-size: 0.78rem; color: #6f6f6f; max-width: 70ch; line-height: 1.5; }

/* reveals (JS only; visible without JS) */
.r { will-change: transform, opacity; }
