/* =====================================================================
   Raanana Jazz Festival – site styles
   Palette taken from the @world.jazz.music Instagram posts.
   Colours are referenced only through the role tokens below.
   ===================================================================== */

@font-face {
  font-family: "Praxial Brush";   /* countdown numbers only */
  src: url("/assets/fonts/praxial-brush.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Xenon Ruckus";
  src: url("/assets/fonts/xenon-ruckus.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0020-007E, U+2018-201D; /* Latin only – Hebrew falls through to Rubik */
}

:root {
  /* brand colours (World Jazz Music posts) */
  --terracotta: #C9473A;
  --yellow: #F7CE46;
  --sky: #75BBCD;
  --charcoal: #1C1B1D;
  --white: #FFFFFF;
  --cream: #FBF6EE;

  /* roles */
  --field: var(--terracotta);        /* hero, page headers, passes, footer */
  --on-field: var(--white);          /* text on the field (4.7:1) */
  --ground: var(--cream);            /* page background */
  --surface: var(--white);           /* cards and boxes on the ground */
  --ink: var(--charcoal);            /* text */
  --accent: var(--yellow);           /* primary action, highlights */
  --on-accent: var(--charcoal);      /* text on yellow (11:1) */
  --cool: var(--sky);                /* secondary fields and tags */
  --dark: var(--charcoal);           /* top bar, partners */
  --red-ink: #B33E31;                /* small red text on light grounds (5.4:1) */
  --rule: rgba(28, 27, 29, .18);
  --scrim: rgba(28, 27, 29, .55);

  /* type */
  /* two typefaces: Rubik for all Hebrew text, Xenon Ruckus for Latin and numbers */
  --display: "Rubik", system-ui, sans-serif;
  --body: "Rubik", system-ui, sans-serif;
  --brush: "Xenon Ruckus", "Rubik", system-ui, sans-serif;
  --latin: var(--brush);
  /* six sizes */
  --fs-display: clamp(56px, 7vw, 104px);
  --fs-1: clamp(34px, 4.2vw, 58px);
  --fs-2: clamp(24px, 2.3vw, 30px);
  --fs-body: 19px;
  --fs-meta: 16px;
  --fs-small: 14px;

  /* motion (Emil Kowalski's curves) */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --press: 160ms;
  --hover: 220ms;
  --enter: 380ms;

  /* layers */
  --z-content: 2;
  --z-chrome: 40;
  --z-sticky: 45;
  --z-scrim: 90;
  --z-drawer: 100;
  --z-skip: 200;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { font-family: var(--body); background: var(--ground); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { text-wrap: balance; }
a, button, select, label, summary, [role="button"] { cursor: pointer; }
svg.ic { width: 100%; height: 100%; fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* focus: visible on every surface */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); border-radius: 2px; }

/* skip link */
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: var(--z-skip); background: var(--accent); color: var(--on-accent);
  font-family: var(--display); font-weight: 700; padding: 12px 18px; transform: translateY(-150%); transition: transform var(--hover) var(--ease-out); }
.skip:focus-visible { transform: none; }

/* small links get a 44×44 hit area without changing how they look */
.topbar nav a, .socials-fixed a, .footer .socials a, .drawer .follow div a, .slot .tix, .fcols a, .drawer .sub a, .duo .disc, .duo .hires, .card .buy:not(.stretch) { position: relative; }
.topbar nav a::before, .socials-fixed a::before, .footer .socials a::before, .drawer .follow div a::before,
.slot .tix::before, .fcols a::before, .drawer .sub a::before, .duo .disc::before, .duo .hires::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%);
}

