/* =====================================================================
   SNOB — Słodkie Na Orientacje Bieganie
   Kolory z księgi znaku: #F04F35 · #FFC22A · #4D8F41 · #010101 · #FFFFFF
   ===================================================================== */

/* Fonty lokalnie (bez Google Fonts — szybciej i zgodnie z RODO) */
@font-face{font-family:'Bungee';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/bungee-latin-ext-400-normal.woff2') format('woff2');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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Rubik';font-style:normal;font-weight:300 900;font-display:swap;src:url('../fonts/rubik-latin-ext-wght-normal.woff2') format('woff2');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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Rubik';font-style:italic;font-weight:300 900;font-display:swap;src:url('../fonts/rubik-latin-ext-wght-italic.woff2') format('woff2');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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Bungee';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/bungee-latin-400-normal.woff2') format('woff2');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:'Rubik';font-style:normal;font-weight:300 900;font-display:swap;src:url('../fonts/rubik-latin-wght-normal.woff2') format('woff2');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:'Rubik';font-style:italic;font-weight:300 900;font-display:swap;src:url('../fonts/rubik-latin-wght-italic.woff2') format('woff2');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}

:root {
  --red: #f04f35;
  --yellow: #ffc22a;
  --green: #4d8f41;
  --green-dk: #3a7131;
  --ink: #111110;
  --black: #010101;
  --white: #fff;
  --paper: #fffaf0;
  --paper2: #fff3d9;
  --muted: #5b574f;

  --f-display: 'Bungee', 'Arial Black', Impact, sans-serif;
  --f-body: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --bw: 3px;                         /* grubość konturu jak w logo */
  --r: 18px;
  --r-lg: 28px;
  --shadow: 6px 6px 0 var(--black);
  --shadow-lg: 10px 10px 0 var(--black);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; z-index: 999; border: var(--bw) solid var(--black); border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- typo */
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dk);
}
.kicker .ic { color: var(--red); width: 18px; height: 18px; }
.kicker--light { color: var(--yellow); }
.kicker--light .ic { color: var(--yellow); }

.marker {
  position: relative; display: inline-block; z-index: 0; white-space: nowrap;
}
.marker::before {
  content: ''; position: absolute; z-index: -1;
  left: -.12em; right: -.12em; bottom: .02em; height: .52em;
  background: var(--yellow);
  border-radius: 4px;
  transform: skew(-8deg) rotate(-1.2deg);
  transform-origin: left;
  animation: marker-in 1s .35s var(--ease) both;
}
@keyframes marker-in { from { transform: skew(-8deg) rotate(-1.2deg) scaleX(0); } }

.prose { font-size: 17px; }
.prose p { margin: 0 0 1em; }
.prose h3 {
  font-family: var(--f-display); font-weight: 400; font-size: 20px; text-transform: uppercase;
  margin: 1.6em 0 .6em; line-height: 1.15;
}
.prose ul { margin: 0 0 1.2em; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 30px; margin: 0 0 .45em; }
.prose li::before {
  content: ''; position: absolute; left: 4px; top: .45em;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); border: 2.5px solid var(--black);
}
.prose a { color: var(--green-dk); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose strong { font-weight: 700; background: linear-gradient(transparent 60%, rgba(255, 194, 42, .55) 60%); }
.prose--big { font-size: 18.5px; }

/* ------------------------------------------------------------- buttons */
.btn {
  --bg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px;
  font-family: var(--f-body); font-weight: 800; font-size: 15px; letter-spacing: .02em;
  color: var(--black); text-decoration: none; text-transform: uppercase;
  background: var(--bg);
  border: var(--bw) solid var(--black);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--black); }
.btn--yellow { --bg: var(--yellow); }
.btn--white { --bg: var(--white); }
.btn--ghost { --bg: transparent; box-shadow: none; }
.btn--ghost:hover { --bg: var(--white); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--sm { padding: 8px 14px; font-size: 13px; box-shadow: 3px 3px 0 var(--black); }
.btn .ic { width: 18px; height: 18px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  border: 2px solid var(--black);
  background: var(--white); color: var(--black);
}
.pill--green { background: var(--green); color: var(--white); }
.pill--yellow { background: var(--yellow); }
.pill--red { background: var(--red); color: var(--white); }
.pill--ink { background: var(--black); color: var(--white); border-color: var(--black); }
.pill.pulse::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.card {
  background: var(--white);
  border: var(--bw) solid var(--black);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

/* ----------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--bw) solid var(--black);
  transition: box-shadow .25s;
}
.nav.is-scrolled { box-shadow: 0 6px 0 rgba(1, 1, 1, .06); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.nav__logo img { width: 128px; height: auto; transition: transform .3s var(--ease); }
.nav__logo:hover img { transform: rotate(-3deg) scale(1.04); }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a:not(.btn) {
  position: relative; padding: 8px 12px;
  font-weight: 700; font-size: 15px; text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
}
.nav__links > a:not(.btn)::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 8px, transparent 8px 13px);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links > a:not(.btn):hover::after, .nav__links > a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.nav__burger {
  display: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--yellow); border: var(--bw) solid var(--black); box-shadow: 3px 3px 0 var(--black);
  align-items: center; justify-content: center; padding: 0;
}
.nav__burger .ic { width: 24px; height: 24px; }
.nav__burger .i-close { display: none; }
.nav.is-open .nav__burger .i-open { display: none; }
.nav.is-open .nav__burger .i-close { display: block; }

/* ---------------------------------------------------------------- topo */
.hero__topo, .stats__topo, .foot__topo, .phead__topo, .ehero__topo, .nf__topo {
  position: absolute; inset: 0; pointer-events: none;
  background: url('../img/topo.svg') center / cover no-repeat;
  opacity: .07;
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 56px 0 70px; overflow: hidden; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: .95; margin: 0 0 22px; text-transform: uppercase; letter-spacing: -.02em;
}
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 540px; margin: 0 0 30px; color: #2b2925; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__art { position: relative; min-height: 380px; display: grid; place-items: center; }
.hero__logo {
  position: relative; z-index: 2; width: 100%; max-width: 560px;
  background: var(--white);
  border: var(--bw) solid var(--black); border-radius: 36px;
  box-shadow: var(--shadow-lg);
  padding: 26px 30px 18px;
  transform: rotate(2deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-10px); } }
.polaroid {
  position: absolute; z-index: 1; width: 62%; right: -4%; top: -6%;
  background: var(--white); padding: 12px 12px 42px;
  border: var(--bw) solid var(--black); border-radius: 10px; box-shadow: var(--shadow);
  transform: rotate(-7deg);
}
.polaroid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border: 2px solid var(--black); }

.sticker {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em;
  border: var(--bw) solid var(--black); box-shadow: 4px 4px 0 var(--black);
}
.sticker .ic { width: 16px; height: 16px; }
.sticker--1 { background: var(--yellow); left: -2%; top: 6%; transform: rotate(-8deg); animation: bob 5s ease-in-out infinite; }
.sticker--2 { background: var(--red); color: var(--white); right: 2%; bottom: 8%; transform: rotate(6deg); animation: bob 6s 1s ease-in-out infinite; }
.sticker--3 { background: var(--green); color: var(--white); left: 6%; bottom: -2%; transform: rotate(-3deg); animation: bob 5.5s .5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.deco-route { position: absolute; pointer-events: none; }
.deco-route__line {
  fill: none; stroke: var(--yellow); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 22 18;
  animation: march 1.6s linear infinite;
}
@keyframes march { to { stroke-dashoffset: -40; } }
.hero__route { left: -2%; right: -2%; width: 104%; bottom: 150px; height: 220px; opacity: .9; }

/* ticket — karta najbliższej imprezy */
.ticket {
  position: relative; z-index: 4;
  margin-top: 56px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  text-decoration: none; color: var(--white);
  background: var(--black);
  border: var(--bw) solid var(--black); border-radius: var(--r-lg);
  box-shadow: 10px 10px 0 var(--yellow), 10px 10px 0 3px var(--black);
  overflow: hidden;
  transition: transform .25s var(--ease);
}
.ticket:hover { transform: translate(-3px, -3px) rotate(-.3deg); }
.ticket__main { padding: 30px 34px; position: relative; }
.ticket__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ticket__type { color: var(--yellow); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.ticket__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.02; margin: 0 0 16px; text-transform: uppercase; }
.ticket__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 500; }
.ticket__meta .ic { color: var(--yellow); margin-right: 4px; }
.ticket__side {
  position: relative; padding: 30px 34px;
  background: var(--yellow); color: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.ticket__side::before { /* perforacja biletu */
  content: ''; position: absolute; left: -12px; top: 0; bottom: 0; width: 24px;
  background: radial-gradient(circle at 12px 14px, var(--black) 8px, transparent 9px) 0 0 / 24px 28px repeat-y;
}
.ticket__label { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.ticket__big { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; text-transform: uppercase; }
.ticket__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-transform: uppercase; margin-top: 6px; }
.ticket:hover .ticket__go .ic { transform: translateX(5px); }
.ticket__go .ic { transition: transform .2s; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0; }
.countdown div {
  background: var(--white); border: var(--bw) solid var(--black); border-radius: 14px;
  text-align: center; padding: 8px 4px 6px;
}
.countdown b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 3vw, 38px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }

