/* Kermis op de Kermis Handel — the village bill pasted on the tent canvas */

@font-face { font-family: "Big Shoulders Display"; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/BigShouldersDisplay.woff2) format("woff2"); }
@font-face { font-family: "Alfa Slab One"; font-weight: 400; font-display: swap; src: url(../assets/fonts/AlfaSlabOne.woff2) format("woff2"); }
@font-face { font-family: "Toonish"; font-weight: 400; font-display: swap; src: url(../assets/fonts/Toonish.ttf) format("truetype"); }
@font-face { font-family: "Archivo"; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/Archivo.woff2) format("woff2"); }

:root {
  /* Fixed palette: red, white, blue, purple and black (gold only for the ticket seal and actions) */
  --red: #c8161d;
  --red-hi: #d01820;
  --ink: #111111;
  --ox: #111111;
  --paper: #ffffff;
  --fr: #c8161d;
  --za: #1458b8;
  --zo: #5b2a86;
  --gold: #f6c962;
  --gold-deep: #d9a332;
  --blue: #1458b8;
  --pink: #d67095;
  --sun: #ffd84a;
  --stripe-white: #ffffff;

  /* Act lettering, sampled from the 2026 poster */
  --c-orange: #ee7e2a;
  --c-pink: #f08fb4;
  --c-yellow: #fcc928;
  --c-sky: #8fcbec;
  --c-green: #12a14a;
  --c-lavender: #8a7fc0;
  --c-coral: #ec5a3c;
  --c-purple: #9a54ad;

  --font-wood: "Big Shoulders Display", "Arial Narrow", sans-serif;
  /* Titles; Toonish lacks ? · € so those glyphs fall back to the wood type. */
  --font-title: "Toonish", "Big Shoulders Display", sans-serif;
  --font-slab: "Alfa Slab One", Georgia, serif;
  --font-body: "Archivo", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --bill-max: 1240px;
  /* Real paper: soft cloudiness and fibres, tileable, colour baked in (assets/paper.webp, 512px). */
  --paper-texture: url(../assets/paper.webp);
  --shadow-bill: 0 2px 3px rgb(20 25 50 / .25), 0 22px 48px -12px rgb(20 25 50 / .55);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .14 0 0 0 0 .28 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--red) var(--ox); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ox);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-body);
  caret-color: var(--red);
  overflow-x: clip;
}
::selection { background: var(--gold); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
/* Rotated bills and seals poke past the gutter; keep that off the page width. */
main, .footer { overflow-x: clip; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.16em; }

.skip {
  position: fixed; left: 16px; top: -100px; z-index: 100;
  background: var(--paper); padding: .6em 1em; font-weight: 700; box-shadow: var(--shadow-bill);
}
.skip:focus { top: 16px; }

/* Placeholder label: things the organiser still has to confirm */
.placeholder {
  display: inline-block;
  margin-left: .35em;
  padding: .1em .5em;
  background: var(--sun);
  color: var(--ink);
  border: 1.5px dashed var(--ink);
  font: 700 .75rem/1.4 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: .2em;
  white-space: nowrap;
}

/* ---------- Tent canvas behind everything ---------- */
.tent { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.tent__stripes {
  position: absolute; inset: -10% -5% -30%;
  background:
    repeating-linear-gradient(90deg, var(--red-hi) 0 clamp(64px, 9vw, 130px), var(--stripe-white) 0 clamp(128px, 18vw, 260px));
  will-change: transform;
}
.tent::after {
  /* canvas weave + shading of folds */
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgb(0 0 0 / .07) 0, transparent 5px, transparent calc(clamp(64px, 9vw, 130px) - 5px), rgb(0 0 0 / .07) clamp(64px, 9vw, 130px)),
    var(--paper-grain);
  mix-blend-mode: multiply;
}

/* ---------- Bills (pasted posters) ---------- */
.bill {
  --tilt: -.6deg;
  position: relative;
  width: min(100% - 2 * var(--gutter), var(--bill-max));
  margin-inline: auto;
  background: var(--paper-grain), var(--paper-texture) var(--paper);
  box-shadow: var(--shadow-bill), inset 0 0 0 1px rgb(22 22 22 / .06), inset 0 0 50px rgb(120 120 130 / .08);
  rotate: var(--tilt);
}

/* ---------- Top bar (appears after the hero) ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: .5rem var(--gutter);
  background: var(--paper-grain), var(--paper-texture) var(--paper);
  box-shadow: 0 8px 24px -10px rgb(20 25 50 / .6);
  translate: 0 -110%;
  transition: translate 260ms cubic-bezier(.23, 1, .32, 1);
}
.topbar.is-visible { translate: 0 0; }
.topbar__logo img { width: 52px; height: auto; }
.topbar__nav { display: flex; gap: clamp(.8rem, 2vw, 1.8rem); margin-left: auto; font: 400 1rem var(--font-slab); }
.topbar__nav a { text-decoration: none; padding: .4em 0; }
.topbar__nav a:hover { color: var(--red); text-decoration: underline; }
.topbar__cta {
  font: 400 1rem var(--font-slab); text-decoration: none;
  background: var(--gold); color: var(--ink); padding: .55em 1.1em; border-radius: 999px;
  box-shadow: 0 3px 8px -2px rgb(20 25 50 / .45);
  transition: background .2s, translate .2s var(--ease-out);
}
@media (max-width: 720px) {
  .topbar__nav { display: none; }
  .topbar__cta { margin-left: auto; }
}

/* ---------- Hero bill ---------- */
/* The hero bill is a photo print: a paper border round crossfading tent photos, a garland of bulbs over the top edge. */
.bill--hero {
  --tilt: -.8deg;
  /* Bills are stacking contexts; earlier bills sit above later ones so seals overlap the next bill's tape. */
  z-index: 2;
  --frame: clamp(10px, 1.1vw, 16px);
  --hero-pad-top: calc(var(--frame) + clamp(14px, 2.4vw, 30px));
  display: flex; flex-direction: column;
  min-height: clamp(460px, 68vh, 720px);
  margin-top: clamp(56px, 7vw, 96px);
  padding: var(--hero-pad-top) calc(var(--frame) + clamp(16px, 3.4vw, 44px)) calc(var(--frame) + clamp(22px, 3.4vw, 40px));
}
.hero__photos { position: absolute; inset: var(--frame); overflow: hidden; background: #111; }
.hero__photos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(10 8 20 / .92) 0%, rgb(10 8 20 / .5) 38%, rgb(10 8 20 / 0) 64%), linear-gradient(to bottom, rgb(10 8 20 / .55) 0%, rgb(10 8 20 / 0) 22%); }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero__photo:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  /* Eight photos, six seconds each; negative first delay so a photo is showing from the first frame. */
  .hero__photo { animation: hero-fade 48s infinite, hero-zoom 48s infinite linear; }
  .hero__photo:first-child { opacity: 0; }
  .hero__photo:nth-child(1) { animation-delay: -1s; }
  .hero__photo:nth-child(2) { animation-delay: 5s; }
  .hero__photo:nth-child(3) { animation-delay: 11s; }
  .hero__photo:nth-child(4) { animation-delay: 17s; }
  .hero__photo:nth-child(5) { animation-delay: 23s; }
  .hero__photo:nth-child(6) { animation-delay: 29s; }
  .hero__photo:nth-child(7) { animation-delay: 35s; }
  .hero__photo:nth-child(8) { animation-delay: 41s; }
}
@keyframes hero-fade { 0% { opacity: 0 } 2% { opacity: 1 } 12.5% { opacity: 1 } 15% { opacity: 0 } 100% { opacity: 0 } }
@keyframes hero-zoom { 0% { scale: 1 } 15% { scale: 1.08 } 100% { scale: 1.08 } }
.hero__garland { position: absolute; z-index: 3; left: -1.5%; top: calc(-1 * clamp(14px, 2.2vw, 30px)); width: 103%; height: clamp(56px, 9vw, 120px); overflow: visible; pointer-events: none; }
.hero__garland .bulb { animation: bulb-twinkle 1.5s ease-in-out infinite; animation-delay: calc(var(--p) * -.5s); }
@keyframes bulb-twinkle { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }
@media (prefers-reduced-motion: reduce) { .hero__garland .bulb { animation: none; } }
.hero__head, .hero__date, .hero__sub { position: relative; z-index: 2; }
.hero__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
/* The logo is pasted on top of the bill and sticks out above its top edge. */
.hero__logo {
  position: relative; z-index: 4;
  width: clamp(150px, min(19vw, 26vh), 250px); height: auto;
  margin-top: calc(-1 * clamp(56px, 7vw, 96px) - var(--hero-pad-top) + 12px);
  rotate: -4deg;
  filter: drop-shadow(0 8px 12px rgb(20 25 50 / .35));
}
.hero__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem clamp(.9rem, 2.4vw, 2.2rem); font: 400 clamp(1rem, 1.4vw, 1.2rem) var(--font-slab); padding-top: .6rem; }
.hero__nav a { color: #fff; text-shadow: 0 2px 8px rgb(0 0 0 / .6); text-decoration: none; padding: .3em 0; border-bottom: 3px solid transparent; transition: border-color .2s, color .2s; }
.hero__nav a:hover { color: var(--gold); border-color: currentColor; }

.hero__date {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .2em; row-gap: .06em;
  margin-top: auto; padding-top: clamp(1.8rem, 3.4vw, 3.2rem);
  font: 400 clamp(3.6rem, min(12vw, 17vh), 10rem)/.88 var(--font-title);
  font-synthesis: none;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__days, .hero__month, .hero__year {
  display: inline-block;
  /* Double outline like the poster: white stroke inside a black dilate ring. */
  -webkit-text-stroke: .08em #fff; paint-order: stroke fill;
  filter: url(#outline-hero);
}
@media (max-width: 760px) { .hero__days, .hero__month, .hero__year { filter: url(#outline-m); } }
@media (min-width: 1100px) {
  /* One line of title type keeps the whole date readable in the first viewport. */
  .hero__date { flex-wrap: nowrap; font-size: min(7.05vw, 12.2vh, 7.5rem); }
}
.hero__month { color: var(--red); }
.hero__days, .hero__year { color: var(--blue); }
/* Air around the dots so 24 · 25 · 26 read as three separate days. */
.hero__days { white-space: nowrap; }
.hero__sep { display: inline-block; margin-inline: .14em; }
.hero__sub {
  margin: clamp(.6rem, 1.2vw, 1rem) 0 clamp(1rem, 2vw, 1.6rem);
  font: 400 clamp(1.15rem, 2.2vw, 1.9rem)/1.15 var(--font-slab);
  color: #fff;
  text-shadow: 0 2px 10px rgb(0 0 0 / .6);
  max-width: 30ch;
  text-wrap: balance;
}

/* Gold seal */
.seal {
  position: absolute; display: grid; place-items: center; align-content: center;
  width: clamp(128px, 17vw, 236px); aspect-ratio: 1;
  text-align: center; text-decoration: none; color: var(--ink);
  filter: drop-shadow(0 10px 14px rgb(20 25 50 / .45));
  rotate: 9deg;
  transition: scale .4s var(--ease-out), rotate .4s var(--ease-out);
  z-index: 2;
}
.seal__shape { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--gold); stroke: var(--gold-deep); stroke-width: 1.2; }
/* The rosette turns slowly on the compositor; browsers pause it off-screen. */
@media (prefers-reduced-motion: no-preference) {
  .seal__shape { animation: rosette 50s linear infinite; }
}
@keyframes rosette { to { rotate: 360deg; } }
.seal::before {
  content: ""; position: absolute; inset: 13%; border-radius: 50%;
  border: 2px solid rgb(22 22 22 / .55);
  box-shadow: inset 0 0 0 5px var(--gold), inset 0 0 0 6.5px rgb(22 22 22 / .3);
}
.seal__text { position: relative; font: 400 clamp(1.15rem, 2.2vw, 1.95rem)/1 var(--font-slab); }
.seal__small { position: relative; margin-top: .3em; font: 700 clamp(.72rem, .9vw, .9rem) var(--font-body); letter-spacing: .08em; }
.seal:focus-visible { outline-offset: 6px; border-radius: 50%; }
/* Without the day strips the bill is short, so the seal sits on the bottom edge, clear of the date. */
.seal--hero { z-index: 4; right: clamp(-30px, -2vw, -12px); bottom: clamp(-80px, -5.5vw, -50px); width: clamp(128px, 14vw, 200px); }
@media (max-width: 760px) {
  .seal--hero { top: auto; bottom: -46px; right: 6px; width: 120px; }
  .bill--hero { margin-bottom: 40px; padding-bottom: calc(var(--frame) + 84px); min-height: clamp(520px, 82vh, 680px); }
  }

/* ---------- Section titles: a pasted paper strip ---------- */
.section-title {
  display: flex; flex-wrap: wrap; column-gap: .25em;
  width: fit-content;
  margin: 0 auto clamp(28px, 4vw, 52px);
  /* No paper strip: the double outline carries the title straight on the tent canvas. */
  padding: .1em .15em;
  font: 400 clamp(2.3rem, 6.5vw, 5.4rem)/.95 var(--font-title);
  font-synthesis: none;
  text-transform: uppercase;
  color: var(--blue); /* the poster's date-line blue */
  rotate: -1.4deg;
  text-wrap: balance;
}
.section-title > span {
  display: inline-block;
  /* Same double outline as the act names: white stroke inside a black dilate ring. */
  -webkit-text-stroke: .1em #fff; paint-order: stroke fill;
  filter: url(#outline-l);
}
.section-title--ink { background: none; box-shadow: none; padding: 0 0 0 .1em; margin-left: 0; rotate: 0deg; }
@media (max-width: 760px) { .section-title > span { filter: url(#outline-m); } }

/* ---------- Line-up: day bills ---------- */
.lineup { padding-top: clamp(80px, 12vw, 160px); }
/* Each day is a photo poster: the tent photo printed in the day's colour, the line-up stamped over it, play times on a paper strip. */
.day {
  --tilt: .5deg;
  position: relative; isolation: isolate;
  width: min(100% - 2 * var(--gutter), var(--bill-max));
  min-height: clamp(540px, 60vw, 700px);
  margin: 0 auto clamp(40px, 6vw, 84px);
  display: grid; grid-template-rows: 1fr auto;
  background: var(--band); color: #fff;
  box-shadow: var(--shadow-bill);
  rotate: var(--tilt);
  scroll-margin-top: 90px;
}
.day:nth-of-type(2) { --tilt: -.7deg; }
.day:nth-of-type(3) { --tilt: .3deg; }
.day--fr { --band: var(--fr); }
.day--za { --band: var(--za); }
.day--zo { --band: var(--zo); }

/* Duotone: a grey photo multiplied onto the day colour, darkened towards the bottom so the type stays readable. */
.day__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; isolation: isolate; background: var(--band); }
.day__bg img {
  position: absolute; left: 0; top: -10%; width: 100%; height: 120%; max-width: none;
  object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.08); mix-blend-mode: multiply;
}
.day__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .1) 0%, rgb(0 0 0 / .32) 55%, rgb(0 0 0 / .58) 100%); }

.day__content {
  display: grid; justify-items: center; align-content: center; gap: clamp(14px, 2vw, 24px);
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px) clamp(28px, 4vw, 44px);
  text-align: center;
}
.day__name {
  font: 400 clamp(1.8rem, 3.6vw, 2.8rem)/1 var(--font-slab); color: #fff;
  -webkit-text-stroke: .16em #111; paint-order: stroke fill; letter-spacing: .02em;
}
.day__name span { font-size: max(.62em, 1.05rem); margin-left: .25em; }
.day__meta {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 clamp(1rem, 1.3vw, 1.15rem) var(--font-body); color: #fff;
  -webkit-text-stroke: 4px #111; paint-order: stroke fill; letter-spacing: .02em;
}
.day__meta .ico { stroke-width: 3; filter: drop-shadow(0 0 1.5px #111) drop-shadow(0 0 1.5px #111); }

.acts { container-type: inline-size; width: 100%; display: grid; justify-items: center; }
.act { padding-bottom: .04em; }
.act > span {
  display: inline-block; font-family: var(--font-title); font-weight: 400; font-synthesis: none; text-transform: uppercase; line-height: .95; letter-spacing: .01em;
  color: var(--c, var(--ink));
  /* Poster lettering: white inner outline (stroke) inside a black outer outline (SVG dilate filter). */
  -webkit-text-stroke: .11em #fff; paint-order: stroke fill;
  filter: url(#outline-m);
}
.act small {
  margin-left: .3em; font: 400 clamp(1rem, 2.4cqi, 1.6rem)/1 var(--font-title); text-transform: uppercase; vertical-align: .9em;
  color: #fff; -webkit-text-stroke: 4px #111; paint-order: stroke fill;
}
.act--xl > span { font-size: clamp(2.6rem, 11cqi, 8rem); filter: url(#outline-xl); }
.act--l > span { font-size: clamp(2rem, 7.6cqi, 5.6rem); filter: url(#outline-l); }
.act--m > span { font-size: clamp(1.6rem, 5.6cqi, 4rem); }
.act--s > span { font-size: clamp(1.4rem, 4.4cqi, 3rem); filter: url(#outline-s); }
.act + .act { margin-top: .15em; }

.day__tt { background: var(--paper-grain), var(--paper-texture) var(--paper); color: var(--ink); padding: clamp(12px, 1.6vw, 18px) clamp(18px, 3vw, 36px); box-shadow: 0 -6px 18px -10px rgb(0 0 0 / .5); }
.day__tt ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.8rem; font-weight: 600; }
.day__tt time { font: 400 1.05rem var(--font-slab); font-variant-numeric: tabular-nums; }
/* End time is secondary: the next start already implies it, so it reads quieter. */
.day__tt .tt__end { margin-right: .45em; font: 700 .85rem var(--font-body); font-variant-numeric: tabular-nums; opacity: .6; }

@media (max-width: 760px) {
  .day { min-height: 0; }
  .day__content { padding-block: 40px 30px; }
  .day__meta { display: block; text-align: center; }
  .day__meta .ico { margin-right: .35em; }
  .day__tt ul { display: grid; justify-content: stretch; gap: 0; }
  .day__tt li { display: grid; grid-template-columns: 3.4rem 3.6rem 1fr; align-items: baseline; padding: .4rem 0; border-bottom: 1.5px dotted rgb(22 22 22 / .4); }
  .day__tt li:last-child { border-bottom: 0; }
}

/* ---------- Tickets ---------- */
.bill--tickets {
  --tilt: -.4deg;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(26px, 4.5vw, 64px) clamp(18px, 4vw, 56px) clamp(36px, 5vw, 72px);
  scroll-margin-top: 90px;
}
.stubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.stub {
  --notch: 13px;
  position: relative;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: .35rem;
  padding: 2rem 1.2rem 1.2rem;
  min-height: 16rem;
  /* Roll-ticket notches, painted in bill paper so a sticker may overhang the stub. */
  background-image:
    radial-gradient(circle at 0 62%, var(--paper) var(--notch), #0000 calc(var(--notch) + .5px)),
    radial-gradient(circle at 100% 62%, var(--paper) var(--notch), #0000 calc(var(--notch) + .5px));
  filter: drop-shadow(0 6px 8px rgb(20 25 50 / .3));
  transition: translate .35s var(--ease-out), rotate .35s var(--ease-out);
}
.stub::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; top: 62%; border-top: 2px dashed currentColor; opacity: .55; }
.stub:nth-child(odd) { rotate: -1.2deg; }
.stub:nth-child(even) { rotate: 1deg; }
.stub--fr { background-color: var(--fr); color: #fff; }
.stub--za { background-color: var(--za); color: var(--paper); }
.stub--combi { background-color: var(--zo); color: #fff; }
/* "Meest gekozen": a pink poster sticker slapped over the corner of the weekend ticket. */
.stub__sticker {
  position: absolute; top: -1.6rem; left: 50%; z-index: 2;
  translate: -50% 0; rotate: -4deg;
  padding: .45em .9em .35em; border-radius: 999px;
  background: var(--blue); color: #fff;
  border: 3px solid #fff; box-shadow: 0 0 0 3px #111, 0 8px 14px -6px rgb(20 25 50 / .55);
  font: 400 1.2rem/1 var(--font-title); text-transform: uppercase; white-space: nowrap;
}
.stub__day { font: 400 clamp(1.2rem, 1.55vw, 1.55rem)/1 var(--font-slab); }
.stub__date { font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.stub__price { align-self: end; padding-bottom: .9rem; font: 900 clamp(2.8rem, 4.6vw, 3.8rem)/.9 var(--font-wood); font-variant-numeric: tabular-nums; }
.stub__price small { display: block; margin-bottom: .1em; font: 700 .9rem/1 var(--font-body); letter-spacing: .04em; }
.stub__btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: .5rem; padding: .7em .95em; min-height: 44px;
  background: var(--paper); color: var(--ink);
  font: 400 1rem var(--font-slab); text-decoration: none;
  border-radius: 999px;
  transition: background .2s;
}
.stub__btn:hover { background: var(--gold); }
.stub__btn--quiet:hover { background: transparent; }
.stub__btn--quiet { background: transparent; color: inherit; border: 2px solid currentColor; justify-content: center; font-family: var(--font-body); font-weight: 700; }
.seal--tickets .seal__text { font-size: clamp(.95rem, 1.45vw, 1.3rem); }
.bill--tickets { z-index: 1; }
.seal--tickets { right: clamp(-14px, -1vw, -6px); bottom: clamp(-70px, -5vw, -40px); width: clamp(120px, 13vw, 180px); rotate: -8deg; }
@media (max-width: 700px) { .stubs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .stubs { grid-template-columns: minmax(0, 1fr); }
  .stub__day { font-size: 1.3rem; }
  .stub__price { font-size: 2.5rem; }
  .stub { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; }
  .stub::after { display: none; }
  .stub__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; padding: 0; }
  .stub--combi { grid-template-columns: minmax(0, 1fr); }
  .stub--combi .stub__price { grid-column: 1; grid-row: 3; justify-self: start; }
  .stub__btn { grid-column: 1 / -1; }
  .stub { background-image: none; }
  .stub__sticker { top: 44%; left: auto; right: .9rem; translate: none; rotate: 5deg; font-size: .95rem; }
}

/* ---------- Sfeer collage ---------- */
.sfeer { padding: clamp(90px, 13vw, 170px) 0 clamp(40px, 6vw, 80px); }
.collage {
  width: min(100% - 2 * var(--gutter), var(--bill-max));
  margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(60px, auto); gap: clamp(14px, 2vw, 24px);
}
.collage { grid-auto-rows: clamp(24px, 3.4vw, 50px); }
.snap {
  position: relative; margin: 0;
  padding: clamp(8px, 1vw, 12px);
  background: var(--paper-grain), var(--paper-texture) var(--paper);
  box-shadow: 0 2px 3px rgb(20 25 50 / .25), 0 18px 34px -14px rgb(20 25 50 / .6);
}
.snap img { width: 100%; height: 100%; object-fit: cover; }
.snap--a { grid-column: 1 / span 7; grid-row: 1 / span 7; rotate: -1.8deg; }
.snap--b { grid-column: 8 / span 5; grid-row: 1 / span 11; rotate: 2.2deg; margin-top: 24px; z-index: 1; }
.snap--b img { object-position: 24% 50%; }
.snap--c { grid-column: 2 / span 5; grid-row: 8 / span 6; rotate: 1.4deg; margin-top: 10px; }
.snap--d { grid-column: 6 / span 7; grid-row: 12 / span 7; rotate: -1.6deg; z-index: 2; }
.snap--e { grid-column: 1 / span 5; grid-row: 15 / span 6; rotate: 2deg; margin-top: 20px; }
.snap--e img { object-position: 50% 35%; }
.snap--f { grid-column: 6 / span 7; grid-row: 19 / span 7; rotate: 1.2deg; margin-top: 16px; z-index: 1; }
@media (max-width: 760px) {
  .collage { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .snap { grid-column: 1 !important; grid-row: auto !important; margin: 0 !important; }
  .snap img { height: auto; aspect-ratio: 4 / 3; }
  .snap--b img { aspect-ratio: 4 / 5; }
  .snap:nth-child(even) { margin-left: 8% !important; }
  .snap:nth-child(odd) { margin-right: 8% !important; }
}

/* ---------- Praktisch ---------- */
.bill--info {
  --tilt: .5deg;
  padding: clamp(26px, 4.5vw, 64px) clamp(18px, 4vw, 56px);
  scroll-margin-top: 90px;
}
.info { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 3.5vw, 48px) clamp(24px, 5vw, 72px); margin-bottom: clamp(28px, 4vw, 48px); }
.info__block h3 { display: flex; align-items: center; gap: .45em; margin-bottom: .55rem; font: 400 clamp(1.35rem, 2vw, 1.7rem) var(--font-slab); color: var(--blue); }
.info__block p { max-width: 46ch; }
.hours { display: grid; max-width: 26rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1.5px dotted rgb(22 22 22 / .4); }
.hours dt { font-weight: 600; }
.hours dd { font-variant-numeric: tabular-nums; font-weight: 700; }
.link { display: inline-flex; align-items: center; gap: .35em; margin-top: .7rem; font-weight: 700; color: var(--red); }
.link:hover { color: var(--ink); }
@media (max-width: 680px) { .info { grid-template-columns: 1fr; } }

.faq { border-top: 3px solid var(--ink); }
.faq:last-of-type { border-bottom: 3px solid var(--ink); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; cursor: pointer; list-style: none;
  font: 400 clamp(1.1rem, 1.6vw, 1.35rem) var(--font-slab);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(currentColor 0 0) center / 100% 3px no-repeat, linear-gradient(currentColor 0 0) center / 3px 100% no-repeat; transition: rotate .3s var(--ease-out); }
.faq[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--red); }
.faq p { padding: 0 0 1.1rem; max-width: 62ch; }

/* ---------- Socials ---------- */
.socials { padding: clamp(90px, 13vw, 170px) var(--gutter) clamp(70px, 10vw, 130px); text-align: center; }
.socials .section-title { margin-bottom: 1.2rem; }
.socials__text {
  width: fit-content; max-width: min(56ch, 100%); margin: 0 auto clamp(30px, 4vw, 50px);
  padding: .5em 1em; background: var(--paper); rotate: .8deg; font-size: 1.05rem;
}
.socials__list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.4vw, 32px); }
.social {
  display: grid; justify-items: center; gap: .7rem;
  width: clamp(150px, 20vw, 220px); padding: clamp(22px, 3vw, 34px) 1rem;
  text-decoration: none;
  font: 400 clamp(1.2rem, 1.8vw, 1.5rem) var(--font-slab);
  box-shadow: var(--shadow-bill);
  transition: translate .35s var(--ease-out), rotate .35s var(--ease-out);
}
.social svg { width: clamp(44px, 5vw, 60px); height: clamp(44px, 5vw, 60px); }
/* Brand colours of each platform, with their own logos. */
.social--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 22%, #d6249f 55%, #285aeb 90%); color: #fff; rotate: -3deg; }
.social--ig span { text-shadow: 0 1px 3px rgb(0 0 0 / .35); }
.social--fb { background: #0866ff; color: #fff; rotate: 1.5deg; }
.social--tt { background: #000; color: #fff; rotate: -1deg; }
.social--tt svg { filter: drop-shadow(-2px -2px 0 #25f4ee) drop-shadow(2px 2px 0 #fe2c55); }

/* ---------- Footer ---------- */
/* Instagram feed: latest posts pasted up as square prints */
.insta { margin: clamp(40px, 6vw, 72px) auto 0; max-width: var(--bill-max); }
.insta__grid { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.insta__post {
  position: relative; display: block; padding: 6px;
  background: var(--paper-grain), var(--paper-texture) var(--paper); box-shadow: 0 2px 3px rgb(20 25 50 / .25), 0 12px 22px -10px rgb(20 25 50 / .55);
  transition: translate .3s var(--ease-out), rotate .3s var(--ease-out);
}
.insta__grid li:nth-child(odd) .insta__post { rotate: -1.4deg; }
.insta__grid li:nth-child(even) .insta__post { rotate: 1.2deg; }
.insta__post img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.insta__post[data-video]::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 0; height: 0;
  border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / .6));
}
@media (max-width: 760px) { .insta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.footer {
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  padding: 2.2rem var(--gutter) 1.8rem;
  background: #111; color: #fff;
}
.footer img { width: clamp(96px, 11vw, 128px); height: auto; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; box-shadow: 0 0 0 2px #fff; }
.footer__social svg { width: 17px; height: 17px; }
/* Smaller icons, but keep a 44px hit area. */
.footer__social a { position: relative; }
.footer__social a::before { content: ""; position: absolute; inset: -4px; }

/* Toast for links that are not filled in yet */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  translate: -50% 140%;
  padding: .8em 1.2em; max-width: calc(100% - 32px);
  background: var(--sun); color: var(--ink); border: 2px dashed var(--ink);
  font-weight: 700; box-shadow: var(--shadow-bill);
  transition: translate .4s var(--ease-out);
}
.toast.is-on { translate: -50% 0; }

/* ---------- Motion guards ---------- */
/* Hidden until GSAP takes over (class set in <head>), so the hero never flashes before its intro. */
.motion .bill--hero { visibility: hidden; }

/* ---------- Interaction: hover and press ---------- */
/* Shared feel: hover eases out in ~220ms; a press snaps in 100ms and springs back on release. */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); --snap: cubic-bezier(.23, 1, .32, 1); }

/* Menu links: an underline is drawn in from the left and wiped out to the right. */
.hero__nav a, .topbar__nav a { position: relative; border-bottom: 0; text-decoration: none; }
.hero__nav a::after, .topbar__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: 3px;
  background: currentColor; scale: 0 1; transform-origin: right;
  transition: scale 240ms var(--snap);
}


/* Ticket stub: the perforation becomes "marching" paper teeth that invite a tear. */
.stub::after { border-top: 0; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 13px); }
@keyframes tear { to { background-position: 26px 0; } }

/* Arrows in buttons and links nudge towards where they lead. */
.stub__btn .ico, .link .ico { transition: translate 220ms var(--snap); }

/* Social cards: the platform logo hops. */
.social svg { transition: scale 300ms var(--spring), rotate 300ms var(--spring); }

/* Instagram prints: the photo zooms inside its paper frame. */
.insta__media { display: block; overflow: hidden; }
.insta__media img { transition: scale 400ms var(--snap); }

/* Small icon links and the top-bar logo tip their hat. */
.footer__social svg, .topbar__logo img, .faq summary::after { transition: scale 260ms var(--spring), rotate 260ms var(--spring); }

@media (hover: hover) and (pointer: fine) {
  .hero__nav a:hover::after, .topbar__nav a:hover::after { scale: 1 1; transform-origin: left; }
  .topbar__nav a:hover { text-decoration: none; }

  .topbar__cta:hover { background: color-mix(in srgb, var(--gold) 65%, var(--paper)); translate: 0 -2px; }
  .topbar__logo:hover img { rotate: -6deg; scale: 1.06; }


  .seal:hover { scale: 1.08; }

  .stub:hover { translate: 0 -6px; rotate: 0deg; }
  .stub:hover::after { animation: tear 600ms linear infinite; }

  .stub__btn:hover .ico, .link:hover .ico { translate: 3px -3px; }
  .link:hover { text-decoration: underline; text-decoration-thickness: 3px; }

  .social:hover { translate: 0 -8px; rotate: 0deg; }
  .social:hover svg { scale: 1.14; rotate: -8deg; }

  .insta__post:hover { translate: 0 -6px; rotate: 0deg; }
  .insta__post:hover .insta__media img { scale: 1.07; }

  .faq summary:hover::after { scale: 1.2; }
  .footer__social a:hover svg { rotate: -10deg; scale: 1.1; }
}

/* Press: snap in fast, spring back slower on release (asymmetric on purpose). */
.stub__btn, .topbar__cta, .footer__cta, .social, .insta__post, .footer__social a, .link, .faq summary {
  transition-property: translate, rotate, scale, box-shadow, background-color, color, filter;
}
.stub__btn:active, .topbar__cta:active, .footer__social a:active { scale: .95; transition: scale 100ms var(--snap); }
.social:active, .insta__post:active { scale: .98; transition: scale 100ms var(--snap); }
.seal:active { scale: .9; transition: scale 90ms var(--snap); }
.link:active .ico { translate: 6px -6px; transition: translate 90ms var(--snap); }
.seal { transition: scale 360ms var(--spring), rotate 360ms var(--spring); }

/* Confetti pieces thrown by a ticket click (created in js/main.js). */
.confetti { position: fixed; left: 0; top: 0; width: 9px; height: 14px; z-index: 80; pointer-events: none; border-radius: 1px; }

/* Reduced motion: keep colour and fade feedback, drop all movement. */
@media (prefers-reduced-motion: reduce) {
  .topbar, .stub, .social, .insta__post, .seal, .stub__btn, .topbar__cta, .footer__social a, .link, .faq summary { transition-property: opacity, background-color, box-shadow, color; }
  .stub:hover, .social:hover, .insta__post:hover, .seal:hover, .topbar__cta:hover { translate: none; scale: none; }
  .social:hover svg, .insta__post:hover .insta__media img, .footer__social a:hover svg, .topbar__logo:hover img,
  .stub__btn:hover .ico, .link:hover .ico, .faq summary:hover::after { translate: none; scale: none; rotate: none; }
  .stub:hover::after { animation: none; }
  .stub__btn:active, .seal:active, .social:active, .topbar__cta:active, .footer__social a:active, .insta__post:active { scale: none; }
  .link:active .ico { translate: none; }
  .hero__nav a::after, .topbar__nav a::after { transition: none; }
}

/* FAQ answers unfold instead of jumping open (Chromium; other browsers keep the instant toggle). */
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  .faq::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 260ms cubic-bezier(.23, 1, .32, 1), content-visibility 260ms allow-discrete;
  }
  .faq[open]::details-content { block-size: auto; }
}

/* Very narrow phones: keep the weekend sticker clear of the price. */
@media (max-width: 360px) {
  .stub__sticker { font-size: .78rem; padding: .4em .7em .3em; right: .6rem; }
}

/* ---------- Mobile menu ---------- */
/* A round paper button with three ink bars; only on phones, where the text menus are hidden. */
.burger {
  display: none; place-content: center; gap: 5px;
  width: 48px; height: 48px; flex: none; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--paper) var(--paper-grain); color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), 0 6px 12px -6px rgb(20 25 50 / .5);
  transition: scale 100ms var(--snap);
}
.burger span { display: block; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
.burger span:nth-child(2) { width: 16px; justify-self: end; }
.burger:active { scale: .92; }
.burger--topbar { width: 42px; height: 42px; }
@media (max-width: 760px) {
  .hero__nav { display: none; }
  .burger { display: grid; }
  .burger--hero { margin-top: .4rem; }
  .topbar__cta { margin-left: auto; }
}

/* The menu is the tent canvas itself, full screen, with the page's outlined title type. */
.menu {
  position: fixed; inset: 0; z-index: 90;
  overflow-y: auto; overscroll-behavior: contain;
  padding:
    calc(env(safe-area-inset-top, 0px) + 84px)
    max(24px, env(safe-area-inset-right, 0px))
    calc(env(safe-area-inset-bottom, 0px) + 40px)
    max(24px, env(safe-area-inset-left, 0px));
}
.menu[hidden] { display: none; }
/* Two tent flaps close over the page; only transforms move, so the compositor does the work. */
.menu__flap {
  position: fixed; top: 0; bottom: 0; width: 50.5%; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--red-hi) 0 64px, var(--stripe-white) 64px 128px);
  will-change: transform;
}
.menu__flap--l { left: 0; box-shadow: inset -14px 0 18px -14px rgb(0 0 0 / .35); }
.menu__flap--r { right: 0; background-position: right top; box-shadow: inset 14px 0 18px -14px rgb(0 0 0 / .35); }
.menu__inner { position: relative; z-index: 1; }
html.menu-open { overflow: hidden; }
.menu__inner { display: grid; justify-items: center; gap: 1.4rem; min-height: 100%; align-content: center; text-align: center; }
.menu__logo { width: 120px; height: auto; rotate: -4deg; filter: drop-shadow(0 8px 12px rgb(20 25 50 / .35)); }
.menu__links { display: grid; gap: .3rem; }
.menu__links a {
  display: inline-block; padding: .05em .2em;
  font: 400 clamp(2.8rem, 13vw, 4.2rem)/1 var(--font-title); text-transform: uppercase; text-decoration: none;
  color: var(--blue);
  -webkit-text-stroke: .1em #fff; paint-order: stroke fill;
  filter: url(#outline-m);
  transition: scale 260ms var(--spring), rotate 260ms var(--spring);
}
.menu__links li:nth-child(odd) a { rotate: -2deg; }
.menu__links li:nth-child(even) a { rotate: 1.5deg; }
.menu__links a:active { scale: .94; }
.menu__cta {
  display: inline-flex; align-items: center; gap: .5em; min-height: 52px;
  padding: .7em 1.4em; border-radius: 999px;
  background: var(--gold); color: var(--ink); text-decoration: none;
  font: 400 1.2rem var(--font-slab);
  box-shadow: 0 0 0 3px var(--ink), 0 10px 18px -8px rgb(20 25 50 / .6);
}
.menu__cta:active { scale: .95; }
.menu__social { display: flex; gap: .8rem; }
.menu__social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff;
}
.menu__social svg { width: 22px; height: 22px; }
/* Each icon in its platform's own colours, like the social cards. */
.menu__ig, .brand--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 22%, #d6249f 55%, #285aeb 90%) !important; }
.menu__fb, .brand--fb { background: #0866ff !important; }
.menu__tt, .brand--tt { background: #000 !important; }
.menu__tt svg, .brand--tt svg { filter: drop-shadow(-1.5px -1.5px 0 #25f4ee) drop-shadow(1.5px 1.5px 0 #fe2c55); }
.menu__social a { box-shadow: 0 0 0 2px #fff, 0 6px 12px -6px rgb(20 25 50 / .5); }
.menu__social a:active { scale: .92; }
.menu__close {
  position: fixed; z-index: 2;
  top: calc(env(safe-area-inset-top, 0px) + 16px); right: max(16px, env(safe-area-inset-right, 0px));
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: var(--paper) var(--paper-grain); color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), 0 8px 14px -6px rgb(20 25 50 / .55);
  transition: scale 100ms var(--snap), rotate 300ms var(--spring);
}
.menu__close span { grid-area: 1 / 1; width: 24px; height: 3px; border-radius: 2px; background: currentColor; rotate: 45deg; }
.menu__close span + span { rotate: -45deg; }
.menu__close:active { scale: .9; }
@media (hover: hover) and (pointer: fine) {
  .menu__close:hover { rotate: 90deg; }
  .menu__links a:hover { scale: 1.06; rotate: 0deg; }
}

/* ---------- Tape ---------- */
/* Every bill is held up by strips of warm, translucent tape over its top corners. Real elements, so GSAP can stick them on. */
.tape {
  position: absolute; z-index: 3; top: -14px;
  width: clamp(90px, 10vw, 130px); height: 32px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .35), rgb(255 255 255 / 0) 45%, rgb(0 0 0 / .06)),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .22) 0 2px, transparent 2px 7px),
    rgb(236 239 245 / .86);
  box-shadow: 0 2px 4px rgb(20 25 50 / .28);
  pointer-events: none;
  /* Torn ends: a small notch pattern on the short edges. */
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - 8px) 100% no-repeat,
    conic-gradient(from -45deg at left, #0000 25%, #000 0) left / 4px 7px repeat-y,
    conic-gradient(from 135deg at right, #0000 25%, #000 0) right / 4px 7px repeat-y;
          mask: linear-gradient(#000 0 0) center / calc(100% - 8px) 100% no-repeat,
    conic-gradient(from -45deg at left, #0000 25%, #000 0) left / 4px 7px repeat-y,
    conic-gradient(from 135deg at right, #0000 25%, #000 0) right / 4px 7px repeat-y;
}
.tape--l { left: clamp(12px, 4%, 48px); rotate: -6deg; transform-origin: 0% 50%; }
.tape--r { right: clamp(12px, 4%, 48px); rotate: 5deg; transform-origin: 100% 50%; }