.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font-family: var(--display); font-weight: 700; font-size: var(--fs-body); padding: 12px 26px;
  transition: transform var(--press) var(--ease-out), box-shadow var(--hover) var(--ease-out), background-color var(--hover) ease, color var(--hover) ease; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.ghost { padding-inline: 4px; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.btn:active { transform: scale(.97); }

/* ---------- Top bar ---------- */
.topbar { height: 48px; background: var(--dark); display: flex; align-items: center; justify-content: space-between; padding: 0 36px;
  font-family: var(--display); font-weight: 700; font-size: var(--fs-small); letter-spacing: .02em; color: var(--white); position: relative; z-index: 30; }
.topbar .tag { color: var(--cool); }
.topbar .tag em { font-style: normal; color: var(--accent); }
.topbar .tag i { font-style: normal; color: var(--white); }
.topbar nav { display: flex; align-items: center; gap: 36px; }
.topbar nav a span { color: var(--accent); }
.lang-switch { border: 1.5px solid var(--accent); color: var(--accent); padding: 3px 12px; font-family: var(--display); font-weight: 700; }

/* ---------- Fixed chrome ---------- */
.brand { position: fixed; top: 58px; inset-inline-start: 32px; z-index: var(--z-chrome); display: flex; align-items: center; gap: 14px; }
.brand img { width: 104px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.burger { min-width: 44px; min-height: 44px; display: grid; align-content: center; gap: 7px; background: none; border: 0; padding: 0 9px; }
.burger span { height: 2px; background: var(--white); border-radius: 2px; }
.burger span:nth-child(2) { width: 70%; }
.socials-fixed { position: fixed; top: 60px; inset-inline-end: 22px; z-index: var(--z-chrome); display: grid; gap: 22px; }
.socials-fixed a { width: 22px; height: 22px; color: var(--white); mix-blend-mode: difference; }
.totop { position: fixed; inset-inline-end: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; z-index: var(--z-chrome); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.totop svg { width: 16px; stroke: var(--on-accent); fill: none; }

/* ---------- Drawer menu ---------- */
.drawer-scrim { position: fixed; inset: 0; background: var(--scrim); z-index: var(--z-scrim); opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: 340px; max-width: 86vw; z-index: var(--z-drawer); background: var(--ground);
  padding: 34px 36px 40px; overflow-y: auto; display: flex; flex-direction: column; box-shadow: 0 0 50px rgba(28,27,29,.25);
  transform: translateX(105%); transition: transform 200ms var(--ease-out); }  /* close: fast */
[dir="ltr"] .drawer { transform: translateX(-105%); }
.menu-open .drawer, [dir="ltr"] .menu-open .drawer { transform: none; transition: transform 320ms var(--ease-drawer); }  /* open: a little slower */
.menu-open .drawer-scrim { opacity: 1; pointer-events: auto; transition-duration: 280ms; }
.menu-open { overflow: hidden; }
.drawer .close { position: absolute; top: 22px; inset-inline-end: 20px; width: 44px; height: 44px; padding: 5px; border: 0; background: none; color: var(--ink); }
.drawer .close svg { width: 100%; height: 100%; stroke: currentColor; }
.drawer .dlogo { width: 130px; }
.drawer .main { margin-top: 38px; display: grid; gap: 6px; }
.drawer .main a { display: block; padding: 4px 0; font-family: var(--display); font-weight: 900; font-size: var(--fs-2); color: var(--ink); transition: color var(--hover) ease, transform var(--hover) var(--ease-out); }
.drawer .main a.active { color: var(--red-ink); }
.drawer .sub { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--ink); display: grid; gap: 4px; }
.drawer .sub a { display: block; padding: 5px 0; font-family: var(--display); font-weight: 500; font-size: var(--fs-body); color: var(--ink); }
.drawer .sub a.active { color: var(--red-ink); }
.drawer .follow { margin-top: auto; padding-top: 30px; }
.drawer .follow b { font-family: var(--display); font-weight: 700; font-size: var(--fs-small); letter-spacing: .04em; color: var(--red-ink); display: block; }
.drawer .follow div { display: flex; gap: 22px; margin-top: 12px; }
.drawer .follow div a { width: 24px; height: 24px; color: var(--ink); }
.drawer .follow small { display: block; margin-top: 10px; font-size: var(--fs-small); }
.drawer .drawer-lang { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 18px; border-color: var(--ink); color: var(--ink); font-size: var(--fs-meta); }
.drawer .dbtn { display: flex; margin-top: 22px; }

/* ---------- Home hero ---------- */
.hero { background: var(--field); color: var(--on-field); position: relative; padding: 70px 24px 120px; overflow: hidden; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; align-items: center; position: relative; z-index: var(--z-content); }
.hero h1 { margin: 0; }
.hero .main-logo { width: 100%; max-width: 480px; margin: 0 auto; }
/* "פסטיבל / FESTIVAL" over the logo's top-right corner, "רעננה / RAANANA" under its bottom-left – as on the original Wix hero */
.hero .hero-title { position: relative; max-width: 480px; margin: 0 auto; }
.hero-title .hw { position: relative; z-index: 1; width: 44%; }
.hero-title .hw-fest { margin: 0 -9% -3% auto; }
.hero-title .hw-raan { margin: 1% auto 0 -9%; }
@media (max-width: 640px) { .hero-title .hw-fest { margin-right: 0; } .hero-title .hw-raan { margin-left: 0; } }
.hero .meta { text-align: center; margin-top: 18px; }
/* base size = "DEC 2026"; the day range is 2.16em so both lines are the same width (measured for Xenon Ruckus) */
.hero .dates { font-family: var(--brush); font-size: 38px; line-height: 1; color: var(--accent); direction: ltr; display: inline-block; }
.hero .dates .d-num { display: block; font-size: 1.92em; line-height: .92; letter-spacing: 0; }
.hero .dates small { display: block; font-size: 1em; color: var(--on-field); margin-top: -10px; letter-spacing: .06em; margin-right: -.06em; }
.hero .dir { font-family: var(--display); font-weight: 700; font-size: var(--fs-body); margin-top: 12px; }
.hero .dir span { font-weight: 500; }
.hero .ctas { display: flex; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* countdown: a thin full-width strip under the logo – label, then days / hours / minutes / seconds */
/* sits flush on the bottom edge of the hero (cancels the hero's side and bottom padding) */
.cd-strip { background: var(--dark); color: var(--on-field); margin: 80px -24px -120px; padding: 14px 24px; position: relative; z-index: var(--z-content); }
.cd-in { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 34px; }
.cd-label { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 26px); }
.countdown { display: flex; align-items: stretch; border-inline-start: 1px solid rgba(255,255,255,.28); }
.countdown[hidden] { display: none; }
[dir="rtl"] .countdown { direction: ltr; }   /* Hebrew too: days on the far left, seconds on the right */
.countdown .u { min-width: 104px; padding: 2px 18px; text-align: center; border-inline-end: 1px solid rgba(255,255,255,.28); }
.countdown b { display: block; font-family: "Praxial Brush", var(--brush); font-weight: 400; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; direction: ltr; }
.countdown small { display: block; margin-top: 4px; font-family: var(--display); font-weight: 500; font-size: var(--fs-small); color: rgba(255,255,255,.75); }
@media (max-width: 640px) {
  .cd-strip { padding: 12px 12px; }
  .cd-in { flex-direction: column; gap: 8px; }
  .cd-label { font-size: 16px; }
  .countdown .u { min-width: 0; padding: 0 12px; }
  .countdown b { font-size: 28px; }
  .countdown small { font-size: 12px; }
}



/* ---------- Section titles ---------- */
.stitle { max-width: 1180px; margin: 120px auto 40px; padding: 0 40px; text-align: start; }
.stitle h2 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-display); line-height: .95; }
.stitle p { font-size: var(--fs-body); margin-top: 12px; max-width: 640px; }
.subhead { max-width: 1180px; margin: 90px auto 28px; padding: 0 40px; font-family: var(--brush); font-weight: 900; font-size: var(--fs-1); line-height: 1; }
.subhead + .sched-note { margin-top: -14px; }
.sched-note { max-width: 1180px; margin: 0 auto 30px; padding: 0 40px; font-size: var(--fs-body); }

/* ---------- Featured show cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 36px; max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.card { position: relative; }
.card .ph { aspect-ratio: 1; overflow: hidden; background: var(--dark) center/cover no-repeat; clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
  transition: transform var(--hover) var(--ease-out); }
.card .day { font-family: var(--display); font-weight: 700; font-size: var(--fs-small); color: var(--red-ink); margin-top: 18px; }
.card .day b { color: var(--ink); font-weight: 700; margin-inline-start: 4px; }
.card h3 { font-family: var(--display); font-weight: 900; font-size: var(--fs-2); line-height: 1.12; margin-top: 6px; }
.card .desc { font-size: var(--fs-meta); margin-top: 6px; line-height: 1.45; }
.card .venue { font-size: var(--fs-small); margin-top: 8px; font-weight: 600; }
.card .buy { display: inline-block; margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); border-bottom: 3px solid var(--accent); }
.card:active .ph { transform: scale(.985); }

/* stretched links: the whole card / row opens the show's tickets */
.card:has(.stretch), .showrow:has(.stretch) { cursor: pointer; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .stretch, .showrow .stretch { position: static; }
.showrow .act .btn.stretch { position: relative; }
.showrow .act .btn.stretch::after { inset: -400px -2000px; }  /* reaches the row edges; the row clips it */

/* ---------- Day-by-day schedule ---------- */
.schedule { max-width: 1180px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.daycol { background: var(--surface); padding: 30px 26px 26px; position: relative; }
.daycol header { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 3px solid var(--ink); padding-bottom: 12px; margin-bottom: 8px; }
.daycol header h3 { font-family: var(--display); font-weight: 900; font-size: var(--fs-2); }
.daycol header span { font-family: var(--brush); font-size: var(--fs-2); color: var(--red-ink); direction: ltr; }
.slot { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--rule); }
.slot:last-of-type { border-bottom: 0; }
.slot time { font-family: var(--latin); font-size: var(--fs-body); direction: ltr; text-align: start; }
.slot .t { font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); line-height: 1.3; }
.slot .v { font-size: var(--fs-small); margin-top: 3px; color: var(--red-ink); font-weight: 600; }
.slot .free { display: inline-block; font-size: var(--fs-small); font-weight: 700; background: var(--accent); color: var(--on-accent); padding: 0 6px; margin-inline-start: 6px; }
.slot .tix { display: inline-block; margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: var(--fs-small); border-bottom: 2px solid var(--accent); }
.daycol .pass { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 14px; background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 700;
  transition: background-color var(--hover) ease, transform var(--press) var(--ease-out); }
