/* Neon Sign: glass tube lettering wired to a dark brick wall. Everything below the hero is another lit sign. */
:root { --te-radius: .875rem; }
.te-site {
  color-scheme: dark;
  --wall: color-mix(in srgb, var(--te-bg) 20%, #0c0912);
  --tube: color-mix(in srgb, var(--te-primary) 90%, #fff);
  --tube2: color-mix(in srgb, var(--te-accent) 90%, #fff);
  --c: var(--tube);
  background-color: var(--wall);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='84'%3E%3Cpath d='M0 0h168M0 42h168M42 0v42M126 0v42M0 42v42M84 42v42' stroke='rgba(0,0,0,.5)' stroke-width='3' fill='none'/%3E%3Cpath d='M0 2h168M0 44h168' stroke='rgba(255,255,255,.05)' fill='none'/%3E%3C/svg%3E");
}
@supports (color: oklch(from red l c h)) {
  .te-site {
    --wall: oklch(from var(--te-bg) min(l, .22) c h);
    --tube: oklch(from var(--te-primary) max(l, .74) c h);
    --tube2: oklch(from var(--te-accent) max(l, .78) c h);
  }
}
.te-site {
  --te-surface: color-mix(in srgb, var(--wall) 86%, #fff);
  --te-ink: #f6f2fb;
  --te-muted: rgba(255,255,255,.74);
  --te-line: rgba(255,255,255,.16);
  --te-primary-text: var(--tube);
  --te-accent-text: var(--tube2);
  --te-tint: rgba(255,255,255,.06);
  --te-tint-strong: rgba(255,255,255,.12);
  --te-tint-accent: rgba(255,255,255,.06);
  --te-tint-accent-strong: rgba(255,255,255,.12);
}

/* One recipe for every lit tube; --c picks the gas colour per element. */
.ne-lit, .te-h-section, .te-h-page, .te-count-num, .te-timeline .te-chip {
  color: color-mix(in srgb, var(--c) 22%, #fff);
  text-shadow: 0 0 1px color-mix(in srgb, var(--c) 40%, #fff), 0 0 6px var(--c), 0 0 16px var(--c), 0 0 38px color-mix(in srgb, var(--c) 62%, transparent), 0 0 84px color-mix(in srgb, var(--c) 36%, transparent);
}
.te-tile, .te-card, .te-btn, .te-btn-outline, .te-count-cell, .ne-frame, .te-closing-panel, .te-page-head, footer .te-bg-primary {
  border: 2px solid color-mix(in srgb, var(--c) 34%, #fff);
  box-shadow: 0 0 2px var(--c), 0 0 12px color-mix(in srgb, var(--c) 75%, transparent), 0 0 34px color-mix(in srgb, var(--c) 30%, transparent), inset 0 0 10px color-mix(in srgb, var(--c) 42%, transparent);
}

/* Chrome */
.te-nav-wrap { padding: 0; }
.te-nav { max-width: none; border-radius: 0; background: var(--te-menu-bg, color-mix(in srgb, var(--wall) 82%, #000)); border-bottom: 1px solid var(--te-line); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.te-nav-brand { font-weight: 400 !important; }
.te-nav-link { border-radius: .5rem; }
.te-nav-link.is-active { background: none; opacity: 1; font-weight: 500; color: var(--te-menu-text, var(--tube2)); text-shadow: 0 0 8px currentColor; }
.te-btn, .te-btn-outline { --c: var(--tube); background: rgba(0,0,0,.25); color: color-mix(in srgb, var(--c) 24%, #fff); border-radius: .625rem; font-weight: 500; transition: filter .2s; }
.te-btn:hover { transform: none; filter: brightness(1.25); }
.te-btn-accent { --c: var(--tube2); }
.te-btn-soft { --c: var(--tube); background: rgba(255,255,255,.06); }
.te-btn-light { --c: var(--tube2); }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); }
.te-btn:focus-visible, .te-btn-outline:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.te-chip { border-radius: .4rem; background: rgba(255,255,255,.08); color: var(--tube2); }
.te-field { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.26); border-radius: .625rem; }
.te-choice { border-radius: .625rem; }

/* Hero */
.ne-hero { position: relative; isolation: isolate; padding: 5.25rem 1rem 3rem; }
.ne-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 62% 42% at 50% 26%, color-mix(in srgb, var(--tube) 26%, transparent), transparent 72%); }
.ne-sign { position: relative; max-width: 58rem; margin-inline: auto; padding: clamp(1.75rem, 5vw, 3.5rem) clamp(.75rem, 4vw, 3rem); text-align: center; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.13); border-radius: .75rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 28px 50px -30px #000; }
.ne-wire { position: absolute; top: -4.25rem; width: 2px; height: 4.25rem; background: linear-gradient(90deg, #6d6d76, #c8c8d0 50%, #55555d); }
.ne-wire::before { content: ""; position: absolute; top: 0; left: 50%; width: 2.75rem; height: .875rem; transform: translateX(-50%); border-radius: 2px; background: radial-gradient(circle at 18% 50%, #15151a 2px, transparent 3px), radial-gradient(circle at 82% 50%, #15151a 2px, transparent 3px), linear-gradient(180deg, #a5a5ae, #5c5c65); box-shadow: 0 3px 6px rgba(0,0,0,.6); }
.ne-wire-l { left: 14%; }
.ne-wire-r { right: 14%; }
.ne-bolt { position: absolute; width: .75rem; height: .75rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e6e6ec, #6a6a73 62%, #3a3a42); box-shadow: 0 2px 4px rgba(0,0,0,.7); }
.ne-b1 { top: .5rem; left: .5rem; }
.ne-b2 { top: .5rem; right: .5rem; }
.ne-b3 { bottom: .5rem; left: .5rem; }
.ne-b4 { bottom: .5rem; right: .5rem; }
.ne-label { font-size: 1.0625rem; color: var(--te-ink); margin-bottom: .75rem; }
h1.ne-title { font-weight: 400; font-size: calc(var(--fit, 1) * clamp(3.75rem, 19vw, 11rem)); line-height: 1.02; letter-spacing: 0; overflow-wrap: break-word; }
.ne-word { position: relative; display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.ne-word:nth-child(even) .ne-lit { --c: var(--tube2); }
.ne-word::before { content: attr(data-t); position: absolute; inset: 0; color: rgba(255,255,255,.07); -webkit-text-stroke: 1px rgba(255,255,255,.2); }
.ne-lit { position: relative; display: block; animation: ne-on 1.5s linear calc(var(--i, 0) * .35s + .2s) both; }
@keyframes ne-on { 0%, 7% { opacity: 0; } 8% { opacity: .85; } 10%, 18% { opacity: .08; } 19%, 22% { opacity: 1; } 24%, 31% { opacity: .15; } 33%, 100% { opacity: 1; } }
.ne-sub { margin-top: 1rem; font-size: clamp(1.0625rem, 3.4vw, 1.375rem); color: var(--te-ink); }
.ne-cable { display: block; width: 100%; max-width: 58rem; height: 4.5rem; margin-inline: auto; overflow: visible; }
.ne-cable path { fill: none; stroke: #6f6f7a; stroke-width: 3; }
.ne-cable-d { display: none; }
.ne-lower { display: grid; gap: 2.25rem; max-width: 58rem; margin-inline: auto; justify-items: center; }
.ne-frame { --c: var(--tube2); position: relative; width: min(100%, 24rem); padding: .625rem; border-radius: .5rem; background: #08070c; }
.ne-frame::before { content: ""; position: absolute; top: -.75rem; left: 50%; width: 1.75rem; height: .75rem; transform: translateX(-50%); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #8d8d97, #4a4a53); }
.ne-frame > * { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: .2rem; }
.ne-info { display: grid; justify-items: center; gap: 1rem; width: 100%; text-align: center; }
.ne-when { font-family: var(--te-heading); font-size: clamp(1.5rem, 5.5vw, 2.25rem); line-height: 1.15; }
.ne-where { color: var(--te-muted); font-size: 1.0625rem; }
.ne-info .te-count { width: 100%; max-width: 26rem; }
@media (min-width: 860px) {
  .ne-cable-m { display: none; }
  .ne-cable-d { display: block; }
  .ne-lower { grid-template-columns: 22rem 1fr; gap: 3.5rem; justify-items: stretch; align-items: center; }
  .ne-frame { width: 100%; justify-self: center; }
  .ne-info { justify-items: start; text-align: left; }
  .ne-info .te-count { justify-content: flex-start; }
}
.te-count-cell { --c: var(--tube); background: rgba(0,0,0,.3) !important; border-radius: .625rem; box-shadow: 0 0 2px var(--c), 0 0 10px color-mix(in srgb, var(--c) 60%, transparent), inset 0 0 8px color-mix(in srgb, var(--c) 36%, transparent) !important; }
.te-count-num { --c: var(--tube2); font-weight: 400; }
.te-count-label { color: var(--te-ink); }

/* Signs below the hero hang on short wires */
.te-tile, .te-card { position: relative; --c: var(--tube); background: rgba(10,8,16,.5); border-radius: .875rem; }
.te-tile-accent { --c: var(--tube2); }
a.te-card { --c: color-mix(in srgb, var(--tube) 50%, var(--tube2)); }
a.te-card:hover, a.te-tile:hover { transform: none; filter: brightness(1.2); }
.te-tile::before, .te-tile::after { content: ""; position: absolute; top: -1.5rem; width: 2px; height: 1.5rem; background: #5c5c65; }
.te-tile::before { left: 1.75rem; }
.te-tile::after { right: 1.75rem; }
.te-h-card { font-weight: 500; }
.te-icon-tile { background: none; width: auto; height: auto; justify-content: start; color: color-mix(in srgb, var(--c) 40%, #fff); filter: drop-shadow(0 0 4px var(--c)) drop-shadow(0 0 10px var(--c)); }
.te-icon-tile .te-i { width: 2rem; height: 2rem; stroke-width: 1.4; }
.te-h-card.te-primary { color: var(--te-ink); }
.te-h-section, .te-h-page { --c: var(--tube2); font-weight: 400; font-size: clamp(2.5rem, 10vw, 4.75rem); line-height: 1.05; }
.te-section-head { max-width: 64rem; text-align: left; }
#details .te-section-head h2 { --c: var(--tube); }
.te-explore a.te-card > svg, .te-facts-grid a > span > svg, .te-story a svg { display: none; }
.te-facts-grid { max-width: 64rem !important; gap: 2.5rem 1.5rem !important; padding-top: 1.5rem; }
.te-explore > div, .te-schedule > div { max-width: 64rem !important; }
.te-explore .grid { gap: 1rem !important; }
.te-page-head { --c: var(--tube); background: rgba(10,8,16,.5); border-radius: .875rem; margin-top: 1.5rem; }
@media (min-width: 900px) {
  .te-facts-grid { grid-template-columns: repeat(12, 1fr) !important; }
  .te-facts-grid > :nth-child(1) { grid-column: span 5; }
  .te-facts-grid > :nth-child(2) { grid-column: span 7; }
  .te-facts-grid > :nth-child(3) { grid-column: 3 / span 8; flex-direction: row; align-items: center; }
}

/* Programme: one long club line-up sign */
.te-timeline { --c: var(--tube); padding: clamp(1.25rem, 4vw, 2.75rem) !important; }
.te-timeline li { grid-template-columns: 1fr !important; padding: 1.125rem 0 !important; border-bottom: 1px solid var(--te-line); }
.te-timeline li:last-child { border-bottom: 0; }
.te-timeline li > div:first-child { display: none; }
.te-timeline .te-chip { --c: var(--tube2); background: none; padding: 0; border-radius: 0; font-family: var(--te-heading); font-size: clamp(1.625rem, 6vw, 2.5rem); line-height: 1.1; margin-bottom: .25rem !important; }
.te-timeline .te-h-card { font-family: var(--te-body); font-size: 1.25rem; }
@media (min-width: 760px) { .te-timeline li > div:last-child { display: grid; grid-template-columns: 13rem 1fr; column-gap: 2rem; align-items: baseline; } .te-timeline .te-chip { grid-row: 1 / span 2; margin: 0 !important; } .te-timeline li p { margin-top: .25rem; } }

.te-gallery-grid { max-width: 64rem !important; gap: .875rem !important; }
.te-gallery-item { border-radius: .375rem !important; border: 2px solid color-mix(in srgb, var(--tube2) 34%, #fff); box-shadow: 0 0 10px color-mix(in srgb, var(--tube2) 60%, transparent); }
.te-closing-panel { --c: var(--tube); background: rgba(10,8,16,.5); border-radius: .875rem; }
footer .te-bg-primary { --c: var(--tube2); background: rgba(10,8,16,.5); color: var(--te-ink); border-radius: .875rem !important; }
footer .te-bg-accent { display: none; }

@media (prefers-reduced-motion: reduce) { .ne-lit { animation: none; opacity: 1; } }
