/* =========================================================
   ESDOM website — "The Gathering"
   Navy carries the weight, gold is the accent, Cinzel for names,
   Montserrat for reading. One halo motif (the emblem's gold ring)
   runs through the hero, the date seals and the section marks.
   ========================================================= */
:root {
  --navy-950: #070f33; --navy-900: #0a1645; --navy-800: #0e1e5b; --navy-700: #172a78; --navy-500: #3d4f9a; --navy-100: #e8ebf6; --navy-50: #f3f5fb;
  --gold-700: #8a6a16; --gold-600: #b8902a; --gold-500: #c9a23a; --gold-400: #ddb954; --gold-200: #f3dd95; --gold-50: #fbf6e6;
  --ink: #0b132f; --muted: #5b6483; --line: #e6e8f0; --paper: #fff; --ivory: #fbf8ef;
  --gold-grad: linear-gradient(135deg, #f6e19a 0%, #d8b04a 38%, #b8902a 62%, #f1d47a 100%);
  --serif: "Cinzel", "Times New Roman", serif; --quote: "Cormorant Garamond", Georgia, serif; --sans: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --r: 22px; --wrap: 1240px;
  --shadow: 0 30px 70px -30px rgba(7, 15, 51, .45);
}
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-600); }
.kick::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.on-dark .kick, .kick--light { color: var(--gold-200); }
.title { font: 700 clamp(30px, 4.2vw, 50px)/1.08 var(--serif); letter-spacing: .01em; margin: 14px 0 16px; color: var(--navy-900); }
.on-dark .title { color: #fff; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 60ch; margin: 0 0 22px; }
.on-dark .lead { color: rgba(255, 255, 255, .78); }

/* ---------- Buttons ---------- */
.btn { --b: var(--navy-900); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 14.5px; letter-spacing: .02em; text-decoration: none; background: var(--b); color: #fff; transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(7, 15, 51, .6); }
.btn--gold { background: var(--gold-grad); color: var(--navy-950); background-size: 180% 180%; animation: sheen 6s ease-in-out infinite; }
.btn--line { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--navy-900); }
.btn--ghost:hover { border-color: var(--navy-900); }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--navy-800); }
.text-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.on-dark .text-link { color: var(--gold-200); }

