/* The public event page as a promo page. Tokens, forms, tickets and tiles come from style.css. */
body.landing { --wide: 1120px; }

/* ---- hero: the cover photo, or the event's colour with its date as the picture ---- */
.lhero { position: relative; overflow: hidden; isolation: isolate; background: var(--accent); color: var(--on-accent); min-height: min(86svh, 720px); display: grid; align-items: end; }
.lhero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .lhero .bg { animation: none; } }
.lhero.photo { color: #fff; }
/* enough darkness for white text over any photo, strongest where the words are */
/* ...and the darkness leans to the event's own colour, so the photo belongs to the page */
.lhero.photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(17 13 43 / 0.25) 0%, rgb(17 13 43 / 0.45) 40%, color-mix(in srgb, var(--accent) 38%, rgb(17 13 43)) 100%); opacity: 0.94; }
.lhero .numeral { position: absolute; z-index: -1; right: -0.06em; top: -0.16em; font: 800 clamp(260px, 62vw, 620px)/1 var(--display); letter-spacing: -0.06em; opacity: 0.13; user-select: none; }
.lhero .in { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 96px 20px 44px; display: grid; gap: 18px; justify-items: start; }
.lhero .eyebrow { margin: 0; font: 700 13px/1.2 var(--body); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }
.lhero h1 { margin: 0; font-size: clamp(34px, 9.4vw, 84px); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; max-width: 16ch; }
.lhero .tagline { margin: 0; font-size: clamp(18px, 4.6vw, 24px); line-height: 1.35; max-width: 34ch; opacity: 0.95; }
.lhero .facts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px 34px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .lhero .facts { grid-auto-flow: column; grid-auto-columns: max-content; grid-template-columns: none; } }
.lhero .facts li { display: grid; gap: 1px; padding-left: 14px; border-left: 3px solid currentColor; max-width: 30ch; }
.lhero .facts small { color: inherit; opacity: 0.8; font: 700 11px/1.4 var(--body); letter-spacing: 0.1em; text-transform: uppercase; }
.lhero .facts b { font: 700 clamp(17px, 4.4vw, 20px)/1.25 var(--body); }
.lhero .facts span { font-size: 15px; opacity: 0.9; }
.lhero .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.lhero .acts .button { width: auto; padding-inline: 30px; min-height: 58px; display: grid; place-items: center; font-size: 18px;
  background: var(--paper); border-color: var(--paper); color: var(--ink); box-shadow: 0 10px 30px rgb(17 13 43 / 0.25); }
.lhero .ghost { width: auto; min-height: 58px; padding-inline: 22px; background: transparent; color: inherit; border-color: currentColor; }
.countdown { display: flex; flex-wrap: wrap; gap: 8px; }
.countdown span { display: grid; justify-items: center; min-width: 66px; padding: 9px 10px 7px; border-radius: 14px; font-size: 12px; letter-spacing: 0.04em;
  background: color-mix(in srgb, currentColor 14%, transparent); }
.countdown b { font: 700 24px/1 var(--display); font-variant-numeric: tabular-nums; }
.lhero.photo .countdown span { background: rgb(255 255 255 / 0.16); backdrop-filter: blur(6px); }

/* ---- ticker: the event named over and over, like a street poster ---- */
.ticker { display: flex; overflow: hidden; background: var(--ink); color: var(--paper); font: 700 15px/1 var(--display); letter-spacing: -0.01em; text-transform: uppercase; }
.ticker > div { display: flex; flex: none; gap: 0; padding: 15px 0; animation: ticker 60s linear infinite; }
.ticker span { white-space: nowrap; padding: 0 18px; }
.ticker span::after { content: "✦"; margin-left: 36px; color: var(--sun); }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker > div { animation: none; } }