.daycol .pass:active { transform: scale(.98); }

/* ---------- Passes box ---------- */
.passes { max-width: 1100px; margin: 120px auto 0; background: var(--field); color: var(--on-field); padding: 64px 56px; text-align: start; position: relative; }
.passes .love { font-family: var(--display); font-weight: 900; font-size: var(--fs-2); color: var(--accent); }
.passes .big { font-family: var(--brush); font-weight: 900; font-size: var(--fs-display); line-height: 1; position: relative; display: inline-block; margin-top: 4px; z-index: 1; }
.passes .big::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: 20px; height: 26px; background: var(--ink); z-index: -1; }
.passes p { font-size: var(--fs-body); line-height: 1.6; max-width: 560px; margin-top: 8px; }
.passes .ctas { display: flex; gap: 20px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.passes .themes { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); }
.passes .themes a { display: inline-flex; align-items: center; min-height: 44px; border: 1.5px solid var(--on-field); padding: 0 16px; direction: ltr;
  transition: background-color var(--hover) ease, color var(--hover) ease, transform var(--press) var(--ease-out); }
.passes .themes a:active { transform: scale(.97); }

/* ---------- Programme + workshops ---------- */
.duo { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; max-width: 1140px; margin: 140px auto 0; padding: 0 40px; align-items: start; }
.duo .col { text-align: start; }
.duo h2 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-2); }
.duo .disc { display: inline-block; margin: 10px 0 28px; font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); border-bottom: 3px solid var(--accent); }
.duo .frame { max-width: 440px; }
.program { background: var(--field); }
.program img { width: 100%; height: auto; }
.ws { background: var(--cool); padding: 34px 30px; text-align: start; position: relative; overflow: hidden; }
.ws .k { font-family: var(--brush); font-weight: 900; font-size: var(--fs-1); line-height: .95; }
.ws .k span { display: block; color: var(--ink); opacity: .78; }
.ws .info { margin-top: 16px; font-size: var(--fs-meta); line-height: 1.5; font-weight: 600; }
.ws ul { list-style: none; margin-top: 18px; border-top: 3px solid var(--ink); }
.ws li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.ws li i { width: 42px; height: 42px; border-radius: 50%; background: var(--dark) center/cover; flex: none; }
.ws li b { font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); display: block; }
.ws li small { font-size: var(--fs-small); }
.ws .price { display: inline-block; margin-top: 18px; background: var(--ink); color: var(--accent); font-family: var(--display); font-weight: 900; font-size: var(--fs-body); padding: 6px 14px; }
.duo .hires { display: inline-block; margin-top: 24px; font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); }

/* ---------- Moments (photo grid) ---------- */
.moments-h { max-width: 1180px; margin: 120px auto 32px; padding: 0 40px; text-align: start; }
.moments-h h2 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-2); }
.moments-h .yr { font-family: var(--brush); font-size: var(--fs-body); color: var(--red-ink); margin-top: 4px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; }
.grid > a { display: block; aspect-ratio: 4/3; background: var(--dark) center/cover no-repeat; position: relative; overflow: hidden; transition: filter var(--hover) ease; }
.grid > a span { position: absolute; bottom: 14px; inset-inline-start: 16px; font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); color: var(--white);
  background: rgba(28,27,29,.78); padding: 3px 10px; opacity: 0; transition: opacity var(--hover) ease; }
.grid > a:focus-visible span { opacity: 1; }

/* ---------- Partners ---------- */
.partners { background: var(--dark); color: var(--white); padding: 110px 40px 100px; }
.partners > * { max-width: 1100px; margin-inline: auto; }
.partners h2 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-1); line-height: 1.05; }
.partners .sub { margin-top: 22px; font-size: var(--fs-body); }
.cat { margin-top: 56px; font-family: var(--display); font-weight: 700; font-size: var(--fs-small); letter-spacing: .12em; color: var(--accent); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 70px; margin-top: 36px; }
.logos img { max-height: 84px; width: auto; }
.logos img.tall { max-height: 120px; }

/* ---------- Footer ---------- */
.footer { background: var(--field); color: var(--on-field); text-align: center; padding: 80px 24px 40px; border-top: 6px solid var(--accent); position: relative; }
.footer .flogo { width: 140px; margin: 0 auto; }
.footer .socials { display: flex; justify-content: center; gap: 30px; margin-top: 30px; }
.footer .socials a { width: 24px; height: 24px; color: var(--white); }
.footer .ctas { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.fcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 760px; margin: 66px auto 0; text-align: start; }
.fcols h2 { font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); color: var(--accent); border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 10px; margin-bottom: 10px; }
.fcols a, .fcols p { display: block; font-size: var(--fs-meta); padding: 5px 0; }
.fcols a[hreflang] { color: var(--accent); }
.copy { margin-top: 56px; font-size: var(--fs-small); }

/* ---------- Mobile sticky ticket button ---------- */
.sticky-cta { position: fixed; inset-inline-start: 16px; inset-inline-end: 76px; bottom: 16px; z-index: var(--z-sticky); display: none;
  transform: translateY(140%); transition: transform 200ms var(--ease-out); }
.sticky-cta.show { transform: none; transition-duration: var(--enter); }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--field); color: var(--on-field); position: relative; padding: 170px 24px 130px; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%); }
.page-hero .eyebrow { font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); color: var(--accent); letter-spacing: .06em; }
.page-hero h1 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-display); line-height: 1; margin-top: 12px; position: relative; display: inline-block; }
.page-hero p.lead { max-width: 700px; margin: 34px auto 0; font-size: var(--fs-body); line-height: 1.6; }
.page-hero .ctas { display: flex; gap: 16px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 40px; }
.section { padding: 90px 0 0; }
.section:last-of-type { padding-bottom: 120px; }
.sec-h { font-family: var(--brush); font-weight: 900; font-size: var(--fs-1); }
.sec-h + p { font-size: var(--fs-body); margin-top: 8px; }
.prose p { font-size: var(--fs-body); line-height: 1.7; margin-top: 16px; }
.prose h2 { font-family: var(--display); font-weight: 900; font-size: var(--fs-1); margin-top: 50px; }
.prose ul { margin-top: 16px; padding-inline-start: 22px; font-size: var(--fs-body); line-height: 1.8; }
.prose a { border-bottom: 3px solid var(--accent); font-weight: 700; }
.prose .note { background: var(--surface); border-inline-start: 6px solid var(--field); padding: 16px 20px; }