/* ------------------------------------------------------------- marquee */
.marquee {
  position: relative; z-index: 3;
  background: var(--yellow);
  border-block: var(--bw) solid var(--black);
  transform: rotate(-1.6deg);
  margin: 10px -20px;
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
}
.marquee__track { display: inline-block; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: clamp(18px, 2.2vw, 28px); letter-spacing: .02em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections */
.section { position: relative; padding: 100px 0; }
.section--tight { padding: 60px 0; }
.section--paper2 { background: var(--paper2); border-block: var(--bw) solid var(--black); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }

/* about */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about__text .h2 { margin-bottom: 24px; }
.about__acro span { display: inline-block; white-space: nowrap; margin: 0 4px 6px 0; }
.about__acro { margin: 26px 0 0; font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.about__acro b {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: 2px;
  font-family: var(--f-display); font-weight: 400; background: var(--black); color: var(--yellow); border-radius: 9px;
}
.features { display: grid; gap: 18px; }
.feature {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: transform .25s var(--ease);
}
.feature:nth-child(2) { margin-left: 30px; }
.feature:hover { transform: rotate(-1deg) translateY(-3px); }
.feature h3 { font-family: var(--f-display); font-weight: 400; font-size: 20px; margin: 0 0 4px; text-transform: uppercase; }
.feature p { margin: 0; color: #3a3833; }
.feature__ic {
  flex: none; width: 58px; height: 58px; display: grid; place-items: center;
  border: var(--bw) solid var(--black); border-radius: 50%;
}
.feature__ic .ic { width: 28px; height: 28px; }
.feature--yellow .feature__ic { background: var(--yellow); }
.feature--green .feature__ic { background: var(--green); color: var(--white); }
.feature--red .feature__ic { background: var(--red); color: var(--white); }

/* stats */
.stats { position: relative; background: var(--green); color: var(--white); padding: 70px 0; border-block: var(--bw) solid var(--black); overflow: hidden; }
.stats__topo { opacity: .12; filter: invert(1); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat__num {
  display: block; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(52px, 7vw, 92px); line-height: 1;
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--black); paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--black);
}
.stat span { display: block; margin-top: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }

/* routes */
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.route {
  --c: var(--green); --on: var(--white);
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.route:hover { transform: translate(-3px, -5px) rotate(-.8deg); box-shadow: 9px 11px 0 var(--black); }
.route--yellow { --c: var(--yellow); --on: var(--black); }
.route--red { --c: var(--red); }
.route--ink { --c: var(--black); }
.route__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 16px; background: var(--c); color: var(--on);
  border-bottom: var(--bw) solid var(--black);
}
.route__kind { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.route__kind .ic { width: 20px; height: 20px; }
.route__code { font-family: var(--f-display); font-size: 16px; background: var(--white); color: var(--black); border: 2px solid var(--black); padding: 1px 8px; border-radius: 8px; }
.route__dist { font-family: var(--f-display); font-size: 58px; line-height: 1; padding: 20px 18px 0; letter-spacing: -.02em; }
.route__dist small { font-size: 22px; margin-left: 4px; }
.route__name { margin: 6px 18px 12px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.route__meta { margin: 0 18px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.route__meta div { background: var(--paper); border-radius: 12px; padding: 8px 10px; border: 2px dashed rgba(1, 1, 1, .25); }
.route__meta .wide { grid-column: 1 / -1; }
.route__meta dt { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.route__meta dd { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.route__price { margin-top: auto; display: flex; border-top: var(--bw) solid var(--black); }
.route__price span { flex: 1; padding: 10px 14px; font-family: var(--f-display); font-size: 20px; }
.route__price span + span { border-left: var(--bw) solid var(--black); background: var(--paper2); }
.route__price em { display: block; font-family: var(--f-body); font-style: normal; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* timeline */
.timeline { position: relative; overflow-x: auto; padding: 10px 0 40px; scrollbar-width: thin; scrollbar-color: var(--black) transparent; cursor: grab; }
.timeline.is-drag { cursor: grabbing; user-select: none; }
.timeline__track {
  position: relative; display: flex; gap: 26px;
  width: max-content; padding: 30px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 10px;
}
.timeline__track::before {
  content: ''; position: absolute; left: 0; right: 0; top: 48px; height: 6px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 22px, transparent 22px 36px);
  border-radius: 3px;
}
.tl {
  position: relative; flex: none; width: 250px;
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 44px; padding: 20px 20px 22px;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r-lg); box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .25s var(--ease);
}
.tl:hover { transform: translateY(-6px) rotate(-1deg); }
.tl__pin {
  position: absolute; top: -58px; left: 22px; width: 34px; height: 44px;
  background: var(--red); border: var(--bw) solid var(--black);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
}
.tl__pin::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--black); }
.tl--mrmno .tl__pin { background: var(--green); }
.tl__year { font-family: var(--f-display); font-size: 40px; line-height: 1; }
.tl__type { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--green-dk); }
.tl--mrmno .tl__type { color: var(--red); }
.tl__title { font-size: 17px; line-height: 1.25; }
.tl__meta { font-size: 14px; color: var(--muted); }

/* gallery — masonry (JS ustawia grid-row-end; bez JS działa jako kolumny CSS) */
.masonry { columns: 4 250px; column-gap: 18px; margin-bottom: 30px; }
.masonry .photo { margin-bottom: 18px; break-inside: avoid; }
.masonry.is-grid {
  columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 4px; column-gap: 18px; row-gap: 0; align-items: start;
}
.masonry.is-grid .photo { margin-bottom: 0; }
.photo {
  position: relative; display: block;
  border: var(--bw) solid var(--black); border-radius: 18px; overflow: hidden; box-shadow: 5px 5px 0 var(--black);
  background: var(--paper2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.photo.is-hidden { display: none; }
.photo img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.photo:hover { z-index: 2; box-shadow: 8px 8px 0 var(--yellow), 8px 8px 0 3px var(--black); }
.photo:hover img { transform: scale(1.06); }
.photo__cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 7px 12px; border-radius: 12px; border: 2px solid var(--black);
  background: var(--yellow); color: var(--black); font-size: 13px; font-weight: 700; line-height: 1.3;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease);
}
.photo:hover .photo__cap, .photo:focus-visible .photo__cap { opacity: 1; transform: none; }
.chip__n { display: inline-block; min-width: 24px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--yellow); color: var(--black); font-size: 12px; }
.chip.is-on .chip__n { background: var(--yellow); }
.empty { display: flex; gap: 20px; align-items: center; padding: 28px; max-width: 720px; }
.empty p { margin: 0; }
.empty__ic { flex: none; width: 70px; height: 70px; display: grid; place-items: center; background: var(--yellow); border: var(--bw) solid var(--black); border-radius: 50%; }
.empty__ic .ic { width: 32px; height: 32px; }

.gallinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.gallink {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 210px;
  padding: 24px; text-decoration: none;
  border: var(--bw) solid var(--black); border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s var(--ease);
}
.gallink::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../img/topo.svg') center / 700px no-repeat; opacity: .12;
}
.gallink--0 { background: var(--yellow); }
.gallink--1 { background: var(--green); color: var(--white); }
.gallink--2 { background: var(--red); color: var(--white); }
.gallink:hover { transform: translateY(-5px) rotate(1deg); }
.gallink__ic {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: auto;
  background: var(--white); color: var(--black); border: var(--bw) solid var(--black); border-radius: 50%;
}
.gallink__ic .ic { width: 26px; height: 26px; }
.gallink__ev { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .85; margin-top: 20px; }
.gallink strong { font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.gallink__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }

/* partners */
.partners__label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 30px 0 14px; }
.partners__label:first-of-type { margin-top: 0; }
.partners__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.partner {
  display: grid; place-items: center; min-height: 92px; padding: 14px 16px; text-align: center;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: 18px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; line-height: 1.2;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
a.partner:hover, .partner:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--black); }
a.partner:hover { background: var(--yellow); }
.partner img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1); transition: filter .25s; }
.partner:hover img { filter: none; }
.partners__grid--organizator .partner { background: var(--black); color: var(--yellow); min-height: 110px; font-family: var(--f-display); font-weight: 400; font-size: 20px; }
.partners__grid--organizator .partner img { filter: none; }