/* ---------- Intro (once per visit) ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, var(--navy-800), var(--navy-950)); color: #fff; cursor: pointer; }
.intro__mark { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.intro__mark img { width: 104px; height: 104px; border-radius: 50%; animation: intro-pop 1s var(--ease) .15s both; }
.intro__mark svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.intro__mark circle { fill: none; stroke: var(--gold-400); stroke-width: 2; stroke-dasharray: 440; stroke-dashoffset: 440; animation: intro-ring 1.2s var(--ease) .1s forwards; }
.intro__word { margin-top: 22px; font: 700 28px/1 var(--serif); letter-spacing: .9em; padding-left: .9em; animation: intro-word 1.2s var(--ease) .35s both; }
.intro__sub { margin-top: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-200); animation: fade 1s ease .8s both; }
.intro.is-leaving { animation: intro-out .8s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes intro-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes intro-ring { to { stroke-dashoffset: 0; } }
@keyframes intro-word { from { opacity: 0; letter-spacing: .2em; filter: blur(6px); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); } }
@keyframes fade { from { opacity: 0; } }
body.intro-lock { overflow: hidden; }

/* ---------- Header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, box-shadow .4s, padding .4s; padding: 18px 0; }
.hdr__in { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(221, 185, 84, .5); }
.brand b { display: block; font: 700 19px/1 var(--serif); letter-spacing: .2em; }
.brand small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.nav { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav a { display: block; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .86); text-decoration: none; transition: background .25s, color .25s; }
.nav a:hover, .nav a[aria-current] { background: rgba(255, 255, 255, .12); color: #fff; }
.hdr .btn { padding: 11px 20px; font-size: 13.5px; }
.hdr.is-solid { background: rgba(7, 15, 51, .9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); padding: 10px 0; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; flex-direction: column; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: url(../img/web/crusade-stadium.jpg) center 40% / cover no-repeat; opacity: .32; filter: saturate(.7) contrast(1.05); transform: scale(1.08); animation: drift 26s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(55% 70% at 72% 45%, rgba(221, 185, 84, .16), transparent 62%),
  radial-gradient(70% 90% at 15% 30%, rgba(23, 42, 120, .75), transparent 70%),
  linear-gradient(180deg, rgba(7, 15, 51, .55) 0%, rgba(7, 15, 51, .2) 45%, var(--navy-950) 100%); }
.hero__beams { position: absolute; inset: -30% -10% auto 35%; height: 140%; z-index: -1; background: conic-gradient(from 200deg at 50% 0%, transparent 0deg, rgba(243, 221, 149, .09) 8deg, transparent 16deg, transparent 30deg, rgba(243, 221, 149, .07) 36deg, transparent 44deg); filter: blur(2px); animation: beams 12s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); } }
@keyframes beams { to { transform: rotate(6deg) translateX(3%); opacity: .7; } }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; padding: 130px 0 40px; }
.hero h1 { margin: 18px 0 20px; font: 700 clamp(40px, 6.2vw, 84px)/1.02 var(--serif); letter-spacing: .005em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: inline-block; animation: rise-in 1.1s var(--ease) both; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; } .hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise-in { from { transform: translateY(105%); } }
.hero .lead { color: rgba(255, 255, 255, .8); animation: fade-up 1s var(--ease) .45s both; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; animation: fade-up 1s var(--ease) .6s both; }
.hero__member { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .65); animation: fade 1s ease .9s both; }
.hero__member a { color: var(--gold-200); font-weight: 700; text-decoration: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }

/* the halo: Major 1 inside the gold ring, the nations orbiting */
.halo { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin-inline: auto; animation: fade 1.4s ease .2s both; }
.halo__ring { position: absolute; inset: 11%; border-radius: 50%; border: 1.5px solid rgba(221, 185, 84, .55); box-shadow: 0 0 0 10px rgba(221, 185, 84, .06), 0 0 80px -10px rgba(221, 185, 84, .35); }
.halo__ring::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed rgba(221, 185, 84, .35); animation: spin 60s linear infinite reverse; }
.halo__photo { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; background: var(--navy-800); box-shadow: inset 0 0 0 4px rgba(7, 15, 51, .4); }
.halo__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.halo:hover .halo__photo img { transform: scale(1.1); }
.halo__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 15, 51, .75)); }
.halo__name { position: absolute; left: 50%; bottom: 19%; transform: translateX(-50%); text-align: center; z-index: 2; white-space: nowrap; }
.halo__name small { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-200); }
.halo__name b { font: 700 17px var(--serif); letter-spacing: .06em; }
/* the nations: gold lettering circling the halo; the names change set by set */
.halo__orbit { position: absolute; inset: 0; z-index: 1; animation: spin 70s linear infinite; overflow: visible; }
.halo__orbit text { font: 600 12px var(--sans); letter-spacing: .3em; text-transform: uppercase; fill: var(--gold-200); transition: opacity .9s ease, filter .9s ease; }
.halo__orbit text.is-swap { opacity: 0; filter: blur(3px); }
.halo__orbit::before { content: none; }
.chip-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; z-index: 3; }
.chip-float b { display: block; font: 700 22px/1 var(--serif); color: #fff; }
.chip-float small { display: block; margin-top: 3px; font-size: 11px; color: rgba(255, 255, 255, .7); letter-spacing: .04em; }
.chip-float i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--gold-grad); color: var(--navy-950); }
.chip-float i svg { width: 19px; height: 19px; }
.chip-float--a { left: -8%; top: 14%; } .chip-float--b { right: -6%; bottom: 2%; animation-delay: -3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* next programme ticket at the foot of the hero */
.ticket { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 22px; margin-bottom: 34px; padding: 14px 16px 14px 14px; border-radius: 24px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: fade-up 1s var(--ease) .8s both; }
.ticket[hidden] { display: none; }
.seal { position: relative; display: grid; place-items: center; align-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-950); line-height: 1; flex: none; box-shadow: 0 0 0 5px rgba(221, 185, 84, .18); }
.seal b { font: 800 26px/1 var(--serif); } .seal small { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
.ticket__k { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-200); }
.ticket__t { margin: 3px 0 2px; font: 700 clamp(16px, 1.6vw, 20px)/1.25 var(--serif); }
.ticket__m { font-size: 13px; color: rgba(255, 255, 255, .7); }
.clock { display: flex; gap: 8px; }
.clock div { min-width: 58px; padding: 8px 6px; border-radius: 14px; background: rgba(7, 15, 51, .55); text-align: center; }
.clock b { display: block; font: 700 22px/1 var(--serif); font-variant-numeric: tabular-nums; }
.clock small { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.scroll-cue { position: absolute; left: 50%; bottom: 6px; width: 1px; height: 26px; background: linear-gradient(var(--gold-400), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- At a glance ---------- */
.glance { position: relative; background: var(--navy-900); color: #fff; padding: 46px 0 34px; overflow: hidden; }
.glance::before { content: ""; position: absolute; inset: 0; background: url(../img/web/esdom-emblem.png) right -80px center / 420px no-repeat; opacity: .05; }
.glance__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; }
.stat { padding: 6px 22px; border-left: 1px solid rgba(221, 185, 84, .25); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 700 clamp(30px, 3.4vw, 44px)/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .75); line-height: 1.45; }
.flags { position: relative; margin-top: 30px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.flags__track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.flags:hover .flags__track { animation-play-state: paused; }
.flag-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 13px; font-weight: 600; white-space: nowrap; }
.flag-pill img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: clamp(70px, 9vw, 118px) 0; position: relative; }
.sec--ivory { background: var(--ivory); }
.sec--navy { background: radial-gradient(80% 70% at 85% 0%, rgba(23, 42, 120, .9), transparent 60%), var(--navy-950); color: #fff; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 38px; }
.sec__head .lead { margin: 0; }

/* ---------- Know ESDOM (tabs) ---------- */
.know { display: grid; grid-template-columns: 250px minmax(0, 1fr) minmax(0, .8fr); gap: 34px; align-items: stretch; }
.know__tabs { display: grid; align-content: start; gap: 6px; margin: 0; padding: 0; list-style: none; }
.know__tab { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 8px; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: transparent; text-align: left; color: var(--muted); font-weight: 600; font-size: 15px; transition: background .3s, color .3s, transform .3s var(--ease); position: relative; }
.know__tab em { font: 700 13px var(--serif); font-style: normal; color: var(--gold-600); }
.know__tab:hover { background: #fff; color: var(--navy-900); }
.know__tab[aria-selected="true"] { background: var(--navy-900); color: #fff; transform: translateX(6px); box-shadow: var(--shadow); }
.know__tab[aria-selected="true"] em { color: var(--gold-200); }
.know__panel { position: relative; padding: 34px 34px 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -34px rgba(7, 15, 51, .35); min-height: 430px; }
.know__panel[hidden] { display: none; }
.know__panel.is-in > * { animation: fade-up .6s var(--ease) both; }
.know__panel.is-in > *:nth-child(2) { animation-delay: .05s; } .know__panel.is-in > *:nth-child(3) { animation-delay: .1s; } .know__panel.is-in > *:nth-child(4) { animation-delay: .15s; }
.know__panel h3 { margin: 6px 0 12px; font: 700 26px/1.2 var(--serif); color: var(--navy-900); }
.know__panel p { color: var(--muted); margin: 0 0 14px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.pillar { padding: 16px; border-radius: 16px; background: var(--navy-50); }
.pillar b { display: block; font: 700 15px var(--serif); color: var(--navy-900); margin-bottom: 4px; }
.pillar span { font-size: 13px; color: var(--muted); line-height: 1.5; display: block; }
.quote { margin: 18px 0 0; padding: 18px 22px; border-radius: 16px; background: var(--gold-50); font: italic 600 22px/1.35 var(--quote); color: var(--navy-900); }
.quote cite { display: block; margin-top: 8px; font: 600 11px var(--sans); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.dolist { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.dolist li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.dolist i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy-900); color: var(--gold-400); }
.dolist i svg { width: 19px; height: 19px; }
.dolist b { display: block; color: var(--navy-900); font-size: 15px; } .dolist span { font-size: 13.5px; color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 14px; }
.tier { position: relative; padding: 18px 16px; border-radius: 18px; text-align: center; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.tier small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tier b { display: block; margin: 6px 0 2px; font: 700 28px/1 var(--serif); color: var(--navy-900); }
.tier span { font-size: 12px; color: var(--muted); }
.tier--silver { background: linear-gradient(160deg, #f4f6fb, #fff); }
.tier--gold { background: linear-gradient(160deg, #fbf0cf, #fff); border-color: var(--gold-200); }
.tier--platinum { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); border-color: var(--navy-900); }
.tier--platinum b, .tier--platinum small, .tier--platinum span { color: #fff; } .tier--platinum small { color: var(--gold-200); }
.org { display: grid; justify-items: center; gap: 0; margin-top: 8px; }
.org__n { padding: 10px 18px; border-radius: 14px; text-align: center; font-weight: 700; font-size: 14px; color: var(--navy-900); background: var(--gold-50); border: 1px solid #efe3bd; }
.org__n small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.org__n--top { background: var(--navy-900); color: #fff; border-color: var(--navy-900); font-family: var(--serif); } .org__n--top small { color: var(--gold-200); font-family: var(--sans); }
.org__v { width: 1.5px; height: 16px; background: var(--gold-500); }
.org__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-top: 12px; border-top: 1.5px solid var(--gold-500); margin-top: 0; }
.org__row span { padding: 7px 12px; border-radius: 10px; background: var(--navy-50); font-size: 12.5px; font-weight: 600; color: var(--navy-800); }
.know__art { position: relative; border-radius: 200px 200px var(--r) var(--r); overflow: hidden; background: var(--navy-900); min-height: 430px; box-shadow: var(--shadow); }
.know__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 1.4s var(--ease); }
.know__art img.is-on { opacity: 1; transform: none; }
.know__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgba(221, 185, 84, .6), inset 0 0 0 10px rgba(255, 255, 255, .08); pointer-events: none; }
.know__cap { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; padding: 12px 16px; border-radius: 14px; background: rgba(7, 15, 51, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 13px; }
.know__cap b { display: block; font: 700 14px var(--serif); color: var(--gold-200); }

/* ---------- Programme posters ---------- */
.reel-wrap { position: relative; }
.reel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 26px; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 92%, transparent); mask: linear-gradient(90deg, #000 92%, transparent); }
.reel::-webkit-scrollbar { display: none; }
.reel .poster { scroll-snap-align: start; flex: 0 0 300px; }
.reel .poster--lead { flex-basis: 560px; }
.reel-nav { display: flex; gap: 10px; }
.reel-nav button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; transition: background .3s, color .3s; }
.reel-nav button:hover { background: var(--gold-400); color: var(--navy-950); border-color: var(--gold-400); }
.reel-nav svg { width: 20px; height: 20px; }
.poster { position: relative; display: block; width: 100%; height: 440px; border-radius: var(--r); overflow: hidden; border: 0; padding: 0; text-align: left; color: #fff; background: var(--navy-800); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8); transition: transform .5s var(--ease), box-shadow .5s; isolation: isolate; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .6s; }
.poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 15, 51, .1) 0%, rgba(7, 15, 51, .15) 35%, rgba(7, 15, 51, .92) 78%, var(--navy-950) 100%); }
.poster:hover { transform: translateY(-8px); box-shadow: 0 36px 60px -26px rgba(0, 0, 0, .85), 0 0 0 1.5px rgba(221, 185, 84, .55); }
.poster:hover img { transform: scale(1.08); }
.poster .seal { position: absolute; top: 16px; left: 16px; width: 64px; height: 64px; }
.poster .seal b { font-size: 23px; }
.poster__tag { position: absolute; top: 20px; right: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(7, 15, 51, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.poster__tag--bad { background: #b42323; }
.poster__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.poster__body h3 { margin: 0 0 8px; font: 700 21px/1.2 var(--serif); }
.poster__meta { display: grid; gap: 4px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.poster__meta span { display: flex; align-items: center; gap: 7px; } .poster__meta svg { width: 15px; height: 15px; color: var(--gold-400); flex: none; }
.poster__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--gold-200); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.poster:hover .poster__more, .poster:focus-visible .poster__more { opacity: 1; transform: none; }
.poster--lead .poster__body h3 { font-size: clamp(22px, 2.4vw, 30px); }
.poster--lead .clock { margin-top: 14px; }
.poster--lead .clock div { background: rgba(255, 255, 255, .1); }
.reel-state { padding: 40px; border-radius: var(--r); border: 1px dashed rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .75); }

/* programme grid (Programmes page) */
.prog-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--navy-800); transition: all .25s; }
.chip:hover { border-color: var(--navy-800); }
.chip[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.searchbox { position: relative; margin-left: auto; flex: 0 1 300px; }
.searchbox svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); }
.searchbox input { width: 100%; padding: 11px 16px 11px 40px; border-radius: 999px; border: 1px solid var(--line); font: inherit; font-size: 14px; background: #fff; }
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.prog-grid .poster { height: 420px; }
.prog-grid .is-hidden { display: none; }
.empty-note { grid-column: 1 / -1; padding: 40px; text-align: center; border-radius: var(--r); background: var(--navy-50); color: var(--muted); }

/* ---------- Programme sheet (dialog) ---------- */
.sheet { width: min(760px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6); }
.sheet::backdrop { background: rgba(7, 15, 51, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in .55s var(--ease) both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.sheet__scroll { max-height: calc(100svh - 24px); overflow: auto; }
.sheet__media { position: relative; height: 280px; background: var(--navy-900); }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 15, 51, .85)); }
.sheet__media .seal { position: absolute; left: 26px; bottom: -34px; z-index: 2; width: 82px; height: 82px; box-shadow: 0 0 0 6px #fff; }
.sheet__media .seal b { font-size: 30px; }
.sheet__x { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(7, 15, 51, .6); color: #fff; }
.sheet__x svg { width: 20px; height: 20px; }
.sheet__tag { position: absolute; right: 22px; bottom: 18px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--gold-grad); color: var(--navy-950); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sheet__body { padding: 48px 30px 30px; }
.sheet__body h2 { margin: 0 0 14px; font: 700 clamp(22px, 3vw, 30px)/1.2 var(--serif); color: var(--navy-900); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.facts div { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--navy-50); font-size: 14px; }
.facts svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; margin-top: 2px; }
.facts small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sheet__body p { color: var(--muted); }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sheet__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.sheet__note a { color: var(--navy-800); font-weight: 700; }

/* ---------- Photo wall ---------- */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.wall button { position: relative; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--navy-100); }
.wall button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.wall button:nth-child(8) { grid-column: span 2; }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.wall button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 15, 51, .8)); opacity: 0; transition: opacity .5s; }
.wall span { position: absolute; left: 16px; bottom: 14px; z-index: 2; font: 700 15px var(--serif); color: #fff; transform: translateY(12px); opacity: 0; transition: all .5s var(--ease); text-align: left; }
.wall button:hover img, .wall button:focus-visible img { transform: scale(1.07); }
.wall button:hover::after, .wall button:focus-visible::after { opacity: 1; }
.wall button:hover span, .wall button:focus-visible span { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 900; display: grid; grid-template-columns: 70px minmax(0, 1fr) 70px; align-items: center; background: rgba(4, 9, 32, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: 78svh; border-radius: 14px; box-shadow: 0 30px 80px -20px #000; transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: #fff; text-align: center; font: 600 16px var(--serif); } .lightbox figcaption small { display: block; font: 500 12px var(--sans); color: rgba(255, 255, 255, .6); margin-top: 4px; letter-spacing: .1em; }
.lightbox button { display: grid; place-items: center; width: 52px; height: 52px; margin: auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; }
.lightbox button:hover { background: var(--gold-400); color: var(--navy-950); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__x { position: absolute; top: 18px; right: 18px; }

/* ---------- Join band + drawer ---------- */
.join { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 32px; overflow: hidden; color: #fff; background: radial-gradient(70% 120% at 100% 0%, rgba(221, 185, 84, .25), transparent 55%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); box-shadow: var(--shadow); isolation: isolate; }
.join::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 360px; height: 360px; background: url(../img/web/esdom-emblem.png) center / contain no-repeat; opacity: .08; z-index: -1; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; counter-reset: s; }
.steps3 div { counter-increment: s; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.steps3 div::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-950); font-weight: 800; font-size: 14px; }
.steps3 b { display: block; color: #fff; margin-bottom: 2px; }
.join__cta { display: grid; gap: 12px; justify-items: stretch; }
.join__cta p { margin: 4px 0 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .65); }
.join__cta p a { color: var(--gold-200); font-weight: 700; }
.drawer { position: fixed; inset: 0; z-index: 800; pointer-events: none; visibility: hidden; transition: visibility 0s .6s; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(7, 15, 51, .6); opacity: 0; transition: opacity .4s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; transform: translateX(100%); transition: transform .6s var(--ease); display: flex; flex-direction: column; box-shadow: -30px 0 80px -30px rgba(0, 0, 0, .5); }
.drawer.is-open { pointer-events: auto; visibility: visible; transition: none; } .drawer.is-open .drawer__scrim { opacity: 1; } .drawer.is-open .drawer__panel { transform: none; }
.drawer__head { position: relative; padding: 28px 30px 22px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.drawer__head h2 { margin: 8px 0 4px; font: 700 26px/1.2 var(--serif); }
.drawer__head p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .75); }
.drawer__head .sheet__x { background: rgba(255, 255, 255, .12); }
.drawer__body { flex: 1; overflow: auto; padding: 24px 30px 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.field { display: grid; gap: 6px; } .field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--navy-900); }
.field input, .field select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #d3d8e6; font: inherit; font-size: 14.5px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(23, 42, 120, .12); }
.field [aria-invalid="true"] { border-color: #b42323; }
.field-error { margin: 0; font-size: 12.5px; color: #b42323; font-weight: 600; }
.form-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 60px 0 26px; position: relative; overflow: hidden; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr h5 { margin: 0 0 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-200); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.ftr a { text-decoration: none; } .ftr a:hover { color: #fff; }
.ftr__big { margin: 40px 0 14px; font: 800 clamp(48px, 12vw, 170px)/.85 var(--serif); letter-spacing: .06em; background: linear-gradient(180deg, rgba(221, 185, 84, .35), rgba(221, 185, 84, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; user-select: none; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.credit a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; } .credit img { width: 20px; height: 18px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: 150px 0 70px; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; }
.phero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 35%; opacity: .3; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 80% 20%, rgba(221, 185, 84, .18), transparent 60%), linear-gradient(180deg, rgba(7, 15, 51, .5), var(--navy-950)); }
.phero h1 { margin: 14px 0 12px; font: 700 clamp(36px, 5vw, 62px)/1.05 var(--serif); }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .6); } .crumbs a { color: var(--gold-200); text-decoration: none; }

/* ---------- Toast (shared look with the portal) ---------- */
.toast { --stub: 60px; --notch: 7px; --seal-a: #f6e19a; --seal-b: #b8902a; --seal-ink: var(--navy-900); --life: 5s; position: fixed; left: 50%; bottom: 26px; z-index: 1100; display: grid; grid-template-columns: var(--stub) minmax(0, 1fr); width: min(440px, calc(100% - 28px)); color: #fff; font-size: 14px; pointer-events: none; opacity: 0; transform: translate(-50%, 150%) rotate(-3deg); transition: transform .6s var(--ease), opacity .3s; filter: drop-shadow(0 18px 26px rgba(7, 15, 51, .35)); }
.toast--error { --seal-a: #ff8b84; --seal-b: #a3181c; --seal-ink: #fff; --life: 7s; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast__stub { display: grid; place-items: center; border-radius: 16px 0 0 16px; background: linear-gradient(160deg, #13246b, #070f33); }
.toast__body { position: relative; display: block; padding: 13px 20px 15px 18px; border-radius: 0 16px 16px 0; overflow: hidden; background: linear-gradient(150deg, var(--navy-800), #070f33); border-left: 2px dashed rgba(255, 255, 255, .2); }
.toast__seal { position: relative; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--seal-a), var(--seal-b) 75%); color: var(--seal-ink); }
.toast__seal::before { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 16px/1 var(--sans); font-style: normal; }
.toast--error .toast__seal::before { content: "!"; }
.toast.is-show .toast__seal { animation: intro-pop .6s var(--ease) .15s both; }
.toast__kicker { display: block; margin-bottom: 3px; font: 700 11px/1.2 var(--serif); letter-spacing: .16em; text-transform: uppercase; color: var(--seal-a); }
.toast__msg { display: block; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.toast__thread { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--seal-b), var(--seal-a)); transform-origin: left; transform: scaleX(0); }
.toast.is-show .toast__thread { animation: burn var(--life) linear both; }
@keyframes burn { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .1s; } .rv[data-d="2"] { transition-delay: .2s; } .rv[data-d="3"] { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .know { grid-template-columns: 220px minmax(0, 1fr); }
  .know__art { display: none; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; gap: 2px; padding: 90px 20px 24px; background: var(--navy-950); transform: translateY(-100%); transition: transform .5s var(--ease); z-index: -1; }
  .nav a { font-size: 18px; padding: 14px 16px; }
  body.nav-open .nav { transform: none; }
  .menu-btn { display: grid; }
  .hdr .btn { display: none; }
  .hdr__in { justify-content: space-between; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 110px; text-align: left; gap: 10px; }
  .halo { width: min(380px, 86vw); order: -1; margin-bottom: 10px; }
  .chip-float { display: none; }
  .hero h1 { font-size: clamp(36px, 10vw, 54px); }
  .ticket { grid-template-columns: auto minmax(0, 1fr); }
  .ticket .clock { grid-column: 1 / -1; } .ticket .btn { grid-column: 1 / -1; }
  .know { grid-template-columns: 1fr; }
  .know__tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
  .know__tab[aria-selected="true"] { transform: none; }
  .know__panel { min-height: 0; padding: 24px 20px; }
  .pillars, .tiers { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .join { grid-template-columns: 1fr; }
  .steps3 { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; gap: 26px; }
  .reel .poster { flex-basis: 78vw; } .reel .poster--lead { flex-basis: 86vw; }
  .facts { grid-template-columns: 1fr; }
  .glance__grid { grid-template-columns: 1fr; row-gap: 22px; }
  .stat { border-left: 0; padding: 0; }
  .lightbox { grid-template-columns: 1fr; } .lightbox > button:not(.lightbox__x) { position: absolute; bottom: 18px; } .lightbox [data-prev] { left: 20%; } .lightbox [data-next] { right: 20%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
.sheet .clock div { background: var(--navy-900); color: #fff; } .sheet .clock small { color: var(--gold-200); }

/* ---------- Events page: list or grid ---------- */
.prog-tools .searchbox { margin-left: auto; }
.view-switch { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.view-switch button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.view-switch svg { width: 17px; height: 17px; }
.view-switch [aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.prog-count { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--muted); }
.prog-grid.is-list { grid-template-columns: 1fr; gap: 12px; }
.ev-line { display: grid; grid-template-columns: auto 132px minmax(0, 1fr) auto auto; align-items: center; gap: 20px; width: 100%; padding: 12px 22px 12px 12px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-align: left; color: var(--ink); box-shadow: 0 10px 30px -26px rgba(7, 15, 51, .5); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; position: relative; overflow: hidden; }
.ev-line::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-grad); transform: scaleY(0); transition: transform .4s var(--ease); }
.ev-line:hover, .ev-line:focus-visible { transform: translateY(-3px); box-shadow: 0 24px 44px -28px rgba(7, 15, 51, .55); border-color: rgba(221, 185, 84, .6); }
.ev-line:hover::before, .ev-line:focus-visible::before { transform: none; }
.ev-line .seal { width: 64px; height: 64px; margin-left: 6px; }
.ev-line .seal b { font-size: 23px; }
.ev-line__img { width: 132px; height: 88px; border-radius: 14px; overflow: hidden; background: var(--navy-100); }
.ev-line__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ev-line:hover .ev-line__img img { transform: scale(1.08); }
.ev-line h3 { margin: 0 0 6px; font: 700 18px/1.25 var(--serif); color: var(--navy-900); }
.ev-line__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.ev-line__meta span { display: inline-flex; align-items: center; gap: 6px; } .ev-line__meta svg { width: 15px; height: 15px; color: var(--gold-600); }
.ev-line__tag { padding: 6px 12px; border-radius: 999px; background: var(--navy-50); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); white-space: nowrap; }
.ev-line__tag--bad { background: #fdecec; color: #b42323; }
.ev-line__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy-800); white-space: nowrap; }
.ev-line__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); } .ev-line:hover .ev-line__go svg { transform: translateX(4px); }
.ev-line.is-hidden { display: none; }
@media (max-width: 900px) {
  .prog-tools .searchbox { margin-left: 0; flex: 1 1 100%; }
  .ev-line { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; padding: 12px; }
  .ev-line__img, .ev-line__go { display: none; }
  .ev-line__tag { grid-column: 2; justify-self: start; }
  .view-switch span { display: none; }
}

/* ---------- Events page: home-style hero with the next event as a poster ---------- */
.hero--events { min-height: min(90svh, 880px); }
.hero--events .crumbs { animation: fade 1s ease both; }
.ev-feature { position: relative; width: min(470px, 100%); height: 540px; margin-inline: auto; animation: fade-up 1.1s var(--ease) .35s both; }
.ev-feature::before { content: ""; position: absolute; inset: -26px; border-radius: 40px; border: 1.5px solid rgba(221, 185, 84, .35); transform: rotate(-4deg); pointer-events: none; }
.ev-feature::after { content: ""; position: absolute; inset: -46px -10px auto auto; width: 150px; height: 150px; border-radius: 50%; border: 1px dashed rgba(221, 185, 84, .4); animation: spin 50s linear infinite; pointer-events: none; }
.ev-feature .poster { height: 100%; width: 100%; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1.5px rgba(221, 185, 84, .45); }
.ev-feature .poster:hover { transform: translateY(-6px) rotate(-.5deg); }
.ev-feature .poster__more { opacity: 1; transform: none; }
.ev-feature__wait { display: grid; place-items: center; height: 100%; border-radius: var(--r); border: 1px dashed rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .7); }
.ev-feature__k { position: absolute; top: -14px; left: 50%; z-index: 4; transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; background: var(--gold-grad); color: var(--navy-950); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7); }

/* ---------- Page numbers under the events list ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; }
.pager[hidden] { display: none; }
.pager__info { font-size: 13.5px; color: var(--muted); }
.pager__pages { display: flex; flex-wrap: wrap; gap: 6px; }
.pager__pages button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--navy-800); transition: all .25s; }
.pager__pages button:hover:not(:disabled) { border-color: var(--navy-800); }
.pager__pages button[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: 0 0 0 3px rgba(221, 185, 84, .35); }
.pager__pages button:disabled { opacity: .4; cursor: default; }
.pager__pages svg { width: 16px; height: 16px; vertical-align: -3px; }
.pager__gap { align-self: center; padding: 0 4px; color: var(--muted); }
@media (max-width: 900px) {
  .ev-feature { height: 440px; margin-top: 34px; order: 2; }
  .ev-feature::before { inset: -14px; }
  .pager { justify-content: center; }
}
.hero--events h1 { font-size: clamp(38px, 5.4vw, 76px); }
.hero--events h1 .ln { white-space: nowrap; }
.ev-feature .poster__more { white-space: nowrap; }
#all, #know, #programmes, #family { scroll-margin-top: 80px; }
@media (max-width: 900px) { .hero--events h1 .ln { white-space: normal; } }