/* stats */
.stats-h { text-align: center; }
.stats-h h2 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-1); }
.stats-h small { display: block; margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: var(--fs-small); letter-spacing: .1em; color: var(--red-ink); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 30px; margin-top: 46px; text-align: center; }
.stat b { display: block; font-family: var(--brush); font-size: var(--fs-display); line-height: 1; }
.stat b em { font-style: normal; color: var(--red-ink); font-size: var(--fs-1); }
.stat span { display: block; margin-top: 10px; font-size: var(--fs-body); line-height: 1.4; }

/* people */
.people { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 34px 26px; margin-top: 40px; }
.person .ph { aspect-ratio: 4/5; background: var(--dark) center/cover no-repeat; }
.person b { display: block; font-family: var(--display); font-weight: 900; font-size: var(--fs-body); margin-top: 12px; }
.person span { font-size: var(--fs-meta); color: var(--red-ink); font-weight: 600; }

/* past editions */
.artists { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 70px; }
.artist { position: relative; aspect-ratio: 4/3; background: var(--dark) center/cover no-repeat; overflow: hidden; display: block; }
.artist::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(28,27,29,.92)); transition: opacity var(--hover) ease; }
.artist .in { position: absolute; inset-inline: 22px; bottom: 20px; color: var(--white); }
.artist .in small { font-family: var(--display); font-weight: 700; font-size: var(--fs-small); color: var(--accent); }
.artist .in h3 { font-family: var(--display); font-weight: 900; font-size: var(--fs-2); line-height: 1.12; margin-top: 4px; }
/* description: fade + slide in (no max-height animation) */
.artist .in p { font-size: var(--fs-meta); line-height: 1.45; margin-top: 6px; opacity: 0; transform: translateY(6px); transition: opacity var(--hover) ease, transform var(--hover) var(--ease-out); }
.artist:focus-visible .in p { opacity: 1; transform: none; }
@media (hover: none) { .artist .in p { opacity: 1; transform: none; } }

/* line-up rows */
.daytabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 60px; }
.daytabs button { min-height: 44px; font-family: var(--display); font-weight: 700; font-size: var(--fs-body); padding: 8px 22px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  transition: background-color var(--hover) ease, color var(--hover) ease, transform var(--press) var(--ease-out); }
.daytabs button.on { background: var(--ink); color: var(--white); }
.daytabs button:active { transform: scale(.97); }
.showlist { margin-top: 40px; display: grid; gap: 26px; }
.showrow { position: relative; overflow: hidden; display: grid; grid-template-columns: 260px 1fr auto; gap: 30px; align-items: center; background: var(--surface); padding: 18px; }
.showrow .ph { aspect-ratio: 4/3; background: var(--dark) center/cover no-repeat; }
.showrow .ph.noimg { background: var(--cool); }
.showrow .when { font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); color: var(--red-ink); }
.showrow .when time { font-family: var(--latin); font-size: var(--fs-body); color: var(--ink); margin-inline-start: 6px; }
.showrow h3 { font-family: var(--display); font-weight: 900; font-size: var(--fs-2); line-height: 1.15; margin-top: 4px; }
.showrow p { font-size: var(--fs-body); margin-top: 6px; line-height: 1.5; }
.showrow .venue { font-size: var(--fs-meta); font-weight: 700; margin-top: 8px; }
.showrow .act { text-align: center; padding-inline-end: 10px; }
.showrow .act .free { display: inline-block; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 700; font-size: var(--fs-small); padding: 4px 10px; margin-bottom: 10px; }

/* venue */
.venues { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; margin-top: 40px; }
.venue-card { background: var(--surface); padding: 34px 32px; border-top: 8px solid var(--field); }
.venue-card:nth-child(2) { border-color: var(--accent); }
.venue-card:nth-child(3) { border-color: var(--ink); }
.venue-card:nth-child(4) { border-color: var(--cool); }
.venue-card h3 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-2); }
.venue-card p { font-size: var(--fs-body); line-height: 1.6; margin-top: 10px; }
.venue-card ul { list-style: none; margin-top: 14px; border-top: 1px dashed var(--rule); }
.venue-card li { padding: 8px 0; border-bottom: 1px dashed var(--rule); font-size: var(--fs-meta); display: flex; gap: 10px; }
.venue-card li time { font-family: var(--latin); font-size: var(--fs-body); min-width: 92px; direction: ltr; text-align: start; color: var(--red-ink); }
.map { margin-top: 40px; aspect-ratio: 16/7; border: 0; width: 100%; filter: grayscale(.3) contrast(1.05); background: var(--surface); }

/* tickets */
.ticket-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; margin-top: 34px; }
.tcard { background: var(--surface); padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; border-bottom: 6px solid var(--ink);
  transition: transform var(--hover) var(--ease-out); }
.tcard.hot { background: var(--field); color: var(--on-field); border-color: var(--accent); }
.tcard small { font-family: var(--display); font-weight: 700; font-size: var(--fs-small); color: var(--red-ink); }
.tcard.hot small { color: var(--accent); }
.tcard h3 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-2); line-height: 1.1; }
.tcard p { font-size: var(--fs-meta); line-height: 1.5; flex: 1; }
.tcard .go { font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); border-bottom: 3px solid var(--accent); align-self: flex-start; margin-top: 10px; }
.tcard:active { transform: scale(.98); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-top: 40px; }
.cbtn { background: var(--surface); padding: 34px 30px; display: block; position: relative; border-inline-start: 6px solid var(--field);
  transition: transform var(--hover) var(--ease-out), background-color var(--hover) ease; }
.cbtn h3 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-2); }
.cbtn p { font-size: var(--fs-body); margin-top: 8px; line-height: 1.5; }
.cbtn span { display: inline-block; margin-top: 16px; font-family: var(--display); font-weight: 700; border-bottom: 3px solid var(--accent); }
.cbtn:active { transform: scale(.985); }

/* media */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; margin-top: 40px; }
.dl { background: var(--surface); padding: 22px; text-align: center; }
.dl .th { aspect-ratio: 4/3; background: var(--dark) center/contain no-repeat; }
.dl .th.photo { background-size: cover; }
.dl h3 { font-family: var(--display); font-weight: 900; font-size: var(--fs-body); margin-top: 16px; }
.dl a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-family: var(--display); font-weight: 700; border-bottom: 3px solid var(--accent); }

/* call-to-action band */
.cta-band { background: var(--field); color: var(--on-field); text-align: center; padding: 70px 24px; margin-top: 110px; }
.cta-band h2 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-1); }
.cta-band p { font-size: var(--fs-body); margin-top: 10px; }
.cta-band .btn { margin-top: 26px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; }