/* -------------------------------------------------------------- footer */
.foot { position: relative; background: var(--black); color: var(--white); padding: 90px 0 0; overflow: hidden; }
.foot__topo { opacity: .14; filter: invert(1); }
.foot__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.foot__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 5.4vw, 66px); line-height: 1; margin: 0 0 30px; text-transform: uppercase; }
.foot__title span { color: var(--yellow); }
.foot__contacts { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bigcontact {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 700;
  padding: 10px 22px 10px 12px; border-radius: 999px; border: var(--bw) solid var(--white);
  transition: background .2s, color .2s, transform .2s;
}
.bigcontact .ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.bigcontact:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateX(4px); }
.bigcontact:hover .ic { background: var(--black); color: var(--yellow); }
.foot__person { color: #cfcac0; margin: 18px 0 0; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--black); border: var(--bw) solid var(--white);
  transition: transform .2s, background .2s;
}
.socials a:hover { transform: rotate(-10deg) scale(1.08); background: var(--yellow); }
.socials .ic { width: 24px; height: 24px; }
.foot__logo {
  background: var(--white); border-radius: 30px; padding: 24px; border: var(--bw) solid var(--white);
  box-shadow: 10px 10px 0 var(--yellow);
  transform: rotate(-2deg);
}
.foot__bottom {
  position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  margin-top: 80px; padding-top: 22px; padding-bottom: 26px;
  border-top: 2px dashed rgba(255, 194, 42, .5);
  font-size: 14px; color: #bdb8ae;
}
.foot__bottom nav { display: flex; gap: 20px; }
.foot__bottom a { text-decoration: none; }
.foot__bottom a:hover { color: var(--yellow); }

/* ---------------------------------------------------------- page head */
.phead { position: relative; padding: 70px 0 60px; overflow: hidden; border-bottom: var(--bw) solid var(--black); }
.phead__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6.4vw, 84px); line-height: .98; margin: 0 0 18px; text-transform: uppercase; }
.phead__lead { font-size: 19px; max-width: 640px; margin: 0 0 26px; }
.phead__split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; position: relative; }
.phead__logo { background: var(--white); border: var(--bw) solid var(--black); border-radius: 30px; padding: 26px; box-shadow: var(--shadow-lg); transform: rotate(2deg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: var(--bw) solid var(--black); background: var(--white);
  font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .04em;
  transition: background .2s, transform .2s;
}
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--black); color: var(--yellow); }

/* lista imprez */
.evgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.evcard {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 280px;
  padding: 22px 22px 18px; text-decoration: none; overflow: hidden;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .3s;
}
.evcard:hover { transform: translate(-3px, -5px); box-shadow: 9px 11px 0 var(--black); }
.evcard.is-hidden { display: none; }
.evcard__img { position: absolute; inset: 0 0 auto 0; height: 110px; background: center / cover; border-bottom: var(--bw) solid var(--black); }
.evcard__img ~ .evcard__top { margin-top: 96px; }
.evcard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; }
.evcard__ed {
  min-width: 58px; height: 58px; padding: 0 8px; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 22px;
  background: var(--yellow); border: var(--bw) solid var(--black); border-radius: 16px; box-shadow: 3px 3px 0 var(--black);
}
.evcard--mrmno .evcard__ed { background: var(--red); color: var(--white); }
.evcard__type { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--green-dk); margin-top: 8px; }
.evcard--mrmno .evcard__type { color: var(--red); }
.evcard__title { font-family: var(--f-display); font-weight: 400; font-size: 23px; line-height: 1.08; text-transform: uppercase; }
.evcard__meta { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted); }
.evcard__meta .ic { color: var(--red); margin-right: 4px; }
.evcard__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px; border-top: 2px dashed rgba(1, 1, 1, .2); }
.mini { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--paper2); border: 2px solid var(--black); border-radius: 999px; padding: 2px 10px; }
.evcard__go { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--yellow); transition: transform .25s var(--ease); }
.evcard:hover .evcard__go { transform: rotate(-35deg) scale(1.08); background: var(--red); color: var(--white); }

/* ---------------------------------------------------------- event page */
.ehero { position: relative; overflow: hidden; background: var(--ehero-bg, var(--paper2)); border-bottom: var(--bw) solid var(--black); padding: 36px 0 90px; }
.ehero__cover {
  position: absolute; inset: 0;
  background-size: var(--ehero-size, cover); background-position: var(--ehero-pos, center); background-repeat: var(--ehero-rep, no-repeat);
  opacity: var(--ehero-op, .18); filter: var(--ehero-filter, none);
}
.ehero .tag { background: var(--accent, var(--green)); }
.ehero__year { color: var(--accent, var(--green)) !important; }
/* ciemne tło → jasny tekst */
.ehero--dark { color: var(--white); }
.ehero--dark .crumbs, .ehero--dark .crumbs a { color: rgba(255, 255, 255, .8); }
.ehero--dark .ehero__topo { filter: invert(1); }
.ehero--dark .ehero__year { -webkit-text-stroke-color: var(--white); }
.ehero--dark .facts li, .ehero--dark .countdown div { color: var(--black); }
.ehero__in { position: relative; z-index: 2; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.ehero__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag { padding: 5px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; border: 2px solid var(--black); background: var(--green); color: var(--white); }
.tag--mrmno { background: var(--red); }
.ehero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 6.2vw, 86px); line-height: .98; margin: 0 0 16px; text-transform: uppercase; max-width: 1000px; }
.ehero__ed {
  display: inline-grid; place-items: center; vertical-align: .08em;
  min-width: 1.35em; height: 1.2em; padding: 0 .18em; margin-right: .12em;
  font-size: .8em; background: var(--yellow); border: var(--bw) solid var(--black); border-radius: .22em; box-shadow: 5px 5px 0 var(--black);
  transform: rotate(-4deg);
}
.ehero__year { color: var(--green); -webkit-text-stroke: 2px var(--black); paint-order: stroke fill; }
.type-mrmno .ehero__year { color: var(--red); }
.ehero__lead { font-size: clamp(18px, 2vw, 23px); font-weight: 500; max-width: 760px; margin: 0 0 30px; }
.facts { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: 18px; padding: 10px 18px 10px 12px;
}
.facts .ic { width: 38px; height: 38px; padding: 8px; background: var(--yellow); border: 2px solid var(--black); border-radius: 50%; }
.facts small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); line-height: 1.2; }
.facts b { font-weight: 700; line-height: 1.25; }
.ehero .countdown { max-width: 440px; margin-bottom: 26px; }
.ehero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ehero__route { left: -5%; width: 110%; bottom: -30px; height: 160px; opacity: .9; }

.econtent { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.econtent__main { max-width: 720px; }
.econtent__side { position: sticky; top: 100px; }
.sidecard { padding: 24px; }
.sidecard__title { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 400; font-size: 20px; margin: 0 0 14px; text-transform: uppercase; }
.sidecard__title .ic { color: var(--red); }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.linklist a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  text-decoration: none; font-weight: 700; line-height: 1.25;
  border: 2px solid transparent; transition: background .2s, border-color .2s, transform .2s;
}
.linklist a:hover { background: var(--paper2); border-color: var(--black); transform: translateX(4px); }
.linklist small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.linklist__ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 2px solid var(--black); background: var(--yellow); }
.ll--results .linklist__ic, .linklist__ic.ll--results { background: var(--red); color: var(--white); }
.linklist__ic.ll--gallery, .linklist__ic.ll--video { background: var(--green); color: var(--white); }
.linklist__ic.ll--startlist { background: var(--white); }

.eprevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pn {
  display: flex; flex-direction: column; gap: 2px; padding: 20px 24px; text-decoration: none;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r-lg);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.pn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); background: var(--yellow); }
