@font-face {
  font-family: "Rubik";
  src: url("fonts/rubik.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --brown: #2E170C;   /* Dekel's brown */
  --red: #88171A;
  --pink: #E97476;
  --yellow: #FFDB06;
  --blue: #71B8EB;
  --cyan: #28B2E7;
  --cream: #F4EEE4;
  --tan: #B68066;
  --paper: #FBF7F0;
  --px-min: 3.2px;      /* pixels per minute in the grid */
  --stage-w: 74px;
  --row-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Rubik", system-ui, sans-serif;
  background: var(--brown);
  color: var(--brown);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--brown);
  color: var(--cream);
  padding: max(14px, env(safe-area-inset-top)) 16px 0;
  overflow: hidden;
}
.hero-top {
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 3;
}
.teder { width: 58px; }
.pill-link {
  color: var(--brown); background: var(--yellow);
  text-decoration: none; font-weight: 800; font-size: 15px;
  padding: 9px 16px; border-radius: 999px;
}
.poster { margin: 14px -16px 0; position: relative; z-index: 1; }
.poster img { width: 100%; height: auto; position: relative; z-index: 1; }
.poster picture { display: block; position: relative; z-index: 1; }
.poster { overflow: visible; }

/* ---------- About line ---------- */
.about {
  background: var(--brown); padding: 18px 20px 6px; text-align: center;
}
.about p {
  margin: 0 auto; max-width: 560px;
  font-weight: 500; font-size: 17px; line-height: 1.6; color: #E8E6E4;
}
.about b { font-weight: 900; }
.about i { font-style: normal; padding: 0 3px; }

/* ---------- Headliners ---------- */
.section-title {
  margin: 0; font-weight: 900; font-size: 44px; line-height: 1; color: var(--cream);
}
.section-title.dark { color: var(--brown); }
.headliners {
  position: relative; background: var(--brown); padding: 40px 16px 56px; overflow: hidden;
}
.hl-list {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  position: relative; z-index: 2;
}
.hl-list li {
  padding: 10px 18px 11px; max-width: 100%;
  clip-path: polygon(0 6%, 99% 0, 100% 92%, 1% 100%);
}
.hl-list li:nth-child(even) { clip-path: polygon(1% 0, 100% 8%, 99% 100%, 0 94%); align-self: flex-end; }
.hl-list .en {
  display: block; direction: ltr; text-align: left;
  font-weight: 900; font-size: clamp(20px, 6.2vw, 30px); line-height: 1.05; text-transform: uppercase;
}
.hl-list .en.sub { font-size: clamp(13px, 3.6vw, 16px); margin-top: 3px; }
.hl-list .he { display: block; font-weight: 600; font-size: 14px; margin-top: 4px; }
.hl-list .when { display: block; font-weight: 800; font-size: 13px; margin-top: 2px; opacity: .8; }
.c-yellow { background: var(--yellow); }
.c-cream  { background: var(--cream); }
.c-blue   { background: var(--blue); }
.c-pink   { background: var(--pink); }
.hl-trumpet {
  position: absolute; width: 150px; left: -30px; bottom: -40px; opacity: .9; transform: rotate(18deg);
}

/* ---------- Schedule ---------- */
.schedule {
  background: var(--cream); padding: 36px 0 28px;
}
.sch-head { padding: 0 16px; }
.hint { margin: 10px 0 0; font-size: 15px; line-height: 1.4; }
.hint b { color: var(--red); }

.controls {
  position: sticky; top: 0; z-index: 20;
  background: var(--cream);
  padding: 12px 16px 10px;
  display: flex; flex-direction: column; gap: 10px;
  border-bottom: 2px solid transparent;
}
.controls.stuck { border-bottom-color: var(--brown); }
.tabs { display: flex; gap: 8px; }
.tabs button {
  flex: 1; border: 2px solid var(--brown); background: transparent;
  border-radius: 999px; padding: 9px 4px; font-weight: 800; font-size: 16px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tabs button small { font-weight: 500; font-size: 13px; }
.tabs button[aria-selected="true"] { background: var(--brown); color: var(--cream); }
.mine {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid var(--brown); background: var(--yellow);
  border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 15px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mine[aria-pressed="true"] { background: var(--brown); color: var(--yellow); }
.mine .count {
  min-width: 22px; height: 22px; border-radius: 999px; padding: 0 6px;
  display: inline-grid; place-items: center; font-size: 13px;
  background: var(--brown); color: var(--cream);
}
.mine[aria-pressed="true"] .count { background: var(--yellow); color: var(--brown); }
.mine.bump .mine-star { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.6) rotate(-15deg); } }

/* grid */
.scroller {
  overflow-x: auto; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin-top: 6px;
}
.grid { position: relative; padding-bottom: 6px; width: max-content; min-width: 100%; }
.times {
  position: relative; height: 30px; margin-inline-start: var(--stage-w);
}
.times span {
  position: absolute; top: 6px; font-size: 13px; font-weight: 700;
  transform: translateX(50%);
}
.times span.half { font-weight: 400; opacity: .45; font-size: 11px; top: 8px; }
.row { position: relative; height: var(--row-h); display: flex; width: max-content; }
.stage {
  position: sticky; inset-inline-start: 0; z-index: 5;
  flex: 0 0 var(--stage-w); width: var(--stage-w);
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); border-inline-end: 2px solid var(--brown);
  font-weight: 900; font-size: 14px; text-align: center; line-height: 1.1; padding: 0 6px;
}
.lane {
  position: relative; flex: 0 0 auto; height: 100%;
  background-image: repeating-linear-gradient(to left, rgba(45,24,16,.14) 0 1px, transparent 1px calc(var(--px-min) * 30));
  border-bottom: 1px dashed rgba(45,24,16,.18);
}
.show {
  position: absolute; top: 6px; bottom: 6px;
  border: 0; border-radius: 10px; padding: 7px 9px 6px;
  text-align: right; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 0 0 2px var(--brown) inset;
  transition: transform .12s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.show:focus-visible, .mv-item:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.show .top { display: flex; align-items: flex-start; gap: 4px; }
.show .nm {
  font-weight: 800; font-size: 13px; line-height: 1.18;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.show .tm { font-size: 11.5px; font-weight: 500; opacity: .85; direction: ltr; text-align: right; white-space: nowrap; }
.show .tm em { font-style: normal; font-weight: 700; }
.star {
  flex: 0 0 auto; position: relative;
  width: 22px; height: 22px; margin: -5px -5px 0 0; padding: 0;
  border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.star::before { content: ""; position: absolute; inset: -10px; }  /* bigger tap area */
.star svg, .a-star svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.star[aria-pressed="true"] svg { fill: currentColor; }
.s-3 .star[aria-pressed="true"], .s-4 .star[aria-pressed="true"], .s-5 .star[aria-pressed="true"] { color: var(--yellow); }
.a-fav.on .a-star svg { animation: pop .45s cubic-bezier(.34, 1.56, .64, 1); }
.show.fav { box-shadow: 0 0 0 3.5px var(--brown) inset; }
.s-3.fav, .s-4.fav, .s-5.fav { box-shadow: 0 0 0 3.5px var(--yellow) inset; }
.show.head .nm { font-weight: 900; font-size: 14px; }
/* the after party has a long title in a short block, so it may use a third line */
.show.late.dj .nm { -webkit-line-clamp: 3; font-size: 12px; line-height: 1.12; }
.show.dj { background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 6px, transparent 6px 12px); }
.show.dj .tm::after { content: " · תקלוט"; }

/* stage colors */
.s-0 { background-color: var(--yellow); }
.s-1 { background-color: var(--pink); }
.s-2 { background-color: var(--blue); }
.s-3 { background-color: var(--tan); color: var(--paper); }
.s-4 { background-color: var(--red); color: var(--cream); }
.s-5 { background-color: var(--brown); color: var(--cream); box-shadow: none; }
.s-6 { background-color: var(--cyan); }
.s-7 { background-color: #F4B9B2; }
.s-8 { background-color: #B9D98C; }

.legend {
  display: flex; gap: 16px; align-items: center; padding: 10px 16px 0; font-size: 13px;
}
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 18px; height: 12px; border-radius: 3px; border: 1.5px solid var(--brown); background: var(--yellow); }
.lg-dj { background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.55) 0 3px, transparent 3px 6px); }
.legend .swipe { margin-inline-start: auto; opacity: .6; }

/* my lineup */
#mine-view { padding: 6px 16px 10px; }
.mv-day { margin: 18px 0 8px; font-weight: 900; font-size: 22px; }
.mv-day:first-child { margin-top: 8px; }
.mv-item {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
  border-radius: 12px; padding: 12px 14px; box-shadow: 0 0 0 2px var(--brown) inset;
}
.mv-time { font-weight: 900; font-size: 18px; direction: ltr; min-width: 52px; text-align: center; }
.mv-body { flex: 1; min-width: 0; }
.mv-name { font-weight: 800; font-size: 16px; line-height: 1.2; }
.mv-meta { font-size: 13px; opacity: .85; margin-top: 2px; }
.mv-meta .clash { font-weight: 800; }
.mv-item .star { width: 30px; height: 30px; margin: 0; }
.empty {
  text-align: center; padding: 34px 12px; font-size: 17px; line-height: 1.5;
}
.empty .big { font-size: 46px; color: var(--yellow); -webkit-text-stroke: 2px var(--brown); display: block; }

/* ---------- Artist details ---------- */
.artist {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none;
  width: 100%; height: 100%; background: transparent;
  display: none;
}
.artist[open] { display: flex; align-items: flex-end; justify-content: center; }
.artist::backdrop { background: rgba(46, 23, 12, .6); }
.a-sheet {
  position: relative; width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto;
  background: var(--cream); color: var(--brown);
  border-radius: 22px 22px 0 0;
  padding: 0 0 max(20px, env(safe-area-inset-bottom));
  animation: up .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes up { from { transform: translateY(100%); } }
.a-close {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--brown); color: var(--cream); font-size: 16px; font-weight: 700;
}
.a-head { padding: 26px 20px 20px 60px; box-shadow: none; }
.a-head.dj { background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.2) 0 8px, transparent 8px 16px); }
.a-kind {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  border: 1.5px solid currentColor; border-radius: 999px; padding: 2px 10px;
}
.a-name { margin: 10px 0 0; font-weight: 900; font-size: 30px; line-height: 1.1; }
.a-en { margin: 6px 0 0; direction: ltr; text-align: left; font-weight: 800; font-size: 15px; text-transform: uppercase; }
.a-facts { margin: 0; padding: 16px 20px 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.a-facts div { border-top: 2px solid var(--brown); padding-top: 8px; }
.a-facts dt { font-size: 12px; opacity: .7; }
.a-facts dd { margin: 2px 0 0; font-weight: 800; font-size: 16px; white-space: nowrap; }
.a-facts dd[dir="ltr"] { text-align: right; }
.a-info { margin: 12px 20px 0; font-size: 16px; line-height: 1.55; }
.a-actions { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 6px; }
.a-fav, .a-cal {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--brown); border-radius: 999px; padding: 13px 16px; white-space: nowrap;
  font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none;
}
.a-fav { background: var(--yellow); color: var(--brown); }
.a-fav .a-star { width: 22px; height: 22px; display: inline-block; }
.a-fav.on { background: var(--brown); color: var(--yellow); }
.a-fav.on .a-star svg { fill: var(--yellow); stroke: var(--yellow); }
.a-cal { background: transparent; color: var(--brown); }
.a-same { padding: 14px 20px 0; }
.a-same h4 { margin: 0 0 8px; font-size: 14px; font-weight: 800; opacity: .75; }
.a-same-item {
  width: 100%; display: grid; grid-template-columns: 14px 1fr; column-gap: 10px; align-items: center;
  text-align: right; background: transparent; border: 0; border-bottom: 1px dashed rgba(46,23,12,.3);
  padding: 10px 0; cursor: pointer;
}
div.ar-item, div.a-same-item { cursor: default; }
.a-same-item .dot { grid-row: span 2; width: 14px; height: 14px; border-radius: 4px; box-shadow: 0 0 0 1.5px var(--brown) inset; }
.a-same-item b { font-size: 15px; }
.a-same-item small { font-size: 13px; opacity: .8; }

