/* Festiwal OSAD
   Ekran startowy odwzorowuje projekt 1536×1024 px; --u to 1 px projektu przeskalowany do szerokości okna. */

:root {
  --u: calc(100vw / 1536);
  --ink: #111214;
  --muted: #5d5f63;
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --white: #fbf9f4;
  --blue: #2e7fc1;
  --wine: #8c1c2e;
  --navy: #0f2d5c;
  --rule: rgba(17, 18, 20, .18);
  --grad: linear-gradient(90deg, var(--blue), var(--wine));
  --head: max(64px, calc(100 * var(--u)));
  --nav-size: max(11px, calc(12.5 * var(--u)));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--head);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

svg { fill: none; stroke: currentColor; stroke-width: 1.3; }
.arr { width: 30px; flex: none; transition: transform .25s; }
a:hover > .arr, button:hover > .arr { transform: translateX(4px); }

.line {
  border: 0;
  height: 2px;
  width: calc(62 * var(--u));
  min-width: 40px;
  background: var(--grad);
}
.line-white { background: var(--white); height: 1px; width: calc(66 * var(--u)); }
.line-center { margin-left: auto !important; margin-right: auto !important; }

/* =============== nagłówek (przyklejony) =============== */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--head);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(54 * var(--u)) 0 calc(70 * var(--u));
  background: rgba(243, 239, 230, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--rule);
}

/* na stronie głównej tło nagłówka pojawia się dopiero po przewinięciu */
@supports (animation-timeline: scroll()) {
  .home .top {
    animation: head-bg linear both;
    animation-timeline: scroll(root);
    animation-range: 0 40vh;
  }
  @keyframes head-bg {
    from { background: rgba(243, 239, 230, 0); backdrop-filter: none; box-shadow: none; }
    to   { background: rgba(243, 239, 230, .92); box-shadow: 0 1px 0 var(--rule); }
  }
}

.logo {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: max(22px, calc(34 * var(--u)));
  letter-spacing: 0.75em;
  line-height: 1;
}

.menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: calc(47 * var(--u));
}

.menu a,
.lang {
  font-size: var(--nav-size);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.menu a { position: relative; padding: calc(10 * var(--u)) 0; }
.menu a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .25s;
}
.menu a:hover::after,
.menu a.active::after { transform: scaleX(1); }

.top-right { display: flex; align-items: center; gap: calc(60 * var(--u)); }

.lang {
  display: flex;
  gap: calc(14 * var(--u));
  margin-left: auto;
  margin-right: calc(60 * var(--u));
  color: var(--muted);
}
.lang a.active { color: var(--ink); }

.burger {
  width: max(26px, calc(32 * var(--u)));
  height: max(20px, calc(26 * var(--u)));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--ink); }

.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(380px, 85vw);
  padding: 100px 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .12);
  font-size: 15px;
  letter-spacing: .18em;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .35s ease, visibility 0s .35s;
  z-index: 30;
}
.drawer:target { transform: none; visibility: visible; transition: transform .35s ease; }
.drawer a:hover { color: var(--wine); }
.drawer-close {
  position: absolute;
  top: 22px; right: 32px;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
}
.drawer-account { margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--rule); }
.drawer-lang { display: flex; gap: 18px; margin-top: 10px; color: var(--muted); }
.drawer-lang a.active { color: var(--ink); }

/* =============== ekran startowy =============== */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1536 / 1024;
  background: url("img/osad.jpg") center top / 100% auto no-repeat;
  overflow: hidden;
}

.hero > * { position: absolute; }

/* logo OSAD na środku – znika podczas przewijania */
.hero-logo {
  left: calc(371 * var(--u));
  top: calc(274 * var(--u));
  width: calc(858 * var(--u));
  pointer-events: none;
  transition: opacity .2s linear;
}
@supports (animation-timeline: scroll()) {
  .hero-logo {
    animation: logo-out linear both;
    animation-timeline: scroll(root);
    animation-range: 0 35vh;
  }
  @keyframes logo-out {
    to { opacity: 0; transform: translateY(-4%) scale(.97); }
  }
}

