/* Reset */
html{line-height:1.15;-webkit-text-size-adjust:100%}
body,html,h1,h2,h3,h4,h5,h6,figure,video,ul,ol,li,menu{margin:0;padding:0;}
[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}
[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}
[type=button]:-moz-focusring,[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}
::-webkit-input-placeholder{color:#000;}:-moz-placeholder{color:#000;}::-moz-placeholder{color:#000;}:-ms-input-placeholder{color:#000;}
*{font-weight:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;outline:none !important;box-sizing:border-box;-webkit-box-sizing:border-box;}
a{text-decoration:none;}
a,input[type="submit"],.btn{transition:0.2s;}
input,textarea,select,button,a{padding:0;color:inherit;font:inherit;letter-spacing:inherit;background:transparent;border-radius:0;-webkit-border-radius:0;}
form input:not([type="select"]):not([type="file"]),form textarea{border:1px solid #000;padding:5px;}
input[type="submit"]{cursor:pointer;}
img,.btn{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;}
figure img,figure video,figure iframe{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:1;}
figure{position:relative;}
figure:after{content:'';pointer-events:none;position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0);}
img{border-style:none;vertical-align:top;max-width:100%;height:auto;pointer-events:none;}
a img{pointer-events:all;}
::-webkit-media-controls{display:none !important;}
video{pointer-events:none;}
svg,video{vertical-align:top;}
p:empty{display:none;}
p:first-child{margin-top:0;}
p:last-child{margin-bottom:0;}
::selection{background:rgba(222,222,222,0.3);}
::-moz-selection{background:rgba(222,222,222,0.3);}
.center{text-align:center;margin:0 auto;}
.center-flex{justify-content:center;}
.slide video,.slide img{object-fit:cover;height: 100%;width: 100%;}
.text{max-width:980px;}
b,strong{font-family:'Helvetica Neue Medium';}

body{font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;background: white;}

.wpml-ls{display:none !important;}

/* =========================
   LOGO (fixed top-right)
========================= */
.site-logo{
  position:fixed;
  top: 30px;
  right:24px;
  z-index:30;
}

.site-logo img{
  width: 80px;
  height:auto;
  display:block;
}



/* BASE + subtle pulsing contour (drop-shadow) */
.site-logo img{
  position: relative;
  z-index: 0;
  animation: logoContourSubtle 2.1s cubic-bezier(.45,0,.55,1) infinite;
}

@keyframes logoContourSubtle{
  0%,100%{
    filter:
      drop-shadow(0 0 3px rgba(255,235,160,.28))
      drop-shadow(0 0 7px rgba(255,235,160,.22))
      drop-shadow(0 0 2px rgba(0,0,0,.08));
  }
  50%{
    filter:
      drop-shadow(0 0 6px rgba(255,245,205,.45))
      drop-shadow(0 0 12px rgba(255,235,170,.32))
      drop-shadow(0 0 3px rgba(0,0,0,.14));
  }
}

/* TOP overlay light (main effect) */
.site-logo::after{
  content:"";
  position:absolute;
  inset:-10%;
  pointer-events:none;
  z-index: 1;

  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(255,245,200,.85),
      rgba(255,245,200,.45) 30%,
      rgba(255,245,200,.15) 48%,
      rgba(255,245,200,0) 65%
    );

  mix-blend-mode: screen;
  opacity: .28;
  transform: scale(.96);
  animation: logoOverlayPulse 2.1s cubic-bezier(.45,0,.55,1) infinite;
}

@keyframes logoOverlayPulse{
  0%,100%{
    opacity:.18;
    transform: scale(.96);
  }
  50%{
    opacity:.62;
    transform: scale(1.02);
  }
}


/* accessibility */
@media (prefers-reduced-motion: reduce){
  .site-logo img,
  .site-logo::after{
    animation:none;
  }
}


.home .lang-switch{mix-blend-mode: difference;}
.home .lang-switch a{filter: invert(1);}

.lang-switch{position:fixed;top: 10px;left: 9px;z-index: 3;font-size: 18px;}

/* =========================
   SOCIAL (fixed bottom-right)
========================= */
.social{
  position:fixed;
  right: 20px;
  bottom:24px;
  display:flex;
  flex-direction:column;
  gap: 12px;
  z-index:30;
}

.social a{
  width: 34px;
  display:block;
}

.social img{
  width:100%;
  height:100%;
  display:block;
  transition:ease, opacity .2s ease;
}

.social a:hover img{
  opacity:.85;
}

.social img{
  filter: invert(1);
}

/* allow blending with video */
.stage{
  isolation: isolate;
}