/* ---------- 2026 block (first thing after the hero) ---------- */
.next { max-width: 1180px; margin: 0 auto; padding: 90px 40px 0; }
.next h2 { font-family: var(--brush); font-weight: 900; font-size: var(--fs-1); line-height: 1; }
.next > p { font-size: var(--fs-body); line-height: 1.6; max-width: 640px; margin-top: 14px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; background: var(--surface); }
.facts li { padding: 28px 28px 30px; }
.facts li + li { border-inline-start: 2px solid var(--ground); }
.facts b { display: block; font-family: var(--brush); font-size: var(--fs-1); line-height: 1; color: var(--red-ink); direction: ltr; text-align: left; }
[dir="rtl"] .facts b { text-align: right; }
.facts span { display: block; margin-top: 10px; font-size: var(--fs-meta); line-height: 1.5; }
.facts a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.next .soon { margin-top: 22px; font-size: var(--fs-meta); }

/* ---------- Featured 2025 shows: one lead, then a list ---------- */
.featured { max-width: 1180px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.lead { position: relative; }
.lead .ph { aspect-ratio: 4/3; background: var(--dark) 50% 30%/cover no-repeat; transition: transform var(--hover) var(--ease-out); }
.lead .meta { margin-top: 20px; font-size: var(--fs-small); font-weight: 700; color: var(--red-ink); }
.lead h3 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; margin-top: 6px; }  /* long show names stay within two lines */
.lead p { font-size: var(--fs-body); line-height: 1.55; margin-top: 10px; max-width: 560px; }
.lead .buy { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.others { list-style: none; display: grid; }
.others li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; }
.others li + li { border-top: 2px solid var(--surface); }
.others .ph { aspect-ratio: 4/3; background: var(--dark) 50% 30%/cover no-repeat; transition: transform var(--hover) var(--ease-out); }
.others .meta { font-size: var(--fs-small); font-weight: 700; color: var(--red-ink); }
.others h3 { font-family: var(--display); font-weight: 700; font-size: var(--fs-body); line-height: 1.3; margin-top: 2px; }
.others .venue { font-size: var(--fs-small); margin-top: 2px; }
.lead:has(.stretch), .others li:has(.stretch) { cursor: pointer; }
.lead .stretch, .others .stretch { position: static; }
.lead:active .ph, .others li:active .ph { transform: scale(.985); }
/* every show photo: same 4:3 crop, framed toward faces */
.showrow .ph, .artist, .card .ph { background-position: 50% 30%; }

/* photo credits */
.credit { display: block; margin-top: 6px; font-size: var(--fs-small); opacity: .8; }
.grid > a .credit { position: absolute; top: 10px; inset-inline-end: 12px; margin: 0; color: var(--white); background: rgba(28,27,29,.6); padding: 2px 8px; opacity: 1; }

/* ---------- "Now on stage" strip (festival days only) ---------- */
.now-strip { background: var(--dark); color: var(--white); padding: 22px 40px 26px; }
.now-strip[hidden] { display: none; }
.now-strip .now-in { max-width: 1180px; margin: 0 auto; }
.now-strip .now-h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--fs-meta); color: var(--accent); }
.now-strip .live { width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); animation: live 1.6s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(201,71,58,.7); } 100% { box-shadow: 0 0 0 10px rgba(201,71,58,0); } }
.now-strip ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }
.now-strip li b { display: block; font-size: var(--fs-small); color: var(--cool); }
.now-strip li strong { display: block; font-size: var(--fs-meta); font-weight: 700; margin-top: 4px; line-height: 1.35; }
.now-strip li span { display: block; font-size: var(--fs-small); margin-top: 2px; opacity: .85; }
.now-strip li.idle strong { font-weight: 500; opacity: .7; }

/* ---------- Latin display type ---------- */
[lang="en"] .card h3, [lang="en"] .showrow h3, [lang="en"] .artist .in h3, [lang="en"] .drawer .main a, [lang="en"] .prose h2 { font-family: var(--brush); letter-spacing: .01em; }