.hero-sign {
  left: 0; right: 0;
  top: calc(598 * var(--u));
  text-align: center;
  font-size: calc(15 * var(--u));
  font-weight: 600;
  letter-spacing: 0.6em;
  color: var(--white);
  text-shadow: 0 1px calc(10 * var(--u)) rgba(17, 18, 20, .85), 0 0 calc(3 * var(--u)) rgba(17, 18, 20, .6);
}

.claim { left: calc(80 * var(--u)); top: calc(126 * var(--u)); }
.claim-big {
  font-size: calc(27 * var(--u));
  line-height: 1.3;
  letter-spacing: 0.12em;
}
.claim .line { margin-top: calc(26 * var(--u)); }

.motto {
  left: calc(1010 * var(--u));
  top: calc(112 * var(--u));
  width: calc(470 * var(--u));
}
.motto-big {
  font-size: calc(22 * var(--u));
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.motto .line { margin: calc(14 * var(--u)) 0; }
.motto-small {
  font-size: calc(14 * var(--u));
  line-height: 1.6;
}
.motto-small em { font-style: italic; }

.scroll {
  left: calc(1395 * var(--u));
  top: calc(440 * var(--u));
  width: calc(84 * var(--u));
  text-align: center;
  font-size: calc(11 * var(--u));
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.15em;
}
.scroll-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(52 * var(--u));
  height: calc(52 * var(--u));
  margin: 0 auto calc(14 * var(--u));
  border: 1.3px solid var(--ink);
  border-radius: 50%;
  transition: background .25s, color .25s;
}
.scroll-circle svg { width: 50%; height: 50%; }
.scroll:hover .scroll-circle { background: var(--ink); color: var(--white); }

