/* OEAF — skrót o festiwalu. Semantyczne źródło jest bezpiecznym fallbackiem. */
.oeaf-home-summary,
.oeaf-home-summary * {
  box-sizing: border-box;
}

.oeaf-home-summary {
  --oeaf-summary-side: clamp(20px, 4vw, 72px);
  --oeaf-summary-fill: #fff;
  --oeaf-summary-outline: rgba(255,255,255,.58);
  --oeaf-summary-outline-width: .75px;
  --oeaf-summary-label-gap: clamp(3rem,6vw,7rem);
  --oeaf-summary-paragraph-gap: clamp(1.4rem,2.3vw,2.8rem);
  --oeaf-summary-column-gap: clamp(2.5rem,6vw,7rem);
  position: relative;
  min-height: 100svh;
  background: #000;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: normal;
  isolation: isolate;
}

.oeaf-home-summary.is-enhanced {
  min-height: 235svh;
}

.oeaf-home-summary-stage {
  display: grid;
  min-height: 100svh;
  padding: clamp(28px,4vw,64px) var(--oeaf-summary-side) clamp(52px,6vw,96px);
  grid-template-rows: auto 1fr;
  row-gap: var(--oeaf-summary-label-gap);
}

.oeaf-home-summary.is-enhanced .oeaf-home-summary-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.oeaf-home-summary-label {
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: clamp(.75rem,.7rem + .18vw,.94rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-transform: uppercase;
}

.oeaf-home-summary-body {
  position: relative;
  width: min(100%,1800px);
  margin-inline: auto;
  align-self: center;
}

.oeaf-home-summary-copy {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(18rem,.75fr);
  gap: var(--oeaf-summary-column-gap);
  align-items: end;
}

.oeaf-home-summary--single .oeaf-home-summary-copy,
.oeaf-home-summary--one .oeaf-home-summary-copy {
  grid-template-columns: minmax(0,1fr);
}

.oeaf-home-summary-column {
  display: grid;
  min-width: 0;
  gap: var(--oeaf-summary-paragraph-gap);
  align-content: end;
}

.oeaf-home-summary-column--secondary {
  max-width: 42ch;
}

.oeaf-home-summary-block {
  max-width: 42ch;
  margin: 0;
  color: inherit;
  font-size: clamp(1.25rem,1.85vw,2.35rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: normal;
  text-wrap: pretty;
}

.oeaf-home-summary-block--lead {
  max-width: 29ch;
  font-size: clamp(2rem,3.15vw,4rem);
  line-height: 1.02;
  text-wrap: balance;
}

ul.oeaf-home-summary-block,
ol.oeaf-home-summary-block {
  padding-inline-start: 1.2em;
}

.oeaf-home-summary-block li + li {
  margin-top: .55em;
}

.oeaf-home-summary-block a {
  color: inherit;
  text-decoration-color: rgba(255,255,255,.65);
  text-decoration-thickness: .055em;
  text-underline-offset: .12em;
}

.oeaf-home-summary-block a:hover,
.oeaf-home-summary-block a:focus-visible,
.oeaf-home-summary-visual a.is-source-focus {
  outline: 2px solid currentColor;
  outline-offset: .11em;
  text-decoration: none;
}

/* Przed powodzeniem JS pełna treść źródłowa pozostaje normalnie widoczna. */
.oeaf-home-summary-source {
  display: block;
  color: var(--oeaf-summary-fill);
}

.oeaf-home-summary-visual {
  display: none;
}

/* Pomiar nowej warstwy odbywa się poza przepływem i bez jej wyświetlenia. */
.oeaf-home-summary.is-building .oeaf-home-summary-visual {
  position: absolute;
  inset: 0;
  display: block;
  visibility: hidden;
}

/* Źródło znika wizualnie dopiero po utworzeniu jednej poprawnej warstwy. */
.oeaf-home-summary.is-enhanced .oeaf-home-summary-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.oeaf-home-summary.is-enhanced .oeaf-home-summary-visual {
  display: block;
}

/* Elementy pozostają inline: dzięki temu NBSP naprawdę chroni spójniki. */
.oeaf-home-summary-word {
  display: inline;
  color: rgba(255,255,255,.12);
  transition:
    color 560ms cubic-bezier(.22,1,.36,1),
    -webkit-text-stroke-color 560ms cubic-bezier(.22,1,.36,1);
}

@supports (-webkit-text-stroke: 1px #fff) {
  .oeaf-home-summary-word {
    color: transparent;
    -webkit-text-stroke: var(--oeaf-summary-outline-width) var(--oeaf-summary-outline);
  }
}

.oeaf-home-summary-word.is-filled {
  color: var(--oeaf-summary-fill);
  -webkit-text-stroke-color: transparent;
}

html[data-oeaf-motion="reduce"] .oeaf-home-summary,
html[data-oeaf-motion="reduce"] .oeaf-home-summary.is-enhanced {
  min-height: 0;
}

html[data-oeaf-motion="reduce"] .oeaf-home-summary-stage,
html[data-oeaf-motion="reduce"] .oeaf-home-summary.is-enhanced .oeaf-home-summary-stage {
  position: relative;
  height: auto;
  min-height: 100svh;
  overflow: visible;
}

@media (max-width: 53.99rem), (hover: none) and (pointer: coarse) {
  .oeaf-home-summary,
  .oeaf-home-summary.is-enhanced {
    min-height: 0;
  }

  .oeaf-home-summary-stage,
  .oeaf-home-summary.is-enhanced .oeaf-home-summary-stage {
    position: relative;
    height: auto;
    min-height: 0;
    padding: clamp(72px,18vw,108px) var(--oeaf-summary-side) clamp(88px,22vw,138px);
    overflow: visible;
  }

  .oeaf-home-summary-copy {
    grid-template-columns: minmax(0,1fr);
    gap: 3.25rem;
  }

  .oeaf-home-summary-column,
  .oeaf-home-summary-column--secondary {
    max-width: none;
  }

  .oeaf-home-summary-block,
  .oeaf-home-summary-block--lead {
    max-width: none;
    font-size: clamp(1.7rem,8vw,2.8rem);
    line-height: 1.08;
    text-wrap: pretty;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-oeaf-motion]) .oeaf-home-summary,
  html:not([data-oeaf-motion]) .oeaf-home-summary.is-enhanced {
    min-height: 0;
  }

  html:not([data-oeaf-motion]) .oeaf-home-summary-stage,
  html:not([data-oeaf-motion]) .oeaf-home-summary.is-enhanced .oeaf-home-summary-stage {
    position: relative;
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
}
