/* Mela. Ink is a deep indigo night, paper is white, and colour comes from the eight kinds of
   festival, each with its own pennant colour that follows it across the site. */
@font-face { font-family: Bricolage; src: url(/fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Source Serif'; src: url(/fonts/source-serif.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }

:root {
  --ink: #1b1444; --ink-2: #4a4375; --ink-3: #7d78a0; --paper: #fff; --wash: #f4f1ff; --line: #dedaf2;
  --pink: #e8206f; --gold: #ffb400; --night: #1b1444;
  --display: Bricolage, 'Arial Narrow', system-ui, sans-serif; --serif: 'Source Serif', Georgia, serif;
  --k: var(--pink); --k-ink: #fff;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--display); font-stretch: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 82%; line-height: 1.02; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- header and bunting */
.top { background: var(--night); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.mark { font: 800 1.9rem/1 var(--display); font-stretch: 78%; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.mark svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 600; font-size: 0.98rem; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--gold); }
.find { margin-left: auto; display: flex; position: relative; }
.find input { width: min(260px, 60vw); border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 0.95rem; background: #2d2563; color: #fff; }
.find input::placeholder { color: #b5afd9; }
.find-list { position: absolute; top: calc(100% + 6px); right: 0; width: min(380px, 90vw); background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 18px 50px rgba(27, 20, 68, 0.35); padding: 6px; z-index: 30; display: none; }
.find-list.open { display: block; }
.find-list a { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 9px; text-decoration: none; }
.find-list a:hover, .find-list a.on { background: var(--wash); }
.find-list small { color: var(--ink-3); margin-left: auto; white-space: nowrap; }

.bunting { background: var(--night); padding: 0 0 26px; overflow-x: auto; scrollbar-width: none; }
.bunting::-webkit-scrollbar { display: none; }
.bunting ul { list-style: none; margin: 0 auto; padding: 0 22px; max-width: var(--wrap); display: flex; gap: 8px; border-top: 2px solid #fff; min-width: max-content; }
.bunting li { flex: 1; }
.bunting a { display: block; background: var(--k); color: var(--k-ink); text-decoration: none; font-weight: 700; font-size: 0.86rem; text-align: center; padding: 9px 12px 20px; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); transform-origin: top center; transition: transform 0.25s; }
.bunting li:nth-child(odd) a { transform: rotate(-1.6deg); } .bunting li:nth-child(even) a { transform: rotate(1.4deg); }
.bunting a:hover, .bunting a[aria-current] { transform: rotate(0) translateY(5px); }

/* ---------- hero */
.hero { background: var(--night); color: #fff; padding: 26px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: end; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 6rem); }
.hero .lede { font: 400 1.2rem/1.5 var(--serif); color: #d9d5f2; max-width: 34em; margin: 22px 0 26px; }
.hero-today { font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.hero-pic { position: relative; display: block; border-radius: 22px 22px 0 0; overflow: hidden; background: #2d2563; aspect-ratio: 5 / 4; text-decoration: none; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.hero-pic span { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 18px; background: linear-gradient(transparent, rgba(15, 10, 45, 0.86)); }
.hero-pic b { display: block; font: 800 1.9rem/1.05 var(--display); font-stretch: 82%; }
.hero-pic i { font-style: normal; font-weight: 600; color: var(--gold); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 40px; }
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font: 700 1rem/1 var(--display); padding: 15px 24px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.btn:hover { filter: brightness(1.07); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.pink { background: var(--pink); color: #fff; }
.btn.small { padding: 10px 16px; font-size: 0.9rem; }
.tally { background: var(--gold); color: var(--ink); font-weight: 700; }
.tally .wrap { display: flex; gap: 8px 34px; flex-wrap: wrap; padding-top: 13px; padding-bottom: 13px; }
.tally b { font-size: 1.25rem; font-weight: 800; }

/* ---------- sections */
.band { padding: 62px 0; }
.band.wash { background: var(--wash); }
.band.night { background: var(--night); color: #fff; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.head p { margin: 8px 0 0; color: var(--ink-2); font-family: var(--serif); max-width: 44em; }
.band.night .head p { color: #cfcaf0; }
.more { font-weight: 700; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 5px; white-space: nowrap; }

/* ---------- tickets */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px; }
.ticket { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 16px; text-decoration: none; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 10px 26px rgba(27, 20, 68, 0.1); transition: transform 0.18s, box-shadow 0.18s; }
.ticket:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 1px 0 var(--line), 0 18px 36px rgba(27, 20, 68, 0.18); }
.ticket .pic { aspect-ratio: 16 / 10; background: var(--k); position: relative; }
.ticket .pic img, .ticket .pic svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.ticket .pic em { position: absolute; left: 10px; top: 10px; background: var(--k); color: var(--k-ink); font-style: normal; font-weight: 700; font-size: 0.76rem; padding: 4px 10px; border-radius: 999px; }
.ticket .row { display: flex; flex: 1; }
/* The stub: the date, torn off the ticket along a perforated line. */
.ticket .stub { flex: 0 0 74px; background: var(--k); color: var(--k-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 4px; text-align: center; position: relative; }
.ticket .stub::after { content: ''; position: absolute; right: -5px; top: 0; bottom: 0; width: 10px; background: radial-gradient(circle at 5px 5px, #fff 4px, transparent 4.5px) 0 0 / 10px 12px repeat-y; }
.ticket .stub b { font-size: 1.85rem; font-weight: 800; font-stretch: 78%; line-height: 1; }
.ticket .stub i { font-style: normal; font-weight: 700; font-size: 0.82rem; }
.ticket .info { padding: 13px 14px 15px 18px; min-width: 0; }
.ticket strong { display: block; font: 800 1.2rem/1.1 var(--display); font-stretch: 84%; margin-bottom: 5px; overflow-wrap: anywhere; }
.ticket small { display: block; color: var(--ink-2); font-size: 0.88rem; line-height: 1.35; }
.ticket .soon { color: var(--pink); font-weight: 700; }
.empty { font-family: var(--serif); color: var(--ink-2); padding: 26px; background: var(--wash); border-radius: 16px; }
.band.wash .empty { background: #fff; }

/* ---------- date headings inside lists */
.when-head { font-size: 1.35rem; margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); display: flex; align-items: baseline; gap: 10px; }
.when-head:first-child { margin-top: 0; }
.when-head small { font-weight: 600; font-size: 0.9rem; color: var(--ink-3); font-stretch: 100%; letter-spacing: 0; }

/* ---------- the year wheel */
.wheel-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 50px; align-items: center; }
.wheel-lede { font-family: var(--serif); color: var(--ink-2); margin: 14px 0 0; max-width: 30em; }
.wheel { position: relative; }
.wheel svg { display: block; width: 100%; height: auto; }
.wheel .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.wheel .spoke { stroke: var(--line); stroke-width: 1; }
.wheel .mlabel { font: 700 13px var(--display); fill: var(--ink); }
.wheel a:hover .mlabel { fill: var(--pink); }
.wheel a circle { stroke: #fff; stroke-width: 1; transition: r 0.15s; }
.wheel a:hover circle, .wheel a:focus circle { r: 7; stroke: var(--ink); stroke-width: 2; opacity: 1; }
.wheel .hand { stroke: var(--pink); stroke-width: 3; stroke-linecap: round; }
.wheel .hub { fill: var(--night); }
.wheel .hub-d { font: 800 40px var(--display); fill: #fff; }
.wheel .hub-m { font: 700 14px var(--display); fill: var(--gold); }
.wheel .map-tip { background: var(--night); color: #fff; }
.dayform { margin-top: 30px; background: var(--wash); border-radius: 18px; padding: 22px; }
.dayform p { font-family: var(--serif); color: var(--ink-2); margin: 6px 0 14px; }
.dayform .row { display: flex; gap: 8px; flex-wrap: wrap; }
.dayform select { font: 600 1rem var(--display); color: var(--ink); padding: 12px 14px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--line); }

/* ---------- line drawings and stamps */
.drawing { margin: 28px 0 6px; padding: 18px 18px 10px; border: 2px solid var(--k); border-radius: 18px; background: #fff; }
.drawing svg { display: block; width: 100%; height: auto; }
.drawing figcaption { font: 500 0.8rem var(--display); color: var(--ink-3); text-align: center; padding-top: 6px; }
.stampbox { padding: 4px 22px 18px; display: grid; gap: 8px; justify-items: start; border-top: 1px dashed var(--line); margin-top: 2px; }
.stamp-art { width: 150px; margin: 14px auto 4px; opacity: 0.35; filter: grayscale(1); transition: opacity 0.3s, filter 0.3s, transform 0.4s cubic-bezier(0.2, 1.6, 0.4, 1); }
.stampbox.has .stamp-art { opacity: 1; filter: none; }
.stampbox.thud .stamp-art { transform: scale(1.18) rotate(-4deg); }
.stampbox .btn { width: 100%; text-align: center; }
.stampbox .btn.on { background: var(--ink); color: #fff; box-shadow: none; }
.stampbox a { font-size: 0.9rem; font-weight: 600; text-underline-offset: 3px; justify-self: center; }
.stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; }
.stamps .empty { grid-column: 1 / -1; }
.stamps a { text-decoration: none; text-align: center; font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.stamps img { width: 100%; height: auto; transition: transform 0.2s; }
.stamps a:hover img { transform: rotate(-4deg) scale(1.04); }
.stamps button { display: block; margin: 6px auto 0; background: none; border: 0; color: var(--ink-3); font: 500 0.8rem var(--display); text-decoration: underline; cursor: pointer; }

/* ---------- kinds */
.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kind { background: var(--k); color: var(--k-ink); text-decoration: none; border-radius: 18px; padding: 22px 20px 20px; min-height: 172px; display: flex; flex-direction: column; transition: transform 0.18s; }
.kind:hover { transform: translateY(-4px); }
.kind b { font: 800 1.55rem/1.02 var(--display); font-stretch: 80%; }
.kind span { font-family: var(--serif); font-size: 0.95rem; line-height: 1.4; margin-top: 8px; opacity: 0.95; }
.kind i { margin-top: auto; padding-top: 14px; font-style: normal; font-weight: 700; font-size: 0.88rem; }

/* ---------- months */
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.months a { text-decoration: none; text-align: center; border-radius: 12px; padding: 14px 4px 12px; background: #fff; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.months a:hover, .months a[aria-current] { background: var(--ink); color: #fff; }
.months a.now { box-shadow: inset 0 0 0 3px var(--pink); }
.months small { display: block; font-weight: 500; color: var(--ink-3); font-size: 0.78rem; }
.months a:hover small, .months a[aria-current] small { color: #cfcaf0; }

/* ---------- map */
.map { position: relative; background: #241c58; border-radius: 22px; overflow: hidden; }
.map svg { display: block; width: 100%; height: auto; }
.map .land { fill: #3b3180; stroke: #241c58; stroke-width: 0.5; }
.map a .land { fill: #5a4fb0; } .map a:hover .land, .map a:focus .land { fill: var(--gold); }
.map .dot { stroke: #241c58; stroke-width: 0.6; }
.map a:hover .dot { stroke: #fff; stroke-width: 1.5; }
.map-tip { position: absolute; pointer-events: none; background: #fff; color: var(--ink); font-weight: 700; font-size: 0.88rem; padding: 6px 11px; border-radius: 999px; transform: translate(-50%, -150%); white-space: nowrap; display: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 0.88rem; font-weight: 600; }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--k); margin-right: 6px; }

/* ---------- countries */
.continent { margin-bottom: 34px; }
.continent h3 { font-size: 1.5rem; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 0.95rem; }
.chip:hover { background: var(--ink); color: #fff; }
.chip small { color: var(--ink-3); font-weight: 500; }
.chip:hover small { color: #cfcaf0; }
.chip.none { opacity: 0.55; }

/* ---------- page header (inner pages) */
.phead { background: var(--k); color: var(--k-ink); padding: 44px 0 40px; }
.phead .crumbs { font-weight: 600; font-size: 0.92rem; margin-bottom: 14px; opacity: 0.92; }
.phead .crumbs a { text-underline-offset: 3px; }
.phead p { font: 400 1.15rem/1.5 var(--serif); max-width: 40em; margin: 16px 0 0; }
.phead.plain { --k: var(--wash); --k-ink: var(--ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

/* ---------- festival page */
.fhero { position: relative; background: var(--night); color: #fff; }
.fhero-pic { position: relative; max-height: 68vh; min-height: 300px; overflow: hidden; }
.fhero-pic img { width: 100%; height: 68vh; min-height: 300px; object-fit: cover; }
.fhero-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(15, 10, 45, 0.9)); }
.fhero-text { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 30px; z-index: 2; }
.fhero.nopic .fhero-text { position: static; padding: 50px 0 36px; }
.pennant { display: inline-block; background: var(--k); color: var(--k-ink); font-weight: 700; font-size: 0.9rem; text-decoration: none; padding: 7px 26px 7px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 50%, 100% 100%, 0 100%); margin-bottom: 14px; }
.fhero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.fhero .local { font: 500 1.3rem/1.3 var(--serif); color: #e6e2ff; margin-top: 8px; }
.fhero .tag { font: 400 1.3rem/1.4 var(--serif); margin: 12px 0 0; max-width: 34em; }
.credit { font-size: 0.78rem; color: var(--ink-3); padding: 7px 0 0; }
.credit a { text-underline-offset: 2px; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 54px; padding-top: 34px; padding-bottom: 60px; align-items: start; }
.prose { font: 400 1.16rem/1.68 var(--serif); max-width: 39em; }
.prose h2 { font-size: 1.8rem; margin: 1.7em 0 0.55em; }
.prose > .sum { font-size: 1.36rem; line-height: 1.5; }
.highlights { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 10px; font-family: var(--display); font-size: 1rem; line-height: 1.4; }
.highlights li { background: var(--wash); border-left: 6px solid var(--k); border-radius: 4px 12px 12px 4px; padding: 12px 16px; font-weight: 500; }
.facts { position: sticky; top: 16px; background: #fff; border-radius: 18px; box-shadow: 0 1px 0 var(--line), 0 14px 34px rgba(27, 20, 68, 0.12); overflow: hidden; }
.facts .when { background: var(--k); color: var(--k-ink); padding: 20px 22px; }
.facts .when b { display: block; font: 800 1.9rem/1.05 var(--display); font-stretch: 80%; }
.facts .when span { font-weight: 700; }
.facts .when small { display: block; margin-top: 6px; font-size: 0.86rem; opacity: 0.95; line-height: 1.35; }
.facts dl { margin: 0; padding: 18px 22px 8px; }
.facts dt { font-weight: 700; font-size: 0.86rem; color: var(--ink-3); }
.facts dd { margin: 3px 0 16px; line-height: 1.4; }
.facts dd a { text-underline-offset: 3px; }
.facts .places { display: flex; flex-wrap: wrap; gap: 6px; }
.facts .places a { text-decoration: none; background: var(--wash); border-radius: 999px; padding: 4px 11px; font-size: 0.9rem; font-weight: 600; }
.facts .places a:hover { background: var(--ink); color: #fff; }
.facts .share { padding: 0 22px 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 34px 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--wash); }
.gallery figcaption { font: 400 0.76rem/1.35 var(--display); color: var(--ink-3); padding-top: 5px; }
.reading { list-style: none; padding: 0; margin: 0; font-family: var(--display); font-size: 1rem; }
.reading li { border-top: 1px solid var(--line); }
.reading a { display: flex; gap: 12px; align-items: baseline; padding: 12px 2px; text-decoration: none; font-weight: 600; }
.reading a:hover b { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.reading b { font-weight: 600; }
.reading small { margin-left: auto; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.attrib { font-size: 1.02rem; background: var(--wash); border-left: 6px solid var(--k); border-radius: 4px 12px 12px 4px; padding: 14px 18px; }
.attrib a { text-underline-offset: 3px; }
.note { font: 400 0.92rem/1.5 var(--display); color: var(--ink-2); background: var(--wash); border-radius: 12px; padding: 14px 16px; margin-top: 30px; }

/* ---------- newsletter and footer */
.join { background: var(--pink); color: #fff; padding: 54px 0; }
.join .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.join p { font-family: var(--serif); font-size: 1.1rem; margin: 12px 0 0; }
.signup { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 220px; border: 0; border-radius: 999px; padding: 15px 20px; font: inherit; color: var(--ink); background: #fff; }
.signup small { flex-basis: 100%; font-size: 0.82rem; line-height: 1.4; opacity: 0.95; }
.signup small a { color: inherit; }
.form-msg { flex-basis: 100%; font-weight: 700; min-height: 1.4em; }
.foot { background: var(--night); color: #cfcaf0; padding: 46px 0 34px; font-size: 0.95rem; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.foot a { display: block; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .network { display: flex; gap: 16px; align-items: center; margin-top: 34px; padding: 18px 22px; border: 2px solid var(--gold); border-radius: 16px; color: #fff; }
.foot .network svg { width: 40px; height: 40px; flex: none; color: var(--gold); }
.foot .network p { margin: 0; line-height: 1.5; max-width: 62em; }
.foot .network b { display: block; font-size: 1.12rem; font-weight: 800; }
.foot .network a { display: inline; text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.foot .network + .fine { margin-top: 20px; border-top: 0; padding-top: 0; }
.foot .fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid #3b3180; font-size: 0.84rem; line-height: 1.5; }
.foot .fine a { display: inline; text-decoration: underline; }

/* ---------- welcome (first visit) and cookie bar */
.welcome { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(15, 10, 45, 0.72); backdrop-filter: blur(5px); }
.welcome-card { width: min(540px, 100%); max-height: calc(100vh - 36px); overflow: auto; background: #fff; border-radius: 26px; position: relative; animation: pop 0.45s cubic-bezier(0.2, 1.3, 0.4, 1); }
@keyframes pop { from { transform: translateY(26px) scale(0.94); opacity: 0; } }
.welcome-flags { display: flex; height: 62px; background: var(--night); border-radius: 26px 26px 0 0; padding: 0 18px; gap: 6px; border-top: 0; }
.welcome-flags i { flex: 1; background: var(--k); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; animation: sway 3.2s ease-in-out infinite alternate; }
.welcome-flags i:nth-child(even) { animation-delay: -1.6s; }
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.welcome-body { padding: 26px 30px 28px; }
.welcome h2 { font-size: 2.3rem; }
.welcome p { font-family: var(--serif); color: var(--ink-2); margin: 12px 0 18px; }
.welcome .signup input[type=email] { box-shadow: inset 0 0 0 2px var(--line); }
.welcome .signup small { color: var(--ink-2); }
.welcome .form-msg { color: var(--pink); }
.cookie-ask { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cookie-ask label { display: flex; gap: 11px; align-items: flex-start; font-size: 0.92rem; line-height: 1.4; cursor: pointer; }
.cookie-ask input { width: 20px; height: 20px; accent-color: var(--pink); flex: none; margin-top: 2px; }
.welcome-skip { margin-top: 16px; background: none; border: 0; font: 700 0.98rem var(--display); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 6px 0; }
.welcome-x { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1.3rem; cursor: pointer; z-index: 2; }
.cookiebar { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 90; background: var(--night); color: #fff; border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; max-width: 780px; margin: 0 auto; font-size: 0.93rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.cookiebar p { margin: 0; flex: 1 1 300px; }

/* ---------- prose pages */
.doc { max-width: 42em; font: 400 1.1rem/1.65 var(--serif); padding: 44px 22px 70px; margin: 0 auto; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.5em; }
.doc h2 { font-size: 1.5rem; margin: 1.6em 0 0.4em; }
.pager { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }

@media (max-width: 900px) {
  .hero-grid, .join .wrap, .fgrid, .wheel-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-pic { border-radius: 18px; margin-bottom: 26px; } .btns { padding-bottom: 6px; }
  .kinds { grid-template-columns: repeat(2, 1fr); }
  .months { grid-template-columns: repeat(6, 1fr); }
  .facts { position: static; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .find { margin-left: 0; flex: 1 1 100%; } .find input { width: 100%; }
  .band { padding: 44px 0; }
}
@media (max-width: 520px) {
  .tickets { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .kind { min-height: 0; }
  .welcome-body { padding: 22px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
