@font-face {
  font-family: 'Roboto Flex';
  src: url('./ui/roboto-flex.woff2') format('woff2');
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper:#fafaf7; --beige:#f3f3eb; --ink:#072520; --rudawy:#0b3d36;
  --green:#318f43; --lime:#d0dd8e; --lilac:#d29fd6; --chojnik:#0a254c;
  --blue-light:#d2e2f9; --wine:#a32149; --gold:#f1cf72; --mint:#6dc09e;
  --rose:#d190a1; --lime-muted:#e3ebbb; --lime-pale:#ecf1d2; --blue-race:#97bee1;
  --content-wide:80.625rem; --content-reading:66.875rem;
  --gutter:max(1.25rem,5.208333vw,calc((100vw - var(--content-wide)) / 2)); --font:'Roboto Flex',Arial,sans-serif;
  --body-font:var(--font); --display-font:var(--font);
  --action-green:#287b39; --night:#06162e;
  --display-width:50; --heading-width:60; --optical-size:16;
  --ease-out:cubic-bezier(.22,1,.36,1);
  font-optical-sizing:auto;
  font-family:var(--font); color:var(--rudawy); background:var(--paper); line-height:1.5;
}
*,*::before,*::after { box-sizing:border-box }
body { margin:0 }
button,input,textarea,select { font:inherit; color:inherit }
button,summary { cursor:pointer }
a { color:inherit; text-underline-offset:.19em }
img,svg,video { max-width:100% }
:where(h1,h2,h3,p,figure) { margin:0 }
:where(h1) { --optical-size:82 }
:where(h2) { --optical-size:48 }
:where(h3) { --optical-size:32 }
:where(h4) { --optical-size:28 }
@media(max-width:700px) {
  :where(h1) { --optical-size:56 }
  :where(h2) { --optical-size:40 }
}
:focus-visible { outline:3px solid #fff; outline-offset:3px; box-shadow:0 0 0 6px #12354b }
:root {
  --button-brand:var(--rudawy); --button-tint:var(--lime-muted);
  --primary-hover:var(--green); --primary-hover-ink:var(--paper);
  --compact-primary-hover:var(--action-green);
  --accent-fill:var(--action-green); --accent-ink:var(--paper);
  --accent-hover:var(--lime); --accent-hover-ink:var(--rudawy);
  --accent-stroke:var(--rudawy); --accent-stroke-width:3px;
  --link-accent:var(--action-green); --link-active:#825985;
}
:is(.info-chojnik,.race-chojnik,[data-festival="chojnik"]) {
  --button-brand:var(--chojnik); --button-tint:var(--blue-light);
  --primary-hover:var(--blue-race); --primary-hover-ink:var(--chojnik);
  --compact-primary-hover:var(--blue-race);
  --accent-fill:var(--wine); --accent-ink:var(--paper);
  --accent-hover:#eac7d2; --accent-hover-ink:#62142c;
  --accent-stroke:#62142c; --accent-stroke-width:2px;
  --link-accent:var(--wine);
}
.race-chojnik {
  --accent-fill:var(--blue-race); --accent-ink:var(--chojnik);
  --accent-hover:var(--blue-light); --accent-hover-ink:var(--chojnik); --accent-stroke:#24426d;
}
:is(.festival-button,.wp-block-button__link) {
  --button-bg:var(--button-brand); --button-text:var(--paper);
  --hover-bg:var(--compact-primary-hover); --hover-text:var(--primary-hover-ink);
  --focus-stroke:var(--button-brand); --focus-width:3px;
  display:inline-flex; align-items:center; justify-content:center; max-width:100%; min-height:44px;
  padding:calc(1rem - 2px) calc(1.625rem - 2px); border:2px solid transparent; border-radius:8px;
  background-color:var(--button-bg); color:var(--button-text); cursor:pointer;
  font:600 1rem/1.45 var(--font); font-variation-settings:"wdth" 100,"opsz" 16;
  text-align:center; text-transform:uppercase; text-decoration:none; overflow-wrap:anywhere;
}
.button-prominent, :where(.wp-block-button.is-style-button-prominent) > .wp-block-button__link {
  --hover-bg:var(--primary-hover); font-size:1.5rem; line-height:1.4;
  font-variation-settings:"wdth" 60,"opsz" 24;
}
.button-accent, :where(.wp-block-button.is-style-button-accent) > .wp-block-button__link {
  --button-bg:var(--accent-fill); --button-text:var(--accent-ink);
  --hover-bg:var(--accent-hover); --hover-text:var(--accent-hover-ink);
  --focus-stroke:var(--accent-stroke); --focus-width:var(--accent-stroke-width);
}
.button-outline, :where(.wp-block-button.is-style-button-outline) > .wp-block-button__link {
  --button-bg:transparent; --button-text:var(--outline-ink,var(--button-brand));
  --hover-bg:var(--button-tint); --hover-text:var(--button-brand); border-color:currentColor;
}
.button-quiet {
  --button-bg:transparent; --button-text:var(--button-brand); --hover-bg:transparent;
  --hover-text:var(--link-accent); --focus-stroke:var(--link-accent); --focus-width:2px;
  text-decoration:underline;
}
@media (hover:hover) {
  :is(.festival-button,.wp-block-button__link):where(:not(:disabled)):hover { background-color:var(--hover-bg); color:var(--hover-text) }
}
:is(.festival-button,.wp-block-button__link):focus-visible {
  background-color:var(--hover-bg); color:var(--hover-text); border-color:var(--focus-stroke);
  box-shadow:inset 0 0 0 calc(var(--focus-width) - 2px) var(--focus-stroke);
  outline:2px solid var(--focus-stroke); outline-offset:3px;
}
.festival-text-link {
  display:inline-flex; align-items:center; gap:6px; min-height:44px; max-width:100%;
  color:var(--link-accent); border-radius:8px; text-decoration:underline;
  font:600 1rem/1.45 var(--font); text-transform:uppercase;
  transition:color 180ms ease-out;
}
.document-link::after,.album-back::before {
  content:""; display:block; flex:none; width:20px; aspect-ratio:1; background:currentColor;
  mask:url('./ui/arrow-download.svg') center / contain no-repeat; transform:rotate(180deg);
}
.album-back { --link-active:#936996; font-size:1.5rem; line-height:1.4; font-variation-settings:"wdth" 60,"opsz" 24; text-decoration:none }
.info-rudawy .album-back {--link-accent:var(--green)}
.album-back::before { width:32px; mask-image:url('./ui/arrow-back.svg') }
.festival-text-link:is(:hover,:focus-visible) { color:var(--link-active) }
.festival-text-link:focus-visible { outline:2px solid currentColor; outline-offset:3px; box-shadow:none }
@media (hover:hover) {
  .document-link:hover:not(:focus-visible) {outline:2px solid #b284b6;outline-offset:2px}
}
@media (forced-colors:active) {
  :is(.festival-button,.wp-block-button__link):focus-visible,.festival-text-link:focus-visible {outline-color:Highlight}
  .document-link::after,.album-back::before {background:LinkText;forced-color-adjust:none}
}
:where(.wp-block-button__link,.info-button,.info-dialog button,.info-album-filter a,.home-action,.home-register-link,.home-card nav a,.home-video-control,.home-ticker-control,.race-button,.race-related a) {
  transition:background-color 180ms ease-out,color 180ms ease-out,border-color 180ms ease-out,scale 120ms var(--ease-out);
}
@media (prefers-reduced-motion:no-preference) {
  :where(.wp-block-button__link,.info-button,.info-dialog button,.home-action,.home-register-link,.race-button):active { scale:.985 }
}
[hidden] { display:none!important }
.sr-only,.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip-path:inset(50%)!important; white-space:nowrap!important; border:0!important }
.skip-link { position:fixed; top:8px; left:8px; z-index:30; transform:translateY(-200%); background:var(--paper); color:var(--ink); padding:12px 20px }
.skip-link:focus { transform:none }
.site-header { position:relative; z-index:3; background:var(--paper); color:var(--ink) }
.header-overlay { position:absolute; inset:0 0 auto; background:transparent; pointer-events:none }
.header-inner { padding:0 var(--gutter); display:flex; justify-content:space-between; align-items:center; height:clamp(112px,10.07vw,164px); width:100% }
.header-overlay .header-inner { height:clamp(108px,9.72vw,156px) }
.header-inner a { pointer-events:auto }
.header-brand { display:grid; min-height:44px; align-content:center; text-decoration:none }
.festival-logo { display:block; width:auto; height:40px; max-width:100%; object-fit:contain; object-position:left center }
.header-brand .festival-logo { height:clamp(30px,2.6vw,44px) }
.rudawy-logo { position:relative; aspect-ratio:284 / 50; }
.rudawy-logo img { display:block; position:absolute; height:auto }
.rudawy-logo .logo-word { width:51.12%; top:1%; left:0 }
.rudawy-logo .logo-top { width:25.66%; top:0; left:53.14% }
.rudawy-logo .logo-bottom { width:46%; bottom:0; right:0 }
.shell-icon { display:grid; place-items:center; border:0; background:transparent; padding:0; min-width:44px; min-height:44px; transition:transform .16s }
.shell-icon img { height:auto; display:block }
.shell-icon:hover { transform:scale(1.06) }
.menu-trigger { margin-left:auto; margin-right:-2px }
.header-contact { background:var(--rudawy) }
.header-reg.header-rudawy { background:var(--lime) }
.header-reg.header-chojnik { background:var(--blue-light) }
#site-menu { position:fixed; inset:0; padding:0; margin:0; width:100%; max-width:none; height:100dvh; max-height:none; border:0; overflow-y:auto; overscroll-behavior:contain; background:transparent; color:var(--paper) }
#site-menu::backdrop { background:rgb(4 24 22 / 77%) }
body:has(#site-menu[open]) { overflow:hidden }
.festival-menu { background:var(--ink); color:var(--paper); position:relative; isolation:isolate }
#site-menu .festival-menu { min-height:100%; display:flex; flex-direction:column }
#site-menu .menu-columns { flex:1 }
.menu-tools { position:sticky; top:0; z-index:2; height:0; flex-shrink:0 }

.festival-menu ul,.site-footer ul { list-style:none; padding:0; margin:0 }
.festival-menu a,.site-footer a { text-decoration:none }
.festival-menu a:hover,.site-footer a:hover,.festival-menu a[aria-current='page'] { text-decoration:underline }
.festival-menu summary { list-style:none }
.festival-menu summary::-webkit-details-marker { display:none }
.menu-columns,.menu-common { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) }
.menu-brand { --active:var(--lime); min-width:0; background:var(--rudawy); }
.menu-brand.menu-chojnik { background:var(--chojnik); border-left:1px solid var(--paper) }
.menu-brand-title { min-height:clamp(146px,13.9vw,216px); border-bottom:1px solid var(--paper); display:flex; align-items:flex-end; padding:40px var(--gutter); gap:16px; cursor:default }
.menu-brand-title .festival-logo { height:clamp(38px,3.47vw,60px) }
.menu-close { position:absolute; top:clamp(26px,2.65vw,46px); right:calc(var(--gutter) - 2px); z-index:1 }
.menu-list { display:flex; flex-direction:column; align-items:flex-start; gap:20px; padding:44px var(--gutter) 64px; min-height:clamp(380px,31vw,490px); font-size:var(--type-lead); font-weight:500; line-height:1.35 }
.menu-list a,.menu-group summary { min-height:44px; display:inline-flex; align-items:center }
.menu-group summary { gap:9px }
.menu-plus { width:20px; height:20px; position:relative; display:inline-block; flex:none; color:inherit }
.menu-plus::before,.menu-plus::after { content:''; position:absolute; top:50%; left:50%; width:75%; height:2px; background:currentColor; transform:translate(-50%,-50%) }
.menu-plus::after { transform:translate(-50%,-50%) rotate(90deg) }
.menu-group[open] > summary { color:var(--active) }
.menu-list :is(a,summary):is(:hover,:focus-visible) {color:var(--active)}
.menu-list :is(a,summary):focus-visible {outline:2px solid var(--active);outline-offset:3px;box-shadow:none}
.menu-common a:is(:hover,:focus-visible),.site-footer a:is(:hover,:focus-visible) {color:var(--lime-muted);text-decoration:underline}
.header-brand:is(:hover,:focus-visible) {outline:2px solid currentColor;outline-offset:4px;border-radius:4px}
.header-white .header-brand {color:var(--paper)}
@media (prefers-reduced-motion:reduce) {
  .shell-icon:hover {transform:none}
}
.menu-plus::after { transition:transform .24s var(--ease-out) }
.menu-group[open] > summary .menu-plus::after { transform:translate(-50%,-50%) rotate(0) }
@media (prefers-reduced-motion:no-preference) {
  .menu-group[open] > ul { animation:menu-branch-in .27s var(--ease-out) }
  @keyframes menu-branch-in { from {opacity:0; transform:translateY(7px)} }
}
.menu-group ul { display:grid; gap:4px; padding-top:10px }
.menu-group { max-width:100% }
.menu-list:has(.menu-group[open]) > :not(.menu-group[open]) { display:none }
.menu-group a { overflow-wrap:anywhere }
.menu-common { --optical-size:24;line-height:1.4; border-top:1px solid var(--paper); padding-block:34px; font-size:var(--type-lead); font-weight:600; font-variation-settings:"wdth" var(--heading-width),"opsz" var(--optical-size); text-transform:uppercase }
.menu-common > div { display:flex; align-items:center; flex-wrap:wrap; gap:12px clamp(24px,4.16vw,74px); padding-inline:var(--gutter) }
.menu-common a { display:inline-flex; align-items:center; min-height:44px }
.menu-common > div:last-child a,.footer-meta a { text-decoration:underline }
.sponsor-band,.site-footer { color:var(--paper); background:var(--rudawy) }
.sponsor-band { border-block:1px solid var(--paper); padding:39px var(--gutter) }
.sponsor-band p { font-size:.875rem; margin:0 0 12px }
.sponsor-logos,.sponsor-logos img { display:block; width:100%; height:auto }
.site-footer { padding:80px var(--gutter) 28px }
.footer-columns,.footer-meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px }
.footer-columns .festival-logo { height:40px }
.footer-columns ul { margin-top:24px }
.footer-columns li,.organizer address,.organizer > a { font-weight:600; text-transform:uppercase; font-size:1rem; line-height:1.45 }
.footer-columns a { display:inline-flex; align-items:center; min-height:43px }
.organizer h2 { --optical-size:24; text-transform:uppercase; font-size:1.5rem; font-weight:600; font-variation-settings:"wdth" var(--heading-width),"opsz" var(--optical-size); line-height:1.4; margin-bottom:20px }
.organizer address {font-style:normal;line-height:1.45}
.organizer address a {margin-block-start:.625rem}
.footer-meta a {font-weight:500;line-height:1.45}
.footer-meta { margin-top:40px; font-size:1rem }
.footer-meta > div { display:flex; align-items:flex-start; flex-wrap:wrap; gap:12px clamp(20px,3.75vw,56px) }
.footer-meta a { display:inline-flex; align-items:center; min-height:32px }
@media(min-width:721px) {
  .menu-brand:first-child :is(.menu-brand-title,.menu-list),.menu-common > div:first-child {padding-inline-end:min(5.208333vw,4.6875rem)}
  .menu-brand:last-child :is(.menu-brand-title,.menu-list),.menu-common > div:last-child {padding-inline-start:min(5.208333vw,4.6875rem)}
  .menu-common {flex-shrink:0;padding-block-end:max(5rem,env(safe-area-inset-bottom))}
  #site-menu {scroll-padding-block-end:5rem}
}
@media(min-width:721px) and (max-width:900px) {
  .footer-columns,.footer-meta { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .footer-columns .organizer { grid-column:1/-1 }
}
@media(max-width:720px) {
  :root { --gutter:20px }
  .header-inner,.header-overlay .header-inner { height:92px }
  body[data-kind="info"] .header-inner {height:100px;padding-bottom:12px}
  .header-inner .festival-logo { height:25px }
  .menu-trigger,.menu-close { margin:0; }
  .menu-trigger { margin-left:auto; margin-right:-8px }
  .shell-icon img { width:28px }
  .menu-columns { grid-template-columns:1fr }
  .menu-brand.menu-chojnik { border-left:0 }
  .menu-brand-title { padding:40px var(--gutter); min-height:120px; align-items:center }
  .menu-brand:first-child .menu-brand-title { min-height:140px; padding-top:60px }
  .menu-brand-title .festival-logo { height:clamp(30px,10.25vw,40px); max-width:calc(100% - 34px) }
  .menu-close { top:max(24px,env(safe-area-inset-top)); right:max(12px,env(safe-area-inset-right)); background:var(--rudawy); border-radius:50% }
  .menu-list { min-height:0; padding:34px 20px; gap:20px; font-size:1.5rem; border-bottom:1px solid var(--paper) }
  .menu-common { padding:55px var(--gutter) max(36px,env(safe-area-inset-bottom)); border-top:0; gap:10px; font-size:1.5rem }
  .menu-common > div { flex-direction:column; align-items:flex-start; padding:0; gap:22px }
  .sponsor-band { padding:39px var(--gutter) }
  .sponsor-logos img { max-width:342px }
  .site-footer { padding-top:80px }
  .footer-columns,.footer-meta { grid-template-columns:1fr; gap:50px }
  .footer-meta { margin-top:36px; gap:20px }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.001ms!important; animation-delay:0s!important; animation-iteration-count:1!important; transition-duration:.001ms!important; transition-delay:0s!important; scroll-behavior:auto!important }
}

