/* Generated by festenao_events_site: look classic, accent from the seed #3558a8. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-700.woff2) format("woff2"); }

:root {
  --seed: #3558a8;
  --paper: #f3f4f6;
  --card: #ffffff;
  --sunk: #eceef1;
  --line: #e1e3e8;
  --line-strong: #c9cdd4;
  --ink: #16181d;
  --ink-2: #4e535e;
  --ink-3: #737885;
  --accent: #3558a8;
  --on-accent: #ffffff;
  --ok: #1c7c45;
  --warn: #9a5b00;
  --bad: #c2302d;
  --info: #2459c2;
  --muted: #646a76;
  --font: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --display-weight: 700;
  --display-style: normal;
  --display-transform: none;
  --display-track: -0.015em;
  --radius-card: 16px;
  --radius-btn: 999px;
  --radius-portrait: 16px;
  --card-border: 1px solid var(--line);
  --card-shadow: none;
  --btn-border: 0;
  --btn-shadow: none;
  --ghost-bg: transparent;
  --ghost-ink: var(--ink);
  --ghost-border: 0;
  --ghost-shadow: inset 0 0 0 2px currentColor;
  --head-bg: color-mix(in srgb, var(--paper) 86%, transparent);
  --head-line: 1px solid var(--line);
  --live: #e5484d;
  --now-bg: var(--card);
  --hero-bg: var(--sunk);
  --hero-ink: var(--ink);
  --hero-ink-2: var(--ink-2);
  --hero-kicker: var(--accent);
  --hero-title-shadow: none;

  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --radius-pill: 999px;
  --gap: 1rem;
  --page: 64rem;
  --hero-max: 80rem;
  --read: 42.5rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111318;
    --card: #1a1d23;
    --sunk: #23272e;
    --line: #2c3038;
    --line-strong: #4a505b;
    --ink: #eef0f3;
    --ink-2: #a9afba;
    --ink-3: #7a808c;
    --accent: #718ed2;
    --on-accent: #111318;
    --ok: #4ade80;
    --warn: #fbbf24;
    --bad: #ff6b6b;
    --info: #60a5fa;
    --muted: #8b92a0;
    --accent-soft: color-mix(in srgb, var(--accent) 22%, transparent);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--paper); overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style); text-transform: var(--display-transform); letter-spacing: var(--display-track); margin: 0; }
h1 { font-size: clamp(1.9rem, 6vw, 2.9rem); }
h2 { font-size: clamp(1.3rem, 3.6vw, 1.6rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--card); color: var(--accent); padding: 0.5rem 1rem; z-index: 10; }
.skip-link:focus { left: var(--gap); top: 0.5rem; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gap); }
.read { max-width: var(--read); margin-left: auto; margin-right: auto; }

/* Header: the festival, the sections. */
/* Sticky, translucent; the sections inline on a desk, in a menu on a phone. */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: var(--head-line); background: var(--head-bg); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); }
.site-header .wrap { display: flex; align-items: center; gap: 0.5rem 1.5rem; padding-top: 0.65rem; padding-bottom: 0.65rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style); text-transform: var(--display-transform); font-size: 1.1rem; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
/* The audience app (served on request): a pill in the header, a button on an entity page. */
.app-link { margin-left: auto; white-space: nowrap; }
.app-open { margin: 1.5rem 0 0; }
.button { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.2rem; border-radius: var(--radius-btn); border: var(--btn-border); box-shadow: var(--btn-shadow); background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 0.95rem; line-height: 1.3; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.button:hover { transform: translateY(-2px); }
.button.ghost { background: var(--ghost-bg); color: var(--ghost-ink); border: var(--ghost-border); box-shadow: var(--ghost-shadow); }
.button.small { padding: 0.35rem 0.9rem; font-size: 0.85rem; }
.home-news { margin-top: 2.5rem; }
.home-news .news-summary { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-news-all { margin-top: 1.2rem; }

main { padding-bottom: 4rem; }

/* The hero across the top, the title under it. */
.hero { margin: 0 auto; max-width: var(--page); }
.hero img { width: 100%; max-height: 28rem; object-fit: cover; }
.hero picture { display: block; }
/* A built-in picture as the hero: a subtle banner of the tint, its subject on the right, as tall as the screen allows. */
.hero-banner img { display: block; width: 100%; height: clamp(6.5rem, 20vh, 16rem); max-height: none; object-fit: cover; object-position: right center; }
@media (min-width: 64rem) { .hero img, .hero picture { border-radius: 0 0 var(--radius-card) var(--radius-card); } }
.entity-head { padding-top: 2rem; }
.kicker { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; margin: 0 0 0.5rem; }
.subtitle { font-size: 1.25rem; color: var(--ink-2); margin: 0.75rem 0 0; line-height: 1.4; }
.meta { color: var(--ink-3); margin: 0.75rem 0 0; font-size: 0.95rem; }
.meta span + span::before { content: " · "; }
.badge { display: inline-block; padding: 0.1rem 0.6rem; border-radius: var(--radius-pill); background: var(--sunk); color: var(--ink-2); font-size: 0.8rem; }
.badge-cancelled { background: var(--bad); color: #fff; }
.is-cancelled .entity-title, .is-cancelled .event-name { text-decoration: line-through; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.tags li { padding: 0.15rem 0.7rem; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent); font-size: 0.85rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.25rem; margin: 1.5rem 0 0; padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); }
.facts dt { color: var(--ink-3); font-size: 0.9rem; }
.facts dd { margin: 0; }
.body { margin-top: 2rem; }
.body p, .body ul, .body ol { margin: 0 0 1.2rem; }
.body table { border-collapse: collapse; width: 100%; }
.body th, .body td { border-bottom: 1px solid var(--line); padding: 0.4rem 0.5rem; text-align: left; }
.links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.links a { font-weight: 600; text-decoration: none; }
.links a::after { content: " ↗"; }
.back { margin-top: 2.5rem; font-size: 0.95rem; }

/* Program lists: the time first (its begin time the most visible), the
   square picture of the event when the list has pictures, its name and
   details beside. */
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event-item { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); align-items: start; gap: 0.25rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.with-pics .event-item { grid-template-columns: 4.6rem 4rem minmax(0, 1fr); padding: 0.75rem 0; }
.event-time { color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 0.95rem; line-height: 1.35; }
.event-time time { display: block; }
.t-begin { display: block; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.t-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.t-end { display: block; color: var(--ink-3); font-size: 0.85rem; }
.event-time .night { display: block; color: var(--ink-3); font-size: 0.8rem; }
.event-pic { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 12px; overflow: hidden; background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 60%, transparent); font-weight: 700; font-size: 1.3rem; line-height: 1; text-decoration: none; }
.event-pic img { width: 100%; height: 100%; object-fit: cover; }
.is-cancelled .event-pic img { filter: grayscale(1); }
.event-body { min-width: 0; }
.event-name { font-weight: 600; text-decoration: none; color: var(--ink); }
.event-name:hover { color: var(--accent); }
.event-meta { color: var(--ink-3); font-size: 0.9rem; }
.event-meta > * + *::before { content: " · "; color: var(--ink-3); }
.event-meta a { color: var(--ink-2); text-decoration: none; }
/* A phone: the time stays beside, narrower, the picture smaller. */
@media (max-width: 30rem) {
  .event-item { grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0.2rem 0.75rem; padding: 0.75rem 0; }
  .with-pics .event-item { grid-template-columns: 3.4rem 3rem minmax(0, 1fr); }
  .event-pic { width: 3rem; height: 3rem; border-radius: 10px; font-size: 1.1rem; }
  .t-begin { font-size: 1rem; }
}

.day-tabs ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.day-tabs a { display: inline-block; padding: 0.35rem 0.9rem; border-radius: var(--radius-pill); background: var(--sunk); color: var(--ink-2); text-decoration: none; }
.day-tabs a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.place-column { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0.5rem 1rem 1rem; }
.compact { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.compact li { padding: 0.2rem 0; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 0; }

/* The sneak peek of the home: its highlights. */
.highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.highlight { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; color: var(--ink); text-decoration: none; }
.highlight:hover { border-color: var(--accent); }
.highlight img, .highlight .placeholder { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.highlight-img { display: block; }
.highlight .placeholder { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 3rem; font-weight: 700; }
.highlight-body { display: block; padding: 0.9rem 1rem 1.1rem; }
.highlight .kicker { display: block; margin: 0 0 0.3rem; }
.highlight-title { display: block; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.highlight-meta { display: block; margin-top: 0.3rem; color: var(--ink-3); font-size: 0.9rem; line-height: 1.4; }
.sneak-peek h2 { margin-top: 2rem; }
.home-text { margin-top: 2.5rem; }
.more { margin: 1rem 0 0; }
.more a { font-weight: 600; text-decoration: none; }

/* The planning: every day, its heading kept on screen. */
.planning-day { position: sticky; top: 0; z-index: 1; margin: 2rem 0 0; padding: 0.6rem 0; background: var(--paper); font-size: 1.2rem; }
.planning-day a { color: var(--ink); text-decoration: none; }
.planning .event-item { scroll-margin-top: 3.5rem; }

/* Cards. */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.card { display: block; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; color: var(--ink); text-decoration: none; }
.card:hover { border-color: var(--accent); }
.card img, .card .placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* The box under a card image, its placeholder rounded as the image. */
.card-img { display: block; border-radius: var(--radius-portrait); }
.card .placeholder { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 2.5rem; font-weight: 700; }
.card-title { display: block; padding: 0.6rem 0.8rem 0; font-weight: 600; line-height: 1.3; }
.card-subtitle { display: block; padding: 0.2rem 0.8rem 0.8rem; color: var(--ink-3); font-size: 0.85rem; line-height: 1.3; }

.place-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
/* The places and the info pages: a thumbnail (an icon without image), the text beside. */
.place-item, .info-item { display: flex; align-items: flex-start; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1rem 1.25rem; }
.place-item h2, .info-item h2 { margin: 0; font-size: 1.2rem; }
.place-item p, .info-item p { margin: 0.35rem 0 0; }
.item-body { min-width: 0; }
.thumb { flex: none; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 12px; overflow: hidden; background: var(--accent-soft); color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb svg { width: 2rem; height: 2rem; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-item h2 a { color: var(--ink); text-decoration: none; }
.info-item h2 a:hover { color: var(--accent); }
/* A news item in a list: its picture, the text beside, its page linked. */
.news-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.news-item h2 { margin: 0.25rem 0 0.5rem; }
.news-item h2 a { color: var(--ink); text-decoration: none; }
.news-item h2 a:hover { color: var(--accent); }
.news-summary { margin: 0 0 0.4rem; color: var(--ink-2); }
.news-read-more { margin: 0; font-size: 0.95rem; }
/* The categories: the navigation of the news pages, the chips of an item. */
.news-categories { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.news-item-categories, .tag-links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: -0.25rem 0 0.75rem; }
.news-category, .tag-link { display: inline-block; padding: 0.35rem 0.9rem; border-radius: var(--radius-pill); background: var(--sunk); color: var(--ink-2); text-decoration: none; }
.news-item-categories .news-category, .tag-link { padding: 0.15rem 0.65rem; font-size: 0.85rem; }
.news-category:hover, .tag-link:hover { color: var(--accent); }
.news-category[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.news-category .count { opacity: 0.7; font-size: 0.85em; }
.sponsors { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; list-style: none; padding: 0; margin: 0; }
.sponsors img { max-height: 3.5rem; width: auto; }

.site-footer { border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.9rem; padding: 2rem 0 3rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 0 0 1rem; }
/* The small print: the About page, the discreet report link of the home. */
.footer-meta { margin: 0; font-size: 0.85rem; }
.footer-meta a { color: var(--ink-3); text-decoration: none; }
.footer-meta a:hover, .footer-meta a[aria-current="page"] { color: var(--ink-2); text-decoration: underline; }

/* The About page: the festival, the report section, the publisher. */
.about-section { margin-top: 2.5rem; }
.about-section h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.published-with { color: var(--ink-3); font-size: 0.95rem; margin: 1.5rem 0 0; }
.published-with a { color: var(--ink-2); }
.report-reasons { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 0.75rem; }
.report-reasons li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0.9rem 1.15rem; }
.report-reasons h3 { font-size: 1.05rem; margin: 0; }
.report-reasons p { margin: 0.3rem 0 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.report-contact { margin: 1.25rem 0 0; }
.report-url code { font-size: 0.9em; padding: 0.1rem 0.4rem; border-radius: 6px; background: var(--sunk); color: var(--ink); -webkit-user-select: all; user-select: all; }
/* The report form: the reasons open it (first step), then its fields. */
.report-reasons li.linked { padding: 0; background: none; border: 0; }
.report-reason { position: relative; display: block; color: inherit; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0.9rem 2.75rem 0.9rem 1.15rem; transition: border-color 0.18s ease, transform 0.18s ease; }
.report-reason::after { content: "›"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--ink-3); transition: transform 0.18s ease, color 0.18s ease; }
.report-reason:hover { border-color: var(--accent); }
.report-reason:hover h3, .report-reason:hover::after { color: var(--accent); }
.report-reason:hover::after { transform: translate(0.2rem, -50%); }
.report-form { display: grid; gap: 1.1rem; margin: 1.5rem 0 0; }
.report-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.report-form .optional, .report-form .help { font-weight: 400; color: var(--ink-3); }
.report-form .help { font-size: 0.85rem; }
.report-form input[type="text"], .report-form input[type="email"], .report-form input[type="url"], .report-form textarea { box-sizing: border-box; width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.75rem; }
.report-form textarea { min-height: 12rem; resize: vertical; line-height: 1.5; }
.report-form input:focus, .report-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.report-form label.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; line-height: 1.5; }
.report-form label.check input { margin-top: 0.3rem; accent-color: var(--accent); }
.report-form button.button { font-family: inherit; cursor: pointer; }
.report-problems { margin: 0; padding: 0.8rem 1.1rem 0.8rem 2rem; border-radius: var(--radius-card); border: 1px solid color-mix(in srgb, #d33 45%, transparent); background: color-mix(in srgb, #d33 10%, transparent); line-height: 1.5; }
.report-attached { margin: 0; color: var(--ink-3); font-size: 0.9rem; line-height: 1.5; }
.report-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.report-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Sending: the fields read only, the button busy (its script). */
.report-form.sending input, .report-form.sending textarea { opacity: 0.6; transition: opacity 0.2s ease; }
.report-form.sending button.button { cursor: progress; opacity: 0.9; }
.report-form.sending button.button::before { content: ""; width: 0.9em; height: 0.9em; box-sizing: border-box; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: report-spin 0.7s linear infinite; }
@keyframes report-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .report-form.sending button.button::before { animation-duration: 2.4s; } }
/* The contact form (a contaktly form view): the colours and corners of the site. */
.contact-form.cf-root { --cf-accent: var(--accent); --cf-ink: var(--ink); --cf-ink2: var(--ink-3); --cf-paper: var(--card); --cf-line: var(--line); --cf-radius: 10px; margin: 1.5rem 0 0; }
.contact-form .cf-form.sending input, .contact-form .cf-form.sending textarea { opacity: 0.6; transition: opacity 0.2s ease; }
.contact-form .cf-form.sending .cf-button { cursor: progress; opacity: 0.9; }
.contact-form + .report-actions { margin-top: 1rem; }
.publisher { margin: 3rem 0 0; color: var(--ink-3); line-height: 1.5; }
.publisher a { color: var(--ink-3); }
.admin-link { margin: 0.5rem 0 0; }
.admin-link a { color: var(--ink-3); text-decoration: none; }
.admin-link a:hover { color: var(--ink-2); text-decoration: underline; }

/* The images: a placeholder under (the colors of their blur hash), a fade in once decoded. */
@media (prefers-reduced-motion: no-preference) {
  .js img.fade:not(.loaded) { opacity: 0; }
  .js img.fade.loaded:not(.instant) { animation: img-fade 0.32s ease-out; }
}
@keyframes img-fade { from { opacity: 0; } }

/* The phone menu: a details element, no script. */
.menu { display: none; margin-left: auto; position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: var(--radius-btn); color: var(--ink); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span, .menu > summary span::before, .menu > summary span::after { content: ""; display: block; width: 1.2rem; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform 0.2s ease; }
.menu > summary span::before { position: absolute; top: -6px; }
.menu > summary span::after { position: absolute; top: 6px; }
.menu[open] > summary span { background: transparent; }
.menu[open] > summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] > summary span::after { transform: translateY(-6px) rotate(-45deg); }
.menu-sheet { position: absolute; right: 0; top: calc(100% + 0.6rem); min-width: 14rem; padding: 0.5rem; background: var(--card); border: var(--card-border); border-radius: var(--radius-card); box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.45); }
.menu-sheet ul { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-sheet a { display: block; padding: 0.6rem 0.8rem; color: var(--ink); text-decoration: none; border-radius: 10px; }
.menu-sheet a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.menu-sheet .button { margin: 0.4rem 0.3rem 0.3rem; display: flex; justify-content: center; }
@media (max-width: 52rem) {
  .site-nav, .site-header .app-link { display: none; }
  .menu { display: block; }
}

/* The home hero: the festival, its dates, its two buttons. */
.home-hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); }
.home-hero-art { margin: 0; }
.home-hero-art picture { display: block; }
.home-hero-art img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; }
.home-hero-text { position: relative; padding-top: 1.6rem; padding-bottom: 1.8rem; }
.hero-kicker { margin: 0; color: var(--hero-kicker); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-title { margin: 0.4rem 0 0; font-size: clamp(2.3rem, 8.5vw, 5rem); line-height: 0.98; color: var(--hero-ink); text-shadow: var(--hero-title-shadow); text-wrap: balance; }
.hero-sub { margin: 0.7rem 0 0; max-width: 34rem; color: var(--hero-ink-2); font-size: 1.1rem; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }
.home-hero .button.ghost { color: var(--ghost-ink, var(--hero-ink)); }
.hero-below { background: var(--paper); color: var(--ink); }
.hero-below .home-hero-art img { max-height: 30rem; }
@media (min-width: 52rem) {
  .hero-over, .hero-over-bottom { display: grid; }
  .hero-over > *, .hero-over-bottom > * { grid-area: 1 / 1; }
  .hero-over .home-hero-text { align-self: start; padding-top: clamp(2rem, 5vw, 4rem); }
  .hero-over .home-hero-text > * { max-width: 36rem; }
  .hero-over-bottom .home-hero-text { align-self: end; padding-bottom: 2.4rem; background: linear-gradient(90deg, rgb(5 5 7 / 0.94) 0 30%, rgb(5 5 7 / 0.55) 50%, transparent 72%); max-width: none; padding-left: max(var(--gap), calc((100% - var(--page)) / 2 + var(--gap))); }
  .hero-over-bottom .home-hero-text > * { max-width: 30rem; }
  /* Two halves, the text on the left aligned with the page, the art bleeding to the right. On a very wide window the halves stay in the middle (the background, on the whole width, apart), the text still aligned with the page: its width does not depend on the window. */
  .hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-inline: max(0px, calc((100vw - var(--hero-max)) / 2)); }
  .hero-split .home-hero-art { order: 2; }
  .hero-split .home-hero-text { padding-left: max(var(--gap), calc((min(100vw, var(--hero-max)) - var(--page)) / 2 + var(--gap))); }
}
.hero-split .home-hero-art img { aspect-ratio: 4 / 3; max-height: 34rem; object-fit: contain; }
.hero-letterbox .home-hero-art img { aspect-ratio: 2.39 / 1; }
.hero-letterbox .home-hero-text { text-align: center; }
.hero-letterbox .hero-sub { margin-left: auto; margin-right: auto; }
.hero-letterbox .hero-actions { justify-content: center; }

/* Now: what is on, what comes next. */
.now-strip { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.5rem; padding: 0.8rem 1.1rem; background: var(--now-bg); border: var(--card-border); border-radius: var(--radius-card); font-size: 0.95rem; line-height: 1.45; }
.now-strip a { color: inherit; }
.now-strip b { font-weight: 700; }
.live-dot { flex: none; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--live); animation: live-pulse 2s ease-out infinite; }
.demo-badge { margin-left: auto; flex: none; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* The spotlight: a carousel of the stars of the edition. */
.section-title { font-size: clamp(1.4rem, 3.8vw, 1.9rem); margin: 2.6rem 0 1rem; }
.spot-track { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(82%, 24rem); gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gap); padding: 0.4rem var(--gap) 1.2rem; margin: 0 calc(-1 * var(--gap)); list-style: none; scrollbar-width: none; }
.spot-track::-webkit-scrollbar { display: none; }
.spot { scroll-snap-align: start; }
.spot-card { display: flex; flex-direction: column; height: 100%; background: var(--card); border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform 0.25s cubic-bezier(.2,.7,.2,1); }
.spot-card:hover { transform: translateY(-4px); }
.spot-img { aspect-ratio: 4 / 3; background: var(--accent-soft); overflow: hidden; }
.spot-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.spot-card:hover .spot-img img { transform: scale(1.04); }
.spot-img .placeholder { height: 100%; aspect-ratio: auto; }
.spot-body { display: block; padding: 0.9rem 1.05rem 1.1rem; }
.spot-kicker { display: block; color: var(--accent); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; }
.spot-title { display: block; margin-top: 0.25rem; font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style); text-transform: var(--display-transform); font-size: 1.3rem; line-height: 1.2; }
.spot-meta { display: block; margin-top: 0.3rem; color: var(--ink-3); font-size: 0.9rem; line-height: 1.4; }
.spot-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.2rem; }
.spot-dots a { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--line); }
.spot-dots a:hover { background: var(--accent); }
@media (min-width: 52rem) {
  .spot-track { grid-auto-columns: calc((100% - 2 * var(--gap) - 2rem) / 3); }
  .spot:first-child { grid-column: span 1; }
}