/* ---------- Hover: only on devices with a real pointer ---------- */
@media (hover: hover) and (pointer: fine) {
  .topbar nav a:hover { color: var(--accent); }
  .lang-switch:hover { background: var(--accent); color: var(--on-accent); }
  .btn.primary:hover { background: #F2C22B; transform: translateY(-1px); }
  .btn.ghost:hover { text-decoration-thickness: 4px; }
  .drawer .main a:hover { color: var(--red-ink); transform: translateX(-4px); }
  [dir="ltr"] .drawer .main a:hover { transform: translateX(4px); }
  .drawer .sub a:hover { color: var(--red-ink); }
  .drawer .drawer-lang:hover { background: var(--ink); color: var(--white); }
  .card .buy:hover, .duo .disc:hover { color: var(--red-ink); }
  .slot .tix:hover { color: var(--red-ink); }
  .daycol .pass:hover { background: var(--field); }
  .passes .themes a:hover { background: var(--on-field); color: var(--field); }
  .grid > a:hover { filter: saturate(1.15) contrast(1.05); }
  .grid > a:hover span { opacity: 1; }
  .artist:hover::before { opacity: .9; }
  .artist:hover .in p { opacity: 1; transform: none; }
  .tcard:hover { transform: translateY(-3px); }
  .cbtn:hover { background: #FFF3DC; }
  .fcols a:hover { color: var(--accent); }
  .daytabs button:not(.on):hover { background: var(--surface); }
}

/* ---------- Entrance motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bgIn { from { opacity: .4; } to { opacity: 1; } }
.hero .main-logo { animation: pop 450ms var(--ease-out) both; }
.hero-title .hw { animation: rise var(--enter) var(--ease-out) 120ms both; }
.hero .dates { animation: rise var(--enter) var(--ease-out) 80ms both; }
.hero .dir { animation: rise var(--enter) var(--ease-out) 140ms both; }
.hero .cd-in { animation: rise var(--enter) var(--ease-out) 200ms both; }
.hero .ctas { animation: rise var(--enter) var(--ease-out) 260ms both; }
.page-hero .eyebrow { animation: rise var(--enter) var(--ease-out) both; }
.page-hero h1 { animation: rise var(--enter) var(--ease-out) 60ms both; }
.page-hero .lead, .page-hero .ctas { animation: rise var(--enter) var(--ease-out) 120ms both; }

/* scroll reveal – only when JS runs; site.js also force-shows anything it misses */
.js .rv { opacity: 0; transform: translateY(14px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out); transition-delay: var(--d, 0ms); }

/* lazy background images */
[data-bg] { background-color: var(--dark); }
.bg-in { animation: bgIn 300ms ease both; }

/* ---------- Reduced motion: keep gentle fades, drop the travel ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .main-logo, .hero-title .hw, .hero .dates, .hero .dir, .hero .cd-in, .hero .ctas,
  .page-hero .eyebrow, .page-hero h1, .page-hero .lead, .page-hero .ctas { animation: fade 250ms ease both; animation-delay: 0ms; }
  .js .rv { transform: none; }
  .js .rv.in { transition: opacity 250ms ease; transition-delay: 0ms; }
  .drawer, .menu-open .drawer, [dir="ltr"] .menu-open .drawer, .sticky-cta, .sticky-cta.show, .skip { transition: none; }
  .btn:active, .card:active .ph, .tcard:active, .cbtn:active, .daytabs button:active, .passes .themes a:active, .daycol .pass:active { transform: none; }
  .card:hover .ph, .tcard:hover, .cbtn:hover, .drawer .main a:hover, [dir="ltr"] .drawer .main a:hover { transform: none; }
  .artist .in p { transform: none; }
  .countdown .sec { display: none; }
  .now-strip .live { animation: none; }
  .lead:active .ph, .others li:active .ph, .lead:hover .ph, .others li:hover .ph { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .schedule { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .featured { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .now-strip ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats, .people, .ticket-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .artists { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .showrow { grid-template-columns: 180px 1fr; }
  .showrow .act { grid-column: 1 / -1; text-align: start; padding: 0; }
  .dl-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .topbar { padding: 0 16px; justify-content: flex-start; }
  .topbar .tag { display: none; }
  .topbar nav { gap: 20px; }
  .lang-switch { padding: 2px 8px; }
  .brand { inset-inline-start: 16px; top: 56px; }
  .brand img { width: 76px; }
  .socials-fixed { inset-inline-end: 14px; }
  .hero { padding-top: 110px; }
  .hero .dates { font-size: 30px; }
  
  .cards, .schedule { grid-template-columns: minmax(0,1fr); padding: 0 16px; }
  .stitle, .subhead, .sched-note, .moments-h, .featured, .next { padding-inline: 16px; }
  .facts { grid-template-columns: minmax(0,1fr); }
  .facts li + li { border-inline-start: 0; border-top: 2px solid var(--ground); }
  .others li { grid-template-columns: 96px minmax(0,1fr); }
  .others h3 { font-size: var(--fs-meta); }
  .now-strip { padding: 18px 16px 22px; }
  .partners { padding: 80px 16px; }
  .passes { padding: 44px 22px; }
  .passes { margin: 90px 16px 0; padding: 50px 20px; }
  .duo { grid-template-columns: minmax(0,1fr); padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .fcols { grid-template-columns: 1fr; text-align: center; }
  .sticky-cta { display: flex; }
  .wrap, .narrow { padding: 0 16px; }
  .page-hero { padding: 140px 16px 100px; }
    .stats, .people { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
  .artists, .venues, .contact-grid, .ticket-grid, .dl-grid { grid-template-columns: minmax(0,1fr); }
  .showrow { grid-template-columns: minmax(0,1fr); }
}

/* standalone text links inside sections get a full-size tap target */
.section p > a.tix { display: inline-flex; align-items: center; min-height: 44px; }

/* fixed logo + menu icon turn charcoal over light sections (toggled by site.js) */
.brand img, .burger span { transition: filter var(--hover) ease, background-color var(--hover) ease; }
.chrome-dark .brand img { filter: brightness(0) opacity(.88); }
.chrome-dark .burger span { background: var(--ink); }

/* =====================================================================
   Notice strip, line-up cloud, timetable, visitor guide, FAQ
   ===================================================================== */
/* --- notice strip above the top bar --- */
.notice { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; min-height: 40px; padding: 6px 20px;
  background: var(--accent); color: var(--on-accent); font-size: var(--fs-meta); text-align: center; }
.notice b { font-weight: 700; }
.notice a { font-weight: 700; background: var(--ink); color: var(--white); border-radius: 999px; padding: 4px 14px; min-height: 30px; display: inline-flex; align-items: center; gap: 6px; position: relative; }
.notice a::before { content: ''; position: absolute; inset: -7px -4px; }
.notice .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); animation: live 2s ease-in-out infinite; }

/* --- day colours (thu terracotta, fri yellow, sat sky) --- */
.d-thu { --day: var(--terracotta); --on-day: var(--white); }
.d-fri { --day: var(--yellow); --on-day: var(--charcoal); }
.d-sat { --day: var(--sky); --on-day: var(--charcoal); }

/* --- cloud --- */
.cloud-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cloud-filter button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: var(--fs-meta);
  transition: background-color var(--hover) ease, color var(--hover) ease, transform var(--press) var(--ease-out); }
.cloud-filter button i { width: 11px; height: 11px; border-radius: 50%; background: var(--day); box-shadow: 0 0 0 1.5px var(--ink); }
.cloud-filter button b { font-family: var(--latin); font-weight: 400; opacity: .7; }
.cloud-filter button.on { background: var(--ink); color: var(--white); }
.cloud-filter button:active, .pill:active { transform: scale(.97); }
.cloud { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; padding: 0; }
.cloud li[hidden] { display: none; }
.pill { display: inline-flex; flex-direction: column; align-items: center; min-height: 48px; justify-content: center; padding: 8px 22px; border-radius: 999px; border: 0;
  background: var(--day); color: var(--on-day); font-family: var(--display); font-weight: 500; font-size: var(--fs-body); line-height: 1.25; text-align: center;
  transition: transform var(--press) var(--ease-out), filter var(--hover) ease; }
.pill .m { display: none; font-size: var(--fs-small); font-weight: 700; opacity: .85; margin-top: 3px; }
.pill[aria-expanded="true"] { border-radius: 26px; }
.pill[aria-expanded="true"] .m { display: block; animation: fade var(--hover) ease both; }

/* --- timetable --- */
.tt-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 28px; }
.tt-days, .tt-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tt-days button { min-height: 52px; min-width: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 16px; border-radius: 18px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--display); transition: background-color var(--hover) ease, transform var(--press) var(--ease-out); }
.tt-days button b { font-size: var(--fs-meta); font-weight: 700; }
.tt-days button small { font-family: var(--latin); font-size: var(--fs-small); }
.tt-days button.on { background: var(--day); color: var(--on-day); border-color: var(--day); }
.tt-tools button { min-height: 44px; padding: 6px 18px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); transition: background-color var(--hover) ease, transform var(--press) var(--ease-out); }
.tt-tools .tt-mine[aria-pressed="true"] { background: var(--ink); color: var(--accent); }
.tt-days button:active, .tt-tools button:active { transform: scale(.97); }
.tt-hint { margin-top: 14px; color: var(--red-ink); font-weight: 700; }
.tt-scroll { margin-top: 22px; overflow-x: auto; border: 2px solid var(--ink); border-radius: 18px; background: var(--surface); }
.tt-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tt { display: grid; grid-template-columns: 130px repeat(var(--cols), minmax(26px, 1fr)); grid-template-rows: 40px; grid-auto-rows: minmax(84px, auto); min-width: calc(130px + var(--cols) * 26px); }
.tt-corner, .tt-h { grid-row: 1; min-height: 38px; }
.tt-h { font-family: var(--latin); font-size: var(--fs-small); padding: 10px 8px 6px; border-inline-start: 1px solid var(--rule); direction: ltr; text-align: start; }
[dir="rtl"] .tt-h { text-align: right; }
.tt-corner, .tt-stage { grid-column: 1; position: sticky; inset-inline-start: 0; z-index: 2; background: var(--surface); }
.tt-stage { display: flex; align-items: center; padding: 8px 14px; font-weight: 700; font-size: var(--fs-meta); line-height: 1.25; border-top: 1px solid var(--rule); border-inline-end: 2px solid var(--ink); }
.tt-show { position: relative; margin: 6px 3px; padding: 10px 12px 10px 36px; border-radius: 12px; background: var(--day); color: var(--on-day);
  display: flex; flex-direction: column; justify-content: center; gap: 4px; transition: opacity var(--hover) ease; }
