/* ===== Wersja 2 — płynąca wstęga i więcej pomarańczu =====
   Wczytywana PO styles.css; nadpisuje tylko to, co potrzebne. */

/* --- Ciągła wstęga --- */
.flow { position: relative; }

.flow__ribbon {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.flow__ribbon path {
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* łagodne pojawienie się po wyliczeniu przebiegu */
.flow__ribbon { opacity: 0; transition: opacity 400ms ease; }
.flow--ready .flow__ribbon { opacity: 1; }

/* treść zawsze nad wstęgą */
.flow .container { position: relative; z-index: 1; }

/* tła sekcji przezroczyste, żeby wstęga płynęła bez szwów */
.flow .about { background: transparent; }

/* --- Dodatkowe pomarańczowe elementy --- */
.deco {
  position: absolute;
  pointer-events: none;
}
.deco--dots circle { fill: var(--orange); }
.deco--blob path { fill: var(--orange); }
.deco--ring circle { fill: none; stroke: var(--orange); stroke-width: 10; }

.deco--hero-dots { left: 46%; top: 120px; width: 90px; opacity: 0.9; }
.deco--about-blob { right: -60px; bottom: 60px; width: 260px; }
.deco--about-ring { left: 40%; top: 70px; width: 70px; }
.deco--ws-dots { left: 54%; top: 90px; width: 110px; }
.deco--ws-blob { left: -70px; bottom: 34%; width: 180px; }
.deco--inst-blob { left: -50px; bottom: -40px; width: 220px; opacity: 0.95; }

/* falka pod nagłówkami sekcji */
.flow .section__title::after,
.kids__title::after {
  content: "";
  display: block;
  width: 132px;
  height: 16px;
  margin-top: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 16'%3E%3Cpath d='M3 10c10-8 20-8 30 0s20 8 30 0 20-8 30 0 20 8 30 0' fill='none' stroke='%23F26B30' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}
.institutions .section__title::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 16'%3E%3Cpath d='M3 10c10-8 20-8 30 0s20 8 30 0 20-8 30 0 20 8 30 0' fill='none' stroke='%231E2235' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* pomarańczowe cienie i akcenty */
.card:hover { border-color: var(--orange); box-shadow: 10px 10px 0 var(--orange); }
.card--yellow:hover { border-color: var(--orange); box-shadow: 10px 10px 0 var(--orange); }
.card .card__media { box-shadow: 0 0 0 5px var(--paper), 0 0 0 9px var(--orange); }
.card--yellow .card__media { box-shadow: 0 0 0 5px var(--yellow), 0 0 0 9px var(--paper); }

.more__item { border: 2px solid transparent; transition: border-color var(--ease); }
.more__item:hover { border-color: var(--orange); }

.kids { box-shadow: 14px 14px 0 var(--orange); }
.kids__photos .blob { border-color: var(--orange); }

.format { box-shadow: 6px 6px 0 var(--orange); }
.format__num { background: var(--orange); color: var(--ink); }

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  vertical-align: 1px;
  background: var(--orange);
  border-radius: 50% 40% 55% 45%;
}
.institutions .eyebrow::before { background: var(--ink); }
.contact .eyebrow::before { background: var(--orange); }

/* --- Start: kwadratowe logo jak plakat, zdjęcia-naklejki z pinezkami --- */
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.stage figure { margin: 0; }
.stage img { display: block; }

.stage__logo {
  position: absolute;
  inset: 13%;
  width: 74%;
  height: auto;
  border: 8px solid #fff;
  border-radius: 36px;
  box-shadow: 0 18px 36px rgba(30, 34, 53, 0.16), 16px 16px 0 var(--blue);
  transform: rotate(-3deg);
}

.sticker {
  position: absolute;
  width: 31%;
}
.sticker .blob {
  aspect-ratio: 1 / 1.08;
  border: 7px solid #fff;
  box-shadow: 0 12px 24px rgba(30, 34, 53, 0.22);
}
.sticker--1 { top: 0; left: 1%; transform: rotate(-7deg); }
.sticker--2 { top: 5%; right: -1%; transform: rotate(6deg); }
.sticker--3 { bottom: 1%; left: -1%; transform: rotate(5deg); }
.sticker--4 { bottom: -2%; right: 3%; transform: rotate(-5deg); }

@media (max-width: 860px) {
  .sticker .blob { border-width: 5px; }
  .deco--hero-dots { left: auto; right: 8%; top: 96px; width: 60px; }
  .deco--about-ring,
  .deco--ws-dots { display: none; }
  .deco--about-blob { width: 160px; right: -50px; }
  .kids { box-shadow: 8px 8px 0 var(--orange); }
}

@media (prefers-reduced-motion: reduce) {
  .flow__ribbon { transition: none; }
}