/* The menu as buttons (a festival with its menu on the home): an icon
   tile and a label, in the cards of the look. */
.menu-grid { margin-top: 1.6rem; }
.menu-grid ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 0.8rem; list-style: none; margin: 0; padding: 0; }
.menu-button { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; height: 100%; padding: 1rem 0.6rem 0.9rem; background: var(--card); border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); color: var(--ink); text-decoration: none; text-align: center; transition: transform 0.2s ease; }
.menu-button:hover { transform: translateY(-3px); }
.menu-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: var(--radius-portrait); background: var(--accent-soft); color: var(--accent); overflow: hidden; }
.menu-icon img { width: 100%; height: 100%; object-fit: cover; }
.menu-label { font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style); text-transform: var(--display-transform); font-size: 1.02rem; line-height: 1.25; }
@media (min-width: 52rem) {
  .menu-grid ul { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
}

/* The days, as cards. */
.day-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.8rem; list-style: none; margin: 0; padding: 0; }
.day-card { display: block; height: 100%; padding: 0.9rem 1.1rem; background: var(--card); border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); color: var(--ink); text-decoration: none; transition: transform 0.2s ease; }
.day-card:hover { transform: translateY(-3px); }
.day-name { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-style: var(--display-style); text-transform: var(--display-transform); font-size: 1.15rem; }
.day-count { display: block; color: var(--ink-3); font-size: 0.88rem; }
.card img, .card .placeholder { border-radius: var(--radius-portrait); }
.cards .card { border: var(--card-border); box-shadow: var(--card-shadow); }
.about { margin-top: 2.6rem; }