[dir="rtl"] .tt-show { padding: 10px 12px 10px 36px; }
.tt-show b { font-size: var(--fs-small); line-height: 1.25; font-weight: 700; }
.tt-show small { font-family: var(--latin); font-size: 13px; direction: ltr; text-align: end; opacity: .9; }
[dir="rtl"] .tt-show small { text-align: right; }
.tt-show .star { position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1;
  transition: transform var(--press) var(--ease-out); }
.tt-show .star::before { content: ''; position: absolute; inset: -6px; }
.tt-show .star:active { transform: scale(.85); }
.tt-show.fav { box-shadow: inset 0 0 0 3px var(--ink); }
.tt.mine .tt-show:not(.fav) { opacity: .28; }

/* --- visitor guide tabs --- */
.guide { margin-top: 10px; }
.g-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.js .g-tabs { margin-bottom: 0; }
html:not(.js) .g-tabs { display: none; }
.g-tabs button { display: inline-flex; align-items: baseline; gap: 8px; min-height: 48px; padding: 8px 20px; border-radius: 16px 16px 0 0; border: 2px solid var(--ink); border-bottom: 0;
  background: transparent; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: var(--fs-meta); transition: background-color var(--hover) ease; }
.g-tabs em, .g-panel h3 em, .faq-group h3 em { font-family: var(--latin); font-style: normal; color: var(--red-ink); }
.g-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.g-tabs button[aria-selected="true"] em { color: var(--accent); }
.g-panel { background: var(--surface); border: 2px solid var(--ink); border-radius: 0 0 22px 22px; padding: 36px 40px 40px; }
[dir="rtl"] .g-panel { border-radius: 0 0 22px 22px; }
html:not(.js) .g-panel { border-radius: 22px; margin-top: 18px; }
.g-panel h3 { display: flex; align-items: baseline; gap: 14px; font-size: var(--fs-2); font-weight: 900; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 20px; }
.g-panel h3 em { font-size: 1.4em; }
.g-panel p { font-size: var(--fs-body); line-height: 1.7; max-width: 68ch; }
.g-panel p + p { margin-top: 12px; }
.g-note { background: var(--ground); border-inline-start: 4px solid var(--accent); padding: 10px 16px; }
.g-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 22px; }
.g-text, .g-more a { font-family: var(--display); font-weight: 700; border-bottom: 3px solid var(--accent); padding-bottom: 2px; }
.g-more { margin-top: 22px !important; }