/* ---------- Footer ---------- */
.footer {
  background: var(--brown); color: var(--cream); text-align: center;
  padding: 40px 16px max(28px, env(safe-area-inset-bottom));
}
.logo-small { width: 110px; height: auto; margin: 0 auto 14px; }
.f-dates { margin: 0; font-weight: 800; font-size: 16px; line-height: 1.5; }
.f-note { margin: 6px 0 0; font-size: 13px; opacity: .7; }
.partners { display: flex; justify-content: center; align-items: center; gap: 26px; margin: 24px 0 18px; }
.p-teder { width: 56px; }
.p-jameson { width: 92px; }
.p-tlv { width: 104px; height: auto; }
.credits { margin: 0; font-size: 12px; opacity: .75; line-height: 1.6; }

.toast {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); z-index: 50;
  background: var(--brown); color: var(--cream); font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; transition: transform .25s ease;
  white-space: nowrap; pointer-events: none;
}
.toast.on { transform: translate(-50%, 0); }

/* ---------- Larger screens ---------- */
@media (min-width: 760px) {
  :root { --px-min: 4px; --stage-w: 96px; --row-h: 84px; }
  .hero { padding-inline: 32px; }
  .poster { max-width: 720px; margin: 10px auto 0; }
  .hero-top { max-width: 720px; margin: 0 auto; }
  .headliners, .sch-head, .controls, #mine-view { padding-inline: max(32px, calc(50% - 480px)); }
  .hl-list { max-width: 960px; margin-inline: auto; }
  .controls { flex-direction: row; justify-content: space-between; align-items: center; }
  .tabs { flex: 0 1 460px; }
  .mine { align-self: center; }
  #mine-view { max-width: 760px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.nw { white-space: nowrap; }

/* ---------- Micro animations ---------- */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* hero entrance */
.poster img { animation: posterIn .9s var(--ease-out) both; }
@keyframes posterIn { from { opacity: 0; transform: translateY(18px) scale(.97) rotate(-.6deg); } }
.teder { animation: spinIn .8s .15s var(--ease-spring) both; transform-origin: 50% 50%; }
@keyframes spinIn { from { opacity: 0; transform: rotate(-120deg) scale(.5); } }
.pill-link { animation: popIn .55s .4s var(--ease-spring) both; transition: transform .2s var(--ease-out); display: inline-block; }
@keyframes popIn { from { opacity: 0; transform: scale(.5); } }
.pill-link:active { transform: scale(.94); }
@media (hover: hover) { .pill-link:hover { transform: translateX(-3px) rotate(-2deg); } }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hl-list li.reveal { transform: translateX(-36px) rotate(-2.5deg); transition-delay: calc(var(--i) * 70ms); }
.js .hl-list li.reveal:nth-child(even) { transform: translateX(36px) rotate(2.5deg); }
.js .hl-list li.reveal.in { transform: none; }
.hl-trumpet { animation: toot 3.2s ease-in-out infinite; transform-origin: 30% 80%; }
@keyframes toot { 0%, 100% { transform: rotate(18deg); } 8% { transform: rotate(10deg) scale(1.04); } 16% { transform: rotate(20deg); } 24% { transform: rotate(14deg) scale(1.03); } 32% { transform: rotate(18deg); } }

/* tabs + buttons */
.tabs button, .mine, .a-fav, .a-cal, .a-close { transition: background-color .22s var(--ease-out), color .22s var(--ease-out), transform .15s var(--ease-out); }
.tabs button:active, .mine:active, .a-fav:active, .a-cal:active, .a-close:active { transform: scale(.95); }
.mine .count { transition: transform .3s var(--ease-spring); }
.mine.bump .count { animation: countBump .45s var(--ease-spring); }
@keyframes countBump { 40% { transform: scale(1.45); } }

/* schedule blocks */
.show.enter { animation: blockIn .45s var(--d, 0ms) var(--ease-out) both; }
@keyframes blockIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@media (hover: hover) {
  .show { transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out); }
}
.star { transition: transform .15s var(--ease-out); }
.star:active { transform: scale(.8); }
.pop .star::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid currentColor; animation: ring .5s var(--ease-out) both; pointer-events: none;
}
@keyframes ring { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.pop .star svg { animation: pop .45s var(--ease-spring); }
@keyframes pop { 0% { transform: scale(.6); } 50% { transform: scale(1.45) rotate(18deg); } 100% { transform: none; } }

/* my lineup list */
.mv-item.enter, .mv-day.enter, .empty.enter { animation: rise .45s calc(var(--i, 0) * 45ms) var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.mv-item { transition: transform .15s var(--ease-out); }
.mv-item:active { transform: scale(.98); }
.empty.enter .big { display: inline-block; animation: popIn .6s .15s var(--ease-spring) both; }

/* artist window */
.artist[open]::backdrop { animation: fadeIn .25s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
.a-sheet { animation: up .38s var(--ease-out); }
.fresh .a-head > *, .fresh .a-facts > div, .fresh .a-actions > *, .fresh .a-same { animation: rise .4s var(--ease-out) both; }
.a-kind { animation-delay: .06s !important; } .a-name { animation-delay: .1s !important; } .a-en { animation-delay: .14s !important; }
.a-facts > div:nth-child(1) { animation-delay: .16s; } .a-facts > div:nth-child(2) { animation-delay: .2s; } .a-facts > div:nth-child(3) { animation-delay: .24s; }
.a-actions > :nth-child(1) { animation-delay: .26s; } .a-actions > :nth-child(2) { animation-delay: .3s; } .a-same { animation-delay: .34s; }

/* toast */
.toast { transition: transform .35s var(--ease-spring); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hl-list li.reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   New sections: top menu, stage ribbon, day cards, artists, info
   ========================================================= */
:root { --nav-h: 52px; }
.c-tan { background: var(--tan); color: var(--paper); }

/* ---------- Sticky top menu (shows after the hero) ---------- */
.topnav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 12px 0;
  display: flex; align-items: center; gap: 10px;
  background: rgba(46, 23, 12, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(-110%); transition: transform .35s var(--ease-out);
}
.nav-on .topnav { transform: none; }
.tn-home img { width: 30px; height: auto; }
.tn-links { display: flex; gap: 5px; margin-inline-start: auto; overflow-x: auto; scrollbar-width: none; }
.tn-links::-webkit-scrollbar { display: none; }
.tn-links a {
  flex: none; color: var(--cream); text-decoration: none; font-weight: 800; font-size: 13px;
  border: 1.5px solid rgba(244, 238, 228, .55); border-radius: 999px; padding: 6px 10px;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s;
}
.tn-links a.on { background: var(--yellow); color: var(--brown); border-color: var(--yellow); }
.nav-on .controls { top: var(--nav-h); }
section[id], footer { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ---------- Stage ribbon ---------- */
.ribbon {
  /* phones: the stage strip sits under the character */
  order: 2; position: relative; z-index: 2; overflow: hidden;
  margin: 8px -24px 0; padding: 11px 0 12px;
  background: var(--pink); color: var(--brown);
  transform: rotate(-2deg);
}
.ribbon-info { display: none; background: var(--yellow); }
.poster { display: flex; flex-direction: column; }
.poster picture { order: 1; }
.rb-track {
  display: flex; width: max-content; align-items: center; gap: 18px;
  font-weight: 900; font-size: clamp(22px, 6vw, 34px); line-height: 1; white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.rb-track i { font-style: normal; font-size: .6em; color: var(--red); }
@keyframes marquee { to { transform: translateX(50%); } }   /* RTL: content flows right; track is doubled in JS */
@media (hover: hover) { .ribbon:hover .rb-track { animation-play-state: paused; } }

/* ---------- Day cards ---------- */
.days { background: var(--brown); padding: 34px 16px 48px; }
.day-cards { display: grid; gap: 14px; margin-top: 20px; }
.day-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  width: 100%; text-align: right; border: 0; cursor: pointer; color: var(--brown);
  padding: 16px 18px 16px 44px; border-radius: 18px;
  transition: transform .2s var(--ease-out);
}
.day-card:nth-child(1) { background: var(--yellow); transform: rotate(-1deg); }
.day-card:nth-child(2) { background: var(--pink);   transform: rotate(.8deg); }
.day-card:nth-child(3) { background: var(--blue);   transform: rotate(-.6deg); }
.day-card:active { transform: scale(.97); }
@media (hover: hover) { .day-card:hover { transform: rotate(0) translateY(-3px); } }
.dc-date {
  grid-row: span 3; display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%;
  background: var(--brown); color: var(--cream); text-align: center; line-height: 1;
}
.dc-date b { font-size: 30px; font-weight: 900; direction: ltr; }
.dc-date small { display: block; font-size: 13px; font-weight: 700; margin-top: 4px; }
.dc-day { font-weight: 900; font-size: 26px; line-height: 1; }
.dc-heads { margin-top: 6px; direction: ltr; text-align: right; font-weight: 800; font-size: 14px; line-height: 1.3; text-transform: uppercase; }
.dc-meta { margin-top: 6px; font-size: 13px; font-weight: 600; opacity: .8; }
.dc-go { position: absolute; left: 16px; bottom: 12px; font-weight: 900; font-size: 20px; }

/* ---------- Artists ---------- */
.artists { background: var(--brown); color: var(--cream); padding: 40px 0 36px; }
.artists .section-title, .artists .ar-hint { padding-inline: 16px; }
.ar-filters {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 18px 16px 6px; position: sticky; top: 0; z-index: 5; background: var(--brown);
}
.nav-on .ar-filters { top: var(--nav-h); }
.ar-filters::-webkit-scrollbar { display: none; }
.ar-filters button {
  flex: none; border: 2px solid var(--cream); background: transparent; color: var(--cream);
  border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 15px; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .15s var(--ease-out);
}
.ar-filters button small { font-weight: 500; font-size: 12px; }
.ar-filters button[aria-selected="true"] { background: var(--cream); color: var(--brown); }
.ar-filters button:active { transform: scale(.95); }
.ar-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid rgba(244,238,228,.25); }
.ar-list li { border-bottom: 1px solid rgba(244,238,228,.25); }
.ar-item {
  width: 100%; display: block; background: transparent; border: 0; cursor: pointer; color: inherit;
  padding: 14px 16px 13px; text-align: center;
  transition: background-color .2s var(--ease-out);
}
.ar-item:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.ar-name {
  display: block; direction: ltr; font-weight: 900; text-transform: uppercase; line-height: 1.02;
  font-size: clamp(22px, 6.4vw, 46px); letter-spacing: -.01em;
}
.ar-item.g-head .ar-name { font-size: clamp(28px, 8.4vw, 64px); }
.ar-item.g-dj .ar-name { font-size: clamp(18px, 4.8vw, 32px); }
.ar-sub { display: block; margin-top: 5px; font-size: 13px; font-weight: 700; opacity: .75; }
.ar-list li:nth-child(5n+1) .ar-name { color: var(--yellow); }
.ar-list li:nth-child(5n+2) .ar-name { color: var(--pink); }
.ar-list li:nth-child(5n+3) .ar-name { color: var(--blue); }
.ar-list li:nth-child(5n+4) .ar-name { color: var(--cream); }
.ar-list li:nth-child(5n+5) .ar-name { color: #F4B9B2; }
@media (hover: hover) { button.ar-item:hover { background: rgba(244,238,228,.07); } }
.ar-item.enter { animation: rise .4s calc(var(--i, 0) * 25ms) var(--ease-out) both; }
.ar-hint { margin: 14px 0 0; font-size: 13px; opacity: .65; text-align: center; }

/* artist card extras (photo, bio) */
.a-photo { position: relative; margin: 0; }
.a-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px 22px 0 0; }
.a-photo figcaption { position: absolute; left: 10px; bottom: 8px; font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.a-photo + .a-head { border-radius: 0; }
.a-note { margin: 12px 20px 0; font-size: 14px; font-weight: 700; opacity: .75; }

/* ---------- Good to know ---------- */
.info { background: var(--cream); padding: 40px 16px 44px; }
.info-grid { display: grid; gap: 12px; margin-top: 20px; }
.info-card { border-radius: 16px; padding: 16px 18px; box-shadow: 0 0 0 2px var(--brown) inset; }
.info-card h3 { margin: 0; font-weight: 900; font-size: 20px; }
.info-card p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; }
.info-link {
  display: inline-block; margin-top: 10px; color: var(--brown); font-weight: 800; text-decoration: none;
  border-bottom: 2px solid currentColor;
}

@media (min-width: 760px) {
  .topnav { padding-inline: max(32px, calc(50% - 480px)); }
  .tn-links a { font-size: 15px; padding: 7px 15px; }
  .days, .info { padding-inline: max(32px, calc(50% - 480px)); }
  .day-cards { grid-template-columns: repeat(3, 1fr); }
  .day-card { grid-template-columns: 1fr; row-gap: 10px; padding: 22px 20px 44px; text-align: center; justify-items: center; }
  .dc-date { grid-row: auto; }
  .dc-heads { text-align: center; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .info-card:first-child { grid-column: span 2; }
  .artists .section-title, .ar-filters, .ar-hint { padding-inline: max(32px, calc(50% - 480px)); }
}
@media (prefers-reduced-motion: reduce) {
  .rb-track { animation: none !important; }
  .ribbon { overflow-x: auto; }
}

/* partner logos */
.p-label { margin: 6px 0 0; font-size: 12px; font-weight: 700; opacity: .7; letter-spacing: .04em; }
.partners.collab { gap: 22px; margin: 10px 0 20px; flex-wrap: wrap; }
.collab img { width: 76px; height: auto; }
.collab .p-soundtrack { width: 150px; }
.collab .p-imsf { width: 120px; }
@media (min-width: 760px) { .collab img { width: 92px; } .collab .p-soundtrack { width: 180px; } .collab .p-imsf { width: 140px; } }

.ribbon { animation: ribbonIn .7s .75s var(--ease-out) both; }
.ribbon-info { animation-delay: .9s; }
@keyframes ribbonIn { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.rb-track b { font-weight: 900; }

/* desktop: the two strips cross in an X behind the character, full screen width */
@media (min-width: 760px) {
  .poster { display: block; }
  .ribbon {
    position: absolute; z-index: 0; margin: 0; top: 47%;
    left: calc(50% - 50vw - 90px); right: calc(50% - 50vw - 90px);
    transform: rotate(-7deg);
  }
  .ribbon-info { display: block; transform: rotate(7deg); }
  .ribbon-info .rb-track { animation-direction: reverse; animation-duration: 46s; font-size: clamp(20px, 2.6vw, 30px); }
  .about { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
}

/* =========================================================
   Round 3: stars across the hero, artist strips with gravity, more motion
   ========================================================= */

/* ---------- stars across the full hero ---------- */
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.sky img {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: auto;
  transform: rotate(var(--r)); opacity: 0;
  animation: starIn .7s var(--d) var(--ease-spring) both, twinkle var(--t) calc(var(--d) + .7s) ease-in-out infinite;
}
@keyframes starIn { from { opacity: 0; transform: rotate(calc(var(--r) - 90deg)) scale(.2); } to { opacity: 1; transform: rotate(var(--r)) scale(1); } }
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: rotate(var(--r)) scale(1); }
  45% { opacity: .55; transform: rotate(calc(var(--r) + 14deg)) scale(.82); }
  60% { opacity: 1; transform: rotate(calc(var(--r) + 6deg)) scale(1.06); }
}
.hero-top { z-index: 3; }

/* ---------- artists: stacked strips that fall in ---------- */
.ar-list { border-top: 0; padding: 6px 10px 0; overflow: hidden; }
.ar-list li { border-bottom: 0; display: flex; justify-content: center; margin-top: -3px; position: relative; }
.ar-list li:nth-child(odd) { z-index: 2; }
.ar-item {
  width: auto; max-width: 100%; display: inline-block;
  padding: 11px 18px 10px; color: var(--brown);
  background: var(--strip, var(--yellow));
  clip-path: polygon(0 7%, 99% 0, 100% 91%, 1% 100%);
  transform: translateX(var(--dx, 0)) rotate(var(--r, 0deg));
  transition: transform .25s var(--ease-spring), filter .2s;
}
.ar-list li:nth-child(even) .ar-item { clip-path: polygon(1% 0, 100% 8%, 99% 100%, 0 93%); }
.ar-list li:nth-child(5n+1) .ar-item { --strip: var(--yellow); }
.ar-list li:nth-child(5n+2) .ar-item { --strip: var(--cream); }
.ar-list li:nth-child(5n+3) .ar-item { --strip: var(--blue); }
.ar-list li:nth-child(5n+4) .ar-item { --strip: var(--pink); }
.ar-list li:nth-child(5n+5) .ar-item { --strip: #F4B9B2; }
.ar-list li .ar-item .ar-name { color: var(--brown) !important; }
.ar-item.g-dj { --strip: var(--tan) !important; color: var(--paper); }
.ar-list li .ar-item.g-dj .ar-name { color: var(--paper) !important; }
.ar-sub { opacity: .8; }
.ar-item.g-head .ar-name { font-size: clamp(26px, 7.6vw, 58px); }
@media (hover: hover) {
  button.ar-item:hover { background: var(--strip, var(--yellow)); transform: translateX(var(--dx, 0)) translateY(-4px) rotate(0deg) scale(1.03); filter: drop-shadow(0 6px 0 rgba(0,0,0,.35)); }
}
button.ar-item:active { transform: translateX(var(--dx, 0)) rotate(0) scale(.97); }

/* gravity: each strip falls, bounces and settles on the pile */
.js .ar-item.wait { opacity: 0; }
.ar-item.drop { animation: gravity .95s var(--d, 0ms) cubic-bezier(.3, 0, .6, 1) both; }
@keyframes gravity {
  0%   { opacity: 0; transform: translateX(var(--dx, 0)) translateY(-240px) rotate(calc(var(--r, 0deg) * -5)); }
  12%  { opacity: 1; }
  52%  { transform: translateX(var(--dx, 0)) translateY(0) rotate(calc(var(--r, 0deg) * 2)); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  68%  { transform: translateX(var(--dx, 0)) translateY(-16px) rotate(calc(var(--r, 0deg) * .4)); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  82%  { transform: translateX(var(--dx, 0)) translateY(0) rotate(calc(var(--r, 0deg) * 1.4)); }
  91%  { transform: translateX(var(--dx, 0)) translateY(-4px) rotate(var(--r, 0deg)); }
  100% { opacity: 1; transform: translateX(var(--dx, 0)) translateY(0) rotate(var(--r, 0deg)); }
}

/* ---------- more micro animations ---------- */
/* section titles drop in with a little bounce */
.js .section-title.reveal { transform: translateY(-26px) rotate(-3deg); transition: opacity .5s var(--ease-out), transform .7s var(--ease-spring); }
.js .section-title.reveal.in { transform: none; }

/* day cards: date bubble pops, arrow nudges */
.js .day-card.reveal { transform: translateY(24px) rotate(var(--rot, 0deg)) scale(.96); transition: opacity .55s var(--ease-out), transform .7s var(--ease-spring); transition-delay: calc(var(--i, 0) * 110ms); }
.js .day-card.reveal.in { transform: rotate(var(--rot, 0deg)); }
.day-card:nth-child(1) { --rot: -1deg; } .day-card:nth-child(2) { --rot: .8deg; } .day-card:nth-child(3) { --rot: -.6deg; }
.day-card.in .dc-date { animation: popIn .6s calc(var(--i, 0) * 110ms + .25s) var(--ease-spring) both; }
.dc-go { transition: transform .25s var(--ease-out); }
@media (hover: hover) { .day-card:hover .dc-go { animation: nudge .7s ease-in-out infinite; } }
@keyframes nudge { 50% { transform: translateX(-6px); } }

/* info cards: stagger in with a tilt, lift on hover */
.js .info-card.reveal { transform: translateY(20px) rotate(calc(var(--i, 0) % 2 * 3deg - 1.5deg)); transition: opacity .5s var(--ease-out), transform .6s var(--ease-spring); transition-delay: calc(var(--i, 0) * 80ms); }
.js .info-card.reveal.in { transform: none; }
.info-card { transition: transform .25s var(--ease-spring), box-shadow .25s; }
@media (hover: hover) { .info-card:hover { transform: translateY(-4px) rotate(-.8deg); box-shadow: 0 0 0 2px var(--brown) inset, 0 6px 0 var(--brown); } }
.info-link { transition: transform .2s var(--ease-out); }
@media (hover: hover) { .info-link:hover { transform: translateX(-4px); } }

/* top menu: active pill pops */
.tn-links a.on { animation: popIn .4s var(--ease-spring); }
.tn-home img { transition: transform .4s var(--ease-spring); }
@media (hover: hover) { .tn-home:hover img { transform: rotate(-12deg) scale(1.1); } }

/* footer: logos rise in, wiggle on hover */
.js .footer .reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.partners img { transition: transform .3s var(--ease-spring); }
@media (hover: hover) { .partners img:hover { transform: rotate(-6deg) scale(1.08); } }
.logo-small { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px) rotate(-1.5deg); } }

/* artist window photo eases in */
.a-photo img { animation: photoIn .6s var(--ease-out) both; }
@keyframes photoIn { from { opacity: 0; transform: scale(1.06); } }

/* filter chips: little press bounce */
.ar-filters button[aria-selected="true"] { animation: popIn .35s var(--ease-spring); }

@media (prefers-reduced-motion: reduce) {
  .sky img { opacity: 1 !important; }
  .js .ar-item.wait { opacity: 1 !important; }
  .js .section-title.reveal, .js .day-card.reveal, .js .info-card.reveal { opacity: 1 !important; transform: none !important; }
}
@media (hover: hover) { .js .day-card.reveal.in:hover { transform: rotate(0) translateY(-4px); } }

/* ---------- scrollbars in the site's style, on the right ---------- */
html { scrollbar-color: var(--yellow) var(--brown); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--brown); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 999px; border: 2px solid var(--brown); }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }
/* the artist window scrolls with its bar on the right (RTL would put it on the left) */
.a-sheet { direction: ltr; scrollbar-color: var(--brown) var(--cream); }
.a-sheet > * { direction: rtl; }
.a-sheet::-webkit-scrollbar-track { background: var(--cream); }
.a-sheet::-webkit-scrollbar-thumb { background: var(--brown); border-color: var(--cream); }
.scroller { scrollbar-color: var(--brown) var(--cream); }
.scroller::-webkit-scrollbar-track { background: var(--cream); }
.scroller::-webkit-scrollbar-thumb { background: var(--brown); border-color: var(--cream); }

/* ---------- smaller lineup strips ---------- */
.ar-item { padding: 6px 12px 6px; }
.ar-name { font-size: clamp(14px, 3.6vw, 22px) !important; letter-spacing: 0; }
.ar-item.g-head .ar-name { font-size: clamp(17px, 4.6vw, 28px) !important; }
.ar-item.g-dj .ar-name { font-size: clamp(12px, 3vw, 17px) !important; }
.ar-sub { font-size: 11px; margin-top: 2px; }
.ar-list li { margin-top: -2px; }

/* ---------- lineup: as many strips per row as fit ---------- */
.ar-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 2px; max-width: 1100px; margin-inline: auto; }
.ar-list li { margin: 0; flex: 0 1 auto; max-width: 100%; }
.ar-item .ar-name { white-space: normal; }

/* ---------- lineup: give the strips room ---------- */
.ar-list { gap: 12px 10px; padding: 16px 12px 8px; overflow: visible; }
.ar-list li:nth-child(odd) { z-index: auto; }
.ar-item { padding: 8px 14px 7px; clip-path: polygon(0 3%, 99.5% 0, 100% 96%, .5% 100%); }
.ar-list li:nth-child(even) .ar-item { clip-path: polygon(.5% 0, 100% 3%, 99.5% 100%, 0 97%); }
.ar-name { line-height: 1.12; }

.ar-list li[hidden] { display: none !important; }

/* ---------- headliners with the reel's photos ---------- */
.hl-list { gap: 26px; }
.hl-list li.hl-card {
  padding: 0; clip-path: none; background: none; position: relative;
  display: flex; flex-direction: column; align-items: flex-start; width: min(100%, 520px);
}
.hl-list li.hl-card:nth-child(even) { clip-path: none; align-items: flex-end; }
.hl-photo {
  width: 72%; max-width: 360px; height: auto; margin-inline-start: 6%;
  filter: drop-shadow(0 8px 0 rgba(0,0,0,.25));
  transition: transform .45s var(--ease-spring);
}
.hl-card:nth-child(even) .hl-photo { margin-inline: 0 6%; }
.hl-strip {
  position: relative; margin-top: -54px; max-width: 100%;
  padding: 10px 18px 11px; clip-path: polygon(0 6%, 99% 0, 100% 92%, 1% 100%);
  transition: transform .35s var(--ease-spring);
}
.hl-card:nth-child(even) .hl-strip { clip-path: polygon(1% 0, 100% 8%, 99% 100%, 0 94%); }
@media (hover: hover) {
  .hl-card:hover .hl-photo { transform: translateY(-8px) rotate(-1.5deg) scale(1.03); }
  .hl-card:hover .hl-strip { transform: rotate(1deg) translateY(-2px); }
}
.js .hl-card.reveal .hl-photo { opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .6s var(--ease-out), transform .8s var(--ease-spring); transition-delay: calc(var(--i) * 70ms + .1s); }
.js .hl-card.reveal.in .hl-photo { opacity: 1; transform: none; }
@media (min-width: 760px) {
  .hl-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 40px; align-items: end; }
  .hl-list li.hl-card, .hl-list li.hl-card:nth-child(even) { width: 100%; align-self: auto; }
  .hl-list li.hl-card:nth-child(5) { grid-column: 1 / -1; width: min(100%, 520px); margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .js .hl-card.reveal .hl-photo { opacity: 1 !important; transform: none !important; } }

/* ---------- headliners packed together: 3 then 2 (phones: 2, 2, 1) ---------- */
.hl-list { display: flex !important; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 18px 0 !important; max-width: 1100px; margin-inline: auto; }
.hl-list li.hl-card, .hl-list li.hl-card:nth-child(even) {
  width: 52% !important; margin: 0 -2% !important; align-items: center !important; align-self: auto !important; grid-column: auto !important;
}
.hl-list li.hl-card:nth-child(5) { width: 60% !important; }
.hl-photo, .hl-card:nth-child(even) .hl-photo { width: 100%; max-width: none; margin: 0; }
.hl-strip { margin-top: -40px; padding: 7px 12px 8px; text-align: center; }
.hl-strip .en { font-size: clamp(14px, 3.6vw, 22px); text-align: center; }
.hl-strip .en.sub { font-size: clamp(10px, 2.4vw, 13px); }
.hl-strip .when { font-size: 11px; }
.hl-list li.hl-card:nth-child(odd) { z-index: 2; }
@media (min-width: 760px) {
  .hl-list li.hl-card, .hl-list li.hl-card:nth-child(even) { width: 35.5% !important; margin: 0 -1.2% !important; }
  .hl-list li.hl-card:nth-child(4), .hl-list li.hl-card:nth-child(5) { width: 40% !important; }
  .hl-strip { margin-top: -54px; padding: 9px 16px 10px; }
}

.c-lpink { background: #F4B9B2; }

/* headliners: same visual size — every photo gets the same height */
.hl-photo, .hl-card:nth-child(even) .hl-photo { width: auto !important; max-width: 100%; height: 190px; object-fit: contain; }
@media (min-width: 760px) { .hl-photo, .hl-card:nth-child(even) .hl-photo { height: 320px; } }

/* headliners: identical photo frames (same width and height for everyone) */
.hl-photo, .hl-card:nth-child(even) .hl-photo {
  width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 18%;
}
.hl-list li.hl-card, .hl-list li.hl-card:nth-child(even), .hl-list li.hl-card:nth-child(5) { width: 50% !important; margin: 0 -1.5% !important; }
@media (min-width: 760px) {
  .hl-list li.hl-card, .hl-list li.hl-card:nth-child(even),
  .hl-list li.hl-card:nth-child(4), .hl-list li.hl-card:nth-child(5) { width: 33.5% !important; margin: 0 -1% !important; }
}

/* full trumpet, inside the section */
.hl-trumpet { left: 14px; bottom: 14px; width: 110px; }
@media (min-width: 760px) { .hl-trumpet { left: max(24px, calc(50% - 560px)); bottom: 24px; width: 150px; } }

/* artist window: no scrollbar flash on the page while the sheet slides up */
.artist, .artist[open] { overflow: hidden; }
.hl-trumpet { bottom: 34px; }
@media (min-width: 760px) { .hl-trumpet { bottom: 46px; } }

/* headliner photos: whole photo (no crop), all in the same-size frame */
.hl-photo, .hl-card:nth-child(even) .hl-photo { object-fit: contain !important; object-position: 50% 100% !important; }

/* footer legal line */
.f-legal { margin: 14px 0 0; font-size: 12px; line-height: 1.7; opacity: .8; }
.f-legal a { color: var(--yellow); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.f-legal a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.hl-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.headliners { padding-top: 26px; }
.hl-list { margin-top: 0 !important; }

/* decorative stars in section margins */
.headliners, .days, .artists, .info, .footer { position: relative; overflow: hidden; overflow: clip; }
.deco { z-index: 0; }
.days > :not(.deco), .info > :not(.deco), .footer > :not(.deco), .headliners > :not(.deco):not(.hl-trumpet) { position: relative; z-index: 1; }
.artists > .section-title, .artists > .ar-list, .artists > .ar-hint { position: relative; z-index: 1; }
.deco img { animation: starIn .7s var(--d) var(--ease-spring) both, twinkle var(--t) calc(var(--d) + .7s) ease-in-out infinite; }
@media (min-width: 760px) {
  .ribbon-info { top: 56%; transform: rotate(5deg); }
}
@media (min-width: 760px) {
  .ribbon { transform: rotate(-9deg); top: 44%; }
  .ribbon-info { transform: rotate(3deg); top: 58%; }
}
@media (min-width: 760px) {
  .ribbon { top: 49%; }
  .ribbon-info { top: 52%; }
}
/* strips cross at the same spot as before (left of centre, behind the body); yellow is steeper, rising to the left */
@media (min-width: 760px) {
  .ribbon { transform: rotate(-7deg); top: 47%; }
  .ribbon-info { transform: rotate(12deg); top: 61.3%; }
}
/* cross right behind the middle of his body, same angles */
@media (min-width: 760px) {
  .ribbon { top: 45%; }
  .ribbon-info { top: 45%; }
}
/* phones: room under the stage strip so it isn't clipped */
@media (max-width: 759px) { .hero { padding-bottom: 22px; } .ribbon { margin-top: 12px; } }

@media (max-width: 759px) { .hl-trumpet { left: -2px; } }

/* phones: smaller strips; each strip takes the width its name needs */
@media (max-width: 759px) {
  .ar-list { gap: 9px 6px; padding-inline: 6px; }
  .ar-item { padding: 6px 9px 5px; }
  .ar-name { font-size: 12.5px !important; line-height: 1.12; }
  .ar-item.g-head .ar-name { font-size: 14px !important; }
  .ar-item.g-dj .ar-name { font-size: 11.5px !important; }
  .ar-sub { font-size: 9.5px; }
}

/* ---------- artist window: springy open / slide-away close (phones) ---------- */
@media (max-width: 759px) {
  .a-sheet { animation: sheetUp .62s cubic-bezier(.2, .9, .25, 1.12) both; transform-origin: 50% 100%; }
  .a-sheet::before {
    content: ""; position: sticky; top: 8px; z-index: 3; display: block; width: 44px; height: 5px; margin: 8px auto -13px;
    border-radius: 999px; background: rgba(46, 23, 12, .35);
  }
  .artist[open]::backdrop { animation: fadeIn .35s ease both; }
  .a-photo img { animation: photoIn .7s .12s var(--ease-out) both; }
  .fresh .a-head > * { animation-duration: .5s; }
  .a-close { animation: popIn .45s .25s var(--ease-spring) both; }
}
@keyframes sheetUp {
  0%   { transform: translateY(100%) scale(.98); }
  65%  { transform: translateY(-2.5%) scale(1); }
  100% { transform: translateY(0); }
}
.artist.closing .a-sheet { animation: sheetDown .3s cubic-bezier(.5, 0, .9, .5) forwards !important; }
.artist.closing::backdrop { animation: fadeOut .3s ease forwards; }
@keyframes sheetDown { to { transform: translateY(105%); } }
@keyframes fadeOut { to { opacity: 0; } }
@media (min-width: 760px) {
  .artist.closing .a-sheet { animation: sheetFade .25s ease forwards !important; }
  @keyframes sheetFade { to { opacity: 0; transform: translateY(24px) scale(.98); } }
}

@media (max-width: 759px) { .hl-trumpet { left: -34px; width: 100px; } }

/* second trumpet, mirrored, on the other side */
.hl-trumpet-r { left: auto !important; right: 14px; animation-name: tootR; transform-origin: 70% 80%; }
@keyframes tootR { 0%, 100% { transform: scaleX(-1) rotate(18deg); } 8% { transform: scaleX(-1) rotate(10deg) scale(1.04); } 16% { transform: scaleX(-1) rotate(20deg); } 24% { transform: scaleX(-1) rotate(14deg) scale(1.03); } 32% { transform: scaleX(-1) rotate(18deg); } }
@media (max-width: 759px) { .hl-trumpet-r { right: -34px; } }
@media (min-width: 760px) { .hl-trumpet-r { right: max(24px, calc(50% - 560px)); } }
@media (prefers-reduced-motion: reduce) { .hl-trumpet-r { transform: scaleX(-1) rotate(18deg); } }

/* desktop: trumpets tight to the screen edges */
@media (min-width: 760px) {
  .hl-trumpet { left: -8px; }
  .hl-trumpet-r { right: -8px; }
}
/* wide screens: all five headliners on one line */
@media (min-width: 1100px) {
  .hl-list { max-width: 1400px; flex-wrap: nowrap !important; }
  .hl-list li.hl-card, .hl-list li.hl-card:nth-child(even),
  .hl-list li.hl-card:nth-child(4), .hl-list li.hl-card:nth-child(5) { width: 21% !important; margin: 0 -.6% !important; }
  .hl-strip { margin-top: -44px; padding: 8px 12px 9px; }
  .hl-strip .en { font-size: clamp(15px, 1.35vw, 21px); }
  .hl-strip .en.sub { font-size: clamp(10px, .85vw, 12px); }
  .headliners { padding-inline: 70px; }
}
@media (min-width: 1100px) {
  .headliners { padding-inline: 150px; }
  .hl-trumpet { width: 130px; bottom: 50%; transform-origin: 30% 80%; }
}
@media (min-width: 760px) { .hl-trumpet-r { right: -46px; } }
@media (min-width: 1100px) { .headliners { padding-inline: 175px; } }
@media (min-width: 760px) and (max-width: 1099px) { .hl-trumpet-r { right: 50px; } }

/* yellow strip angle */
@media (min-width: 760px) { .ribbon-info { transform: rotate(16deg); } }

/* headliners span the whole screen, edge to edge (trumpets removed) */
.headliners { padding-inline: 0 !important; }
.hl-list { max-width: none !important; width: 100%; }
@media (min-width: 1100px) {
  .hl-list li.hl-card, .hl-list li.hl-card:nth-child(even),
  .hl-list li.hl-card:nth-child(4), .hl-list li.hl-card:nth-child(5) { width: 20.6% !important; margin: 0 -.3% !important; }
  .hl-strip .en { font-size: clamp(15px, 1.5vw, 24px); }
}

/* headliners sit right on top of the schedule; their name strips overlap onto the cream block */
.headliners { overflow: visible !important; z-index: 3; padding-bottom: 0 !important; }
.headliners > .deco { overflow: hidden; }
.hl-list { margin-bottom: -26px !important; }
.schedule { position: relative; z-index: 1; padding-top: 52px; }
@media (min-width: 760px) { .hl-list { margin-bottom: -30px !important; } }
.headliners { overflow-x: clip !important; overflow-y: visible !important; }

.days { padding-top: 26px; }
.day-cards { margin-top: 0; }

/* ---------- desktop: artist window pops in as a centred card ---------- */
@media (min-width: 760px) {
  .artist[open] { align-items: center; }
  .a-sheet {
    border-radius: 22px; max-height: 86vh;
    animation: cardIn .6s cubic-bezier(.2, .9, .25, 1.15) both;
    transform-origin: 50% 60%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  }
  .a-photo img { border-radius: 22px 22px 0 0; animation: photoIn .8s .1s var(--ease-out) both; }
  .artist[open]::backdrop { animation: blurIn .4s ease both; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .a-close { animation: popIn .45s .3s var(--ease-spring) both; }
  .fresh .a-head > * { animation-duration: .55s; }
}
@keyframes cardIn {
  0%   { opacity: 0; transform: translateY(60px) rotate(-3deg) scale(.86); }
  60%  { opacity: 1; transform: translateY(-6px) rotate(.6deg) scale(1.01); }
  100% { transform: none; }
}
@keyframes blurIn { from { opacity: 0; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); } }
@media (min-width: 760px) {
  .artist.closing .a-sheet { animation: cardOut .28s cubic-bezier(.5, 0, .9, .5) forwards !important; }
  @keyframes cardOut { to { opacity: 0; transform: translateY(40px) rotate(2deg) scale(.92); } }
}

/* ---------- phones: smooth sheet (one GPU transform, no competing animations) ---------- */
@media (max-width: 759px) {
  .a-sheet {
    animation: sheetSlide .46s cubic-bezier(.32, .72, 0, 1) both !important;
    will-change: transform; contain: layout paint; backface-visibility: hidden;
  }
  @keyframes sheetSlide { from { transform: translate3d(0, 100%, 0); } to { transform: translate3d(0, 0, 0); } }
  .artist.closing .a-sheet { animation: sheetSlideOut .26s cubic-bezier(.4, 0, 1, 1) forwards !important; }
  @keyframes sheetSlideOut { to { transform: translate3d(0, 100%, 0); } }
  /* the content arrives with the sheet instead of animating separately */
  .fresh .a-head > *, .fresh .a-facts > div, .fresh .a-actions > *, .fresh .a-same,
  .a-photo img, .a-close { animation: none !important; }
  .artist[open]::backdrop { animation: fadeIn .3s ease both; }
}

/* artist window: keep the scrollbar inside the rounded corners */
.a-sheet { scrollbar-width: thin; }
.a-sheet::-webkit-scrollbar { width: 8px; }
.a-sheet::-webkit-scrollbar-track { background: transparent; margin-top: 24px; margin-bottom: 4px; }
.a-sheet::-webkit-scrollbar-thumb { background: rgba(46, 23, 12, .55); border: 2px solid transparent; background-clip: padding-box; border-radius: 999px; }
@media (min-width: 760px) { .a-sheet::-webkit-scrollbar-track { margin-bottom: 24px; } }

/* the strips' overlap shows the cream schedule (headliners' brown stops where the schedule begins) */
.headliners { --ov: 30px; background: linear-gradient(to bottom, var(--brown) calc(100% - var(--ov)), transparent calc(100% - var(--ov))) !important; }
.hl-list { margin-bottom: calc(-1 * var(--ov)) !important; }
@media (min-width: 760px) { .headliners { --ov: 34px; } }

/* ---------- artist window: frame doesn't scroll; the body scrolls with a hidden native bar ---------- */
.a-sheet { overflow: hidden !important; display: flex; flex-direction: column; direction: rtl; }
.a-sheet > * { direction: rtl; }
#artist-body { overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; scrollbar-width: none; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
#artist-body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.a-sheet { padding-bottom: 0 !important; }
.a-bar { position: absolute; z-index: 4; right: 5px; top: 26px; bottom: 26px; width: 5px; border-radius: 999px; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.a-thumb { width: 100%; border-radius: 999px; background: rgba(46, 23, 12, .6); box-shadow: 0 0 0 1px rgba(244, 238, 228, .7); }
@media (max-width: 759px) { .a-bar { bottom: 12px; } }
.artist:focus, .artist:focus-visible, .a-sheet:focus { outline: none; }

/* Dekel's stars sit behind the strips; the characters stay in front */
.poster .poster-stars { position: absolute !important; top: 0; left: 0; width: 100%; height: auto; z-index: 0 !important; pointer-events: none; }

/* ---------- "my lineup" view: calmer and clearer ---------- */
.controls.mine-on .tabs { display: none; }
.controls.mine-on { flex-direction: row; justify-content: center; }
.controls.mine-on .mine { align-self: center; }
#mine-view { padding: 6px 16px 10px; }
.mv-day {
  display: flex; align-items: baseline; gap: 8px; margin: 22px 0 10px; font-size: 22px;
  padding-bottom: 6px; border-bottom: 2px solid var(--brown);
}
.mv-day span { font-weight: 600; font-size: 16px; opacity: .7; }
.mv-day small { margin-inline-start: auto; font-size: 13px; font-weight: 700; opacity: .65; }
.mv-item.s-0 { --sc: var(--yellow); } .mv-item.s-1 { --sc: var(--pink); } .mv-item.s-2 { --sc: var(--blue); }
.mv-item.s-3 { --sc: var(--tan); } .mv-item.s-4 { --sc: var(--red); } .mv-item.s-5 { --sc: var(--brown); }
.mv-item.s-6 { --sc: var(--cyan); } .mv-item.s-7 { --sc: #F4B9B2; } .mv-item.s-8 { --sc: #B9D98C; }
.mv-item {
  background: var(--paper) !important; color: var(--brown) !important;
  box-shadow: 0 0 0 1.5px rgba(46, 23, 12, .18) inset !important;
  border-inline-start: 8px solid var(--sc, var(--yellow));
  border-radius: 12px; padding: 12px 12px 12px 10px; margin-bottom: 8px; gap: 12px;
}
.mv-time { font-size: 19px; min-width: 54px; text-align: right; }
.mv-name { font-size: 16px; font-weight: 800; }
.mv-meta { font-size: 13px; opacity: .75; }
.mv-meta .clash { color: var(--red); opacity: 1; }
.mv-item .star { color: var(--brown) !important; width: 26px; height: 26px; }
.mv-item .star[aria-pressed="true"] svg { fill: var(--yellow); stroke: var(--brown); }
@media (hover: hover) { .mv-item:hover { box-shadow: 0 0 0 2px var(--brown) inset !important; } }
/* add to calendar */
.mv-cal-all { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 8px 0 4px; text-align: center; }
.mv-cal-btn {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer;
  background: var(--yellow); color: var(--brown); border: 2px solid var(--brown); border-radius: 999px; padding: 10px 20px;
  transition: transform .15s var(--ease-out);
}
.mv-cal-btn:active { transform: scale(.96); }
.mv-cal-btn svg, .mv-cal svg, .mv-cal-all .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mv-cal-all small { font-size: 13px; opacity: .75; }
.mv-cal-all .ic svg { width: 15px; height: 15px; vertical-align: -3px; }
.mv-cal {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--brown); transition: background-color .15s, transform .15s var(--ease-out);
}
.mv-cal:active { transform: scale(.9); }
@media (hover: hover) { .mv-cal:hover, .mv-cal-btn:hover { background-color: rgba(46, 23, 12, .1); } .mv-cal-btn:hover { background-color: #FFE54D; } }
.mv-cal:focus-visible, .mv-cal-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* phones: only Dekel's own stars in the hero */
@media (max-width: 759px) { #sky { display: none; } }

/* ---------- day cards: that day's headliners pop up from behind the card on hover ---------- */
.dc-wrap { position: relative; }
.dc-wrap .day-card { position: relative; z-index: 1; }
.dc-wrap:nth-child(1) .day-card { background: var(--yellow); --rot: -1deg; }
.dc-wrap:nth-child(2) .day-card { background: var(--pink); --rot: .8deg; }
.dc-wrap:nth-child(3) .day-card { background: var(--blue); --rot: -.6deg; }
.dc-pop { display: none; }
@media (min-width: 760px) {
  .days { overflow: visible !important; }
  .days > .deco { overflow: hidden; }
  .dc-pop {
    display: flex; justify-content: center; align-items: flex-end; gap: 0;
    position: absolute; left: 6%; right: 6%; bottom: calc(100% - 30px); height: 170px; z-index: 0; pointer-events: none;
  }
  .dc-pop img {
    height: 100%; width: auto; max-width: 62%; object-fit: contain; object-position: bottom;
    transform: translateY(100%); opacity: 0;
    transition: transform .55s cubic-bezier(.2, .9, .25, 1.25) calc(var(--j) * 70ms), opacity .25s ease calc(var(--j) * 70ms);
  }
  .dc-pop img + img { margin-inline-start: -14%; }
  .dc-wrap:hover .dc-pop img, .dc-wrap:focus-within .dc-pop img { transform: translateY(28%); opacity: 1; }
  .dc-wrap:hover .dc-pop img:nth-child(2) { transform: translateY(32%) rotate(3deg); }
  .dc-wrap:hover .dc-pop img:nth-child(1):not(:only-child) { transform: translateY(28%) rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) { .dc-pop img { transition: opacity .2s !important; transform: translateY(28%) !important; } }
@media (min-width: 760px) {
  .dc-pop { height: 230px; bottom: calc(100% - 26px); }
  .dc-wrap:hover .dc-pop img, .dc-wrap:focus-within .dc-pop img { transform: translateY(14%); }
  .dc-wrap:hover .dc-pop img:nth-child(2) { transform: translateY(17%) rotate(3deg); }
  .dc-wrap:hover .dc-pop img:nth-child(1):not(:only-child) { transform: translateY(14%) rotate(-3deg); }
}

/* day cards: headliners rise up out of the bottom edge of the card, in front, poking out above the top */
@media (min-width: 760px) {
  .dc-pop {
    top: -95px !important; bottom: 0 !important; height: auto !important; left: 0 !important; right: 0 !important;
    z-index: 2 !important; overflow: hidden; border-radius: 0 0 18px 18px;
  }
  .dc-pop img { height: 100% !important; max-width: 60%; transform: translateY(100%) !important; }
  .dc-wrap:hover .dc-pop img, .dc-wrap:focus-within .dc-pop img { transform: translateY(0) !important; opacity: 1; }
  .dc-wrap:hover .dc-pop img:nth-child(1):not(:only-child) { transform: translateY(0) rotate(-2deg) !important; }
  .dc-wrap:hover .dc-pop img:nth-child(2) { transform: translateY(4%) rotate(2deg) !important; }
}
@media (min-width: 760px) {
  .dc-pop { justify-content: center; }
  .dc-pop img { max-width: none !important; width: auto; flex: 0 0 auto; height: 100% !important; }
  .dc-pop img + img { margin-inline-start: -32% !important; }
}
/* all of a day's artists pop together */
@media (min-width: 760px) { .dc-pop img { transition-delay: 0s !important; } }
/* pop-ups may spill past the card's top and sides; they're only hidden below its bottom edge */
@media (min-width: 760px) {
  .dc-pop { overflow: visible !important; border-radius: 0 !important; clip-path: inset(-400px -400px 0 -400px); top: -130px !important; }
  .dc-pop img + img { margin-inline-start: -18% !important; }
}
/* pop-ups stay inside the card's height, rise from its bottom edge, may spill a little to the sides */
@media (min-width: 760px) {
  .dc-pop { top: 10px !important; clip-path: inset(0 -36px 0 -36px) !important; }
  .dc-pop img + img { margin-inline-start: -22% !important; }
}
/* pop-ups rise from the card's bottom edge and spill freely past its top and sides */
@media (min-width: 760px) {
  .dc-pop { top: -70px !important; clip-path: inset(-500px -500px 0 -500px) !important; }
}
/* pop-ups grow up out of the card itself (start small inside the card, rise and scale up) */
@media (min-width: 760px) {
  .dc-pop img {
    transform-origin: 50% 100%;
    transform: translateY(30%) scale(.35) !important; opacity: 0;
    transition: transform .55s cubic-bezier(.2, .9, .25, 1.2), opacity .2s ease !important;
  }
  .dc-wrap:hover .dc-pop img, .dc-wrap:focus-within .dc-pop img { transform: translateY(0) scale(1) !important; opacity: 1; }
  .dc-wrap:hover .dc-pop img:nth-child(1):not(:only-child) { transform: translateY(0) scale(1) rotate(-2deg) !important; }
  .dc-wrap:hover .dc-pop img:nth-child(2) { transform: translateY(3%) scale(1) rotate(2deg) !important; }
}

/* ---------- day cards v3: the artists live inside the card, which lets them overspill ---------- */
.day-card { overflow: visible; }
.day-card > :not(.dc-pop) { position: relative; z-index: 1; }
.dc-pop { display: none; }
@media (min-width: 760px) {
  .dc-pop {
    display: flex !important; position: absolute !important; z-index: 0 !important;
    top: -70px !important; bottom: 0 !important; left: -36px !important; right: -36px !important; height: auto !important;
    justify-content: center; align-items: flex-end; pointer-events: none;
    clip-path: none !important; overflow: visible !important; border-radius: 0 !important;
  }
  .dc-wrap:hover .dc-pop img, .dc-wrap:focus-within .dc-pop img { transform: translateY(30%) scale(.35) !important; opacity: 0; }
  .day-card .dc-pop img { transform-origin: 50% 100%; transform: translateY(30%) scale(.35) !important; opacity: 0; }
  .day-card:hover .dc-pop img, .day-card:focus-visible .dc-pop img { transform: translateY(0) scale(1) !important; opacity: 1; }
  .day-card:hover .dc-pop img:nth-child(1):not(:only-child) { transform: translateY(0) scale(1) rotate(-2deg) !important; }
  .day-card:hover .dc-pop img:nth-child(2) { transform: translateY(3%) scale(1) rotate(2deg) !important; }
  .dc-wrap:hover { z-index: 5; position: relative; }
}
/* day-card pop-ups: each artist takes half the card's width (as set by Lior) */
@media (min-width: 760px) { .day-card .dc-pop img { width: 50% !important; } }

/* ---------- day-card pop-ups tinted in the card's colour, slightly see-through ---------- */
.dc-wrap:nth-child(1) { --card: var(--yellow); } .dc-wrap:nth-child(2) { --card: var(--pink); } .dc-wrap:nth-child(3) { --card: var(--blue); }
@media (min-width: 760px) {
  .dc-fig {
    position: relative; display: block; flex: 0 0 auto; width: 50%; height: 100%;
    isolation: isolate; background: var(--card);
    -webkit-mask: var(--src) center bottom / contain no-repeat; mask: var(--src) center bottom / contain no-repeat;
    transform-origin: 50% 100%; transform: translateY(30%) scale(.35); opacity: 0;
    transition: transform .55s cubic-bezier(.2, .9, .25, 1.2), opacity .2s ease;
  }
  .day-card .dc-pop .dc-fig > img {
    width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important;
    object-fit: contain; object-position: center bottom;
    transform: none !important; opacity: 1 !important; transition: none !important;
    filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply;
  }
  .day-card:hover .dc-fig, .day-card:focus-visible .dc-fig { transform: translateY(0) scale(1); opacity: .82; }
  .day-card:hover .dc-fig:nth-child(1):not(:only-child) { transform: translateY(0) scale(1) rotate(-2deg); }
  .day-card:hover .dc-fig:nth-child(2) { transform: translateY(3%) scale(1) rotate(2deg); }
}

/* day-card pop-ups: contained inside the card; they slide straight up from its bottom edge (no rotation, no scale) */
@media (min-width: 760px) {
  .day-card { overflow: hidden !important; }
  .dc-pop { top: 14px !important; bottom: 0 !important; left: 0 !important; right: 0 !important; }
  .dc-fig { transform: translateY(100%) !important; opacity: 0; transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .25s ease !important; }
  .day-card:hover .dc-fig, .day-card:focus-visible .dc-fig,
  .day-card:hover .dc-fig:nth-child(1):not(:only-child), .day-card:hover .dc-fig:nth-child(2) { transform: translateY(0) !important; opacity: .82; }
}
/* day-card artists all at the same height (width follows each photo's shape) */
@media (min-width: 760px) {
  .dc-pop { justify-content: center; gap: 0; }
  .dc-fig { height: 92% !important; width: auto !important; aspect-ratio: var(--ar); flex: 0 0 auto; }
  .dc-fig + .dc-fig { margin-inline-start: -6%; }
}
/* day-card artists: more of them, smaller, rising one after another */
@media (min-width: 760px) {
  .dc-pop { align-items: flex-end; container-type: inline-size; }
  /* one size for every card, so the fullest card (5 artists) still fits its width */
  .dc-pop { justify-content: center !important; }
  .dc-fig { height: calc(var(--h) * var(--s, 1) * 1cqw) !important; }
  .dc-fig + .dc-fig { margin-inline-start: calc(var(--ov) * -1cqw) !important; }
  .dc-fig.head { z-index: 1; }
  /* artists live in a clear strip under the text, so they never cover it */
  .day-card { --zone: 118px; padding-bottom: calc(var(--zone) + 10px) !important; }
  .dc-pop { top: auto !important; bottom: 0 !important; height: var(--zone) !important; }
  .dc-fig { height: min(calc(var(--h) * var(--s, 1) * 1cqw), calc(var(--zone) * var(--s, 1))) !important; }
  .dc-fig { transition-delay: calc(var(--j, 0) * 45ms) !important; }
}
.dc-more { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; opacity: .8; }
/* arrow in the day cards: bottom-left corner */
.day-card > .dc-go { position: absolute !important; left: 16px; bottom: 12px; right: auto; top: auto; z-index: 2; }

.schedule[hidden] { display: none !important; }

/* ---------- language switch: round flag button under the accessibility button ---------- */
.lang-fab {
  position: fixed; z-index: 10001; bottom: 1rem; right: 1rem;
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--cream); background: var(--cream);
  box-shadow: 0 6px 18px rgba(46, 23, 12, .35);
  transition: transform .2s;
}
.lang-fab svg { display: block; width: 100%; height: 100%; }
.lang-fab:hover { transform: scale(1.05); }
.lang-fab:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------- English page (left to right) ---------- */
html[dir="ltr"] .show.dj .tm::after { content: " · DJ set"; }
html[dir="ltr"] .times span { transform: translateX(-50%); }
html[dir="ltr"] .lane { background-image: repeating-linear-gradient(to right, rgba(45,24,16,.14) 0 1px, transparent 1px calc(var(--px-min) * 30)); }
html[dir="ltr"] .show, html[dir="ltr"] .show .tm { text-align: left; }
html[dir="ltr"] .star { margin: -5px 0 0 -5px; }
html[dir="ltr"] .a-same-item, html[dir="ltr"] .mv-time { text-align: left; }
html[dir="ltr"] .rb-track { animation-name: marqueeLtr; }
@keyframes marqueeLtr { to { transform: translateX(-50%); } }
html[dir="ltr"] .day-card { text-align: left; padding: 16px 44px 16px 18px; }
html[dir="ltr"] .dc-heads { text-align: left; }
html[dir="ltr"] .day-card > .dc-go { left: auto; right: 16px; }
@keyframes nudgeLtr { 50% { transform: translateX(6px); } }
@media (hover: hover) {
  html[dir="ltr"] .day-card:hover .dc-go { animation-name: nudgeLtr; }
  html[dir="ltr"] .pill-link:hover { transform: translateX(3px) rotate(2deg); }
  html[dir="ltr"] .info-link:hover { transform: translateX(4px); }
}
html[dir="ltr"] .a-sheet, html[dir="ltr"] .a-sheet > * { direction: ltr; }
@media (min-width: 760px) { html[dir="ltr"] .day-card { padding: 22px 20px 44px; text-align: center; } html[dir="ltr"] .dc-heads { text-align: center; } }

/* ---------- accessibility menu (button + panel), sizes as on indnegev.co.il, in the festival colours ---------- */
.a11y-toggle {
  position: fixed; z-index: 10001; bottom: calc(1rem + 58px); right: 1rem;
  width: 48px; height: 48px; border-radius: 50%; padding: 0;
  background: var(--brown); color: var(--cream); border: 2px solid var(--cream);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(46, 23, 12, .35);
  transition: transform .2s, background .2s;
}
.a11y-toggle:hover { transform: scale(1.05); background: var(--red); }
.a11y-toggle:focus-visible, .a11y-panel button:focus-visible, .a11y-panel a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.a11y-panel {
  position: fixed; z-index: 10001; bottom: calc(4.5rem + 58px); right: 1rem;
  width: min(320px, 100vw - 2rem); max-height: calc(100vh - 6rem - 58px); overflow-y: auto;
  background: var(--cream); color: var(--brown); border-radius: 14px;
  box-shadow: 0 12px 36px rgba(46, 23, 12, .28);
  padding: 1rem 1.1rem 1.1rem; font-family: "Rubik", system-ui, sans-serif;
  animation: a11yUp .25s ease;
}
.a11y-panel[hidden] { display: none; }
@keyframes a11yUp { from { opacity: 0; transform: translateY(8px); } }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(46, 23, 12, .16); }
.a11y-title { font-weight: 800; font-size: 1.2rem; margin: 0; letter-spacing: -.01em; }
.a11y-close { background: transparent; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--brown); line-height: 1; padding: 0 .3rem; opacity: .7; }
.a11y-close:hover { opacity: 1; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0; }
.a11y-label { font-size: .95rem; font-weight: 600; }
.a11y-stepper { display: inline-flex; align-items: center; gap: .35rem; }
.a11y-stepper button { width: 30px; height: 30px; border-radius: 50%; padding: 0; background: transparent; border: 1px solid rgba(46, 23, 12, .25); font-size: 1.2rem; line-height: 1; color: var(--brown); cursor: pointer; }
.a11y-stepper button:hover:not(:disabled) { background: rgba(46, 23, 12, .06); }
.a11y-stepper button:disabled { opacity: .4; cursor: not-allowed; }
.a11y-value { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; font-weight: 600; font-size: .9rem; }
.a11y-opt {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: transparent; border: 1px solid rgba(46, 23, 12, .16); border-radius: 10px;
  padding: .65rem .9rem; margin-top: .45rem; font-family: inherit; font-size: .95rem; font-weight: 600;
  color: var(--brown); cursor: pointer; text-align: start;
}
.a11y-opt:hover { background: rgba(46, 23, 12, .04); }
.a11y-opt.on { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.a11y-opt.on:hover { background: var(--red); }
.a11y-dot { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: transparent; border: 1.5px solid; transition: background .2s; }
.a11y-opt.on .a11y-dot { background: var(--yellow); border-color: var(--yellow); }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid rgba(46, 23, 12, .16); font-size: .88rem; }
.a11y-reset { background: transparent; border: 0; padding: 0; cursor: pointer; color: var(--brown); font-family: inherit; font-size: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.a11y-reset:hover { color: var(--red); }
.a11y-link { color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px solid; padding-bottom: 1px; }
.a11y-link:hover { color: var(--brown); }

/* what each setting does */
html.a11y-zoomed body > :not(.a11y-toggle):not(.a11y-panel):not(.lang-fab) { zoom: var(--a11y-zoom, 1); }
html.a11y-contrast { --brown: #000; --cream: #fff; --paper: #fff; --red: #c00; --cyan: #0050a0; }
html.a11y-contrast body { background: #000; }
html.a11y-contrast img { filter: contrast(1.2); }
html.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 3px !important; }
html.a11y-reduce-motion { scroll-behavior: auto; }
html.a11y-reduce-motion *, html.a11y-reduce-motion ::before, html.a11y-reduce-motion ::after {
  animation-duration: .001ms !important; animation-iteration-count: 1 !important;
  transition-duration: .001ms !important; scroll-behavior: auto !important;
}

/* ---------- host logos: the logo itself in the text colour (brown on light blocks, cream on dark), transparent around it ---------- */
.show .bot { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.host {
  display: inline-block; flex: none; vertical-align: middle; background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  height: 16px; aspect-ratio: var(--ar);
}
.h-imsf { --m: url("assets/hosts/imsf-mask.png?v=1"); --ar: 167 / 64; }
.h-rimon { --m: url("assets/hosts/rimon-mask.png?v=1"); --ar: 66 / 64; }
.h-csj { --m: url("assets/hosts/csj-mask.png?v=2"); --ar: 246 / 300; }
.h-soundtrack { --m: url("assets/hosts/soundtrack-mask.png?v=1"); --ar: 290 / 48; }
.host.h-soundtrack { height: 11px; }
.host.h-rimon { height: 24px; }
.host.h-csj { height: 30px; }
.show .host { height: 14px; }
.show .host.h-soundtrack { height: 10px; }
.show .host.h-rimon { height: 20px; }
.show .host.h-csj { height: 24px; }
.mv-meta .host { margin-inline-start: 8px; }
/* artists list: the logo sits next to the name, so the strip grows wider instead of taller */
.ar-item.has-host { display: inline-flex; align-items: center; gap: 12px; }
.ar-item.has-host .ar-text { display: block; min-width: 0; }
.ar-item .host { height: 20px; }
.ar-item .host.h-soundtrack { height: 13px; }
.ar-item .host.h-rimon { height: 30px; }
.ar-item .host.h-csj { height: 40px; }

/* ---------- DJ sets look clearly different from live shows ----------
   live = solid block in the stage colour; DJ = light block, dashed outline, stage-colour stripe and a record icon */
.s-0 { --sc: var(--yellow); } .s-1 { --sc: var(--pink); } .s-2 { --sc: var(--blue); } .s-3 { --sc: var(--tan); } .s-4 { --sc: var(--red); }
.s-5 { --sc: var(--brown); } .s-6 { --sc: var(--cyan); } .s-7 { --sc: #F4B9B2; } .s-8 { --sc: #B9D98C; }
.show.dj {
  background-color: var(--paper); background-image: none; color: var(--brown);
  box-shadow: none; border: 2px dashed var(--brown); border-inline-start: 7px solid var(--sc);
  padding: 5px 7px 4px 7px;
}
.show.dj .star, .show.dj .star[aria-pressed="true"] { color: var(--brown); }
.show.dj.fav { border-style: solid; border-inline-start-style: solid; box-shadow: 0 0 0 1.5px var(--brown) inset; }
.show.dj .nm { font-weight: 700; }
.show.dj .tm::before {
  content: ""; display: inline-block; width: 11px; height: 11px; margin-inline-end: 4px; vertical-align: -1px; border-radius: 50%;
  background: radial-gradient(circle, var(--sc) 0 2px, var(--brown) 2.5px 100%);
}
.lg-dj { background: var(--paper); border-style: dashed; border-inline-start: 5px solid var(--yellow); }
html[dir] .show.dj.short .tm::after { content: none; }   /* short DJ blocks: the look + record icon say it; keep the time visible */

/* desktop artists list: no strip is wider than half a row, so every row holds at least two artists (long names wrap) */
@media (min-width: 760px) {
  .ar-list li { max-width: calc(50% - 6px); }
  .ar-list li .ar-item { max-width: 100%; }
}
/* DJ sets always start on a new row, never sharing one with live shows: an invisible full-width break sits between the two groups */
.ar-list::before { content: ""; order: 1; flex-basis: 100%; height: 0; }
.ar-list li[data-group="dj"] { order: 2; }

/* ---------- Tel Aviv-Yafo municipality band (top) and production line (bottom), as on the city's festival sites ---------- */
.muni { --mh: 84px; --u: calc(var(--mh) / 128.4); position: relative; background: #fff; height: var(--mh); z-index: 30; overflow: visible; direction: ltr; }
.muni-bar { position: absolute; top: calc(52.3 * var(--u)); height: calc(48.7 * var(--u)); left: calc(469 * var(--u)); right: 0; background: #02B0EE; }
.muni-art { position: absolute; top: 0; left: 0; height: calc(159.02 * var(--u)); width: auto; display: block; pointer-events: none; z-index: 1; }
.muni-link { position: absolute; top: calc(26 * var(--u)); left: calc(88 * var(--u)); width: calc(200 * var(--u)); height: calc(102 * var(--u)); z-index: 2; border-radius: 50%; }
.muni-link:focus-visible { outline: 2px solid var(--brown); outline-offset: 2px; }
.muni-foot { background: #fff; border-top: 2px solid #02B0EE; padding: 13px 24px 14px; text-align: center; }
.mf-text { margin: 0 auto; max-width: 1080px; font-size: .9375rem; line-height: 1.35; color: #231F20; }
@media (max-width: 640px) {
  .muni { --mh: 58px; }
  .muni-foot { padding: 11px 84px 12px 20px; }
  .mf-text { font-size: .78rem; }
}
@media (max-height: 820px) and (min-width: 641px) { .muni { --mh: 64px; } }
/* footer: the Center for Jazz Studies logo is taller than wide, so it is sized by height */
.collab .p-csj { width: auto; height: 84px; }
@media (min-width: 760px) { .collab .p-csj { width: auto; height: 100px; } }