/* auto invert icons on dark video */
.social{
  mix-blend-mode: difference;
}

/* =========================
   STAGE
========================= */
.stage{
  width:100%;
  height:100vh;
  min-height:550px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

/* =========================
   TILES WRAP
========================= */
.tiles{
  position:relative;
  width: 100%;
  max-width: calc(100% - 60px);
  height:100%;
}


/* =========================
   TILE (marble + shimmer)
========================= */
.tile{
  position:absolute;
  width: 240px;
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(0,0,0,.35);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
  color:#111;
  text-decoration:none;
  overflow:hidden;
  background: #ece8df;
  will-change: transform;
  animation: tileFloat 7.5s ease-in-out infinite;
  will-change: translate;
  animation: tileFloat 7.5s ease-in-out infinite;
}

/* Stagger so they don't move in sync */
.tile:nth-of-type(2n){ animation-duration: 8.8s; animation-delay: -1.2s; }
.tile:nth-of-type(3n){ animation-duration: 9.6s; animation-delay: -2.1s; }
.tile:nth-of-type(4n){ animation-duration: 10.4s; animation-delay: -3.0s; }

@keyframes tileFloat{
  0%   { translate: 0 0; }
  25%  { translate: 6px -4px; }
  50%  { translate: 2px  6px; }
  75%  { translate: -5px 2px; }
  100% { translate: 0 0; }
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .tile{ animation:none; translate: 0 0; }
}



/* tekst zawsze nad wszystkimi warstwami */
.tile span{
  position:relative;
  z-index:3;
  font-size: 28px;
  font-family: 'Helvetica Neue Medium';
}

/* video */
.tile__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition: opacity .25s ease;
  z-index:2;
}

/* hover video jak masz */
.tile:hover .tile__video{
  opacity: 1;
}

/* ===== marble layer ===== */
.tile::before{
  content:"";
  position:absolute;
  inset:-18%;
  z-index:1;
  background-image:url('https://saunaplatform.com/wp-content/themes/sauna/assets/img/texture.webp');
  background-size: 140% 140%;
  background-position: 0% 0%;
  background-repeat:no-repeat;
  filter: contrast(1.05) saturate(0.95);
  opacity:.95;
  transform: scale(1.02);
  animation: tileMarbleDrift 9s ease-in-out infinite alternate;
  transition: opacity 0.3s;
}

/* ===== shimmer/glint layer ===== */
.tile::after{
  content:"";
  position:absolute;
  inset:-60%;
  z-index:1; /* razem z marble, ale i tak pod video */

  background:
    radial-gradient(160px 180px at 18% 28%, rgba(255,255,255,.28), rgba(255,255,255,0) 60%),
    linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,.14), rgba(255,255,255,0));

  mix-blend-mode: screen;
  opacity: .45;

  transform: translate3d(-30%, 0, 0) rotate(6deg);
  animation: tileGlint 6.2s ease-in-out infinite;
  pointer-events:none;
}

.tile:hover::after{opacity: .65;}
.tile:hover::before{filter: contrast(1.08) saturate(1.0);opacity: 0.3;}

/* animacje tylko dla warstw, nie dla kafla */
@keyframes tileMarbleDrift{
  0%   { background-position: 0% 0%;   transform: scale(1.02); }
  50%  { background-position: 38% 18%; transform: scale(1.03); }
  100% { background-position: 70% 45%; transform: scale(1.02); }
}

@keyframes tileGlint{
  0%   { transform: translate3d(-22%, -4%, 0) rotate(6deg); }
  50%  { transform: translate3d(0%,   0%,  0) rotate(6deg); }
  100% { transform: translate3d(22%,  6%,  0) rotate(6deg); }
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .tile::before,
  .tile::after{
    animation:none;
  }
}

/* =========================
   POSITIONS (desktop)
========================= */
.t-sauna   {top: 6%;left: 10px;}
.t-space   {top: 10%;right: 32%;}
.t-residencies {top:4%; right:9%;}

.tile:hover span{font-family:'Helvetica Neue Medium';}

.t-festival{
  top: 18%;
  left: 34%;
  transform:translateX(-50%);
}

.t-label{
  top: 56%;
  left: 30px;
}

.t-archive{
  top: 59%;
  left: 53%;
  transform:translateX(-50%);
}

.t-contact{
  top: 48%;
  right: 5%;
}


.stage{
  position: relative;
  overflow: hidden;
}

.stage__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.stage .tiles{
  position: relative;
  z-index: 2;
}

.tile{
  overflow:hidden;
}

/* video in tile (cover) */
.tile__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

/* text */
.tile > span{
  position: relative;
  z-index: 2;
}