/* --- FAQ --- */
.faq-group { margin-top: 44px; }
.faq-group h3 { display: flex; align-items: baseline; gap: 12px; font-size: var(--fs-2); font-weight: 900; padding-bottom: 12px; border-bottom: 3px solid var(--terracotta); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 12px 0; cursor: pointer;
  font-weight: 700; font-size: var(--fs-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--latin); font-size: 26px; line-height: 1; transition: transform var(--hover) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { overflow: hidden; padding: 0 0 20px; font-size: var(--fs-body); line-height: 1.7; max-width: 68ch; }
.faq details a, .faq > p a { border-bottom: 2px solid var(--accent); font-weight: 700; }

@media (hover: hover) and (pointer: fine) {
  .cloud-filter button:not(.on):hover, .tt-tools button:not([aria-pressed="true"]):hover, .tt-days button:not(.on):hover, .g-tabs button:not([aria-selected="true"]):hover { background: var(--surface); }
  .pill:hover { filter: brightness(1.06); }
  .faq summary:hover { color: var(--red-ink); }
}
@media (max-width: 700px) {
  .tt { grid-template-columns: 96px repeat(var(--cols), minmax(24px, 1fr)); min-width: calc(96px + var(--cols) * 24px); }
  .tt-stage { font-size: var(--fs-small); padding: 8px 10px; }
  .g-panel { padding: 26px 20px 30px; }
  .g-tabs button { padding: 8px 14px; border-radius: 14px; border-bottom: 2px solid var(--ink); }
  .js .g-tabs { margin-bottom: 14px; }
  .g-panel { border-radius: 22px; }
  .notice { font-size: var(--fs-small); gap: 8px; }
  .pill { font-size: var(--fs-meta); min-height: 44px; padding: 6px 16px; }
  .cloud { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .notice .dot { animation: none; } }
@media print {
  .notice, .topbar, .brand, .socials-fixed, .footer, .totop, .sticky-cta, .page-hero .ctas, .lu, .daytabs, .showlist, .cta-band, .tt-tools, .skip { display: none !important; }
  .page-hero { padding: 20px; clip-path: none; background: none; color: #000; }
  .tt-scroll { overflow: visible; border-color: #000; }
  .tt { min-width: 0; }
  .tt-show, .tt-days button.on { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* =====================================================================
   Micro-animations (chosen from the motion test page, 2026-10-14)
   ===================================================================== */
/* logo with separate dots (hero: they pop in on the beat; top bar: they hop on hover) */
.logo-dots { position: relative; display: block; line-height: 0; }
.logo-dots .ld { position: absolute; width: 5.7%; height: 7.56%; right: auto; bottom: auto; }
.logo-dots .ld1 { left: 78.9%; top: 22.04%; }
.logo-dots .ld2 { left: 87.17%; top: 56.42%; }
.logo-dots .ld3 { left: 92.59%; top: 88.79%; }
.brand .logo-dots .ld { width: 5.7%; }
.hero .ld { animation: beatIn 420ms cubic-bezier(.34, 1.56, .64, 1) both; }
.hero .ld1 { animation-delay: 560ms; } .hero .ld2 { animation-delay: 860ms; } .hero .ld3 { animation-delay: 1160ms; }
@keyframes beatIn { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.35); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes dotHop { 40% { transform: translateY(-45%) scale(1.15); } }

/* countdown: changed digits roll up */
.countdown b { overflow: clip; overflow-clip-margin: 4px; }
.countdown b span { display: inline-block; }
.countdown b span.in { animation: rollIn 380ms var(--ease-out); }
@keyframes rollIn { from { transform: translateY(90%); opacity: .2; } }

/* line-up cloud: names pop in on first view */
.cloud.pre li { opacity: 0; }
.cloud.pop li { animation: pillPop 440ms cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(var(--i) * 35ms); }
@keyframes pillPop { from { transform: scale(.6) translateY(10px); opacity: 0; } }

/* timetable: day change slides in, star bursts, counter bumps */
.tt-show.in { animation: blkIn 380ms var(--ease-out) backwards; animation-delay: calc(var(--i) * 30ms); }
@keyframes blkIn { from { transform: translateX(calc(var(--dir) * 40px)); opacity: 0; } }
.tt-show .star.bump { animation: starBump 440ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes starBump { 40% { transform: scale(1.5) rotate(-12deg); } }
.spark { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--ink); pointer-events: none; animation: spark 520ms ease-out forwards; }
.d-thu .spark { background: var(--accent); }
@keyframes spark { from { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateY(-24px) scale(.4); opacity: 0; } }
.tt-count { display: inline-block; }
.tt-count.bump { animation: countBump 360ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes countBump { 40% { transform: translateY(-5px) scale(1.25); } }

/* visitor guide: the dark marker slides between tabs */
.g-tabs { position: relative; }
.g-tabs button { position: relative; z-index: 1; }
.js .g-tabs button[aria-selected="true"] { background: transparent; }
.g-ind { position: absolute; left: 0; top: 0; z-index: 0; background: var(--ink); border-radius: 16px 16px 0 0; pointer-events: none;
  transition: transform 380ms var(--ease-in-out), width 380ms var(--ease-in-out), height 380ms var(--ease-in-out); }
.g-ind.still { transition: none; }

/* arrows nudge toward the reading direction */
.arr { display: inline-block; font-style: normal; transition: transform var(--hover) var(--ease-out); }

/* yellow underline grows from the start of the word (a faint line stays at rest) */
:is(.prose a, .g-text, .g-more a, .faq details a, .faq > p a, .card .buy, .duo .disc, .tcard .go, .cbtn span, .dl a) {
  border-bottom-color: transparent;
  background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(rgba(247, 206, 70, .55), rgba(247, 206, 70, .55));
  background-repeat: no-repeat; background-origin: border-box; background-clip: border-box;
  background-size: 0 3px, 100% 3px; background-position: right bottom, right bottom;
  transition: background-size 320ms var(--ease-out), color var(--hover) ease;
}
[dir="ltr"] :is(.prose a, .g-text, .g-more a, .faq details a, .faq > p a, .card .buy, .duo .disc, .tcard .go, .cbtn span, .dl a) { background-position: left bottom, left bottom; }

/* menu links come in one after another */
.drawer { --from: 24px; }
[dir="ltr"] .drawer { --from: -24px; }
.menu-open .drawer .main a, .menu-open .drawer .sub a { animation: linkIn 360ms var(--ease-out) backwards; animation-delay: calc(110ms + var(--i) * 40ms); }
@keyframes linkIn { from { opacity: 0; transform: translateX(var(--from)); } }

/* show photos zoom a little inside their frame */
.lead .ph, .others .ph, .showrow .ph, .card .ph { position: relative; overflow: hidden; }
.lead .ph::before, .others .ph::before, .showrow .ph::before, .card .ph::before { content: ''; position: absolute; inset: 0; background: inherit; transition: transform 600ms var(--ease-out); }

/* back-to-top ring */
.totop .ring { position: absolute; inset: -5px; width: 54px; height: 54px; transform: rotate(-90deg); }
.totop .ring circle { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }

/* equalizer next to "now on stage" */
.now-strip .eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.now-strip .eq i { width: 4px; height: 100%; background: var(--accent); border-radius: 2px; transform-origin: bottom; animation: eq 900ms ease-in-out infinite; }
.now-strip .eq i:nth-child(2) { animation-duration: 700ms; animation-delay: -200ms; }
.now-strip .eq i:nth-child(3) { animation-duration: 1100ms; animation-delay: -450ms; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

@media (hover: hover) and (pointer: fine) {
  a:hover .arr, a:focus-visible .arr, .lead:hover .arr, .others li:hover .arr, .card:hover .arr, .showrow:hover .arr { transform: translateX(-4px); }
  [dir="ltr"] a:hover .arr, [dir="ltr"] a:focus-visible .arr, [dir="ltr"] .lead:hover .arr, [dir="ltr"] .card:hover .arr { transform: translateX(4px); }
  :is(.prose a, .g-text, .g-more a, .faq details a, .faq > p a, .dl a, .duo .disc):hover,
  .card:hover .buy, .tcard:hover .go, .cbtn:hover span { background-size: 100% 3px, 100% 3px; }
  .lead:hover .ph::before, .others li:hover .ph::before, .showrow:hover .ph::before, .card:hover .ph::before { transform: scale(1.04); }
  .brand .logo-dots:hover .ld { animation: dotHop 520ms cubic-bezier(.34, 1.56, .64, 1); }
  .brand .logo-dots:hover .ld2 { animation-delay: 90ms; }
  .brand .logo-dots:hover .ld3 { animation-delay: 180ms; }
}
:is(.g-text, .g-more a, .faq details a, .faq > p a, .prose a, .dl a, .duo .disc):focus-visible { background-size: 100% 3px, 100% 3px; }
@media (max-width: 700px) { .g-ind { border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .hero .ld { animation: fade 250ms ease both; animation-delay: 0ms; }
  .cloud.pop li, .tt-show.in, .menu-open .drawer .main a, .menu-open .drawer .sub a, .countdown b span.in, .now-strip .eq i,
  .brand .logo-dots .ld, .tt-show .star.bump, .tt-count.bump, .spark { animation: none !important; }
  .g-ind, .arr, .lead .ph::before, .others .ph::before, .showrow .ph::before, .card .ph::before { transition: none; }
  .spark { display: none; }
}

/* =====================================================================
   Paper texture (strong): two offset layers of /images/paper.png,
   multiplied into each surface's own colour
   ===================================================================== */
body, .hero, .page-hero, .footer, .passes, .program, .ws, .cta-band, .daycol, .prose .note, .venue-card, .tcard, .cbtn, .dl,
.notice, .tt-scroll, .tt-corner, .tt-stage, .g-panel, .g-note, .drawer {
  background-image: url(/images/paper.png), url(/images/paper.png);
  background-size: 512px, 700px;
  background-position: 0 0, 230px 140px;
  background-blend-mode: multiply;
}
@media print { body, .hero, .page-hero, .footer, .tt-scroll, .tt-corner, .tt-stage { background-image: none; } }