.pn--next { text-align: right; grid-column: 2; }
.pn small { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); }
.pn b { font-family: var(--f-display); font-weight: 400; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.pn span { font-size: 14px; color: var(--muted); }

/* fundacja */
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.fcard { padding: 28px; }
.fcard--yellow { background: var(--yellow); }
.fcard__title { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 400; font-size: 22px; margin: 0 0 16px; text-transform: uppercase; }
.fcard__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.clist small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.clist a, .clist span { font-weight: 700; font-size: 18px; text-decoration: none; }
.clist a:hover { color: var(--red); }

/* 404 */
.nf { position: relative; padding: 110px 0; overflow: hidden; text-align: center; }
.nf__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.nf .hero__btns { justify-content: center; }
.nf__compass { width: 120px; height: 120px; display: grid; place-items: center; background: var(--yellow); border: var(--bw) solid var(--black); border-radius: 50%; box-shadow: var(--shadow); margin-bottom: 26px; }
.nf__compass .ic { width: 70px; height: 70px; animation: lost 3s ease-in-out infinite; }
@keyframes lost { 0% { transform: rotate(0); } 30% { transform: rotate(140deg); } 45% { transform: rotate(90deg); } 70% { transform: rotate(300deg); } 100% { transform: rotate(360deg); } }

/* ------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(1, 1, 1, .92); display: grid; place-items: center; padding: 30px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border: var(--bw) solid var(--white); border-radius: 14px; }
.lightbox figcaption { color: var(--white); margin-top: 12px; font-weight: 500; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); border: var(--bw) solid var(--black); color: var(--black); font-size: 32px; line-height: 1; padding: 0;
}
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 14px; top: 50%; translate: 0 -50%; }

/* --------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1080px) {
  .econtent { grid-template-columns: 1fr; }
  .econtent__side { position: static; }
}
@media (max-width: 960px) {
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: absolute; top: calc(100% + 3px); left: 0; right: 0; height: calc(100vh - 78px); height: calc(100dvh - 78px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px 24px 40px;
    background: var(--paper);
    border-top: var(--bw) solid var(--black);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    overflow-y: auto;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav__links > a:not(.btn) { font-family: var(--f-display); font-weight: 400; font-size: 28px; padding: 14px 4px; border-bottom: 2px dashed rgba(1, 1, 1, .2); }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__cta { margin: 24px 0 0; font-size: 16px; padding: 14px 20px; }
  body.menu-open { overflow: hidden; }

  .hero { padding-top: 34px; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__art { min-height: 0; padding: 20px 10px; }
  .hero__route { bottom: 330px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__side::before {
    left: 0; right: 0; top: -12px; bottom: auto; width: auto; height: 24px;
    background: radial-gradient(circle at 14px 12px, var(--black) 8px, transparent 9px) 0 0 / 28px 24px repeat-x;
  }
  .about__grid, .phead__split { grid-template-columns: 1fr; gap: 40px; }
  .feature:nth-child(2) { margin-left: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__brand { max-width: 380px; }
  .phead__logo { max-width: 380px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 70px 0; }
  .section--tight { padding: 44px 0; }
  .nav__in { height: 68px; }
  .nav__links { height: calc(100dvh - 68px); }
  .nav__logo img { width: 100px; }
  .hero__btns .btn, .ehero__btns .btn { flex: 1 1 100%; }
  .hero__logo { padding: 16px 18px 10px; border-radius: 26px; }
  .sticker { font-size: 11px; padding: 6px 12px; }
  .sticker--1 { left: 0; top: -2%; }
  .ticket__main, .ticket__side { padding: 24px 22px; }
  .ticket { box-shadow: 7px 7px 0 var(--yellow), 7px 7px 0 3px var(--black); }
  .countdown { gap: 6px; }
  .route__dist { font-size: 50px; }
  .tl { width: 220px; }
  .eprevnext { grid-template-columns: 1fr; }
  .pn--next { grid-column: auto; }
  .facts li { width: 100%; }
  .foot { padding-top: 70px; }
  .bigcontact { font-size: 18px; padding-right: 16px; max-width: 100%; }
  .bigcontact span { overflow-wrap: anywhere; }
  .lightbox { padding: 20px 10px; }
  .lightbox__nav { top: auto; bottom: 18px; translate: none; }
}

/* =====================================================================
   LISTY STARTOWE I WYNIKI
   ===================================================================== */
.rt-sub { margin: 10px 0 0; font-weight: 600; color: var(--muted); }
.rt-search {
  display: flex; align-items: center; gap: 10px; flex: 0 1 380px;
  padding: 4px 6px 4px 16px; background: var(--white);
  border: var(--bw) solid var(--black); border-radius: 999px; box-shadow: 4px 4px 0 var(--black);
}
.rt-search .ic { color: var(--red); width: 22px; height: 22px; }
.rt-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 600; padding: 10px 6px; }
.rt-search:focus-within { box-shadow: 4px 4px 0 var(--yellow), 4px 4px 0 3px var(--black); }

.rt-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 14px; margin: 0 -4px 10px; scrollbar-width: thin; }
.rt-tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px 9px 16px; border-radius: 999px;
  border: var(--bw) solid var(--black); background: var(--white);
  font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s;
}
.rt-tab:hover { transform: translateY(-2px); }
.rt-tab.is-on { background: var(--black); color: var(--yellow); }
.rt-tab.is-zero { opacity: .4; }
.rt-tab__n { min-width: 26px; padding: 1px 7px; border-radius: 999px; background: var(--yellow); color: var(--black); font-size: 12px; text-align: center; }

.rt-panel { display: none; }
.rt-panel.is-on { display: block; animation: rt-in .35s var(--ease); }
@keyframes rt-in { from { opacity: 0; transform: translateY(8px); } }
.rt-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.rt-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; line-height: 1.05; }