.tile:hover .tile__video{
  opacity: 1;
}

/* ===== SAUNA FESTIVAL SECTION ===== */
.sauna-festival{
  --fs: 30px;
  background-image: url('https://saunaplatform.com/wp-content/themes/sauna/assets/img/tlo.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 70px 0 90px;
  color: #111;
}

/* marquee lines */
.sf-marquee__line{
  height: 2px;
  background: #111;
  opacity: .9;
}

/* marquee wrap */
.sf-marquee__wrap{
  overflow: hidden;
  padding: 20px 0 18px;
  position: relative;
}

/* marquee smoothness */
.sf-marquee__track{
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.sf-marquee__content{
  display: flex;
  width: max-content;
}
.sf-marquee__item{
  font-size: 42px;
  letter-spacing: .04em;
  white-space: nowrap;
  padding-right: 70px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* ===== boxes ===== */
.sf-container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* MAX 3 squares per row */
.sf-boxes{
  margin-top: 55px;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* if you add more than 3 boxes later, they go to next row */
.sf-box{
  border: 3px solid #111;
  background: transparent;
  aspect-ratio: 1 / 1;
  display: block;
  text-decoration: none;
  color: inherit;
}

.sf-box__inner{
  font-size: 42px;
  line-height: 1.15;
  padding: 28px 26px;
}

/* subtle hover (optional, minimal) */
.sf-box:hover{
  background: rgba(255,255,255,0.08);
}


/* Page Festival */
.festival-programme{min-height:100vh;}
.p-festival .sauna-platform .container{max-width:1240px;}
.programme-day{padding-right:80px;padding-bottom: 60px;}

/* =========================
   FESTIVAL HUB (/festival)
========================= */

.sauna-page--festival{
  background:#fff;
  min-height:100vh;
  padding-bottom: 30px;
}

.sauna-page--festival .container{
  min-height:100vh;
  padding: 70px 40px 90px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

/* top row tiles */
.festival-hub__top{
  display:grid;
  grid-template-columns: 240px 240px 1fr;
  gap: 40px;
  align-items:start;
  padding-top: 40px;
}

/* tile base */
.festival-hub__tile{
  width:240px;
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  background-image:url('https://saunaplatform.com/wp-content/themes/sauna/assets/img/texture.webp');
  background-size:cover;
  background-position:center;
  border:1px solid rgba(0,0,0,.35);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
  color:#111;
  text-decoration:none;
  overflow:hidden;
  position:relative;
}

/* subtle gloss */
.festival-hub__tile::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 30% 20%, rgba(255,255,255,.6), transparent 60%);
  pointer-events:none;
}

.festival-hub__tile span{
  position:relative;
  z-index:2;
  font-size: 28px;
  text-align: center;
}

.festival-hub__tile--info{
  background-image:none;
  background:#fff;
  border: 1px solid #111;
  box-shadow:none;
  pointer-events: none;
}

.festival-hub__tile--info::after{ display:none; }

.festival-hub__tile--info span{
  font-size: 22px;
  line-height: 1.2;
  text-align:left;
  width: 100%;
  padding: 26px;
}

/* big menu list */
.festival-hub__nav{
  display:flex;
  flex-direction:column;
  gap: 18px;
  margin: 0 auto;
  margin-top: 60px;
}

.festival-hub__nav-item{
  font-size: 106px;
  line-height: 1.05;
  letter-spacing: .02em;
  text-decoration:none;
  color:#111;
  width: fit-content;
  transition: 0.7s;
}

/* neon-ish hover (blue like SAUNA logo) */
.festival-hub__nav-item:hover{
  text-shadow: 0px 0px 20px rgba(97, 192, 221, .95);
}


/* SAUNA PLATFORM */
.sauna-platform{position: relative;font-size:30px;min-height:100vh;background: white;}
.sauna-platform .sauna-title{font-size:30px;font-family: 'Helvetica Neue Medium';margin-top: 60px;margin-bottom: 80px;}
.sauna-platform .container{display:flex;justify-content:center;flex-direction:column;min-height: 100vh;}
.sauna-platform em{font-weight:600;font-family:'Helvetica Neue';}

/* =====================================
   SAUNA PAGES (space/contact/etc.)
===================================== */

.sauna-page,
.sauna-platform{
  position: relative;
  font-size: 30px;
  min-height: 100vh;
  background: #fff;
}

.sauna-page .container,
.sauna-platform .container{
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 40px;
}

.sauna-page em,
.sauna-platform em{
  font-family: 'Helvetica Neue Medium';
}

/* ===== title tile ===== */
.sauna-page__title-tile{
  width: 240px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://saunaplatform.com/wp-content/themes/sauna/assets/img/texture.webp');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0,0,0,.35);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 50px;
}

.sauna-page__title-tile span{
  position: relative;
  z-index: 2;
  font-size: 26px;
}

[lang="pl"] .sauna-page__title-tile span{font-size:24px;}

.sauna-page--residencies .sauna-page__title-tile span{
  font-size:20px;
}

.sauna-page__text{
  max-width: 980px;
}

.sauna-page__contact{
  margin-top: 40px;
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.sauna-page__contact-row{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: baseline;
}

.sauna-page__value{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.35);
  width: fit-content;
}

.sauna-page__value:hover{
  border-bottom-color: rgba(0,0,0,.8);
}

#tickets,#tickets .container{min-height:auto;}
#tickets .container{padding-left:0;}
.tickets_link{font-size:100px;}


/* =========================
   ARCHIVE PAGE
========================= */

.sauna-page--archive{
  background:#fff;
  min-height:100vh;
}

.sauna-page--archive .container{
  min-height:100vh;
  padding: 0 40px 120px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.archive-grid{
  display: grid;
  gap: 44px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.archive-item{
  position: relative;
  aspect-ratio: 1 / 1;
  border: 3px solid #111;
  background: transparent;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#111;
}

.archive-item--empty{
  pointer-events:none;
}

.archive-item__label{
  position: relative;
  z-index: 2;
  text-align:center;
  padding: 18px;
}

.archive-item__title{
  font-size: 32px;
  line-height: 1.1;
}

.archive-item__meta{
  margin-top: 10px;
  font-size: 22px;
  opacity: .9;
}

.archive-item__cta{
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: .06em;
}

/* hover media (image/video) */
.archive-item__video,
.archive-item__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events:none;
}

.archive-item:hover .archive-item__video,
.archive-item:hover .archive-item__img{
  opacity: 1;
}

.archive-item:hover .archive-item__label{
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}


/* =========================
   SATURATION
========================= */

.saturation{
  position: relative;
  min-height: 100vh;
  background: #fff;
  overflow: hidden;
}

/* video background */
.saturation__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* content wrapper */
.saturation__content{
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 40px;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.saturation__logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}



.saturation::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.5);
  z-index:1;
  pointer-events:none;
}


/* text */
.saturation__text{
  max-width: 1000px;
  font-size: 30px;
  line-height: 1.35;
  color: #111;
}

/* =========================
   LIGHTBOX (ARCHIVE)
========================= */

.lb{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.lb.is-open{ display:block; }

.lb__bg{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
}

.lb__panel{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(980px, calc(100% - 44px));
  background: #fff;
  border: 3px solid #111;
  box-shadow: 0 22px 80px rgba(0,0,0,.35);
  padding: 28px 28px 34px;
}

.lb__close{
  position:absolute;
  right: 18px;
  top: 18px;
  width: 46px;
  height: 46px;
  border: 2px solid #111;
  background: transparent;
  cursor:pointer;
}

.lb__close::before,
.lb__close::after{
  content:'';
  position:absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 2px;
  background:#111;
  transform-origin:center;
}
.lb__close::before{ transform: translate(-50%,-50%) rotate(45deg); }
.lb__close::after { transform: translate(-50%,-50%) rotate(-45deg); }

.lb__title{
  font-size: 36px;
  line-height: 1.1;
  margin: 0 70px 10px 0;
}

.lb__subtitle{
  font-size: 18px;
  opacity: .8;
  margin-bottom: 18px;
}

.lb__desc{
  font-size: 18px;
  line-height: 1.55;
  max-width: 860px;
}

.lb__links{
  margin-top: 40px;
  display:flex;
  flex-wrap:wrap;
  gap: 12px 16px;
}

.lb__links a{
  color: inherit;
  text-decoration:none;
  border-bottom: 1px solid rgba(0,0,0,.4);
}

.lb__links a:hover{
  border-bottom-color: rgba(0,0,0,.85);
}


/* =========================
   Programme (click to expand)
========================= */

.programme-day__title{
  font-size: 106px;
  margin: 40px 0 24px;
  font-style: italic;
  font-family: 'Helvetica Neue Medium';
}

/* item */
.programme-item{
  border: 1px solid #111;
  margin: 14px 0;
  overflow: hidden;
  cursor: pointer;
}

/* top bar */
.programme-item__bar{
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 36px;
}

.programme-item__stage a{
  color: inherit;
  text-decoration: none;
}

.programme-item__stage a:hover{
  text-decoration: underline;
}

.programme-item{
  border: 1px solid #111;
  margin: 14px 0;
  overflow: hidden;
  cursor: pointer;
  transition:0.7s;
}

.programme-item__bar{
  display: grid;
  grid-template-columns: 220px 220px 1fr 220px 70px; /* time | stage | title | type | + */
  align-items: center;
  font-size: 24px;
  line-height: 1.1;
}

.programme-item:hover,
.programme-item.is-open{
  box-shadow: 0 0 30px rgba(97, 192, 221, .95);
}

.programme-item__bar > div{
  padding: 14px 16px 14px;
  border-right: 1px solid #111;
}

.programme-item__type{font-size:14px;min-height: 54px;display: flex;align-items: center;}

.programme-item__bar > div:last-child{
  border-right: 0;
}

.programme-item__stage{
  opacity: .35;
}

.programme-item__title{
  font-weight: 700;
}

.programme-item__toggle{
  display: flex;
  justify-content: center;
  font-weight: 400;
  padding-right: 18px;
  font-size: 28px;
}

.programme-item__toggle::after{ content:'+'; }
.programme-item.is-open .programme-item__toggle::after{ content:'-'; }

.programme-item__expand{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 16px;
  transition: max-height .55s ease, opacity .25s ease, padding .25s ease;
}

.programme-item__expand p:first-child{ margin-top:20px; }

.programme-item.is-open .programme-item__expand{
  max-height: 3000px;
  opacity: 1;
  padding: 0 16px 16px;
}


/* expandable content (NO HOVER) */
.programme-item__expand{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 16px;
  transition: max-height .55s ease, opacity .25s ease, padding .25s ease;
}

.programme-item__expand p:first-child{margin-top:20px;}

.programme-item.is-open .programme-item__expand{
  max-height: 3000px;
  opacity: 1;
  padding: 0 16px 16px;
}

.programme-item__expand img{max-width:600px;max-height:800px;}

/* artists links */
.programme-item__artists{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 20px;
}

.programme-item__artists a{
  color: inherit;
  text-decoration: underline;
}

/* optional image */
.programme-item__img img{
  width: 100%;
  height: auto;
  display: block;
  margin-top: 12px;
}



.programme-item__media{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.programme-item__media-figure{
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* klasyczne 4:3 – zmień jeśli trzeba */
  overflow: hidden;
  margin: 0;
}

.programme-item__media-figure img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px){
  .programme-item__media{
    grid-template-columns: 1fr;
  }
}



/* =========================
   FESTIVAL ARTISTS
========================= */

.artists-page{
  padding: 60px 0;
  min-height: 100vh;
}

.artists-page__grid{
  display: grid;
  grid-template-columns: minmax(700px,900px) 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 120px;
}

@media (max-width: 980px){
  .artists-page__grid{
    grid-template-columns: 1fr;
  }
}

.stages-page{padding-top:100px;}

/* kicker */
.artists-page__kicker{
  position:relative;
  display:inline-block;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 400; /* regular */
  letter-spacing: 0.01em;
  margin-bottom: 50px;
  font-family: 'Helvetica Neue Light';
}

.note{font-size:20px;position:absolute;right:0;top:120%;}

.artists-page__kicker em{
  font-style: italic;
  font-weight: 400;
}

/* list */
.artists-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.artists-list__item{
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
  font-family: 'Helvetica Neue Medium';
}

.artist-trigger{
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 1.5rem;
  cursor: pointer;
  font-size: 80px;
  line-height: 1.02;
   /* medium */
  text-align: left;
  color: #111;
  transition:0.3s;
}

.artist-trigger:hover{
  text-shadow: 0px 0px 20px rgba(97, 192, 221, .95);
}


/* highlight from ?highlight= */
.artist-trigger.is-highlight{
  background: #111;
  color: #fff;
  padding: 0 8px;
}

/* right note */
.artists-note{
  font-size: 14px;
  line-height: 1.45;
  color: #c00; /* jak czerwone notatki w mocku */
  max-width: 420px;
  margin-top: 12px;
}

/* =========================
   ARTIST LIGHTBOX
========================= */

html.lb-open,
html.lb-open body{
  overflow: hidden;
}

.artist-lb{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.artist-lb.is-open{
  display: block;
}

.artist-lb__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
}

.artist-lb__panel{
  position: relative;
  width: min(1200px, calc(100vw - 60px));
  margin: 40px auto;
  height: calc(100vh - 80px);
  overflow: hidden;
}

@media (max-width: 680px){
  .artist-lb__panel{
    width: calc(100vw - 24px);
    margin: 12px auto;
    height: calc(100vh - 24px);
  }
}

/* close button top-right like icon */
.artist-lb__close{
  position: absolute;
  right: 18px;
  top: 18px;
  width: 64px;
  height: 64px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.85);
  cursor: pointer;
  z-index: 2;
}

.artist-lb__close::before,
.artist-lb__close::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,.95);
  transform-origin: center;
}

