/* Local festival composition. All selectors stay inside this portlet. */
@font-face { font-family:"Koa Festival Kalam"; src:url("assets/kalam-bold-latin.woff2") format("woff2"); font-style:normal; font-weight:700; font-display:swap; }
.koa-festival {
  --kf-grid:var(--kf-sm-grid); --kf-copy-order:var(--kf-sm-copy-order); --kf-ratio:var(--kf-sm-ratio);
  --kf-fit:var(--kf-sm-fit); --kf-position:var(--kf-sm-position); --kf-heading:var(--kf-sm-heading);
  --kf-body:var(--kf-sm-body); --kf-caption:var(--kf-sm-caption); --kf-inset:var(--kf-sm-inset);
  --kf-extra:var(--kf-sm-extra); --kf-align:var(--kf-sm-align); --kf-heading-shift:var(--kf-sm-heading-shift);
  --kf-sign-inset:var(--kf-sm-sign-inset); --kf-sign-angle:var(--kf-sm-sign-angle); --kf-sign-stick:var(--kf-sm-sign-stick);
  --kf-gap:clamp(1rem,2vw,2rem); --kf-text-x:var(--kf-sm-text-x,0px); --kf-corner-size:var(--kf-sm-corner-size,48px); --kf-corner-angle:var(--kf-sm-corner-angle,9deg);
  --kf-tear:polygon(5.000% 5.000%,5.695% 4.980%,6.391% 4.960%,7.087% 4.953%,7.782% 4.933%,8.478% 4.921%,9.173% 4.903%,9.869% 4.882%,10.564% 4.880%,11.260% 4.858%,11.956% 4.852%,12.651% 4.828%,13.347% 4.820%,14.042% 4.774%,14.737% 4.730%,15.432% 4.702%,16.128% 4.718%,16.823% 4.644%,17.519% 4.655%,18.214% 4.622%,18.909% 4.536%,19.605% 4.576%,20.299% 4.467%,20.996% 4.527%,21.691% 4.497%,22.385% 4.398%,23.082% 4.435%,23.777% 4.415%,24.472% 4.319%,25.168% 4.376%,25.863% 4.288%,26.560% 4.391%,27.255% 4.353%,27.952% 4.394%,28.645% 4.251%,29.342% 4.291%,30.038% 4.339%,30.734% 4.338%,31.429% 4.266%,32.126% 4.383%,32.822% 4.374%,33.516% 4.272%,34.211% 4.234%,34.908% 4.314%,35.603% 4.249%,36.299% 4.274%,36.994% 4.217%,37.689% 4.167%,38.383% 4.061%,39.079% 4.045%,39.775% 4.067%,40.471% 4.079%,41.165% 3.974%,41.861% 3.994%,42.556% 3.908%,43.252% 3.935%,43.946% 3.848%,44.641% 3.740%,45.335% 3.667%,46.030% 3.620%,46.726% 3.587%,47.424% 3.739%,48.119% 3.724%,48.814% 3.686%,49.508% 3.541%,50.206% 3.655%,50.900% 3.541%,51.598% 3.706%,52.293% 3.661%,52.989% 3.687%,53.685% 3.664%,54.380% 3.630%,55.077% 3.726%,55.774% 3.753%,56.467% 3.601%,57.163% 3.639%,57.860% 3.693%,58.555% 3.670%,59.250% 3.598%,59.946% 3.585%,60.643% 3.664%,61.336% 3.494%,62.031% 3.448%,62.728% 3.505%,63.421% 3.385%,64.119% 3.463%,64.812% 3.310%,65.509% 3.381%,66.202% 3.235%,66.899% 3.287%,67.594% 3.223%,68.289% 3.182%,68.983% 3.057%,69.678% 3.019%,70.373% 2.972%,71.069% 2.976%,71.766% 3.038%,72.460% 2.927%,73.156% 2.944%,73.852% 2.987%,74.547% 2.919%,75.243% 2.942%,75.939% 2.925%,76.635% 2.986%,77.330% 2.908%,78.027% 3.021%,78.722% 2.964%,79.418% 2.972%,80.114% 2.944%,80.809% 2.926%,81.506% 2.965%,82.201% 2.939%,82.896% 2.911%,83.591% 2.812%,84.287% 2.843%,84.983% 2.848%,85.678% 2.794%,86.373% 2.755%,87.068% 2.737%,87.763% 2.675%,88.459% 2.683%,89.155% 2.658%,89.849% 2.591%,90.545% 2.589%,91.240% 2.569%,91.936% 2.536%,92.631% 2.527%,93.327% 2.513%,94.022% 2.493%,94.718% 2.461%,95.413% 2.443%,96.109% 2.436%,96.804% 2.417%,97.500% 2.400%,97.502% 3.327%,97.509% 4.253%,97.507% 5.180%,97.513% 6.107%,97.502% 7.034%,97.504% 7.961%,97.520% 8.887%,97.514% 9.814%,97.515% 10.741%,97.539% 11.667%,97.553% 12.594%,97.549% 13.521%,97.589% 14.447%,97.578% 15.374%,97.563% 16.301%,97.587% 17.228%,97.664% 18.154%,97.614% 19.081%,97.635% 20.008%,97.644% 20.934%,97.714% 21.860%,97.643% 22.788%,97.698% 23.714%,97.627% 24.642%,97.670% 25.568%,97.652% 26.495%,97.662% 27.422%,97.563% 28.349%,97.629% 29.275%,97.534% 30.203%,97.572% 31.129%,97.616% 32.056%,97.548% 32.983%,97.571% 33.910%,97.653% 34.836%,97.556% 35.764%,97.657% 36.689%,97.719% 37.616%,97.637% 38.543%,97.672% 39.470%,97.753% 40.396%,97.812% 41.322%,97.785% 42.249%,97.797% 43.175%,97.796% 44.102%,97.838% 45.029%,97.830% 45.956%,97.803% 46.883%,97.880% 47.809%,97.868% 48.735%,97.803% 49.663%,97.740% 50.590%,97.711% 51.517%,97.682% 52.444%,97.729% 53.371%,97.670% 54.298%,97.755% 55.224%,97.704% 56.151%,97.754% 57.078%,97.641% 58.005%,97.629% 58.932%,97.696% 59.858%,97.706% 60.785%,97.787% 61.711%,97.754% 62.638%,97.883% 63.564%,97.870% 64.491%,97.898% 65.417%,97.851% 66.344%,97.962% 67.270%,97.976% 68.197%,97.993% 69.123%,97.903% 70.051%,97.966% 70.977%,97.893% 71.905%,97.952% 72.831%,97.884% 73.758%,97.940% 74.685%,97.856% 75.612%,97.839% 76.539%,97.841% 77.466%,97.852% 78.393%,97.832% 79.320%,97.833% 80.246%,97.834% 81.173%,97.892% 82.099%,97.862% 83.026%,97.880% 83.953%,97.920% 84.879%,97.942% 85.806%,97.919% 86.733%,97.953% 87.659%,97.962% 88.586%,97.960% 89.513%,97.982% 90.439%,97.994% 91.366%,97.988% 92.293%,97.995% 93.220%,97.999% 94.146%,97.997% 95.073%,98.000% 96.000%,97.303% 96.015%,96.606% 96.024%,95.909% 96.035%,95.212% 96.050%,94.515% 96.068%,93.817% 96.066%,93.120% 96.088%,92.423% 96.101%,91.726% 96.087%,91.029% 96.125%,90.332% 96.149%,89.635% 96.122%,88.937% 96.127%,88.241% 96.190%,87.544% 96.204%,86.847% 96.215%,86.150% 96.221%,85.453% 96.309%,84.756% 96.279%,84.059% 96.344%,83.362% 96.303%,82.665% 96.381%,81.968% 96.349%,81.271% 96.427%,80.574% 96.426%,79.878% 96.520%,79.181% 96.520%,78.484% 96.524%,77.786% 96.527%,77.090% 96.564%,76.392% 96.537%,75.696% 96.588%,74.997% 96.520%,74.300% 96.459%,73.602% 96.471%,72.906% 96.503%,72.208% 96.440%,71.511% 96.475%,70.814% 96.486%,70.117% 96.514%,69.420% 96.578%,68.721% 96.439%,68.024% 96.443%,67.327% 96.468%,66.630% 96.501%,65.933% 96.495%,65.236% 96.487%,64.539% 96.509%,63.842% 96.575%,63.147% 96.754%,62.448% 96.606%,61.752% 96.718%,61.056% 96.779%,60.359% 96.823%,59.663% 96.894%,58.967% 96.981%,58.268% 96.898%,57.572% 96.932%,56.876% 97.074%,56.177% 96.926%,55.480% 96.953%,54.783% 96.980%,54.087% 97.063%,53.390% 97.105%,52.693% 97.092%,51.996% 97.115%,51.297% 96.987%,50.600% 96.989%,49.903% 96.985%,49.206% 97.056%,48.509% 97.047%,47.811% 96.999%,47.115% 97.073%,46.418% 97.086%,45.718% 96.911%,45.023% 97.058%,44.326% 97.058%,43.628% 97.016%,42.932% 97.108%,42.234% 97.031%,41.537% 97.122%,40.839% 97.008%,40.144% 97.184%,39.445% 97.069%,38.749% 97.207%,38.051% 97.141%,37.355% 97.175%,36.658% 97.184%,35.962% 97.370%,35.264% 97.255%,34.569% 97.446%,33.872% 97.443%,33.176% 97.535%,32.478% 97.477%,31.782% 97.573%,31.084% 97.513%,30.386% 97.468%,29.689% 97.508%,28.992% 97.541%,28.296% 97.636%,27.597% 97.501%,26.901% 97.598%,26.203% 97.512%,25.507% 97.627%,24.810% 97.603%,24.111% 97.511%,23.414% 97.538%,22.718% 97.610%,22.020% 97.576%,21.323% 97.568%,20.626% 97.607%,19.929% 97.617%,19.232% 97.641%,18.534% 97.607%,17.838% 97.632%,17.141% 97.655%,16.443% 97.662%,15.747% 97.694%,15.050% 97.712%,14.352% 97.706%,13.656% 97.775%,12.959% 97.801%,12.262% 97.800%,11.565% 97.831%,10.868% 97.842%,10.170% 97.843%,9.473% 97.860%,8.777% 97.885%,8.079% 97.899%,7.383% 97.936%,6.686% 97.946%,5.988% 97.962%,5.291% 97.969%,4.594% 97.980%,3.897% 97.990%,3.200% 98.000%,3.221% 97.070%,3.239% 96.140%,3.267% 95.210%,3.284% 94.280%,3.312% 93.351%,3.334% 92.421%,3.353% 91.491%,3.387% 90.561%,3.392% 89.631%,3.403% 88.701%,3.401% 87.770%,3.403% 86.840%,3.430% 85.910%,3.435% 84.979%,3.421% 84.048%,3.489% 83.120%,3.422% 82.187%,3.465% 81.258%,3.458% 80.327%,3.487% 79.397%,3.547% 78.469%,3.584% 77.540%,3.553% 76.608%,3.618% 75.680%,3.673% 74.751%,3.640% 73.819%,3.690% 72.890%,3.732% 71.961%,3.819% 71.033%,3.785% 70.102%,3.894% 69.175%,3.825% 68.242%,3.913% 67.314%,3.922% 66.384%,3.847% 65.451%,3.893% 64.522%,3.968% 63.593%,3.900% 62.661%,3.842% 61.728%,3.897% 60.799%,3.902% 59.869%,3.886% 58.938%,3.878% 58.007%,3.963% 57.079%,3.930% 56.147%,3.910% 55.216%,3.932% 54.286%,4.012% 53.358%,3.961% 52.426%,4.038% 51.498%,4.124% 50.570%,4.061% 49.637%,4.115% 48.709%,4.143% 47.779%,4.281% 46.853%,4.338% 45.924%,4.348% 44.994%,4.367% 44.064%,4.296% 43.131%,4.360% 42.203%,4.383% 41.273%,4.367% 40.342%,4.353% 39.411%,4.367% 38.481%,4.342% 37.549%,4.315% 36.617%,4.381% 35.689%,4.306% 34.756%,4.365% 33.827%,4.368% 32.897%,4.433% 31.968%,4.437% 31.038%,4.429% 30.107%,4.403% 29.176%,4.516% 28.249%,4.549% 27.319%,4.574% 26.390%,4.645% 25.461%,4.629% 24.530%,4.652% 23.600%,4.695% 22.671%,4.686% 21.740%,4.753% 20.812%,4.735% 19.881%,4.792% 18.952%,4.801% 18.022%,4.817% 17.092%,4.796% 16.160%,4.835% 15.231%,4.855% 14.301%,4.864% 13.371%,4.864% 12.440%,4.854% 11.509%,4.889% 10.580%,4.889% 9.649%,4.926% 8.720%,4.929% 7.789%,4.952% 6.860%,4.978% 5.930%);
  position:relative; isolation:isolate; color:var(--kf-color,#151511); background:var(--kf-panel,var(--koa-content-surface,#f8f1df));
  box-sizing:border-box; contain:inline-size; max-width:none;
  font-family:var(--koa-font-body,"KO Open Sans",Arial,sans-serif);
}
.koa-festival *, .koa-festival *::before, .koa-festival *::after { box-sizing:border-box; }
.koa-festival__inner { overflow:clip; position:relative; left:var(--kf-viewport-left,0px); display:grid; grid-template-columns:var(--kf-grid); align-items:center; gap:var(--kf-gap); width:var(--kf-viewport-width,100%); max-width:none; margin:0; padding:clamp(2.5rem,4vw,5rem) clamp(1rem,4vw,5rem); background:inherit; }
.koa-festival__copy { position:relative; z-index:3; min-width:0; width:100%; justify-self:var(--kf-align); align-self:var(--kf-align); padding-block:.5rem 1rem; transform:translateX(var(--kf-copy-offset,0px)); }
.koa-festival--overlap-copy .koa-festival__copy { width:calc(100% + var(--kf-extra)); }
.koa-festival--overlap-heading .koa-festival__title { width:calc(100% + var(--kf-extra)); margin-left:var(--kf-heading-shift); }
.koa-festival__eyebrow { margin:0 0 1.35rem; font-family:"Koa Festival Kalam",cursive; font-size:clamp(1.25rem,2vw,2rem); font-weight:700; line-height:1.35; transform:rotate(-2deg); transform-origin:left; color:inherit; }
.koa-festival .koa-festival__title { margin-block:0 1.6rem; color:inherit; font:400 var(--kf-heading)/1.03 var(--koa-font-display,"KO Luckiest Guy","Arial Black",sans-serif); letter-spacing:.005em; overflow-wrap:anywhere; text-shadow:2px 0 #f8f1df,-2px 0 #f8f1df,0 2px #f8f1df,0 -2px #f8f1df; }
.koa-festival__title span { display:block; }
.koa-festival__text { position:relative; margin:0 0 2rem; padding-bottom:1.15rem; max-width:34em; font-size:var(--kf-body); line-height:1.65; white-space:pre-line; overflow-wrap:anywhere; }
.koa-festival__text::after { content:""; position:absolute; bottom:0; left:0; width:min(90%,19rem); height:12px; background:var(--kf-accent); clip-path:polygon(0 38%,50% 4%,99% 33%,89% 58%,29% 63%,6% 87%,18% 60%,0 70%); }
.koa-festival .koa-festival__button { display:inline-flex; align-items:center; gap:.75rem; padding:.85rem 1.2rem; max-width:100%; min-height:48px; color:#f8f1df; background:#151511; border:2px solid #151511; border-radius:2px 7px 3px 5px; box-shadow:3px 3px 0 var(--kf-accent); font:400 1.25rem/1.3 var(--koa-font-display,"KO Luckiest Guy",sans-serif); text-decoration:none; overflow-wrap:anywhere; }
.koa-festival__gallery { position:relative; min-width:0; order:1; padding:1.5rem .5rem .5rem; }
.koa-festival__stage { position:relative; }
.koa-festival__track { display:grid; gap:2rem; }
.koa-festival__slide { position:relative; min-width:0; margin:0; padding:0; }
.koa-festival--ready .koa-festival__track { gap:0; }
.koa-festival--ready .koa-festival__slide { grid-area:1/1; visibility:hidden; pointer-events:none; }
.koa-festival--ready .koa-festival__slide.is-active { visibility:visible; pointer-events:auto; }
.koa-festival__opening { position:relative; aspect-ratio:var(--kf-ratio); isolation:isolate; }
.koa-festival__photo { position:absolute; inset:0; padding:var(--kf-inset,5%); background-color:#e0d3b6; background-image:linear-gradient(#e0d3b6d9,#e0d3b6d9),url("assets/paper.svg"); background-size:auto,512px 512px; clip-path:var(--kf-tear); }
.koa-festival__photo img { display:block; width:100%; height:100%; max-width:none; object-fit:var(--kf-fit); object-position:var(--kf-position); user-select:none; }
.koa-festival__caption { position:relative; z-index:2; margin:calc(-1 * var(--kf-sign-inset)) 0 0 auto; padding:1rem clamp(1.5rem,4vw,4rem) calc(var(--kf-sign-stick) + 1rem); width:100%; display:flex; flex-direction:column; align-items:flex-end; }
.koa-festival__sign { position:relative; isolation:isolate; width:max-content; max-width:95%; padding:0; color:var(--kf-sign-ink); text-align:center; font:700 var(--kf-caption)/1.25 "Koa Festival Kalam",cursive; white-space:normal; overflow-wrap:anywhere; transform:rotate(var(--kf-sign-angle)); transform-origin:60% 100%; }
/* Keep unusually long captions readable; they must not rotate out of the viewport. */
.koa-festival__sign--long { transform:none; }
.koa-festival__description { position:relative; margin:calc(var(--kf-sign-stick) + 1.75rem) 0 calc(-1 * var(--kf-sign-stick)); font-size:clamp(1rem,1.2vw,1.2rem); line-height:1.5; white-space:pre-line; overflow-wrap:anywhere; max-width:100%; }
.koa-festival__doodles { position:absolute; inset:0; pointer-events:none; z-index:2; }
.koa-festival__doodle { position:absolute; top:0; right:2%; width:min(var(--kf-corner-size),30%); height:auto; aspect-ratio:1; object-fit:contain; transform:rotate(var(--kf-corner-angle)); }
.koa-festival .koa-festival__doodle, .koa-festival .koa-festival__doodle * { animation:none !important; transition:none !important; filter:none !important; }
.koa-festival .koa-festival__doodle [data-kf-corner] > :is(svg,img) { display:block; width:100%; height:100%; object-fit:contain; }
.koa-festival .koa-festival__doodle .ko-stift .ko-bunt { display:none; }
.koa-festival .koa-festival__doodle path { stroke-dasharray:none !important; stroke-dashoffset:0 !important; }
.koa-festival__frame { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.koa-festival__controls { position:absolute; z-index:4; inset:0 0 auto; aspect-ratio:var(--kf-ratio); display:flex; align-items:flex-end; justify-content:center; padding-bottom:max(20px,6%); pointer-events:none; }
.koa-festival__navigation { position:absolute; z-index:5; inset:0 0 auto; aspect-ratio:var(--kf-ratio); pointer-events:none; }
.koa-festival [hidden] { display:none !important; }
.koa-festival__arrow, .koa-festival__play { cursor:pointer; color:#151511; background:#f8f1df; border:2px solid #151511; min-height:48px; font:600 1rem/1.3 var(--koa-font-body,"KO Open Sans",sans-serif); box-shadow:2px 2px 0 #151511; }
.koa-festival__arrow { position:absolute; top:50%; transform:translateY(-50%); width:clamp(48px,4vw,68px); height:clamp(48px,4vw,68px); padding:0; border-radius:49% 44% 46% 43%; font-size:clamp(1.8rem,2.6vw,2.5rem); pointer-events:auto; }
.koa-festival__arrow--prev { left:5%; }
.koa-festival__arrow--next { right:5%; }
.koa-festival .koa-festival__play { pointer-events:auto; display:grid; place-items:center; width:var(--kf-control-size,68px); height:var(--kf-control-size,68px); padding:0; border:0; border-radius:50%; background:transparent; box-shadow:none; }
.koa-festival__play img { display:block; width:100%; height:100%; }
.koa-festival__arrow:hover { background:var(--kf-accent); }
.koa-festival :is(button,a,[tabindex]):focus-visible { outline:3px solid #153a73; outline-offset:5px; }
.koa-festival__sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.koa-festival__placeholder { padding:3rem 1.5rem; color:#151511; border:2px dashed #153a73; text-align:center; }
.koa-festival--empty .koa-festival__inner { grid-template-columns:minmax(0,1fr); }
.koa-festival--empty .koa-festival__copy { order:0; }
.koa-festival--empty { --kf-extra:0px !important; }
@media (max-width:767.98px) { .koa-festival--hide-sm { display:none; } }
@media (min-width:768px) {
  .koa-festival { --kf-text-x:var(--kf-md-text-x,0px); --kf-corner-size:var(--kf-md-corner-size,64px); --kf-corner-angle:var(--kf-md-corner-angle,9deg); }
  .koa-festival { --kf-extra:var(--kf-md-extra); --kf-align:var(--kf-md-align); --kf-heading-shift:var(--kf-md-heading-shift); --kf-sign-inset:var(--kf-md-sign-inset); --kf-sign-angle:var(--kf-md-sign-angle); --kf-sign-stick:var(--kf-md-sign-stick); }
  .koa-festival { --kf-grid:var(--kf-md-grid); --kf-copy-order:var(--kf-md-copy-order); --kf-ratio:var(--kf-md-ratio); --kf-fit:var(--kf-md-fit); --kf-position:var(--kf-md-position); --kf-heading:var(--kf-md-heading); --kf-body:var(--kf-md-body); --kf-caption:var(--kf-md-caption); --kf-inset:var(--kf-md-inset); }
}
@media (min-width:768px) and (max-width:991.98px) { .koa-festival--hide-md { display:none; } }
@media (min-width:992px) {
  .koa-festival { --kf-text-x:var(--kf-lg-text-x,0px); --kf-corner-size:var(--kf-lg-corner-size,72px); --kf-corner-angle:var(--kf-lg-corner-angle,9deg); }
  .koa-festival { --kf-extra:var(--kf-lg-extra); --kf-align:var(--kf-lg-align); --kf-heading-shift:var(--kf-lg-heading-shift); --kf-sign-inset:var(--kf-lg-sign-inset); --kf-sign-angle:var(--kf-lg-sign-angle); --kf-sign-stick:var(--kf-lg-sign-stick); }
  .koa-festival { --kf-grid:var(--kf-lg-grid); --kf-copy-order:var(--kf-lg-copy-order); --kf-ratio:var(--kf-lg-ratio); --kf-fit:var(--kf-lg-fit); --kf-position:var(--kf-lg-position); --kf-heading:var(--kf-lg-heading); --kf-body:var(--kf-lg-body); --kf-caption:var(--kf-lg-caption); --kf-inset:var(--kf-lg-inset); }
}
@media (min-width:992px) and (max-width:1199.98px) { .koa-festival--hide-lg { display:none; } }
@media (min-width:1200px) {
  .koa-festival { --kf-text-x:var(--kf-xl-text-x,0px); --kf-corner-size:var(--kf-xl-corner-size,80px); --kf-corner-angle:var(--kf-xl-corner-angle,9deg); }
  .koa-festival { --kf-extra:var(--kf-xl-extra); --kf-align:var(--kf-xl-align); --kf-heading-shift:var(--kf-xl-heading-shift); --kf-sign-inset:var(--kf-xl-sign-inset); --kf-sign-angle:var(--kf-xl-sign-angle); --kf-sign-stick:var(--kf-xl-sign-stick); }
  .koa-festival { --kf-grid:var(--kf-xl-grid); --kf-copy-order:var(--kf-xl-copy-order); --kf-ratio:var(--kf-xl-ratio); --kf-fit:var(--kf-xl-fit); --kf-position:var(--kf-xl-position); --kf-heading:var(--kf-xl-heading); --kf-body:var(--kf-xl-body); --kf-caption:var(--kf-xl-caption); --kf-inset:var(--kf-xl-inset); }
  .koa-festival--hide-xl { display:none; }
}
@media (prefers-reduced-motion:no-preference) { .koa-festival--ready .koa-festival__slide.is-active .koa-festival__photo { animation:kf-reveal .2s ease-out; } }
@keyframes kf-reveal { from { opacity:.4; } to { opacity:1; } }

/* Original artwork stays fully coloured, including at every slide change. */
.koa-festival__sign-label { position:relative; display:block; z-index:1; white-space:pre-line; }
.koa-festival .koa-festival__art { position:absolute; display:block; pointer-events:none; max-width:none; overflow:visible; }
.koa-festival__art--board { inset:0; width:100%; height:100%; z-index:-1; }
.koa-festival__art--stem { top:92%; left:32.31%; width:20.77%; height:var(--kf-sign-stick); z-index:-2; }
.koa-festival__scribble path { stroke-dasharray:none; stroke-dashoffset:0; }

/* One fixed mounting point and ground point; each board only changes width. */
.koa-festival__sign-board { position:relative; isolation:isolate; width:max-content; max-width:100%; padding:.7em 1.5em .7em .7em; min-height:2.7em; }
.koa-festival__sign--long .koa-festival__sign-board { font-size:18px; }
.koa-festival__art--bolts { top:0; left:40%; width:3.4%; height:100%; }
.koa-festival--anchored .koa-festival__inner { padding-top:calc(clamp(2.5rem,4vw,5rem) + var(--kf-sign-clearance,0px)); }
.koa-festival--anchored .koa-festival__gallery { padding-bottom:.5rem; }
.koa-festival--anchored .koa-festival__caption { position:static; margin:0; padding:var(--kf-sign-floor,0px) 0 0; }
.koa-festival--anchored .koa-festival__sign { position:absolute; left:var(--kf-tip-x); top:var(--kf-tip-y); width:0; height:0; padding:0; max-width:none; transform:rotate(var(--kf-sign-angle)); transform-origin:0 0; z-index:2; }
.koa-festival--anchored .koa-festival__sign-board { position:absolute; left:0; top:calc(-.493 * var(--kf-board-height,0px)); transform:translateX(-100%); min-width:var(--kf-board-min,0px); width:max-content; max-width:var(--kf-board-max,80vw); height:var(--kf-board-height,auto); display:flex; align-items:center; justify-content:center; }
.koa-festival--anchored .koa-festival__art--stem { left:calc(-1 * var(--kf-mount) - .48148 * var(--kf-stem-width)); top:var(--kf-stem-top); width:var(--kf-stem-width); height:var(--kf-stem-length); }
.koa-festival--anchored .koa-festival__art--bolts { left:calc(-1 * var(--kf-mount) - var(--kf-board-height) * 4 / 66); top:calc(-.493 * var(--kf-board-height)); width:calc(var(--kf-board-height) * 8 / 66); height:var(--kf-board-height); }
.koa-festival--anchored .koa-festival__description { margin:1.75rem 0 0; }
/* The browser's modal top layer isolates focus and escapes parent clipping. */
.koa-festival .koa-festival__dialog { inset:0; margin:auto; padding:0; width:min(1120px,calc(var(--kf-viewport-width,100vw) - 24px)); height:min(920px,calc(var(--kf-viewport-height,100dvh) - 24px)); max-width:none; max-height:none; border:3px solid #151511; border-radius:6px 14px 7px 12px; color:#151511; background:#151511; box-shadow:8px 8px 0 #15151166; overflow:hidden; font-family:var(--koa-font-body,'KO Open Sans',Arial,sans-serif); }
.koa-festival__dialog:not([open]) { display:none; }
.koa-festival__dialog::backdrop { background:#151511d9; }
.koa-festival__modal-shell { position:relative; width:100%; height:100%; }
.koa-festival__close { position:absolute; top:12px; right:12px; z-index:2; display:grid; place-items:center; width:48px; height:48px; padding:0; border:2px solid #151511; border-radius:50%; color:#151511; background:#ffe34d; box-shadow:0 2px 12px #15151166; cursor:pointer; font:32px/1 Arial,sans-serif; }
.koa-festival__modal-stage { position:absolute; inset:0; padding:0; touch-action:pan-y; }
.koa-festival__modal-image { width:100%; height:100%; }
.koa-festival__modal-image img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:var(--kf-position,50% 50%); }
.koa-festival__dialog .koa-festival__arrow { display:grid; place-items:center; top:50%; transform:translateY(-50%); line-height:1; opacity:1; pointer-events:auto; width:clamp(56px,5vw,72px); height:clamp(56px,5vw,72px); z-index:1; padding:0; border:0; color:#151511; background:transparent; box-shadow:none; }
.koa-festival__dialog .koa-festival__arrow img { display:block; width:100%; height:100%; }
.koa-festival__dialog .koa-festival__arrow:hover { background:transparent; filter:brightness(1.08); }
.koa-festival__dialog .koa-festival__arrow--prev { left:12px; }
.koa-festival__dialog .koa-festival__arrow--next { right:12px; }

/* Optional drawings occupy their own space around the copy, never its text lines. */
.koa-festival__copy-area { position:relative; min-width:0; order:var(--kf-copy-order); align-self:stretch; display:flex; flex-direction:column; justify-content:center; }
.koa-festival--empty .koa-festival__copy-area { order:0; }
.koa-festival__decor-top { flex:1; min-height:max-content; padding:min(60px,4vw) min(60px,4vw) calc(min(60px,4vw) + 3vw); display:flex; align-items:flex-start; }
.koa-festival__decor-bottom { flex:1; padding:calc(min(60px,4vw) + 16px) min(60px,4vw) min(60px,4vw); display:grid; grid-template-columns:1fr 1fr; align-content:end; gap:16px; }
.koa-festival__decor { display:block; width:min(var(--kf-decor-size),100%,16vw); aspect-ratio:1; flex:none; pointer-events:none; transform:rotate(var(--kf-decor-angle)); }
.koa-festival__decor-top .koa-festival__decor { max-width:40%; }
.koa-festival__decor--2 { grid-column:2; grid-row:1; justify-self:end; }
.koa-festival__decor--3 { grid-column:1; grid-row:2; justify-self:center; }
.koa-festival .koa-festival__decor > :is(svg,img), .koa-festival [data-kf-corner] { display:block; width:100%; height:100%; object-fit:contain; }
.koa-festival .koa-festival__decor, .koa-festival .koa-festival__decor * { animation:none !important; transition:none !important; filter:none !important; }
.koa-festival .koa-festival__decor .ko-stift .ko-bunt { display:none; }
.koa-festival .koa-festival__decor path { stroke-dasharray:none !important; stroke-dashoffset:0 !important; }