.rt-wrap {
  overflow: auto; max-height: 78vh;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: 22px; box-shadow: var(--shadow);
}
.rt { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.rt th {
  position: sticky; top: 0; z-index: 1;
  background: var(--black); color: var(--yellow);
  font-family: var(--f-body); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  text-align: left; padding: 13px 14px; white-space: nowrap;
}
.rt td { padding: 11px 14px; border-bottom: 1px solid #eee4cf; vertical-align: middle; }
.rt tbody tr:nth-child(even) td { background: #fffaf0; }
.rt tbody tr:hover td { background: #fff1c9; }
.rt tbody tr:last-child td { border-bottom: 0; }
.rt .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt td:first-child, .rt th:first-child { padding-left: 20px; }
.rt td:first-child { font-weight: 800; }
.rt tr.is-hit td { background: #fff1c9 !important; }
.rt mark { background: var(--yellow); border-radius: 4px; padding: 0 2px; }

.rt--podium tr.p1 td { background: #fff4d1; }
.rt--podium tr.p2 td { background: #f3f3f1; }
.rt--podium tr.p3 td { background: #fbe9df; }
.rt--podium tr.p1 td:first-child { box-shadow: inset 6px 0 0 var(--yellow); }
.rt--podium tr.p2 td:first-child { box-shadow: inset 6px 0 0 #b9b9b4; }
.rt--podium tr.p3 td:first-child { box-shadow: inset 6px 0 0 #d48a5c; }
.rt--podium tr.p1 td, .rt--podium tr.p2 td, .rt--podium tr.p3 td { font-weight: 700; }
.medal {
  display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px;
  border: 2.5px solid var(--black); border-radius: 50%;
  font-family: var(--f-display); font-weight: 400; font-size: 15px;
}
.medal.m1 { background: var(--yellow); box-shadow: 2px 2px 0 var(--black); }
.medal.m2 { background: #dcdcd8; }
.medal.m3 { background: #e6a47c; }
.rt-empty td { text-align: center !important; padding: 30px 14px !important; color: var(--muted); font-weight: 600; background: var(--white) !important; }
.rt-note { margin-top: 16px; font-size: 15px; color: #3a3833; }

@media (max-width: 600px) {
  .rt-search { flex-basis: 100%; }
  .rt { font-size: 14px; }
  .rt td, .rt th { padding: 9px 10px; }
  .rt td:first-child, .rt th:first-child { padding-left: 12px; }
  .rt-wrap { border-radius: 16px; max-height: 70vh; }
}


/* =====================================================================
   NAGŁÓWEK ZE ZDJĘCIEM · BILET · KALENDARZ · PARTNERZY
   ===================================================================== */
/* zdjęcie jako główny element, logo jako naklejka w rogu */
.hero__art--photo { display: block; min-height: 0; padding: 10px 0 70px; }
.hero__art--photo .polaroid {
  position: relative; inset: auto; width: 92%; margin-left: auto; z-index: 1;
  padding: 12px 12px 44px; transform: rotate(2.5deg);
  animation: float-photo 8s ease-in-out infinite;
}
@keyframes float-photo { 0%, 100% { transform: rotate(2.5deg); } 50% { transform: rotate(1.5deg) translateY(-8px); } }
.hero__art--photo .polaroid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.hero__art--photo .hero__logo {
  position: absolute; left: -2%; bottom: 0; width: 52%; max-width: 330px;
  padding: 14px 16px 8px; border-radius: 24px; transform: rotate(-4deg); animation: none; z-index: 3;
  box-shadow: 7px 7px 0 var(--black);
}
.hero__art--photo .sticker--1 { left: auto; right: 2%; top: -4%; }
.hero__art--photo .sticker--2 { right: 4%; bottom: 13%; }
.hero__art--photo .sticker--3 { display: none; }
@media (max-width: 600px) {
  .hero__art--photo { padding-bottom: 90px; }
  .hero__art--photo .polaroid { width: 100%; padding: 8px 8px 30px; }
  .hero__art--photo .hero__logo { width: 62%; left: 0; }
}

/* bilet: cały klikalny, ale z osobnymi przyciskami kalendarza */
.ticket { cursor: pointer; }
.ticket__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ticket__link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.ticket .calbtns { position: relative; z-index: 2; }

.calbtns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 4px 0 22px; font-size: 13px; }
.calbtns__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.calbtns a {
  padding: 5px 12px; border-radius: 999px; border: 2px solid var(--black); background: var(--white);
  font-weight: 700; text-decoration: none; color: var(--black); transition: background .2s, transform .2s;
}
.calbtns a:hover { background: var(--yellow); transform: translateY(-2px); }
.calbtns--ticket { margin: 8px 0 0; }
.ehero--dark .calbtns__label { color: var(--white); }

/* plakietka „N× z nami” */
.partner { position: relative; }
.partner__badge {
  position: absolute; top: -10px; right: -8px;
  padding: 2px 9px; border-radius: 999px; border: 2px solid var(--black);
  background: var(--yellow); color: var(--black);
  font-family: var(--f-body); font-weight: 800; font-size: 11px; letter-spacing: .02em; text-transform: none;
  transform: rotate(4deg); box-shadow: 2px 2px 0 var(--black);
}
.partners__grid { padding-top: 8px; }
.partners__grid--patron .partner { background: #ffe9e4; }

/* kolory sekcji wybierane w panelu */
.foot { background: var(--c-foot, var(--black)); }
.stats { background: var(--c-stats, var(--green)); }
.marquee { background: var(--c-marquee, var(--yellow)); }
.foot--light { color: var(--black); }
.foot--light .foot__title span { color: var(--white); -webkit-text-stroke: 0; }
.foot--light .kicker--light, .foot--light .kicker--light .ic { color: var(--black); }
.foot--light .bigcontact { border-color: var(--black); }
.foot--light .foot__person, .foot--light .foot__bottom { color: rgba(0, 0, 0, .7); }
.foot--light .foot__topo { filter: none; }
.foot--light .foot__bottom { border-top-color: rgba(0, 0, 0, .35); }
.foot--light .socials a { border-color: var(--black); }
.marquee--dark { color: var(--white); }
.stats--light { color: var(--black); }
.stats--light .stat__num { color: var(--white); }
.stats--light .stats__topo { filter: none; }


/* =====================================================================
   BLOG
   ===================================================================== */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post {
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post:hover { transform: translate(-3px, -5px) rotate(-.4deg); box-shadow: 9px 11px 0 var(--black); }
.post__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--bw) solid var(--black); background: var(--paper2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__n {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--black);
  font-weight: 800; font-size: 12px;
}
.post__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.post__ev { display: inline-flex; align-items: center; gap: 4px; color: var(--green-dk); }
.post__ev .ic { width: 14px; height: 14px; }
.post__title { font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.post__lead { color: #3a3833; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.post:hover .post__go .ic { transform: translateX(4px); }
.post__go .ic { transition: transform .2s; }
.post--nophoto { background: var(--yellow); }
.post--nophoto .post__body { padding-top: 26px; }
/* pierwszy wpis na liście — szeroki */
@media (min-width: 900px) {
  .posts--big .post:first-child { grid-column: 1 / -1; flex-direction: row; }
  .posts--big .post:first-child .post__img { flex: 1.3; aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: var(--bw) solid var(--black); }
  .posts--big .post:first-child .post__body { flex: 1; padding: 34px; justify-content: center; }
  .posts--big .post:first-child .post__title { font-size: 36px; }
  .posts--big .post:first-child .post__lead { -webkit-line-clamp: 5; font-size: 17px; }
}

.wrap--narrow { max-width: 860px; }
.phead--post { padding-bottom: 50px; }
.phead__title--post { font-size: clamp(34px, 5.2vw, 64px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 0 0 16px; font-weight: 700; }
.post-meta time, .post-meta__ev { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ic { color: var(--red); }
.post-meta__ev { text-decoration: none; padding: 3px 12px; border: 2px solid var(--black); border-radius: 999px; background: var(--white); }
.post-meta__ev:hover { background: var(--yellow); }
.post-page { padding-top: 44px; }
.post-cover { display: block; margin-bottom: 8px; border: var(--bw) solid var(--black); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-.6deg); }
.post-cover img { width: 100%; }
.post-cover__cap { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.post-text { margin-top: 36px; }
.post-link { margin: 30px 0 10px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0 10px; padding-top: 22px; border-top: 2px dashed rgba(1, 1, 1, .2); }
.share__label { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  border: 2px solid var(--black); background: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; color: var(--black);
}
.share a:hover, .share button:hover { background: var(--yellow); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: var(--bw) solid var(--black); background: var(--white); font-weight: 800; text-decoration: none; }
.pager a.is-on, .pager a:hover { background: var(--black); color: var(--yellow); }
/* okładki pionowe: stała wysokość, kadrowanie */
@media (min-width: 900px) {
  .posts--big .post:first-child .post__img { height: 440px; min-height: 0; flex: 1.3 1 0; }
  .posts--big .post:first-child .post__img img { position: absolute; inset: 0; }
}
.post-cover img { max-height: min(640px, 75vh); object-fit: cover; }
.posts { align-items: start; }
@media (max-width: 600px) {
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry.is-grid { grid-template-columns: repeat(2, 1fr); column-gap: 10px; }
  .masonry .photo { margin-bottom: 10px; border-radius: 12px; box-shadow: 3px 3px 0 var(--black); }
}

/* =====================================================================
   PORADNIK „PIERWSZY RAZ”
   ===================================================================== */
.gd-hero__grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.gd-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-jump a { padding: 7px 14px; border: 2px solid var(--black); border-radius: 999px; background: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s, transform .2s; }
.gd-jump a:hover { background: var(--yellow); transform: translateY(-2px); }
.gd-pk { position: relative; max-width: 260px; justify-self: center; }
.gd-pk__svg { width: 100%; height: auto; overflow: visible; }
.gd-pk__flag { transform-origin: 130px 120px; animation: gd-sway 4s ease-in-out infinite; }
@keyframes gd-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.gd-pk__led { animation: gd-led 2.2s infinite; }
@keyframes gd-led { 0%, 70%, 100% { fill: #4d8f41; } 75%, 90% { fill: #ff3b1f; } }
.gd-pk__s1 { position: absolute; left: -30px; bottom: 30px; background: var(--yellow); transform: rotate(-6deg); }

.gd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: none; }
.gd-step {
  position: relative; padding: 26px 24px 20px;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: transform .25s var(--ease);
}
.gd-step:hover { transform: translateY(-4px) rotate(-.5deg); }
.gd-step__n {
  position: absolute; top: -18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 20px; background: var(--yellow); border: var(--bw) solid var(--black); border-radius: 50%;
  transform: rotate(8deg);
}
.gd-step__ic { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 16px; background: var(--paper2); border: 2px solid var(--black); }
.gd-step__ic .ic { width: 30px; height: 30px; color: var(--green-dk); }
.gd-step:nth-child(3n+2) .gd-step__ic .ic { color: var(--red); }
.gd-step h3 { font-family: var(--f-display); font-weight: 400; font-size: 20px; line-height: 1.1; margin: 0 0 8px; text-transform: uppercase; }
.gd-step .prose { font-size: 15.5px; }
.gd-step .prose p:last-child { margin-bottom: 0; }
.gd-help { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 30px 0 0; padding: 14px 18px; border: 2px dashed var(--black); border-radius: 16px; background: var(--paper2); font-weight: 600; }
.gd-help .ic { color: var(--red); }
.gd-help a { font-weight: 800; }

.gd-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.gd-route {
  --c: var(--green); --on: var(--white);
  display: flex; flex-direction: column; gap: 6px; padding: 0 0 18px; overflow: hidden;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: transform .25s var(--ease);
}
.gd-route:hover { transform: translateY(-4px) rotate(.6deg); }
.gd-route__who { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--c); color: var(--on); border-bottom: var(--bw) solid var(--black); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; }
.gd-route__who .ic { width: 20px; height: 20px; }
.gd-route__name { padding: 8px 16px 0; font-family: var(--f-display); font-weight: 400; font-size: 20px; line-height: 1.1; }
.gd-route p { margin: 0; padding: 0 16px; font-size: 15px; color: #3a3833; }
.gd-note { margin: 22px 0 0; font-size: 14px; color: var(--muted); }

.gd-pack { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.gd-pack__lead { color: var(--muted); }
.gd-pack__meter { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.gd-pack__bar { flex: 1; height: 14px; border: var(--bw) solid var(--black); border-radius: 999px; background: var(--white); overflow: hidden; }
.gd-pack__bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width .4s var(--ease); }
.gd-pack__meter b { font-family: var(--f-display); font-weight: 400; font-size: 20px; min-width: 70px; text-align: right; }
.gd-pack.is-done .gd-pack__bar span { background: var(--yellow); }
.gd-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gd-checklist label {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px; cursor: pointer;
  background: var(--white); border: var(--bw) solid var(--black); border-radius: 16px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.gd-checklist label:hover { transform: translateX(4px); }
.gd-checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gd-box { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: var(--bw) solid var(--black); border-radius: 8px; background: var(--paper); }
.gd-box .ic { width: 18px; height: 18px; opacity: 0; transform: scale(.4); transition: transform .25s var(--ease), opacity .2s; }
.gd-checklist input:checked + .gd-box { background: var(--green); color: var(--white); }
.gd-checklist input:checked + .gd-box .ic { opacity: 1; transform: none; }
.gd-checklist input:checked ~ span:last-child { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }
.gd-checklist input:focus-visible + .gd-box { box-shadow: 0 0 0 3px var(--yellow); }

.gd-faq { display: grid; gap: 12px; }
.gd-q { background: var(--white); border: var(--bw) solid var(--black); border-radius: 18px; overflow: hidden; }
.gd-q summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; font-weight: 800; font-size: 17px; }
.gd-q summary::-webkit-details-marker { display: none; }
.gd-q__ic { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--black); transition: transform .3s var(--ease); }
.gd-q__ic::before, .gd-q__ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 3px; background: var(--black); border-radius: 2px; transform: translate(-50%, -50%); }
.gd-q__ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.gd-q[open] .gd-q__ic { transform: rotate(180deg); }
.gd-q[open] .gd-q__ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.gd-q[open] summary { border-bottom: 2px dashed #e3dccb; }
.gd-q .prose { padding: 14px 20px 6px; }

.gd-cta__card {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 34px 36px; background: var(--black); color: var(--white); border-radius: var(--r-lg);
  box-shadow: 10px 10px 0 var(--yellow), 10px 10px 0 3px var(--black);
}
.gd-cta__card .h2 { color: var(--yellow); }
.gd-cta__card p { margin: 8px 0 0; font-size: 18px; }
.gd-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* zaproszenie do poradnika (strona główna, strona imprezy) */
.gd-teaser {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  padding: 30px 32px; text-decoration: none; color: var(--black);
  background: var(--yellow); border: var(--bw) solid var(--black); isolation: isolate;
  border-radius: var(--r-lg); box-shadow: 10px 10px 0 var(--black);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gd-teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: url("../img/topo.svg") center / 900px no-repeat; opacity: .18; }
.gd-teaser:hover { transform: translate(-3px, -4px) rotate(-.4deg); box-shadow: 14px 14px 0 var(--black); }
.gd-teaser__badge {
  position: absolute; top: -16px; left: 28px; padding: 6px 14px; background: var(--red); color: var(--white);
  font-family: var(--f-display); font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  border: var(--bw) solid var(--black); border-radius: 999px; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--black);
}
.gd-teaser__ic {
  width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%;
  background: var(--white); border: var(--bw) solid var(--black); box-shadow: 4px 4px 0 var(--black);
}
.gd-teaser__ic .ic { width: 44px; height: 44px; color: var(--red); animation: gdSpin 6s var(--ease) infinite; }
@keyframes gdSpin { 0%, 70% { transform: rotate(0); } 80% { transform: rotate(-25deg); } 90% { transform: rotate(15deg); } 100% { transform: rotate(0); } }
.gd-teaser__txt b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; line-height: 1.05; }
.gd-teaser__txt span { display: block; margin-top: 6px; font-size: 17px; font-weight: 500; }
.gd-teaser__cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; white-space: nowrap;
  background: var(--black); color: var(--yellow); border-radius: 999px;
  font-family: var(--f-display); font-size: 15px; text-transform: uppercase; letter-spacing: .03em;
}
.gd-teaser__cta .ic { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.gd-teaser:hover .gd-teaser__cta .ic { transform: translateX(4px); }
.about__guide { margin-top: 64px; }
/* wersja w kolumnie bocznej imprezy */
.gd-teaser--side { grid-template-columns: auto 1fr; gap: 14px 16px; padding: 30px 22px 22px; margin-bottom: 30px; box-shadow: 8px 8px 0 var(--black); }
.gd-teaser--side .gd-teaser__badge { left: 20px; font-size: 12px; }
.gd-teaser--side .gd-teaser__ic { width: 60px; height: 60px; }
.gd-teaser--side .gd-teaser__ic .ic { width: 32px; height: 32px; }
.gd-teaser--side .gd-teaser__txt b { font-size: 21px; }
.gd-teaser--side .gd-teaser__txt span { font-size: 15px; }
.gd-teaser--side .gd-teaser__cta { grid-column: 1 / -1; justify-content: center; }
/* link pod przyciskami w hero */
.hero__first {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 8px;
  background: var(--white); color: var(--black); text-decoration: none; font-weight: 600; font-size: 16px;
  border: var(--bw) solid var(--black); border-radius: 999px; box-shadow: 4px 4px 0 var(--black);
  transition: transform .2s var(--ease);
}
.hero__first:hover { transform: translate(-2px, -2px); }
.hero__first > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); border: 2px solid var(--black); }
.hero__first > span .ic { width: 20px; height: 20px; color: var(--red); }
.hero__first b { color: var(--red); }
.hero__first > .ic { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .gd-hero__grid, .gd-pack { grid-template-columns: 1fr; gap: 30px; }
  .gd-steps { grid-template-columns: 1fr 1fr; }
  .gd-pk { max-width: 190px; }
}
@media (max-width: 600px) {
  .gd-steps { grid-template-columns: 1fr; gap: 26px; }
  .gd-cta__card { padding: 26px 22px; box-shadow: 7px 7px 0 var(--yellow), 7px 7px 0 3px var(--black); }
  .gd-cta__card > * { min-width: 0; }
  .gd-teaser { grid-template-columns: auto 1fr; gap: 16px; padding: 32px 20px 22px; }
  .gd-teaser__ic { width: 60px; height: 60px; }
  .gd-teaser__ic .ic { width: 32px; height: 32px; }
  .gd-teaser__txt span { font-size: 15px; }
  .gd-teaser__cta { grid-column: 1 / -1; justify-content: center; }
  .about__guide { margin-top: 44px; }
  .hero__first { font-size: 14px; }
  .gd-cta__btns .btn { flex: 1 1 100%; min-width: 0; white-space: normal; text-align: center; justify-content: center; }
  .gd-pk__s1 { left: -10px; }
}

/* ================================================== DOJAZD / MAPA */
.facts__link { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.travel__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; }
.travel__grid--text { grid-template-columns: 1fr; max-width: 760px; }
.travel__mapbox { position: relative; isolation: isolate; }
.travel__map {
  height: 540px; border: var(--bw) solid var(--black); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  background: #e9e4d6; overflow: hidden; z-index: 0;
}
.travel__map .leaflet-tile-pane { filter: saturate(.85) sepia(.12); }
.travel__fit {
  position: absolute; left: 16px; bottom: 16px; z-index: 500; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; font: 600 14px var(--f-body); background: var(--white); color: var(--black); cursor: pointer;
  border: var(--bw) solid var(--black); border-radius: 999px; box-shadow: 3px 3px 0 var(--black);
}
.travel__fit .ic { width: 18px; height: 18px; }
.travel__side { display: grid; gap: 22px; }
.travel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tplace {
  --pc: var(--red);
  background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r); padding: 14px 16px;
  box-shadow: 4px 4px 0 var(--black); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.tplace--parking { --pc: #2f6fd6; }
.tplace--przystanek { --pc: #7a4fd0; }
.tplace--inne { --pc: var(--green); }
.tplace.is-on { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--pc); }
.tplace__head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; text-align: left; background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }
.tplace__pin { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--pc); color: var(--white); border: var(--bw) solid var(--black); }
.tplace--baza .tplace__pin { background: var(--yellow); color: var(--black); }
.tplace__pin .ic { width: 22px; height: 22px; }
.tplace__head small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tplace__head b { display: block; font-size: 18px; line-height: 1.2; }
.tplace__note { margin: 10px 0 0; font-size: 15px; color: var(--ink); }
.tplace__nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tplace__nav a, .tplace__copy {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; font: 600 13px var(--f-body); color: var(--black);
  background: var(--paper2); border: 2px solid var(--black); border-radius: 999px; text-decoration: none; cursor: pointer;
}
.tplace__nav a:hover, .tplace__copy:hover { background: var(--yellow); }
.tplace__copy { background: var(--white); font-variant-numeric: tabular-nums; }
.tplace__copy .ic { width: 15px; height: 15px; }
.tplace__copy.is-done { background: var(--green); color: var(--white); }
.tplace__copy.is-done span::after { content: " ✓"; }
.travel__text { background: var(--white); border: var(--bw) solid var(--black); border-radius: var(--r); padding: 20px 22px; box-shadow: 4px 4px 0 var(--black); }
.travel__text > :first-child { margin-top: 0; }
/* pinezki na mapie */
.mpin { background: none; border: 0; }
.mpin__body {
  --pc: var(--green);
  position: relative; display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto;
  background: var(--pc); color: var(--white); border: 3px solid var(--black); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); box-shadow: 3px 3px 0 var(--black); transition: transform .2s var(--ease);
}
.mpin__body svg { width: 22px; height: 22px; transform: rotate(45deg); }
.mpin--baza .mpin__body { --pc: var(--yellow); color: var(--black); }
.mpin--parking .mpin__body { --pc: #2f6fd6; }
.mpin--przystanek .mpin__body { --pc: #7a4fd0; }
.mpin--main .mpin__body { width: 48px; height: 48px; margin-top: -6px; }
.mpin--main .mpin__body::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid var(--yellow); animation: mpinPulse 2.2s ease-out infinite; }
@keyframes mpinPulse { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }
.mpin:hover .mpin__body { transform: rotate(-45deg) scale(1.1); }
.leaflet-popup-content-wrapper { border: var(--bw) solid var(--black); border-radius: 14px; box-shadow: 4px 4px 0 var(--black); }
.leaflet-popup-content { margin: 12px 16px; font: 15px var(--f-body); }
.mpop__t { display: block; font-size: 16px; margin-bottom: 6px; }
.mpop__a { font-weight: 700; color: var(--red) !important; }
.leaflet-container a.leaflet-popup-close-button { color: var(--black); }
.leaflet-bar { border: var(--bw) solid var(--black) !important; border-radius: 12px !important; box-shadow: 3px 3px 0 var(--black); overflow: hidden; }
.leaflet-bar a { color: var(--black); }
@media (max-width: 960px) {
  .travel__grid { grid-template-columns: 1fr; }
  .travel__map { height: 420px; }
}
@media (max-width: 560px) {
  .travel__map { height: 360px; border-radius: var(--r); box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: reduce) { .mpin--main .mpin__body::after { animation: none; } }

/* =================================================================
   ZAPISY — formularz, status zgłoszenia, sekcja zapisów na stronie imprezy
   ================================================================= */
.ehero--slim { padding: 30px 0 46px; }
.fz-title { font-size: clamp(30px, 4.6vw, 60px); }
.fz-switch { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-weight: 700; font-size: 14px; }
.fz-switch a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; background: var(--white); border: 2px solid var(--black); border-radius: 999px; text-decoration: none; box-shadow: 2px 2px 0 var(--black); }
.fz-switch a:hover { background: var(--yellow); }
.fz-switch .ic { width: 15px; height: 15px; }

.fz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.fz-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.fz-card { padding: 26px 28px; border-radius: 24px; }
.fz-intro { margin-bottom: 22px; font-size: 17.5px; }
.fz-small { font-size: 13.5px; line-height: 1.5; margin: 12px 0 0; }
.fz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.fz-f, .fz-h { grid-column: 1 / -1; min-width: 0; border: 0; padding: 0; margin: 0; }
.fz-f--half { grid-column: span 1; }
.fz-in { animation: fzIn .35s var(--ease); }
@keyframes fzIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fz-h { padding-top: 14px; margin-top: 4px; border-top: 2px dashed #e3dccb; }
.fz-grid > .fz-h:first-child { border-top: 0; padding-top: 0; }
.fz-h h3, .fz-team__head h3 { font-family: var(--f-display); font-weight: 400; font-size: 20px; text-transform: uppercase; margin: 0; }
.fz-h .fz-help { margin-top: 4px; }
.fz-f > label, .fz-f > legend { display: block; font-weight: 800; font-size: 14.5px; margin-bottom: 7px; padding: 0; }
.fz-req { color: var(--red); font-style: normal; }
.fz-help { font-size: 13px; color: var(--muted); margin: 6px 0 0; line-height: 1.45; }
.fz-form input:not([type=radio]):not([type=checkbox]), .fz-form select, .fz-form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
  padding: 12px 14px; background: var(--white);
  border: 2.5px solid var(--black); border-radius: 14px;
  transition: box-shadow .15s, background .15s;
}
.fz-form input:focus, .fz-form select:focus, .fz-form textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.fz-form input::placeholder { color: #b0a999; }
.fz-err { margin: 7px 0 0; color: #b42318; font-weight: 700; font-size: 13.5px; }
.fz-f.has-err input:not([type=radio]):not([type=checkbox]), .fz-f.has-err select { background: #fff1ee; border-color: #b42318; }
.has-err-js { animation: fzShake .4s; }
.has-err-js input:invalid, .has-err-js select:invalid { background: #fff1ee; border-color: #b42318 !important; }
@keyframes fzShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.fz-alert { background: #ffe1db; border: var(--bw) solid var(--black); border-radius: 18px; padding: 14px 18px; margin-bottom: 18px; box-shadow: 4px 4px 0 var(--black); }
.fz-alert b { display: flex; align-items: center; gap: 8px; }
.fz-alert .ic { width: 18px; height: 18px; color: #b42318; }
.fz-alert p { margin: 6px 0 0; }

/* opcje (trasy) jako kafle */
.fz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.fz-opts--list { grid-template-columns: 1fr; }
.fz-opt { position: relative; cursor: pointer; display: block; }
.fz-opt input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.fz-opt__box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; background: var(--white); border: 2.5px solid var(--black); border-radius: 18px; box-shadow: 3px 3px 0 var(--black); transition: transform .15s var(--ease), box-shadow .15s, background .15s; }
.fz-opt:hover .fz-opt__box { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--black); }
.fz-opt input:checked + .fz-opt__box { background: var(--yellow); box-shadow: 5px 5px 0 var(--black); transform: translate(-2px, -2px); }
.fz-opt input:focus-visible + .fz-opt__box { outline: 3px solid var(--red); outline-offset: 3px; }
.fz-opt__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.fz-opt__top b { font-size: 15.5px; line-height: 1.25; }
.fz-opt__top em { font-style: normal; font-family: var(--f-display); font-size: 18px; white-space: nowrap; }
.fz-opt__top small { font-family: var(--f-body); font-size: 11px; font-weight: 700; }
.fz-opt__desc { font-size: 13px; color: var(--muted); line-height: 1.4; }
.fz-opt input:checked + .fz-opt__box .fz-opt__desc { color: var(--ink); }
.fz-opt__left { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dk); }
.fz-opt__left.is-low { color: var(--red); }
.fz-opt.is-full { cursor: not-allowed; }
.fz-opt.is-full .fz-opt__box { opacity: .5; box-shadow: none; background: repeating-linear-gradient(-45deg, #fff, #fff 8px, #f4efe3 8px, #f4efe3 16px); }

/* tak / nie */
.fz-yn { display: inline-flex; border: 2.5px solid var(--black); border-radius: 999px; overflow: hidden; box-shadow: 3px 3px 0 var(--black); }
.fz-yn__o { cursor: pointer; position: relative; }
.fz-yn__o input { position: absolute; opacity: 0; }
.fz-yn__o span { display: block; padding: 9px 26px; font-weight: 800; text-transform: uppercase; font-size: 14px; background: var(--white); transition: background .15s; }
.fz-yn__o + .fz-yn__o span { border-left: 2.5px solid var(--black); }
.fz-yn__o input:checked + span { background: var(--yellow); }
.fz-yn__o input:focus-visible + span { outline: 3px solid var(--red); outline-offset: -5px; }
.fz-yn__x { margin-top: 12px; max-width: 340px; animation: fzIn .3s var(--ease); }
.fz-yn__x label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }

/* oświadczenia */
.fz-f > label.fz-consent, .fz-consent { display: grid; margin: 0; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; cursor: pointer; padding: 14px 16px; background: var(--paper); border: 2px solid var(--black); border-radius: 16px; transition: background .15s; }
.fz-consent input { position: absolute; opacity: 0; }
.fz-consent__box { width: 30px; height: 30px; border: 2.5px solid var(--black); border-radius: 9px; background: var(--white); display: grid; place-items: center; transition: background .15s; }
.fz-consent__box .ic { width: 20px; height: 20px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: .2s var(--ease); }
.fz-consent input:checked ~ .fz-consent__box { background: var(--green); color: var(--white); }
.fz-consent input:checked ~ .fz-consent__box .ic { opacity: 1; transform: none; }
.fz-consent:has(input:checked) { background: #eef7ea; }
.fz-consent input:focus-visible ~ .fz-consent__box { outline: 3px solid var(--red); outline-offset: 2px; }
.fz-consent__txt { font-size: 14px; line-height: 1.5; font-weight: 500; }
.fz-consent__txt small { display: block; margin-top: 6px; font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fz-consent:has(input:checked) small { color: var(--green-dk); }
.fz-consent:has(input:checked) small::after { content: ' ✓'; }

/* skład drużyny */
.fz-f--team { background: var(--paper2); border: 2.5px solid var(--black); border-radius: 20px; padding: 18px 18px 16px; }
.fz-team__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; align-items: baseline; }
.fz-team__rule { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dk); }
.fz-team__cap, .fz-mem { display: flex; align-items: center; gap: 10px; }
.fz-team__cap { margin-top: 14px; padding: 10px 12px; background: var(--white); border: 2px dashed var(--black); border-radius: 14px; }
.fz-team__cap small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fz-team__cap > span:nth-child(2) { flex: 1; min-width: 0; }
.fz-team__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.fz-mem { padding: 10px 12px; background: var(--white); border: 2px solid var(--black); border-radius: 14px; }
.fz-mem__n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--yellow); font-family: var(--f-display); font-size: 14px; }
.fz-mem__f { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fz-mem__f > span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fz-mem__f--year { flex: 0 0 110px; }
.fz-form .fz-mem input, .fz-form .fz-mem select { padding: 9px 11px; border-width: 2px; border-radius: 10px; font-size: 15px; }
.fz-mem__tag { flex: none; min-width: 0; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; border: 2px solid transparent; }
.fz-mem__tag:empty { display: none; }
.fz-mem__tag.is-ad { background: var(--green); color: var(--white); border-color: var(--black); }
.fz-mem__tag.is-mi { background: var(--yellow); border-color: var(--black); }
.fz-mem__x { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--black); border-radius: 50%; background: var(--white); cursor: pointer; transition: background .15s; }
.fz-mem__x:hover { background: #ffd9d2; }
.fz-mem__x .ic { width: 16px; height: 16px; }
.fz-team__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.fz-team__stats { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.fz-team__stats span { padding: 4px 11px; background: var(--white); border: 2px solid var(--black); border-radius: 999px; }
.fz-team__stats .is-ad b { color: var(--green-dk); }
.fz-team__stats .is-mi b { color: #a76d00; }
.fz-f--team.is-warn .fz-team__rule { color: var(--red); }
.fz-f--team.is-warn .fz-team__stats .is-ad { background: #ffe1db; }

/* wysyłka */
.fz-submit { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; padding: 18px 20px; background: var(--black); color: var(--white); border-radius: 20px; }
.fz-submit__sum small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); }
.fz-submit__sum b { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.fz-submit__sum span { display: block; font-size: 13px; opacity: .8; }
.fz-submit .btn { box-shadow: 4px 4px 0 var(--yellow); border-color: var(--yellow); }
.fz-submit .btn:disabled { opacity: .7; cursor: wait; }

/* boczne karty */
.fz-side .fz-card { padding: 20px 22px; }
.fz-live__dl, .fz-sum { margin: 0; display: grid; gap: 0; }
.fz-live__dl div, .fz-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed #e3dccb; }
.fz-live__dl div:first-child, .fz-sum div:first-child { border-top: 0; }
.fz-live__dl dt, .fz-sum dt { color: var(--muted); font-size: 13.5px; }
.fz-live__dl dd, .fz-sum dd { margin: 0; font-weight: 700; text-align: right; }
.fz-live__sum dd { font-family: var(--f-display); font-weight: 400; font-size: 22px; }
.fz-places__n b { font-family: var(--f-display); font-weight: 400; font-size: 42px; line-height: 1; }
.fz-places__n span { font-weight: 700; color: var(--muted); }
.fz-bar { height: 14px; margin-top: 10px; background: var(--paper2); border: 2px solid var(--black); border-radius: 999px; overflow: hidden; }
.fz-bar span { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--green), var(--green) 8px, var(--green-dk) 8px, var(--green-dk) 16px); border-right: 2px solid var(--black); }
.fz-evcard__facts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.fz-evcard__facts li { display: flex; gap: 9px; align-items: flex-start; }
.fz-evcard__facts .ic { flex: none; width: 20px; height: 20px; color: var(--red); }
.fz-doc { display: flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; padding: 9px 12px; border: 2px solid var(--black); border-radius: 12px; margin-top: 8px; background: var(--paper); }
.fz-doc:hover { background: var(--yellow); }
.fz-doc .ic { width: 18px; height: 18px; }
.fz-closed { text-align: left; }
.fz-closed .h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 6px 0 12px; }
.fz-closed .countdown { max-width: 440px; margin: 18px 0 24px; }

/* status zgłoszenia */
.fz-thanks { display: flex; gap: 18px; align-items: center; background: var(--white); border: var(--bw) solid var(--black); border-radius: 24px; box-shadow: var(--shadow); padding: 20px 24px; max-width: 820px; }
.fz-thanks__ic { flex: none; width: 64px; height: 64px; display: grid; place-items: center; background: var(--green); color: var(--white); border: var(--bw) solid var(--black); border-radius: 50%; animation: fzPop .6s var(--ease); }
.fz-thanks__ic .ic { width: 34px; height: 34px; stroke-width: 3; }
.fz-thanks__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 3.4vw, 36px); line-height: 1.05; margin: 0 0 4px; }
.fz-thanks p { margin: 0; }
@keyframes fzPop { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.15) rotate(6deg); } 100% { transform: none; } }
.fz-status { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.fz-status__main { display: grid; gap: 22px; }
.fz-status__side { position: sticky; top: 100px; }
.fz-st { border-left-width: 12px; }
.fz-st--unpaid { border-left-color: var(--yellow); }
.fz-st--paid { border-left-color: var(--green); }
.fz-st--cancel { border-left-color: var(--red); }
.fz-st__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fz-st__head small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.fz-st__head > div > b { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; }
.fz-st__txt { margin: 10px 0 0; }
.fz-bib { text-align: center; background: var(--black); color: var(--yellow); border-radius: 16px; padding: 8px 18px; }
.fz-bib small { color: var(--white) !important; }
.fz-bib b { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; }
.fz-pay { background: var(--paper2); }
.fz-pay__amount { font-family: var(--f-display); font-size: clamp(36px, 5vw, 54px); line-height: 1; margin: 6px 0 16px; }
.fz-pay__amount small { display: block; font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.fz-pay__dl { margin: 0; display: grid; gap: 10px; }
.fz-pay__dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: baseline; padding-top: 10px; border-top: 2px dashed rgba(0, 0, 0, .15); }
.fz-pay__dl dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fz-pay__dl dd { margin: 0; font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.fz-pay__dl .mono { font-family: 'Courier New', monospace; letter-spacing: .03em; }
.fz-copy { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 3px 10px; font: inherit; font-family: var(--f-body); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--white); border: 2px solid var(--black); border-radius: 999px; cursor: pointer; vertical-align: middle; }
.fz-copy:hover { background: var(--yellow); }
.fz-copy.is-ok { background: var(--green); color: var(--white); }
.fz-copy .ic { width: 13px; height: 13px; }
.fz-sum dd small { font-weight: 500; color: var(--muted); }
.fz-evcard__title { font-family: var(--f-display); font-weight: 400; font-size: 20px; text-transform: uppercase; line-height: 1.1; margin: 4px 0 14px; }
.fz-cal { margin-top: 14px; }

/* sekcja „Zapisy” na stronie imprezy */
.regs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.reg { display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.reg__title { font-family: var(--f-display); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1.05; margin: 0; }
.reg__intro { font-size: 15px; }
.reg__intro p { margin: 0 0 8px; }
.reg__opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reg__opts li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 9px 12px; border: 2px solid var(--black); border-radius: 12px; background: var(--paper); font-weight: 700; font-size: 14.5px; }
.reg__opts li span { font-family: var(--f-display); font-weight: 400; white-space: nowrap; }
.reg__opts li small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.reg__opts li.is-full { opacity: .55; text-decoration: line-through; }
.reg .btn { align-self: flex-start; margin-top: auto; }
.regbar { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-bottom: 26px; padding: 16px 20px; background: var(--white); border: var(--bw) solid var(--black); border-radius: 20px; box-shadow: 4px 4px 0 var(--black); }
.regbar__n b { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; }
.regbar__n span { font-weight: 700; color: var(--muted); margin-left: 4px; }
.regbar .fz-bar { flex: 1; min-width: 180px; margin: 0; }
.regbar p { margin: 0; flex-basis: 100%; font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .fz-layout, .fz-status { grid-template-columns: 1fr; }
  .fz-side, .fz-status__side { position: static; }
  .fz-side { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .fz-live { display: none; }
}
@media (max-width: 600px) {
  .fz-card { padding: 20px 16px; border-radius: 20px; }
  .fz-grid { grid-template-columns: 1fr; gap: 16px; }
  .fz-f--half { grid-column: 1 / -1; }
  .fz-f--team { padding: 14px 12px; margin-inline: -4px; }
  .fz-mem { flex-wrap: wrap; position: relative; padding-right: 50px; }
  .fz-mem__f { flex: 1 1 100%; }
  .fz-mem__f--year { flex: 1 1 110px; }
  .fz-mem__n { width: 26px; height: 26px; font-size: 12px; }
  .fz-mem__x { position: absolute; top: 8px; right: 8px; }
  .fz-submit { flex-direction: column; align-items: stretch; text-align: center; }
  .fz-submit .btn { white-space: normal; }
  .fz-pay__dl div { grid-template-columns: 1fr; gap: 2px; }
  .fz-thanks { flex-direction: column; align-items: flex-start; }
  .fz-st__head { flex-wrap: wrap; }
}