/* The arrival: the hero settles, its text rises (transform only, the page
   reads at rest). The sections reveal as they scroll in, where the browser
   follows the scroll; the spotlight cards grow when centered. */
@media (prefers-reduced-motion: no-preference) {
  .home-hero-art img { animation: hero-settle 1.4s cubic-bezier(.2,.7,.2,1) backwards; }
  /* With the fades of the images: it settles as it fades in, once decoded. */
  .js .home-hero-art img.fade:not(.loaded) { animation: none; }
  .js .home-hero-art img.fade.loaded:not(.instant) { animation: img-fade 0.32s ease-out, hero-settle 1.4s cubic-bezier(.2,.7,.2,1) backwards; }
  .home-hero-text > * { animation: hero-rise 0.8s cubic-bezier(.2,.7,.2,1) backwards; }
  .home-hero-text > :nth-child(2) { animation-delay: 0.07s; }
  .home-hero-text > :nth-child(3) { animation-delay: 0.14s; }
  .home-hero-text > :nth-child(4) { animation-delay: 0.21s; }
  .menu-grid li { animation: hero-rise 0.8s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(0.18s + var(--i, 0) * 0.06s); }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal-in linear both; animation-timeline: view(); animation-range: entry 5% entry 80%; }
    .spot-card { animation: spot-focus linear both; animation-timeline: view(inline); }
  }
}
@keyframes hero-settle { from { transform: scale(1.06); } }
@keyframes hero-rise { from { transform: translateY(16px); } }
@keyframes reveal-in { from { opacity: 0.35; transform: translateY(32px) scale(0.985); } }
@keyframes spot-focus { 0% { transform: scale(0.94); opacity: 0.7; } 35%, 65% { transform: none; opacity: 1; } 100% { transform: scale(0.94); opacity: 0.7; } }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent); } 70% { box-shadow: 0 0 0 0.6rem transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