.artist-lb__close::before{ transform: translate(-50%,-50%) rotate(45deg); }
.artist-lb__close::after { transform: translate(-50%,-50%) rotate(-45deg); }

/* background image area */
.artist-lb__media{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
}

.artist-lb__bg{
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay for readability */
.artist-lb__bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
}

/* content on top */
.artist-lb__content{
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 46px;
  color: #fff;
  display: flex;
  flex-direction: column;
}

@media (max-width: 680px){
  .artist-lb__content{padding: 18px;padding-top: 60px;}
}

.artist-lb__name{
  font-size: 36px;
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 14px;
  font-family: 'Helvetica Neue Medium';
}

.artist-lb__bio{
  max-width: 1000px;
  font-size: 24px;
  line-height: 1.45;
  max-height: 55vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 10px;
  margin-right: -10px;
}

.artist-lb__bio a{
  color: rgba(97, 192, 221, .95);
}

.artist-lb__bio::-webkit-scrollbar{
  width: 6px;
}

.artist-lb__bio::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.35);
}

.artist-lb__more{
  margin-top: 10px;
  font-size: 24px;
}

.artist-lb__more a{
  color: #fff;
  text-decoration: none;
  opacity: .9;
}

.artist-lb__more a span{
  color: #f00;
}

.artist-lb__bottom{
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.artist-lb__project-title{
  font-size: 36px;
  line-height: 1.05;
  font-family: 'Helvetica Neue Medium';
}

.artist-lb__project-desc{
  margin-top: 16px;
  font-size: 24px;
  opacity: .9;
  display: none;
}

.artist-lb__tags{
  display: flex;
  gap: 12px;
}

.artist-lb__tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.85);
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.artist-lb__tag[style*="display: none"]{
  display: none !important;
}