/* ---- body: the story beside a ticket card that stays in view ---- */
.lbody { max-width: var(--wide); padding: 36px 20px 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.lside .card { margin: 0; border-width: 1.5px; box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 16%, transparent); scroll-margin-top: 16px; }
.lside .buy h2 { font-size: 19px; }
@media (min-width: 940px) {
  .lbody { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 56px; grid-template-areas: "a side" "b side"; align-items: start; padding-top: 56px; }
  .la { grid-area: a; } .lb { grid-area: b; }
  .lside { grid-area: side; position: sticky; top: 20px; }
}
.la, .lb { display: grid; gap: 40px; min-width: 0; }
.landing .block { margin: 0; gap: 14px; }
.landing .block h2 { font-size: clamp(20px, 5vw, 26px); letter-spacing: -0.03em; }
.landing .lead .rich > p:first-child { font-size: clamp(19px, 4.8vw, 23px); line-height: 1.45; }
.landing .rich { font-size: 18px; line-height: 1.6; }
.landing .alert { margin: 0; justify-self: start; }

/* photos: one big, the rest around it; each opens full-screen */
.mosaic { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic button { all: unset; cursor: zoom-in; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.mosaic button:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.mosaic button:hover img { transform: scale(1.04); }
.mosaic button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mosaic.n1 button:first-child { aspect-ratio: 16 / 9; }
.mosaic button:nth-child(n + 6) { display: none; }
@media (min-width: 620px) {
  .mosaic.n3, .mosaic.n4, .mosaic.n5 { grid-template-columns: 2fr 1fr 1fr; }
  .mosaic.n3 button:first-child, .mosaic.n4 button:first-child, .mosaic.n5 button:first-child { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
  .mosaic.n3 button:not(:first-child) { grid-column: 2 / -1; aspect-ratio: 16 / 7; }
}

/* programme: times down a line */
.prog { list-style: none; margin: 0; padding: 0; display: grid; }
.prog li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 0 0 20px 0; position: relative; }
.prog li::before { content: ""; position: absolute; left: 90px; top: 8px; bottom: -8px; border-left: 2px solid var(--line); }
.prog li:last-child::before { display: none; }
.prog b { font: 700 17px/1.5 var(--display); font-variant-numeric: tabular-nums; }
.prog span { padding-left: 32px; position: relative; font-size: 18px; }
.prog span::before { content: ""; position: absolute; left: -7px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--paper); }

.landing .know li { font-size: 16px; padding: 9px 16px; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.landing .map { height: 300px; }
.landing .host-card { padding: 22px; border-radius: 22px; }
.landing .host-card .avatar { width: 64px; height: 64px; font-size: 24px; }
.landing .who { grid-template-columns: 64px 1fr; gap: 14px; }

/* ---- the last word ---- */
.lfinal { background: var(--accent); color: var(--on-accent); text-align: center; padding: 64px 20px 72px; margin-top: 44px; display: grid; gap: 14px; justify-items: center; }
.lfinal h2 { margin: 0; font-size: clamp(28px, 7.6vw, 60px); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; max-width: 18ch; }
.lfinal p { margin: 0; font-size: 18px; opacity: 0.92; }
.lfinal .button { width: auto; padding-inline: 34px; min-height: 58px; display: grid; place-items: center; font-size: 18px; background: var(--paper); border-color: var(--paper); color: var(--ink); margin-top: 8px; }
@media (max-width: 699px) { .landing .foot { padding-bottom: 120px; } } /* room for the ticket bar on phones */

/* ---- the bar that appears once the hero has scrolled away (wide screens) ---- */
.ltop { display: none; }
@media (min-width: 700px) {
  .ltop { position: fixed; z-index: 6; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 22px; padding: 10px max(20px, calc((100vw - var(--wide)) / 2 + 20px));
    background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1.5px solid var(--line);
    transform: translateY(-110%); transition: transform 0.3s; }
  .ltop.on { transform: none; }
  .ltop b { font: 700 16px/1.2 var(--display); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
  .ltop .links { display: flex; gap: 18px; flex: 1; min-width: 0; overflow: hidden; }
  .ltop .links a { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
  .ltop .links a:hover { color: var(--ink); }
  .ltop .price { font-weight: 700; white-space: nowrap; }
  .ltop .button { width: auto; min-height: 42px; padding: 7px 18px; flex: none; }
  .landing section[id], .landing div[id] { scroll-margin-top: 78px; }
  .lside { top: 78px !important; }
}
@media (prefers-reduced-motion: reduce) { .ltop { transition: none; } }

/* ---- sections arrive as they are scrolled to (only when scripts run) ---- */
/* Only a section the script has marked as "still below the screen" is held back, so nothing
   can stay hidden if the script, or the browser's scroll watching, does not run. */
.reveal { transition: opacity 0.6s, transform 0.6s; }
.reveal.wait { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.wait { opacity: 1; transform: none; transition: none; } }

.video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; background: #000; }
.landing .faq details { border-bottom: 1.5px solid var(--line); padding: 16px 0; }
.landing .faq details:first-child { border-top: 1.5px solid var(--line); }
.landing .faq summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.landing .faq p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }
.urgent { margin: 0; justify-self: start; font-weight: 700; font-size: 14px; color: #fff; background: var(--bad); border-radius: 99px; padding: 4px 12px; }
.cal { margin: 12px 4px 0; font-size: 14px; color: var(--muted); }

.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgb(12 9 30 / 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 94vw; max-height: 88dvh; border-radius: 12px; object-fit: contain; }
.lightbox button { position: fixed; width: 52px; min-height: 52px; padding: 0; border-radius: 50%; background: rgb(255 255 255 / 0.14); border: 0; color: #fff; font-size: 30px; line-height: 1; }
.lightbox .x { top: 16px; right: 16px; } .lightbox .prev { left: 12px; top: calc(50% - 26px); } .lightbox .next { right: 12px; top: calc(50% - 26px); }

/* ---- ticket tiers: what each includes and its wristband ---- */
.tiers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.tier { --band: var(--line); --on-band: var(--ink); display: grid; gap: 10px; align-content: start; padding: 0 16px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.tier-top { margin: 0 -16px; padding: 14px 16px; background: var(--band); color: var(--on-band); display: grid; gap: 2px; }
.tier-top b { font: 700 17px/1.2 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.tier-price { font-weight: 700; font-size: 20px; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.tier li { padding-left: 24px; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.band-chip { justify-self: start; font-size: 13px; font-weight: 700; padding: 3px 10px 3px 26px; border-radius: 99px; border: 1.5px solid var(--line); position: relative; }
.band-chip::before { content: ""; position: absolute; left: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--band); border: 1px solid var(--line); }
.tier button { min-height: 44px; padding: 8px 14px; margin-top: auto; }

/* Short facts under the hero's when/where/price: type, length, ages, in person. */
.lhero .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lhero .chips li { padding: 5px 12px; border-radius: 999px; font: 600 14px/1.3 var(--body); background: color-mix(in srgb, currentColor 14%, transparent); border: 1px solid color-mix(in srgb, currentColor 30%, transparent); }

/* The video as the header: a 16:9 frame scaled to cover the hero, behind the darkening layer. */
.lhero .vbg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.lhero .vbg iframe { position: absolute; top: 50%; left: 50%; border: 0; width: max(100%, 177.78svh, 177.78%); height: max(100%, 56.25vw); aspect-ratio: 16 / 9; transform: translate(-50%, -50%) scale(1.3); } /* enlarged so YouTube's title bar and corners fall outside */
@media (prefers-reduced-motion: reduce) { .lhero .vbg { display: none; } }

/* The lineup: a photo, the role above the name, a line about them. */
.lineup { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.lineup .act { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.lineup .act img, .lineup .act .ph { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.lineup .act .ph { display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 800 30px/1 var(--display); }
.lineup .act small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.lineup .act b { font: 700 18px/1.25 var(--display); }
.lineup .act p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.lhero .eyebrow a { color: inherit; }

/* A page made before signing in: a bar on top says it is a preview and leads to publishing it. */
.previewbar { position: sticky; top: 0; z-index: 30; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 10px 16px; background: #17123a; color: #fff; font: 600 15px/1.3 var(--body); }
.previewbar .button { width: auto; min-height: 40px; padding: 8px 18px; }
.lhero .save-big[aria-pressed="true"] { background: #d62f7c; border-color: #d62f7c; color: #fff; }
.remind { display: grid; gap: 8px; margin-top: 10px; }
.remind label { font-size: 14px; }
.remind button { width: auto; justify-self: start; padding-inline: 18px; min-height: 42px; }
/* Add-ons in the booking form: under the tickets, with their own heading. */
.buy .addons { display: grid; gap: 8px; margin-top: 6px; }
.buy .addons h3 { margin: 6px 0 0; font: 700 15px/1.3 var(--display); }

/* Follow: a chip beside "Hosted by" in the hero, and a full button in the organiser card. */
.lhero .follow-pill { display: inline-block; margin-left: 10px; padding: 4px 12px; border-radius: 99px; font: 700 12px/1.4 var(--body); letter-spacing: 0.04em;
  text-transform: none; text-decoration: none; color: inherit; border: 1.5px solid currentColor; vertical-align: 1px; }
.lhero .follow-pill:hover { background: color-mix(in srgb, currentColor 16%, transparent); }
.host-card .followbox { display: grid; gap: 6px; justify-items: start; }
.host-card .follow-btn { width: auto; padding: 12px 22px; font-size: 16px; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.host-card .followbox small { color: var(--muted); }

/* ---------- redesign, 30 October 2026 ---------- */
/* the hero's title a step bigger and tighter, like the site's */
.lhero h1 { font-size: clamp(38px, 9.6vw, 96px); line-height: 0.93; letter-spacing: -0.055em; }
.lhero.photo .acts .button { background: var(--sun); border-color: var(--sun); color: #17123a; } /* on a colour hero the paper button stays: the sun would vanish on a sun-coloured event */
/* a ticket tier is a ticket: the wristband along its edge, a perforation under the name and price */
.tier { --notch: 10px; position: relative; padding: 0 18px 18px 26px; border: 0; border-radius: 20px; box-shadow: 0 1px 0 var(--line), 0 14px 32px rgb(23 18 58 / 0.08); }
.tier::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--band, var(--accent)); }
.tier:not([style]) { --band: var(--accent); --on-band: var(--on-accent); }
.tier-top { margin: 0 -18px 0 -26px; padding: 18px 18px 16px 26px; border-bottom: 2px dashed var(--line); background: transparent; color: var(--ink); position: relative; }
.tier-top::before, .tier-top::after { content: ""; position: absolute; bottom: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); }
.tier-top::before { left: -10px; } .tier-top::after { right: -10px; }
.tier-top b { font-size: 19px; }
.tier-price { font: 800 26px/1.1 var(--display); letter-spacing: -0.04em; }
.band-chip { background: color-mix(in srgb, var(--band) 14%, var(--card)); border-color: transparent; }

/* the booking card: three numbered steps, the total on its own line */
.lside .card.buy { border: 0; border-radius: 24px; padding: 22px; gap: 14px; box-shadow: 0 1px 0 var(--line), 0 24px 60px color-mix(in srgb, var(--accent) 18%, rgb(23 18 58 / 0.1)); }
.buy > h2:first-child { font-size: 22px !important; letter-spacing: -0.04em; }
.bstep { display: flex; align-items: center; gap: 10px; margin: 8px 0 0 !important; font: 700 12.5px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bstep b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 12px/1 var(--display); letter-spacing: 0; }
.bstep::after { content: ""; flex: 1; border-top: 1.5px dashed var(--line); }
.buy .tt { border-radius: 16px; padding: 14px 14px 14px 16px; background: var(--card); }
.buy .tt.banded { border-left: 6px solid var(--band); }
.buy .tt b { font-family: var(--display); font-size: 16px; letter-spacing: -0.02em; }
.buy .total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 8%, var(--paper)); }
.buy .total b { font: 800 28px/1 var(--display); letter-spacing: -0.04em; }
.buy .total[hidden] { display: none; }
.buy #paid button, .buy #freebtn { min-height: 58px; font-size: 18px; border-radius: 16px; }
.buy .secure { display: flex; gap: 8px; align-items: flex-start; }
.buy .secure::before { content: ""; flex: none; width: 14px; height: 16px; margin-top: 2px; border-radius: 3px; background: var(--ok);
  -webkit-mask: radial-gradient(circle at 50% 30%, #0000 3px, #000 3.5px); mask: radial-gradient(circle at 50% 30%, #0000 3px, #000 3.5px); }
/* the ticket bar on phones, sun on night like the site */
.cta b { background: var(--sun); color: #17123a; }
/* Presale: the time left until registration, early access or the general sale (public/presale.js). */
.ps-countdown b { font: 700 24px/1 var(--display); font-variant-numeric: tabular-nums; }