.when { left: calc(80 * var(--u)); top: calc(556 * var(--u)); color: var(--white); }
.dates {
  font-size: calc(64 * var(--u));
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.month,
.city {
  font-size: calc(28 * var(--u));
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1.25;
}
.when .line { margin: calc(22 * var(--u)) 0 calc(14 * var(--u)); }
.when-small {
  font-size: calc(13 * var(--u));
  letter-spacing: 0.06em;
  opacity: .9;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  margin-top: calc(20 * var(--u));
}
.free {
  margin-top: calc(14 * var(--u));
  font-size: calc(13.5 * var(--u));
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: calc(370 * var(--u));
  height: calc(54 * var(--u));
  padding: 0 calc(26 * var(--u));
  border: 1.5px solid var(--white);
  font-size: calc(13.5 * var(--u));
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: background .25s, color .25s;
}
.btn .arr { width: calc(32 * var(--u)); }
.btn:hover { background: var(--white); color: var(--ink); }
.btn-solid { background: var(--white); color: var(--ink); }
.btn-solid:hover { background: transparent; color: var(--white); }

.events { left: calc(620 * var(--u)); top: calc(868 * var(--u)); }
.events h2 {
  font-size: calc(11 * var(--u));
  font-weight: 500;
  letter-spacing: 0.17em;
  margin-bottom: calc(16 * var(--u));
}
.events ul { display: flex; }
.events li {
  width: calc(170 * var(--u));
  padding-left: calc(22 * var(--u));
  border-left: 1px solid rgba(17, 18, 20, .55);
}
.events li:first-child { width: calc(150 * var(--u)); padding-left: 0; border-left: 0; }
.events a { display: block; }
.events .date {
  display: block;
  font-size: calc(19 * var(--u));
  letter-spacing: 0.08em;
}
.events .date small {
  font-size: calc(10 * var(--u));
  letter-spacing: 0.1em;
  margin-left: calc(8 * var(--u));
}
.events .title {
  display: block;
  margin-top: calc(4 * var(--u));
  font-size: calc(13.5 * var(--u));
  letter-spacing: 0.08em;
  line-height: 1.3;
}
.events a:hover .title { color: var(--wine); }

.full {
  left: calc(1300 * var(--u));
  top: calc(917 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(22 * var(--u));
  font-size: calc(11.5 * var(--u));
  font-weight: 500;
  letter-spacing: 0.17em;
}
.full .arr { width: calc(34 * var(--u)); }

/* =============== wspólne dla sekcji =============== */

main { display: block; }
.page-sub main { padding-top: var(--head); }

.sec {
  position: relative;
  isolation: isolate;
  padding: clamp(44px, 5vw, 76px) 0;
  background: var(--paper);
}
.sec-tight { padding-top: 30px; }

/* fale u dołu sekcji (przezroczyste PNG) */
.wave-1, .wave-2, .wave-3 { padding-bottom: clamp(170px, 16vw, 280px); }
.wave-1::after, .wave-2::after, .wave-3::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(120px, 12vw, 220px);
  background: center bottom / 100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}
.wave-1::after { background-image: url("img/fala-1.png"); }
.wave-2::after { background-image: url("img/fala-2.png"); }
.wave-3::after { background-image: url("img/fala-3.png"); }

.sec-band { background: var(--paper-2); }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
.narrow { max-width: 860px; }
.center { text-align: center; }

.sec-title {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.12;
}
.sec-title-xl { font-size: clamp(32px, 4.2vw, 64px); }
.sec-kicker {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.sec-title + .line,
.sec-kicker + .line,
.event-sub + .line { margin: 18px 0 40px; }

.sub {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 40px 0 16px;
}
.sub:first-child { margin-top: 0; }

.small-head {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.lead {
  margin-bottom: 24px;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.55;
}
.lead-xl { font-size: clamp(20px, 2vw, 28px); }

.text {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: #2b2d31;
}
.text a, .notice a, .event-info dd a, .check a { text-decoration: underline; text-underline-offset: 3px; }
.text-strong { font-weight: 600; color: var(--ink); }
.muted { color: var(--muted); }

.quote {
  margin: 30px 0 0;
  padding-left: 26px;
  border-left: 2px solid var(--wine);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  font-style: italic;
}
.center .quote { margin-left: auto; margin-right: auto; }

/* wyjustowany tekst ciagly (z dzieleniem wyrazow, zeby nie robily sie dziury) */
.lead, .text, .rich p, .rich li, .person figcaption, .motto-small,
.small-print, .partner-bar p, .res-summary + .notice {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.center .lead, .lead.lines { text-align: center; }
.lead.lines { text-align: left; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }

.flow {
  display: grid;
  grid-template-columns: 1fr 64px 1fr 64px 1fr;
  gap: 0 22px;
  align-items: start;
}
.flow .text { margin-bottom: 0; }
.flow-arrow { align-self: center; }
.flow-arrow svg { display: block; width: 64px; height: 24px; overflow: visible; }

/* „CO NAS WYROZNIA”: naglowek -> tekst */
.diff-row {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 64px 1fr;
  gap: 0 30px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
}
.diff-row:last-child { border-bottom: 1px solid var(--rule); }
.diff-row h3 { font-size: 17px; font-weight: 600; letter-spacing: 0.12em; line-height: 1.4; }
.diff-row .text { margin-bottom: 0; }
.diff-row .flow-arrow svg { display: block; width: 64px; height: 24px; overflow: visible; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}
.split-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-text { grid-template-columns: 1fr 1.6fr; }

.crumbs { margin-bottom: 22px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* przyciski */
.btn-outline,
.btn-dark,
.btn-danger,
.form button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-align: left;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-dark,
.form button { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-dark:hover,
.form button:hover { background: var(--wine); border-color: var(--wine); }
.btn-danger { border-color: var(--wine); color: var(--wine); }
.btn-danger:hover { background: var(--wine); color: var(--white); }
.form button:disabled { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 10px; }
.link-more { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; }

/* etykiety typów */
.tag {
  display: inline-block;
  justify-self: start;
  padding: 4px 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.tag-blue { background: #a7d4ee; }
.tag-wine { background: #d6a2aa; }
.tag-sand { background: #ecd4b0; }
.tag-lilac { background: #cfc6e6; }

/* =============== strona główna – sekcje =============== */

.stats { background: var(--ink); color: var(--white); padding: 46px 0; }
.stats-head,
.stats-foot { font-size: 13px; letter-spacing: 0.16em; text-align: center; opacity: .85; }
.stats-head { margin-bottom: 26px; }
.stats-foot { margin-top: 26px; }
.stats-list { display: flex; justify-content: space-between; gap: 20px; }
.stats-list li { display: flex; align-items: baseline; gap: 12px; }
.stats-list strong {
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(90deg, #7fc2ec, #e58a99);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-list span { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; }

.day-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 40px 0 44px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.day-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--paper);
  transition: background .25s;
}
.day-card:hover { background: var(--white); }
.day-name { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--wine); }
.day-card h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.4; }
.day-card p { font-size: 14.5px; line-height: 1.65; color: #2b2d31; flex: 1; }
.day-more { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; }

.people {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.person img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 16px; }
.person figcaption { font-size: 15px; line-height: 1.6; color: #2b2d31; }
.person strong { color: var(--ink); }
.people-txt .quote { margin: 10px 0 30px; }

.closing .lead { margin-left: auto; margin-right: auto; }

.partner-bar { padding: 26px 0; border-top: 1px solid var(--rule); }
.partner-bar p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.partner-bar span { font-weight: 600; color: var(--ink); }

/* =============== OSAD / fundacja =============== */

.page-head { padding-bottom: 40px; }
.org-block .btn-outline { margin-top: 10px; }

.bio {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
.bio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.bio-name { font-size: 24px; font-weight: 400; letter-spacing: 0.04em; margin-bottom: 18px; }

.org-logo { display: block; max-width: 220px; max-height: 90px; width: auto; margin-bottom: 18px; }
.org-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.org-head .org-logo { max-width: 260px; max-height: 120px; margin: 6px 0 0; flex: none; }

.bio-photos { display: flex; flex-direction: column; gap: 16px; }
.bio-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.partner-logos { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 4px; }
.partner-logos img { max-height: 54px; max-width: 160px; width: auto; }

.float-scroll {
  position: fixed;
  right: max(20px, calc(57 * var(--u)));
  bottom: 26px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility 0s .3s;
}
.float-scroll.show { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
.float-scroll .scroll-circle {
  width: 46px;
  height: 46px;
  margin: 0;
  background: rgba(243, 239, 230, .85);
  backdrop-filter: blur(4px);
}
.float-scroll.up .scroll-circle svg { transform: rotate(180deg); }
.float-scroll:hover .scroll-circle { background: var(--ink); color: var(--white); }
.float-scroll span.lbl { background: rgba(243, 239, 230, .85); padding: 1px 4px; }

.partner-list .text, .partner-group p { text-align: left; }
.foot-logo { display: block; width: 210px; max-width: 100%; height: auto; }

.bio-nophoto { display: block; aspect-ratio: 3 / 4; background: var(--paper-2); }

/* tresc z edytora (organizatorzy) */
.rich { margin-bottom: 30px; }
.rich p, .rich ul, .rich ol { margin-bottom: 18px; font-size: 16px; line-height: 1.75; color: #2b2d31; }
.rich h2, .rich h3 { margin: 36px 0 14px; font-size: 15px; font-weight: 600; letter-spacing: 0.12em; }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 22px; }
.rich ul { list-style: disc; }
.rich a { text-decoration: underline; text-underline-offset: 3px; }
.rich strong { color: var(--ink); }
.rich p:first-child strong:only-child { font-size: clamp(20px, 2vw, 28px); font-weight: 400; line-height: 1.45; }

.partner-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.partner-list .sub { margin-top: 0; }

/* =============== PROGRAM =============== */

.program-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.program-dates {
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: right;
}
.program-lead { font-size: 17px; margin-bottom: 40px; }

.days {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  padding-bottom: 10px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.days a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
}
.days a:hover,
.days a.active { color: var(--ink); }
.days a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -11px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
}
.days a.active::after { transform: scaleX(1); }
.days-sep { color: var(--rule); }

.group { margin-bottom: 50px; }
.group-title {
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.group-title small {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.row { border-bottom: 1px solid var(--rule); }
.row a {
  display: grid;
  grid-template-columns: 64px 54px 96px 1fr 110px 120px 24px;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  transition: background .2s;
}
.row a:hover { background: rgba(255, 255, 255, .45); }
.row img { width: 96px; height: 60px; object-fit: cover; }
.r-date,
.r-time { font-size: 13px; letter-spacing: 0.04em; }
.r-title strong { display: block; font-size: 15px; font-weight: 600; }
.r-title small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.r-res {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--wine);
}
.r-city { font-size: 12px; letter-spacing: 0.12em; }
.r-arrow { font-size: 20px; line-height: 1; transition: transform .2s; }
.row a:hover .r-arrow { transform: translateX(4px); }

.empty { padding: 30px 0; font-size: 18px; color: var(--muted); }

/* karta wydarzenia */
.event-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}
.event-title {
  margin-top: 16px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.15;
}
.event-sub { margin-top: 12px; font-size: 17px; color: var(--muted); }
.event-img { width: 100%; max-height: 460px; object-fit: cover; }

.event-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 70px;
  align-items: start;
}
.event-body .text:first-child { font-size: 19px; color: var(--ink); }

.layer { margin: 10px 0 30px; }
.layer summary {
  display: inline-block;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  cursor: pointer;
  list-style: none;
}
.layer summary::-webkit-details-marker { display: none; }
.layer-close,
.layer[open] .layer-open { display: none; }
.layer[open] .layer-close { display: inline; }
.layer-body { margin-top: 22px; padding-left: 22px; border-left: 2px solid var(--rule); }
.layer-body .text { color: var(--muted); font-size: 15px; }

.performers li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.55; }

.event-info {
  position: sticky;
  top: calc(var(--head) + 20px);
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--rule);
}
.event-info dl,
.res-summary dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  font-size: 15px;
  line-height: 1.55;
}
.event-info dt,
.res-summary dt {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.event-info dt:first-child { margin-top: 0; }

.ticket { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.ticket-head { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; margin-bottom: 10px; }
.ticket-txt { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.ticket-alert { display: inline-block; margin-bottom: 10px; padding: 3px 10px; background: var(--wine); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; }
.ticket-past .ticket-head { color: var(--muted); }
.ticket .btn-dark { width: 100%; }

/* rezerwacje */
.res-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; }
.res-card { background: var(--white); border: 1px solid var(--rule); }
.res-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.res-card-body { padding: 28px; }
.res-card h2 { margin: 6px 0 12px; font-size: 22px; font-weight: 400; line-height: 1.3; }
.res-date { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wine); }
.res-place { font-size: 14px; color: var(--muted); }

.res-summary {
  margin-bottom: 30px;
  padding: 24px 28px;
  background: var(--white);
  border-left: 3px solid var(--wine);
  font-size: 15px;
  line-height: 1.6;
}
.res-title { font-size: 20px; margin-bottom: 4px; }
.res-summary dl { grid-template-columns: 160px 1fr; margin-top: 14px; }
.res-summary dt { margin-top: 0; align-self: center; }

.notice { margin-bottom: 26px; padding: 16px 20px; background: var(--paper-2); font-size: 15px; line-height: 1.6; }
.notice-alert { background: var(--wine); color: var(--white); font-weight: 600; letter-spacing: 0.06em; }
.small-print { margin-top: 26px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }

.login-wrap { max-width: 520px; }
.manage { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.inline { display: flex; gap: 12px; }
.inline select { width: 90px; }

/* formularze */
.form { display: flex; flex-direction: column; gap: 14px; }
.form input[type=text],
.form input[type=email],
.form input[type=password],
.form select,
.form textarea,
.newsletter input[type=email] {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #cfcac0;
  background: rgba(255, 255, 255, .6);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
}
.form textarea { resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.field-cap { flex-direction: row; align-items: center; gap: 14px; }
.field-cap input { width: 100px !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--navy); }
.form button { align-self: flex-start; }

.form-msg { font-size: 14.5px; line-height: 1.5; min-height: 1px; }
.form-msg.ok { padding: 14px 18px; background: #e3efe2; color: #1f4d22; }
.form-msg.error { padding: 14px 18px; background: #f5e1e3; color: var(--wine); }

/* =============== INFORMACJE =============== */

.places { padding-bottom: clamp(240px, 25vw, 420px); }
.places::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(200px, 22vw, 380px);
  background: url("img/gory.jpg") left bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%);
          mask-image: linear-gradient(to bottom, transparent, #000 55%);
  z-index: -1;
}
.places-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 1.5fr;
  gap: 50px;
  align-items: start;
}
.place-group { margin: 30px 0 6px; }
.place-list li { border-bottom: 1px solid var(--rule); }
.place-list a { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.place-txt strong { display: block; font-size: 14px; font-weight: 600; }
.place-txt small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.place-list .r-arrow { margin-left: auto; font-size: 16px; }
.pin {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--rule);
}
.pin svg { width: 18px; height: 18px; stroke-width: 1.6; }

.map {
  position: sticky;
  top: calc(var(--head) + 20px);
  aspect-ratio: 1;
  max-height: 640px;
  width: 100%;
  border: 1px solid var(--rule);
  background: #e7e3da;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.55) sepia(.15) contrast(.95); }

.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 16px;
  font-size: 24px;
  font-weight: 300;
}
.faq details[open] summary::after { content: "–"; }
.faq .text { padding-bottom: 10px; }

/* =============== KONTAKT =============== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--rule);
}
.org { margin-bottom: 22px; font-size: 15px; line-height: 1.5; }

.media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-top: 50px;
}
.media-press { padding-left: 50px; border-left: 1px solid var(--rule); }
.dash-list li { position: relative; padding: 7px 0 7px 22px; font-size: 14.5px; line-height: 1.5; }
.dash-list li::before { content: "—"; position: absolute; left: 0; color: var(--wine); }

/* =============== 404 =============== */

.big-404 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(90px, 14vw, 200px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =============== stopka =============== */

.foot { background: var(--ink); color: var(--white); padding: 60px 0 30px; }
.foot a:hover { text-decoration: underline; }

.partners {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr 2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251, 249, 244, .15);
}
.partner-group h3 {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 249, 244, .55);
}
.partner-group p { font-size: 13.5px; line-height: 1.6; }
.partner-group a { text-decoration: underline; text-underline-offset: 3px; }

.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr auto;
  gap: 40px;
  padding: 40px 0;
}
.logo-foot {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.6em;
}
.foot-sub { margin-top: 10px; font-size: 11px; letter-spacing: 0.3em; color: rgba(251, 249, 244, .6); }

.newsletter h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.newsletter p { margin: 8px 0 14px; font-size: 13.5px; line-height: 1.5; color: rgba(251, 249, 244, .75); }
.newsletter-row { display: flex; margin-bottom: 10px; }
.newsletter input[type=email] { background: transparent; border-color: rgba(251, 249, 244, .35); color: var(--white); }
.newsletter button {
  flex: none;
  padding: 0 20px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.newsletter .check { color: rgba(251, 249, 244, .75); font-size: 12.5px; }
.newsletter .form-msg { margin-top: 10px; }

.foot-links,
.foot-social { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }

.copy {
  padding-top: 22px;
  border-top: 1px solid rgba(251, 249, 244, .15);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(251, 249, 244, .55);
}

/* =============== tablet =============== */

@media (max-width: 1100px) {
  .day-cards { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .people-txt { grid-column: 1 / -1; }
  .partner-list { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .row a { grid-template-columns: 60px 48px 84px 1fr 100px 24px; gap: 14px; }
  .row img { width: 84px; height: 54px; }
  .r-city { display: none; }
}

@media (max-width: 1000px) {
  .menu { display: none; }
}

/* =============== telefon / wąskie ekrany =============== */

@media (max-width: 760px) {
  :root { --u: 1px; --head: 64px; --nav-size: 12px; }

  .top { padding: 0 16px; }
  .logo { font-size: 24px; letter-spacing: .6em; }
  .lang { margin-right: 22px; }

  .hero {
    aspect-ratio: auto;
    background-size: cover;
    background-position: 40% top;
    padding: calc(var(--head) + 24px) 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .hero > * { position: static; }
  .hero-logo { width: 100%; order: 1; }
  .hero-sign { order: 2; font-size: 11px; letter-spacing: .4em; margin-top: -20px; }
  .claim { order: 0; }
  .claim-big { font-size: 22px; }
  .motto { order: 3; width: auto; background: rgba(243, 239, 230, .85); padding: 18px; }
  .motto-big { font-size: 20px; }
  .motto-small { font-size: 15px; }
  .scroll { display: none; }
  .when { order: 4; margin-top: 20vh; }
  .dates { font-size: 48px; }
  .month, .city { font-size: 22px; }
  .when-small { font-size: 13px; }
  .btn { width: 100%; max-width: 360px; height: 54px; padding: 0 22px; font-size: 13px; }
  .btn .arr { width: 30px; }
  .free { font-size: 14px; }
  .events { order: 5; background: rgba(243, 239, 230, .88); padding: 16px; }
  .events h2 { font-size: 11px; }
  .events ul { flex-direction: column; gap: 14px; }
  .events li, .events li:first-child { width: auto; padding: 0; border: 0; }
  .events .date { font-size: 17px; }
  .events .date small { font-size: 10px; }
  .events .title { font-size: 14px; }
  .full { order: 6; background: rgba(243, 239, 230, .88); padding: 16px; font-size: 12px; }
  .full .arr { width: 34px; }

  .sec { padding: 56px 0; }
  .wave-1, .wave-2, .wave-3 { padding-bottom: 150px; }
  .wrap { padding: 0 16px; }

  .cols, .cols3, .split, .split-text, .event-head, .event-grid,
  .places-grid, .contact-grid, .media, .manage, .res-cards,
  .people, .bio, .partner-list, .partners, .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .bio img { max-width: 220px; }
  .bio-photos { flex-direction: row; }
  .bio-photos img { max-width: none; width: calc(50% - 8px); }
  .flow, .diff-row { grid-template-columns: 1fr; gap: 14px; }
  .flow-arrow svg, .diff-row .flow-arrow svg { transform: rotate(90deg); width: 40px; margin: 0 auto; }
  .diff-row .flow-arrow svg { margin: 0; }
  .org-head { flex-direction: column-reverse; gap: 10px; }
  .float-scroll { right: 14px; bottom: 16px; }
  .float-scroll span.lbl { display: none; }
  .float-scroll .scroll-circle { width: 42px; height: 42px; }
  .day-cards { grid-template-columns: 1fr; }

  .stats-list { flex-wrap: wrap; justify-content: center; gap: 18px 34px; }

  .program-head { flex-direction: column; gap: 10px; }
  .program-dates { text-align: left; }
  .days { gap: 4px 16px; }
  .row a {
    grid-template-columns: 76px 1fr auto;
    grid-template-areas:
      "img date tag"
      "img title title";
    gap: 4px 14px;
  }
  .row img { grid-area: img; width: 76px; height: 58px; }
  .r-date { grid-area: date; }
  .r-time { grid-area: date; margin-left: 56px; }
  .r-title { grid-area: title; }
  .tag { grid-area: tag; }
  .row .r-arrow { display: none; }

  .event-info, .map { position: static; }
  .media-press { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .res-summary dl { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
}