/* =========================
   STAGES
========================= */

/* kafle */
.stages-tiles{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 60px;
  align-content: start;
}

/* mapa pod spodem */
.stages-map{
  width: 100%;
  min-height: 520px;
}

.stages-tiles{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 60px;
  align-content: start;
}

.stage-tile{
  border: 2px solid #111;
  background: transparent;
  width: 320px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.stage-tile span{
  border: 1px dashed rgba(0,0,0,.35);
  padding: 10px 14px;
  font-size: 32px;
  line-height: 1;
}

.stages-map__inner{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.stages-map__svg{
  width: 100%;
  height: 100%;
  display: block;
}

.svg-map{
  padding-top: 160px;
  padding-bottom: 100px;
}

/* map areas */
.map-zone { cursor: pointer; }
.map-zone text { pointer-events: none; }
.map-area { fill: rgba(0,0,0,0.02); stroke: rgba(0,0,0,0.35); stroke-width: 2; }
.map-area.is-active { fill: rgba(0,0,0,0.12); stroke: rgba(0,0,0,0.6); }


.svg-map svg .cls-1{
  opacity: .6;
  cursor: pointer;
  transition: opacity .2s ease, filter .2s ease;
}

.stages-map__svg [data-stage]{
  transition:0.3s;
}

.stages-map__svg [data-stage]:hover,
.svg-map svg .cls-1:hover{
  opacity: .9;
  filter:
    drop-shadow(0 0 12px rgba(97,192,221,.85))
    drop-shadow(0 0 28px rgba(97,192,221,.95));
}



@media (prefers-reduced-motion: no-preference){
  .stages-map__inner.is-animating .stages-map__svg{
    animation: stageMapPulse 4.5s ease-in-out infinite;
  }
  @keyframes stageMapPulse{
    0%{ opacity: 1; transform: translate3d(0,0,0); }
    50%{ opacity: .92; transform: translate3d(0,-2px,0); }
    100%{ opacity: 1; transform: translate3d(0,0,0); }
  }
}

/* Below blocks */
.stages-below{
  margin-top: 90px;
}

.stages-block{
  margin: 70px 0;
}

.stages-below .stages-block{
  border-bottom:1px solid;
  margin: 40px 0 40px;
}

.stages-team{padding-bottom:40px;}

.stages-block__title{
  font-size: 36px;
  display: inline-block;
  font-family: 'Helvetica Neue Medium';
}

.stages-below .stages-block__title{
  font-size: 20px;
  font-family: 'Helvetica Neue';
}

.stages-block__grid{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(8, minmax(140px, 1fr));
  gap: 28px;
}

.stages-logo{
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100px;
  margin-bottom: 40px;
}

.stages-logo img{width:100%;height:auto;max-width: 80px;}

.stages-team{
  margin-top: 26px;
  display: grid;
  gap: 24px;
}

.stages-team__item{font-size:16px;}

.stage-lb{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.stage-lb.is-open{ display: block; }

.stage-lb__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.stage-lb__scroll{
  padding: 30px;
  overflow: auto;
  max-height: min(80vh, 620px);
}

.stage-lb__title{
  font-size: 30px;
  font-family: 'Helvetica Neue Medium';
  margin: 0 0 16px;
  font-weight: 600;
}

.stage-lb__content{
  font-size:24px;
  line-height:1.4;
}

.stage-lb__content a{word-break: break-word;}


.stage-lb{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.stage-lb.is-open{ display:block; }

.stage-lb__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
}

.stage-lb__panel{
  position: relative;
  width: min(1200px, calc(100vw - 60px));
  margin: 40px auto;
  height: calc(100vh - 80px);
  overflow: hidden;
}

@media (max-width: 680px){
  .stage-lb__panel{
    width: calc(100vw - 24px);
    margin: 12px auto;
    height: calc(100vh - 24px);
  }
}

.stage-lb__close{
  position: absolute;
  right: 18px;
  top: 18px;
  width: 64px;
  height: 64px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.85);
  cursor: pointer;
  z-index: 3;
}

.stage-lb__close::before,
.stage-lb__close::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,.95);
  transform-origin: center;
}
.stage-lb__close::before{ transform: translate(-50%,-50%) rotate(45deg); }
.stage-lb__close::after { transform: translate(-50%,-50%) rotate(-45deg); }

.stage-lb__media{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
}

.stage-lb__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay for readability */
.stage-lb__bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.40);
}

/* content on top */
.stage-lb__scroll{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 46px;
  color: #fff;
  overflow: auto;
}

.stage-lb__title{
  font-size: 30px;
  font-family: 'Helvetica Neue Medium';
  margin: 0 0 16px;
  font-weight: 600;
}

.stage-lb__content{
  font-size: 24px;
  line-height: 1.4;
}
.stage-lb__content a{ word-break: break-word; }

@media (max-width: 680px){
  .stage-lb__scroll{ padding: 22px; }
  .stage-lb__content{ font-size: 18px; }
}


.stages-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,34px)}
@media (max-width: 780px){.stages-split{grid-template-columns:1fr}}



/* Footer */
footer{margin-top: 60px;z-index: 2;position:relative;background: white;display:none;}
.copyrights{display: block;line-height: 1.5;padding-left:40px;padding-bottom:20px;}
.arrow-up{position: fixed;right: 70px;bottom: 25px;transition: 0.5s;opacity:0;visibility: hidden;}
.arrow-up.is-visible{opacity:1;visibility: visible;}

.home footer,
.single footer{display:block;}


/* responsive */
@media (max-width: 1200px){
  .archive-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .programme-day__title{font-size:80px;}
  .artist-trigger{font-size: 60px;}
  .programme-day__list{max-width:600px;margin:0 auto;}
  .programme-item__bar > div{border:0;padding: 0;min-height: 24px;}
  .programme-item__bar{display:flex;flex-direction:column;gap: 8px;padding: 20px;align-items: flex-start;}
}

@media(max-width: 1000px){
  body{ overflow:auto; }

  .stage{
    align-items:flex-start;
    padding-top: 100px;
    height: auto;
    padding-bottom: 40px;
  }

  .tiles{
    height:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap: 24px;
    max-width: calc(100% - 40px);
  }

  .tile{
    position:relative;
    width:100%;
    animation:float 9s ease-in-out infinite;
  }

  .t-sauna,
  .t-space,
  .t-residencies,
  .t-festival,
  .t-label,
  .t-archive,
  .t-contact{
    top:auto;
    left:auto;
    right:auto;
    transform:none;
  }

  .stages-map{margin-top:0;min-height: auto;}
  .stages-below{margin-top:0;}
}

@media (max-width: 980px){
  .sf-boxes{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .sauna-festival{ padding: 60px 0 75px; }

  .sauna-page__title-tile{
    position: relative;
    top: auto;
    left: auto;
    margin: 50px 0 30px;
    width: 220px;
  }
  .sauna-page .container,
  .sauna-platform .container{
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 80px;
    padding-left:20px;
    padding-right:20px;
  }

  .festival-hub__top{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .festival-hub__tile{
    width: 220px;
  }
  .festival-hub__nav{
    margin-top: 50px;
    margin: 0;
    margin-top: 20px;
    gap: 10px;
  }
  .festival-hub__nav-item{
    font-size: 40px;
  }

}

@media (max-width: 900px){
  .saturation__content{
    padding: 100px 40px;
  }
  .saturation__text{
    font-size: 26px;
  }
  .archive-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 220px; gap: 28px; }
  .archive-item__title{ font-size: 26px; }
  .note{position:relative;font-size:14px;}
}

@media (max-width: 700px){
  .sf-boxes{
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 38px;
  }
  .sf-box__inner{padding: 20px 16px;font-size: 30px;}
  .sf-marquee__wrap{ padding: 18px 0; }
  .sauna-festival{ padding: 50px 0 70px; }
  .programme-day__title{font-size: 32px;margin: 20px 0;}
  .container{padding:0 20px;}
  .programme-item__bar{font-size:24px;padding-right: 40px;}
  .programme-item__bar::after{font-size:40px;font-family:'Helvetica Neue Light';margin-bottom: -4px;top: 0;right: 12px;position: absolute;}
  .site-logo{top:20px;right:20px;}
  .programme-item{position:relative;}
  .programme-day__list{margin-top:30px;}
  .programme-day{padding-right: 18px;margin-top: 40px;}
  .social{position:absolute;top: 20px;left: 20px;right: initial;flex-direction: row;width: 220px;height: 32px;align-items: center;gap: 18px;}
  .artists-page{margin-top:50px;}
  .arrow-up{left:initial;right:10px;}
  .sf-container{padding:0 10px;}
  .sf-box{border-width:2px;}
  .festival-programme,.artists-page,
  .saturation__content,.saturation,
  .sauna-page, .sauna-platform{min-height:auto;}
  .artist-trigger{font-size: 28px;}
  .stages-page{padding-top:20px;}
  .copyrights{padding-left:20px;}
  .saturation__logo{position:relative;top: initial;transform: none;left: initial;margin-top: 100px;}
  .tickets_link{font-size:50px;}
}

@media(max-width:560px){

  .svg-map{padding: 80px 0 40px;}
  
  .sauna-page,.sauna-platform{font-size:20px;}
  
  .sauna-platform .sauna-title{margin-top:20px;margin-bottom:40px;}
  .archive-grid{ grid-template-columns: 1fr; margin-top: 190px; }
  .tiles{display: flex;flex-direction: column;}
  .t-sauna{order:1;}
  .t-festival{order:2;}
  .tiles .sauna-festival{order:3;}
  .t-residencies{order:4;}
  .t-label{order:5;}
  .t-archive{order:6;}
  .t-space{order:7;}
  .t-contact{order:8;}  
  
  .saturation__content{
    padding: 90px 24px;
  }
  .saturation__text{
    font-size: 24px;
  }
  .sf-marquee__item{font-size:24px;}
  .artists-page__kicker{font-size:20px;}
  .artist-lb__name{font-size:24px;}
  .artist-lb__more,
  .artist-lb__bio{font-size:20px;}
  .artist-lb__close{top:8px;right:8px;}
  .artist-lb__project-title{font-size:24px;}

  .artist-lb__bottom {
    flex-direction: column;
    align-items: flex-start;
    grid-template-columns: auto;
    gap: 16px;
  }

  .artist-lb__project {
    max-width: 100%;
  }

  .artist-lb__project-title {
    font-size: 20px;
  }

  .artist-lb__tags {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .stages-block__title{font-size:24px;}

  .stages-block__grid{
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 40px;
  }

  .artist-trigger{font-size:30px;}
  .copyrights{padding-left:20px;padding-right: 40px;font-size:14px;line-height: 1.4;}

  .sauna-page__contact-row{display:flex;flex-direction:column;margin-bottom:1rem;}

  .stages-logo{max-width: 80px;margin-bottom: 0;}
  .stages-logo img{max-width:none;}
}

@media(max-width:350px){
  .tile > span{font-size:22px;}
  .sf-box__inner{font-size:26px;}
}


/* Fonts */


@font-face {
    font-family: "Helvetica Neue Medium";
    src: url('fonts/HelveticaNeueETPro65Med.woff2') format('woff2');
    font-weight:normal;
    font-style:normal;
}
@font-face {
    font-family: "Helvetica Neue";
    src: url('fonts/HelveticaNeueETPro55Roman.woff2') format('woff2');
    font-weight:normal;
    font-style:normal;
}
@font-face {
    font-family: "Helvetica Neue Light";
    src: url('fonts/HelveticaNeueETPro45Light.woff2') format('woff2');
    font-weight:normal;
    font-style:normal;
}